From 933e03ef6208949f4969d2ee2ed73a191676d52d Mon Sep 17 00:00:00 2001 From: dapplion Date: Sun, 4 Aug 2019 20:31:41 +0200 Subject: [PATCH] Updates --- asset-manifest.json | 14 ++++++------ index.html | 2 +- ...nifest.1d7dc50fa5dafbead9d0c231759bd791.js | 22 ------------------- ...nifest.26d6de00b920906905d08d24ec19da74.js | 22 +++++++++++++++++++ service-worker.js | 2 +- static/css/main.67dbc5b1.chunk.css | 2 -- static/css/main.67dbc5b1.chunk.css.map | 1 - static/css/main.837772ec.chunk.css | 2 ++ static/css/main.837772ec.chunk.css.map | 1 + static/js/2.3791b40c.chunk.js | 2 -- static/js/2.3791b40c.chunk.js.map | 1 - static/js/2.bd047c3b.chunk.js | 2 ++ static/js/2.bd047c3b.chunk.js.map | 1 + static/js/main.a20a0fcc.chunk.js | 2 -- static/js/main.a20a0fcc.chunk.js.map | 1 - static/js/main.ce811fd9.chunk.js | 2 ++ static/js/main.ce811fd9.chunk.js.map | 1 + 17 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 precache-manifest.1d7dc50fa5dafbead9d0c231759bd791.js create mode 100644 precache-manifest.26d6de00b920906905d08d24ec19da74.js delete mode 100644 static/css/main.67dbc5b1.chunk.css delete mode 100644 static/css/main.67dbc5b1.chunk.css.map create mode 100644 static/css/main.837772ec.chunk.css create mode 100644 static/css/main.837772ec.chunk.css.map delete mode 100644 static/js/2.3791b40c.chunk.js delete mode 100644 static/js/2.3791b40c.chunk.js.map create mode 100644 static/js/2.bd047c3b.chunk.js create mode 100644 static/js/2.bd047c3b.chunk.js.map delete mode 100644 static/js/main.a20a0fcc.chunk.js delete mode 100644 static/js/main.a20a0fcc.chunk.js.map create mode 100644 static/js/main.ce811fd9.chunk.js create mode 100644 static/js/main.ce811fd9.chunk.js.map diff --git a/asset-manifest.json b/asset-manifest.json index 6279b05..9d419df 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,15 +1,15 @@ { "files": { - "main.css": "/augmented-tbc-design/static/css/main.67dbc5b1.chunk.css", - "main.js": "/augmented-tbc-design/static/js/main.a20a0fcc.chunk.js", - "main.js.map": "/augmented-tbc-design/static/js/main.a20a0fcc.chunk.js.map", + "main.css": "/augmented-tbc-design/static/css/main.837772ec.chunk.css", + "main.js": "/augmented-tbc-design/static/js/main.ce811fd9.chunk.js", + "main.js.map": "/augmented-tbc-design/static/js/main.ce811fd9.chunk.js.map", "runtime~main.js": "/augmented-tbc-design/static/js/runtime~main.1a6ed195.js", "runtime~main.js.map": "/augmented-tbc-design/static/js/runtime~main.1a6ed195.js.map", - "static/js/2.3791b40c.chunk.js": "/augmented-tbc-design/static/js/2.3791b40c.chunk.js", - "static/js/2.3791b40c.chunk.js.map": "/augmented-tbc-design/static/js/2.3791b40c.chunk.js.map", + "static/js/2.bd047c3b.chunk.js": "/augmented-tbc-design/static/js/2.bd047c3b.chunk.js", + "static/js/2.bd047c3b.chunk.js.map": "/augmented-tbc-design/static/js/2.bd047c3b.chunk.js.map", "index.html": "/augmented-tbc-design/index.html", - "precache-manifest.1d7dc50fa5dafbead9d0c231759bd791.js": "/augmented-tbc-design/precache-manifest.1d7dc50fa5dafbead9d0c231759bd791.js", + "precache-manifest.26d6de00b920906905d08d24ec19da74.js": "/augmented-tbc-design/precache-manifest.26d6de00b920906905d08d24ec19da74.js", "service-worker.js": "/augmented-tbc-design/service-worker.js", - "static/css/main.67dbc5b1.chunk.css.map": "/augmented-tbc-design/static/css/main.67dbc5b1.chunk.css.map" + "static/css/main.837772ec.chunk.css.map": "/augmented-tbc-design/static/css/main.837772ec.chunk.css.map" } } \ No newline at end of file diff --git a/index.html b/index.html index 77eebbd..988dc4c 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Augmented Bonding Curve Design
\ No newline at end of file +Augmented Bonding Curve Design
\ No newline at end of file diff --git a/precache-manifest.1d7dc50fa5dafbead9d0c231759bd791.js b/precache-manifest.1d7dc50fa5dafbead9d0c231759bd791.js deleted file mode 100644 index 0e9d1b3..0000000 --- a/precache-manifest.1d7dc50fa5dafbead9d0c231759bd791.js +++ /dev/null @@ -1,22 +0,0 @@ -self.__precacheManifest = (self.__precacheManifest || []).concat([ - { - "revision": "6aeebe994a4d443a01daeece7be1ec3e", - "url": "/augmented-tbc-design/index.html" - }, - { - "revision": "d82e58dfc9577a98b22c", - "url": "/augmented-tbc-design/static/css/main.67dbc5b1.chunk.css" - }, - { - "revision": "52b8e05a0cd9d13e2edf", - "url": "/augmented-tbc-design/static/js/2.3791b40c.chunk.js" - }, - { - "revision": "d82e58dfc9577a98b22c", - "url": "/augmented-tbc-design/static/js/main.a20a0fcc.chunk.js" - }, - { - "revision": "707b94664485cbbcc81b", - "url": "/augmented-tbc-design/static/js/runtime~main.1a6ed195.js" - } -]); \ No newline at end of file diff --git a/precache-manifest.26d6de00b920906905d08d24ec19da74.js b/precache-manifest.26d6de00b920906905d08d24ec19da74.js new file mode 100644 index 0000000..21e3fee --- /dev/null +++ b/precache-manifest.26d6de00b920906905d08d24ec19da74.js @@ -0,0 +1,22 @@ +self.__precacheManifest = (self.__precacheManifest || []).concat([ + { + "revision": "4be0e2b2f24c6abbdaec518c2e7f6ab5", + "url": "/augmented-tbc-design/index.html" + }, + { + "revision": "6165e7588513c7587770", + "url": "/augmented-tbc-design/static/css/main.837772ec.chunk.css" + }, + { + "revision": "c06c7e3076d4237194a3", + "url": "/augmented-tbc-design/static/js/2.bd047c3b.chunk.js" + }, + { + "revision": "6165e7588513c7587770", + "url": "/augmented-tbc-design/static/js/main.ce811fd9.chunk.js" + }, + { + "revision": "707b94664485cbbcc81b", + "url": "/augmented-tbc-design/static/js/runtime~main.1a6ed195.js" + } +]); \ No newline at end of file diff --git a/service-worker.js b/service-worker.js index fb7f7ca..1459ddf 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "/augmented-tbc-design/precache-manifest.1d7dc50fa5dafbead9d0c231759bd791.js" + "/augmented-tbc-design/precache-manifest.26d6de00b920906905d08d24ec19da74.js" ); self.addEventListener('message', (event) => { diff --git a/static/css/main.67dbc5b1.chunk.css b/static/css/main.67dbc5b1.chunk.css deleted file mode 100644 index ab555e4..0000000 --- a/static/css/main.67dbc5b1.chunk.css +++ /dev/null @@ -1,2 +0,0 @@ -#root{background-color:#152128;min-height:100vh;margin:0} -/*# sourceMappingURL=main.67dbc5b1.chunk.css.map */ \ No newline at end of file diff --git a/static/css/main.67dbc5b1.chunk.css.map b/static/css/main.67dbc5b1.chunk.css.map deleted file mode 100644 index d8454fb..0000000 --- a/static/css/main.67dbc5b1.chunk.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["app.css"],"names":[],"mappings":"AAAA,MACE,wBAAyB,CACzB,gBAAiB,CACjB,QACF","file":"main.67dbc5b1.chunk.css","sourcesContent":["#root {\n background-color: #152128;\n min-height: 100vh;\n margin: 0;\n}\n"]} \ No newline at end of file diff --git a/static/css/main.837772ec.chunk.css b/static/css/main.837772ec.chunk.css new file mode 100644 index 0000000..c290a1c --- /dev/null +++ b/static/css/main.837772ec.chunk.css @@ -0,0 +1,2 @@ +#root,body{background-color:#152128;min-height:100vh;margin:0} +/*# sourceMappingURL=main.837772ec.chunk.css.map */ \ No newline at end of file diff --git a/static/css/main.837772ec.chunk.css.map b/static/css/main.837772ec.chunk.css.map new file mode 100644 index 0000000..4c12775 --- /dev/null +++ b/static/css/main.837772ec.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["app.css"],"names":[],"mappings":"AAAA,WAEE,wBAAyB,CACzB,gBAAiB,CACjB,QACF","file":"main.837772ec.chunk.css","sourcesContent":["#root,\nbody {\n background-color: #152128;\n min-height: 100vh;\n margin: 0;\n}\n"]} \ No newline at end of file diff --git a/static/js/2.3791b40c.chunk.js b/static/js/2.3791b40c.chunk.js deleted file mode 100644 index f2049f8..0000000 --- a/static/js/2.3791b40c.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){e.exports=n(229)()},function(e,t,n){"use strict";e.exports=n(224)},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t,n){var r=n(37),o=n(19),i="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==a||t==u||t==i||t==c}},function(e,t,n){"use strict";function r(e){var t,n,o="";if(e)if("object"===typeof e)if(e.push)for(t=0;t1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var i=t.defaultTheme,u=t.withTheme,p=void 0!==u&&u,d=t.name,h=Object(o.a)(t,["defaultTheme","withTheme","name"]),v=d,y=Object(l.a)(e,Object(r.a)({defaultTheme:i,Component:n,name:d||n.displayName,classNamePrefix:v},h)),m=a.a.forwardRef(function(e,t){e.classes;var u,c=e.innerRef,l=Object(o.a)(e,["classes","innerRef"]),h=y(e),v=l;return("string"===typeof d||p)&&(u=Object(f.a)()||i,d&&(v=s({theme:u,name:d,props:l})),p&&!v.theme&&(v.theme=u)),a.a.createElement(n,Object(r.a)({ref:c||t,classes:h},v))});return c()(m,n),m}},d=n(39);t.a=function(e,t){return p(e,Object(r.a)({defaultTheme:d.a},t))}},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t0?1:-1},N=function(e){return w()(e)&&e.indexOf("%")===e.length-1},R=function(e){return P()(e)&&!M()(e)},I=function(e){return R(e)||w()(e)},D=0,L=function(e){var t=++D;return"".concat(e||"").concat(t)},z=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!R(e)&&!w()(e))return r;if(N(e)){var i=e.indexOf("%");n=t*parseFloat(e.slice(0,i))/100}else n=+e;return M()(n)&&(n=r),o&&n>t&&(n=t),n},F=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},W=function(e,t){return R(e)&&R(t)?function(n){return e+n*(t-e)}:function(){return t}},B=function(e,t,n){return e&&e.length?e.find(function(e){return e&&j()(e,t)===n}):null};function U(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var $={"aria-current":p.a.string,"aria-details":p.a.any,"aria-disabled":p.a.any,"aria-hidden":p.a.any,"aria-invalid":p.a.any,"aria-keyshortcuts":p.a.any,"aria-label":p.a.any,"aria-roledescription":p.a.any,"aria-autocomplete":p.a.any,"aria-checked":p.a.any,"aria-expanded":p.a.any,"aria-haspopup":p.a.any,"aria-level":p.a.any,"aria-modal":p.a.any,"aria-multiline":p.a.any,"aria-multiselectable":p.a.any,"aria-orientation":p.a.any,"aria-placeholder":p.a.any,"aria-pressed":p.a.any,"aria-readonly":p.a.any,"aria-required":p.a.any,"aria-selected":p.a.any,"aria-sort":p.a.any,"aria-valuemax":p.a.any,"aria-valuemin":p.a.any,"aria-valuenow":p.a.any,"aria-valuetext":p.a.any,"aria-atomic":p.a.any,"aria-busy":p.a.any,"aria-live":p.a.any,"aria-relevant":p.a.any,"aria-dropeffect":p.a.any,"aria-grabbed":p.a.any,"aria-activedescendant":p.a.any,"aria-colcount":p.a.any,"aria-colindex":p.a.any,"aria-colspan":p.a.any,"aria-controls":p.a.any,"aria-describedby":p.a.any,"aria-errormessage":p.a.any,"aria-flowto":p.a.any,"aria-labelledby":p.a.any,"aria-owns":p.a.any,"aria-posinset":p.a.any,"aria-rowcount":p.a.any,"aria-rowindex":p.a.any,"aria-rowspan":p.a.any,"aria-setsize":p.a.any,alignmentBaseline:p.a.string,angle:p.a.number,baselineShift:p.a.string,clip:p.a.string,clipPath:p.a.string,clipRule:p.a.string,color:p.a.string,colorInterpolation:p.a.string,colorInterpolationFilters:p.a.string,colorProfile:p.a.string,colorRendering:p.a.string,cursor:p.a.string,direction:p.a.oneOf(["ltr","rtl","inherit"]),display:p.a.string,dominantBaseline:p.a.string,enableBackground:p.a.string,fill:p.a.string,fillOpacity:p.a.oneOfType([p.a.string,p.a.number]),fillRule:p.a.oneOf(["nonzero","evenodd","inherit"]),filter:p.a.string,floodColor:p.a.string,floodOpacity:p.a.oneOfType([p.a.string,p.a.number]),font:p.a.string,fontFamily:p.a.string,fontSize:p.a.oneOfType([p.a.number,p.a.string]),fontSizeAdjust:p.a.oneOfType([p.a.number,p.a.string]),fontStretch:p.a.oneOf(["normal","wider","narrower","ultra-condensed","extra-condensed","condensed","semi-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded","inherit"]),fontStyle:p.a.oneOf(["normal","italic","oblique","inherit"]),fontVariant:p.a.oneOf(["normal","small-caps","inherit"]),fontWeight:p.a.oneOf(["normal","bold","bolder","lighter",100,200,300,400,500,600,700,800,900,"inherit"]),glyphOrientationHorizontal:p.a.string,glyphOrientationVertical:p.a.string,imageRendering:p.a.oneOf(["auto","optimizeSpeed","optimizeQuality","inherit"]),kerning:p.a.oneOfType([p.a.number,p.a.string]),letterSpacing:p.a.oneOfType([p.a.number,p.a.string]),lightingColor:p.a.string,lineHeight:p.a.oneOfType([p.a.number,p.a.string]),markerEnd:p.a.string,markerMid:p.a.string,markerStart:p.a.string,mask:p.a.string,opacity:p.a.oneOfType([p.a.number,p.a.string]),overflow:p.a.oneOf(["visible","hidden","scroll","auto","inherit"]),pointerEvents:p.a.oneOf(["visiblePainted","visibleFill","visibleStroke","visible","painted","fill","stroke","all","none","inherit"]),shapeRendering:p.a.oneOf(["auto","optimizeSpeed","crispEdges","geometricPrecision","inherit"]),stopColor:p.a.string,stopOpacity:p.a.oneOfType([p.a.number,p.a.string]),stroke:p.a.oneOfType([p.a.number,p.a.string]),strokeDasharray:p.a.string,strokeDashoffset:p.a.oneOfType([p.a.number,p.a.string]),strokeLinecap:p.a.oneOf(["butt","round","square","inherit"]),strokeLinejoin:p.a.oneOf(["miter","round","bevel","inherit"]),strokeMiterlimit:p.a.oneOfType([p.a.number,p.a.string]),strokeOpacity:p.a.oneOfType([p.a.number,p.a.string]),strokeWidth:p.a.oneOfType([p.a.number,p.a.string]),textAnchor:p.a.oneOf(["start","middle","end","inherit"]),textDecoration:p.a.oneOf(["none","underline","overline","line-through","blink","inherit"]),textRendering:p.a.oneOf(["auto","optimizeSpeed","optimizeLegibility","geometricPrecision","inherit"]),unicodeBidi:p.a.oneOf(["normal","embed","bidi-override","inherit"]),visibility:p.a.oneOf(["visible","hidden","collapse","inherit"]),wordSpacing:p.a.oneOfType([p.a.number,p.a.string]),writingMode:p.a.oneOf(["lr-tb","rl-tb","tb-rl","lr","rl","tb","inherit"]),transform:p.a.string,role:p.a.string,focusable:p.a.string,tabIndex:p.a.string,style:p.a.object,width:p.a.number,height:p.a.number,dx:p.a.number,dy:p.a.number,x:p.a.number,y:p.a.number,r:p.a.number,radius:p.a.oneOfType([p.a.number,p.a.array])},H={onClick:p.a.func,onMouseDown:p.a.func,onMouseUp:p.a.func,onMouseOver:p.a.func,onMouseMove:p.a.func,onMouseOut:p.a.func,onMouseEnter:p.a.func,onMouseLeave:p.a.func,onTouchEnd:p.a.func,onTouchMove:p.a.func,onTouchStart:p.a.func,onTouchCancel:p.a.func},q={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},G=["plainline","line","square","rect","circle","cross","diamond","star","triangle","wye","none"],X=["none"],K=function(e){return"string"===typeof e?e:e?e.displayName||e.name||"Component":""},Y=function(e,t){var n=[],r=[];return r=S()(t)?t.map(function(e){return K(e)}):[K(t)],s.a.Children.forEach(e,function(e){var t=e&&e.type&&(e.type.displayName||e.type.name);-1!==r.indexOf(t)&&n.push(e)}),n},Q=function(e,t){var n=Y(e,t);return n&&n[0]},Z=function(e){if(!e||a()(e))return null;var t=s.a.isValidElement(e)?e.props:e;if(!O()(t))return null;var n=null;for(var r in t)({}).hasOwnProperty.call(t,r)&&$[r]&&(n||(n={}),n[r]=t[r]);return n},J=function(e,t){return function(n){return e(t,n),null}},ee=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||a()(e))return null;var r=s.a.isValidElement(e)?e.props:e;if(!O()(r))return null;var o=null;for(var i in r)({}).hasOwnProperty.call(r,i)&&H[i]&&(o||(o={}),o[i]=t||(n?J(r[i],r):r[i]));return o},te=function(e,t,n){return function(r){return e(t,n,r),null}},ne=function(e,t,n){if(!O()(e))return null;var r=null;for(var o in e)({}).hasOwnProperty.call(e,o)&&H[o]&&a()(e[o])&&(r||(r={}),r[o]=te(e[o],t,n));return r},re=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!R(n)||n<=0||!R(r)||r<=0)},oe=function(){return!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout)},ie=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],ae=function(e,t){if(b()(e)&&b()(t))return!0;if(!b()(e)&&!b()(t)){var n=e.props||{},r=n.children,o=V(n,["children"]),i=t.props||{},a=i.children,u=V(i,["children"]);return r&&a?d(o,u)&&ue(r,a):!r&&!a&&d(o,u)}return!1},ue=function e(t,n){if(t===n)return!0;if(l.Children.count(t)!==l.Children.count(n))return!1;var r=l.Children.count(t);if(0===r)return!0;if(1===r)return ae(S()(t)?t[0]:t,S()(n)?n[0]:n);for(var o=0;o=0}(e))n.push(e);else if(e&&t[K(e.type)]){var i=K(e.type),a=t[i],u=a.handler,c=a.once;if(c&&!r[i]||!c){var l=u(e,i,o);S()(l)?n=[n].concat(U(l)):n.push(l),r[i]=!0}}}),n},le=function(e){var t=e&&e.type;return t&&q[t]?q[t]:null},se=function(e,t){var n=-1;return l.Children.forEach(t,function(t,r){t===e&&(n=r)}),n};function fe(){return(fe=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var de={width:p.a.number.isRequired,height:p.a.number.isRequired,viewBox:p.a.shape({x:p.a.number,y:p.a.number,width:p.a.number,height:p.a.number}),className:p.a.string,style:p.a.object,children:p.a.oneOfType([p.a.arrayOf(p.a.node),p.a.node])};function he(e){var t=e.children,n=e.width,r=e.height,o=e.viewBox,i=e.className,a=e.style,u=pe(e,["children","width","height","viewBox","className","style"]),c=o||{width:n,height:r,x:0,y:0},l=m()("recharts-surface",i),f=Z(u);return s.a.createElement("svg",fe({},f,{className:l,width:n,height:r,style:a,viewBox:"".concat(c.x," ").concat(c.y," ").concat(c.width," ").concat(c.height),version:"1.1"}),t)}he.propTypes=de;var ve=he,ye=Math.PI,me=2*ye,ge=me-1e-6;function be(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function xe(){return new be}be.prototype=xe.prototype={constructor:be,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,o,i){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(e,t,n,r,o){e=+e,t=+t,n=+n,r=+r,o=+o;var i=this._x1,a=this._y1,u=n-e,c=r-t,l=i-e,s=a-t,f=l*l+s*s;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>1e-6)if(Math.abs(s*u-c*l)>1e-6&&o){var p=n-i,d=r-a,h=u*u+c*c,v=p*p+d*d,y=Math.sqrt(h),m=Math.sqrt(f),g=o*Math.tan((ye-Math.acos((h+f-v)/(2*y*m)))/2),b=g/m,x=g/y;Math.abs(b-1)>1e-6&&(this._+="L"+(e+b*l)+","+(t+b*s)),this._+="A"+o+","+o+",0,0,"+ +(s*p>l*d)+","+(this._x1=e+x*u)+","+(this._y1=t+x*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,o,i){e=+e,t=+t;var a=(n=+n)*Math.cos(r),u=n*Math.sin(r),c=e+a,l=t+u,s=1^i,f=i?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+l:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-l)>1e-6)&&(this._+="L"+c+","+l),n&&(f<0&&(f=f%me+me),f>ge?this._+="A"+n+","+n+",0,1,"+s+","+(e-a)+","+(t-u)+"A"+n+","+n+",0,1,"+s+","+(this._x1=c)+","+(this._y1=l):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=ye)+","+s+","+(this._x1=e+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var we=xe,_e=function(e){return function(){return e}},Oe=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,1e-12),ke=Math.PI,Se=2*ke;function Ee(e){this._context=e}Ee.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var je=function(e){return new Ee(e)};function Te(e){return e[0]}function Me(e){return e[1]}var Ce=function(){var e=Te,t=Me,n=_e(!0),r=null,o=je,i=null;function a(a){var u,c,l,s=a.length,f=!1;for(null==r&&(i=o(l=we())),u=0;u<=s;++u)!(u=s;--f)u.point(y[f],m[f]);u.lineEnd(),u.areaEnd()}v&&(y[l]=+e(p,l,c),m[l]=+n(p,l,c),u.point(t?+t(p,l,c):y[l],r?+r(p,l,c):m[l]))}if(d)return u=null,d+""||null}function l(){return Ce().defined(o).curve(a).context(i)}return c.x=function(n){return arguments.length?(e="function"===typeof n?n:_e(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"===typeof t?t:_e(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"===typeof e?e:_e(+e),c):t},c.y=function(e){return arguments.length?(n="function"===typeof e?e:_e(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"===typeof e?e:_e(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:_e(+e),c):r},c.lineX0=c.lineY0=function(){return l().x(e).y(n)},c.lineY1=function(){return l().x(e).y(r)},c.lineX1=function(){return l().x(t).y(n)},c.defined=function(e){return arguments.length?(o="function"===typeof e?e:_e(!!e),c):o},c.curve=function(e){return arguments.length?(a=e,null!=i&&(u=a(i)),c):a},c.context=function(e){return arguments.length?(null==e?i=u=null:u=a(i=e),c):i},c};Ne(je);function Ae(e){this._curve=e}function Ne(e){function t(t){return new Ae(e(t))}return t._curve=e,t}Ae.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var Re=Array.prototype.slice;var Ie={draw:function(e,t){var n=Math.sqrt(t/ke);e.moveTo(n,0),e.arc(0,0,n,0,Se)}},De={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},Le=Math.sqrt(1/3),ze=2*Le,Fe={draw:function(e,t){var n=Math.sqrt(t/ze),r=n*Le;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},We=Math.sin(ke/10)/Math.sin(7*ke/10),Be=Math.sin(Se/10)*We,Ue=-Math.cos(Se/10)*We,Ve={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=Be*n,o=Ue*n;e.moveTo(0,-n),e.lineTo(r,o);for(var i=1;i<5;++i){var a=Se*i/5,u=Math.cos(a),c=Math.sin(a);e.lineTo(c*n,-u*n),e.lineTo(u*r-c*o,c*r+u*o)}e.closePath()}},$e={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},He=Math.sqrt(3),qe={draw:function(e,t){var n=-Math.sqrt(t/(3*He));e.moveTo(0,2*n),e.lineTo(-He*n,-n),e.lineTo(He*n,-n),e.closePath()}},Ge=Math.sqrt(3)/2,Xe=1/Math.sqrt(12),Ke=3*(Xe/2+1),Ye={draw:function(e,t){var n=Math.sqrt(t/Ke),r=n/2,o=n*Xe,i=r,a=n*Xe+n,u=-i,c=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(u,c),e.lineTo(-.5*r-Ge*o,Ge*r+-.5*o),e.lineTo(-.5*i-Ge*a,Ge*i+-.5*a),e.lineTo(-.5*u-Ge*c,Ge*u+-.5*c),e.lineTo(-.5*r+Ge*o,-.5*o-Ge*r),e.lineTo(-.5*i+Ge*a,-.5*a-Ge*i),e.lineTo(-.5*u+Ge*c,-.5*c-Ge*u),e.closePath()}},Qe=function(){};function Ze(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Je(e){this._context=e}Je.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:Ze(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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);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:Ze(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function et(e){this._context=e}et.prototype={areaStart:Qe,areaEnd:Qe,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ze(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function tt(e){this._context=e}tt.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Ze(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function nt(e,t){this._basis=new Je(e),this._beta=t}nt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,o=e[0],i=t[0],a=e[n]-o,u=t[n]-i,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*e[c]+(1-this._beta)*(o+r*a),this._beta*t[c]+(1-this._beta)*(i+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};(function e(t){function n(e){return 1===t?new Je(e):new nt(e,t)}return n.beta=function(t){return e(+t)},n})(.85);function rt(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function ot(e,t){this._context=e,this._k=(1-t)/6}ot.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:rt(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:rt(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new ot(e,t)}return n.tension=function(t){return e(+t)},n})(0);function it(e,t){this._context=e,this._k=(1-t)/6}it.prototype={areaStart:Qe,areaEnd:Qe,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:rt(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new it(e,t)}return n.tension=function(t){return e(+t)},n})(0);function at(e,t){this._context=e,this._k=(1-t)/6}at.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(e,t){switch(e=+e,t=+t,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:rt(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new at(e,t)}return n.tension=function(t){return e(+t)},n})(0);function ut(e,t,n){var r=e._x1,o=e._y1,i=e._x2,a=e._y2;if(e._l01_a>Oe){var u=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*u-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,o=(o*u-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>Oe){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,s=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*l+e._x1*e._l23_2a-t*e._l12_2a)/s,a=(a*l+e._y1*e._l23_2a-n*e._l12_2a)/s}e._context.bezierCurveTo(r,o,i,a,e._x2,e._y2)}function ct(e,t){this._context=e,this._alpha=t}ct.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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:ut(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new ct(e,t):new ot(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function lt(e,t){this._context=e,this._alpha=t}lt.prototype={areaStart:Qe,areaEnd:Qe,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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:ut(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new lt(e,t):new it(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function st(e,t){this._context=e,this._alpha=t}st.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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+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:ut(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new st(e,t):new at(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function ft(e){this._context=e}ft.prototype={areaStart:Qe,areaEnd:Qe,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function pt(e){return e<0?-1:1}function dt(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),u=(i*o+a*r)/(r+o);return(pt(i)+pt(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(u))||0}function ht(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function vt(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,u=(i-r)/3;e._context.bezierCurveTo(r+u,o+u*t,i-u,a-u*n,i,a)}function yt(e){this._context=e}function mt(e){this._context=new gt(e)}function gt(e){this._context=e}function bt(e){this._context=e}function xt(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var _t=function(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],u=a.length;i=0;)n[t]=t;return n};function kt(e,t){return e[t]}var St,Et,jt;function Tt(e){return(Tt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ct(){return(Ct=Object.assign||function(e){for(var t=1;t=0&&n>=0?{width:t,height:n}:null}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,o=r.layout,i=r.align,a=r.verticalAlign,u=r.margin,c=r.chartWidth,l=r.chartHeight;e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===i&&"vertical"===o?{left:((c||0)-(this.getBBox()||{width:0}).width)/2}:"right"===i?{right:u&&u.right||0}:{left:u&&u.left||0});e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((l||0)-(this.getBBox()||{height:0}).height)/2}:"bottom"===a?{bottom:u&&u.bottom||0}:{top:u&&u.top||0});return en({},t,n)}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var o=this.wrapperNode.getBoundingClientRect();(Math.abs(o.width-t)>1||Math.abs(o.height-n)>1)&&this.setState({boxWidth:o.width,boxHeight:o.height},function(){r&&r(o)})}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},function(){r&&r(null)})}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.width,o=t.height,i=t.wrapperStyle,u=t.paylodUniqBy,c=t.payload,l=en({position:"absolute",width:r||"auto",height:o||"auto"},this.getDefaultPosition(i),i);return s.a.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(t){e.wrapperNode=t}},function(e,t){return s.a.isValidElement(e)?s.a.cloneElement(e,t):a()(e)?e(t):s.a.createElement(Zt,t)}(n,en({},this.props,{payload:cn(u,c)})))}}])&&nn(n.prototype,r),o&&nn(n,o),t}(),Kt.displayName="Legend",Kt.propTypes={content:p.a.oneOfType([p.a.element,p.a.func]),wrapperStyle:p.a.object,chartWidth:p.a.number,chartHeight:p.a.number,width:p.a.number,height:p.a.number,iconSize:p.a.number,iconType:p.a.oneOf(ln),layout:p.a.oneOf(["horizontal","vertical"]),align:p.a.oneOf(["center","left","right"]),verticalAlign:p.a.oneOf(["top","bottom","middle"]),margin:p.a.shape({top:p.a.number,left:p.a.number,bottom:p.a.number,right:p.a.number}),payload:p.a.arrayOf(p.a.shape({value:p.a.any,id:p.a.any,type:p.a.oneOf(G)})),paylodUniqBy:p.a.oneOfType([p.a.func,p.a.bool]),formatter:p.a.func,onMouseEnter:p.a.func,onMouseLeave:p.a.func,onClick:p.a.func,onBBoxUpdate:p.a.func},Kt.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"},Xt=Yt))||Xt,fn=n(28),pn=n.n(fn),dn=n(40),hn=n.n(dn);function vn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;hn()(function r(o){n<0&&(n=o),o-n>t?(e(o),n=-1):hn()(r)})}function yn(e){return(yn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mn(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function gn(){var e=function(){return null},t=!1;return{stop:function(){t=!0},start:function(n){t=!1,function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var o=mn(r),i=o[0],a=o.slice(1);return"number"===typeof i?void vn(n.bind(null,a),i):(n(i),void vn(n.bind(null,a)))}"object"===yn(r)&&e(r),"function"===typeof r&&r()}}(n)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}var bn=n(118),xn=n.n(bn);function wn(e){return(wn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _n(e,t){if(e===t)return!0;if("object"!==wn(e)||null===e||"object"!==wn(t)||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=hasOwnProperty.bind(t),i=0;i=0&&e<=1});var u,c,l=Fn(r,i),s=Fn(o,a),f=(u=r,c=i,function(e){var t=Dn(Ln(u,c).map(function(e,t){return e*t}).slice(1)).concat([0]);return zn(t,e)}),p=function(e){for(var t,n=e>1?1:e,r=n,o=0;o<8;++o){var i=l(r)-n,a=f(r);if(Math.abs(i-n)<1e-4||a<1e-4)return s(r);r=(t=r-i/a)>1?1:t<0?0:t}return s(r)};return p.isStepper=!1,p},Bn=function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,o=void 0===r?8:r,i=e.dt,a=void 0===i?17:i,u=function(e,t,r){var i=r+(-(e-t)*n-r*o)*a/1e3,u=r*a/1e3+e;return Math.abs(u-t)<1e-4&&Math.abs(i)<1e-4?[t,0]:[u,i]};return u.isStepper=!0,u.dt=a,u}()}return"function"===typeof r?r:null},Un=n(176),Vn=n.n(Un);function $n(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function nr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0?n[o-1]:r,p=l||Object.keys(c);if("function"===typeof u||"spring"===u)return nr(e).concat([t.runJSAnimation.bind(t,{from:f.style,to:c,duration:i,easing:u}),i]);var d=In(p,i,u),h=rr({},f.style,c,{transition:d});return nr(e).concat([h,i,s]).filter(An)},[a,Math.max(c,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=gn());var t=e.begin,n=e.duration,r=e.attributeName,o=e.to,i=e.easing,a=e.onAnimationStart,u=e.onAnimationEnd,c=e.steps,l=e.children,s=this.manager;if(this.unSubscribe=s.subscribe(this.handleStyleChange),"function"!==typeof i&&"function"!==typeof l&&"spring"!==i)if(c.length>1)this.runStepAnimation(e);else{var f=r?or({},r,o):o,p=In(Object.keys(f),n,i);s.start([a,t,rr({},f,{transition:p}),n,u])}else this.runJSAnimation(e)}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.begin,e.duration,e.attributeName,e.easing,e.isActive),r=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,tr(e,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),o=l.Children.count(t),i=Rn(this.state.style);if("function"===typeof t)return t(i);if(!n||0===o)return t;var a=function(e){var t=e.props,n=t.style,o=void 0===n?{}:n,a=t.className;return Object(l.cloneElement)(e,rr({},r,{style:rr({},o,i),className:a}))};return 1===o?a(l.Children.only(t)):s.a.createElement("div",null,l.Children.map(t,function(e){return a(e)}))}}])&&ir(n.prototype,r),o&&ir(n,o),t}(),Kn.displayName="Animate",Kn.propTypes={from:p.a.oneOfType([p.a.object,p.a.string]),to:p.a.oneOfType([p.a.object,p.a.string]),attributeName:p.a.string,duration:p.a.number,begin:p.a.number,easing:p.a.oneOfType([p.a.string,p.a.func]),steps:p.a.arrayOf(p.a.shape({duration:p.a.number.isRequired,style:p.a.object.isRequired,easing:p.a.oneOfType([p.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),p.a.func]),properties:p.a.arrayOf("string"),onAnimationEnd:p.a.func})),children:p.a.oneOfType([p.a.node,p.a.func]),isActive:p.a.bool,canBegin:p.a.bool,onAnimationEnd:p.a.func,shouldReAnimate:p.a.bool,onAnimationStart:p.a.func,onAnimationReStart:p.a.func},Kn.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},Xn=Yn))||Xn,fr=n(86);function pr(e){return(pr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dr(){return(dr=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yr(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,n=e.duration;return t&&t.length?t.reduce(function(e,t){return e+(P()(t.duration)&&t.duration>0?t.duration:0)},0):P()(n)?n:0},wr=function(e){function t(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var e,t,n,r=this,o=this.props,i=o.payload,u=o.isAnimationActive,l=o.animationDuration,f=o.animationEasing,p=o.filterNull,d=function(e,t){return!0===e?c()(t,Qr):a()(e)?c()(t,e):t}(o.paylodUniqBy,p&&i&&i.length?i.filter(function(e){return!b()(e.value)}):i),h=d&&d.length,v=this.props,y=v.content,g=v.viewBox,x=v.coordinate,w=v.position,_=v.active,O=v.offset,k=$r({pointerEvents:"none",visibility:_&&h?"visible":"hidden",position:"absolute",top:0},v.wrapperStyle);if(w&&R(w.x)&&R(w.y))t=w.x,n=w.y;else{var S=this.state,E=S.boxWidth,j=S.boxHeight;E>0&&j>0&&x?(t=w&&R(w.x)?w.x:Math.max(x.x+E+O>g.x+g.width?x.x-E-O:x.x+O,g.x),n=w&&R(w.y)?w.y:Math.max(x.y+j+O>g.y+g.height?x.y-j-O:x.y+O,g.y)):k.visibility="hidden"}k=$r({},k,Rn({transform:this.props.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")})),u&&_&&(k=$r({},k,Rn({transition:"transform ".concat(l,"ms ").concat(f)})));var T=m()(Yr,(Hr(e={},"".concat(Yr,"-right"),R(t)&&x&&R(x.x)&&t>=x.x),Hr(e,"".concat(Yr,"-left"),R(t)&&x&&R(x.x)&&t=x.y),Hr(e,"".concat(Yr,"-top"),R(n)&&x&&R(x.y)&&n0?no()(n.updateDimensionsImmediate,e.debounce):n.updateDimensionsImmediate,n}var n,r,o;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lo(e,t)}(t,l["Component"]),n=t,(r=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.getContainerSize();e&&this.setState(e)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"getContainerSize",value:function(){return this.container?{containerWidth:this.container.clientWidth,containerHeight:this.container.clientHeight}:null}},{key:"renderChart",value:function(){var e=this.state,t=e.containerWidth,n=e.containerHeight;if(t<0||n<0)return null;var r=this.props,o=r.aspect,i=r.width,a=r.height,u=(r.minWidth,r.minHeight,r.maxHeight),c=r.children;N(i)||N(a);var l=N(i)?t:i,f=N(a)?n:a;return o&&o>0&&(l?f=l/o:f&&(l=f*o),u&&f>u&&(f=u)),s.a.cloneElement(c,{width:l,height:f})}},{key:"render",value:function(){var e=this,t=this.props,n=t.minWidth,r=t.minHeight,o=t.width,i=t.height,a=t.maxHeight,u=t.id,c=t.className,l={width:o,height:i,minWidth:n,minHeight:r,maxHeight:a};return s.a.createElement("div",{id:u,className:m()("recharts-responsive-container",c),style:l,ref:function(t){e.container=t}},this.renderChart(),s.a.createElement(oo.a,{handleWidth:!0,handleHeight:!0,onResize:this.handleResize}))}}])&&ao(n.prototype,r),o&&ao(n,o),t}();so.displayName="ResponsiveContainer",so.propTypes={aspect:p.a.number,width:p.a.oneOfType([p.a.string,p.a.number]),height:p.a.oneOfType([p.a.string,p.a.number]),minHeight:p.a.oneOfType([p.a.string,p.a.number]),minWidth:p.a.oneOfType([p.a.string,p.a.number]),maxHeight:p.a.oneOfType([p.a.string,p.a.number]),children:p.a.node.isRequired,debounce:p.a.number,id:p.a.oneOfType([p.a.string,p.a.number]),className:p.a.oneOfType([p.a.string,p.a.number])},so.defaultProps={width:"100%",height:"100%",debounce:0};var fo=so,po=n(178),ho=n.n(po);function vo(){return(vo=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var mo={className:p.a.string,children:p.a.oneOfType([p.a.arrayOf(p.a.node),p.a.node])};function go(e){var t=e.children,n=e.className,r=yo(e,["children","className"]),o=m()("recharts-layer",n);return s.a.createElement("g",vo({className:o},r),t)}go.propTypes=mo;var bo=go,xo=n(89),wo=n.n(xo);function _o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0&&o===+o?"".concat(o,"px"):o),";");var r,o,i},"")},To=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e||null===e||oe())return{width:0,height:0};var n="".concat(e),r=jo(t),o="".concat(n,"-").concat(r);if(ko.widthCache[o])return ko.widthCache[o];try{var i=document.getElementById("recharts_measurement_span");i||((i=document.createElement("span")).setAttribute("id","recharts_measurement_span"),document.body.appendChild(i));var a=function(e){for(var t=1;t2e3&&(ko.cacheCount=0,ko.widthCache={}),c}catch(l){return{width:0,height:0}}};function Mo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Co(e){return(Co="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Po(){return(Po=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function No(e,t){for(var n=0;nt?1:e>=t?0:NaN},Xo=function(e){var t;return 1===e.length&&(t=e,e=function(e,n){return Go(t(e),n)}),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)>0?o=i:r=i+1}return r}}};var Ko=Xo(Go),Yo=Ko.right,Qo=(Ko.left,Yo);var Zo=function(e){return null===e?NaN:+e},Jo=Array.prototype,ei=(Jo.slice,Jo.map,function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r0)return[e];if((r=t0)for(e=Math.ceil(e/a),t=Math.floor(t/a),i=new Array(o=Math.ceil(t-e+1));++u=0?(i>=ti?10:i>=ni?5:i>=ri?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=ti?10:i>=ni?5:i>=ri?2:1)}function ai(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=ti?o*=10:i>=ni?o*=5:i>=ri&&(o*=2),t=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e);return a+(+n(e[i+1],i+1,e)-a)*(o-i)}};function ci(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function li(e,t){switch(arguments.length){case 0:break;case 1:this.interpolator(e);break;default:this.interpolator(t).domain(e)}return this}function si(){}function fi(e,t){var n=new si;if(e instanceof si)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,o=-1,i=e.length;if(null==t)for(;++o>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=Ci.exec(e))?Fi(parseInt(t[1],16)):(t=Pi.exec(e))?new Vi(t[1],t[2],t[3],1):(t=Ai.exec(e))?new Vi(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ni.exec(e))?Wi(t[1],t[2],t[3],t[4]):(t=Ri.exec(e))?Wi(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ii.exec(e))?Hi(t[1],t[2]/100,t[3]/100,1):(t=Di.exec(e))?Hi(t[1],t[2]/100,t[3]/100,t[4]):Li.hasOwnProperty(e)?Fi(Li[e]):"transparent"===e?new Vi(NaN,NaN,NaN,0):null}function Fi(e){return new Vi(e>>16&255,e>>8&255,255&e,1)}function Wi(e,t,n,r){return r<=0&&(e=t=n=NaN),new Vi(e,t,n,r)}function Bi(e){return e instanceof Si||(e=zi(e)),e?new Vi((e=e.rgb()).r,e.g,e.b,e.opacity):new Vi}function Ui(e,t,n,r){return 1===arguments.length?Bi(e):new Vi(e,t,n,null==r?1:r)}function Vi(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function $i(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Hi(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Gi(e,t,n,r)}function qi(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Gi)return new Gi(e.h,e.s,e.l,e.opacity);if(e instanceof Si||(e=zi(e)),!e)return new Gi;if(e instanceof Gi)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,u=i-o,c=(i+o)/2;return u?(a=t===i?(n-r)/u+6*(n0&&c<1?0:a,new Gi(a,u,c,e.opacity)}(e):new Gi(e,t,n,null==r?1:r)}function Gi(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Xi(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Oi(Si,zi,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Oi(Vi,Ui,ki(Si,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Vi(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Vi(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+$i(this.r)+$i(this.g)+$i(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),Oi(Gi,qi,ki(Si,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Gi(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Gi(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Vi(Xi(e>=240?e-240:e+120,o,r),Xi(e,o,r),Xi(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var Ki=Math.PI/180,Yi=180/Math.PI,Qi=.96422,Zi=1,Ji=.82521,ea=4/29,ta=6/29,na=3*ta*ta,ra=ta*ta*ta;function oa(e){if(e instanceof aa)return new aa(e.l,e.a,e.b,e.opacity);if(e instanceof da)return ha(e);e instanceof Vi||(e=Bi(e));var t,n,r=sa(e.r),o=sa(e.g),i=sa(e.b),a=ua((.2225045*r+.7168786*o+.0606169*i)/Zi);return r===o&&o===i?t=n=a:(t=ua((.4360747*r+.3850649*o+.1430804*i)/Qi),n=ua((.0139322*r+.0971045*o+.7141733*i)/Ji)),new aa(116*a-16,500*(t-a),200*(a-n),e.opacity)}function ia(e,t,n,r){return 1===arguments.length?oa(e):new aa(e,t,n,null==r?1:r)}function aa(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function ua(e){return e>ra?Math.pow(e,1/3):e/na+ea}function ca(e){return e>ta?e*e*e:na*(e-ea)}function la(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function sa(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function fa(e){if(e instanceof da)return new da(e.h,e.c,e.l,e.opacity);if(e instanceof aa||(e=oa(e)),0===e.a&&0===e.b)return new da(NaN,0180||n<-180?n-360*Math.round(n/360):n):Ea(isNaN(e)?t:e)}function Ma(e){return 1===(e=+e)?Ca:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Ea(isNaN(t)?n:t)}}function Ca(e,t){var n=t-e;return n?ja(e,n):Ea(isNaN(e)?t:e)}var Pa=function e(t){var n=Ma(t);function r(e,t){var r=n((e=Ui(e)).r,(t=Ui(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=Ca(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function Aa(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),u=new Array(o);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,u=ri&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:Na(n,r)})),i=Ia.lastIndex;return i180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:Na(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}(i.rotate,a.rotate,u,c),function(e,t,n,i){e!==t?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:Na(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}(i.skewX,a.skewX,u,c),function(e,t,n,r,i,a){if(e!==n||t!==r){var u=i.push(o(i)+"scale(",null,",",null,")");a.push({i:u-4,x:Na(e,n)},{i:u-2,x:Na(t,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,u,c),i=a=null,function(e){for(var t,n=-1,r=c.length;++nr&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function tu(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o2?nu:tu,o=i=null,f}function f(t){return isNaN(t=+t)?n:(o||(o=r(a.map(e),u,c)))(e(l(t)))}return f.invert=function(n){return l(t((i||(i=r(u,a.map(e),Na)))(n)))},f.domain=function(e){return arguments.length?(a=mi.call(e,Ya),l===Za||(l=eu(a)),s()):a.slice()},f.range=function(e){return arguments.length?(u=gi.call(e),s()):u.slice()},f.rangeRound=function(e){return u=gi.call(e),c=Ba,s()},f.clamp=function(e){return arguments.length?(l=e?eu(a):Za,f):l!==Za},f.interpolate=function(e){return arguments.length?(c=e,s()):c},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,s()}}function iu(e,t){return ou()(e,t)}var au=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]},uu=function(e){return(e=au(Math.abs(e)))?e[1]:NaN},cu=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function lu(e){return new su(e)}function su(e){if(!(t=cu.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}lu.prototype=su.prototype,su.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var fu,pu,du,hu,vu=function(e){e:for(var t,n=e.length,r=1,o=-1;r0){if(!+e[r])break e;o=0}}return o>0?e.slice(0,o)+e.slice(t+1):e},yu=function(e,t){var n=au(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},mu={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return yu(100*e,t)},r:yu,s:function(e,t){var n=au(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(fu=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+au(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},gu=function(e){return e},bu=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];pu=function(e){var t,n,r=e.grouping&&e.thousands?(t=e.grouping,n=e.thousands,function(e,r){for(var o=e.length,i=[],a=0,u=t[0],c=0;o>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(e.substring(o-=u,o+u)),!((c+=u+1)>r));)u=t[a=(a+1)%t.length];return i.reverse().join(n)}):gu,o=e.currency,i=e.decimal,a=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(e.numerals):gu,u=e.percent||"%";function c(e){var t=(e=lu(e)).fill,n=e.align,c=e.sign,l=e.symbol,s=e.zero,f=e.width,p=e.comma,d=e.precision,h=e.trim,v=e.type;"n"===v?(p=!0,v="g"):mu[v]||(null==d&&(d=12),h=!0,v="g"),(s||"0"===t&&"="===n)&&(s=!0,t="0",n="=");var y="$"===l?o[0]:"#"===l&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",m="$"===l?o[1]:/[%p]/.test(v)?u:"",g=mu[v],b=/[defgprs%]/.test(v);function x(e){var o,u,l,x=y,w=m;if("c"===v)w=g(e)+w,e="";else{var _=(e=+e)<0;if(e=g(Math.abs(e),d),h&&(e=vu(e)),_&&0===+e&&(_=!1),x=(_?"("===c?c:"-":"-"===c||"("===c?"":c)+x,w=("s"===v?bu[8+fu/3]:"")+w+(_&&"("===c?")":""),b)for(o=-1,u=e.length;++o(l=e.charCodeAt(o))||l>57){w=(46===l?i+e.slice(o+1):e.slice(o))+w,e=e.slice(0,o);break}}p&&!s&&(e=r(e,1/0));var O=x.length+e.length+w.length,k=O>1)+x+e+w+k.slice(O);break;default:e=k+x+e+w}return a(e)}return d=null==d?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,d)):Math.max(0,Math.min(20,d)),x.toString=function(){return e+""},x}return{format:c,formatPrefix:function(e,t){var n=c(((e=lu(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(uu(t)/3))),o=Math.pow(10,-r),i=bu[8+r/3];return function(e){return n(o*e)+i}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),du=pu.format,hu=pu.formatPrefix;var xu=function(e,t,n,r){var o,i=ai(e,t,n);switch((r=lu(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(uu(t)/3)))-uu(Math.abs(e)))}(i,a))||(r.precision=o),hu(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,uu(t)-uu(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-uu(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return du(r)};function wu(e){var t=e.domain;return e.ticks=function(e){var n=t();return oi(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return xu(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o=t(),i=0,a=o.length-1,u=o[i],c=o[a];return c0?r=ii(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=ii(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,n)),r>0?(o[i]=Math.floor(u/r)*r,o[a]=Math.ceil(c/r)*r,t(o)):r<0&&(o[i]=Math.ceil(u*r)/r,o[a]=Math.floor(c*r)/r,t(o)),e},e}function _u(){var e=iu(Za,Za);return e.copy=function(){return ru(e,_u())},ci.apply(e,arguments),wu(e)}function Ou(e){var t;function n(e){return isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=mi.call(t,Ya),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return Ou(e).unknown(t)},e=arguments.length?mi.call(e,Ya):[0,1],wu(n)}var ku=function(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a0){for(;pc)break;v.push(f)}}else for(;p=1;--s)if(!((f=l*s)c)break;v.push(f)}}else v=oi(p,d,Math.min(d-p,h)).map(n);return r?v.reverse():v},r.tickFormat=function(e,o){if(null==o&&(o=10===i?".0e":","),"function"!==typeof o&&(o=du(o)),e===1/0)return o;null==e&&(e=10);var a=Math.max(1,i*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*i0?r[o-1]:t[0],o=r?[o[r-1],n]:[o[a-1],o[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return $u().domain([t,n]).range(i).unknown(e)},ci.apply(wu(a),arguments)}function Hu(){var e,t=[.5],n=[0,1],r=1;function o(o){return o<=o?n[Qo(t,o,0,r)]:e}return o.domain=function(e){return arguments.length?(t=gi.call(e),r=Math.min(t.length,n.length-1),o):t.slice()},o.range=function(e){return arguments.length?(n=gi.call(e),r=Math.min(t.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return Hu().domain(t).range(n).unknown(e)},ci.apply(o,arguments)}var qu=new Date,Gu=new Date;function Xu(e,t,n,r){function o(t){return e(t=new Date(+t)),t}return o.floor=o,o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t0))return u;do{u.push(a=new Date(+n)),t(n,i),e(n)}while(a=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(o.count=function(t,r){return qu.setTime(+t),Gu.setTime(+r),e(qu),e(Gu),Math.floor(n(qu,Gu))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e===0}:function(t){return o.count(0,t)%e===0}):o:null}),o}var Ku=Xu(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});Ku.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Xu(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):Ku:null};var Yu=Ku,Qu=(Ku.range,6e4),Zu=6048e5,Ju=Xu(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()}),ec=Ju,tc=(Ju.range,Xu(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},function(e,t){e.setTime(+e+t*Qu)},function(e,t){return(t-e)/Qu},function(e){return e.getMinutes()})),nc=tc,rc=(tc.range,Xu(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-e.getMinutes()*Qu)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()})),oc=rc,ic=(rc.range,Xu(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Qu)/864e5},function(e){return e.getDate()-1})),ac=ic;ic.range;function uc(e){return Xu(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Qu)/Zu})}var cc=uc(0),lc=uc(1),sc=uc(2),fc=uc(3),pc=uc(4),dc=uc(5),hc=uc(6),vc=(cc.range,lc.range,sc.range,fc.range,pc.range,dc.range,hc.range,Xu(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()})),yc=vc,mc=(vc.range,Xu(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()}));mc.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Xu(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var gc=mc,bc=(mc.range,Xu(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*Qu)},function(e,t){return(t-e)/Qu},function(e){return e.getUTCMinutes()})),xc=bc,wc=(bc.range,Xu(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()})),_c=wc,Oc=(wc.range,Xu(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1})),kc=Oc;Oc.range;function Sc(e){return Xu(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/Zu})}var Ec=Sc(0),jc=Sc(1),Tc=Sc(2),Mc=Sc(3),Cc=Sc(4),Pc=Sc(5),Ac=Sc(6),Nc=(Ec.range,jc.range,Tc.range,Mc.range,Cc.range,Pc.range,Ac.range,Xu(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()})),Rc=Nc,Ic=(Nc.range,Xu(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()}));Ic.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Xu(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var Dc=Ic;Ic.range;function Lc(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function zc(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Fc(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var Wc,Bc,Uc,Vc,$c={"-":"",_:" ",0:"0"},Hc=/^\s*\d+/,qc=/^%/,Gc=/[\\^$*+?|[\]().{}]/g;function Xc(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i68?1900:2e3),n+r[0].length):-1}function il(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function al(e,t,n){var r=Hc.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function ul(e,t,n){var r=Hc.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function cl(e,t,n){var r=Hc.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function ll(e,t,n){var r=Hc.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function sl(e,t,n){var r=Hc.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function fl(e,t,n){var r=Hc.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function pl(e,t,n){var r=Hc.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function dl(e,t,n){var r=Hc.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function hl(e,t,n){var r=qc.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function vl(e,t,n){var r=Hc.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function yl(e,t,n){var r=Hc.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function ml(e,t){return Xc(e.getDate(),t,2)}function gl(e,t){return Xc(e.getHours(),t,2)}function bl(e,t){return Xc(e.getHours()%12||12,t,2)}function xl(e,t){return Xc(1+ac.count(gc(e),e),t,3)}function wl(e,t){return Xc(e.getMilliseconds(),t,3)}function _l(e,t){return wl(e,t)+"000"}function Ol(e,t){return Xc(e.getMonth()+1,t,2)}function kl(e,t){return Xc(e.getMinutes(),t,2)}function Sl(e,t){return Xc(e.getSeconds(),t,2)}function El(e){var t=e.getDay();return 0===t?7:t}function jl(e,t){return Xc(cc.count(gc(e),e),t,2)}function Tl(e,t){var n=e.getDay();return e=n>=4||0===n?pc(e):pc.ceil(e),Xc(pc.count(gc(e),e)+(4===gc(e).getDay()),t,2)}function Ml(e){return e.getDay()}function Cl(e,t){return Xc(lc.count(gc(e),e),t,2)}function Pl(e,t){return Xc(e.getFullYear()%100,t,2)}function Al(e,t){return Xc(e.getFullYear()%1e4,t,4)}function Nl(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Xc(t/60|0,"0",2)+Xc(t%60,"0",2)}function Rl(e,t){return Xc(e.getUTCDate(),t,2)}function Il(e,t){return Xc(e.getUTCHours(),t,2)}function Dl(e,t){return Xc(e.getUTCHours()%12||12,t,2)}function Ll(e,t){return Xc(1+kc.count(Dc(e),e),t,3)}function zl(e,t){return Xc(e.getUTCMilliseconds(),t,3)}function Fl(e,t){return zl(e,t)+"000"}function Wl(e,t){return Xc(e.getUTCMonth()+1,t,2)}function Bl(e,t){return Xc(e.getUTCMinutes(),t,2)}function Ul(e,t){return Xc(e.getUTCSeconds(),t,2)}function Vl(e){var t=e.getUTCDay();return 0===t?7:t}function $l(e,t){return Xc(Ec.count(Dc(e),e),t,2)}function Hl(e,t){var n=e.getUTCDay();return e=n>=4||0===n?Cc(e):Cc.ceil(e),Xc(Cc.count(Dc(e),e)+(4===Dc(e).getUTCDay()),t,2)}function ql(e){return e.getUTCDay()}function Gl(e,t){return Xc(jc.count(Dc(e),e),t,2)}function Xl(e,t){return Xc(e.getUTCFullYear()%100,t,2)}function Kl(e,t){return Xc(e.getUTCFullYear()%1e4,t,4)}function Yl(){return"+0000"}function Ql(){return"%"}function Zl(e){return+e}function Jl(e){return Math.floor(+e/1e3)}!function(e){Wc=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,u=e.months,c=e.shortMonths,l=Yc(o),s=Qc(o),f=Yc(i),p=Qc(i),d=Yc(a),h=Qc(a),v=Yc(u),y=Qc(u),m=Yc(c),g=Qc(c),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:ml,e:ml,f:_l,H:gl,I:bl,j:xl,L:wl,m:Ol,M:kl,p:function(e){return o[+(e.getHours()>=12)]},Q:Zl,s:Jl,S:Sl,u:El,U:jl,V:Tl,w:Ml,W:Cl,x:null,X:null,y:Pl,Y:Al,Z:Nl,"%":Ql},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:Rl,e:Rl,f:Fl,H:Il,I:Dl,j:Ll,L:zl,m:Wl,M:Bl,p:function(e){return o[+(e.getUTCHours()>=12)]},Q:Zl,s:Jl,S:Ul,u:Vl,U:$l,V:Hl,w:ql,W:Gl,x:null,X:null,y:Xl,Y:Kl,Z:Yl,"%":Ql},w={a:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=y[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:ul,e:ul,f:dl,H:ll,I:ll,j:cl,L:pl,m:al,M:sl,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=s[r[0].toLowerCase()],n+r[0].length):-1},Q:vl,s:yl,S:fl,u:Jc,U:el,V:tl,w:Zc,W:nl,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:ol,Y:rl,Z:il,"%":hl};function _(e,t){return function(n){var r,o,i,a=[],u=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++u53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=zc(Fc(i.y))).getUTCDay(),r=o>4||0===o?jc.ceil(r):jc(r),r=kc.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=t(Fc(i.y))).getDay(),r=o>4||0===o?lc.ceil(r):lc(r),r=ac.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?zc(Fc(i.y)).getUTCDay():t(Fc(i.y)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,zc(i)):t(i)}}function k(e,t,n,r){for(var o,i,a=0,u=t.length,c=n.length;a=c)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in $c?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=_(n,b),b.X=_(r,b),b.c=_(t,b),x.x=_(n,x),x.X=_(r,x),x.c=_(t,x),{format:function(e){var t=_(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=O(e+="",Lc);return t.toString=function(){return e},t},utcFormat:function(e){var t=_(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=O(e,zc);return t.toString=function(){return e},t}}}(e),Bc=Wc.format,Wc.parse,Uc=Wc.utcFormat,Vc=Wc.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Date.prototype.toISOString||Uc("%Y-%m-%dT%H:%M:%S.%LZ");+new Date("2000-01-01T00:00:00.000Z")||Vc("%Y-%m-%dT%H:%M:%S.%LZ");var es=1e3,ts=60*es,ns=60*ts,rs=24*ns,os=7*rs,is=30*rs,as=365*rs;function us(e){return new Date(e)}function cs(e){return e instanceof Date?+e:+new Date(+e)}function ls(e,t,n,r,o,i,a,u,c){var l=iu(Za,Za),s=l.invert,f=l.domain,p=c(".%L"),d=c(":%S"),h=c("%I:%M"),v=c("%I %p"),y=c("%a %d"),m=c("%b %d"),g=c("%B"),b=c("%Y"),x=[[a,1,es],[a,5,5*es],[a,15,15*es],[a,30,30*es],[i,1,ts],[i,5,5*ts],[i,15,15*ts],[i,30,30*ts],[o,1,ns],[o,3,3*ns],[o,6,6*ns],[o,12,12*ns],[r,1,rs],[r,2,2*rs],[n,1,os],[t,1,is],[t,3,3*is],[e,1,as]];function w(u){return(a(u)1&&void 0!==arguments[1]?arguments[1]:{}).bandAware;if(void 0!==e){if(t){var n=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+n}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}},{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}}]),e}();qs.EPS=1e-4;var Gs,Xs,Ks,Ys=function(){function e(t){Ws(this,e),this.scales=Fs()(t,qs.create),Object.assign(this,this.scales)}return Us(e,null,[{key:"create",value:function(e){return new this(e)}}]),Us(e,[{key:"apply",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).bandAware,n=this.scales;return Fs()(e,function(e,r){return n[r].apply(e,{bandAware:t})})}},{key:"isInRange",value:function(e){var t=this.scales;return Ls()(e,function(e,n){return t[n].isInRange(e)})}}]),e}();function Qs(e){return(Qs="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zs(){return(Zs=Object.assign||function(e){for(var t=1;t=0?1:-1,c=n>=0?1:-1,l=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&o instanceof Array){for(var s=[],f=0;f<4;f++)s[f]=o[f]>a?a:o[f];i="M".concat(e,",").concat(t+u*s[0]),s[0]>0&&(i+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(l,",").concat(e+c*s[0],",").concat(t)),i+="L ".concat(e+n-c*s[1],",").concat(t),s[1]>0&&(i+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(l,",\n ").concat(e+n,",").concat(t+u*s[1])),i+="L ".concat(e+n,",").concat(t+r-u*s[2]),s[2]>0&&(i+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(l,",\n ").concat(e+n-c*s[2],",").concat(t+r)),i+="L ".concat(e+c*s[3],",").concat(t+r),s[3]>0&&(i+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(l,",\n ").concat(e,",").concat(t+r-u*s[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);i="M ".concat(e,",").concat(t+u*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(e+c*p,",").concat(t,"\n L ").concat(e+n-c*p,",").concat(t,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(e+n,",").concat(t+u*p,"\n L ").concat(e+n,",").concat(t+r-u*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(e+n-c*p,",").concat(t+r,"\n L ").concat(e+c*p,",").concat(t+r,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(e,",").concat(t+r-u*p," Z")}else i="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return i},wf=v((cf=uf=function(e){function t(){var e,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0,from:{width:o,height:i,x:n,y:r},to:{width:o,height:i,x:n,y:r},duration:p,animationEasing:f,isActive:v},function(t){var n=t.width,r=t.height,o=t.x,i=t.y;return s.a.createElement(jr,{canBegin:c>0,from:"0px ".concat(-1===c?1:c,"px"),to:"".concat(c,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:p,isActive:h,easing:f},s.a.createElement("path",pf({},Z(e.props),ee(e.props),{className:y,d:xf(o,i,n,r,a),ref:function(t){e.node=t}})))}):s.a.createElement("path",pf({},Z(this.props),ee(this.props),{className:y,d:xf(n,r,o,i,a)}))}}])&&df(n.prototype,r),o&&df(n,o),t}(),uf.displayName="Rectangle",uf.propTypes=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function If(e,t){for(var n=0;n=0});if(i&&i.length){var a=i.map(function(e){return e.props.dataKey});return e.reduce(function(e,t){var r=$f(t,n,0),o=S()(r)?[Vo()(r),Bo()(r)]:[r,r],i=a.reduce(function(e,n){var r=$f(t,n,0),i=o[0]-Math.abs(S()(r)?r[0]:r),a=o[1]+Math.abs(S()(r)?r[1]:r);return[Math.min(i,e[0]),Math.max(a,e[1])]},[1/0,-1/0]);return[Math.min(i[0],e[0]),Math.max(i[1],e[1])]},[1/0,-1/0])}return null},Kf=function(e,t,n,r){var o=t.map(function(t){var o=t.props.dataKey;return"number"===n&&o&&Xf(e,t,o)||Hf(e,o,n,r)});if("number"===n)return o.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]);var i={};return o.reduce(function(e,t){for(var n=0,r=t.length;n=0||t.indexOf("AreaChart")>=0)?{scale:_i(),realScaleType:"point"}:"category"===o?{scale:wi(),realScaleType:"band"}:{scale:_u(),realScaleType:"linear"};if(w()(n)){var c="scale".concat(n.slice(0,1).toUpperCase()).concat(n.slice(1));return{scale:(r[c]||_i)(),realScaleType:r[c]?c:"point"}}return a()(n)?{scale:n}:{scale:_i(),realScaleType:"point"}},tp=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),o=Math.min(r[0],r[1])-1e-4,i=Math.max(r[0],r[1])+1e-4,a=e(t[0]),u=e(t[n-1]);(ai||ui)&&e.domain([t[0],t[n-1]])}},np={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n=0?(e[a][n][0]=o,e[a][n][1]=o+u,o=e[a][n][1]):(e[a][n][0]=i,e[a][n][1]=i+u,i=e[a][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i0){for(var n,r=0,o=e[t[0]],i=o.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a=2){for(var n=Mr()(t,function(e){return e.coordinate}),r=1/0,o=1,i=n.length;oi&&(c=2*Math.PI-c),{radius:a,angle:mp(c),angleInRadian:c}},xp=function(e,t){var n=t.startAngle,r=t.endAngle,o=Math.floor(n/360),i=Math.floor(r/360);return e+360*Math.min(o,i)},wp=function(e,t){var n=e.x,r=e.y,o=bp({x:n,y:r},t),i=o.radius,a=o.angle,u=t.innerRadius,c=t.outerRadius;if(ic)return!1;if(0===i)return!0;var l,s=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),o=Math.floor(n/360),i=Math.min(r,o);return{startAngle:t-360*i,endAngle:n-360*i}}(t),f=s.startAngle,p=s.endAngle,d=a;if(f<=p){for(;d>p;)d-=360;for(;d=f&&d<=p}else{for(;d>f;)d-=360;for(;d=p&&d<=f}return l?hp({},t,{radius:i,angle:xp(d,t)}):null};function _p(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0?1:-1;"insideStart"===i?(r=h+w*u,o=y):"insideEnd"===i?(r=v-w*u,o=!y):"end"===i&&(r=v+w*u,o=y),o=x<=0?o:!o;var _=gp(l,f,g,r),O=gp(l,f,g,r+359*(o?1:-1)),k="M".concat(_.x,",").concat(_.y,"\n A").concat(g,",").concat(g,",0,1,").concat(o?0:1,",\n ").concat(O.x,",").concat(O.y),S=b()(e.id)?L("recharts-radial-line-"):e.id;return s.a.createElement("text",Op({},n,{dominantBaseline:"central",className:m()("recharts-radial-bar-label",c)}),s.a.createElement("defs",null,s.a.createElement("path",{id:S,d:k})),s.a.createElement("textPath",{xlinkHref:"#".concat(S)},t))},Cp=function(e){var t=e.viewBox,n=e.offset,r=e.position,o=t.cx,i=t.cy,a=t.innerRadius,u=t.outerRadius,c=(t.startAngle+t.endAngle)/2;if("outside"===r){var l=gp(o,i,u+n,c),s=l.x;return{x:s,y:l.y,textAnchor:s>=o?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"end"};var f=gp(o,i,(a+u)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},Pp=function(e){var t=e.viewBox,n=e.offset,r=e.position,o=t.x,i=t.y,a=t.width,u=t.height,c=u>=0?1:-1;return"top"===r?{x:o+a/2,y:i-c*n,textAnchor:"middle",verticalAnchor:c>0?"end":"start"}:"bottom"===r?{x:o+a/2,y:i+u+c*n,textAnchor:"middle",verticalAnchor:"start"}:"left"===r?{x:o-n,y:i+u/2,textAnchor:"end",verticalAnchor:"middle"}:"right"===r?{x:o+a+n,y:i+u/2,textAnchor:"start",verticalAnchor:"middle"}:"insideLeft"===r?{x:o+n,y:i+u/2,textAnchor:"start",verticalAnchor:"middle"}:"insideRight"===r?{x:o+a-n,y:i+u/2,textAnchor:"end",verticalAnchor:"middle"}:"insideTop"===r?{x:o+a/2,y:i+c*n,textAnchor:"middle",verticalAnchor:"start"}:"insideBottom"===r?{x:o+a/2,y:i+u-c*n,textAnchor:"middle",verticalAnchor:"end"}:"insideTopLeft"===r?{x:o+n,y:i+c*n,textAnchor:"start",verticalAnchor:"start"}:"insideTopRight"===r?{x:o+a-n,y:i+c*n,textAnchor:"end",verticalAnchor:"start"}:"insideBottomLeft"===r?{x:o+n,y:i+u-c*n,textAnchor:"start",verticalAnchor:"end"}:"insideBottomRight"===r?{x:o+a-n,y:i+u-c*n,textAnchor:"end",verticalAnchor:"end"}:O()(r)&&(R(r.x)||N(r.x))&&(R(r.y)||N(r.y))?{x:o+z(r.x,a),y:i+z(r.y,u),textAnchor:"end",verticalAnchor:"end"}:{x:o+a/2,y:i+u/2,textAnchor:"middle",verticalAnchor:"middle"}},Ap=function(e){return R(e.cx)};function Np(e){var t,n=e.viewBox,r=e.position,o=e.value,i=e.children,u=e.content,c=e.className,f=void 0===c?"":c;if(!n||b()(o)&&b()(i)&&!Object(l.isValidElement)(u)&&!a()(u))return null;if(Object(l.isValidElement)(u))return Object(l.cloneElement)(u,e);if(a()(u)){if(t=u(e),Object(l.isValidElement)(t))return t}else t=Tp(e);var p=Ap(n),d=Z(e);if(p&&("insideStart"===r||"insideEnd"===r||"end"===r))return Mp(e,t,d);var h=p?Cp(e):Pp(e);return s.a.createElement(Fo,Op({className:m()("recharts-label",f)},d,h),t)}Np.displayName="Label",Np.defaultProps={offset:5},Np.propTypes=jp;var Rp=function(e){var t=e.cx,n=e.cy,r=e.angle,o=e.startAngle,i=e.endAngle,a=e.r,u=e.radius,c=e.innerRadius,l=e.outerRadius,s=e.x,f=e.y,p=e.top,d=e.left,h=e.width,v=e.height,y=e.clockWise;if(R(h)&&R(v)){if(R(s)&&R(f))return{x:s,y:f,width:h,height:v};if(R(p)&&R(d))return{x:p,y:d,width:h,height:v}}return R(s)&&R(f)?{x:s,y:f,width:0,height:0}:R(t)&&R(n)?{cx:t,cy:n,startAngle:o||r||0,endAngle:i||r||0,innerRadius:c||0,outerRadius:l||u||a||0,clockWise:y}:e.viewBox?e.viewBox:{}};Np.parseViewBox=Rp,Np.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,o=Rp(e),i=Y(r,Np).map(function(e,n){return Object(l.cloneElement)(e,{viewBox:t||o,key:"label-".concat(n)})});return n?[function(e,t){return e?!0===e?s.a.createElement(Np,{key:"label-implicit",viewBox:t}):I(e)?s.a.createElement(Np,{key:"label-implicit",viewBox:t,value:e}):Object(l.isValidElement)(e)?e.type===Np?Object(l.cloneElement)(e,{key:"label-implicit",viewBox:t}):s.a.createElement(Np,{key:"label-implicit",content:e,viewBox:t}):a()(e)?s.a.createElement(Np,{key:"label-implicit",content:e,viewBox:t}):O()(e)?s.a.createElement(Np,Op({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||o)].concat(_p(i)):i};var Ip,Dp,Lp,zp=Np;function Fp(e){return(Fp="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wp(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function td(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Pd={id:p.a.string,data:p.a.arrayOf(p.a.object),valueAccessor:p.a.func,clockWise:p.a.bool,dataKey:p.a.oneOfType([p.a.string,p.a.number,p.a.func])},Ad={valueAccessor:function(e){return S()(e.value)?Sd()(e.value):e.value}};function Nd(e){var t=e.data,n=e.valueAccessor,r=e.dataKey,o=e.clockWise,i=e.id,a=Cd(e,["data","valueAccessor","dataKey","clockWise","id"]);return t&&t.length?s.a.createElement(bo,{className:"recharts-label-list"},t.map(function(e,t){var u=b()(r)?n(e,t):$f(e&&e.payload,r),c=b()(i)?{}:{id:"".concat(i,"-").concat(t)};return s.a.createElement(zp,jd({},Z(e),a,c,{index:t,value:u,viewBox:zp.parseViewBox(b()(o)?e:Td({},e,{clockWise:o})),key:"label-".concat(t)}))})):null}Nd.propTypes=Pd,Nd.displayName="LabelList";Nd.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,o=Y(r,Nd).map(function(e,n){return Object(l.cloneElement)(e,{data:t,key:"labelList-".concat(n)})});return n?[function(e,t){return e?!0===e?s.a.createElement(Nd,{key:"labelList-implicit",data:t}):s.a.isValidElement(e)||a()(e)?s.a.createElement(Nd,{key:"labelList-implicit",data:t,content:e}):O()(e)?s.a.createElement(Nd,jd({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(Ed(o)):o},Nd.defaultProps=Ad;var Rd,Id,Dd,Ld=Nd;function zd(e){return(zd="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fd(){return(Fd=Object.assign||function(e){for(var t=1;t0||!pn()(u,r)||!pn()(c,o))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,o,e,t)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,o=e.className,i=e.top,a=e.left,u=e.xAxis,c=e.yAxis,l=e.width,f=e.height,p=e.isAnimationActive,d=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,v=1===r.length,y=m()("recharts-area",o),g=u&&u.allowDataOverflow||c&&c.allowDataOverflow,x=b()(d)?this.id:d;return s.a.createElement(bo,{className:y},g?s.a.createElement("defs",null,s.a.createElement("clipPath",{id:"clipPath-".concat(x)},s.a.createElement("rect",{x:a,y:i,width:l,height:parseInt(f,10)}))):null,v?null:this.renderArea(g,x),(n||v)&&this.renderDots(g,x),(!p||h)&&Ld.renderCallByParent(this.props,r))}}])&&Ud(n.prototype,r),o&&Ud(n,o),t}(),Id.displayName="Area",Id.propTypes=Wd({},$,H,{className:p.a.string,dataKey:p.a.oneOfType([p.a.string,p.a.number,p.a.func]).isRequired,type:p.a.oneOfType([p.a.oneOf(["basis","basisClosed","basisOpen","linear","linearClosed","natural","monotoneX","monotoneY","monotone","step","stepBefore","stepAfter"]),p.a.func]),unit:p.a.oneOfType([p.a.string,p.a.number]),name:p.a.oneOfType([p.a.string,p.a.number]),yAxisId:p.a.oneOfType([p.a.string,p.a.number]),xAxisId:p.a.oneOfType([p.a.string,p.a.number]),yAxis:p.a.object,xAxis:p.a.object,stackId:p.a.oneOfType([p.a.number,p.a.string]),legendType:p.a.oneOf(G),tooltipType:p.a.oneOf(X),connectNulls:p.a.bool,activeDot:p.a.oneOfType([p.a.object,p.a.element,p.a.func,p.a.bool]),dot:p.a.oneOfType([p.a.func,p.a.element,p.a.object,p.a.bool]),label:p.a.oneOfType([p.a.func,p.a.element,p.a.object,p.a.bool]),hide:p.a.bool,layout:p.a.oneOf(["horizontal","vertical"]),baseLine:p.a.oneOfType([p.a.number,p.a.array]),isRange:p.a.bool,points:p.a.arrayOf(p.a.shape({x:p.a.number,y:p.a.number,value:p.a.oneOfType([p.a.number,p.a.array])})),onAnimationStart:p.a.func,onAnimationEnd:p.a.func,animationId:p.a.number,isAnimationActive:p.a.bool,animationBegin:p.a.number,animationDuration:p.a.number,animationEasing:p.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),id:p.a.string}),Id.defaultProps={stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!oe(),animationBegin:0,animationDuration:1500,animationEasing:"ease"},Id.getBaseValue=function(e,t,n){var r=e.layout,o=e.baseValue;if(R(o))return o;var i="horizontal"===r?n:t,a=i.scale.domain();if("number"===i.type){var u=Math.max(a[0],a[1]),c=Math.min(a[0],a[1]);return"dataMin"===o?c:"dataMax"===o?u:u<0?u:Math.max(Math.min(a[0],a[1]),0)}return"dataMin"===o?a[0]:"dataMax"===o?a[1]:a[0]},Id.getComposedData=function(e){var t,n=e.props,r=e.xAxis,o=e.yAxis,i=e.xAxisTicks,a=e.yAxisTicks,u=e.bandSize,c=e.dataKey,l=e.stackedData,s=e.dataStartIndex,f=e.displayedData,p=e.offset,d=n.layout,h=l&&l.length,v=Kd.getBaseValue(n,r,o),y=!1,m=f.map(function(e,t){var n;return h?n=l[s+t]:(n=$f(e,c),S()(n)?y=!0:n=[v,n]),"horizontal"===d?{x:ip({axis:r,ticks:i,bandSize:u,entry:e,index:t}),y:b()(n[1])?null:o.scale(n[1]),value:n,payload:e}:{x:b()(n[1])?null:r.scale(n[1]),y:ip({axis:o,ticks:a,bandSize:u,entry:e,index:t}),value:n,payload:e}});return t=h||y?m.map(function(e){return"horizontal"===d?{x:e.x,y:b()(j()(e,"value[0]"))?null:o.scale(j()(e,"value[0]"))}:{x:b()(j()(e,"value[0]"))?null:r.scale(j()(e,"value[0]")),y:e.y}}):"horizontal"===d?o.scale(v):r.scale(v),Wd({points:m,baseLine:t,layout:d,isRange:y},p)},Id.renderDotItem=function(e,t){return s.a.isValidElement(e)?s.a.cloneElement(e,t):a()(e)?e(t):s.a.createElement(Is,Fd({},t,{className:"recharts-area-dot"}))},Rd=Dd))||Rd,Yd=Kd;function Qd(e){return(Qd="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zd(e,t){for(var n=0;n180),",").concat(+(i>u),",\n ").concat(l.x,",").concat(l.y,"\n ");if(r>0){var f=gp(t,n,r,i),p=gp(t,n,r,u);s+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i<=u),",\n ").concat(f.x,",").concat(f.y," Z")}else s+="L ".concat(t,",").concat(n," Z");return s},Bh=v((Ch=Mh=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Dh(this,Lh(t).apply(this,arguments))}var n,r,o;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}(t,l["Component"]),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,u=e.cornerIsExternal,c=e.startAngle,l=e.endAngle,f=e.className;if(o0&&Math.abs(c-l)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,u=e.cornerIsExternal,c=e.startAngle,l=e.endAngle,s=A(l-c),f=Fh({cx:t,cy:n,radius:o,angle:c,sign:s,cornerRadius:i,cornerIsExternal:u}),p=f.circleTangency,d=f.lineTangency,h=f.theta,v=Fh({cx:t,cy:n,radius:o,angle:l,sign:-s,cornerRadius:i,cornerIsExternal:u}),y=v.circleTangency,m=v.lineTangency,g=v.theta,b=Math.abs(c-l)-h-g;if(b<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n "):Wh({cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:c,endAngle:l});var x="M ".concat(d.x,",").concat(d.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n A").concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(s<0),",").concat(y.x,",").concat(y.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(m.x,",").concat(m.y,"\n ");if(r>0){var w=Fh({cx:t,cy:n,radius:r,angle:c,sign:s,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),_=w.circleTangency,O=w.lineTangency,k=w.theta,S=Fh({cx:t,cy:n,radius:r,angle:l,sign:-s,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),E=S.circleTangency,j=S.lineTangency,T=S.theta,M=Math.abs(c-l)-k-T;if(M<0)return"".concat(x,"L").concat(t,",").concat(n,"Z");x+="L".concat(j.x,",").concat(j.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(E.x,",").concat(E.y,"\n A").concat(r,",").concat(r,",0,").concat(+(M>180),",").concat(+(s>0),",").concat(_.x,",").concat(_.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(O.x,",").concat(O.y,"Z")}else x+="L".concat(t,",").concat(n,"Z");return x}({cx:t,cy:n,innerRadius:r,outerRadius:o,cornerRadius:Math.min(v,h/2),forceCornerRadius:a,cornerIsExternal:u,startAngle:c,endAngle:l}):Wh({cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:c,endAngle:l}),s.a.createElement("path",Rh({},Z(this.props),ee(this.props),{className:d,d:p}))}}])&&Ih(n.prototype,r),o&&Ih(n,o),t}(),Mh.displayName="Sector",Mh.propTypes=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Gh(e,t){for(var n=0;n=2?A(y[1].coordinate-y[0].coordinate):1;if(1===b?(n="width"===v?f:p,r="width"===v?f+d:p+h):(n="width"===v?f+d:p+h,r="width"===v?f:p),t){var x=o[g-1],w=a()(i)?i(x.value):x.value,_=To(w)[v]+m,O=b*(x.coordinate+b*_/2-r);y[g-1]=x=$h({},x,{tickCoord:O>0?x.coordinate-O*b:x.coordinate}),b*(x.tickCoord-b*_/2-n)>=0&&b*(x.tickCoord+b*_/2-r)<=0&&(r=x.tickCoord-b*(_/2+l),y[g-1]=$h({},x,{isShow:!0}))}for(var k=t?g-1:g,S=0;S=0&&b*(E.tickCoord+b*T/2-r)<=0&&(n=E.tickCoord+b*(T/2+l),y[S]=$h({},E,{isShow:!0}))}return y.filter(function(e){return e.isShow})}},{key:"getTicksEnd",value:function(e){var t,n,r=e.ticks,o=e.tickFormatter,i=e.viewBox,u=e.orientation,c=e.minTickGap,l=e.unit,s=i.x,f=i.y,p=i.width,d=i.height,h="top"===u||"bottom"===u?"width":"height",v=l&&"width"===h?To(l)[h]:0,y=(r||[]).slice(),m=y.length,g=m>=2?A(y[1].coordinate-y[0].coordinate):1;1===g?(t="width"===h?s:f,n="width"===h?s+p:f+d):(t="width"===h?s+p:f+d,n="width"===h?s:f);for(var b=m-1;b>=0;b--){var x=y[b],w=a()(o)?o(x.value):x.value,_=To(w)[h]+v;if(b===m-1){var O=g*(x.coordinate+g*_/2-n);y[b]=x=$h({},x,{tickCoord:O>0?x.coordinate-O*g:x.coordinate})}else y[b]=x=$h({},x,{tickCoord:x.coordinate});g*(x.tickCoord-g*_/2-t)>=0&&g*(x.tickCoord+g*_/2-n)<=0&&(n=x.tickCoord-g*(_/2+c),y[b]=$h({},x,{isShow:!0}))}return y.filter(function(e){return e.isShow})}},{key:"renderTickItem",value:function(e,t,n){return s.a.isValidElement(e)?s.a.cloneElement(e,t):a()(e)?e(t):s.a.createElement(Fo,Vh({},t,{className:"recharts-cartesian-axis-tick-value"}),n)}}],(r=[{key:"shouldComponentUpdate",value:function(e,t){var n=e.viewBox,r=qh(e,["viewBox"]),o=this.props,i=o.viewBox,a=qh(o,["viewBox"]);return!d(n,i)||!d(r,a)||!d(t,this.state)}},{key:"getTickLineCoord",value:function(e){var t,n,r,o,i,a,u=this.props,c=u.x,l=u.y,s=u.width,f=u.height,p=u.orientation,d=u.tickSize,h=u.mirror,v=u.tickMargin,y=h?-1:1,m=e.tickSize||d,g=R(e.tickCoord)?e.tickCoord:e.coordinate;switch(p){case"top":t=n=e.coordinate,a=(r=(o=l+!h*f)-y*m)-y*v,i=g;break;case"left":r=o=e.coordinate,i=(t=(n=c+!h*s)-y*m)-y*v,a=g;break;case"right":r=o=e.coordinate,i=(t=(n=c+h*s)+y*m)+y*v,a=g;break;default:t=n=e.coordinate,a=(r=(o=l+h*f)+y*m)+y*v,i=g}return{line:{x1:t,y1:r,x2:n,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,n=t.orientation,r=t.mirror;switch(n){case"left":e=r?"start":"end";break;case"right":e=r?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,n=e.mirror,r="end";switch(t){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,o=e.height,i=e.orientation,a=e.axisLine,u=e.mirror,c=$h({},Z(this.props),{fill:"none"},Z(a));if("top"===i||"bottom"===i){var l="top"===i&&!u||"bottom"===i&&u;c=$h({},c,{x1:t,y1:n+l*o,x2:t+r,y2:n+l*o})}else{var f="left"===i&&!u||"right"===i&&u;c=$h({},c,{x1:t+f*r,y1:n,x2:t+f*r,y2:n+o})}return s.a.createElement("line",Vh({className:"recharts-cartesian-axis-line"},c))}},{key:"renderTicks",value:function(e){var n=this,r=this.props,o=r.tickLine,i=r.stroke,u=r.tick,c=r.tickFormatter,l=r.unit,f=t.getTicks($h({},this.props,{ticks:e})),p=this.getTickTextAnchor(),d=this.getTickVerticalAnchor(),h=Z(this.props),v=Z(u),y=$h({},h,{fill:"none"},Z(o)),m=f.map(function(e,t){var r=n.getTickLineCoord(e),m=r.line,g=r.tick,b=$h({textAnchor:p,verticalAnchor:d},h,{stroke:"none",fill:i},v,g,{index:t,payload:e,visibleTicksCount:f.length});return s.a.createElement(bo,Vh({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t)},ne(n.props,e,t)),o&&s.a.createElement("line",Vh({className:"recharts-cartesian-axis-tick-line"},y,m)),u&&n.constructor.renderTickItem(u,b,"".concat(a()(c)?c(e.value):e.value).concat(l||"")))});return s.a.createElement("g",{className:"recharts-cartesian-axis-ticks"},m)}},{key:"render",value:function(){var e=this.props,t=e.axisLine,n=e.width,r=e.height,o=e.ticksGenerator,i=e.className;if(e.hide)return null;var u=this.props,c=u.ticks,l=qh(u,["ticks"]),f=c;return a()(o)&&(f=c&&c.length>0?o(this.props):o(l)),n<=0||r<=0||!f||!f.length?null:s.a.createElement(bo,{className:m()("recharts-cartesian-axis",i)},t&&this.renderAxisLine(),this.renderTicks(f),zp.renderCallByParent(this.props))}}])&&Gh(n.prototype,r),o&&Gh(n,o),t}();Qh.displayName="CartesianAxis",Qh.propTypes=$h({},$,H,{className:p.a.string,x:p.a.number,y:p.a.number,width:p.a.number,height:p.a.number,orientation:p.a.oneOf(["top","bottom","left","right"]),viewBox:p.a.shape({x:p.a.number,y:p.a.number,width:p.a.number,height:p.a.number}),tick:p.a.oneOfType([p.a.bool,p.a.func,p.a.object,p.a.element]),axisLine:p.a.oneOfType([p.a.bool,p.a.object]),tickLine:p.a.oneOfType([p.a.bool,p.a.object]),mirror:p.a.bool,tickMargin:p.a.number.isRequired,minTickGap:p.a.number,ticks:p.a.array,tickSize:p.a.number,stroke:p.a.string,tickFormatter:p.a.func,ticksGenerator:p.a.func,interval:p.a.oneOfType([p.a.number,p.a.oneOf(["preserveStart","preserveEnd","preserveStartEnd"])])}),Qh.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"};var Zh=Qh;function Jh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ev,tv,nv,rv=["Webkit","Moz","O","ms"],ov=function(e,t){if(!e)return null;var n=e.replace(/(\w)/,function(e){return e.toUpperCase()}),r=rv.reduce(function(e,r){return function(e){for(var t=1;t0&&n.handleDrag(e.changedTouches[0])},n.handleDragEnd=function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1})},n.handleLeaveWrapper=function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=setTimeout(n.handleDragEnd,n.props.leaveTimeOut))},n.handleEnterSlideOrTraveller=function(){n.setState({isTextActive:!0})},n.handleLeaveSlideOrTraveller=function(){n.setState({isTextActive:!1})},n.handleSlideDragStart=function(e){var t=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX})},n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(fv(fv(n)),"startX"),endX:n.handleTravellerDragStart.bind(fv(fv(n)),"endX")},n.state=e.data&&e.data.length?n.updateScale(e):{},n}var n,r,o;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}(t,l["Component"]),n=t,o=[{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var o=Math.floor((n+r)/2);e[o]>t?r=o:n=o}return t>=e[r]?r:n}}],(r=[{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props,r=n.data,o=n.width,i=n.x,a=n.travellerWidth,u=n.updateId;(e.data!==r||e.updateId!==u)&&e.data&&e.data.length?this.setState(this.updateScale(e)):e.width===o&&e.x===i&&e.travellerWidth===a||(this.scale.range([e.x,e.x+e.width-e.travellerWidth]),this.scaleValues=this.scale.domain().map(function(e){return t.scale(e)}),this.setState({startX:this.scale(e.startIndex),endX:this.scale(e.endIndex)}))}},{key:"componentWillUnmount",value:function(){this.scale=null,this.scaleValues=null,this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null)}},{key:"getIndex",value:function(e){var t=e.startX,n=e.endX,r=this.props,o=r.gap,i=r.data.length-1,a=Math.min(t,n),u=Math.max(t,n),c=this.constructor.getIndexInRange(this.scaleValues,a),l=this.constructor.getIndexInRange(this.scaleValues,u);return{startIndex:c-c%o,endIndex:l===i?i:l-l%o}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,o=t.dataKey,i=$f(n[e],o,e);return a()(r)?r(i):i}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,o=t.endX,i=this.props,a=i.x,u=i.width,c=i.travellerWidth,l=i.startIndex,s=i.endIndex,f=i.onChange,p=e.pageX-n;p>0?p=Math.min(p,a+u-c-o,a+u-c-r):p<0&&(p=Math.max(p,a-r,a-o));var d=this.getIndex({startX:r+p,endX:o+p});d.startIndex===l&&d.endIndex===s||!f||f(d),this.setState({startX:r+p,endX:o+p,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX})}},{key:"handleTravellerMove",value:function(e){var t,n=this.state,r=n.brushMoveStartX,o=n.movingTravellerId,i=n.endX,a=n.startX,u=this.state[o],c=this.props,l=c.x,s=c.width,f=c.travellerWidth,p=c.onChange,d=c.gap,h=c.data,v={startX:this.state.startX,endX:this.state.endX},y=e.pageX-r;y>0?y=Math.min(y,l+s-f-u):y<0&&(y=Math.max(y,l-u)),v[o]=u+y;var m=this.getIndex(v),g=m.startIndex,b=m.endIndex;this.setState((uv(t={},o,u+y),uv(t,"brushMoveStartX",e.pageX),t),function(){p&&function(){var e=h.length-1;return"startX"===o&&(i>a?g%d===0:b%d===0)||ia?b%d===0:g%d===0)||i>a&&b===e}()&&p(m)})}},{key:"updateScale",value:function(e){var t=this,n=e.data,r=e.startIndex,o=e.endIndex,i=e.x,a=e.width,u=e.travellerWidth,c=n.length;return this.scale=_i().domain(gh()(0,c)).range([i,i+a-u]),this.scaleValues=this.scale.domain().map(function(e){return t.scale(e)}),{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:this.scale(r),endX:this.scale(o)}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,o=e.height,i=e.fill,a=e.stroke;return s.a.createElement("rect",{stroke:a,fill:i,x:t,y:n,width:r,height:o})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,o=e.height,i=e.data,a=e.children,u=e.padding,c=l.Children.only(a);return c?s.a.cloneElement(c,{x:t,y:n,width:r,height:o,margin:u,compact:!0,data:i}):null}},{key:"renderTraveller",value:function(e,t){var n=this.props,r=n.y,o=n.travellerWidth,i=n.height,a=n.stroke,u=Math.floor(r+i/2)-1,c=Math.max(e,this.props.x);return s.a.createElement(bo,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[t],onTouchStart:this.travellerDragStartHandlers[t],style:{cursor:"col-resize"}},s.a.createElement("rect",{x:c,y:r,width:o,height:i,fill:a,stroke:"none"}),s.a.createElement("line",{x1:c+1,y1:u,x2:c+o-1,y2:u,fill:"none",stroke:"#fff"}),s.a.createElement("line",{x1:c+1,y1:u+2,x2:c+o-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderSlide",value:function(e,t){var n=this.props,r=n.y,o=n.height,i=n.stroke;return s.a.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:i,fillOpacity:.2,x:Math.min(e,t),y:r,width:Math.abs(t-e),height:o})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,n=e.endIndex,r=e.y,o=e.height,i=e.travellerWidth,a=e.stroke,u=this.state,c=u.startX,l=u.endX,f={pointerEvents:"none",fill:a};return s.a.createElement(bo,{className:"recharts-brush-texts"},s.a.createElement(Fo,av({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,l)-5,y:r+o/2},f),this.getTextOfTick(t)),s.a.createElement(Fo,av({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,l)+i+5,y:r+o/2},f),this.getTextOfTick(n)))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.className,r=e.children,o=e.x,i=e.y,a=e.width,u=e.height,c=this.state,l=c.startX,f=c.endX,p=c.isTextActive,d=c.isSlideMoving,h=c.isTravellerMoving;if(!t||!t.length||!R(o)||!R(i)||!R(a)||!R(u)||a<=0||u<=0)return null;var v=m()("recharts-brush",n),y=1===s.a.Children.count(r),g=ov("userSelect","none");return s.a.createElement(bo,{className:v,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onMouseUp:this.handleDragEnd,onTouchEnd:this.handleDragEnd,onTouchMove:this.handleTouchMove,style:g},this.renderBackground(),y&&this.renderPanorama(),this.renderSlide(l,f),this.renderTraveller(l,"startX"),this.renderTraveller(f,"endX"),(p||d||h)&&this.renderText())}}])&&cv(n.prototype,r),o&&cv(n,o),t}(),tv.displayName="Brush",tv.propTypes={className:p.a.string,fill:p.a.string,stroke:p.a.string,x:p.a.number,y:p.a.number,width:p.a.number,height:p.a.number.isRequired,travellerWidth:p.a.number,gap:p.a.number,padding:p.a.shape({top:p.a.number,right:p.a.number,bottom:p.a.number,left:p.a.number}),dataKey:p.a.oneOfType([p.a.string,p.a.number,p.a.func]),data:p.a.array,startIndex:p.a.number,endIndex:p.a.number,tickFormatter:p.a.func,children:p.a.node,onChange:p.a.func,updateId:p.a.oneOfType([p.a.string,p.a.number]),leaveTimeOut:p.a.number},tv.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3},ev=nv))||ev,dv=n(183),hv=new(n.n(dv).a);hv.setMaxListeners&&hv.setMaxListeners(10);var vv="recharts.syncMouseEvents";function yv(e){return(yv="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mv(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function gv(){return(gv=Object.assign||function(e){for(var t=1;t0&&n.handleMouseMove(e.changedTouches[0])},n.handleTouchStart=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseDown(e.changedTouches[0])},n.handleTouchEnd=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleMouseUp(e.changedTouches[0])},n.verticalCoordinatesGenerator=function(e){var t=e.xAxis,n=e.width,r=e.height,o=e.offset;return Qf(Zh.getTicks(xv({},Zh.defaultProps,t,{ticks:Zf(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),o.left,o.left+o.width)},n.horizontalCoordinatesGenerator=function(e){var t=e.yAxis,n=e.width,r=e.height,o=e.offset;return Qf(Zh.getTicks(xv({},Zh.defaultProps,t,{ticks:Zf(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),o.top,o.top+o.height)},n.axesTicksGenerator=function(e){return Zf(e,!0)},n.tooltipTicksGenerator=function(e){var t=F(e),n=Zf(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:Mr()(n,function(e){return e.coordinate}),tooltipAxis:t,tooltipAxisBandSize:pp(t)}},n.renderCursor=function(e){var r=n.state,o=r.isTooltipActive,i=r.activeCoordinate,a=r.activePayload,u=r.offset;if(!e||!e.props.cursor||!o||!i)return null;var c,s=n.props.layout,f=Od;if("ScatterChart"===t)c=i,f=Ph;else if("BarChart"===t)c=n.getCursorRectangle(),f=wf;else if("radial"===s){var p=n.getCursorPoints(),d=p.cx,h=p.cy,v=p.radius;c={cx:d,cy:h,startAngle:p.startAngle,endAngle:p.endAngle,innerRadius:v,outerRadius:v},f=Bh}else c={points:n.getCursorPoints()},f=Od;var y=e.key||"_recharts-cursor",m=xv({stroke:"#ccc",pointerEvents:"none"},u,c,Z(e.props.cursor),{payload:a,key:y,className:"recharts-tooltip-cursor"});return Object(l.isValidElement)(e.props.cursor)?Object(l.cloneElement)(e.props.cursor,m):Object(l.createElement)(f,m)},n.renderPolarAxis=function(e,t,r){var o=e.type.axisType,i=n.state["".concat(o,"Map")][e.props["".concat(o,"Id")]];return Object(l.cloneElement)(e,xv({},i,{className:o,key:e.key||"".concat(t,"-").concat(r),ticks:Zf(i,!0)}))},n.renderXAxis=function(e,t,r){var o=n.state.xAxisMap[e.props.xAxisId];return n.renderAxis(o,e,t,r)},n.renderYAxis=function(e,t,r){var o=n.state.yAxisMap[e.props.yAxisId];return n.renderAxis(o,e,t,r)},n.renderGrid=function(e){var t=n.state,r=t.xAxisMap,o=t.yAxisMap,i=t.offset,a=n.props,u=a.width,c=a.height,s=F(r),f=yh()(o,function(e){return Ls()(e.domain,Number.isFinite)})||F(o),p=e.props||{};return Object(l.cloneElement)(e,{key:e.key||"grid",x:R(p.x)?p.x:i.left,y:R(p.y)?p.y:i.top,width:R(p.width)?p.width:i.width,height:R(p.height)?p.height:i.height,xAxis:s,yAxis:f,offset:i,chartWidth:u,chartHeight:c,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||n.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||n.horizontalCoordinatesGenerator})},n.renderPolarGrid=function(e){var t=n.state,r=t.radiusAxisMap,o=t.angleAxisMap,i=F(r),a=F(o),u=a.cx,c=a.cy,s=a.innerRadius,f=a.outerRadius;return Object(l.cloneElement)(e,{polarAngles:Zf(a,!0).map(function(e){return e.coordinate}),polarRadius:Zf(i,!0).map(function(e){return e.coordinate}),cx:u,cy:c,innerRadius:s,outerRadius:f,key:e.key||"polar-grid"})},n.renderBrush=function(e){var t=n.props,r=t.margin,o=t.data,i=n.state,a=i.offset,u=i.dataStartIndex,c=i.dataEndIndex,s=i.updateId;return Object(l.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:Jf(n.handleBrushChange,null,e.props.onChange),data:o,x:R(e.props.x)?e.props.x:a.left,y:R(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:R(e.props.width)?e.props.width:a.width,startIndex:u,endIndex:c,updateId:"brush-".concat(s)})},n.renderReferenceElement=function(e,t,r){if(!e)return null;var o=Sv(Sv(n)).clipPathId,i=n.state,a=i.xAxisMap,u=i.yAxisMap,c=i.offset,s=e.props,f=s.xAxisId,p=s.yAxisId;return Object(l.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(r),xAxis:a[f],yAxis:u[p],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:o})},n.renderGraphicChild=function(e,t,r){var o=n.filterFormatItem(e,t,r);if(!o)return null;var i,a,u=Object(l.cloneElement)(e,o.props),c=n.state,s=c.isTooltipActive,f=c.tooltipAxis,p=c.activeTooltipIndex,d=c.activeLabel,h=n.props.children,v=Q(h,eo),y=o.props,m=y.points,g=y.isRange,x=y.baseLine,w=o.item.props,_=w.activeDot;return!w.hide&&s&&v&&_&&p>=0&&(f.dataKey&&!f.allowDuplicatedCategory?(i=B(m,"payload.".concat(f.dataKey),d),a=g&&x&&B(x,"payload.".concat(f.dataKey),d)):(i=m[p],a=g&&x&&x[p]),!b()(i))?[u].concat(bv(n.renderActivePoints({item:o,activePoint:i,basePoint:a,childIndex:p,isRange:g}))):g?[u,null,null]:[u,null]},n.renderCustomized=function(e){return Object(l.cloneElement)(e,xv({},n.props,n.state))};var u=n.constructor.createDefaultState(e);return n.state=xv({},u,{updateId:0},n.updateStateOfAxisMapsOffsetAndStackGroups(xv({props:e},u,{updateId:0}))),n.uniqueChartId=b()(e.id)?L("recharts"):e.id,n.clipPathId="".concat(n.uniqueChartId,"-clip"),e.throttleDelay&&(n.triggeredAfterMouseMove=xh()(n.triggeredAfterMouseMove,e.throttleDelay)),n}var f,p,h;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}(r,l.Component),f=r,h=[{key:"getAxisNameByLayout",value:function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}}},{key:"renderActiveDot",value:function(e,t){var n;return n=Object(l.isValidElement)(e)?Object(l.cloneElement)(e,t):a()(e)?e(t):s.a.createElement(Is,t),s.a.createElement(bo,{className:"recharts-active-dot",key:t.key},n)}}],(p=[{key:"componentDidMount",value:function(){b()(this.props.syncId)||this.addListener()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props,r=n.data,o=n.children,i=n.width,a=n.height,u=n.layout,c=n.stackOffset,l=n.margin,s=this.state.updateId;if(e.data===r&&e.width===i&&e.height===a&&e.layout===u&&e.stackOffset===c&&d(e.margin,l)){if(!ue(e.children,o)){var f=b()(e.data)?s+1:s;this.setState(function(n){return xv({updateId:f},t.updateStateOfAxisMapsOffsetAndStackGroups(xv({props:e},n,{updateId:f})))})}}else{var p=this.constructor.createDefaultState(e);this.setState(xv({},p,{updateId:s+1},this.updateStateOfAxisMapsOffsetAndStackGroups(xv({props:e},p,{updateId:s+1}))))}b()(this.props.syncId)&&!b()(e.syncId)&&this.addListener(),!b()(this.props.syncId)&&b()(e.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){b()(this.props.syncId)||this.removeListener(),"function"===typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getAxisMap",value:function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,o=t.AxisComp,i=t.graphicalItems,a=t.stackGroups,u=t.dataStartIndex,c=t.dataEndIndex,l=e.children,s="".concat(r,"Id"),f=Y(l,o),p={};return f&&f.length?p=this.getAxisMapByAxes(e,{axes:f,graphicalItems:i,axisType:r,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c}):i&&i.length&&(p=this.getAxisMapByItems(e,{Axis:o,graphicalItems:i,axisType:r,axisIdKey:s,stackGroups:a,dataStartIndex:u,dataEndIndex:c})),p}},{key:"getAxisMapByAxes",value:function(e,t){var n=this,r=t.axes,o=t.graphicalItems,i=t.axisType,a=t.axisIdKey,u=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,s=e.layout,f=e.children,p=e.stackOffset,d=Yf(s,i);return r.reduce(function(t,r){var h=r.props,v=h.type,y=h.dataKey,m=h.allowDataOverflow,g=h.allowDuplicatedCategory,x=h.scale,w=h.ticks,_=r.props[a],O=n.constructor.getDisplayedData(e,{graphicalItems:o.filter(function(e){return e.props[a]===_}),dataStartIndex:c,dataEndIndex:l}),k=O.length;if(!t[_]){var E,j,T;if(y){if(E=Hf(O,y,v),"category"===v&&d){var M=function(e){if(!S()(e))return!1;for(var t=e.length,n={},r=0;r=0?e:bv(e).concat([t])},[]))}else if("category"===v)E=g?E.filter(function(e){return""!==e&&!b()(e)}):dp(r.props.domain,E,r).reduce(function(e,t){return e.indexOf(t)>=0||""===t||b()(t)?e:bv(e).concat([t])},[]);else if("number"===v){var C=function(e,t,n,r){var o=t.map(function(t){return Xf(e,t,n,r)}).filter(function(e){return!b()(e)});return o&&o.length?o.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]):null}(O,o.filter(function(e){return e.props[a]===_&&!e.props.hide}),y,i);C&&(E=C)}!d||"number"!==v&&"auto"===x||(T=Hf(O,y,"category"))}else E=d?gh()(0,k):u&&u[_]&&u[_].hasStack&&"number"===v?"expand"===p?[0,1]:cp(u[_].stackGroups,c,l):Kf(O,o.filter(function(e){return e.props[a]===_&&!e.props.hide}),v,!0);return"number"===v&&(E=up(f,E,_,i,w),r.props.domain&&(E=fp(r.props.domain,E,m))),xv({},t,wv({},_,xv({},r.props,{axisType:i,domain:E,categoricalDomain:T,duplicateDomain:j,originalDomain:r.props.domain,isCategorial:d,layout:s})))}return t},{})}},{key:"getAxisMapByItems",value:function(e,t){var n=t.graphicalItems,r=t.Axis,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,u=t.dataStartIndex,c=t.dataEndIndex,l=e.layout,s=e.children,f=this.constructor.getDisplayedData(e,{graphicalItems:n,dataStartIndex:u,dataEndIndex:c}),p=f.length,d=Yf(l,o),h=-1;return n.reduce(function(e,t){var v,y=t.props[i];return e[y]?e:(h++,d?v=gh()(0,p):a&&a[y]&&a[y].hasStack?(v=cp(a[y].stackGroups,u,c),v=up(s,v,y,o)):(v=fp(r.defaultProps.domain,Kf(f,n.filter(function(e){return e.props[i]===y&&!e.props.hide}),"number"),r.defaultProps.allowDataOverflow),v=up(s,v,y,o)),xv({},e,wv({},y,xv({axisType:o},r.defaultProps,{hide:!0,orientation:Ev[o]&&Ev[o][h%2],domain:v,originalDomain:r.defaultProps.domain,isCategorial:d,layout:l}))))},{})}},{key:"getActiveCoordinate",value:function(e,t,n){var r=this.props.layout,o=e.find(function(e){return e&&e.index===t});if(o){if("horizontal"===r)return{x:o.coordinate,y:n.y};if("vertical"===r)return{x:n.x,y:o.coordinate};if("centric"===r){var i=o.coordinate,a=n.radius;return xv({},n,gp(n.cx,n.cy,a,i),{angle:i,radius:a})}var u=o.coordinate,c=n.angle;return xv({},n,gp(n.cx,n.cy,u,c),{angle:c,radius:u})}return jv}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=function(e,t){return{chartX:Math.round(e.pageX-t.left),chartY:Math.round(e.pageY-t.top)}}(e,function(e){var t=e.ownerDocument.documentElement,n={top:0,left:0};return"undefined"!==typeof e.getBoundingClientRect&&(n=e.getBoundingClientRect()),{top:n.top+window.pageYOffset-t.clientTop,left:n.left+window.pageXOffset-t.clientLeft}}(this.container)),n=this.inRange(t.chartX,t.chartY);if(!n)return null;var r=this.state,i=r.xAxisMap,a=r.yAxisMap;if("axis"!==o&&i&&a){var u=F(i).scale,c=F(a).scale;return xv({},t,{xValue:u&&u.invert?u.invert(t.chartX):null,yValue:c&&c.invert?c.invert(t.chartY):null})}var l=this.state,s=l.orderedTooltipTicks,f=l.tooltipAxis,p=l.tooltipTicks,d=function(e,t,n,r){var o=-1,i=t.length;if(i>1){if(r&&"angleAxis"===r.axisType&&Math.abs(Math.abs(r.range[1]-r.range[0])-360)<=1e-6)for(var a=r.range,u=0;u0?n[u-1].coordinate:n[i-1].coordinate,l=n[u].coordinate,s=u>=i-1?n[0].coordinate:n[u+1].coordinate,f=void 0;if(A(l-c)!==A(s-l)){var p=[];if(A(s-l)===A(a[1]-a[0])){f=s;var d=l+a[1]-a[0];p[0]=Math.min(d,(d+c)/2),p[1]=Math.max(d,(d+c)/2)}else{f=c;var h=s+a[1]-a[0];p[0]=Math.min(l,(h+l)/2),p[1]=Math.max(l,(h+l)/2)}var v=[Math.min(l,(f+l)/2),Math.max(l,(f+l)/2)];if(e>v[0]&&e<=v[1]||e>=p[0]&&e<=p[1]){o=n[u].index;break}}else{var y=Math.min(c,s),m=Math.max(c,s);if(e>(y+l)/2&&e<=(m+l)/2){o=n[u].index;break}}}else for(var g=0;g0&&g(t[g].coordinate+t[g-1].coordinate)/2&&e<=(t[g].coordinate+t[g+1].coordinate)/2||g===i-1&&e>(t[g].coordinate+t[g-1].coordinate)/2){o=t[g].index;break}}else o=0;return o}(this.calculateTooltipPos(n),s,p,f);if(d>=0&&p){var h=p[d]&&p[d].value;return xv({},t,{activeTooltipIndex:d,activeLabel:h,activePayload:this.getTooltipContent(d,h),activeCoordinate:this.getActiveCoordinate(s,d,n)})}return null}},{key:"getTooltipContent",value:function(e,t){var n=this.state,r=n.graphicalItems,o=n.tooltipAxis,i=this.constructor.getDisplayedData(this.props,this.state);return e<0||!r||!r.length||e>=i.length?null:r.reduce(function(n,r){if(r.props.hide)return n;var a,u=r.props,c=u.dataKey,l=u.name,s=u.unit,f=u.formatter,p=u.data,d=u.tooltipType;return(a=o.dataKey&&!o.allowDuplicatedCategory?B(p||i,o.dataKey,t):i[e])?bv(n).concat([xv({},Z(r),{dataKey:c,unit:s,formatter:f,name:l||c,color:qf(r),value:$f(a,c),type:d,payload:a})]):n},[])}},{key:"getFormatItems",value:function(e,t){var n=this,r=t.graphicalItems,o=t.stackGroups,a=t.offset,u=t.updateId,c=t.dataStartIndex,l=t.dataEndIndex,s=e.barSize,f=e.layout,p=e.barGap,d=e.barCategoryGap,h=e.maxBarSize,v=this.constructor.getAxisNameByLayout(f),y=v.numericAxisName,m=v.cateAxisName,g=this.constructor.hasBar(r),x=g&&function(e){var t=e.barSize,n=e.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var o={},i=Object.keys(r),a=0,u=i.length;a=0});if(v&&v.length){var y=v[0].props.barSize,m=v[0].props[h];o[m]||(o[m]=[]),o[m].push({item:v[0],stackList:v.slice(1),barSize:b()(y)?t:y})}}return o}({barSize:s,stackGroups:o}),w=[];return r.forEach(function(r,s){var v,_=n.constructor.getDisplayedData(e,{dataStartIndex:c,dataEndIndex:l},r),O=r.props,k=O.dataKey,S=O.maxBarSize,E=r.props["".concat(y,"Id")],j=r.props["".concat(m,"Id")],T=i.reduce(function(e,n){var o,i=t["".concat(n.axisType,"Map")],a=r.props["".concat(n.axisType,"Id")],u=i&&i[a];return xv({},e,(wv(o={},n.axisType,u),wv(o,"".concat(n.axisType,"Ticks"),Zf(u)),o))},{}),M=T[m],C=T["".concat(m,"Ticks")],P=o&&o[E]&&o[E].hasStack&&function(e,t){var n=e.props.stackId;if(I(n)){var r=t[n];if(r&&r.items.length){for(var o=-1,i=0,a=r.items.length;i=0?r.stackedData[o]:null}}return null}(r,o[E].stackGroups),A=pp(M,C),N=b()(S)?h:S,R=g&&function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,o=e.sizeList,i=void 0===o?[]:o,a=e.maxBarSize,u=i.length;if(u<1)return null;var c,l=z(t,r,0,!0);if(i[0].barSize===+i[0].barSize){var s=!1,f=r/u,p=i.reduce(function(e,t){return e+t.barSize||0},0);(p+=(u-1)*l)>=r&&(p-=(u-1)*l,l=0),p>=r&&f>0&&(s=!0,p=u*(f*=.9));var d={offset:((r-p)/2>>0)-l,size:0};c=i.reduce(function(e,t){var n=Bf(e).concat([{item:t.item,position:{offset:d.offset+d.size+l,size:s?f:t.barSize}}]);return d=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){n.push({item:e,position:d})}),n},[])}else{var h=z(n,r,0,!0);r-2*h-(u-1)*l<=0&&(l=0);var v=(r-2*h-(u-1)*l)/u;v>1&&(v>>=0);var y=a===+a?Math.min(v,a):v;c=i.reduce(function(e,t,n){var r=Bf(e).concat([{item:t.item,position:{offset:h+(v+l)*n+(v-y)/2,size:y}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){r.push({item:e,position:r[r.length-1].position})}),r},[])}return c}({barGap:p,barCategoryGap:d,bandSize:A,sizeList:x[j],maxBarSize:N}),D=r&&r.type&&r.type.getComposedData;D&&w.push({props:xv({},D(xv({},T,{displayedData:_,props:e,dataKey:k,item:r,bandSize:A,barPosition:R,offset:a,stackedData:P,layout:f,dataStartIndex:c,dataEndIndex:l,onItemMouseLeave:Jf(n.handleItemMouseLeave,null,r.props.onMouseLeave),onItemMouseEnter:Jf(n.handleItemMouseEnter,null,r.props.onMouseEnter)})),(v={key:r.key||"item-".concat(s)},wv(v,y,T[y]),wv(v,m,T[m]),wv(v,"animationId",u),v)),childIndex:se(r,e.children),item:r})}),w}},{key:"getCursorRectangle",value:function(){var e=this.props.layout,t=this.state,n=t.activeCoordinate,r=t.offset,o=t.tooltipAxisBandSize,i=o/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?n.x-i:r.left+.5,y:"horizontal"===e?r.top+.5:n.y-i,width:"horizontal"===e?o:r.width-1,height:"horizontal"===e?r.height-1:o}}},{key:"getCursorPoints",value:function(){var e,t,n,r,o=this.props.layout,i=this.state,a=i.activeCoordinate,u=i.offset;if("horizontal"===o)n=e=a.x,t=u.top,r=u.top+u.height;else if("vertical"===o)r=t=a.y,e=u.left,n=u.left+u.width;else if(!b()(a.cx)||!b()(a.cy)){if("centric"!==o){var c=a.cx,l=a.cy,s=a.radius,f=a.startAngle,p=a.endAngle;return{points:[gp(c,l,s,f),gp(c,l,s,p)],cx:c,cy:l,radius:s,startAngle:f,endAngle:p}}var d=a.cx,h=a.cy,v=a.innerRadius,y=a.outerRadius,m=a.angle,g=gp(d,h,v,m),x=gp(d,h,y,m);e=g.x,t=g.y,n=x.x,r=x.y}return[{x:e,y:t},{x:n,y:r}]}},{key:"calculateTooltipPos",value:function(e){var t=this.props.layout;return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}},{key:"inRange",value:function(e,t){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return e>=r.left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height?{x:e,y:t}:null}var o=this.state,i=o.angleAxisMap,a=o.radiusAxisMap;if(i&&a){var u=F(i);return wp({x:e,y:t},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=Q(e,eo)&&"axis"===o?{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}:{};return xv({},ee(this.props,this.handleOuterEvent),t)}},{key:"updateStateOfAxisMapsOffsetAndStackGroups",value:function(e){var r=this,o=e.props,a=e.dataStartIndex,u=e.dataEndIndex,l=e.updateId;if(!re({props:o}))return null;var s=o.children,f=o.layout,p=o.stackOffset,d=o.data,h=o.reverseStackOrder,v=this.constructor.getAxisNameByLayout(f),y=v.numericAxisName,m=v.cateAxisName,g=Y(s,n),b=function(e,t,n,r,o,i){if(!e)return null;var a=(i?t.reverse():t).reduce(function(e,t){var o=t.props,i=o.stackId;if(o.hide)return e;var a=t.props[n],u=e[a]||{hasStack:!1,stackGroups:{}};if(I(i)){var c=u.stackGroups[i]||{numericAxisId:n,cateAxisId:r,items:[]};c.items.push(t),u.hasStack=!0,u.stackGroups[i]=c}else u.stackGroups[L("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return Uf({},e,Vf({},a,u))},{});return Object.keys(a).reduce(function(t,i){var u=a[i];return u.hasStack&&(u.stackGroups=Object.keys(u.stackGroups).reduce(function(t,i){var a=u.stackGroups[i];return Uf({},t,Vf({},i,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:rp(e,a.items,o)}))},{})),Uf({},t,Vf({},i,u))},{})}(d,g,"".concat(y,"Id"),"".concat(m,"Id"),p,h),x=i.reduce(function(e,t){return xv({},e,wv({},"".concat(t.axisType,"Map"),r.getAxisMap(o,xv({},t,{graphicalItems:g,stackGroups:t.axisType===y&&b,dataStartIndex:a,dataEndIndex:u}))))},{}),w=this.calculateOffset(xv({},x,{props:o,graphicalItems:g}));Object.keys(x).forEach(function(e){x[e]=c(o,x[e],w,e.replace("Map",""),t)});var _=x["".concat(m,"Map")],O=this.tooltipTicksGenerator(_),k=this.getFormatItems(o,xv({},x,{dataStartIndex:a,dataEndIndex:u,updateId:l,graphicalItems:g,stackGroups:b,offset:w}));return xv({formatedGraphicalItems:k,graphicalItems:g,offset:w,stackGroups:b},O,x)}},{key:"addListener",value:function(){hv.on(vv,this.handleReceiveSyncEvent),hv.setMaxListeners&&hv._maxListeners&&hv.setMaxListeners(hv._maxListeners+1)}},{key:"removeListener",value:function(){hv.removeListener(vv,this.handleReceiveSyncEvent),hv.setMaxListeners&&hv._maxListeners&&hv.setMaxListeners(hv._maxListeners-1)}},{key:"calculateOffset",value:function(e){var t=e.props,n=e.graphicalItems,r=e.xAxisMap,o=void 0===r?{}:r,i=e.yAxisMap,a=void 0===i?{}:i,u=t.width,c=t.height,l=t.children,s=t.margin||{},f=Q(l,pv),p=Q(l,sn),d=Object.keys(a).reduce(function(e,t){var n=a[t],r=n.orientation;return n.mirror||n.hide?e:xv({},e,wv({},r,e[r]+n.width))},{left:s.left||0,right:s.right||0}),h=Object.keys(o).reduce(function(e,t){var n=o[t],r=n.orientation;return n.mirror||n.hide?e:xv({},e,wv({},r,e[r]+n.height))},{top:s.top||0,bottom:s.bottom||0}),v=xv({},h,d),y=v.bottom;return f&&(v.bottom+=f.props.height||pv.defaultProps.height),p&&this.legendInstance&&(v=function(e,t,n,r){var o=n.children,i=n.width,a=n.height,u=n.margin,c=i-(u.left||0)-(u.right||0),l=a-(u.top||0)-(u.bottom||0),s=Gf({children:o,items:t,legendWidth:c,legendHeight:l}),f=e;if(s){var p=r||{},d=s.align,h=s.verticalAlign,v=s.layout;("vertical"===v||"horizontal"===v&&"center"===h)&&R(e[d])&&(f=Uf({},e,Vf({},d,f[d]+(p.width||0)))),("horizontal"===v||"vertical"===v&&"center"===d)&&R(e[h])&&(f=Uf({},e,Vf({},h,f[h]+(p.height||0))))}return f}(v,n,t,this.legendInstance.getBBox())),xv({brushBottom:y},v,{width:u-v.left-v.right,height:c-v.top-v.bottom})}},{key:"triggerSyncEvent",value:function(e){var t=this.props.syncId;b()(t)||hv.emit(vv,t,this.uniqueChartId,e)}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formatedGraphicalItems,o=0,i=r.length;o=0})},v.getDisplayedData=function(e,t,n){var r=t.graphicalItems,o=t.dataStartIndex,i=t.dataEndIndex,a=(r||[]).reduce(function(e,t){var n=t.props.data;return n&&n.length?bv(e).concat(bv(n)):e},[]);if(a&&a.length>0)return a;if(n&&n.props&&n.props.data&&n.props.data.length>0)return n.props.data;var u=e.data;return u&&u.length&&R(o)&&R(i)?u.slice(o,i+1):[]},v}({chartName:"AreaChart",GraphicalChild:Yd,axisComponents:[{axisType:"xAxis",AxisComp:ih},{axisType:"yAxis",AxisComp:hh}],formatAxisMap:function(e,t,n,r,o){var i=e.width,a=e.height,u=e.layout,c=Object.keys(t),l={left:n.left,leftMirror:n.left,right:i-n.right,rightMirror:i-n.right,top:n.top,topMirror:n.top,bottom:a-n.bottom,bottomMirror:a-n.bottom};return c.reduce(function(e,i){var a,c,s,f,p=t[i],d=p.orientation,h=p.domain,v=p.padding,y=void 0===v?{}:v,m=p.mirror,g=p.reversed,b="".concat(d).concat(m?"Mirror":"");a="xAxis"===r?[n.left+(y.left||0),n.left+n.width-(y.right||0)]:"yAxis"===r?"horizontal"===u?[n.top+n.height-(y.bottom||0),n.top+(y.top||0)]:[n.top+(y.top||0),n.top+n.height-(y.bottom||0)]:p.range,g&&(a=[a[1],a[0]]);var x=ep(p,o),w=x.scale,_=x.realScaleType;w.domain(h).range(a),tp(w);var O=op(w,Vs({},p,{realScaleType:_}));"xAxis"===r?(f="top"===d&&!m||"bottom"===d&&m,c=n.left,s=l[b]-f*p.height):"yAxis"===r&&(f="left"===d&&!m||"right"===d&&m,c=l[b]-f*p.width,s=n.top);var k=Vs({},p,O,{realScaleType:_,x:c,y:s,scale:w,width:"xAxis"===r?n.width:p.width,height:"yAxis"===r?n.height:p.height});return k.bandSize=pp(k,O),p.hide||"xAxis"!==r?p.hide||(l[b]+=(f?-1:1)*k.width):l[b]+=(f?-1:1)*k.height,Vs({},e,$s({},i,k))},{})}});n.d(t,"d",function(){return sn}),n.d(t,"g",function(){return eo}),n.d(t,"f",function(){return fo}),n.d(t,"e",function(){return Qp}),n.d(t,"c",function(){return sd}),n.d(t,"a",function(){return Yd}),n.d(t,"h",function(){return ih}),n.d(t,"i",function(){return hh}),n.d(t,"b",function(){return Tv})},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});n(14);function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function o(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return en?n:e}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(function(e){return e+e})),n?"rgb(".concat(n.map(function(e){return parseInt(e,16)}).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(["Material-UI: unsupported `".concat(e,"` color."),"We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."].join("\n"));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map(function(e){return parseFloat(e)})}}function i(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map(function(e,t){return t<3?parseInt(e,10):e}):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function a(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=o(e)).type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,a=t[2]/100,u=r*Math.min(a,1-a),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return a-u*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",s=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),i({type:l,values:s})}(e)).values:e.values;return t=t.map(function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){return e=o(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,i(e)}function l(e,t){if(e=o(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return i(e)}function s(e,t){if(e=o(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return i(e)}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";t.a=function(e){return e&&e.ownerDocument||document}},,function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t=0||(o[n]=e[n]);return o}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";var r=n(190),o=Object(r.a)();t.a=o},function(e,t,n){(function(t){for(var r=n(357),o="undefined"===typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",u=o["request"+a],c=o["cancel"+a]||o["cancelRequest"+a],l=0;!u&&l1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])});e.exports=u},function(e,t,n){"use strict";function r(e,t){for(var n=0;n0?r:n)(e)}},function(e,t,n){var r=n(288),o=n(289),i=n(290),a=n(291),u=n(292);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0?r:e)-l/100).concat(u,")")},between:p,only:function(e){return p(e,e)},width:function(e){return n[e]}},s)}},function(e,t,n){"use strict";t.a={mobileStepper:1e3,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},function(e,t,n){"use strict";var r=n(231),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function c(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var l=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=s(n);f&&(a=a.concat(f(n)));for(var u=c(t),v=c(n),y=0;y1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;iu)throw r=0,new Error("Call stack overflow for "+l);if(""===e)throw new Error(i+"(): '"+l+"' must contain a non-whitespace string");var s=function(e){var t=[],n=[],r=/[\.0-9]([%a-z]+)/gi,o=r.exec(e);for(;o;)o&&o[1]&&(-1===n.indexOf(o[1].toLowerCase())&&(t.push(o[1]),n.push(o[1].toLowerCase())),o=r.exec(e));return t}(e=function(e,t){e=e.replace(/((?:\-[a-z]+\-)?calc)/g,"");var r,i="",a=e;for(;r=c.exec(a);){r[0].index>0&&(i+=a.substring(0,r[0].index));var u=o("(",")",a.substring([0].index));if(""===u.body)throw new Error("'"+e+"' must contain a non-whitespace string");var l=n(u.body,"",t);i+=u.pre+l,a=u.post}return i+a}(e,l));if(s.length>1||e.indexOf("var(")>-1)return i+"("+e+")";var f=s[0]||"";"%"===f&&(e=e.replace(/\b[0-9\.]+%/g,function(e){return.01*parseFloat(e.slice(0,-1))}));var p,d=e.replace(new RegExp(f,"gi"),"");try{p=a.eval(d)}catch(h){return i+"("+e+")"}return"%"===f&&(p*=100),(i.length||"%"===f)&&(p=Math.round(p*t)/t),p+=f}return r=0,t=Math.pow(10,void 0===t?5:t),e=e.replace(/\n+/g," "),i(e,/((?:\-[a-z]+\-)?calc)\(/,n)}},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(261),o=n(97);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(12),o=n(97),i=n(36),a=n(100),u="["+a+"]",c=RegExp("^"+u+u+"*"),l=RegExp(u+u+"*$"),s=function(e,t,n){var o={},u=i(function(){return!!a[e]()||"\u200b\x85"!="\u200b\x85"[e]()}),c=o[e]=u?t(f):a[e];n&&(o[n]=c),r(r.P+r.F*u,"String",o)},f=s.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};e.exports=s},function(e,t){e.exports="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(e,t){e.exports=function(e,t){return e===t||e!==e&&t!==t}},function(e,t,n){var r=n(42)(n(26),"Map");e.exports=r},function(e,t,n){var r=n(302),o=n(309),i=n(311),a=n(312),u=n(313);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=n}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){var r=n(9),o=n(52),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";function r(e){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",function(){return o})},function(e,t,n){var r=n(19),o=n(384),i=n(168),a="Expected a function",u=Math.max,c=Math.min;e.exports=function(e,t,n){var l,s,f,p,d,h,v=0,y=!1,m=!1,g=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=l,r=s;return l=s=void 0,v=t,p=e.apply(r,n)}function x(e){var n=e-h;return void 0===h||n>=t||n<0||m&&e-v>=f}function w(){var e=o();if(x(e))return _(e);d=setTimeout(w,function(e){var n=t-(e-h);return m?c(n,f-(e-v)):n}(e))}function _(e){return d=void 0,g&&l?b(e):(l=s=void 0,p)}function O(){var e=o(),n=x(e);if(l=arguments,s=this,h=e,n){if(void 0===d)return function(e){return v=e,d=setTimeout(w,t),y?b(e):p}(h);if(m)return clearTimeout(d),d=setTimeout(w,t),b(h)}return void 0===d&&(d=setTimeout(w,t)),p}return t=i(t)||0,r(n)&&(y=!!n.leading,f=(m="maxWait"in n)?u(i(n.maxWait)||0,t):f,g="trailing"in n?!!n.trailing:g),O.cancel=function(){void 0!==d&&clearTimeout(d),v=0,l=h=s=d=void 0},O.flush=function(){return void 0===d?p:_(o())},O}},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(l){return void n(l)}u.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,c,"next",e)}function c(e){r(a,o,i,u,c,"throw",e)}u(void 0)})}}n.d(t,"a",function(){return o})},function(e,t,n){var r=n(37),o=n(359),i=n(33),a="[object Object]",u=Function.prototype,c=Object.prototype,l=u.toString,s=c.hasOwnProperty,f=l.call(Object);e.exports=function(e){if(!i(e)||r(e)!=a)return!1;var t=o(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==f}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getTickValues",{enumerable:!0,get:function(){return r.getTickValues}}),Object.defineProperty(t,"getNiceTickValues",{enumerable:!0,get:function(){return r.getNiceTickValues}}),Object.defineProperty(t,"getTickValuesFixedDomain",{enumerable:!0,get:function(){return r.getTickValuesFixedDomain}});var r=n(393)},function(e,t,n){var r=n(397),o=n(161),i=n(32);e.exports=function(e,t){var n={};return t=i(t,3),o(e,function(e,o,i){r(n,o,t(e,o,i))}),n}},,,,,function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,a,u=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(260),o=n(130),i=n(96),a=n(92),u=n(67),c=n(128),l=Object.getOwnPropertyDescriptor;t.f=n(50)?l:function(e,t){if(e=i(e),t=a(t,!0),c)try{return l(e,t)}catch(n){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(67),o=n(96),i=n(263)(!1),a=n(138)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),c=0,l=[];for(n in u)n!=a&&r(u,n)&&l.push(n);for(;t.length>c;)r(u,n=t[c++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(133)("keys"),o=n(132);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(95);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(49),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(41))},function(e,t,n){var r=n(69),o=n(293),i=n(294),a=n(295),u=n(296),c=n(297);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=u,l.prototype.set=c,e.exports=l},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},function(e,t,n){var r=n(105),o=n(145),i=n(106),a=1,u=2;e.exports=function(e,t,n,c,l,s){var f=n&a,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=s.get(e);if(h&&s.get(t))return h==t;var v=-1,y=!0,m=n&u?new r:void 0;for(s.set(e,t),s.set(t,e);++v-1}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i=0||(o[n]=e[n]);return o}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"===typeof n)return n(e,r);var i=o.default.Children.only(n);return o.default.cloneElement(i,r)},r}(o.default.Component);function d(){}p.contextTypes={transitionGroup:r.object},p.childContextTypes={transitionGroup:function(){}},p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},p.UNMOUNTED=0,p.EXITED=1,p.ENTERING=2,p.ENTERED=3,p.EXITING=4;var h=(0,a.polyfill)(p);t.default=h},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,u=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?u="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(u="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==u){var c=e.displayName||e.name,l="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==u?"\n "+u:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;var r;(r=n(0))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=u(n(0)),o=u(n(1)),i=n(163),a=n(378);function u(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,["component","childFactory"]),i=s(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:o.default.createElement(t,r,i)},r}(o.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var p=(0,i.polyfill)(f);t.default=p,e.exports=t.default},function(e,t,n){var r=n(146),o=n(379);e.exports=function e(t,n,i,a,u){var c=-1,l=t.length;for(i||(i=o),u||(u=[]);++c0&&i(s)?n>1?e(s,n-1,i,a,u):r(u,s):a||(u[u.length]=s)}return u}},function(e,t,n){var r=n(75),o=n(51);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,function(e,r,o){i[++n]=t(e,r,o)}),i}},function(e,t,n){var r=n(19),o=n(52),i=NaN,a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return i;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=c.test(e);return n||l.test(e)?s(e.slice(2),n?2:8):u.test(e)?i:+e}},function(e,t,n){var r=n(52);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o(u=(a=Math.ceil(p/y))>u?a+1:u+1)&&(i=u,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((u=l.length)-(i=s.length)<0&&(i=u,r=s,s=l,l=r),n=0;i;)n=(l[--i]=l[i]+s[i]+n)/v|0,l[i]%=v;for(n&&(l.unshift(n),++o),u=l.length;0==l[--u];)l.pop();return t.d=l,t.e=o,c?M(t,p):t}function x(e,t,n){if(e!==~~e||en)throw Error(s+e)}function w(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;te.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;te.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*y;if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(e){return _(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this.constructor;return M(_(this,new t(e),0,1),t.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return k(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(l+"NaN");if(n.s<1)throw Error(l+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(c=!1,t=_(j(n,a),j(e,a),a),c=!0,M(t,o))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?C(t,e):b(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(l+"NaN");return n.s?(c=!1,t=_(n,e,0,1).times(e),c=!0,n.minus(t)):M(new r(n),o)},g.naturalExponential=g.exp=function(){return O(this)},g.naturalLogarithm=g.ln=function(){return j(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?b(t,e):C(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(s+e);if(t=k(o)+1,n=(r=o.d.length-1)*y+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,r,o,i,a,u=this,s=u.constructor;if(u.s<1){if(!u.s)return new s(0);throw Error(l+"NaN")}for(e=k(u),c=!1,0==(o=Math.sqrt(+u))||o==1/0?(((t=w(u.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=p((e+1)/2)-(e<0||e%2),r=new s(t=o==1/0?"1e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new s(o.toString()),o=a=(n=s.precision)+3;;)if(r=(i=r).plus(_(u,i,a+2)).times(.5),w(i.d).slice(0,a)===(t=w(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(M(i,n+1,0),i.times(i).eq(u)){r=i;break}}else if("9999"!=t)break;a+=4}return c=!0,M(r,n)},g.times=g.mul=function(e){var t,n,r,o,i,a,u,l,s,f=this,p=f.constructor,d=f.d,h=(e=new p(e)).d;if(!f.s||!e.s)return new p(0);for(e.s*=f.s,n=f.e+e.e,(l=d.length)<(s=h.length)&&(i=d,d=h,h=i,a=l,l=s,s=a),i=[],r=a=l+s;r--;)i.push(0);for(r=s;--r>=0;){for(t=0,o=l+r;o>r;)u=i[o]+h[r]*d[o-r-1]+t,i[o--]=u%v|0,t=u/v|0;i[o]=(i[o]+t)%v|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,c?M(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(x(e,0,a),void 0===t?t=r.rounding:x(t,0,8),M(n,e+k(n)+1,t))},g.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=P(r,!0):(x(e,0,a),void 0===t?t=o.rounding:x(t,0,8),n=P(r=M(new o(r),e+1,t),!0,e+1)),n},g.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?P(o):(x(e,0,a),void 0===t?t=i.rounding:x(t,0,8),n=P((r=M(new i(o),e+k(o)+1,t)).abs(),!1,e+k(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return M(new t(e),k(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,n,r,o,a,u,s=this,f=s.constructor,d=+(e=new f(e));if(!e.s)return new f(i);if(!(s=new f(s)).s){if(e.s<1)throw Error(l+"Infinity");return s}if(s.eq(i))return s;if(r=f.precision,e.eq(i))return M(s,r);if(u=(t=e.e)>=(n=e.d.length-1),a=s.s,u){if((n=d<0?-d:d)<=9007199254740991){for(o=new f(i),t=Math.ceil(r/y+4),c=!1;n%2&&A((o=o.times(s)).d,t),0!==(n=p(n/2));)A((s=s.times(s)).d,t);return c=!0,e.s<0?new f(i).div(o):M(o,r)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,s.s=1,c=!1,o=e.times(j(s,r+12)),c=!0,(o=O(o)).s=a,o},g.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=P(o,(n=k(o))<=i.toExpNeg||n>=i.toExpPos):(x(e,1,a),void 0===t?t=i.rounding:x(t,0,8),r=P(o=M(new i(o),e,t),e<=(n=k(o))||n<=i.toExpNeg,e)),r},g.toSignificantDigits=g.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(x(e,1,a),void 0===t?t=n.rounding:x(t,0,8)),M(new n(this),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=k(e),n=e.constructor;return P(e,t<=n.toExpNeg||t>=n.toExpPos)};var _=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%v|0,r=n/v|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]1;)e.shift()}return function(r,o,i,a){var u,c,s,f,p,d,h,m,g,b,x,w,_,O,S,E,j,T,C=r.constructor,P=r.s==o.s?1:-1,A=r.d,N=o.d;if(!r.s)return new C(r);if(!o.s)throw Error(l+"Division by zero");for(c=r.e-o.e,j=N.length,S=A.length,m=(h=new C(P)).d=[],s=0;N[s]==(A[s]||0);)++s;if(N[s]>(A[s]||0)&&--c,(w=null==i?i=C.precision:a?i+(k(r)-k(o))+1:i)<0)return new C(0);if(w=w/y+2|0,s=0,1==j)for(f=0,N=N[0],w++;(s1&&(N=e(N,f),A=e(A,f),j=N.length,S=A.length),O=j,b=(g=A.slice(0,j)).length;b=v/2&&++E;do{f=0,(u=t(N,g,j,b))<0?(x=g[0],j!=b&&(x=x*v+(g[1]||0)),(f=x/E|0)>1?(f>=v&&(f=v-1),1==(u=t(p=e(N,f),g,d=p.length,b=g.length))&&(f--,n(p,j16)throw Error(f+k(e));if(!e.s)return new p(i);for(null==t?(c=!1,u=h):u=t,a=new p(.03125);e.abs().gte(.1);)e=e.times(a),s+=5;for(u+=Math.log(d(2,s))/Math.LN10*2+5|0,n=r=o=new p(i),p.precision=u;;){if(r=M(r.times(e),u),n=n.times(++l),w((a=o.plus(_(r,n,u))).d).slice(0,u)===w(o.d).slice(0,u)){for(;s--;)o=M(o.times(o),u);return p.precision=h,null==t?(c=!0,M(o,h)):o}o=a}}function k(e){for(var t=e.e*y,n=e.d[0];n>=10;n/=10)t++;return t}function S(e,t,n){if(t>e.LN10.sd())throw c=!0,n&&(e.precision=n),Error(l+"LN10 precision limit exceeded");return M(new e(e.LN10),t)}function E(e){for(var t="";e--;)t+="0";return t}function j(e,t){var n,r,o,a,u,s,f,p,d,h=1,v=e,y=v.d,m=v.constructor,g=m.precision;if(v.s<1)throw Error(l+(v.s?"NaN":"-Infinity"));if(v.eq(i))return new m(0);if(null==t?(c=!1,p=g):p=t,v.eq(10))return null==t&&(c=!0),S(m,p);if(p+=10,m.precision=p,r=(n=w(y)).charAt(0),a=k(v),!(Math.abs(a)<15e14))return f=S(m,p+2,g).times(a+""),v=j(new m(r+"."+n.slice(1)),p-10).plus(f),m.precision=g,null==t?(c=!0,M(v,g)):v;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=w((v=v.times(e)).d)).charAt(0),h++;for(a=k(v),r>1?(v=new m("0."+n),a++):v=new m(r+"."+n.slice(1)),s=u=v=_(v.minus(i),v.plus(i),p),d=M(v.times(v),p),o=3;;){if(u=M(u.times(d),p),w((f=s.plus(_(u,new m(o),p))).d).slice(0,p)===w(s.d).slice(0,p))return s=s.times(2),0!==a&&(s=s.plus(S(m,p+2,g).times(a+""))),s=_(s,new m(h),p),m.precision=g,null==t?(c=!0,M(s,g)):s;s=f,o+=2}}function T(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=p(n/y),e.d=[],r=(n+1)%y,n<0&&(r+=y),rm||e.e<-m))throw Error(f+n)}else e.s=0,e.e=0,e.d=[0];return e}function M(e,t,n){var r,o,i,a,u,l,s,h,g=e.d;for(a=1,i=g[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=y,o=t,s=g[h=0];else{if((h=Math.ceil((r+1)/y))>=(i=g.length))return e;for(s=i=g[h],a=1;i>=10;i/=10)a++;o=(r%=y)-y+a}if(void 0!==n&&(u=s/(i=d(10,a-o-1))%10|0,l=t<0||void 0!==g[h+1]||s%i,l=n<4?(u||l)&&(0==n||n==(e.s<0?3:2)):u>5||5==u&&(4==n||l||6==n&&(r>0?o>0?s/d(10,a-o):0:g[h-1])%10&1||n==(e.s<0?8:7))),t<1||!g[0])return l?(i=k(e),g.length=1,t=t-i-1,g[0]=d(10,(y-t%y)%y),e.e=p(-t/y)||0):(g.length=1,g[0]=e.e=e.s=0),e;if(0==r?(g.length=h,i=1,h--):(g.length=h+1,i=d(10,y-r),g[h]=o>0?(s/d(10,a-o)%d(10,o)|0)*i:0),l)for(;;){if(0==h){(g[0]+=i)==v&&(g[0]=1,++e.e);break}if(g[h]+=i,g[h]!=v)break;g[h--]=0,i=1}for(r=g.length;0===g[--r];)g.pop();if(c&&(e.e>m||e.e<-m))throw Error(f+k(e));return e}function C(e,t){var n,r,o,i,a,u,l,s,f,p,d=e.constructor,h=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),c?M(t,h):t;if(l=e.d,p=t.d,r=t.e,s=e.e,l=l.slice(),a=s-r){for((f=a<0)?(n=l,a=-a,u=p.length):(n=p,r=s,u=l.length),a>(o=Math.max(Math.ceil(h/y),u)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((f=(o=l.length)<(u=p.length))&&(u=o),o=0;o0;--o)l[u++]=0;for(o=p.length;o>a;){if(l[--o]0?i=i.charAt(0)+"."+i.slice(1)+E(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+E(-o-1)+i,n&&(r=n-a)>0&&(i+=E(r))):o>=a?(i+=E(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+E(r))):((r=o+1)0&&(o+1===a&&(i+="."),i+=E(r))),e.s<0?"-"+i:i}function A(e,t){if(e.length>t)return e.length=t,!0}function N(e){if(!e||"object"!==typeof e)throw Error(l+"Object expected");var t,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=o[t+1]&&r<=o[t+2]))throw Error(s+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(s+n+": "+r);this[n]=new this(r)}return this}(u=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(s+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):T(t,e.toString())}if("string"!==typeof e)throw Error(s+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(s+e);T(t,e)}if(i.prototype=g,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=N,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n=t?n.apply(void 0,c):e(t-s,u(function(){for(var e=arguments.length,t=new Array(e),o=0;o0&&void 0!==arguments[0]?arguments[0]:"",t=this.props.decimalScale,n=this.getSeparators().decimalSeparator,r=this.getNumberRegex(!0),o="-"===e[0];o&&(e=e.replace("-","")),n&&0===t&&(e=e.split(n)[0]);var a=(e=(e.match(r)||[]).join("").replace(n,".")).indexOf(".");return-1!==a&&(e="".concat(e.substring(0,a),".").concat(e.substring(a+1,e.length).replace(new RegExp((0,i.escapeRegExp)(n),"g"),""))),o&&(e="-"+e),e}},{key:"getNumberRegex",value:function(e,t){var n=this.props,r=n.format,o=n.decimalScale,a=this.getSeparators().decimalSeparator;return new RegExp("\\d"+(!a||0===o||t||r?"":"|"+(0,i.escapeRegExp)(a)),e?"g":void 0)}},{key:"getSeparators",value:function(){var e=this.props.decimalSeparator,t=this.props.thousandSeparator;return!0===t&&(t=","),{decimalSeparator:e,thousandSeparator:t}}},{key:"getMaskAtIndex",value:function(e){var t=this.props.mask,n=void 0===t?" ":t;return"string"===typeof n?n:n[e]||" "}},{key:"getValueObject",value:function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}}},{key:"validateProps",value:function(){var e=this.props.mask,t=this.getSeparators(),n=t.decimalSeparator,r=t.thousandSeparator;if(n===r)throw new Error("\n Decimal separator can't be same as thousand separator.\n thousandSeparator: ".concat(r,' (thousandSeparator = {true} is same as thousandSeparator = ",")\n decimalSeparator: ').concat(n," (default value for decimalSeparator is .)\n "));if(e&&("string"===e?e:e.toString()).match(/\d/g))throw new Error("\n Mask ".concat(e," should not contain numeric character;\n "))}},{key:"setPatchedCaretPosition",value:function(e,t,n){(0,i.setCaretPosition)(e,t),setTimeout(function(){e.value===n&&(0,i.setCaretPosition)(e,t)},0)}},{key:"correctCaretPosition",value:function(e,t,n){var r=this.props,o=r.prefix,a=r.suffix,u=r.format;if(""===e)return 0;if(t=(0,i.clamp)(t,0,e.length),!u){var c="-"===e[0];return(0,i.clamp)(t,o.length+(c?1:0),e.length-a.length)}if("function"===typeof u)return t;if("#"===u[t]&&(0,i.charIsNumber)(e[t]))return t;if("#"===u[t-1]&&(0,i.charIsNumber)(e[t-1]))return t;var l=u.indexOf("#"),s=u.lastIndexOf("#");t=(0,i.clamp)(t,l,s+1);for(var f=u.substring(t,u.length).indexOf("#"),p=t,d=t+(-1===f?0:f);p>l&&("#"!==u[p]||!(0,i.charIsNumber)(e[p]));)p-=1;return!(0,i.charIsNumber)(e[d])||"left"===n&&t!==l||t-p0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.format,r=t.allowEmptyFormatting,o=e;return o=""!==e||r?"-"!==e||n?"string"===typeof n?this.formatWithPattern(o):"function"===typeof n?n(o):this.formatAsNumber(o):"-":""}},{key:"formatValueProp",value:function(e){var t=this.props,n=t.format,r=t.decimalScale,o=t.fixedDecimalScale,a=t.allowEmptyFormatting,u=this.props,c=u.value,l=void 0===c?e:c,s=u.isNumericString,f=!l&&0!==l;return f&&a&&(l=""),f&&!a?"":("number"===typeof l&&(l=l.toString(),s=!0),"Infinity"===l&&s&&(l=""),s&&!n&&"number"===typeof r&&(l=(0,i.roundToPrecision)(l,r,o)),s?this.formatNumString(l):this.formatInput(l))}},{key:"formatNegation",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props.allowNegative,n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),o=n.test(e),i=r.test(e);return e=e.replace(/-/g,""),o&&!i&&t&&(e="-"+e),e}},{key:"formatInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.props.format||(e=this.removePrefixAndSuffix(e),e=this.formatNegation(e)),e=this.removeFormatting(e),this.formatNumString(e)}},{key:"isCharacterAFormat",value:function(e,t){var n=this.props,r=n.format,o=n.prefix,i=n.suffix,a=n.decimalScale,u=n.fixedDecimalScale,c=this.getSeparators().decimalSeparator;return"string"===typeof r&&"#"!==r[e]||!(r||!(e=t.length-i.length||a&&u&&t[e]===c))}},{key:"checkIfFormatGotDeleted",value:function(e,t,n){for(var r=e;rt.length||!n.length||v===y||0===p&&d===t.length||p===m&&d===g)return n;if(this.checkIfFormatGotDeleted(v,y,t)&&(n=t),!o){var b=this.removeFormatting(n),x=(0,i.splitDecimal)(b,a),w=x.beforeDecimal,_=x.afterDecimal,O=x.addNegation,k=e1&&void 0!==arguments[1]?arguments[1]:i.noop,r=e.formattedValue,o=e.input,a=e.numAsString,u=e.caretPos,c=this.props.onValueChange,l=this.state.value;if(o){if(!u){var s=e.inputValue||o.value,f=(0,i.getCurrentCaretPosition)(o);u=this.getCaretPosition(s,r,f)}o.value=r,this.setPatchedCaretPosition(o,u,r)}void 0===a&&(a=this.removeFormatting(r)),r!==l?this.setState({value:r,numAsString:a},function(){c(t.getValueObject(r,a)),n()}):n()}},{key:"onChange",value:function(e){e.persist();var t=e.target,n=t.value,r=this.state,o=this.props,a=o.isAllowed,u=r.value||"",c=(0,i.getCurrentCaretPosition)(t);n=this.correctInputValue(c,u,n);var l=this.formatInput(n)||"",s=this.removeFormatting(l);a(this.getValueObject(l,s))||(l=u),this.updateValue({formattedValue:l,numAsString:s,inputValue:n,input:t},function(){o.onChange(e)})}},{key:"onBlur",value:function(e){var t=this.props,n=this.state,r=t.format,o=t.onBlur,a=n.numAsString,u=n.value;if(this.focusedElm=null,!r){a=(0,i.fixLeadingZero)(a);var c=this.formatNumString(a);if(c!==u)return e.persist(),void this.updateValue({formattedValue:c,numAsString:a},function(){o(e)})}o(e)}},{key:"onKeyDown",value:function(e){var t,n=e.target,r=e.key,o=n.selectionStart,i=n.selectionEnd,a=n.value,u=void 0===a?"":a,c=this.props,l=c.decimalScale,s=c.fixedDecimalScale,f=c.prefix,p=c.suffix,d=c.format,h=c.onKeyDown,v=(c.onValueChange,void 0!==l&&s),y=this.getNumberRegex(!1,v),m=new RegExp("-"),g="string"===typeof d;if(this.selectionBeforeInput={selectionStart:o,selectionEnd:i},"ArrowLeft"===r||"Backspace"===r?t=o-1:"ArrowRight"===r?t=o+1:"Delete"===r&&(t=o),void 0!==t&&o===i){var b=t,x=g?d.indexOf("#"):f.length,w=g?d.lastIndexOf("#")+1:u.length-p.length;if("ArrowLeft"===r||"ArrowRight"===r){var _="ArrowLeft"===r?"left":"right";b=this.correctCaretPosition(u,t,_)}else if("Delete"!==r||y.test(u[t])||m.test(u[t])){if("Backspace"===r&&!y.test(u[t]))if(o<=x+1&&"-"===u[0]&&"undefined"===typeof d){var O=u.substring(1);e.persist(),this.updateValue({formattedValue:O,caretPos:b,input:n})}else if(!m.test(u[t])){for(;!y.test(u[b-1])&&b>x;)b--;b=this.correctCaretPosition(u,b,"left")}}else for(;!y.test(u[b])&&bw)&&(e.preventDefault(),this.setPatchedCaretPosition(n,b,u)),e.isUnitTestRun&&this.setPatchedCaretPosition(n,b,u),this.props.onKeyDown(e)}else h(e)}},{key:"onMouseUp",value:function(e){var t=e.target,n=t.selectionStart,r=t.selectionEnd,o=t.value,i=void 0===o?"":o;if(n===r){var a=this.correctCaretPosition(i,n);a!==n&&this.setPatchedCaretPosition(t,a,i)}this.props.onMouseUp(e)}},{key:"onFocus",value:function(e){var t=this;e.persist(),this.focusedElm=e.target,setTimeout(function(){var n=e.target,r=n.selectionStart,o=n.selectionEnd,i=n.value,a=void 0===i?"":i,u=t.correctCaretPosition(a,r);u===r||0===r&&o===a.length||t.setPatchedCaretPosition(n,u,a),t.props.onFocus(e)},0)}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.displayType,r=e.customInput,a=e.renderText,u=e.getInputRef,l=this.state.value,s=(0,i.omit)(this.props,d),f=c({},s,{type:t,value:l,onChange:this.onChange,onKeyDown:this.onKeyDown,onMouseUp:this.onMouseUp,onFocus:this.onFocus,onBlur:this.onBlur});if("text"===n)return a?a(l)||null:o.default.createElement("span",c({},s,{ref:u}),l);if(r){var p=r;return o.default.createElement(p,f)}return o.default.createElement("input",c({},f,{ref:u}))}}])&&l(n.prototype,r),a&&l(n,a),t}();v.propTypes=d,v.defaultProps=h;var y=v;t.default=y,e.exports=t.default},function(e,t,n){var r=n(62),o=n(360),i=n(159),a=n(367),u=i(function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]});e.exports=u},function(e,t,n){var r=n(147),o=n(369),i=n(32),a=n(9);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(385),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default},function(e,t,n){var r=n(145),o=n(32),i=n(389),a=n(9),u=n(76);e.exports=function(e,t,n){var c=a(e)?r:i;return n&&u(e,t,n)&&(t=void 0),c(e,o(t,3))}},function(e,t,n){var r=n(166),o=n(392);e.exports=function(e,t){return r(o(e,t),1)}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(406)(n(407));e.exports=r},function(e,t,n){var r=n(116),o=n(19),i="Expected a function";e.exports=function(e,t,n){var a=!0,u=!0;if("function"!=typeof e)throw new TypeError(i);return o(n)&&(a="leading"in n?!!n.leading:a,u="trailing"in n?!!n.trailing:u),r(e,t,{leading:a,maxWait:t,trailing:u})}},function(e,t,n){"use strict";var r,o="object"===typeof Reflect?Reflect:null,i=o&&"function"===typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"===typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!==e};function u(){u.init.call(this)}e.exports=u,u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var c=10;function l(e){return void 0===e._maxListeners?u.defaultMaxListeners:e._maxListeners}function s(e,t,n,r){var o,i,a,u;if("function"!==typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"===typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,u=c,console&&console.warn&&console.warn(u)}return e}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=function(){for(var e=[],t=0;t0&&(a=t[0]),a instanceof Error)throw a;var u=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw u.context=a,u}var c=o[e];if(void 0===c)return!1;if("function"===typeof c)i(c,this,t);else{var l=c.length,s=h(c,l);for(n=0;n=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},u.prototype.listeners=function(e){return p(this,e,!0)},u.prototype.rawListeners=function(e){return p(this,e,!1)},u.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},u.prototype.listenerCount=d,u.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";var r=n(114);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),i=(0,r(n(411)).default)(o.default.createElement("path",{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"}),"HelpOutline");t.default=i},function(e,t,n){(function(e,r){var o;(function(){var i,a=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",l="__lodash_hash_undefined__",s=500,f="__lodash_placeholder__",p=1,d=2,h=4,v=1,y=2,m=1,g=2,b=4,x=8,w=16,_=32,O=64,k=128,S=256,E=512,j=30,T="...",M=800,C=16,P=1,A=2,N=1/0,R=9007199254740991,I=1.7976931348623157e308,D=NaN,L=4294967295,z=L-1,F=L>>>1,W=[["ary",k],["bind",m],["bindKey",g],["curry",x],["curryRight",w],["flip",E],["partial",_],["partialRight",O],["rearg",S]],B="[object Arguments]",U="[object Array]",V="[object AsyncFunction]",$="[object Boolean]",H="[object Date]",q="[object DOMException]",G="[object Error]",X="[object Function]",K="[object GeneratorFunction]",Y="[object Map]",Q="[object Number]",Z="[object Null]",J="[object Object]",ee="[object Proxy]",te="[object RegExp]",ne="[object Set]",re="[object String]",oe="[object Symbol]",ie="[object Undefined]",ae="[object WeakMap]",ue="[object WeakSet]",ce="[object ArrayBuffer]",le="[object DataView]",se="[object Float32Array]",fe="[object Float64Array]",pe="[object Int8Array]",de="[object Int16Array]",he="[object Int32Array]",ve="[object Uint8Array]",ye="[object Uint8ClampedArray]",me="[object Uint16Array]",ge="[object Uint32Array]",be=/\b__p \+= '';/g,xe=/\b(__p \+=) '' \+/g,we=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,Oe=/[&<>"']/g,ke=RegExp(_e.source),Se=RegExp(Oe.source),Ee=/<%-([\s\S]+?)%>/g,je=/<%([\s\S]+?)%>/g,Te=/<%=([\s\S]+?)%>/g,Me=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ce=/^\w*$/,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ae=/[\\^$.*+?()[\]{}|]/g,Ne=RegExp(Ae.source),Re=/^\s+|\s+$/g,Ie=/^\s+/,De=/\s+$/,Le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ze=/\{\n\/\* \[wrapped with (.+)\] \*/,Fe=/,? & /,We=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Be=/\\(\\)?/g,Ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ve=/\w*$/,$e=/^[-+]0x[0-9a-f]+$/i,He=/^0b[01]+$/i,qe=/^\[object .+?Constructor\]$/,Ge=/^0o[0-7]+$/i,Xe=/^(?:0|[1-9]\d*)$/,Ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ye=/($^)/,Qe=/['\n\r\u2028\u2029\\]/g,Ze="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Je="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",et="[\\ud800-\\udfff]",tt="["+Je+"]",nt="["+Ze+"]",rt="\\d+",ot="[\\u2700-\\u27bf]",it="[a-z\\xdf-\\xf6\\xf8-\\xff]",at="[^\\ud800-\\udfff"+Je+rt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ut="\\ud83c[\\udffb-\\udfff]",ct="[^\\ud800-\\udfff]",lt="(?:\\ud83c[\\udde6-\\uddff]){2}",st="[\\ud800-\\udbff][\\udc00-\\udfff]",ft="[A-Z\\xc0-\\xd6\\xd8-\\xde]",pt="(?:"+it+"|"+at+")",dt="(?:"+ft+"|"+at+")",ht="(?:"+nt+"|"+ut+")"+"?",vt="[\\ufe0e\\ufe0f]?"+ht+("(?:\\u200d(?:"+[ct,lt,st].join("|")+")[\\ufe0e\\ufe0f]?"+ht+")*"),yt="(?:"+[ot,lt,st].join("|")+")"+vt,mt="(?:"+[ct+nt+"?",nt,lt,st,et].join("|")+")",gt=RegExp("['\u2019]","g"),bt=RegExp(nt,"g"),xt=RegExp(ut+"(?="+ut+")|"+mt+vt,"g"),wt=RegExp([ft+"?"+it+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[tt,ft,"$"].join("|")+")",dt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[tt,ft+pt,"$"].join("|")+")",ft+"?"+pt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ft+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rt,yt].join("|"),"g"),_t=RegExp("[\\u200d\\ud800-\\udfff"+Ze+"\\ufe0e\\ufe0f]"),Ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],St=-1,Et={};Et[se]=Et[fe]=Et[pe]=Et[de]=Et[he]=Et[ve]=Et[ye]=Et[me]=Et[ge]=!0,Et[B]=Et[U]=Et[ce]=Et[$]=Et[le]=Et[H]=Et[G]=Et[X]=Et[Y]=Et[Q]=Et[J]=Et[te]=Et[ne]=Et[re]=Et[ae]=!1;var jt={};jt[B]=jt[U]=jt[ce]=jt[le]=jt[$]=jt[H]=jt[se]=jt[fe]=jt[pe]=jt[de]=jt[he]=jt[Y]=jt[Q]=jt[J]=jt[te]=jt[ne]=jt[re]=jt[oe]=jt[ve]=jt[ye]=jt[me]=jt[ge]=!0,jt[G]=jt[X]=jt[ae]=!1;var Tt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Mt=parseFloat,Ct=parseInt,Pt="object"==typeof e&&e&&e.Object===Object&&e,At="object"==typeof self&&self&&self.Object===Object&&self,Nt=Pt||At||Function("return this")(),Rt=t&&!t.nodeType&&t,It=Rt&&"object"==typeof r&&r&&!r.nodeType&&r,Dt=It&&It.exports===Rt,Lt=Dt&&Pt.process,zt=function(){try{var e=It&&It.require&&It.require("util").types;return e||Lt&&Lt.binding&&Lt.binding("util")}catch(t){}}(),Ft=zt&&zt.isArrayBuffer,Wt=zt&&zt.isDate,Bt=zt&&zt.isMap,Ut=zt&&zt.isRegExp,Vt=zt&&zt.isSet,$t=zt&&zt.isTypedArray;function Ht(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function qt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function Zt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function wn(e,t){for(var n=e.length;n--&&cn(t,e[n],0)>-1;);return n}var _n=dn({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),On=dn({"&":"&","<":"<",">":">",'"':""","'":"'"});function kn(e){return"\\"+Tt[e]}function Sn(e){return _t.test(e)}function En(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function jn(e,t){return function(n){return e(t(n))}}function Tn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var Rn=function e(t){var n=(t=null==t?Nt:Rn.defaults(Nt.Object(),t,Rn.pick(Nt,kt))).Array,r=t.Date,o=t.Error,Ze=t.Function,Je=t.Math,et=t.Object,tt=t.RegExp,nt=t.String,rt=t.TypeError,ot=n.prototype,it=Ze.prototype,at=et.prototype,ut=t["__core-js_shared__"],ct=it.toString,lt=at.hasOwnProperty,st=0,ft=function(){var e=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),pt=at.toString,dt=ct.call(et),ht=Nt._,vt=tt("^"+ct.call(lt).replace(Ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=Dt?t.Buffer:i,mt=t.Symbol,xt=t.Uint8Array,_t=yt?yt.allocUnsafe:i,Tt=jn(et.getPrototypeOf,et),Pt=et.create,At=at.propertyIsEnumerable,Rt=ot.splice,It=mt?mt.isConcatSpreadable:i,Lt=mt?mt.iterator:i,zt=mt?mt.toStringTag:i,on=function(){try{var e=zi(et,"defineProperty");return e({},"",{}),e}catch(t){}}(),dn=t.clearTimeout!==Nt.clearTimeout&&t.clearTimeout,In=r&&r.now!==Nt.Date.now&&r.now,Dn=t.setTimeout!==Nt.setTimeout&&t.setTimeout,Ln=Je.ceil,zn=Je.floor,Fn=et.getOwnPropertySymbols,Wn=yt?yt.isBuffer:i,Bn=t.isFinite,Un=ot.join,Vn=jn(et.keys,et),$n=Je.max,Hn=Je.min,qn=r.now,Gn=t.parseInt,Xn=Je.random,Kn=ot.reverse,Yn=zi(t,"DataView"),Qn=zi(t,"Map"),Zn=zi(t,"Promise"),Jn=zi(t,"Set"),er=zi(t,"WeakMap"),tr=zi(et,"create"),nr=er&&new er,rr={},or=sa(Yn),ir=sa(Qn),ar=sa(Zn),ur=sa(Jn),cr=sa(er),lr=mt?mt.prototype:i,sr=lr?lr.valueOf:i,fr=lr?lr.toString:i;function pr(e){if(ju(e)&&!yu(e)&&!(e instanceof yr)){if(e instanceof vr)return e;if(lt.call(e,"__wrapped__"))return fa(e)}return new vr(e)}var dr=function(){function e(){}return function(t){if(!Eu(t))return{};if(Pt)return Pt(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function hr(){}function vr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function yr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=L,this.__views__=[]}function mr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Rr(e,t,n,r,o,a){var u,c=t&p,l=t&d,s=t&h;if(n&&(u=o?n(e,r,o,a):n(e)),u!==i)return u;if(!Eu(e))return e;var f=yu(e);if(f){if(u=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&<.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!c)return ni(e,u)}else{var v=Bi(e),y=v==X||v==K;if(xu(e))return Yo(e,c);if(v==J||v==B||y&&!o){if(u=l||y?{}:Vi(e),!c)return l?function(e,t){return ri(e,Wi(e),t)}(e,function(e,t){return e&&ri(t,oc(t),e)}(u,e)):function(e,t){return ri(e,Fi(e),t)}(e,Cr(u,e))}else{if(!jt[v])return o?e:{};u=function(e,t,n){var r,o=e.constructor;switch(t){case ce:return Qo(e);case $:case H:return new o(+e);case le:return function(e,t){var n=t?Qo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case se:case fe:case pe:case de:case he:case ve:case ye:case me:case ge:return Zo(e,n);case Y:return new o;case Q:case re:return new o(e);case te:return function(e){var t=new e.constructor(e.source,Ve.exec(e));return t.lastIndex=e.lastIndex,t}(e);case ne:return new o;case oe:return r=e,sr?et(sr.call(r)):{}}}(e,v,c)}}a||(a=new wr);var m=a.get(e);if(m)return m;a.set(e,u),Au(e)?e.forEach(function(r){u.add(Rr(r,t,n,r,e,a))}):Tu(e)&&e.forEach(function(r,o){u.set(o,Rr(r,t,n,o,e,a))});var g=f?i:(s?l?Pi:Ci:l?oc:rc)(e);return Gt(g||e,function(r,o){g&&(r=e[o=r]),jr(u,o,Rr(r,t,n,o,e,a))}),u}function Ir(e,t,n){var r=n.length;if(null==e)return!r;for(e=et(e);r--;){var o=n[r],a=t[o],u=e[o];if(u===i&&!(o in e)||!a(u))return!1}return!0}function Dr(e,t,n){if("function"!=typeof e)throw new rt(c);return ra(function(){e.apply(i,n)},t)}function Lr(e,t,n,r){var o=-1,i=Qt,u=!0,c=e.length,l=[],s=t.length;if(!c)return l;n&&(t=Jt(t,mn(n))),r?(i=Zt,u=!1):t.length>=a&&(i=bn,u=!1,t=new xr(t));e:for(;++o-1},gr.prototype.set=function(e,t){var n=this.__data__,r=Tr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},br.prototype.clear=function(){this.size=0,this.__data__={hash:new mr,map:new(Qn||gr),string:new mr}},br.prototype.delete=function(e){var t=Di(this,e).delete(e);return this.size-=t?1:0,t},br.prototype.get=function(e){return Di(this,e).get(e)},br.prototype.has=function(e){return Di(this,e).has(e)},br.prototype.set=function(e,t){var n=Di(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},xr.prototype.add=xr.prototype.push=function(e){return this.__data__.set(e,l),this},xr.prototype.has=function(e){return this.__data__.has(e)},wr.prototype.clear=function(){this.__data__=new gr,this.size=0},wr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},wr.prototype.get=function(e){return this.__data__.get(e)},wr.prototype.has=function(e){return this.__data__.has(e)},wr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof gr){var r=n.__data__;if(!Qn||r.length0&&n(u)?t>1?Vr(u,t-1,n,r,o):en(o,u):r||(o[o.length]=u)}return o}var $r=ui(),Hr=ui(!0);function qr(e,t){return e&&$r(e,t,rc)}function Gr(e,t){return e&&Hr(e,t,rc)}function Xr(e,t){return Yt(t,function(t){return Ou(e[t])})}function Kr(e,t){for(var n=0,r=(t=qo(t,e)).length;null!=e&&nt}function Jr(e,t){return null!=e&<.call(e,t)}function eo(e,t){return null!=e&&t in et(e)}function to(e,t,r){for(var o=r?Zt:Qt,a=e[0].length,u=e.length,c=u,l=n(u),s=1/0,f=[];c--;){var p=e[c];c&&t&&(p=Jt(p,mn(t))),s=Hn(p.length,s),l[c]=!r&&(t||a>=120&&p.length>=120)?new xr(c&&p):i}p=e[0];var d=-1,h=l[0];e:for(;++d=u)return c;var l=n[r];return c*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)})}function go(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)u!==e&&Rt.call(u,c,1),Rt.call(e,c,1);return e}function xo(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Hi(o)?Rt.call(e,o,1):zo(e,o)}}return e}function wo(e,t){return e+zn(Xn()*(t-e+1))}function _o(e,t){var n="";if(!e||t<1||t>R)return n;do{t%2&&(n+=e),(t=zn(t/2))&&(e+=e)}while(t);return n}function Oo(e,t){return oa(Ji(e,t,Mc),e+"")}function ko(e){return Or(pc(e))}function So(e,t){var n=pc(e);return ua(n,Nr(t,0,n.length))}function Eo(e,t,n,r){if(!Eu(e))return e;for(var o=-1,a=(t=qo(t,e)).length,u=a-1,c=e;null!=c&&++oi?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o>>1,a=e[i];null!==a&&!Ru(a)&&(n?a<=t:a=a){var s=t?null:_i(e);if(s)return Mn(s);u=!1,o=bn,l=new xr}else l=t?[]:c;e:for(;++r=r?e:Co(e,t,n)}var Ko=dn||function(e){return Nt.clearTimeout(e)};function Yo(e,t){if(t)return e.slice();var n=e.length,r=_t?_t(n):new e.constructor(n);return e.copy(r),r}function Qo(e){var t=new e.constructor(e.byteLength);return new xt(t).set(new xt(e)),t}function Zo(e,t){var n=t?Qo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Jo(e,t){if(e!==t){var n=e!==i,r=null===e,o=e===e,a=Ru(e),u=t!==i,c=null===t,l=t===t,s=Ru(t);if(!c&&!s&&!a&&e>t||a&&u&&l&&!c&&!s||r&&u&&l||!n&&l||!o)return 1;if(!r&&!a&&!s&&e1?n[o-1]:i,u=o>2?n[2]:i;for(a=e.length>3&&"function"==typeof a?(o--,a):i,u&&qi(n[0],n[1],u)&&(a=o<3?i:a,o=1),t=et(t);++r-1?o[a?t[u]:u]:i}}function pi(e){return Mi(function(t){var n=t.length,r=n,o=vr.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new rt(c);if(o&&!u&&"wrapper"==Ni(a))var u=new vr([],!0)}for(r=u?r:n;++r1&&x.reverse(),p&&sc))return!1;var s=a.get(e);if(s&&a.get(t))return s==t;var f=-1,p=!0,d=n&y?new xr:i;for(a.set(e,t),a.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Gt(W,function(n){var r="_."+n[0];t&n[1]&&!Qt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(ze);return t?t[1].split(Fe):[]}(r),n)))}function aa(e){var t=0,n=0;return function(){var r=qn(),o=C-(r-n);if(n=r,o>0){if(++t>=M)return arguments[0]}else t=0;return e.apply(i,arguments)}}function ua(e,t){var n=-1,r=e.length,o=r-1;for(t=t===i?r:t;++n1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,Pa(e,n)});function za(e){var t=pr(e);return t.__chain__=!0,t}function Fa(e,t){return t(e)}var Wa=Mi(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof yr&&Hi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Fa,args:[o],thisArg:i}),new vr(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(i),e})):this.thru(o)});var Ba=oi(function(e,t,n){lt.call(e,n)?++e[n]:Pr(e,n,1)});var Ua=fi(va),Va=fi(ya);function $a(e,t){return(yu(e)?Gt:zr)(e,Ii(t,3))}function Ha(e,t){return(yu(e)?Xt:Fr)(e,Ii(t,3))}var qa=oi(function(e,t,n){lt.call(e,n)?e[n].push(t):Pr(e,n,[t])});var Ga=Oo(function(e,t,r){var o=-1,i="function"==typeof t,a=gu(e)?n(e.length):[];return zr(e,function(e){a[++o]=i?Ht(t,e,r):no(e,t,r)}),a}),Xa=oi(function(e,t,n){Pr(e,n,t)});function Ka(e,t){return(yu(e)?Jt:fo)(e,Ii(t,3))}var Ya=oi(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var Qa=Oo(function(e,t){if(null==e)return[];var n=t.length;return n>1&&qi(e,t[0],t[1])?t=[]:n>2&&qi(t[0],t[1],t[2])&&(t=[t[0]]),mo(e,Vr(t,1),[])}),Za=In||function(){return Nt.Date.now()};function Ja(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,ki(e,k,i,i,i,i,t)}function eu(e,t){var n;if("function"!=typeof t)throw new rt(c);return e=Wu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var tu=Oo(function(e,t,n){var r=m;if(n.length){var o=Tn(n,Ri(tu));r|=_}return ki(e,r,t,n,o)}),nu=Oo(function(e,t,n){var r=m|g;if(n.length){var o=Tn(n,Ri(nu));r|=_}return ki(t,r,e,n,o)});function ru(e,t,n){var r,o,a,u,l,s,f=0,p=!1,d=!1,h=!0;if("function"!=typeof e)throw new rt(c);function v(t){var n=r,a=o;return r=o=i,f=t,u=e.apply(a,n)}function y(e){var n=e-s;return s===i||n>=t||n<0||d&&e-f>=a}function m(){var e=Za();if(y(e))return g(e);l=ra(m,function(e){var n=t-(e-s);return d?Hn(n,a-(e-f)):n}(e))}function g(e){return l=i,h&&r?v(e):(r=o=i,u)}function b(){var e=Za(),n=y(e);if(r=arguments,o=this,s=e,n){if(l===i)return function(e){return f=e,l=ra(m,t),p?v(e):u}(s);if(d)return Ko(l),l=ra(m,t),v(s)}return l===i&&(l=ra(m,t)),u}return t=Uu(t)||0,Eu(n)&&(p=!!n.leading,a=(d="maxWait"in n)?$n(Uu(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),b.cancel=function(){l!==i&&Ko(l),f=0,r=s=o=l=i},b.flush=function(){return l===i?u:g(Za())},b}var ou=Oo(function(e,t){return Dr(e,1,t)}),iu=Oo(function(e,t,n){return Dr(e,Uu(t)||0,n)});function au(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new rt(c);var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(au.Cache||br),n}function uu(e){if("function"!=typeof e)throw new rt(c);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}au.Cache=br;var cu=Go(function(e,t){var n=(t=1==t.length&&yu(t[0])?Jt(t[0],mn(Ii())):Jt(Vr(t,1),mn(Ii()))).length;return Oo(function(r){for(var o=-1,i=Hn(r.length,n);++o=t}),vu=ro(function(){return arguments}())?ro:function(e){return ju(e)&<.call(e,"callee")&&!At.call(e,"callee")},yu=n.isArray,mu=Ft?mn(Ft):function(e){return ju(e)&&Qr(e)==ce};function gu(e){return null!=e&&Su(e.length)&&!Ou(e)}function bu(e){return ju(e)&&gu(e)}var xu=Wn||Uc,wu=Wt?mn(Wt):function(e){return ju(e)&&Qr(e)==H};function _u(e){if(!ju(e))return!1;var t=Qr(e);return t==G||t==q||"string"==typeof e.message&&"string"==typeof e.name&&!Cu(e)}function Ou(e){if(!Eu(e))return!1;var t=Qr(e);return t==X||t==K||t==V||t==ee}function ku(e){return"number"==typeof e&&e==Wu(e)}function Su(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=R}function Eu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ju(e){return null!=e&&"object"==typeof e}var Tu=Bt?mn(Bt):function(e){return ju(e)&&Bi(e)==Y};function Mu(e){return"number"==typeof e||ju(e)&&Qr(e)==Q}function Cu(e){if(!ju(e)||Qr(e)!=J)return!1;var t=Tt(e);if(null===t)return!0;var n=lt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==dt}var Pu=Ut?mn(Ut):function(e){return ju(e)&&Qr(e)==te};var Au=Vt?mn(Vt):function(e){return ju(e)&&Bi(e)==ne};function Nu(e){return"string"==typeof e||!yu(e)&&ju(e)&&Qr(e)==re}function Ru(e){return"symbol"==typeof e||ju(e)&&Qr(e)==oe}var Iu=$t?mn($t):function(e){return ju(e)&&Su(e.length)&&!!Et[Qr(e)]};var Du=bi(so),Lu=bi(function(e,t){return e<=t});function zu(e){if(!e)return[];if(gu(e))return Nu(e)?An(e):ni(e);if(Lt&&e[Lt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Lt]());var t=Bi(e);return(t==Y?En:t==ne?Mn:pc)(e)}function Fu(e){return e?(e=Uu(e))===N||e===-N?(e<0?-1:1)*I:e===e?e:0:0===e?e:0}function Wu(e){var t=Fu(e),n=t%1;return t===t?n?t-n:t:0}function Bu(e){return e?Nr(Wu(e),0,L):0}function Uu(e){if("number"==typeof e)return e;if(Ru(e))return D;if(Eu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Eu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Re,"");var n=He.test(e);return n||Ge.test(e)?Ct(e.slice(2),n?2:8):$e.test(e)?D:+e}function Vu(e){return ri(e,oc(e))}function $u(e){return null==e?"":Do(e)}var Hu=ii(function(e,t){if(Yi(t)||gu(t))ri(t,rc(t),e);else for(var n in t)lt.call(t,n)&&jr(e,n,t[n])}),qu=ii(function(e,t){ri(t,oc(t),e)}),Gu=ii(function(e,t,n,r){ri(t,oc(t),e,r)}),Xu=ii(function(e,t,n,r){ri(t,rc(t),e,r)}),Ku=Mi(Ar);var Yu=Oo(function(e,t){e=et(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&qi(t[0],t[1],o)&&(r=1);++n1),t}),ri(e,Pi(e),n),r&&(n=Rr(n,p|d|h,ji));for(var o=t.length;o--;)zo(n,t[o]);return n});var cc=Mi(function(e,t){return null==e?{}:function(e,t){return go(e,t,function(t,n){return Ju(e,n)})}(e,t)});function lc(e,t){if(null==e)return{};var n=Jt(Pi(e),function(e){return[e]});return t=Ii(t),go(e,n,function(e,n){return t(e,n[0])})}var sc=Oi(rc),fc=Oi(oc);function pc(e){return null==e?[]:gn(e,rc(e))}var dc=li(function(e,t,n){return t=t.toLowerCase(),e+(n?hc(t):t)});function hc(e){return _c($u(e).toLowerCase())}function vc(e){return(e=$u(e))&&e.replace(Ke,_n).replace(bt,"")}var yc=li(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),mc=li(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),gc=ci("toLowerCase");var bc=li(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var xc=li(function(e,t,n){return e+(n?" ":"")+_c(t)});var wc=li(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),_c=ci("toUpperCase");function Oc(e,t,n){return e=$u(e),(t=n?i:t)===i?function(e){return Ot.test(e)}(e)?function(e){return e.match(wt)||[]}(e):function(e){return e.match(We)||[]}(e):e.match(t)||[]}var kc=Oo(function(e,t){try{return Ht(e,i,t)}catch(n){return _u(n)?n:new o(n)}}),Sc=Mi(function(e,t){return Gt(t,function(t){t=la(t),Pr(e,t,tu(e[t],e))}),e});function Ec(e){return function(){return e}}var jc=pi(),Tc=pi(!0);function Mc(e){return e}function Cc(e){return uo("function"==typeof e?e:Rr(e,p))}var Pc=Oo(function(e,t){return function(n){return no(n,e,t)}}),Ac=Oo(function(e,t){return function(n){return no(e,n,t)}});function Nc(e,t,n){var r=rc(t),o=Xr(t,r);null!=n||Eu(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Xr(t,rc(t)));var i=!(Eu(n)&&"chain"in n)||!!n.chain,a=Ou(e);return Gt(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=ni(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,en([this.value()],arguments))})}),e}function Rc(){}var Ic=yi(Jt),Dc=yi(Kt),Lc=yi(rn);function zc(e){return Gi(e)?pn(la(e)):function(e){return function(t){return Kr(t,e)}}(e)}var Fc=gi(),Wc=gi(!0);function Bc(){return[]}function Uc(){return!1}var Vc=vi(function(e,t){return e+t},0),$c=wi("ceil"),Hc=vi(function(e,t){return e/t},1),qc=wi("floor");var Gc=vi(function(e,t){return e*t},1),Xc=wi("round"),Kc=vi(function(e,t){return e-t},0);return pr.after=function(e,t){if("function"!=typeof t)throw new rt(c);return e=Wu(e),function(){if(--e<1)return t.apply(this,arguments)}},pr.ary=Ja,pr.assign=Hu,pr.assignIn=qu,pr.assignInWith=Gu,pr.assignWith=Xu,pr.at=Ku,pr.before=eu,pr.bind=tu,pr.bindAll=Sc,pr.bindKey=nu,pr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return yu(e)?e:[e]},pr.chain=za,pr.chunk=function(e,t,r){t=(r?qi(e,t,r):t===i)?1:$n(Wu(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,u=0,c=n(Ln(o/t));ao?0:o+n),(r=r===i||r>o?o:Wu(r))<0&&(r+=o),r=n>r?0:Bu(r);n>>0)?(e=$u(e))&&("string"==typeof t||null!=t&&!Pu(t))&&!(t=Do(t))&&Sn(e)?Xo(An(e),0,n):e.split(t,n):[]},pr.spread=function(e,t){if("function"!=typeof e)throw new rt(c);return t=null==t?0:$n(Wu(t),0),Oo(function(n){var r=n[t],o=Xo(n,0,t);return r&&en(o,r),Ht(e,this,o)})},pr.tail=function(e){var t=null==e?0:e.length;return t?Co(e,1,t):[]},pr.take=function(e,t,n){return e&&e.length?Co(e,0,(t=n||t===i?1:Wu(t))<0?0:t):[]},pr.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Co(e,(t=r-(t=n||t===i?1:Wu(t)))<0?0:t,r):[]},pr.takeRightWhile=function(e,t){return e&&e.length?Wo(e,Ii(t,3),!1,!0):[]},pr.takeWhile=function(e,t){return e&&e.length?Wo(e,Ii(t,3)):[]},pr.tap=function(e,t){return t(e),e},pr.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new rt(c);return Eu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ru(e,t,{leading:r,maxWait:t,trailing:o})},pr.thru=Fa,pr.toArray=zu,pr.toPairs=sc,pr.toPairsIn=fc,pr.toPath=function(e){return yu(e)?Jt(e,la):Ru(e)?[e]:ni(ca($u(e)))},pr.toPlainObject=Vu,pr.transform=function(e,t,n){var r=yu(e),o=r||xu(e)||Iu(e);if(t=Ii(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Eu(e)&&Ou(i)?dr(Tt(e)):{}}return(o?Gt:qr)(e,function(e,r,o){return t(n,e,r,o)}),n},pr.unary=function(e){return Ja(e,1)},pr.union=ja,pr.unionBy=Ta,pr.unionWith=Ma,pr.uniq=function(e){return e&&e.length?Lo(e):[]},pr.uniqBy=function(e,t){return e&&e.length?Lo(e,Ii(t,2)):[]},pr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?Lo(e,i,t):[]},pr.unset=function(e,t){return null==e||zo(e,t)},pr.unzip=Ca,pr.unzipWith=Pa,pr.update=function(e,t,n){return null==e?e:Fo(e,t,Ho(n))},pr.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:Fo(e,t,Ho(n),r)},pr.values=pc,pr.valuesIn=function(e){return null==e?[]:gn(e,oc(e))},pr.without=Aa,pr.words=Oc,pr.wrap=function(e,t){return lu(Ho(t),e)},pr.xor=Na,pr.xorBy=Ra,pr.xorWith=Ia,pr.zip=Da,pr.zipObject=function(e,t){return Vo(e||[],t||[],jr)},pr.zipObjectDeep=function(e,t){return Vo(e||[],t||[],Eo)},pr.zipWith=La,pr.entries=sc,pr.entriesIn=fc,pr.extend=qu,pr.extendWith=Gu,Nc(pr,pr),pr.add=Vc,pr.attempt=kc,pr.camelCase=dc,pr.capitalize=hc,pr.ceil=$c,pr.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=Uu(n))===n?n:0),t!==i&&(t=(t=Uu(t))===t?t:0),Nr(Uu(e),t,n)},pr.clone=function(e){return Rr(e,h)},pr.cloneDeep=function(e){return Rr(e,p|h)},pr.cloneDeepWith=function(e,t){return Rr(e,p|h,t="function"==typeof t?t:i)},pr.cloneWith=function(e,t){return Rr(e,h,t="function"==typeof t?t:i)},pr.conformsTo=function(e,t){return null==t||Ir(e,t,rc(t))},pr.deburr=vc,pr.defaultTo=function(e,t){return null==e||e!==e?t:e},pr.divide=Hc,pr.endsWith=function(e,t,n){e=$u(e),t=Do(t);var r=e.length,o=n=n===i?r:Nr(Wu(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},pr.eq=pu,pr.escape=function(e){return(e=$u(e))&&Se.test(e)?e.replace(Oe,On):e},pr.escapeRegExp=function(e){return(e=$u(e))&&Ne.test(e)?e.replace(Ae,"\\$&"):e},pr.every=function(e,t,n){var r=yu(e)?Kt:Wr;return n&&qi(e,t,n)&&(t=i),r(e,Ii(t,3))},pr.find=Ua,pr.findIndex=va,pr.findKey=function(e,t){return an(e,Ii(t,3),qr)},pr.findLast=Va,pr.findLastIndex=ya,pr.findLastKey=function(e,t){return an(e,Ii(t,3),Gr)},pr.floor=qc,pr.forEach=$a,pr.forEachRight=Ha,pr.forIn=function(e,t){return null==e?e:$r(e,Ii(t,3),oc)},pr.forInRight=function(e,t){return null==e?e:Hr(e,Ii(t,3),oc)},pr.forOwn=function(e,t){return e&&qr(e,Ii(t,3))},pr.forOwnRight=function(e,t){return e&&Gr(e,Ii(t,3))},pr.get=Zu,pr.gt=du,pr.gte=hu,pr.has=function(e,t){return null!=e&&Ui(e,t,Jr)},pr.hasIn=Ju,pr.head=ga,pr.identity=Mc,pr.includes=function(e,t,n,r){e=gu(e)?e:pc(e),n=n&&!r?Wu(n):0;var o=e.length;return n<0&&(n=$n(o+n,0)),Nu(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&cn(e,t,n)>-1},pr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Wu(n);return o<0&&(o=$n(r+o,0)),cn(e,t,o)},pr.inRange=function(e,t,n){return t=Fu(t),n===i?(n=t,t=0):n=Fu(n),function(e,t,n){return e>=Hn(t,n)&&e<$n(t,n)}(e=Uu(e),t,n)},pr.invoke=nc,pr.isArguments=vu,pr.isArray=yu,pr.isArrayBuffer=mu,pr.isArrayLike=gu,pr.isArrayLikeObject=bu,pr.isBoolean=function(e){return!0===e||!1===e||ju(e)&&Qr(e)==$},pr.isBuffer=xu,pr.isDate=wu,pr.isElement=function(e){return ju(e)&&1===e.nodeType&&!Cu(e)},pr.isEmpty=function(e){if(null==e)return!0;if(gu(e)&&(yu(e)||"string"==typeof e||"function"==typeof e.splice||xu(e)||Iu(e)||vu(e)))return!e.length;var t=Bi(e);if(t==Y||t==ne)return!e.size;if(Yi(e))return!co(e).length;for(var n in e)if(lt.call(e,n))return!1;return!0},pr.isEqual=function(e,t){return oo(e,t)},pr.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?oo(e,t,i,n):!!r},pr.isError=_u,pr.isFinite=function(e){return"number"==typeof e&&Bn(e)},pr.isFunction=Ou,pr.isInteger=ku,pr.isLength=Su,pr.isMap=Tu,pr.isMatch=function(e,t){return e===t||io(e,t,Li(t))},pr.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,io(e,t,Li(t),n)},pr.isNaN=function(e){return Mu(e)&&e!=+e},pr.isNative=function(e){if(Ki(e))throw new o(u);return ao(e)},pr.isNil=function(e){return null==e},pr.isNull=function(e){return null===e},pr.isNumber=Mu,pr.isObject=Eu,pr.isObjectLike=ju,pr.isPlainObject=Cu,pr.isRegExp=Pu,pr.isSafeInteger=function(e){return ku(e)&&e>=-R&&e<=R},pr.isSet=Au,pr.isString=Nu,pr.isSymbol=Ru,pr.isTypedArray=Iu,pr.isUndefined=function(e){return e===i},pr.isWeakMap=function(e){return ju(e)&&Bi(e)==ae},pr.isWeakSet=function(e){return ju(e)&&Qr(e)==ue},pr.join=function(e,t){return null==e?"":Un.call(e,t)},pr.kebabCase=yc,pr.last=_a,pr.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=Wu(n))<0?$n(r+o,0):Hn(o,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):un(e,sn,o,!0)},pr.lowerCase=mc,pr.lowerFirst=gc,pr.lt=Du,pr.lte=Lu,pr.max=function(e){return e&&e.length?Br(e,Mc,Zr):i},pr.maxBy=function(e,t){return e&&e.length?Br(e,Ii(t,2),Zr):i},pr.mean=function(e){return fn(e,Mc)},pr.meanBy=function(e,t){return fn(e,Ii(t,2))},pr.min=function(e){return e&&e.length?Br(e,Mc,so):i},pr.minBy=function(e,t){return e&&e.length?Br(e,Ii(t,2),so):i},pr.stubArray=Bc,pr.stubFalse=Uc,pr.stubObject=function(){return{}},pr.stubString=function(){return""},pr.stubTrue=function(){return!0},pr.multiply=Gc,pr.nth=function(e,t){return e&&e.length?yo(e,Wu(t)):i},pr.noConflict=function(){return Nt._===this&&(Nt._=ht),this},pr.noop=Rc,pr.now=Za,pr.pad=function(e,t,n){e=$u(e);var r=(t=Wu(t))?Pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return mi(zn(o),n)+e+mi(Ln(o),n)},pr.padEnd=function(e,t,n){e=$u(e);var r=(t=Wu(t))?Pn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Xn();return Hn(e+o*(t-e+Mt("1e-"+((o+"").length-1))),t)}return wo(e,t)},pr.reduce=function(e,t,n){var r=yu(e)?tn:hn,o=arguments.length<3;return r(e,Ii(t,4),n,o,zr)},pr.reduceRight=function(e,t,n){var r=yu(e)?nn:hn,o=arguments.length<3;return r(e,Ii(t,4),n,o,Fr)},pr.repeat=function(e,t,n){return t=(n?qi(e,t,n):t===i)?1:Wu(t),_o($u(e),t)},pr.replace=function(){var e=arguments,t=$u(e[0]);return e.length<3?t:t.replace(e[1],e[2])},pr.result=function(e,t,n){var r=-1,o=(t=qo(t,e)).length;for(o||(o=1,e=i);++rR)return[];var n=L,r=Hn(e,L);t=Ii(t),e-=L;for(var o=yn(r,t);++n=a)return e;var c=n-Pn(r);if(c<1)return r;var l=u?Xo(u,0,c).join(""):e.slice(0,c);if(o===i)return l+r;if(u&&(c+=l.length-c),Pu(o)){if(e.slice(c).search(o)){var s,f=l;for(o.global||(o=tt(o.source,$u(Ve.exec(o))+"g")),o.lastIndex=0;s=o.exec(f);)var p=s.index;l=l.slice(0,p===i?c:p)}}else if(e.indexOf(Do(o),c)!=c){var d=l.lastIndexOf(o);d>-1&&(l=l.slice(0,d))}return l+r},pr.unescape=function(e){return(e=$u(e))&&ke.test(e)?e.replace(_e,Nn):e},pr.uniqueId=function(e){var t=++st;return $u(e)+t},pr.upperCase=wc,pr.upperFirst=_c,pr.each=$a,pr.eachRight=Ha,pr.first=ga,Nc(pr,function(){var e={};return qr(pr,function(t,n){lt.call(pr.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),pr.VERSION="4.17.15",Gt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){pr[e].placeholder=pr}),Gt(["drop","take"],function(e,t){yr.prototype[e]=function(n){n=n===i?1:$n(Wu(n),0);var r=this.__filtered__&&!t?new yr(this):this.clone();return r.__filtered__?r.__takeCount__=Hn(n,r.__takeCount__):r.__views__.push({size:Hn(n,L),type:e+(r.__dir__<0?"Right":"")}),r},yr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Gt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==P||3==n;yr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ii(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Gt(["head","last"],function(e,t){var n="take"+(t?"Right":"");yr.prototype[e]=function(){return this[n](1).value()[0]}}),Gt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");yr.prototype[e]=function(){return this.__filtered__?new yr(this):this[n](1)}}),yr.prototype.compact=function(){return this.filter(Mc)},yr.prototype.find=function(e){return this.filter(e).head()},yr.prototype.findLast=function(e){return this.reverse().find(e)},yr.prototype.invokeMap=Oo(function(e,t){return"function"==typeof e?new yr(this):this.map(function(n){return no(n,e,t)})}),yr.prototype.reject=function(e){return this.filter(uu(Ii(e)))},yr.prototype.slice=function(e,t){e=Wu(e);var n=this;return n.__filtered__&&(e>0||t<0)?new yr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=Wu(t))<0?n.dropRight(-t):n.take(t-e)),n)},yr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},yr.prototype.toArray=function(){return this.take(L)},qr(yr.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=pr[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);o&&(pr.prototype[t]=function(){var t=this.__wrapped__,u=r?[1]:arguments,c=t instanceof yr,l=u[0],s=c||yu(t),f=function(e){var t=o.apply(pr,en([e],u));return r&&p?t[0]:t};s&&n&&"function"==typeof l&&1!=l.length&&(c=s=!1);var p=this.__chain__,d=!!this.__actions__.length,h=a&&!p,v=c&&!d;if(!a&&s){t=v?t:new yr(this);var y=e.apply(t,u);return y.__actions__.push({func:Fa,args:[f],thisArg:i}),new vr(y,p)}return h&&v?e.apply(this,u):(y=this.thru(f),h?r?y.value()[0]:y.value():y)})}),Gt(["pop","push","shift","sort","splice","unshift"],function(e){var t=ot[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);pr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(yu(o)?o:[],e)}return this[n](function(n){return t.apply(yu(n)?n:[],e)})}}),qr(yr.prototype,function(e,t){var n=pr[t];if(n){var r=n.name+"";lt.call(rr,r)||(rr[r]=[]),rr[r].push({name:t,func:n})}}),rr[di(i,g).name]=[{name:"wrapper",func:i}],yr.prototype.clone=function(){var e=new yr(this.__wrapped__);return e.__actions__=ni(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ni(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ni(this.__views__),e},yr.prototype.reverse=function(){if(this.__filtered__){var e=new yr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},yr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=yu(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},pr.prototype.plant=function(e){for(var t,n=this;n instanceof hr;){var r=fa(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},pr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof yr){var t=e;return this.__actions__.length&&(t=new yr(this)),(t=t.reverse()).__actions__.push({func:Fa,args:[Ea],thisArg:i}),new vr(t,this.__chain__)}return this.thru(Ea)},pr.prototype.toJSON=pr.prototype.valueOf=pr.prototype.value=function(){return Bo(this.__wrapped__,this.__actions__)},pr.prototype.first=pr.prototype.head,Lt&&(pr.prototype[Lt]=function(){return this}),pr}();Nt._=Rn,(o=function(){return Rn}.call(t,n,t,r))===i||(r.exports=o)}).call(this)}).call(this,n(41),n(109)(e))},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"===typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t,n){var r=n(416),o=n(417),i=n(418);e.exports=function(e,t){return r(e)||o(e,t)||i()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};t.default=r},function(e,t,n){"use strict";var r=n(21),o=n(2),i=n(3),a=n(27),u=n.n(a);function c(e){return!0===(null!=(t=e)&&"object"===typeof t&&!1===Array.isArray(t))&&"[object Object]"===Object.prototype.toString.call(e);var t}function l(e){var t,n;return!1!==c(e)&&("function"===typeof(t=e.constructor)&&(!1!==c(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}n(14);var s=n(79);function f(e,t,n){var i;return Object(o.a)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(o.a)({paddingLeft:t(2),paddingRight:t(2)},n,Object(r.a)({},e.up("sm"),Object(o.a)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(i={minHeight:56},Object(r.a)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(i,e.up("sm"),{minHeight:64}),i)},n)}var p={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},d={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},h={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},v={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},y={black:"#000",white:"#fff"},m=n(20),g={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:y.white,default:h[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}},b={text:{primary:y.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:h[800],default:"#303030"},action:{active:y.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};function x(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(m.d)(e.main,r):"dark"===t&&(e.dark=Object(m.a)(e.main,1.5*r)))}function w(e){return Math.round(1e5*e)/1e5}var _={textTransform:"uppercase"},O='"Roboto", "Helvetica", "Arial", sans-serif';function k(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,a=void 0===r?O:r,c=n.fontSize,l=void 0===c?14:c,s=n.fontWeightLight,f=void 0===s?300:s,p=n.fontWeightRegular,d=void 0===p?400:p,h=n.fontWeightMedium,v=void 0===h?500:h,y=n.fontWeightBold,m=void 0===y?700:y,g=n.htmlFontSize,b=void 0===g?16:g,x=n.allVariants,k=Object(i.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants"]),S=l/14,E=function(e){return"".concat(e/b*S,"rem")},j=function(e,t,n,r,i){return Object(o.a)({fontFamily:a,fontWeight:e,fontSize:E(t),lineHeight:n},a===O?{letterSpacing:"".concat(w(r/t),"em")}:{},{},i,{},x)},T={h1:j(f,96,1,-1.5),h2:j(f,60,1,-.5),h3:j(d,48,1.04,0),h4:j(d,34,1.17,.25),h5:j(d,24,1.33,0),h6:j(v,20,1.6,.15),subtitle1:j(d,16,1.75,.15),subtitle2:j(v,14,1.57,.1),body1:j(d,16,1.5,.15),body2:j(d,14,1.43,.15),button:j(v,14,1.75,.4,_),caption:j(d,12,1.66,.4),overline:j(d,12,2.66,1,_)};return u()(Object(o.a)({htmlFontSize:b,pxToRem:E,round:w,fontFamily:a,fontSize:l,fontWeightLight:f,fontWeightRegular:d,fontWeightMedium:v,fontWeightBold:m},T),k,{clone:!1})}var S=.2,E=.14,j=.12;function T(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(S,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(E,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(j,")")].join(",")}var M=["none",T(0,1,3,0,0,1,1,0,0,2,1,-1),T(0,1,5,0,0,2,2,0,0,3,1,-2),T(0,1,8,0,0,3,4,0,0,3,3,-2),T(0,2,4,-1,0,4,5,0,0,1,10,0),T(0,3,5,-1,0,5,8,0,0,1,14,0),T(0,3,5,-1,0,6,10,0,0,1,18,0),T(0,4,5,-2,0,7,10,1,0,2,16,1),T(0,5,5,-3,0,8,10,1,0,3,14,2),T(0,5,6,-3,0,9,12,1,0,3,16,2),T(0,6,6,-3,0,10,14,1,0,4,18,3),T(0,6,7,-4,0,11,15,1,0,4,20,3),T(0,7,8,-4,0,12,17,2,0,5,22,4),T(0,7,8,-4,0,13,19,2,0,5,24,4),T(0,7,9,-4,0,14,21,2,0,5,26,4),T(0,8,9,-5,0,15,22,2,0,6,28,5),T(0,8,10,-5,0,16,24,2,0,6,30,5),T(0,8,11,-5,0,17,26,2,0,6,32,5),T(0,9,11,-5,0,18,28,2,0,7,34,6),T(0,9,12,-6,0,19,29,2,0,7,36,6),T(0,10,13,-6,0,20,31,3,0,8,38,7),T(0,10,13,-6,0,21,33,3,0,8,40,7),T(0,10,14,-6,0,22,35,3,0,8,42,7),T(0,11,14,-7,0,23,36,3,0,9,44,8),T(0,11,15,-7,0,24,38,3,0,9,46,8)],C={borderRadius:4};var P={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},A={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195},N=function(e){return"".concat(Math.round(e),"ms")},R={easing:P,duration:A,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?A.standard:n,o=t.easing,a=void 0===o?P.easeInOut:o,u=t.delay,c=void 0===u?0:u;Object(i.a)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map(function(e){return"".concat(e," ").concat("string"===typeof r?r:N(r)," ").concat(a," ").concat("string"===typeof c?c:N(c))}).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},I=n(80);t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,a=void 0===r?{}:r,c=e.palette,w=void 0===c?{}:c,_=e.shadows,O=e.spacing,S=e.typography,E=void 0===S?{}:S,j=Object(i.a)(e,["breakpoints","mixins","palette","shadows","spacing","typography"]),T=function(e){var t=e.primary,n=void 0===t?{light:p[300],main:p[500],dark:p[700]}:t,r=e.secondary,a=void 0===r?{light:d.A200,main:d.A400,dark:d.A700}:r,c=e.error,l=void 0===c?{light:v[300],main:v[500],dark:v[700]}:c,s=e.type,f=void 0===s?"light":s,w=e.contrastThreshold,_=void 0===w?3:w,O=e.tonalOffset,k=void 0===O?.2:O,S=Object(i.a)(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);function E(e){return Object(m.c)(e,b.text.primary)>=_?b.text.primary:g.text.primary}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;return!(e=Object(o.a)({},e)).main&&e[t]&&(e.main=e[t]),x(e,"light",n,k),x(e,"dark",r,k),e.contrastText||(e.contrastText=E(e.main)),e}var T={dark:b,light:g};return u()(Object(o.a)({common:y,type:f,primary:j(n),secondary:j(a,"A400","A200","A700"),error:j(l),grey:h,contrastThreshold:_,getContrastText:E,augmentColor:j,tonalOffset:k},T[f]),S,{clone:!1})}(w),P=Object(s.a)(n),A=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;e="function"===typeof t?t:function(e){return t*e};var n=function(){for(var t=arguments.length,n=new Array(t),r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(1),o=n.n(r),i=n(77);function a(){return o.a.useContext(i.a)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(125),o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,v=o?Symbol.for("react.memo"):60115,y=o?Symbol.for("react.lazy"):60116,m="function"===typeof Symbol&&Symbol.iterator;function g(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rA.length&&A.push(e)}function I(e,t,n){return null==e?0:function e(t,n,r,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var c=!1;if(null===t)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case a:c=!0}}if(c)return r(o,t,""===n?"."+D(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;lthis.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=le,e.release=se}o(ce.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ae)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ae)},persist:function(){this.isPersistent=ae},isPersistent:ue,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ue,this._dispatchInstances=this._dispatchListeners=null}}),ce.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ce.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(ce);var pe=ce.extend({data:null}),de=ce.extend({data:null}),he=[9,13,27,32],ve=H&&"CompositionEvent"in window,ye=null;H&&"documentMode"in document&&(ye=document.documentMode);var me=H&&"TextEvent"in window&&!ye,ge=H&&(!ve||ye&&8=ye),be=String.fromCharCode(32),xe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},we=!1;function _e(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Oe(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var ke=!1;var Se={eventTypes:xe,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(ve)e:{switch(e){case"compositionstart":o=xe.compositionStart;break e;case"compositionend":o=xe.compositionEnd;break e;case"compositionupdate":o=xe.compositionUpdate;break e}o=void 0}else ke?_e(e,n)&&(o=xe.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=xe.compositionStart);return o?(ge&&"ko"!==n.locale&&(ke||o!==xe.compositionStart?o===xe.compositionEnd&&ke&&(i=ie()):(re="value"in(ne=r)?ne.value:ne.textContent,ke=!0)),o=pe.getPooled(o,t,n,r),i?o.data=i:null!==(i=Oe(n))&&(o.data=i),$(o),i=o):i=null,(e=me?function(e,t){switch(e){case"compositionend":return Oe(t);case"keypress":return 32!==t.which?null:(we=!0,be);case"textInput":return(e=t.data)===be&&we?null:e;default:return null}}(e,n):function(e,t){if(ke)return"compositionend"===e||!ve&&_e(e,t)?(e=ie(),oe=re=ne=null,ke=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1