@reltio/segmentation 1.4.98 → 1.4.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/186.bundle.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 186.bundle.js.LICENSE.txt */
2
- (self.webpackChunk_reltio_segmentation=self.webpackChunk_reltio_segmentation||[]).push([[186],{17871:(t,e,n)=>{"use strict";n.d(e,{j_:()=>L,b6:()=>f,vD:()=>K,Jx:()=>W,XL:()=>Z,mg:()=>ft,Ji:()=>P});var r=n(8156),o=n(47111),i=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,function(t,e,n,r,o,i,a,s){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,s],c=0;(u=new Error(e.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}});const a=(0,r.createContext)(null);function s(t){google.maps.event.removeListener(t)}function u(t=[]){t.forEach(s)}function l({updaterMap:t,eventMap:e,prevProps:n,nextProps:r,instance:o}){const i=function(t,e,n){const r=(o=n,i=function(n,r,o){return"function"==typeof t[o]&&n.push(google.maps.event.addListener(e,r,t[o])),n},a=[],Object.keys(o).reduce((function(t,e){return i(t,o[e],e)}),a));var o,i,a;return r}(r,o,e);return((t,e,n,r)=>{const o={};var i,a;i=t,a=(t,i)=>{const a=n[i];a!==e[i]&&(o[i]=a,t(r,a))},Object.keys(i).forEach((function(t){return a(i[t],t)}))})(t,n,r,o),i}const c={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMapTypeIdChanged:"maptypeid_changed",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseDown:"mousedown",onMouseUp:"mouseup",onRightClick:"rightclick",onTilesLoaded:"tilesloaded",onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onHeadingChanged:"heading_changed",onIdle:"idle",onProjectionChanged:"projection_changed",onResize:"resize",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed"},p={extraMapTypes(t,e){e.forEach((function(e,n){t.mapTypes.set(String(n),e)}))},center(t,e){t.setCenter(e)},clickableIcons(t,e){t.setClickableIcons(e)},heading(t,e){t.setHeading(e)},mapTypeId(t,e){t.setMapTypeId(e)},options(t,e){t.setOptions(e)},streetView(t,e){t.setStreetView(e)},tilt(t,e){t.setTilt(e)},zoom(t,e){t.setZoom(e)}};class f extends r.PureComponent{constructor(){super(...arguments),this.state={map:null},this.registeredEvents=[],this.mapRef=null,this.getInstance=()=>null===this.mapRef?null:new google.maps.Map(this.mapRef,this.props.options),this.panTo=t=>{const e=this.getInstance();e&&e.panTo(t)},this.setMapCallback=()=>{null!==this.state.map&&this.props.onLoad&&this.props.onLoad(this.state.map)},this.getRef=t=>{this.mapRef=t}}componentDidMount(){const t=this.getInstance();this.registeredEvents=l({updaterMap:p,eventMap:c,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{map:t}}),this.setMapCallback)}componentDidUpdate(t){null!==this.state.map&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:p,eventMap:c,prevProps:t,nextProps:this.props,instance:this.state.map}))}componentWillUnmount(){null!==this.state.map&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),u(this.registeredEvents))}render(){return r.createElement("div",{id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName},r.createElement(a.Provider,{value:this.state.map},null!==this.state.map?this.props.children:r.createElement(r.Fragment,null)))}}function h(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}const d="undefined"!=typeof document,g=({url:t,id:e,nonce:n})=>d?new Promise((function(r,o){const i=document.getElementById(e),a=window;if(i){const n=i.getAttribute("data-state");if(i.src===t&&"error"!==n){if("ready"===n)return r(e);{const t=a.initMap,n=i.onerror;return a.initMap=function(){t&&t(),r(e)},void(i.onerror=function(t){n&&n(t),o(t)})}}i.remove()}const s=document.createElement("script");s.type="text/javascript",s.src=t,s.id=e,s.async=!0,s.nonce=n,s.onerror=function(t){s.setAttribute("data-state","error"),o(t)},a.initMap=function(){s.setAttribute("data-state","ready"),r(e)},document.head.appendChild(s)})).catch((t=>{throw console.error("injectScript error: ",t),t})):Promise.reject(new Error("document is undefined")),y=t=>!((!t.href||0!==t.href.indexOf("https://fonts.googleapis.com/css?family=Roboto"))&&("style"===t.tagName.toLowerCase()&&t.styleSheet&&t.styleSheet.cssText&&0===t.styleSheet.cssText.replace("\r\n","").indexOf(".gm-style")?(t.styleSheet.cssText="",0):"style"===t.tagName.toLowerCase()&&t.innerHTML&&0===t.innerHTML.replace("\r\n","").indexOf(".gm-style")?(t.innerHTML="",0):"style"!==t.tagName.toLowerCase()||t.styleSheet||t.innerHTML)),v=()=>{const t=document.getElementsByTagName("head")[0],e=t.insertBefore.bind(t);t.insertBefore=function(n,r){y(n)||Reflect.apply(e,t,[n,r])};const n=t.appendChild.bind(t);t.appendChild=function(e){y(e)||Reflect.apply(n,t,[e])}};function m({googleMapsApiKey:t,googleMapsClientId:e,version:n="weekly",language:r,region:o,libraries:a,channel:s,mapIds:u}){const l=[];return i(t&&e||!(t&&e),"You need to specify either googleMapsApiKey or googleMapsClientId for @react-google-maps/api load script to work. You cannot use both at the same time."),t?l.push(`key=${t}`):e&&l.push(`client=${e}`),n&&l.push(`v=${n}`),r&&l.push(`language=${r}`),o&&l.push(`region=${o}`),a&&a.length&&l.push(`libraries=${a.sort().join(",")}`),s&&l.push(`channel=${s}`),u&&u.length&&l.push(`map_ids=${u.join(",")}`),l.push("callback=initMap"),`https://maps.googleapis.com/maps/api/js?${l.join("&")}`}let b=!1;function x(){return r.createElement("div",null,"Loading...")}const O={id:"script-loader",version:"weekly"};class S extends r.PureComponent{constructor(){super(...arguments),this.check=r.createRef(),this.state={loaded:!1},this.cleanupCallback=()=>{delete window.google.maps,this.injectScript()},this.isCleaningUp=()=>{return t=this,e=void 0,r=function*(){return new Promise((function(t){if(b){if(d){const e=window.setInterval((function(){b||(window.clearInterval(e),t())}),1)}}else t()}))},new((n=void 0)||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}));var t,e,n,r},this.cleanup=()=>{b=!0;const t=document.getElementById(this.props.id);t&&t.parentNode&&t.parentNode.removeChild(t),Array.prototype.slice.call(document.getElementsByTagName("script")).filter((function(t){return"string"==typeof t.src&&t.src.includes("maps.googleapis")})).forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)})),Array.prototype.slice.call(document.getElementsByTagName("link")).filter((function(t){return"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"===t.href})).forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)})),Array.prototype.slice.call(document.getElementsByTagName("style")).filter((function(t){return void 0!==t.innerText&&t.innerText.length>0&&t.innerText.includes(".gm-")})).forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))},this.injectScript=()=>{this.props.preventGoogleFontsLoading&&v(),i(!!this.props.id,'LoadScript requires "id" prop to be a string: %s',this.props.id);const t={id:this.props.id,nonce:this.props.nonce,url:m(this.props)};g(t).then((()=>{this.props.onLoad&&this.props.onLoad(),this.setState((function(){return{loaded:!0}}))})).catch((t=>{this.props.onError&&this.props.onError(t),console.error(`\n There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${this.props.googleMapsApiKey||"-"}) or Client ID (${this.props.googleMapsClientId||"-"}) to <LoadScript />\n Otherwise it is a Network issue.\n `)}))}}componentDidMount(){if(d){if(window.google&&window.google.maps&&!b)return void console.error("google api is already presented");this.isCleaningUp().then(this.injectScript).catch((function(t){console.error("Error at injecting script after cleaning up: ",t)}))}}componentDidUpdate(t){this.props.libraries!==t.libraries&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),d&&t.language!==this.props.language&&(this.cleanup(),this.setState((function(){return{loaded:!1}}),this.cleanupCallback))}componentWillUnmount(){if(d){this.cleanup();const t=()=>{this.check.current||(delete window.google,b=!1)};window.setTimeout(t,1),this.props.onUnmount&&this.props.onUnmount()}}render(){return r.createElement(r.Fragment,null,r.createElement("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||r.createElement(x,null))}}let w;S.defaultProps=O;const M=r.createElement(x,null);r.memo((function(t){var{loadingElement:e,onLoad:n,onError:o,onUnmount:a,children:s}=t,u=h(t,["loadingElement","onLoad","onError","onUnmount","children"]);const{isLoaded:l,loadError:c}=function({id:t=O.id,version:e=O.version,nonce:n,googleMapsApiKey:o,googleMapsClientId:a,language:s,region:u,libraries:l,preventGoogleFontsLoading:c,channel:p,mapIds:f}){const h=r.useRef(!1),[y,b]=r.useState(!1),[x,S]=r.useState(void 0);r.useEffect((function(){return h.current=!0,()=>{h.current=!1}}),[]),r.useEffect((function(){d&&c&&v()}),[c]),r.useEffect((function(){y&&i(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")}),[y]);const M=m({version:e,googleMapsApiKey:o,googleMapsClientId:a,language:s,region:u,libraries:l,channel:p,mapIds:f});r.useEffect((function(){function e(){h.current&&(b(!0),w=M)}d&&(window.google&&window.google.maps&&w===M?e():g({id:t,url:M,nonce:n}).then(e).catch((function(t){h.current&&S(t),console.warn(`\n There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${o||"-"}) or Client ID (${a||"-"})\n Otherwise it is a Network issue.\n `),console.error(t)})))}),[t,M,n]);const E=r.useRef();return r.useEffect((function(){E.current&&l!==E.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),E.current=l}),[l]),{isLoaded:y,loadError:x,url:M}}(u);return r.useEffect((function(){l&&"function"==typeof n&&n()}),[l,n]),r.useEffect((function(){c&&"function"==typeof o&&o(c)}),[c,o]),r.useEffect((function(){return()=>{a&&a()}}),[a]),l?s:e||M}));var E=function t(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(e.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(e)){if((r=e.length)!=n.length)return!1;for(o=r;0!=o--;)if(!t(e[o],n[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if((r=(i=Object.keys(e)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!t(e[a],n[a]))return!1}return!0}return e!=e&&n!=n};const k="__googleMapsScriptId";class C{constructor({apiKey:t,channel:e,client:n,id:r=k,libraries:o=[],language:i,region:a,version:s,mapIds:u,nonce:l,retries:c=3,url:p="https://maps.googleapis.com/maps/api/js"}){if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.version=s,this.apiKey=t,this.channel=e,this.client=n,this.id=r||k,this.libraries=o,this.language=i,this.region=a,this.mapIds=u,this.nonce=l,this.retries=c,this.url=p,C.instance){if(!E(this.options,C.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(C.instance.options)}`);return C.instance}C.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url}}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+=`?callback=${this.CALLBACK}`,this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`&region=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((t,e)=>{this.loadCallback((n=>{n?e(n.error):t(window.google)}))}))}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){if(document.getElementById(this.id))return void this.callback();const t=this.createUrl(),e=document.createElement("script");e.id=this.id,e.type="text/javascript",e.src=t,e.onerror=this.loadErrorCallback.bind(this),e.defer=!0,e.async=!0,this.nonce&&(e.nonce=this.nonce),document.head.appendChild(e)}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const t=this.errors.length*Math.pow(2,this.errors.length);console.log(`Failed to load Google Maps script, retrying in ${t} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript()}),t)}else this.onerrorEvent=t,this.callback()}setCallback(){window.__googleMapsCallback=this.callback.bind(this)}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((t=>{t(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setCallback(),this.setScript())}}}function P({id:t=O.id,version:e=O.version,nonce:n,googleMapsApiKey:o,language:i,region:a,libraries:s,preventGoogleFontsLoading:u,mapIds:l}){const c=r.useRef(!1),[p,f]=r.useState(!1),[h,g]=r.useState(void 0);r.useEffect((function(){return c.current=!0,()=>{c.current=!1}}),[]);const y=r.useMemo((function(){return new C({id:t,apiKey:o,version:e,libraries:s,language:i,region:a,mapIds:l,nonce:n})}),[t,o,e,s,i,a,l,n]);r.useEffect((function(){p||y.load().then((function(){c.current&&f(!0)})).catch((function(t){g(t)}))}),[]),r.useEffect((function(){d&&u&&v()}),[u]);const m=r.useRef();return r.useEffect((function(){m.current&&s!==m.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),m.current=s}),[s]),{isLoaded:p,loadError:h}}const A={},j={options(t,e){t.setOptions(e)}};class T extends r.PureComponent{constructor(){super(...arguments),this.state={trafficLayer:null},this.setTrafficLayerCallback=()=>{null!==this.state.trafficLayer&&this.props.onLoad&&this.props.onLoad(this.state.trafficLayer)},this.registeredEvents=[]}componentDidMount(){const t=new google.maps.TrafficLayer(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:j,eventMap:A,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{trafficLayer:t}}),this.setTrafficLayerCallback)}componentDidUpdate(t){null!==this.state.trafficLayer&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:j,eventMap:A,prevProps:t,nextProps:this.props,instance:this.state.trafficLayer}))}componentWillUnmount(){null!==this.state.trafficLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),u(this.registeredEvents),this.state.trafficLayer.setMap(null))}render(){return null}}T.contextType=a;class _ extends r.PureComponent{constructor(){super(...arguments),this.state={bicyclingLayer:null},this.setBicyclingLayerCallback=()=>{null!==this.state.bicyclingLayer&&(this.state.bicyclingLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.bicyclingLayer))}}componentDidMount(){const t=new google.maps.BicyclingLayer;this.setState((function(){return{bicyclingLayer:t}}),this.setBicyclingLayerCallback)}componentWillUnmount(){null!==this.state.bicyclingLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))}render(){return null}}_.contextType=a;class B extends r.PureComponent{constructor(){super(...arguments),this.state={transitLayer:null},this.setTransitLayerCallback=()=>{null!==this.state.transitLayer&&(this.state.transitLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.transitLayer))}}componentDidMount(){const t=new google.maps.TransitLayer;this.setState((function(){return{transitLayer:t}}),this.setTransitLayerCallback)}componentWillUnmount(){null!==this.state.transitLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))}render(){return null}}B.contextType=a;const D={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},I={drawingMode(t,e){t.setDrawingMode(e)},options(t,e){t.setOptions(e)}};class L extends r.PureComponent{constructor(t){super(t),this.registeredEvents=[],this.state={drawingManager:null},this.setDrawingManagerCallback=()=>{null!==this.state.drawingManager&&this.props.onLoad&&this.props.onLoad(this.state.drawingManager)},i(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing)}componentDidMount(){const t=new google.maps.drawing.DrawingManager(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:I,eventMap:D,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{drawingManager:t}}),this.setDrawingManagerCallback)}componentDidUpdate(t){null!==this.state.drawingManager&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:I,eventMap:D,prevProps:t,nextProps:this.props,instance:this.state.drawingManager}))}componentWillUnmount(){null!==this.state.drawingManager&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),u(this.registeredEvents),this.state.drawingManager.setMap(null))}render(){return r.createElement(r.Fragment,null)}}L.contextType=a;const z={onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDraggableChanged:"draggable_changed",onDragStart:"dragstart",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onPositionChanged:"position_changed",onRightClick:"rightclick",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},R={animation(t,e){t.setAnimation(e)},clickable(t,e){t.setClickable(e)},cursor(t,e){t.setCursor(e)},draggable(t,e){t.setDraggable(e)},icon(t,e){t.setIcon(e)},label(t,e){t.setLabel(e)},map(t,e){t.setMap(e)},opacity(t,e){t.setOpacity(e)},options(t,e){t.setOptions(e)},position(t,e){t.setPosition(e)},shape(t,e){t.setShape(e)},title(t,e){t.setTitle(e)},visible(t,e){t.setVisible(e)},zIndex(t,e){t.setZIndex(e)}};class W extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[]}componentDidMount(){const t=Object.assign(Object.assign(Object.assign({},this.props.options||{}),this.props.clusterer?{}:{map:this.context}),{position:this.props.position});this.marker=new google.maps.Marker(t),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=l({updaterMap:R,eventMap:z,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)}componentDidUpdate(t){this.marker&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:R,eventMap:z,prevProps:t,nextProps:this.props,instance:this.marker}))}componentWillUnmount(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),u(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))}render(){let t=null;return this.props.children&&(t=r.Children.map(this.props.children,(t=>{if(!r.isValidElement(t))return t;let e=t;return r.cloneElement(e,{anchor:this.marker})}))),t||null}}W.contextType=a;var N=function(){function t(e,n){e.getClusterer().extend(t,google.maps.OverlayView),this.cluster=e,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=n,this.center=void 0,this.div=null,this.sums=null,this.visible=!1,this.boundsChangedListener=null,this.url="",this.height=0,this.width=0,this.anchorText=[0,0],this.anchorIcon=[0,0],this.textColor="black",this.textSize=11,this.textDecoration="none",this.fontWeight="bold",this.fontStyle="normal",this.fontFamily="Arial,sans-serif",this.backgroundPosition="0 0",this.setMap(e.getMap())}return t.prototype.onAdd=function(){var t,e,n=this;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div),this.boundsChangedListener=google.maps.event.addListener(this.getMap(),"boundschanged",(function(){e=t})),google.maps.event.addDomListener(this.div,"mousedown",(function(){t=!0,e=!1})),google.maps.event.addDomListener(this.div,"click",(function(r){if(t=!1,!e){var o=n.cluster.getClusterer();if(google.maps.event.trigger(o,"click",n.cluster),google.maps.event.trigger(o,"clusterclick",n.cluster),o.getZoomOnClick()){var i=o.getMaxZoom(),a=n.cluster.getBounds();o.getMap().fitBounds(a),setTimeout((function(){o.getMap().fitBounds(a),null!==i&&o.getMap().getZoom()>i&&o.getMap().setZoom(i+1)}),100)}r.cancelBubble=!0,r.stopPropagation&&r.stopPropagation()}})),google.maps.event.addDomListener(this.div,"mouseover",(function(){google.maps.event.trigger(n.cluster.getClusterer(),"mouseover",n.cluster)})),google.maps.event.addDomListener(this.div,"mouseout",(function(){google.maps.event.trigger(n.cluster.getClusterer(),"mouseout",n.cluster)}))},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),null!==this.boundsChangedListener&&google.maps.event.removeListener(this.boundsChangedListener),google.maps.event.clearInstanceListeners(this.div),this.div.parentNode.removeChild(this.div),this.div=null)},t.prototype.draw=function(){if(this.visible&&null!==this.div&&this.center){var t=this.getPosFromLatLng(this.center),e=t.x,n=t.y;this.div.style.top=n+"px",this.div.style.left=e+"px"}},t.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},t.prototype.show=function(){if(this.div&&this.center){var t,e="",n=this.backgroundPosition.split(" "),r=parseInt(n[0].replace(/^\s+|\s+$/g,""),10),o=parseInt(n[1].replace(/^\s+|\s+$/g,""),10),i=this.getPosFromLatLng(this.center);t=null===this.sums||void 0===this.sums.title||""===this.sums.title?this.cluster.getClusterer().getTitle():this.sums.title,this.div.style.cssText=this.createCss(i),e="<img alt='"+t+"' src='"+this.url+"' style='position: absolute; top: "+o+"px; left: "+r+"px; ",this.cluster.getClusterer().enableRetinaIcons||(e+="clip: rect("+-1*o+"px, "+(-1*r+this.width)+"px, "+(-1*o+this.height)+"px, "+-1*r+"px);"),e+="'>",this.div.innerHTML=e+"<div style='position: absolute;top: "+this.anchorText[0]+"px;left: "+this.anchorText[1]+"px;color: "+this.textColor+";font-size: "+this.textSize+"px;font-family: "+this.fontFamily+";font-weight: "+this.fontWeight+";font-style: "+this.fontStyle+";text-decoration: "+this.textDecoration+";text-align: center;width: "+this.width+"px;line-height:"+this.height+"px;'>"+this.sums.text+"</div>",this.div.title=t,this.div.style.display=""}this.visible=!0},t.prototype.useStyle=function(t){this.sums=t;var e=this.cluster.getClusterer().getStyles(),n=e[Math.min(e.length-1,Math.max(0,t.index-1))];this.url=n.url,this.height=n.height,this.width=n.width,n.className&&(this.className=this.clusterClassName+" "+n.className),this.anchorText=n.anchorText||[0,0],this.anchorIcon=n.anchorIcon||[this.height/2,this.width/2],this.textColor=n.textColor||"black",this.textSize=n.textSize||11,this.textDecoration=n.textDecoration||"none",this.fontWeight=n.fontWeight||"bold",this.fontStyle=n.fontStyle||"normal",this.fontFamily=n.fontFamily||"Arial,sans-serif",this.backgroundPosition=n.backgroundPosition||"0 0"},t.prototype.setCenter=function(t){this.center=t},t.prototype.createCss=function(t){var e=[];return e.push("cursor: pointer;"),e.push("position: absolute; top: "+t.y+"px; left: "+t.x+"px;"),e.push("width: "+this.width+"px; height: "+this.height+"px;"),e.join("")},t.prototype.getPosFromLatLng=function(t){var e=this.getProjection().fromLatLngToDivPixel(t);return e.x-=this.anchorIcon[1],e.y-=this.anchorIcon[0],e},t}(),F=function(){function t(t){this.markerClusterer=t,this.map=this.markerClusterer.getMap(),this.gridSize=this.markerClusterer.getGridSize(),this.minClusterSize=this.markerClusterer.getMinimumClusterSize(),this.averageCenter=this.markerClusterer.getAverageCenter(),this.markers=[],this.center=void 0,this.bounds=null,this.clusterIcon=new N(this,this.markerClusterer.getStyles())}return t.prototype.getSize=function(){return this.markers.length},t.prototype.getMarkers=function(){return this.markers},t.prototype.getCenter=function(){return this.center},t.prototype.getMap=function(){return this.map},t.prototype.getClusterer=function(){return this.markerClusterer},t.prototype.getBounds=function(){for(var t=new google.maps.LatLngBounds(this.center,this.center),e=this.getMarkers(),n=0;n<e.length;n++){var r=e[n].getPosition();r&&t.extend(r)}return t},t.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},t.prototype.addMarker=function(t){if(this.isMarkerAlreadyAdded(t))return!1;var e;if(this.center){if(this.averageCenter&&(e=t.getPosition())){var n=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(n-1)+e.lat())/n,(this.center.lng()*(n-1)+e.lng())/n),this.calculateBounds()}}else(e=t.getPosition())&&(this.center=e,this.calculateBounds());t.isAdded=!0,this.markers.push(t);var r=this.markers.length,o=this.markerClusterer.getMaxZoom(),i=this.map.getZoom();if(null!==o&&void 0!==i&&i>o)t.getMap()!==this.map&&t.setMap(this.map);else if(r<this.minClusterSize)t.getMap()!==this.map&&t.setMap(this.map);else if(r===this.minClusterSize)for(var a=0;a<r;a++)this.markers[a].setMap(null);else t.setMap(null);return!0},t.prototype.isMarkerInClusterBounds=function(t){if(null!==this.bounds){var e=t.getPosition();if(e)return this.bounds.contains(e)}return!1},t.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},t.prototype.updateIcon=function(){var t=this.markers.length,e=this.markerClusterer.getMaxZoom(),n=this.map.getZoom();null!==e&&void 0!==n&&n>e||t<this.minClusterSize?this.clusterIcon.hide():(this.center&&this.clusterIcon.setCenter(this.center),this.clusterIcon.useStyle(this.markerClusterer.getCalculator()(this.markers,this.markerClusterer.getStyles().length)),this.clusterIcon.show())},t.prototype.isMarkerAlreadyAdded=function(t){if(this.markers.includes)return this.markers.includes(t);for(var e=0;e<this.markers.length;e++)if(t===this.markers[e])return!0;return!1},t}(),U=function(t,e){var n=t.length,r=n.toString().length,o=Math.min(r,e);return{text:n.toString(),index:o,title:""}},V=[53,56,66,78,90],G=function(){function t(e,n,r){void 0===n&&(n=[]),void 0===r&&(r={}),this.extend(t,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=r.gridSize||60,this.minClusterSize=r.minimumClusterSize||2,this.maxZoom=r.maxZoom||null,this.styles=r.styles||[],this.title=r.title||"",this.zoomOnClick=!0,void 0!==r.zoomOnClick&&(this.zoomOnClick=r.zoomOnClick),this.averageCenter=!1,void 0!==r.averageCenter&&(this.averageCenter=r.averageCenter),this.ignoreHidden=!1,void 0!==r.ignoreHidden&&(this.ignoreHidden=r.ignoreHidden),this.enableRetinaIcons=!1,void 0!==r.enableRetinaIcons&&(this.enableRetinaIcons=r.enableRetinaIcons),this.imagePath=r.imagePath||"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",this.imageExtension=r.imageExtension||"png",this.imageSizes=r.imageSizes||V,this.calculator=r.calculator||U,this.batchSize=r.batchSize||2e3,this.batchSizeIE=r.batchSizeIE||500,this.clusterClass=r.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(n,!0),this.setMap(e)}return t.prototype.onAdd=function(){var t=this;this.activeMap=this.getMap(),this.ready=!0,this.repaint(),this.listeners=[google.maps.event.addListener(this.getMap(),"zoom_changed",(function(){t.resetViewport(!1),t.getMap().getZoom()!==(t.get("minZoom")||0)&&t.getMap().getZoom()!==t.get("maxZoom")||google.maps.event.trigger(t,"idle")})),google.maps.event.addListener(this.getMap(),"idle",(function(){t.redraw()}))]},t.prototype.onRemove=function(){for(var t=0;t<this.markers.length;t++)this.markers[t].getMap()!==this.activeMap&&this.markers[t].setMap(this.activeMap);for(t=0;t<this.clusters.length;t++)this.clusters[t].remove();for(this.clusters=[],t=0;t<this.listeners.length;t++)google.maps.event.removeListener(this.listeners[t]);this.listeners=[],this.activeMap=null,this.ready=!1},t.prototype.draw=function(){},t.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var t=0;t<this.imageSizes.length;t++)this.styles.push({url:this.imagePath+(t+1)+"."+this.imageExtension,height:this.imageSizes[t],width:this.imageSizes[t]})},t.prototype.fitMapToMarkers=function(){for(var t=this.getMarkers(),e=new google.maps.LatLngBounds,n=0;n<t.length;n++){var r=t[n].getPosition();r&&e.extend(r)}this.getMap().fitBounds(e)},t.prototype.getGridSize=function(){return this.gridSize},t.prototype.setGridSize=function(t){this.gridSize=t},t.prototype.getMinimumClusterSize=function(){return this.minClusterSize},t.prototype.setMinimumClusterSize=function(t){this.minClusterSize=t},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.setMaxZoom=function(t){this.maxZoom=t},t.prototype.getStyles=function(){return this.styles},t.prototype.setStyles=function(t){this.styles=t},t.prototype.getTitle=function(){return this.title},t.prototype.setTitle=function(t){this.title=t},t.prototype.getZoomOnClick=function(){return this.zoomOnClick},t.prototype.setZoomOnClick=function(t){this.zoomOnClick=t},t.prototype.getAverageCenter=function(){return this.averageCenter},t.prototype.setAverageCenter=function(t){this.averageCenter=t},t.prototype.getIgnoreHidden=function(){return this.ignoreHidden},t.prototype.setIgnoreHidden=function(t){this.ignoreHidden=t},t.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},t.prototype.setEnableRetinaIcons=function(t){this.enableRetinaIcons=t},t.prototype.getImageExtension=function(){return this.imageExtension},t.prototype.setImageExtension=function(t){this.imageExtension=t},t.prototype.getImagePath=function(){return this.imagePath},t.prototype.setImagePath=function(t){this.imagePath=t},t.prototype.getImageSizes=function(){return this.imageSizes},t.prototype.setImageSizes=function(t){this.imageSizes=t},t.prototype.getCalculator=function(){return this.calculator},t.prototype.setCalculator=function(t){this.calculator=t},t.prototype.getBatchSizeIE=function(){return this.batchSizeIE},t.prototype.setBatchSizeIE=function(t){this.batchSizeIE=t},t.prototype.getClusterClass=function(){return this.clusterClass},t.prototype.setClusterClass=function(t){this.clusterClass=t},t.prototype.getMarkers=function(){return this.markers},t.prototype.getTotalMarkers=function(){return this.markers.length},t.prototype.getClusters=function(){return this.clusters},t.prototype.getTotalClusters=function(){return this.clusters.length},t.prototype.addMarker=function(t,e){this.pushMarkerTo(t),e||this.redraw()},t.prototype.addMarkers=function(t,e){for(var n in t)t.hasOwnProperty(n)&&this.pushMarkerTo(t[n]);e||this.redraw()},t.prototype.pushMarkerTo=function(t){var e=this;t.getDraggable()&&google.maps.event.addListener(t,"dragend",(function(){e.ready&&(t.isAdded=!1,e.repaint())})),t.isAdded=!1,this.markers.push(t)},t.prototype.removeMarker_=function(t){var e=-1;if(this.markers.indexOf)e=this.markers.indexOf(t);else for(var n=0;n<this.markers.length;n++)if(t===this.markers[n]){e=n;break}return-1!==e&&(t.setMap(null),this.markers.splice(e,1),!0)},t.prototype.removeMarker=function(t,e){var n=this.removeMarker_(t);return!e&&n&&this.repaint(),n},t.prototype.removeMarkers=function(t,e){for(var n=!1,r=0;r<t.length;r++)n=n||this.removeMarker_(t[r]);return!e&&n&&this.repaint(),n},t.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},t.prototype.repaint=function(){var t=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout((function(){for(var e=0;e<t.length;e++)t[e].remove()}),0)},t.prototype.getExtendedBounds=function(t){var e=this.getProjection(),n=e.fromLatLngToDivPixel(new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()));n.x+=this.gridSize,n.y-=this.gridSize;var r=e.fromLatLngToDivPixel(new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()));return r.x-=this.gridSize,r.y+=this.gridSize,t.extend(e.fromDivPixelToLatLng(n)),t.extend(e.fromDivPixelToLatLng(r)),t},t.prototype.redraw=function(){this.createClusters(0)},t.prototype.resetViewport=function(t){for(var e=0;e<this.clusters.length;e++)this.clusters[e].remove();for(this.clusters=[],e=0;e<this.markers.length;e++){var n=this.markers[e];n.isAdded=!1,t&&n.setMap(null)}},t.prototype.distanceBetweenPoints=function(t,e){var n=(e.lat()-t.lat())*Math.PI/180,r=(e.lng()-t.lng())*Math.PI/180,o=Math.sin(n/2)*Math.sin(n/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(r/2)*Math.sin(r/2);return 2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))*6371},t.prototype.isMarkerInBounds=function(t,e){var n=t.getPosition();return!!n&&e.contains(n)},t.prototype.addToClosestCluster=function(t){for(var e,n=4e4,r=null,o=0;o<this.clusters.length;o++){var i=(e=this.clusters[o]).getCenter(),a=t.getPosition();if(i&&a){var s=this.distanceBetweenPoints(i,a);s<n&&(n=s,r=e)}}r&&r.isMarkerInClusterBounds(t)?r.addMarker(t):((e=new F(this)).addMarker(t),this.clusters.push(e))},t.prototype.createClusters=function(t){var e=this;if(this.ready){0===t&&(google.maps.event.trigger(this,"clusteringbegin",this),null!==this.timerRefStatic&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var n=this.getMap().getZoom()>3?new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),r=this.getExtendedBounds(n),o=Math.min(t+this.batchSize,this.markers.length),i=t;i<o;i++){var a=this.markers[i];!a.isAdded&&this.isMarkerInBounds(a,r)&&(!this.ignoreHidden||this.ignoreHidden&&a.getVisible())&&this.addToClosestCluster(a)}if(o<this.markers.length)this.timerRefStatic=window.setTimeout((function(){e.createClusters(o)}),0);else for(this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this),i=0;i<this.clusters.length;i++)this.clusters[i].updateIcon()}},t.prototype.extend=function(t,e){return function(t){for(var e in t.prototype)this.prototype[e]=t.prototype[e];return this}.apply(t,[e])},t}();const q={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},H={averageCenter(t,e){t.setAverageCenter(e)},batchSizeIE(t,e){t.setBatchSizeIE(e)},calculator(t,e){t.setCalculator(e)},clusterClass(t,e){t.setClusterClass(e)},enableRetinaIcons(t,e){t.setEnableRetinaIcons(e)},gridSize(t,e){t.setGridSize(e)},ignoreHidden(t,e){t.setIgnoreHidden(e)},imageExtension(t,e){t.setImageExtension(e)},imagePath(t,e){t.setImagePath(e)},imageSizes(t,e){t.setImageSizes(e)},maxZoom(t,e){t.setMaxZoom(e)},minimumClusterSize(t,e){t.setMinimumClusterSize(e)},styles(t,e){t.setStyles(e)},title(t,e){t.setTitle(e)},zoomOnClick(t,e){t.setZoomOnClick(e)}};class Z extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={markerClusterer:null},this.setClustererCallback=()=>{null!==this.state.markerClusterer&&this.props.onLoad&&this.props.onLoad(this.state.markerClusterer)}}componentDidMount(){if(this.context){const t=new G(this.context,[],this.props.options);this.registeredEvents=l({updaterMap:H,eventMap:q,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{markerClusterer:t}}),this.setClustererCallback)}}componentDidUpdate(t){this.state.markerClusterer&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:H,eventMap:q,prevProps:t,nextProps:this.props,instance:this.state.markerClusterer}))}componentWillUnmount(){null!==this.state.markerClusterer&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),u(this.registeredEvents),this.state.markerClusterer.setMap(null))}render(){return null!==this.state.markerClusterer?this.props.children(this.state.markerClusterer):null}}Z.contextType=a;var $=function(){function t(e){void 0===e&&(e={}),this.extend(t,google.maps.OverlayView),this.content=e.content||"",this.disableAutoPan=e.disableAutoPan||!1,this.maxWidth=e.maxWidth||0,this.pixelOffset=e.pixelOffset||new google.maps.Size(0,0),this.position=e.position||new google.maps.LatLng(0,0),this.zIndex=e.zIndex||null,this.boxClass=e.boxClass||"infoBox",this.boxStyle=e.boxStyle||{},this.closeBoxMargin=e.closeBoxMargin||"2px",this.closeBoxURL=e.closeBoxURL||"http://www.google.com/intl/en_us/mapfiles/close.gif",""===e.closeBoxURL&&(this.closeBoxURL=""),this.infoBoxClearance=e.infoBoxClearance||new google.maps.Size(1,1),void 0===e.visible&&(void 0===e.isHidden?e.visible=!0:e.visible=!e.isHidden),this.isHidden=!e.visible,this.alignBottom=e.alignBottom||!1,this.pane=e.pane||"floatPane",this.enableEventPropagation=e.enableEventPropagation||!1,this.div=null,this.closeListener=null,this.moveListener=null,this.mapListener=null,this.contextListener=null,this.eventListeners=null,this.fixedWidthSet=null}return t.prototype.createInfoBoxDiv=function(){var t=this;function e(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()}if(!this.div){if(this.div=document.createElement("div"),this.setBoxStyle(),"string"==typeof this.content?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content)),this.getPanes()[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(0!==this.maxWidth&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var n=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-n.left-n.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var r=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],o=0;o<r.length;o++)this.eventListeners.push(google.maps.event.addDomListener(this.div,r[o],e));this.eventListeners.push(google.maps.event.addDomListener(this.div,"mouseover",(function(){t.div&&(t.div.style.cursor="default")})))}this.contextListener=google.maps.event.addDomListener(this.div,"contextmenu",(function(n){n.returnValue=!1,n.preventDefault&&n.preventDefault(),t.enableEventPropagation||e(n)})),google.maps.event.trigger(this,"domready")}},t.prototype.getCloseBoxImg=function(){var t="";return""!==this.closeBoxURL&&(t='<img alt=""',t+=' aria-hidden="true"',t+=" src='"+this.closeBoxURL+"'",t+=" align=right",t+=" style='",t+=" position: relative;",t+=" cursor: pointer;",t+=" margin: "+this.closeBoxMargin+";",t+="'>"),t},t.prototype.addClickHandler=function(){if(this.div&&this.div.firstChild&&""!==this.closeBoxURL){var t=this.div.firstChild;this.closeListener=google.maps.event.addDomListener(t,"click",this.getCloseClickHandler())}else this.closeListener=null},t.prototype.getCloseClickHandler=function(){var t=this;return function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(t,"closeclick"),t.close()}},t.prototype.panBox=function(t){if(this.div&&!t){var e=this.getMap();if(e instanceof google.maps.Map){var n=0,r=0,o=e.getBounds();o&&!o.contains(this.position)&&e.setCenter(this.position);var i=e.getDiv(),a=i.offsetWidth,s=i.offsetHeight,u=this.pixelOffset.width,l=this.pixelOffset.height,c=this.div.offsetWidth,p=this.div.offsetHeight,f=this.infoBoxClearance.width,h=this.infoBoxClearance.height,d=this.getProjection().fromLatLngToContainerPixel(this.position);null!==d&&(d.x<-u+f?n=d.x+u-f:d.x+c+u+f>a&&(n=d.x+c+u+f-a),this.alignBottom?d.y<-l+h+p?r=d.y+l-h-p:d.y+l+h>s&&(r=d.y+l+h-s):d.y<-l+h?r=d.y+l-h:d.y+p+l+h>s&&(r=d.y+p+l+h-s)),0===n&&0===r||e.panBy(n,r)}}},t.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var t=this.boxStyle;for(var e in t)t.hasOwnProperty(e)&&(this.div.style[e]=t[e]);if(this.div.style.webkitTransform="translateZ(0)",void 0!==this.div.style.opacity&&""!==this.div.style.opacity){var n=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*n+')"',this.div.style.filter="alpha(opacity="+100*n+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",null!==this.zIndex&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},t.prototype.getBoxWidths=function(){var t={top:0,bottom:0,left:0,right:0};if(!this.div)return t;if(document.defaultView&&document.defaultView.getComputedStyle){var e=this.div.ownerDocument,n=e&&e.defaultView?e.defaultView.getComputedStyle(this.div,""):null;n&&(t.top=parseInt(n.borderTopWidth||"",10)||0,t.bottom=parseInt(n.borderBottomWidth||"",10)||0,t.left=parseInt(n.borderLeftWidth||"",10)||0,t.right=parseInt(n.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var r=this.div.currentStyle;r&&(t.top=parseInt(r.borderTopWidth||"",10)||0,t.bottom=parseInt(r.borderBottomWidth||"",10)||0,t.left=parseInt(r.borderLeftWidth||"",10)||0,t.right=parseInt(r.borderRightWidth||"",10)||0)}return t},t.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},t.prototype.draw=function(){if(this.createInfoBoxDiv(),this.div){var t=this.getProjection().fromLatLngToDivPixel(this.position);null!==t&&(this.div.style.left=t.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(t.y+this.pixelOffset.height)+"px":this.div.style.top=t.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},t.prototype.setOptions=function(t){void 0===t&&(t={}),void 0!==t.boxClass&&(this.boxClass=t.boxClass,this.setBoxStyle()),void 0!==t.boxStyle&&(this.boxStyle=t.boxStyle,this.setBoxStyle()),void 0!==t.content&&this.setContent(t.content),void 0!==t.disableAutoPan&&(this.disableAutoPan=t.disableAutoPan),void 0!==t.maxWidth&&(this.maxWidth=t.maxWidth),void 0!==t.pixelOffset&&(this.pixelOffset=t.pixelOffset),void 0!==t.alignBottom&&(this.alignBottom=t.alignBottom),void 0!==t.position&&this.setPosition(t.position),void 0!==t.zIndex&&this.setZIndex(t.zIndex),void 0!==t.closeBoxMargin&&(this.closeBoxMargin=t.closeBoxMargin),void 0!==t.closeBoxURL&&(this.closeBoxURL=t.closeBoxURL),void 0!==t.infoBoxClearance&&(this.infoBoxClearance=t.infoBoxClearance),void 0!==t.isHidden&&(this.isHidden=t.isHidden),void 0!==t.visible&&(this.isHidden=!t.visible),void 0!==t.enableEventPropagation&&(this.enableEventPropagation=t.enableEventPropagation),this.div&&this.draw()},t.prototype.setContent=function(t){this.content=t,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),"string"==typeof t?this.div.innerHTML=this.getCloseBoxImg()+t:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(t)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px","string"==typeof t?this.div.innerHTML=this.getCloseBoxImg()+t:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(t))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},t.prototype.setPosition=function(t){this.position=t,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},t.prototype.setVisible=function(t){this.isHidden=!t,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},t.prototype.setZIndex=function(t){this.zIndex=t,this.div&&(this.div.style.zIndex=t+""),google.maps.event.trigger(this,"zindex_changed")},t.prototype.getContent=function(){return this.content},t.prototype.getPosition=function(){return this.position},t.prototype.getZIndex=function(){return this.zIndex},t.prototype.getVisible=function(){return null!=this.getMap()&&!this.isHidden},t.prototype.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},t.prototype.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},t.prototype.open=function(t,e){var n=this;e&&(this.position=e.getPosition(),this.moveListener=google.maps.event.addListener(e,"position_changed",(function(){var t=e.getPosition();n.setPosition(t)})),this.mapListener=google.maps.event.addListener(e,"map_changed",(function(){n.setMap(e.map)}))),this.setMap(t),this.div&&this.panBox()},t.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var t=0;t<this.eventListeners.length;t++)google.maps.event.removeListener(this.eventListeners[t]);this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},t.prototype.extend=function(t,e){return function(t){for(var e in t.prototype)this.prototype.hasOwnProperty(e)||(this.prototype[e]=t.prototype[e]);return this}.apply(t,[e])},t}();const Y={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},X={options(t,e){t.setOptions(e)},position(t,e){e instanceof google.maps.LatLng?t.setPosition(e):t.setPosition(new google.maps.LatLng(e.lat,e.lng))},visible(t,e){t.setVisible(e)},zIndex(t,e){t.setZIndex(e)}};class K extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoBox:null},this.open=(t,e)=>{e?t.open(this.context,e):t.getPosition()?t.open(this.context):i(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},this.setInfoBoxCallback=()=>{const{anchor:t,onLoad:e}=this.props,{infoBox:n}=this.state;null!==n&&null!==this.containerElement&&(n.setContent(this.containerElement),this.open(n,t),e&&e(n))}}componentDidMount(){const{options:t}=this.props,e=t||{},{position:n}=e,r=h(e,["position"]);let o;!n||n instanceof google.maps.LatLng||(o=new google.maps.LatLng(n.lat,n.lng));const i=new $(Object.assign(Object.assign({},r),o?{position:o}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=l({updaterMap:X,eventMap:Y,prevProps:{},nextProps:this.props,instance:i}),this.setState({infoBox:i},this.setInfoBoxCallback)}componentDidUpdate(t){const{infoBox:e}=this.state;null!==e&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:X,eventMap:Y,prevProps:t,nextProps:this.props,instance:e}))}componentWillUnmount(){const{onUnmount:t}=this.props,{infoBox:e}=this.state;null!==e&&(t&&t(e),u(this.registeredEvents),e.close())}render(){return this.containerElement?o.createPortal(r.Children.only(this.props.children),this.containerElement):null}}K.contextType=a;var Q={exports:{}};!function(t){function e(t,e,n,r){this.dataset=[],this.epsilon=1,this.minPts=2,this.distance=this._euclideanDistance,this.clusters=[],this.noise=[],this._visited=[],this._assigned=[],this._datasetLength=0,this._init(t,e,n,r)}e.prototype.run=function(t,e,n,r){this._init(t,e,n,r);for(var o=0;o<this._datasetLength;o++)if(1!==this._visited[o]){this._visited[o]=1;var i=this._regionQuery(o);if(i.length<this.minPts)this.noise.push(o);else{var a=this.clusters.length;this.clusters.push([]),this._addToCluster(o,a),this._expandCluster(a,i)}}return this.clusters},e.prototype._init=function(t,e,n,r){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this.noise=[],this._datasetLength=t.length,this._visited=new Array(this._datasetLength),this._assigned=new Array(this._datasetLength)}e&&(this.epsilon=e),n&&(this.minPts=n),r&&(this.distance=r)},e.prototype._expandCluster=function(t,e){for(var n=0;n<e.length;n++){var r=e[n];if(1!==this._visited[r]){this._visited[r]=1;var o=this._regionQuery(r);o.length>=this.minPts&&(e=this._mergeArrays(e,o))}1!==this._assigned[r]&&this._addToCluster(r,t)}},e.prototype._addToCluster=function(t,e){this.clusters[e].push(t),this._assigned[t]=1},e.prototype._regionQuery=function(t){for(var e=[],n=0;n<this._datasetLength;n++)this.distance(this.dataset[t],this.dataset[n])<this.epsilon&&e.push(n);return e},e.prototype._mergeArrays=function(t,e){for(var n=e.length,r=0;r<n;r++){var o=e[r];t.indexOf(o)<0&&t.push(o)}return t},e.prototype._euclideanDistance=function(t,e){for(var n=0,r=Math.min(t.length,e.length);r--;)n+=(t[r]-e[r])*(t[r]-e[r]);return Math.sqrt(n)},t.exports&&(t.exports=e)}(Q);var J={exports:{}};!function(t){function e(t,e,n){this.k=3,this.dataset=[],this.assignments=[],this.centroids=[],this.init(t,e,n)}e.prototype.init=function(t,e,n){this.assignments=[],this.centroids=[],void 0!==t&&(this.dataset=t),void 0!==e&&(this.k=e),void 0!==n&&(this.distance=n)},e.prototype.run=function(t,e){this.init(t,e);for(var n=this.dataset.length,r=0;r<this.k;r++)this.centroids[r]=this.randomCentroid();for(var o=!0;o;){o=this.assign();for(var i=0;i<this.k;i++){for(var a=new Array(c),s=0,u=0;u<c;u++)a[u]=0;for(var l=0;l<n;l++){var c=this.dataset[l].length;if(i===this.assignments[l]){for(u=0;u<c;u++)a[u]+=this.dataset[l][u];s++}}if(s>0){for(u=0;u<c;u++)a[u]/=s;this.centroids[i]=a}else this.centroids[i]=this.randomCentroid(),o=!0}}return this.getClusters()},e.prototype.randomCentroid=function(){var t,e,n=this.dataset.length-1;do{e=Math.round(Math.random()*n),t=this.dataset[e]}while(this.centroids.indexOf(t)>=0);return t},e.prototype.assign=function(){for(var t,e=!1,n=this.dataset.length,r=0;r<n;r++)(t=this.argmin(this.dataset[r],this.centroids,this.distance))!=this.assignments[r]&&(this.assignments[r]=t,e=!0);return e},e.prototype.getClusters=function(){for(var t,e=new Array(this.k),n=0;n<this.assignments.length;n++)void 0===e[t=this.assignments[n]]&&(e[t]=[]),e[t].push(n);return e},e.prototype.argmin=function(t,e,n){for(var r,o=Number.MAX_VALUE,i=0,a=e.length,s=0;s<a;s++)(r=n(t,e[s]))<o&&(o=r,i=s);return i},e.prototype.distance=function(t,e){for(var n=0,r=Math.min(t.length,e.length);r--;){var o=t[r]-e[r];n+=o*o}return Math.sqrt(n)},t.exports&&(t.exports=e)}(J);var tt,et={exports:{}},nt={exports:{}};!function(t){function e(t,e,n){this._queue=[],this._priorities=[],this._sorting="desc",this._init(t,e,n)}e.prototype.insert=function(t,e){for(var n=this._queue.length,r=n;r--;){var o=this._priorities[r];"desc"===this._sorting?e>o&&(n=r):e<o&&(n=r)}this._insertAt(t,e,n)},e.prototype.remove=function(t){for(var e=this._queue.length;e--;)if(t===this._queue[e]){this._queue.splice(e,1),this._priorities.splice(e,1);break}},e.prototype.forEach=function(t){this._queue.forEach(t)},e.prototype.getElements=function(){return this._queue},e.prototype.getElementPriority=function(t){return this._priorities[t]},e.prototype.getPriorities=function(){return this._priorities},e.prototype.getElementsWithPriorities=function(){for(var t=[],e=0,n=this._queue.length;e<n;e++)t.push([this._queue[e],this._priorities[e]]);return t},e.prototype._init=function(t,e,n){if(t&&e){if(this._queue=[],this._priorities=[],t.length!==e.length)throw new Error("Arrays must have the same length");for(var r=0;r<t.length;r++)this.insert(t[r],e[r])}n&&(this._sorting=n)},e.prototype._insertAt=function(t,e,n){this._queue.length===n?(this._queue.push(t),this._priorities.push(e)):(this._queue.splice(n,0,t),this._priorities.splice(n,0,e))},t.exports&&(t.exports=e)}(nt),function(t){if(t.exports)var e=nt.exports;function n(t,e,n,r){this.epsilon=1,this.minPts=1,this.distance=this._euclideanDistance,this._reachability=[],this._processed=[],this._coreDistance=0,this._orderedList=[],this._init(t,e,n,r)}n.prototype.run=function(t,n,r,o){this._init(t,n,r,o);for(var i=0,a=this.dataset.length;i<a;i++)if(1!==this._processed[i]){this._processed[i]=1,this.clusters.push([i]);var s=this.clusters.length-1;this._orderedList.push(i);var u=new e(null,null,"asc"),l=this._regionQuery(i);void 0!==this._distanceToCore(i)&&(this._updateQueue(i,l,u),this._expandCluster(s,u))}return this.clusters},n.prototype.getReachabilityPlot=function(){for(var t=[],e=0,n=this._orderedList.length;e<n;e++){var r=this._orderedList[e],o=this._reachability[r];t.push([r,o])}return t},n.prototype._init=function(t,e,n,r){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this._reachability=new Array(this.dataset.length),this._processed=new Array(this.dataset.length),this._coreDistance=0,this._orderedList=[]}e&&(this.epsilon=e),n&&(this.minPts=n),r&&(this.distance=r)},n.prototype._updateQueue=function(t,e,n){var r=this;this._coreDistance=this._distanceToCore(t),e.forEach((function(e){if(void 0===r._processed[e]){var o=r.distance(r.dataset[t],r.dataset[e]),i=Math.max(r._coreDistance,o);void 0===r._reachability[e]?(r._reachability[e]=i,n.insert(e,i)):i<r._reachability[e]&&(r._reachability[e]=i,n.remove(e),n.insert(e,i))}}))},n.prototype._expandCluster=function(t,e){for(var n=e.getElements(),r=0,o=n.length;r<o;r++){var i=n[r];if(void 0===this._processed[i]){var a=this._regionQuery(i);this._processed[i]=1,this.clusters[t].push(i),this._orderedList.push(i),void 0!==this._distanceToCore(i)&&(this._updateQueue(i,a,e),this._expandCluster(t,e))}}},n.prototype._distanceToCore=function(t){for(var e=this.epsilon,n=0;n<e;n++)if(this._regionQuery(t,n).length>=this.minPts)return n},n.prototype._regionQuery=function(t,e){e=e||this.epsilon;for(var n=[],r=0,o=this.dataset.length;r<o;r++)this.distance(this.dataset[t],this.dataset[r])<e&&n.push(r);return n},n.prototype._euclideanDistance=function(t,e){for(var n=0,r=Math.min(t.length,e.length);r--;)n+=(t[r]-e[r])*(t[r]-e[r]);return Math.sqrt(n)},t.exports&&(t.exports=n)}(et),(tt={exports:{}}).exports&&(tt.exports={DBSCAN:Q.exports,KMEANS:J.exports,OPTICS:et.exports,PriorityQueue:nt.exports});var rt;!function(t,e){t.exports=function(){function t(n,r,o,i,a,s){if(!(a-i<=o)){var u=i+a>>1;e(n,r,u,i,a,s%2),t(n,r,o,i,u-1,s+1),t(n,r,o,u+1,a,s+1)}}function e(t,r,o,i,a,s){for(;a>i;){if(a-i>600){var u=a-i+1,l=o-i+1,c=Math.log(u),p=.5*Math.exp(2*c/3),f=.5*Math.sqrt(c*p*(u-p)/u)*(l-u/2<0?-1:1);e(t,r,o,Math.max(i,Math.floor(o-l*p/u+f)),Math.min(a,Math.floor(o+(u-l)*p/u+f)),s)}var h=r[2*o+s],d=i,g=a;for(n(t,r,i,o),r[2*a+s]>h&&n(t,r,i,a);d<g;){for(n(t,r,d,g),d++,g--;r[2*d+s]<h;)d++;for(;r[2*g+s]>h;)g--}r[2*i+s]===h?n(t,r,i,g):n(t,r,++g,a),g<=o&&(i=g+1),o<=g&&(a=g-1)}}function n(t,e,n,o){r(t,n,o),r(e,2*n,2*o),r(e,2*n+1,2*o+1)}function r(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function o(t,e,n,r){var o=t-n,i=e-r;return o*o+i*i}var i=function(t){return t[0]},a=function(t){return t[1]},s=function(e,n,r,o,s){void 0===n&&(n=i),void 0===r&&(r=a),void 0===o&&(o=64),void 0===s&&(s=Float64Array),this.nodeSize=o,this.points=e;for(var u=e.length<65536?Uint16Array:Uint32Array,l=this.ids=new u(e.length),c=this.coords=new s(2*e.length),p=0;p<e.length;p++)l[p]=p,c[2*p]=n(e[p]),c[2*p+1]=r(e[p]);t(l,c,o,0,l.length-1,0)};s.prototype.range=function(t,e,n,r){return function(t,e,n,r,o,i,a){for(var s,u,l=[0,t.length-1,0],c=[];l.length;){var p=l.pop(),f=l.pop(),h=l.pop();if(f-h<=a)for(var d=h;d<=f;d++)s=e[2*d],u=e[2*d+1],s>=n&&s<=o&&u>=r&&u<=i&&c.push(t[d]);else{var g=Math.floor((h+f)/2);s=e[2*g],u=e[2*g+1],s>=n&&s<=o&&u>=r&&u<=i&&c.push(t[g]);var y=(p+1)%2;(0===p?n<=s:r<=u)&&(l.push(h),l.push(g-1),l.push(y)),(0===p?o>=s:i>=u)&&(l.push(g+1),l.push(f),l.push(y))}}return c}(this.ids,this.coords,t,e,n,r,this.nodeSize)},s.prototype.within=function(t,e,n){return function(t,e,n,r,i,a){for(var s=[0,t.length-1,0],u=[],l=i*i;s.length;){var c=s.pop(),p=s.pop(),f=s.pop();if(p-f<=a)for(var h=f;h<=p;h++)o(e[2*h],e[2*h+1],n,r)<=l&&u.push(t[h]);else{var d=Math.floor((f+p)/2),g=e[2*d],y=e[2*d+1];o(g,y,n,r)<=l&&u.push(t[d]);var v=(c+1)%2;(0===c?n-i<=g:r-i<=y)&&(s.push(f),s.push(d-1),s.push(v)),(0===c?n+i>=g:r+i>=y)&&(s.push(d+1),s.push(p),s.push(v))}}return u}(this.ids,this.coords,t,e,n,this.nodeSize)};var u,l={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(t){return t}},c=Math.fround||(u=new Float32Array(1),function(t){return u[0]=+t,u[0]}),p=function(t){this.options=m(Object.create(l),t),this.trees=new Array(this.options.maxZoom+1)};function f(t,e,n,r,o){return{x:c(t),y:c(e),zoom:1/0,id:n,parentId:-1,numPoints:r,properties:o}}function h(t,e){var n=t.geometry.coordinates,r=n[0],o=n[1];return{x:c(y(r)),y:c(v(o)),zoom:1/0,index:e,parentId:-1}}function d(t){return{type:"Feature",id:t.id,properties:g(t),geometry:{type:"Point",coordinates:[(r=t.x,360*(r-.5)),(e=t.y,n=(180-360*e)*Math.PI/180,360*Math.atan(Math.exp(n))/Math.PI-90)]}};var e,n,r}function g(t){var e=t.numPoints,n=e>=1e4?Math.round(e/1e3)+"k":e>=1e3?Math.round(e/100)/10+"k":e;return m(m({},t.properties),{cluster:!0,cluster_id:t.id,point_count:e,point_count_abbreviated:n})}function y(t){return t/360+.5}function v(t){var e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function m(t,e){for(var n in e)t[n]=e[n];return t}function b(t){return t.x}function x(t){return t.y}return p.prototype.load=function(t){var e=this.options,n=e.log,r=e.minZoom,o=e.maxZoom,i=e.nodeSize;n&&console.time("total time");var a="prepare "+t.length+" points";n&&console.time(a),this.points=t;for(var u=[],l=0;l<t.length;l++)t[l].geometry&&u.push(h(t[l],l));this.trees[o+1]=new s(u,b,x,i,Float32Array),n&&console.timeEnd(a);for(var c=o;c>=r;c--){var p=+Date.now();u=this._cluster(u,c),this.trees[c]=new s(u,b,x,i,Float32Array),n&&console.log("z%d: %d clusters in %dms",c,u.length,+Date.now()-p)}return n&&console.timeEnd("total time"),this},p.prototype.getClusters=function(t,e){var n=((t[0]+180)%360+360)%360-180,r=Math.max(-90,Math.min(90,t[1])),o=180===t[2]?180:((t[2]+180)%360+360)%360-180,i=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)n=-180,o=180;else if(n>o){var a=this.getClusters([n,r,180,i],e),s=this.getClusters([-180,r,o,i],e);return a.concat(s)}for(var u=this.trees[this._limitZoom(e)],l=[],c=0,p=u.range(y(n),v(i),y(o),v(r));c<p.length;c+=1){var f=p[c],h=u.points[f];l.push(h.numPoints?d(h):this.points[h.index])}return l},p.prototype.getChildren=function(t){var e=this._getOriginId(t),n=this._getOriginZoom(t),r="No cluster with the specified id.",o=this.trees[n];if(!o)throw new Error(r);var i=o.points[e];if(!i)throw new Error(r);for(var a=this.options.radius/(this.options.extent*Math.pow(2,n-1)),s=[],u=0,l=o.within(i.x,i.y,a);u<l.length;u+=1){var c=l[u],p=o.points[c];p.parentId===t&&s.push(p.numPoints?d(p):this.points[p.index])}if(0===s.length)throw new Error(r);return s},p.prototype.getLeaves=function(t,e,n){e=e||10,n=n||0;var r=[];return this._appendLeaves(r,t,e,n,0),r},p.prototype.getTile=function(t,e,n){var r=this.trees[this._limitZoom(t)],o=Math.pow(2,t),i=this.options,a=i.extent,s=i.radius/a,u=(n-s)/o,l=(n+1+s)/o,c={features:[]};return this._addTileFeatures(r.range((e-s)/o,u,(e+1+s)/o,l),r.points,e,n,o,c),0===e&&this._addTileFeatures(r.range(1-s/o,u,1,l),r.points,o,n,o,c),e===o-1&&this._addTileFeatures(r.range(0,u,s/o,l),r.points,-1,n,o,c),c.features.length?c:null},p.prototype.getClusterExpansionZoom=function(t){for(var e=this._getOriginZoom(t)-1;e<=this.options.maxZoom;){var n=this.getChildren(t);if(e++,1!==n.length)break;t=n[0].properties.cluster_id}return e},p.prototype._appendLeaves=function(t,e,n,r,o){for(var i=0,a=this.getChildren(e);i<a.length;i+=1){var s=a[i],u=s.properties;if(u&&u.cluster?o+u.point_count<=r?o+=u.point_count:o=this._appendLeaves(t,u.cluster_id,n,r,o):o<r?o++:t.push(s),t.length===n)break}return o},p.prototype._addTileFeatures=function(t,e,n,r,o,i){for(var a=0,s=t;a<s.length;a+=1){var u=e[s[a]],l=u.numPoints,c=void 0,p=void 0,f=void 0;if(l)c=g(u),p=u.x,f=u.y;else{var h=this.points[u.index];c=h.properties,p=y(h.geometry.coordinates[0]),f=v(h.geometry.coordinates[1])}var d={type:1,geometry:[[Math.round(this.options.extent*(p*o-n)),Math.round(this.options.extent*(f*o-r))]],tags:c},m=void 0;l?m=u.id:this.options.generateId?m=u.index:this.points[u.index].id&&(m=this.points[u.index].id),void 0!==m&&(d.id=m),i.features.push(d)}},p.prototype._limitZoom=function(t){return Math.max(this.options.minZoom,Math.min(+t,this.options.maxZoom+1))},p.prototype._cluster=function(t,e){for(var n=[],r=this.options,o=r.radius,i=r.extent,a=r.reduce,s=r.minPoints,u=o/(i*Math.pow(2,e)),l=0;l<t.length;l++){var c=t[l];if(!(c.zoom<=e)){c.zoom=e;for(var p=this.trees[e+1],h=p.within(c.x,c.y,u),d=c.numPoints||1,g=d,y=0,v=h;y<v.length;y+=1){var m=v[y],b=p.points[m];b.zoom>e&&(g+=b.numPoints||1)}if(g>d&&g>=s){for(var x=c.x*d,O=c.y*d,S=a&&d>1?this._map(c,!0):null,w=(l<<5)+(e+1)+this.points.length,M=0,E=h;M<E.length;M+=1){var k=E[M],C=p.points[k];if(!(C.zoom<=e)){C.zoom=e;var P=C.numPoints||1;x+=C.x*P,O+=C.y*P,C.parentId=w,a&&(S||(S=this._map(c,!0)),a(S,this._map(C)))}}c.parentId=w,n.push(f(x/g,O/g,w,g,S))}else if(n.push(c),g>1)for(var A=0,j=h;A<j.length;A+=1){var T=j[A],_=p.points[T];_.zoom<=e||(_.zoom=e,n.push(_))}}}return n},p.prototype._getOriginId=function(t){return t-this.points.length>>5},p.prototype._getOriginZoom=function(t){return(t-this.points.length)%32},p.prototype._map=function(t,e){if(t.numPoints)return e?m({},t.properties):t.properties;var n=this.points[t.index].properties,r=this.options.map(n);return e&&r===n?m({},r):r},p}()}({exports:{}}),function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"}(rt||(rt={}));const ot={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},it={options(t,e){t.setOptions(e)},position(t,e){t.setPosition(e)},zIndex(t,e){t.setZIndex(e)}};class at extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoWindow:null},this.open=(t,e)=>{e?t.open(this.context,e):t.getPosition()?t.open(this.context):i(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},this.setInfoWindowCallback=()=>{null!==this.state.infoWindow&&null!==this.containerElement&&(this.state.infoWindow.setContent(this.containerElement),this.open(this.state.infoWindow,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoWindow))}}componentDidMount(){const t=new google.maps.InfoWindow(Object.assign({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=l({updaterMap:it,eventMap:ot,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{infoWindow:t}}),this.setInfoWindowCallback)}componentDidUpdate(t){null!==this.state.infoWindow&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:it,eventMap:ot,prevProps:t,nextProps:this.props,instance:this.state.infoWindow}))}componentWillUnmount(){null!==this.state.infoWindow&&(u(this.registeredEvents),this.state.infoWindow.close())}render(){return this.containerElement?o.createPortal(r.Children.only(this.props.children),this.containerElement):r.createElement(r.Fragment,null)}}at.contextType=a;const st={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},ut={draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},path(t,e){t.setPath(e)},visible(t,e){t.setVisible(e)}};class lt extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polyline:null},this.setPolylineCallback=()=>{null!==this.state.polyline&&this.props.onLoad&&this.props.onLoad(this.state.polyline)}}componentDidMount(){const t=new google.maps.Polyline(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:ut,eventMap:st,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{polyline:t}}),this.setPolylineCallback)}componentDidUpdate(t){null!==this.state.polyline&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:ut,eventMap:st,prevProps:t,nextProps:this.props,instance:this.state.polyline}))}componentWillUnmount(){null!==this.state.polyline&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),u(this.registeredEvents),this.state.polyline.setMap(null))}render(){return r.createElement(r.Fragment,null)}}lt.contextType=a;const ct={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},pt={draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},path(t,e){t.setPath(e)},paths(t,e){t.setPaths(e)},visible(t,e){t.setVisible(e)}};class ft extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polygon:null},this.setPolygonCallback=()=>{null!==this.state.polygon&&this.props.onLoad&&this.props.onLoad(this.state.polygon)}}componentDidMount(){const t=new google.maps.Polygon(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:pt,eventMap:ct,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{polygon:t}}),this.setPolygonCallback)}componentDidUpdate(t){null!==this.state.polygon&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:pt,eventMap:ct,prevProps:t,nextProps:this.props,instance:this.state.polygon}))}componentWillUnmount(){null!==this.state.polygon&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),u(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))}render(){return null}}ft.contextType=a;const ht={onBoundsChanged:"bounds_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},dt={bounds(t,e){t.setBounds(e)},draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},visible(t,e){t.setVisible(e)}};class gt extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={rectangle:null},this.setRectangleCallback=()=>{null!==this.state.rectangle&&this.props.onLoad&&this.props.onLoad(this.state.rectangle)}}componentDidMount(){const t=new google.maps.Rectangle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:dt,eventMap:ht,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{rectangle:t}}),this.setRectangleCallback)}componentDidUpdate(t){null!==this.state.rectangle&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:dt,eventMap:ht,prevProps:t,nextProps:this.props,instance:this.state.rectangle}))}componentWillUnmount(){null!==this.state.rectangle&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),u(this.registeredEvents),this.state.rectangle.setMap(null))}render(){return r.createElement(r.Fragment,null)}}gt.contextType=a;const yt={onCenterChanged:"center_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRadiusChanged:"radius_changed",onRightClick:"rightclick"},vt={center(t,e){t.setCenter(e)},draggable(t,e){t.setDraggable(e)},editable(t,e){t.setEditable(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},radius(t,e){t.setRadius(e)},visible(t,e){t.setVisible(e)}};class mt extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={circle:null},this.setCircleCallback=()=>{null!==this.state.circle&&this.props.onLoad&&this.props.onLoad(this.state.circle)}}componentDidMount(){const t=new google.maps.Circle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:vt,eventMap:yt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{circle:t}}),this.setCircleCallback)}componentDidUpdate(t){null!==this.state.circle&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:vt,eventMap:yt,prevProps:t,nextProps:this.props,instance:this.state.circle}))}componentWillUnmount(){null!==this.state.circle&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),u(this.registeredEvents),this.state.circle&&this.state.circle.setMap(null))}render(){return r.createElement(r.Fragment,null)}}mt.contextType=a;const bt={onAddFeature:"addfeature",onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onRightClick:"rightclick",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},xt={add(t,e){t.add(e)},addgeojson(t,e,n){t.addGeoJson(e,n)},contains(t,e){t.contains(e)},foreach(t,e){t.forEach(e)},loadgeojson(t,e,n,r){t.loadGeoJson(e,n,r)},overridestyle(t,e,n){t.overrideStyle(e,n)},remove(t,e){t.remove(e)},revertstyle(t,e){t.revertStyle(e)},controlposition(t,e){t.setControlPosition(e)},controls(t,e){t.setControls(e)},drawingmode(t,e){t.setDrawingMode(e)},map(t,e){t.setMap(e)},style(t,e){t.setStyle(e)},togeojson(t,e){t.toGeoJson(e)}};class Ot extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={data:null},this.setDataCallback=()=>{null!==this.state.data&&this.props.onLoad&&this.props.onLoad(this.state.data)}}componentDidMount(){const t=new google.maps.Data(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=l({updaterMap:xt,eventMap:bt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{data:t}}),this.setDataCallback)}componentDidUpdate(t){null!==this.state.data&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:xt,eventMap:bt,prevProps:t,nextProps:this.props,instance:this.state.data}))}componentWillUnmount(){null!==this.state.data&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),u(this.registeredEvents),this.state.data&&this.state.data.setMap(null))}render(){return null}}Ot.contextType=a;const St={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},wt={options(t,e){t.setOptions(e)},url(t,e){t.setUrl(e)},zIndex(t,e){t.setZIndex(e)}};class Mt extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={kmlLayer:null},this.setKmlLayerCallback=()=>{null!==this.state.kmlLayer&&this.props.onLoad&&this.props.onLoad(this.state.kmlLayer)}}componentDidMount(){const t=new google.maps.KmlLayer(Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=l({updaterMap:wt,eventMap:St,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{kmlLayer:t}}),this.setKmlLayerCallback)}componentDidUpdate(t){null!==this.state.kmlLayer&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:wt,eventMap:St,prevProps:t,nextProps:this.props,instance:this.state.kmlLayer}))}componentWillUnmount(){null!==this.state.kmlLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),u(this.registeredEvents),this.state.kmlLayer.setMap(null))}render(){return null}}Mt.contextType=a;const Et=(t,e)=>new e(t.lat,t.lng),kt=(t,e)=>new e(new google.maps.LatLng(t.ne.lat,t.ne.lng),new google.maps.LatLng(t.sw.lat,t.sw.lng)),Ct=(t,e,n)=>t instanceof e?t:n(t,e);function Pt(t){return t?(t instanceof google.maps.LatLng?t:new google.maps.LatLng(t.lat,t.lng))+"":""}function At(t){return t?(t instanceof google.maps.LatLngBounds?t:new google.maps.LatLngBounds(new google.maps.LatLng(t.south,t.east),new google.maps.LatLng(t.north,t.west)))+"":""}class jt extends r.PureComponent{constructor(t){super(t),this.state={paneEl:null,containerStyle:{position:"absolute"}},this.updatePane=()=>{const t=this.props.mapPaneName,e=this.overlayView.getPanes();i(!!t,"OverlayView requires props.mapPaneName but got %s",t),e?this.setState({paneEl:e[t]}):this.setState({paneEl:null})},this.onAdd=()=>{var t,e;this.updatePane(),null===(e=(t=this.props).onLoad)||void 0===e||e.call(t,this.overlayView)},this.onPositionElement=()=>{var t,e;const n=(s=this.overlayView.getProjection(),u=Object.assign({x:0,y:0},this.containerRef.current?(t=this.containerRef.current,"function"==typeof(e=this.props.getPixelPositionOffset)?e(t.offsetWidth,t.offsetHeight):{}):{}),l=this.props.bounds,c=this.props.position,void 0!==l?((t,e,n)=>{const r=t&&t.fromLatLngToDivPixel(n.getNorthEast()),o=t&&t.fromLatLngToDivPixel(n.getSouthWest());return r&&o?{left:`${o.x+e.x}px`,top:`${r.y+e.y}px`,width:r.x-o.x-e.x+"px",height:o.y-r.y-e.y+"px"}:{left:"-9999px",top:"-9999px"}})(s,u,Ct(l,google.maps.LatLngBounds,kt)):((t,e,n)=>{const r=t&&t.fromLatLngToDivPixel(n);if(r){const{x:t,y:n}=r;return{left:`${t+e.x}px`,top:`${n+e.y}px`}}return{left:"-9999px",top:"-9999px"}})(s,u,Ct(c,google.maps.LatLng,Et))),{left:r,top:o,width:i,height:a}=this.state.containerStyle;var s,u,l,c,p,f;f={left:r,top:o,width:i,height:a},((p=n).left!==f.left||p.top!==f.top||p.width!==f.height||p.height!==f.height)&&this.setState({containerStyle:Object.assign(Object.assign({},n),{position:"absolute"})})},this.draw=()=>{this.onPositionElement()},this.onRemove=()=>{var t,e;this.setState((()=>({paneEl:null}))),null===(e=(t=this.props).onUnmount)||void 0===e||e.call(t,this.overlayView)},this.containerRef=r.createRef();const e=new google.maps.OverlayView;e.onAdd=this.onAdd,e.draw=this.draw,e.onRemove=this.onRemove,this.overlayView=e}componentDidMount(){this.overlayView.setMap(this.context)}componentDidUpdate(t){const e=Pt(t.position),n=Pt(this.props.position),r=At(t.bounds),o=At(this.props.bounds);e===n&&r===o||this.overlayView.draw(),t.mapPaneName!==this.props.mapPaneName&&this.updatePane()}componentWillUnmount(){this.overlayView.setMap(null)}render(){const t=this.state.paneEl;return t?o.createPortal(r.createElement("div",{ref:this.containerRef,style:this.state.containerStyle},r.Children.only(this.props.children)),t):null}}jt.FLOAT_PANE="floatPane",jt.MAP_PANE="mapPane",jt.MARKER_LAYER="markerLayer",jt.OVERLAY_LAYER="overlayLayer",jt.OVERLAY_MOUSE_TARGET="overlayMouseTarget",jt.contextType=a;const Tt={onDblClick:"dblclick",onClick:"click"},_t={opacity(t,e){t.setOpacity(e)}};class Bt extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={groundOverlay:null},this.setGroundOverlayCallback=()=>{null!==this.state.groundOverlay&&this.props.onLoad&&this.props.onLoad(this.state.groundOverlay)}}componentDidMount(){i(!!this.props.url||!!this.props.bounds,"For GroundOverlay, url and bounds are passed in to constructor and are immutable after instantiated. This is the behavior of Google Maps JavaScript API v3 ( See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay) Hence, use the corresponding two props provided by `react-google-maps-api`, url and bounds. In some cases, you'll need the GroundOverlay component to reflect the changes of url and bounds. You can leverage the React's key property to remount the component. Typically, just `key={url}` would serve your need. See https://github.com/tomchentw/react-google-maps/issues/655");const t=new google.maps.GroundOverlay(this.props.url,this.props.bounds,Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=l({updaterMap:_t,eventMap:Tt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{groundOverlay:t}}),this.setGroundOverlayCallback)}componentDidUpdate(t){null!==this.state.groundOverlay&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:_t,eventMap:Tt,prevProps:t,nextProps:this.props,instance:this.state.groundOverlay}))}componentWillUnmount(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))}render(){return null}}Bt.defaultProps={onLoad:function(){}},Bt.contextType=a;const Dt={},It={data(t,e){t.setData(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)}};class Lt extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={heatmapLayer:null},this.setHeatmapLayerCallback=()=>{null!==this.state.heatmapLayer&&this.props.onLoad&&this.props.onLoad(this.state.heatmapLayer)}}componentDidMount(){i(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),i(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);const t=new google.maps.visualization.HeatmapLayer(Object.assign(Object.assign({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=l({updaterMap:It,eventMap:Dt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{heatmapLayer:t}}),this.setHeatmapLayerCallback)}componentDidUpdate(t){u(this.registeredEvents),this.registeredEvents=l({updaterMap:It,eventMap:Dt,prevProps:t,nextProps:this.props,instance:this.state.heatmapLayer})}componentWillUnmount(){null!==this.state.heatmapLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),u(this.registeredEvents),this.state.heatmapLayer.setMap(null))}render(){return null}}Lt.contextType=a;const zt={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},Rt={register(t,e,n){t.registerPanoProvider(e,n)},links(t,e){t.setLinks(e)},motionTracking(t,e){t.setMotionTracking(e)},options(t,e){t.setOptions(e)},pano(t,e){t.setPano(e)},position(t,e){t.setPosition(e)},pov(t,e){t.setPov(e)},visible(t,e){t.setVisible(e)},zoom(t,e){t.setZoom(e)}};class Wt extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={streetViewPanorama:null},this.setStreetViewPanoramaCallback=()=>{null!==this.state.streetViewPanorama&&this.props.onLoad&&this.props.onLoad(this.state.streetViewPanorama)}}componentDidMount(){const t=this.context.getStreetView();this.registeredEvents=l({updaterMap:Rt,eventMap:zt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{streetViewPanorama:t}}),this.setStreetViewPanoramaCallback)}componentDidUpdate(t){null!==this.state.streetViewPanorama&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:Rt,eventMap:zt,prevProps:t,nextProps:this.props,instance:this.state.streetViewPanorama}))}componentWillUnmount(){null!==this.state.streetViewPanorama&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),u(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))}render(){return null}}Wt.contextType=a;class Nt extends r.PureComponent{constructor(){super(...arguments),this.state={streetViewService:null},this.setStreetViewServiceCallback=()=>{null!==this.state.streetViewService&&this.props.onLoad&&this.props.onLoad(this.state.streetViewService)}}componentDidMount(){const t=new google.maps.StreetViewService;this.setState((function(){return{streetViewService:t}}),this.setStreetViewServiceCallback)}componentWillUnmount(){null!==this.state.streetViewService&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)}render(){return null}}Nt.contextType=a,r.PureComponent;const Ft={onDirectionsChanged:"directions_changed"},Ut={directions(t,e){t.setDirections(e)},map(t,e){t.setMap(e)},options(t,e){t.setOptions(e)},panel(t,e){t.setPanel(e)},routeIndex(t,e){t.setRouteIndex(e)}};class Vt extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={directionsRenderer:null},this.setDirectionsRendererCallback=()=>{null!==this.state.directionsRenderer&&(this.state.directionsRenderer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.directionsRenderer))}}componentDidMount(){const t=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=l({updaterMap:Ut,eventMap:Ft,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{directionsRenderer:t}}),this.setDirectionsRendererCallback)}componentDidUpdate(t){null!==this.state.directionsRenderer&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:Ut,eventMap:Ft,prevProps:t,nextProps:this.props,instance:this.state.directionsRenderer}))}componentWillUnmount(){null!==this.state.directionsRenderer&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),u(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))}render(){return r.createElement(r.Fragment,null)}}Vt.contextType=a,r.PureComponent;const Gt={onPlacesChanged:"places_changed"},qt={bounds(t,e){t.setBounds(e)}};class Ht extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=r.createRef(),this.state={searchBox:null},this.setSearchBoxCallback=()=>{null!==this.state.searchBox&&this.props.onLoad&&this.props.onLoad(this.state.searchBox)}}componentDidMount(){if(i(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),null!==this.containerElement&&null!==this.containerElement.current){const t=this.containerElement.current.querySelector("input");if(null!==t){const e=new google.maps.places.SearchBox(t,this.props.options);this.registeredEvents=l({updaterMap:qt,eventMap:Gt,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{searchBox:e}}),this.setSearchBoxCallback)}}}componentDidUpdate(t){null!==this.state.searchBox&&(u(this.registeredEvents),this.registeredEvents=l({updaterMap:qt,eventMap:Gt,prevProps:t,nextProps:this.props,instance:this.state.searchBox}))}componentWillUnmount(){null!==this.state.searchBox&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),u(this.registeredEvents))}render(){return r.createElement("div",{ref:this.containerElement},r.Children.only(this.props.children))}}Ht.contextType=a;const Zt={onPlaceChanged:"place_changed"},$t={bounds(t,e){t.setBounds(e)},restrictions(t,e){t.setComponentRestrictions(e)},fields(t,e){t.setFields(e)},options(t,e){t.setOptions(e)},types(t,e){t.setTypes(e)}};class Yt extends r.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=r.createRef(),this.state={autocomplete:null},this.setAutocompleteCallback=()=>{null!==this.state.autocomplete&&this.props.onLoad&&this.props.onLoad(this.state.autocomplete)}}componentDidMount(){i(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);const t=this.containerElement.current.querySelector("input");if(t){const e=new google.maps.places.Autocomplete(t,this.props.options);this.registeredEvents=l({updaterMap:$t,eventMap:Zt,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{autocomplete:e}}),this.setAutocompleteCallback)}}componentDidUpdate(t){u(this.registeredEvents),this.registeredEvents=l({updaterMap:$t,eventMap:Zt,prevProps:t,nextProps:this.props,instance:this.state.autocomplete})}componentWillUnmount(){null!==this.state.autocomplete&&u(this.registeredEvents)}render(){return r.createElement("div",{ref:this.containerElement,className:this.props.className||""},r.Children.only(this.props.children))}}Yt.contextType=a},17374:function(t,e,n){var r;!function(o){"use strict";var i,a=1e9,s={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},u=!0,l="[DecimalError] ",c=l+"Invalid argument: ",p=l+"Exponent out of range: ",f=Math.floor,h=Math.pow,d=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,g=1e7,y=f(1286742750677284.5),v={};function m(t,e){var n,r,o,i,a,s,l,c,p=t.constructor,f=p.precision;if(!t.s||!e.s)return e.s||(e=new p(t)),u?P(e,f):e;if(l=t.d,c=e.d,a=t.e,o=e.e,l=l.slice(),i=a-o){for(i<0?(r=l,i=-i,s=c.length):(r=c,o=a,s=l.length),i>(s=(a=Math.ceil(f/7))>s?a+1:s+1)&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((s=l.length)-(i=c.length)<0&&(i=s,r=c,c=l,l=r),n=0;i;)n=(l[--i]=l[i]+c[i]+n)/g|0,l[i]%=g;for(n&&(l.unshift(n),++o),s=l.length;0==l[--s];)l.pop();return e.d=l,e.e=o,u?P(e,f):e}function b(t,e,n){if(t!==~~t||t<e||t>n)throw Error(c+t)}function x(t){var e,n,r,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;e<o;e++)(n=7-(r=t[e]+"").length)&&(i+=E(n)),i+=r;(n=7-(r=(a=t[e])+"").length)&&(i+=E(n))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}v.absoluteValue=v.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},v.comparedTo=v.cmp=function(t){var e,n,r,o,i=this;if(t=new i.constructor(t),i.s!==t.s)return i.s||-t.s;if(i.e!==t.e)return i.e>t.e^i.s<0?1:-1;for(e=0,n=(r=i.d.length)<(o=t.d.length)?r:o;e<n;++e)if(i.d[e]!==t.d[e])return i.d[e]>t.d[e]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},v.decimalPlaces=v.dp=function(){var t=this,e=t.d.length-1,n=7*(e-t.e);if(e=t.d[e])for(;e%10==0;e/=10)n--;return n<0?0:n},v.dividedBy=v.div=function(t){return O(this,new this.constructor(t))},v.dividedToIntegerBy=v.idiv=function(t){var e=this.constructor;return P(O(this,new e(t),0,1),e.precision)},v.equals=v.eq=function(t){return!this.cmp(t)},v.exponent=function(){return w(this)},v.greaterThan=v.gt=function(t){return this.cmp(t)>0},v.greaterThanOrEqualTo=v.gte=function(t){return this.cmp(t)>=0},v.isInteger=v.isint=function(){return this.e>this.d.length-2},v.isNegative=v.isneg=function(){return this.s<0},v.isPositive=v.ispos=function(){return this.s>0},v.isZero=function(){return 0===this.s},v.lessThan=v.lt=function(t){return this.cmp(t)<0},v.lessThanOrEqualTo=v.lte=function(t){return this.cmp(t)<1},v.logarithm=v.log=function(t){var e,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(i))throw Error(l+"NaN");if(n.s<1)throw Error(l+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(u=!1,e=O(k(n,a),k(t,a),a),u=!0,P(e,o))},v.minus=v.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?A(e,t):m(e,(t.s=-t.s,t))},v.modulo=v.mod=function(t){var e,n=this,r=n.constructor,o=r.precision;if(!(t=new r(t)).s)throw Error(l+"NaN");return n.s?(u=!1,e=O(n,t,0,1).times(t),u=!0,n.minus(e)):P(new r(n),o)},v.naturalExponential=v.exp=function(){return S(this)},v.naturalLogarithm=v.ln=function(){return k(this)},v.negated=v.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},v.plus=v.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?m(e,t):A(e,(t.s=-t.s,t))},v.precision=v.sd=function(t){var e,n,r,o=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(c+t);if(e=w(o)+1,n=7*(r=o.d.length-1)+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return t&&e>n?e:n},v.squareRoot=v.sqrt=function(){var t,e,n,r,o,i,a,s=this,c=s.constructor;if(s.s<1){if(!s.s)return new c(0);throw Error(l+"NaN")}for(t=w(s),u=!1,0==(o=Math.sqrt(+s))||o==1/0?(((e=x(s.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),r=new c(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):r=new c(o.toString()),o=a=(n=c.precision)+3;;)if(r=(i=r).plus(O(s,i,a+2)).times(.5),x(i.d).slice(0,a)===(e=x(r.d)).slice(0,a)){if(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(P(i,n+1,0),i.times(i).eq(s)){r=i;break}}else if("9999"!=e)break;a+=4}return u=!0,P(r,n)},v.times=v.mul=function(t){var e,n,r,o,i,a,s,l,c,p=this,f=p.constructor,h=p.d,d=(t=new f(t)).d;if(!p.s||!t.s)return new f(0);for(t.s*=p.s,n=p.e+t.e,(l=h.length)<(c=d.length)&&(i=h,h=d,d=i,a=l,l=c,c=a),i=[],r=a=l+c;r--;)i.push(0);for(r=c;--r>=0;){for(e=0,o=l+r;o>r;)s=i[o]+d[r]*h[o-r-1]+e,i[o--]=s%g|0,e=s/g|0;i[o]=(i[o]+e)%g|0}for(;!i[--a];)i.pop();return e?++n:i.shift(),t.d=i,t.e=n,u?P(t,f.precision):t},v.toDecimalPlaces=v.todp=function(t,e){var n=this,r=n.constructor;return n=new r(n),void 0===t?n:(b(t,0,a),void 0===e?e=r.rounding:b(e,0,8),P(n,t+w(n)+1,e))},v.toExponential=function(t,e){var n,r=this,o=r.constructor;return void 0===t?n=j(r,!0):(b(t,0,a),void 0===e?e=o.rounding:b(e,0,8),n=j(r=P(new o(r),t+1,e),!0,t+1)),n},v.toFixed=function(t,e){var n,r,o=this,i=o.constructor;return void 0===t?j(o):(b(t,0,a),void 0===e?e=i.rounding:b(e,0,8),n=j((r=P(new i(o),t+w(o)+1,e)).abs(),!1,t+w(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},v.toInteger=v.toint=function(){var t=this,e=t.constructor;return P(new e(t),w(t)+1,e.rounding)},v.toNumber=function(){return+this},v.toPower=v.pow=function(t){var e,n,r,o,a,s,c=this,p=c.constructor,h=+(t=new p(t));if(!t.s)return new p(i);if(!(c=new p(c)).s){if(t.s<1)throw Error(l+"Infinity");return c}if(c.eq(i))return c;if(r=p.precision,t.eq(i))return P(c,r);if(s=(e=t.e)>=(n=t.d.length-1),a=c.s,s){if((n=h<0?-h:h)<=9007199254740991){for(o=new p(i),e=Math.ceil(r/7+4),u=!1;n%2&&T((o=o.times(c)).d,e),0!==(n=f(n/2));)T((c=c.times(c)).d,e);return u=!0,t.s<0?new p(i).div(o):P(o,r)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&t.d[Math.max(e,n)]?-1:1,c.s=1,u=!1,o=t.times(k(c,r+12)),u=!0,(o=S(o)).s=a,o},v.toPrecision=function(t,e){var n,r,o=this,i=o.constructor;return void 0===t?r=j(o,(n=w(o))<=i.toExpNeg||n>=i.toExpPos):(b(t,1,a),void 0===e?e=i.rounding:b(e,0,8),r=j(o=P(new i(o),t,e),t<=(n=w(o))||n<=i.toExpNeg,t)),r},v.toSignificantDigits=v.tosd=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(b(t,1,a),void 0===e?e=n.rounding:b(e,0,8)),P(new n(this),t,e)},v.toString=v.valueOf=v.val=v.toJSON=function(){var t=this,e=w(t),n=t.constructor;return j(t,e<=n.toExpNeg||e>=n.toExpPos)};var O=function(){function t(t,e){var n,r=0,o=t.length;for(t=t.slice();o--;)n=t[o]*e+r,t[o]=n%g|0,r=n/g|0;return r&&t.unshift(r),t}function e(t,e,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;o<n;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function n(t,e,n){for(var r=0;n--;)t[n]-=r,r=t[n]<e[n]?1:0,t[n]=r*g+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(r,o,i,a){var s,u,c,p,f,h,d,y,v,m,b,x,O,S,M,E,k,C,A=r.constructor,j=r.s==o.s?1:-1,T=r.d,_=o.d;if(!r.s)return new A(r);if(!o.s)throw Error(l+"Division by zero");for(u=r.e-o.e,k=_.length,M=T.length,y=(d=new A(j)).d=[],c=0;_[c]==(T[c]||0);)++c;if(_[c]>(T[c]||0)&&--u,(x=null==i?i=A.precision:a?i+(w(r)-w(o))+1:i)<0)return new A(0);if(x=x/7+2|0,c=0,1==k)for(p=0,_=_[0],x++;(c<M||p)&&x--;c++)O=p*g+(T[c]||0),y[c]=O/_|0,p=O%_|0;else{for((p=g/(_[0]+1)|0)>1&&(_=t(_,p),T=t(T,p),k=_.length,M=T.length),S=k,m=(v=T.slice(0,k)).length;m<k;)v[m++]=0;(C=_.slice()).unshift(0),E=_[0],_[1]>=g/2&&++E;do{p=0,(s=e(_,v,k,m))<0?(b=v[0],k!=m&&(b=b*g+(v[1]||0)),(p=b/E|0)>1?(p>=g&&(p=g-1),1==(s=e(f=t(_,p),v,h=f.length,m=v.length))&&(p--,n(f,k<h?C:_,h))):(0==p&&(s=p=1),f=_.slice()),(h=f.length)<m&&f.unshift(0),n(v,f,m),-1==s&&(s=e(_,v,k,m=v.length))<1&&(p++,n(v,k<m?C:_,m)),m=v.length):0===s&&(p++,v=[0]),y[c++]=p,s&&v[0]?v[m++]=T[S]||0:(v=[T[S]],m=1)}while((S++<M||void 0!==v[0])&&x--)}return y[0]||y.shift(),d.e=u,P(d,a?i+w(d)+1:i)}}();function S(t,e){var n,r,o,a,s,l=0,c=0,f=t.constructor,d=f.precision;if(w(t)>16)throw Error(p+w(t));if(!t.s)return new f(i);for(null==e?(u=!1,s=d):s=e,a=new f(.03125);t.abs().gte(.1);)t=t.times(a),c+=5;for(s+=Math.log(h(2,c))/Math.LN10*2+5|0,n=r=o=new f(i),f.precision=s;;){if(r=P(r.times(t),s),n=n.times(++l),x((a=o.plus(O(r,n,s))).d).slice(0,s)===x(o.d).slice(0,s)){for(;c--;)o=P(o.times(o),s);return f.precision=d,null==e?(u=!0,P(o,d)):o}o=a}}function w(t){for(var e=7*t.e,n=t.d[0];n>=10;n/=10)e++;return e}function M(t,e,n){if(e>t.LN10.sd())throw u=!0,n&&(t.precision=n),Error(l+"LN10 precision limit exceeded");return P(new t(t.LN10),e)}function E(t){for(var e="";t--;)e+="0";return e}function k(t,e){var n,r,o,a,s,c,p,f,h,d=1,g=t,y=g.d,v=g.constructor,m=v.precision;if(g.s<1)throw Error(l+(g.s?"NaN":"-Infinity"));if(g.eq(i))return new v(0);if(null==e?(u=!1,f=m):f=e,g.eq(10))return null==e&&(u=!0),M(v,f);if(f+=10,v.precision=f,r=(n=x(y)).charAt(0),a=w(g),!(Math.abs(a)<15e14))return p=M(v,f+2,m).times(a+""),g=k(new v(r+"."+n.slice(1)),f-10).plus(p),v.precision=m,null==e?(u=!0,P(g,m)):g;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=x((g=g.times(t)).d)).charAt(0),d++;for(a=w(g),r>1?(g=new v("0."+n),a++):g=new v(r+"."+n.slice(1)),c=s=g=O(g.minus(i),g.plus(i),f),h=P(g.times(g),f),o=3;;){if(s=P(s.times(h),f),x((p=c.plus(O(s,new v(o),f))).d).slice(0,f)===x(c.d).slice(0,f))return c=c.times(2),0!==a&&(c=c.plus(M(v,f+2,m).times(a+""))),c=O(c,new v(d),f),v.precision=m,null==e?(u=!0,P(c,m)):c;c=p,o+=2}}function C(t,e){var n,r,o;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;48===e.charCodeAt(r);)++r;for(o=e.length;48===e.charCodeAt(o-1);)--o;if(e=e.slice(r,o)){if(o-=r,n=n-r-1,t.e=f(n/7),t.d=[],r=(n+1)%7,n<0&&(r+=7),r<o){for(r&&t.d.push(+e.slice(0,r)),o-=7;r<o;)t.d.push(+e.slice(r,r+=7));r=7-(e=e.slice(r)).length}else r-=o;for(;r--;)e+="0";if(t.d.push(+e),u&&(t.e>y||t.e<-y))throw Error(p+n)}else t.s=0,t.e=0,t.d=[0];return t}function P(t,e,n){var r,o,i,a,s,l,c,d,v=t.d;for(a=1,i=v[0];i>=10;i/=10)a++;if((r=e-a)<0)r+=7,o=e,c=v[d=0];else{if((d=Math.ceil((r+1)/7))>=(i=v.length))return t;for(c=i=v[d],a=1;i>=10;i/=10)a++;o=(r%=7)-7+a}if(void 0!==n&&(s=c/(i=h(10,a-o-1))%10|0,l=e<0||void 0!==v[d+1]||c%i,l=n<4?(s||l)&&(0==n||n==(t.s<0?3:2)):s>5||5==s&&(4==n||l||6==n&&(r>0?o>0?c/h(10,a-o):0:v[d-1])%10&1||n==(t.s<0?8:7))),e<1||!v[0])return l?(i=w(t),v.length=1,e=e-i-1,v[0]=h(10,(7-e%7)%7),t.e=f(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==r?(v.length=d,i=1,d--):(v.length=d+1,i=h(10,7-r),v[d]=o>0?(c/h(10,a-o)%h(10,o)|0)*i:0),l)for(;;){if(0==d){(v[0]+=i)==g&&(v[0]=1,++t.e);break}if(v[d]+=i,v[d]!=g)break;v[d--]=0,i=1}for(r=v.length;0===v[--r];)v.pop();if(u&&(t.e>y||t.e<-y))throw Error(p+w(t));return t}function A(t,e){var n,r,o,i,a,s,l,c,p,f,h=t.constructor,d=h.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new h(t),u?P(e,d):e;if(l=t.d,f=e.d,r=e.e,c=t.e,l=l.slice(),a=c-r){for((p=a<0)?(n=l,a=-a,s=f.length):(n=f,r=c,s=l.length),a>(o=Math.max(Math.ceil(d/7),s)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((p=(o=l.length)<(s=f.length))&&(s=o),o=0;o<s;o++)if(l[o]!=f[o]){p=l[o]<f[o];break}a=0}for(p&&(n=l,l=f,f=n,e.s=-e.s),s=l.length,o=f.length-s;o>0;--o)l[s++]=0;for(o=f.length;o>a;){if(l[--o]<f[o]){for(i=o;i&&0===l[--i];)l[i]=g-1;--l[i],l[o]+=g}l[o]-=f[o]}for(;0===l[--s];)l.pop();for(;0===l[0];l.shift())--r;return l[0]?(e.d=l,e.e=r,u?P(e,d):e):new h(0)}function j(t,e,n){var r,o=w(t),i=x(t.d),a=i.length;return e?(n&&(r=n-a)>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)<a&&(i=i.slice(0,r)+"."+i.slice(r)),n&&(r=n-a)>0&&(o+1===a&&(i+="."),i+=E(r))),t.s<0?"-"+i:i}function T(t,e){if(t.length>e)return t.length=e,!0}function _(t){if(!t||"object"!=typeof t)throw Error(l+"Object expected");var e,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<o.length;e+=3)if(void 0!==(r=t[n=o[e]])){if(!(f(r)===r&&r>=o[e+1]&&r<=o[e+2]))throw Error(c+n+": "+r);this[n]=r}if(void 0!==(r=t[n="LN10"])){if(r!=Math.LN10)throw Error(c+n+": "+r);this[n]=new this(r)}return this}(s=function t(e){var n,r,o;function i(t){var e=this;if(!(e instanceof i))return new i(t);if(e.constructor=i,t instanceof i)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"==typeof t){if(0*t!=0)throw Error(c+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):C(e,t.toString())}if("string"!=typeof t)throw Error(c+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!d.test(t))throw Error(c+t);C(e,t)}if(i.prototype=v,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=t,i.config=i.set=_,void 0===e&&(e={}),e)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<o.length;)e.hasOwnProperty(r=o[n++])||(e[r]=this[r]);return i.config(e),i}(s)).default=s.Decimal=s,i=new s(1),void 0===(r=function(){return s}.call(e,n,e,t))||(t.exports=r)}()},69448:()=>{var t;"function"!=typeof(t=window.Element.prototype).matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(t){for(var e=this,n=(e.document||e.ownerDocument).querySelectorAll(t),r=0;n[r]&&n[r]!==e;)++r;return Boolean(n[r])}),"function"!=typeof t.closest&&(t.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null})},10161:t=>{"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function o(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function i(t,e,r,i,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new o(r,i||t,a),u=n?n+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],s]:t._events[u].push(s):(t._events[u]=s,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var t,r,o=[];if(0===this._eventsCount)return o;for(r in t=this._events)e.call(t,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},s.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},s.prototype.listenerCount=function(t){var e=n?n+t:t,r=this._events[e];return r?r.fn?1:r.length:0},s.prototype.emit=function(t,e,r,o,i,a){var s=n?n+t:t;if(!this._events[s])return!1;var u,l,c=this._events[s],p=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),p){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,r),!0;case 4:return c.fn.call(c.context,e,r,o),!0;case 5:return c.fn.call(c.context,e,r,o,i),!0;case 6:return c.fn.call(c.context,e,r,o,i,a),!0}for(l=1,u=new Array(p-1);l<p;l++)u[l-1]=arguments[l];c.fn.apply(c.context,u)}else{var f,h=c.length;for(l=0;l<h;l++)switch(c[l].once&&this.removeListener(t,c[l].fn,void 0,!0),p){case 1:c[l].fn.call(c[l].context);break;case 2:c[l].fn.call(c[l].context,e);break;case 3:c[l].fn.call(c[l].context,e,r);break;case 4:c[l].fn.call(c[l].context,e,r,o);break;default:if(!u)for(f=1,u=new Array(p-1);f<p;f++)u[f-1]=arguments[f];c[l].fn.apply(c[l].context,u)}}return!0},s.prototype.on=function(t,e,n){return i(this,t,e,n,!1)},s.prototype.once=function(t,e,n){return i(this,t,e,n,!0)},s.prototype.removeListener=function(t,e,r,o){var i=n?n+t:t;if(!this._events[i])return this;if(!e)return a(this,i),this;var s=this._events[i];if(s.fn)s.fn!==e||o&&!s.once||r&&s.context!==r||a(this,i);else{for(var u=0,l=[],c=s.length;u<c;u++)(s[u].fn!==e||o&&!s[u].once||r&&s[u].context!==r)&&l.push(s[u]);l.length?this._events[i]=1===l.length?l[0]:l:a(this,i)}return this},s.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&a(this,e)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,t.exports=s},47677:t=>{"use strict";t.exports=function(t,e,n,r,o,i,a,s){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,s],c=0;(u=new Error(e.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},77603:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}},38333:(t,e,n)=>{var r=n(77832);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},34893:t=>{t.exports=function(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}},50217:t=>{t.exports=function(t){return t.split("")}},50080:(t,e,n)=>{var r=n(24303);t.exports=function(t,e){var n=!0;return r(t,(function(t,r,o){return n=!!e(t,r,o)})),n}},2229:(t,e,n)=>{var r=n(4795);t.exports=function(t,e,n){for(var o=-1,i=t.length;++o<i;){var a=t[o],s=e(a);if(null!=s&&(void 0===u?s==s&&!r(s):n(s,u)))var u=s,l=a}return l}},21359:t=>{t.exports=function(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}},84134:t=>{t.exports=function(t,e){return t>e}},77832:(t,e,n)=>{var r=n(21359),o=n(22195),i=n(66024);t.exports=function(t,e,n){return e==e?i(t,e,n):r(t,o,n)}},22195:t=>{t.exports=function(t){return t!=t}},17606:t=>{t.exports=function(t,e){return t<e}},93401:(t,e,n)=>{var r=n(24303),o=n(67878);t.exports=function(t,e){var n=-1,i=o(t)?Array(t.length):[];return r(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}},23813:(t,e,n)=>{var r=n(50343),o=n(13324),i=n(68286),a=n(93401),s=n(27095),u=n(47826),l=n(18477),c=n(23059),p=n(86152);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return p(t)?function(e){return o(e,1===t.length?t[0]:t)}:t})):[c];var f=-1;e=r(e,u(i));var h=a(t,(function(t,n,o){return{criteria:r(e,(function(e){return e(t)})),index:++f,value:t}}));return s(h,(function(t,e){return l(t,e,n)}))}},36060:(t,e,n)=>{var r=n(23059),o=n(43114),i=n(75251);t.exports=function(t,e){return i(o(t,e,r),t+"")}},39872:t=>{t.exports=function(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}},4751:(t,e,n)=>{var r=n(24303);t.exports=function(t,e){var n;return r(t,(function(t,r,o){return!(n=e(t,r,o))})),!!n}},27095:t=>{t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},67326:(t,e,n)=>{var r=n(45386),o=n(38333),i=n(34893),a=n(59950),s=n(78803),u=n(16909);t.exports=function(t,e,n){var l=-1,c=o,p=t.length,f=!0,h=[],d=h;if(n)f=!1,c=i;else if(p>=200){var g=e?null:s(t);if(g)return u(g);f=!1,c=a,d=new r}else d=e?[]:h;t:for(;++l<p;){var y=t[l],v=e?e(y):y;if(y=n||0!==y?y:0,f&&v==v){for(var m=d.length;m--;)if(d[m]===v)continue t;e&&d.push(v),h.push(y)}else c(d,v,n)||(d!==h&&d.push(v),h.push(y))}return h}},23895:(t,e,n)=>{var r=n(39872);t.exports=function(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:r(t,e,n)}},27520:(t,e,n)=>{var r=n(4795);t.exports=function(t,e){if(t!==e){var n=void 0!==t,o=null===t,i=t==t,a=r(t),s=void 0!==e,u=null===e,l=e==e,c=r(e);if(!u&&!c&&!a&&t>e||a&&s&&l&&!u&&!c||o&&s&&l||!n&&l||!i)return 1;if(!o&&!a&&!c&&t<e||c&&n&&i&&!o&&!a||u&&n&&i||!s&&i||!l)return-1}return 0}},18477:(t,e,n)=>{var r=n(27520);t.exports=function(t,e,n){for(var o=-1,i=t.criteria,a=e.criteria,s=i.length,u=n.length;++o<s;){var l=r(i[o],a[o]);if(l)return o>=u?l:l*("desc"==n[o]?-1:1)}return t.index-e.index}},83126:(t,e,n)=>{var r=n(23895),o=n(33880),i=n(8435),a=n(66188);t.exports=function(t){return function(e){e=a(e);var n=o(e)?i(e):void 0,s=n?n[0]:e.charAt(0),u=n?r(n,1).join(""):e.slice(1);return s[t]()+u}}},98776:(t,e,n)=>{var r=n(68286),o=n(67878),i=n(90249);t.exports=function(t){return function(e,n,a){var s=Object(e);if(!o(e)){var u=r(n,3);e=i(e),n=function(t){return u(s[t],t,s)}}var l=t(e,n,a);return l>-1?s[u?e[l]:l]:void 0}}},78803:(t,e,n)=>{var r=n(2143),o=n(34291),i=n(16909),a=r&&1/i(new r([,-0]))[1]==1/0?function(t){return new r(t)}:o;t.exports=a},47353:(t,e,n)=>{var r=n(60241)(Object.getPrototypeOf,Object);t.exports=r},33880:t=>{var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},66024:t=>{t.exports=function(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}},8435:(t,e,n)=>{var r=n(50217),o=n(33880),i=n(63344);t.exports=function(t){return o(t)?i(t):r(t)}},63344:t=>{var e="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",r="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+e+"|"+n+")?",s="[\\ufe0e\\ufe0f]?",u=s+a+"(?:\\u200d(?:"+[r,o,i].join("|")+")"+s+a+")*",l="(?:"+[r+e+"?",e,o,i,"[\\ud800-\\udfff]"].join("|")+")",c=RegExp(n+"(?="+n+")|"+l+u,"g");t.exports=function(t){return t.match(c)||[]}},39794:(t,e,n)=>{var r=n(77603),o=n(50080),i=n(68286),a=n(86152),s=n(82406);t.exports=function(t,e,n){var u=a(t)?r:o;return n&&s(t,e,n)&&(e=void 0),u(t,i(e,3))}},55281:(t,e,n)=>{var r=n(98776)(n(12982));t.exports=r},12982:(t,e,n)=>{var r=n(21359),o=n(68286),i=n(38101),a=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var u=null==n?0:i(n);return u<0&&(u=a(s+u,0)),r(t,o(e,3),u)}},35838:(t,e,n)=>{var r=n(62034),o=n(16760);t.exports=function(t,e){return r(o(t,e),1)}},4335:(t,e,n)=>{var r=n(53366),o=n(15125);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==r(t)}},16951:(t,e,n)=>{var r=n(80537);t.exports=function(t){return r(t)&&t!=+t}},80537:(t,e,n)=>{var r=n(53366),o=n(15125);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==r(t)}},97030:(t,e,n)=>{var r=n(53366),o=n(47353),i=n(15125),a=Function.prototype,s=Object.prototype,u=a.toString,l=s.hasOwnProperty,c=u.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==c}},85505:(t,e,n)=>{var r=n(53366),o=n(86152),i=n(15125);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==r(t)}},16760:(t,e,n)=>{var r=n(50343),o=n(68286),i=n(93401),a=n(86152);t.exports=function(t,e){return(a(t)?r:i)(t,o(e,3))}},34519:(t,e,n)=>{var r=n(13940),o=n(26548),i=n(68286);t.exports=function(t,e){var n={};return e=i(e,3),o(t,(function(t,o,i){r(n,o,e(t,o,i))})),n}},71644:(t,e,n)=>{var r=n(2229),o=n(84134),i=n(23059);t.exports=function(t){return t&&t.length?r(t,i,o):void 0}},71130:(t,e,n)=>{var r=n(2229),o=n(17606),i=n(23059);t.exports=function(t){return t&&t.length?r(t,i,o):void 0}},34291:t=>{t.exports=function(){}},51525:(t,e,n)=>{var r=n(87064),o=n(68286),i=n(4751),a=n(86152),s=n(82406);t.exports=function(t,e,n){var u=a(t)?r:i;return n&&s(t,e,n)&&(e=void 0),u(t,o(e,3))}},829:(t,e,n)=>{var r=n(62034),o=n(23813),i=n(36060),a=n(82406),s=i((function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),o(t,r(e,1),[])}));t.exports=s},12436:(t,e,n)=>{var r=n(54073),o=n(29259);t.exports=function(t,e,n){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(t,e,{leading:i,maxWait:e,trailing:a})}},38101:(t,e,n)=>{var r=n(5707);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},84636:(t,e,n)=>{var r=n(68286),o=n(67326);t.exports=function(t,e){return t&&t.length?o(t,r(e,2)):[]}},23779:(t,e,n)=>{var r=n(83126)("toUpperCase");t.exports=r},51095:function(t,e,n){!function(t,e){"use strict";function n(t){return"string"==typeof t||"number"==typeof t}var r=function(){function t(){this._cache={}}var e=t.prototype;return e.set=function(t,e){this._cache[t]=e},e.get=function(t){return this._cache[t]},e.remove=function(t){delete this._cache[t]},e.clear=function(){this._cache={}},e.isValidCacheKey=function(t){return n(t)},t}(),o=r,i=function(){return!0};function a(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(t,r){if("function"==typeof r)throw new Error('[re-reselect] Second argument "options" must be an object. Please use "options.selectorCreator" to provide a custom selectorCreator.');var a={};"function"==typeof t?Object.assign(a,r,{keySelector:t}):Object.assign(a,t);var s=0,u=n.pop(),l=Array.isArray(n[0])?n[0]:[].concat(n);n.push((function(){return s++,u.apply(void 0,arguments)}));var c=a.cacheObject||new o,p=a.selectorCreator||e.createSelector,f=c.isValidCacheKey||i;a.keySelectorCreator&&(a.keySelector=a.keySelectorCreator({keySelector:a.keySelector,inputSelectors:l,resultFunc:u}));var h=function(){var t=a.keySelector.apply(a,arguments);if(f(t)){var e=c.get(t);return void 0===e&&(e=p.apply(void 0,n),c.set(t,e)),e.apply(void 0,arguments)}console.warn('[re-reselect] Invalid cache key "'+t+'" has been returned by keySelector function.')};return h.getMatchingSelector=function(){var t=a.keySelector.apply(a,arguments);return c.get(t)},h.removeMatchingSelector=function(){var t=a.keySelector.apply(a,arguments);c.remove(t)},h.clearCache=function(){c.clear()},h.resultFunc=u,h.dependencies=l,h.cache=c,h.recomputations=function(){return s},h.resetRecomputations=function(){return s=0},h.keySelector=a.keySelector,h}}function s(t){if(void 0===t)throw new Error('Missing the required property "cacheSize".');if(!Number.isInteger(t)||t<=0)throw new Error('The "cacheSize" property must be a positive integer value.')}var u=function(){function t(t){var e=(void 0===t?{}:t).cacheSize;s(e),this._cache={},this._cacheOrdering=[],this._cacheSize=e}var e=t.prototype;return e.set=function(t,e){if(this._cache[t]=e,this._cacheOrdering.push(t),this._cacheOrdering.length>this._cacheSize){var n=this._cacheOrdering[0];this.remove(n)}},e.get=function(t){return this._cache[t]},e.remove=function(t){var e=this._cacheOrdering.indexOf(t);e>-1&&this._cacheOrdering.splice(e,1),delete this._cache[t]},e.clear=function(){this._cache={},this._cacheOrdering=[]},e.isValidCacheKey=function(t){return n(t)},t}(),l=function(){function t(t){var e=(void 0===t?{}:t).cacheSize;s(e),this._cache={},this._cacheOrdering=[],this._cacheSize=e}var e=t.prototype;return e.set=function(t,e){if(this._cache[t]=e,this._registerCacheHit(t),this._cacheOrdering.length>this._cacheSize){var n=this._cacheOrdering[0];this.remove(n)}},e.get=function(t){return this._registerCacheHit(t),this._cache[t]},e.remove=function(t){this._deleteCacheHit(t),delete this._cache[t]},e.clear=function(){this._cache={},this._cacheOrdering=[]},e._registerCacheHit=function(t){this._deleteCacheHit(t),this._cacheOrdering.push(t)},e._deleteCacheHit=function(t){var e=this._cacheOrdering.indexOf(t);e>-1&&this._cacheOrdering.splice(e,1)},e.isValidCacheKey=function(t){return n(t)},t}(),c=function(){function t(){this._cache=new Map}var e=t.prototype;return e.set=function(t,e){this._cache.set(t,e)},e.get=function(t){return this._cache.get(t)},e.remove=function(t){this._cache.delete(t)},e.clear=function(){this._cache.clear()},t}(),p=function(){function t(t){var e=(void 0===t?{}:t).cacheSize;s(e),this._cache=new Map,this._cacheSize=e}var e=t.prototype;return e.set=function(t,e){if(this._cache.set(t,e),this._cache.size>this._cacheSize){var n=this._cache.keys().next().value;this.remove(n)}},e.get=function(t){return this._cache.get(t)},e.remove=function(t){this._cache.delete(t)},e.clear=function(){this._cache.clear()},t}(),f=function(){function t(t){var e=(void 0===t?{}:t).cacheSize;s(e),this._cache=new Map,this._cacheSize=e}var e=t.prototype;return e.set=function(t,e){if(this._cache.set(t,e),this._cache.size>this._cacheSize){var n=this._cache.keys().next().value;this.remove(n)}},e.get=function(t){var e=this._cache.get(t);return this._cache.has(t)&&(this.remove(t),this._cache.set(t,e)),e},e.remove=function(t){this._cache.delete(t)},e.clear=function(){this._cache.clear()},t}();t.FifoCacheObject=u,t.FifoMapCache=p,t.FifoObjectCache=u,t.FlatCacheObject=r,t.FlatMapCache=c,t.FlatObjectCache=r,t.LruCacheObject=f,t.LruMapCache=f,t.LruObjectCache=l,t.createStructuredCachedSelector=function(t){return e.createStructuredSelector(t,a)},t.default=a,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(97698))},98018:(t,e,n)=>{"use strict";var r=n(71600),o=n(67425);e.ZP=void 0;var i=r(n(53100)),a=r(n(98870)),s=r(n(85297)),u=r(n(68230)),l=r(n(60421)),c=r(n(1147)),p=r(n(26290)),f=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var n=x(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=t[a]}return r.default=t,n&&n.set(t,r),r}(n(8156)),h=n(80901),d=r(n(1230)),g=r(n(6496)),y=r(n(95099)),v=r(n(80835)),m=r(n(97339)),b=r(n(78310));function x(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(x=function(t){return t?n:e})(t)}var O=n(34841).deepPurple[500],S=function(t){(0,u.default)(o,t);var e,n,r=(e=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,r=(0,c.default)(e);if(n){var o=(0,c.default)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,l.default)(this,t)});function o(){var t;(0,i.default)(this,o);for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t=r.call.apply(r,[this].concat(n)),(0,p.default)((0,s.default)(t),"buildUrl",(function(e){var n=t.props.storagePath;return e?e.startsWith("http:")||e.startsWith("https:")?e:n+e.replace(/^\/+/,""):""})),(0,p.default)((0,s.default)(t),"getFallbackAvatar",(function(){var e=t.props,n=e.entityType,r=e.classes,o=e.backgroundColor,i=e.color,a=e.className,s=(0,v.default)(n);return f.default.createElement(h.Avatar,{className:(0,b.default)(a,r.avatar),style:{border:"2px solid ".concat(n.typeColor||O),backgroundColor:o||n.typeColor||O,color:i}},s&&s.charAt(0)||f.default.createElement(g.default,null))})),t}return(0,a.default)(o,[{key:"render",value:function(){var t=this.props,e=t.entityType,n=t.classes,r=t.className,o=e.typeIcon||e.typeImage;return o?f.default.createElement(h.Avatar,{className:(0,b.default)(r,n.avatar),style:{border:"2px solid ".concat(e.typeColor||O),backgroundColor:"#FFFFFF"},src:this.buildUrl(o)},this.getFallbackAvatar()):this.getFallbackAvatar()}}]),o}(f.PureComponent);(0,p.default)(S,"propTypes",{entityType:y.default.shape({typeColor:y.default.string,typeIcon:y.default.string,typeImage:y.default.string,label:y.default.string,uri:y.default.string}),className:y.default.string,classes:y.default.shape({avatar:y.default.string}),storagePath:y.default.string,backgroundColor:y.default.string,color:y.default.string}),(0,p.default)(S,"defaultProps",{storagePath:"https://reltio-images.s3.amazonaws.com/api/",entityType:{},color:"#FFFFFF"});var w=(0,d.default)(m.default)(S);e.ZP=w},97339:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={avatar:{"& img":{display:"flex",flexDirection:"row",alignItems:"center","&::before":{width:"100%"}}}}},33788:(t,e,n)=>{"use strict";var r=n(71600);e.Z=void 0;var o=r(n(77028)),i=r(n(53100)),a=r(n(98870)),s=r(n(68230)),u=r(n(60421)),l=r(n(1147)),c=r(n(8156)),p=r(n(15256)),f=r(n(95099)),h=r(n(78310)),d=n(65021);var g={fill:"none",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,d:"\n M 28.398, 39.519\n c -14.533, 8.989-13.168, 29.294, 6.284, 32.279\n c 20.682, 3.175, 43.752-18.226, 46.132-36.005\n c 2.223-16.609-11.404-21.941-21.06-4.372\n c -4.959, 9.022-7.28, 22.401-1.362, 35.663\n c 9.141, 20.487, 31.309, 15.551, 17.568-8.284\n C 66.9, 43.086, 45.263, 29.087, 28.398, 39.519 z\n "},y=[[0,15817265],[.2,16765723],[.33,10931778],[.4,31425],[.45,31425],[.5,15817265],[.55,31425],[.6,31425],[.67,10931778],[.8,16765723],[1,15817265]],v=null,m=function(t){(0,s.default)(m,t);var e,r,f=(e=m,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,l.default)(e);if(r){var o=(0,l.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,u.default)(this,t)});function m(){return(0,i.default)(this,m),f.apply(this,arguments)}return(0,a.default)(m,[{key:"componentDidMount",value:function(){!function(t){if("function"==typeof n.g.requestAnimationFrame){var e=Date.now(),r="#ededed",o=450;!function i(){var a=(Date.now()-e)%6e3/6e3;r=(0,d.lerpTable)(1,a,y,!1,d.lerpColor),o=o-4<0?450:o-4,t.style.cssText="stroke-dashoffset: ".concat(o,"; stroke: ").concat(r,";"),v=n.g.requestAnimationFrame(i)}()}}(this._progressPath)}},{key:"componentWillUnmount",value:function(){"function"==typeof n.g.cancelAnimationFrame&&v&&(n.g.cancelAnimationFrame(v),v=null)}},{key:"render",value:function(){var t=this,e=this.props,n=e.size,r=e.className,i=(0,h.default)(p.default.root,r);return c.default.createElement("svg",{className:i,width:n,height:n,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid meet"},c.default.createElement("path",(0,o.default)({},g,{stroke:"rgba(0, 0, 0, 0.05)"})),c.default.createElement("path",(0,o.default)({},g,{ref:function(e){return t._progressPath=e},className:p.default.progressPath})))}}]),m}(c.default.Component);e.Z=m,m.defaultProps={size:80,className:""},m.propTypes={size:f.default.number,className:f.default.string}},15256:(t,e,n)=>{"use strict";var r=n(71600);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,(0,r(n(86698)).default)("<style>.ReltioProgress__root_3VJMk{display:inline-block}.ReltioProgress__progressPath_1BzPW{stroke-dasharray:50,400;will-change:stroke,stroke-dashoffset}</style>"),e.default={root:"ReltioProgress__root_3VJMk",progressPath:"ReltioProgress__progressPath_1BzPW"}},80835:(t,e,n)=>{"use strict";var r=n(71600);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t?(0,o.default)(t,"label")||(0,o.default)(t,"uri","").slice((0,o.default)(t,"uri","").lastIndexOf("/")+1):null};var o=r(n(72579))},65021:(t,e)=>{"use strict";function n(t,e,n,r,o){return r+(t-e)/(n-e)*(o-r)}Object.defineProperty(e,"__esModule",{value:!0}),e.lerp=n,e.lerpColor=function(t,e,r,o,i){var a=255&o,s=(65280&o)>>8,u=(16711680&o)>>16,l=255&i,c=(65280&i)>>8,p=(16711680&i)>>16;return"#"+("00000"+(Math.floor(n(t,e,r,u,p))<<16|Math.floor(n(t,e,r,s,c))<<8|Math.floor(n(t,e,r,a,l))).toString(16)).slice(-6)},e.lerpTable=function(t,e,r,o){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n,a=r.length,s=0;s<a;++s){var u=r[s][0];if(0===s&&e<u)return o?i(e,u,r[s+1][0],r[s][t],r[s+1][t]):r[s][t];if(s===a-1&&e>=u)return o?i(e,r[s-1][0],u,r[s-1][t],r[s][t]):r[s][t];if(e>=u&&e<=r[s+1][0])return i(e,u,r[s+1][0],r[s][t],r[s+1][t])}return 0}},66866:(t,e)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,d=(n&&Symbol.for("react.suspense_list"),n?Symbol.for("react.memo"):60115),g=n?Symbol.for("react.lazy"):60116;n&&Symbol.for("react.block"),n&&Symbol.for("react.fundamental"),n&&Symbol.for("react.responder"),n&&Symbol.for("react.scope");function y(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case c:case p:case i:case s:case a:case h:return t;default:switch(t=t&&t.$$typeof){case l:case f:case g:case d:case u:return t;default:return e}}case o:return e}}}e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isFragment=function(t){return y(t)===i}},48570:(t,e,n)=>{"use strict";t.exports=n(66866)},46847:(t,e,n)=>{"use strict";function r(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=t&&this.setState(t)}function o(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!=n?n:null}.bind(this))}function i(t,e){try{var n=this.props,r=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate)return t;var n=null,a=null,s=null;if("function"==typeof e.componentWillMount?n="componentWillMount":"function"==typeof e.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof e.componentWillUpdate?s="componentWillUpdate":"function"==typeof e.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var u=t.displayName||t.name,l="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof t.getDerivedStateFromProps&&(e.componentWillMount=r,e.componentWillReceiveProps=o),"function"==typeof e.getSnapshotBeforeUpdate){if("function"!=typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=i;var c=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,t,e,r)}}return t}n.r(e),n.d(e,{polyfill:()=>a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},2271:(t,e,n)=>{"use strict";function r(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(t){return l="function"==typeof Symbol&&"symbol"===u(Symbol.iterator)?function(t){return u(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":u(t)},l(t)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?c(t):e}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function h(t,e){return h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},h(t,e)}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{p:()=>Ut,r:()=>Nt});var y=n(8156),v=n.n(y),m=n(47677),b=n.n(m);var x=n(56666),O=n(38777),S=function(t){return t===Object(t)?Object.keys(t):[]},w=function(t){return t===Object(t)?Object.values(t):[]};function M(t,e){var n=Object.assign({},t);return C(t)&&C(e)&&S(e).forEach((function(r){C(e[r])&&r in t?n[r]=M(t[r],e[r]):Object.assign(n,(0,x.Z)({},r,e[r]))})),n}var E=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.reduce((function(t,e){return M(t,e)}),t)},k=function(t,e){var n=Object.assign({},t);if(e)for(var r=0;r<e.length;r++)delete n[e[r]];return n},C=function(t){return!(t!==Object(t)||t instanceof Date||Array.isArray(t))},P=function(t){return(t||[]).filter(Boolean)},A=function(t){return"&"===t[0]},j=function(t){return!A(t)},T=function(t){return t.replace(/-(\w)/g,(function(t,e){return e.toUpperCase()}))},_=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=S(t),r={},o=0,i=n.length;o<i;o+=1){var a=n[o],s="[object Object]"!==Object.prototype.toString.call(t[a])||":"===a[0]||"@"===a[0]||e.indexOf(a)>=0;s&&(r[a]=t[a])}return r},B=function(t,e){for(var n=e.map(T),r=S(t),o={},i=0,a=r.length;i<a;i+=1){var s=r[i];(e.indexOf(s)>=0||n.indexOf(T(s))>=0)&&(o[s]=t[s])}return o},D=function t(e,n){for(var r=E.apply(void 0,[{},k(e,n)].concat((0,O.Z)(w(B(e,n))))),o=S(r).filter(A),i=0,a=o.length;i<a;i+=1){var s=o[i],u=t(r[s],n);n.indexOf(s)>=0?(delete r[s],r=E({},r,u)):r[s]=u}return r};function I(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?I(Object(n),!0).forEach((function(e){(0,x.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var z=["animationName"];const R=function(t){var e=t.style,n=t.className;return L(L({},e?{style:_(e,z)}:{}),n?{className:n}:{})};var W=(0,y.createContext)(R);W.Provider;const N=function(t){if(!t)return[];if("string"==typeof t)return[t];if(!Array.isArray(t)){var e=t;return S(t).reduce((function(t,n){return t.concat(e[n]?[n]:[])}),[])}return t};var F={};const U=function(t){return function(e,n){var r,o=n||F;t.memoize=t.memoize||new WeakMap,t.memoize.has(o)?r=t.memoize.get(o):(r={},t.memoize.set(o,r));var i=N(e).join(" ");return i in r?r[i]:r[i]=t(e||[],n)}};function V(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function G(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?V(Object(n),!0).forEach((function(e){(0,x.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var q=function(t){var e=t&&S(t)[0];return e&&e.split("__")[0].split("--")[0]},H=function(t,e,n){if(t){var r=t.split(" ")[0],o=[].concat((0,O.Z)(0===e.length?n.map((function(t){return"".concat(r,"--").concat(t.substring(1))})):[]),(0,O.Z)(e.map((function(t){return"".concat(r,"__").concat(t)}))));return 0===e.length?[t].concat((0,O.Z)(o)):o}};const Z=function t(e){var n=e.style,r=e.className,o=e.classNames,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R,a=r||q(o)||(null==n?void 0:n.className),s="function"==typeof n?n:U((function(e,r){var s=N(e);b()(Array.isArray(s),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),b()(!r||C(r),"Optional second parameter must be a plain object.");var u=s.filter(A),l=s.filter(j),c=l.length>0?function(t){return w(B(t,l))}:function(t){return[t]},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(D(t,u))},f=H(a,l,u);return t(G(G(G({},(n||r)&&{style:E.apply(void 0,[{}].concat((0,O.Z)(p(r)),(0,O.Z)(p(n))))}),f&&{className:f.join(" ")}),o&&{classNames:o}),i)})),u=G({},"function"==typeof n?n:{style:n}),l=(0,O.Z)(new Set([].concat((0,O.Z)(u.className?u.className.split(" "):[]),(0,O.Z)(a?a.split(" "):[])))),c=o?P(l.map((function(t){return o[t]}))):l,p=i(G(G({},u),c.length>0?{className:c.join(" ")}:{}));return Object.assign(s,p),s},$=function(t,e,n){var r=e.style,o=e.className,i=e.classNames,a=(0,y.useContext)(W);return(0,y.useMemo)((function(){return Z({style:r,className:o,classNames:i},a)}),[r,o,i,a])(n,t)};function Y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function X(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Y(Object(n),!0).forEach((function(e){(0,x.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var K=n(95099),Q=n.n(K),J=n(47111),tt=n.n(J),et=function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},nt="__id__",rt="__display__",ot=function(t,e){b()("id"===e||"display"===e,'Second arg must be either "id" or "display", got: "'.concat(e,'"'));var n=t.indexOf(rt),r=t.indexOf(nt);return n<0&&(n=null),r<0&&(r=null),b()(null!==n||null!==r,"The markup '".concat(t,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==r?"id"===e&&r<=n||"display"===e&&n<=r?0:1:0},it=function(t){var e=/^\/(.+)\/(\w+)?$/;return new RegExp(t.map((function(t){var n,r,o=(n=e.exec(t.toString()),r=3,function(t){if(Array.isArray(t))return t}(n)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),i=o[1],a=o[2];return b()(!a,"RegExp flags are not supported. Change /".concat(i,"/").concat(a," into /").concat(i,"/")),"(".concat(i,")")})).join("|"),"g")},at=function(t){var e=0;return t.indexOf("__id__")>=0&&e++,t.indexOf("__display__")>=0&&e++,e},st=function(){},ut=function(t,e,n){for(var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:st,i=it(e.map((function(t){return t.regex}))),a=2,s=e.map((function(t){var e=t.markup,n=a;return a+=at(e)+1,n})),u=0,l=0;null!==(r=i.exec(t));){var c=s.find((function(t){return!!r[t]})),p=s.indexOf(c),f=e[p],h=f.markup,d=f.displayTransform,g=c+ot(h,"id"),y=c+ot(h,"display"),v=r[g],m=d(v,r[y]),b=t.substring(u,r.index);o(b,u,l),l+=b.length,n(r[0],r.index,l,v,m,p,u),l+=m.length,u=i.lastIndex}u<t.length&&o(t.substring(u),u,l)},lt=function(t,e){var n="";return ut(t,e,(function(t,e,r,o,i){n+=i}),(function(t){n+=t})),n},ct=function(t,e,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var i=function(t,e,o){void 0===r&&o+t.length>=n&&(r=e+n-o)},a=function(t,e,i,a,s,u,l){void 0===r&&i+s.length>n&&(r="NULL"===o?null:e+("END"===o?t.length:0))};return ut(t,e,a,i),void 0===r?t.length:r},pt=function(t,e,n,r){return t.substring(0,e)+r+t.substring(n)},ft=function(t,e){var n=[];return ut(t,e,(function(t,e,r,o,i,a,s){n.push({id:o,display:i,childIndex:a,index:e,plainTextIndex:r})})),n},ht=function(t,e){return"".concat(t,"-").concat(e)},dt=function(t){return Object.values(t).reduce((function(t,e){return t+e.results.length}),0)},gt=function(t){var e=et(t),n=t[t.indexOf(rt)+rt.length],r=t[t.indexOf(nt)+nt.length];return new RegExp(e.replace(rt,"([^".concat(et(n||""),"]+?)")).replace(nt,"([^".concat(et(r||""),"]+?)")))},yt=function(t){return y.Children.toArray(t).map((function(t){var e=t.props,n=e.markup,r=e.regex,o=e.displayTransform;return{markup:n,regex:r?vt(r,n):gt(n),displayTransform:o||function(t,e){return e||t}}}))},vt=function(t,e){var n=new RegExp(t.toString()+"|").exec("").length-1,r=at(e);return b()(n===r,"Number of capturing groups in RegExp ".concat(t.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(e,"' (").concat(r,")")),t},mt=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],bt=function(t){return function(t){var e=t;return mt.forEach((function(t){e=e.replace(t.letters,t.base)})),e}(t).toLowerCase()},xt=function(t,e,n){return n?bt(t).indexOf(bt(e)):t.toLowerCase().indexOf(e.toLowerCase())},Ot=function(t){return"number"==typeof t},St=function(t){return t===Object(t)?Object.keys(t):[]},wt=function(t){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=(e=[]).concat.apply(e,r);return Object.keys(t).reduce((function(e,n){return t.hasOwnProperty(n)&&!i.includes(n)&&void 0!==t[n]&&(e[n]=t[n]),e}),{})};function Mt(t,e){return function(n){var r=function(r){var i=r.style,a=r.className,s=r.classNames,u=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(r,["style","className","classNames"]),l=e?e(u):void 0,c=$(t,{style:i,className:a,classNames:s},l);return v().createElement(n,o({},u,{style:c}))},i=n.displayName||n.name||"Component";return r.displayName="defaultStyle(".concat(i,")"),r}}var Et=function(t){function e(){var t;return i(this,e),g(c(t=p(this,f(e).apply(this,arguments))),"setCaretElement",(function(e){t.caretElement=e})),t.state={left:void 0,top:void 0},t}return d(e,t),s(e,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var t=this.caretElement,e=t.offsetLeft,n=t.offsetTop;if(this.state.left!==e||this.state.top!==n){var r={left:e,top:n};this.setState(r),this.props.onCaretPositionChange(r)}}}},{key:"render",value:function(){var t,e=this,n=this.props,r=n.selectionStart,i=n.selectionEnd,a=n.value,s=n.style,u=n.children,l=n.containerRef,c=yt(u);r===i&&(t=ct(a,c,r,"START"));var p=[],f={},h=p,d=0;return ut(a,c,(function(t,n,r,o,i,a,s){var u=function(t,e){return t.hasOwnProperty(e)?t[e]++:t[e]=0,e+"_"+t[e]}(f,o);h.push(e.getMentionComponentForMatch(o,i,a,u))}),(function(n,r,o){if(Ot(t)&&t>=r&&t<=r+n.length){var i=t-r;h.push(e.renderSubstring(n.substring(0,i),d)),h=[e.renderSubstring(n.substring(i),d)]}else h.push(e.renderSubstring(n,d));d++})),h.push(" "),h!==p&&p.push(this.renderHighlighterCaret(h)),v().createElement("div",o({},s,{ref:l}),p)}},{key:"renderSubstring",value:function(t,e){return v().createElement("span",o({},this.props.style("substring"),{key:e}),t)}},{key:"getMentionComponentForMatch",value:function(t,e,n,r){var o={id:t,display:e,key:r},i=y.Children.toArray(this.props.children)[n];return v().cloneElement(i,o)}},{key:"renderHighlighterCaret",value:function(t){return v().createElement("span",o({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),t)}}]),e}(y.Component);g(Et,"propTypes",{selectionStart:Q().number,selectionEnd:Q().number,value:Q().string.isRequired,onCaretPositionChange:Q().func.isRequired,containerRef:Q().oneOfType([Q().func,Q().shape({current:"undefined"==typeof Element?Q().any:Q().instanceOf(Element)})]),children:Q().oneOfType([Q().element,Q().arrayOf(Q().element)]).isRequired}),g(Et,"defaultProps",{value:""});var kt=Mt({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(t){return{"&singleLine":t.singleLine}}))(Et),Ct=function(t){function e(){return i(this,e),p(this,f(e).apply(this,arguments))}return d(e,t),s(e,[{key:"render",value:function(){var t=wt(this.props,["style","classNames","className"],St(e.propTypes));return v().createElement("li",o({id:this.props.id,role:"option","aria-selected":this.props.focused},t,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var t=this.props,e=t.query,n=t.renderSuggestion,r=t.suggestion,o=t.index,i=t.focused,a=this.getDisplay(),s=this.renderHighlightedDisplay(a,e);return n?n(r,e,s,o,i):s}},{key:"getDisplay",value:function(){var t=this.props.suggestion;if("string"==typeof t)return t;var e=t.id,n=t.display;return void 0!==e&&n?n:e}},{key:"renderHighlightedDisplay",value:function(t){var e=this.props,n=e.ignoreAccents,r=e.query,o=e.style,i=xt(t,r,n);return-1===i?v().createElement("span",o("display"),t):v().createElement("span",o("display"),t.substring(0,i),v().createElement("b",o("highlight"),t.substring(i,i+r.length)),t.substring(i+r.length))}}]),e}(y.Component);g(Ct,"propTypes",{id:Q().string.isRequired,query:Q().string.isRequired,index:Q().number.isRequired,ignoreAccents:Q().bool,suggestion:Q().oneOfType([Q().string,Q().shape({id:Q().oneOfType([Q().string,Q().number]).isRequired,display:Q().string})]).isRequired,renderSuggestion:Q().func,focused:Q().bool});var Pt=Mt({cursor:"pointer"},(function(t){return{"&focused":t.focused}}))(Ct);function At(){var t=$(),e=t("spinner");return v().createElement("div",t,v().createElement("div",e,v().createElement("div",e(["element","element1"])),v().createElement("div",e(["element","element2"])),v().createElement("div",e(["element","element3"])),v().createElement("div",e(["element","element4"])),v().createElement("div",e(["element","element5"]))))}var jt=function(t){function e(){var t,n;i(this,e);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return g(c(n=p(this,(t=f(e)).call.apply(t,[this].concat(o)))),"handleMouseEnter",(function(t,e){n.props.onMouseEnter&&n.props.onMouseEnter(t)})),g(c(n),"select",(function(t,e){n.props.onSelect(t,e)})),g(c(n),"setUlElement",(function(t){n.ulElement=t})),n}return d(e,t),s(e,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var t=this.ulElement.scrollTop,e=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=e.top,r=e.bottom,o=this.ulElement.getBoundingClientRect().top;r=r-o+t,(n=n-o+t)<t?this.ulElement.scrollTop=n:r>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=r-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var t=this.props,e=t.id,n=t.a11ySuggestionsListLabel,r=t.isOpened,i=t.style,a=t.onMouseDown,s=t.containerRef,u=t.position,l=t.left,c=t.top;return r?v().createElement("div",o({},function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce((function(t,e){return X(X(X({},t),"function"==typeof e?e:{}),{},{style:X(X({},t.style),"function"==typeof e?e.style:e)})}),{})}({position:u||"absolute",left:l,top:c},i),{onMouseDown:a,ref:s}),v().createElement("ul",o({ref:this.setUlElement,id:e,role:"listbox","aria-label":n},i("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var t=this;return Object.values(this.props.suggestions).reduce((function(e,n){var o=n.results,i=n.queryInfo;return[].concat(r(e),r(o.map((function(n,r){return t.renderSuggestion(n,i,e.length+r)}))))}),[])}},{key:"renderSuggestion",value:function(t,e,n){var r=this,o=n===this.props.focusIndex,i=e.childIndex,a=e.query,s=y.Children.toArray(this.props.children)[i].props.renderSuggestion,u=this.props.ignoreAccents;return v().createElement(Pt,{style:this.props.style("item"),key:"".concat(i,"-").concat(Tt(t)),id:ht(this.props.id,n),query:a,index:n,ignoreAccents:u,renderSuggestion:s,suggestion:t,focused:o,onClick:function(){return r.select(t,e)},onMouseEnter:function(){return r.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return v().createElement(At,{style:this.props.style("loadingIndicator")})}}]),e}(y.Component);g(jt,"propTypes",{id:Q().string.isRequired,suggestions:Q().object.isRequired,a11ySuggestionsListLabel:Q().string,focusIndex:Q().number,position:Q().string,left:Q().number,top:Q().number,scrollFocusedIntoView:Q().bool,isLoading:Q().bool,isOpened:Q().bool.isRequired,onSelect:Q().func,ignoreAccents:Q().bool,containerRef:Q().oneOfType([Q().func,Q().shape({current:"undefined"==typeof Element?Q().any:Q().instanceOf(Element)})]),children:Q().oneOfType([Q().element,Q().arrayOf(Q().element)]).isRequired}),g(jt,"defaultProps",{suggestions:{},onSelect:function(){return null}});var Tt=function(t){return"string"==typeof t?t:t.id},_t=Mt({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(jt);function Bt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Dt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bt(n,!0).forEach((function(e){g(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bt(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var It={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},Lt=!1,zt={singleLine:Q().bool,allowSpaceInQuery:Q().bool,allowSuggestionsAboveCursor:Q().bool,forceSuggestionsAboveCursor:Q().bool,ignoreAccents:Q().bool,a11ySuggestionsListLabel:Q().string,value:Q().string,onKeyDown:Q().func,onSelect:Q().func,onBlur:Q().func,onChange:Q().func,suggestionsPortalHost:"undefined"==typeof Element?Q().any:Q().PropTypes.instanceOf(Element),inputRef:Q().oneOfType([Q().func,Q().shape({current:"undefined"==typeof Element?Q().any:Q().instanceOf(Element)})]),children:Q().oneOfType([Q().element,Q().arrayOf(Q().element)]).isRequired},Rt=function(t){function e(t){var n;return i(this,e),g(c(n=p(this,f(e).call(this,t))),"setContainerElement",(function(t){n.containerElement=t})),g(c(n),"getInputProps",(function(){var t=n.props,e=t.readOnly,r=t.disabled,o=t.style;return Dt({},wt(n.props,["style","classNames","className"],St(zt)),{},o("input"),{value:n.getPlainText()},!e&&!r&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":ht(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),g(c(n),"renderControl",(function(){var t=n.props,e=t.singleLine,r=t.style,o=n.getInputProps();return v().createElement("div",r("control"),n.renderHighlighter(),e?n.renderInput(o):n.renderTextarea(o))})),g(c(n),"renderInput",(function(t){return v().createElement("input",o({type:"text",ref:n.setInputRef},t))})),g(c(n),"renderTextarea",(function(t){return v().createElement("textarea",o({ref:n.setInputRef},t))})),g(c(n),"setInputRef",(function(t){n.inputElement=t;var e=n.props.inputRef;"function"==typeof e?e(t):e&&(e.current=t)})),g(c(n),"setSuggestionsElement",(function(t){n.suggestionsElement=t})),g(c(n),"renderSuggestionsOverlay",(function(){if(!Ot(n.state.selectionStart))return null;var t=n.state.suggestionsPosition,e=t.position,r=t.left,o=t.top,i=v().createElement(_t,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:e,left:r,top:o,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?tt().createPortal(i,n.props.suggestionsPortalHost):i})),g(c(n),"renderHighlighter",(function(){var t=n.state,e=t.selectionStart,r=t.selectionEnd,o=n.props,i=o.singleLine,a=o.children,s=o.value,u=o.style;return v().createElement(kt,{containerRef:n.setHighlighterElement,style:u("highlighter"),value:s,singleLine:i,selectionStart:e,selectionEnd:r,onCaretPositionChange:n.handleCaretPositionChange},a)})),g(c(n),"setHighlighterElement",(function(t){n.highlighterElement=t})),g(c(n),"handleCaretPositionChange",(function(t){n.setState({caretPosition:t})})),g(c(n),"getPlainText",(function(){return lt(n.props.value||"",yt(n.props.children))})),g(c(n),"executeOnChange",(function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];var i,a;return n.props.onChange?(i=n.props).onChange.apply(i,[t].concat(r)):n.props.valueLink?(a=n.props.valueLink).requestChange.apply(a,[t.target.value].concat(r)):void 0})),g(c(n),"handleChange",(function(t){if(Lt=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===t.target){var e=n.props.value||"",r=yt(n.props.children),o=t.target.value,i=function(t,e,n,r){var o=n.selectionStartBefore,i=n.selectionEndBefore,a=n.selectionEndAfter,s=lt(t,r),u=s.length-e.length;"undefined"===o&&(o=a+u),"undefined"===i&&(i=o),o===i&&i===a&&s.length===e.length&&(o-=1);var l=e.slice(o,a),c=Math.min(o,a),p=i;o===a&&(p=Math.max(i,o+u));var f=ct(t,r,c,"START"),h=ct(t,r,p,"END"),d=ct(t,r,c,"NULL"),g=ct(t,r,p,"NULL"),y=null===d||null===g,v=pt(t,f,h,l);if(!y){var m=lt(v,r);if(m!==e){for(c=0;e[c]===m[c];)c++;l=e.slice(c,a),p=s.lastIndexOf(e.substring(a)),f=ct(t,r,c,"START"),h=ct(t,r,p,"END"),v=pt(t,f,h,l)}}return v}(e,o,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:t.target.selectionEnd},r);o=lt(i,r);var a=t.target.selectionStart,s=t.target.selectionEnd,u=!1,l=function(t,e,n){var r=n,o=!1;if(ut(t,e,(function(t,e,i,a,s,u,l){i<=n&&i+s.length>n&&(r=i,o=!0)})),o)return r}(e,r,a);void 0!==l&&n.state.selectionEnd>l&&(s=a=l,u=!0),n.setState({selectionStart:a,selectionEnd:s,setSelectionAfterMentionChange:u});var c=ft(i,r),p={target:{value:i}};n.executeOnChange(p,i,o,c)}})),g(c(n),"handleSelect",(function(t){if(n.setState({selectionStart:t.target.selectionStart,selectionEnd:t.target.selectionEnd}),!Lt){var e=n.inputElement;t.target.selectionStart===t.target.selectionEnd?n.updateMentionsQueries(e.value,t.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(t)}})),g(c(n),"handleKeyDown",(function(t){if(0!==dt(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(It).indexOf(t.keyCode)>=0&&(t.preventDefault(),t.stopPropagation()),t.keyCode){case It.ESC:return void n.clearSuggestions();case It.DOWN:return void n.shiftFocus(1);case It.UP:return void n.shiftFocus(-1);case It.RETURN:case It.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(t)})),g(c(n),"shiftFocus",(function(t){var e=dt(n.state.suggestions);n.setState({focusIndex:(e+n.state.focusIndex+t)%e,scrollFocusedIntoView:!0})})),g(c(n),"selectFocused",(function(){var t=n.state,e=t.suggestions,o=t.focusIndex,i=Object.values(e).reduce((function(t,e){var n=e.results,o=e.queryInfo;return[].concat(r(t),r(n.map((function(t){return{result:t,queryInfo:o}}))))}),[])[o],a=i.result,s=i.queryInfo;n.addMention(a,s),n.setState({focusIndex:0})})),g(c(n),"handleBlur",(function(t){var e=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,e||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(t,e)})),g(c(n),"handleSuggestionsMouseDown",(function(t){n._suggestionsMouseDown=!0})),g(c(n),"handleSuggestionsMouseEnter",(function(t){n.setState({focusIndex:t,scrollFocusedIntoView:!1})})),g(c(n),"updateSuggestionsPosition",(function(){var t=n.state.caretPosition,e=n.props,r=e.suggestionsPortalHost,o=e.allowSuggestionsAboveCursor,i=e.forceSuggestionsAboveCursor;if(t&&n.suggestionsElement){var a=n.suggestionsElement,s=n.highlighterElement,u=s.getBoundingClientRect(),l=Wt(s,"font-size"),c={left:u.left+t.left,top:u.top+t.top+l},p=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(a){var f={};if(r){f.position="fixed";var h=c.left,d=c.top;h-=Wt(a,"margin-left"),d-=Wt(a,"margin-top"),h-=s.scrollLeft,d-=s.scrollTop;var g=Math.max(document.documentElement.clientWidth,window.innerWidth||0);h+a.offsetWidth>g?f.left=Math.max(0,g-a.offsetWidth):f.left=h,o&&d+a.offsetHeight>p&&a.offsetHeight<d-l||i?f.top=Math.max(0,d-a.offsetHeight-l):f.top=d}else{var y=t.left-s.scrollLeft,v=t.top-s.scrollTop;y+a.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=y,o&&c.top-s.scrollTop+a.offsetHeight>p&&a.offsetHeight<u.top-l-s.scrollTop?f.top=v-a.offsetHeight-l:f.top=v}f.left===n.state.suggestionsPosition.left&&f.top===n.state.suggestionsPosition.top&&f.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:f})}}})),g(c(n),"updateHighlighterScroll",(function(){var t=n.inputElement,e=n.highlighterElement;t&&e&&(e.scrollLeft=t.scrollLeft,e.scrollTop=t.scrollTop,e.height=t.height)})),g(c(n),"handleCompositionStart",(function(){Lt=!0})),g(c(n),"handleCompositionEnd",(function(){Lt=!1})),g(c(n),"setSelection",(function(t,e){if(null!==t&&null!==e){var r=n.inputElement;if(r.setSelectionRange)r.setSelectionRange(t,e);else if(r.createTextRange){var o=r.createTextRange();o.collapse(!0),o.moveEnd("character",e),o.moveStart("character",t),o.select()}}})),g(c(n),"updateMentionsQueries",(function(t,e){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var r=n.props.value||"",o=n.props.children,i=yt(o),a=ct(r,i,e,"NULL");if(null!==a){var s=function(t,e){var n=ft(t,e),r=n[n.length-1];return r?r.plainTextIndex+r.display.length:0}(r.substring(0,a),i),u=t.substring(s,e);v().Children.forEach(o,(function(e,r){if(e){var o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t instanceof RegExp)return t;var n=e.allowSpaceInQuery,r=et(t);return new RegExp("(?:^|\\s)(".concat(r,"([^").concat(n?"":"\\s").concat(r,"]*))$"))}(e.props.trigger,n.props),i=u.match(o);if(i){var a=s+u.indexOf(i[1],i.index);n.queryData(i[2],r,a,a+i[1].length,t)}}}))}})),g(c(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),g(c(n),"queryData",(function(t,e,r,o,i){var a=n.props,s=a.children,u=a.ignoreAccents,l=function(t,e){return t instanceof Array?function(n,r){for(var o=[],i=0,a=t.length;i<a;++i){var s=t[i].display||t[i].id;xt(s,n,e)>=0&&o.push(t[i])}return o}:t}(y.Children.toArray(s)[e].props.data,u),c=l(t,n.updateSuggestions.bind(null,n._queryId,e,t,r,o,i));c instanceof Array&&n.updateSuggestions(n._queryId,e,t,r,o,i,c)})),g(c(n),"updateSuggestions",(function(t,e,r,o,i,a,s){if(t===n._queryId){n.suggestions=Dt({},n.suggestions,g({},e,{queryInfo:{childIndex:e,query:r,querySequenceStart:o,querySequenceEnd:i,plainTextValue:a},results:s}));var u=n.state.focusIndex,l=dt(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:u>=l?Math.max(l-1,0):u})}})),g(c(n),"addMention",(function(t,e){var r=t.id,o=t.display,i=e.childIndex,a=e.querySequenceStart,s=e.querySequenceEnd,u=e.plainTextValue,l=n.props.value||"",c=yt(n.props.children),p=y.Children.toArray(n.props.children)[i].props,f=p.markup,h=p.displayTransform,d=p.appendSpaceOnAdd,g=p.onAdd,v=ct(l,c,a,"START"),m=v+s-a,b=function(t,e,n){return t.replace(nt,e).replace(rt,n)}(f,r,o);d&&(b+=" ");var x=pt(l,v,m,b);n.inputElement.focus();var O=h(r,o);d&&(O+=" ");var S=a+O.length;n.setState({selectionStart:S,selectionEnd:S,setSelectionAfterMentionChange:!0});var w={target:{value:x}},M=ft(x,c),E=pt(u,a,s,O);n.executeOnChange(w,x,E,M),g&&g(r,o,v,m),n.clearSuggestions()})),g(c(n),"isLoading",(function(){var t=!1;return v().Children.forEach(n.props.children,(function(e){t=t||e&&e.props.isLoading})),t})),g(c(n),"isOpened",(function(){return Ot(n.state.selectionStart)&&(0!==dt(n.state.suggestions)||n.isLoading())})),g(c(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(c(n)),n.handleCut=n.handleCut.bind(c(n)),n.handlePaste=n.handlePaste.bind(c(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return d(e,t),s(e,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(t,e){e.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return v().createElement("div",o({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(t){if(t.target===this.inputElement&&this.supportsClipboardActions(t)){t.preventDefault();var e=this.state,n=e.selectionStart,r=e.selectionEnd,o=this.props,i=o.value,a=o.children,s=yt(a),u=ct(i,s,n,"START"),l=ct(i,s,r,"END"),c=t.clipboardData.getData("text/react-mentions"),p=t.clipboardData.getData("text/plain"),f=pt(i,u,l,c||p).replace(/\r/g,""),h=lt(f,s),d={target:Dt({},t.target,{value:f})};this.executeOnChange(d,f,h,ft(f,s))}}},{key:"saveSelectionToClipboard",value:function(t){var e=this.state,n=e.selectionStart,r=e.selectionEnd,o=this.props,i=o.children,a=o.value,s=yt(i),u=ct(a,s,n,"START"),l=ct(a,s,r,"END");t.clipboardData.setData("text/plain",t.target.value.slice(n,r)),t.clipboardData.setData("text/react-mentions",a.slice(u,l))}},{key:"supportsClipboardActions",value:function(t){return!!t.clipboardData}},{key:"handleCopy",value:function(t){t.target===this.inputElement&&this.supportsClipboardActions(t)&&(t.preventDefault(),this.saveSelectionToClipboard(t))}},{key:"handleCut",value:function(t){if(t.target===this.inputElement&&this.supportsClipboardActions(t)){t.preventDefault(),this.saveSelectionToClipboard(t);var e=this.state,n=e.selectionStart,r=e.selectionEnd,o=this.props,i=o.children,a=o.value,s=yt(i),u=ct(a,s,n,"START"),l=ct(a,s,r,"END"),c=[a.slice(0,u),a.slice(l)].join(""),p=lt(c,s),f={target:Dt({},t.target,{value:p})};this.executeOnChange(f,c,p,ft(a,s))}}}]),e}(v().Component);g(Rt,"propTypes",zt),g(Rt,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Wt=function(t,e){var n=parseFloat(window.getComputedStyle(t,null).getPropertyValue(e));return isFinite(n)?n:0},Nt=Mt({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:Dt({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(t){var e=t.singleLine;return{"&singleLine":e,"&multiLine":!e}}))(Rt),Ft={fontWeight:"inherit"},Ut=function(t){var e=t.display,n=t.style,r=t.className,o=t.classNames,i=$(Ft,{style:n,className:r,classNames:o});return v().createElement("strong",i,e)};Ut.propTypes={onAdd:Q().func,onRemove:Q().func,renderSuggestion:Q().func,trigger:Q().oneOfType([Q().string,Q().instanceOf(RegExp)]),markup:Q().string,displayTransform:Q().func,allowSpaceInQuery:Q().bool,isLoading:Q().bool},Ut.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(t,e){return e||t},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1}},24217:(t,e,n)=>{"use strict";n.d(e,{rU:()=>c});var r,o=n(8156),i=r||(r={});function a(t){var e=t.pathname;e=void 0===e?"/":e;var n=t.search;return n=void 0===n?"":n,t=void 0===(t=t.hash)?"":t,n&&"?"!==n&&(e+="?"===n.charAt(0)?n:"?"+n),t&&"#"!==t&&(e+="#"===t.charAt(0)?t:"#"+t),e}i.Pop="POP",i.Push="PUSH",i.Replace="REPLACE";var s=n(16782);function u(){return u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u.apply(this,arguments)}const l=["onClick","reloadDocument","replace","state","target","to"],c=(0,o.forwardRef)((function(t,e){let{onClick:n,reloadDocument:r,replace:i=!1,state:c,target:p,to:f}=t,h=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,l),d=(0,s.oQ)(f),g=function(t,e){let{target:n,replace:r,state:i}=void 0===e?{}:e,u=(0,s.s0)(),l=(0,s.TH)(),c=(0,s.WU)(t);return(0,o.useCallback)((e=>{if(!(0!==e.button||n&&"_self"!==n||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(e))){e.preventDefault();let n=!!r||a(l)===a(c);u(t,{replace:n,state:i})}}),[l,u,c,r,i,n,t])}(f,{replace:i,state:c,target:p});return(0,o.createElement)("a",u({},h,{href:d,onClick:function(t){n&&n(t),t.defaultPrevented||r||g(t)},ref:e,target:p}))}))},16782:(t,e,n)=>{"use strict";n.d(e,{oQ:()=>p,GV:()=>f,TH:()=>h,s0:()=>d,WU:()=>g});var r,o=n(8156),i=r||(r={});function a(t){var e={};if(t){var n=t.indexOf("#");0<=n&&(e.hash=t.substr(n),t=t.substr(0,n)),0<=(n=t.indexOf("?"))&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}function s(t,e){if(!t)throw new Error(e)}i.Pop="POP",i.Push="PUSH",i.Replace="REPLACE";const u=(0,o.createContext)(null),l=(0,o.createContext)(null),c=(0,o.createContext)({outlet:null,matches:[]});function p(t){f()||s(!1);let{basename:e,navigator:n}=(0,o.useContext)(u),{hash:r,pathname:i,search:l}=g(t),c=i;if("/"!==e){let n=function(t){return""===t||""===t.pathname?"/":"string"==typeof t?a(t).pathname:t.pathname}(t),r=null!=n&&n.endsWith("/");c="/"===i?e+(r?"/":""):v([e,i])}return n.createHref({pathname:c,search:l,hash:r})}function f(){return null!=(0,o.useContext)(l)}function h(){return f()||s(!1),(0,o.useContext)(l).location}function d(){f()||s(!1);let{basename:t,navigator:e}=(0,o.useContext)(u),{matches:n}=(0,o.useContext)(c),{pathname:r}=h(),i=JSON.stringify(n.map((t=>t.pathnameBase))),a=(0,o.useRef)(!1);return(0,o.useEffect)((()=>{a.current=!0})),(0,o.useCallback)((function(n,o){if(void 0===o&&(o={}),!a.current)return;if("number"==typeof n)return void e.go(n);let s=y(n,JSON.parse(i),r);"/"!==t&&(s.pathname=v([t,s.pathname])),(o.replace?e.replace:e.push)(s,o.state)}),[t,e,i,r])}function g(t){let{matches:e}=(0,o.useContext)(c),{pathname:n}=h(),r=JSON.stringify(e.map((t=>t.pathnameBase)));return(0,o.useMemo)((()=>y(t,JSON.parse(r),n)),[t,r,n])}function y(t,e,n){let r,o="string"==typeof t?a(t):t,i=""===t||""===o.pathname?"/":o.pathname;if(null==i)r=n;else{let t=e.length-1;if(i.startsWith("..")){let e=i.split("/");for(;".."===e[0];)e.shift(),t-=1;o.pathname=e.join("/")}r=t>=0?e[t]:"/"}let s=function(t,e){void 0===e&&(e="/");let{pathname:n,search:r="",hash:o=""}="string"==typeof t?a(t):t,i=n?n.startsWith("/")?n:function(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach((t=>{".."===t?n.length>1&&n.pop():"."!==t&&n.push(t)})),n.length>1?n.join("/"):"/"}(n,e):e;return{pathname:i,search:m(r),hash:b(o)}}(o,r);return i&&"/"!==i&&i.endsWith("/")&&!s.pathname.endsWith("/")&&(s.pathname+="/"),s}const v=t=>t.join("/").replace(/\/\/+/g,"/"),m=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",b=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:""},27308:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>m});var r=n(59740),o=n(7896),i=n(9249),a=n(87371),s=n(45754),u=n(11987),l=n(95058),c=n(8156),p=n.n(c),f=(n(3528),n(47111),n(81997)),h=n(51774);var d,g,y,v=(0,(n(78951),n(61950),n(64486)).m)(h.S);const m=(d=v,y=g=function(t){(0,s.Z)(h,t);var e,n,c=(e=h,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,r=(0,l.Z)(e);if(n){var o=(0,l.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,u.Z)(this,t)});function h(t){var e;return(0,i.Z)(this,h),(e=c.call(this)).select=void 0,e.lastRequest=void 0,e.mounted=!1,e.optionsCache={},e.handleInputChange=function(t,n){var r=e.props,o=r.cacheOptions,i=r.onInputChange,a=(0,f.G)(t,n,i);if(!a)return delete e.lastRequest,void e.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(o&&e.optionsCache[a])e.setState({inputValue:a,loadedInputValue:a,loadedOptions:e.optionsCache[a],isLoading:!1,passEmptyOptions:!1});else{var s=e.lastRequest={};e.setState({inputValue:a,isLoading:!0,passEmptyOptions:!e.state.loadedInputValue},(function(){e.loadOptions(a,(function(t){e.mounted&&(t&&(e.optionsCache[a]=t),s===e.lastRequest&&(delete e.lastRequest,e.setState({isLoading:!1,loadedInputValue:a,loadedOptions:t||[],passEmptyOptions:!1})))}))}))}return a},e.state={defaultOptions:Array.isArray(t.defaultOptions)?t.defaultOptions:void 0,inputValue:void 0!==t.inputValue?t.inputValue:"",isLoading:!0===t.defaultOptions,loadedOptions:[],passEmptyOptions:!1},e}return(0,a.Z)(h,[{key:"componentDidMount",value:function(){var t=this;this.mounted=!0;var e=this.props.defaultOptions,n=this.state.inputValue;!0===e&&this.loadOptions(n,(function(e){if(t.mounted){var n=!!t.lastRequest;t.setState({defaultOptions:e||[],isLoading:n})}}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){t.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),t.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(t.defaultOptions)?t.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(t,e){var n=this.props.loadOptions;if(!n)return e();var r=n(t,e);r&&"function"==typeof r.then&&r.then(e,(function(){return e()}))}},{key:"render",value:function(){var t=this,e=this.props,n=(e.loadOptions,e.isLoading),i=(0,r.Z)(e,["loadOptions","isLoading"]),a=this.state,s=a.defaultOptions,u=a.inputValue,l=a.isLoading,c=a.loadedInputValue,f=a.loadedOptions,h=a.passEmptyOptions?[]:u&&c?f:s||[];return p().createElement(d,(0,o.Z)({},i,{ref:function(e){t.select=e},options:h,isLoading:l||n,onInputChange:this.handleInputChange}))}}]),h}(c.Component),g.defaultProps={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},y)},70347:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>w});var r=n(7896),o=n(38777),i=n(56666),a=n(9249),s=n(87371),u=n(45754),l=n(11987),c=n(95058),p=n(8156),f=n.n(p),h=(n(3528),n(47111),n(81997)),d=n(51774),g=(n(78951),n(61950),n(64486));function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var v,m,b,x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=String(t).toLowerCase(),r=String(e.value).toLowerCase(),o=String(e.label).toLowerCase();return r===n||o===n},O=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(Object(n),!0).forEach((function(e){(0,i.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,e,n){return!(!t||e.some((function(e){return x(t,e)}))||n.some((function(e){return x(t,e)})))},getNewOptionData:function(t,e){return{label:e,value:t,__isNew__:!0}}}),S=(v=d.S,b=m=function(t){(0,u.Z)(p,t);var e,n,i=(e=p,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,r=(0,c.Z)(e);if(n){var o=(0,c.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,l.Z)(this,t)});function p(t){var e;(0,a.Z)(this,p),(e=i.call(this,t)).select=void 0,e.onChange=function(t,n){var r=e.props,i=r.getNewOptionData,a=r.inputValue,s=r.isMulti,u=r.onChange,l=r.onCreateOption,c=r.value,p=r.name;if("select-option"!==n.action)return u(t,n);var f=e.state.newOption,d=Array.isArray(t)?t:[t];if(d[d.length-1]!==f)u(t,n);else if(l)l(a);else{var g=i(a,a),y={action:"create-option",name:p};u(s?[].concat((0,o.Z)((0,h.C)(c)),[g]):g,y)}};var n=t.options||[];return e.state={newOption:void 0,options:n},e}return(0,s.Z)(p,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=t.allowCreateWhileLoading,n=t.createOptionPosition,r=t.formatCreateLabel,i=t.getNewOptionData,a=t.inputValue,s=t.isLoading,u=t.isValidNewOption,l=t.value,c=t.options||[],p=this.state.newOption;p=u(a,(0,h.C)(l),c)?i(a,r(a)):void 0,this.setState({newOption:p,options:!e&&s||!p?c:"first"===n?[p].concat((0,o.Z)(c)):[].concat((0,o.Z)(c),[p])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var t=this,e=this.state.options;return f().createElement(v,(0,r.Z)({},this.props,{ref:function(e){t.select=e},options:e,onChange:this.onChange}))}}]),p}(p.Component),m.defaultProps=O,b);const w=(0,g.m)(S)},87935:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>Zt,bO:()=>Z});var r=n(8156),o=n.n(r),i=n(95099),a=n.n(i),s=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty;function c(t,e){return function(n,r,o){return t(n,r,o)&&e(n,r,o)}}function p(t){return function(e,n,r){if(!e||!n||"object"!=typeof e||"object"!=typeof n)return t(e,n,r);var o=r.cache,i=o.get(e),a=o.get(n);if(i&&a)return i===n&&a===e;o.set(e,n),o.set(n,e);var s=t(e,n,r);return o.delete(e),o.delete(n),s}}function f(t){return s(t).concat(u(t))}var h=Object.hasOwn||function(t,e){return l.call(t,e)};function d(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var g="_owner",y=Object.getOwnPropertyDescriptor,v=Object.keys;function m(t,e,n){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function b(t,e){return d(t.getTime(),e.getTime())}function x(t,e,n){if(t.size!==e.size)return!1;for(var r,o,i={},a=t.entries(),s=0;(r=a.next())&&!r.done;){for(var u=e.entries(),l=!1,c=0;(o=u.next())&&!o.done;){var p=r.value,f=p[0],h=p[1],d=o.value,g=d[0],y=d[1];l||i[c]||!(l=n.equals(f,g,s,c,t,e,n)&&n.equals(h,y,f,g,t,e,n))||(i[c]=!0),c++}if(!l)return!1;s++}return!0}function O(t,e,n){var r,o=v(t),i=o.length;if(v(e).length!==i)return!1;for(;i-- >0;){if((r=o[i])===g&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!h(e,r)||!n.equals(t[r],e[r],r,r,t,e,n))return!1}return!0}function S(t,e,n){var r,o,i,a=f(t),s=a.length;if(f(e).length!==s)return!1;for(;s-- >0;){if((r=a[s])===g&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!h(e,r))return!1;if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;if(o=y(t,r),i=y(e,r),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function w(t,e){return d(t.valueOf(),e.valueOf())}function M(t,e){return t.source===e.source&&t.flags===e.flags}function E(t,e,n){if(t.size!==e.size)return!1;for(var r,o,i={},a=t.values();(r=a.next())&&!r.done;){for(var s=e.values(),u=!1,l=0;(o=s.next())&&!o.done;)u||i[l]||!(u=n.equals(r.value,o.value,r.value,o.value,t,e,n))||(i[l]=!0),l++;if(!u)return!1}return!0}function k(t,e){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}var C=Array.isArray,P="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,A=Object.assign,j=Object.prototype.toString.call.bind(Object.prototype.toString),T=_();function _(t){void 0===t&&(t={});var e,n=t.circular,r=void 0!==n&&n,o=t.createInternalComparator,i=t.createState,a=t.strict,s=void 0!==a&&a,u=function(t){var e=t.circular,n=t.createCustomConfig,r=t.strict,o={areArraysEqual:r?S:m,areDatesEqual:b,areMapsEqual:r?c(x,S):x,areObjectsEqual:r?S:O,arePrimitiveWrappersEqual:w,areRegExpsEqual:M,areSetsEqual:r?c(E,S):E,areTypedArraysEqual:r?S:k};if(n&&(o=A({},o,n(o))),e){var i=p(o.areArraysEqual),a=p(o.areMapsEqual),s=p(o.areObjectsEqual),u=p(o.areSetsEqual);o=A({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:s,areSetsEqual:u})}return o}(t),l=function(t){var e=t.areArraysEqual,n=t.areDatesEqual,r=t.areMapsEqual,o=t.areObjectsEqual,i=t.arePrimitiveWrappersEqual,a=t.areRegExpsEqual,s=t.areSetsEqual,u=t.areTypedArraysEqual;return function(t,l,c){if(t===l)return!0;if(null==t||null==l||"object"!=typeof t||"object"!=typeof l)return t!=t&&l!=l;var p=t.constructor;if(p!==l.constructor)return!1;if(p===Object)return o(t,l,c);if(C(t))return e(t,l,c);if(null!=P&&P(t))return u(t,l,c);if(p===Date)return n(t,l,c);if(p===RegExp)return a(t,l,c);if(p===Map)return r(t,l,c);if(p===Set)return s(t,l,c);var f=j(t);return"[object Date]"===f?n(t,l,c):"[object RegExp]"===f?a(t,l,c):"[object Map]"===f?r(t,l,c):"[object Set]"===f?s(t,l,c):"[object Object]"===f?"function"!=typeof t.then&&"function"!=typeof l.then&&o(t,l,c):"[object Arguments]"===f?o(t,l,c):("[object Boolean]"===f||"[object Number]"===f||"[object String]"===f)&&i(t,l,c)}}(u);return function(t){var e=t.circular,n=t.comparator,r=t.createState,o=t.equals,i=t.strict;if(r)return function(t,a){var s=r(),u=s.cache,l=void 0===u?e?new WeakMap:void 0:u,c=s.meta;return n(t,a,{cache:l,equals:o,meta:c,strict:i})};if(e)return function(t,e){return n(t,e,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(t,e){return n(t,e,a)}}({circular:r,comparator:l,createState:i,equals:o?o(l):(e=l,function(t,n,r,o,i,a,s){return e(t,n,s)}),strict:s})}function B(t){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(t)}function D(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=function r(o){n<0&&(n=o),o-n>e?(t(o),n=-1):B(r)};requestAnimationFrame(r)}function I(t){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},I(t)}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function z(){var t=function(){return null},e=!1,n=function n(r){if(!e){if(Array.isArray(r)){if(!r.length)return;var o=function(t){if(Array.isArray(t))return t}(s=r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(s)||function(t,e){if(t){if("string"==typeof t)return L(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(t,e):void 0}}(s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o.slice(1);return"number"==typeof i?void D(n.bind(null,a),i):(n(i),void D(n.bind(null,a)))}"object"===I(r)&&t(r),"function"==typeof r&&r()}var s};return{stop:function(){e=!0},start:function(t){e=!1,n(t)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function R(t){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},R(t)}function W(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function N(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?W(Object(n),!0).forEach((function(e){F(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function F(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==R(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==R(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===R(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}_({strict:!0}),_({circular:!0}),_({circular:!0,strict:!0}),_({createInternalComparator:function(){return d}}),_({strict:!0,createInternalComparator:function(){return d}}),_({circular:!0,createInternalComparator:function(){return d}}),_({circular:!0,createInternalComparator:function(){return d},strict:!0});var U=["Webkit","Moz","O","ms"],V=["-webkit-","-moz-","-o-","-ms-"],G=["transform","transformOrigin","transition"],q=function(t){return t},H=function(t,e){return Object.keys(e).reduce((function(n,r){return N(N({},n),{},F({},r,t(r,e[r])))}),{})},Z=function(t){return Object.keys(t).reduce((function(t,e){return N(N({},t),function(t,e){if(-1===G.indexOf(t))return F({},t,Number.isNaN(e)?0:e);var n="transition"===t,r=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),o=e;return U.reduce((function(t,i,a){return n&&(o=e.replace(/(transform|transform-origin)/gim,"".concat(V[a],"$1"))),N(N({},t),{},F({},i+r,o))}),{})}(e,t[e]))}),t)},$=function(t,e,n){return t.map((function(t){return"".concat((r=t,r.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(n);var r})).join(",")};function Y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(t,e)||X(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(t,e){if(t){if("string"==typeof t)return K(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(t,e):void 0}}function K(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Q=1e-4,J=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},tt=function(t,e){return t.map((function(t,n){return t*Math.pow(e,n)})).reduce((function(t,e){return t+e}))},et=function(t,e){return function(n){var r=J(t,e);return tt(r,n)}},nt=function(t,e){return function(n){var r,o=J(t,e),i=[].concat(function(t){if(Array.isArray(t))return K(t)}(r=o.map((function(t,e){return t*e})).slice(1))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||X(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]);return tt(i,n)}},rt=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],o=e[1],i=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":r=0,o=0,i=1,a=1;break;case"ease":r=.25,o=.1,i=.25,a=1;break;case"ease-in":r=.42,o=0,i=1,a=1;break;case"ease-out":r=.42,o=0,i=.58,a=1;break;case"ease-in-out":r=0,o=0,i=.58,a=1;break;default:var s=e[0].split("(");if("cubic-bezier"===s[0]&&4===s[1].split(")")[0].split(",").length){var u=s[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),l=Y(u,4);r=l[0],o=l[1],i=l[2],a=l[3]}}[r,i,o,a].every((function(t){return"number"==typeof t&&t>=0&&t<=1}));var c=et(r,i),p=et(o,a),f=nt(r,i),h=function(t){return t>1?1:t<0?0:t},d=function(t){for(var e=t>1?1:t,n=e,r=0;r<8;++r){var o=c(n)-e,i=f(n);if(Math.abs(o-e)<Q||i<Q)return p(n);n=h(n-o/i)}return p(n)};return d.isStepper=!1,d},ot=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,n=void 0===e?100:e,r=t.damping,o=void 0===r?8:r,i=t.dt,a=void 0===i?17:i,s=function(t,e,r){var i=r+(-(t-e)*n-r*o)*a/1e3,s=r*a/1e3+t;return Math.abs(s-e)<Q&&Math.abs(i)<Q?[e,0]:[s,i]};return s.isStepper=!0,s.dt=a,s};function it(t){return it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},it(t)}function at(t){return function(t){if(Array.isArray(t))return pt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ct(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function st(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ut(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?st(Object(n),!0).forEach((function(e){lt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function lt(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==it(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==it(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===it(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e){if(t){if("string"==typeof t)return pt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pt(t,e):void 0}}function pt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var ft=function(t,e,n){return t+(e-t)*n},ht=function(t){return t.from!==t.to},dt=function t(e,n,r){var o=H((function(t,n){if(ht(n)){var r=(a=e(n.from,n.to,n.velocity),s=2,function(t){if(Array.isArray(t))return t}(a)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(a,s)||ct(a,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],i=r[1];return ut(ut({},n),{},{from:o,velocity:i})}var a,s;return n}),n);return r<1?H((function(t,e){return ht(e)?ut(ut({},e),{},{velocity:ft(e.velocity,o[t].velocity,r),from:ft(e.from,o[t].from,r)}):e}),n):t(e,o,r-1)};function gt(t){return gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gt(t)}var yt=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function vt(t){return function(t){if(Array.isArray(t))return mt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return mt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function bt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function xt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?bt(Object(n),!0).forEach((function(e){Ot(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ot(t,e,n){return(e=wt(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function St(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,wt(r.key),r)}}function wt(t){var e=function(t,e){if("object"!==gt(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==gt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===gt(e)?e:String(e)}function Mt(t,e){return Mt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Mt(t,e)}function Et(t,e){if(e&&("object"===gt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return kt(t)}function kt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ct(t){return Ct=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ct(t)}var Pt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Mt(t,e)}(u,t);var e,n,i,a,s=(i=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Ct(i);if(a){var n=Ct(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Et(this,t)});function u(t,e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var r=(n=s.call(this,t,e)).props,o=r.isActive,i=r.attributeName,a=r.from,l=r.to,c=r.steps,p=r.children,f=r.duration;if(n.handleStyleChange=n.handleStyleChange.bind(kt(n)),n.changeStyle=n.changeStyle.bind(kt(n)),!o||f<=0)return n.state={style:{}},"function"==typeof p&&(n.state={style:l}),Et(n);if(c&&c.length)n.state={style:c[0].style};else if(a){if("function"==typeof p)return n.state={style:a},Et(n);n.state={style:i?Ot({},i,a):a}}else n.state={style:{}};return n}return e=u,n=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,n=t.canBegin;this.mounted=!0,e&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isActive,r=e.canBegin,o=e.attributeName,i=e.shouldReAnimate,a=e.to,s=e.from,u=this.state.style;if(r)if(n){if(!(T(t.to,a)&&t.canBegin&&t.isActive)){var l=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var c=l||i?s:t.to;if(this.state&&u){var p={style:o?Ot({},o,c):c};(o&&[o]!==c||!o&&u!==c)&&this.setState(p)}this.runAnimation(xt(xt({},this.props),{},{from:c,begin:0}))}}else{var f={style:o?Ot({},o,a):a};this.state&&u&&(o&&u[o]!==a||!o&&u!==a)&&this.setState(f)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,n=t.from,r=t.to,o=t.duration,i=t.easing,a=t.begin,s=t.onAnimationEnd,u=t.onAnimationStart,l=function(t,e,n,r,o){var i,a,s,u,l=(i=t,a=e,[Object.keys(i),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),c=l.reduce((function(n,r){return ut(ut({},n),{},lt({},r,[t[r],e[r]]))}),{}),p=l.reduce((function(n,r){return ut(ut({},n),{},lt({},r,{from:t[r],velocity:0,to:e[r]}))}),{}),f=-1,h=function(){return null};return h=n.isStepper?function(r){s||(s=r);var i=(r-s)/n.dt;p=dt(n,p,i),o(ut(ut(ut({},t),e),H((function(t,e){return e.from}),p))),s=r,Object.values(p).filter(ht).length&&(f=requestAnimationFrame(h))}:function(i){u||(u=i);var a=(i-u)/r,s=H((function(t,e){return ft.apply(void 0,at(e).concat([n(a)]))}),c);if(o(ut(ut(ut({},t),e),s)),a<1)f=requestAnimationFrame(h);else{var l=H((function(t,e){return ft.apply(void 0,at(e).concat([n(1)]))}),c);o(ut(ut(ut({},t),e),l))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(f)}}}(n,r,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0];if("string"==typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return rt(r);case"spring":return ot();default:if("cubic-bezier"===r.split("(")[0])return rt(r)}return"function"==typeof r?r:null}(i),o,this.changeStyle);this.manager.start([u,a,function(){e.stopJSAnimation=l()},o,s])}},{key:"runStepAnimation",value:function(t){var e=this,n=t.steps,r=t.begin,o=t.onAnimationStart,i=n[0],a=i.style,s=i.duration,u=void 0===s?0:s;return this.manager.start([o].concat(vt(n.reduce((function(t,r,o){if(0===o)return t;var i=r.duration,a=r.easing,s=void 0===a?"ease":a,u=r.style,l=r.properties,c=r.onAnimationEnd,p=o>0?n[o-1]:r,f=l||Object.keys(u);if("function"==typeof s||"spring"===s)return[].concat(vt(t),[e.runJSAnimation.bind(e,{from:p.style,to:u,duration:i,easing:s}),i]);var h=$(f,i,s),d=xt(xt(xt({},p.style),u),{},{transition:h});return[].concat(vt(t),[d,i,c]).filter(q)}),[a,Math.max(u,r)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=z());var e=t.begin,n=t.duration,r=t.attributeName,o=t.to,i=t.easing,a=t.onAnimationStart,s=t.onAnimationEnd,u=t.steps,l=t.children,c=this.manager;if(this.unSubscribe=c.subscribe(this.handleStyleChange),"function"!=typeof i&&"function"!=typeof l&&"spring"!==i)if(u.length>1)this.runStepAnimation(t);else{var p=r?Ot({},r,o):o,f=$(Object.keys(p),n,i);c.start([a,e,xt(xt({},p),{},{transition:f}),n,s])}else this.runJSAnimation(t)}},{key:"render",value:function(){var t=this.props,e=t.children,n=(t.begin,t.duration),i=(t.attributeName,t.easing,t.isActive),a=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,yt)),s=r.Children.count(e),u=Z(this.state.style);if("function"==typeof e)return e(u);if(!i||0===s||n<=0)return e;var l=function(t){var e=t.props,n=e.style,o=void 0===n?{}:n,i=e.className;return(0,r.cloneElement)(t,xt(xt({},a),{},{style:xt(xt({},o),u),className:i}))};return 1===s?l(r.Children.only(e)):o().createElement("div",null,r.Children.map(e,(function(t){return l(t)})))}}],n&&St(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),u}(r.PureComponent);Pt.displayName="Animate",Pt.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},Pt.propTypes={from:a().oneOfType([a().object,a().string]),to:a().oneOfType([a().object,a().string]),attributeName:a().string,duration:a().number,begin:a().number,easing:a().oneOfType([a().string,a().func]),steps:a().arrayOf(a().shape({duration:a().number.isRequired,style:a().object.isRequired,easing:a().oneOfType([a().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),a().func]),properties:a().arrayOf("string"),onAnimationEnd:a().func})),children:a().oneOfType([a().node,a().func]),isActive:a().bool,canBegin:a().bool,onAnimationEnd:a().func,shouldReAnimate:a().bool,onAnimationStart:a().func,onAnimationReStart:a().func};const At=Pt;var jt=n(44824),Tt=["children","appearOptions","enterOptions","leaveOptions"];function _t(t){return _t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_t(t)}function Bt(){return Bt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Bt.apply(this,arguments)}function Dt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function It(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Dt(Object(n),!0).forEach((function(e){Ft(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Lt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ut(r.key),r)}}function zt(t,e){return zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},zt(t,e)}function Rt(t,e){if(e&&("object"===_t(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Wt(t)}function Wt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Nt(t)}function Ft(t,e,n){return(e=Ut(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ut(t){var e=function(t,e){if("object"!==_t(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==_t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===_t(e)?e:String(e)}void 0===Number.isFinite&&(Number.isFinite=function(t){return"number"==typeof t&&isFinite(t)});var Vt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,n=t.duration;return e&&e.length?e.reduce((function(t,e){return t+(Number.isFinite(e.duration)&&e.duration>0?e.duration:0)}),0):Number.isFinite(n)?n:0},Gt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&zt(t,e)}(u,t);var e,n,i,a,s=(i=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Nt(i);if(a){var n=Nt(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Rt(this,t)});function u(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),Ft(Wt(t=s.call(this)),"handleEnter",(function(e,n){var r=t.props,o=r.appearOptions,i=r.enterOptions;t.handleStyleActive(n?o:i)})),Ft(Wt(t),"handleExit",(function(){var e=t.props.leaveOptions;t.handleStyleActive(e)})),t.state={isActive:!1},t}return e=u,(n=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(It(It({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,n=t.enterOptions,r=t.leaveOptions;return Vt(e)+Vt(n)+Vt(r)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,i=(e.appearOptions,e.enterOptions,e.leaveOptions,function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(e,Tt));return o().createElement(jt.Transition,Bt({},i,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return o().createElement(At,t.state,r.Children.only(n))}))}}])&&Lt(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),u}(r.Component);Gt.propTypes={appearOptions:a().object,enterOptions:a().object,leaveOptions:a().object,children:a().element};const qt=Gt;function Ht(t){var e=t.component,n=t.children,i=t.appear,a=t.enter,s=t.leave;return o().createElement(jt.TransitionGroup,{component:e},r.Children.map(n,(function(t,e){return o().createElement(qt,{appearOptions:i,enterOptions:a,leaveOptions:s,key:"child-".concat(e)},t)})))}Ht.propTypes={appear:a().object,enter:a().object,leave:a().object,children:a().oneOfType([a().array,a().element]),component:a().any},Ht.defaultProps={component:"span"};const Zt=At},46006:(t,e,n)=>{"use strict";e.__esModule=!0,e.default=void 0,function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}e.default=t}(n(95099));var r=s(n(2196)),o=s(n(24812)),i=s(n(8156)),a=s(n(24815));function s(t){return t&&t.__esModule?t:{default:t}}function u(){return u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u.apply(this,arguments)}n(22911);var l=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,r.default)(t,e)}))},c=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,o.default)(t,e)}))},p=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).onEnter=function(t,n){var r=e.getClassNames(n?"appear":"enter").className;e.removeClasses(t,"exit"),l(t,r),e.props.onEnter&&e.props.onEnter(t,n)},e.onEntering=function(t,n){var r=e.getClassNames(n?"appear":"enter").activeClassName;e.reflowAndAddClass(t,r),e.props.onEntering&&e.props.onEntering(t,n)},e.onEntered=function(t,n){var r=e.getClassNames("appear").doneClassName,o=e.getClassNames("enter").doneClassName,i=n?r+" "+o:o;e.removeClasses(t,n?"appear":"enter"),l(t,i),e.props.onEntered&&e.props.onEntered(t,n)},e.onExit=function(t){var n=e.getClassNames("exit").className;e.removeClasses(t,"appear"),e.removeClasses(t,"enter"),l(t,n),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var n=e.getClassNames("exit").activeClassName;e.reflowAndAddClass(t,n),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var n=e.getClassNames("exit").doneClassName;e.removeClasses(t,"exit"),l(t,n),e.props.onExited&&e.props.onExited(t)},e.getClassNames=function(t){var n=e.props.classNames,r="string"==typeof n,o=r?(r&&n?n+"-":"")+t:n[t];return{className:o,activeClassName:r?o+"-active":n[t+"Active"],doneClassName:r?o+"-done":n[t+"Done"]}},e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.removeClasses=function(t,e){var n=this.getClassNames(e),r=n.className,o=n.activeClassName,i=n.doneClassName;r&&c(t,r),o&&c(t,o),i&&c(t,i)},o.reflowAndAddClass=function(t,e){e&&(t&&t.scrollTop,l(t,e))},o.render=function(){var t=u({},this.props);return delete t.classNames,i.default.createElement(a.default,u({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(i.default.Component);p.defaultProps={classNames:""},p.propTypes={};var f=p;e.default=f,t.exports=e.default},639:(t,e,n)=>{"use strict";e.__esModule=!0,e.default=void 0,a(n(95099));var r=a(n(8156)),o=n(47111),i=a(n(49634));function a(t){return t&&t.__esModule?t:{default:t}}var s=function(t){var e,n;function a(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).handleEnter=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEnter",0,n)},e.handleEntering=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntering",0,n)},e.handleEntered=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntered",0,n)},e.handleExit=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExit",1,n)},e.handleExiting=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExiting",1,n)},e.handleExited=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExited",1,n)},e}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=a.prototype;return s.handleLifecycle=function(t,e,n){var i,a=this.props.children,s=r.default.Children.toArray(a)[e];s.props[t]&&(i=s.props)[t].apply(i,n),this.props[t]&&this.props[t]((0,o.findDOMNode)(this))},s.render=function(){var t=this.props,e=t.children,n=t.in,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["children","in"]),a=r.default.Children.toArray(e),s=a[0],u=a[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,r.default.createElement(i.default,o,n?r.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(u,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);s.propTypes={};var u=s;e.default=u,t.exports=e.default},24815:(t,e,n)=>{"use strict";e.__esModule=!0,e.default=e.EXITING=e.ENTERED=e.ENTERING=e.EXITED=e.UNMOUNTED=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n(95099)),o=s(n(8156)),i=s(n(47111)),a=n(46847);function s(t){return t&&t.__esModule?t:{default:t}}n(22911);var u="unmounted";e.UNMOUNTED=u;var l="exited";e.EXITED=l;var c="entering";e.ENTERING=c;var p="entered";e.ENTERED=p;var f="exiting";e.EXITING=f;var h=function(t){var e,n;function r(e,n){var r;r=t.call(this,e,n)||this;var o,i=n.transitionGroup,a=i&&!i.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?a?(o=l,r.appearStatus=c):o=p:o=e.unmountOnExit||e.mountOnEnter?u:l,r.state={status:o},r.nextCallback=null,r}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(t,e){return t.in&&e.status===u?{status:l}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==c&&n!==p&&(e=c):n!==c&&n!==p||(e=f)}this.updateStatus(!1,e)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!=typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},a.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e){this.cancelNextCallback();var n=i.default.findDOMNode(this);e===c?this.performEnter(n,t):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===l&&this.setState({status:u})},a.performEnter=function(t,e){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:e,i=this.getTimeouts(),a=o?i.appear:i.enter;e||r?(this.props.onEnter(t,o),this.safeSetState({status:c},(function(){n.props.onEntering(t,o),n.onTransitionEnd(t,a,(function(){n.safeSetState({status:p},(function(){n.props.onEntered(t,o)}))}))}))):this.safeSetState({status:p},(function(){n.props.onEntered(t)}))},a.performExit=function(t){var e=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(t),this.safeSetState({status:f},(function(){e.props.onExiting(t),e.onTransitionEnd(t,r.exit,(function(){e.safeSetState({status:l},(function(){e.props.onExited(t)}))}))}))):this.safeSetState({status:l},(function(){e.props.onExited(t)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},a.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(t,e,n){this.setNextCallback(n);var r=null==e&&!this.props.addEndListener;t&&!r?(this.props.addEndListener&&this.props.addEndListener(t,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},a.render=function(){var t=this.state.status;if(t===u)return null;var e=this.props,n=e.children,r=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(e,["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(t,r);var i=o.default.Children.only(n);return o.default.cloneElement(i,r)},r}(o.default.Component);function d(){}h.contextTypes={transitionGroup:r.object},h.childContextTypes={transitionGroup:function(){}},h.propTypes={},h.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},h.UNMOUNTED=0,h.EXITED=1,h.ENTERING=2,h.ENTERED=3,h.EXITING=4;var g=(0,a.polyfill)(h);e.default=g},49634:(t,e,n)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=s(n(95099)),o=s(n(8156)),i=n(46847),a=n(68620);function s(t){return t&&t.__esModule?t:{default:t}}function u(){return u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u.apply(this,arguments)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var c=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},p=function(t){var e,n;function r(e,n){var r,o=(r=t.call(this,e,n)||this).handleExited.bind(l(l(r)));return r.state={handleExited:o,firstRender:!0},r}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},i.componentDidMount=function(){this.appeared=!0,this.mounted=!0},i.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(t,e){var n=e.children,r=e.handleExited;return{children:e.firstRender?(0,a.getInitialChildMapping)(t,r):(0,a.getNextChildMapping)(t,n,r),firstRender:!1}},i.handleExited=function(t,e){var n=(0,a.getChildMapping)(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=u({},e.children);return delete n[t.key],{children:n}})))},i.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["component","childFactory"]),i=c(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?i:o.default.createElement(e,r,i)},r}(o.default.Component);p.childContextTypes={transitionGroup:r.default.object.isRequired},p.propTypes={},p.defaultProps={component:"div",childFactory:function(t){return t}};var f=(0,i.polyfill)(p);e.default=f,t.exports=e.default},44824:(t,e,n)=>{"use strict";var r=s(n(46006)),o=s(n(639)),i=s(n(49634)),a=s(n(24815));function s(t){return t&&t.__esModule?t:{default:t}}t.exports={Transition:a.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},68620:(t,e,n)=>{"use strict";e.__esModule=!0,e.getChildMapping=o,e.mergeChildMappings=i,e.getInitialChildMapping=function(t,e){return o(t.children,(function(n){return(0,r.cloneElement)(n,{onExited:e.bind(null,n),in:!0,appear:a(n,"appear",t),enter:a(n,"enter",t),exit:a(n,"exit",t)})}))},e.getNextChildMapping=function(t,e,n){var s=o(t.children),u=i(e,s);return Object.keys(u).forEach((function(o){var i=u[o];if((0,r.isValidElement)(i)){var l=o in e,c=o in s,p=e[o],f=(0,r.isValidElement)(p)&&!p.props.in;!c||l&&!f?c||!l||f?c&&l&&(0,r.isValidElement)(p)&&(u[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:p.props.in,exit:a(i,"exit",t),enter:a(i,"enter",t)})):u[o]=(0,r.cloneElement)(i,{in:!1}):u[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:a(i,"exit",t),enter:a(i,"enter",t)})}})),u};var r=n(8156);function o(t,e){var n=Object.create(null);return t&&r.Children.map(t,(function(t){return t})).forEach((function(t){n[t.key]=function(t){return e&&(0,r.isValidElement)(t)?e(t):t}(t)})),n}function i(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,o=Object.create(null),i=[];for(var a in t)a in e?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var u in e){if(o[u])for(r=0;r<o[u].length;r++){var l=o[u][r];s[o[u][r]]=n(l)}s[u]=n(u)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}function a(t,e,n){return null!=n[e]?n[e]:t.props[e]}},22911:(t,e,n)=>{"use strict";var r;e.__esModule=!0,e.classNamesShape=e.timeoutsShape=void 0,(r=n(95099))&&r.__esModule,e.timeoutsShape=null,e.classNamesShape=null},31396:(t,e,n)=>{"use strict";n.d(e,{Z:()=>A});var r=n(8156),o=n.n(r),i=n(95099),a=n.n(i),s=n(25473),u=n.n(s),l=n(46847);function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function g(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function y(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}function v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}function m(t,e){return m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},m(t,e)}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function x(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?x(t):e}function S(t){return function(){var e,n=v(t);if(b()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return O(this,e)}}var w=function(t){y(n,t);var e=S(n);function n(){return c(this,n),e.apply(this,arguments)}return f(n,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.className,r=t.split,i=t.style,a=t.size,s=t.eleRef,u=["Pane",r,n],l={flex:1,position:"relative",outline:"none"};return void 0!==a&&("vertical"===r?l.width=a:(l.height=a,l.display="flex"),l.flex="none"),l=Object.assign({},l,i||{}),o().createElement("div",{ref:s,className:u.join(" "),style:l},e)}}]),n}(o().PureComponent);w.propTypes={className:a().string.isRequired,children:a().node.isRequired,size:a().oneOfType([a().string,a().number]),split:a().oneOf(["vertical","horizontal"]),style:u(),eleRef:a().func},w.defaultProps={};var M="Resizer",E=function(t){y(n,t);var e=S(n);function n(){return c(this,n),e.apply(this,arguments)}return f(n,[{key:"render",value:function(){var t=this.props,e=t.className,n=t.onClick,r=t.onDoubleClick,i=t.onMouseDown,a=t.onTouchEnd,s=t.onTouchStart,u=t.resizerClassName,l=t.split,c=t.style,p=[u,l,e];return o().createElement("span",{role:"presentation",className:p.join(" "),style:c,onMouseDown:function(t){return i(t)},onTouchStart:function(t){t.preventDefault(),s(t)},onTouchEnd:function(t){t.preventDefault(),a(t)},onClick:function(t){n&&(t.preventDefault(),n(t))},onDoubleClick:function(t){r&&(t.preventDefault(),r(t))}})}}]),n}(o().Component);function k(t,e){if(t.selection)t.selection.empty();else try{e.getSelection().removeAllRanges()}catch(t){}}function C(t,e,n,r){if("number"==typeof r){var o="number"==typeof e?e:0,i="number"==typeof n&&n>=0?n:1/0;return Math.max(o,Math.min(i,r))}return void 0!==t?t:e}E.propTypes={className:a().string.isRequired,onClick:a().func,onDoubleClick:a().func,onMouseDown:a().func.isRequired,onTouchStart:a().func.isRequired,onTouchEnd:a().func.isRequired,split:a().oneOf(["vertical","horizontal"]),style:u(),resizerClassName:a().string.isRequired},E.defaultProps={resizerClassName:M};var P=function(t){y(n,t);var e=S(n);function n(t){var r;c(this,n),(r=e.call(this,t)).onMouseDown=r.onMouseDown.bind(x(r)),r.onTouchStart=r.onTouchStart.bind(x(r)),r.onMouseMove=r.onMouseMove.bind(x(r)),r.onTouchMove=r.onTouchMove.bind(x(r)),r.onMouseUp=r.onMouseUp.bind(x(r));var o=t.size,i=t.defaultSize,a=t.minSize,s=t.maxSize,u=t.primary,l=void 0!==o?o:C(i,a,s,null);return r.state={active:!1,resized:!1,pane1Size:"first"===u?l:void 0,pane2Size:"second"===u?l:void 0,instanceProps:{size:o}},r}return f(n,[{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.onMouseUp),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("touchmove",this.onTouchMove),this.setState(n.getSizeUpdate(this.props,this.state))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("touchmove",this.onTouchMove)}},{key:"onMouseDown",value:function(t){var e=Object.assign({},t,{touches:[{clientX:t.clientX,clientY:t.clientY}]});this.onTouchStart(e)}},{key:"onTouchStart",value:function(t){var e=this.props,n=e.allowResize,r=e.onDragStarted,o=e.split;if(n){k(document,window);var i="vertical"===o?t.touches[0].clientX:t.touches[0].clientY;"function"==typeof r&&r(),this.setState({active:!0,position:i})}}},{key:"onMouseMove",value:function(t){var e=Object.assign({},t,{touches:[{clientX:t.clientX,clientY:t.clientY}]});this.onTouchMove(e)}},{key:"onTouchMove",value:function(t){var e=this.props,n=e.allowResize,r=e.maxSize,o=e.minSize,i=e.onChange,a=e.split,s=e.step,u=this.state,l=u.active,c=u.position;if(n&&l){k(document,window);var p="first"===this.props.primary,f=p?this.pane1:this.pane2,d=p?this.pane2:this.pane1;if(f){var g=f,y=d;if(g.getBoundingClientRect){var v=g.getBoundingClientRect().width,m=g.getBoundingClientRect().height,b="vertical"===a?v:m,x=c-("vertical"===a?t.touches[0].clientX:t.touches[0].clientY);if(s){if(Math.abs(x)<s)return;x=~~(x/s)*s}var O=p?x:-x;parseInt(window.getComputedStyle(g).order)>parseInt(window.getComputedStyle(y).order)&&(O=-O);var S=r;if(void 0!==r&&r<=0){var w=this.splitPane;S="vertical"===a?w.getBoundingClientRect().width+r:w.getBoundingClientRect().height+r}var M=b-O,E=c-x;M<o?M=o:void 0!==r&&M>S?M=S:this.setState({position:E,resized:!0}),i&&i(M),this.setState(h({draggedSize:M},p?"pane1Size":"pane2Size",M))}}}}},{key:"onMouseUp",value:function(){var t=this.props,e=t.allowResize,n=t.onDragFinished,r=this.state,o=r.active,i=r.draggedSize;e&&o&&("function"==typeof n&&n(i),this.setState({active:!1}))}},{key:"render",value:function(){var t=this,e=this.props,n=e.allowResize,r=e.children,i=e.className,a=e.onResizerClick,s=e.onResizerDoubleClick,u=e.paneClassName,l=e.pane1ClassName,c=e.pane2ClassName,p=e.paneStyle,f=e.pane1Style,h=e.pane2Style,d=e.resizerClassName,y=e.resizerStyle,v=e.split,m=e.style,b=this.state,x=b.pane1Size,O=b.pane2Size,S=n?"":"disabled",k=d?"".concat(d," ").concat(M):d,C=function(t){return o().Children.toArray(t).filter((function(t){return t}))}(r),P=g({display:"flex",flex:1,height:"100%",position:"absolute",outline:"none",overflow:"hidden",MozUserSelect:"text",WebkitUserSelect:"text",msUserSelect:"text",userSelect:"text"},m);"vertical"===v?Object.assign(P,{flexDirection:"row",left:0,right:0}):Object.assign(P,{bottom:0,flexDirection:"column",minHeight:"100%",top:0,width:"100%"});var A=["SplitPane",i,v,S],j=g({},p,{},f),T=g({},p,{},h),_=["Pane1",u,l].join(" "),B=["Pane2",u,c].join(" ");return o().createElement("div",{className:A.join(" "),ref:function(e){t.splitPane=e},style:P},o().createElement(w,{className:_,key:"pane1",eleRef:function(e){t.pane1=e},size:x,split:v,style:j},C[0]),o().createElement(E,{className:S,onClick:a,onDoubleClick:s,onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onTouchEnd:this.onMouseUp,key:"resizer",resizerClassName:k,split:v,style:y||{}}),o().createElement(w,{className:B,key:"pane2",eleRef:function(e){t.pane2=e},size:O,split:v,style:T},C[1]))}}],[{key:"getDerivedStateFromProps",value:function(t,e){return n.getSizeUpdate(t,e)}},{key:"getSizeUpdate",value:function(t,e){var n={};if(e.instanceProps.size===t.size&&void 0!==t.size)return{};var r=void 0!==t.size?t.size:C(t.defaultSize,t.minSize,t.maxSize,e.draggedSize);void 0!==t.size&&(n.draggedSize=r);var o="first"===t.primary;return n[o?"pane1Size":"pane2Size"]=r,n[o?"pane2Size":"pane1Size"]=void 0,n.instanceProps={size:t.size},n}}]),n}(o().Component);P.propTypes={allowResize:a().bool,children:a().arrayOf(a().node).isRequired,className:a().string,primary:a().oneOf(["first","second"]),minSize:a().oneOfType([a().string,a().number]),maxSize:a().oneOfType([a().string,a().number]),defaultSize:a().oneOfType([a().string,a().number]),size:a().oneOfType([a().string,a().number]),split:a().oneOf(["vertical","horizontal"]),onDragStarted:a().func,onDragFinished:a().func,onChange:a().func,onResizerClick:a().func,onResizerDoubleClick:a().func,style:u(),resizerStyle:u(),paneClassName:a().string,pane1ClassName:a().string,pane2ClassName:a().string,paneStyle:u(),pane1Style:u(),pane2Style:u(),resizerClassName:a().string,step:a().number},P.defaultProps={allowResize:!0,minSize:50,primary:"first",split:"vertical",paneClassName:"",pane1ClassName:"",pane2ClassName:""},(0,l.polyfill)(P);const A=P},2787:t=>{t.exports=["alignContent","MozAlignContent","WebkitAlignContent","MSAlignContent","OAlignContent","alignItems","MozAlignItems","WebkitAlignItems","MSAlignItems","OAlignItems","alignSelf","MozAlignSelf","WebkitAlignSelf","MSAlignSelf","OAlignSelf","all","MozAll","WebkitAll","MSAll","OAll","animation","MozAnimation","WebkitAnimation","MSAnimation","OAnimation","animationDelay","MozAnimationDelay","WebkitAnimationDelay","MSAnimationDelay","OAnimationDelay","animationDirection","MozAnimationDirection","WebkitAnimationDirection","MSAnimationDirection","OAnimationDirection","animationDuration","MozAnimationDuration","WebkitAnimationDuration","MSAnimationDuration","OAnimationDuration","animationFillMode","MozAnimationFillMode","WebkitAnimationFillMode","MSAnimationFillMode","OAnimationFillMode","animationIterationCount","MozAnimationIterationCount","WebkitAnimationIterationCount","MSAnimationIterationCount","OAnimationIterationCount","animationName","MozAnimationName","WebkitAnimationName","MSAnimationName","OAnimationName","animationPlayState","MozAnimationPlayState","WebkitAnimationPlayState","MSAnimationPlayState","OAnimationPlayState","animationTimingFunction","MozAnimationTimingFunction","WebkitAnimationTimingFunction","MSAnimationTimingFunction","OAnimationTimingFunction","backfaceVisibility","MozBackfaceVisibility","WebkitBackfaceVisibility","MSBackfaceVisibility","OBackfaceVisibility","background","MozBackground","WebkitBackground","MSBackground","OBackground","backgroundAttachment","MozBackgroundAttachment","WebkitBackgroundAttachment","MSBackgroundAttachment","OBackgroundAttachment","backgroundBlendMode","MozBackgroundBlendMode","WebkitBackgroundBlendMode","MSBackgroundBlendMode","OBackgroundBlendMode","backgroundClip","MozBackgroundClip","WebkitBackgroundClip","MSBackgroundClip","OBackgroundClip","backgroundColor","MozBackgroundColor","WebkitBackgroundColor","MSBackgroundColor","OBackgroundColor","backgroundImage","MozBackgroundImage","WebkitBackgroundImage","MSBackgroundImage","OBackgroundImage","backgroundOrigin","MozBackgroundOrigin","WebkitBackgroundOrigin","MSBackgroundOrigin","OBackgroundOrigin","backgroundPosition","MozBackgroundPosition","WebkitBackgroundPosition","MSBackgroundPosition","OBackgroundPosition","backgroundRepeat","MozBackgroundRepeat","WebkitBackgroundRepeat","MSBackgroundRepeat","OBackgroundRepeat","backgroundSize","MozBackgroundSize","WebkitBackgroundSize","MSBackgroundSize","OBackgroundSize","blockSize","MozBlockSize","WebkitBlockSize","MSBlockSize","OBlockSize","border","MozBorder","WebkitBorder","MSBorder","OBorder","borderBlockEnd","MozBorderBlockEnd","WebkitBorderBlockEnd","MSBorderBlockEnd","OBorderBlockEnd","borderBlockEndColor","MozBorderBlockEndColor","WebkitBorderBlockEndColor","MSBorderBlockEndColor","OBorderBlockEndColor","borderBlockEndStyle","MozBorderBlockEndStyle","WebkitBorderBlockEndStyle","MSBorderBlockEndStyle","OBorderBlockEndStyle","borderBlockEndWidth","MozBorderBlockEndWidth","WebkitBorderBlockEndWidth","MSBorderBlockEndWidth","OBorderBlockEndWidth","borderBlockStart","MozBorderBlockStart","WebkitBorderBlockStart","MSBorderBlockStart","OBorderBlockStart","borderBlockStartColor","MozBorderBlockStartColor","WebkitBorderBlockStartColor","MSBorderBlockStartColor","OBorderBlockStartColor","borderBlockStartStyle","MozBorderBlockStartStyle","WebkitBorderBlockStartStyle","MSBorderBlockStartStyle","OBorderBlockStartStyle","borderBlockStartWidth","MozBorderBlockStartWidth","WebkitBorderBlockStartWidth","MSBorderBlockStartWidth","OBorderBlockStartWidth","borderBottom","MozBorderBottom","WebkitBorderBottom","MSBorderBottom","OBorderBottom","borderBottomColor","MozBorderBottomColor","WebkitBorderBottomColor","MSBorderBottomColor","OBorderBottomColor","borderBottomLeftRadius","MozBorderBottomLeftRadius","WebkitBorderBottomLeftRadius","MSBorderBottomLeftRadius","OBorderBottomLeftRadius","borderBottomRightRadius","MozBorderBottomRightRadius","WebkitBorderBottomRightRadius","MSBorderBottomRightRadius","OBorderBottomRightRadius","borderBottomStyle","MozBorderBottomStyle","WebkitBorderBottomStyle","MSBorderBottomStyle","OBorderBottomStyle","borderBottomWidth","MozBorderBottomWidth","WebkitBorderBottomWidth","MSBorderBottomWidth","OBorderBottomWidth","borderCollapse","MozBorderCollapse","WebkitBorderCollapse","MSBorderCollapse","OBorderCollapse","borderColor","MozBorderColor","WebkitBorderColor","MSBorderColor","OBorderColor","borderImage","MozBorderImage","WebkitBorderImage","MSBorderImage","OBorderImage","borderImageOutset","MozBorderImageOutset","WebkitBorderImageOutset","MSBorderImageOutset","OBorderImageOutset","borderImageRepeat","MozBorderImageRepeat","WebkitBorderImageRepeat","MSBorderImageRepeat","OBorderImageRepeat","borderImageSlice","MozBorderImageSlice","WebkitBorderImageSlice","MSBorderImageSlice","OBorderImageSlice","borderImageSource","MozBorderImageSource","WebkitBorderImageSource","MSBorderImageSource","OBorderImageSource","borderImageWidth","MozBorderImageWidth","WebkitBorderImageWidth","MSBorderImageWidth","OBorderImageWidth","borderInlineEnd","MozBorderInlineEnd","WebkitBorderInlineEnd","MSBorderInlineEnd","OBorderInlineEnd","borderInlineEndColor","MozBorderInlineEndColor","WebkitBorderInlineEndColor","MSBorderInlineEndColor","OBorderInlineEndColor","borderInlineEndStyle","MozBorderInlineEndStyle","WebkitBorderInlineEndStyle","MSBorderInlineEndStyle","OBorderInlineEndStyle","borderInlineEndWidth","MozBorderInlineEndWidth","WebkitBorderInlineEndWidth","MSBorderInlineEndWidth","OBorderInlineEndWidth","borderInlineStart","MozBorderInlineStart","WebkitBorderInlineStart","MSBorderInlineStart","OBorderInlineStart","borderInlineStartColor","MozBorderInlineStartColor","WebkitBorderInlineStartColor","MSBorderInlineStartColor","OBorderInlineStartColor","borderInlineStartStyle","MozBorderInlineStartStyle","WebkitBorderInlineStartStyle","MSBorderInlineStartStyle","OBorderInlineStartStyle","borderInlineStartWidth","MozBorderInlineStartWidth","WebkitBorderInlineStartWidth","MSBorderInlineStartWidth","OBorderInlineStartWidth","borderLeft","MozBorderLeft","WebkitBorderLeft","MSBorderLeft","OBorderLeft","borderLeftColor","MozBorderLeftColor","WebkitBorderLeftColor","MSBorderLeftColor","OBorderLeftColor","borderLeftStyle","MozBorderLeftStyle","WebkitBorderLeftStyle","MSBorderLeftStyle","OBorderLeftStyle","borderLeftWidth","MozBorderLeftWidth","WebkitBorderLeftWidth","MSBorderLeftWidth","OBorderLeftWidth","borderRadius","MozBorderRadius","WebkitBorderRadius","MSBorderRadius","OBorderRadius","borderRight","MozBorderRight","WebkitBorderRight","MSBorderRight","OBorderRight","borderRightColor","MozBorderRightColor","WebkitBorderRightColor","MSBorderRightColor","OBorderRightColor","borderRightStyle","MozBorderRightStyle","WebkitBorderRightStyle","MSBorderRightStyle","OBorderRightStyle","borderRightWidth","MozBorderRightWidth","WebkitBorderRightWidth","MSBorderRightWidth","OBorderRightWidth","borderSpacing","MozBorderSpacing","WebkitBorderSpacing","MSBorderSpacing","OBorderSpacing","borderStyle","MozBorderStyle","WebkitBorderStyle","MSBorderStyle","OBorderStyle","borderTop","MozBorderTop","WebkitBorderTop","MSBorderTop","OBorderTop","borderTopColor","MozBorderTopColor","WebkitBorderTopColor","MSBorderTopColor","OBorderTopColor","borderTopLeftRadius","MozBorderTopLeftRadius","WebkitBorderTopLeftRadius","MSBorderTopLeftRadius","OBorderTopLeftRadius","borderTopRightRadius","MozBorderTopRightRadius","WebkitBorderTopRightRadius","MSBorderTopRightRadius","OBorderTopRightRadius","borderTopStyle","MozBorderTopStyle","WebkitBorderTopStyle","MSBorderTopStyle","OBorderTopStyle","borderTopWidth","MozBorderTopWidth","WebkitBorderTopWidth","MSBorderTopWidth","OBorderTopWidth","borderWidth","MozBorderWidth","WebkitBorderWidth","MSBorderWidth","OBorderWidth","bottom","MozBottom","WebkitBottom","MSBottom","OBottom","boxDecorationBreak","MozBoxDecorationBreak","WebkitBoxDecorationBreak","MSBoxDecorationBreak","OBoxDecorationBreak","boxShadow","MozBoxShadow","WebkitBoxShadow","MSBoxShadow","OBoxShadow","boxSizing","MozBoxSizing","WebkitBoxSizing","MSBoxSizing","OBoxSizing","breakAfter","MozBreakAfter","WebkitBreakAfter","MSBreakAfter","OBreakAfter","breakBefore","MozBreakBefore","WebkitBreakBefore","MSBreakBefore","OBreakBefore","breakInside","MozBreakInside","WebkitBreakInside","MSBreakInside","OBreakInside","captionSide","MozCaptionSide","WebkitCaptionSide","MSCaptionSide","OCaptionSide","caretColor","MozCaretColor","WebkitCaretColor","MSCaretColor","OCaretColor","ch","MozCh","WebkitCh","MSCh","OCh","clear","MozClear","WebkitClear","MSClear","OClear","clip","MozClip","WebkitClip","MSClip","OClip","clipPath","MozClipPath","WebkitClipPath","MSClipPath","OClipPath","cm","MozCm","WebkitCm","MSCm","OCm","color","MozColor","WebkitColor","MSColor","OColor","columnCount","MozColumnCount","WebkitColumnCount","MSColumnCount","OColumnCount","columnFill","MozColumnFill","WebkitColumnFill","MSColumnFill","OColumnFill","columnGap","MozColumnGap","WebkitColumnGap","MSColumnGap","OColumnGap","columnRule","MozColumnRule","WebkitColumnRule","MSColumnRule","OColumnRule","columnRuleColor","MozColumnRuleColor","WebkitColumnRuleColor","MSColumnRuleColor","OColumnRuleColor","columnRuleStyle","MozColumnRuleStyle","WebkitColumnRuleStyle","MSColumnRuleStyle","OColumnRuleStyle","columnRuleWidth","MozColumnRuleWidth","WebkitColumnRuleWidth","MSColumnRuleWidth","OColumnRuleWidth","columnSpan","MozColumnSpan","WebkitColumnSpan","MSColumnSpan","OColumnSpan","columnWidth","MozColumnWidth","WebkitColumnWidth","MSColumnWidth","OColumnWidth","columns","MozColumns","WebkitColumns","MSColumns","OColumns","content","MozContent","WebkitContent","MSContent","OContent","counterIncrement","MozCounterIncrement","WebkitCounterIncrement","MSCounterIncrement","OCounterIncrement","counterReset","MozCounterReset","WebkitCounterReset","MSCounterReset","OCounterReset","cursor","MozCursor","WebkitCursor","MSCursor","OCursor","deg","MozDeg","WebkitDeg","MSDeg","ODeg","direction","MozDirection","WebkitDirection","MSDirection","ODirection","display","MozDisplay","WebkitDisplay","MSDisplay","ODisplay","dpcm","MozDpcm","WebkitDpcm","MSDpcm","ODpcm","dpi","MozDpi","WebkitDpi","MSDpi","ODpi","dppx","MozDppx","WebkitDppx","MSDppx","ODppx","em","MozEm","WebkitEm","MSEm","OEm","emptyCells","MozEmptyCells","WebkitEmptyCells","MSEmptyCells","OEmptyCells","ex","MozEx","WebkitEx","MSEx","OEx","filter","MozFilter","WebkitFilter","MSFilter","OFilter","flexBasis","MozFlexBasis","WebkitFlexBasis","MSFlexBasis","OFlexBasis","flexDirection","MozFlexDirection","WebkitFlexDirection","MSFlexDirection","OFlexDirection","flexFlow","MozFlexFlow","WebkitFlexFlow","MSFlexFlow","OFlexFlow","flexGrow","MozFlexGrow","WebkitFlexGrow","MSFlexGrow","OFlexGrow","flexShrink","MozFlexShrink","WebkitFlexShrink","MSFlexShrink","OFlexShrink","flexWrap","MozFlexWrap","WebkitFlexWrap","MSFlexWrap","OFlexWrap","float","MozFloat","WebkitFloat","MSFloat","OFloat","font","MozFont","WebkitFont","MSFont","OFont","fontFamily","MozFontFamily","WebkitFontFamily","MSFontFamily","OFontFamily","fontFeatureSettings","MozFontFeatureSettings","WebkitFontFeatureSettings","MSFontFeatureSettings","OFontFeatureSettings","fontKerning","MozFontKerning","WebkitFontKerning","MSFontKerning","OFontKerning","fontLanguageOverride","MozFontLanguageOverride","WebkitFontLanguageOverride","MSFontLanguageOverride","OFontLanguageOverride","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","fontSizeAdjust","MozFontSizeAdjust","WebkitFontSizeAdjust","MSFontSizeAdjust","OFontSizeAdjust","fontStretch","MozFontStretch","WebkitFontStretch","MSFontStretch","OFontStretch","fontStyle","MozFontStyle","WebkitFontStyle","MSFontStyle","OFontStyle","fontSynthesis","MozFontSynthesis","WebkitFontSynthesis","MSFontSynthesis","OFontSynthesis","fontVariant","MozFontVariant","WebkitFontVariant","MSFontVariant","OFontVariant","fontVariantAlternates","MozFontVariantAlternates","WebkitFontVariantAlternates","MSFontVariantAlternates","OFontVariantAlternates","fontVariantCaps","MozFontVariantCaps","WebkitFontVariantCaps","MSFontVariantCaps","OFontVariantCaps","fontVariantEastAsian","MozFontVariantEastAsian","WebkitFontVariantEastAsian","MSFontVariantEastAsian","OFontVariantEastAsian","fontVariantLigatures","MozFontVariantLigatures","WebkitFontVariantLigatures","MSFontVariantLigatures","OFontVariantLigatures","fontVariantNumeric","MozFontVariantNumeric","WebkitFontVariantNumeric","MSFontVariantNumeric","OFontVariantNumeric","fontVariantPosition","MozFontVariantPosition","WebkitFontVariantPosition","MSFontVariantPosition","OFontVariantPosition","fontWeight","MozFontWeight","WebkitFontWeight","MSFontWeight","OFontWeight","fr","MozFr","WebkitFr","MSFr","OFr","grad","MozGrad","WebkitGrad","MSGrad","OGrad","grid","MozGrid","WebkitGrid","MSGrid","OGrid","gridArea","MozGridArea","WebkitGridArea","MSGridArea","OGridArea","gridAutoColumns","MozGridAutoColumns","WebkitGridAutoColumns","MSGridAutoColumns","OGridAutoColumns","gridAutoFlow","MozGridAutoFlow","WebkitGridAutoFlow","MSGridAutoFlow","OGridAutoFlow","gridAutoRows","MozGridAutoRows","WebkitGridAutoRows","MSGridAutoRows","OGridAutoRows","gridColumn","MozGridColumn","WebkitGridColumn","MSGridColumn","OGridColumn","gridColumnEnd","MozGridColumnEnd","WebkitGridColumnEnd","MSGridColumnEnd","OGridColumnEnd","gridColumnGap","MozGridColumnGap","WebkitGridColumnGap","MSGridColumnGap","OGridColumnGap","gridColumnStart","MozGridColumnStart","WebkitGridColumnStart","MSGridColumnStart","OGridColumnStart","gridGap","MozGridGap","WebkitGridGap","MSGridGap","OGridGap","gridRow","MozGridRow","WebkitGridRow","MSGridRow","OGridRow","gridRowEnd","MozGridRowEnd","WebkitGridRowEnd","MSGridRowEnd","OGridRowEnd","gridRowGap","MozGridRowGap","WebkitGridRowGap","MSGridRowGap","OGridRowGap","gridRowStart","MozGridRowStart","WebkitGridRowStart","MSGridRowStart","OGridRowStart","gridTemplate","MozGridTemplate","WebkitGridTemplate","MSGridTemplate","OGridTemplate","gridTemplateAreas","MozGridTemplateAreas","WebkitGridTemplateAreas","MSGridTemplateAreas","OGridTemplateAreas","gridTemplateColumns","MozGridTemplateColumns","WebkitGridTemplateColumns","MSGridTemplateColumns","OGridTemplateColumns","gridTemplateRows","MozGridTemplateRows","WebkitGridTemplateRows","MSGridTemplateRows","OGridTemplateRows","height","MozHeight","WebkitHeight","MSHeight","OHeight","hyphens","MozHyphens","WebkitHyphens","MSHyphens","OHyphens","hz","MozHz","WebkitHz","MSHz","OHz","imageOrientation","MozImageOrientation","WebkitImageOrientation","MSImageOrientation","OImageOrientation","imageRendering","MozImageRendering","WebkitImageRendering","MSImageRendering","OImageRendering","imageResolution","MozImageResolution","WebkitImageResolution","MSImageResolution","OImageResolution","imeMode","MozImeMode","WebkitImeMode","MSImeMode","OImeMode","in","MozIn","WebkitIn","MSIn","OIn","inherit","MozInherit","WebkitInherit","MSInherit","OInherit","initial","MozInitial","WebkitInitial","MSInitial","OInitial","inlineSize","MozInlineSize","WebkitInlineSize","MSInlineSize","OInlineSize","isolation","MozIsolation","WebkitIsolation","MSIsolation","OIsolation","justifyContent","MozJustifyContent","WebkitJustifyContent","MSJustifyContent","OJustifyContent","khz","MozKhz","WebkitKhz","MSKhz","OKhz","left","MozLeft","WebkitLeft","MSLeft","OLeft","letterSpacing","MozLetterSpacing","WebkitLetterSpacing","MSLetterSpacing","OLetterSpacing","lineBreak","MozLineBreak","WebkitLineBreak","MSLineBreak","OLineBreak","lineHeight","MozLineHeight","WebkitLineHeight","MSLineHeight","OLineHeight","listStyle","MozListStyle","WebkitListStyle","MSListStyle","OListStyle","listStyleImage","MozListStyleImage","WebkitListStyleImage","MSListStyleImage","OListStyleImage","listStylePosition","MozListStylePosition","WebkitListStylePosition","MSListStylePosition","OListStylePosition","listStyleType","MozListStyleType","WebkitListStyleType","MSListStyleType","OListStyleType","margin","MozMargin","WebkitMargin","MSMargin","OMargin","marginBlockEnd","MozMarginBlockEnd","WebkitMarginBlockEnd","MSMarginBlockEnd","OMarginBlockEnd","marginBlockStart","MozMarginBlockStart","WebkitMarginBlockStart","MSMarginBlockStart","OMarginBlockStart","marginBottom","MozMarginBottom","WebkitMarginBottom","MSMarginBottom","OMarginBottom","marginInlineEnd","MozMarginInlineEnd","WebkitMarginInlineEnd","MSMarginInlineEnd","OMarginInlineEnd","marginInlineStart","MozMarginInlineStart","WebkitMarginInlineStart","MSMarginInlineStart","OMarginInlineStart","marginLeft","MozMarginLeft","WebkitMarginLeft","MSMarginLeft","OMarginLeft","marginRight","MozMarginRight","WebkitMarginRight","MSMarginRight","OMarginRight","marginTop","MozMarginTop","WebkitMarginTop","MSMarginTop","OMarginTop","mask","MozMask","WebkitMask","MSMask","OMask","maskClip","MozMaskClip","WebkitMaskClip","MSMaskClip","OMaskClip","maskComposite","MozMaskComposite","WebkitMaskComposite","MSMaskComposite","OMaskComposite","maskImage","MozMaskImage","WebkitMaskImage","MSMaskImage","OMaskImage","maskMode","MozMaskMode","WebkitMaskMode","MSMaskMode","OMaskMode","maskOrigin","MozMaskOrigin","WebkitMaskOrigin","MSMaskOrigin","OMaskOrigin","maskPosition","MozMaskPosition","WebkitMaskPosition","MSMaskPosition","OMaskPosition","maskRepeat","MozMaskRepeat","WebkitMaskRepeat","MSMaskRepeat","OMaskRepeat","maskSize","MozMaskSize","WebkitMaskSize","MSMaskSize","OMaskSize","maskType","MozMaskType","WebkitMaskType","MSMaskType","OMaskType","maxHeight","MozMaxHeight","WebkitMaxHeight","MSMaxHeight","OMaxHeight","maxWidth","MozMaxWidth","WebkitMaxWidth","MSMaxWidth","OMaxWidth","minBlockSize","MozMinBlockSize","WebkitMinBlockSize","MSMinBlockSize","OMinBlockSize","minHeight","MozMinHeight","WebkitMinHeight","MSMinHeight","OMinHeight","minInlineSize","MozMinInlineSize","WebkitMinInlineSize","MSMinInlineSize","OMinInlineSize","minWidth","MozMinWidth","WebkitMinWidth","MSMinWidth","OMinWidth","mixBlendMode","MozMixBlendMode","WebkitMixBlendMode","MSMixBlendMode","OMixBlendMode","mm","MozMm","WebkitMm","MSMm","OMm","ms","MozMs","WebkitMs","MSMs","OMs","objectFit","MozObjectFit","WebkitObjectFit","MSObjectFit","OObjectFit","objectPosition","MozObjectPosition","WebkitObjectPosition","MSObjectPosition","OObjectPosition","offsetBlockEnd","MozOffsetBlockEnd","WebkitOffsetBlockEnd","MSOffsetBlockEnd","OOffsetBlockEnd","offsetBlockStart","MozOffsetBlockStart","WebkitOffsetBlockStart","MSOffsetBlockStart","OOffsetBlockStart","offsetInlineEnd","MozOffsetInlineEnd","WebkitOffsetInlineEnd","MSOffsetInlineEnd","OOffsetInlineEnd","offsetInlineStart","MozOffsetInlineStart","WebkitOffsetInlineStart","MSOffsetInlineStart","OOffsetInlineStart","opacity","MozOpacity","WebkitOpacity","MSOpacity","OOpacity","order","MozOrder","WebkitOrder","MSOrder","OOrder","orphans","MozOrphans","WebkitOrphans","MSOrphans","OOrphans","outline","MozOutline","WebkitOutline","MSOutline","OOutline","outlineColor","MozOutlineColor","WebkitOutlineColor","MSOutlineColor","OOutlineColor","outlineOffset","MozOutlineOffset","WebkitOutlineOffset","MSOutlineOffset","OOutlineOffset","outlineStyle","MozOutlineStyle","WebkitOutlineStyle","MSOutlineStyle","OOutlineStyle","outlineWidth","MozOutlineWidth","WebkitOutlineWidth","MSOutlineWidth","OOutlineWidth","overflow","MozOverflow","WebkitOverflow","MSOverflow","OOverflow","overflowWrap","MozOverflowWrap","WebkitOverflowWrap","MSOverflowWrap","OOverflowWrap","overflowX","MozOverflowX","WebkitOverflowX","MSOverflowX","OOverflowX","overflowY","MozOverflowY","WebkitOverflowY","MSOverflowY","OOverflowY","padding","MozPadding","WebkitPadding","MSPadding","OPadding","paddingBlockEnd","MozPaddingBlockEnd","WebkitPaddingBlockEnd","MSPaddingBlockEnd","OPaddingBlockEnd","paddingBlockStart","MozPaddingBlockStart","WebkitPaddingBlockStart","MSPaddingBlockStart","OPaddingBlockStart","paddingBottom","MozPaddingBottom","WebkitPaddingBottom","MSPaddingBottom","OPaddingBottom","paddingInlineEnd","MozPaddingInlineEnd","WebkitPaddingInlineEnd","MSPaddingInlineEnd","OPaddingInlineEnd","paddingInlineStart","MozPaddingInlineStart","WebkitPaddingInlineStart","MSPaddingInlineStart","OPaddingInlineStart","paddingLeft","MozPaddingLeft","WebkitPaddingLeft","MSPaddingLeft","OPaddingLeft","paddingRight","MozPaddingRight","WebkitPaddingRight","MSPaddingRight","OPaddingRight","paddingTop","MozPaddingTop","WebkitPaddingTop","MSPaddingTop","OPaddingTop","pageBreakAfter","MozPageBreakAfter","WebkitPageBreakAfter","MSPageBreakAfter","OPageBreakAfter","pageBreakBefore","MozPageBreakBefore","WebkitPageBreakBefore","MSPageBreakBefore","OPageBreakBefore","pageBreakInside","MozPageBreakInside","WebkitPageBreakInside","MSPageBreakInside","OPageBreakInside","pc","MozPc","WebkitPc","MSPc","OPc","perspective","MozPerspective","WebkitPerspective","MSPerspective","OPerspective","perspectiveOrigin","MozPerspectiveOrigin","WebkitPerspectiveOrigin","MSPerspectiveOrigin","OPerspectiveOrigin","pointerEvents","MozPointerEvents","WebkitPointerEvents","MSPointerEvents","OPointerEvents","position","MozPosition","WebkitPosition","MSPosition","OPosition","pt","MozPt","WebkitPt","MSPt","OPt","px","MozPx","WebkitPx","MSPx","OPx","q","MozQ","WebkitQ","MSQ","OQ","quotes","MozQuotes","WebkitQuotes","MSQuotes","OQuotes","rad","MozRad","WebkitRad","MSRad","ORad","rem","MozRem","WebkitRem","MSRem","ORem","resize","MozResize","WebkitResize","MSResize","OResize","revert","MozRevert","WebkitRevert","MSRevert","ORevert","right","MozRight","WebkitRight","MSRight","ORight","rubyAlign","MozRubyAlign","WebkitRubyAlign","MSRubyAlign","ORubyAlign","rubyMerge","MozRubyMerge","WebkitRubyMerge","MSRubyMerge","ORubyMerge","rubyPosition","MozRubyPosition","WebkitRubyPosition","MSRubyPosition","ORubyPosition","s","MozS","WebkitS","MSS","OS","scrollBehavior","MozScrollBehavior","WebkitScrollBehavior","MSScrollBehavior","OScrollBehavior","scrollSnapCoordinate","MozScrollSnapCoordinate","WebkitScrollSnapCoordinate","MSScrollSnapCoordinate","OScrollSnapCoordinate","scrollSnapDestination","MozScrollSnapDestination","WebkitScrollSnapDestination","MSScrollSnapDestination","OScrollSnapDestination","scrollSnapType","MozScrollSnapType","WebkitScrollSnapType","MSScrollSnapType","OScrollSnapType","shapeImageThreshold","MozShapeImageThreshold","WebkitShapeImageThreshold","MSShapeImageThreshold","OShapeImageThreshold","shapeMargin","MozShapeMargin","WebkitShapeMargin","MSShapeMargin","OShapeMargin","shapeOutside","MozShapeOutside","WebkitShapeOutside","MSShapeOutside","OShapeOutside","tabSize","MozTabSize","WebkitTabSize","MSTabSize","OTabSize","tableLayout","MozTableLayout","WebkitTableLayout","MSTableLayout","OTableLayout","textAlign","MozTextAlign","WebkitTextAlign","MSTextAlign","OTextAlign","textAlignLast","MozTextAlignLast","WebkitTextAlignLast","MSTextAlignLast","OTextAlignLast","textCombineUpright","MozTextCombineUpright","WebkitTextCombineUpright","MSTextCombineUpright","OTextCombineUpright","textDecoration","MozTextDecoration","WebkitTextDecoration","MSTextDecoration","OTextDecoration","textDecorationColor","MozTextDecorationColor","WebkitTextDecorationColor","MSTextDecorationColor","OTextDecorationColor","textDecorationLine","MozTextDecorationLine","WebkitTextDecorationLine","MSTextDecorationLine","OTextDecorationLine","textDecorationStyle","MozTextDecorationStyle","WebkitTextDecorationStyle","MSTextDecorationStyle","OTextDecorationStyle","textEmphasis","MozTextEmphasis","WebkitTextEmphasis","MSTextEmphasis","OTextEmphasis","textEmphasisColor","MozTextEmphasisColor","WebkitTextEmphasisColor","MSTextEmphasisColor","OTextEmphasisColor","textEmphasisPosition","MozTextEmphasisPosition","WebkitTextEmphasisPosition","MSTextEmphasisPosition","OTextEmphasisPosition","textEmphasisStyle","MozTextEmphasisStyle","WebkitTextEmphasisStyle","MSTextEmphasisStyle","OTextEmphasisStyle","textIndent","MozTextIndent","WebkitTextIndent","MSTextIndent","OTextIndent","textOrientation","MozTextOrientation","WebkitTextOrientation","MSTextOrientation","OTextOrientation","textOverflow","MozTextOverflow","WebkitTextOverflow","MSTextOverflow","OTextOverflow","textRendering","MozTextRendering","WebkitTextRendering","MSTextRendering","OTextRendering","textShadow","MozTextShadow","WebkitTextShadow","MSTextShadow","OTextShadow","textTransform","MozTextTransform","WebkitTextTransform","MSTextTransform","OTextTransform","textUnderlinePosition","MozTextUnderlinePosition","WebkitTextUnderlinePosition","MSTextUnderlinePosition","OTextUnderlinePosition","top","MozTop","WebkitTop","MSTop","OTop","touchAction","MozTouchAction","WebkitTouchAction","MSTouchAction","OTouchAction","transform","MozTransform","WebkitTransform","msTransform","OTransform","transformBox","MozTransformBox","WebkitTransformBox","MSTransformBox","OTransformBox","transformOrigin","MozTransformOrigin","WebkitTransformOrigin","MSTransformOrigin","OTransformOrigin","transformStyle","MozTransformStyle","WebkitTransformStyle","MSTransformStyle","OTransformStyle","transition","MozTransition","WebkitTransition","MSTransition","OTransition","transitionDelay","MozTransitionDelay","WebkitTransitionDelay","MSTransitionDelay","OTransitionDelay","transitionDuration","MozTransitionDuration","WebkitTransitionDuration","MSTransitionDuration","OTransitionDuration","transitionProperty","MozTransitionProperty","WebkitTransitionProperty","MSTransitionProperty","OTransitionProperty","transitionTimingFunction","MozTransitionTimingFunction","WebkitTransitionTimingFunction","MSTransitionTimingFunction","OTransitionTimingFunction","turn","MozTurn","WebkitTurn","MSTurn","OTurn","unicodeBidi","MozUnicodeBidi","WebkitUnicodeBidi","MSUnicodeBidi","OUnicodeBidi","unset","MozUnset","WebkitUnset","MSUnset","OUnset","verticalAlign","MozVerticalAlign","WebkitVerticalAlign","MSVerticalAlign","OVerticalAlign","vh","MozVh","WebkitVh","MSVh","OVh","visibility","MozVisibility","WebkitVisibility","MSVisibility","OVisibility","vmax","MozVmax","WebkitVmax","MSVmax","OVmax","vmin","MozVmin","WebkitVmin","MSVmin","OVmin","vw","MozVw","WebkitVw","MSVw","OVw","whiteSpace","MozWhiteSpace","WebkitWhiteSpace","MSWhiteSpace","OWhiteSpace","widows","MozWidows","WebkitWidows","MSWidows","OWidows","width","MozWidth","WebkitWidth","MSWidth","OWidth","willChange","MozWillChange","WebkitWillChange","MSWillChange","OWillChange","wordBreak","MozWordBreak","WebkitWordBreak","MSWordBreak","OWordBreak","wordSpacing","MozWordSpacing","WebkitWordSpacing","MSWordSpacing","OWordSpacing","wordWrap","MozWordWrap","WebkitWordWrap","MSWordWrap","OWordWrap","writingMode","MozWritingMode","WebkitWritingMode","MSWritingMode","OWritingMode","zIndex","MozZIndex","WebkitZIndex","MSZIndex","OZIndex","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","flex","MozFlex","WebkitFlex","MSFlex","OFlex","fr","MozFr","WebkitFr","MSFr","OFr","overflowScrolling","MozOverflowScrolling","WebkitOverflowScrolling","MSOverflowScrolling","OOverflowScrolling","userSelect","MozUserSelect","WebkitUserSelect","MSUserSelect","OUserSelect"]},25473:(t,e,n)=>{var r=n(2787),o=n(95099);t.exports=function(t,e,n){var o=t[e];if(o){var i=[];if(Object.keys(o).forEach((function(t){-1===r.indexOf(t)&&i.push(t)})),i.length)throw new Error("Prop "+e+" passed to "+n+". Has invalid keys "+i.join(", "))}},t.exports.isRequired=function(e,n,r){if(!e[n])throw new Error("Prop "+n+" passed to "+r+" is required");return t.exports(e,n,r)},t.exports.supportingArrays=o.oneOfType([o.arrayOf(t.exports),t.exports])},42400:(t,e,n)=>{"use strict";n.d(e,{$:()=>st});var r=n(8156),o=n.n(r),i=n(75877),a=n(87935),s=n(18149),u=n.n(s),l=n(1842),c=n.n(l),p=n(84618),f=n(18694),h=n(11011),d=n(29259),g=n.n(d),y=n(61049),v=n.n(y),m=n(56974),b=n.n(m),x=n(81224),O=n(79376),S=n(24847);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}var M=["valueAccessor"],E=["data","dataKey","clockWise","id","textBreakAll"];function k(t){return function(t){if(Array.isArray(t))return C(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return C(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function P(){return P=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},P.apply(this,arguments)}function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function j(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){T(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function T(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==w(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===w(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var B=function(t){return Array.isArray(t.value)?b()(t.value):t.value};function D(t){var e=t.valueAccessor,n=void 0===e?B:e,r=_(t,M),i=r.data,a=r.dataKey,s=r.clockWise,u=r.id,l=r.textBreakAll,f=_(r,E);return i&&i.length?o().createElement(p.m,{className:"recharts-label-list"},i.map((function(t,e){var r=c()(a)?n(t,e):(0,S.F$)(t&&t.payload,a),i=c()(u)?{}:{id:"".concat(u,"-").concat(e)};return o().createElement(x._,P({},(0,O.L6)(t,!0),f,i,{parentViewBox:t.parentViewBox,value:r,textBreakAll:l,viewBox:x._.parseViewBox(c()(s)?t:j(j({},t),{},{clockWise:s})),key:"label-".concat(e),index:e}))}))):null}function I(t,e){return t?!0===t?o().createElement(D,{key:"labelList-implicit",data:e}):o().isValidElement(t)||v()(t)?o().createElement(D,{key:"labelList-implicit",data:e,content:t}):g()(t)?o().createElement(D,P({data:e},t,{key:"labelList-implicit"})):null:null}D.displayName="LabelList",D.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var o=t.children,i=(0,O.NN)(o,D).map((function(t,n){return(0,r.cloneElement)(t,{data:e,key:"labelList-".concat(n)})}));if(!n)return i;var a=I(t.label,e);return[a].concat(k(i))};var L=n(15027),z=n(79499),R=n(21442),W=n(29742);function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}var F=["x","y"];function U(){return U=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},U.apply(this,arguments)}function V(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function G(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?V(Object(n),!0).forEach((function(e){q(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function q(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==N(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==N(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===N(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function H(t,e){var n=t.x,r=t.y,o=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,F),i="".concat(n),a=parseInt(i,10),s="".concat(r),u=parseInt(s,10),l="".concat(e.height||o.height),c=parseInt(l,10),p="".concat(e.width||o.width),f=parseInt(p,10);return G(G(G(G(G({},e),o),a?{x:a}:{}),u?{y:u}:{}),{},{height:c,width:f,name:e.name,radius:e.radius})}function Z(t){return o().createElement(W.bn,U({shapeType:"rectangle",propTransformer:H,activeClassName:"recharts-active-bar"},t))}var $=["value","background"];function Y(t){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y(t)}function X(){return X=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},X.apply(this,arguments)}function K(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?K(Object(n),!0).forEach((function(e){it(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function J(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,at(r.key),r)}}function et(t,e){return et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},et(t,e)}function nt(t,e){if(e&&("object"===Y(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return rt(t)}function rt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ot(t){return ot=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ot(t)}function it(t,e,n){return(e=at(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function at(t){var e=function(t,e){if("object"!==Y(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==Y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Y(e)?e:String(e)}var st=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&et(t,e)}(d,t);var e,n,r,s,l,h=(s=d,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=ot(s);if(l){var n=ot(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return nt(this,t)});function d(){var t;J(this,d);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return it(rt(t=h.call.apply(h,[this].concat(n))),"state",{isAnimationFinished:!1}),it(rt(t),"id",(0,L.EL)("recharts-bar-")),it(rt(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()})),it(rt(t),"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()})),t}return e=d,r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],(n=[{key:"renderRectanglesStatically",value:function(t){var e=this,n=this.props,r=n.shape,i=n.dataKey,a=n.activeIndex,s=n.activeBar,u=(0,O.L6)(this.props);return t&&t.map((function(t,n){var l=n===a,c=l?s:r,f=Q(Q(Q({},u),t),{},{isActive:l,option:c,index:n,dataKey:i,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return o().createElement(p.m,X({className:"recharts-bar-rectangle"},(0,R.bw)(e.props,t,n),{key:"rectangle-".concat(n)}),o().createElement(Z,f))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,n=e.data,r=e.layout,i=e.isAnimationActive,s=e.animationBegin,u=e.animationDuration,l=e.animationEasing,c=e.animationId,f=this.state.prevData;return o().createElement(a.ZP,{begin:s,duration:u,isActive:i,easing:l,from:{t:0},to:{t:1},key:"bar-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var i=e.t,a=n.map((function(t,e){var n=f&&f[e];if(n){var o=(0,L.k4)(n.x,t.x),a=(0,L.k4)(n.y,t.y),s=(0,L.k4)(n.width,t.width),u=(0,L.k4)(n.height,t.height);return Q(Q({},t),{},{x:o(i),y:a(i),width:s(i),height:u(i)})}if("horizontal"===r){var l=(0,L.k4)(0,t.height)(i);return Q(Q({},t),{},{y:t.y+t.height-l,height:l})}var c=(0,L.k4)(0,t.width)(i);return Q(Q({},t),{},{width:c})}));return o().createElement(p.m,null,t.renderRectanglesStatically(a))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,n=t.isAnimationActive,r=this.state.prevData;return!(n&&e&&e.length)||r&&u()(r,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props,n=e.data,r=e.dataKey,i=e.activeIndex,a=(0,O.L6)(this.props.background);return n.map((function(e,n){e.value;var s=e.background,u=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(e,$);if(!s)return null;var l=Q(Q(Q(Q(Q({},u),{},{fill:"#eee"},s),a),(0,R.bw)(t.props,e,n)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:r,index:n,key:"background-bar-".concat(n),className:"recharts-bar-background-rectangle"});return o().createElement(Z,X({option:t.props.background,isActive:n===i},l))}))}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.data,i=n.xAxis,a=n.yAxis,s=n.layout,u=n.children,l=(0,O.NN)(u,f.W);if(!l)return null;var c="vertical"===s?r[0].height/2:r[0].width/2,h=function(t,e){var n=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:n,errorVal:(0,S.F$)(t,e)}},d={clipPath:t?"url(#clipPath-".concat(e,")"):null};return o().createElement(p.m,d,l.map((function(t,e){return o().cloneElement(t,{key:"error-bar-".concat(e),data:r,xAxis:i,yAxis:a,layout:s,offset:c,dataPointFormatter:h})})))}},{key:"render",value:function(){var t=this.props,e=t.hide,n=t.data,r=t.className,a=t.xAxis,s=t.yAxis,u=t.left,l=t.top,f=t.width,h=t.height,d=t.isAnimationActive,g=t.background,y=t.id;if(e||!n||!n.length)return null;var v=this.state.isAnimationFinished,m=(0,i.Z)("recharts-bar",r),b=a&&a.allowDataOverflow,x=s&&s.allowDataOverflow,O=b||x,S=c()(y)?this.id:y;return o().createElement(p.m,{className:m},b||x?o().createElement("defs",null,o().createElement("clipPath",{id:"clipPath-".concat(S)},o().createElement("rect",{x:b?u:u-f/2,y:x?l:l-h/2,width:b?f:2*f,height:x?h:2*h}))):null,o().createElement(p.m,{className:"recharts-bar-rectangles",clipPath:O?"url(#clipPath-".concat(S,")"):null},g?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(O,S),(!d||v)&&D.renderCallByParent(this.props,n))}}])&&tt(e.prototype,n),r&&tt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),d}(r.PureComponent);it(st,"displayName","Bar"),it(st,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!0,isAnimationActive:!z.x.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),it(st,"getComposedData",(function(t){var e=t.props,n=t.item,r=t.barPosition,o=t.bandSize,i=t.xAxis,a=t.yAxis,s=t.xAxisTicks,u=t.yAxisTicks,l=t.stackedData,c=t.dataStartIndex,p=t.displayedData,f=t.offset,d=(0,S.Bu)(r,n);if(!d)return null;var g=e.layout,y=n.props,v=y.dataKey,m=y.children,b=y.minPointSize,x="horizontal"===g?a:i,w=l?x.scale.domain():null,M=(0,S.Yj)({numericAxis:x}),E=(0,O.NN)(m,h.b),k=p.map((function(t,e){var r,p,f,h,y,m;if(l?r=(0,S.Vv)(l[c+e],w):(r=(0,S.F$)(t,v),Array.isArray(r)||(r=[M,r])),"horizontal"===g){var x,O=[a.scale(r[0]),a.scale(r[1])],k=O[0],C=O[1];p=(0,S.Fy)({axis:i,ticks:s,bandSize:o,offset:d.offset,entry:t,index:e}),f=null!==(x=null!=C?C:k)&&void 0!==x?x:void 0,h=d.size;var P=k-C;if(y=Number.isNaN(P)?0:P,m={x:p,y:a.y,width:h,height:a.height},Math.abs(b)>0&&Math.abs(y)<Math.abs(b)){var A=(0,L.uY)(y||b)*(Math.abs(b)-Math.abs(y));f-=A,y+=A}}else{var j=[i.scale(r[0]),i.scale(r[1])],T=j[0],_=j[1];p=T,f=(0,S.Fy)({axis:a,ticks:u,bandSize:o,offset:d.offset,entry:t,index:e}),h=_-T,y=d.size,m={x:i.x,y:f,width:i.width,height:y},Math.abs(b)>0&&Math.abs(h)<Math.abs(b)&&(h+=(0,L.uY)(h||b)*(Math.abs(b)-Math.abs(h)))}return Q(Q(Q({},t),{},{x:p,y:f,width:h,height:y,value:l?r:r[1],payload:t,background:m},E&&E[e]&&E[e].props),{},{tooltipPayload:[(0,S.Qo)(n,t)],tooltipPosition:{x:p+h/2,y:f+y/2}})}));return Q({data:k,layout:g},f)}))},55484:(t,e,n)=>{"use strict";n.d(e,{q:()=>w});var r=n(8156),o=n.n(r),i=n(61049),a=n.n(i),s=n(15027),u=n(79376),l=["x1","y1","x2","y2","key"],c=["offset"];function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function f(){return f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},f.apply(this,arguments)}function h(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function g(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){O(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,S(r.key),r)}}function m(t,e){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},m(t,e)}function b(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function x(t){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},x(t)}function O(t,e,n){return(e=S(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function S(t){var e=function(t,e){if("object"!==p(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===p(e)?e:String(e)}var w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&m(t,e)}(O,t);var e,n,r,i,p,d=(i=O,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=x(i);if(p){var n=x(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return b(this,t)});function O(){return y(this,O),d.apply(this,arguments)}return e=O,r=[{key:"renderLineItem",value:function(t,e){var n;if(o().isValidElement(t))n=o().cloneElement(t,e);else if(a()(t))n=t(e);else{var r=e.x1,i=e.y1,s=e.x2,p=e.y2,d=e.key,g=h(e,l),y=(0,u.L6)(g),v=(y.offset,h(y,c));n=o().createElement("line",f({},v,{x1:r,y1:i,x2:s,y2:p,fill:"none",key:d}))}return n}}],(n=[{key:"renderHorizontal",value:function(t){var e=this,n=this.props,r=n.x,i=n.width,a=n.horizontal;if(!t||!t.length)return null;var s=t.map((function(t,n){var o=g(g({},e.props),{},{x1:r,y1:t,x2:r+i,y2:t,key:"line-".concat(n),index:n});return O.renderLineItem(a,o)}));return o().createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}},{key:"renderVertical",value:function(t){var e=this,n=this.props,r=n.y,i=n.height,a=n.vertical;if(!t||!t.length)return null;var s=t.map((function(t,n){var o=g(g({},e.props),{},{x1:t,y1:r,x2:t,y2:r+i,key:"line-".concat(n),index:n});return O.renderLineItem(a,o)}));return o().createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}},{key:"renderVerticalStripes",value:function(t){var e=this.props.verticalFill;if(!e||!e.length)return null;var n=this.props,r=n.fillOpacity,i=n.x,a=n.y,s=n.width,u=n.height,l=t.map((function(t){return Math.round(t+i-i)})).sort((function(t,e){return t-e}));i!==l[0]&&l.unshift(0);var c=l.map((function(t,n){var c=l[n+1]?l[n+1]-t:i+s-t;if(c<=0)return null;var p=n%e.length;return o().createElement("rect",{key:"react-".concat(n),x:t,y:a,width:c,height:u,stroke:"none",fill:e[p],fillOpacity:r,className:"recharts-cartesian-grid-bg"})}));return o().createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},c)}},{key:"renderHorizontalStripes",value:function(t){var e=this.props.horizontalFill;if(!e||!e.length)return null;var n=this.props,r=n.fillOpacity,i=n.x,a=n.y,s=n.width,u=n.height,l=t.map((function(t){return Math.round(t+a-a)})).sort((function(t,e){return t-e}));a!==l[0]&&l.unshift(0);var c=l.map((function(t,n){var c=l[n+1]?l[n+1]-t:a+u-t;if(c<=0)return null;var p=n%e.length;return o().createElement("rect",{key:"react-".concat(n),y:t,x:i,height:c,width:s,stroke:"none",fill:e[p],fillOpacity:r,className:"recharts-cartesian-grid-bg"})}));return o().createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},c)}},{key:"renderBackground",value:function(){var t=this.props.fill;if(!t||"none"===t)return null;var e=this.props,n=e.fillOpacity,r=e.x,i=e.y,a=e.width,s=e.height;return o().createElement("rect",{x:r,y:i,width:a,height:s,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,u=t.horizontal,l=t.vertical,c=t.horizontalCoordinatesGenerator,p=t.verticalCoordinatesGenerator,f=t.xAxis,h=t.yAxis,d=t.offset,y=t.chartWidth,v=t.chartHeight,m=t.syncWithTicks,b=t.horizontalValues,x=t.verticalValues;if(!(0,s.hj)(r)||r<=0||!(0,s.hj)(i)||i<=0||!(0,s.hj)(e)||e!==+e||!(0,s.hj)(n)||n!==+n)return null;var O=this.props,S=O.horizontalPoints,w=O.verticalPoints;if((!S||!S.length)&&a()(c)){var M=b&&b.length;S=c({yAxis:h?g(g({},h),{},{ticks:M?b:h.ticks}):void 0,width:y,height:v,offset:d},!!M||m)}if((!w||!w.length)&&a()(p)){var E=x&&x.length;w=p({xAxis:f?g(g({},f),{},{ticks:E?x:f.ticks}):void 0,width:y,height:v,offset:d},!!E||m)}return o().createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),u&&this.renderHorizontal(S),l&&this.renderVertical(w),u&&this.renderHorizontalStripes(S),l&&this.renderVerticalStripes(w))}}])&&v(e.prototype,n),r&&v(e,r),Object.defineProperty(e,"prototype",{writable:!1}),O}(r.PureComponent);O(w,"displayName","CartesianGrid"),O(w,"defaultProps",{horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]})},18694:(t,e,n)=>{"use strict";n.d(e,{W:()=>c});var r=n(8156),o=n.n(r),i=n(84618),a=n(79376),s=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u.apply(this,arguments)}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t){var e=t.offset,n=t.layout,r=t.width,c=t.dataKey,p=t.data,f=t.dataPointFormatter,h=t.xAxis,d=t.yAxis,g=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,s),y=(0,a.L6)(g),v=p.map((function(t,a){var s=f(t,c),p=s.x,g=s.y,v=s.value,m=s.errorVal;if(!m)return null;var b,x,O=[];if(Array.isArray(m)){var S=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(m,2);b=S[0],x=S[1]}else b=x=m;if("vertical"===n){var w=h.scale,M=g+e,E=M+r,k=M-r,C=w(v-b),P=w(v+x);O.push({x1:P,y1:E,x2:P,y2:k}),O.push({x1:C,y1:M,x2:P,y2:M}),O.push({x1:C,y1:E,x2:C,y2:k})}else if("horizontal"===n){var A=d.scale,j=p+e,T=j-r,_=j+r,B=A(v-b),D=A(v+x);O.push({x1:T,y1:D,x2:_,y2:D}),O.push({x1:j,y1:B,x2:j,y2:D}),O.push({x1:T,y1:B,x2:_,y2:B})}return o().createElement(i.m,u({className:"recharts-errorBar",key:"bar-".concat(a)},y),O.map((function(t,e){return o().createElement("line",u({},t,{key:"line-".concat(e)}))})))}));return o().createElement(i.m,{className:"recharts-errorBars"},v)}c.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},c.displayName="ErrorBar"},25556:(t,e,n)=>{"use strict";n.d(e,{K:()=>r});var r=function(){return null};r.displayName="XAxis",r.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0}},3131:(t,e,n)=>{"use strict";n.d(e,{B:()=>r});var r=function(){return null};r.displayName="YAxis",r.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1}},19406:(t,e,n)=>{"use strict";n.d(e,{v:()=>ir});var r=n(8156),o=n.n(r),i=n(1842),a=n.n(i),s=n(61049),u=n.n(s),l=n(2689),c=n.n(l),p=n(72579),f=n.n(p),h=n(829),d=n.n(h),g=n(12436),y=n.n(g),v=n(55281),m=n.n(v),b=n(39794),x=n.n(b),O=n(75877),S=n(22089);function w(t){var e=t.cx,n=t.cy,r=t.radius,o=t.startAngle,i=t.endAngle;return{points:[(0,S.op)(e,n,r,o),(0,S.op)(e,n,r,i)],cx:e,cy:n,radius:r,startAngle:o,endAngle:i}}var M=n(15027),E=n(88089),k=n(79499),C=n(34519),P=n.n(C),A=n(24847),j=n(79376),T=n(42400);function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,z(r.key),r)}}function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(Object(n),!0).forEach((function(e){L(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function L(t,e,n){return(e=z(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function z(t){var e=function(t,e){if("object"!==_(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===_(e)?e:String(e)}var R=function(t,e){var n=t.x,r=t.y,o=e.x,i=e.y;return{x:Math.min(n,o),y:Math.min(r,i),width:Math.abs(o-n),height:Math.abs(i-r)}},W=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=e}var e,n,r;return e=t,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}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.bandAware,r=e.position;if(void 0!==t){if(r)switch(r){case"start":default:return this.scale(t);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),n=e[0],r=e[e.length-1];return n<=r?t>=n&&t<=r:t>=r&&t<=n}}],r=[{key:"create",value:function(e){return new t(e)}}],n&&B(e.prototype,n),r&&B(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();L(W,"EPS",1e-4);var N=function(t){var e=Object.keys(t).reduce((function(e,n){return I(I({},e),{},L({},n,W.create(t[n])))}),{});return I(I({},e),{},{apply:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,o=n.position;return P()(t,(function(t,n){return e[n].apply(t,{bandAware:r,position:o})}))},isInRange:function(t){return x()(t,(function(t,n){return e[n].isInRange(t)}))}})};function F(t){return(t%180+180)%180}function U(t,e,n){if(e<1)return[];if(1===e&&void 0===n)return t;for(var r=[],o=0;o<t.length;o+=e){if(void 0!==n&&!0!==n(t[o]))return;r.push(t[o])}return r}function V(t,e,n,r,o){if(t*e<t*r||t*e>t*o)return!1;var i=n();return t*(e-t*i/2-r)>=0&&t*(e+t*i/2-o)<=0}function G(t){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},G(t)}function q(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function H(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?q(Object(n),!0).forEach((function(e){Z(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Z(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==G(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==G(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===G(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $(t,e,n){var r=t.tick,o=t.ticks,i=t.viewBox,a=t.minTickGap,s=t.orientation,l=t.interval,c=t.tickFormatter,p=t.unit,f=t.angle;if(!o||!o.length||!r)return[];if((0,M.hj)(l)||k.x.isSsr)return function(t,e){return U(t,e+1)}(o,"number"==typeof l&&(0,M.hj)(l)?l:0);var h=[],d="top"===s||"bottom"===s?"width":"height",g=p&&"width"===d?(0,E.xE)(p,{fontSize:e,letterSpacing:n}):{width:0,height:0},y=function(t,r){var o=u()(c)?c(t.value,r):t.value;return"width"===d?function(t,e,n){return function(t){var e=t.width,n=t.height,r=F(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)*Math.PI/180,o=Math.atan(n/e),i=r>o&&r<Math.PI-o?n/Math.sin(r):e/Math.cos(r);return Math.abs(i)}({width:t.width+e.width,height:t.height+e.height},n)}((0,E.xE)(o,{fontSize:e,letterSpacing:n}),g,f):(0,E.xE)(o,{fontSize:e,letterSpacing:n})[d]},v=o.length>=2?(0,M.uY)(o[1].coordinate-o[0].coordinate):1,m=function(t,e,n){var r="width"===n,o=t.x,i=t.y,a=t.width,s=t.height;return 1===e?{start:r?o:i,end:r?o+a:i+s}:{start:r?o+a:i+s,end:r?o:i}}(i,v,d);return"equidistantPreserveStart"===l?function(t,e,n,r,o){for(var i,a=(r||[]).slice(),s=e.start,u=e.end,l=0,c=1,p=s,f=function(){var e=null==r?void 0:r[l];if(void 0===e)return{v:U(r,c)};var i,a=l,f=function(){return void 0===i&&(i=n(e,a)),i},h=e.coordinate,d=0===l||V(t,h,f,p,u);d||(l=0,p=s,c+=1),d&&(p=h+t*(f()/2+o),l+=c)};c<=a.length;)if(i=f())return i.v;return[]}(v,m,y,o,a):(h="preserveStart"===l||"preserveStartEnd"===l?function(t,e,n,r,o,i){var a=(r||[]).slice(),s=a.length,u=e.start,l=e.end;if(i){var c=r[s-1],p=n(c,s-1),f=t*(c.coordinate+t*p/2-l);a[s-1]=c=H(H({},c),{},{tickCoord:f>0?c.coordinate-f*t:c.coordinate}),V(t,c.tickCoord,(function(){return p}),u,l)&&(l=c.tickCoord-t*(p/2+o),a[s-1]=H(H({},c),{},{isShow:!0}))}for(var h=i?s-1:s,d=function(e){var r,i=a[e],s=function(){return void 0===r&&(r=n(i,e)),r};if(0===e){var c=t*(i.coordinate-t*s()/2-u);a[e]=i=H(H({},i),{},{tickCoord:c<0?i.coordinate-c*t:i.coordinate})}else a[e]=i=H(H({},i),{},{tickCoord:i.coordinate});V(t,i.tickCoord,s,u,l)&&(u=i.tickCoord+t*(s()/2+o),a[e]=H(H({},i),{},{isShow:!0}))},g=0;g<h;g++)d(g);return a}(v,m,y,o,a,"preserveStartEnd"===l):function(t,e,n,r,o){for(var i=(r||[]).slice(),a=i.length,s=e.start,u=e.end,l=function(e){var r,l=i[e],c=function(){return void 0===r&&(r=n(l,e)),r};if(e===a-1){var p=t*(l.coordinate+t*c()/2-u);i[e]=l=H(H({},l),{},{tickCoord:p>0?l.coordinate-p*t:l.coordinate})}else i[e]=l=H(H({},l),{},{tickCoord:l.coordinate});V(t,l.tickCoord,c,s,u)&&(u=l.tickCoord-t*(c()/2+o),i[e]=H(H({},l),{},{isShow:!0}))},c=a-1;c>=0;c--)l(c);return i}(v,m,y,o,a),h.filter((function(t){return t.isShow})))}var Y=n(19617),X=n(84618),K=n(27741),Q=n(97245);function J(){}function tt(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function et(t){this._context=t}function nt(t){this._context=t}function rt(t){this._context=t}et.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:tt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:tt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},nt.prototype={areaStart:J,areaEnd:J,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:tt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},rt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,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+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:tt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class ot{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function it(t){this._context=t}function at(t){this._context=t}function st(t){return new at(t)}function ut(t){return t<0?-1:1}function lt(t,e,n){var r=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(r||o<0&&-0),a=(n-t._y1)/(o||r<0&&-0),s=(i*o+a*r)/(r+o);return(ut(i)+ut(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function ct(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function pt(t,e,n){var r=t._x0,o=t._y0,i=t._x1,a=t._y1,s=(i-r)/3;t._context.bezierCurveTo(r+s,o+s*e,i-s,a-s*n,i,a)}function ft(t){this._context=t}function ht(t){this._context=new dt(t)}function dt(t){this._context=t}function gt(t){this._context=t}function yt(t){var e,n,r=t.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=o[e]/i[e-1],i[e]-=n,a[e]-=n*a[e-1];for(o[r-1]=a[r-1]/i[r-1],e=r-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(i[r-1]=(t[r]+o[r-1])/2,e=0;e<r-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}function vt(t,e){this._context=t,this._t=e}it.prototype={areaStart:J,areaEnd:J,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},at.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},ft.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:pt(this,this._t0,ct(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,pt(this,ct(this,n=lt(this,t,e)),n);break;default:pt(this,this._t0,n=lt(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(ht.prototype=Object.create(ft.prototype)).point=function(t,e){ft.prototype.point.call(this,e,t)},dt.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,o,i){this._context.bezierCurveTo(e,t,r,n,i,o)}},gt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=yt(t),o=yt(e),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},vt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var mt=n(16426),bt=n(6677),xt=n(13149);function Ot(t){return t[0]}function St(t){return t[1]}function wt(t,e){var n=(0,bt.Z)(!0),r=null,o=st,i=null,a=(0,xt.d)(s);function s(s){var u,l,c,p=(s=(0,mt.Z)(s)).length,f=!1;for(null==r&&(i=o(c=a())),u=0;u<=p;++u)!(u<p&&n(l=s[u],u,s))===f&&((f=!f)?i.lineStart():i.lineEnd()),f&&i.point(+t(l,u,s),+e(l,u,s));if(c)return i=null,c+""||null}return t="function"==typeof t?t:void 0===t?Ot:(0,bt.Z)(t),e="function"==typeof e?e:void 0===e?St:(0,bt.Z)(e),s.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,bt.Z)(+e),s):t},s.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,bt.Z)(+t),s):e},s.defined=function(t){return arguments.length?(n="function"==typeof t?t:(0,bt.Z)(!!t),s):n},s.curve=function(t){return arguments.length?(o=t,null!=r&&(i=o(r)),s):o},s.context=function(t){return arguments.length?(null==t?r=i=null:i=o(r=t),s):r},s}function Mt(t,e,n){var r=null,o=(0,bt.Z)(!0),i=null,a=st,s=null,u=(0,xt.d)(l);function l(l){var c,p,f,h,d,g=(l=(0,mt.Z)(l)).length,y=!1,v=new Array(g),m=new Array(g);for(null==i&&(s=a(d=u())),c=0;c<=g;++c){if(!(c<g&&o(h=l[c],c,l))===y)if(y=!y)p=c,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=c-1;f>=p;--f)s.point(v[f],m[f]);s.lineEnd(),s.areaEnd()}y&&(v[c]=+t(h,c,l),m[c]=+e(h,c,l),s.point(r?+r(h,c,l):v[c],n?+n(h,c,l):m[c]))}if(d)return s=null,d+""||null}function c(){return wt().defined(o).curve(a).context(i)}return t="function"==typeof t?t:void 0===t?Ot:(0,bt.Z)(+t),e="function"==typeof e?e:void 0===e?(0,bt.Z)(0):(0,bt.Z)(+e),n="function"==typeof n?n:void 0===n?St:(0,bt.Z)(+n),l.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,bt.Z)(+e),r=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,bt.Z)(+e),l):t},l.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:(0,bt.Z)(+t),l):r},l.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,bt.Z)(+t),n=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,bt.Z)(+t),l):e},l.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,bt.Z)(+t),l):n},l.lineX0=l.lineY0=function(){return c().x(t).y(e)},l.lineY1=function(){return c().x(t).y(n)},l.lineX1=function(){return c().x(r).y(e)},l.defined=function(t){return arguments.length?(o="function"==typeof t?t:(0,bt.Z)(!!t),l):o},l.curve=function(t){return arguments.length?(a=t,null!=i&&(s=a(i)),l):a},l.context=function(t){return arguments.length?(null==t?i=s=null:s=a(i=t),l):i},l}var Et=n(23779),kt=n.n(Et),Ct=n(21442);function Pt(t){return Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pt(t)}function At(){return At=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},At.apply(this,arguments)}function jt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jt(Object(n),!0).forEach((function(e){_t(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _t(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==Pt(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==Pt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Pt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Bt={curveBasisClosed:function(t){return new nt(t)},curveBasisOpen:function(t){return new rt(t)},curveBasis:function(t){return new et(t)},curveBumpX:function(t){return new ot(t,!0)},curveBumpY:function(t){return new ot(t,!1)},curveLinearClosed:function(t){return new it(t)},curveLinear:st,curveMonotoneX:function(t){return new ft(t)},curveMonotoneY:function(t){return new ht(t)},curveNatural:function(t){return new gt(t)},curveStep:function(t){return new vt(t,.5)},curveStepAfter:function(t){return new vt(t,1)},curveStepBefore:function(t){return new vt(t,0)}},Dt=function(t){return t.x===+t.x&&t.y===+t.y},It=function(t){return t.x},Lt=function(t){return t.y},zt=function(t){var e=t.className,n=t.points,r=t.path,i=t.pathRef;if(!(n&&n.length||r))return null;var a=n&&n.length?function(t){var e,n=t.type,r=void 0===n?"linear":n,o=t.points,i=void 0===o?[]:o,a=t.baseLine,s=t.layout,l=t.connectNulls,c=void 0!==l&&l,p=function(t,e){if(u()(t))return t;var n="curve".concat(kt()(t));return"curveMonotone"!==n&&"curveBump"!==n||!e?Bt[n]||st:Bt["".concat(n).concat("vertical"===e?"Y":"X")]}(r,s),f=c?i.filter((function(t){return Dt(t)})):i;if(Array.isArray(a)){var h=c?a.filter((function(t){return Dt(t)})):a,d=f.map((function(t,e){return Tt(Tt({},t),{},{base:h[e]})}));return(e="vertical"===s?Mt().y(Lt).x1(It).x0((function(t){return t.base.x})):Mt().x(It).y1(Lt).y0((function(t){return t.base.y}))).defined(Dt).curve(p),e(d)}return(e="vertical"===s&&(0,M.hj)(a)?Mt().y(Lt).x1(It).x0(a):(0,M.hj)(a)?Mt().x(It).y1(Lt).y0(a):wt().x(It).y(Lt)).defined(Dt).curve(p),e(f)}(t):r;return o().createElement("path",At({},(0,j.L6)(t),(0,Ct.Ym)(t),{className:(0,O.Z)("recharts-curve",e),d:a,ref:i}))};function Rt(t){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rt(t)}var Wt=["x","y","top","left","width","height","className"];function Nt(){return Nt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Nt.apply(this,arguments)}function Ft(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ut(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==Rt(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==Rt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Rt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Vt=function(t,e,n,r,o,i){return"M".concat(t,",").concat(o,"v").concat(r,"M").concat(i,",").concat(e,"h").concat(n)},Gt=function(t){var e=t.x,n=void 0===e?0:e,r=t.y,i=void 0===r?0:r,a=t.top,s=void 0===a?0:a,u=t.left,l=void 0===u?0:u,c=t.width,p=void 0===c?0:c,f=t.height,h=void 0===f?0:f,d=t.className,g=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ft(Object(n),!0).forEach((function(e){Ut(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({x:n,y:i,top:s,left:l,width:p,height:h},function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,Wt));return(0,M.hj)(n)&&(0,M.hj)(i)&&(0,M.hj)(p)&&(0,M.hj)(h)&&(0,M.hj)(s)&&(0,M.hj)(l)?o().createElement("path",Nt({},(0,j.L6)(g,!0),{className:(0,O.Z)("recharts-cross",d),d:Vt(n,i,p,h,s,l)})):null},qt=n(21844);function Ht(){return Ht=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ht.apply(this,arguments)}var Zt=function(t){var e=t.cx,n=t.cy,r=t.r,i=t.className,a=(0,O.Z)("recharts-dot",i);return e===+e&&n===+n&&r===+r?o().createElement("circle",Ht({},(0,j.L6)(t),(0,Ct.Ym)(t),{className:a,cx:e,cy:n,r})):null},$t=n(43624),Yt=n(47022),Xt=n(75963),Kt=n(81224),Qt=["viewBox"],Jt=["viewBox"],te=["ticks"];function ee(t){return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ee(t)}function ne(){return ne=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ne.apply(this,arguments)}function re(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function oe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?re(Object(n),!0).forEach((function(e){ce(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ie(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function ae(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,pe(r.key),r)}}function se(t,e){return se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},se(t,e)}function ue(t,e){if(e&&("object"===ee(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function le(t){return le=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},le(t)}function ce(t,e,n){return(e=pe(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pe(t){var e=function(t,e){if("object"!==ee(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==ee(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ee(e)?e:String(e)}var fe=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&se(t,e)}(l,t);var e,n,r,i,a,s=(i=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=le(i);if(a){var n=le(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return ue(this,t)});function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=s.call(this,t)).state={fontSize:"",letterSpacing:""},e}return e=l,n=[{key:"shouldComponentUpdate",value:function(t,e){var n=t.viewBox,r=ie(t,Qt),o=this.props,i=o.viewBox,a=ie(o,Jt);return!(0,Yt.w)(n,i)||!(0,Yt.w)(r,a)||!(0,Yt.w)(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,n,r,o,i,a,s=this.props,u=s.x,l=s.y,c=s.width,p=s.height,f=s.orientation,h=s.tickSize,d=s.mirror,g=s.tickMargin,y=d?-1:1,v=t.tickSize||h,m=(0,M.hj)(t.tickCoord)?t.tickCoord:t.coordinate;switch(f){case"top":e=n=t.coordinate,a=(r=(o=l+ +!d*p)-y*v)-y*g,i=m;break;case"left":r=o=t.coordinate,i=(e=(n=u+ +!d*c)-y*v)-y*g,a=m;break;case"right":r=o=t.coordinate,i=(e=(n=u+ +d*c)+y*v)+y*g,a=m;break;default:e=n=t.coordinate,a=(r=(o=l+ +d*p)+y*v)+y*g,i=m}return{line:{x1:e,y1:r,x2:n,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,n=e.orientation,r=e.mirror;switch(n){case"left":t=r?"start":"end";break;case"right":t=r?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,n=t.mirror,r="end";switch(e){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 t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.orientation,s=t.mirror,u=t.axisLine,l=oe(oe(oe({},(0,j.L6)(this.props)),(0,j.L6)(u)),{},{fill:"none"});if("top"===a||"bottom"===a){var c=+("top"===a&&!s||"bottom"===a&&s);l=oe(oe({},l),{},{x1:e,y1:n+c*i,x2:e+r,y2:n+c*i})}else{var p=+("left"===a&&!s||"right"===a&&s);l=oe(oe({},l),{},{x1:e+p*r,y1:n,x2:e+p*r,y2:n+i})}return o().createElement("line",ne({},l,{className:(0,O.Z)("recharts-cartesian-axis-line",f()(u,"className"))}))}},{key:"renderTicks",value:function(t,e,n){var r=this,i=this.props,a=i.tickLine,s=i.stroke,c=i.tick,p=i.tickFormatter,h=i.unit,d=$(oe(oe({},this.props),{},{ticks:t}),e,n),g=this.getTickTextAnchor(),y=this.getTickVerticalAnchor(),v=(0,j.L6)(this.props),m=(0,j.L6)(c),b=oe(oe({},v),{},{fill:"none"},(0,j.L6)(a)),x=d.map((function(t,e){var n=r.getTickLineCoord(t),i=n.line,x=n.tick,S=oe(oe(oe(oe({textAnchor:g,verticalAnchor:y},v),{},{stroke:"none",fill:s},m),x),{},{index:e,payload:t,visibleTicksCount:d.length,tickFormatter:p});return o().createElement(X.m,ne({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e)},(0,Ct.bw)(r.props,t,e)),a&&o().createElement("line",ne({},b,i,{className:(0,O.Z)("recharts-cartesian-axis-tick-line",f()(a,"className"))})),c&&l.renderTickItem(c,S,"".concat(u()(p)?p(t.value,e):t.value).concat(h||"")))}));return o().createElement("g",{className:"recharts-cartesian-axis-ticks"},x)}},{key:"render",value:function(){var t=this,e=this.props,n=e.axisLine,r=e.width,i=e.height,a=e.ticksGenerator,s=e.className;if(e.hide)return null;var l=this.props,c=l.ticks,p=ie(l,te),f=c;return u()(a)&&(f=c&&c.length>0?a(this.props):a(p)),r<=0||i<=0||!f||!f.length?null:o().createElement(X.m,{className:(0,O.Z)("recharts-cartesian-axis",s),ref:function(e){t.layerReference=e}},n&&this.renderAxisLine(),this.renderTicks(f,this.state.fontSize,this.state.letterSpacing),Kt._.renderCallByParent(this.props))}}],r=[{key:"renderTickItem",value:function(t,e,n){return o().isValidElement(t)?o().cloneElement(t,e):u()(t)?t(e):o().createElement(Xt.x,ne({},e,{className:"recharts-cartesian-axis-tick-value"}),n)}}],n&&ae(e.prototype,n),r&&ae(e,r),Object.defineProperty(e,"prototype",{writable:!1}),l}(r.Component);ce(fe,"displayName","CartesianAxis"),ce(fe,"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 he=n(78520);function de(t){return de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},de(t)}function ge(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ye(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ge(Object(n),!0).forEach((function(e){ve(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ve(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==de(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==de(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===de(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var me=["Webkit","Moz","O","ms"];function be(t){return be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},be(t)}function xe(){return xe=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},xe.apply(this,arguments)}function Oe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Se(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Oe(Object(n),!0).forEach((function(e){Pe(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function we(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ae(r.key),r)}}function Me(t,e){return Me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Me(t,e)}function Ee(t,e){if(e&&("object"===be(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ke(t)}function ke(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ce(t){return Ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ce(t)}function Pe(t,e,n){return(e=Ae(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ae(t){var e=function(t,e){if("object"!==be(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==be(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===be(e)?e:String(e)}var je=function(t){return t.changedTouches&&!!t.changedTouches.length},Te=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Me(t,e)}(p,t);var e,n,i,a,s,l=(a=p,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Ce(a);if(s){var n=Ce(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Ee(this,t)});function p(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),Pe(ke(e=l.call(this,t)),"handleDrag",(function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)})),Pe(ke(e),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])})),Pe(ke(e),"handleDragEnd",(function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var t=e.props,n=t.endIndex,r=t.onDragEnd,o=t.startIndex;null==r||r({endIndex:n,startIndex:o})})),e.detachDragEndListener()})),Pe(ke(e),"handleLeaveWrapper",(function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))})),Pe(ke(e),"handleEnterSlideOrTraveller",(function(){e.setState({isTextActive:!0})})),Pe(ke(e),"handleLeaveSlideOrTraveller",(function(){e.setState({isTextActive:!1})})),Pe(ke(e),"handleSlideDragStart",(function(t){var n=je(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),e.attachDragEndListener()})),e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(ke(e),"startX"),endX:e.handleTravellerDragStart.bind(ke(e),"endX")},e.state={},e}return e=p,i=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,n=t.y,r=t.width,i=t.height,a=t.stroke,s=Math.floor(n+i/2)-1;return o().createElement(o().Fragment,null,o().createElement("rect",{x:e,y:n,width:r,height:i,fill:a,stroke:"none"}),o().createElement("line",{x1:e+1,y1:s,x2:e+r-1,y2:s,fill:"none",stroke:"#fff"}),o().createElement("line",{x1:e+1,y1:s+2,x2:e+r-1,y2:s+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):u()(t)?t(e):p.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var n=t.data,r=t.width,o=t.x,i=t.travellerWidth,a=t.updateId,s=t.startIndex,u=t.endIndex;if(n!==e.prevData||a!==e.prevUpdateId)return Se({prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r},n&&n.length?function(t){var e=t.data,n=t.startIndex,r=t.endIndex,o=t.x,i=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var s=e.length,u=(0,he.x)().domain(c()(0,s)).range([o,o+i-a]),l=u.domain().map((function(t){return u(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:u(n),endX:u(r),scale:u,scaleValues:l}}({data:n,width:r,x:o,travellerWidth:i,startIndex:s,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(r!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+r-i]);var l=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var n=0,r=t.length-1;r-n>1;){var o=Math.floor((n+r)/2);t[o]>e?r=o:n=o}return e>=t[r]?r:n}}],(n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,n=t.endX,r=this.state.scaleValues,o=this.props,i=o.gap,a=o.data.length-1,s=Math.min(e,n),u=Math.max(e,n),l=p.getIndexInRange(r,s),c=p.getIndexInRange(r,u);return{startIndex:l-l%i,endIndex:c===a?a:c-c%i}}},{key:"getTextOfTick",value:function(t){var e=this.props,n=e.data,r=e.tickFormatter,o=e.dataKey,i=(0,A.F$)(n[t],o,t);return u()(r)?r(i,t):i}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,n=e.slideMoveStartX,r=e.startX,o=e.endX,i=this.props,a=i.x,s=i.width,u=i.travellerWidth,l=i.startIndex,c=i.endIndex,p=i.onChange,f=t.pageX-n;f>0?f=Math.min(f,a+s-u-o,a+s-u-r):f<0&&(f=Math.max(f,a-r,a-o));var h=this.getIndex({startX:r+f,endX:o+f});h.startIndex===l&&h.endIndex===c||!p||p(h),this.setState({startX:r+f,endX:o+f,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var n=je(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e,n=this.state,r=n.brushMoveStartX,o=n.movingTravellerId,i=n.endX,a=n.startX,s=this.state[o],u=this.props,l=u.x,c=u.width,p=u.travellerWidth,f=u.onChange,h=u.gap,d=u.data,g={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,l+c-p-s):y<0&&(y=Math.max(y,l-s)),g[o]=s+y;var v=this.getIndex(g),m=v.startIndex,b=v.endIndex;this.setState((Pe(e={},o,s+y),Pe(e,"brushMoveStartX",t.pageX),e),(function(){var t;f&&(t=d.length-1,("startX"===o&&(i>a?m%h==0:b%h==0)||i<a&&b===t||"endX"===o&&(i>a?b%h==0:m%h==0)||i>a&&b===t)&&f(v))}))}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var n=this,r=this.state,o=r.scaleValues,i=r.startX,a=r.endX,s=this.state[e],u=o.indexOf(s);if(-1!==u){var l=u+t;if(!(-1===l||l>=o.length)){var c=o[l];"startX"===e&&c>=a||"endX"===e&&c<=i||this.setState(Pe({},e,c),(function(){n.props.onChange(n.getIndex({startX:n.state.startX,endX:n.state.endX}))}))}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.fill,s=t.stroke;return o().createElement("rect",{stroke:s,fill:a,x:e,y:n,width:r,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,n=t.y,i=t.width,a=t.height,s=t.data,u=t.children,l=t.padding,c=r.Children.only(u);return c?o().cloneElement(c,{x:e,y:n,width:i,height:a,margin:l,compact:!0,data:s}):null}},{key:"renderTravellerLayer",value:function(t,e){var n=this,r=this.props,i=r.y,a=r.travellerWidth,s=r.height,u=r.traveller,l=Math.max(t,this.props.x),c=Se(Se({},(0,j.L6)(this.props)),{},{x:l,y:i,width:a,height:s});return o().createElement(X.m,{tabIndex:0,role:"slider",className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),n.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,e))},onFocus:function(){n.setState({isTravellerFocused:!0})},onBlur:function(){n.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},p.renderTraveller(u,c))}},{key:"renderSlide",value:function(t,e){var n=this.props,r=n.y,i=n.height,a=n.stroke,s=n.travellerWidth,u=Math.min(t,e)+s,l=Math.max(Math.abs(e-t)-s,0);return o().createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:u,y:r,width:l,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,n=t.endIndex,r=t.y,i=t.height,a=t.travellerWidth,s=t.stroke,u=this.state,l=u.startX,c=u.endX,p={pointerEvents:"none",fill:s};return o().createElement(X.m,{className:"recharts-brush-texts"},o().createElement(Xt.x,xe({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,c)-5,y:r+i/2},p),this.getTextOfTick(e)),o().createElement(Xt.x,xe({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,c)+a+5,y:r+i/2},p),this.getTextOfTick(n)))}},{key:"render",value:function(){var t=this.props,e=t.data,n=t.className,r=t.children,i=t.x,a=t.y,s=t.width,u=t.height,l=t.alwaysShowText,c=this.state,p=c.startX,f=c.endX,h=c.isTextActive,d=c.isSlideMoving,g=c.isTravellerMoving,y=c.isTravellerFocused;if(!e||!e.length||!(0,M.hj)(i)||!(0,M.hj)(a)||!(0,M.hj)(s)||!(0,M.hj)(u)||s<=0||u<=0)return null;var v,m,b,x,S=(0,O.Z)("recharts-brush",n),w=1===o().Children.count(r),E=(m="none",b=(v="userSelect").replace(/(\w)/,(function(t){return t.toUpperCase()})),(x=me.reduce((function(t,e){return ye(ye({},t),{},ve({},e+b,m))}),{}))[v]=m,x);return o().createElement(X.m,{className:S,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:E},this.renderBackground(),w&&this.renderPanorama(),this.renderSlide(p,f),this.renderTravellerLayer(p,"startX"),this.renderTravellerLayer(f,"endX"),(h||d||g||y||l)&&this.renderText())}}])&&we(e.prototype,n),i&&we(e,i),Object.defineProperty(e,"prototype",{writable:!1}),p}(r.PureComponent);Pe(Te,"displayName","Brush"),Pe(Te,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var _e=n(12076),Be=function(t,e){var n=t.alwaysShow,r=t.ifOverflow;return n&&(r="extendDomain"),r===e},De=n(91745);function Ie(t){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ie(t)}function Le(){return Le=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Le.apply(this,arguments)}function ze(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Re(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ze(Object(n),!0).forEach((function(e){We(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function We(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==Ie(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==Ie(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ie(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ne(t){var e=t.x,n=t.y,r=t.r,i=t.alwaysShow,a=t.clipPathId,s=(0,M.P2)(e),u=(0,M.P2)(n);if((0,De.Z)(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!s||!u)return null;var l=function(t){var e=t.x,n=t.y,r=t.xAxis,o=t.yAxis,i=N({x:r.scale,y:o.scale}),a=i.apply({x:e,y:n},{bandAware:!0});return Be(t,"discard")&&!i.isInRange(a)?null:a}(t);if(!l)return null;var c=l.x,p=l.y,f=t.shape,h=t.className,d=Re(Re({clipPath:Be(t,"hidden")?"url(#".concat(a,")"):void 0},(0,j.L6)(t,!0)),{},{cx:c,cy:p});return o().createElement(X.m,{className:(0,O.Z)("recharts-reference-dot",h)},Ne.renderDot(f,d),Kt._.renderCallByParent(t,{x:c-r,y:p-r,width:2*r,height:2*r}))}Ne.displayName="ReferenceDot",Ne.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},Ne.renderDot=function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):u()(t)?t(e):o().createElement(Zt,Le({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};var Fe=n(51525),Ue=n.n(Fe);function Ve(t){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ve(t)}function Ge(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function qe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ge(Object(n),!0).forEach((function(e){He(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function He(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==Ve(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==Ve(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ve(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ze(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function $e(){return $e=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},$e.apply(this,arguments)}function Ye(t){var e=t.x,n=t.y,r=t.segment,i=t.xAxis,a=t.yAxis,s=t.shape,l=t.className,c=t.alwaysShow,p=t.clipPathId;(0,De.Z)(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=function(t,e,n,r,o){var i=o.viewBox,a=i.x,s=i.y,u=i.width,l=i.height,c=o.position;if(n){var p=o.y,f=o.yAxis.orientation,h=t.y.apply(p,{position:c});if(Be(o,"discard")&&!t.y.isInRange(h))return null;var d=[{x:a+u,y:h},{x:a,y:h}];return"left"===f?d.reverse():d}if(e){var g=o.x,y=o.xAxis.orientation,v=t.x.apply(g,{position:c});if(Be(o,"discard")&&!t.x.isInRange(v))return null;var m=[{x:v,y:s+l},{x:v,y:s}];return"top"===y?m.reverse():m}if(r){var b=o.segment.map((function(e){return t.apply(e,{position:c})}));return Be(o,"discard")&&Ue()(b,(function(e){return!t.isInRange(e)}))?null:b}return null}(N({x:i.scale,y:a.scale}),(0,M.P2)(e),(0,M.P2)(n),r&&2===r.length,t);if(!f)return null;var h,d,g,y=(d=2,function(t){if(Array.isArray(t))return t}(h=f)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(h,d)||function(t,e){if(t){if("string"==typeof t)return Ze(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ze(t,e):void 0}}(h,d)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),v=y[0],m=v.x,b=v.y,x=y[1],S=x.x,w=x.y,E=qe(qe({clipPath:Be(t,"hidden")?"url(#".concat(p,")"):void 0},(0,j.L6)(t,!0)),{},{x1:m,y1:b,x2:S,y2:w});return o().createElement(X.m,{className:(0,O.Z)("recharts-reference-line",l)},function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):u()(t)?t(e):o().createElement("line",$e({},e,{className:"recharts-reference-line-line"}))}(s,E),Kt._.renderCallByParent(t,(g={x1:m,y1:b,x2:S,y2:w},R({x:g.x1,y:g.y1},{x:g.x2,y:g.y2}))))}function Xe(t){return Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xe(t)}function Ke(){return Ke=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ke.apply(this,arguments)}function Qe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Je(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qe(Object(n),!0).forEach((function(e){tn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function tn(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==Xe(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==Xe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Xe(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function en(t){var e=t.x1,n=t.x2,r=t.y1,i=t.y2,a=t.className,s=t.alwaysShow,u=t.clipPathId;(0,De.Z)(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=(0,M.P2)(e),c=(0,M.P2)(n),p=(0,M.P2)(r),f=(0,M.P2)(i),h=t.shape;if(!(l||c||p||f||h))return null;var d=function(t,e,n,r,o){var i=o.x1,a=o.x2,s=o.y1,u=o.y2,l=o.xAxis,c=o.yAxis;if(!l||!c)return null;var p=N({x:l.scale,y:c.scale}),f={x:t?p.x.apply(i,{position:"start"}):p.x.rangeMin,y:n?p.y.apply(s,{position:"start"}):p.y.rangeMin},h={x:e?p.x.apply(a,{position:"end"}):p.x.rangeMax,y:r?p.y.apply(u,{position:"end"}):p.y.rangeMax};return!Be(o,"discard")||p.isInRange(f)&&p.isInRange(h)?R(f,h):null}(l,c,p,f,t);if(!d&&!h)return null;var g=Be(t,"hidden")?"url(#".concat(u,")"):void 0;return o().createElement(X.m,{className:(0,O.Z)("recharts-reference-area",a)},en.renderRect(h,Je(Je({clipPath:g},(0,j.L6)(t,!0)),d)),Kt._.renderCallByParent(t,d))}function nn(t){return function(t){if(Array.isArray(t))return rn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return rn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rn(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}Ye.displayName="ReferenceLine",Ye.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"},en.displayName="ReferenceArea",en.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},en.renderRect=function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):u()(t)?t(e):o().createElement($t.A,Ke({},e,{className:"recharts-reference-area-rect"}))};var on=function(t,e,n,r,o){var i=(0,j.NN)(t,Ye),a=(0,j.NN)(t,Ne),s=[].concat(nn(i),nn(a)),u=(0,j.NN)(t,en),l="".concat(r,"Id"),c=r[0],p=e;if(s.length&&(p=s.reduce((function(t,e){if(e.props[l]===n&&Be(e.props,"extendDomain")&&(0,M.hj)(e.props[c])){var r=e.props[c];return[Math.min(t[0],r),Math.max(t[1],r)]}return t}),p)),u.length){var f="".concat(c,"1"),h="".concat(c,"2");p=u.reduce((function(t,e){if(e.props[l]===n&&Be(e.props,"extendDomain")&&(0,M.hj)(e.props[f])&&(0,M.hj)(e.props[h])){var r=e.props[f],o=e.props[h];return[Math.min(t[0],r,o),Math.max(t[1],r,o)]}return t}),p)}return o&&o.length&&(p=o.reduce((function(t,e){return(0,M.hj)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),p)),p},an=n(10161),sn=new(n.n(an)()),un="recharts.syncMouseEvents";function ln(t){return ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ln(t)}function cn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,fn(r.key),r)}}function pn(t,e,n){return(e=fn(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fn(t){var e=function(t,e){if("object"!==ln(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==ln(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ln(e)?e:String(e)}var hn=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),pn(this,"activeIndex",0),pn(this,"coordinateList",[]),pn(this,"layout","horizontal")}var e,n;return e=t,(n=[{key:"setDetails",value:function(t){var e=t.coordinateList,n=void 0===e?[]:e,r=t.container,o=void 0===r?null:r,i=t.layout,a=void 0===i?null:i,s=t.offset,u=void 0===s?null:s,l=t.mouseHandlerCallback,c=void 0===l?null:l;this.coordinateList=null!=n?n:this.coordinateList,this.container=null!=o?o:this.container,this.layout=null!=a?a:this.layout,this.offset=null!=u?u:this.offset,this.mouseHandlerCallback=null!=c?c:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(t){if(0!==this.coordinateList.length)switch(t.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"spoofMouse",value:function(){var t,e;if("horizontal"===this.layout&&0!==this.coordinateList.length){var n=this.container.getBoundingClientRect(),r=n.x,o=n.y,i=n.height,a=this.coordinateList[this.activeIndex].coordinate,s=(null===(t=window)||void 0===t?void 0:t.scrollX)||0,u=(null===(e=window)||void 0===e?void 0:e.scrollY)||0,l=r+a+s,c=o+this.offset.top+i/2+u;this.mouseHandlerCallback({pageX:l,pageY:c})}}}])&&cn(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),dn=n(29742);function gn(t,e,n){var r,o,i,a;if("horizontal"===t)i=r=e.x,o=n.top,a=n.top+n.height;else if("vertical"===t)a=o=e.y,r=n.left,i=n.left+n.width;else if(null!=e.cx&&null!=e.cy){if("centric"!==t)return w(e);var s=e.cx,u=e.cy,l=e.innerRadius,c=e.outerRadius,p=e.angle,f=(0,S.op)(s,u,l,p),h=(0,S.op)(s,u,c,p);r=f.x,o=f.y,i=h.x,a=h.y}return[{x:r,y:o},{x:i,y:a}]}var yn=["item"],vn=["children","className","width","height","style","compact","title","desc"];function mn(t){return mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mn(t)}function bn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(t,e)||Pn(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xn(){return xn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},xn.apply(this,arguments)}function On(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Sn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Bn(r.key),r)}}function wn(t,e){return wn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},wn(t,e)}function Mn(t,e){if(e&&("object"===mn(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return En(t)}function En(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},kn(t)}function Cn(t){return function(t){if(Array.isArray(t))return An(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Pn(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pn(t,e){if(t){if("string"==typeof t)return An(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?An(t,e):void 0}}function An(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function jn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jn(Object(n),!0).forEach((function(e){_n(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _n(t,e,n){return(e=Bn(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bn(t){var e=function(t,e){if("object"!==mn(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==mn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===mn(e)?e:String(e)}var Dn={xAxis:["bottom","top"],yAxis:["left","right"]},In={width:"100%",height:"100%"},Ln={x:0,y:0},zn=function(t,e){var n=e.graphicalItems,r=e.dataStartIndex,o=e.dataEndIndex,i=(null!=n?n:[]).reduce((function(t,e){var n=e.props.data;return n&&n.length?[].concat(Cn(t),Cn(n)):t}),[]);return i.length>0?i:t&&t.length&&(0,M.hj)(r)&&(0,M.hj)(o)?t.slice(r,o+1):[]};function Rn(t){return"number"===t?[0,"auto"]:void 0}var Wn,Nn,Fn,Un,Vn,Gn,qn,Hn,Zn,$n,Yn,Xn,Kn,Qn=function(t,e,n,r){var o=t.graphicalItems,i=t.tooltipAxis,a=zn(e,t);return n<0||!o||!o.length||n>=a.length?null:o.reduce((function(o,s){var u;if(s.props.hide)return o;var l,c=null!==(u=s.props.data)&&void 0!==u?u:e;if(c&&t.dataStartIndex+t.dataEndIndex!==0&&(c=c.slice(t.dataStartIndex,t.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory){var p=void 0===c?a:c;l=(0,M.Ap)(p,i.dataKey,r)}else l=c&&c[n]||a[n];return l?[].concat(Cn(o),[(0,A.Qo)(s,l)]):o}),[])},Jn=function(t,e,n,r){var o=r||{x:t.chartX,y:t.chartY},i=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(o,n),a=t.orderedTooltipTicks,s=t.tooltipAxis,u=t.tooltipTicks,l=(0,A.VO)(i,a,u,s);if(l>=0&&u){var c=u[l]&&u[l].value,p=Qn(t,e,l,c),f=function(t,e,n,r){var o=e.find((function(t){return t&&t.index===n}));if(o){if("horizontal"===t)return{x:o.coordinate,y:r.y};if("vertical"===t)return{x:r.x,y:o.coordinate};if("centric"===t){var i=o.coordinate,a=r.radius;return Tn(Tn(Tn({},r),(0,S.op)(r.cx,r.cy,a,i)),{},{angle:i,radius:a})}var s=o.coordinate,u=r.angle;return Tn(Tn(Tn({},r),(0,S.op)(r.cx,r.cy,s,u)),{},{angle:u,radius:s})}return Ln}(n,a,l,o);return{activeTooltipIndex:l,activeLabel:c,activePayload:p,activeCoordinate:f}}return null},tr=function(t,e){var n=e.axisType,r=void 0===n?"xAxis":n,o=e.AxisComp,i=e.graphicalItems,s=e.stackGroups,u=e.dataStartIndex,l=e.dataEndIndex,p=t.children,h="".concat(r,"Id"),d=(0,j.NN)(p,o),g={};return d&&d.length?g=function(t,e){var n=e.axes,r=e.graphicalItems,o=e.axisType,i=e.axisIdKey,s=e.stackGroups,u=e.dataStartIndex,l=e.dataEndIndex,p=t.layout,f=t.children,h=t.stackOffset,d=(0,A.NA)(p,o);return n.reduce((function(e,n){var g,y=n.props,v=y.type,m=y.dataKey,b=y.allowDataOverflow,x=y.allowDuplicatedCategory,O=y.scale,S=y.ticks,w=y.includeHidden,E=n.props[i];if(e[E])return e;var k,C,P,j=zn(t.data,{graphicalItems:r.filter((function(t){return t.props[i]===E})),dataStartIndex:u,dataEndIndex:l}),T=j.length;(function(t,e,n){if("number"===n&&!0===e&&Array.isArray(t)){var r=null==t?void 0:t[0],o=null==t?void 0:t[1];if(r&&o&&(0,M.hj)(r)&&(0,M.hj)(o))return!0}return!1})(n.props.domain,b,v)&&(k=(0,A.LG)(n.props.domain,null,b),!d||"number"!==v&&"auto"===O||(P=(0,A.gF)(j,m,"category")));var _=Rn(v);if(!k||0===k.length){var B,D=null!==(B=n.props.domain)&&void 0!==B?B:_;if(m){if(k=(0,A.gF)(j,m,v),"category"===v&&d){var I=(0,M.bv)(k);x&&I?(C=k,k=c()(0,T)):x||(k=(0,A.ko)(D,k,n).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(Cn(t),[e])}),[]))}else if("category"===v)k=x?k.filter((function(t){return""!==t&&!a()(t)})):(0,A.ko)(D,k,n).reduce((function(t,e){return t.indexOf(e)>=0||""===e||a()(e)?t:[].concat(Cn(t),[e])}),[]);else if("number"===v){var L=(0,A.ZI)(j,r.filter((function(t){return t.props[i]===E&&(w||!t.props.hide)})),m,o,p);L&&(k=L)}!d||"number"!==v&&"auto"===O||(P=(0,A.gF)(j,m,"category"))}else k=d?c()(0,T):s&&s[E]&&s[E].hasStack&&"number"===v?"expand"===h?[0,1]:(0,A.EB)(s[E].stackGroups,u,l):(0,A.s6)(j,r.filter((function(t){return t.props[i]===E&&(w||!t.props.hide)})),v,p,!0);if("number"===v)k=on(f,k,E,o,S),D&&(k=(0,A.LG)(D,k,b));else if("category"===v&&D){var z=D;k.every((function(t){return z.indexOf(t)>=0}))&&(k=z)}}return Tn(Tn({},e),{},_n({},E,Tn(Tn({},n.props),{},{axisType:o,domain:k,categoricalDomain:P,duplicateDomain:C,originalDomain:null!==(g=n.props.domain)&&void 0!==g?g:_,isCategorical:d,layout:p})))}),{})}(t,{axes:d,graphicalItems:i,axisType:r,axisIdKey:h,stackGroups:s,dataStartIndex:u,dataEndIndex:l}):i&&i.length&&(g=function(t,e){var n=e.graphicalItems,r=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,s=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,p=t.children,h=zn(t.data,{graphicalItems:n,dataStartIndex:s,dataEndIndex:u}),d=h.length,g=(0,A.NA)(l,o),y=-1;return n.reduce((function(t,e){var v,m=e.props[i],b=Rn("number");return t[m]?t:(y++,g?v=c()(0,d):a&&a[m]&&a[m].hasStack?(v=(0,A.EB)(a[m].stackGroups,s,u),v=on(p,v,m,o)):(v=(0,A.LG)(b,(0,A.s6)(h,n.filter((function(t){return t.props[i]===m&&!t.props.hide})),"number",l),r.defaultProps.allowDataOverflow),v=on(p,v,m,o)),Tn(Tn({},t),{},_n({},m,Tn(Tn({axisType:o},r.defaultProps),{},{hide:!0,orientation:f()(Dn,"".concat(o,".").concat(y%2),null),domain:v,originalDomain:b,isCategorical:g,layout:l}))))}),{})}(t,{Axis:o,graphicalItems:i,axisType:r,axisIdKey:h,stackGroups:s,dataStartIndex:u,dataEndIndex:l})),g},er=function(t){var e,n,r=t.children,o=t.defaultShowTooltip,i=(0,j.sP)(r,Te);return{chartX:0,chartY:0,dataStartIndex:i&&i.props&&i.props.startIndex||0,dataEndIndex:void 0!==(null==i||null===(e=i.props)||void 0===e?void 0:e.endIndex)?null==i||null===(n=i.props)||void 0===n?void 0:n.endIndex:t.data&&t.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:Boolean(o)}},nr=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},rr=n(25556),or=n(3131),ir=(Wn={chartName:"BarChart",GraphicalChild:T.$,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:rr.K},{axisType:"yAxis",AxisComp:or.B}],formatAxisMap:function(t,e,n,r,o){var i=t.width,a=t.height,s=t.layout,u=t.children,l=Object.keys(e),c={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},p=!!(0,j.sP)(u,T.$);return l.reduce((function(i,a){var u,l,f,h,d,g=e[a],y=g.orientation,v=g.domain,m=g.padding,b=void 0===m?{}:m,x=g.mirror,O=g.reversed,S="".concat(y).concat(x?"Mirror":"");if("number"===g.type&&("gap"===g.padding||"no-gap"===g.padding)){var w=v[1]-v[0],E=1/0,k=g.categoricalDomain.sort();k.forEach((function(t,e){e>0&&(E=Math.min((t||0)-(k[e-1]||0),E))}));var C=E/w,P="vertical"===g.layout?n.height:n.width;if("gap"===g.padding&&(u=C*P/2),"no-gap"===g.padding){var j=(0,M.h1)(t.barCategoryGap,C*P),T=C*P/2;u=T-j-(T-j)/P*j}}l="xAxis"===r?[n.left+(b.left||0)+(u||0),n.left+n.width-(b.right||0)-(u||0)]:"yAxis"===r?"horizontal"===s?[n.top+n.height-(b.bottom||0),n.top+(b.top||0)]:[n.top+(b.top||0)+(u||0),n.top+n.height-(b.bottom||0)-(u||0)]:g.range,O&&(l=[l[1],l[0]]);var _=(0,A.Hq)(g,o,p),B=_.scale,D=_.realScaleType;B.domain(v).range(l),(0,A.zF)(B);var z=(0,A.g$)(B,I(I({},g),{},{realScaleType:D}));"xAxis"===r?(d="top"===y&&!x||"bottom"===y&&x,f=n.left,h=c[S]-d*g.height):"yAxis"===r&&(d="left"===y&&!x||"right"===y&&x,f=c[S]-d*g.width,h=n.top);var R=I(I(I({},g),z),{},{realScaleType:D,x:f,y:h,scale:B,width:"xAxis"===r?n.width:g.width,height:"yAxis"===r?n.height:g.height});return R.bandSize=(0,A.zT)(R,z),g.hide||"xAxis"!==r?g.hide||(c[S]+=(d?-1:1)*R.width):c[S]+=(d?-1:1)*R.height,I(I({},i),{},L({},a,R))}),{})}},Fn=Wn.chartName,Un=Wn.GraphicalChild,Gn=void 0===(Vn=Wn.defaultTooltipEventType)?"axis":Vn,Hn=void 0===(qn=Wn.validateTooltipEventTypes)?["axis"]:qn,Zn=Wn.axisComponents,$n=Wn.legendContent,Yn=Wn.formatAxisMap,Xn=Wn.defaultProps,Kn=function(t,e){var n=t.props,r=t.dataStartIndex,o=t.dataEndIndex,i=t.updateId;if(!(0,j.TT)({props:n}))return null;var s=n.children,u=n.layout,l=n.stackOffset,c=n.data,p=n.reverseStackOrder,h=nr(u),g=h.numericAxisName,y=h.cateAxisName,v=(0,j.NN)(s,Un),m=(0,A.wh)(c,v,"".concat(g,"Id"),"".concat(y,"Id"),l,p),b=Zn.reduce((function(t,e){var i="".concat(e.axisType,"Map");return Tn(Tn({},t),{},_n({},i,tr(n,Tn(Tn({},e),{},{graphicalItems:v,stackGroups:e.axisType===g&&m,dataStartIndex:r,dataEndIndex:o}))))}),{}),x=function(t,e){var n=t.props,r=t.graphicalItems,o=t.xAxisMap,i=void 0===o?{}:o,a=t.yAxisMap,s=void 0===a?{}:a,u=n.width,l=n.height,c=n.children,p=n.margin||{},h=(0,j.sP)(c,Te),d=(0,j.sP)(c,Q.D),g=Object.keys(s).reduce((function(t,e){var n=s[e],r=n.orientation;return n.mirror||n.hide?t:Tn(Tn({},t),{},_n({},r,t[r]+n.width))}),{left:p.left||0,right:p.right||0}),y=Object.keys(i).reduce((function(t,e){var n=i[e],r=n.orientation;return n.mirror||n.hide?t:Tn(Tn({},t),{},_n({},r,f()(t,"".concat(r))+n.height))}),{top:p.top||0,bottom:p.bottom||0}),v=Tn(Tn({},y),g),m=v.bottom;h&&(v.bottom+=h.props.height||Te.defaultProps.height),d&&e&&(v=(0,A.By)(v,r,n,e));var b=u-v.left-v.right,x=l-v.top-v.bottom;return Tn(Tn({brushBottom:m},v),{},{width:Math.max(b,0),height:Math.max(x,0)})}(Tn(Tn({},b),{},{props:n,graphicalItems:v}),null==e?void 0:e.legendBBox);Object.keys(b).forEach((function(t){b[t]=Yn(n,b[t],x,t.replace("Map",""),Fn)}));var O,S,w,E=(O=b["".concat(y,"Map")],S=(0,M.Kt)(O),{tooltipTicks:w=(0,A.uY)(S,!1,!0),orderedTooltipTicks:d()(w,(function(t){return t.coordinate})),tooltipAxis:S,tooltipAxisBandSize:(0,A.zT)(S,w)}),k=function(t,e){var n=e.graphicalItems,r=e.stackGroups,o=e.offset,i=e.updateId,s=e.dataStartIndex,u=e.dataEndIndex,l=t.barSize,c=t.layout,p=t.barGap,f=t.barCategoryGap,h=t.maxBarSize,d=nr(c),g=d.numericAxisName,y=d.cateAxisName,v=function(t){return!(!t||!t.length)&&t.some((function(t){var e=(0,j.Gf)(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(n),m=v&&(0,A.pt)({barSize:l,stackGroups:r}),b=[];return n.forEach((function(n,l){var d=zn(t.data,{graphicalItems:[n],dataStartIndex:s,dataEndIndex:u}),v=n.props,x=v.dataKey,O=v.maxBarSize,S=n.props["".concat(g,"Id")],w=n.props["".concat(y,"Id")],M=Zn.reduce((function(t,r){var o,i=e["".concat(r.axisType,"Map")],a=n.props["".concat(r.axisType,"Id")];i&&i[a]||"zAxis"===r.axisType||function(t,e){throw new Error("Invariant failed")}();var s=i[a];return Tn(Tn({},t),{},(_n(o={},r.axisType,s),_n(o,"".concat(r.axisType,"Ticks"),(0,A.uY)(s)),o))}),{}),E=M[y],k=M["".concat(y,"Ticks")],C=r&&r[S]&&r[S].hasStack&&(0,A.O3)(n,r[S].stackGroups),P=(0,j.Gf)(n.type).indexOf("Bar")>=0,T=(0,A.zT)(E,k),_=[];if(P){var B,D,I=a()(O)?h:O,L=null!==(B=null!==(D=(0,A.zT)(E,k,!0))&&void 0!==D?D:I)&&void 0!==B?B:0;_=(0,A.qz)({barGap:p,barCategoryGap:f,bandSize:L!==T?L:T,sizeList:m[w],maxBarSize:I}),L!==T&&(_=_.map((function(t){return Tn(Tn({},t),{},{position:Tn(Tn({},t.position),{},{offset:t.position.offset-L/2})})})))}var z,R=n&&n.type&&n.type.getComposedData;R&&b.push({props:Tn(Tn({},R(Tn(Tn({},M),{},{displayedData:d,props:t,dataKey:x,item:n,bandSize:T,barPosition:_,offset:o,stackedData:C,layout:c,dataStartIndex:s,dataEndIndex:u}))),{},(z={key:n.key||"item-".concat(l)},_n(z,g,M[g]),_n(z,y,M[y]),_n(z,"animationId",i),z)),childIndex:(0,j.$R)(n,t.children),item:n})})),b}(n,Tn(Tn({},b),{},{dataStartIndex:r,dataEndIndex:o,updateId:i,graphicalItems:v,stackGroups:m,offset:x}));return Tn(Tn({formattedGraphicalItems:k,graphicalItems:v,offset:x,stackGroups:m},E),b)},Nn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&wn(t,e)}(c,t);var e,n,i,s,l=(i=c,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=kn(i);if(s){var n=kn(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return Mn(this,t)});function c(t){var e,n,o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),_n(En(o=l.call(this,t)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),_n(En(o),"accessibilityManager",new hn),_n(En(o),"handleLegendBBoxUpdate",(function(t){if(t){var e=o.state,n=e.dataStartIndex,r=e.dataEndIndex,i=e.updateId;o.setState(Tn({legendBBox:t},Kn({props:o.props,dataStartIndex:n,dataEndIndex:r,updateId:i},Tn(Tn({},o.state),{},{legendBBox:t}))))}})),_n(En(o),"handleReceiveSyncEvent",(function(t,e,n){if(o.props.syncId===t){if(n===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(e)}})),_n(En(o),"handleBrushChange",(function(t){var e=t.startIndex,n=t.endIndex;if(e!==o.state.dataStartIndex||n!==o.state.dataEndIndex){var r=o.state.updateId;o.setState((function(){return Tn({dataStartIndex:e,dataEndIndex:n},Kn({props:o.props,dataStartIndex:e,dataEndIndex:n,updateId:r},o.state))})),o.triggerSyncEvent({dataStartIndex:e,dataEndIndex:n})}})),_n(En(o),"handleMouseEnter",(function(t){var e=o.getMouseInfo(t);if(e){var n=Tn(Tn({},e),{},{isTooltipActive:!0});o.setState(n),o.triggerSyncEvent(n);var r=o.props.onMouseEnter;u()(r)&&r(n,t)}})),_n(En(o),"triggeredAfterMouseMove",(function(t){var e=o.getMouseInfo(t),n=e?Tn(Tn({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(n),o.triggerSyncEvent(n);var r=o.props.onMouseMove;u()(r)&&r(n,t)})),_n(En(o),"handleItemMouseEnter",(function(t){o.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))})),_n(En(o),"handleItemMouseLeave",(function(){o.setState((function(){return{isTooltipActive:!1}}))})),_n(En(o),"handleMouseMove",(function(t){t.persist(),o.throttleTriggeredAfterMouseMove(t)})),_n(En(o),"handleMouseLeave",(function(t){var e={isTooltipActive:!1};o.setState(e),o.triggerSyncEvent(e);var n=o.props.onMouseLeave;u()(n)&&n(e,t)})),_n(En(o),"handleOuterEvent",(function(t){var e,n=(0,j.Bh)(t),r=f()(o.props,"".concat(n));n&&u()(r)&&r(null!==(e=/.*touch.*/i.test(n)?o.getMouseInfo(t.changedTouches[0]):o.getMouseInfo(t))&&void 0!==e?e:{},t)})),_n(En(o),"handleClick",(function(t){var e=o.getMouseInfo(t);if(e){var n=Tn(Tn({},e),{},{isTooltipActive:!0});o.setState(n),o.triggerSyncEvent(n);var r=o.props.onClick;u()(r)&&r(n,t)}})),_n(En(o),"handleMouseDown",(function(t){var e=o.props.onMouseDown;u()(e)&&e(o.getMouseInfo(t),t)})),_n(En(o),"handleMouseUp",(function(t){var e=o.props.onMouseUp;u()(e)&&e(o.getMouseInfo(t),t)})),_n(En(o),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(t.changedTouches[0])})),_n(En(o),"handleTouchStart",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseDown(t.changedTouches[0])})),_n(En(o),"handleTouchEnd",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseUp(t.changedTouches[0])})),_n(En(o),"triggerSyncEvent",(function(t){void 0!==o.props.syncId&&sn.emit(un,o.props.syncId,t,o.eventEmitterSymbol)})),_n(En(o),"applySyncEvent",(function(t){var e=o.props,n=e.layout,r=e.syncMethod,i=o.state.updateId,a=t.dataStartIndex,s=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)o.setState(Tn({dataStartIndex:a,dataEndIndex:s},Kn({props:o.props,dataStartIndex:a,dataEndIndex:s,updateId:i},o.state)));else if(void 0!==t.activeTooltipIndex){var u=t.chartX,l=t.chartY,c=t.activeTooltipIndex,p=o.state,f=p.offset,h=p.tooltipTicks;if(!f)return;if("function"==typeof r)c=r(h,t);else if("value"===r){c=-1;for(var d=0;d<h.length;d++)if(h[d].value===t.activeLabel){c=d;break}}var g=Tn(Tn({},f),{},{x:f.left,y:f.top}),y=Math.min(u,g.x+g.width),v=Math.min(l,g.y+g.height),m=h[c]&&h[c].value,b=Qn(o.state,o.props.data,c),x=h[c]?{x:"horizontal"===n?h[c].coordinate:y,y:"horizontal"===n?v:h[c].coordinate}:Ln;o.setState(Tn(Tn({},t),{},{activeLabel:m,activeCoordinate:x,activePayload:b,activeTooltipIndex:c}))}else o.setState(t)})),_n(En(o),"verticalCoordinatesGenerator",(function(t,e){var n=t.xAxis,r=t.width,o=t.height,i=t.offset;return(0,A.Rf)($(Tn(Tn(Tn({},fe.defaultProps),n),{},{ticks:(0,A.uY)(n,!0),viewBox:{x:0,y:0,width:r,height:o}})),i.left,i.left+i.width,e)})),_n(En(o),"horizontalCoordinatesGenerator",(function(t,e){var n=t.yAxis,r=t.width,o=t.height,i=t.offset;return(0,A.Rf)($(Tn(Tn(Tn({},fe.defaultProps),n),{},{ticks:(0,A.uY)(n,!0),viewBox:{x:0,y:0,width:r,height:o}})),i.top,i.top+i.height,e)})),_n(En(o),"axesTicksGenerator",(function(t){return(0,A.uY)(t,!0)})),_n(En(o),"renderCursor",(function(t){var e,n=o.state,i=n.isTooltipActive,a=n.activeCoordinate,s=n.activePayload,u=n.offset,l=n.activeTooltipIndex,c=n.tooltipAxisBandSize,p=o.getTooltipEventType(),f=null!==(e=t.props.active)&&void 0!==e?e:i;if(!t||!t.props.cursor||!f||!a||"ScatterChart"!==Fn&&"axis"!==p)return null;var h,d=o.props.layout,g=zt;if("ScatterChart"===Fn)h=a,g=Gt;else if("BarChart"===Fn)h=function(t,e,n,r){var o=r/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?e.x-o:n.left+.5,y:"horizontal"===t?n.top+.5:e.y-o,width:"horizontal"===t?r:n.width-1,height:"horizontal"===t?n.height-1:r}}(d,a,u,c),g=$t.A;else if("radial"===d){var y=w(a),v=y.cx,m=y.cy,b=y.radius;h={cx:v,cy:m,startAngle:y.startAngle,endAngle:y.endAngle,innerRadius:b,outerRadius:b},g=qt.L}else h={points:gn(d,a,u)},g=zt;var x=t.key||"_recharts-cursor",O=Tn(Tn(Tn(Tn({stroke:"#ccc",pointerEvents:"none"},u),h),(0,j.L6)(t.props.cursor)),{},{payload:s,payloadIndex:l,key:x,className:"recharts-tooltip-cursor"});return(0,r.isValidElement)(t.props.cursor)?(0,r.cloneElement)(t.props.cursor,O):(0,r.createElement)(g,O)})),_n(En(o),"renderPolarAxis",(function(t,e,n){var i=f()(t,"type.axisType"),a=f()(o.state,"".concat(i,"Map")),s=a&&a[t.props["".concat(i,"Id")]];return(0,r.cloneElement)(t,Tn(Tn({},s),{},{className:i,key:t.key||"".concat(e,"-").concat(n),ticks:(0,A.uY)(s,!0)}))})),_n(En(o),"renderXAxis",(function(t,e,n){var r=o.state.xAxisMap[t.props.xAxisId];return o.renderAxis(r,t,e,n)})),_n(En(o),"renderYAxis",(function(t,e,n){var r=o.state.yAxisMap[t.props.yAxisId];return o.renderAxis(r,t,e,n)})),_n(En(o),"renderGrid",(function(t){var e=o.state,n=e.xAxisMap,i=e.yAxisMap,a=e.offset,s=o.props,u=s.width,l=s.height,c=(0,M.Kt)(n),p=m()(i,(function(t){return x()(t.domain,Number.isFinite)}))||(0,M.Kt)(i),f=t.props||{};return(0,r.cloneElement)(t,{key:t.key||"grid",x:(0,M.hj)(f.x)?f.x:a.left,y:(0,M.hj)(f.y)?f.y:a.top,width:(0,M.hj)(f.width)?f.width:a.width,height:(0,M.hj)(f.height)?f.height:a.height,xAxis:c,yAxis:p,offset:a,chartWidth:u,chartHeight:l,verticalCoordinatesGenerator:f.verticalCoordinatesGenerator||o.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:f.horizontalCoordinatesGenerator||o.horizontalCoordinatesGenerator})})),_n(En(o),"renderPolarGrid",(function(t){var e=t.props,n=e.radialLines,i=e.polarAngles,a=e.polarRadius,s=o.state,u=s.radiusAxisMap,l=s.angleAxisMap,c=(0,M.Kt)(u),p=(0,M.Kt)(l),f=p.cx,h=p.cy,d=p.innerRadius,g=p.outerRadius;return(0,r.cloneElement)(t,{polarAngles:Array.isArray(i)?i:(0,A.uY)(p,!0).map((function(t){return t.coordinate})),polarRadius:Array.isArray(a)?a:(0,A.uY)(c,!0).map((function(t){return t.coordinate})),cx:f,cy:h,innerRadius:d,outerRadius:g,key:t.key||"polar-grid",radialLines:n})})),_n(En(o),"renderLegend",(function(){var t=o.state.formattedGraphicalItems,e=o.props,n=e.children,i=e.width,a=e.height,s=o.props.margin||{},u=i-(s.left||0)-(s.right||0),l=(0,_e.z)({children:n,formattedGraphicalItems:t,legendWidth:u,legendContent:$n});if(!l)return null;var c=l.item,p=On(l,yn);return(0,r.cloneElement)(c,Tn(Tn({},p),{},{chartWidth:i,chartHeight:a,margin:s,onBBoxUpdate:o.handleLegendBBoxUpdate}))})),_n(En(o),"renderTooltip",(function(){var t,e=o.props.children,n=(0,j.sP)(e,K.u);if(!n)return null;var i=o.state,a=i.isTooltipActive,s=i.activeCoordinate,u=i.activePayload,l=i.activeLabel,c=i.offset,p=null!==(t=n.props.active)&&void 0!==t?t:a;return(0,r.cloneElement)(n,{viewBox:Tn(Tn({},c),{},{x:c.left,y:c.top}),active:p,label:l,payload:p?u:[],coordinate:s})})),_n(En(o),"renderBrush",(function(t){var e=o.props,n=e.margin,i=e.data,a=o.state,s=a.offset,u=a.dataStartIndex,l=a.dataEndIndex,c=a.updateId;return(0,r.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:(0,A.DO)(o.handleBrushChange,t.props.onChange),data:i,x:(0,M.hj)(t.props.x)?t.props.x:s.left,y:(0,M.hj)(t.props.y)?t.props.y:s.top+s.height+s.brushBottom-(n.bottom||0),width:(0,M.hj)(t.props.width)?t.props.width:s.width,startIndex:u,endIndex:l,updateId:"brush-".concat(c)})})),_n(En(o),"renderReferenceElement",(function(t,e,n){if(!t)return null;var i=En(o).clipPathId,a=o.state,s=a.xAxisMap,u=a.yAxisMap,l=a.offset,c=t.props,p=c.xAxisId,f=c.yAxisId;return(0,r.cloneElement)(t,{key:t.key||"".concat(e,"-").concat(n),xAxis:s[p],yAxis:u[f],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:i})})),_n(En(o),"renderActivePoints",(function(t){var e=t.item,n=t.activePoint,r=t.basePoint,o=t.childIndex,i=t.isRange,a=[],s=e.props.key,u=e.item.props,l=u.activeDot,p=Tn(Tn({index:o,dataKey:u.dataKey,cx:n.x,cy:n.y,r:4,fill:(0,A.fk)(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(s,"-activePoint-").concat(o)},(0,j.L6)(l)),(0,Ct.Ym)(l));return a.push(c.renderActiveDot(l,p)),r?a.push(c.renderActiveDot(l,Tn(Tn({},p),{},{cx:r.x,cy:r.y,key:"".concat(s,"-basePoint-").concat(o)}))):i&&a.push(null),a})),_n(En(o),"renderGraphicChild",(function(t,e,n){var i=o.filterFormatItem(t,e,n);if(!i)return null;var s=o.getTooltipEventType(),u=o.state,l=u.isTooltipActive,c=u.tooltipAxis,p=u.activeTooltipIndex,f=u.activeLabel,h=o.props.children,d=(0,j.sP)(h,K.u),g=i.props,y=g.points,v=g.isRange,m=g.baseLine,b=i.item.props,x=b.activeDot,O=b.hide,S=b.activeBar,w=b.activeShape,E=Boolean(!O&&l&&d&&(x||S||w)),k={};"axis"!==s&&d&&"click"===d.props.trigger?k={onClick:(0,A.DO)(o.handleItemMouseEnter,t.props.onClick)}:"axis"!==s&&(k={onMouseLeave:(0,A.DO)(o.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:(0,A.DO)(o.handleItemMouseEnter,t.props.onMouseEnter)});var C=(0,r.cloneElement)(t,Tn(Tn({},i.props),k));if(E){if(!(p>=0)){var P,T=(null!==(P=o.getItemByXY(o.state.activeCoordinate))&&void 0!==P?P:{graphicalItem:C}).graphicalItem,_=T.item,B=void 0===_?t:_,D=T.childIndex,I=Tn(Tn(Tn({},i.props),k),{},{activeIndex:D});return[(0,r.cloneElement)(B,I),null,null]}var L,z;if(c.dataKey&&!c.allowDuplicatedCategory){var R="function"==typeof c.dataKey?function(t){return"function"==typeof c.dataKey?c.dataKey(t.payload):null}:"payload.".concat(c.dataKey.toString());L=(0,M.Ap)(y,R,f),z=v&&m&&(0,M.Ap)(m,R,f)}else L=null==y?void 0:y[p],z=v&&m&&m[p];if(w||S){var W=void 0!==t.props.activeIndex?t.props.activeIndex:p;return[(0,r.cloneElement)(t,Tn(Tn(Tn({},i.props),k),{},{activeIndex:W})),null,null]}if(!a()(L))return[C].concat(Cn(o.renderActivePoints({item:i,activePoint:L,basePoint:z,childIndex:p,isRange:v})))}return v?[C,null,null]:[C,null]})),_n(En(o),"renderCustomized",(function(t,e,n){return(0,r.cloneElement)(t,Tn(Tn({key:"recharts-customized-".concat(n)},o.props),o.state))})),_n(En(o),"renderMap",{CartesianGrid:{handler:o.renderGrid,once:!0},ReferenceArea:{handler:o.renderReferenceElement},ReferenceLine:{handler:o.renderReferenceElement},ReferenceDot:{handler:o.renderReferenceElement},XAxis:{handler:o.renderXAxis},YAxis:{handler:o.renderYAxis},Brush:{handler:o.renderBrush,once:!0},Bar:{handler:o.renderGraphicChild},Line:{handler:o.renderGraphicChild},Area:{handler:o.renderGraphicChild},Radar:{handler:o.renderGraphicChild},RadialBar:{handler:o.renderGraphicChild},Scatter:{handler:o.renderGraphicChild},Pie:{handler:o.renderGraphicChild},Funnel:{handler:o.renderGraphicChild},Tooltip:{handler:o.renderCursor,once:!0},PolarGrid:{handler:o.renderPolarGrid,once:!0},PolarAngleAxis:{handler:o.renderPolarAxis},PolarRadiusAxis:{handler:o.renderPolarAxis},Customized:{handler:o.renderCustomized}}),o.clipPathId="".concat(null!==(e=t.id)&&void 0!==e?e:(0,M.EL)("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=y()(o.triggeredAfterMouseMove,null!==(n=t.throttleDelay)&&void 0!==n?n:1e3/60),o.state={},o}return e=c,n=[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(t=this.props.margin.left)&&void 0!==t?t:0,top:null!==(e=this.props.margin.top)&&void 0!==e?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout})}},{key:"getSnapshotBeforeUpdate",value:function(t,e){return this.props.accessibilityLayer?(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(n=this.props.margin.left)&&void 0!==n?n:0,top:null!==(r=this.props.margin.top)&&void 0!==r?r:0}}),null):null;var n,r}},{key:"componentDidUpdate",value:function(){}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=(0,j.sP)(this.props.children,K.u);if(t&&Boolean(t.props.shared)){var e=t.props.shared?"axis":"item";return Hn.indexOf(e)>=0?e:Gn}return Gn}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=this.container,n=e.getBoundingClientRect(),r=(0,E.os)(n),o={chartX:Math.round(t.pageX-r.left),chartY:Math.round(t.pageY-r.top)},i=n.width/e.offsetWidth||1,a=this.inRange(o.chartX,o.chartY,i);if(!a)return null;var s=this.state,u=s.xAxisMap,l=s.yAxisMap;if("axis"!==this.getTooltipEventType()&&u&&l){var c=(0,M.Kt)(u).scale,p=(0,M.Kt)(l).scale,f=c&&c.invert?c.invert(o.chartX):null,h=p&&p.invert?p.invert(o.chartY):null;return Tn(Tn({},o),{},{xValue:f,yValue:h})}var d=Jn(this.state,this.props.data,this.props.layout,a);return d?Tn(Tn({},o),d):null}},{key:"inRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=this.props.layout,o=t/n,i=e/n;if("horizontal"===r||"vertical"===r){var a=this.state.offset,s=o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height;return s?{x:o,y:i}:null}var u=this.state,l=u.angleAxisMap,c=u.radiusAxisMap;if(l&&c){var p=(0,M.Kt)(l);return(0,S.z3)({x:o,y:i},p)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),n=(0,j.sP)(t,K.u),r={};return n&&"axis"===e&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),Tn(Tn({},(0,Ct.Ym)(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){sn.on(un,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){sn.removeListener(un,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,n){for(var r=this.state.formattedGraphicalItems,o=0,i=r.length;o<i;o++){var a=r[o];if(a.item===t||a.props.key===t.key||e===(0,j.Gf)(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderAxis",value:function(t,e,n,r){var i=this.props,a=i.width,s=i.height;return o().createElement(fe,xn({},t,{className:(0,O.Z)("recharts-".concat(t.axisType," ").concat(t.axisType),t.className),key:e.key||"".concat(n,"-").concat(r),viewBox:{x:0,y:0,width:a,height:s},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,n=e.left,r=e.top,i=e.height,a=e.width;return o().createElement("defs",null,o().createElement("clipPath",{id:t},o().createElement("rect",{x:n,y:r,height:i,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var n=bn(e,2),r=n[0],o=n[1];return Tn(Tn({},t),{},_n({},r,o.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var n=bn(e,2),r=n[0],o=n[1];return Tn(Tn({},t),{},_n({},r,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null===(e=this.state.xAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null===(e=this.state.yAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,n=e.formattedGraphicalItems,r=e.activeItem;if(n&&n.length)for(var o=0,i=n.length;o<i;o++){var a=n[o],s=a.props,u=a.item,l=(0,j.Gf)(u.type);if("Bar"===l){var c=(s.data||[]).find((function(e){return(0,$t.X)(t,e)}));if(c)return{graphicalItem:a,payload:c}}else if("RadialBar"===l){var p=(s.data||[]).find((function(e){return(0,S.z3)(t,e)}));if(p)return{graphicalItem:a,payload:p}}else if((0,dn.lT)(a,r)||(0,dn.V$)(a,r)||(0,dn.w7)(a,r)){var f=(0,dn.a3)({graphicalItem:a,activeTooltipItem:r,itemData:u.props.data}),h=void 0===u.props.activeIndex?f:u.props.activeIndex;return{graphicalItem:Tn(Tn({},a),{},{childIndex:h}),payload:(0,dn.w7)(a,r)?u.props.data[f]:a.props.data[f]}}}return null}},{key:"render",value:function(){var t=this;if(!(0,j.TT)(this))return null;var e,n,r=this.props,i=r.children,a=r.className,s=r.width,u=r.height,l=r.style,c=r.compact,p=r.title,f=r.desc,h=On(r,vn),d=(0,j.L6)(h);if(c)return o().createElement(Y.T,xn({},d,{width:s,height:u,title:p,desc:f}),this.renderClipPath(),(0,j.eu)(i,this.renderMap));this.props.accessibilityLayer&&(d.tabIndex=null!==(e=this.props.tabIndex)&&void 0!==e?e:0,d.role=null!==(n=this.props.role)&&void 0!==n?n:"img",d.onKeyDown=function(e){t.accessibilityManager.keyboardEvent(e)},d.onFocus=function(){t.accessibilityManager.focus()});var g=this.parseEventsOfWrapper();return o().createElement("div",xn({className:(0,O.Z)("recharts-wrapper",a),style:Tn({position:"relative",cursor:"default",width:s,height:u},l)},g,{ref:function(e){t.container=e},role:"region"}),o().createElement(Y.T,xn({},d,{width:s,height:u,title:p,desc:f,style:In}),this.renderClipPath(),(0,j.eu)(i,this.renderMap)),this.renderLegend(),this.renderTooltip())}}],n&&Sn(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),c}(r.Component),_n(Nn,"displayName",Fn),_n(Nn,"defaultProps",Tn({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},Xn)),_n(Nn,"getDerivedStateFromProps",(function(t,e){var n=t.dataKey,r=t.data,o=t.children,i=t.width,s=t.height,u=t.layout,l=t.stackOffset,c=t.margin;if(void 0===e.updateId){var p=er(t);return Tn(Tn(Tn({},p),{},{updateId:0},Kn(Tn(Tn({props:t},p),{},{updateId:0}),e)),{},{prevDataKey:n,prevData:r,prevWidth:i,prevHeight:s,prevLayout:u,prevStackOffset:l,prevMargin:c,prevChildren:o})}if(n!==e.prevDataKey||r!==e.prevData||i!==e.prevWidth||s!==e.prevHeight||u!==e.prevLayout||l!==e.prevStackOffset||!(0,Yt.w)(c,e.prevMargin)){var f=er(t),h={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},d=Tn(Tn({},Jn(e,r,u)),{},{updateId:e.updateId+1}),g=Tn(Tn(Tn({},f),h),d);return Tn(Tn(Tn({},g),Kn(Tn({props:t},g),e)),{},{prevDataKey:n,prevData:r,prevWidth:i,prevHeight:s,prevLayout:u,prevStackOffset:l,prevMargin:c,prevChildren:o})}if(!(0,j.rL)(o,e.prevChildren)){var y=a()(r)?e.updateId+1:e.updateId;return Tn(Tn({updateId:y},Kn(Tn(Tn({props:t},e),{},{updateId:y}),e)),{},{prevChildren:o})}return null})),_n(Nn,"renderActiveDot",(function(t,e){var n;return n=(0,r.isValidElement)(t)?(0,r.cloneElement)(t,e):u()(t)?t(e):o().createElement(Zt,e),o().createElement(X.m,{className:"recharts-active-dot",key:e.key},n)})),Nn)},11011:(t,e,n)=>{"use strict";n.d(e,{b:()=>r});var r=function(t){return null};r.displayName="Cell"},81224:(t,e,n)=>{"use strict";n.d(e,{_:()=>M});var r=n(8156),o=n.n(r),i=n(1842),a=n.n(i),s=n(61049),u=n.n(s),l=n(29259),c=n.n(l),p=n(75877),f=n(75963),h=n(79376),d=n(15027),g=n(22089);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}var v=["offset"];function m(t){return function(t){if(Array.isArray(t))return b(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function O(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function S(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==y(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===y(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w(){return w=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},w.apply(this,arguments)}function M(t){var e,n=t.offset,i=O({offset:void 0===n?5:n},function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,v)),s=i.viewBox,l=i.position,y=i.value,m=i.children,b=i.content,x=i.className,S=void 0===x?"":x,M=i.textBreakAll;if(!s||a()(y)&&a()(m)&&!(0,r.isValidElement)(b)&&!u()(b))return null;if((0,r.isValidElement)(b))return(0,r.cloneElement)(b,i);if(u()(b)){if(e=(0,r.createElement)(b,i),(0,r.isValidElement)(e))return e}else e=function(t){var e=t.value,n=t.formatter,r=a()(t.children)?e:t.children;return u()(n)?n(r):r}(i);var E=function(t){return"cx"in t&&(0,d.hj)(t.cx)}(s),k=(0,h.L6)(i,!0);if(E&&("insideStart"===l||"insideEnd"===l||"end"===l))return function(t,e,n){var r,i,s=t.position,u=t.viewBox,l=t.offset,c=t.className,f=u,h=f.cx,y=f.cy,v=f.innerRadius,m=f.outerRadius,b=f.startAngle,x=f.endAngle,O=f.clockWise,S=(v+m)/2,M=function(t,e){return(0,d.uY)(e-t)*Math.min(Math.abs(e-t),360)}(b,x),E=M>=0?1:-1;"insideStart"===s?(r=b+E*l,i=O):"insideEnd"===s?(r=x-E*l,i=!O):"end"===s&&(r=x+E*l,i=O),i=M<=0?i:!i;var k=(0,g.op)(h,y,S,r),C=(0,g.op)(h,y,S,r+359*(i?1:-1)),P="M".concat(k.x,",").concat(k.y,"\n A").concat(S,",").concat(S,",0,1,").concat(i?0:1,",\n ").concat(C.x,",").concat(C.y),A=a()(t.id)?(0,d.EL)("recharts-radial-line-"):t.id;return o().createElement("text",w({},n,{dominantBaseline:"central",className:(0,p.Z)("recharts-radial-bar-label",c)}),o().createElement("defs",null,o().createElement("path",{id:A,d:P})),o().createElement("textPath",{xlinkHref:"#".concat(A)},e))}(i,e,k);var C=E?function(t){var e=t.viewBox,n=t.offset,r=t.position,o=e,i=o.cx,a=o.cy,s=o.innerRadius,u=o.outerRadius,l=(o.startAngle+o.endAngle)/2;if("outside"===r){var c=(0,g.op)(i,a,u+n,l),p=c.x;return{x:p,y:c.y,textAnchor:p>=i?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var f=(s+u)/2,h=(0,g.op)(i,a,f,l);return{x:h.x,y:h.y,textAnchor:"middle",verticalAnchor:"middle"}}(i):function(t){var e=t.viewBox,n=t.parentViewBox,r=t.offset,o=t.position,i=e,a=i.x,s=i.y,u=i.width,l=i.height,p=l>=0?1:-1,f=p*r,h=p>0?"end":"start",g=p>0?"start":"end",y=u>=0?1:-1,v=y*r,m=y>0?"end":"start",b=y>0?"start":"end";if("top"===o)return O(O({},{x:a+u/2,y:s-p*r,textAnchor:"middle",verticalAnchor:h}),n?{height:Math.max(s-n.y,0),width:u}:{});if("bottom"===o)return O(O({},{x:a+u/2,y:s+l+f,textAnchor:"middle",verticalAnchor:g}),n?{height:Math.max(n.y+n.height-(s+l),0),width:u}:{});if("left"===o){var x={x:a-v,y:s+l/2,textAnchor:m,verticalAnchor:"middle"};return O(O({},x),n?{width:Math.max(x.x-n.x,0),height:l}:{})}if("right"===o){var S={x:a+u+v,y:s+l/2,textAnchor:b,verticalAnchor:"middle"};return O(O({},S),n?{width:Math.max(n.x+n.width-S.x,0),height:l}:{})}var w=n?{width:u,height:l}:{};return"insideLeft"===o?O({x:a+v,y:s+l/2,textAnchor:b,verticalAnchor:"middle"},w):"insideRight"===o?O({x:a+u-v,y:s+l/2,textAnchor:m,verticalAnchor:"middle"},w):"insideTop"===o?O({x:a+u/2,y:s+f,textAnchor:"middle",verticalAnchor:g},w):"insideBottom"===o?O({x:a+u/2,y:s+l-f,textAnchor:"middle",verticalAnchor:h},w):"insideTopLeft"===o?O({x:a+v,y:s+f,textAnchor:b,verticalAnchor:g},w):"insideTopRight"===o?O({x:a+u-v,y:s+f,textAnchor:m,verticalAnchor:g},w):"insideBottomLeft"===o?O({x:a+v,y:s+l-f,textAnchor:b,verticalAnchor:h},w):"insideBottomRight"===o?O({x:a+u-v,y:s+l-f,textAnchor:m,verticalAnchor:h},w):c()(o)&&((0,d.hj)(o.x)||(0,d.hU)(o.x))&&((0,d.hj)(o.y)||(0,d.hU)(o.y))?O({x:a+(0,d.h1)(o.x,u),y:s+(0,d.h1)(o.y,l),textAnchor:"end",verticalAnchor:"end"},w):O({x:a+u/2,y:s+l/2,textAnchor:"middle",verticalAnchor:"middle"},w)}(i);return o().createElement(f.x,w({className:(0,p.Z)("recharts-label",S)},k,C,{breakAll:M}),e)}M.displayName="Label";var E=function(t){var e=t.cx,n=t.cy,r=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,s=t.radius,u=t.innerRadius,l=t.outerRadius,c=t.x,p=t.y,f=t.top,h=t.left,g=t.width,y=t.height,v=t.clockWise,m=t.labelViewBox;if(m)return m;if((0,d.hj)(g)&&(0,d.hj)(y)){if((0,d.hj)(c)&&(0,d.hj)(p))return{x:c,y:p,width:g,height:y};if((0,d.hj)(f)&&(0,d.hj)(h))return{x:f,y:h,width:g,height:y}}return(0,d.hj)(c)&&(0,d.hj)(p)?{x:c,y:p,width:0,height:0}:(0,d.hj)(e)&&(0,d.hj)(n)?{cx:e,cy:n,startAngle:o||r||0,endAngle:i||r||0,innerRadius:u||0,outerRadius:l||s||a||0,clockWise:v}:t.viewBox?t.viewBox:{}},k=function(t,e){return t?!0===t?o().createElement(M,{key:"label-implicit",viewBox:e}):(0,d.P2)(t)?o().createElement(M,{key:"label-implicit",viewBox:e,value:t}):(0,r.isValidElement)(t)?t.type===M?(0,r.cloneElement)(t,{key:"label-implicit",viewBox:e}):o().createElement(M,{key:"label-implicit",content:t,viewBox:e}):u()(t)?o().createElement(M,{key:"label-implicit",content:t,viewBox:e}):c()(t)?o().createElement(M,w({viewBox:e},t,{key:"label-implicit"})):null:null};M.parseViewBox=E,M.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var o=t.children,i=E(t),a=(0,h.NN)(o,M).map((function(t,n){return(0,r.cloneElement)(t,{viewBox:e||i,key:"label-".concat(n)})}));if(!n)return a;var s=k(t.label,e||i);return[s].concat(m(a))}},97245:(t,e,n)=>{"use strict";n.d(e,{D:()=>W});var r=n(8156),o=n.n(r),i=n(61049),a=n.n(i),s=n(75877),u=n(91745),l=n(19617),c=n(66406),p=n(21442);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},h.apply(this,arguments)}function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,O(r.key),r)}}function v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},v(t,e)}function m(t,e){if(e&&("object"===f(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}function x(t,e,n){return(e=O(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function O(t){var e=function(t,e){if("object"!==f(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===f(e)?e:String(e)}var S=32,w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}(O,t);var e,n,r,i,f=(r=O,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=b(r);if(i){var n=b(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return m(this,t)});function O(){return g(this,O),f.apply(this,arguments)}return e=O,n=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,n=16,r=S/6,i=S/3,a=t.inactive?e:t.color;if("plainline"===t.type)return o().createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:n,x2:S,y2:n,className:"recharts-legend-icon"});if("line"===t.type)return o().createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(n,"h").concat(i,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*i,",").concat(n,"\n H").concat(S,"M").concat(2*i,",").concat(n,"\n A").concat(r,",").concat(r,",0,1,1,").concat(i,",").concat(n),className:"recharts-legend-icon"});if("rect"===t.type)return o().createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(S,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(o().isValidElement(t.legendIcon)){var s=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){x(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t);return delete s.legendIcon,o().cloneElement(t.legendIcon,s)}return o().createElement(c.v,{fill:a,cx:n,cy:n,size:S,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,n=e.payload,r=e.iconSize,i=e.layout,c=e.formatter,f=e.inactiveColor,d={x:0,y:0,width:S,height:S},g={display:"horizontal"===i?"inline-block":"block",marginRight:10},y={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map((function(e,n){var i,v=e.formatter||c,m=(0,s.Z)((x(i={"recharts-legend-item":!0},"legend-item-".concat(n),!0),x(i,"inactive",e.inactive),i));if("none"===e.type)return null;var b=a()(e.value)?null:e.value;(0,u.Z)(!a()(e.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var O=e.inactive?f:e.color;return o().createElement("li",h({className:m,style:g,key:"legend-item-".concat(n)},(0,p.bw)(t.props,e,n)),o().createElement(l.T,{width:r,height:r,viewBox:d,style:y},t.renderIcon(e)),o().createElement("span",{className:"recharts-legend-item-text",style:{color:O}},v?v(b,e,n):b))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,n=t.layout,r=t.align;if(!e||!e.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===n?r:"left"};return o().createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],n&&y(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),O}(r.PureComponent);x(w,"displayName","Legend"),x(w,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var M=n(15027),E=n(32391);function k(t){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k(t)}var C=["ref"];function P(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?P(Object(n),!0).forEach((function(e){L(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function j(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,z(r.key),r)}}function _(t,e){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_(t,e)}function B(t,e){if(e&&("object"===k(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return D(t)}function D(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I(t){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},I(t)}function L(t,e,n){return(e=z(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function z(t){var e=function(t,e){if("object"!==k(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===k(e)?e:String(e)}function R(t){return t.value}var W=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_(t,e)}(u,t);var e,n,r,i,a,s=(i=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=I(i);if(a){var n=I(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return B(this,t)});function u(){var t;j(this,u);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return L(D(t=s.call.apply(s,[this].concat(n))),"lastBoundingBox",{width:-1,height:-1}),t}return e=u,r=[{key:"getWithHeight",value:function(t,e){var n=t.props.layout;return"vertical"===n&&(0,M.hj)(t.props.height)?{height:t.props.height}:"horizontal"===n?{width:t.props.width||e}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e))}else-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?A({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,n,r=this.props,o=r.layout,i=r.align,a=r.verticalAlign,s=r.margin,u=r.chartWidth,l=r.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===i&&"vertical"===o?{left:((u||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:s&&s.right||0}:{left:s&&s.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(n="middle"===a?{top:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),A(A({},e),n)}},{key:"render",value:function(){var t=this,e=this.props,n=e.content,r=e.width,i=e.height,a=e.wrapperStyle,s=e.payloadUniqBy,u=e.payload,l=A(A({position:"absolute",width:r||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return o().createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(o().isValidElement(t))return o().cloneElement(t,e);if("function"==typeof t)return o().createElement(t,e);e.ref;var n=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(e,C);return o().createElement(w,n)}(n,A(A({},this.props),{},{payload:(0,E.z)(u,s,R)})))}}])&&T(e.prototype,n),r&&T(e,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(r.PureComponent);L(W,"displayName","Legend"),L(W,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"})},18205:(t,e,n)=>{"use strict";n.d(e,{h:()=>v});var r=n(75877),o=n(8156),i=n.n(o),a=n(12436),s=n.n(a),u=n(48570),l=n(15027),c=n(91745),p=n(79376);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){g(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function g(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==f(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===f(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var v=(0,o.forwardRef)((function(t,e){var n=t.aspect,a=t.initialDimension,f=void 0===a?{width:-1,height:-1}:a,h=t.width,g=void 0===h?"100%":h,v=t.height,m=void 0===v?"100%":v,b=t.minWidth,x=void 0===b?0:b,O=t.minHeight,S=t.maxHeight,w=t.children,M=t.debounce,E=void 0===M?0:M,k=t.id,C=t.className,P=t.onResize,A=t.style,j=void 0===A?{}:A,T=(0,o.useRef)(null),_=(0,o.useRef)();_.current=P,(0,o.useImperativeHandle)(e,(function(){return T}));var B,D,I=(B=(0,o.useState)({containerWidth:f.width,containerHeight:f.height}),D=2,function(t){if(Array.isArray(t))return t}(B)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(B,D)||function(t,e){if(t){if("string"==typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(t,e):void 0}}(B,D)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),L=I[0],z=I[1],R=(0,o.useCallback)((function(t,e){z((function(n){var r=Math.round(t),o=Math.round(e);return n.containerWidth===r&&n.containerHeight===o?n:{containerWidth:r,containerHeight:o}}))}),[]);(0,o.useEffect)((function(){var t=function(t){var e,n=t[0].contentRect,r=n.width,o=n.height;R(r,o),null===(e=_.current)||void 0===e||e.call(_,r,o)};E>0&&(t=s()(t,E,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),n=T.current.getBoundingClientRect(),r=n.width,o=n.height;return R(r,o),e.observe(T.current),function(){e.disconnect()}}),[R,E]);var W=(0,o.useMemo)((function(){var t=L.containerWidth,e=L.containerHeight;if(t<0||e<0)return null;(0,c.Z)((0,l.hU)(g)||(0,l.hU)(m),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",g,m),(0,c.Z)(!n||n>0,"The aspect(%s) must be greater than zero.",n);var r=(0,l.hU)(g)?t:g,a=(0,l.hU)(m)?e:m;n&&n>0&&(r?a=r/n:a&&(r=a*n),S&&a>S&&(a=S)),(0,c.Z)(r>0||a>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",r,a,g,m,x,O,n);var s=!Array.isArray(w)&&(0,u.isElement)(w)&&(0,p.Gf)(w.type).endsWith("Chart");return i().Children.map(w,(function(t){return(0,u.isElement)(t)?(0,o.cloneElement)(t,d({width:r,height:a},s?{style:d({height:"100%",width:"100%",maxHeight:a,maxWidth:r},t.props.style)}:{})):t}))}),[n,w,m,S,O,x,L,g]);return i().createElement("div",{id:k?"".concat(k):void 0,className:(0,r.Z)("recharts-responsive-container",C),style:d(d({},j),{},{width:g,height:m,minWidth:x,minHeight:O,maxHeight:S}),ref:T},W)}))},75963:(t,e,n)=>{"use strict";n.d(e,{x:()=>z});var r=n(8156),o=n.n(r),i=n(1842),a=n.n(i),s=n(75877),u=n(15027),l=n(79499),c=n(79376),p=n(88089);function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(void 0,o=function(t,e){if("object"!==f(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key,"string"),"symbol"===f(o)?o:String(o)),r)}var o}var y=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,v=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,m=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,b=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,x={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},O=Object.keys(x),S="NaN",w=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.num=e,this.unit=n,this.num=e,this.unit=n,Number.isNaN(e)&&(this.unit=""),""===n||m.test(n)||(this.num=NaN,this.unit=""),O.includes(n)&&(this.num=function(t,e){return t*x[e]}(e,n),this.unit="px")}var e,n,r;return e=t,r=[{key:"parse",value:function(e){var n,r=h(null!==(n=b.exec(e))&&void 0!==n?n:[],3),o=r[1],i=r[2];return new t(parseFloat(o),null!=i?i:"")}}],(n=[{key:"add",value:function(e){return this.unit!==e.unit?new t(NaN,""):new t(this.num+e.num,this.unit)}},{key:"subtract",value:function(e){return this.unit!==e.unit?new t(NaN,""):new t(this.num-e.num,this.unit)}},{key:"multiply",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new t(NaN,""):new t(this.num*e.num,this.unit||e.unit)}},{key:"divide",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new t(NaN,""):new t(this.num/e.num,this.unit||e.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&g(e.prototype,n),r&&g(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function M(t){if(t.includes(S))return S;for(var e=t;e.includes("*")||e.includes("/");){var n,r=h(null!==(n=y.exec(e))&&void 0!==n?n:[],4),o=r[1],i=r[2],a=r[3],s=w.parse(null!=o?o:""),u=w.parse(null!=a?a:""),l="*"===i?s.multiply(u):s.divide(u);if(l.isNaN())return S;e=e.replace(y,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var c,p=h(null!==(c=v.exec(e))&&void 0!==c?c:[],4),f=p[1],d=p[2],g=p[3],m=w.parse(null!=f?f:""),b=w.parse(null!=g?g:""),x="+"===d?m.add(b):m.subtract(b);if(x.isNaN())return S;e=e.replace(v,x.toString())}return e}var E=/\(([^()]*)\)/;function k(t){var e=function(t){try{return function(t){var e=t.replace(/\s+/g,"");return e=function(t){for(var e=t;e.includes("(");){var n=h(E.exec(e),2)[1];e=e.replace(E,M(n))}return e}(e),M(e)}(t)}catch(t){return S}}(t.slice(5,-1));return e===S?"":e}var C=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],P=["dx","dy","angle","className","breakAll"];function A(){return A=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},A.apply(this,arguments)}function j(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function T(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var B=/[ \f\n\r\t\v\u2028\u2029]+/,D=function(t){var e=t.children,n=t.breakAll,r=t.style;try{var o=[];return a()(e)||(o=n?e.toString().split(""):e.toString().split(B)),{wordsWithComputedWidth:o.map((function(t){return{word:t,width:(0,p.xE)(t,r).width}})),spaceWidth:n?0:(0,p.xE)(" ",r).width}}catch(t){return null}},I=function(t){return[{words:a()(t)?[]:t.toString().split(B)}]},L="#808080",z=function(t){var e=t.x,n=void 0===e?0:e,i=t.y,a=void 0===i?0:i,p=t.lineHeight,f=void 0===p?"1em":p,h=t.capHeight,d=void 0===h?"0.71em":h,g=t.scaleToFit,y=void 0!==g&&g,v=t.textAnchor,m=void 0===v?"start":v,b=t.verticalAnchor,x=void 0===b?"end":b,O=t.fill,S=void 0===O?L:O,w=j(t,C),M=(0,r.useMemo)((function(){return function(t){var e=t.width,n=t.scaleToFit,r=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||n)&&!l.x.isSsr){var s=D({breakAll:i,children:r,style:o});return s?function(t,e,n,r,o){var i=t.maxLines,a=t.children,s=t.style,l=t.breakAll,c=(0,u.hj)(i),p=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(t,e){var i=e.word,a=e.width,s=t[t.length-1];if(s&&(null==r||o||s.width+a+n<Number(r)))s.words.push(i),s.width+=a+n;else{var u={words:[i],width:a};t.push(u)}return t}),[])},h=f(e);if(!c)return h;for(var d,g=function(t){var e=p.slice(0,t),n=D({breakAll:l,style:s,children:e+"…"}).wordsWithComputedWidth,o=f(n),a=o.length>i||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(o).width>Number(r);return[a,o]},y=0,v=p.length-1,m=0;y<=v&&m<=p.length-1;){var b=Math.floor((y+v)/2),x=T(g(b-1),2),O=x[0],S=x[1],w=T(g(b),1)[0];if(O||w||(y=b+1),O&&w&&(v=b-1),!O&&w){d=S;break}m++}return d||h}({breakAll:i,children:r,maxLines:a,style:o},s.wordsWithComputedWidth,s.spaceWidth,e,n):I(r)}return I(r)}({breakAll:w.breakAll,children:w.children,maxLines:w.maxLines,scaleToFit:y,style:w.style,width:w.width})}),[w.breakAll,w.children,w.maxLines,y,w.style,w.width]),E=w.dx,_=w.dy,B=w.angle,z=w.className,R=w.breakAll,W=j(w,P);if(!(0,u.P2)(n)||!(0,u.P2)(a))return null;var N,F=n+((0,u.hj)(E)?E:0),U=a+((0,u.hj)(_)?_:0);switch(x){case"start":N=k("calc(".concat(d,")"));break;case"middle":N=k("calc(".concat((M.length-1)/2," * -").concat(f," + (").concat(d," / 2))"));break;default:N=k("calc(".concat(M.length-1," * -").concat(f,")"))}var V=[];if(y){var G=M[0].width,q=w.width;V.push("scale(".concat(((0,u.hj)(q)?q/G:1)/G,")"))}return B&&V.push("rotate(".concat(B,", ").concat(F,", ").concat(U,")")),V.length&&(W.transform=V.join(" ")),o().createElement("text",A({},(0,c.L6)(W,!0),{x:F,y:U,className:(0,s.Z)("recharts-text",z),textAnchor:m,fill:S.includes("url")?L:S}),M.map((function(t,e){return o().createElement("tspan",{x:F,dy:0===e?N:f,key:e},t.words.join(R?"":" "))})))}},27741:(t,e,n)=>{"use strict";n.d(e,{u:()=>X});var r=n(8156),o=n.n(r),i=n(829),a=n.n(i),s=n(1842),u=n.n(s),l=n(75877),c=n(15027);function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){g(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function g(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==p(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===p(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t){return Array.isArray(t)&&(0,c.P2)(t[0])&&(0,c.P2)(t[1])?t.join(" ~ "):t}var v=function(t){var e=t.separator,n=void 0===e?" : ":e,r=t.contentStyle,i=void 0===r?{}:r,s=t.itemStyle,p=void 0===s?{}:s,h=t.labelStyle,g=void 0===h?{}:h,v=t.payload,m=t.formatter,b=t.itemSorter,x=t.wrapperClassName,O=t.labelClassName,S=t.label,w=t.labelFormatter,M=d({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),E=d({margin:0},g),k=!u()(S),C=k?S:"",P=(0,l.Z)("recharts-default-tooltip",x),A=(0,l.Z)("recharts-tooltip-label",O);return k&&w&&null!=v&&(C=w(S,v)),o().createElement("div",{className:P,style:M},o().createElement("p",{className:A,style:E},o().isValidElement(C)?C:"".concat(C)),function(){if(v&&v.length){var t=(b?a()(v,b):v).map((function(t,e){if("none"===t.type)return null;var r=d({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},p),i=t.formatter||m||y,a=t.value,s=t.name,u=a,l=s;if(i&&null!=u&&null!=l){var h=i(a,s,t,e,v);if(Array.isArray(h)){var g=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(h,2);u=g[0],l=g[1]}else u=h}return o().createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:r},(0,c.P2)(l)?o().createElement("span",{className:"recharts-tooltip-item-name"},l):null,(0,c.P2)(l)?o().createElement("span",{className:"recharts-tooltip-item-separator"},n):null,o().createElement("span",{className:"recharts-tooltip-item-value"},u),o().createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return o().createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())},m=n(87935);function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function x(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==b(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===b(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var O="recharts-tooltip-wrapper",S={visibility:"hidden"};function w(t){var e,n=t.coordinate,r=t.translateX,o=t.translateY;return(0,l.Z)(O,(x(e={},"".concat(O,"-right"),(0,c.hj)(r)&&n&&(0,c.hj)(n.x)&&r>=n.x),x(e,"".concat(O,"-left"),(0,c.hj)(r)&&n&&(0,c.hj)(n.x)&&r<n.x),x(e,"".concat(O,"-bottom"),(0,c.hj)(o)&&n&&(0,c.hj)(n.y)&&o>=n.y),x(e,"".concat(O,"-top"),(0,c.hj)(o)&&n&&(0,c.hj)(n.y)&&o<n.y),e))}function M(t){var e=t.allowEscapeViewBox,n=t.coordinate,r=t.key,o=t.offsetTopLeft,i=t.position,a=t.reverseDirection,s=t.tooltipDimension,u=t.viewBox,l=t.viewBoxDimension;if(i&&(0,c.hj)(i[r]))return i[r];var p=n[r]-s-o,f=n[r]+o;return e[r]?a[r]?p:f:a[r]?p<u[r]?Math.max(f,u[r]):Math.max(p,u[r]):f+s>u[r]+l?Math.max(p,u[r]):Math.max(f,u[r])}function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function k(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?k(Object(n),!0).forEach((function(e){D(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,I(r.key),r)}}function j(t,e){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},j(t,e)}function T(t,e){if(e&&("object"===E(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _(t)}function _(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B(t){return B=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},B(t)}function D(t,e,n){return(e=I(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function I(t){var e=function(t,e){if("object"!==E(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==E(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===E(e)?e:String(e)}var L=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&j(t,e)}(s,t);var e,n,r,i,a=(r=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=B(r);if(i){var n=B(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return T(this,t)});function s(){var t;P(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return D(_(t=a.call.apply(a,[this].concat(n))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),D(_(t),"lastBoundingBox",{width:-1,height:-1}),D(_(t),"handleKeyDown",(function(e){var n,r,o,i;"Escape"===e.key&&t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(n=null===(r=t.props.coordinate)||void 0===r?void 0:r.x)&&void 0!==n?n:0,y:null!==(o=null===(i=t.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})})),t}return e=s,(n=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height)}else-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1)}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(t=this.props.coordinate)||void 0===t?void 0:t.x)===this.state.dismissedAtCoordinate.x&&(null===(e=this.props.coordinate)||void 0===e?void 0:e.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var t=this,e=this.props,n=e.active,r=e.allowEscapeViewBox,i=e.animationDuration,a=e.animationEasing,s=e.children,u=e.coordinate,l=e.hasPayload,c=e.isAnimationActive,p=e.offset,f=e.position,h=e.reverseDirection,d=e.useTranslate3d,g=e.viewBox,y=e.wrapperStyle,v=function(t){var e,n,r,o=t.allowEscapeViewBox,i=t.coordinate,a=t.offsetTopLeft,s=t.position,u=t.reverseDirection,l=t.tooltipBox,c=t.useTranslate3d,p=t.viewBox;return e=l.height>0&&l.width>0&&i?function(t){var e=t.translateX,n=t.translateY,r=t.useTranslate3d;return(0,m.bO)({transform:r?"translate3d(".concat(e,"px, ").concat(n,"px, 0)"):"translate(".concat(e,"px, ").concat(n,"px)")})}({translateX:n=M({allowEscapeViewBox:o,coordinate:i,key:"x",offsetTopLeft:a,position:s,reverseDirection:u,tooltipDimension:l.width,viewBox:p,viewBoxDimension:p.width}),translateY:r=M({allowEscapeViewBox:o,coordinate:i,key:"y",offsetTopLeft:a,position:s,reverseDirection:u,tooltipDimension:l.height,viewBox:p,viewBoxDimension:p.height}),useTranslate3d:c}):S,{cssProperties:e,cssClasses:w({translateX:n,translateY:r,coordinate:i})}}({allowEscapeViewBox:r,coordinate:u,offsetTopLeft:p,position:f,reverseDirection:h,tooltipBox:{height:this.lastBoundingBox.height,width:this.lastBoundingBox.width},useTranslate3d:d,viewBox:g}),b=v.cssClasses,x=v.cssProperties,O=C(C(C({},c&&n&&(0,m.bO)({transition:"transform ".concat(i,"ms ").concat(a)})),x),{},{pointerEvents:"none",visibility:!this.state.dismissed&&n&&l?"visible":"hidden",position:"absolute",top:0,left:0},y);return o().createElement("div",{tabIndex:-1,role:"dialog",className:b,style:O,ref:function(e){t.wrapperNode=e}},s)}}])&&A(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),s}(r.PureComponent),z=n(79499),R=n(32391);function W(t){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},W(t)}function N(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function F(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?N(Object(n),!0).forEach((function(e){Z(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,$(r.key),r)}}function G(t,e){return G=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},G(t,e)}function q(t,e){if(e&&("object"===W(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function H(t){return H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},H(t)}function Z(t,e,n){return(e=$(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $(t){var e=function(t,e){if("object"!==W(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==W(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===W(e)?e:String(e)}function Y(t){return t.dataKey}var X=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&G(t,e)}(s,t);var e,n,r,i,a=(r=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=H(r);if(i){var n=H(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return q(this,t)});function s(){return U(this,s),a.apply(this,arguments)}return e=s,(n=[{key:"render",value:function(){var t=this.props,e=t.active,n=t.allowEscapeViewBox,r=t.animationDuration,i=t.animationEasing,a=t.content,s=t.coordinate,u=t.filterNull,l=t.isAnimationActive,c=t.offset,p=t.payload,f=t.payloadUniqBy,h=t.position,d=t.reverseDirection,g=t.useTranslate3d,y=t.viewBox,m=t.wrapperStyle,b=null!=p?p:[];u&&b.length&&(b=(0,R.z)(p.filter((function(t){return null!=t.value})),f,Y));var x=b.length>0;return o().createElement(L,{allowEscapeViewBox:n,animationDuration:r,animationEasing:i,isAnimationActive:l,active:e,coordinate:s,hasPayload:x,offset:c,position:h,reverseDirection:d,useTranslate3d:g,viewBox:y,wrapperStyle:m},function(t,e){return o().isValidElement(t)?o().cloneElement(t,e):"function"==typeof t?o().createElement(t,e):o().createElement(v,e)}(a,F(F({},this.props),{},{payload:b})))}}])&&V(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),s}(r.PureComponent);Z(X,"displayName","Tooltip"),Z(X,"defaultProps",{allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!z.x.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}})},84618:(t,e,n)=>{"use strict";n.d(e,{m:()=>l});var r=n(8156),o=n.n(r),i=n(75877),a=n(79376),s=["children","className"];function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u.apply(this,arguments)}var l=o().forwardRef((function(t,e){var n=t.children,r=t.className,l=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,s),c=(0,i.Z)("recharts-layer",r);return o().createElement("g",u({className:c},(0,a.L6)(l,!0),{ref:e}),n)}))},19617:(t,e,n)=>{"use strict";n.d(e,{T:()=>l});var r=n(8156),o=n.n(r),i=n(75877),a=n(79376),s=["children","width","height","viewBox","className","style","title","desc"];function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u.apply(this,arguments)}function l(t){var e=t.children,n=t.width,r=t.height,l=t.viewBox,c=t.className,p=t.style,f=t.title,h=t.desc,d=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,s),g=l||{width:n,height:r,x:0,y:0},y=(0,i.Z)("recharts-surface",c);return o().createElement("svg",u({},(0,a.L6)(d,!0,"svg"),{className:y,width:n,height:r,style:p,viewBox:"".concat(g.x," ").concat(g.y," ").concat(g.width," ").concat(g.height)}),o().createElement("title",null,f),o().createElement("desc",null,h),e)}},43624:(t,e,n)=>{"use strict";n.d(e,{X:()=>g,A:()=>v});var r=n(8156),o=n.n(r),i=n(75877),a=n(87935),s=n(79376);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(){return l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},l.apply(this,arguments)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===u(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(t,e,n,r,o){var i,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),s=r>=0?1:-1,u=n>=0?1:-1,l=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&o instanceof Array){for(var c=[0,0,0,0],p=0;p<4;p++)c[p]=o[p]>a?a:o[p];i="M".concat(t,",").concat(e+s*c[0]),c[0]>0&&(i+="A ".concat(c[0],",").concat(c[0],",0,0,").concat(l,",").concat(t+u*c[0],",").concat(e)),i+="L ".concat(t+n-u*c[1],",").concat(e),c[1]>0&&(i+="A ".concat(c[1],",").concat(c[1],",0,0,").concat(l,",\n ").concat(t+n,",").concat(e+s*c[1])),i+="L ".concat(t+n,",").concat(e+r-s*c[2]),c[2]>0&&(i+="A ".concat(c[2],",").concat(c[2],",0,0,").concat(l,",\n ").concat(t+n-u*c[2],",").concat(e+r)),i+="L ".concat(t+u*c[3],",").concat(e+r),c[3]>0&&(i+="A ".concat(c[3],",").concat(c[3],",0,0,").concat(l,",\n ").concat(t,",").concat(e+r-s*c[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var f=Math.min(a,o);i="M ".concat(t,",").concat(e+s*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(l,",").concat(t+u*f,",").concat(e,"\n L ").concat(t+n-u*f,",").concat(e,"\n A ").concat(f,",").concat(f,",0,0,").concat(l,",").concat(t+n,",").concat(e+s*f,"\n L ").concat(t+n,",").concat(e+r-s*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(l,",").concat(t+n-u*f,",").concat(e+r,"\n L ").concat(t+u*f,",").concat(e+r,"\n A ").concat(f,",").concat(f,",0,0,").concat(l,",").concat(t,",").concat(e+r-s*f," Z")}else i="M ".concat(t,",").concat(e," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return i},g=function(t,e){if(!t||!e)return!1;var n=t.x,r=t.y,o=e.x,i=e.y,a=e.width,s=e.height;if(Math.abs(a)>0&&Math.abs(s)>0){var u=Math.min(o,o+a),l=Math.max(o,o+a),c=Math.min(i,i+s),p=Math.max(i,i+s);return n>=u&&n<=l&&r>=c&&r<=p}return!1},y={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},v=function(t){var e,n,u=f(f({},y),t),p=(0,r.useRef)(),h=(e=(0,r.useState)(-1),n=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,n)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=h[0],v=h[1];(0,r.useEffect)((function(){if(p.current&&p.current.getTotalLength)try{var t=p.current.getTotalLength();t&&v(t)}catch(t){}}),[]);var m=u.x,b=u.y,x=u.width,O=u.height,S=u.radius,w=u.className,M=u.animationEasing,E=u.animationDuration,k=u.animationBegin,C=u.isAnimationActive,P=u.isUpdateAnimationActive;if(m!==+m||b!==+b||x!==+x||O!==+O||0===x||0===O)return null;var A=(0,i.Z)("recharts-rectangle",w);return P?o().createElement(a.ZP,{canBegin:g>0,from:{width:x,height:O,x:m,y:b},to:{width:x,height:O,x:m,y:b},duration:E,animationEasing:M,isActive:P},(function(t){var e=t.width,n=t.height,r=t.x,i=t.y;return o().createElement(a.ZP,{canBegin:g>0,from:"0px ".concat(-1===g?1:g,"px"),to:"".concat(g,"px 0px"),attributeName:"strokeDasharray",begin:k,duration:E,isActive:C,easing:M},o().createElement("path",l({},(0,s.L6)(u,!0),{className:A,d:d(r,i,e,n,S),ref:p})))})):o().createElement("path",l({},(0,s.L6)(u,!0),{className:A,d:d(m,b,x,O,S)}))}},21844:(t,e,n)=>{"use strict";n.d(e,{L:()=>v});var r=n(8156),o=n.n(r),i=n(75877),a=n(79376),s=n(22089),u=n(15027);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function c(){return c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c.apply(this,arguments)}function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==l(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===l(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(t){var e=t.cx,n=t.cy,r=t.radius,o=t.angle,i=t.sign,a=t.isExternal,u=t.cornerRadius,l=t.cornerIsExternal,c=u*(a?1:-1)+r,p=Math.asin(u/c)/s.Wk,f=l?o:o+i*p,h=l?o-i*p:o;return{center:(0,s.op)(e,n,c,f),circleTangency:(0,s.op)(e,n,r,f),lineTangency:(0,s.op)(e,n,c*Math.cos(p*s.Wk),h),theta:p}},g=function(t){var e=t.cx,n=t.cy,r=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=function(t,e){return(0,u.uY)(e-t)*Math.min(Math.abs(e-t),359.999)}(i,t.endAngle),l=i+a,c=(0,s.op)(e,n,o,i),p=(0,s.op)(e,n,o,l),f="M ".concat(c.x,",").concat(c.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i>l),",\n ").concat(p.x,",").concat(p.y,"\n ");if(r>0){var h=(0,s.op)(e,n,r,i),d=(0,s.op)(e,n,r,l);f+="L ".concat(d.x,",").concat(d.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i<=l),",\n ").concat(h.x,",").concat(h.y," Z")}else f+="L ".concat(e,",").concat(n," Z");return f},y={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},v=function(t){var e=f(f({},y),t),n=e.cx,r=e.cy,s=e.innerRadius,l=e.outerRadius,p=e.cornerRadius,h=e.forceCornerRadius,v=e.cornerIsExternal,m=e.startAngle,b=e.endAngle,x=e.className;if(l<s||m===b)return null;var O,S=(0,i.Z)("recharts-sector",x),w=l-s,M=(0,u.h1)(p,w,0,!0);return O=M>0&&Math.abs(m-b)<360?function(t){var e=t.cx,n=t.cy,r=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,s=t.cornerIsExternal,l=t.startAngle,c=t.endAngle,p=(0,u.uY)(c-l),f=d({cx:e,cy:n,radius:o,angle:l,sign:p,cornerRadius:i,cornerIsExternal:s}),h=f.circleTangency,y=f.lineTangency,v=f.theta,m=d({cx:e,cy:n,radius:o,angle:c,sign:-p,cornerRadius:i,cornerIsExternal:s}),b=m.circleTangency,x=m.lineTangency,O=m.theta,S=s?Math.abs(l-c):Math.abs(l-c)-v-O;if(S<0)return a?"M ".concat(y.x,",").concat(y.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 "):g({cx:e,cy:n,innerRadius:r,outerRadius:o,startAngle:l,endAngle:c});var w="M ".concat(y.x,",").concat(y.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(p<0),",").concat(h.x,",").concat(h.y,"\n A").concat(o,",").concat(o,",0,").concat(+(S>180),",").concat(+(p<0),",").concat(b.x,",").concat(b.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(p<0),",").concat(x.x,",").concat(x.y,"\n ");if(r>0){var M=d({cx:e,cy:n,radius:r,angle:l,sign:p,isExternal:!0,cornerRadius:i,cornerIsExternal:s}),E=M.circleTangency,k=M.lineTangency,C=M.theta,P=d({cx:e,cy:n,radius:r,angle:c,sign:-p,isExternal:!0,cornerRadius:i,cornerIsExternal:s}),A=P.circleTangency,j=P.lineTangency,T=P.theta,_=s?Math.abs(l-c):Math.abs(l-c)-C-T;if(_<0&&0===i)return"".concat(w,"L").concat(e,",").concat(n,"Z");w+="L".concat(j.x,",").concat(j.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(p<0),",").concat(A.x,",").concat(A.y,"\n A").concat(r,",").concat(r,",0,").concat(+(_>180),",").concat(+(p>0),",").concat(E.x,",").concat(E.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(p<0),",").concat(k.x,",").concat(k.y,"Z")}else w+="L".concat(e,",").concat(n,"Z");return w}({cx:n,cy:r,innerRadius:s,outerRadius:l,cornerRadius:Math.min(M,w/2),forceCornerRadius:h,cornerIsExternal:v,startAngle:m,endAngle:b}):g({cx:n,cy:r,innerRadius:s,outerRadius:l,startAngle:m,endAngle:b}),o().createElement("path",c({},(0,a.L6)(e,!0),{className:S,d:O,role:"img"}))}},66406:(t,e,n)=>{"use strict";n.d(e,{v:()=>F});var r=n(8156),o=n.n(r),i=n(23779),a=n.n(i);Math.abs,Math.atan2;const s=Math.cos,u=(Math.max,Math.min,Math.sin),l=Math.sqrt,c=Math.PI,p=2*c,f={draw(t,e){const n=l(e/c);t.moveTo(n,0),t.arc(0,0,n,0,p)}},h={draw(t,e){const n=l(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},d=l(1/3),g=2*d,y={draw(t,e){const n=l(e/g),r=n*d;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},v={draw(t,e){const n=l(e),r=-n/2;t.rect(r,r,n,n)}},m=u(c/10)/u(7*c/10),b=u(p/10)*m,x=-s(p/10)*m,O={draw(t,e){const n=l(.8908130915292852*e),r=b*n,o=x*n;t.moveTo(0,-n),t.lineTo(r,o);for(let e=1;e<5;++e){const i=p*e/5,a=s(i),l=u(i);t.lineTo(l*n,-a*n),t.lineTo(a*r-l*o,l*r+a*o)}t.closePath()}},S=l(3),w={draw(t,e){const n=-l(e/(3*S));t.moveTo(0,2*n),t.lineTo(-S*n,-n),t.lineTo(S*n,-n),t.closePath()}},M=-.5,E=l(3)/2,k=1/l(12),C=3*(k/2+1),P={draw(t,e){const n=l(e/C),r=n/2,o=n*k,i=r,a=n*k+n,s=-i,u=a;t.moveTo(r,o),t.lineTo(i,a),t.lineTo(s,u),t.lineTo(M*r-E*o,E*r+M*o),t.lineTo(M*i-E*a,E*i+M*a),t.lineTo(M*s-E*u,E*s+M*u),t.lineTo(M*r+E*o,M*o-E*r),t.lineTo(M*i+E*a,M*a-E*i),t.lineTo(M*s+E*u,M*u-E*s),t.closePath()}};var A=n(6677),j=n(13149);l(3),l(3);var T=n(75877),_=n(79376);function B(t){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},B(t)}var D=["type","size","sizeType"];function I(){return I=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},I.apply(this,arguments)}function L(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function z(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?L(Object(n),!0).forEach((function(e){R(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function R(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==B(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==B(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===B(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var W={symbolCircle:f,symbolCross:h,symbolDiamond:y,symbolSquare:v,symbolStar:O,symbolTriangle:w,symbolWye:P},N=Math.PI/180,F=function(t){var e,n,r=t.type,i=void 0===r?"circle":r,s=t.size,u=void 0===s?64:s,l=t.sizeType,c=void 0===l?"area":l,p=z(z({},function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,D)),{},{type:i,size:u,sizeType:c}),h=p.className,d=p.cx,g=p.cy,y=(0,_.L6)(p,!0);return d===+d&&g===+g&&u===+u?o().createElement("path",I({},y,{className:(0,T.Z)("recharts-symbols",h),transform:"translate(".concat(d,", ").concat(g,")"),d:(e=function(t){var e="symbol".concat(a()(t));return W[e]||f}(i),n=function(t,e){let n=null,r=(0,j.d)(o);function o(){let o;if(n||(n=o=r()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),o)return n=null,o+""||null}return t="function"==typeof t?t:(0,A.Z)(t||f),e="function"==typeof e?e:(0,A.Z)(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,A.Z)(e),o):t},o.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,A.Z)(+t),o):e},o.context=function(t){return arguments.length?(n=null==t?null:t,o):n},o}().type(e).size(function(t,e,n){if("area"===e)return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var r=18*N;return 1.25*t*t*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}}(u,c,i)),n())})):null};F.registerSymbol=function(t,e){W["symbol".concat(a()(t))]=e}},29742:(t,e,n)=>{"use strict";n.d(e,{bn:()=>L,a3:()=>V,lT:()=>z,V$:()=>R,w7:()=>W});var r=n(8156),o=n.n(r),i=n(61049),a=n.n(i),s=n(97030),u=n.n(s),l=n(4335),c=n.n(l),p=n(18149),f=n.n(p),h=n(43624),d=n(75877),g=n(87935),y=n(79376);function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function m(){return m=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},m.apply(this,arguments)}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function O(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function S(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==v(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===v(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w=function(t,e,n,r,o){var i,a=n-r;return i="M ".concat(t,",").concat(e),i+="L ".concat(t+n,",").concat(e),i+="L ".concat(t+n-a/2,",").concat(e+o),(i+="L ".concat(t+n-a/2-r,",").concat(e+o))+"L ".concat(t,",").concat(e," Z")},M={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},E=function(t){var e,n,i=O(O({},M),t),a=(0,r.useRef)(),s=(e=(0,r.useState)(-1),n=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,n)||function(t,e){if(t){if("string"==typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(t,e):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=s[0],l=s[1];(0,r.useEffect)((function(){if(a.current&&a.current.getTotalLength)try{var t=a.current.getTotalLength();t&&l(t)}catch(t){}}),[]);var c=i.x,p=i.y,f=i.upperWidth,h=i.lowerWidth,v=i.height,x=i.className,S=i.animationEasing,E=i.animationDuration,k=i.animationBegin,C=i.isUpdateAnimationActive;if(c!==+c||p!==+p||f!==+f||h!==+h||v!==+v||0===f&&0===h||0===v)return null;var P=(0,d.Z)("recharts-trapezoid",x);return C?o().createElement(g.ZP,{canBegin:u>0,from:{upperWidth:0,lowerWidth:0,height:v,x:c,y:p},to:{upperWidth:f,lowerWidth:h,height:v,x:c,y:p},duration:E,animationEasing:S,isActive:C},(function(t){var e=t.upperWidth,n=t.lowerWidth,r=t.height,s=t.x,l=t.y;return o().createElement(g.ZP,{canBegin:u>0,from:"0px ".concat(-1===u?1:u,"px"),to:"".concat(u,"px 0px"),attributeName:"strokeDasharray",begin:k,duration:E,easing:S},o().createElement("path",m({},(0,y.L6)(i,!0),{className:P,d:w(s,l,e,n,r),ref:a})))})):o().createElement("g",null,o().createElement("path",m({},(0,y.L6)(i,!0),{className:P,d:w(c,p,f,h,v)})))},k=n(21844),C=n(84618),P=n(66406),A=["option","shapeType","propTransformer","activeClassName","isActive"];function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(t)}function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?T(Object(n),!0).forEach((function(e){B(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function B(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==j(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===j(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function D(t,e){return _(_({},e),t)}function I(t){var e=t.shapeType,n=t.elementProps;switch(e){case"rectangle":return o().createElement(h.A,n);case"trapezoid":return o().createElement(E,n);case"sector":return o().createElement(k.L,n);case"symbols":if(function(t,e){return"symbols"===t}(e))return o().createElement(P.v,n);break;default:return null}}function L(t){var e,n=t.option,i=t.shapeType,s=t.propTransformer,l=void 0===s?D:s,p=t.activeClassName,f=void 0===p?"recharts-active-shape":p,h=t.isActive,d=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,A);if((0,r.isValidElement)(n))e=(0,r.cloneElement)(n,_(_({},d),function(t){return(0,r.isValidElement)(t)?t.props:t}(n)));else if(a()(n))e=n(d);else if(u()(n)&&!c()(n)){var g=l(n,d);e=o().createElement(I,{shapeType:i,elementProps:g})}else{var y=d;e=o().createElement(I,{shapeType:i,elementProps:y})}return h?o().createElement(C.m,{className:f},e):e}function z(t,e){return"trapezoids"in t.props}function R(t,e){return"sectors"in t.props}function W(t,e){return"points"in t.props}function N(t,e){var n,r,o=t.x===(null==e||null===(n=e.labelViewBox)||void 0===n?void 0:n.x)||t.x===e.x,i=t.y===(null==e||null===(r=e.labelViewBox)||void 0===r?void 0:r.y)||t.y===e.y;return o&&i}function F(t,e){var n=t.endAngle===e.endAngle,r=t.startAngle===e.startAngle;return n&&r}function U(t,e){var n=t.x===e.x,r=t.y===e.y,o=t.z===e.z;return n&&r&&o}function V(t){var e=t.activeTooltipItem,n=t.graphicalItem,r=t.itemData,o=function(t,e){var n;return z(t)?n="trapezoids":R(t)?n="sectors":W(t)&&(n="points"),n}(n),i=function(t,e){var n,r;return z(t)?null===(n=e.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:R(t)?null===(r=e.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:W(t)?e.payload:{}}(n,e),a=r.filter((function(t,r){var a=f()(i,t),s=n.props[o].filter((function(t){var r=function(t,e){var n;return z(t)?n=N:R(t)?n=F:W(t)&&(n=U),n}(n);return r(t,e)})),u=n.props[o].indexOf(s[s.length-1]);return a&&r===u}));return r.indexOf(a[a.length-1])}},24847:(t,e,n)=>{"use strict";n.d(e,{By:()=>qi,VO:()=>Fi,zF:()=>na,DO:()=>Ji,Bu:()=>ra,zT:()=>ya,qz:()=>Gi,pt:()=>Vi,Yj:()=>ca,Fy:()=>la,Rf:()=>Xi,gF:()=>Ni,s6:()=>$i,EB:()=>fa,fk:()=>Ui,wh:()=>sa,O3:()=>pa,uY:()=>Ki,g$:()=>ua,Qo:()=>ma,F$:()=>Wi,NA:()=>Yi,ko:()=>va,ZI:()=>Zi,Hq:()=>ta,LG:()=>ga,Vv:()=>oa});var r={};n.r(r),n.d(r,{scaleBand:()=>o.Z,scaleDiverging:()=>wo,scaleDivergingLog:()=>Mo,scaleDivergingPow:()=>ko,scaleDivergingSqrt:()=>Co,scaleDivergingSymlog:()=>Eo,scaleIdentity:()=>Wt,scaleImplicit:()=>Jt.O,scaleLinear:()=>Rt,scaleLog:()=>$t,scaleOrdinal:()=>Jt.Z,scalePoint:()=>o.x,scalePow:()=>oe,scaleQuantile:()=>ye,scaleQuantize:()=>ve,scaleRadial:()=>ue,scaleSequential:()=>go,scaleSequentialLog:()=>yo,scaleSequentialPow:()=>mo,scaleSequentialQuantile:()=>xo,scaleSequentialSqrt:()=>bo,scaleSequentialSymlog:()=>vo,scaleSqrt:()=>ie,scaleSymlog:()=>Qt,scaleThreshold:()=>me,scaleTime:()=>co,scaleUtc:()=>po,tickFormat:()=>Lt});var o=n(78520);const i=Math.sqrt(50),a=Math.sqrt(10),s=Math.sqrt(2);function u(t,e,n){const r=(e-t)/Math.max(0,n),o=Math.floor(Math.log10(r)),l=r/Math.pow(10,o),c=l>=i?10:l>=a?5:l>=s?2:1;let p,f,h;return o<0?(h=Math.pow(10,-o)/c,p=Math.round(t*h),f=Math.round(e*h),p/h<t&&++p,f/h>e&&--f,h=-h):(h=Math.pow(10,o)*c,p=Math.round(t/h),f=Math.round(e/h),p*h<t&&++p,f*h>e&&--f),f<p&&.5<=n&&n<2?u(t,e,2*n):[p,f,h]}function l(t,e,n){if(!((n=+n)>0))return[];if((t=+t)==(e=+e))return[t];const r=e<t,[o,i,a]=r?u(e,t,n):u(t,e,n);if(!(i>=o))return[];const s=i-o+1,l=new Array(s);if(r)if(a<0)for(let t=0;t<s;++t)l[t]=(i-t)/-a;else for(let t=0;t<s;++t)l[t]=(i-t)*a;else if(a<0)for(let t=0;t<s;++t)l[t]=(o+t)/-a;else for(let t=0;t<s;++t)l[t]=(o+t)*a;return l}function c(t,e,n){return u(t=+t,e=+e,n=+n)[2]}function p(t,e,n){n=+n;const r=(e=+e)<(t=+t),o=r?c(e,t,n):c(t,e,n);return(r?-1:1)*(o<0?1/-o:o)}function f(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function h(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function d(t){let e,n,r;function o(t,r,o=0,i=t.length){if(o<i){if(0!==e(r,r))return i;do{const e=o+i>>>1;n(t[e],r)<0?o=e+1:i=e}while(o<i)}return o}return 2!==t.length?(e=f,n=(e,n)=>f(t(e),n),r=(e,n)=>t(e)-n):(e=t===f||t===h?t:g,n=t,r=t),{left:o,center:function(t,e,n=0,i=t.length){const a=o(t,e,n,i-1);return a>n&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,o=0,i=t.length){if(o<i){if(0!==e(r,r))return i;do{const e=o+i>>>1;n(t[e],r)<=0?o=e+1:i=e}while(o<i)}return o}}}function g(){return 0}function y(t){return null===t?NaN:+t}const v=d(f),m=v.right,b=(v.left,d(y).center,m);function x(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function O(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function S(){}var w=.7,M=1/w,E="\\s*([+-]?\\d+)\\s*",k="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",C="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",P=/^#([0-9a-f]{3,8})$/,A=new RegExp("^rgb\\("+[E,E,E]+"\\)$"),j=new RegExp("^rgb\\("+[C,C,C]+"\\)$"),T=new RegExp("^rgba\\("+[E,E,E,k]+"\\)$"),_=new RegExp("^rgba\\("+[C,C,C,k]+"\\)$"),B=new RegExp("^hsl\\("+[k,C,C]+"\\)$"),D=new RegExp("^hsla\\("+[k,C,C,k]+"\\)$"),I={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function L(){return this.rgb().formatHex()}function z(){return this.rgb().formatRgb()}function R(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=P.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?W(e):3===n?new V(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?N(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?N(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=A.exec(t))?new V(e[1],e[2],e[3],1):(e=j.exec(t))?new V(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=T.exec(t))?N(e[1],e[2],e[3],e[4]):(e=_.exec(t))?N(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=B.exec(t))?Z(e[1],e[2]/100,e[3]/100,1):(e=D.exec(t))?Z(e[1],e[2]/100,e[3]/100,e[4]):I.hasOwnProperty(t)?W(I[t]):"transparent"===t?new V(NaN,NaN,NaN,0):null}function W(t){return new V(t>>16&255,t>>8&255,255&t,1)}function N(t,e,n,r){return r<=0&&(t=e=n=NaN),new V(t,e,n,r)}function F(t){return t instanceof S||(t=R(t)),t?new V((t=t.rgb()).r,t.g,t.b,t.opacity):new V}function U(t,e,n,r){return 1===arguments.length?F(t):new V(t,e,n,null==r?1:r)}function V(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function G(){return"#"+H(this.r)+H(this.g)+H(this.b)}function q(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function H(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Z(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Y(t,e,n,r)}function $(t){if(t instanceof Y)return new Y(t.h,t.s,t.l,t.opacity);if(t instanceof S||(t=R(t)),!t)return new Y;if(t instanceof Y)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),i=Math.max(e,n,r),a=NaN,s=i-o,u=(i+o)/2;return s?(a=e===i?(n-r)/s+6*(n<r):n===i?(r-e)/s+2:(e-n)/s+4,s/=u<.5?i+o:2-i-o,a*=60):s=u>0&&u<1?0:a,new Y(a,s,u,t.opacity)}function Y(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function X(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function K(t,e,n,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*e+(4-6*i+3*a)*n+(1+3*t+3*i-3*a)*r+a*o)/6}x(S,R,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:L,formatHex:L,formatHsl:function(){return $(this).formatHsl()},formatRgb:z,toString:z}),x(V,U,O(S,{brighter:function(t){return t=null==t?M:Math.pow(M,t),new V(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?w:Math.pow(w,t),new V(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:G,formatHex:G,formatRgb:q,toString:q})),x(Y,(function(t,e,n,r){return 1===arguments.length?$(t):new Y(t,e,n,null==r?1:r)}),O(S,{brighter:function(t){return t=null==t?M:Math.pow(M,t),new Y(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?w:Math.pow(w,t),new Y(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,o=2*n-r;return new V(X(t>=240?t-240:t+120,o,r),X(t,o,r),X(t<120?t+240:t-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const Q=t=>()=>t;function J(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Q(isNaN(t)?e:t)}const tt=function t(e){var n=function(t){return 1==(t=+t)?J:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Q(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=U(t)).r,(e=U(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),a=J(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function et(t){return function(e){var n,r,o=e.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;n<o;++n)r=U(e[n]),i[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return i=t(i),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=s(t),r+""}}}function nt(t,e){var n,r=e?e.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=ct(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<o;++n)a[n]=i[n](t);return a}}function rt(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function ot(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function it(t,e){var n,r={},o={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=ct(t[n],e[n]):o[n]=e[n];return function(t){for(n in r)o[n]=r[n](t);return o}}et((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],i=t[r+1],a=r>0?t[r-1]:2*o-i,s=r<e-1?t[r+2]:2*i-o;return K((n-r/e)*e,a,o,i,s)}})),et((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),o=t[(r+e-1)%e],i=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return K((n-r/e)*e,o,i,a,s)}}));var at=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,st=new RegExp(at.source,"g");function ut(t,e){var n,r,o,i=at.lastIndex=st.lastIndex=0,a=-1,s=[],u=[];for(t+="",e+="";(n=at.exec(t))&&(r=st.exec(e));)(o=r.index)>i&&(o=e.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:ot(n,r)})),i=st.lastIndex;return i<e.length&&(o=e.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?u[0]?function(t){return function(e){return t(e)+""}}(u[0].x):function(t){return function(){return t}}(e):(e=u.length,function(t){for(var n,r=0;r<e;++r)s[(n=u[r]).i]=n.x(t);return s.join("")})}function lt(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(n=0;n<r;++n)o[n]=t[n]*(1-i)+e[n]*i;return o}}function ct(t,e){var n,r,o=typeof e;return null==e||"boolean"===o?Q(e):("number"===o?ot:"string"===o?(n=R(e))?(e=n,tt):ut:e instanceof R?tt:e instanceof Date?rt:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?nt:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?it:ot:lt))(t,e)}function pt(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function ft(t){return+t}var ht=[0,1];function dt(t){return t}function gt(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function yt(t,e,n){var r=t[0],o=t[1],i=e[0],a=e[1];return o<r?(r=gt(o,r),i=n(a,i)):(r=gt(r,o),i=n(i,a)),function(t){return i(r(t))}}function vt(t,e,n){var r=Math.min(t.length,e.length)-1,o=new Array(r),i=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)o[a]=gt(t[a],t[a+1]),i[a]=n(e[a],e[a+1]);return function(e){var n=b(t,e,1,r)-1;return i[n](o[n](e))}}function mt(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function bt(){var t,e,n,r,o,i,a=ht,s=ht,u=ct,l=dt;function c(){var t,e,n,u=Math.min(a.length,s.length);return l!==dt&&(t=a[0],e=a[u-1],t>e&&(n=t,t=e,e=n),l=function(n){return Math.max(t,Math.min(e,n))}),r=u>2?vt:yt,o=i=null,p}function p(e){return null==e||isNaN(e=+e)?n:(o||(o=r(a.map(t),s,u)))(t(l(e)))}return p.invert=function(n){return l(e((i||(i=r(s,a.map(t),ot)))(n)))},p.domain=function(t){return arguments.length?(a=Array.from(t,ft),c()):a.slice()},p.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},p.rangeRound=function(t){return s=Array.from(t),u=pt,c()},p.clamp=function(t){return arguments.length?(l=!!t||dt,c()):l!==dt},p.interpolate=function(t){return arguments.length?(u=t,c()):u},p.unknown=function(t){return arguments.length?(n=t,p):n},function(n,r){return t=n,e=r,c()}}function xt(){return bt()(dt,dt)}var Ot,St=n(82669),wt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Mt(t){if(!(e=wt.exec(t)))throw new Error("invalid format: "+t);var e;return new Et({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Et(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function kt(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Ct(t){return(t=kt(Math.abs(t)))?t[1]:NaN}function Pt(t,e){var n=kt(t,e);if(!n)return t+"";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")}Mt.prototype=Et.prototype,Et.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const At={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Pt(100*t,e),r:Pt,s:function(t,e){var n=kt(t,e);if(!n)return t+"";var r=n[0],o=n[1],i=o-(Ot=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")+kt(t,Math.max(0,e+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function jt(t){return t}var Tt,_t,Bt,Dt=Array.prototype.map,It=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Lt(t,e,n,r){var o,i=p(t,e,n);switch((r=Mt(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(o=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ct(e)/3)))-Ct(Math.abs(t)))}(i,a))||(r.precision=o),Bt(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Ct(e)-Ct(t))+1}(i,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(t){return Math.max(0,-Ct(Math.abs(t)))}(i))||(r.precision=o-2*("%"===r.type))}return _t(r)}function zt(t){var e=t.domain;return t.ticks=function(t){var n=e();return l(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return Lt(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,o,i=e(),a=0,s=i.length-1,u=i[a],l=i[s],p=10;for(l<u&&(o=u,u=l,l=o,o=a,a=s,s=o);p-- >0;){if((o=c(u,l,n))===r)return i[a]=u,i[s]=l,e(i);if(o>0)u=Math.floor(u/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,l=Math.floor(l*o)/o}r=o}return t},t}function Rt(){var t=xt();return t.copy=function(){return mt(t,Rt())},St.o.apply(t,arguments),zt(t)}function Wt(t){var e;function n(t){return null==t||isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,ft),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return Wt(t).unknown(e)},t=arguments.length?Array.from(t,ft):[0,1],zt(n)}function Nt(t,e){var n,r=0,o=(t=t.slice()).length-1,i=t[r],a=t[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),t[r]=e.floor(i),t[o]=e.ceil(a),t}function Ft(t){return Math.log(t)}function Ut(t){return Math.exp(t)}function Vt(t){return-Math.log(-t)}function Gt(t){return-Math.exp(-t)}function qt(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Ht(t){return(e,n)=>-t(-e,n)}function Zt(t){const e=t(Ft,Ut),n=e.domain;let r,o,i=10;function a(){return r=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}(i),o=function(t){return 10===t?qt:t===Math.E?Math.exp:e=>Math.pow(t,e)}(i),n()[0]<0?(r=Ht(r),o=Ht(o),t(Vt,Gt)):t(Ft,Ut),e}return e.base=function(t){return arguments.length?(i=+t,a()):i},e.domain=function(t){return arguments.length?(n(t),a()):n()},e.ticks=t=>{const e=n();let a=e[0],s=e[e.length-1];const u=s<a;u&&([a,s]=[s,a]);let c,p,f=r(a),h=r(s);const d=null==t?10:+t;let g=[];if(!(i%1)&&h-f<d){if(f=Math.floor(f),h=Math.ceil(h),a>0){for(;f<=h;++f)for(c=1;c<i;++c)if(p=f<0?c/o(-f):c*o(f),!(p<a)){if(p>s)break;g.push(p)}}else for(;f<=h;++f)for(c=i-1;c>=1;--c)if(p=f>0?c/o(-f):c*o(f),!(p<a)){if(p>s)break;g.push(p)}2*g.length<d&&(g=l(a,s,d))}else g=l(f,h,Math.min(h-f,d)).map(o);return u?g.reverse():g},e.tickFormat=(t,n)=>{if(null==t&&(t=10),null==n&&(n=10===i?"s":","),"function"!=typeof n&&(i%1||null!=(n=Mt(n)).precision||(n.trim=!0),n=_t(n)),t===1/0)return n;const a=Math.max(1,i*t/e.ticks().length);return t=>{let e=t/o(Math.round(r(t)));return e*i<i-.5&&(e*=i),e<=a?n(t):""}},e.nice=()=>n(Nt(n(),{floor:t=>o(Math.floor(r(t))),ceil:t=>o(Math.ceil(r(t)))})),e}function $t(){const t=Zt(bt()).domain([1,10]);return t.copy=()=>mt(t,$t()).base(t.base()),St.o.apply(t,arguments),t}function Yt(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function Xt(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function Kt(t){var e=1,n=t(Yt(e),Xt(e));return n.constant=function(n){return arguments.length?t(Yt(e=+n),Xt(e)):e},zt(n)}function Qt(){var t=Kt(bt());return t.copy=function(){return mt(t,Qt()).constant(t.constant())},St.o.apply(t,arguments)}Tt=function(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?jt:(e=Dt.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var o=t.length,i=[],a=0,s=e[0],u=0;o>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),i.push(t.substring(o-=s,o+s)),!((u+=s+1)>r));)s=e[a=(a+1)%e.length];return i.reverse().join(n)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?jt:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Dt.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function p(t){var e=(t=Mt(t)).fill,n=t.align,p=t.sign,f=t.symbol,h=t.zero,d=t.width,g=t.comma,y=t.precision,v=t.trim,m=t.type;"n"===m?(g=!0,m="g"):At[m]||(void 0===y&&(y=12),v=!0,m="g"),(h||"0"===e&&"="===n)&&(h=!0,e="0",n="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",x="$"===f?i:/[%p]/.test(m)?u:"",O=At[m],S=/[defgprs%]/.test(m);function w(t){var o,i,u,f=b,w=x;if("c"===m)w=O(t)+w,t="";else{var M=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:O(Math.abs(t),y),v&&(t=function(t){t:for(var e,n=t.length,r=1,o=-1;r<n;++r)switch(t[r]){case".":o=e=r;break;case"0":0===o&&(o=r),e=r;break;default:if(!+t[r])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),M&&0==+t&&"+"!==p&&(M=!1),f=(M?"("===p?p:l:"-"===p||"("===p?"":p)+f,w=("s"===m?It[8+Ot/3]:"")+w+(M&&"("===p?")":""),S)for(o=-1,i=t.length;++o<i;)if(48>(u=t.charCodeAt(o))||u>57){w=(46===u?a+t.slice(o+1):t.slice(o))+w,t=t.slice(0,o);break}}g&&!h&&(t=r(t,1/0));var E=f.length+t.length+w.length,k=E<d?new Array(d-E+1).join(e):"";switch(g&&h&&(t=r(k+t,k.length?d-w.length:1/0),k=""),n){case"<":t=f+t+w+k;break;case"=":t=f+k+t+w;break;case"^":t=k.slice(0,E=k.length>>1)+f+t+w+k.slice(E);break;default:t=k+f+t+w}return s(t)}return y=void 0===y?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),w.toString=function(){return t+""},w}return{format:p,formatPrefix:function(t,e){var n=p(((t=Mt(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Ct(e)/3))),o=Math.pow(10,-r),i=It[8+r/3];return function(t){return n(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),_t=Tt.format,Bt=Tt.formatPrefix;var Jt=n(29939);function te(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function ee(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function ne(t){return t<0?-t*t:t*t}function re(t){var e=t(dt,dt),n=1;function r(){return 1===n?t(dt,dt):.5===n?t(ee,ne):t(te(n),te(1/n))}return e.exponent=function(t){return arguments.length?(n=+t,r()):n},zt(e)}function oe(){var t=re(bt());return t.copy=function(){return mt(t,oe()).exponent(t.exponent())},St.o.apply(t,arguments),t}function ie(){return oe.apply(null,arguments).exponent(.5)}function ae(t){return Math.sign(t)*t*t}function se(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function ue(){var t,e=xt(),n=[0,1],r=!1;function o(n){var o=se(e(n));return isNaN(o)?t:r?Math.round(o):o}return o.invert=function(t){return e.invert(ae(t))},o.domain=function(t){return arguments.length?(e.domain(t),o):e.domain()},o.range=function(t){return arguments.length?(e.range((n=Array.from(t,ft)).map(ae)),o):n.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(r=!!t,o):r},o.clamp=function(t){return arguments.length?(e.clamp(t),o):e.clamp()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return ue(e.domain(),n).round(r).clamp(e.clamp()).unknown(t)},St.o.apply(o,arguments),zt(o)}function le(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n<e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let o of t)null!=(o=e(o,++r,t))&&(n<o||void 0===n&&o>=o)&&(n=o)}return n}function ce(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let o of t)null!=(o=e(o,++r,t))&&(n>o||void 0===n&&o>=o)&&(n=o)}return n}function pe(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}function fe(t,e,n=0,r=1/0,o){if(e=Math.floor(e),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(t.length-1,r)),!(n<=e&&e<=r))return t;for(o=void 0===o?pe:function(t=f){if(t===f)return pe;if("function"!=typeof t)throw new TypeError("compare is not a function");return(e,n)=>{const r=t(e,n);return r||0===r?r:(0===t(n,n))-(0===t(e,e))}}(o);r>n;){if(r-n>600){const i=r-n+1,a=e-n+1,s=Math.log(i),u=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*u*(i-u)/i)*(a-i/2<0?-1:1);fe(t,e,Math.max(n,Math.floor(e-a*u/i+l)),Math.min(r,Math.floor(e+(i-a)*u/i+l)),o)}const i=t[e];let a=n,s=r;for(he(t,n,e),o(t[r],i)>0&&he(t,n,r);a<s;){for(he(t,a,s),++a,--s;o(t[a],i)<0;)++a;for(;o(t[s],i)>0;)--s}0===o(t[n],i)?he(t,n,s):(++s,he(t,s,r)),s<=e&&(n=s+1),e<=s&&(r=s-1)}return t}function he(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function de(t,e,n){if(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}(t,n)),(r=t.length)&&!isNaN(e=+e)){if(e<=0||r<2)return ce(t);if(e>=1)return le(t);var r,o=(r-1)*e,i=Math.floor(o),a=le(fe(t,i).subarray(0,i+1));return a+(ce(t.subarray(i+1))-a)*(o-i)}}function ge(t,e,n=y){if((r=t.length)&&!isNaN(e=+e)){if(e<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,o=(r-1)*e,i=Math.floor(o),a=+n(t[i],i,t);return a+(+n(t[i+1],i+1,t)-a)*(o-i)}}function ye(){var t,e=[],n=[],r=[];function o(){var t=0,o=Math.max(1,n.length);for(r=new Array(o-1);++t<o;)r[t-1]=ge(e,t/o);return i}function i(e){return null==e||isNaN(e=+e)?t:n[b(r,e)]}return i.invertExtent=function(t){var o=n.indexOf(t);return o<0?[NaN,NaN]:[o>0?r[o-1]:e[0],o<r.length?r[o]:e[e.length-1]]},i.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(f),o()},i.range=function(t){return arguments.length?(n=Array.from(t),o()):n.slice()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.quantiles=function(){return r.slice()},i.copy=function(){return ye().domain(e).range(n).unknown(t)},St.o.apply(i,arguments)}function ve(){var t,e=0,n=1,r=1,o=[.5],i=[0,1];function a(e){return null!=e&&e<=e?i[b(o,e,0,r)]:t}function s(){var t=-1;for(o=new Array(r);++t<r;)o[t]=((t+1)*n-(t-r)*e)/(r+1);return a}return a.domain=function(t){return arguments.length?([e,n]=t,e=+e,n=+n,s()):[e,n]},a.range=function(t){return arguments.length?(r=(i=Array.from(t)).length-1,s()):i.slice()},a.invertExtent=function(t){var a=i.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,o[0]]:a>=r?[o[r-1],n]:[o[a-1],o[a]]},a.unknown=function(e){return arguments.length?(t=e,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return ve().domain([e,n]).range(i).unknown(t)},St.o.apply(zt(a),arguments)}function me(){var t,e=[.5],n=[0,1],r=1;function o(o){return null!=o&&o<=o?n[b(e,o,0,r)]:t}return o.domain=function(t){return arguments.length?(e=Array.from(t),r=Math.min(e.length,n.length-1),o):e.slice()},o.range=function(t){return arguments.length?(n=Array.from(t),r=Math.min(e.length,n.length-1),o):n.slice()},o.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return me().domain(e).range(n).unknown(t)},St.o.apply(o,arguments)}const be=1e3,xe=6e4,Oe=36e5,Se=864e5,we=6048e5,Me=31536e6,Ee=new Date,ke=new Date;function Ce(t,e,n,r){function o(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return o.floor=e=>(t(e=new Date(+e)),e),o.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),o.round=t=>{const e=o(t),n=o.ceil(t);return t-e<n-t?e:n},o.offset=(t,n)=>(e(t=new Date(+t),null==n?1:Math.floor(n)),t),o.range=(n,r,i)=>{const a=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return a;let s;do{a.push(s=new Date(+n)),e(n,i),t(n)}while(s<n&&n<r);return a},o.filter=n=>Ce((e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})),n&&(o.count=(e,r)=>(Ee.setTime(+e),ke.setTime(+r),t(Ee),t(ke),Math.floor(n(Ee,ke))),o.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(r?e=>r(e)%t==0:e=>o.count(0,e)%t==0):o:null)),o}const Pe=Ce((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));Pe.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?Ce((e=>{e.setTime(Math.floor(e/t)*t)}),((e,n)=>{e.setTime(+e+n*t)}),((e,n)=>(n-e)/t)):Pe:null),Pe.range;const Ae=Ce((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*be)}),((t,e)=>(e-t)/be),(t=>t.getUTCSeconds())),je=(Ae.range,Ce((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*be)}),((t,e)=>{t.setTime(+t+e*xe)}),((t,e)=>(e-t)/xe),(t=>t.getMinutes()))),Te=(je.range,Ce((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*xe)}),((t,e)=>(e-t)/xe),(t=>t.getUTCMinutes()))),_e=(Te.range,Ce((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*be-t.getMinutes()*xe)}),((t,e)=>{t.setTime(+t+e*Oe)}),((t,e)=>(e-t)/Oe),(t=>t.getHours()))),Be=(_e.range,Ce((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*Oe)}),((t,e)=>(e-t)/Oe),(t=>t.getUTCHours()))),De=(Be.range,Ce((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*xe)/Se),(t=>t.getDate()-1))),Ie=(De.range,Ce((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/Se),(t=>t.getUTCDate()-1))),Le=(Ie.range,Ce((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/Se),(t=>Math.floor(t/Se))));function ze(t){return Ce((e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),((t,e)=>{t.setDate(t.getDate()+7*e)}),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*xe)/we))}Le.range;const Re=ze(0),We=ze(1),Ne=ze(2),Fe=ze(3),Ue=ze(4),Ve=ze(5),Ge=ze(6);function qe(t){return Ce((e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)}),((t,e)=>(e-t)/we))}Re.range,We.range,Ne.range,Fe.range,Ue.range,Ve.range,Ge.range;const He=qe(0),Ze=qe(1),$e=qe(2),Ye=qe(3),Xe=qe(4),Ke=qe(5),Qe=qe(6),Je=(He.range,Ze.range,$e.range,Ye.range,Xe.range,Ke.range,Qe.range,Ce((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()))),tn=(Je.range,Ce((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()))),en=(tn.range,Ce((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,e)=>{t.setFullYear(t.getFullYear()+e)}),((t,e)=>e.getFullYear()-t.getFullYear()),(t=>t.getFullYear())));en.every=t=>isFinite(t=Math.floor(t))&&t>0?Ce((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,n)=>{e.setFullYear(e.getFullYear()+n*t)})):null,en.range;const nn=Ce((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)}),((t,e)=>e.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));function rn(t,e,n,r,o,i){const a=[[Ae,1,be],[Ae,5,5e3],[Ae,15,15e3],[Ae,30,3e4],[i,1,xe],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,Oe],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,Se],[r,2,1728e5],[n,1,we],[e,1,2592e6],[e,3,7776e6],[t,1,Me]];function s(e,n,r){const o=Math.abs(n-e)/r,i=d((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(p(e/Me,n/Me,r));if(0===i)return Pe.every(Math.max(p(e,n,r),1));const[s,u]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return s.every(u)}return[function(t,e,n){const r=e<t;r&&([t,e]=[e,t]);const o=n&&"function"==typeof n.range?n:s(t,e,n),i=o?o.range(t,+e+1):[];return r?i.reverse():i},s]}nn.every=t=>isFinite(t=Math.floor(t))&&t>0?Ce((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null,nn.range;const[on,an]=rn(nn,tn,He,Le,Be,Te),[sn,un]=rn(en,Je,Re,De,_e,je);var ln=new Date,cn=new Date;function pn(t,e,n,r){function o(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return o.floor=function(e){return t(e=new Date(+e)),e},o.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},o.round=function(t){var e=o(t),n=o.ceil(t);return t-e<n-t?e:n},o.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},o.range=function(n,r,i){var a,s=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return s;do{s.push(a=new Date(+n)),e(n,i),t(n)}while(a<n&&n<r);return s},o.filter=function(n){return pn((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(o.count=function(e,r){return ln.setTime(+e),cn.setTime(+r),t(ln),t(cn),Math.floor(n(ln,cn))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(r?function(e){return r(e)%t==0}:function(e){return o.count(0,e)%t==0}):o:null}),o}const fn=864e5,hn=6048e5;function dn(t){return pn((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/hn}))}var gn=dn(0),yn=dn(1),vn=dn(2),mn=dn(3),bn=dn(4),xn=dn(5),On=dn(6),Sn=(gn.range,yn.range,vn.range,mn.range,bn.range,xn.range,On.range,pn((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/fn}),(function(t){return t.getUTCDate()-1})));const wn=Sn;function Mn(t){return pn((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/hn}))}Sn.range;var En=Mn(0),kn=Mn(1),Cn=Mn(2),Pn=Mn(3),An=Mn(4),jn=Mn(5),Tn=Mn(6),_n=(En.range,kn.range,Cn.range,Pn.range,An.range,jn.range,Tn.range,pn((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/fn),(t=>t.getDate()-1)));const Bn=_n;_n.range;var Dn=pn((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Dn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?pn((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};const In=Dn;Dn.range;var Ln=pn((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));Ln.every=function(t){return isFinite(t=Math.floor(t))&&t>0?pn((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};const zn=Ln;function Rn(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Wn(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Nn(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}Ln.range;var Fn,Un,Vn,Gn={"-":"",_:" ",0:"0"},qn=/^\s*\d+/,Hn=/^%/,Zn=/[\\^$*+?|[\]().{}]/g;function $n(t,e,n){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(e)+o:o)}function Yn(t){return t.replace(Zn,"\\$&")}function Xn(t){return new RegExp("^(?:"+t.map(Yn).join("|")+")","i")}function Kn(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function Qn(t,e,n){var r=qn.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Jn(t,e,n){var r=qn.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function tr(t,e,n){var r=qn.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function er(t,e,n){var r=qn.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function nr(t,e,n){var r=qn.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function rr(t,e,n){var r=qn.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function or(t,e,n){var r=qn.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ir(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ar(t,e,n){var r=qn.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function sr(t,e,n){var r=qn.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ur(t,e,n){var r=qn.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function lr(t,e,n){var r=qn.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function cr(t,e,n){var r=qn.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function pr(t,e,n){var r=qn.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function fr(t,e,n){var r=qn.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function hr(t,e,n){var r=qn.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function dr(t,e,n){var r=qn.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function gr(t,e,n){var r=Hn.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function yr(t,e,n){var r=qn.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function vr(t,e,n){var r=qn.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function mr(t,e){return $n(t.getDate(),e,2)}function br(t,e){return $n(t.getHours(),e,2)}function xr(t,e){return $n(t.getHours()%12||12,e,2)}function Or(t,e){return $n(1+Bn.count(In(t),t),e,3)}function Sr(t,e){return $n(t.getMilliseconds(),e,3)}function wr(t,e){return Sr(t,e)+"000"}function Mr(t,e){return $n(t.getMonth()+1,e,2)}function Er(t,e){return $n(t.getMinutes(),e,2)}function kr(t,e){return $n(t.getSeconds(),e,2)}function Cr(t){var e=t.getDay();return 0===e?7:e}function Pr(t,e){return $n(En.count(In(t)-1,t),e,2)}function Ar(t){var e=t.getDay();return e>=4||0===e?An(t):An.ceil(t)}function jr(t,e){return t=Ar(t),$n(An.count(In(t),t)+(4===In(t).getDay()),e,2)}function Tr(t){return t.getDay()}function _r(t,e){return $n(kn.count(In(t)-1,t),e,2)}function Br(t,e){return $n(t.getFullYear()%100,e,2)}function Dr(t,e){return $n((t=Ar(t)).getFullYear()%100,e,2)}function Ir(t,e){return $n(t.getFullYear()%1e4,e,4)}function Lr(t,e){var n=t.getDay();return $n((t=n>=4||0===n?An(t):An.ceil(t)).getFullYear()%1e4,e,4)}function zr(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+$n(e/60|0,"0",2)+$n(e%60,"0",2)}function Rr(t,e){return $n(t.getUTCDate(),e,2)}function Wr(t,e){return $n(t.getUTCHours(),e,2)}function Nr(t,e){return $n(t.getUTCHours()%12||12,e,2)}function Fr(t,e){return $n(1+wn.count(zn(t),t),e,3)}function Ur(t,e){return $n(t.getUTCMilliseconds(),e,3)}function Vr(t,e){return Ur(t,e)+"000"}function Gr(t,e){return $n(t.getUTCMonth()+1,e,2)}function qr(t,e){return $n(t.getUTCMinutes(),e,2)}function Hr(t,e){return $n(t.getUTCSeconds(),e,2)}function Zr(t){var e=t.getUTCDay();return 0===e?7:e}function $r(t,e){return $n(gn.count(zn(t)-1,t),e,2)}function Yr(t){var e=t.getUTCDay();return e>=4||0===e?bn(t):bn.ceil(t)}function Xr(t,e){return t=Yr(t),$n(bn.count(zn(t),t)+(4===zn(t).getUTCDay()),e,2)}function Kr(t){return t.getUTCDay()}function Qr(t,e){return $n(yn.count(zn(t)-1,t),e,2)}function Jr(t,e){return $n(t.getUTCFullYear()%100,e,2)}function to(t,e){return $n((t=Yr(t)).getUTCFullYear()%100,e,2)}function eo(t,e){return $n(t.getUTCFullYear()%1e4,e,4)}function no(t,e){var n=t.getUTCDay();return $n((t=n>=4||0===n?bn(t):bn.ceil(t)).getUTCFullYear()%1e4,e,4)}function ro(){return"+0000"}function oo(){return"%"}function io(t){return+t}function ao(t){return Math.floor(+t/1e3)}function so(t){return new Date(t)}function uo(t){return t instanceof Date?+t:+new Date(+t)}function lo(t,e,n,r,o,i,a,s,u,l){var c=xt(),p=c.invert,f=c.domain,h=l(".%L"),d=l(":%S"),g=l("%I:%M"),y=l("%I %p"),v=l("%a %d"),m=l("%b %d"),b=l("%B"),x=l("%Y");function O(t){return(u(t)<t?h:s(t)<t?d:a(t)<t?g:i(t)<t?y:r(t)<t?o(t)<t?v:m:n(t)<t?b:x)(t)}return c.invert=function(t){return new Date(p(t))},c.domain=function(t){return arguments.length?f(Array.from(t,uo)):f().map(so)},c.ticks=function(e){var n=f();return t(n[0],n[n.length-1],null==e?10:e)},c.tickFormat=function(t,e){return null==e?O:l(e)},c.nice=function(t){var n=f();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?f(Nt(n,t)):c},c.copy=function(){return mt(c,lo(t,e,n,r,o,i,a,s,u,l))},c}function co(){return St.o.apply(lo(sn,un,en,Je,Re,De,_e,je,Ae,Un).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function po(){return St.o.apply(lo(on,an,nn,tn,He,Ie,Be,Te,Ae,Vn).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function fo(){var t,e,n,r,o,i=0,a=1,s=dt,u=!1;function l(e){return null==e||isNaN(e=+e)?o:s(0===n?.5:(e=(r(e)-t)*n,u?Math.max(0,Math.min(1,e)):e))}function c(t){return function(e){var n,r;return arguments.length?([n,r]=e,s=t(n,r),l):[s(0),s(1)]}}return l.domain=function(o){return arguments.length?([i,a]=o,t=r(i=+i),e=r(a=+a),n=t===e?0:1/(e-t),l):[i,a]},l.clamp=function(t){return arguments.length?(u=!!t,l):u},l.interpolator=function(t){return arguments.length?(s=t,l):s},l.range=c(ct),l.rangeRound=c(pt),l.unknown=function(t){return arguments.length?(o=t,l):o},function(o){return r=o,t=o(i),e=o(a),n=t===e?0:1/(e-t),l}}function ho(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function go(){var t=zt(fo()(dt));return t.copy=function(){return ho(t,go())},St.O.apply(t,arguments)}function yo(){var t=Zt(fo()).domain([1,10]);return t.copy=function(){return ho(t,yo()).base(t.base())},St.O.apply(t,arguments)}function vo(){var t=Kt(fo());return t.copy=function(){return ho(t,vo()).constant(t.constant())},St.O.apply(t,arguments)}function mo(){var t=re(fo());return t.copy=function(){return ho(t,mo()).exponent(t.exponent())},St.O.apply(t,arguments)}function bo(){return mo.apply(null,arguments).exponent(.5)}function xo(){var t=[],e=dt;function n(n){if(null!=n&&!isNaN(n=+n))return e((b(t,n,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null==n||isNaN(n=+n)||t.push(n);return t.sort(f),n},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.range=function(){return t.map(((n,r)=>e(r/(t.length-1))))},n.quantiles=function(e){return Array.from({length:e+1},((n,r)=>de(t,r/e)))},n.copy=function(){return xo(e).domain(t)},St.O.apply(n,arguments)}function Oo(t,e){void 0===e&&(e=t,t=ct);for(var n=0,r=e.length-1,o=e[0],i=new Array(r<0?0:r);n<r;)i[n]=t(o,o=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return i[e](t-e)}}function So(){var t,e,n,r,o,i,a,s=0,u=.5,l=1,c=1,p=dt,f=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-e)*(c*t<c*e?r:o),p(f?Math.max(0,Math.min(1,t)):t))}function d(t){return function(e){var n,r,o;return arguments.length?([n,r,o]=e,p=Oo(t,[n,r,o]),h):[p(0),p(.5),p(1)]}}return h.domain=function(a){return arguments.length?([s,u,l]=a,t=i(s=+s),e=i(u=+u),n=i(l=+l),r=t===e?0:.5/(e-t),o=e===n?0:.5/(n-e),c=e<t?-1:1,h):[s,u,l]},h.clamp=function(t){return arguments.length?(f=!!t,h):f},h.interpolator=function(t){return arguments.length?(p=t,h):p},h.range=d(ct),h.rangeRound=d(pt),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return i=a,t=a(s),e=a(u),n=a(l),r=t===e?0:.5/(e-t),o=e===n?0:.5/(n-e),c=e<t?-1:1,h}}function wo(){var t=zt(So()(dt));return t.copy=function(){return ho(t,wo())},St.O.apply(t,arguments)}function Mo(){var t=Zt(So()).domain([.1,1,10]);return t.copy=function(){return ho(t,Mo()).base(t.base())},St.O.apply(t,arguments)}function Eo(){var t=Kt(So());return t.copy=function(){return ho(t,Eo()).constant(t.constant())},St.O.apply(t,arguments)}function ko(){var t=re(So());return t.copy=function(){return ho(t,ko()).exponent(t.exponent())},St.O.apply(t,arguments)}function Co(){return ko.apply(null,arguments).exponent(.5)}function Po(t,e){if((o=t.length)>1)for(var n,r,o,i=1,a=t[e[0]],s=a.length;i<o;++i)for(r=a,a=t[e[i]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}Fn=function(t){var e=t.dateTime,n=t.date,r=t.time,o=t.periods,i=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,l=Xn(o),c=Kn(o),p=Xn(i),f=Kn(i),h=Xn(a),d=Kn(a),g=Xn(s),y=Kn(s),v=Xn(u),m=Kn(u),b={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:mr,e:mr,f:wr,g:Dr,G:Lr,H:br,I:xr,j:Or,L:Sr,m:Mr,M:Er,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:io,s:ao,S:kr,u:Cr,U:Pr,V:jr,w:Tr,W:_r,x:null,X:null,y:Br,Y:Ir,Z:zr,"%":oo},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Rr,e:Rr,f:Vr,g:to,G:no,H:Wr,I:Nr,j:Fr,L:Ur,m:Gr,M:qr,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:io,s:ao,S:Hr,u:Zr,U:$r,V:Xr,w:Kr,W:Qr,x:null,X:null,y:Jr,Y:eo,Z:ro,"%":oo},O={a:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return M(t,e,n,r)},d:ur,e:ur,f:dr,g:or,G:rr,H:cr,I:cr,j:lr,L:hr,m:sr,M:pr,p:function(t,e,n){var r=l.exec(e.slice(n));return r?(t.p=c.get(r[0].toLowerCase()),n+r[0].length):-1},q:ar,Q:yr,s:vr,S:fr,u:Jn,U:tr,V:er,w:Qn,W:nr,x:function(t,e,r){return M(t,n,e,r)},X:function(t,e,n){return M(t,r,e,n)},y:or,Y:rr,Z:ir,"%":gr};function S(t,e){return function(n){var r,o,i,a=[],s=-1,u=0,l=t.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===t.charCodeAt(s)&&(a.push(t.slice(u,s)),null!=(o=Gn[r=t.charAt(++s)])?r=t.charAt(++s):o="e"===r?" ":"0",(i=e[r])&&(r=i(n,o)),a.push(r),u=s+1);return a.push(t.slice(u,s)),a.join("")}}function w(t,e){return function(n){var r,o,i=Nn(1900,void 0,1);if(M(i,t,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(e&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=Wn(Nn(i.y,0,1))).getUTCDay(),r=o>4||0===o?yn.ceil(r):yn(r),r=wn.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=Rn(Nn(i.y,0,1))).getDay(),r=o>4||0===o?kn.ceil(r):kn(r),r=Bn.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?Wn(Nn(i.y,0,1)).getUTCDay():Rn(Nn(i.y,0,1)).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,Wn(i)):Rn(i)}}function M(t,e,n,r){for(var o,i,a=0,s=e.length,u=n.length;a<s;){if(r>=u)return-1;if(37===(o=e.charCodeAt(a++))){if(o=e.charAt(a++),!(i=O[o in Gn?e.charAt(a++):o])||(r=i(t,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=S(n,b),b.X=S(r,b),b.c=S(e,b),x.x=S(n,x),x.X=S(r,x),x.c=S(e,x),{format:function(t){var e=S(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=w(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=S(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=w(t+="",!0);return e.toString=function(){return t},e}}}({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"]}),Un=Fn.format,Fn.parse,Vn=Fn.utcFormat,Fn.utcParse;var Ao=n(16426),jo=n(6677);function To(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function _o(t,e){return t[e]}function Bo(t){const e=[];return e.key=t,e}var Do=n(71644),Io=n.n(Do),Lo=n(71130),zo=n.n(Lo),Ro=n(1842),Wo=n.n(Ro),No=n(61049),Fo=n.n(No),Uo=n(85505),Vo=n.n(Uo),Go=n(72579),qo=n.n(Go),Ho=n(35838),Zo=n.n(Ho),$o=n(16951),Yo=n.n($o),Xo=n(23779),Ko=n.n(Xo),Qo=n(18149),Jo=n.n(Qo),ti=n(829),ei=n.n(ti),ni=n(17374),ri=n.n(ni);function oi(t){return function(t){if(Array.isArray(t))return ii(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ii(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ii(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ii(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var ai=function(t){return t},si={"@@functional/placeholder":!0},ui=function(t){return t===si},li=function(t){return function e(){return 0===arguments.length||1===arguments.length&&ui(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},ci=function t(e,n){return 1===e?n:li((function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=o.filter((function(t){return t!==si})).length;return a>=e?n.apply(void 0,o):t(e-a,li((function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var i=o.map((function(t){return ui(t)?e.shift():t}));return n.apply(void 0,oi(i).concat(e))})))}))},pi=function(t){return ci(t.length,t)},fi=function(t,e){for(var n=[],r=t;r<e;++r)n[r-t]=r;return n},hi=pi((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),di=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(!e.length)return ai;var r=e.reverse(),o=r[0],i=r.slice(1);return function(){return i.reduce((function(t,e){return e(t)}),o.apply(void 0,arguments))}},gi=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},yi=function(t){var e=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e&&o.every((function(t,n){return t===e[n]}))?n:(e=o,n=t.apply(void 0,o))}};const vi=function(t,e,n){for(var r=new(ri())(t),o=0,i=[];r.lt(e)&&o<1e5;)i.push(r.toNumber()),r=r.add(n),o++;return i},mi=function(t){return 0===t?1:Math.floor(new(ri())(t).abs().log(10).toNumber())+1};pi((function(t,e,n){var r=+t;return r+n*(+e-r)})),pi((function(t,e,n){var r=e-+t;return(n-t)/(r||1/0)})),pi((function(t,e,n){var r=e-+t;return r=r||1/0,Math.max(0,Math.min(1,(n-t)/r))}));function bi(t){return function(t){if(Array.isArray(t))return Si(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Oi(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xi(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(t,e)||Oi(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oi(t,e){if(t){if("string"==typeof t)return Si(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Si(t,e):void 0}}function Si(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function wi(t){var e=xi(t,2),n=e[0],r=e[1],o=n,i=r;return n>r&&(o=r,i=n),[o,i]}function Mi(t,e,n){if(t.lte(0))return new(ri())(0);var r=mi(t.toNumber()),o=new(ri())(10).pow(r),i=t.div(o),a=1!==r?.05:.1,s=new(ri())(Math.ceil(i.div(a).toNumber())).add(n).mul(a).mul(o);return e?s:new(ri())(Math.ceil(s))}function Ei(t,e,n){var r=1,o=new(ri())(t);if(!o.isint()&&n){var i=Math.abs(t);i<1?(r=new(ri())(10).pow(mi(t)-1),o=new(ri())(Math.floor(o.div(r).toNumber())).mul(r)):i>1&&(o=new(ri())(Math.floor(t)))}else 0===t?o=new(ri())(Math.floor((e-1)/2)):n||(o=new(ri())(Math.floor(t)));var a=Math.floor((e-1)/2);return di(hi((function(t){return o.add(new(ri())(t-a).mul(r)).toNumber()})),fi)(0,e)}function ki(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(n-1)))return{step:new(ri())(0),tickMin:new(ri())(0),tickMax:new(ri())(0)};var i,a=Mi(new(ri())(e).sub(t).div(n-1),r,o);i=t<=0&&e>=0?new(ri())(0):(i=new(ri())(t).add(e).div(2)).sub(new(ri())(i).mod(a));var s=Math.ceil(i.sub(t).div(a).toNumber()),u=Math.ceil(new(ri())(e).sub(i).div(a).toNumber()),l=s+u+1;return l>n?ki(t,e,n,r,o+1):(l<n&&(u=e>0?u+(n-l):u,s=e>0?s:s+(n-l)),{step:a,tickMin:i.sub(new(ri())(s).mul(a)),tickMax:i.add(new(ri())(u).mul(a))})}var Ci=yi((function(t){var e=xi(t,2),n=e[0],r=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),s=wi([n,r]),u=xi(s,2),l=u[0],c=u[1];if(l===-1/0||c===1/0){var p=c===1/0?[l].concat(bi(fi(0,o-1).map((function(){return 1/0})))):[].concat(bi(fi(0,o-1).map((function(){return-1/0}))),[c]);return n>r?gi(p):p}if(l===c)return Ei(l,o,i);var f=ki(l,c,a,i),h=f.step,d=f.tickMin,g=f.tickMax,y=vi(d,g.add(new(ri())(.1).mul(h)),h);return n>r?gi(y):y})),Pi=(yi((function(t){var e=xi(t,2),n=e[0],r=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),s=wi([n,r]),u=xi(s,2),l=u[0],c=u[1];if(l===-1/0||c===1/0)return[n,r];if(l===c)return Ei(l,o,i);var p=Mi(new(ri())(c).sub(l).div(a-1),i,0),f=di(hi((function(t){return new(ri())(l).add(new(ri())(t).mul(p)).toNumber()})),fi),h=f(0,a).filter((function(t){return t>=l&&t<=c}));return n>r?gi(h):h})),yi((function(t,e){var n=xi(t,2),r=n[0],o=n[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=wi([r,o]),s=xi(a,2),u=s[0],l=s[1];if(u===-1/0||l===1/0)return[r,o];if(u===l)return[u];var c=Math.max(e,2),p=Mi(new(ri())(l).sub(u).div(c-1),i,0),f=[].concat(bi(vi(new(ri())(u),new(ri())(l).sub(new(ri())(.99).mul(p)),p)),[l]);return r>o?gi(f):f}))),Ai=n(18694),ji=n(15027),Ti=n(79376),_i=n(12076);function Bi(t){return Bi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bi(t)}function Di(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ii(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Di(Object(n),!0).forEach((function(e){Li(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Di(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Li(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==Bi(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==Bi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Bi(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zi(t){return function(t){if(Array.isArray(t))return Ri(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Ri(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ri(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ri(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Wi(t,e,n){return Wo()(t)||Wo()(e)?n:(0,ji.P2)(e)?qo()(t,e,n):Fo()(e)?e(t):n}function Ni(t,e,n,r){var o=Zo()(t,(function(t){return Wi(t,e)}));if("number"===n){var i=o.filter((function(t){return(0,ji.hj)(t)||parseFloat(t)}));return i.length?[zo()(i),Io()(i)]:[1/0,-1/0]}return(r?o.filter((function(t){return!Wo()(t)})):o).map((function(t){return(0,ji.P2)(t)||t instanceof Date?t:""}))}var Fi=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(e=null==n?void 0:n.length)&&void 0!==e?e:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var s=o.range,u=0;u<a;u++){var l=u>0?r[u-1].coordinate:r[a-1].coordinate,c=r[u].coordinate,p=u>=a-1?r[0].coordinate:r[u+1].coordinate,f=void 0;if((0,ji.uY)(c-l)!==(0,ji.uY)(p-c)){var h=[];if((0,ji.uY)(p-c)===(0,ji.uY)(s[1]-s[0])){f=p;var d=c+s[1]-s[0];h[0]=Math.min(d,(d+l)/2),h[1]=Math.max(d,(d+l)/2)}else{f=l;var g=p+s[1]-s[0];h[0]=Math.min(c,(g+c)/2),h[1]=Math.max(c,(g+c)/2)}var y=[Math.min(c,(f+c)/2),Math.max(c,(f+c)/2)];if(t>y[0]&&t<=y[1]||t>=h[0]&&t<=h[1]){i=r[u].index;break}}else{var v=Math.min(l,p),m=Math.max(l,p);if(t>(v+c)/2&&t<=(m+c)/2){i=r[u].index;break}}}else for(var b=0;b<a;b++)if(0===b&&t<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&t>(n[b].coordinate+n[b-1].coordinate)/2&&t<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&t>(n[b].coordinate+n[b-1].coordinate)/2){i=n[b].index;break}return i},Ui=function(t){var e,n=t.type.displayName,r=t.props,o=r.stroke,i=r.fill;switch(n){case"Line":e=o;break;case"Area":case"Radar":e=o&&"none"!==o?o:i;break;default:e=i}return e},Vi=function(t){var e=t.barSize,n=t.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var o={},i=Object.keys(r),a=0,s=i.length;a<s;a++)for(var u=r[i[a]].stackGroups,l=Object.keys(u),c=0,p=l.length;c<p;c++){var f=u[l[c]],h=f.items,d=f.cateAxisId,g=h.filter((function(t){return(0,Ti.Gf)(t.type).indexOf("Bar")>=0}));if(g&&g.length){var y=g[0].props.barSize,v=g[0].props[d];o[v]||(o[v]=[]),o[v].push({item:g[0],stackList:g.slice(1),barSize:Wo()(y)?e:y})}}return o},Gi=function(t){var e=t.barGap,n=t.barCategoryGap,r=t.bandSize,o=t.sizeList,i=void 0===o?[]:o,a=t.maxBarSize,s=i.length;if(s<1)return null;var u,l=(0,ji.h1)(e,r,0,!0),c=[];if(i[0].barSize===+i[0].barSize){var p=!1,f=r/s,h=i.reduce((function(t,e){return t+e.barSize||0}),0);(h+=(s-1)*l)>=r&&(h-=(s-1)*l,l=0),h>=r&&f>0&&(p=!0,h=s*(f*=.9));var d={offset:((r-h)/2>>0)-l,size:0};u=i.reduce((function(t,e){var n={item:e.item,position:{offset:d.offset+d.size+l,size:p?f:e.barSize}},r=[].concat(zi(t),[n]);return d=r[r.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){r.push({item:t,position:d})})),r}),c)}else{var g=(0,ji.h1)(n,r,0,!0);r-2*g-(s-1)*l<=0&&(l=0);var y=(r-2*g-(s-1)*l)/s;y>1&&(y>>=0);var v=a===+a?Math.min(y,a):y;u=i.reduce((function(t,e,n){var r=[].concat(zi(t),[{item:e.item,position:{offset:g+(y+l)*n+(y-v)/2,size:v}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){r.push({item:t,position:r[r.length-1].position})})),r}),c)}return u},qi=function(t,e,n,r){var o=n.children,i=n.width,a=n.margin,s=i-(a.left||0)-(a.right||0),u=(0,_i.z)({children:o,legendWidth:s});if(u){var l=r||{},c=l.width,p=l.height,f=u.align,h=u.verticalAlign,d=u.layout;if(("vertical"===d||"horizontal"===d&&"middle"===h)&&"center"!==f&&(0,ji.hj)(t[f]))return Ii(Ii({},t),{},Li({},f,t[f]+(c||0)));if(("horizontal"===d||"vertical"===d&&"center"===f)&&"middle"!==h&&(0,ji.hj)(t[h]))return Ii(Ii({},t),{},Li({},h,t[h]+(p||0)))}return t},Hi=function(t,e,n,r,o){var i=e.props.children,a=(0,Ti.NN)(i,Ai.W).filter((function(t){return function(t,e,n){return!!Wo()(e)||("horizontal"===t?"yAxis"===e:"vertical"===t||"x"===n?"xAxis"===e:"y"!==n||"yAxis"===e)}(r,o,t.props.direction)}));if(a&&a.length){var s=a.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var r=Wi(e,n,0),o=Array.isArray(r)?[zo()(r),Io()(r)]:[r,r],i=s.reduce((function(t,n){var r=Wi(e,n,0),i=o[0]-Math.abs(Array.isArray(r)?r[0]:r),a=o[1]+Math.abs(Array.isArray(r)?r[1]:r);return[Math.min(i,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]}),[1/0,-1/0])}return null},Zi=function(t,e,n,r,o){var i=e.map((function(e){return Hi(t,e,n,o,r)})).filter((function(t){return!Wo()(t)}));return i&&i.length?i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null},$i=function(t,e,n,r,o){var i=e.map((function(e){var i=e.props.dataKey;return"number"===n&&i&&Hi(t,e,i,r)||Ni(t,i,n,o)}));if("number"===n)return i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var a={};return i.reduce((function(t,e){for(var n=0,r=e.length;n<r;n++)a[e[n]]||(a[e[n]]=!0,t.push(e[n]));return t}),[])},Yi=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},Xi=function(t,e,n,r){if(r)return t.map((function(t){return t.coordinate}));var o,i,a=t.map((function(t){return t.coordinate===e&&(o=!0),t.coordinate===n&&(i=!0),t.coordinate}));return o||a.push(e),i||a.push(n),a},Ki=function(t,e,n){if(!t)return null;var r=t.scale,o=t.duplicateDomain,i=t.type,a=t.range,s="scaleBand"===t.realScaleType?r.bandwidth()/2:2,u=(e||n)&&"category"===i&&r.bandwidth?r.bandwidth()/s:0;return u="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*(0,ji.uY)(a[0]-a[1])*u:u,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=o?o.indexOf(t):t;return{coordinate:r(e)+u,value:t,offset:u}})).filter((function(t){return!Yo()(t.coordinate)})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:r(t)+u,value:t,index:e,offset:u}})):r.ticks&&!n?r.ticks(t.tickCount).map((function(t){return{coordinate:r(t)+u,value:t,offset:u}})):r.domain().map((function(t,e){return{coordinate:r(t)+u,value:o?o[t]:t,index:e,offset:u}}))},Qi=new WeakMap,Ji=function(t,e){if("function"!=typeof e)return t;Qi.has(t)||Qi.set(t,new WeakMap);var n=Qi.get(t);if(n.has(e))return n.get(e);var r=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return n.set(e,r),r},ta=function(t,e,n){var i=t.scale,a=t.type,s=t.layout,u=t.axisType;if("auto"===i)return"radial"===s&&"radiusAxis"===u?{scale:o.Z(),realScaleType:"band"}:"radial"===s&&"angleAxis"===u?{scale:Rt(),realScaleType:"linear"}:"category"===a&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!n)?{scale:o.x(),realScaleType:"point"}:"category"===a?{scale:o.Z(),realScaleType:"band"}:{scale:Rt(),realScaleType:"linear"};if(Vo()(i)){var l="scale".concat(Ko()(i));return{scale:(r[l]||o.x)(),realScaleType:r[l]?l:"point"}}return Fo()(i)?{scale:i}:{scale:o.x(),realScaleType:"point"}},ea=1e-4,na=function(t){var e=t.domain();if(e&&!(e.length<=2)){var n=e.length,r=t.range(),o=Math.min(r[0],r[1])-ea,i=Math.max(r[0],r[1])+ea,a=t(e[0]),s=t(e[n-1]);(a<o||a>i||s<o||s>i)&&t.domain([e[0],e[n-1]])}},ra=function(t,e){if(!t)return null;for(var n=0,r=t.length;n<r;n++)if(t[n].item===e)return t[n].position;return null},oa=function(t,e){if(!e||2!==e.length||!(0,ji.hj)(e[0])||!(0,ji.hj)(e[1]))return t;var n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]),o=[t[0],t[1]];return(!(0,ji.hj)(t[0])||t[0]<n)&&(o[0]=n),(!(0,ji.hj)(t[1])||t[1]>r)&&(o[1]=r),o[0]>r&&(o[0]=r),o[1]<n&&(o[1]=n),o},ia={sign:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var o=0,i=0,a=0;a<e;++a){var s=Yo()(t[a][n][1])?t[a][n][0]:t[a][n][1];s>=0?(t[a][n][0]=o,t[a][n][1]=o+s,o=t[a][n][1]):(t[a][n][0]=i,t[a][n][1]=i+s,i=t[a][n][1])}},expand:function(t,e){if((r=t.length)>0){for(var n,r,o,i=0,a=t[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=t[n][i][1]||0;if(o)for(n=0;n<r;++n)t[n][i][1]/=o}Po(t,e)}},none:Po,silhouette:function(t,e){if((n=t.length)>0){for(var n,r=0,o=t[e[0]],i=o.length;r<i;++r){for(var a=0,s=0;a<n;++a)s+=t[a][r][1]||0;o[r][1]+=o[r][0]=-s/2}Po(t,e)}},wiggle:function(t,e){if((o=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var s=0,u=0,l=0;s<o;++s){for(var c=t[e[s]],p=c[a][1]||0,f=(p-(c[a-1][1]||0))/2,h=0;h<s;++h){var d=t[e[h]];f+=(d[a][1]||0)-(d[a-1][1]||0)}u+=p,l+=f*p}n[a-1][1]+=n[a-1][0]=i,u&&(i-=l/u)}n[a-1][1]+=n[a-1][0]=i,Po(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var o=0,i=0;i<e;++i){var a=Yo()(t[i][n][1])?t[i][n][0]:t[i][n][1];a>=0?(t[i][n][0]=o,t[i][n][1]=o+a,o=t[i][n][1]):(t[i][n][0]=0,t[i][n][1]=0)}}},aa=function(t,e,n){var r=e.map((function(t){return t.props.dataKey})),o=ia[n],i=function(){var t=(0,jo.Z)([]),e=To,n=Po,r=_o;function o(o){var i,a,s=Array.from(t.apply(this,arguments),Bo),u=s.length,l=-1;for(const t of o)for(i=0,++l;i<u;++i)(s[i][l]=[0,+r(t,s[i].key,l,o)]).data=t;for(i=0,a=(0,Ao.Z)(e(s));i<u;++i)s[a[i]].index=i;return n(s,a),s}return o.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,jo.Z)(Array.from(e)),o):t},o.value=function(t){return arguments.length?(r="function"==typeof t?t:(0,jo.Z)(+t),o):r},o.order=function(t){return arguments.length?(e=null==t?To:"function"==typeof t?t:(0,jo.Z)(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(n=null==t?Po:t,o):n},o}().keys(r).value((function(t,e){return+Wi(t,e,0)})).order(To).offset(o);return i(t)},sa=function(t,e,n,r,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce((function(t,e){var o=e.props,i=o.stackId;if(o.hide)return t;var a=e.props[n],s=t[a]||{hasStack:!1,stackGroups:{}};if((0,ji.P2)(i)){var u=s.stackGroups[i]||{numericAxisId:n,cateAxisId:r,items:[]};u.items.push(e),s.hasStack=!0,s.stackGroups[i]=u}else s.stackGroups[(0,ji.EL)("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[e]};return Ii(Ii({},t),{},Li({},a,s))}),{});return Object.keys(a).reduce((function(e,i){var s=a[i];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce((function(e,i){var a=s.stackGroups[i];return Ii(Ii({},e),{},Li({},i,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:aa(t,a.items,o)}))}),{})),Ii(Ii({},e),{},Li({},i,s))}),{})},ua=function(t,e){var n=e.realScaleType,r=e.type,o=e.tickCount,i=e.originalDomain,a=e.allowDecimals,s=n||e.scale;if("auto"!==s&&"linear"!==s)return null;if(o&&"number"===r&&i&&("auto"===i[0]||"auto"===i[1])){var u=t.domain();if(!u.length)return null;var l=Ci(u,o,a);return t.domain([zo()(l),Io()(l)]),{niceTicks:l}}if(o&&"number"===r){var c=t.domain();return{niceTicks:Pi(c,o,a)}}return null},la=function(t){var e=t.axis,n=t.ticks,r=t.offset,o=t.bandSize,i=t.entry,a=t.index;if("category"===e.type)return n[a]?n[a].coordinate+r:null;var s=Wi(i,e.dataKey,e.domain[a]);return Wo()(s)?null:e.scale(s)-o/2+r},ca=function(t){var e=t.numericAxis,n=e.scale.domain();if("number"===e.type){var r=Math.min(n[0],n[1]),o=Math.max(n[0],n[1]);return r<=0&&o>=0?0:o<0?o:r}return n[0]},pa=function(t,e){var n=t.props.stackId;if((0,ji.P2)(n)){var r=e[n];if(r){var o=r.items.indexOf(t);return o>=0?r.stackedData[o]:null}}return null},fa=function(t,e,n){return Object.keys(t).reduce((function(r,o){var i=t[o].stackedData.reduce((function(t,r){var o=r.slice(e,n+1).reduce((function(t,e){return[zo()(e.concat([t[0]]).filter(ji.hj)),Io()(e.concat([t[1]]).filter(ji.hj))]}),[1/0,-1/0]);return[Math.min(t[0],o[0]),Math.max(t[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],r[0]),Math.max(i[1],r[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},ha=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,da=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ga=function(t,e,n){if(Fo()(t))return t(e,n);if(!Array.isArray(t))return e;var r=[];if((0,ji.hj)(t[0]))r[0]=n?t[0]:Math.min(t[0],e[0]);else if(ha.test(t[0])){var o=+ha.exec(t[0])[1];r[0]=e[0]-o}else Fo()(t[0])?r[0]=t[0](e[0]):r[0]=e[0];if((0,ji.hj)(t[1]))r[1]=n?t[1]:Math.max(t[1],e[1]);else if(da.test(t[1])){var i=+da.exec(t[1])[1];r[1]=e[1]+i}else Fo()(t[1])?r[1]=t[1](e[1]):r[1]=e[1];return r},ya=function(t,e,n){if(t&&t.scale&&t.scale.bandwidth){var r=t.scale.bandwidth();if(!n||r>0)return r}if(t&&e&&e.length>=2){for(var o=ei()(e,(function(t){return t.coordinate})),i=1/0,a=1,s=o.length;a<s;a++){var u=o[a],l=o[a-1];i=Math.min((u.coordinate||0)-(l.coordinate||0),i)}return i===1/0?0:i}return n?void 0:0},va=function(t,e,n){return t&&t.length?Jo()(t,qo()(n,"type.defaultProps.domain"))?e:t:e},ma=function(t,e){var n=t.props,r=n.dataKey,o=n.name,i=n.unit,a=n.formatter,s=n.tooltipType,u=n.chartType;return Ii(Ii({},(0,Ti.L6)(t)),{},{dataKey:r,unit:i,formatter:a,name:o||r,color:Ui(t),value:Wi(e,r),type:s,payload:e,chartType:u})}},88089:(t,e,n)=>{"use strict";n.d(e,{xE:()=>f,os:()=>h});var r=n(79499);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u={widthCache:{},cacheCount:0},l={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},c="recharts_measurement_span";function p(t){var e=a({},t);return Object.keys(e).forEach((function(t){e[t]||delete e[t]})),e}var f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||r.x.isSsr)return{width:0,height:0};var n=p(e),o=JSON.stringify({text:t,copyStyle:n});if(u.widthCache[o])return u.widthCache[o];try{var i=document.getElementById(c);i||((i=document.createElement("span")).setAttribute("id",c),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var s=a(a({},l),n);Object.assign(i.style,s),i.textContent="".concat(t);var f=i.getBoundingClientRect(),h={width:f.width,height:f.height};return u.widthCache[o]=h,++u.cacheCount>2e3&&(u.cacheCount=0,u.widthCache={}),h}catch(t){return{width:0,height:0}}},h=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}}},15027:(t,e,n)=>{"use strict";n.d(e,{uY:()=>p,hU:()=>f,hj:()=>h,P2:()=>d,EL:()=>y,h1:()=>v,Kt:()=>m,bv:()=>b,k4:()=>x,Ap:()=>O});var r=n(85505),o=n.n(r),i=n(16951),a=n.n(i),s=n(72579),u=n.n(s),l=n(80537),c=n.n(l),p=function(t){return 0===t?0:t>0?1:-1},f=function(t){return o()(t)&&t.indexOf("%")===t.length-1},h=function(t){return c()(t)&&!a()(t)},d=function(t){return h(t)||o()(t)},g=0,y=function(t){var e=++g;return"".concat(t||"").concat(e)},v=function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!h(t)&&!o()(t))return r;if(f(t)){var s=t.indexOf("%");n=e*parseFloat(t.slice(0,s))/100}else n=+t;return a()(n)&&(n=r),i&&n>e&&(n=e),n},m=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},b=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,n={},r=0;r<e;r++){if(n[t[r]])return!0;n[t[r]]=!0}return!1},x=function(t,e){return h(t)&&h(e)?function(n){return t+n*(e-t)}:function(){return e}};function O(t,e,n){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):u()(t,e))===n})):null}},79499:(t,e,n)=>{"use strict";n.d(e,{x:()=>r});var r={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return r[t]},set:function(t,e){if("string"==typeof t)r[t]=e;else{var n=Object.keys(t);n&&n.length&&n.forEach((function(e){r[e]=t[e]}))}}}},91745:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var r=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o]}},22089:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Wk:()=>s,op:()=>l,z3:()=>p}),n(1842);var s=Math.PI/180,u=function(t){return 180*t/Math.PI},l=function(t,e,n,r){return{x:t+Math.cos(-s*r)*n,y:e+Math.sin(-s*r)*n}},c=function(t,e){var n=e.startAngle,r=e.endAngle,o=Math.floor(n/360),i=Math.floor(r/360);return t+360*Math.min(o,i)},p=function(t,e){var n=function(t,e){var n,r,o,i,a,s,l=t.x,c=t.y,p=e.cx,f=e.cy,h=(o=(n={x:l,y:c}).x,i=n.y,a=(r={x:p,y:f}).x,s=r.y,Math.sqrt(Math.pow(o-a,2)+Math.pow(i-s,2)));if(h<=0)return{radius:h};var d=(l-p)/h,g=Math.acos(d);return c>f&&(g=2*Math.PI-g),{radius:h,angle:u(g),angleInRadian:g}}({x:t.x,y:t.y},e),r=n.radius,o=n.angle,a=e.innerRadius,s=e.outerRadius;if(r<a||r>s)return!1;if(0===r)return!0;var l,p=function(t){var e=t.startAngle,n=t.endAngle,r=Math.floor(e/360),o=Math.floor(n/360),i=Math.min(r,o);return{startAngle:e-360*i,endAngle:n-360*i}}(e),f=p.startAngle,h=p.endAngle,d=o;if(f<=h){for(;d>h;)d-=360;for(;d<f;)d+=360;l=d>=f&&d<=h}else{for(;d>f;)d-=360;for(;d<h;)d+=360;l=d>=h&&d<=f}return l?i(i({},e),{},{radius:r,angle:c(d,e)}):null}},79376:(t,e,n)=>{"use strict";n.d(e,{Gf:()=>S,NN:()=>k,sP:()=>C,TT:()=>P,L6:()=>j,rL:()=>T,eu:()=>B,Bh:()=>D,$R:()=>I});var r=n(72579),o=n.n(r),i=n(1842),a=n.n(i),s=n(85505),u=n.n(s),l=n(61049),c=n.n(l),p=n(29259),f=n.n(p),h=n(8156),d=n(48570),g=n(15027),y=n(47022),v=n(21442),m=["children"],b=["children"];function x(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var O={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},S=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},w=null,M=null,E=function t(e){if(e===w&&Array.isArray(M))return M;var n=[];return h.Children.forEach(e,(function(e){a()(e)||((0,d.isFragment)(e)?n=n.concat(t(e.props.children)):n.push(e))})),M=n,w=e,n};function k(t,e){var n=[],r=[];return r=Array.isArray(e)?e.map((function(t){return S(t)})):[S(e)],E(t).forEach((function(t){var e=o()(t,"type.displayName")||o()(t,"type.name");-1!==r.indexOf(e)&&n.push(t)})),n}function C(t,e){var n=k(t,e);return n&&n[0]}var P=function(t){if(!t||!t.props)return!1;var e=t.props,n=e.width,r=e.height;return!(!(0,g.hj)(n)||n<=0||!(0,g.hj)(r)||r<=0)},A=["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"],j=function(t,e,n){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,h.isValidElement)(t)&&(r=t.props),!f()(r))return null;var o={};return Object.keys(r).forEach((function(t){var i;(function(t,e,n,r){var o,i=null!==(o=null===v.ry||void 0===v.ry?void 0:v.ry[r])&&void 0!==o?o:[];return!c()(t)&&(r&&i.includes(e)||v.Yh.includes(e))||n&&v.nv.includes(e)})(null===(i=r)||void 0===i?void 0:i[t],t,e,n)&&(o[t]=r[t])})),o},T=function t(e,n){if(e===n)return!0;var r=h.Children.count(e);if(r!==h.Children.count(n))return!1;if(0===r)return!0;if(1===r)return _(Array.isArray(e)?e[0]:e,Array.isArray(n)?n[0]:n);for(var o=0;o<r;o++){var i=e[o],a=n[o];if(Array.isArray(i)||Array.isArray(a)){if(!t(i,a))return!1}else if(!_(i,a))return!1}return!0},_=function(t,e){if(a()(t)&&a()(e))return!0;if(!a()(t)&&!a()(e)){var n=t.props||{},r=n.children,o=x(n,m),i=e.props||{},s=i.children,u=x(i,b);return r&&s?(0,y.w)(o,u)&&T(r,s):!r&&!s&&(0,y.w)(o,u)}return!1},B=function(t,e){var n=[],r={};return E(t).forEach((function(t,o){if(function(t){return t&&t.type&&u()(t.type)&&A.indexOf(t.type)>=0}(t))n.push(t);else if(t){var i=S(t.type),a=e[i]||{},s=a.handler,l=a.once;if(s&&(!l||!r[i])){var c=s(t,i,o);n.push(c),r[i]=!0}}})),n},D=function(t){var e=t&&t.type;return e&&O[e]?O[e]:null},I=function(t,e){return E(e).indexOf(t)}},47022:(t,e,n)=>{"use strict";function r(t,e){for(var n in t)if({}.hasOwnProperty.call(t,n)&&(!{}.hasOwnProperty.call(e,n)||t[n]!==e[n]))return!1;for(var r in e)if({}.hasOwnProperty.call(e,r)&&!{}.hasOwnProperty.call(t,r))return!1;return!0}n.d(e,{w:()=>r})},12076:(t,e,n)=>{"use strict";n.d(e,{z:()=>c});var r=n(97245),o=n(24847),i=n(79376);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==a(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===a(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(t){var e,n=t.children,a=t.formattedGraphicalItems,s=t.legendWidth,l=t.legendContent,c=(0,i.sP)(n,r.D);return c?(e=c.props&&c.props.payload?c.props&&c.props.payload:"children"===l?(a||[]).reduce((function(t,e){var n=e.item,r=e.props,o=r.sectors||r.data||[];return t.concat(o.map((function(t){return{type:c.props.iconType||n.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(a||[]).map((function(t){var e=t.item,n=e.props,r=n.dataKey,i=n.name,a=n.legendType;return{inactive:n.hide,dataKey:r,type:c.props.iconType||a||"square",color:(0,o.fk)(e),value:i||r,payload:e.props}})),u(u(u({},c.props),r.D.getWithHeight(c,s)),{},{payload:e,item:c})):null}},32391:(t,e,n)=>{"use strict";n.d(e,{z:()=>s});var r=n(84636),o=n.n(r),i=n(61049),a=n.n(i);function s(t,e,n){return!0===e?o()(t,n):a()(e)?o()(t,e):t}},21442:(t,e,n)=>{"use strict";n.d(e,{Yh:()=>s,ry:()=>l,nv:()=>c,Ym:()=>p,bw:()=>f});var r=n(8156),o=n(29259),i=n.n(o);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}var s=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],u=["points","pathLength"],l={svg:["viewBox","children"],polygon:u,polyline:u},c=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],p=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,r.isValidElement)(t)&&(n=t.props),!i()(n))return null;var o={};return Object.keys(n).forEach((function(t){c.includes(t)&&(o[t]=e||function(e){return n[t](n,e)})})),o},f=function(t,e,n){if(!i()(t)||"object"!==a(t))return null;var r=null;return Object.keys(t).forEach((function(o){var i=t[o];c.includes(o)&&"function"==typeof i&&(r||(r={}),r[o]=function(t,e,n){return function(r){return t(e,n,r),null}}(i,e,n))})),r}},2314:(t,e,n)=>{"use strict";var r=n(75580).compose;e.__esModule=!0,e.composeWithDevTools=function(){if(0!==arguments.length)return"object"==typeof arguments[0]?r:r.apply(null,arguments)},e.devToolsEnhancer=function(){return function(t){return t}}},83273:(t,e,n)=>{"use strict";e.__esModule=!0,e.createDynamicMiddlewares=e.resetMiddlewares=e.removeMiddleware=e.addMiddleware=void 0;var r=n(75580),o=function(){var t=[];return{enhancer:function(e){return function(n){return function(o){var i=t.map((function(t){return t(e)}));return r.compose.apply(void 0,i)(n)(o)}}},addMiddleware:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t=[].concat(t,n)},removeMiddleware:function(e){var n=t.findIndex((function(t){return t===e}));-1!==n?t=t.filter((function(t,e){return e!==n})):console.error("Middleware does not exist!",e)},resetMiddlewares:function(){t=[]}}},i=o();e.default=i.enhancer;var a=i.addMiddleware,s=i.removeMiddleware,u=i.resetMiddlewares;e.addMiddleware=a,e.removeMiddleware=s,e.resetMiddlewares=u,e.createDynamicMiddlewares=o},95174:(t,e,n)=>{"use strict";e.__esModule=!0;var r=n(83273);e.getMiddlewareManager=function(){var t=r.createDynamicMiddlewares();return{getItems:function(){return[]},enhancer:t.enhancer,add:function(e){return t.addMiddleware.apply(t,e),e},remove:function(e){return e.forEach(t.removeMiddleware),e},dispose:function(){t.resetMiddlewares()}}}},12519:function(t,e,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),o=0;for(e=0;e<n;e++)for(var i=arguments[e],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r};e.__esModule=!0;var o=n(79329);e.getModuleManager=function(t,e,n){var i,a=null,s=[],u=new Set,l=function(t){if(t){if(!a)throw new Error("setDispatch should be called on ModuleManager before adding any modules.");t.forEach(a)}},c={getReducer:function(t,e){return i?i.reduce(t,e):t||null},setDispatch:function(t){a=t},getItems:function(){return[]},add:function(c){if(c&&0!==c.length){c=c.filter((function(t){return t}));var p=[];c.forEach((function(e){if(!u.has(e.id)){u.add(e.id),s.push(e),function(t){if(t)if(i)for(var e in t)i.add(e,t[e]);else i=o.getRefCountedReducerManager(o.getReducerManager(t,n))}(e.reducerMap);var r=e.middlewares;r&&function(e){e&&t.add(e)}(r),p.push(e)}})),a({type:"@@Internal/ModuleManager/SeedReducers"}),p.forEach((function(t){e.forEach((function(e){e.onModuleAdded&&e.onModuleAdded(t)}));var n={type:"@@Internal/ModuleManager/ModuleAdded",payload:t.id};l(t.initialActions?r([n],t.initialActions):[n])}))}},remove:function(n){n&&(n=n.filter((function(t){return t})).reverse()).forEach((function(n){var r;u.has(n.id)&&(l(n.finalActions),function(t){if(t&&i)for(var e in t)i.remove(e)}(n.reducerMap),(r=n.middlewares)&&t.remove(r),e.forEach((function(t){t.onModuleRemoved&&t.onModuleRemoved(n)})),u.delete(n.id),s=s.filter((function(t){return t.id!==n.id})),l([{type:"@@Internal/ModuleManager/ModuleRemoved",payload:n.id}]))}))},dispose:function(){c.remove(s)}};return c}},79329:function(t,e,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};e.__esModule=!0;var o=n(75580),i=n(24446);function a(t,e){return void 0===e&&(e=o.combineReducers),t&&0!==Object.keys(t).length?e(t):function(t,e){return t||null}}e.getRefCountedReducerManager=function(t){var e=i.getStringRefCounter();for(var n in t.getReducerMap())e.add(n);return{reduce:t.reduce,getReducerMap:t.getReducerMap,add:function(n,r){0===e.getCount(n)&&t.add(n,r),e.add(n)},remove:function(n){e.remove(n),0===e.getCount(n)&&t.remove(n)}}},e.getReducerManager=function(t,e){void 0===e&&(e=o.combineReducers);var n=e(t),i=r({},t),s=[];return{getReducerMap:function(){return i},reduce:function(t,e){if(s.length>0){t=r({},t);for(var o=0,i=s;o<i.length;o++)delete t[i[o]];s=[]}return void 0===t&&(t={}),n(t,e)},add:function(t,r){t&&!i[t]&&(i[t]=r,n=a(i,e))},remove:function(t){t&&i[t]&&(delete i[t],s.push(t),n=a(i,e))}}}},45105:function(t,e,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};e.__esModule=!0;var o=n(24446);e.getRefCountedManager=function(t,e,n){var i=o.getObjectRefCounter(e,n);t.getItems().forEach((function(t){return i.add(t)}));var a=r({},t);return a.add=function(e){if(e){var n=e.filter((function(t){return t})),r=n.filter((function(t){return 0===i.getCount(t)}));t.add(r),n.forEach(i.add)}},a.remove=function(e){e&&e.forEach((function(e){e&&(i.remove(e),0===i.getCount(e)&&t.remove([e]))}))},a.dispose=function(){t.dispose()},a}},88526:function(t,e,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),o=0;for(e=0;e<n;e++)for(var i=arguments[e],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r};e.__esModule=!0;var o=n(75580),i=n(2314),a=n(95174),s=n(12519),u=n(45105),l=n(23425);e.createStore=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var c=t.initialState,p=void 0===c?{}:c,f=t.extensions,h=void 0===f?[]:f,d=t.enhancers,g=void 0===d?[]:d,y=t.advancedComposeEnhancers,v=void 0===y?i.composeWithDevTools({}):y,m=t.advancedCombineReducers,b=h.reduce((function(t,e){return e.middleware&&t.push.apply(t,e.middleware),t}),[]),x=u.getRefCountedManager(a.getMiddlewareManager(),(function(t,e){return t===e})),O=v.apply(void 0,r(g,[o.applyMiddleware.apply(void 0,r(b,[x.enhancer]))])),S=u.getRefCountedManager(s.getModuleManager(x,h,m),(function(t,e){return t.id===e.id}),(function(t){return t.retained})),w=o.createStore(S.getReducer,p,O);S.setDispatch(w.dispatch);var M=function(t){var e=l.flatten(t);return S.add(e),{remove:function(){S.remove(e)}}},E=function(t){return M([t])};return h.forEach((function(t){t.onModuleManagerCreated&&t.onModuleManagerCreated({addModule:E,addModules:M})})),w.addModule=E,w.addModules=M,w.dispose=function(){S.dispose(),x.dispose(),h.forEach((function(t){t.dispose&&t.dispose()}))},w.addModules(e),w}},58166:(t,e)=>{"use strict";e.__esModule=!0,e.getMap=function(t){var e=[],n={};return{keys:e,get:function(r){if(r){var o=e.findIndex((function(e){return e&&t(e,r)}));if(-1!==o)return n[o]}},add:function(r,o){r&&-1===e.findIndex((function(e){return e&&t(e,r)}))&&(e.push(r),n[e.length-1]=o)},remove:function(r){if(r){var o=e.findIndex((function(e){return e&&t(e,r)}));if(-1!==o){delete e[o];var i=n[o];return delete n[o],i}}}}}},23425:function(t,e){"use strict";var n=this&&this.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),o=0;for(e=0;e<n;e++)for(var i=arguments[e],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r};e.__esModule=!0,e.flatten=function(t){if(t){for(var e=t.slice(),r=0;r<e.length;)Array.isArray(e[r])?e.splice.apply(e,n([r,1],e[r])):r++;return e}return t}},24446:(t,e)=>{"use strict";e.__esModule=!0,e.getObjectRefCounter=function(t,e){t||(t=function(t,e){return t===e}),e||(e=function(){return!1});var n=[],r=[];return{getCount:function(e){if(null==e)return 0;var o=n.findIndex((function(n){return n&&t(n,e)}));return-1===o?0:r[o]},add:function(o){if(null!=o){var i=n.findIndex((function(e){return e&&t(e,o)})),a=1;-1===i?(i=n.length,n.push(o)):a=r[i]+1,e(o)&&(a=1/0),r[i]=a}},remove:function(o){if(e(o))return!1;var i=n.findIndex((function(e){return e&&t(e,o)}));return-1!==i&&(1===r[i]?(delete n[i],delete r[i],!0):(r[i]=r[i]-1,!1))}}},e.getStringRefCounter=function(){var t={};return{getCount:function(e){return null==e?0:t[e]||0},add:function(e){null!=e&&(t[e]?t[e]++:t[e]=1)},remove:function(e){return null!=e&&!!t[e]&&(1===t[e]?(delete t[e],!0):(t[e]--,!1))}}}},70315:(t,e,n)=>{"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}e.__esModule=!0,r(n(88526)),r(n(58166)),r(n(24446)),r(n(95174)),r(n(45105))},78522:function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};e.__esModule=!0;var a=n(8156),s=n(34756),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(){var t=this;return a.createElement(s.ReactReduxContext.Consumer,null,(function(e){return a.createElement(l,i({},t.props,{reactReduxContext:e}))}))},e}(a.Component);e.DynamicModuleLoader=u;var l=function(t){function e(e){var n=t.call(this,e)||this;if(n._providerInitializationNeeded=!1,n._cleanup=function(){n._addedModules&&(n._addedModules.remove(),n._addedModules=void 0)},null==e.reactReduxContext){var r="Tried to render DynamicModuleLoader, but no ReactReduxContext was provided";throw console.error(r),new Error(r)}return n._store=e.reactReduxContext?e.reactReduxContext.store:void 0,n.props.strictMode?n.state={readyToRender:!1}:(n._addModules(),n.state={readyToRender:!0}),n}return o(e,t),e.prototype.render=function(){return this.state.readyToRender?this._providerInitializationNeeded?a.createElement(s.Provider,{store:this._store},a.createElement(u,i({},this.props))):a.createElement(a.Fragment,null,this._renderLoader(),a.createElement(c,{cleanup:this._cleanup})):null},e.prototype._renderLoader=function(){return this.props.children?"function"==typeof this.props.children?this.props.children():this.props.children:null},e.prototype._addModules=function(){var t=this.props,e=t.createStore,n=t.modules;if(this._store)this._addedModules=this._store.addModules(n);else{if(!e)throw new Error("Store could not be resolved from React context");this._store=e(),this._providerInitializationNeeded=!0}},e.prototype.componentDidMount=function(){this.props.strictMode&&(this._addModules(),this.setState({readyToRender:!0}))},e}(a.Component),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(){return null},e.prototype.componentWillUnmount=function(){this.props.cleanup()},e}(a.Component)},66780:(t,e,n)=>{"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}e.__esModule=!0,r(n(70315)),r(n(78522))},85383:(t,e,n)=>{"use strict";n.d(e,{ZO:()=>B,$6:()=>k,RE:()=>P,gw:()=>D,rM:()=>A,v_:()=>j,gz:()=>E,Ys:()=>_,qn:()=>M,ib:()=>U,Fm:()=>V,A7:()=>G});var r=function(t){return"@@redux-saga/"+t},o=r("CANCEL_PROMISE"),i=r("IO"),a=r("MULTICAST"),s=r("SELF_CANCELLATION"),u=function(t){return null!=t},l=function(t){return"function"==typeof t},c=function(t){return"string"==typeof t},p=Array.isArray,f=function t(e){return e&&(c(e)||d(e)||l(e)||p(e)&&e.every(t))},h=function(t){return t&&l(t.take)&&l(t.close)},d=function(t){return Boolean(t)&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype};const g=function(t,e){var n;void 0===e&&(e=!0);var r=new Promise((function(r){n=setTimeout(r,Math.min(2147483647,t),e)}));return r[o]=function(){clearTimeout(n)},r};var y=function(t){return t};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var v=function(t){throw t},m=function(t){return{value:t,done:!0}},b="TAKE",x="CALL",O="FORK",S="SELECT",w=function(t,e){var n;return(n={})[i]=!0,n.combinator=!1,n.type=t,n.payload=e,n};function M(t,e){return void 0===t&&(t="*"),f(t)?(u(e)&&console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"),w(b,{pattern:t})):h(n=t)&&n[a]&&u(e)&&f(e)?w(b,{channel:t,pattern:e}):h(t)?(u(e)&&console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."),w(b,{channel:t})):void 0;var n}function E(t,e){return null==e&&(e=t,t=void 0),w("PUT",{channel:t,action:e})}function k(t){var e=w("ALL",t);return e.combinator=!0,e}function C(t,e){var n,r=null;return l(t)?n=t:(p(t)?(r=t[0],n=t[1]):(r=t.context,n=t.fn),r&&c(n)&&l(r[n])&&(n=r[n])),{context:r,fn:n,args:e}}function P(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return w(x,C(t,n))}function A(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return w(O,C(t,n))}function j(t){return w("JOIN",t)}function T(t){return void 0===t&&(t=s),w("CANCEL",t)}function _(t){void 0===t&&(t=y);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return w(S,{selector:t,args:n})}function B(t,e){return w("ACTION_CHANNEL",{pattern:t,buffer:e})}var D=P.bind(null,g),I=function(t){return{done:!0,value:t}},L={};function z(t){return h(t)?"channel":l(e=t)&&e.hasOwnProperty("toString")?String(t):l(t)?t.name:String(t);var e}function R(t,e,n){var r,o,i,a=e;function s(e,n){if(a===L)return I(e);if(n&&!o)throw a=L,n;r&&r(e);var s=n?t[o](n):t[a]();return a=s.nextState,i=s.effect,r=s.stateUpdater,o=s.errorState,a===L?I(e):i}return function(t,e,n){void 0===e&&(e=v),void 0===n&&(n="iterator");var r={meta:{name:n},next:t,throw:e,return:m,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}(s,(function(t){return s(null,t)}),n)}function W(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i,a={done:!1,value:M(t)},s=function(t){return{done:!1,value:A.apply(void 0,[e].concat(r,[t]))}},u=function(t){return i=t};return R({q1:function(){return{nextState:"q2",effect:a,stateUpdater:u}},q2:function(){return{nextState:"q1",effect:s(i)}}},"q1","takeEvery("+z(t)+", "+e.name+")")}function N(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i,a,s={done:!1,value:M(t)},u=function(t){return{done:!1,value:A.apply(void 0,[e].concat(r,[t]))}},l=function(t){return{done:!1,value:T(t)}},c=function(t){return i=t},p=function(t){return a=t};return R({q1:function(){return{nextState:"q2",effect:s,stateUpdater:p}},q2:function(){return i?{nextState:"q3",effect:l(i)}:{nextState:"q1",effect:u(a),stateUpdater:c}},q3:function(){return{nextState:"q1",effect:u(a),stateUpdater:c}}},"q1","takeLatest("+z(t)+", "+e.name+")")}function F(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i,a={done:!1,value:M(t)},s=function(t){return{done:!1,value:P.apply(void 0,[e].concat(r,[t]))}},u=function(t){return i=t};return R({q1:function(){return{nextState:"q2",effect:a,stateUpdater:u}},q2:function(){return{nextState:"q1",effect:s(i)}}},"q1","takeLeading("+z(t)+", "+e.name+")")}function U(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return A.apply(void 0,[W,t,e].concat(r))}function V(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return A.apply(void 0,[N,t,e].concat(r))}function G(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return A.apply(void 0,[F,t,e].concat(r))}},16426:(t,e,n)=>{"use strict";function r(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}n.d(e,{Z:()=>r}),Array.prototype.slice},6677:(t,e,n)=>{"use strict";function r(t){return function(){return t}}n.d(e,{Z:()=>r})},13149:(t,e,n)=>{"use strict";n.d(e,{d:()=>l});const r=Math.PI,o=2*r,i=1e-6,a=o-i;function s(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}class u{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?s:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return s;const n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=Math.round(arguments[e]*n)/n+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,n,r){this._append`Q${+t},${+e},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(t,e,n,r,o,i){this._append`C${+t},${+e},${+n},${+r},${this._x1=+o},${this._y1=+i}`}arcTo(t,e,n,o,a){if(t=+t,e=+e,n=+n,o=+o,(a=+a)<0)throw new Error(`negative radius: ${a}`);let s=this._x1,u=this._y1,l=n-t,c=o-e,p=s-t,f=u-e,h=p*p+f*f;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(h>i)if(Math.abs(f*l-c*p)>i&&a){let d=n-s,g=o-u,y=l*l+c*c,v=d*d+g*g,m=Math.sqrt(y),b=Math.sqrt(h),x=a*Math.tan((r-Math.acos((y+h-v)/(2*m*b)))/2),O=x/b,S=x/m;Math.abs(O-1)>i&&this._append`L${t+O*p},${e+O*f}`,this._append`A${a},${a},0,0,${+(f*d>p*g)},${this._x1=t+S*l},${this._y1=e+S*c}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,n,s,u,l){if(t=+t,e=+e,l=!!l,(n=+n)<0)throw new Error(`negative radius: ${n}`);let c=n*Math.cos(s),p=n*Math.sin(s),f=t+c,h=e+p,d=1^l,g=l?s-u:u-s;null===this._x1?this._append`M${f},${h}`:(Math.abs(this._x1-f)>i||Math.abs(this._y1-h)>i)&&this._append`L${f},${h}`,n&&(g<0&&(g=g%o+o),g>a?this._append`A${n},${n},0,1,${d},${t-c},${e-p}A${n},${n},0,1,${d},${this._x1=f},${this._y1=h}`:g>i&&this._append`A${n},${n},0,${+(g>=r)},${d},${this._x1=t+n*Math.cos(u)},${this._y1=e+n*Math.sin(u)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function l(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{const t=Math.floor(n);if(!(t>=0))throw new RangeError(`invalid digits: ${n}`);e=t}return t},()=>new u(e)}},76665:(t,e,n)=>{"use strict";function r(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(t){return!!t&&!!t[V]}function i(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var n=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===G}(t)||Array.isArray(t)||!!t[U]||!!(null===(e=t.constructor)||void 0===e?void 0:e[U])||c(t)||p(t))}function a(t,e,n){void 0===n&&(n=!1),0===s(t)?(n?Object.keys:q)(t).forEach((function(r){n&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(n,r){return e(r,n,t)}))}function s(t){var e=t[V];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:c(t)?2:p(t)?3:0}function u(t,e){return 2===s(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function l(t,e,n){var r=s(t);2===r?t.set(e,n):3===r?t.add(n):t[e]=n}function c(t){return R&&t instanceof Map}function p(t){return W&&t instanceof Set}function f(t){return t.o||t.t}function h(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=H(t);delete e[V];for(var n=q(e),r=0;r<n.length;r++){var o=n[r],i=e[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[o]})}return Object.create(Object.getPrototypeOf(t),e)}function d(t,e){return void 0===e&&(e=!1),y(t)||o(t)||!i(t)||(s(t)>1&&(t.set=t.add=t.clear=t.delete=g),Object.freeze(t),e&&a(t,(function(t,e){return d(e,!0)}),!0)),t}function g(){r(2)}function y(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function v(t){var e=Z[t];return e||r(18,t),e}function m(){return L}function b(t,e){e&&(v("Patches"),t.u=[],t.s=[],t.v=e)}function x(t){O(t),t.p.forEach(w),t.p=null}function O(t){t===L&&(L=t.l)}function S(t){return L={p:[],l:L,h:t,m:!0,_:0}}function w(t){var e=t[V];0===e.i||1===e.i?e.j():e.g=!0}function M(t,e){e._=e.p.length;var n=e.p[0],o=void 0!==t&&t!==n;return e.h.O||v("ES5").S(e,t,o),o?(n[V].P&&(x(e),r(4)),i(t)&&(t=E(e,t),e.l||C(e,t)),e.u&&v("Patches").M(n[V].t,t,e.u,e.s)):t=E(e,n,[]),x(e),e.u&&e.v(e.u,e.s),t!==F?t:void 0}function E(t,e,n){if(y(e))return e;var r=e[V];if(!r)return a(e,(function(o,i){return k(t,r,e,o,i,n)}),!0),e;if(r.A!==t)return e;if(!r.P)return C(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=h(r.k):r.o,i=o,s=!1;3===r.i&&(i=new Set(o),o.clear(),s=!0),a(i,(function(e,i){return k(t,r,o,e,i,n,s)})),C(t,o,!1),n&&t.u&&v("Patches").N(r,n,t.u,t.s)}return r.o}function k(t,e,n,r,a,s,c){if(o(a)){var p=E(t,a,s&&e&&3!==e.i&&!u(e.R,r)?s.concat(r):void 0);if(l(n,r,p),!o(p))return;t.m=!1}else c&&n.add(a);if(i(a)&&!y(a)){if(!t.h.D&&t._<1)return;E(t,a),e&&e.A.l||C(t,a)}}function C(t,e,n){void 0===n&&(n=!1),!t.l&&t.h.D&&t.m&&d(e,n)}function P(t,e){var n=t[V];return(n?f(n):t)[e]}function A(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var r=Object.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function j(t){t.P||(t.P=!0,t.l&&j(t.l))}function T(t){t.o||(t.o=h(t.t))}function _(t,e,n){var r=c(e)?v("MapSet").F(e,n):p(e)?v("MapSet").T(e,n):t.O?function(t,e){var n=Array.isArray(t),r={i:n?1:0,A:e?e.A:m(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},o=r,i=$;n&&(o=[r],i=Y);var a=Proxy.revocable(o,i),s=a.revoke,u=a.proxy;return r.k=u,r.j=s,u}(e,n):v("ES5").J(e,n);return(n?n.A:m()).p.push(r),r}function B(t){return o(t)||r(22,t),function t(e){if(!i(e))return e;var n,r=e[V],o=s(e);if(r){if(!r.P&&(r.i<4||!v("ES5").K(r)))return r.t;r.I=!0,n=D(e,o),r.I=!1}else n=D(e,o);return a(n,(function(e,o){r&&function(t,e){return 2===s(t)?t.get(e):t[e]}(r.t,e)===o||l(n,e,t(o))})),3===o?new Set(n):n}(t)}function D(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return h(t)}n.d(e,{ZP:()=>J});var I,L,z="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),R="undefined"!=typeof Map,W="undefined"!=typeof Set,N="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,F=z?Symbol.for("immer-nothing"):((I={})["immer-nothing"]=!0,I),U=z?Symbol.for("immer-draftable"):"__$immer_draftable",V=z?Symbol.for("immer-state"):"__$immer_state",G=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),q="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,H=Object.getOwnPropertyDescriptors||function(t){var e={};return q(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e},Z={},$={get:function(t,e){if(e===V)return t;var n=f(t);if(!u(n,e))return function(t,e,n){var r,o=A(e,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(t.k):void 0}(t,n,e);var r=n[e];return t.I||!i(r)?r:r===P(t.t,e)?(T(t),t.o[e]=_(t.A.h,r,t)):r},has:function(t,e){return e in f(t)},ownKeys:function(t){return Reflect.ownKeys(f(t))},set:function(t,e,n){var r=A(f(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,n),!0;if(!t.P){var o=P(f(t),e),i=null==o?void 0:o[V];if(i&&i.t===n)return t.o[e]=n,t.R[e]=!1,!0;if(function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}(n,o)&&(void 0!==n||u(t.t,e)))return!0;T(t),j(t)}return t.o[e]===n&&(void 0!==n||e in t.o)||Number.isNaN(n)&&Number.isNaN(t.o[e])||(t.o[e]=n,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==P(t.t,e)||e in t.t?(t.R[e]=!1,T(t),j(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=f(t),r=Reflect.getOwnPropertyDescriptor(n,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:n[e]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){r(12)}},Y={};a($,(function(t,e){Y[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Y.deleteProperty=function(t,e){return Y.set.call(this,t,e,void 0)},Y.set=function(t,e,n){return $.set.call(this,t[0],e,n,t[0])};var X=function(){function t(t){var e=this;this.O=N,this.D=!0,this.produce=function(t,n,o){if("function"==typeof t&&"function"!=typeof n){var a=n;n=t;var s=e;return function(t){var e=this;void 0===t&&(t=a);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return s.produce(t,(function(t){var r;return(r=n).call.apply(r,[e,t].concat(o))}))}}var u;if("function"!=typeof n&&r(6),void 0!==o&&"function"!=typeof o&&r(7),i(t)){var l=S(e),c=_(e,t,void 0),p=!0;try{u=n(c),p=!1}finally{p?x(l):O(l)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(t){return b(l,o),M(t,l)}),(function(t){throw x(l),t})):(b(l,o),M(u,l))}if(!t||"object"!=typeof t){if(void 0===(u=n(t))&&(u=t),u===F&&(u=void 0),e.D&&d(u,!0),o){var f=[],h=[];v("Patches").M(t,u,f,h),o(f,h)}return u}r(21,t)},this.produceWithPatches=function(t,n){if("function"==typeof t)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.produceWithPatches(n,(function(e){return t.apply(void 0,[e].concat(o))}))};var r,o,i=e.produce(t,n,(function(t,e){r=t,o=e}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,o]})):[i,r,o]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){i(t)||r(8),o(t)&&(t=B(t));var e=S(this),n=_(this,t,void 0);return n[V].C=!0,O(e),n},e.finishDraft=function(t,e){var n=(t&&t[V]).A;return b(n,e),M(void 0,n)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!N&&r(20),this.O=t},e.applyPatches=function(t,e){var n;for(n=e.length-1;n>=0;n--){var r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}n>-1&&(e=e.slice(n+1));var i=v("Patches").$;return o(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),K=new X,Q=K.produce;K.produceWithPatches.bind(K),K.setAutoFreeze.bind(K),K.setUseProxies.bind(K),K.applyPatches.bind(K),K.createDraft.bind(K),K.finishDraft.bind(K);const J=Q},75877:(t,e,n)=>{"use strict";function r(t){var e,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=r(t[e]))&&(o&&(o+=" "),o+=n);else for(e in t)t[e]&&(o&&(o+=" "),o+=e);return o}n.d(e,{Z:()=>o});const o=function(){for(var t,e,n=0,o="";n<arguments.length;)(t=arguments[n++])&&(e=r(t))&&(o&&(o+=" "),o+=e);return o}},78520:(t,e,n)=>{"use strict";function r(t,e,n){t=+t,e=+e,n=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((e-t)/n)),i=new Array(o);++r<o;)i[r]=t+r*n;return i}n.d(e,{Z:()=>a,x:()=>u});var o=n(82669),i=n(29939);function a(){var t,e,n=(0,i.Z)().unknown(void 0),s=n.domain,u=n.range,l=0,c=1,p=!1,f=0,h=0,d=.5;function g(){var n=s().length,o=c<l,i=o?c:l,a=o?l:c;t=(a-i)/Math.max(1,n-f+2*h),p&&(t=Math.floor(t)),i+=(a-i-t*(n-f))*d,e=t*(1-f),p&&(i=Math.round(i),e=Math.round(e));var g=r(n).map((function(e){return i+t*e}));return u(o?g.reverse():g)}return delete n.unknown,n.domain=function(t){return arguments.length?(s(t),g()):s()},n.range=function(t){return arguments.length?([l,c]=t,l=+l,c=+c,g()):[l,c]},n.rangeRound=function(t){return[l,c]=t,l=+l,c=+c,p=!0,g()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(p=!!t,g()):p},n.padding=function(t){return arguments.length?(f=Math.min(1,h=+t),g()):f},n.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),g()):f},n.paddingOuter=function(t){return arguments.length?(h=+t,g()):h},n.align=function(t){return arguments.length?(d=Math.max(0,Math.min(1,t)),g()):d},n.copy=function(){return a(s(),[l,c]).round(p).paddingInner(f).paddingOuter(h).align(d)},o.o.apply(g(),arguments)}function s(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return s(e())},t}function u(){return s(a.apply(null,arguments).paddingInner(1))}},82669:(t,e,n)=>{"use strict";function r(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function o(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}n.d(e,{o:()=>r,O:()=>o})},29939:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u,O:()=>s});class r extends Map{constructor(t,e=i){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,n]of t)this.set(e,n)}get(t){return super.get(o(this,t))}has(t){return super.has(o(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(n),t.delete(r)),n}(this,t))}}function o({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function i(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;var a=n(82669);const s=Symbol("implicit");function u(){var t=new r,e=[],n=[],o=s;function i(r){let i=t.get(r);if(void 0===i){if(o!==s)return o;t.set(r,i=e.push(r)-1)}return n[i%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new r;for(const r of n)t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(o=t,i):o},i.copy=function(){return u(e,n).unknown(o)},a.o.apply(i,arguments),i}}}]);