(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[665],{99171:function(t,n,e){"use strict";var r=(0,e(52983).createContext)({});n.Z=r},80364:function(t,n,e){"use strict";n.Z=function(t){var n=void 0===t?{}:t,e=n.resetOnStart,l=void 0!==e&&e,f=n.snapToPointer,h=void 0===f||f,d=n.onDragEnd,p=n.onDragMove,v=n.onDragStart,y=n.x,g=n.y,m=n.dx,x=n.dy,b=n.isDragging,_=n.restrict,w=void 0===_?{}:_,M=n.restrictToPath,k=(0,r.useRef)({x:y,y:g,dx:m,dy:x}),O=(0,u.default)({x:y,y:g,dx:null!=m?m:0,dy:null!=x?x:0,isDragging:!1}),Z=O[0],T=O[1],S=(0,r.useState)(new i.Point({x:0,y:0})),E=S[0],P=S[1];(0,r.useEffect)((function(){k.current.x===y&&k.current.y===g&&k.current.dx===m&&k.current.dy===x||(k.current={x:y,y:g,dx:m,dy:x},T((function(t){return s({},t,{x:y,y:g,dx:null!=m?m:0,dy:null!=x?x:0})})))})),(0,r.useEffect)((function(){void 0!==b&&Z.isDragging!==b&&T((function(t){return s({},t,{isDragging:b})}))}),[Z.isDragging,b,T]);var C=(0,c.default)(M),N=(0,r.useCallback)((function(t){t.persist(),T((function(n){var e=n.x,r=void 0===e?0:e,u=n.y,c=void 0===u?0:u,s=n.dx,f=n.dy,d=new i.Point({x:(r||0)+s,y:(c||0)+f}),p=(0,o.localPoint)(t)||new i.Point({x:0,y:0}),v=h?p:d,y=(0,a.default)(v,C,w);return P((0,i.subtractPoints)(d,p)),{isDragging:!0,dx:l?0:n.dx,dy:l?0:n.dy,x:l?y.x:y.x-n.dx,y:l?y.y:y.y-n.dy}}),v&&function(n){v(s({},n,{event:t}))})}),[v,l,w,C,T,h]),A=(0,r.useCallback)((function(t){t.persist(),T((function(n){if(!n.isDragging)return n;var e=n.x,r=void 0===e?0:e,u=n.y,c=void 0===u?0:u,l=(0,o.localPoint)(t)||new i.Point({x:0,y:0}),f=h?l:(0,i.sumPoints)(l,E),d=(0,a.default)(f,C,w);return s({},n,{dx:d.x-r,dy:d.y-c})}),p&&function(n){n.isDragging&&p(s({},n,{event:t}))})}),[T,p,h,E,C,w]),D=(0,r.useCallback)((function(t){t.persist(),T((function(t){return s({},t,{isDragging:!1})}),d&&function(n){d(s({},n,{event:t}))})}),[d,T]);return s({},Z,{dragEnd:D,dragMove:A,dragStart:N})};var r=e(52983),i=e(88158),o=e(54707),u=l(e(97301)),a=l(e(57381)),c=l(e(71426));function l(t){return t&&t.__esModule?t:{default:t}}function s(){return s=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},s.apply(this,arguments)}},3846:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n,e){return Math.min(Math.max(t,n),e)}},24142:function(t,n){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}n.__esModule=!0,n.default=function(t,n){for(var r,i=t,o=1/0,u=function(t,n){var r="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"===typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t))||n&&t&&"number"===typeof t.length){r&&(t=r);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(r=u()).done;){var a=r.value,c=Math.sqrt(Math.pow(a.x-t.x,2)+Math.pow(a.y-t.y,2));c<o&&(o=c,i={x:a.x,y:a.y})}return i}},57381:function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n,e){var o,u,a,c;void 0===e&&(e={});if(n.length>0)return(0,i.default)(t,n);return{x:(0,r.default)(t.x,null!=(o=e.xMin)?o:-1/0,null!=(u=e.xMax)?u:1/0),y:(0,r.default)(t.y,null!=(a=e.yMin)?a:-1/0,null!=(c=e.yMax)?c:1/0)}};var r=o(e(3846)),i=o(e(24142));function o(t){return t&&t.__esModule?t:{default:t}}},71426:function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t){return(0,r.useMemo)((function(){if(!t)return[];var n=t.getCTM()||new DOMMatrix;return function(t,n,e){void 0===e&&(e=1);if(!t)return[];for(var r=[],i=t.getTotalLength(),o=0;o<=i;o+=e){var u=t.getPointAtLength(o).matrixTransform(n);r.push(u)}return r}(t,n)}),[null==t?void 0:t.getTotalLength()])};var r=e(52983)},97301:function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t){var n=(0,r.useState)(t),e=n[0],i=n[1],o=(0,r.useRef)(null),u=(0,r.useCallback)((function(t,n){o.current=n||null,i(t)}),[i]);return(0,r.useLayoutEffect)((function(){o.current&&(o.current(e),o.current=null)}),[e]),[e,u]};var r=e(52983)},54707:function(t,n,e){"use strict";e.r(n),e.d(n,{localPoint:function(){return r.Z},touchPoint:function(){return i.Z}});var r=e(9305),i=e(93482)},9305:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(93482),i=e(62384);function o(t,n){if((0,i.kK)(t)&&n)return(0,r.Z)(t,n);if((0,i.cO)(t)){var e=t,o=e.target;if(o)return(0,r.Z)(o,e)}return null}},93482:function(t,n,e){"use strict";e.d(n,{Z:function(){return a}});var r=e(31400),i=e(62384);function o(){return o=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},o.apply(this,arguments)}var u={x:0,y:0};function a(t,n){if(!t||!n)return null;var e=function(t){if(!t)return o({},u);if((0,i.z6)(t))return t.changedTouches.length>0?{x:t.changedTouches[0].clientX,y:t.changedTouches[0].clientY}:o({},u);if((0,i.N5)(t))return{x:t.clientX,y:t.clientY};var n=null==t?void 0:t.target,e=n&&"getBoundingClientRect"in n?n.getBoundingClientRect():null;return e?{x:e.x+e.width/2,y:e.y+e.height/2}:o({},u)}(n),a=(0,i.vZ)(t)?t.ownerSVGElement:t,c=(0,i.DY)(a)?a.getScreenCTM():null;if((0,i.r4)(a)&&c){var l=a.createSVGPoint();return l.x=e.x,l.y=e.y,l=l.matrixTransform(c.inverse()),new r.Z({x:l.x,y:l.y})}var s=t.getBoundingClientRect();return new r.Z({x:e.x-s.left-t.clientLeft,y:e.y-s.top-t.clientTop})}},62384:function(t,n,e){"use strict";function r(t){return!!t&&t instanceof Element}function i(t){return!!t&&(t instanceof SVGElement||"ownerSVGElement"in t)}function o(t){return!!t&&"createSVGPoint"in t}function u(t){return!!t&&"getScreenCTM"in t}function a(t){return!!t&&"changedTouches"in t}function c(t){return!!t&&"clientX"in t}function l(t){return!!t&&(t instanceof Event||"nativeEvent"in t&&t.nativeEvent instanceof Event)}e.d(n,{DY:function(){return u},N5:function(){return c},cO:function(){return l},kK:function(){return r},r4:function(){return o},vZ:function(){return i},z6:function(){return a}})},71054:function(t,n,e){"use strict";e.d(n,{Z:function(){return c}});var r=e(7862),i=e.n(r),o=e(52983),u=["children","id","from","to","x1","y1","x2","y2","fromOffset","fromOpacity","toOffset","toOpacity","rotate","transform","vertical"];function a(){return a=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},a.apply(this,arguments)}function c(t){var n=t.children,e=t.id,r=t.from,i=t.to,c=t.x1,l=t.y1,s=t.x2,f=t.y2,h=t.fromOffset,d=void 0===h?"0%":h,p=t.fromOpacity,v=void 0===p?1:p,y=t.toOffset,g=void 0===y?"100%":y,m=t.toOpacity,x=void 0===m?1:m,b=t.rotate,_=t.transform,w=t.vertical,M=void 0===w||w,k=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,u),O=c,Z=s,T=l,S=f;return!M||O||Z||T||S||(O="0",Z="0",T="0",S="1"),o.createElement("defs",null,o.createElement("linearGradient",a({id:e,x1:O,y1:T,x2:Z,y2:S,gradientTransform:b?"rotate("+b+")":_},k),!!n&&n,!n&&o.createElement("stop",{offset:d,stopColor:r,stopOpacity:v}),!n&&o.createElement("stop",{offset:g,stopColor:i,stopOpacity:x})))}c.propTypes={id:i().string.isRequired,from:i().string,to:i().string,x1:i().oneOfType([i().string,i().number]),x2:i().oneOfType([i().string,i().number]),y1:i().oneOfType([i().string,i().number]),y2:i().oneOfType([i().string,i().number]),fromOffset:i().oneOfType([i().string,i().number]),fromOpacity:i().oneOfType([i().string,i().number]),toOffset:i().oneOfType([i().string,i().number]),toOpacity:i().oneOfType([i().string,i().number]),rotate:i().oneOfType([i().string,i().number]),transform:i().string,children:i().node,vertical:i().bool}},26570:function(t,n,e){"use strict";n.Z=p;var r=h(e(7862)),i=h(e(52983)),o=h(e(87608)),u=h(e(14951)),a=e(19909),c=e(88158),l=e(947),s=h(e(94691)),f=["top","left","scale","height","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues","children"];function h(t){return t&&t.__esModule?t:{default:t}}function d(){return d=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},d.apply(this,arguments)}function p(t){var n=t.top,e=void 0===n?0:n,r=t.left,h=void 0===r?0:r,p=t.scale,v=t.height,y=t.stroke,g=void 0===y?"#eaf0f6":y,m=t.strokeWidth,x=void 0===m?1:m,b=t.strokeDasharray,_=t.className,w=t.numTicks,M=void 0===w?10:w,k=t.lineStyle,O=t.offset,Z=t.tickValues,T=t.children,S=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,f),E=null!=Z?Z:(0,l.getTicks)(p,M),P=(null!=O?O:0)+(0,s.default)(p)/2,C=E.map((function(t,n){var e,r=(null!=(e=(0,l.coerceNumber)(p(t)))?e:0)+P;return{index:n,from:new c.Point({x:r,y:0}),to:new c.Point({x:r,y:v})}}));return i.default.createElement(a.Group,{className:(0,o.default)("visx-columns",_),top:e,left:h},T?T({lines:C}):C.map((function(t){var n=t.from,e=t.to,r=t.index;return i.default.createElement(u.default,d({key:"column-line-"+r,from:n,to:e,stroke:g,strokeWidth:x,strokeDasharray:b,style:k},S))})))}p.propTypes={tickValues:r.default.array,height:r.default.number.isRequired}},15450:function(t,n,e){"use strict";n.Z=p;var r=h(e(7862)),i=h(e(52983)),o=h(e(87608)),u=h(e(14951)),a=e(19909),c=e(88158),l=e(947),s=h(e(94691)),f=["top","left","scale","width","stroke","strokeWidth","strokeDasharray","className","children","numTicks","lineStyle","offset","tickValues"];function h(t){return t&&t.__esModule?t:{default:t}}function d(){return d=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},d.apply(this,arguments)}function p(t){var n=t.top,e=void 0===n?0:n,r=t.left,h=void 0===r?0:r,p=t.scale,v=t.width,y=t.stroke,g=void 0===y?"#eaf0f6":y,m=t.strokeWidth,x=void 0===m?1:m,b=t.strokeDasharray,_=t.className,w=t.children,M=t.numTicks,k=void 0===M?10:M,O=t.lineStyle,Z=t.offset,T=t.tickValues,S=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,f),E=null!=T?T:(0,l.getTicks)(p,k),P=(null!=Z?Z:0)+(0,s.default)(p)/2,C=E.map((function(t,n){var e,r=(null!=(e=(0,l.coerceNumber)(p(t)))?e:0)+P;return{index:n,from:new c.Point({x:0,y:r}),to:new c.Point({x:v,y:r})}}));return i.default.createElement(a.Group,{className:(0,o.default)("visx-rows",_),top:e,left:h},w?w({lines:C}):C.map((function(t){var n=t.from,e=t.to,r=t.index;return i.default.createElement(u.default,d({key:"row-line-"+r,from:n,to:e,stroke:g,strokeWidth:x,strokeDasharray:b,style:O},S))})))}p.propTypes={tickValues:r.default.array,width:r.default.number.isRequired}},94691:function(t,n){"use strict";n.__esModule=!0,n.default=function(t){return"bandwidth"in t?t.bandwidth():0}},17178:function(t,n,e){"use strict";e.d(n,{Z:function(){return s}});var r=e(7862),i=e.n(r),o=e(52983),u=e(87608),a=e.n(u),c=["top","left","transform","className","children","innerRef"];function l(){return l=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},l.apply(this,arguments)}function s(t){var n=t.top,e=void 0===n?0:n,r=t.left,i=void 0===r?0:r,u=t.transform,s=t.className,f=t.children,h=t.innerRef,d=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,c);return o.createElement("g",l({ref:h,className:a()("visx-group",s),transform:u||"translate("+i+", "+e+")"},d),f)}s.propTypes={top:i().number,left:i().number,transform:i().string,className:i().string,children:i().node,innerRef:i().oneOfType([i().string,i().func,i().object])}},19909:function(t,n,e){"use strict";e.r(n),e.d(n,{Group:function(){return r.Z}});var r=e(17178)},55376:function(t,n,e){"use strict";n.Z=l;var r=a(e(7862)),i=a(e(52983)),o=a(e(87608)),u=["top","left","transform","className","children","innerRef"];function a(t){return t&&t.__esModule?t:{default:t}}function c(){return c=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},c.apply(this,arguments)}function l(t){var n=t.top,e=void 0===n?0:n,r=t.left,a=void 0===r?0:r,l=t.transform,s=t.className,f=t.children,h=t.innerRef,d=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,u);return i.default.createElement("g",c({ref:h,className:(0,o.default)("visx-group",s),transform:l||"translate("+a+", "+e+")"},d),f)}l.propTypes={top:r.default.number,left:r.default.number,transform:r.default.string,className:r.default.string,children:r.default.node,innerRef:r.default.oneOfType([r.default.string,r.default.func,r.default.object])}},72930:function(t,n,e){"use strict";e.d(n,{Z:function(){return P}});var r=e(52983),i=e(7862),o=e.n(i),u=e(87608),a=e.n(u),c=["flexDirection","alignItems","margin","display","children"];function l(){return l=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},l.apply(this,arguments)}function s(t){var n=t.flexDirection,e=void 0===n?"row":n,i=t.alignItems,o=void 0===i?"center":i,u=t.margin,a=void 0===u?"0":u,s=t.display,f=void 0===s?"flex":s,h=t.children,d=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,c);return r.createElement("div",l({className:"visx-legend-item",style:{display:f,alignItems:o,flexDirection:e,margin:a}},d),h)}s.propTypes={alignItems:o().string,margin:o().oneOfType([o().string,o().number]),children:o().node,display:o().string};var f=["flex","label","margin","align","children"];function h(){return h=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},h.apply(this,arguments)}function d(t){var n=t.flex,e=void 0===n?"1":n,i=t.label,o=t.margin,u=void 0===o?"5px 0":o,a=t.align,c=void 0===a?"left":a,l=t.children,s=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,f);return r.createElement("div",h({className:"visx-legend-label",style:{justifyContent:c,display:"flex",flex:e,margin:u}},s),l||i)}function p(){return p=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},p.apply(this,arguments)}function v(t){var n=t.fill,e=t.width,i=t.height,o=t.style;return r.createElement("div",{style:p({width:e,height:i,background:n},o)})}d.propTypes={align:o().string,label:o().node,flex:o().oneOfType([o().string,o().number]),margin:o().oneOfType([o().string,o().number]),children:o().node},v.propTypes={fill:o().string,width:o().oneOfType([o().string,o().number]),height:o().oneOfType([o().string,o().number])};var y=e(17178);function g(t){var n=t.fill,e=t.width,i=t.height,o=t.style,u="string"===typeof e||"undefined"===typeof e?0:e,a="string"===typeof i||"undefined"===typeof i?0:i,c=Math.max(u,a),l=c/2;return r.createElement("svg",{width:c,height:c},r.createElement(y.Z,{top:l,left:l},r.createElement("circle",{r:l,fill:n,style:o})))}function m(t){var n=t.fill,e=t.width,i=t.height,o=t.style,u="string"===typeof i||"undefined"===typeof i?0:i,a="number"===typeof(null==o?void 0:o.strokeWidth)?null==o?void 0:o.strokeWidth:2;return r.createElement("svg",{width:e,height:i},r.createElement(y.Z,{top:u/2-a/2},r.createElement("line",{x1:0,x2:e,y1:0,y2:0,stroke:n,strokeWidth:a,style:o})))}function x(){return x=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},x.apply(this,arguments)}g.propTypes={fill:o().string,width:o().oneOfType([o().string,o().number]),height:o().oneOfType([o().string,o().number])},m.propTypes={fill:o().string,width:o().oneOfType([o().string,o().number]),height:o().oneOfType([o().string,o().number])};var b=function(){};function _(){return _=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},_.apply(this,arguments)}function w(t){var n=t.shape,e=void 0===n?v:n,i=t.width,o=t.height,u=t.margin,a=t.label,c=t.item,l=t.itemIndex,s=t.fill,f=t.size,h=t.shapeStyle;return r.createElement("div",{className:"visx-legend-shape",style:{display:"flex",width:f?f(_({},a)):i,height:f?f(_({},a)):o,margin:u}},function(t){var n=t.shape,e=void 0===n?"rect":n,i=t.fill,o=void 0===i?b:i,u=t.size,a=void 0===u?b:u,c=t.width,l=t.height,s=t.label,f=t.item,h=t.itemIndex,d=t.shapeStyle,p=void 0===d?b:d,y={width:c,height:l,item:f,itemIndex:h,label:s,fill:o(x({},s)),size:a(x({},s)),style:p(x({},s))};return"string"===typeof e?"circle"===e?r.createElement(g,y):"line"===e?r.createElement(m,y):r.createElement(v,y):r.isValidElement(e)?r.cloneElement(e,y):e?r.createElement(e,y):null}({shape:e,item:c,itemIndex:l,label:a,width:i,height:o,fill:s,shapeStyle:h}))}function M(t){return t&&"object"===typeof t&&"value"in t&&"undefined"!==typeof t.value?t.value:t}function k(t){return String(M(t))}function O(t){var n=t.scale,e=t.labelFormat;return function(t,r){return{datum:t,index:r,text:""+e(t,r),value:n(t)}}}w.propTypes={itemIndex:o().number.isRequired,margin:o().oneOfType([o().string,o().number]),width:o().oneOfType([o().string,o().number]),height:o().oneOfType([o().string,o().number])};var Z=["className","style","scale","shape","domain","fill","size","labelFormat","labelTransform","shapeWidth","shapeHeight","shapeMargin","shapeStyle","labelAlign","labelFlex","labelMargin","itemMargin","direction","itemDirection","legendLabelProps","children"];function T(){return T=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},T.apply(this,arguments)}var S={display:"flex"};function E(t){var n=t.className,e=t.style,i=void 0===e?S:e,o=t.scale,u=t.shape,c=t.domain,l=t.fill,f=void 0===l?k:l,h=t.size,p=void 0===h?k:h,v=t.labelFormat,y=void 0===v?M:v,g=t.labelTransform,m=void 0===g?O:g,x=t.shapeWidth,b=void 0===x?15:x,_=t.shapeHeight,E=void 0===_?15:_,P=t.shapeMargin,C=void 0===P?"2px 4px 2px 0":P,N=t.shapeStyle,A=t.labelAlign,D=void 0===A?"left":A,j=t.labelFlex,R=void 0===j?"1":j,L=t.labelMargin,z=void 0===L?"0 4px":L,F=t.itemMargin,U=void 0===F?"0":F,B=t.direction,I=void 0===B?"column":B,W=t.itemDirection,Y=void 0===W?"row":W,H=t.legendLabelProps,q=t.children,V=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,Z),G=c||("domain"in o?o.domain():[]),X=m({scale:o,labelFormat:y}),K=G.map(X);return q?r.createElement(r.Fragment,null,q(K)):r.createElement("div",{className:a()("visx-legend",n),style:T({},i,{flexDirection:I})},K.map((function(t,n){return r.createElement(s,T({key:"legend-"+t.text+"-"+n,margin:U,flexDirection:Y},V),r.createElement(w,{shape:u,height:E,width:b,margin:C,item:G[n],itemIndex:n,label:t,fill:f,size:p,shapeStyle:N}),r.createElement(d,T({label:t.text,flex:R,margin:z,align:D},H)))})))}function P(t){return r.createElement(E,t)}E.propTypes={children:o().func,className:o().string,domain:o().array,shapeWidth:o().oneOfType([o().string,o().number]),shapeHeight:o().oneOfType([o().string,o().number]),shapeMargin:o().oneOfType([o().string,o().number]),labelAlign:o().string,labelFlex:o().oneOfType([o().string,o().number]),labelMargin:o().oneOfType([o().string,o().number]),itemMargin:o().oneOfType([o().string,o().number]),fill:o().func,size:o().func,shapeStyle:o().func}},31400:function(t,n,e){"use strict";e.d(n,{Z:function(){return r}});var r=function(){function t(t){var n=t.x,e=void 0===n?0:n,r=t.y,i=void 0===r?0:r;this.x=0,this.y=0,this.x=e,this.y=i}var n=t.prototype;return n.value=function(){return{x:this.x,y:this.y}},n.toArray=function(){return[this.x,this.y]},t}()},88158:function(t,n,e){"use strict";e.r(n),e.d(n,{Point:function(){return r.Z},subtractPoints:function(){return o},sumPoints:function(){return i}});var r=e(31400);function i(t,n){return new r.Z({x:t.x+n.x,y:t.y+n.y})}function o(t,n){return new r.Z({x:t.x-n.x,y:t.y-n.y})}},56730:function(t,n,e){"use strict";n.Z=h;var r=l(e(7862)),i=l(e(77837)),o=function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var e=c(n);if(e&&e.has(t))return e.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var u=i?Object.getOwnPropertyDescriptor(t,o):null;u&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=t[o]}r.default=t,e&&e.set(t,r);return r}(e(52983)),u=e(68381),a=["className","children","debounceTime","ignoreDimensions","parentSizeStyles","enableDebounceLeadingCall"];function c(t){if("function"!==typeof WeakMap)return null;var n=new WeakMap,e=new WeakMap;return(c=function(t){return t?e:n})(t)}function l(t){return t&&t.__esModule?t:{default:t}}function s(){return s=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},s.apply(this,arguments)}var f=[];function h(t){var n=t.className,e=t.children,r=t.debounceTime,c=void 0===r?300:r,l=t.ignoreDimensions,h=void 0===l?f:l,d=t.parentSizeStyles,p=void 0===d?{width:"100%",height:"100%"}:d,v=t.enableDebounceLeadingCall,y=void 0===v||v,g=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,a),m=(0,o.useRef)(null),x=(0,o.useRef)(0),b=(0,o.useState)({width:0,height:0,top:0,left:0}),_=b[0],w=b[1],M=(0,o.useMemo)((function(){var t=Array.isArray(h)?h:[h];return(0,i.default)((function(n){w((function(e){return Object.keys(e).filter((function(t){return e[t]!==n[t]})).every((function(n){return t.includes(n)}))?e:n}))}),c,{leading:y})}),[c,y,h]);return(0,o.useEffect)((function(){var t=new u.ResizeObserver((function(t){void 0===t&&(t=[]),t.forEach((function(t){var n=t.contentRect,e=n.left,r=n.top,i=n.width,o=n.height;x.current=window.requestAnimationFrame((function(){M({width:i,height:o,top:r,left:e})}))}))}));return m.current&&t.observe(m.current),function(){window.cancelAnimationFrame(x.current),t.disconnect(),null!=M&&M.cancel&&M.cancel()}}),[M]),o.default.createElement("div",s({style:p,ref:m,className:n},g),e(s({},_,{ref:m.current,resize:M})))}h.propTypes={className:r.default.string,debounceTime:r.default.number,enableDebounceLeadingCall:r.default.bool,ignoreDimensions:r.default.oneOfType([r.default.any,r.default.arrayOf(r.default.any)]),children:r.default.func.isRequired}},46961:function(t,n,e){"use strict";var r=e(51369),i=e(81685),o=e(24437),u=e(86144),a=e(81276),c=e(12251),l=e(73319),s=e(31096),f=e(14937),h=e(64406),d=e(58551),p=e(86261),v=e(67812);n.Z=function(t){if("undefined"!==typeof t&&"type"in t)switch(t.type){case"linear":return(0,r.Z)(t);case"log":return(0,i.Z)(t);case"pow":return(0,o.Z)(t);case"sqrt":return(0,u.Z)(t);case"symlog":return(0,a.Z)(t);case"time":return(0,c.Z)(t);case"utc":return(0,l.Z)(t);case"quantile":return(0,s.Z)(t);case"quantize":return(0,f.Z)(t);case"threshold":return(0,h.Z)(t);case"ordinal":return(0,d.Z)(t);case"point":return(0,p.Z)(t);case"band":return(0,v.Z)(t)}return(0,r.Z)(t)}},947:function(t,n,e){"use strict";e.r(n),e.d(n,{coerceNumber:function(){return O.Z},createScale:function(){return b.Z},getTicks:function(){return Z.Z},inferScaleType:function(){return k},scaleBand:function(){return r.Z},scaleCanBeZeroed:function(){return S.Z},scaleLinear:function(){return o.Z},scaleLog:function(){return h.Z},scaleOrdinal:function(){return p.Z},scalePoint:function(){return i.Z},scalePower:function(){return d.Z},scaleQuantile:function(){return y.Z},scaleQuantize:function(){return v.Z},scaleRadial:function(){return l},scaleSqrt:function(){return x.Z},scaleSymlog:function(){return g.Z},scaleThreshold:function(){return m.Z},scaleTime:function(){return s.Z},scaleUtc:function(){return f.Z},toString:function(){return T.Z},updateScale:function(){return w}});var r=e(67812),i=e(86261),o=e(51369),u=e(68216),a=e(74020),c=(0,a.Z)("domain","range","clamp","nice","round","unknown");function l(t){return c((0,u.Z)(),t)}var s=e(12251),f=e(73319),h=e(81685),d=e(24437),p=e(58551),v=e(14937),y=e(31096),g=e(81276),m=e(64406),x=e(86144),b=e(46961),_=a.Z.apply(void 0,a.a);var w=function(t,n){return _(t.copy(),n)},M=e(64588);function k(t){return"paddingInner"in t?"band":"padding"in t?"point":"quantiles"in t?"quantile":"base"in t?"log":"exponent"in t?.5===t.exponent()?"sqrt":"pow":"constant"in t?"symlog":"clamp"in t?t.ticks()[0]instanceof Date?(0,M.Z)(t)?"utc":"time":"linear":"nice"in t?"quantize":"invertExtent"in t?"threshold":"ordinal"}var O=e(78107),Z=e(60333),T=e(68567),S=e(28512)},74020:function(t,n,e){"use strict";e.d(n,{a:function(){return Z},Z:function(){return S}});var r=e(1644),i=e(6246),o=e(2930),u=e(752),a=e(61049),c={lab:r.Z,hcl:i.Z,"hcl-long":i.b,hsl:o.Z,"hsl-long":o.q,cubehelix:u.Z,"cubehelix-long":u.B,rgb:a.ZP};var l=e(26014),s=e(91166),f=e(17564),h=e(85404),d=e(52110),p=e(97650),v=e(19584),y=e(77465),g=e(87546),m=e(97333),x=e(65646),b=e(4057),_=e(53273),w=e(64588),M={day:l.Z,hour:s.Z,minute:f.Z,month:h.Z,second:d.Z,week:p.OM,year:v.Z},k={day:y.Z,hour:g.Z,minute:m.Z,month:x.Z,second:d.Z,week:b.Ox,year:_.Z};var O=e(27389);var Z=["domain","nice","zero","interpolate","round","range","reverse","align","base","clamp","constant","exponent","padding","unknown"],T={domain:function(t,n){n.domain&&t.domain(n.domain)},nice:function(t,n){if("nice"in n&&"undefined"!==typeof n.nice&&"nice"in t){var e=n.nice;if("boolean"===typeof e)e&&t.nice();else if("number"===typeof e)t.nice(e);else{var r=t,i=(0,w.Z)(r);if("string"===typeof e)r.nice(i?k[e]:M[e]);else{var o=e.interval,u=e.step,a=(i?k[o]:M[o]).every(u);null!=a&&r.nice(a)}}}},zero:function(t,n){if("zero"in n&&!0===n.zero){var e=t.domain(),r=e[0],i=e[1],o=i<r,u=o?[i,r]:[r,i],a=u[0],c=u[1],l=[Math.min(0,a),Math.max(0,c)];t.domain(o?l.reverse():l)}},interpolate:function(t,n){if("interpolate"in n&&"interpolate"in t&&"undefined"!==typeof n.interpolate){var e=function(t){switch(t){case"lab":case"hcl":case"hcl-long":case"hsl":case"hsl-long":case"cubehelix":case"cubehelix-long":case"rgb":return c[t]}var n=t.type,e=t.gamma,r=c[n];return"undefined"===typeof e?r:r.gamma(e)}(n.interpolate);t.interpolate(e)}},round:function(t,n){"round"in n&&"undefined"!==typeof n.round&&(n.round&&"interpolate"in n&&"undefined"!==typeof n.interpolate?console.warn("[visx/scale/applyRound] ignoring round: scale config contains round and interpolate. only applying interpolate. config:",n):"round"in t?t.round(n.round):"interpolate"in t&&n.round&&t.interpolate(O.Z))},align:function(t,n){"align"in t&&"align"in n&&"undefined"!==typeof n.align&&t.align(n.align)},base:function(t,n){"base"in t&&"base"in n&&"undefined"!==typeof n.base&&t.base(n.base)},clamp:function(t,n){"clamp"in t&&"clamp"in n&&"undefined"!==typeof n.clamp&&t.clamp(n.clamp)},constant:function(t,n){"constant"in t&&"constant"in n&&"undefined"!==typeof n.constant&&t.constant(n.constant)},exponent:function(t,n){"exponent"in t&&"exponent"in n&&"undefined"!==typeof n.exponent&&t.exponent(n.exponent)},padding:function(t,n){"padding"in t&&"padding"in n&&"undefined"!==typeof n.padding&&t.padding(n.padding),"paddingInner"in t&&"paddingInner"in n&&"undefined"!==typeof n.paddingInner&&t.paddingInner(n.paddingInner),"paddingOuter"in t&&"paddingOuter"in n&&"undefined"!==typeof n.paddingOuter&&t.paddingOuter(n.paddingOuter)},range:function(t,n){n.range&&t.range(n.range)},reverse:function(t,n){if(n.reverse){var e=t.range().slice().reverse();t.range(e)}},unknown:function(t,n){"unknown"in t&&"unknown"in n&&"undefined"!==typeof n.unknown&&t.unknown(n.unknown)}};function S(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];var r=new Set(n),i=Z.filter((function(t){return r.has(t)}));return function(t,n){return"undefined"!==typeof n&&i.forEach((function(e){T[e](t,n)})),t}}},67812:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(10676),i=(0,e(74020).Z)("domain","range","reverse","align","padding","round");function o(t){return i((0,r.Z)(),t)}},51369:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(12827),i=(0,e(74020).Z)("domain","range","reverse","clamp","interpolate","nice","round","zero");function o(t){return i((0,r.Z)(),t)}},81685:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(50908),i=(0,e(74020).Z)("domain","range","reverse","base","clamp","interpolate","nice","round");function o(t){return i((0,r.Z)(),t)}},58551:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(32857),i=(0,e(74020).Z)("domain","range","reverse","unknown");function o(t){return i((0,r.Z)(),t)}},86261:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(10676),i=(0,e(74020).Z)("domain","range","reverse","align","padding","round");function o(t){return i((0,r.x)(),t)}},24437:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(89134),i=(0,e(74020).Z)("domain","range","reverse","clamp","exponent","interpolate","nice","round","zero");function o(t){return i((0,r.ZP)(),t)}},31096:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(80005),i=(0,e(74020).Z)("domain","range","reverse");function o(t){return i((0,r.Z)(),t)}},14937:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(20309),i=(0,e(74020).Z)("domain","range","reverse","nice","zero");function o(t){return i((0,r.Z)(),t)}},86144:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(89134),i=(0,e(74020).Z)("domain","range","reverse","clamp","interpolate","nice","round","zero");function o(t){return i((0,r._b)(),t)}},81276:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(51995),i=(0,e(74020).Z)("domain","range","reverse","clamp","constant","nice","zero","round");function o(t){return i((0,r.Z)(),t)}},64406:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(52115),i=(0,e(74020).Z)("domain","range","reverse");function o(t){return i((0,r.Z)(),t)}},12251:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(87845),i=(0,e(74020).Z)("domain","range","reverse","clamp","interpolate","nice","round");function o(t){return i((0,r.Z)(),t)}},73319:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(20047),i=(0,e(74020).Z)("domain","range","reverse","clamp","interpolate","nice","round");function o(t){return i((0,r.Z)(),t)}},78107:function(t,n,e){"use strict";function r(t){if(("function"===typeof t||"object"===typeof t&&t)&&"valueOf"in t){var n=t.valueOf();if("number"===typeof n)return n}return t}e.d(n,{Z:function(){return r}})},60333:function(t,n,e){"use strict";function r(t,n){var e=t;return"ticks"in e?e.ticks(n):e.domain().filter((function(t,e,r){return null==n||r.length<=n||e%Math.round((r.length-1)/n)===0}))}e.d(n,{Z:function(){return r}})},64588:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=new Date(Date.UTC(2020,1,2,3,4,5));function i(t){return"2020-02-02 03:04"===t.tickFormat(1,"%Y-%m-%d %H:%M")(r)}},28512:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=new Set(["linear","pow","quantize","sqrt","symlog"]);function i(t){return r.has(t.type)}},68567:function(t,n,e){"use strict";function r(t){return null==t?void 0:t.toString()}e.d(n,{Z:function(){return r}})},56786:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){"align"in t&&"align"in n&&"undefined"!==typeof n.align&&t.align(n.align)}},76003:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){"base"in t&&"base"in n&&"undefined"!==typeof n.base&&t.base(n.base)}},86497:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){"clamp"in t&&"clamp"in n&&"undefined"!==typeof n.clamp&&t.clamp(n.clamp)}},37190:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){"constant"in t&&"constant"in n&&"undefined"!==typeof n.constant&&t.constant(n.constant)}},66115:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){n.domain&&t.domain(n.domain)}},83304:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){"exponent"in t&&"exponent"in n&&"undefined"!==typeof n.exponent&&t.exponent(n.exponent)}},86485:function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if("interpolate"in n&&"interpolate"in t&&"undefined"!==typeof n.interpolate){var e=(0,i.default)(n.interpolate);t.interpolate(e)}};var r,i=(r=e(18252))&&r.__esModule?r:{default:r}},11206:function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if("nice"in n&&"undefined"!==typeof n.nice&&"nice"in t){var e=n.nice;if("boolean"===typeof e)e&&t.nice();else if("number"===typeof e)t.nice(e);else{var r=t,i=(0,o.default)(r);if("string"===typeof e)r.nice(i?a[e]:u[e]);else{var c=e.interval,l=e.step,s=(i?a[c]:u[c]).every(l);null!=s&&r.nice(s)}}}};var r,i=e(96647),o=(r=e(6508))&&r.__esModule?r:{default:r};var u={day:i.timeDay,hour:i.timeHour,minute:i.timeMinute,month:i.timeMonth,second:i.timeSecond,week:i.timeWeek,year:i.timeYear},a={day:i.utcDay,hour:i.utcHour,minute:i.utcMinute,month:i.utcMonth,second:i.utcSecond,week:i.utcWeek,year:i.utcYear}},39605:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){"padding"in t&&"padding"in n&&"undefined"!==typeof n.padding&&t.padding(n.padding);"paddingInner"in t&&"paddingInner"in n&&"undefined"!==typeof n.paddingInner&&t.paddingInner(n.paddingInner);"paddingOuter"in t&&"paddingOuter"in n&&"undefined"!==typeof n.paddingOuter&&t.paddingOuter(n.paddingOuter)}},56773:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){n.range&&t.range(n.range)}},74328:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){if(n.reverse){var e=t.range().slice().reverse();t.range(e)}}},89122:function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){"round"in n&&"undefined"!==typeof n.round&&(n.round&&"interpolate"in n&&"undefined"!==typeof n.interpolate?console.warn("[visx/scale/applyRound] ignoring round: scale config contains round and interpolate. only applying interpolate. config:",n):"round"in t?t.round(n.round):"interpolate"in t&&n.round&&t.interpolate(r.interpolateRound))};var r=e(95236)},36024:function(t,n,e){"use strict";n.__esModule=!0,n.ALL_OPERATORS=void 0,n.default=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];var r=new Set(n),i=m.filter((function(t){return r.has(t)}));return function(t,n){return"undefined"!==typeof n&&i.forEach((function(e){x[e](t,n)})),t}};var r=g(e(66115)),i=g(e(56773)),o=g(e(56786)),u=g(e(76003)),a=g(e(86497)),c=g(e(37190)),l=g(e(83304)),s=g(e(86485)),f=g(e(11206)),h=g(e(39605)),d=g(e(74328)),p=g(e(89122)),v=g(e(87911)),y=g(e(69099));function g(t){return t&&t.__esModule?t:{default:t}}var m=["domain","nice","zero","interpolate","round","range","reverse","align","base","clamp","constant","exponent","padding","unknown"];n.ALL_OPERATORS=m;var x={domain:r.default,nice:f.default,zero:y.default,interpolate:s.default,round:p.default,align:o.default,base:u.default,clamp:a.default,constant:c.default,exponent:l.default,padding:h.default,range:i.default,reverse:d.default,unknown:v.default}},87911:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){"unknown"in t&&"unknown"in n&&"undefined"!==typeof n.unknown&&t.unknown(n.unknown)}},69099:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){if("zero"in n&&!0===n.zero){var e=t.domain(),r=e[0],i=e[1],o=i<r,u=o?[i,r]:[r,i],a=u[0],c=u[1],l=[Math.min(0,a),Math.max(0,c)];t.domain(o?l.reverse():l)}}},861:function(t,n,e){"use strict";n.ZP=function(t){return o((0,i.scaleOrdinal)(),t)};var r,i=e(26886);var o=(0,((r=e(36024))&&r.__esModule?r:{default:r}).default)("domain","range","reverse","unknown")},18252:function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t){switch(t){case"lab":case"hcl":case"hcl-long":case"hsl":case"hsl-long":case"cubehelix":case"cubehelix-long":case"rgb":return i[t]}var n=t.type,e=t.gamma,r=i[n];return"undefined"===typeof e?r:r.gamma(e)};var r=e(95236),i={lab:r.interpolateLab,hcl:r.interpolateHcl,"hcl-long":r.interpolateHclLong,hsl:r.interpolateHsl,"hsl-long":r.interpolateHslLong,cubehelix:r.interpolateCubehelix,"cubehelix-long":r.interpolateCubehelixLong,rgb:r.interpolateRgb}},6508:function(t,n){"use strict";n.__esModule=!0,n.default=function(t){return"2020-02-02 03:04"===t.tickFormat(1,"%Y-%m-%d %H:%M")(e)};var e=new Date(Date.UTC(2020,1,2,3,4,5))},35609:function(t,n,e){"use strict";n.Z=function(t){var n=t.children,e=t.x,a=t.x0,l=t.x1,s=t.y,f=t.y0,h=t.y1,d=t.data,p=void 0===d?[]:d,v=t.defined,y=void 0===v?function(){return!0}:v,g=t.className,m=t.curve,x=t.innerRef,b=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,u),_=(0,o.area)({x:e,x0:a,x1:l,y:s,y0:f,y1:h,defined:y,curve:m});return n?r.default.createElement(r.default.Fragment,null,n({path:_})):r.default.createElement("path",c({ref:x,className:(0,i.default)("visx-area",g),d:_(p)||""},b))};var r=a(e(52983)),i=a(e(87608)),o=e(74750),u=["children","x","x0","x1","y","y0","y1","data","defined","className","curve","innerRef"];function a(t){return t&&t.__esModule?t:{default:t}}function c(){return c=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},c.apply(this,arguments)}},14951:function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t){var n=t.from,e=void 0===n?{x:0,y:0}:n,u=t.to,c=void 0===u?{x:1,y:1}:u,l=t.fill,s=void 0===l?"transparent":l,f=t.className,h=t.innerRef,d=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,o),p=e.x===c.x||e.y===c.y;return r.default.createElement("line",a({ref:h,className:(0,i.default)("visx-line",f),x1:e.x,y1:e.y,x2:c.x,y2:c.y,fill:s,shapeRendering:p?"crispEdges":"auto"},d))};var r=u(e(52983)),i=u(e(87608)),o=["from","to","fill","className","innerRef"];function u(t){return t&&t.__esModule?t:{default:t}}function a(){return a=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},a.apply(this,arguments)}},58233:function(t,n,e){"use strict";n.Z=function(t){var n=t.children,e=t.data,a=void 0===e?[]:e,l=t.x,s=t.y,f=t.fill,h=void 0===f?"transparent":f,d=t.className,p=t.curve,v=t.innerRef,y=t.defined,g=void 0===y?function(){return!0}:y,m=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,u),x=(0,o.line)({x:l,y:s,defined:g,curve:p});return n?r.default.createElement(r.default.Fragment,null,n({path:x})):r.default.createElement("path",c({ref:v,className:(0,i.default)("visx-linepath",d),d:x(a)||"",fill:h,strokeLinecap:"round"},m))};var r=a(e(52983)),i=a(e(87608)),o=e(74750),u=["children","data","x","y","fill","className","curve","innerRef","defined"];function a(t){return t&&t.__esModule?t:{default:t}}function c(){return c=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},c.apply(this,arguments)}},74750:function(t,n,e){"use strict";n.__esModule=!0,n.arc=function(t){var n=void 0===t?{}:t,e=n.innerRadius,o=n.outerRadius,u=n.cornerRadius,a=n.startAngle,c=n.endAngle,l=n.padAngle,s=n.padRadius,f=(0,r.arc)();null!=e&&(0,i.default)(f.innerRadius,e);null!=o&&(0,i.default)(f.outerRadius,o);null!=u&&(0,i.default)(f.cornerRadius,u);null!=a&&(0,i.default)(f.startAngle,a);null!=c&&(0,i.default)(f.endAngle,c);null!=l&&(0,i.default)(f.padAngle,l);null!=s&&(0,i.default)(f.padRadius,s);return f},n.area=function(t){var n=void 0===t?{}:t,e=n.x,o=n.x0,u=n.x1,a=n.y,c=n.y0,l=n.y1,s=n.defined,f=n.curve,h=(0,r.area)();e&&(0,i.default)(h.x,e);o&&(0,i.default)(h.x0,o);u&&(0,i.default)(h.x1,u);a&&(0,i.default)(h.y,a);c&&(0,i.default)(h.y0,c);l&&(0,i.default)(h.y1,l);s&&h.defined(s);f&&h.curve(f);return h},n.line=function(t){var n=void 0===t?{}:t,e=n.x,o=n.y,u=n.defined,a=n.curve,c=(0,r.line)();e&&(0,i.default)(c.x,e);o&&(0,i.default)(c.y,o);u&&c.defined(u);a&&c.curve(a);return c},n.pie=function(t){var n=void 0===t?{}:t,e=n.startAngle,o=n.endAngle,u=n.padAngle,a=n.value,c=n.sort,l=n.sortValues,s=(0,r.pie)();(null===c||null!=c)&&s.sort(c);(null===l||null!=l)&&s.sortValues(l);null!=a&&s.value(a);null!=u&&(0,i.default)(s.padAngle,u);null!=e&&(0,i.default)(s.startAngle,e);null!=o&&(0,i.default)(s.endAngle,o);return s},n.radialLine=function(t){var n=void 0===t?{}:t,e=n.angle,o=n.radius,u=n.defined,a=n.curve,c=(0,r.radialLine)();e&&(0,i.default)(c.angle,e);o&&(0,i.default)(c.radius,o);u&&c.defined(u);a&&c.curve(a);return c},n.stack=function(t){var n=t.keys,e=t.value,a=t.order,c=t.offset,l=(0,r.stack)();n&&l.keys(n);e&&(0,i.default)(l.value,e);a&&l.order((0,o.default)(a));c&&l.offset((0,u.default)(c));return l};var r=e(30021),i=a(e(67103)),o=a(e(12360)),u=a(e(19793));function a(t){return t&&t.__esModule?t:{default:t}}},67103:function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){t(n)}},19793:function(t,n,e){"use strict";n.__esModule=!0,n.STACK_OFFSET_NAMES=n.STACK_OFFSETS=void 0,n.default=function(t){return t&&i[t]||i.none};var r=e(30021),i={expand:r.stackOffsetExpand,diverging:r.stackOffsetDiverging,none:r.stackOffsetNone,silhouette:r.stackOffsetSilhouette,wiggle:r.stackOffsetWiggle};n.STACK_OFFSETS=i;var o=Object.keys(i);n.STACK_OFFSET_NAMES=o},12360:function(t,n,e){"use strict";n.__esModule=!0,n.STACK_ORDER_NAMES=n.STACK_ORDERS=void 0,n.default=function(t){return t&&i[t]||i.none};var r=e(30021),i={ascending:r.stackOrderAscending,descending:r.stackOrderDescending,insideout:r.stackOrderInsideOut,none:r.stackOrderNone,reverse:r.stackOrderReverse};n.STACK_ORDERS=i;var o=Object.keys(i);n.STACK_ORDER_NAMES=o},31265:function(t,n,e){"use strict";e.d(n,{Z:function(){return h}});var r=e(52983),i=e(19298),o=e.n(i),u=e(67997),a="__react_svg_text_measurement_id";var c=e.n(u)()((function(t,n){try{var e=document.getElementById(a);if(!e){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttribute("aria-hidden","true"),r.style.width="0",r.style.height="0",r.style.position="absolute",r.style.top="-100%",r.style.left="-100%",(e=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("id",a),r.appendChild(e),document.body.appendChild(r)}return Object.assign(e.style,n),e.textContent=t,e.getComputedTextLength()}catch(i){return null}}),(function(t,n){return t+"_"+JSON.stringify(n)})),l=["verticalAnchor","scaleToFit","angle","width","lineHeight","capHeight","children","style"];function s(t){return"number"===typeof t}function f(t){return"number"===typeof t&&Number.isFinite(t)||"string"===typeof t}function h(t){var n=t.verticalAnchor,e=void 0===n?"end":n,i=t.scaleToFit,u=void 0!==i&&i,a=t.angle,h=t.width,d=t.lineHeight,p=void 0===d?"1em":d,v=t.capHeight,y=void 0===v?"0.71em":v,g=t.children,m=t.style,x=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,l),b=x.x,_=void 0===b?0:b,w=x.y,M=void 0===w?0:w,k=!f(_)||!f(M),O=(0,r.useMemo)((function(){return{wordsWithWidth:(null==g?[]:g.toString().split(/(?:(?!\u00A0+)\s+)/)).map((function(t){return{word:t,wordWidth:c(t,m)||0}})),spaceWidth:c("\xa0",m)||0}}),[g,m]),Z=O.wordsWithWidth,T=O.spaceWidth,S=(0,r.useMemo)((function(){return k?[]:h||u?Z.reduce((function(t,n){var e=n.word,r=n.wordWidth,i=t[t.length-1];if(i&&(null==h||u||(i.width||0)+r+T<h))i.words.push(e),i.width=i.width||0,i.width+=r+T;else{var o={words:[e],width:r};t.push(o)}return t}),[]):[{words:null==g?[]:g.toString().split(/(?:(?!\u00A0+)\s+)/)}]}),[k,h,u,g,Z,T]),E=(0,r.useMemo)((function(){return k?"":"start"===e?o()("calc("+y+")"):"middle"===e?o()("calc("+(S.length-1)/2+" * -"+p+" + ("+y+" / 2))"):o()("calc("+(S.length-1)+" * -"+p+")")}),[k,e,y,S.length,p]),P=(0,r.useMemo)((function(){var t=[];if(k)return"";if(s(_)&&s(M)&&s(h)&&u&&S.length>0){var n=S[0].width||1,e="shrink-only"===u?Math.min(h/n,1):h/n,r=e,i=_-e*_,o=M-r*M;t.push("matrix("+e+", 0, 0, "+r+", "+i+", "+o+")")}return a&&t.push("rotate("+a+", "+_+", "+M+")"),t.length>0?t.join(" "):""}),[k,_,M,h,u,S,a]);return{wordsByLines:S,startDy:E,transform:P}}},6449:function(t,n,e){"use strict";n.Z=function(t){var n=t.dx,e=void 0===n?0:n,u=t.dy,l=void 0===u?0:u,s=t.textAnchor,f=void 0===s?"start":s,h=t.innerRef,d=t.innerTextRef,p=(t.verticalAnchor,t.angle,t.lineHeight),v=void 0===p?"1em":p,y=(t.scaleToFit,t.capHeight,t.width,function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,o)),g=y.x,m=void 0===g?0:g,x=y.fontSize,b=(0,i.default)(t),_=b.wordsByLines,w=b.startDy,M=b.transform;return r.default.createElement("svg",{ref:h,x:e,y:l,fontSize:x,style:c},_.length>0?r.default.createElement("text",a({ref:d,transform:M},y,{textAnchor:f}),_.map((function(t,n){return r.default.createElement("tspan",{key:n,x:m,dy:0===n?w:v},t.words.join(" "))}))):null)};var r=u(e(52983)),i=u(e(22195)),o=["dx","dy","textAnchor","innerRef","innerTextRef","verticalAnchor","angle","lineHeight","scaleToFit","capHeight","width"];function u(t){return t&&t.__esModule?t:{default:t}}function a(){return a=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},a.apply(this,arguments)}var c={overflow:"visible"}},22195:function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t){var n=t.verticalAnchor,e=void 0===n?"end":n,a=t.scaleToFit,s=void 0!==a&&a,f=t.angle,h=t.width,d=t.lineHeight,p=void 0===d?"1em":d,v=t.capHeight,y=void 0===v?"0.71em":v,g=t.children,m=t.style,x=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,u),b=x.x,_=void 0===b?0:b,w=x.y,M=void 0===w?0:w,k=!l(_)||!l(M),O=(0,r.useMemo)((function(){return{wordsWithWidth:(null==g?[]:g.toString().split(/(?:(?!\u00A0+)\s+)/)).map((function(t){return{word:t,wordWidth:(0,o.default)(t,m)||0}})),spaceWidth:(0,o.default)("\xa0",m)||0}}),[g,m]),Z=O.wordsWithWidth,T=O.spaceWidth,S=(0,r.useMemo)((function(){return k?[]:h||s?Z.reduce((function(t,n){var e=n.word,r=n.wordWidth,i=t[t.length-1];if(i&&(null==h||s||(i.width||0)+r+T<h))i.words.push(e),i.width=i.width||0,i.width+=r+T;else{var o={words:[e],width:r};t.push(o)}return t}),[]):[{words:null==g?[]:g.toString().split(/(?:(?!\u00A0+)\s+)/)}]}),[k,h,s,g,Z,T]),E=(0,r.useMemo)((function(){return k?"":"start"===e?(0,i.default)("calc("+y+")"):"middle"===e?(0,i.default)("calc("+(S.length-1)/2+" * -"+p+" + ("+y+" / 2))"):(0,i.default)("calc("+(S.length-1)+" * -"+p+")")}),[k,e,y,S.length,p]),P=(0,r.useMemo)((function(){var t=[];if(k)return"";if(c(_)&&c(M)&&c(h)&&s&&S.length>0){var n=S[0].width||1,e="shrink-only"===s?Math.min(h/n,1):h/n,r=e,i=_-e*_,o=M-r*M;t.push("matrix("+e+", 0, 0, "+r+", "+i+", "+o+")")}return f&&t.push("rotate("+f+", "+_+", "+M+")"),t.length>0?t.join(" "):""}),[k,_,M,h,s,S,f]);return{wordsByLines:S,startDy:E,transform:P}};var r=e(52983),i=a(e(19298)),o=a(e(29077)),u=["verticalAnchor","scaleToFit","angle","width","lineHeight","capHeight","children","style"];function a(t){return t&&t.__esModule?t:{default:t}}function c(t){return"number"===typeof t}function l(t){return"number"===typeof t&&Number.isFinite(t)||"string"===typeof t}},29077:function(t,n,e){"use strict";n.__esModule=!0,n.default=void 0;var r,i=(r=e(67997))&&r.__esModule?r:{default:r};var o="__react_svg_text_measurement_id";var u=(0,i.default)((function(t,n){try{var e=document.getElementById(o);if(!e){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttribute("aria-hidden","true"),r.style.width="0",r.style.height="0",r.style.position="absolute",r.style.top="-100%",r.style.left="-100%",(e=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("id",o),r.appendChild(e),document.body.appendChild(r)}return Object.assign(e.style,n),e.textContent=t,e.getComputedTextLength()}catch(i){return null}}),(function(t,n){return t+"_"+JSON.stringify(n)}));n.default=u},37245:function(t,n,e){"use strict";e.d(n,{j:function(){return s}});var r=e(7862),i=e.n(r),o=e(52983),u=e(87608),a=e.n(u),c=["className","top","left","offsetLeft","offsetTop","style","children","unstyled","applyPositionStyle"];function l(){return l=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},l.apply(this,arguments)}var s={position:"absolute",backgroundColor:"white",color:"#666666",padding:".3rem .5rem",borderRadius:"3px",fontSize:"14px",boxShadow:"0 1px 2px rgba(33,33,33,0.2)",lineHeight:"1em",pointerEvents:"none"},f=o.forwardRef((function(t,n){var e=t.className,r=t.top,i=t.left,u=t.offsetLeft,f=void 0===u?10:u,h=t.offsetTop,d=void 0===h?10:h,p=t.style,v=void 0===p?s:p,y=t.children,g=t.unstyled,m=void 0!==g&&g,x=t.applyPositionStyle,b=void 0!==x&&x,_=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,c);return o.createElement("div",l({ref:n,className:a()("visx-tooltip",e),style:l({top:null==r||null==d?r:r+d,left:null==i||null==f?i:i+f},b&&{position:"absolute"},!m&&v)},_),y)}));f.propTypes={children:i().node,className:i().string,left:i().number,offsetLeft:i().number,offsetTop:i().number,top:i().number,applyPositionStyle:i().bool,unstyled:i().bool},f.displayName="Tooltip",n.Z=f},55524:function(t,n,e){"use strict";e.d(n,{Z:function(){return L}});var r=e(7862),i=e.n(r),o=e(52983),u=e(59842),a=e(63730);function c(t,n){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},c(t,n)}var l=function(t){var n,e;function r(){return t.apply(this,arguments)||this}e=t,(n=r).prototype=Object.create(e.prototype),n.prototype.constructor=n,c(n,e);var i=r.prototype;return i.componentWillUnmount=function(){this.node&&document.body&&(document.body.removeChild(this.node),delete this.node)},i.render=function(){return this.node||"undefined"===typeof document||(this.node=document.createElement("div"),null!=this.props.zIndex&&(this.node.style.zIndex=""+this.props.zIndex),document.body.append(this.node)),this.node?a.createPortal(this.props.children,this.node):null},r}(o.PureComponent);l.propTypes={zIndex:i().oneOfType([i().number,i().string])};var s=e(37245);function f(){return f=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},f.apply(this,arguments)}function h(t,n){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},h(t,n)}var d={top:0,right:0,bottom:0,left:0,width:0,height:0};var p=(0,o.createContext)({isFlippedVertically:!1,isFlippedHorizontally:!1}),v=p.Provider,y=(p.Consumer,["children","getRects","left","offsetLeft","offsetTop","parentRect","rect","style","top","unstyled","nodeRef"]);function g(){return g=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},g.apply(this,arguments)}function m(t){var n,e=t.children,r=(t.getRects,t.left),i=void 0===r?0:r,u=t.offsetLeft,a=void 0===u?10:u,c=t.offsetTop,l=void 0===c?10:c,f=t.parentRect,h=t.rect,d=t.style,p=void 0===d?s.j:d,m=t.top,x=void 0===m?0:m,b=t.unstyled,_=void 0!==b&&b,w=t.nodeRef,M=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,y),k=!1,O=!1;if(h&&f){var Z=i,T=x;if(f.width){var S=Z+a+h.width-f.width,E=h.width-Z-a;k=S>0&&S>E}else{var P=Z+a+h.width-window.innerWidth,C=h.width-Z-a;k=P>0&&P>C}if(f.height){var N=T+l+h.height-f.height,A=h.height-T-l;O=N>0&&N>A}else O=T+l+h.height>window.innerHeight;Z=k?Z-h.width-a:Z+a,T=O?T-h.height-l:T+l,n="translate("+(Z=Math.round(Z))+"px, "+(T=Math.round(T))+"px)"}return o.createElement(s.Z,g({ref:w,style:g({left:0,top:0,transform:n},!_&&p)},M),o.createElement(v,{value:{isFlippedVertically:!O,isFlippedHorizontally:!k}},e))}m.propTypes={nodeRef:i().oneOfType([i().string,i().func,i().object])};var x=function(t){var n;return(n=function(n){var e,r;function i(t){var e;return(e=n.call(this,t)||this).state={rect:void 0,parentRect:void 0},e.nodeRef=o.createRef(),e.getRects=e.getRects.bind(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e)),e}r=n,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,h(e,r);var u=i.prototype;return u.componentDidMount=function(){var t,n=this;this.node=null!=(t=this.nodeRef)&&t.current?this.nodeRef.current:a.findDOMNode(this),this.setState((function(){return n.getRects()}))},u.getRects=function(){if(!this.node)return this.state;var t=this.node,n=t.parentNode;return{rect:t.getBoundingClientRect?t.getBoundingClientRect():d,parentRect:null!=n&&n.getBoundingClientRect?n.getBoundingClientRect():d}},u.render=function(){return o.createElement(t,f({nodeRef:this.nodeRef,getRects:this.getRects},this.state,this.props))},i}(o.PureComponent)).displayName="withBoundingRects("+(t.displayName||"")+")",n}(m),b=["detectBounds","zIndex"],_=["left","top","detectBounds","zIndex"];function w(){return w=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},w.apply(this,arguments)}function M(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}var k=e(84638),O=e(88787),Z=e(52483),T=e(53753),S=["debounce","detectBounds","horizontalCrosshairStyle","glyphStyle","renderTooltip","renderGlyph","resizeObserverPolyfill","scroll","showDatumGlyph","showHorizontalCrosshair","showSeriesGlyphs","showVerticalCrosshair","snapTooltipToDatumX","snapTooltipToDatumY","verticalCrosshairStyle","zIndex"],E=["x","y"];function P(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}function C(){return C=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},C.apply(this,arguments)}var N={position:"absolute",pointerEvents:"none",fontSize:0,lineHeight:0},A={position:"absolute",left:0,top:0,opacity:0,width:0,height:0,pointerEvents:"none"};function D(t){var n=((0,o.useContext)(O.Z)||{}).theme;return o.createElement("circle",C({cx:t.x,cy:t.y,r:t.size,fill:t.color,stroke:null==n?void 0:n.backgroundColor,strokeWidth:1.5,paintOrder:"fill"},t.glyphStyle))}function j(t){return o.createElement(D,t)}function R(t){var n,e,r,i,a,c,f,h,d,p,v,y,g,m=t.debounce,D=t.detectBounds,R=t.horizontalCrosshairStyle,L=t.glyphStyle,z=t.renderTooltip,F=t.renderGlyph,U=void 0===F?j:F,B=t.resizeObserverPolyfill,I=t.scroll,W=void 0===I||I,Y=t.showDatumGlyph,H=void 0!==Y&&Y,q=t.showHorizontalCrosshair,V=void 0!==q&&q,G=t.showSeriesGlyphs,X=void 0!==G&&G,K=t.showVerticalCrosshair,Q=void 0!==K&&K,$=t.snapTooltipToDatumX,J=void 0!==$&&$,tt=t.snapTooltipToDatumY,nt=void 0!==tt&&tt,et=t.verticalCrosshairStyle,rt=t.zIndex,it=P(t,S),ot=(0,o.useContext)(O.Z)||{},ut=ot.colorScale,at=ot.theme,ct=ot.innerHeight,lt=ot.innerWidth,st=ot.margin,ft=ot.xScale,ht=ot.yScale,dt=ot.dataRegistry,pt=(0,o.useContext)(k.Z),vt=function(t){var n=void 0===t?{}:t,e=n.detectBounds,r=void 0===e||e,i=n.zIndex,a=M(n,b),c=(0,u.Z)(a),f=c[0],h=c[1],d=c[2],p=(0,o.useMemo)((function(){return function(t){var n=t.left,e=void 0===n?0:n,u=t.top,a=void 0===u?0:u,c=t.detectBounds,f=t.zIndex,d=M(t,_),p=null==f?i:f,v=(null==c?r:c)?x:s.Z,y=e+(h.left||0)+window.scrollX,g=a+(h.top||0)+window.scrollY;return o.createElement(l,{zIndex:p},o.createElement(v,w({left:y,top:g},d)))}}),[r,i,h.left,h.top]);return{containerRef:f,containerBounds:h,forceRefreshBounds:d,TooltipInPortal:p}}({debounce:m,detectBounds:D,polyfill:B,scroll:W,zIndex:rt}),yt=vt.containerRef,gt=vt.TooltipInPortal,mt=vt.forceRefreshBounds,xt=(0,o.useCallback)((function(t){var n;yt(null!=(n=null==t?void 0:t.parentElement)?n:null)}),[yt]),bt=null!=pt&&pt.tooltipOpen?z(C({},pt,{colorScale:ut})):null,_t=(null==pt?void 0:pt.tooltipOpen)&&null!=bt,wt=(0,o.useRef)(!1);(0,o.useEffect)((function(){_t&&!wt.current&&mt(),wt.current=_t}),[_t,mt]);var Mt=null==pt?void 0:pt.tooltipLeft,kt=null==pt?void 0:pt.tooltipTop,Ot=ft?(0,Z.Z)(ft):0,Zt=ht?(0,Z.Z)(ht):0,Tt=(0,o.useCallback)((function(t,n){var e,r,i=null==dt?void 0:dt.get(t),o=null==i?void 0:i.xAccessor,u=null==i?void 0:i.yAccessor;return{left:ft&&o?null!=(e=Number(ft(o(n)))+Ot/2)?e:0:void 0,top:ht&&u?null!=(r=Number(ht(u(n)))+Zt/2)?r:0:void 0}}),[dt,Ot,Zt,ft,ht]),St=null==pt||null==(n=pt.tooltipData)?void 0:n.nearestDatum,Et=null!=(e=null==St?void 0:St.key)?e:"";if(_t&&St&&(J||nt)){var Pt=Tt(Et,St.datum),Ct=Pt.left,Nt=Pt.top;Mt=J&&(0,T.Z)(Ct)?Ct:Mt,kt=nt&&(0,T.Z)(Nt)?Nt:kt}var At=[];if(_t&&(H||X)){var Dt,jt,Rt,Lt=Number(null!=(Dt=null==L?void 0:L.radius)?Dt:4);if(X)Object.values(null!=(jt=null==pt||null==(Rt=pt.tooltipData)?void 0:Rt.datumByKey)?jt:{}).forEach((function(t){var n,e,r,i=t.key,o=t.datum,u=t.index,a=null!=(n=null!=(e=null==ut?void 0:ut(i))?e:null==at||null==(r=at.htmlLabel)?void 0:r.color)?n:"#222",c=Tt(i,o),l=c.left,s=c.top;(0,T.Z)(l)&&(0,T.Z)(s)&&At.push({key:i,color:a,datum:o,index:u,size:Lt,x:l,y:s,glyphStyle:L,isNearestDatum:!!St&&St.key===i})}));else if(St){var zt=Tt(Et,St.datum),Ft=zt.left,Ut=zt.top;if((0,T.Z)(Ft)&&(0,T.Z)(Ut)){var Bt,It,Wt,Yt,Ht,qt,Vt=null!=(Bt=null!=(It=null!=(Wt=null!=(Yt=Et&&(null==ut?void 0:ut(Et)))?Yt:null)?Wt:null==at||null==(Ht=at.gridStyles)?void 0:Ht.stroke)?It:null==at||null==(qt=at.htmlLabel)?void 0:qt.color)?Bt:"#222";At.push({key:Et,color:Vt,datum:St.datum,index:St.index,size:Lt,x:Ft,y:Ut,glyphStyle:L,isNearestDatum:!0})}}}return o.createElement(o.Fragment,null,o.createElement("svg",{ref:xt,style:A}),_t&&o.createElement(o.Fragment,null,Q&&o.createElement(gt,{className:"visx-crosshair visx-crosshair-vertical",left:Mt,top:null==st?void 0:st.top,offsetLeft:0,offsetTop:0,detectBounds:!1,style:N},o.createElement("svg",{width:"1",height:ct,overflow:"visible"},o.createElement("line",C({x1:0,x2:0,y1:0,y2:ct,strokeWidth:1.5,stroke:null!=(r=null!=(i=null==at||null==(a=at.gridStyles)?void 0:a.stroke)?i:null==at||null==(c=at.htmlLabel)?void 0:c.color)?r:"#222"},et)))),V&&o.createElement(gt,{className:"visx-crosshair visx-crosshair-horizontal",left:null==st?void 0:st.left,top:kt,offsetLeft:0,offsetTop:0,detectBounds:!1,style:N},o.createElement("svg",{width:lt,height:"1",overflow:"visible"},o.createElement("line",C({x1:0,x2:lt,y1:0,y2:0,strokeWidth:1.5,stroke:null!=(f=null!=(h=null==at||null==(d=at.gridStyles)?void 0:d.stroke)?h:null==at||null==(p=at.htmlLabel)?void 0:p.color)?f:"#222"},R)))),At.map((function(t,n){var e=t.x,r=t.y,i=P(t,E);return o.createElement(gt,{key:n,className:"visx-tooltip-glyph",left:e,top:r,offsetLeft:0,offsetTop:0,detectBounds:!1,style:N},o.createElement("svg",{overflow:"visible"},U(C({x:0,y:0},i))))})),o.createElement(gt,C({left:Mt,top:kt,style:C({},s.j,{background:null!=(v=null==at?void 0:at.backgroundColor)?v:"white",boxShadow:"0 1px 2px "+(null!=at&&null!=(y=at.htmlLabel)&&y.color?(null==at||null==(g=at.htmlLabel)?void 0:g.color)+"55":"#22222255")},null==at?void 0:at.htmlLabel)},it),bt)))}function L(t){var n=(0,o.useContext)(k.Z);return null!=n&&n.tooltipOpen?o.createElement(R,t):null}D.propTypes={isNearestDatum:i().bool.isRequired},R.propTypes={renderTooltip:i().func.isRequired,renderGlyph:i().func,snapTooltipToDatumX:i().bool,snapTooltipToDatumY:i().bool,showVerticalCrosshair:i().bool,showHorizontalCrosshair:i().bool,showDatumGlyph:i().bool,showSeriesGlyphs:i().bool},L.propTypes={renderTooltip:i().func.isRequired,renderGlyph:i().func,snapTooltipToDatumX:i().bool,snapTooltipToDatumY:i().bool,showVerticalCrosshair:i().bool,showHorizontalCrosshair:i().bool,showDatumGlyph:i().bool,showSeriesGlyphs:i().bool}},91161:function(t,n,e){"use strict";e.d(n,{Z:function(){return T}});var r=e(7862),i=e.n(r),o=e(52983),u=e(56730),a=e(88787),c=e(15419);var l=e(2774);function s(t){var n=t.children,e=(0,o.useMemo)((function(){return{all:t=t||new Map,on:function(n,e){var r=t.get(n);r&&r.push(e)||t.set(n,[e])},off:function(n,e){var r=t.get(n);r&&r.splice(r.indexOf(e)>>>0,1)},emit:function(n,e){(t.get(n)||[]).slice().map((function(t){t(e)})),(t.get("*")||[]).slice().map((function(t){t(n,e)}))}};var t}),[]);return o.createElement(l.Z.Provider,{value:e},n)}var f=e(84638),h=e(77837),d=e.n(h),p=["tooltipOpen"];function v(){return v=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},v.apply(this,arguments)}function y(t){var n=(0,o.useState)(v({tooltipOpen:!1},t)),e=n[0],r=n[1],i=(0,o.useCallback)((function(t){return r("function"===typeof t?function(n){n.tooltipOpen;var e=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(n,p);return v({},t(e),{tooltipOpen:!0})}:{tooltipOpen:!0,tooltipLeft:t.tooltipLeft,tooltipTop:t.tooltipTop,tooltipData:t.tooltipData})}),[r]),u=(0,o.useCallback)((function(){return r({tooltipOpen:!1,tooltipLeft:void 0,tooltipTop:void 0,tooltipData:void 0})}),[r]);return{tooltipOpen:e.tooltipOpen,tooltipLeft:e.tooltipLeft,tooltipTop:e.tooltipTop,tooltipData:e.tooltipData,updateTooltip:r,showTooltip:i,hideTooltip:u}}var g=e(53753);function m(){return m=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},m.apply(this,arguments)}function x(t){var n=t.hideTooltipDebounceMs,e=void 0===n?400:n,r=t.children,i=y(void 0),u=i.tooltipOpen,a=i.tooltipLeft,c=i.tooltipTop,l=i.tooltipData,s=i.updateTooltip,h=i.hideTooltip,p=(0,o.useRef)(null),v=(0,o.useRef)((function(t){var n=t.svgPoint,e=t.index,r=t.key,i=t.datum,o=t.distanceX,u=t.distanceY;p.current&&(p.current.cancel(),p.current=null);var a=(0,g.Z)(o)?o:1/0,c=(0,g.Z)(u)?u:1/0,l=Math.sqrt(Math.pow(a,2)+Math.pow(c,2));s((function(t){var o,u,a,c=t.tooltipData,s=null!=c&&c.nearestDatum&&(0,g.Z)(c.nearestDatum.distance)?c.nearestDatum.distance:1/0;return{tooltipOpen:!0,tooltipLeft:null==n?void 0:n.x,tooltipTop:null==n?void 0:n.y,tooltipData:{nearestDatum:(null!=(o=null==c||null==(u=c.nearestDatum)?void 0:u.key)?o:"")!==r&&s<l?null==c?void 0:c.nearestDatum:{key:r,index:e,datum:i,distance:l},datumByKey:m({},null==c?void 0:c.datumByKey,(a={},a[r]={datum:i,index:e,key:r},a))}}}))})),x=(0,o.useCallback)((function(){p.current=d()(h,e),p.current()}),[h,e]),b=(0,o.useMemo)((function(){return{tooltipOpen:u,tooltipLeft:a,tooltipTop:c,tooltipData:l,updateTooltip:s,showTooltip:v.current,hideTooltip:x}}),[x,l,a,u,c,s]);return o.createElement(f.Z.Provider,{value:b},r)}x.propTypes={hideTooltipDebounceMs:i().number,children:i().node.isRequired};var b=e(93170),_=e(22922),w=e(41452),M=e(53576);function k(){return k=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},k.apply(this,arguments)}var O={top:50,right:50,bottom:50,left:50},Z=[w.hD];function T(t){var n=t.accessibilityLabel,e=void 0===n?"XYChart":n,r=t.captureEvents,i=void 0===r||r,l=t.children,h=t.height,d=t.horizontal,p=t.margin,v=void 0===p?O:p,y=t.onPointerMove,g=t.onPointerOut,m=t.onPointerUp,S=t.onPointerDown,E=t.pointerEventsDataKey,P=void 0===E?"nearest":E,C=t.theme,N=t.width,A=t.xScale,D=t.yScale,j=(0,o.useContext)(a.Z).setDimensions,R=(0,o.useContext)(f.Z),L=(0,c.Z)();(0,o.useEffect)((function(){j&&null!=N&&null!=h&&N>0&&h>0&&j({width:N,height:h,margin:v})}),[j,N,h,v]);var z=(0,_.Z)({source:w.hD});return(0,M.ZP)({dataKey:"nearest"===P?M.tj:M.lN,onPointerMove:y,onPointerOut:g,onPointerUp:m,onPointerDown:S,allowedSources:Z}),j?null==N||null==h?o.createElement(u.Z,null,(function(n){return o.createElement(T,k({},t,{width:null==t.width?n.width:t.width,height:null==t.height?n.height:t.height}))})):null==R?o.createElement(x,null,o.createElement(T,t)):null==L?o.createElement(s,null,o.createElement(T,t)):N>0&&h>0?o.createElement("svg",{width:N,height:h,"aria-label":e},l,i&&o.createElement("rect",k({x:v.left,y:v.top,width:N-v.left-v.right,height:h-v.top-v.bottom,fill:"transparent"},z))):null:A&&D?o.createElement(b.Z,{xScale:A,yScale:D,theme:C,initialDimensions:{width:N,height:h,margin:v},horizontal:d},o.createElement(T,t)):(console.warn("[@visx/xychart] XYChart: When no DataProvider is available in context, you must pass xScale & yScale config to XYChart."),null)}T.propTypes={accessibilityLabel:i().string,captureEvents:i().bool,width:i().number,height:i().number,children:i().node.isRequired,horizontal:i().oneOfType([i().bool,i().oneOf(["auto"])]),onPointerMove:i().func,onPointerOut:i().func,onPointerUp:i().func,onPointerDown:i().func,pointerEventsDataKey:i().oneOf(["all","nearest"])}},20313:function(t,n,e){"use strict";e.d(n,{Z:function(){return _}});var r=e(7862),i=e.n(r),o=e(52983),u=e(80364),a=e(99171);function c(t){var n=t.x,e=t.y,r=t.dx,i=t.dy,u=t.children,c=(0,o.useMemo)((function(){return{x:n,y:e,dx:r,dy:i}}),[n,e,r,i]);return o.createElement(a.Z.Provider,{value:c},u)}function l(){return l=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},l.apply(this,arguments)}c.propTypes={children:i().node.isRequired};var s={r:10,fill:"transparent",stroke:"#777",strokeDasharray:"4,2",strokeWidth:2};function f(t){var n=t.canEditLabel,e=void 0===n||n,r=t.canEditSubject,i=void 0===r||r,a=t.children,f=t.dx,h=void 0===f?0:f,d=t.dy,p=void 0===d?0:d,v=t.height,y=t.labelDragHandleProps,g=t.onDragEnd,m=t.onDragMove,x=t.onDragStart,b=t.subjectDragHandleProps,_=t.width,w=t.x,M=void 0===w?0:w,k=t.y,O=void 0===k?0:k,Z=(0,o.useRef)(),T=(0,o.useRef)(),S=(0,o.useCallback)((function(t){var n,e,r,i,o,u,a,c,l=t.event;x&&x({event:l,x:M+(null!=(n=null==(e=Z.current)?void 0:e.dx)?n:0),y:O+(null!=(r=null==(i=Z.current)?void 0:i.dy)?r:0),dx:h+(null!=(o=null==(u=T.current)?void 0:u.dx)?o:0),dy:p+(null!=(a=null==(c=T.current)?void 0:c.dy)?a:0)})}),[h,p,x,M,O]),E=(0,o.useCallback)((function(t){var n,e,r,i,o,u,a,c,l=t.event;m&&m({event:l,x:M+(null!=(n=null==(e=Z.current)?void 0:e.dx)?n:0),y:O+(null!=(r=null==(i=Z.current)?void 0:i.dy)?r:0),dx:h+(null!=(o=null==(u=T.current)?void 0:u.dx)?o:0),dy:p+(null!=(a=null==(c=T.current)?void 0:c.dy)?a:0)})}),[h,p,m,M,O]),P=(0,o.useCallback)((function(t){var n,e,r,i,o,u,a,c,l=t.event;g&&g({event:l,x:M+(null!=(n=null==(e=Z.current)?void 0:e.dx)?n:0),y:O+(null!=(r=null==(i=Z.current)?void 0:i.dy)?r:0),dx:h+(null!=(o=null==(u=T.current)?void 0:u.dx)?o:0),dy:p+(null!=(a=null==(c=T.current)?void 0:c.dy)?a:0)})}),[h,p,g,M,O]),C=(0,u.Z)({onDragStart:S,onDragMove:E,onDragEnd:P,x:M,y:O}),N=(0,u.Z)({onDragStart:S,onDragMove:E,onDragEnd:P,x:h,y:p});return Z.current=C,T.current=N,o.createElement(o.Fragment,null,o.createElement(c,{x:M+C.dx,y:O+C.dy,dx:h+N.dx,dy:p+N.dy},a),C.isDragging&&o.createElement("rect",{width:_,height:v,onMouseMove:C.dragMove,onMouseUp:C.dragEnd,fill:"transparent"}),i&&o.createElement("circle",l({cx:M,cy:O,transform:"translate("+C.dx+","+C.dy+")",onMouseMove:C.dragMove,onMouseUp:C.dragEnd,onMouseDown:C.dragStart,onTouchStart:C.dragStart,onTouchMove:C.dragMove,onTouchEnd:C.dragEnd,cursor:C.isDragging?"grabbing":"grab"},s,b)),N.isDragging&&o.createElement("rect",{width:_,height:v,onMouseMove:N.dragMove,onMouseUp:N.dragEnd,fill:"transparent"}),e&&o.createElement("circle",l({cx:M+C.dx+h,cy:O+C.dy+p,transform:"translate("+N.dx+","+N.dy+")",onMouseMove:N.dragMove,onMouseUp:N.dragEnd,onMouseDown:N.dragStart,onTouchStart:N.dragStart,onTouchMove:N.dragMove,onTouchEnd:N.dragEnd,cursor:N.isDragging?"grabbing":"grab"},s,y)))}f.propTypes={width:i().number.isRequired,height:i().number.isRequired,children:i().node.isRequired,canEditLabel:i().bool,canEditSubject:i().bool,onDragStart:i().func,onDragMove:i().func,onDragEnd:i().func};var h=e(78107),d=e(88787),p=e(52483),v=e(53753),y=["AnnotationComponent","children","datum","dataKey","xAccessor","yAccessor","dx","dy"];function g(){return g=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},g.apply(this,arguments)}function m(t){var n,e,r=t.AnnotationComponent,i=t.children,u=t.datum,a=t.dataKey,c=t.xAccessor,l=t.yAccessor,s=t.dx,f=void 0===s?0:s,m=t.dy,x=void 0===m?0:m,b=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,y),_=(0,o.useContext)(d.Z)||{},w=_.innerHeight,M=_.innerWidth,k=_.margin,O=_.xScale,Z=_.yScale,T=_.dataRegistry,S=(0,o.useMemo)((function(){return O?(0,p.Z)(O):0}),[O]),E=(0,o.useMemo)((function(){return Z?(0,p.Z)(Z):0}),[Z]);if((!c||!l)&&!a)return console.warn("[@visx/xychart/BaseAnnotation]: dataKey or x/yAccessors must be specified."),null;var P=c&&l||null==a?null:null==T?void 0:T.get(a),C=c||(null==P?void 0:P.xAccessor),N=l||(null==P?void 0:P.yAccessor);if(!O||!Z||!M||!w||!C||!N||!k)return null;var A=(null!=(n=(0,h.Z)(O(C(u))))?n:NaN)+S/2,D=(null!=(e=(0,h.Z)(Z(N(u))))?e:NaN)+E/2,j=A+f+16>k.left+M?-f:f,R=D+x+16>k.top+w?-x:x;return(0,v.Z)(A)&&(0,v.Z)(D)?o.createElement(r,g({width:M,height:w},b,{x:A,y:D,dx:j,dy:R}),i):null}m.propTypes={dataKey:i().string,xAccessor:i().func,yAccessor:i().func};var x=["editable"];function b(){return b=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},b.apply(this,arguments)}function _(t){var n=t.editable,e=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,x);return o.createElement(m,b({AnnotationComponent:n?f:c},e))}_.propTypes={editable:i().bool}},35579:function(t,n,e){"use strict";e.d(n,{Z:function(){return d}});var r=e(52983),i=e(7862),o=e.n(i),u=e(87608),a=e.n(u),c=e(99171);function l(){return l=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},l.apply(this,arguments)}function s(t){var n,e,i,o,u=t.className,s=t.x,f=t.y,h=t.dx,d=t.dy,p=t.type,v=void 0===p?"elbow":p,y=t.stroke,g=void 0===y?"#222":y,m=t.pathProps,x=(0,r.useContext)(c.Z),b=null==s?null!=(n=x.x)?n:0:s,_=null==f?null!=(e=x.y)?e:0:f,w=null==h?null!=(i=x.dx)?i:0:h,M=null==d?null!=(o=x.dy)?o:0:d,k=b,O=_,Z=b+w,T=_+M;"elbow"===v&&(Math.abs(w)<=Math.abs(M)?(k=Z,O=_+(M>0?1:-1)*Math.abs(k-b)):(O=T,k=b+(w>0?1:-1)*Math.abs(O-_)));return r.createElement("path",l({className:a()("visx-annotation-connector",u),strokeWidth:1,stroke:g,fill:"transparent",pointerEvents:"none",d:"M"+b+","+_+("elbow"===v?"L"+k+","+O:"")+"L"+Z+","+T},m))}s.propTypes={className:o().string,type:o().oneOf(["line","elbow"]),stroke:o().string};var f=e(88787);function h(){return h=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},h.apply(this,arguments)}function d(t){var n=(0,r.useContext)(f.Z).theme;return r.createElement(s,h({stroke:null==n?void 0:n.axisStyles.x.bottom.axisLine.stroke},t))}},3751:function(t,n,e){"use strict";e.d(n,{Z:function(){return _}});var r=e(52983),i=e(7862),o=e.n(i),u=e(87608),a=e.n(u),c=e(55376),l=e(6449),s=e(31265),f=e(59842),h=e(99171);function d(){return d=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},d.apply(this,arguments)}function p(t){var n=t.anchorLineOrientation,e=t.anchorLineStroke,i=t.verticalAnchor,o=t.horizontalAnchor,u=t.width,a=t.height,c={stroke:e,strokeWidth:2};return r.createElement(r.Fragment,null,"horizontal"===n&&"start"===i&&r.createElement("line",d({},c,{x1:0,x2:u,y1:0,y2:0})),"horizontal"===n&&"end"===i&&r.createElement("line",d({},c,{x1:0,x2:u,y1:a,y2:a})),"vertical"===n&&"start"===o&&r.createElement("line",d({},c,{x1:0,x2:0,y1:0,y2:a})),"vertical"===n&&"end"===o&&r.createElement("line",d({},c,{x1:u,x2:u,y1:0,y2:a})))}function v(){return v=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},v.apply(this,arguments)}p.propTypes={anchorLineOrientation:o().oneOf(["horizontal","vertical"]).isRequired,anchorLineStroke:o().string.isRequired,width:o().number.isRequired,height:o().number.isRequired};var y={top:12,right:12,bottom:12,left:12};function g(t){var n,e,i,o=t.anchorLineStroke,u=void 0===o?"#222":o,d=t.backgroundFill,g=void 0===d?"#eaeaea":d,m=t.backgroundPadding,x=t.backgroundProps,b=t.className,_=t.fontColor,w=void 0===_?"#222":_,M=t.horizontalAnchor,k=t.resizeObserverPolyfill,O=t.showAnchorLine,Z=void 0===O||O,T=t.showBackground,S=void 0===T||T,E=t.subtitle,P=t.subtitleDy,C=void 0===P?4:P,N=t.subtitleFontSize,A=void 0===N?12:N,D=t.subtitleFontWeight,j=void 0===D?200:D,R=t.subtitleProps,L=t.title,z=t.titleFontSize,F=void 0===z?16:z,U=t.titleFontWeight,B=void 0===U?600:U,I=t.titleProps,W=t.verticalAnchor,Y=t.width,H=t.maxWidth,q=void 0===H?125:H,V=t.x,G=t.y,X=(0,f.Z)({polyfill:k}),K=X[0],Q=X[1],$=(0,f.Z)({polyfill:k}),J=$[0],tt=$[1],nt=(0,r.useMemo)((function(){return function(t){return"undefined"===typeof t?y:"number"===typeof t?{top:t,right:t,bottom:t,left:t}:v({},y,t)}(m)}),[m]),et=(0,r.useContext)(h.Z),rt=et.x,it=void 0===rt?0:rt,ot=et.y,ut=void 0===ot?0:ot,at=et.dx,ct=void 0===at?0:at,lt=et.dy,st=void 0===lt?0:lt,ft=Math.floor(nt.top+nt.bottom+(null!=(n=Q.height)?n:0)+(null!=(e=tt.height)?e:0)),ht=(0,s.Z)(v({children:L,verticalAnchor:"start",capHeight:F,fontSize:F,fontWeight:B,fontFamily:null==I?void 0:I.fontFamily,width:q},I)).wordsByLines,dt=(0,s.Z)(v({children:E,verticalAnchor:"start",capHeight:A,fontSize:A,fontWeight:j,fontFamily:null==R?void 0:R.fontFamily,width:q},R)).wordsByLines,pt=ht.reduce((function(t,n){var e;return Math.max(t,null!=(e=n.width)?e:0)}),0),vt=dt.reduce((function(t,n){var e;return Math.max(t,null!=(e=n.width)?e:0)}),0),yt=Math.ceil(Math.min(q,Math.max(pt,vt))),gt=nt.right+nt.left+yt,mt=null!=Y?Y:gt,xt=mt-nt.left-nt.right,bt=M||(Math.abs(ct)<Math.abs(st)?"middle":ct>0?"start":"end"),_t=W||(Math.abs(ct)>Math.abs(st)?"middle":st>0?"start":"end"),wt=(0,r.useMemo)((function(){var t=null==V?it+ct:V,n=null==G?ut+st:G;return"middle"===bt&&(t-=mt/2),"end"===bt&&(t-=mt),"middle"===_t&&(n-=ft/2),"end"===_t&&(n-=ft),{x:t,y:n}}),[V,it,ct,G,ut,st,bt,_t,mt,ft]),Mt=null==I?void 0:I.fontFamily,kt=(0,r.useMemo)((function(){return{fontSize:F,fontWeight:B,fontFamily:Mt}}),[F,B,Mt]),Ot=null==R?void 0:R.fontFamily,Zt=(0,r.useMemo)((function(){return{fontSize:A,fontWeight:j,fontFamily:Ot}}),[A,j,Ot]);return L||E?r.createElement(c.Z,{top:wt.y,left:wt.x,pointerEvents:"none",className:a()("visx-annotationlabel",b),opacity:0===Q.height&&0===tt.height?0:1},S&&r.createElement("rect",v({className:"visx-annotationlabel-background",fill:g,x:0,y:0,width:mt,height:ft},x)),Z&&r.createElement(p,{anchorLineOrientation:Math.abs(ct)>Math.abs(st)?"vertical":"horizontal",anchorLineStroke:u,verticalAnchor:_t,horizontalAnchor:bt,width:mt,height:ft}),L&&r.createElement(l.Z,v({innerTextRef:K,fill:w,verticalAnchor:"start",x:nt.left+("middle"===(null==I?void 0:I.textAnchor)?xt/2:0),y:nt.top,width:xt,capHeight:F,style:kt},I),L),E&&r.createElement(l.Z,v({innerTextRef:J,fill:w,verticalAnchor:"start",x:nt.left+("middle"===(null==R?void 0:R.textAnchor)?xt/2:0),y:nt.top+(null!=(i=Q.height)?i:0),dy:L?C:0,width:xt,capHeight:A,style:Zt},R),E)):null}g.propTypes={anchorLineStroke:o().string,backgroundFill:o().string,backgroundPadding:o().oneOfType([o().number,o().shape({top:o().number,right:o().number,bottom:o().number,left:o().number})]),className:o().string,fontColor:o().string,showAnchorLine:o().bool,showBackground:o().bool,subtitle:o().string,subtitleDy:o().number,title:o().string,width:o().number,maxWidth:o().number,x:o().number,y:o().number};var m=e(88787);function x(){return x=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},x.apply(this,arguments)}var b={fillOpacity:.7};function _(t){var n=(0,r.useContext)(m.Z).theme,e=null==n?void 0:n.svgLabelBig,i=null==n?void 0:n.svgLabelSmall;return r.createElement(g,x({anchorLineStroke:null==n?void 0:n.axisStyles.x.bottom.axisLine.stroke,backgroundFill:null==n?void 0:n.backgroundColor,backgroundProps:b,showAnchorLine:!0,subtitleFontSize:null==i?void 0:i.fontSize,subtitleFontWeight:null==i?void 0:i.fontWeight,subtitleProps:i,titleFontSize:null==e?void 0:e.fontSize,titleFontWeight:null==e?void 0:e.fontWeight,titleProps:e},t))}},83921:function(t,n,e){"use strict";e.d(n,{Z:function(){return j}});var r=e(52983),i=e(87608),o=e.n(i),u=e(17178),a=e(60333),c=e(78107),l=["from","to","fill","className","innerRef"];function s(){return s=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},s.apply(this,arguments)}function f(t){var n=t.from,e=void 0===n?{x:0,y:0}:n,i=t.to,u=void 0===i?{x:1,y:1}:i,a=t.fill,c=void 0===a?"transparent":a,f=t.className,h=t.innerRef,d=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,l),p=e.x===u.x||e.y===u.y;return r.createElement("line",s({ref:h,className:o()("visx-line",f),x1:e.x,y1:e.y,x2:u.x,y2:u.y,fill:c,shapeRendering:p?"crispEdges":"auto"},d))}var h=e(31265),d=["dx","dy","textAnchor","innerRef","innerTextRef","verticalAnchor","angle","lineHeight","scaleToFit","capHeight","width"];function p(){return p=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},p.apply(this,arguments)}var v={overflow:"visible"};function y(t){var n=t.dx,e=void 0===n?0:n,i=t.dy,o=void 0===i?0:i,u=t.textAnchor,a=void 0===u?"start":u,c=t.innerRef,l=t.innerTextRef,s=(t.verticalAnchor,t.angle,t.lineHeight),f=void 0===s?"1em":s,y=(t.scaleToFit,t.capHeight,t.width,function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,d)),g=y.x,m=void 0===g?0:g,x=y.fontSize,b=(0,h.Z)(t),_=b.wordsByLines,w=b.startDy,M=b.transform;return r.createElement("svg",{ref:c,x:e,y:o,fontSize:x,style:v},_.length>0?r.createElement("text",p({ref:l,transform:M},y,{textAnchor:a}),_.map((function(t,n){return r.createElement("tspan",{key:n,x:m,dy:0===n?w:f},t.words.join(" "))}))):null)}var g={top:"top",left:"left",right:"right",bottom:"bottom"};function m(){return m=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},m.apply(this,arguments)}function x(t){var n=t.hideTicks,e=t.horizontal,i=t.orientation,a=t.tickClassName,c=t.tickComponent,l=t.tickLabelProps,s=t.tickStroke,h=void 0===s?"#222":s,d=t.tickTransform,p=t.ticks,v=t.strokeWidth,x=t.tickLineProps;return p.map((function(t){var s,p=t.value,b=t.index,_=t.from,w=t.to,M=t.formattedValue,k=null!=(s=l[b])?s:{},O=Math.max(10,"number"===typeof k.fontSize&&k.fontSize||0),Z=w.y+(e&&i!==g.top?O:0);return r.createElement(u.Z,{key:"visx-tick-"+p+"-"+b,className:o()("visx-axis-tick",a),transform:d},!n&&r.createElement(f,m({from:_,to:w,stroke:h,strokeWidth:v,strokeLinecap:"square"},x)),c?c(m({},k,{x:w.x,y:Z,formattedValue:M})):r.createElement(y,m({x:w.x,y:Z},k),M))}))}function b(){return b=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},b.apply(this,arguments)}var _={textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"#222"};function w(t){var n=t.axisFromPoint,e=t.axisLineClassName,i=t.axisToPoint,u=t.hideAxisLine,a=t.hideTicks,c=t.horizontal,l=t.label,s=void 0===l?"":l,h=t.labelClassName,d=t.labelOffset,p=void 0===d?14:d,v=t.labelProps,m=void 0===v?_:v,w=t.orientation,M=void 0===w?g.bottom:w,k=t.scale,O=t.stroke,Z=void 0===O?"#222":O,T=t.strokeDasharray,S=t.strokeWidth,E=void 0===S?1:S,P=t.tickClassName,C=t.tickComponent,N=t.tickLineProps,A=t.tickLabelProps,D=void 0===A?function(){return _}:A,j=t.tickLength,R=void 0===j?8:j,L=t.tickStroke,z=void 0===L?"#222":L,F=t.tickTransform,U=t.ticks,B=t.ticksComponent,I=void 0===B?x:B,W=U.map((function(t){var n=t.value,e=t.index;return D(n,e,U)})),Y=Math.max.apply(Math,[10].concat(W.map((function(t){return"number"===typeof t.fontSize?t.fontSize:0}))));return r.createElement(r.Fragment,null,I({hideTicks:a,horizontal:c,orientation:M,scale:k,tickClassName:P,tickComponent:C,tickLabelProps:W,tickStroke:z,tickTransform:F,ticks:U,strokeWidth:E,tickLineProps:N}),!u&&r.createElement(f,{className:o()("visx-axis-line",e),from:n,to:i,stroke:Z,strokeWidth:E,strokeDasharray:T}),s&&r.createElement(y,b({className:o()("visx-axis-label",h)},function(t){var n,e,r,i=t.labelOffset,o=t.labelProps,u=t.orientation,a=t.range,c=t.tickLabelFontSize,l=t.tickLength,s=u===g.left||u===g.top?-1:1;if(u===g.top||u===g.bottom){var f=u===g.bottom&&"number"===typeof o.fontSize?o.fontSize:0;n=(Number(a[0])+Number(a[a.length-1]))/2,e=s*(l+i+c+f)}else n=s*((Number(a[0])+Number(a[a.length-1]))/2),e=-(l+i),r="rotate("+90*s+")";return{x:n,y:e,transform:r}}({labelOffset:p,labelProps:m,orientation:M,range:k.range(),tickLabelFontSize:Y,tickLength:R}),m),s))}var M=e(68567);var k=e(31400);function O(t,n){var e=t.x,r=t.y;return new k.Z(n?{x:e,y:r}:{x:r,y:e})}function Z(){return Z=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Z.apply(this,arguments)}var T=["children","axisClassName","hideAxisLine","hideTicks","hideZero","left","numTicks","orientation","rangePadding","scale","tickFormat","tickLength","tickValues","top"];function S(){return S=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},S.apply(this,arguments)}function E(t){var n,e=t.children,i=void 0===e?w:e,l=t.axisClassName,s=t.hideAxisLine,f=void 0!==s&&s,h=t.hideTicks,d=void 0!==h&&h,p=t.hideZero,v=void 0!==p&&p,y=t.left,m=void 0===y?0:y,x=t.numTicks,b=void 0===x?10:x,_=t.orientation,k=void 0===_?g.bottom:_,E=t.rangePadding,P=void 0===E?0:E,C=t.scale,N=t.tickFormat,A=t.tickLength,D=void 0===A?8:A,j=t.tickValues,R=t.top,L=void 0===R?0:R,z=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,T),F=null!=N?N:function(t){return"tickFormat"in t?t.tickFormat():M.Z}(C),U=k===g.left,B=k===g.top,I=B||k===g.bottom,W=function(t,n){void 0===n&&(n="center");var e=t;if("start"!==n&&"bandwidth"in e){var r=e.bandwidth();return"center"===n&&(r/=2),e.round()&&(r=Math.round(r)),function(t){var n=e(t);return"number"===typeof n?n+r:n}}return t}(C),Y=U||B?-1:1,H=C.range(),q=(void 0===(n=P)&&(n=0),"number"===typeof n?{start:n,end:n}:Z({start:0,end:0},n)),V=O({x:Number(H[0])+.5-q.start,y:0},I),G=O({x:Number(H[H.length-1])+.5+q.end,y:0},I),X=(null!=j?j:(0,a.Z)(C,b)).filter((function(t){return!v||0!==t&&"0"!==t})).map((function(t,n){return{value:t,index:n}})),K=X.map((function(t){var n=t.value,e=t.index,r=(0,c.Z)(W(n));return{value:n,index:e,from:O({x:r,y:0},I),to:O({x:r,y:D*Y},I),formattedValue:F(n,e,X)}}));return r.createElement(u.Z,{className:o()("visx-axis",l),top:L,left:m},i(S({},z,{axisFromPoint:V,axisToPoint:G,hideAxisLine:f,hideTicks:d,hideZero:v,horizontal:I,numTicks:b,orientation:k,rangePadding:P,scale:C,tickFormat:F,tickLength:D,tickPosition:W,tickSign:Y,ticks:K})))}var P=e(88787),C=["AxisComponent"];function N(){return N=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},N.apply(this,arguments)}function A(t){var n,e,i,o,u,a,c,l=t.AxisComponent,s=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,C),f=(0,r.useContext)(P.Z),h=f.theme,d=f.xScale,p=f.yScale,v=f.margin,y=f.width,g=f.height,m=s.orientation,x=(0,r.useMemo)((function(){var t,n,e,r;return"left"===m||"right"===m?null==h||null==(t=h.axisStyles)||null==(n=t.y)?void 0:n[m]:null==h||null==(e=h.axisStyles)||null==(r=e.x)?void 0:r[m]}),[h,m]),b=s.tickLabelProps,_=(0,r.useMemo)((function(){return b||x?function(t,n,e){return N({},null==x?void 0:x.tickLabel,{width:"left"===m||"right"===m?null==v?void 0:v[m]:void 0},null==b?void 0:b(t,n,e))}:void 0}),[b,x,m,v]),w="bottom"===m?(null!=g?g:0)-(null!=(n=null==v?void 0:v.bottom)?n:0):"top"===m&&null!=(e=null==v?void 0:v.top)?e:0,M="left"===m?null!=(i=null==v?void 0:v.left)?i:0:"right"===m?(null!=y?y:0)-(null!=(o=null==v?void 0:v.right)?o:0):0,k="left"===m||"right"===m?p:d;return k?r.createElement(l,N({top:w,left:M,labelProps:null==x?void 0:x.axisLabel,stroke:null==x||null==(u=x.axisLine)?void 0:u.stroke,strokeWidth:null==x||null==(a=x.axisLine)?void 0:a.strokeWidth,tickLength:null==x?void 0:x.tickLength,tickStroke:null==x||null==(c=x.tickLine)?void 0:c.stroke},s,{tickLabelProps:_,scale:k})):null}function D(){return D=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},D.apply(this,arguments)}function j(t){return r.createElement(A,D({AxisComponent:E},t))}},54350:function(t,n,e){"use strict";e.d(n,{Z:function(){return d}});var r=e(52983),i=e(15450),o=e(26570),u=e(7862),a=e.n(u),c=e(88787),l=["rows","columns","GridRowsComponent","GridColumnsComponent"];function s(){return s=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},s.apply(this,arguments)}function f(t){var n=t.rows,e=void 0===n||n,i=t.columns,o=void 0===i||i,u=t.GridRowsComponent,a=t.GridColumnsComponent,f=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,l),h=(0,r.useContext)(c.Z),d=h.theme,p=h.xScale,v=h.yScale,y=h.margin,g=h.innerWidth,m=h.innerHeight,x=null==d?void 0:d.gridStyles;return r.createElement(r.Fragment,null,e&&v&&null!=g&&r.createElement(u,s({left:null==y?void 0:y.left,lineStyle:x,width:g,scale:v},f)),o&&p&&null!=m&&r.createElement(a,s({top:null==y?void 0:y.top,lineStyle:x,height:m,scale:p},f)))}function h(){return h=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},h.apply(this,arguments)}function d(t){return r.createElement(f,h({GridRowsComponent:i.Z,GridColumnsComponent:o.Z},t))}f.propTypes={rows:a().bool,columns:a().bool}},49916:function(t,n,e){"use strict";e.d(n,{Z:function(){return _}});var r=e(52983),i=e(7862),o=e.n(i),u=e(35609),a=e(58233),c=e(88787),l=e(14481),s=e(7390),f=e(78107),h=e(53753);var d=e(41452),p=e(36128),v=e(58576),y=e(95854),g=["PathComponent","curve","data","dataKey","lineProps","onBlur","onFocus","onPointerMove","onPointerOut","onPointerUp","onPointerDown","enableEvents","renderLine","xAccessor","x0Accessor","xScale","yAccessor","y0Accessor","yScale"];function m(){return m=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},m.apply(this,arguments)}function x(t){var n,e,i,o=t.PathComponent,l=void 0===o?"path":o,x=t.curve,b=t.data,_=t.dataKey,w=t.lineProps,M=t.onBlur,k=t.onFocus,O=t.onPointerMove,Z=t.onPointerOut,T=t.onPointerUp,S=t.onPointerDown,E=t.enableEvents,P=void 0===E||E,C=t.renderLine,N=void 0===C||C,A=t.xAccessor,D=t.x0Accessor,j=t.xScale,R=t.yAccessor,L=t.y0Accessor,z=t.yScale,F=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,g),U=(0,r.useContext)(c.Z),B=U.colorScale,I=U.theme,W=U.horizontal,Y=(0,r.useMemo)((function(){return D?(0,s.Z)(j,D):void 0}),[j,D]),H=(0,r.useMemo)((function(){return(0,s.Z)(j,A)}),[j,A]),q=(0,r.useMemo)((function(){return L?(0,s.Z)(z,L):void 0}),[z,L]),V=(0,r.useMemo)((function(){return(0,s.Z)(z,R)}),[z,R]),G=(0,r.useCallback)((function(t){return(0,h.Z)(j(A(t)))&&(0,h.Z)(z(R(t)))}),[j,A,z,R]),X=null!=(n=null!=(e=null==B?void 0:B(_))?e:null==I||null==(i=I.colors)?void 0:i[0])?n:"#222",K=d.Em+"-"+_,Q=(0,y.Z)({dataKey:_,enableEvents:P,onBlur:M,onFocus:k,onPointerMove:O,onPointerOut:Z,onPointerUp:T,onPointerDown:S,source:K,allowedSources:[d.hD,K]}),$=(0,r.useMemo)((function(){var t=function(t){var n=t.range().map((function(t){var n;return null!=(n=(0,f.Z)(t))?n:0})),e=n[0],r=n[1],i=null!=e&&null!=r&&r<e,o=t(0),u=i?[r,e]:[e,r],a=u[0],c=u[1];return i?(0,h.Z)(o)?Math.min(Math.max(a,o),c):c:(0,h.Z)(o)?Math.max(o,a):a}(W?j:z);return W?{x0:null!=Y?Y:t,x1:H,y:V}:{x:H,y0:null!=q?q:t,y1:V}}),[j,z,W,H,V,Y,q]),J=Boolean(k||M),tt=(0,r.useCallback)((function(t){var n=t.glyphs;return J?n.map((function(t){return r.createElement(r.Fragment,{key:t.key},(0,v.Z)(m({},t,{color:"transparent",onFocus:Q.onFocus,onBlur:Q.onBlur})))})):null}),[J,Q.onFocus,Q.onBlur]);return r.createElement(r.Fragment,null,r.createElement(u.Z,m({},$,F,{curve:x,defined:G}),(function(t){var n=t.path;return r.createElement(l,m({className:"visx-area",stroke:"transparent",fill:X,strokeLinecap:"round"},F,{d:n(b)||""},Q))})),N&&r.createElement(a.Z,m({x:H,y:V,defined:G,curve:x},w),(function(t){var n=t.path;return r.createElement(l,m({className:"visx-line",fill:"transparent",stroke:X,strokeWidth:2,pointerEvents:"none",strokeLinecap:"round"},w,{d:n(b)||""}))})),J&&r.createElement(p.J,{dataKey:_,data:b,xAccessor:A,yAccessor:R,xScale:j,yScale:z,renderGlyphs:tt}))}x.propTypes={renderLine:o().bool};var b=(0,l.Z)(x);function _(t){return r.createElement(b,t)}},5285:function(t,n,e){"use strict";e.d(n,{Z:function(){return x}});var r=e(52983),i=e(7862),o=e.n(i),u=e(58233),a=e(88787),c=e(14481),l=e(7390),s=e(53753),f=e(41452),h=e(36128),d=e(58576),p=e(95854),v=["colorAccessor","curve","data","dataKey","onBlur","onFocus","onPointerMove","onPointerOut","onPointerUp","onPointerDown","enableEvents","xAccessor","xScale","yAccessor","yScale","PathComponent"];function y(){return y=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},y.apply(this,arguments)}function g(t){var n,e,i,o=t.colorAccessor,c=t.curve,g=t.data,m=t.dataKey,x=t.onBlur,b=t.onFocus,_=t.onPointerMove,w=t.onPointerOut,M=t.onPointerUp,k=t.onPointerDown,O=t.enableEvents,Z=void 0===O||O,T=t.xAccessor,S=t.xScale,E=t.yAccessor,P=t.yScale,C=t.PathComponent,N=void 0===C?"path":C,A=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}(t,v),D=(0,r.useContext)(a.Z),j=D.colorScale,R=D.theme,L=(0,r.useMemo)((function(){return(0,l.Z)(S,T)}),[S,T]),z=(0,r.useMemo)((function(){return(0,l.Z)(P,E)}),[P,E]),F=(0,r.useCallback)((function(t){return(0,s.Z)(S(T(t)))&&(0,s.Z)(P(E(t)))}),[S,T,P,E]),U=null!=(n=null!=(e=null==j?void 0:j(m))?e:null==R||null==(i=R.colors)?void 0:i[0])?n:"#222",B=f._c+"-"+m,I=(0,p.Z)({dataKey:m,enableEvents:Z,onBlur:x,onFocus:b,onPointerMove:_,onPointerOut:w,onPointerUp:M,onPointerDown:k,source:B,allowedSources:[f.hD,B]}),W=Boolean(b||x),Y=(0,r.useCallback)((function(t){var n=t.glyphs;return W?n.map((function(t){return r.createElement(r.Fragment,{key:t.key},(0,d.Z)(y({},t,{color:"transparent",onFocus:I.onFocus,onBlur:I.onBlur})))})):null}),[W,I.onFocus,I.onBlur]);return r.createElement(r.Fragment,null,r.createElement(u.Z,y({x:L,y:z,defined:F,curve:c},A),(function(t){var n,e=t.path;return r.createElement(N,y({stroke:null!=(n=null==o?void 0:o(m))?n:U,strokeWidth:2,fill:"transparent",strokeLinecap:"round"},A,{d:e(g)||""},I))})),W&&r.createElement(h.J,{dataKey:m,data:g,xAccessor:T,yAccessor:E,xScale:S,yScale:P,renderGlyphs:Y}))}g.propTypes={colorAccessor:o().func};var m=(0,c.Z)(g);function x(t){return r.createElement(m,t)}},36128:function(t,n,e){"use strict";e.d(n,{J:function(){return d}});var r=e(7862),i=e.n(r),o=e(52983),u=e(88787),a=e(14481),c=e(7390),l=e(53753),s=e(41452),f=e(95854);function h(){return h=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},h.apply(this,arguments)}function d(t){var n,e,r,i=t.colorAccessor,a=t.data,d=t.dataKey,p=t.onBlur,v=t.onFocus,y=t.onPointerMove,g=t.onPointerOut,m=t.onPointerUp,x=t.onPointerDown,b=t.enableEvents,_=void 0===b||b,w=t.renderGlyphs,M=t.size,k=void 0===M?8:M,O=t.xAccessor,Z=t.xScale,T=t.yAccessor,S=t.yScale,E=(0,o.useContext)(u.Z),P=E.colorScale,C=E.theme,N=E.horizontal,A=(0,o.useMemo)((function(){return(0,c.Z)(Z,O)}),[Z,O]),D=(0,o.useMemo)((function(){return(0,c.Z)(S,T)}),[S,T]),j=null!=(n=null!=(e=null==P?void 0:P(d))?e:null==C||null==(r=C.colors)?void 0:r[0])?n:"#222",R=s.rE+"-"+d,L=(0,f.Z)({dataKey:d,enableEvents:_,onBlur:p,onFocus:v,onPointerMove:y,onPointerOut:g,onPointerUp:m,onPointerDown:x,source:R,allowedSources:[s.hD,R]}),z=(0,o.useMemo)((function(){return a.map((function(t,n){var e,r=A(t);if(!(0,l.Z)(r))return null;var o=D(t);return(0,l.Z)(o)?{key:""+n,x:r,y:o,color:null!=(e=null==i?void 0:i(t,n))?e:j,size:"function"===typeof k?k(t):k,datum:t}:null})).filter((function(t){return t}))}),[j,i,a,A,D,k]);return o.createElement(o.Fragment,null,w(h({glyphs:z,xScale:Z,yScale:S,horizontal:N},L)))}d.propTypes={colorAccessor:i().func,size:i().oneOfType([i().number,i().func]),renderGlyphs:i().func.isRequired};(0,a.Z)(d)},58576:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(52983);function i(t){var n=t.key,e=t.color,i=t.x,o=t.y,u=t.size,a=t.onBlur,c=t.onFocus,l=t.onPointerMove,s=t.onPointerOut,f=t.onPointerUp;return r.createElement("circle",{className:"visx-circle-glyph",key:n,tabIndex:a||c?0:void 0,fill:e,r:u/2,cx:i,cy:o,onBlur:a,onFocus:c,onPointerMove:l,onPointerOut:s,onPointerUp:f})}},41452:function(t,n,e){"use strict";e.d(n,{Em:function(){return r},_c:function(){return o},hD:function(){return u},rE:function(){return i}});var r="AREASERIES_EVENT_SOURCE",i="GLYPHSERIES_EVENT_SOURCE",o="LINESERIES_EVENT_SOURCE",u="XYCHART_EVENT_SOURCE"},88787:function(t,n,e){"use strict";var r=e(52983).createContext({});n.Z=r},2774:function(t,n,e){"use strict";var r=(0,e(52983).createContext)(null);n.Z=r},84638:function(t,n,e){"use strict";var r=(0,e(52983).createContext)(null);n.Z=r},14481:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var r=e(52983),i=e(88787);function o(){return o=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},o.apply(this,arguments)}function u(t){return function(n){var e=n.dataKey,u=n.data,a=n.xAccessor,c=n.yAccessor,l=(0,r.useContext)(i.Z),s=l.xScale,f=l.yScale,h=l.dataRegistry;(0,r.useEffect)((function(){return h&&h.registerData({key:e,data:u,xAccessor:a,yAccessor:c}),function(){return null==h?void 0:h.unregisterData(e)}}),[h,e,u,a,c]);var d=null==h?void 0:h.get(e);if(!s||!f||!d)return null;var p=t;return r.createElement(p,o({},n,{xScale:s,yScale:f,data:d.data,xAccessor:d.xAccessor,yAccessor:d.yAccessor}))}}},15419:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var r=e(52983),i=e(9305),o=e(2774);function u(t,n,e){var u=(0,r.useContext)(o.Z),a=(0,r.useRef)();a.current=e;var c=(0,r.useCallback)((function(t,n,e){u&&u.emit(t,{event:n,svgPoint:(0,i.Z)(n),source:e})}),[u]);return(0,r.useEffect)((function(){if(u&&t&&n){var e=function(t){var e;(!a.current||null!=t&&t.source&&null!=(e=a.current)&&e.includes(t.source))&&n(t)};return u.on(t,e),function(){return null==u?void 0:u.off(t,e)}}}),[u,t,n]),u?c:null}},22922:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(52983),i=e(15419);function o(t){var n=t.source,e=t.onPointerOut,o=void 0===e||e,u=t.onPointerMove,a=void 0===u||u,c=t.onPointerUp,l=void 0===c||c,s=t.onPointerDown,f=void 0===s||s,h=t.onFocus,d=void 0!==h&&h,p=t.onBlur,v=void 0!==p&&p,y=(0,i.Z)(),g=(0,r.useCallback)((function(t){return null==y?void 0:y("pointermove",t,n)}),[y,n]),m=(0,r.useCallback)((function(t){return null==y?void 0:y("pointerout",t,n)}),[y,n]),x=(0,r.useCallback)((function(t){return null==y?void 0:y("pointerup",t,n)}),[y,n]),b=(0,r.useCallback)((function(t){return null==y?void 0:y("pointerdown",t,n)}),[y,n]),_=(0,r.useCallback)((function(t){return null==y?void 0:y("focus",t,n)}),[y,n]),w=(0,r.useCallback)((function(t){return null==y?void 0:y("blur",t,n)}),[y,n]);return{onPointerMove:a?g:void 0,onFocus:d?_:void 0,onBlur:v?w:void 0,onPointerOut:o?m:void 0,onPointerUp:l?x:void 0,onPointerDown:f?b:void 0}}},53576:function(t,n,e){"use strict";e.d(n,{lN:function(){return p},tj:function(){return v},ZP:function(){return y}});var r=e(52983),i=e(88787);function o(t){return!!t&&("clientX"in t||"changedTouches"in t)}var u=e(490),a=e(76950),c=e(86878);function l(t){var n,e,r=t.scale,i=t.accessor,o=t.scaledValue,l=t.data,s=r;if("invert"in s&&"function"===typeof s.invert){var f=(0,u.Z)(i).left,h=Number(s.invert(o)),d=f(l,h),p=l[d-1],v=l[d];e=(n=!p||Math.abs(h-i(p))>Math.abs(h-i(v))?v:p)===p?d-1:d}else{if(!("step"in s)||"undefined"===typeof s.step)return console.warn("[visx/xychart/findNearestDatum] encountered incompatible scale type, bailing"),null;var y=r.domain(),g=r.range().map(Number),m=[].concat(g).sort((function(t,n){return t-n})),x=(0,a.Z)(m[0],m[1],s.step()),b=(0,c.Nw)(x,o),_=(g[0]<g[1]?y:y.reverse())[b-1],w=l.findIndex((function(t){return String(i(t))===String(_)}));n=l[w],e=w}return null==n||null==e?null:{datum:n,index:e,distance:Math.abs(Number(s(i(n)))-o)}}function s(t){var n=t.xScale,e=t.xAccessor,r=t.yScale,i=t.yAccessor,o=t.point,u=t.data;if(!o)return null;var a=l({scale:n,accessor:e,scaledValue:o.x,data:u});return a?{datum:a.datum,index:a.index,distanceX:a.distance,distanceY:Math.abs(Number(r(i(a.datum)))-o.y)}:null}function f(t){var n=t.yScale,e=t.yAccessor,r=t.xScale,i=t.xAccessor,o=t.point,u=t.data;if(!o)return null;var a=l({scale:n,accessor:e,scaledValue:o.y,data:u});return a?{datum:a.datum,index:a.index,distanceY:a.distance,distanceX:Math.abs(Number(r(i(a.datum)))-o.x)}:null}var h=e(15419);function d(){return d=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},d.apply(this,arguments)}var p="__POINTER_EVENTS_ALL",v="__POINTER_EVENTS_NEAREST";function y(t){var n=t.dataKey,e=t.findNearestDatum,u=t.onBlur,a=t.onFocus,c=t.onPointerMove,l=t.onPointerOut,y=t.onPointerUp,g=t.onPointerDown,m=t.allowedSources,x=(0,r.useContext)(i.Z),b=x.width,_=x.height,w=x.horizontal,M=x.dataRegistry,k=x.xScale,O=x.yScale,Z=e||(w?f:s),T=(0,r.useCallback)((function(t){var e,r=t||{},i=r.svgPoint,o=r.event,u={},a=null,c=1/0;return t&&o&&i&&b&&_&&k&&O?((n===v||n===p?null!=(e=null==M?void 0:M.keys())?e:[]:Array.isArray(n)?n:[n]).forEach((function(t){var e=null==M?void 0:M.get(t);if(e){var r=Z({dataKey:t,data:e.data,height:_,point:i,width:b,xAccessor:e.xAccessor,xScale:k,yAccessor:e.yAccessor,yScale:O});if(r&&(u[t]=d({key:t,svgPoint:i,event:o},r),n===v)){var l,s,f=Math.sqrt((null!=(l=r.distanceX)?l:Math.pow(1/0,2))+(null!=(s=r.distanceY)?s:Math.pow(1/0,2)));a=f<c?u[t]:a,c=Math.min(c,f)}}})),(n===v?[a]:n===p||Array.isArray(n)?Object.values(u):[u[n]]).filter((function(t){return t}))):[]}),[n,M,k,O,b,_,Z]),S=(0,r.useCallback)((function(t){c&&T(t).forEach((function(t){return c(t)}))}),[T,c]),E=(0,r.useCallback)((function(t){y&&T(t).forEach((function(t){return y(t)}))}),[T,y]),P=(0,r.useCallback)((function(t){g&&T(t).forEach((function(t){return g(t)}))}),[T,g]),C=(0,r.useCallback)((function(t){a&&T(t).forEach((function(t){return a(t)}))}),[T,a]),N=(0,r.useCallback)((function(t){var n=null==t?void 0:t.event;n&&o(n)&&l&&l(n)}),[l]),A=(0,r.useCallback)((function(t){var n=null==t?void 0:t.event;n&&function(t){return!!t&&!o(t)}(n)&&u&&u(n)}),[u]);(0,h.Z)("pointermove",c?S:void 0,m),(0,h.Z)("pointerout",l?N:void 0,m),(0,h.Z)("pointerup",y?E:void 0,m),(0,h.Z)("pointerdown",g?P:void 0,m),(0,h.Z)("focus",a?C:void 0,m),(0,h.Z)("blur",u?A:void 0,m)}},95854:function(t,n,e){"use strict";e.d(n,{Z:function(){return a}});var r=e(52983),i=e(84638),o=e(22922),u=e(53576);function a(t){var n,e=t.dataKey,a=t.enableEvents,c=t.findNearestDatum,l=t.onBlur,s=t.onFocus,f=t.onPointerMove,h=t.onPointerOut,d=t.onPointerUp,p=t.onPointerDown,v=t.source,y=t.allowedSources,g=null!=(n=(0,r.useContext)(i.Z))?n:{},m=g.showTooltip,x=g.hideTooltip,b=(0,r.useCallback)((function(t){m(t),f&&f(t)}),[m,f]),_=(0,r.useCallback)((function(t){m(t),s&&s(t)}),[m,s]),w=(0,r.useCallback)((function(t){x(),t&&h&&h(t)}),[x,h]),M=(0,r.useCallback)((function(t){x(),t&&l&&l(t)}),[x,l]),k=(0,r.useCallback)((function(t){m(t),p&&p(t)}),[m,p]);return(0,u.ZP)({dataKey:e,findNearestDatum:c,onBlur:a?M:void 0,onFocus:a?_:void 0,onPointerMove:a?b:void 0,onPointerOut:a?w:void 0,onPointerUp:a?d:void 0,onPointerDown:a?k:void 0,allowedSources:y}),(0,o.Z)({source:v,onBlur:!!l&&a,onFocus:!!s&&a,onPointerMove:!!f&&a,onPointerOut:!!h&&a,onPointerUp:!!d&&a,onPointerDown:!!p&&a})}},93170:function(t,n,e){"use strict";e.d(n,{Z:function(){return m}});var r=e(7862),i=e.n(r),o=e(52983),u=e(861),a=e(11916),c=(0,e(67079).Z)({backgroundColor:"#fff",colors:a.B3,tickLength:4,svgLabelSmall:{fill:a.ab[7]},svgLabelBig:{fill:a.ab[9]},gridColor:a.ab[5],gridColorDark:a.ab[9]}),l=o.createContext(c),s=e(88787),f=function(){function t(){this.registry={},this.registryKeys=[]}var n=t.prototype;return n.registerData=function(t){var n=this;(Array.isArray(t)?t:[t]).forEach((function(t){t.key in n.registry&&null!=n.registry[t.key]&&console.debug("Overriding data registry key",t.key),n.registry[t.key]=t,n.registryKeys=Object.keys(n.registry)}))},n.unregisterData=function(t){var n=this;(Array.isArray(t)?t:[t]).forEach((function(t){delete n.registry[t],n.registryKeys=Object.keys(n.registry)}))},n.entries=function(){return Object.values(this.registry)},n.get=function(t){return this.registry[t]},n.keys=function(){return this.registryKeys},t}();var h={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}};var d=e(28512),p=e(46961);function v(t,n){let e,r;if(void 0===n)for(const i of t)null!=i&&(void 0===e?i>=i&&(e=r=i):(e>i&&(e=i),r<i&&(r=i)));else{let i=-1;for(let o of t)null!=(o=n(o,++i,t))&&(void 0===e?o>=o&&(e=r=o):(e>o&&(e=o),r<o&&(r=o)))}return[e,r]}function y(t){return"band"===(null==t?void 0:t.type)||"ordinal"===(null==t?void 0:t.type)||"point"===(null==t?void 0:t.type)}function g(){return g=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},g.apply(this,arguments)}function m(t){var n=t.initialDimensions,e=t.theme,r=t.xScale,i=t.yScale,a=t.children,c=t.horizontal,m=void 0===c?"auto":c,x=(0,o.useContext)(l),b=e||x,_=function(t){var n=(0,o.useState)({width:null==(null==t?void 0:t.width)?h.width:t.width,height:null==(null==t?void 0:t.height)?h.height:t.height,margin:null==(null==t?void 0:t.margin)?h.margin:t.margin}),e=n[0],r=n[1],i=(0,o.useCallback)((function(t){t.width===e.width&&t.height===e.height&&t.margin.left===e.margin.left&&t.margin.right===e.margin.right&&t.margin.top===e.margin.top&&t.margin.bottom===e.margin.bottom||r(t)}),[e.width,e.height,e.margin.left,e.margin.right,e.margin.bottom,e.margin.top]);return[e,i]}(n),w=_[0],M=w.width,k=w.height,O=w.margin,Z=_[1],T=Math.max(0,M-O.left-O.right),S=Math.max(0,k-O.top-O.bottom),E=function(){var t=(0,o.useState)(Math.random())[1],n=(0,o.useMemo)((function(){return new f}),[]);return(0,o.useMemo)((function(){return{registerData:function(){n.registerData.apply(n,arguments),t(Math.random())},unregisterData:function(){n.unregisterData.apply(n,arguments),t(Math.random())},entries:function(){return n.entries()},get:function(t){return n.get(t)},keys:function(){return n.keys()}}}),[n])}(),P=function(t){var n=t.dataRegistry,e=t.xRange,r=t.xScaleConfig,i=t.yRange,u=t.yScaleConfig,a=n.keys(),c=e[0],l=e[1],s=i[0],f=i[1];return{xScale:(0,o.useMemo)((function(){var t=a.map((function(t){return n.get(t)})),e=t.reduce((function(t,n){return n?t.concat(n.data.map((function(t){return n.xAccessor(t)}))):t}),[]);if(0!==e.length){var i=y(r)?e:v(e),o=(0,d.Z)(r)?(0,p.Z)(g({range:[c,l],domain:i,zero:!0},r)):(0,p.Z)(g({range:[c,l],domain:i},r));return t.forEach((function(t){null!=t&&t.xScale&&(o=t.xScale(o))})),o}}),[n,r,a,c,l]),yScale:(0,o.useMemo)((function(){var t=a.map((function(t){return n.get(t)})),e=t.reduce((function(t,n){return n?t.concat(n.data.map((function(t){return n.yAccessor(t)}))):t}),[]);if(0!==e.length){var r=y(u)?e:v(e),i=(0,d.Z)(u)?(0,p.Z)(g({range:[s,f],domain:r,zero:!0},u)):(0,p.Z)(g({range:[s,f],domain:r},u));return t.forEach((function(t){null!=t&&t.yScale&&(i=t.yScale(i))})),i}}),[n,u,a,s,f])}}({dataRegistry:E,xScaleConfig:r,yScaleConfig:i,xRange:[O.left,Math.max(0,M-O.right)],yRange:[Math.max(0,k-O.bottom),O.top]}),C=P.xScale,N=P.yScale,A=E.keys(),D=(0,o.useMemo)((function(){return(0,u.ZP)({domain:A,range:b.colors})}),[A,b.colors]),j="auto"===m?y(i)||"time"===i.type||"utc"===i.type:m,R=(0,o.useMemo)((function(){return{dataRegistry:E,registerData:E.registerData,unregisterData:E.unregisterData,xScale:C,yScale:N,colorScale:D,theme:b,width:M,height:k,margin:O,innerWidth:T,innerHeight:S,setDimensions:Z,horizontal:j}}),[D,E,k,j,S,T,O,Z,b,M,C,N]);return o.createElement(s.Z.Provider,{value:R},a)}m.propTypes={children:i().node.isRequired,horizontal:i().oneOfType([i().bool,i().oneOf(["auto"])])}},67079:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var r=e(11916);function i(){return i=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},i.apply(this,arguments)}var o={fontFamily:"-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif",fontWeight:700,fontSize:12,textAnchor:"middle",pointerEvents:"none",letterSpacing:.4};function u(t){var n,e,u,a,c,l,s=i({},o,{fill:r.zP,stroke:"none"},t.svgLabelBig),f=i({},o,{fontWeight:200,fontSize:11,fill:r.zP,stroke:"none"},t.svgLabelSmall),h=i({color:null!=(n=null!=(e=null!=(u=null==(a=t.htmlLabel)?void 0:a.color)?u:null==(c=t.svgLabelBig)?void 0:c.fill)?e:null==(l=t.svgLabelSmall)?void 0:l.fill)?n:r.zP},o,t.htmlLabel);return{backgroundColor:t.backgroundColor,colors:[].concat(t.colors),htmlLabel:i({},h),svgLabelSmall:i({},f),svgLabelBig:i({},s),gridStyles:i({stroke:t.gridColor,strokeWidth:1},t.gridStyles),axisStyles:{x:{top:{axisLabel:i({},s,{dy:"-0.25em"}),axisLine:i({stroke:t.gridColorDark,strokeWidth:2},t.xAxisLineStyles),tickLabel:i({},f,{dy:"-0.25em"}),tickLength:t.tickLength,tickLine:i({strokeWidth:1,stroke:t.gridColor},t.xTickLineStyles)},bottom:{axisLabel:i({},s,{dy:"-0.25em"}),axisLine:i({stroke:t.gridColorDark,strokeWidth:2},t.xAxisLineStyles),tickLabel:i({},f,{dy:"0.125em"}),tickLength:t.tickLength,tickLine:i({strokeWidth:1,stroke:t.gridColor},t.xTickLineStyles)}},y:{left:{axisLabel:i({},s,{dx:"-1.25em"}),axisLine:i({stroke:t.gridColor,strokeWidth:1},t.yAxisLineStyles),tickLabel:i({},f,{textAnchor:"end",dx:"-0.25em",dy:"0.25em"}),tickLength:t.tickLength,tickLine:i({strokeWidth:1,stroke:t.gridColor},t.yTickLineStyles)},right:{axisLabel:i({},s,{dx:"1.25em"}),axisLine:i({stroke:t.gridColor,strokeWidth:1},t.yAxisLineStyles),tickLabel:i({},f,{textAnchor:"start",dx:"0.25em",dy:"0.25em"}),tickLength:t.tickLength,tickLine:i({strokeWidth:1,stroke:t.gridColor},t.yTickLineStyles)}}}}}},11916:function(t,n,e){"use strict";e.d(n,{B3:function(){return s},ab:function(){return c},zP:function(){return l}});var r=["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],i=["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],o=["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],u=["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],a=["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],c=["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],l=c[7],s=[u[9],u[3],a[5],r[4],o[8],o[5],i[9]]},53753:function(t,n,e){"use strict";function r(t){return null!=t&&"number"===typeof t&&!Number.isNaN(t)&&Number.isFinite(t)}e.d(n,{Z:function(){return r}})},52483:function(t,n,e){"use strict";function r(t){var n;return t&&"bandwidth"in t&&null!=(n=null==t?void 0:t.bandwidth())?n:0}e.d(n,{Z:function(){return r}})},7390:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(53753),i=e(52483);function o(t,n,e){return void 0===e&&(e="center"),function(o){var u=t(n(o));return(0,r.Z)(u)?u+("start"===e?0:(0,i.Z)(t))/("center"===e?2:1):NaN}}},39842:function(t){function n(t,n,i){t instanceof RegExp&&(t=e(t,i)),n instanceof RegExp&&(n=e(n,i));var o=r(t,n,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+t.length,o[1]),post:i.slice(o[1]+n.length)}}function e(t,n){var e=n.match(t);return e?e[0]:null}function r(t,n,e){var r,i,o,u,a,c=e.indexOf(t),l=e.indexOf(n,c+1),s=c;if(c>=0&&l>0){for(r=[],o=e.length;s>=0&&!a;)s==c?(r.push(s),c=e.indexOf(t,s+1)):1==r.length?a=[r.pop(),l]:((i=r.pop())<o&&(o=i,u=l),l=e.indexOf(n,s+1)),s=c<l&&c>=0?c:l;r.length&&(a=[o,u])}return a}t.exports=n,n.range=r},72547:function(t){"use strict";function n(t,n,i){t instanceof RegExp&&(t=e(t,i)),n instanceof RegExp&&(n=e(n,i));var o=r(t,n,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+t.length,o[1]),post:i.slice(o[1]+n.length)}}function e(t,n){var e=n.match(t);return e?e[0]:null}function r(t,n,e){var r,i,o,u,a,c=e.indexOf(t),l=e.indexOf(n,c+1),s=c;if(c>=0&&l>0){if(t===n)return[c,l];for(r=[],o=e.length;s>=0&&!a;)s==c?(r.push(s),c=e.indexOf(t,s+1)):1==r.length?a=[r.pop(),l]:((i=r.pop())<o&&(o=i,u=l),l=e.indexOf(n,s+1)),s=c<l&&c>=0?c:l;r.length&&(a=[o,u])}return a}t.exports=n,n.range=r},74330:function(t,n,e){"use strict";function r(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}e.d(n,{Z:function(){return r}})},86878:function(t,n,e){"use strict";e.d(n,{Nw:function(){return c}});var r=e(74330),i=e(490),o=e(9642);const u=(0,i.Z)(r.Z),a=u.right,c=u.left;(0,i.Z)(o.Z).center;n.ZP=a},490:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(74330);function i(t){let n=t,e=t;function i(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){const o=r+i>>>1;e(t[o],n)<0?r=o+1:i=o}return r}return 1===t.length&&(n=(n,e)=>t(n)-e,e=function(t){return(n,e)=>(0,r.Z)(t(n),e)}(t)),{left:i,center:function(t,e,r,o){null==r&&(r=0),null==o&&(o=t.length);const u=i(t,e,r,o-1);return u>r&&n(t[u-1],e)>-n(t[u],e)?u-1:u},right:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){const o=r+i>>>1;e(t[o],n)>0?i=o:r=o+1}return r}}}},9642:function(t,n,e){"use strict";function r(t){return null===t?NaN:+t}function*i(t,n){if(void 0===n)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let e=-1;for(let r of t)null!=(r=n(r,++e,t))&&(r=+r)>=r&&(yield r)}}e.d(n,{K:function(){return i},Z:function(){return r}})},30676:function(t,n,e){"use strict";function r(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e<r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e<i||void 0===e&&i>=i)&&(e=i)}return e}function i(t,n){let e;if(void 0===n)for(const r of t)null!=r&&(e>r||void 0===e&&r>=r)&&(e=r);else{let r=-1;for(let i of t)null!=(i=n(i,++r,t))&&(e>i||void 0===e&&i>=i)&&(e=i)}return e}e.d(n,{Z:function(){return l},s:function(){return s}});var o=e(74330);function u(t,n,e=0,r=t.length-1,i=o.Z){for(;r>e;){if(r-e>600){const o=r-e+1,a=n-e+1,c=Math.log(o),l=.5*Math.exp(2*c/3),s=.5*Math.sqrt(c*l*(o-l)/o)*(a-o/2<0?-1:1);u(t,n,Math.max(e,Math.floor(n-a*l/o+s)),Math.min(r,Math.floor(n+(o-a)*l/o+s)),i)}const o=t[n];let c=e,l=r;for(a(t,e,n),i(t[r],o)>0&&a(t,e,r);c<l;){for(a(t,c,l),++c,--l;i(t[c],o)<0;)++c;for(;i(t[l],o)>0;)--l}0===i(t[e],o)?a(t,e,l):(++l,a(t,l,r)),l<=n&&(e=l+1),n<=l&&(r=l-1)}return t}function a(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}var c=e(9642);function l(t,n,e){if(o=(t=Float64Array.from((0,c.K)(t,e))).length){if((n=+n)<=0||o<2)return i(t);if(n>=1)return r(t);var o,a=(o-1)*n,l=Math.floor(a),s=r(u(t,l).subarray(0,l+1));return s+(i(t.subarray(l+1))-s)*(a-l)}}function s(t,n,e=c.Z){if(r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),u=+e(t[o],o,t);return u+(+e(t[o+1],o+1,t)-u)*(i-o)}}},76950:function(t,n,e){"use strict";function r(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}e.d(n,{Z:function(){return r}})},21683:function(t,n,e){"use strict";e.d(n,{G9:function(){return a},ZP:function(){return u},ly:function(){return c}});var r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function u(t,n,e){var r,i,o,u,c=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(u=a(t,n,e))||!isFinite(u))return[];if(u>0){let e=Math.round(t/u),r=Math.round(n/u);for(e*u<t&&++e,r*u>n&&--r,o=new Array(i=r-e+1);++c<i;)o[c]=(e+c)*u}else{u=-u;let e=Math.round(t*u),r=Math.round(n*u);for(e/u<t&&++e,r/u>n&&--r,o=new Array(i=r-e+1);++c<i;)o[c]=(e+c)/u}return r&&o.reverse(),o}function a(t,n,e){var u=(n-t)/Math.max(0,e),a=Math.floor(Math.log(u)/Math.LN10),c=u/Math.pow(10,a);return a>=0?(c>=r?10:c>=i?5:c>=o?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(c>=r?10:c>=i?5:c>=o?2:1)}function c(t,n,e){var u=Math.abs(n-t)/Math.max(0,e),a=Math.pow(10,Math.floor(Math.log(u)/Math.LN10)),c=u/a;return c>=r?a*=10:c>=i?a*=5:c>=o&&(a*=2),n<t?-a:a}},5659:function(t,n,e){"use strict";e.d(n,{B8:function(){return k},Il:function(){return i},J5:function(){return u},SU:function(){return M},Ss:function(){return O},Ym:function(){return C},ZP:function(){return b},xV:function(){return o}});var r=e(50322);function i(){}var o=.7,u=1/o,a="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",l="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",s=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[a,a,a]+"\\)$"),h=new RegExp("^rgb\\("+[l,l,l]+"\\)$"),d=new RegExp("^rgba\\("+[a,a,a,c]+"\\)$"),p=new RegExp("^rgba\\("+[l,l,l,c]+"\\)$"),v=new RegExp("^hsl\\("+[c,l,l]+"\\)$"),y=new RegExp("^hsla\\("+[c,l,l,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 x(){return this.rgb().formatRgb()}function b(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=s.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?_(n):3===e?new O(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?w(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?w(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=f.exec(t))?new O(n[1],n[2],n[3],1):(n=h.exec(t))?new O(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=d.exec(t))?w(n[1],n[2],n[3],n[4]):(n=p.exec(t))?w(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=v.exec(t))?E(n[1],n[2]/100,n[3]/100,1):(n=y.exec(t))?E(n[1],n[2]/100,n[3]/100,n[4]):g.hasOwnProperty(t)?_(g[t]):"transparent"===t?new O(NaN,NaN,NaN,0):null}function _(t){return new O(t>>16&255,t>>8&255,255&t,1)}function w(t,n,e,r){return r<=0&&(t=n=e=NaN),new O(t,n,e,r)}function M(t){return t instanceof i||(t=b(t)),t?new O((t=t.rgb()).r,t.g,t.b,t.opacity):new O}function k(t,n,e,r){return 1===arguments.length?M(t):new O(t,n,e,null==r?1:r)}function O(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Z(){return"#"+S(this.r)+S(this.g)+S(this.b)}function T(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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===t?")":", "+t+")")}function S(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function E(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new N(t,n,e,r)}function P(t){if(t instanceof N)return new N(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=b(t)),!t)return new N;if(t instanceof N)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,o=Math.min(n,e,r),u=Math.max(n,e,r),a=NaN,c=u-o,l=(u+o)/2;return c?(a=n===u?(e-r)/c+6*(e<r):e===u?(r-n)/c+2:(n-e)/c+4,c/=l<.5?u+o:2-u-o,a*=60):c=l>0&&l<1?0:a,new N(a,c,l,t.opacity)}function C(t,n,e,r){return 1===arguments.length?P(t):new N(t,n,e,null==r?1:r)}function N(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function A(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}(0,r.Z)(i,b,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:m,formatHex:m,formatHsl:function(){return P(this).formatHsl()},formatRgb:x,toString:x}),(0,r.Z)(O,k,(0,r.l)(i,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new O(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new O(this.r*t,this.g*t,this.b*t,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:Z,formatHex:Z,formatRgb:T,toString:T})),(0,r.Z)(N,C,(0,r.l)(i,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new N(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new N(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new O(A(t>=240?t-240:t+120,i,r),A(t,i,r),A(t<120?t+240:t-120,i,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 t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},50322:function(t,n,e){"use strict";function r(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function i(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}e.d(n,{Z:function(){return r},l:function(){return i}})},15493:function(t,n,e){"use strict";e.d(n,{Uc:function(){return x},ZP:function(){return h}});var r=e(50322),i=e(5659),o=e(4974),u=.96422,a=.82521,c=4/29,l=6/29,s=3*l*l;function f(t){if(t instanceof d)return new d(t.l,t.a,t.b,t.opacity);if(t instanceof b)return _(t);t instanceof i.Ss||(t=(0,i.SU)(t));var n,e,r=g(t.r),o=g(t.g),c=g(t.b),l=p((.2225045*r+.7168786*o+.0606169*c)/1);return r===o&&o===c?n=e=l:(n=p((.4360747*r+.3850649*o+.1430804*c)/u),e=p((.0139322*r+.0971045*o+.7141733*c)/a)),new d(116*l-16,500*(n-l),200*(l-e),t.opacity)}function h(t,n,e,r){return 1===arguments.length?f(t):new d(t,n,e,null==r?1:r)}function d(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function p(t){return t>.008856451679035631?Math.pow(t,1/3):t/s+c}function v(t){return t>l?t*t*t:s*(t-c)}function y(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function g(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function m(t){if(t instanceof b)return new b(t.h,t.c,t.l,t.opacity);if(t instanceof d||(t=f(t)),0===t.a&&0===t.b)return new b(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var n=Math.atan2(t.b,t.a)*o.B;return new b(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function x(t,n,e,r){return 1===arguments.length?m(t):new b(t,n,e,null==r?1:r)}function b(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function _(t){if(isNaN(t.h))return new d(t.l,0,0,t.opacity);var n=t.h*o.V;return new d(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}(0,r.Z)(d,h,(0,r.l)(i.Il,{brighter:function(t){return new d(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new d(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return n=u*v(n),t=1*v(t),e=a*v(e),new i.Ss(y(3.1338561*n-1.6168667*t-.4906146*e),y(-.9787684*n+1.9161415*t+.033454*e),y(.0719453*n-.2289914*t+1.4052427*e),this.opacity)}})),(0,r.Z)(b,x,(0,r.l)(i.Il,{brighter:function(t){return new b(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new b(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return _(this).rgb()}}))},4974:function(t,n,e){"use strict";e.d(n,{B:function(){return i},V:function(){return r}});var r=Math.PI/180,i=180/Math.PI},91602:function(t,n,e){"use strict";e.d(n,{WU:function(){return f},jH:function(){return h}});var r=e(9028);var i=e(38618);var o,u=e(81833);function a(t,n){var e=(0,u.V)(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}var c={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:u.Z,e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>a(100*t,n),r:a,s:function(t,n){var e=(0,u.V)(t,n);if(!e)return t+"";var r=e[0],i=e[1],a=i-(o=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,c=r.length;return a===c?r:a>c?r+new Array(a-c+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+(0,u.V)(t,Math.max(0,n+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function l(t){return t}var s,f,h,d=Array.prototype.map,p=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function v(t){var n,e,u=void 0===t.grouping||void 0===t.thousands?l:(n=d.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],u=0,a=n[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(t.substring(i-=a,i+a)),!((c+=a+1)>r));)a=n[u=(u+1)%n.length];return o.reverse().join(e)}),a=void 0===t.currency?"":t.currency[0]+"",s=void 0===t.currency?"":t.currency[1]+"",f=void 0===t.decimal?".":t.decimal+"",h=void 0===t.numerals?l:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(d.call(t.numerals,String)),v=void 0===t.percent?"%":t.percent+"",y=void 0===t.minus?"\u2212":t.minus+"",g=void 0===t.nan?"NaN":t.nan+"";function m(t){var n=(t=(0,i.Z)(t)).fill,e=t.align,r=t.sign,l=t.symbol,d=t.zero,m=t.width,x=t.comma,b=t.precision,_=t.trim,w=t.type;"n"===w?(x=!0,w="g"):c[w]||(void 0===b&&(b=12),_=!0,w="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var M="$"===l?a:"#"===l&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",k="$"===l?s:/[%p]/.test(w)?v:"",O=c[w],Z=/[defgprs%]/.test(w);function T(t){var i,a,c,l=M,s=k;if("c"===w)s=O(t)+s,t="";else{var v=(t=+t)<0||1/t<0;if(t=isNaN(t)?g:O(Math.abs(t),b),_&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),v&&0===+t&&"+"!==r&&(v=!1),l=(v?"("===r?r:y:"-"===r||"("===r?"":r)+l,s=("s"===w?p[8+o/3]:"")+s+(v&&"("===r?")":""),Z)for(i=-1,a=t.length;++i<a;)if(48>(c=t.charCodeAt(i))||c>57){s=(46===c?f+t.slice(i+1):t.slice(i))+s,t=t.slice(0,i);break}}x&&!d&&(t=u(t,1/0));var T=l.length+t.length+s.length,S=T<m?new Array(m-T+1).join(n):"";switch(x&&d&&(t=u(S+t,S.length?m-s.length:1/0),S=""),e){case"<":t=l+t+s+S;break;case"=":t=l+S+t+s;break;case"^":t=S.slice(0,T=S.length>>1)+l+t+s+S.slice(T);break;default:t=S+l+t+s}return h(t)}return b=void 0===b?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),T.toString=function(){return t+""},T}return{format:m,formatPrefix:function(t,n){var e=m(((t=(0,i.Z)(t)).type="f",t)),o=3*Math.max(-8,Math.min(8,Math.floor((0,r.Z)(n)/3))),u=Math.pow(10,-o),a=p[8+o/3];return function(t){return e(u*t)+a}}}}s=v({thousands:",",grouping:[3],currency:["$",""]}),f=s.format,h=s.formatPrefix},9028:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(81833);function i(t){return(t=(0,r.V)(Math.abs(t)))?t[1]:NaN}},81833:function(t,n,e){"use strict";function r(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function i(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}e.d(n,{V:function(){return i},Z:function(){return r}})},38618:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(n=r.exec(t)))throw new Error("invalid format: "+t);var n;return new o({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=o.prototype,o.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}},82157:function(t,n,e){"use strict";e.d(n,{M:function(){return u},Z:function(){return o}});var r=e(36979),i=e(59772);function o(t,n){return((0,i.v)(n)?i.Z:u)(t,n)}function u(t,n){var e,i=n?n.length:0,o=t?Math.min(i,t.length):0,u=new Array(o),a=new Array(i);for(e=0;e<o;++e)u[e]=(0,r.Z)(t[e],n[e]);for(;e<i;++e)a[e]=n[e];return function(t){for(e=0;e<o;++e)a[e]=u[e](t);return a}}},29604:function(t,n,e){"use strict";function r(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}function i(t){var n=t.length-1;return function(e){var i=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),o=t[i],u=t[i+1],a=i>0?t[i-1]:2*o-u,c=i<n-1?t[i+2]:2*u-o;return r((e-i/n)*n,a,o,u,c)}}e.d(n,{Z:function(){return i},t:function(){return r}})},31694:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(29604);function i(t){var n=t.length;return function(e){var i=Math.floor(((e%=1)<0?++e:e)*n),o=t[(i+n-1)%n],u=t[i%n],a=t[(i+1)%n],c=t[(i+2)%n];return(0,r.t)((e-i/n)*n,o,u,a,c)}}},37666:function(t,n,e){"use strict";e.d(n,{ZP:function(){return a},wx:function(){return o},yi:function(){return u}});var r=e(54379);function i(t,n){return function(e){return t+e*n}}function o(t,n){var e=n-t;return e?i(t,e>180||e<-180?e-360*Math.round(e/360):e):(0,r.Z)(isNaN(t)?n:t)}function u(t){return 1===(t=+t)?a:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):(0,r.Z)(isNaN(n)?e:n)}}function a(t,n){var e=n-t;return e?i(t,e):(0,r.Z)(isNaN(t)?n:t)}},54379:function(t,n,e){"use strict";function r(t){return function(){return t}}e.d(n,{Z:function(){return r}})},752:function(t,n,e){"use strict";e.d(n,{B:function(){return b},Z:function(){return x}});var r=e(50322),i=e(5659),o=e(4974),u=-.14861,a=1.78277,c=-.29227,l=-.90649,s=1.97294,f=s*l,h=s*a,d=a*c-l*u;function p(t){if(t instanceof y)return new y(t.h,t.s,t.l,t.opacity);t instanceof i.Ss||(t=(0,i.SU)(t));var n=t.r/255,e=t.g/255,r=t.b/255,u=(d*r+f*n-h*e)/(d+f-h),a=r-u,p=(s*(e-u)-c*a)/l,v=Math.sqrt(p*p+a*a)/(s*u*(1-u)),g=v?Math.atan2(p,a)*o.B-120:NaN;return new y(g<0?g+360:g,v,u,t.opacity)}function v(t,n,e,r){return 1===arguments.length?p(t):new y(t,n,e,null==r?1:r)}function y(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}(0,r.Z)(y,v,(0,r.l)(i.Il,{brighter:function(t){return t=null==t?i.J5:Math.pow(i.J5,t),new y(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.xV:Math.pow(i.xV,t),new y(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*o.V,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),f=Math.sin(t);return new i.Ss(255*(n+e*(u*r+a*f)),255*(n+e*(c*r+l*f)),255*(n+e*(s*r)),this.opacity)}}));var g=e(37666);function m(t){return function n(e){function r(n,r){var i=t((n=v(n)).h,(r=v(r)).h),o=(0,g.ZP)(n.s,r.s),u=(0,g.ZP)(n.l,r.l),a=(0,g.ZP)(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=u(Math.pow(t,e)),n.opacity=a(t),n+""}}return e=+e,r.gamma=n,r}(1)}var x=m(g.wx),b=m(g.ZP)},71837:function(t,n,e){"use strict";function r(t,n){var e=new Date;return t=+t,n=+n,function(r){return e.setTime(t*(1-r)+n*r),e}}e.d(n,{Z:function(){return r}})},6246:function(t,n,e){"use strict";e.d(n,{b:function(){return u}});var r=e(15493),i=e(37666);function o(t){return function(n,e){var o=t((n=(0,r.Uc)(n)).h,(e=(0,r.Uc)(e)).h),u=(0,i.ZP)(n.c,e.c),a=(0,i.ZP)(n.l,e.l),c=(0,i.ZP)(n.opacity,e.opacity);return function(t){return n.h=o(t),n.c=u(t),n.l=a(t),n.opacity=c(t),n+""}}}n.Z=o(i.wx);var u=o(i.ZP)},2930:function(t,n,e){"use strict";e.d(n,{q:function(){return u}});var r=e(5659),i=e(37666);function o(t){return function(n,e){var o=t((n=(0,r.Ym)(n)).h,(e=(0,r.Ym)(e)).h),u=(0,i.ZP)(n.s,e.s),a=(0,i.ZP)(n.l,e.l),c=(0,i.ZP)(n.opacity,e.opacity);return function(t){return n.h=o(t),n.s=u(t),n.l=a(t),n.opacity=c(t),n+""}}}n.Z=o(i.wx);var u=o(i.ZP)},95236:function(t,n,e){"use strict";e.r(n),e.d(n,{interpolate:function(){return r.Z},interpolateArray:function(){return i.Z},interpolateBasis:function(){return o.Z},interpolateBasisClosed:function(){return u.Z},interpolateCubehelix:function(){return A.Z},interpolateCubehelixLong:function(){return A.B},interpolateDate:function(){return a.Z},interpolateDiscrete:function(){return c},interpolateHcl:function(){return N.Z},interpolateHclLong:function(){return N.b},interpolateHsl:function(){return P.Z},interpolateHslLong:function(){return P.q},interpolateHue:function(){return s},interpolateLab:function(){return C.Z},interpolateNumber:function(){return v.Z},interpolateNumberArray:function(){return y.Z},interpolateObject:function(){return g.Z},interpolateRgb:function(){return E.ZP},interpolateRgbBasis:function(){return E.hD},interpolateRgbBasisClosed:function(){return E.YD},interpolateRound:function(){return m.Z},interpolateString:function(){return x.Z},interpolateTransformCss:function(){return k},interpolateTransformSvg:function(){return O},interpolateZoom:function(){return S},piecewise:function(){return D.Z},quantize:function(){return j}});var r=e(36979),i=e(82157),o=e(29604),u=e(31694),a=e(71837);function c(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var l=e(37666);function s(t,n){var e=(0,l.wx)(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}}var f,h,d,p,v=e(96898),y=e(59772),g=e(30150),m=e(27389),x=e(78757),b=180/Math.PI,_={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function w(t,n,e,r,i,o){var u,a,c;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,c/=a),t*r<n*e&&(t=-t,n=-n,c=-c,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*b,skewX:Math.atan(c)*b,scaleX:u,scaleY:a}}function M(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,u){var a=[],c=[];return o=t(o),u=t(u),function(t,r,i,o,u,a){if(t!==i||r!==o){var c=u.push("translate(",null,n,null,e);a.push({i:c-4,x:(0,v.Z)(t,i)},{i:c-2,x:(0,v.Z)(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}(o.translateX,o.translateY,u.translateX,u.translateY,a,c),function(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:(0,v.Z)(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,u.rotate,a,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:(0,v.Z)(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,u.skewX,a,c),function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:(0,v.Z)(t,e)},{i:a-2,x:(0,v.Z)(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,a,c),o=u=null,function(t){for(var n,e=-1,r=c.length;++e<r;)a[(n=c[e]).i]=n.x(t);return a.join("")}}}var k=M((function(t){return"none"===t?_:(f||(f=document.createElement("DIV"),h=document.documentElement,d=document.defaultView),f.style.transform=t,t=d.getComputedStyle(h.appendChild(f),null).getPropertyValue("transform"),h.removeChild(f),w(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),"px, ","px)","deg)"),O=M((function(t){return null==t?_:(p||(p=document.createElementNS("http://www.w3.org/2000/svg","g")),p.setAttribute("transform",t),(t=p.transform.baseVal.consolidate())?w((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):_)}),", ",")",")"),Z=Math.SQRT2;function T(t){return((t=Math.exp(t))+1/t)/2}function S(t,n){var e,r,i=t[0],o=t[1],u=t[2],a=n[0],c=n[1],l=n[2],s=a-i,f=c-o,h=s*s+f*f;if(h<1e-12)r=Math.log(l/u)/Z,e=function(t){return[i+t*s,o+t*f,u*Math.exp(Z*t*r)]};else{var d=Math.sqrt(h),p=(l*l-u*u+4*h)/(2*u*2*d),v=(l*l-u*u-4*h)/(2*l*2*d),y=Math.log(Math.sqrt(p*p+1)-p),g=Math.log(Math.sqrt(v*v+1)-v);r=(g-y)/Z,e=function(t){var n,e=t*r,a=T(y),c=u/(2*d)*(a*(n=Z*e+y,((n=Math.exp(2*n))-1)/(n+1))-function(t){return((t=Math.exp(t))-1/t)/2}(y));return[i+c*s,o+c*f,u*a/T(Z*e+y)]}}return e.duration=1e3*r,e}var E=e(61049),P=e(2930),C=e(1644),N=e(6246),A=e(752),D=e(31818);function j(t,n){for(var e=new Array(n),r=0;r<n;++r)e[r]=t(r/(n-1));return e}},1644:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(15493),i=e(37666);function o(t,n){var e=(0,i.ZP)((t=(0,r.ZP)(t)).l,(n=(0,r.ZP)(n)).l),o=(0,i.ZP)(t.a,n.a),u=(0,i.ZP)(t.b,n.b),a=(0,i.ZP)(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=o(n),t.b=u(n),t.opacity=a(n),t+""}}},96898:function(t,n,e){"use strict";function r(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}e.d(n,{Z:function(){return r}})},59772:function(t,n,e){"use strict";function r(t,n){n||(n=[]);var e,r=t?Math.min(n.length,t.length):0,i=n.slice();return function(o){for(e=0;e<r;++e)i[e]=t[e]*(1-o)+n[e]*o;return i}}function i(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}e.d(n,{Z:function(){return r},v:function(){return i}})},30150:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(36979);function i(t,n){var e,i={},o={};for(e in null!==t&&"object"===typeof t||(t={}),null!==n&&"object"===typeof n||(n={}),n)e in t?i[e]=(0,r.Z)(t[e],n[e]):o[e]=n[e];return function(t){for(e in i)o[e]=i[e](t);return o}}},31818:function(t,n,e){"use strict";function r(t,n){for(var e=0,r=n.length-1,i=n[0],o=new Array(r<0?0:r);e<r;)o[e]=t(i,i=n[++e]);return function(t){var n=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[n](t-n)}}e.d(n,{Z:function(){return r}})},61049:function(t,n,e){"use strict";e.d(n,{YD:function(){return l},hD:function(){return c}});var r=e(5659),i=e(29604),o=e(31694),u=e(37666);function a(t){return function(n){var e,i,o=n.length,u=new Array(o),a=new Array(o),c=new Array(o);for(e=0;e<o;++e)i=(0,r.B8)(n[e]),u[e]=i.r||0,a[e]=i.g||0,c[e]=i.b||0;return u=t(u),a=t(a),c=t(c),i.opacity=1,function(t){return i.r=u(t),i.g=a(t),i.b=c(t),i+""}}}n.ZP=function t(n){var e=(0,u.yi)(n);function i(t,n){var i=e((t=(0,r.B8)(t)).r,(n=(0,r.B8)(n)).r),o=e(t.g,n.g),a=e(t.b,n.b),c=(0,u.ZP)(t.opacity,n.opacity);return function(n){return t.r=i(n),t.g=o(n),t.b=a(n),t.opacity=c(n),t+""}}return i.gamma=t,i}(1);var c=a(i.Z),l=a(o.Z)},27389:function(t,n,e){"use strict";function r(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}e.d(n,{Z:function(){return r}})},78757:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var r=e(96898),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");function u(t,n){var e,u,a,c=i.lastIndex=o.lastIndex=0,l=-1,s=[],f=[];for(t+="",n+="";(e=i.exec(t))&&(u=o.exec(n));)(a=u.index)>c&&(a=n.slice(c,a),s[l]?s[l]+=a:s[++l]=a),(e=e[0])===(u=u[0])?s[l]?s[l]+=u:s[++l]=u:(s[++l]=null,f.push({i:l,x:(0,r.Z)(e,u)})),c=o.lastIndex;return c<n.length&&(a=n.slice(c),s[l]?s[l]+=a:s[++l]=a),s.length<2?f[0]?function(t){return function(n){return t(n)+""}}(f[0].x):function(t){return function(){return t}}(n):(n=f.length,function(t){for(var e,r=0;r<n;++r)s[(e=f[r]).i]=e.x(t);return s.join("")})}},36979:function(t,n,e){"use strict";e.d(n,{Z:function(){return h}});var r=e(5659),i=e(61049),o=e(82157),u=e(71837),a=e(96898),c=e(30150),l=e(78757),s=e(54379),f=e(59772);function h(t,n){var e,h=typeof n;return null==n||"boolean"===h?(0,s.Z)(n):("number"===h?a.Z:"string"===h?(e=(0,r.ZP)(n))?(n=e,i.ZP):l.Z:n instanceof r.ZP?i.ZP:n instanceof Date?u.Z:(0,f.v)(n)?f.Z:Array.isArray(n)?o.M:"function"!==typeof n.valueOf&&"function"!==typeof n.toString||isNaN(n)?c.Z:a.Z)(t,n)}},10676:function(t,n,e){"use strict";e.d(n,{Z:function(){return u},x:function(){return c}});var r=e(76950),i=e(25849),o=e(32857);function u(){var t,n,e=(0,o.Z)().unknown(void 0),a=e.domain,c=e.range,l=0,s=1,f=!1,h=0,d=0,p=.5;function v(){var e=a().length,i=s<l,o=i?s:l,u=i?l:s;t=(u-o)/Math.max(1,e-h+2*d),f&&(t=Math.floor(t)),o+=(u-o-t*(e-h))*p,n=t*(1-h),f&&(o=Math.round(o),n=Math.round(n));var v=(0,r.Z)(e).map((function(n){return o+t*n}));return c(i?v.reverse():v)}return delete e.unknown,e.domain=function(t){return arguments.length?(a(t),v()):a()},e.range=function(t){return arguments.length?([l,s]=t,l=+l,s=+s,v()):[l,s]},e.rangeRound=function(t){return[l,s]=t,l=+l,s=+s,f=!0,v()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(f=!!t,v()):f},e.padding=function(t){return arguments.length?(h=Math.min(1,d=+t),v()):h},e.paddingInner=function(t){return arguments.length?(h=Math.min(1,t),v()):h},e.paddingOuter=function(t){return arguments.length?(d=+t,v()):d},e.align=function(t){return arguments.length?(p=Math.max(0,Math.min(1,t)),v()):p},e.copy=function(){return u(a(),[l,s]).round(f).paddingInner(h).paddingOuter(d).align(p)},i.o.apply(v(),arguments)}function a(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return a(n())},t}function c(){return a(u.apply(null,arguments).paddingInner(1))}},65490:function(t,n,e){"use strict";e.d(n,{JG:function(){return d},ZP:function(){return v},yR:function(){return l},l4:function(){return p}});var r=e(86878),i=e(36979),o=e(96898),u=e(27389);var a=e(54979),c=[0,1];function l(t){return t}function s(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(e=isNaN(n)?NaN:.5,function(){return e});var e}function f(t,n,e){var r=t[0],i=t[1],o=n[0],u=n[1];return i<r?(r=s(i,r),o=e(u,o)):(r=s(r,i),o=e(o,u)),function(t){return o(r(t))}}function h(t,n,e){var i=Math.min(t.length,n.length)-1,o=new Array(i),u=new Array(i),a=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<i;)o[a]=s(t[a],t[a+1]),u[a]=e(n[a],n[a+1]);return function(n){var e=(0,r.ZP)(t,n,1,i)-1;return u[e](o[e](n))}}function d(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function p(){var t,n,e,r,s,d,p=c,v=c,y=i.Z,g=l;function m(){var t=Math.min(p.length,v.length);return g!==l&&(g=function(t,n){var e;return t>n&&(e=t,t=n,n=e),function(e){return Math.max(t,Math.min(n,e))}}(p[0],p[t-1])),r=t>2?h:f,s=d=null,x}function x(n){return null==n||isNaN(n=+n)?e:(s||(s=r(p.map(t),v,y)))(t(g(n)))}return x.invert=function(e){return g(n((d||(d=r(v,p.map(t),o.Z)))(e)))},x.domain=function(t){return arguments.length?(p=Array.from(t,a.Z),m()):p.slice()},x.range=function(t){return arguments.length?(v=Array.from(t),m()):v.slice()},x.rangeRound=function(t){return v=Array.from(t),y=u.Z,m()},x.clamp=function(t){return arguments.length?(g=!!t||l,m()):g!==l},x.interpolate=function(t){return arguments.length?(y=t,m()):y},x.unknown=function(t){return arguments.length?(e=t,x):e},function(e,r){return t=e,n=r,m()}}function v(){return p()(l,l)}},26886:function(t,n,e){"use strict";e.r(n),e.d(n,{scaleBand:function(){return r.Z},scaleDiverging:function(){return D},scaleDivergingLog:function(){return j},scaleDivergingPow:function(){return L},scaleDivergingSqrt:function(){return z},scaleDivergingSymlog:function(){return R},scaleIdentity:function(){return u},scaleImplicit:function(){return l.O},scaleLinear:function(){return i.Z},scaleLog:function(){return a.Z},scaleOrdinal:function(){return l.Z},scalePoint:function(){return r.x},scalePow:function(){return s.ZP},scaleQuantile:function(){return h.Z},scaleQuantize:function(){return d.Z},scaleRadial:function(){return f.Z},scaleSequential:function(){return M},scaleSequentialLog:function(){return k},scaleSequentialPow:function(){return Z},scaleSequentialQuantile:function(){return C},scaleSequentialSqrt:function(){return T},scaleSequentialSymlog:function(){return O},scaleSqrt:function(){return s._b},scaleSymlog:function(){return c.Z},scaleThreshold:function(){return p.Z},scaleTime:function(){return v.Z},scaleUtc:function(){return y.Z},tickFormat:function(){return F.Z}});var r=e(10676),i=e(12827),o=e(54979);function u(t){var n;function e(t){return null==t||isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Array.from(n,o.Z),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return u(t).unknown(n)},t=arguments.length?Array.from(t,o.Z):[0,1],(0,i.Q)(e)}var a=e(50908),c=e(51995),l=e(32857),s=e(89134),f=e(68216),h=e(80005),d=e(20309),p=e(52115),v=e(87845),y=e(20047),g=e(36979),m=e(27389),x=e(65490),b=e(25849);function _(){var t,n,e,r,i,o=0,u=1,a=x.yR,c=!1;function l(n){return null==n||isNaN(n=+n)?i:a(0===e?.5:(n=(r(n)-t)*e,c?Math.max(0,Math.min(1,n)):n))}function s(t){return function(n){var e,r;return arguments.length?([e,r]=n,a=t(e,r),l):[a(0),a(1)]}}return l.domain=function(i){return arguments.length?([o,u]=i,t=r(o=+o),n=r(u=+u),e=t===n?0:1/(n-t),l):[o,u]},l.clamp=function(t){return arguments.length?(c=!!t,l):c},l.interpolator=function(t){return arguments.length?(a=t,l):a},l.range=s(g.Z),l.rangeRound=s(m.Z),l.unknown=function(t){return arguments.length?(i=t,l):i},function(i){return r=i,t=i(o),n=i(u),e=t===n?0:1/(n-t),l}}function w(t,n){return n.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function M(){var t=(0,i.Q)(_()(x.yR));return t.copy=function(){return w(t,M())},b.O.apply(t,arguments)}function k(){var t=(0,a.Q)(_()).domain([1,10]);return t.copy=function(){return w(t,k()).base(t.base())},b.O.apply(t,arguments)}function O(){var t=(0,c.P)(_());return t.copy=function(){return w(t,O()).constant(t.constant())},b.O.apply(t,arguments)}function Z(){var t=(0,s.Hh)(_());return t.copy=function(){return w(t,Z()).exponent(t.exponent())},b.O.apply(t,arguments)}function T(){return Z.apply(null,arguments).exponent(.5)}var S=e(86878),E=e(74330),P=e(30676);function C(){var t=[],n=x.yR;function e(e){if(null!=e&&!isNaN(e=+e))return n(((0,S.ZP)(t,e,1)-1)/(t.length-1))}return e.domain=function(n){if(!arguments.length)return t.slice();t=[];for(let e of n)null==e||isNaN(e=+e)||t.push(e);return t.sort(E.Z),e},e.interpolator=function(t){return arguments.length?(n=t,e):n},e.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},e.quantiles=function(n){return Array.from({length:n+1},((e,r)=>(0,P.Z)(t,r/n)))},e.copy=function(){return C(n).domain(t)},b.O.apply(e,arguments)}var N=e(31818);function A(){var t,n,e,r,i,o,u,a=0,c=.5,l=1,s=1,f=x.yR,h=!1;function d(t){return isNaN(t=+t)?u:(t=.5+((t=+o(t))-n)*(s*t<s*n?r:i),f(h?Math.max(0,Math.min(1,t)):t))}function p(t){return function(n){var e,r,i;return arguments.length?([e,r,i]=n,f=(0,N.Z)(t,[e,r,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(u){return arguments.length?([a,c,l]=u,t=o(a=+a),n=o(c=+c),e=o(l=+l),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),s=n<t?-1:1,d):[a,c,l]},d.clamp=function(t){return arguments.length?(h=!!t,d):h},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=p(g.Z),d.rangeRound=p(m.Z),d.unknown=function(t){return arguments.length?(u=t,d):u},function(u){return o=u,t=u(a),n=u(c),e=u(l),r=t===n?0:.5/(n-t),i=n===e?0:.5/(e-n),s=n<t?-1:1,d}}function D(){var t=(0,i.Q)(A()(x.yR));return t.copy=function(){return w(t,D())},b.O.apply(t,arguments)}function j(){var t=(0,a.Q)(A()).domain([.1,1,10]);return t.copy=function(){return w(t,j()).base(t.base())},b.O.apply(t,arguments)}function R(){var t=(0,c.P)(A());return t.copy=function(){return w(t,R()).constant(t.constant())},b.O.apply(t,arguments)}function L(){var t=(0,s.Hh)(A());return t.copy=function(){return w(t,L()).exponent(t.exponent())},b.O.apply(t,arguments)}function z(){return L.apply(null,arguments).exponent(.5)}var F=e(19690)},25849:function(t,n,e){"use strict";function r(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function i(t,n){switch(arguments.length){case 0:break;case 1:"function"===typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"===typeof n?this.interpolator(n):this.range(n)}return this}e.d(n,{O:function(){return i},o:function(){return r}})},12827:function(t,n,e){"use strict";e.d(n,{Q:function(){return a},Z:function(){return c}});var r=e(21683),i=e(65490),o=e(25849),u=e(19690);function a(t){var n=t.domain;return t.ticks=function(t){var e=n();return(0,r.ZP)(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return(0,u.Z)(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var i,o,u=n(),a=0,c=u.length-1,l=u[a],s=u[c],f=10;for(s<l&&(o=l,l=s,s=o,o=a,a=c,c=o);f-- >0;){if((o=(0,r.G9)(l,s,e))===i)return u[a]=l,u[c]=s,n(u);if(o>0)l=Math.floor(l/o)*o,s=Math.ceil(s/o)*o;else{if(!(o<0))break;l=Math.ceil(l*o)/o,s=Math.floor(s*o)/o}i=o}return t},t}function c(){var t=(0,i.ZP)();return t.copy=function(){return(0,i.JG)(t,c())},o.o.apply(t,arguments),a(t)}},50908:function(t,n,e){"use strict";e.d(n,{Q:function(){return p},Z:function(){return v}});var r=e(21683),i=e(91602),o=e(50416),u=e(65490),a=e(25849);function c(t){return Math.log(t)}function l(t){return Math.exp(t)}function s(t){return-Math.log(-t)}function f(t){return-Math.exp(-t)}function h(t){return isFinite(t)?+("1e"+t):t<0?0:t}function d(t){return function(n){return-t(-n)}}function p(t){var n,e,u=t(c,l),a=u.domain,p=10;function v(){return n=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}(p),e=function(t){return 10===t?h:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}(p),a()[0]<0?(n=d(n),e=d(e),t(s,f)):t(c,l),u}return u.base=function(t){return arguments.length?(p=+t,v()):p},u.domain=function(t){return arguments.length?(a(t),v()):a()},u.ticks=function(t){var i,o=a(),u=o[0],c=o[o.length-1];(i=c<u)&&(h=u,u=c,c=h);var l,s,f,h=n(u),d=n(c),v=null==t?10:+t,y=[];if(!(p%1)&&d-h<v){if(h=Math.floor(h),d=Math.ceil(d),u>0){for(;h<=d;++h)for(s=1,l=e(h);s<p;++s)if(!((f=l*s)<u)){if(f>c)break;y.push(f)}}else for(;h<=d;++h)for(s=p-1,l=e(h);s>=1;--s)if(!((f=l*s)<u)){if(f>c)break;y.push(f)}2*y.length<v&&(y=(0,r.ZP)(u,c,v))}else y=(0,r.ZP)(h,d,Math.min(d-h,v)).map(e);return i?y.reverse():y},u.tickFormat=function(t,r){if(null==r&&(r=10===p?".0e":","),"function"!==typeof r&&(r=(0,i.WU)(r)),t===1/0)return r;null==t&&(t=10);var o=Math.max(1,p*t/u.ticks().length);return function(t){var i=t/e(Math.round(n(t)));return i*p<p-.5&&(i*=p),i<=o?r(t):""}},u.nice=function(){return a((0,o.Z)(a(),{floor:function(t){return e(Math.floor(n(t)))},ceil:function(t){return e(Math.ceil(n(t)))}}))},u}function v(){var t=p((0,u.l4)()).domain([1,10]);return t.copy=function(){return(0,u.JG)(t,v()).base(t.base())},a.o.apply(t,arguments),t}},50416:function(t,n,e){"use strict";function r(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],u=t[i];return u<o&&(e=r,r=i,i=e,e=o,o=u,u=e),t[r]=n.floor(o),t[i]=n.ceil(u),t}e.d(n,{Z:function(){return r}})},54979:function(t,n,e){"use strict";function r(t){return+t}e.d(n,{Z:function(){return r}})},32857:function(t,n,e){"use strict";e.d(n,{O:function(){return i},Z:function(){return o}});var r=e(25849);const i=Symbol("implicit");function o(){var t=new Map,n=[],e=[],u=i;function a(r){var o=r+"",a=t.get(o);if(!a){if(u!==i)return u;t.set(o,a=n.push(r))}return e[(a-1)%e.length]}return a.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new Map;for(const r of e){const e=r+"";t.has(e)||t.set(e,n.push(r))}return a},a.range=function(t){return arguments.length?(e=Array.from(t),a):e.slice()},a.unknown=function(t){return arguments.length?(u=t,a):u},a.copy=function(){return o(n,e).unknown(u)},r.o.apply(a,arguments),a}},89134:function(t,n,e){"use strict";e.d(n,{Hh:function(){return l},ZP:function(){return s},_b:function(){return f}});var r=e(12827),i=e(65490),o=e(25849);function u(t){return function(n){return n<0?-Math.pow(-n,t):Math.pow(n,t)}}function a(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function c(t){return t<0?-t*t:t*t}function l(t){var n=t(i.yR,i.yR),e=1;function o(){return 1===e?t(i.yR,i.yR):.5===e?t(a,c):t(u(e),u(1/e))}return n.exponent=function(t){return arguments.length?(e=+t,o()):e},(0,r.Q)(n)}function s(){var t=l((0,i.l4)());return t.copy=function(){return(0,i.JG)(t,s()).exponent(t.exponent())},o.o.apply(t,arguments),t}function f(){return s.apply(null,arguments).exponent(.5)}},80005:function(t,n,e){"use strict";e.d(n,{Z:function(){return a}});var r=e(30676),i=e(86878),o=e(74330),u=e(25849);function a(){var t,n=[],e=[],c=[];function l(){var t=0,i=Math.max(1,e.length);for(c=new Array(i-1);++t<i;)c[t-1]=(0,r.s)(n,t/i);return s}function s(n){return null==n||isNaN(n=+n)?t:e[(0,i.ZP)(c,n)]}return s.invertExtent=function(t){var r=e.indexOf(t);return r<0?[NaN,NaN]:[r>0?c[r-1]:n[0],r<c.length?c[r]:n[n.length-1]]},s.domain=function(t){if(!arguments.length)return n.slice();n=[];for(let e of t)null==e||isNaN(e=+e)||n.push(e);return n.sort(o.Z),l()},s.range=function(t){return arguments.length?(e=Array.from(t),l()):e.slice()},s.unknown=function(n){return arguments.length?(t=n,s):t},s.quantiles=function(){return c.slice()},s.copy=function(){return a().domain(n).range(e).unknown(t)},u.o.apply(s,arguments)}},20309:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var r=e(86878),i=e(12827),o=e(25849);function u(){var t,n=0,e=1,a=1,c=[.5],l=[0,1];function s(n){return null!=n&&n<=n?l[(0,r.ZP)(c,n,0,a)]:t}function f(){var t=-1;for(c=new Array(a);++t<a;)c[t]=((t+1)*e-(t-a)*n)/(a+1);return s}return s.domain=function(t){return arguments.length?([n,e]=t,n=+n,e=+e,f()):[n,e]},s.range=function(t){return arguments.length?(a=(l=Array.from(t)).length-1,f()):l.slice()},s.invertExtent=function(t){var r=l.indexOf(t);return r<0?[NaN,NaN]:r<1?[n,c[0]]:r>=a?[c[a-1],e]:[c[r-1],c[r]]},s.unknown=function(n){return arguments.length?(t=n,s):s},s.thresholds=function(){return c.slice()},s.copy=function(){return u().domain([n,e]).range(l).unknown(t)},o.o.apply((0,i.Q)(s),arguments)}},68216:function(t,n,e){"use strict";e.d(n,{Z:function(){return l}});var r=e(65490),i=e(25849),o=e(12827),u=e(54979);function a(t){return Math.sign(t)*t*t}function c(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function l(){var t,n=(0,r.ZP)(),e=[0,1],s=!1;function f(e){var r=c(n(e));return isNaN(r)?t:s?Math.round(r):r}return f.invert=function(t){return n.invert(a(t))},f.domain=function(t){return arguments.length?(n.domain(t),f):n.domain()},f.range=function(t){return arguments.length?(n.range((e=Array.from(t,u.Z)).map(a)),f):e.slice()},f.rangeRound=function(t){return f.range(t).round(!0)},f.round=function(t){return arguments.length?(s=!!t,f):s},f.clamp=function(t){return arguments.length?(n.clamp(t),f):n.clamp()},f.unknown=function(n){return arguments.length?(t=n,f):t},f.copy=function(){return l(n.domain(),e).round(s).clamp(n.clamp()).unknown(t)},i.o.apply(f,arguments),(0,o.Q)(f)}},51995:function(t,n,e){"use strict";e.d(n,{P:function(){return c},Z:function(){return l}});var r=e(12827),i=e(65490),o=e(25849);function u(t){return function(n){return Math.sign(n)*Math.log1p(Math.abs(n/t))}}function a(t){return function(n){return Math.sign(n)*Math.expm1(Math.abs(n))*t}}function c(t){var n=1,e=t(u(n),a(n));return e.constant=function(e){return arguments.length?t(u(n=+e),a(n)):n},(0,r.Q)(e)}function l(){var t=c((0,i.l4)());return t.copy=function(){return(0,i.JG)(t,l()).constant(t.constant())},o.o.apply(t,arguments)}},52115:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(86878),i=e(25849);function o(){var t,n=[.5],e=[0,1],u=1;function a(i){return null!=i&&i<=i?e[(0,r.ZP)(n,i,0,u)]:t}return a.domain=function(t){return arguments.length?(n=Array.from(t),u=Math.min(n.length,e.length-1),a):n.slice()},a.range=function(t){return arguments.length?(e=Array.from(t),u=Math.min(n.length,e.length-1),a):e.slice()},a.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},a.unknown=function(n){return arguments.length?(t=n,a):t},a.copy=function(){return o().domain(n).range(e).unknown(t)},i.o.apply(a,arguments)}},19690:function(t,n,e){"use strict";e.d(n,{Z:function(){return a}});var r=e(21683),i=e(9028);var o=e(38618),u=e(91602);function a(t,n,e,a){var c,l=(0,r.ly)(t,n,e);switch((a=(0,o.Z)(null==a?",f":a)).type){case"s":var s=Math.max(Math.abs(t),Math.abs(n));return null!=a.precision||isNaN(c=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,i.Z)(n)/3)))-(0,i.Z)(Math.abs(t)))}(l,s))||(a.precision=c),(0,u.jH)(a,s);case"":case"e":case"g":case"p":case"r":null!=a.precision||isNaN(c=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,(0,i.Z)(n)-(0,i.Z)(t))+1}(l,Math.max(Math.abs(t),Math.abs(n))))||(a.precision=c-("e"===a.type));break;case"f":case"%":null!=a.precision||isNaN(c=function(t){return Math.max(0,-(0,i.Z)(Math.abs(t)))}(l))||(a.precision=c-2*("%"===a.type))}return(0,u.WU)(a)}},87845:function(t,n,e){"use strict";e.d(n,{Y:function(){return g},Z:function(){return m}});var r=e(6920),i=e(19584),o=e(85404),u=e(97650),a=e(26014),c=e(91166),l=e(17564),s=e(52110),f=e(23656),h=e(65490),d=e(25849),p=e(50416);function v(t){return new Date(t)}function y(t){return t instanceof Date?+t:+new Date(+t)}function g(t,n,e,r,i,o,u,a,c,l){var s=(0,h.ZP)(),f=s.invert,d=s.domain,m=l(".%L"),x=l(":%S"),b=l("%I:%M"),_=l("%I %p"),w=l("%a %d"),M=l("%b %d"),k=l("%B"),O=l("%Y");function Z(t){return(c(t)<t?m:a(t)<t?x:u(t)<t?b:o(t)<t?_:r(t)<t?i(t)<t?w:M:e(t)<t?k:O)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?d(Array.from(t,y)):d().map(v)},s.ticks=function(n){var e=d();return t(e[0],e[e.length-1],null==n?10:n)},s.tickFormat=function(t,n){return null==n?Z:l(n)},s.nice=function(t){var e=d();return t&&"function"===typeof t.range||(t=n(e[0],e[e.length-1],null==t?10:t)),t?d((0,p.Z)(e,t)):s},s.copy=function(){return(0,h.JG)(s,g(t,n,e,r,i,o,u,a,c,l))},s}function m(){return d.o.apply(g(r.jK,r._g,i.Z,o.Z,u.OM,a.Z,c.Z,l.Z,s.Z,f.i$).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}},20047:function(t,n,e){"use strict";e.d(n,{Z:function(){return p}});var r=e(6920),i=e(53273),o=e(65646),u=e(4057),a=e(77465),c=e(87546),l=e(97333),s=e(52110),f=e(23656),h=e(87845),d=e(25849);function p(){return d.o.apply((0,h.Y)(r.WG,r.jo,i.Z,o.Z,u.Ox,a.Z,c.Z,l.Z,s.Z,f.g0).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}},65997:function(t,n,e){"use strict";function r(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function i(t,n){this._context=t,this._k=(1-n)/6}e.d(n,{pC:function(){return i},xm:function(){return r}}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:r(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}},n.ZP=function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e}(0)},30021:function(t,n,e){"use strict";e.r(n),e.d(n,{arc:function(){return C},area:function(){return L},areaRadial:function(){return q},curveBasis:function(){return Zt},curveBasisClosed:function(){return St},curveBasisOpen:function(){return Pt},curveBundle:function(){return Nt},curveCardinal:function(){return At.ZP},curveCardinalClosed:function(){return jt},curveCardinalOpen:function(){return Lt},curveCatmullRom:function(){return Ut},curveCatmullRomClosed:function(){return It},curveCatmullRomOpen:function(){return Yt},curveLinear:function(){return A},curveLinearClosed:function(){return qt},curveMonotoneX:function(){return tn},curveMonotoneY:function(){return nn},curveNatural:function(){return on},curveStep:function(){return an},curveStepAfter:function(){return ln},curveStepBefore:function(){return cn},line:function(){return R},lineRadial:function(){return H},linkHorizontal:function(){return nt},linkRadial:function(){return rt},linkVertical:function(){return et},pie:function(){return U},pointRadial:function(){return V},radialArea:function(){return q},radialLine:function(){return H},stack:function(){return dn},stackOffsetDiverging:function(){return vn},stackOffsetExpand:function(){return pn},stackOffsetNone:function(){return sn},stackOffsetSilhouette:function(){return yn},stackOffsetWiggle:function(){return gn},stackOrderAppearance:function(){return mn},stackOrderAscending:function(){return bn},stackOrderDescending:function(){return wn},stackOrderInsideOut:function(){return Mn},stackOrderNone:function(){return fn},stackOrderReverse:function(){return kn},symbol:function(){return wt},symbolCircle:function(){return it},symbolCross:function(){return ot},symbolDiamond:function(){return ct},symbolSquare:function(){return dt},symbolStar:function(){return ht},symbolTriangle:function(){return vt},symbolWye:function(){return bt},symbols:function(){return _t}});var r=Math.PI,i=2*r,o=1e-6,u=i-o;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function c(){return new a}a.prototype=c.prototype={constructor:a,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,i,u){t=+t,n=+n,e=+e,i=+i,u=+u;var a=this._x1,c=this._y1,l=e-t,s=i-n,f=a-t,h=c-n,d=f*f+h*h;if(u<0)throw new Error("negative radius: "+u);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(d>o)if(Math.abs(h*l-s*f)>o&&u){var p=e-a,v=i-c,y=l*l+s*s,g=p*p+v*v,m=Math.sqrt(y),x=Math.sqrt(d),b=u*Math.tan((r-Math.acos((y+d-g)/(2*m*x)))/2),_=b/x,w=b/m;Math.abs(_-1)>o&&(this._+="L"+(t+_*f)+","+(n+_*h)),this._+="A"+u+","+u+",0,0,"+ +(h*p>f*v)+","+(this._x1=t+w*l)+","+(this._y1=n+w*s)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,a,c,l){t=+t,n=+n,l=!!l;var s=(e=+e)*Math.cos(a),f=e*Math.sin(a),h=t+s,d=n+f,p=1^l,v=l?a-c:c-a;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+h+","+d:(Math.abs(this._x1-h)>o||Math.abs(this._y1-d)>o)&&(this._+="L"+h+","+d),e&&(v<0&&(v=v%i+i),v>u?this._+="A"+e+","+e+",0,1,"+p+","+(t-s)+","+(n-f)+"A"+e+","+e+",0,1,"+p+","+(this._x1=h)+","+(this._y1=d):v>o&&(this._+="A"+e+","+e+",0,"+ +(v>=r)+","+p+","+(this._x1=t+e*Math.cos(c))+","+(this._y1=n+e*Math.sin(c))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var l=c;function s(t){return function(){return t}}var f=Math.abs,h=Math.atan2,d=Math.cos,p=Math.max,v=Math.min,y=Math.sin,g=Math.sqrt,m=1e-12,x=Math.PI,b=x/2,_=2*x;function w(t){return t>1?0:t<-1?x:Math.acos(t)}function M(t){return t>=1?b:t<=-1?-b:Math.asin(t)}function k(t){return t.innerRadius}function O(t){return t.outerRadius}function Z(t){return t.startAngle}function T(t){return t.endAngle}function S(t){return t&&t.padAngle}function E(t,n,e,r,i,o,u,a){var c=e-t,l=r-n,s=u-i,f=a-o,h=f*c-s*l;if(!(h*h<m))return[t+(h=(s*(n-o)-f*(t-i))/h)*c,n+h*l]}function P(t,n,e,r,i,o,u){var a=t-e,c=n-r,l=(u?o:-o)/g(a*a+c*c),s=l*c,f=-l*a,h=t+s,d=n+f,v=e+s,y=r+f,m=(h+v)/2,x=(d+y)/2,b=v-h,_=y-d,w=b*b+_*_,M=i-o,k=h*y-v*d,O=(_<0?-1:1)*g(p(0,M*M*w-k*k)),Z=(k*_-b*O)/w,T=(-k*b-_*O)/w,S=(k*_+b*O)/w,E=(-k*b+_*O)/w,P=Z-m,C=T-x,N=S-m,A=E-x;return P*P+C*C>N*N+A*A&&(Z=S,T=E),{cx:Z,cy:T,x01:-s,y01:-f,x11:Z*(i/M-1),y11:T*(i/M-1)}}function C(){var t=k,n=O,e=s(0),r=null,i=Z,o=T,u=S,a=null;function c(){var c,s,p=+t.apply(this,arguments),k=+n.apply(this,arguments),O=i.apply(this,arguments)-b,Z=o.apply(this,arguments)-b,T=f(Z-O),S=Z>O;if(a||(a=c=l()),k<p&&(s=k,k=p,p=s),k>m)if(T>_-m)a.moveTo(k*d(O),k*y(O)),a.arc(0,0,k,O,Z,!S),p>m&&(a.moveTo(p*d(Z),p*y(Z)),a.arc(0,0,p,Z,O,S));else{var C,N,A=O,D=Z,j=O,R=Z,L=T,z=T,F=u.apply(this,arguments)/2,U=F>m&&(r?+r.apply(this,arguments):g(p*p+k*k)),B=v(f(k-p)/2,+e.apply(this,arguments)),I=B,W=B;if(U>m){var Y=M(U/p*y(F)),H=M(U/k*y(F));(L-=2*Y)>m?(j+=Y*=S?1:-1,R-=Y):(L=0,j=R=(O+Z)/2),(z-=2*H)>m?(A+=H*=S?1:-1,D-=H):(z=0,A=D=(O+Z)/2)}var q=k*d(A),V=k*y(A),G=p*d(R),X=p*y(R);if(B>m){var K,Q=k*d(D),$=k*y(D),J=p*d(j),tt=p*y(j);if(T<x&&(K=E(q,V,J,tt,Q,$,G,X))){var nt=q-K[0],et=V-K[1],rt=Q-K[0],it=$-K[1],ot=1/y(w((nt*rt+et*it)/(g(nt*nt+et*et)*g(rt*rt+it*it)))/2),ut=g(K[0]*K[0]+K[1]*K[1]);I=v(B,(p-ut)/(ot-1)),W=v(B,(k-ut)/(ot+1))}}z>m?W>m?(C=P(J,tt,q,V,k,W,S),N=P(Q,$,G,X,k,W,S),a.moveTo(C.cx+C.x01,C.cy+C.y01),W<B?a.arc(C.cx,C.cy,W,h(C.y01,C.x01),h(N.y01,N.x01),!S):(a.arc(C.cx,C.cy,W,h(C.y01,C.x01),h(C.y11,C.x11),!S),a.arc(0,0,k,h(C.cy+C.y11,C.cx+C.x11),h(N.cy+N.y11,N.cx+N.x11),!S),a.arc(N.cx,N.cy,W,h(N.y11,N.x11),h(N.y01,N.x01),!S))):(a.moveTo(q,V),a.arc(0,0,k,A,D,!S)):a.moveTo(q,V),p>m&&L>m?I>m?(C=P(G,X,Q,$,p,-I,S),N=P(q,V,J,tt,p,-I,S),a.lineTo(C.cx+C.x01,C.cy+C.y01),I<B?a.arc(C.cx,C.cy,I,h(C.y01,C.x01),h(N.y01,N.x01),!S):(a.arc(C.cx,C.cy,I,h(C.y01,C.x01),h(C.y11,C.x11),!S),a.arc(0,0,p,h(C.cy+C.y11,C.cx+C.x11),h(N.cy+N.y11,N.cx+N.x11),S),a.arc(N.cx,N.cy,I,h(N.y11,N.x11),h(N.y01,N.x01),!S))):a.arc(0,0,p,R,j,S):a.lineTo(G,X)}else a.moveTo(0,0);if(a.closePath(),c)return a=null,c+""||null}return c.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-x/2;return[d(r)*e,y(r)*e]},c.innerRadius=function(n){return arguments.length?(t="function"===typeof n?n:s(+n),c):t},c.outerRadius=function(t){return arguments.length?(n="function"===typeof t?t:s(+t),c):n},c.cornerRadius=function(t){return arguments.length?(e="function"===typeof t?t:s(+t),c):e},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:s(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"===typeof t?t:s(+t),c):i},c.endAngle=function(t){return arguments.length?(o="function"===typeof t?t:s(+t),c):o},c.padAngle=function(t){return arguments.length?(u="function"===typeof t?t:s(+t),c):u},c.context=function(t){return arguments.length?(a=null==t?null:t,c):a},c}function N(t){this._context=t}function A(t){return new N(t)}function D(t){return t[0]}function j(t){return t[1]}function R(){var t=D,n=j,e=s(!0),r=null,i=A,o=null;function u(u){var a,c,s,f=u.length,h=!1;for(null==r&&(o=i(s=l())),a=0;a<=f;++a)!(a<f&&e(c=u[a],a,u))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(c,a,u),+n(c,a,u));if(s)return o=null,s+""||null}return u.x=function(n){return arguments.length?(t="function"===typeof n?n:s(+n),u):t},u.y=function(t){return arguments.length?(n="function"===typeof t?t:s(+t),u):n},u.defined=function(t){return arguments.length?(e="function"===typeof t?t:s(!!t),u):e},u.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),u):i},u.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),u):r},u}function L(){var t=D,n=null,e=s(0),r=j,i=s(!0),o=null,u=A,a=null;function c(c){var s,f,h,d,p,v=c.length,y=!1,g=new Array(v),m=new Array(v);for(null==o&&(a=u(p=l())),s=0;s<=v;++s){if(!(s<v&&i(d=c[s],s,c))===y)if(y=!y)f=s,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),h=s-1;h>=f;--h)a.point(g[h],m[h]);a.lineEnd(),a.areaEnd()}y&&(g[s]=+t(d,s,c),m[s]=+e(d,s,c),a.point(n?+n(d,s,c):g[s],r?+r(d,s,c):m[s]))}if(p)return a=null,p+""||null}function f(){return R().defined(i).curve(u).context(o)}return c.x=function(e){return arguments.length?(t="function"===typeof e?e:s(+e),n=null,c):t},c.x0=function(n){return arguments.length?(t="function"===typeof n?n:s(+n),c):t},c.x1=function(t){return arguments.length?(n=null==t?null:"function"===typeof t?t:s(+t),c):n},c.y=function(t){return arguments.length?(e="function"===typeof t?t:s(+t),r=null,c):e},c.y0=function(t){return arguments.length?(e="function"===typeof t?t:s(+t),c):e},c.y1=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:s(+t),c):r},c.lineX0=c.lineY0=function(){return f().x(t).y(e)},c.lineY1=function(){return f().x(t).y(r)},c.lineX1=function(){return f().x(n).y(e)},c.defined=function(t){return arguments.length?(i="function"===typeof t?t:s(!!t),c):i},c.curve=function(t){return arguments.length?(u=t,null!=o&&(a=u(o)),c):u},c.context=function(t){return arguments.length?(null==t?o=a=null:a=u(o=t),c):o},c}function z(t,n){return n<t?-1:n>t?1:n>=t?0:NaN}function F(t){return t}function U(){var t=F,n=z,e=null,r=s(0),i=s(_),o=s(0);function u(u){var a,c,l,s,f,h=u.length,d=0,p=new Array(h),v=new Array(h),y=+r.apply(this,arguments),g=Math.min(_,Math.max(-_,i.apply(this,arguments)-y)),m=Math.min(Math.abs(g)/h,o.apply(this,arguments)),x=m*(g<0?-1:1);for(a=0;a<h;++a)(f=v[p[a]=a]=+t(u[a],a,u))>0&&(d+=f);for(null!=n?p.sort((function(t,e){return n(v[t],v[e])})):null!=e&&p.sort((function(t,n){return e(u[t],u[n])})),a=0,l=d?(g-h*x)/d:0;a<h;++a,y=s)c=p[a],s=y+((f=v[c])>0?f*l:0)+x,v[c]={data:u[c],index:a,value:f,startAngle:y,endAngle:s,padAngle:m};return v}return u.value=function(n){return arguments.length?(t="function"===typeof n?n:s(+n),u):t},u.sortValues=function(t){return arguments.length?(n=t,e=null,u):n},u.sort=function(t){return arguments.length?(e=t,n=null,u):e},u.startAngle=function(t){return arguments.length?(r="function"===typeof t?t:s(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"===typeof t?t:s(+t),u):i},u.padAngle=function(t){return arguments.length?(o="function"===typeof t?t:s(+t),u):o},u}N.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var B=W(A);function I(t){this._curve=t}function W(t){function n(n){return new I(t(n))}return n._curve=t,n}function Y(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(W(t)):n()._curve},t}function H(){return Y(R().curve(B))}function q(){var t=L().curve(B),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Y(e())},delete t.lineX0,t.lineEndAngle=function(){return Y(r())},delete t.lineX1,t.lineInnerRadius=function(){return Y(i())},delete t.lineY0,t.lineOuterRadius=function(){return Y(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(W(t)):n()._curve},t}function V(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var G=Array.prototype.slice;function X(t){return t.source}function K(t){return t.target}function Q(t){var n=X,e=K,r=D,i=j,o=null;function u(){var u,a=G.call(arguments),c=n.apply(this,a),s=e.apply(this,a);if(o||(o=u=l()),t(o,+r.apply(this,(a[0]=c,a)),+i.apply(this,a),+r.apply(this,(a[0]=s,a)),+i.apply(this,a)),u)return o=null,u+""||null}return u.source=function(t){return arguments.length?(n=t,u):n},u.target=function(t){return arguments.length?(e=t,u):e},u.x=function(t){return arguments.length?(r="function"===typeof t?t:s(+t),u):r},u.y=function(t){return arguments.length?(i="function"===typeof t?t:s(+t),u):i},u.context=function(t){return arguments.length?(o=null==t?null:t,u):o},u}function $(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function J(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function tt(t,n,e,r,i){var o=V(n,e),u=V(n,e=(e+i)/2),a=V(r,e),c=V(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(u[0],u[1],a[0],a[1],c[0],c[1])}function nt(){return Q($)}function et(){return Q(J)}function rt(){var t=Q(tt);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var it={draw:function(t,n){var e=Math.sqrt(n/x);t.moveTo(e,0),t.arc(0,0,e,0,_)}},ot={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}},ut=Math.sqrt(1/3),at=2*ut,ct={draw:function(t,n){var e=Math.sqrt(n/at),r=e*ut;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},lt=Math.sin(x/10)/Math.sin(7*x/10),st=Math.sin(_/10)*lt,ft=-Math.cos(_/10)*lt,ht={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),r=st*e,i=ft*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var u=_*o/5,a=Math.cos(u),c=Math.sin(u);t.lineTo(c*e,-a*e),t.lineTo(a*r-c*i,c*r+a*i)}t.closePath()}},dt={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},pt=Math.sqrt(3),vt={draw:function(t,n){var e=-Math.sqrt(n/(3*pt));t.moveTo(0,2*e),t.lineTo(-pt*e,-e),t.lineTo(pt*e,-e),t.closePath()}},yt=-.5,gt=Math.sqrt(3)/2,mt=1/Math.sqrt(12),xt=3*(mt/2+1),bt={draw:function(t,n){var e=Math.sqrt(n/xt),r=e/2,i=e*mt,o=r,u=e*mt+e,a=-o,c=u;t.moveTo(r,i),t.lineTo(o,u),t.lineTo(a,c),t.lineTo(yt*r-gt*i,gt*r+yt*i),t.lineTo(yt*o-gt*u,gt*o+yt*u),t.lineTo(yt*a-gt*c,gt*a+yt*c),t.lineTo(yt*r+gt*i,yt*i-gt*r),t.lineTo(yt*o+gt*u,yt*u-gt*o),t.lineTo(yt*a+gt*c,yt*c-gt*a),t.closePath()}},_t=[it,ot,ct,dt,ht,vt,bt];function wt(){var t=s(it),n=s(64),e=null;function r(){var r;if(e||(e=r=l()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),r)return e=null,r+""||null}return r.type=function(n){return arguments.length?(t="function"===typeof n?n:s(n),r):t},r.size=function(t){return arguments.length?(n="function"===typeof t?t:s(+t),r):n},r.context=function(t){return arguments.length?(e=null==t?null:t,r):e},r}function Mt(){}function kt(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function Ot(t){this._context=t}function Zt(t){return new Ot(t)}function Tt(t){this._context=t}function St(t){return new Tt(t)}function Et(t){this._context=t}function Pt(t){return new Et(t)}function Ct(t,n){this._basis=new Ot(t),this._beta=n}Ot.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:kt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:kt(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Tt.prototype={areaStart:Mt,areaEnd:Mt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:kt(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Et.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:kt(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ct.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],u=t[e]-i,a=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*u),this._beta*n[c]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Nt=function t(n){function e(t){return 1===n?new Ot(t):new Ct(t,n)}return e.beta=function(n){return t(+n)},e}(.85),At=e(65997);function Dt(t,n){this._context=t,this._k=(1-n)/6}Dt.prototype={areaStart:Mt,areaEnd:Mt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:(0,At.xm)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var jt=function t(n){function e(t){return new Dt(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Rt(t,n){this._context=t,this._k=(1-n)/6}Rt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,At.xm)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Lt=function t(n){function e(t){return new Rt(t,n)}return e.tension=function(n){return t(+n)},e}(0);function zt(t,n,e){var r=t._x1,i=t._y1,o=t._x2,u=t._y2;if(t._l01_a>m){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>m){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,s=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*l+t._x1*t._l23_2a-n*t._l12_2a)/s,u=(u*l+t._y1*t._l23_2a-e*t._l12_2a)/s}t._context.bezierCurveTo(r,i,o,u,t._x2,t._y2)}function Ft(t,n){this._context=t,this._alpha=n}Ft.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:zt(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ut=function t(n){function e(t){return n?new Ft(t,n):new At.pC(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Bt(t,n){this._context=t,this._alpha=n}Bt.prototype={areaStart:Mt,areaEnd:Mt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:zt(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var It=function t(n){function e(t){return n?new Bt(t,n):new Dt(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Wt(t,n){this._context=t,this._alpha=n}Wt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:zt(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Yt=function t(n){function e(t){return n?new Wt(t,n):new Rt(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Ht(t){this._context=t}function qt(t){return new Ht(t)}function Vt(t){return t<0?-1:1}function Gt(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),u=(e-t._y1)/(i||r<0&&-0),a=(o*i+u*r)/(r+i);return(Vt(o)+Vt(u))*Math.min(Math.abs(o),Math.abs(u),.5*Math.abs(a))||0}function Xt(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Kt(t,n,e){var r=t._x0,i=t._y0,o=t._x1,u=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,u-a*e,o,u)}function Qt(t){this._context=t}function $t(t){this._context=new Jt(t)}function Jt(t){this._context=t}function tn(t){return new Qt(t)}function nn(t){return new $t(t)}function en(t){this._context=t}function rn(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),u=new Array(r);for(i[0]=0,o[0]=2,u[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,u[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,u[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,u[n]-=e*u[n-1];for(i[r-1]=u[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(u[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function on(t){return new en(t)}function un(t,n){this._context=t,this._t=n}function an(t){return new un(t,.5)}function cn(t){return new un(t,0)}function ln(t){return new un(t,1)}function sn(t,n){if((i=t.length)>1)for(var e,r,i,o=1,u=t[n[0]],a=u.length;o<i;++o)for(r=u,u=t[n[o]],e=0;e<a;++e)u[e][1]+=u[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]}function fn(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e}function hn(t,n){return t[n]}function dn(){var t=s([]),n=fn,e=sn,r=hn;function i(i){var o,u,a=t.apply(this,arguments),c=i.length,l=a.length,s=new Array(l);for(o=0;o<l;++o){for(var f,h=a[o],d=s[o]=new Array(c),p=0;p<c;++p)d[p]=f=[0,+r(i[p],h,p,i)],f.data=i[p];d.key=h}for(o=0,u=n(s);o<l;++o)s[u[o]].index=o;return e(s,u),s}return i.keys=function(n){return arguments.length?(t="function"===typeof n?n:s(G.call(n)),i):t},i.value=function(t){return arguments.length?(r="function"===typeof t?t:s(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?fn:"function"===typeof t?t:s(G.call(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?sn:t,i):e},i}function pn(t,n){if((r=t.length)>0){for(var e,r,i,o=0,u=t[0].length;o<u;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}sn(t,n)}}function vn(t,n){if((a=t.length)>0)for(var e,r,i,o,u,a,c=0,l=t[n[0]].length;c<l;++c)for(o=u=0,e=0;e<a;++e)(i=(r=t[n[e]][c])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):(r[0]=0,r[1]=i)}function yn(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var u=0,a=0;u<e;++u)a+=t[u][r][1]||0;i[r][1]+=i[r][0]=-a/2}sn(t,n)}}function gn(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,u=1;u<r;++u){for(var a=0,c=0,l=0;a<i;++a){for(var s=t[n[a]],f=s[u][1]||0,h=(f-(s[u-1][1]||0))/2,d=0;d<a;++d){var p=t[n[d]];h+=(p[u][1]||0)-(p[u-1][1]||0)}c+=f,l+=h*f}e[u-1][1]+=e[u-1][0]=o,c&&(o-=l/c)}e[u-1][1]+=e[u-1][0]=o,sn(t,n)}}function mn(t){var n=t.map(xn);return fn(t).sort((function(t,e){return n[t]-n[e]}))}function xn(t){for(var n,e=-1,r=0,i=t.length,o=-1/0;++e<i;)(n=+t[e][1])>o&&(o=n,r=e);return r}function bn(t){var n=t.map(_n);return fn(t).sort((function(t,e){return n[t]-n[e]}))}function _n(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function wn(t){return bn(t).reverse()}function Mn(t){var n,e,r=t.length,i=t.map(_n),o=mn(t),u=0,a=0,c=[],l=[];for(n=0;n<r;++n)e=o[n],u<a?(u+=i[e],c.push(e)):(a+=i[e],l.push(e));return l.reverse().concat(c)}function kn(t){return fn(t).reverse()}Ht.prototype={areaStart:Mt,areaEnd:Mt,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}},Qt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Kt(this,this._t0,Xt(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Kt(this,Xt(this,e=Gt(this,t,n)),e);break;default:Kt(this,this._t0,e=Gt(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},($t.prototype=Object.create(Qt.prototype)).point=function(t,n){Qt.prototype.point.call(this,n,t)},Jt.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},en.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=rn(t),i=rn(n),o=0,u=1;u<e;++o,++u)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[u],n[u]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}},un.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}}},23656:function(t,n,e){"use strict";e.d(n,{i$:function(){return d},g0:function(){return p}});var r=e(4057),i=e(77465),o=e(97650),u=e(26014),a=e(19584),c=e(53273);function l(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function s(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function f(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}var h,d,p,v={"-":"",_:" ",0:"0"},y=/^\s*\d+/,g=/^%/,m=/[\\^$*+?|[\]().{}]/g;function x(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function b(t){return t.replace(m,"\\$&")}function _(t){return new RegExp("^(?:"+t.map(b).join("|")+")","i")}function w(t){return new Map(t.map(((t,n)=>[t.toLowerCase(),n])))}function M(t,n,e){var r=y.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function k(t,n,e){var r=y.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function O(t,n,e){var r=y.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Z(t,n,e){var r=y.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function T(t,n,e){var r=y.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function S(t,n,e){var r=y.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function E(t,n,e){var r=y.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function P(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function C(t,n,e){var r=y.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function N(t,n,e){var r=y.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function A(t,n,e){var r=y.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function D(t,n,e){var r=y.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function j(t,n,e){var r=y.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function R(t,n,e){var r=y.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function L(t,n,e){var r=y.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function z(t,n,e){var r=y.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function F(t,n,e){var r=y.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function U(t,n,e){var r=g.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function B(t,n,e){var r=y.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function I(t,n,e){var r=y.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function W(t,n){return x(t.getDate(),n,2)}function Y(t,n){return x(t.getHours(),n,2)}function H(t,n){return x(t.getHours()%12||12,n,2)}function q(t,n){return x(1+u.Z.count((0,a.Z)(t),t),n,3)}function V(t,n){return x(t.getMilliseconds(),n,3)}function G(t,n){return V(t,n)+"000"}function X(t,n){return x(t.getMonth()+1,n,2)}function K(t,n){return x(t.getMinutes(),n,2)}function Q(t,n){return x(t.getSeconds(),n,2)}function $(t){var n=t.getDay();return 0===n?7:n}function J(t,n){return x(o.OM.count((0,a.Z)(t)-1,t),n,2)}function tt(t){var n=t.getDay();return n>=4||0===n?(0,o.bL)(t):o.bL.ceil(t)}function nt(t,n){return t=tt(t),x(o.bL.count((0,a.Z)(t),t)+(4===(0,a.Z)(t).getDay()),n,2)}function et(t){return t.getDay()}function rt(t,n){return x(o.wA.count((0,a.Z)(t)-1,t),n,2)}function it(t,n){return x(t.getFullYear()%100,n,2)}function ot(t,n){return x((t=tt(t)).getFullYear()%100,n,2)}function ut(t,n){return x(t.getFullYear()%1e4,n,4)}function at(t,n){var e=t.getDay();return x((t=e>=4||0===e?(0,o.bL)(t):o.bL.ceil(t)).getFullYear()%1e4,n,4)}function ct(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+x(n/60|0,"0",2)+x(n%60,"0",2)}function lt(t,n){return x(t.getUTCDate(),n,2)}function st(t,n){return x(t.getUTCHours(),n,2)}function ft(t,n){return x(t.getUTCHours()%12||12,n,2)}function ht(t,n){return x(1+i.Z.count((0,c.Z)(t),t),n,3)}function dt(t,n){return x(t.getUTCMilliseconds(),n,3)}function pt(t,n){return dt(t,n)+"000"}function vt(t,n){return x(t.getUTCMonth()+1,n,2)}function yt(t,n){return x(t.getUTCMinutes(),n,2)}function gt(t,n){return x(t.getUTCSeconds(),n,2)}function mt(t){var n=t.getUTCDay();return 0===n?7:n}function xt(t,n){return x(r.Ox.count((0,c.Z)(t)-1,t),n,2)}function bt(t){var n=t.getUTCDay();return n>=4||0===n?(0,r.hB)(t):r.hB.ceil(t)}function _t(t,n){return t=bt(t),x(r.hB.count((0,c.Z)(t),t)+(4===(0,c.Z)(t).getUTCDay()),n,2)}function wt(t){return t.getUTCDay()}function Mt(t,n){return x(r.l6.count((0,c.Z)(t)-1,t),n,2)}function kt(t,n){return x(t.getUTCFullYear()%100,n,2)}function Ot(t,n){return x((t=bt(t)).getUTCFullYear()%100,n,2)}function Zt(t,n){return x(t.getUTCFullYear()%1e4,n,4)}function Tt(t,n){var e=t.getUTCDay();return x((t=e>=4||0===e?(0,r.hB)(t):r.hB.ceil(t)).getUTCFullYear()%1e4,n,4)}function St(){return"+0000"}function Et(){return"%"}function Pt(t){return+t}function Ct(t){return Math.floor(+t/1e3)}h=function(t){var n=t.dateTime,e=t.date,a=t.time,c=t.periods,h=t.days,d=t.shortDays,p=t.months,y=t.shortMonths,g=_(c),m=w(c),x=_(h),b=w(h),tt=_(d),bt=w(d),Nt=_(p),At=w(p),Dt=_(y),jt=w(y),Rt={a:function(t){return d[t.getDay()]},A:function(t){return h[t.getDay()]},b:function(t){return y[t.getMonth()]},B:function(t){return p[t.getMonth()]},c:null,d:W,e:W,f:G,g:ot,G:at,H:Y,I:H,j:q,L:V,m:X,M:K,p:function(t){return c[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Pt,s:Ct,S:Q,u:$,U:J,V:nt,w:et,W:rt,x:null,X:null,y:it,Y:ut,Z:ct,"%":Et},Lt={a:function(t){return d[t.getUTCDay()]},A:function(t){return h[t.getUTCDay()]},b:function(t){return y[t.getUTCMonth()]},B:function(t){return p[t.getUTCMonth()]},c:null,d:lt,e:lt,f:pt,g:Ot,G:Tt,H:st,I:ft,j:ht,L:dt,m:vt,M:yt,p:function(t){return c[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Pt,s:Ct,S:gt,u:mt,U:xt,V:_t,w:wt,W:Mt,x:null,X:null,y:kt,Y:Zt,Z:St,"%":Et},zt={a:function(t,n,e){var r=tt.exec(n.slice(e));return r?(t.w=bt.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(t,n,e){var r=x.exec(n.slice(e));return r?(t.w=b.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(t,n,e){var r=Dt.exec(n.slice(e));return r?(t.m=jt.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(t,n,e){var r=Nt.exec(n.slice(e));return r?(t.m=At.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(t,e,r){return Bt(t,n,e,r)},d:A,e:A,f:F,g:E,G:S,H:j,I:j,j:D,L:z,m:N,M:R,p:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.p=m.get(r[0].toLowerCase()),e+r[0].length):-1},q:C,Q:B,s:I,S:L,u:k,U:O,V:Z,w:M,W:T,x:function(t,n,r){return Bt(t,e,n,r)},X:function(t,n,e){return Bt(t,a,n,e)},y:E,Y:S,Z:P,"%":U};function Ft(t,n){return function(e){var r,i,o,u=[],a=-1,c=0,l=t.length;for(e instanceof Date||(e=new Date(+e));++a<l;)37===t.charCodeAt(a)&&(u.push(t.slice(c,a)),null!=(i=v[r=t.charAt(++a)])?r=t.charAt(++a):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),u.push(r),c=a+1);return u.push(t.slice(c,a)),u.join("")}}function Ut(t,n){return function(e){var a,c,h=f(1900,void 0,1);if(Bt(h,t,e+="",0)!=e.length)return null;if("Q"in h)return new Date(h.Q);if("s"in h)return new Date(1e3*h.s+("L"in h?h.L:0));if(n&&!("Z"in h)&&(h.Z=0),"p"in h&&(h.H=h.H%12+12*h.p),void 0===h.m&&(h.m="q"in h?h.q:0),"V"in h){if(h.V<1||h.V>53)return null;"w"in h||(h.w=1),"Z"in h?(c=(a=s(f(h.y,0,1))).getUTCDay(),a=c>4||0===c?r.l6.ceil(a):(0,r.l6)(a),a=i.Z.offset(a,7*(h.V-1)),h.y=a.getUTCFullYear(),h.m=a.getUTCMonth(),h.d=a.getUTCDate()+(h.w+6)%7):(c=(a=l(f(h.y,0,1))).getDay(),a=c>4||0===c?o.wA.ceil(a):(0,o.wA)(a),a=u.Z.offset(a,7*(h.V-1)),h.y=a.getFullYear(),h.m=a.getMonth(),h.d=a.getDate()+(h.w+6)%7)}else("W"in h||"U"in h)&&("w"in h||(h.w="u"in h?h.u%7:"W"in h?1:0),c="Z"in h?s(f(h.y,0,1)).getUTCDay():l(f(h.y,0,1)).getDay(),h.m=0,h.d="W"in h?(h.w+6)%7+7*h.W-(c+5)%7:h.w+7*h.U-(c+6)%7);return"Z"in h?(h.H+=h.Z/100|0,h.M+=h.Z%100,s(h)):l(h)}}function Bt(t,n,e,r){for(var i,o,u=0,a=n.length,c=e.length;u<a;){if(r>=c)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=zt[i in v?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return Rt.x=Ft(e,Rt),Rt.X=Ft(a,Rt),Rt.c=Ft(n,Rt),Lt.x=Ft(e,Lt),Lt.X=Ft(a,Lt),Lt.c=Ft(n,Lt),{format:function(t){var n=Ft(t+="",Rt);return n.toString=function(){return t},n},parse:function(t){var n=Ut(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=Ft(t+="",Lt);return n.toString=function(){return t},n},utcParse:function(t){var n=Ut(t+="",!0);return n.toString=function(){return t},n}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),d=h.format,h.parse,p=h.utcFormat,h.utcParse},26014:function(t,n,e){"use strict";e.d(n,{a:function(){return u}});var r=e(62450),i=e(78069),o=(0,r.Z)((t=>t.setHours(0,0,0,0)),((t,n)=>t.setDate(t.getDate()+n)),((t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.yB)/i.UD),(t=>t.getDate()-1));n.Z=o;var u=o.range},78069:function(t,n,e){"use strict";e.d(n,{UD:function(){return u},Y2:function(){return o},Ym:function(){return r},iM:function(){return a},jz:function(){return c},qz:function(){return l},yB:function(){return i}});const r=1e3,i=60*r,o=60*i,u=24*o,a=7*u,c=30*u,l=365*u},91166:function(t,n,e){"use strict";e.d(n,{i:function(){return u}});var r=e(62450),i=e(78069),o=(0,r.Z)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.Ym-t.getMinutes()*i.yB)}),(function(t,n){t.setTime(+t+n*i.Y2)}),(function(t,n){return(n-t)/i.Y2}),(function(t){return t.getHours()}));n.Z=o;var u=o.range},96647:function(t,n,e){"use strict";e.r(n),e.d(n,{timeDay:function(){return c.Z},timeDays:function(){return c.a},timeFriday:function(){return l.mC},timeFridays:function(){return l.b$},timeHour:function(){return a.Z},timeHours:function(){return a.i},timeInterval:function(){return r.Z},timeMillisecond:function(){return i.Z},timeMilliseconds:function(){return i.m},timeMinute:function(){return u.Z},timeMinutes:function(){return u.L},timeMonday:function(){return l.wA},timeMondays:function(){return l.bJ},timeMonth:function(){return s.Z},timeMonths:function(){return s.e},timeSaturday:function(){return l.EY},timeSaturdays:function(){return l.Ff},timeSecond:function(){return o.Z},timeSeconds:function(){return o.m},timeSunday:function(){return l.OM},timeSundays:function(){return l.vm},timeThursday:function(){return l.bL},timeThursdays:function(){return l.$t},timeTickInterval:function(){return m._g},timeTicks:function(){return m.jK},timeTuesday:function(){return l.sy},timeTuesdays:function(){return l.aU},timeWednesday:function(){return l.zg},timeWednesdays:function(){return l.Ld},timeWeek:function(){return l.OM},timeWeeks:function(){return l.vm},timeYear:function(){return f.Z},timeYears:function(){return f.g},utcDay:function(){return p.Z},utcDays:function(){return p.y},utcFriday:function(){return v.QQ},utcFridays:function(){return v.fz},utcHour:function(){return d.Z},utcHours:function(){return d.X},utcMillisecond:function(){return i.Z},utcMilliseconds:function(){return i.m},utcMinute:function(){return h.Z},utcMinutes:function(){return h.N},utcMonday:function(){return v.l6},utcMondays:function(){return v.$3},utcMonth:function(){return y.Z},utcMonths:function(){return y.K},utcSaturday:function(){return v.g4},utcSaturdays:function(){return v.Q_},utcSecond:function(){return o.Z},utcSeconds:function(){return o.m},utcSunday:function(){return v.Ox},utcSundays:function(){return v.SU},utcThursday:function(){return v.hB},utcThursdays:function(){return v.xj},utcTickInterval:function(){return m.jo},utcTicks:function(){return m.WG},utcTuesday:function(){return v.J1},utcTuesdays:function(){return v.DK},utcWednesday:function(){return v.b3},utcWednesdays:function(){return v.uy},utcWeek:function(){return v.Ox},utcWeeks:function(){return v.SU},utcYear:function(){return g.Z},utcYears:function(){return g.D}});var r=e(62450),i=e(32048),o=e(52110),u=e(17564),a=e(91166),c=e(26014),l=e(97650),s=e(85404),f=e(19584),h=e(97333),d=e(87546),p=e(77465),v=e(4057),y=e(65646),g=e(53273),m=e(6920)},62450:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=new Date,i=new Date;function o(t,n,e,u){function a(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return a.floor=function(n){return t(n=new Date(+n)),n},a.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},a.round=function(t){var n=a(t),e=a.ceil(t);return t-n<e-t?n:e},a.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},a.range=function(e,r,i){var o,u=[];if(e=a.ceil(e),i=null==i?1:Math.floor(i),!(e<r)||!(i>0))return u;do{u.push(o=new Date(+e)),n(e,i),t(e)}while(o<e&&e<r);return u},a.filter=function(e){return o((function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(a.count=function(n,o){return r.setTime(+n),i.setTime(+o),t(r),t(i),Math.floor(e(r,i))},a.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?a.filter(u?function(n){return u(n)%t===0}:function(n){return a.count(0,n)%t===0}):a:null}),a}},32048:function(t,n,e){"use strict";e.d(n,{m:function(){return o}});var r=e(62450),i=(0,r.Z)((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,r.Z)((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):i:null},n.Z=i;var o=i.range},17564:function(t,n,e){"use strict";e.d(n,{L:function(){return u}});var r=e(62450),i=e(78069),o=(0,r.Z)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.Ym)}),(function(t,n){t.setTime(+t+n*i.yB)}),(function(t,n){return(n-t)/i.yB}),(function(t){return t.getMinutes()}));n.Z=o;var u=o.range},85404:function(t,n,e){"use strict";e.d(n,{e:function(){return i}});var r=(0,e(62450).Z)((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));n.Z=r;var i=r.range},52110:function(t,n,e){"use strict";e.d(n,{m:function(){return u}});var r=e(62450),i=e(78069),o=(0,r.Z)((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*i.Ym)}),(function(t,n){return(n-t)/i.Ym}),(function(t){return t.getUTCSeconds()}));n.Z=o;var u=o.range},6920:function(t,n,e){"use strict";e.d(n,{WG:function(){return _},_g:function(){return k},jK:function(){return M},jo:function(){return w}});var r=e(490),i=e(21683),o=e(78069),u=e(32048),a=e(52110),c=e(17564),l=e(91166),s=e(26014),f=e(97650),h=e(85404),d=e(19584),p=e(97333),v=e(87546),y=e(77465),g=e(4057),m=e(65646),x=e(53273);function b(t,n,e,c,l,s){const f=[[a.Z,1,o.Ym],[a.Z,5,5*o.Ym],[a.Z,15,15*o.Ym],[a.Z,30,30*o.Ym],[s,1,o.yB],[s,5,5*o.yB],[s,15,15*o.yB],[s,30,30*o.yB],[l,1,o.Y2],[l,3,3*o.Y2],[l,6,6*o.Y2],[l,12,12*o.Y2],[c,1,o.UD],[c,2,2*o.UD],[e,1,o.iM],[n,1,o.jz],[n,3,3*o.jz],[t,1,o.qz]];function h(n,e,a){const c=Math.abs(e-n)/a,l=(0,r.Z)((([,,t])=>t)).right(f,c);if(l===f.length)return t.every((0,i.ly)(n/o.qz,e/o.qz,a));if(0===l)return u.Z.every(Math.max((0,i.ly)(n,e,a),1));const[s,h]=f[c/f[l-1][2]<f[l][2]/c?l-1:l];return s.every(h)}return[function(t,n,e){const r=n<t;r&&([t,n]=[n,t]);const i=e&&"function"===typeof e.range?e:h(t,n,e),o=i?i.range(t,+n+1):[];return r?o.reverse():o},h]}const[_,w]=b(x.Z,m.Z,g.Ox,y.Z,v.Z,p.Z),[M,k]=b(d.Z,h.Z,f.OM,s.Z,l.Z,c.Z)},77465:function(t,n,e){"use strict";e.d(n,{y:function(){return u}});var r=e(62450),i=e(78069),o=(0,r.Z)((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/i.UD}),(function(t){return t.getUTCDate()-1}));n.Z=o;var u=o.range},87546:function(t,n,e){"use strict";e.d(n,{X:function(){return u}});var r=e(62450),i=e(78069),o=(0,r.Z)((function(t){t.setUTCMinutes(0,0,0)}),(function(t,n){t.setTime(+t+n*i.Y2)}),(function(t,n){return(n-t)/i.Y2}),(function(t){return t.getUTCHours()}));n.Z=o;var u=o.range},97333:function(t,n,e){"use strict";e.d(n,{N:function(){return u}});var r=e(62450),i=e(78069),o=(0,r.Z)((function(t){t.setUTCSeconds(0,0)}),(function(t,n){t.setTime(+t+n*i.yB)}),(function(t,n){return(n-t)/i.yB}),(function(t){return t.getUTCMinutes()}));n.Z=o;var u=o.range},65646:function(t,n,e){"use strict";e.d(n,{K:function(){return i}});var r=(0,e(62450).Z)((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCMonth(t.getUTCMonth()+n)}),(function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}));n.Z=r;var i=r.range},4057:function(t,n,e){"use strict";e.d(n,{$3:function(){return p},DK:function(){return v},J1:function(){return c},Ox:function(){return u},QQ:function(){return f},Q_:function(){return x},SU:function(){return d},b3:function(){return l},fz:function(){return m},g4:function(){return h},hB:function(){return s},l6:function(){return a},uy:function(){return y},xj:function(){return g}});var r=e(62450),i=e(78069);function o(t){return(0,r.Z)((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/i.iM}))}var u=o(0),a=o(1),c=o(2),l=o(3),s=o(4),f=o(5),h=o(6),d=u.range,p=a.range,v=c.range,y=l.range,g=s.range,m=f.range,x=h.range},53273:function(t,n,e){"use strict";e.d(n,{D:function(){return o}});var r=e(62450),i=(0,r.Z)((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.Z)((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null},n.Z=i;var o=i.range},97650:function(t,n,e){"use strict";e.d(n,{$t:function(){return g},EY:function(){return h},Ff:function(){return x},Ld:function(){return y},OM:function(){return u},aU:function(){return v},b$:function(){return m},bJ:function(){return p},bL:function(){return s},mC:function(){return f},sy:function(){return c},vm:function(){return d},wA:function(){return a},zg:function(){return l}});var r=e(62450),i=e(78069);function o(t){return(0,r.Z)((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*i.yB)/i.iM}))}var u=o(0),a=o(1),c=o(2),l=o(3),s=o(4),f=o(5),h=o(6),d=u.range,p=a.range,v=c.range,y=l.range,g=s.range,m=f.range,x=h.range},19584:function(t,n,e){"use strict";e.d(n,{g:function(){return o}});var r=e(62450),i=(0,r.Z)((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.Z)((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null},n.Z=i;var o=i.range},62050:function(t){function n(t,n,e){var r,i,o,u,a;function c(){var l=Date.now()-u;l<n&&l>=0?r=setTimeout(c,n-l):(r=null,e||(a=t.apply(o,i),o=i=null))}null==n&&(n=100);var l=function(){o=this,i=arguments,u=Date.now();var l=e&&!r;return r||(r=setTimeout(c,n)),l&&(a=t.apply(o,i),o=i=null),a};return l.clear=function(){r&&(clearTimeout(r),r=null)},l.flush=function(){r&&(a=t.apply(o,i),o=i=null,clearTimeout(r),r=null)},l}n.debounce=n,t.exports=n},85208:function(t,n,e){var r=e(34440),i=e(84108),o=e(61085),u=e(79336),a=e(8636);function c(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=u,c.prototype.set=a,t.exports=c},81998:function(t,n,e){var r=e(90266),i=e(42875),o=e(45828),u=e(24115),a=e(67690);function c(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=u,c.prototype.set=a,t.exports=c},72887:function(t,n,e){var r=e(65234)(e(83250),"Map");t.exports=r},95678:function(t,n,e){var r=e(39016),i=e(62363),o=e(64348),u=e(53062),a=e(30262);function c(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=u,c.prototype.set=a,t.exports=c},18498:function(t,n,e){var r=e(58260);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},99817:function(t,n,e){var r=e(45563),i=e(28597),o=e(93702),u=e(55784),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,s=c.toString,f=l.hasOwnProperty,h=RegExp("^"+s.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?h:a).test(u(t))}},1622:function(t,n,e){var r=e(83250)["__core-js_shared__"];t.exports=r},77570:function(t,n,e){var r=e(58949);t.exports=function(t,n){var e=t.__data__;return r(n)?e["string"==typeof n?"string":"hash"]:e.map}},65234:function(t,n,e){var r=e(99817),i=e(67736);t.exports=function(t,n){var e=i(t,n);return r(e)?e:void 0}},67736:function(t){t.exports=function(t,n){return null==t?void 0:t[n]}},34440:function(t,n,e){var r=e(24545);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},84108:function(t){t.exports=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}},61085:function(t,n,e){var r=e(24545),i=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;if(r){var e=n[t];return"__lodash_hash_undefined__"===e?void 0:e}return i.call(n,t)?n[t]:void 0}},79336:function(t,n,e){var r=e(24545),i=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;return r?void 0!==n[t]:i.call(n,t)}},8636:function(t,n,e){var r=e(24545);t.exports=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=r&&void 0===n?"__lodash_hash_undefined__":n,this}},58949:function(t){t.exports=function(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}},28597:function(t,n,e){var r=e(1622),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!i&&i in t}},90266:function(t){t.exports=function(){this.__data__=[],this.size=0}},42875:function(t,n,e){var r=e(18498),i=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0)&&(e==n.length-1?n.pop():i.call(n,e,1),--this.size,!0)}},45828:function(t,n,e){var r=e(18498);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},24115:function(t,n,e){var r=e(18498);t.exports=function(t){return r(this.__data__,t)>-1}},67690:function(t,n,e){var r=e(18498);t.exports=function(t,n){var e=this.__data__,i=r(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}},39016:function(t,n,e){var r=e(85208),i=e(81998),o=e(72887);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},62363:function(t,n,e){var r=e(77570);t.exports=function(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}},64348:function(t,n,e){var r=e(77570);t.exports=function(t){return r(this,t).get(t)}},53062:function(t,n,e){var r=e(77570);t.exports=function(t){return r(this,t).has(t)}},30262:function(t,n,e){var r=e(77570);t.exports=function(t,n){var e=r(this,t),i=e.size;return e.set(t,n),this.size+=e.size==i?0:1,this}},24545:function(t,n,e){var r=e(65234)(Object,"create");t.exports=r},55784:function(t){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},58260:function(t){t.exports=function(t,n){return t===n||t!==t&&n!==n}},45563:function(t,n,e){var r=e(69823),i=e(93702);t.exports=function(t){if(!i(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},67997:function(t,n,e){var r=e(95678);function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var u=t.apply(this,r);return e.cache=o.set(i,u)||o,u};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},38478:function(t,n,e){var r=e(55897);r.prototype.formulaEval=function(){"use strict";for(var t,n,e,r=[],i=this.value,o=0;o<i.length;o++)1===i[o].type||3===i[o].type?r.push({value:3===i[o].type?i[o].show:i[o].value,type:1}):13===i[o].type?r.push({value:i[o].show,type:1}):0===i[o].type?r[r.length-1]={value:i[o].show+("-"!=i[o].show?"(":"")+r[r.length-1].value+("-"!=i[o].show?")":""),type:0}:7===i[o].type?r[r.length-1]={value:(1!=r[r.length-1].type?"(":"")+r[r.length-1].value+(1!=r[r.length-1].type?")":"")+i[o].show,type:7}:10===i[o].type?(t=r.pop(),n=r.pop(),"P"===i[o].show||"C"===i[o].show?r.push({value:"<sup>"+n.value+"</sup>"+i[o].show+"<sub>"+t.value+"</sub>",type:10}):r.push({value:(1!=n.type?"(":"")+n.value+(1!=n.type?")":"")+"<sup>"+t.value+"</sup>",type:1})):2===i[o].type||9===i[o].type?(t=r.pop(),n=r.pop(),r.push({value:(1!=n.type?"(":"")+n.value+(1!=n.type?")":"")+i[o].show+(1!=t.type?"(":"")+t.value+(1!=t.type?")":""),type:i[o].type})):12===i[o].type&&(t=r.pop(),n=r.pop(),e=r.pop(),r.push({value:i[o].show+"("+e.value+","+n.value+","+t.value+")",type:12}));return r[0].value},t.exports=r},57415:function(t,n,e){"use strict";var r=e(64180);function i(t,n){for(var e=0;e<t.length;e++)t[e]+=n;return t}for(var o=[{token:"sin",show:"sin",type:0,value:r.math.sin},{token:"cos",show:"cos",type:0,value:r.math.cos},{token:"tan",show:"tan",type:0,value:r.math.tan},{token:"pi",show:"&pi;",type:3,value:"PI"},{token:"(",show:"(",type:4,value:"("},{token:")",show:")",type:5,value:")"},{token:"P",show:"P",type:10,value:r.math.P},{token:"C",show:"C",type:10,value:r.math.C},{token:" ",show:" ",type:14,value:" ".anchor},{token:"asin",show:"asin",type:0,value:r.math.asin},{token:"acos",show:"acos",type:0,value:r.math.acos},{token:"atan",show:"atan",type:0,value:r.math.atan},{token:"7",show:"7",type:1,value:"7"},{token:"8",show:"8",type:1,value:"8"},{token:"9",show:"9",type:1,value:"9"},{token:"int",show:"Int",type:0,value:Math.floor},{token:"cosh",show:"cosh",type:0,value:r.math.cosh},{token:"acosh",show:"acosh",type:0,value:r.math.acosh},{token:"ln",show:" ln",type:0,value:Math.log},{token:"^",show:"^",type:10,value:Math.pow},{token:"root",show:"root",type:0,value:Math.sqrt},{token:"4",show:"4",type:1,value:"4"},{token:"5",show:"5",type:1,value:"5"},{token:"6",show:"6",type:1,value:"6"},{token:"/",show:"&divide;",type:2,value:r.math.div},{token:"!",show:"!",type:7,value:r.math.fact},{token:"tanh",show:"tanh",type:0,value:r.math.tanh},{token:"atanh",show:"atanh",type:0,value:r.math.atanh},{token:"Mod",show:" Mod ",type:2,value:r.math.mod},{token:"1",show:"1",type:1,value:"1"},{token:"2",show:"2",type:1,value:"2"},{token:"3",show:"3",type:1,value:"3"},{token:"*",show:"&times;",type:2,value:r.math.mul},{token:"sinh",show:"sinh",type:0,value:r.math.sinh},{token:"asinh",show:"asinh",type:0,value:r.math.asinh},{token:"e",show:"e",type:3,value:"E"},{token:"log",show:" log",type:0,value:r.math.log},{token:"0",show:"0",type:1,value:"0"},{token:".",show:".",type:6,value:"."},{token:"+",show:"+",type:9,value:r.math.add},{token:"-",show:"-",type:9,value:r.math.sub},{token:",",show:",",type:11,value:","},{token:"Sigma",show:"&Sigma;",type:12,value:r.math.sigma},{token:"n",show:"n",type:13,value:"n"},{token:"Pi",show:"&Pi;",type:12,value:r.math.Pi},{token:"pow",show:"pow",type:8,value:Math.pow,numberOfArguments:2},{token:"&",show:"&",type:9,value:r.math.and}],u={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0,14:-1,15:11},a=0;a<o.length;a++)o[a].precedence=u[o[a].type];var c={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0,15:!0},l={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0,15:!0},s={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0,15:!0},f={},h={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0,15:!0},d={1:!0},p=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function v(t,n,e,r){for(var i=0;i<r;i++)if(t[e+i]!==n[i])return!1;return!0}function y(t,n){for(var e=0;e<n.length;e++)if(n[e].token===t)return e;return-1}function g(t){for(var n,e,i,u=[],a=t.length,c=0;c<a;c++)if(!(c<a-1&&" "===t[c]&&" "===t[c+1])){for(n="",e=t.length-c>p.length-2?p.length-1:t.length-c;e>0;e--)if(void 0!==p[e])for(i=0;i<p[e].length;i++)v(t,p[e][i],c,e)&&(n=p[e][i],i=p[e].length,e=0);if(c+=n.length-1,""===n)throw new r.Exception("Can't understand after "+t.slice(c));u.push(o[y(n,o)])}return u}r.tokenTypes={FUNCTION_WITH_ONE_ARG:0,NUMBER:1,BINARY_OPERATOR_HIGH_PRECENDENCE:2,CONSTANT:3,OPENING_PARENTHESIS:4,CLOSING_PARENTHESIS:5,DECIMAL:6,POSTFIX_FUNCTION_WITH_ONE_ARG:7,FUNCTION_WITH_N_ARGS:8,BINARY_OPERATOR_LOW_PRECENDENCE:9,BINARY_OPERATOR_PERMUTATION:10,COMMA:11,EVALUATED_FUNCTION:12,EVALUATED_FUNCTION_PARAMETER:13,SPACE:14},r.addToken=function(t){for(var n=0;n<t.length;n++){var e=t[n].token.length,i=-1;t[n].type===r.tokenTypes.FUNCTION_WITH_N_ARGS&&void 0===t[n].numberOfArguments&&(t[n].numberOfArguments=2),p[e]=p[e]||[];for(var a=0;a<p[e].length;a++)if(t[n].token===p[e][a]){i=y(p[e][a],o);break}-1===i?(o.push(t[n]),t[n].precedence=u[t[n].type],p.length<=t[n].token.length&&(p[t[n].token.length]=[]),p[t[n].token.length].push(t[n].token)):(o[i]=t[n],t[n].precedence=u[t[n].type])}};var m={value:r.math.changeSign,type:0,pre:21,show:"-"},x={value:")",show:")",type:5,pre:0},b={value:"(",type:4,pre:0,show:"("};r.lex=function(t,n){var e,o=[b],u=[],a=t,p=c,v=0,y=f,_="";"undefined"!==typeof n&&r.addToken(n);var w={},M=g(a);for(e=0;e<M.length;e++){var k=M[e];if(14!==k.type){var O,Z=k.token,T=k.type,S=k.value,E=k.precedence,P=k.show,C=o[o.length-1];for(O=u.length;O--&&0===u[O];)if(-1!==[0,2,3,4,5,9,11,12,13].indexOf(T)){if(!0!==p[T])throw new r.Exception(Z+" is not allowed after "+_);o.push(x),p=l,y=h,u.pop()}if(!0!==p[T])throw new r.Exception(Z+" is not allowed after "+_);if(!0===y[T]&&(T=2,S=r.math.mul,P="&times;",E=3,e-=1),w={value:S,type:T,pre:E,show:P,numberOfArguments:k.numberOfArguments},0===T)p=c,y=f,i(u,2),o.push(w),4!==M[e+1].type&&(o.push(b),u.push(2));else if(1===T)1===C.type?(C.value+=S,i(u,1)):o.push(w),p=l,y=s;else if(2===T)p=c,y=f,i(u,2),o.push(w);else if(3===T)o.push(w),p=l,y=h;else if(4===T)i(u,1),v++,p=c,y=f,o.push(w);else if(5===T){if(!v)throw new r.Exception("Closing parenthesis are more than opening one, wait What!!!");v--,p=l,y=h,o.push(w),i(u,1)}else if(6===T){if(C.hasDec)throw new r.Exception("Two decimals are not allowed in one number");1!==C.type&&(C={value:0,type:1,pre:0},o.push(C)),p=d,i(u,1),y=f,C.value+=S,C.hasDec=!0}else 7===T&&(p=l,y=h,i(u,1),o.push(w));8===T?(p=c,y=f,i(u,k.numberOfArguments+2),o.push(w),4!==M[e+1].type&&(o.push(b),u.push(k.numberOfArguments+2))):9===T?(9===C.type?C.value===r.math.add?(C.value=S,C.show=P,i(u,1)):C.value===r.math.sub&&"-"===P&&(C.value=r.math.add,C.show="+",i(u,1)):5!==C.type&&7!==C.type&&1!==C.type&&3!==C.type&&13!==C.type?"-"===Z&&(p=c,y=f,i(u,2).push(2),o.push(m),o.push(b)):(o.push(w),i(u,2)),p=c,y=f):10===T?(p=c,y=f,i(u,2),o.push(w)):11===T?(p=c,y=f,o.push(w)):12===T?(p=c,y=f,i(u,6),o.push(w),4!==M[e+1].type&&(o.push(b),u.push(6))):13===T&&(p=l,y=h,o.push(w)),i(u,-1),_=Z}else if(e>0&&e<M.length-1&&1===M[e+1].type&&(1===M[e-1].type||6===M[e-1].type))throw new r.Exception("Unexpected Space")}for(O=u.length;O--;)o.push(x);if(!0!==p[5])throw new r.Exception("complete the expression");for(;v--;)o.push(x);return o.push(x),new r(o)},t.exports=r},64180:function(t){"use strict";var n=function(t){this.value=t};n.math={isDegree:!0,acos:function(t){return n.math.isDegree?180/Math.PI*Math.acos(t):Math.acos(t)},add:function(t,n){return t+n},asin:function(t){return n.math.isDegree?180/Math.PI*Math.asin(t):Math.asin(t)},atan:function(t){return n.math.isDegree?180/Math.PI*Math.atan(t):Math.atan(t)},acosh:function(t){return Math.log(t+Math.sqrt(t*t-1))},asinh:function(t){return Math.log(t+Math.sqrt(t*t+1))},atanh:function(t){return Math.log((1+t)/(1-t))},C:function(t,e){var r=1,i=t-e,o=e;o<i&&(o=i,i=e);for(var u=o+1;u<=t;u++)r*=u;return r/n.math.fact(i)},changeSign:function(t){return-t},cos:function(t){return n.math.isDegree&&(t=n.math.toRadian(t)),Math.cos(t)},cosh:function(t){return(Math.pow(Math.E,t)+Math.pow(Math.E,-1*t))/2},div:function(t,n){return t/n},fact:function(t){if(t%1!==0)return"NaN";for(var n=1,e=2;e<=t;e++)n*=e;return n},inverse:function(t){return 1/t},log:function(t){return Math.log(t)/Math.log(10)},mod:function(t,n){return t%n},mul:function(t,n){return t*n},P:function(t,n){for(var e=1,r=Math.floor(t)-Math.floor(n)+1;r<=Math.floor(t);r++)e*=r;return e},Pi:function(t,n,e){for(var r=1,i=t;i<=n;i++)r*=Number(e.postfixEval({n:i}));return r},pow10x:function(t){for(var n=1;t--;)n*=10;return n},sigma:function(t,n,e){for(var r=0,i=t;i<=n;i++)r+=Number(e.postfixEval({n:i}));return r},sin:function(t){return n.math.isDegree&&(t=n.math.toRadian(t)),Math.sin(t)},sinh:function(t){return(Math.pow(Math.E,t)-Math.pow(Math.E,-1*t))/2},sub:function(t,n){return t-n},tan:function(t){return n.math.isDegree&&(t=n.math.toRadian(t)),Math.tan(t)},tanh:function(t){return n.sinha(t)/n.cosha(t)},toRadian:function(t){return t*Math.PI/180},and:function(t,n){return t&n}},n.Exception=function(t){this.message=t},t.exports=n},56456:function(t,n,e){var r=e(57415);r.prototype.toPostfix=function(){"use strict";for(var t,n,e,i,o,u=[],a=[{value:"(",type:4,pre:0}],c=this.value,l=1;l<c.length;l++)if(1===c[l].type||3===c[l].type||13===c[l].type)1===c[l].type&&(c[l].value=Number(c[l].value)),u.push(c[l]);else if(4===c[l].type)a.push(c[l]);else if(5===c[l].type)for(;4!==(n=a.pop()).type;)u.push(n);else if(11===c[l].type){for(;4!==(n=a.pop()).type;)u.push(n);a.push(n)}else{i=(t=c[l]).pre,e=(o=a[a.length-1]).pre;var s="Math.pow"==o.value&&"Math.pow"==t.value;if(i>e)a.push(t);else{for(;e>=i&&!s||s&&i<e;)n=a.pop(),o=a[a.length-1],u.push(n),e=o.pre,s="Math.pow"==t.value&&"Math.pow"==o.value;a.push(t)}}return new r(u)},t.exports=r},55897:function(t,n,e){var r=e(56456);r.prototype.postfixEval=function(t){"use strict";(t=t||{}).PI=Math.PI,t.E=Math.E;for(var n,e,i,o=[],u=this.value,a="undefined"!==typeof t.n,c=0;c<u.length;c++)if(1===u[c].type)o.push({value:u[c].value,type:1});else if(3===u[c].type)o.push({value:t[u[c].value],type:1});else if(0===u[c].type)"undefined"===typeof o[o.length-1].type?o[o.length-1].value.push(u[c]):o[o.length-1].value=u[c].value(o[o.length-1].value);else if(7===u[c].type)"undefined"===typeof o[o.length-1].type?o[o.length-1].value.push(u[c]):o[o.length-1].value=u[c].value(o[o.length-1].value);else if(8===u[c].type){for(var l=[],s=0;s<u[c].numberOfArguments;s++)l.push(o.pop().value);o.push({type:1,value:u[c].value.apply(u[c],l.reverse())})}else 10===u[c].type?(n=o.pop(),"undefined"===typeof(e=o.pop()).type?(e.value=e.concat(n),e.value.push(u[c]),o.push(e)):"undefined"===typeof n.type?(n.unshift(e),n.push(u[c]),o.push(n)):o.push({type:1,value:u[c].value(e.value,n.value)})):2===u[c].type||9===u[c].type?(n=o.pop(),"undefined"===typeof(e=o.pop()).type?((e=e.concat(n)).push(u[c]),o.push(e)):"undefined"===typeof n.type?(n.unshift(e),n.push(u[c]),o.push(n)):o.push({type:1,value:u[c].value(e.value,n.value)})):12===u[c].type?("undefined"!==typeof(n=o.pop()).type&&(n=[n]),e=o.pop(),i=o.pop(),o.push({type:1,value:u[c].value(i.value,e.value,new r(n))})):13===u[c].type&&(a?o.push({value:t[u[c].value],type:3}):o.push([u[c]]));if(o.length>1)throw new r.Exception("Uncaught Syntax error");return o[0].value>1e15?"Infinity":parseFloat(o[0].value.toFixed(15))},r.eval=function(t,n,e){return"undefined"===typeof n?this.lex(t).toPostfix().postfixEval():"undefined"===typeof e?"undefined"!==typeof n.length?this.lex(t,n).toPostfix().postfixEval():this.lex(t).toPostfix().postfixEval(n):this.lex(t,n).toPostfix().postfixEval(e)},t.exports=r},59842:function(t,n,e){"use strict";e.d(n,{Z:function(){return u}});var r=e(52983),i=e(62050),o=e.n(i);function u(t){let{debounce:n,scroll:e,polyfill:i,offsetSize:u}=void 0===t?{debounce:0,scroll:!1,offsetSize:!1}:t;const c=i||("undefined"===typeof window?class{}:window.ResizeObserver);if(!c)throw new Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");const[s,f]=(0,r.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),h=(0,r.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:s}),d=n?"number"===typeof n?n:n.scroll:null,p=n?"number"===typeof n?n:n.resize:null,v=(0,r.useRef)(!1);(0,r.useEffect)((()=>(v.current=!0,()=>{v.current=!1})));const[y,g,m]=(0,r.useMemo)((()=>{const t=()=>{if(!h.current.element)return;const{left:t,top:n,width:e,height:r,bottom:i,right:o,x:a,y:c}=h.current.element.getBoundingClientRect(),s={left:t,top:n,width:e,height:r,bottom:i,right:o,x:a,y:c};h.current.element instanceof HTMLElement&&u&&(s.height=h.current.element.offsetHeight,s.width=h.current.element.offsetWidth),Object.freeze(s),v.current&&!l(h.current.lastBounds,s)&&f(h.current.lastBounds=s)};return[t,p?o()(t,p):t,d?o()(t,d):t]}),[f,u,d,p]);function x(){h.current.scrollContainers&&(h.current.scrollContainers.forEach((t=>t.removeEventListener("scroll",m,!0))),h.current.scrollContainers=null),h.current.resizeObserver&&(h.current.resizeObserver.disconnect(),h.current.resizeObserver=null)}function b(){h.current.element&&(h.current.resizeObserver=new c(m),h.current.resizeObserver.observe(h.current.element),e&&h.current.scrollContainers&&h.current.scrollContainers.forEach((t=>t.addEventListener("scroll",m,{capture:!0,passive:!0}))))}var _,w,M;return _=m,w=Boolean(e),(0,r.useEffect)((()=>{if(w){const t=_;return window.addEventListener("scroll",t,{capture:!0,passive:!0}),()=>{window.removeEventListener("scroll",t,!0)}}}),[_,w]),M=g,(0,r.useEffect)((()=>{const t=M;return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}),[M]),(0,r.useEffect)((()=>{x(),b()}),[e,m,g]),(0,r.useEffect)((()=>x),[]),[t=>{t&&t!==h.current.element&&(x(),h.current.element=t,h.current.scrollContainers=a(t),b())},s,y]}function a(t){const n=[];if(!t||t===document.body)return n;const{overflow:e,overflowX:r,overflowY:i}=window.getComputedStyle(t);return[e,r,i].some((t=>"auto"===t||"scroll"===t))&&n.push(t),[...n,...a(t.parentElement)]}const c=["x","y","top","bottom","left","right","width","height"],l=(t,n)=>c.every((e=>t[e]===n[e]))},19298:function(t,n,e){var r,i=e(39842),o=e(58675),u=e(38478),a=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g;t.exports=function(t,n){function e(t,o,c){if(r++>100)throw r=0,new Error("Call stack overflow for "+c);if(""===t)throw new Error(o+"(): '"+c+"' must contain a non-whitespace string");t=function(t,n){t=t.replace(/((?:\-[a-z]+\-)?calc)/g,"");var r,o="",u=t;for(;r=a.exec(u);){r[0].index>0&&(o+=u.substring(0,r[0].index));var c=i("(",")",u.substring([0].index));if(""===c.body)throw new Error("'"+t+"' must contain a non-whitespace string");var l=e(c.body,"",n);o+=c.pre+l,u=c.post}return o+u}(t,c);var l=function(t){var n=[],e=[],r=/[\.0-9]([%a-z]+)/gi,i=r.exec(t);for(;i;)i&&i[1]&&(-1===e.indexOf(i[1].toLowerCase())&&(n.push(i[1]),e.push(i[1].toLowerCase())),i=r.exec(t));return n}(t);if(l.length>1||t.indexOf("var(")>-1)return o+"("+t+")";var s=l[0]||"";"%"===s&&(t=t.replace(/\b[0-9\.]+%/g,(function(t){return.01*parseFloat(t.slice(0,-1))})));var f,h=t.replace(new RegExp(s,"gi"),"");try{f=u.eval(h)}catch(d){return o+"("+t+")"}return"%"===s&&(f*=100),(o.length||"%"===s)&&(f=Math.round(f*n)/n),f+=s}return r=0,n=Math.pow(10,void 0===n?5:n),t=t.replace(/\n+/g," "),o(t,/((?:\-[a-z]+\-)?calc)\(/,e)}},58675:function(t,n,e){var r=e(72547);function i(t,n,e){var o=t;return function(t,n){var e=[],i="string"===typeof n?new RegExp("\\b("+n+")\\("):n;do{var o=i.exec(t);if(!o)return e;if(void 0===o[1])throw new Error("Missing the first couple of parenthesis to get the function identifier in "+n);var u=o[1],a=o.index,c=r("(",")",t.substring(a));if(!c||c.start!==o[0].length-1)throw new SyntaxError(u+"(): missing closing ')' in the value '"+t+"'");e.push({matches:c,functionIdentifier:u}),t=c.post}while(i.test(t));return e}(t,n).reduce((function(t,r){return t.replace(r.functionIdentifier+"("+r.matches.body+")",function(t,n,e,r,o){return e(i(t,o,e),n,r)}(r.matches.body,r.functionIdentifier,e,o,n))}),t)}t.exports=i}}]);