@cryptofi/core-ui 0.58.0 → 0.59.0

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/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{jsxs as t,jsx as e,Fragment as r}from"react/jsx-runtime";import{chakra as n,createMultiStyleConfigHelpers as i,defineStyle as o,defineStyleConfig as a,extendTheme as c,withDefaultColorScheme as l,useBreakpoint as u,Portal as s,Text as f,ButtonGroup as p,Button as h,Card as d,Flex as y,IconButton as v,FormControl as g,FormLabel as m,Checkbox as b,FormErrorMessage as w,forwardRef as x,InputGroup as O,InputLeftAddon as S,InputLeftElement as j,Input as A,InputRightElement as P,InputRightAddon as M,FormHelperText as k,Box as E,Tooltip as C,Modal as _,ModalOverlay as T,ModalContent as D,ModalHeader as N,ModalCloseButton as I,ModalBody as L,ModalFooter as B,Link as R,Select as z,keyframes as $,Tag as H,TagLeftIcon as V,TagLabel as F,TagRightIcon as U,TagCloseButton as W,Alert as q,AlertIcon as Y,AlertTitle as X,AlertDescription as K,CloseButton as G,Spinner as Z}from"@chakra-ui/react";import J from"crypto";import Q,{isValidElement as tt,Children as et,PureComponent as rt,forwardRef as nt,useRef as it,useImperativeHandle as ot,useState as at,useCallback as ct,useEffect as lt,useMemo as ut,cloneElement as st,createElement as ft,useContext as pt,createContext as ht,Component as dt}from"react";const yt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#3c397803)",children:[e("path",{d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10"}),e("path",{d:"M12 5.5a1 1 0 0 0-1 1v8a1 1 0 1 0 2 0v-8a1 1 0 0 0-1-1M13 18.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0"})]}),e("defs",{children:e("clipPath",{id:"3c397803",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),vt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#c9a7d4d8)",children:e("path",{fill:"#000",d:"m14.563 9.22-.915.947-3.02-3.125a2.54 2.54 0 0 0-1.785-.74c-.666 0-1.305.265-1.786.74l-.146.15a.85.85 0 0 1-.596.248.85.85 0 0 1-.595-.248L1.448 2.766A.84.84 0 0 0 .849 2.5a.82.82 0 0 0-.602.255A.87.87 0 0 0 0 3.38.9.9 0 0 0 .257 4l4.271 4.42c.482.476 1.121.741 1.787.741S7.62 8.895 8.1 8.42l.145-.151a.85.85 0 0 1 .596-.247c.222 0 .435.088.595.247l3.02 3.13-.914.947a.9.9 0 0 0-.183.95c.064.159.172.295.31.39a.82.82 0 0 0 .468.147h2.599c.335 0 .656-.137.893-.383a1.33 1.33 0 0 0 .37-.924V9.831a.9.9 0 0 0-.144-.482.85.85 0 0 0-.379-.319.82.82 0 0 0-.915.19"})}),e("defs",{children:e("clipPath",{id:"c9a7d4d8",children:e("path",{fill:"#fff",d:"M0 .5h16v16H0z"})})})]}))),gt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#6f1ccf07)",children:e("path",{fill:"#000",d:"M14.738 2H12.14a.82.82 0 0 0-.467.147.87.87 0 0 0-.31.39.9.9 0 0 0 .182.949l.914.945-3.018 3.121a.85.85 0 0 1-.595.247.85.85 0 0 1-.595-.247l-.144-.149a2.54 2.54 0 0 0-1.785-.74c-.665 0-1.304.265-1.785.74l-4.292 4.44a.9.9 0 0 0-.246.618c0 .232.09.454.248.617a.83.83 0 0 0 .598.255.83.83 0 0 0 .596-.256l4.292-4.44a.85.85 0 0 1 .595-.247c.222 0 .435.088.596.247l.143.149a2.54 2.54 0 0 0 1.785.74 2.54 2.54 0 0 0 1.785-.74l3.018-3.122.913.945a.815.815 0 0 0 .913.182.85.85 0 0 0 .376-.319.9.9 0 0 0 .142-.48V3.306a1.33 1.33 0 0 0-.37-.924A1.24 1.24 0 0 0 14.738 2"})}),e("defs",{children:e("clipPath",{id:"6f1ccf07",children:e("path",{d:"M0 0h16v16H0z"})})})]}))),mt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#9491b547)",children:e("path",{fill:"#000",d:"M24 23.5a1 1 0 0 1-1 1H1a1 1 0 0 1 0-2h22a1 1 0 0 1 1 1M.291 9.052a2.44 2.44 0 0 1 .153-2.566c.427-.627 1-1.141 1.668-1.5l7.501-3.904a5.17 5.17 0 0 1 4.774 0l7.5 3.907c.669.359 1.24.873 1.668 1.5a2.44 2.44 0 0 1 .153 2.566 2.71 2.71 0 0 1-2.416 1.445H21v8h1a1 1 0 1 1 0 2H2a1 1 0 0 1 0-2h1v-8h-.292A2.71 2.71 0 0 1 .291 9.052m4.71 9.448h3v-8H5zm5-8v8h4v-8zm9 0h-3v8h3zM2.062 8.125a.72.72 0 0 0 .645.375h18.584a.72.72 0 0 0 .645-.375.45.45 0 0 0-.024-.5 2.7 2.7 0 0 0-.949-.864l-7.5-3.907a3.18 3.18 0 0 0-2.926 0l-7.5 3.907a2.7 2.7 0 0 0-.949.865.45.45 0 0 0-.026.5"})}),e("defs",{children:e("clipPath",{id:"9491b547",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),bt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#fafc2088)",children:[e("path",{d:"M5 23h18a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5V2a1 1 0 0 1 2 0v18a3 3 0 0 0 3 3"}),e("path",{d:"M6.707 20.707A1 1 0 0 1 5 20v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-.293.707M10 11v9a1 1 0 1 0 2 0v-9a1 1 0 0 0-2 0M15 20v-6a1 1 0 0 1 2 0v6a1 1 0 1 1-2 0M20 10v10a1 1 0 1 0 2 0V10a1 1 0 0 0-2 0M6.707 9.707a1 1 0 1 1-1.414-1.414l3.586-3.586a3 3 0 0 1 4.242 0l2.172 2.17a1 1 0 0 0 1.414 0l5.586-5.584a1 1 0 0 1 1.414 1.414L18.12 8.293a3 3 0 0 1-4.242 0L11.707 6.12a1.025 1.025 0 0 0-1.414 0z"})]}),e("defs",{children:e("clipPath",{id:"fafc2088",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),wt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#4bbcc7d4)",children:[e("path",{d:"M13.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M7 16.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M18.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),e("path",{fillRule:"evenodd",d:"M18 2h1a5.006 5.006 0 0 1 5 5v12a5.006 5.006 0 0 1-5 5H5a5.006 5.006 0 0 1-5-5V7a5.006 5.006 0 0 1 5-5h1V1a1 1 0 0 1 2 0v1h8V1a1 1 0 0 1 2 0zM2.879 4.879A3 3 0 0 0 2 7v1h20V7a3 3 0 0 0-3-3H5a3 3 0 0 0-2.121.879m0 16.242A3 3 0 0 0 5 22h14a3 3 0 0 0 3-3v-9H2v9a3 3 0 0 0 .879 2.121",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"4bbcc7d4",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),xt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#53ee7faa)",children:e("path",{fill:"#000",d:"m.292 7.861 8.17 8.17a5 5 0 0 0 7.08 0l8.17-8.17a1.004 1.004 0 1 0-1.42-1.42l-8.17 8.17a3 3 0 0 1-4.24 0l-8.17-8.17a1 1 0 0 0-1.42 0 1 1 0 0 0 0 1.42"})}),e("defs",{children:e("clipPath",{id:"53ee7faa",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ot=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#64af8551)",children:e("path",{fill:"#000",d:"M17.17 24.5a1 1 0 0 1-.71-.29l-8.17-8.17a5 5 0 0 1 0-7.08L16.46.79a1.004 1.004 0 1 1 1.42 1.42l-8.17 8.17a3 3 0 0 0 0 4.24l8.17 8.17a1 1 0 0 1-.71 1.71"})}),e("defs",{children:e("clipPath",{id:"64af8551",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),St=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#a0a0cf84)",children:e("path",{fill:"#000",d:"M7 24.5a1 1 0 0 1-.71-1.71l8.17-8.17a3 3 0 0 0 0-4.24L6.29 2.21A1.004 1.004 0 0 1 7.71.79l8.17 8.17a5 5 0 0 1 0 7.08l-8.17 8.17a1 1 0 0 1-.71.29"})}),e("defs",{children:e("clipPath",{id:"a0a0cf84",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),jt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#c735ab99)",children:e("path",{fill:"#000",d:"m23.71 16.79-8.17-8.17a5 5 0 0 0-7.08 0L.29 16.79a1.004 1.004 0 1 0 1.42 1.42l8.17-8.17a3 3 0 0 1 4.24 0l8.17 8.17a1.002 1.002 0 0 0 1.64-.325 1 1 0 0 0-.22-1.095"})}),e("defs",{children:e("clipPath",{id:"c735ab99",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),At=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#bc5773b5)",children:[e("path",{d:"M11.033 5.145a.968.968 0 0 1 1.935 0v.944a6.5 6.5 0 0 1 3.618 1.827.968.968 0 0 1-1.37 1.369 4.55 4.55 0 0 0-3.215-1.332A4.534 4.534 0 0 0 7.452 12.5 4.534 4.534 0 0 0 12 17.05a4.55 4.55 0 0 0 3.209-1.339.967.967 0 0 1 1.372 1.367 6.5 6.5 0 0 1-3.612 1.833v.946a.967.967 0 1 1-1.935 0v-.944c-3.114-.47-5.516-3.17-5.516-6.41S7.92 6.56 11.033 6.09z"}),e("path",{fillRule:"evenodd",d:"M12 .5C5.384.5 0 5.884 0 12.5s5.384 12 12 12 12-5.384 12-12-5.384-12-12-12m0 1.936A10.05 10.05 0 0 1 22.064 12.5 10.05 10.05 0 0 1 12 22.564 10.05 10.05 0 0 1 1.936 12.5 10.05 10.05 0 0 1 12 2.436",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"bc5773b5",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Pt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#9c399fd1)",children:e("path",{fill:"#000",d:"M22.319 4.931 8.499 18.75a1 1 0 0 1-1.416 0L1.739 13.4a1 1 0 0 0-1.417 0 1 1 0 0 0 0 1.417l5.346 5.345a3.01 3.01 0 0 0 4.25 0L23.736 6.347a1 1 0 0 0-.709-1.71 1 1 0 0 0-.708.294"})}),e("defs",{children:e("clipPath",{id:"9c399fd1",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Mt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#0d4ad2be)",children:e("path",{fill:"#000",d:"M19 3.5h-6.528a1 1 0 0 1-.447-.1L8.869 1.816A3 3 0 0 0 7.528 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-10a5.006 5.006 0 0 0-5-5m-14 0h2.528c.155 0 .308.033.447.1l3.156 1.58c.416.208.875.318 1.341.32H19a3 3 0 0 1 2.779 1.882L2 7.494V6.5a3 3 0 0 1 3-3m14 18H5a3 3 0 0 1-3-3V9.494l20-.113v9.12a3 3 0 0 1-3 3"})}),e("defs",{children:e("clipPath",{id:"0d4ad2be",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),kt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:25,fill:"none",viewBox:"0 0 80 80","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#e82ea890)",children:[e("path",{fill:"#000",d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881m0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095"}),e("path",{fill:"url(#59bc3f76)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881Zm0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095Z"})]}),t("defs",{children:[t("linearGradient",{id:"59bc3f76",x1:.095,x2:79.905,y1:40.001,y2:40.001,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"e82ea890",children:e("path",{fill:"#fff",d:"M0 0h80v80H0z"})})]})]}))),Et=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#e1eeb89c)",children:e("path",{fill:"#000",d:"M23.707.793a1 1 0 0 0-1.414 0L12 11.086 1.707.793a1 1 0 0 0-1.414 0 1 1 0 0 0 0 1.414L10.586 12.5.293 22.793a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.914l10.293 10.293a1 1 0 0 0 1.414-1.414L13.414 12.5 23.707 2.207a1 1 0 0 0 0-1.414"})}),e("defs",{children:e("clipPath",{id:"e1eeb89c",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ct=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#78978fe1)",children:e("path",{fill:"#000",d:"M21.736 16.9A5.01 5.01 0 0 0 17 13.5h-4v-1.084a6 6 0 1 0-2 0V13.5H7a5.01 5.01 0 0 0-4.736 3.4 4 4 0 1 0 2.447-.334A3 3 0 0 1 7 15.5h4v1.127a4 4 0 1 0 2 0V15.5h4a3 3 0 0 1 2.289 1.063 4 4 0 1 0 2.447.334zM8 6.5a4 4 0 1 1 8 0 4 4 0 0 1-8 0m-2 14a2 2 0 1 1-4 0 2 2 0 0 1 4 0m8 0a2 2 0 1 1-4.001 0 2 2 0 0 1 4 0m6 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})}),e("defs",{children:e("clipPath",{id:"78978fe1",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),_t=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#3fccef48)",children:e("path",{fill:"#000",d:"M13 20.5a5.006 5.006 0 0 0 5-5V6.743a3.97 3.97 0 0 0-1.172-2.829l-2.242-2.242A3.97 3.97 0 0 0 11.757.5H7a5.006 5.006 0 0 0-5 5v10a5.006 5.006 0 0 0 5 5zm-9-5v-10a3 3 0 0 1 3-3s4.92.014 5 .024V4.5a2 2 0 0 0 2 2h1.976c.01.081.024 9 .024 9a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3m18-7v11a5.005 5.005 0 0 1-5 5H8a1 1 0 0 1 0-2h9a3 3 0 0 0 3-3v-11a1 1 0 0 1 2 0"})}),e("defs",{children:e("clipPath",{id:"3fccef48",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Tt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#7bd92f01)",children:e("path",{fill:"#000",d:"M13.932 4.5A3.07 3.07 0 0 1 17 7.568a1 1 0 0 0 2 0v-.123A5.073 5.073 0 0 0 13.932 2.5H13v-1a1 1 0 1 0-2 0v1h-.932a5.068 5.068 0 0 0-1.6 9.875L11 13.22v7.28h-.932A3.07 3.07 0 0 1 7 17.432a1 1 0 1 0-2 0v.123a5.073 5.073 0 0 0 5.068 4.945H11v1a1 1 0 0 0 2 0v-1h.932a5.068 5.068 0 0 0 1.6-9.875L13 11.78V4.5zm.97 10.021a3.068 3.068 0 0 1-.97 5.979H13v-6.613zM11 11.113l-1.9-.634a3.068 3.068 0 0 1 .968-5.979H11z"})}),e("defs",{children:e("clipPath",{id:"7bd92f01",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Dt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 80 60","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#8acc34e3)",children:[e("path",{fill:"#000",d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69m-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867m9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388M21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387"}),e("path",{fill:"url(#19added0)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69Zm-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262v8.948Zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867Zm9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388ZM21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387Z"})]}),t("defs",{children:[t("linearGradient",{id:"19added0",x1:.069,x2:79.931,y1:29.999,y2:29.999,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"8acc34e3",children:e("path",{fill:"#fff",d:"M0 .395h80v59.21H0z"})})]})]}))),Nt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#213e37ae)",children:[e("path",{d:"M10.852 19.273a3 3 0 0 1-.974-.651l-3.21-3.207A1 1 0 0 1 8.08 14l2.91 2.908.01-15.408a1 1 0 0 1 2 0l-.008 15.427L15.92 14a1 1 0 0 1 1.414 1.411l-3.21 3.211a3 3 0 0 1-3.271.65"}),e("path",{d:"M22.293 16.793A1 1 0 0 1 24 17.5v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 1 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-4a1 1 0 0 1 .293-.707"})]}),e("defs",{children:e("clipPath",{id:"213e37ae",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),It=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#2de5b65b)",children:[e("path",{fillRule:"evenodd",d:"M18.67 1.387 6.469 13.602a4.97 4.97 0 0 0-1.465 3.541v1.346a1 1 0 0 0 1 1.002H7.35a4.96 4.96 0 0 0 3.537-1.467l12.2-12.215a3.133 3.133 0 0 0 0-4.422 3.195 3.195 0 0 0-4.416 0m.18 5.83-9.379 9.39a3.02 3.02 0 0 1-2.122.88h-.344v-.344c.002-.796.318-1.56.879-2.125l9.378-9.39zm1.415-1.416 1.407-1.409a1.126 1.126 0 0 0 0-1.589 1.15 1.15 0 0 0-1.587 0l-1.407 1.409z",clipRule:"evenodd"}),e("path",{d:"M0 23.498c0-.553.373-1.002.834-1.002H19.18c.46 0 .834.449.834 1.002s-.373 1.002-.834 1.002H.834c-.46 0-.834-.449-.834-1.002"})]}),e("defs",{children:e("clipPath",{id:"2de5b65b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Lt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M20.914 17.62a5 5 0 0 0 1.621-1.084A4.97 4.97 0 0 0 24 12.996V2a1 1 0 0 0-2 0v10.997a3 3 0 0 1-3 2.999H2.788L7.1 11.688a1.001 1.001 0 1 0-1.418-1.414l-4.95 4.95a2.5 2.5 0 0 0 0 3.534l4.95 4.948A1 1 0 0 0 7.1 22.294l-4.3-4.299H19a5 5 0 0 0 1.914-.376"})}))),Bt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M3.086 17.62a5 5 0 0 1-1.621-1.084A4.97 4.97 0 0 1 0 12.996V2a1 1 0 0 1 2 0v10.997a3 3 0 0 0 3 2.999h16.212L16.9 11.688a1.003 1.003 0 0 1 .002-1.416 1 1 0 0 1 1.416.002l4.95 4.95a2.5 2.5 0 0 1 0 3.534l-4.95 4.948a1 1 0 0 1-1.418-1.412l4.3-4.299H5a5 5 0 0 1-1.914-.376"})}))),Rt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#1d876006)",children:e("path",{d:"M23.41 5.094c.373.372.585.875.59 1.401a2 2 0 0 1-.59 1.412l-4.29 4.303a1 1 0 1 1-1.41-1.421L21 7.496H11a1 1 0 0 1 0-2.001h10l-3.29-3.283A1.002 1.002 0 0 1 19.12.791zM3 17.504h10a1 1 0 0 1 .707 1.708 1 1 0 0 1-.707.294H3l3.29 3.282a1.002 1.002 0 0 1-1.41 1.421L.59 19.906A2 2 0 0 1 0 18.505c.002-.53.214-1.038.59-1.411l4.29-4.304a1 1 0 0 1 1.629 1.096 1 1 0 0 1-.219.325z"})}),e("defs",{children:e("clipPath",{id:"1d876006",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),zt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#06771c5d)",children:e("path",{fill:"#000",d:"M14 24.5a1 1 0 0 1-.6-.2l-4-3a1 1 0 0 1-.4-.8v-5.62L1.984 6.987A3.9 3.9 0 0 1 4.9.5h14.2a3.9 3.9 0 0 1 2.913 6.488L15 14.88v8.62a1 1 0 0 1-1 1M11 20l2 1.5v-7a1 1 0 0 1 .253-.664l7.268-8.177A1.9 1.9 0 0 0 19.1 2.5H4.9a1.9 1.9 0 0 0-1.421 3.158l7.269 8.178A1 1 0 0 1 11 14.5z"})}),e("defs",{children:e("clipPath",{id:"06771c5d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),$t=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#513f5486)",children:[e("path",{d:"M12.717 5.563A4 4 0 0 0 8 9.5a1 1 0 1 0 2 0 2.002 2.002 0 0 1 2.371-1.967 2.02 2.02 0 0 1 1.6 1.595 2 2 0 0 1-1 2.125 3.95 3.95 0 0 0-1.97 3.504v.743a1 1 0 0 0 2 0v-.743a1.98 1.98 0 0 1 .93-1.752 4 4 0 0 0-1.214-7.442M12 17.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2"}),e("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"513f5486",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ht=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#dbd56355)",children:e("path",{fill:"#000",fillRule:"evenodd",d:"M22.293 11.793A1 1 0 0 1 24 12.5a11.994 11.994 0 1 1-4-8.935V1.5a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3h-3a1 1 0 1 1 0-2h3a1 1 0 0 0 .1-.021A10.034 10.034 0 1 0 22 12.5a1 1 0 0 1 .293-.707m-11-5A1 1 0 0 1 13 7.5v4.586l2.707 2.707a1 1 0 0 1-1.414 1.414l-3-3A1 1 0 0 1 11 12.5v-5a1 1 0 0 1 .293-.707",clipRule:"evenodd"})}),e("defs",{children:e("clipPath",{id:"dbd56355",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Vt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#b05ae72a)",children:e("path",{fill:"#000",d:"m23.121 9.569-7.585-7.586a5.01 5.01 0 0 0-7.072 0L.88 9.569A2.98 2.98 0 0 0 0 11.689v9.818a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3V11.69a2.98 2.98 0 0 0-.879-2.121m-8.12 12.938H9v-3.934a3 3 0 0 1 6 0zm7-1a1 1 0 0 1-1 1h-4v-3.934a5 5 0 0 0-10 0v3.934H3a1 1 0 0 1-1-1V11.69c0-.265.105-.52.292-.707L9.878 3.4a3.01 3.01 0 0 1 4.244 0l7.585 7.586c.186.187.291.44.293.704z"})}),e("defs",{children:e("clipPath",{id:"b05ae72a",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ft=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M6.41 9.5h11.18a1 1 0 0 1 .7 1.71l-5.58 5.58a1 1 0 0 1-1.42 0l-5.58-5.58a1 1 0 0 1 .7-1.71"})}))),Ut=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M6.41 16.5h11.18a1 1 0 0 0 .7-1.71l-5.58-5.58a1 1 0 0 0-1.42 0l-5.58 5.58a1 1 0 0 0 .7 1.71"})}))),Wt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#dab7ab78)",children:[e("path",{d:"M12 10.5h-1a1 1 0 0 0 0 2h1v6a1 1 0 1 0 2 0v-6a2 2 0 0 0-2-2M13.5 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),e("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"dab7ab78",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),qt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 62 80","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#4e3573e8)",children:[e("path",{fill:"#000",d:"M12.25 79.917C5.541 79.917.082 74.46.082 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.639 8.558 20.112.083 30.528.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.557 12.15v25.734c0 6.708-5.459 12.167-12.167 12.167H12.25zm0-46.574c-4.782 0-8.673 3.891-8.673 8.673V67.75c0 4.78 3.891 8.672 8.673 8.672h36.558c4.782 0 8.673-3.891 8.673-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.675-3.494V18.972c0-8.49-6.907-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.528 63.463c-4.731 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.581-8.582s8.581 3.85 8.581 8.581c0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.087 5.088 5.094 5.094 0 0 0 5.087 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),e("path",{fill:"#CDCFD1",d:"M30.528.166c10.37 0 18.808 8.437 18.808 18.808v10.973c6.418.278 11.555 5.585 11.555 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.25c-6.663 0-12.084-5.42-12.084-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.722 8.603 20.16.166 30.528.166m-15.48 29.766h30.959v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.25c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.812 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.811-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.065 0 11.554 8.511 11.554 18.974v10.814a12.2 12.2 0 0 0-8.139 3.75A12.2 12.2 0 0 0 0 42.016V67.75C0 74.505 5.495 80 12.25 80h36.558c6.755 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.213-6.184-3.417-8.478a12.2 12.2 0 0 0-8.14-3.75V18.974C49.502 8.51 40.992 0 30.529 0M15.214 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.248 76.34c-4.737 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.853-8.59 8.59-8.59h36.559c4.736 0 8.589 3.853 8.589 8.59V67.75c0 4.736-3.853 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664 8.665-3.886 8.665-8.664-3.887-8.664-8.665-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"}),e("path",{fill:"url(#b40a6a1b)",d:"M12.21 79.917C5.502 79.917.044 74.458.044 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.598 8.558 20.073.083 30.489.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.556 12.15v25.734c0 6.708-5.458 12.167-12.166 12.167H12.21zm0-46.574c-4.781 0-8.672 3.891-8.672 8.673V67.75c0 4.78 3.891 8.672 8.672 8.672h36.56c4.78 0 8.672-3.891 8.672-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.676-3.494V18.972c0-8.49-6.908-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.489 63.463c-4.732 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.58-8.582 4.732 0 8.582 3.85 8.582 8.581 0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.088 5.088 5.094 5.094 0 0 0 5.088 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),e("path",{fill:"#CDCFD1",d:"M30.489.166c10.37 0 18.807 8.437 18.807 18.808v10.973c6.419.278 11.556 5.585 11.556 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.21c-6.663 0-12.083-5.42-12.083-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.683 8.604 20.119.166 30.49.166M15.01 29.932h30.958v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.21c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.811 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.812-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.025 0 11.513 8.511 11.513 18.974v10.814a12.2 12.2 0 0 0-8.138 3.75 12.18 12.18 0 0 0-3.417 8.478V67.75C-.042 74.505 5.453 80 12.207 80h36.559c6.754 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.214-6.184-3.418-8.478a12.2 12.2 0 0 0-8.139-3.75V18.974C49.46 8.51 40.95 0 30.486 0zM15.173 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.207 76.34c-4.736 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.854-8.59 8.59-8.59h36.559c4.736 0 8.59 3.853 8.59 8.59V67.75c0 4.736-3.854 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664c4.779 0 8.665-3.886 8.665-8.664s-3.886-8.664-8.664-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"})]}),t("defs",{children:[t("linearGradient",{id:"b40a6a1b",x1:2.67,x2:58.264,y1:75.561,y2:19.931,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"4e3573e8",children:e("path",{fill:"#fff",d:"M0 0h61.058v80H0z"})})]})]}))),Yt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#705555a7)",children:e("path",{fill:"#000",d:"M19 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-12a5.006 5.006 0 0 0-5-5m-14 2h14a3 3 0 0 1 2.78 1.887l-7.658 7.659a3.007 3.007 0 0 1-4.244 0L2.22 5.386A3 3 0 0 1 5 3.5m14 18H5a3 3 0 0 1-3-3V8l6.464 6.46a5.007 5.007 0 0 0 7.072 0L22 8v10.5a3 3 0 0 1-3 3"})}),e("defs",{children:e("clipPath",{id:"705555a7",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Xt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M23 4.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M23 11.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M1 18.5h22a1 1 0 1 1 0 2H1a1 1 0 1 1 0-2"})}))),Kt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#752c60ff)",children:e("path",{d:"M2 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M12 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M24 12.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})}),e("defs",{children:e("clipPath",{id:"752c60ff",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Gt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#251a2feb)",children:e("path",{fill:"#000",d:"m22.555 14.162-1.9-6.836A9.321 9.321 0 0 0 2.576 7.8l-1.471 6.615A5 5 0 0 0 5.986 20.5H7.1a5 5 0 0 0 9.8 0h.838a5 5 0 0 0 4.818-6.338zM12 22.5a3 3 0 0 1-2.816-2h5.632a3 3 0 0 1-2.816 2m8.126-5.185a2.98 2.98 0 0 1-2.389 1.185H5.986a3 3 0 0 1-2.928-3.651l1.47-6.616a7.321 7.321 0 0 1 14.2-.372l1.9 6.836a2.98 2.98 0 0 1-.502 2.618"})}),e("defs",{children:e("clipPath",{id:"251a2feb",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Zt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#66b9637d)",children:e("path",{fill:"#000",d:"M23.9 11.946a12 12 0 0 0-4.279-7.717 12.006 12.006 0 0 0-16.385 1.07A11.99 11.99 0 0 0 0 13.508a11.86 11.86 0 0 0 3.759 8.705A4.84 4.84 0 0 0 7.113 23.5h9.767a5 5 0 0 0 3.509-1.428 11.93 11.93 0 0 0 3.51-10.126m-4.91 8.693a3 3 0 0 1-2.11.862H7.113c-.73.015-1.44-.25-1.981-.74A9.9 9.9 0 0 1 2 13.508a10 10 0 0 1 3.338-7.451 9.89 9.89 0 0 1 6.648-2.541q.588 0 1.174.065a10 10 0 0 1 8.305 6.693 9.98 9.98 0 0 1-2.474 10.37zm-11.183-2.85a1 1 0 1 1-1.4 1.429 7.992 7.992 0 0 1 6.736-13.623 1 1 0 0 1 .72 1.502.99.99 0 0 1-1.006.477 6 6 0 0 0-6.228 3.28 5.99 5.99 0 0 0 1.178 6.935m12.112-5.424q.08.568.08 1.143a7.92 7.92 0 0 1-2.407 5.711 1.002 1.002 0 0 1-1.4-1.43 5.97 5.97 0 0 0 1.744-5.138 1 1 0 0 1 1.59-.944 1 1 0 0 1 .39.659zm-5.993.631a2.03 2.03 0 0 1-2.22 2.559 2.033 2.033 0 0 1-1.495-3.039 2.03 2.03 0 0 1 2.3-.933l3.782-3.778a1 1 0 1 1 1.414 1.413z"})}),e("defs",{children:e("clipPath",{id:"66b9637d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Jt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("path",{fill:"#000",d:"M22.707 1.793a1 1 0 0 1 0 1.414l-20 20a1 1 0 0 1-1.414-1.414l20-20a1 1 0 0 1 1.414 0"}),e("path",{fill:"#000",fillRule:"evenodd",d:"M6 10.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8m0-6a2 2 0 1 1 0 4 2 2 0 0 1 0-4M15.778 15.174a4 4 0 1 1 4.444 6.653 4 4 0 0 1-4.444-6.653m1.11 4.99a2 2 0 1 0 2.223-3.327 2 2 0 0 0-2.222 3.326",clipRule:"evenodd"})]}))),Qt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#e60de322)",clipRule:"evenodd",children:[e("path",{d:"M21.057 3.47a10.1 10.1 0 0 1 2.594 4.476 2.01 2.01 0 0 1-1.913 2.554H17.02a3 3 0 0 1-3-3V2.8a2 2 0 0 1 2.02-2 2 2 0 0 1 .543.072 10.1 10.1 0 0 1 4.475 2.598M17.015 8.5h4.72a8.07 8.07 0 0 0-5.677-5.702h-.026a.05.05 0 0 0-.025.01l.008 4.692a1 1 0 0 0 1 1"}),e("path",{d:"M14 12.5h4.713a3.06 3.06 0 0 1 2.394 1.172 2.88 2.88 0 0 1 .533 2.485A11 11 0 0 1 8.906 24.27a10.969 10.969 0 0 1-.553-21.414 2.87 2.87 0 0 1 2.48.534A3 3 0 0 1 12 5.774V10.5a2 2 0 0 0 2 2m3.425 7.26a8.97 8.97 0 0 0 2.276-4.092.88.88 0 0 0-.167-.768 1.04 1.04 0 0 0-.816-.4h-4.712a4 4 0 0 1-4-4V5.778a1.02 1.02 0 0 0-.4-.806.87.87 0 0 0-.764-.172 8.97 8.97 0 1 0 8.583 14.96"})]}),e("defs",{children:e("clipPath",{id:"e60de322",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),te=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#ce50361f)",children:e("path",{fill:"#000",d:"M23 11.5H13v-10a1 1 0 0 0-1-1 1 1 0 0 0-1 1v10H1a1 1 0 0 0-1 1 1 1 0 0 0 1 1h10v10a1 1 0 0 0 2 0v-10h10a1 1 0 0 0 0-2"})}),e("defs",{children:e("clipPath",{id:"ce50361f",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ee=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#7ecfa412)",children:e("path",{fill:"#000",d:"M19 3.522V1.5a1 1 0 0 0-2 0v1.1a5 5 0 0 0-1-.1h-1v-1a1 1 0 0 0-2 0v1h-2v-1a1 1 0 0 0-2 0v1H8a5 5 0 0 0-1 .1V1.5a1 1 0 0 0-2 0v2.022A4.98 4.98 0 0 0 3 7.5v12a5.006 5.006 0 0 0 5 5h8a5.006 5.006 0 0 0 5-5v-12a4.98 4.98 0 0 0-2-3.978M19 19.5a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3v-12a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3zm-2-11a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m0 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m-4 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h4a1 1 0 0 1 1 1"})}),e("defs",{children:e("clipPath",{id:"7ecfa412",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),re=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#ef775233)",children:e("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.265 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743m-1.863 7.577-4.272 4.272a1.87 1.87 0 0 1-1.335.553h-.033a1.87 1.87 0 0 1-1.345-.6l-2.306-2.4a1 1 0 1 1 1.441-1.382L11.112 13 15.3 8.8a1 1 0 0 1 1.414 1.414z"})}),e("defs",{children:e("clipPath",{id:"ef775233",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ne=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#57d1947f)",children:e("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.266 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743M12 19.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2m1-5a1 1 0 1 1-2 0v-8a1 1 0 0 1 2 0z"})}),e("defs",{children:e("clipPath",{id:"57d1947f",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ie=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#1259f37d)",children:e("path",{fill:"#000",d:"m23.707 22.794-5.97-5.97a10.016 10.016 0 1 0-1.413 1.415l5.969 5.969a1 1 0 0 0 1.414-1.414M10 18.5a8 8 0 1 1 8-8 8.01 8.01 0 0 1-8 8"})}),e("defs",{children:e("clipPath",{id:"1259f37d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),oe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#5df29195)",clipRule:"evenodd",children:[e("path",{d:"M9.778 9.175a4 4 0 1 1 4.444 6.652 4 4 0 0 1-4.444-6.652m1.11 4.989a2 2 0 1 0 2.223-3.325 2 2 0 0 0-2.222 3.325"}),e("path",{d:"m20.85 14.144.444.256.001-.001a3.002 3.002 0 1 1-3 5.2l-.447-.258A9 9 0 0 1 15 20.987v.513a3 3 0 1 1-6 0v-.513a9 9 0 0 1-2.85-1.642l-.445.257a3.002 3.002 0 0 1-3-5.2l.444-.256a9.1 9.1 0 0 1 0-3.29l-.444-.256a3.002 3.002 0 1 1 3-5.2l.447.259A9 9 0 0 1 9 4.013V3.5a3 3 0 1 1 6 0v.513a9 9 0 0 1 2.849 1.642l.445-.257a3.002 3.002 0 0 1 3 5.2l-.444.256a9.1 9.1 0 0 1 0 3.29m-2.104.23a7.05 7.05 0 0 0 0-3.75v.001a1 1 0 0 1 .463-1.129l1.084-.626a1 1 0 1 0-1-1.732l-1.084.627a1 1 0 0 1-1.215-.165 7 7 0 0 0-3.243-1.879A1 1 0 0 1 13 4.752V3.5a1 1 0 1 0-2 0v1.252a1 1 0 0 1-.751.973A7 7 0 0 0 7.006 7.6a1 1 0 0 1-1.214.161l-1.086-.628a1 1 0 1 0-1 1.733l1.084.626a1 1 0 0 1 .465 1.129 7.05 7.05 0 0 0 0 3.75 1 1 0 0 1-.464 1.133l-1.084.626a1 1 0 1 0 1 1.732l1.084-.627a1 1 0 0 1 1.215.165c.89.91 2.01 1.56 3.242 1.879a1 1 0 0 1 .751.969V21.5a1 1 0 0 0 2 0v-1.253a1 1 0 0 1 .751-.969 7 7 0 0 0 3.243-1.875 1 1 0 0 1 1.215-.165l1.086.628a1 1 0 0 0 1-1.733l-1.084-.626a1 1 0 0 1-.464-1.133"})]}),e("defs",{children:e("clipPath",{id:"5df29195",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ae=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#2b650bda)",children:e("path",{fill:"#000",d:"M4 7.483a2.98 2.98 0 0 1-2.121-.88L.335 5.228a1.002 1.002 0 0 1 1.332-1.496l1.585 1.416a1 1 0 0 0 1.456.04l3.604-3.435a1 1 0 0 1 1.378 1.45L6.1 6.62a2.96 2.96 0 0 1-2.1.863m20-2.002a1 1 0 0 0-1-1H13a1 1 0 0 0-.706 1.708 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1M6.1 14.63l3.59-3.418a1 1 0 1 0-1.378-1.45l-3.6 3.435a1.02 1.02 0 0 1-1.414 0l-1.59-1.586a1 1 0 0 0-1.695.711c-.002.263.099.515.28.704l1.586 1.587a3 3 0 0 0 4.226.017zm17.9-1.14a1 1 0 0 0-1-1H13a1 1 0 0 0-1 1 1 1 0 0 0 1 1.002h10a1 1 0 0 0 1-1.001M6.1 22.638l3.586-3.417a1.001 1.001 0 1 0-1.378-1.45l-3.6 3.435a1 1 0 0 1-1.456-.04l-1.585-1.416a1 1 0 0 0-1.665.805c.015.266.135.514.333.69l1.544 1.376a3 3 0 0 0 4.226.017zM24 21.498a1 1 0 0 0-1-1.001H13a1 1 0 0 0-.706 1.709 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1.001"})}),e("defs",{children:e("clipPath",{id:"2b650bda",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ce=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#91038c87)",children:[e("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),e("path",{d:"M7.223 11.532 23 11.5a1 1 0 0 1 0 2l-15.744.032q.123.209.29.382l3.88 3.88a1 1 0 1 1-1.414 1.413l-3.88-3.879a4 4 0 0 1 0-5.656l3.882-3.879a1 1 0 1 1 1.414 1.414l-3.88 3.88a2 2 0 0 0-.325.445"})]}),e("defs",{children:e("clipPath",{id:"91038c87",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),le=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#57cfec12)",children:[e("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),e("path",{d:"m18.95 5.792 3.879 3.88h-.004a4 4 0 0 1 0 5.655l-3.88 3.88a1 1 0 1 1-1.413-1.415l3.879-3.879q.2-.207.334-.462-.019.003-.036.008a.1.1 0 0 1-.042.008L5.989 13.5a1 1 0 0 1 0-2l15.684-.032q.01 0 .02.004l.022.004a2 2 0 0 0-.3-.39l-3.88-3.879a1 1 0 0 1 1.415-1.414"})]}),e("defs",{children:e("clipPath",{id:"57cfec12",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ue=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#8ca63799)",children:e("path",{d:"M6.365 6.416a.5.5 0 0 1-.278.084H4.294v12h1.793a.5.5 0 0 1 .353.854L4 21.794a1 1 0 0 1-1.414 0l-2.44-2.44A.5.5 0 0 1 .5 18.5h1.794v-12H.5a.5.5 0 0 1-.353-.854l2.439-2.439a1 1 0 0 1 1.414 0l2.44 2.44a.5.5 0 0 1-.075.769M23 6.5H10a1 1 0 0 1 0-2h13a1 1 0 1 1 0 2M10 11.5h13a1 1 0 0 1 0 2H10a1 1 0 0 1 0-2M23 18.5H10a1 1 0 0 0 0 2h13a1 1 0 1 0 0-2"})}),e("defs",{children:e("clipPath",{id:"8ca63799",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),se=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M13 1v2a1 1 0 0 1-2 0V1a1 1 0 0 1 2 0m-1 19a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0v-2a1 1 0 0 0-1-1m-8-8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h2a1 1 0 0 0 1-1m19-1h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2m-4.982-9.382a1 1 0 0 0-1.367.364l-1 1.731a1 1 0 0 0 1.731 1.001l1-1.731a1 1 0 0 0-.364-1.365M7.987 18.921a1 1 0 0 0-1.366.364l-1 1.731a1 1 0 1 0 1.731 1.001l1-1.731a1 1 0 0 0-.365-1.365m-3.272-12.3-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 0 0 1-1.731m17.3 10.03-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 1 0 1-1.731M7.349 1.982a1 1 0 0 0-1.731 1l1 1.731a1 1 0 1 0 1.731-1.001zm10.03 17.3a1 1 0 0 0-1.731 1l1 1.731a1 1 0 0 0 1.731-1zm2.408-10.8a1 1 0 0 0 .5-.134l1.731-1a1 1 0 0 0-1-1.731l-1.731 1a1 1 0 0 0 .5 1.865M3.713 15.648l-1.731 1a1 1 0 1 0 1 1.731l1.731-1a1 1 0 0 0-1-1.731"})}))),fe=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M21 12.924V11.5a9 9 0 0 0-18 0v1.424A5 5 0 0 0 5 22.5a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2v-1a7 7 0 0 1 14 0v1a2 2 0 0 0-2 2v6h-3a1 1 0 0 0 0 2h5a5 5 0 0 0 2-9.576M5 20.5a3 3 0 1 1 0-6zm14 0v-6a3 3 0 0 1 0 6"})}))),pe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#705b35d7)",children:[e("path",{d:"M10 18.5a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1M14.707 18.207A1 1 0 0 1 13 17.499v-6a1 1 0 1 1 2 0v6a1 1 0 0 1-.293.707"}),e("path",{fillRule:"evenodd",d:"M21 4.5h-3.1a5.01 5.01 0 0 0-4.9-4h-2a5.01 5.01 0 0 0-4.9 4H3a1 1 0 0 0 0 2h1v13a5.006 5.006 0 0 0 5 5h6a5.006 5.006 0 0 0 5-5v-13h1a1 1 0 1 0 0-2m-10-2h2a3.01 3.01 0 0 1 2.829 2H8.171A3.01 3.01 0 0 1 11 2.5m7 17a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3v-13h12z",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"705b35d7",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),he=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#c1bea85b)",children:[e("path",{d:"m11 18.516.007-15.438L8.08 6.005a1 1 0 0 1-1.414-1.414l3.21-3.212a3 3 0 0 1 4.245 0l3.21 3.215a1 1 0 0 1-1.413 1.414l-2.912-2.913L13 18.516a1 1 0 1 1-2 0"}),e("path",{d:"M22 21.5v-4a1 1 0 0 1 2 0v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 0 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1"})]}),e("defs",{children:e("clipPath",{id:"c1bea85b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),de=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#5ab9665d)",children:e("path",{d:"M12 13a6 6 0 1 0 0-12 6 6 0 0 0 0 12m0-10a4 4 0 1 1 0 8 4 4 0 0 1 0-8M12 15a9.01 9.01 0 0 0-9 9 1 1 0 0 0 2 0 7 7 0 1 1 14 0 1 1 0 0 0 2 0 9.01 9.01 0 0 0-9-9"})}),e("defs",{children:e("clipPath",{id:"5ab9665d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ye=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M7.986 1.833a6.71 6.71 0 0 1 4.758 2h-2.086a.67.67 0 0 0-.668.667.666.666 0 0 0 .668.667h2.768a1.24 1.24 0 0 0 1.24-1.238V1.167A.666.666 0 0 0 14 .5a.67.67 0 0 0-.668.667v1.385a8.01 8.01 0 0 0-8.278-1.5 8 8 0 0 0-3.48 2.641 8 8 0 0 0-1.57 4.074.67.67 0 0 0 .668.733.657.657 0 0 0 .66-.585 6.67 6.67 0 0 1 2.146-4.329 6.7 6.7 0 0 1 4.51-1.753M15.33 8.5a.657.657 0 0 0-.661.585 6.65 6.65 0 0 1-1.362 3.488 6.684 6.684 0 0 1-10.05.593h2.085a.67.67 0 0 0 .668-.666.666.666 0 0 0-.668-.667H2.574a1.24 1.24 0 0 0-1.146.764c-.063.15-.095.312-.095.474v2.762a.666.666 0 0 0 .668.667.67.67 0 0 0 .668-.667v-1.385a8.01 8.01 0 0 0 8.278 1.5 8 8 0 0 0 3.48-2.641 8 8 0 0 0 1.57-4.074.67.67 0 0 0-.668-.733"})}))),ve=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1503 1504","aria-hidden":"true",...r,children:[e("path",{fill:"#fff",d:"M287 258h928v844H287z"}),e("path",{fill:"#E84142",fillRule:"evenodd",d:"M1502.5 752c0 414.77-336.23 751-751 751-414.766 0-751-336.23-751-751C.5 337.234 336.734 1 751.5 1c414.77 0 751 336.234 751 751m-963.812 298.86H392.94c-30.626 0-45.754 0-54.978-5.9-9.963-6.46-16.051-17.16-16.789-28.97-.554-10.88 7.011-24.168 22.139-50.735l359.87-634.32c15.313-26.936 23.061-40.404 32.839-45.385 10.516-5.35 23.062-5.35 33.578 0 9.778 4.981 17.527 18.449 32.839 45.385l73.982 129.144.377.659c16.539 28.897 24.926 43.551 28.588 58.931a109.56 109.56 0 0 1 0 51.289c-3.69 15.497-11.992 30.257-28.781 59.591L687.573 964.702l-.489.856c-16.648 29.135-25.085 43.902-36.778 55.042-12.73 12.18-28.043 21.03-44.832 26.02-15.313 4.24-32.47 4.24-66.786 4.24m368.062 0h208.84c30.81 0 46.31 0 55.54-6.08 9.96-6.46 16.23-17.35 16.79-29.15.53-10.53-6.87-23.3-21.37-48.323-.5-.852-1-1.719-1.51-2.601L1060.43 785.75l-1.19-2.015c-14.7-24.858-22.12-37.411-31.65-42.263a36.73 36.73 0 0 0-33.391 0c-9.594 4.981-17.342 18.08-32.655 44.462L857.306 964.891l-.357.616c-15.259 26.34-22.885 39.503-22.335 50.303.738 11.81 6.826 22.69 16.788 29.15 9.041 5.9 24.538 5.9 55.348 5.9",clipRule:"evenodd"})]}))),ge=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 788 788","aria-hidden":"true",...r,children:[e("circle",{cx:394,cy:394,r:394,style:{fill:"#0ac18e"}}),e("path",{d:"M516.9 261.7c-19.8-44.9-65.3-54.5-121-45.2L378 147.1 335.8 158l17.6 69.2c-11.1 2.8-22.5 5.2-33.8 8.4L302 166.8l-42.2 10.9 17.9 69.4c-9.1 2.6-85.2 22.1-85.2 22.1l11.6 45.2s31-8.7 30.7-8c17.2-4.5 25.3 4.1 29.1 12.2l49.2 190.2c.6 5.5-.4 14.9-12.2 18.1.7.4-30.7 7.9-30.7 7.9l4.6 52.7s75.4-19.3 85.3-21.8l18.1 70.2 42.2-10.9-18.1-70.7q17.4-4.05 33.9-8.4l18 70.3 42.2-10.9-18.1-70.1c65-15.8 110.9-56.8 101.5-119.5-6-37.8-47.3-68.8-81.6-72.3 21.1-18.7 31.8-46 18.7-81.7m-20.3 165.5c8.4 62.1-77.9 69.7-106.4 77.2l-24.8-92.9c28.6-7.5 117-39 131.2 15.7m-52-126.5c8.9 55.2-64.9 61.6-88.7 67.7l-22.6-84.3c23.9-5.9 93.2-34.5 111.3 16.6",style:{fill:"#fff"}})]}))),me=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 4091.27 4091.73","aria-hidden":"true",...r,children:t("g",{fillRule:"nonzero",children:[e("path",{fill:"#F7931A",d:"M4030.06 2540.77C3756.82 3636.78 2646.74 4303.79 1550.6 4030.48 454.92 3757.24-212.09 2647.09 61.27 1551.17c273.12-1096.13 1383.2-1763.19 2479-1489.95C3636.33 334.46 4303.3 1444.73 4030.03 2540.79l.02-.02z"}),e("path",{fill:"#fff",d:"M2947.77 1754.38c40.72-272.26-166.56-418.61-450-516.24l91.95-368.8-224.5-55.94-89.51 359.09c-59.02-14.72-119.63-28.59-179.87-42.34L2186 768.69l-224.36-55.94-92 368.68c-48.84-11.12-96.81-22.11-143.35-33.69l.26-1.16-309.59-77.31-59.72 239.78s166.56 38.18 163.05 40.53c90.91 22.69 107.35 82.87 104.62 130.57l-104.74 420.15c6.26 1.59 14.38 3.89 23.34 7.49-7.49-1.86-15.46-3.89-23.73-5.87l-146.81 588.57c-11.11 27.62-39.31 69.07-102.87 53.33 2.25 3.26-163.17-40.72-163.17-40.72l-111.46 256.98 292.15 72.83c54.35 13.63 107.61 27.89 160.06 41.3l-92.9 373.03 224.24 55.94 92-369.07c61.26 16.63 120.71 31.97 178.91 46.43l-91.69 367.33 224.51 55.94 92.89-372.33c382.82 72.45 670.67 43.24 791.83-303.02 97.63-278.78-4.86-439.58-206.26-544.44 146.69-33.83 257.18-130.31 286.64-329.61l-.07-.05zm-512.93 719.26c-69.38 278.78-538.76 128.08-690.94 90.29l123.28-494.2c152.17 37.99 640.17 113.17 567.67 403.91zm69.43-723.3c-63.29 253.58-453.96 124.75-580.69 93.16l111.77-448.21c126.73 31.59 534.85 90.55 468.94 355.05z"})]})}))),be=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 784.37 1277.39","aria-hidden":"true",...r,children:t("g",{fillRule:"nonzero",children:[e("path",{fill:"#343434",d:"m392.07 0-8.57 29.11v844.63l8.57 8.55 392.06-231.75z"}),e("path",{fill:"#8C8C8C",d:"M392.07 0 0 650.54l392.07 231.75V472.33z"}),e("path",{fill:"#3C3C3B",d:"m392.07 956.52-4.83 5.89v300.87l4.83 14.1 392.3-552.49z"}),e("path",{fill:"#8C8C8C",d:"M392.07 1277.38V956.52L0 724.89z"}),e("path",{fill:"#141414",d:"m392.07 882.29 392.06-231.75-392.06-178.21z"}),e("path",{fill:"#393939",d:"m0 650.54 392.07 231.75V472.33z"})]})}))),we=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37.8 43.6","aria-hidden":"true",...t,children:e("g",{"data-name":"Layer 2",children:e("path",{d:"m18.9 0-4 2.3L4 8.6l-4 2.3v21.8L4 35l11 6.3 4 2.3 4-2.3L33.8 35l4-2.3V10.9l-4-2.3-10.9-6.3ZM8 28.1V15.5l10.9-6.3 10.9 6.3v12.6l-10.9 6.3Z","data-name":"Layer 1",style:{fill:"#2a5ada"}})})}))),xe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 82.6 82.6","aria-hidden":"true",...r,children:[e("circle",{cx:41.3,cy:41.3,r:36.83,style:{fill:"#fff"}}),e("path",{d:"M41.3 0a41.3 41.3 0 1 0 41.3 41.3A41.18 41.18 0 0 0 41.54 0Zm.7 42.7-4.3 14.5h23a1.16 1.16 0 0 1 1.2 1.12v.38l-2 6.9a1.49 1.49 0 0 1-1.5 1.1H23.2l5.9-20.1-6.6 2L24 44l6.6-2 8.3-28.2a1.51 1.51 0 0 1 1.5-1.1h8.9a1.16 1.16 0 0 1 1.2 1.12v.38l-7 23.8 6.6-2-1.4 4.8Z",style:{fill:"#345d9d"}})]}))),Oe=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 236.36 200","aria-hidden":"true",...t,children:e("g",{"data-name":"Layer 2",children:e("g",{"data-name":"Layer 1",children:e("path",{d:"m203 26.16-28.46 14.5-137.43 70a82.5 82.5 0 0 1-.7-10.69A81.87 81.87 0 0 1 158.2 28.6l16.29-8.3 2.43-1.24A100 100 0 0 0 18.18 100q0 3.82.29 7.61a18.19 18.19 0 0 1-9.88 17.58L0 129.57V150l25.29-12.89 8.19-4.18 8.07-4.11L186.43 55l16.28-8.29 33.65-17.15V9.14ZM236.36 50 49.78 145l-16.28 8.31L0 170.38v20.41l33.27-16.95 28.46-14.5 137.57-70.1A83.5 83.5 0 0 1 200 100a81.87 81.87 0 0 1-121.91 71.36l-1 .53-17.66 9A100 100 0 0 0 218.18 100c0-2.57-.1-5.14-.29-7.68a18.2 18.2 0 0 1 9.87-17.58l8.6-4.38Z"})})})})));function Se(t,e={}){let r=!1;function n(e){const r=`chakra-${(["container","root"].includes(null!=e?e:"")?[t]:[t,e]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>e}}return{parts:function(...i){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const t of i)e[t]=n(t);return Se(t,e)},toPart:n,extend:function(...r){for(const t of r)t in e||(e[t]=n(t));return Se(t,e)},selectors:function(){return Object.fromEntries(Object.entries(e).map((([t,e])=>[t,e.selector])))},classnames:function(){return Object.fromEntries(Object.entries(e).map((([t,e])=>[t,e.className])))},get keys(){return Object.keys(e)},__type:{}}}var je=Se("accordion").parts("root","container","button","panel").extend("icon"),Ae=Se("alert").parts("title","description","container").extend("icon","spinner");Se("avatar").parts("label","badge","container").extend("excessLabel","group"),Se("breadcrumb").parts("link","item","container").extend("separator"),Se("button").parts();var Pe=Se("checkbox").parts("control","icon","container").extend("label");Se("progress").parts("track","filledTrack").extend("label"),Se("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Se("editable").parts("preview","input","textarea"),Se("form").parts("container","requiredIndicator","helperText"),Se("formError").parts("text","icon");var Me=Se("input").parts("addon","field","element","group");Se("list").parts("container","item","icon"),Se("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Se("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Se("numberinput").parts("root","field","stepperGroup","stepper"),Se("pininput").parts("field"),Se("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Se("progress").parts("label","filledTrack","track"),Se("radio").parts("container","control","label");var ke=Se("select").parts("field","icon");Se("slider").parts("container","track","thumb","filledTrack","mark"),Se("stat").parts("container","label","helpText","number","icon"),Se("switch").parts("container","track","thumb","label"),Se("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Se("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");var Ee=Se("tag").parts("container","label","closeButton");Se("card").parts("container","header","body","footer"),Se("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Ce=1e6,_e=1e6,Te="[big.js] ",De=Te+"Invalid ",Ne=De+"decimal places",Ie=De+"rounding mode",Le=Te+"Division by zero",Be={},Re=void 0,ze=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function $e(t,e,r,n){var i=t.c;if(r===Re&&(r=t.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error(Ie);if(e<1)n=3===r&&(n||!!i[0])||0===e&&(1===r&&i[0]>=5||2===r&&(i[0]>5||5===i[0]&&(n||i[1]!==Re))),i.length=1,n?(t.e=t.e-e+1,i[0]=1):i[0]=t.e=0;else if(e<i.length){if(n=1===r&&i[e]>=5||2===r&&(i[e]>5||5===i[e]&&(n||i[e+1]!==Re||1&i[e-1]))||3===r&&(n||!!i[0]),i.length=e,n)for(;++i[--e]>9;)if(i[e]=0,0===e){++t.e,i.unshift(1);break}for(e=i.length;!i[--e];)i.pop()}return t}function He(t,e,r){var n=t.e,i=t.c.join(""),o=i.length;if(e)i=i.charAt(0)+(o>1?"."+i.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)i="0"+i;i="0."+i}else if(n>0)if(++n>o)for(n-=o;n--;)i+="0";else n<o&&(i=i.slice(0,n)+"."+i.slice(n));else o>1&&(i=i.charAt(0)+"."+i.slice(1));return t.s<0&&r?"-"+i:i}Be.abs=function(){var t=new this.constructor(this);return t.s=1,t},Be.cmp=function(t){var e,r=this,n=r.c,i=(t=new r.constructor(t)).c,o=r.s,a=t.s,c=r.e,l=t.e;if(!n[0]||!i[0])return n[0]?o:i[0]?-a:0;if(o!=a)return o;if(e=o<0,c!=l)return c>l^e?1:-1;for(a=(c=n.length)<(l=i.length)?c:l,o=-1;++o<a;)if(n[o]!=i[o])return n[o]>i[o]^e?1:-1;return c==l?0:c>l^e?1:-1},Be.div=function(t){var e=this,r=e.constructor,n=e.c,i=(t=new r(t)).c,o=e.s==t.s?1:-1,a=r.DP;if(a!==~~a||a<0||a>Ce)throw Error(Ne);if(!i[0])throw Error(Le);if(!n[0])return t.s=o,t.c=[t.e=0],t;var c,l,u,s,f,p=i.slice(),h=c=i.length,d=n.length,y=n.slice(0,c),v=y.length,g=t,m=g.c=[],b=0,w=a+(g.e=e.e-t.e)+1;for(g.s=o,o=w<0?0:w,p.unshift(0);v++<c;)y.push(0);do{for(u=0;u<10;u++){if(c!=(v=y.length))s=c>v?1:-1;else for(f=-1,s=0;++f<c;)if(i[f]!=y[f]){s=i[f]>y[f]?1:-1;break}if(!(s<0))break;for(l=v==c?i:p;v;){if(y[--v]<l[v]){for(f=v;f&&!y[--f];)y[f]=9;--y[f],y[v]+=10}y[v]-=l[v]}for(;!y[0];)y.shift()}m[b++]=s?u:++u,y[0]&&s?y[v]=n[h]||0:y=[n[h]]}while((h++<d||y[0]!==Re)&&o--);return m[0]||1==b||(m.shift(),g.e--,w--),b>w&&$e(g,w,r.RM,y[0]!==Re),g},Be.eq=function(t){return 0===this.cmp(t)},Be.gt=function(t){return this.cmp(t)>0},Be.gte=function(t){return this.cmp(t)>-1},Be.lt=function(t){return this.cmp(t)<0},Be.lte=function(t){return this.cmp(t)<1},Be.minus=Be.sub=function(t){var e,r,n,i,o=this,a=o.constructor,c=o.s,l=(t=new a(t)).s;if(c!=l)return t.s=-l,o.plus(t);var u=o.c.slice(),s=o.e,f=t.c,p=t.e;if(!u[0]||!f[0])return f[0]?t.s=-l:u[0]?t=new a(o):t.s=1,t;if(c=s-p){for((i=c<0)?(c=-c,n=u):(p=s,n=f),n.reverse(),l=c;l--;)n.push(0);n.reverse()}else for(r=((i=u.length<f.length)?u:f).length,c=l=0;l<r;l++)if(u[l]!=f[l]){i=u[l]<f[l];break}if(i&&(n=u,u=f,f=n,t.s=-t.s),(l=(r=f.length)-(e=u.length))>0)for(;l--;)u[e++]=0;for(l=e;r>c;){if(u[--r]<f[r]){for(e=r;e&&!u[--e];)u[e]=9;--u[e],u[r]+=10}u[r]-=f[r]}for(;0===u[--l];)u.pop();for(;0===u[0];)u.shift(),--p;return u[0]||(t.s=1,u=[p=0]),t.c=u,t.e=p,t},Be.mod=function(t){var e,r=this,n=r.constructor,i=r.s,o=(t=new n(t)).s;if(!t.c[0])throw Error(Le);return r.s=t.s=1,e=1==t.cmp(r),r.s=i,t.s=o,e?new n(r):(i=n.DP,o=n.RM,n.DP=n.RM=0,r=r.div(t),n.DP=i,n.RM=o,this.minus(r.times(t)))},Be.neg=function(){var t=new this.constructor(this);return t.s=-t.s,t},Be.plus=Be.add=function(t){var e,r,n,i=this,o=i.constructor;if(t=new o(t),i.s!=t.s)return t.s=-t.s,i.minus(t);var a=i.e,c=i.c,l=t.e,u=t.c;if(!c[0]||!u[0])return u[0]||(c[0]?t=new o(i):t.s=i.s),t;if(c=c.slice(),e=a-l){for(e>0?(l=a,n=u):(e=-e,n=c),n.reverse();e--;)n.push(0);n.reverse()}for(c.length-u.length<0&&(n=u,u=c,c=n),e=u.length,r=0;e;c[e]%=10)r=(c[--e]=c[e]+u[e]+r)/10|0;for(r&&(c.unshift(r),++l),e=c.length;0===c[--e];)c.pop();return t.c=c,t.e=l,t},Be.pow=function(t){var e=this,r=new e.constructor("1"),n=r,i=t<0;if(t!==~~t||t<-1e6||t>_e)throw Error(De+"exponent");for(i&&(t=-t);1&t&&(n=n.times(e)),t>>=1;)e=e.times(e);return i?r.div(n):n},Be.prec=function(t,e){if(t!==~~t||t<1||t>Ce)throw Error(De+"precision");return $e(new this.constructor(this),t,e)},Be.round=function(t,e){if(t===Re)t=0;else if(t!==~~t||t<-Ce||t>Ce)throw Error(Ne);return $e(new this.constructor(this),t+this.e+1,e)},Be.sqrt=function(){var t,e,r,n=this,i=n.constructor,o=n.s,a=n.e,c=new i("0.5");if(!n.c[0])return new i(n);if(o<0)throw Error(Te+"No square root");0===(o=Math.sqrt(n+""))||o===1/0?((e=n.c.join("")).length+a&1||(e+="0"),a=((a+1)/2|0)-(a<0||1&a),t=new i(((o=Math.sqrt(e))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+a)):t=new i(o+""),a=t.e+(i.DP+=4);do{r=t,t=c.times(r.plus(n.div(r)))}while(r.c.slice(0,a).join("")!==t.c.slice(0,a).join(""));return $e(t,(i.DP-=4)+t.e+1,i.RM)},Be.times=Be.mul=function(t){var e,r=this,n=r.constructor,i=r.c,o=(t=new n(t)).c,a=i.length,c=o.length,l=r.e,u=t.e;if(t.s=r.s==t.s?1:-1,!i[0]||!o[0])return t.c=[t.e=0],t;for(t.e=l+u,a<c&&(e=i,i=o,o=e,u=a,a=c,c=u),e=new Array(u=a+c);u--;)e[u]=0;for(l=c;l--;){for(c=0,u=a+l;u>l;)c=e[u]+o[l]*i[u-l-1]+c,e[u--]=c%10,c=c/10|0;e[u]=c}for(c?++t.e:e.shift(),l=e.length;!e[--l];)e.pop();return t.c=e,t},Be.toExponential=function(t,e){var r=this,n=r.c[0];if(t!==Re){if(t!==~~t||t<0||t>Ce)throw Error(Ne);for(r=$e(new r.constructor(r),++t,e);r.c.length<t;)r.c.push(0)}return He(r,!0,!!n)},Be.toFixed=function(t,e){var r=this,n=r.c[0];if(t!==Re){if(t!==~~t||t<0||t>Ce)throw Error(Ne);for(t=t+(r=$e(new r.constructor(r),t+r.e+1,e)).e+1;r.c.length<t;)r.c.push(0)}return He(r,!1,!!n)},Be[Symbol.for("nodejs.util.inspect.custom")]=Be.toJSON=Be.toString=function(){var t=this,e=t.constructor;return He(t,t.e<=e.NE||t.e>=e.PE,!!t.c[0])},Be.toNumber=function(){var t=Number(He(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error(Te+"Imprecise conversion");return t},Be.toPrecision=function(t,e){var r=this,n=r.constructor,i=r.c[0];if(t!==Re){if(t!==~~t||t<1||t>Ce)throw Error(De+"precision");for(r=$e(new n(r),t,e);r.c.length<t;)r.c.push(0)}return He(r,t<=r.e||r.e<=n.NE||r.e>=n.PE,!!i)},Be.valueOf=function(){var t=this,e=t.constructor;if(!0===e.strict)throw Error(Te+"valueOf disallowed");return He(t,t.e<=e.NE||t.e>=e.PE,!0)};var Ve=function t(){function e(r){var n=this;if(!(n instanceof e))return r===Re?t():new e(r);if(r instanceof e)n.s=r.s,n.e=r.e,n.c=r.c.slice();else{if("string"!=typeof r){if(!0===e.strict&&"bigint"!=typeof r)throw TypeError(De+"value");r=0===r&&1/r<0?"-0":String(r)}!function(t,e){var r,n,i;if(!ze.test(e))throw Error(De+"number");t.s="-"==e.charAt(0)?(e=e.slice(1),-1):1,(r=e.indexOf("."))>-1&&(e=e.replace(".",""));(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length);for(i=e.length,n=0;n<i&&"0"==e.charAt(n);)++n;if(n==i)t.c=[t.e=0];else{for(;i>0&&"0"==e.charAt(--i););for(t.e=r-n-1,t.c=[],r=0;n<=i;)t.c[r++]=+e.charAt(n++)}}(n,r)}n.constructor=e}return e.prototype=Be,e.DP=20,e.RM=1,e.NE=-7,e.PE=21,e.strict=false,e.roundDown=0,e.roundHalfUp=1,e.roundHalfEven=2,e.roundUp=3,e}();const Fe=t=>{if(t.some((t=>!Number.isFinite(t))))throw new Error(`One or more of the provided amounts is not a finite number. (amounts: ${t}, method: aggregateAmounts)`);return t.reduce(((t,e)=>t.plus(e)),new Ve(0)).toNumber()};var Ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function We(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var qe={exports:{}};qe.exports=function(){var t=1e3,e=6e4,r=36e5,n="millisecond",i="second",o="minute",a="hour",c="day",l="week",u="month",s="quarter",f="year",p="date",h="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},g=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},m={s:g,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.clone().add(n,u),o=r-i<0,a=e.clone().add(n+(o?-1:1),u);return+(-(n+(r-i)/(o?i-a:a-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:f,w:l,d:c,D:p,h:a,m:o,s:i,ms:n,Q:s}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",w={};w[b]=v;var x="$isDayjsObject",O=function(t){return t instanceof P||!(!t||!t[x])},S=function t(e,r,n){var i;if(!e)return b;if("string"==typeof e){var o=e.toLowerCase();w[o]&&(i=o),r&&(w[o]=r,i=o);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var c=e.name;w[c]=e,i=c}return!n&&i&&(b=i),i||!n&&b},j=function(t,e){if(O(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new P(r)},A=m;A.l=S,A.i=O,A.w=function(t,e){return j(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var P=function(){function v(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[x]=!0}var g=v.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(A.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(d);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return A},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(t,e){var r=j(t);return this.startOf(e)<=r&&r<=this.endOf(e)},g.isAfter=function(t,e){return j(t)<this.startOf(e)},g.isBefore=function(t,e){return this.endOf(e)<j(t)},g.$g=function(t,e,r){return A.u(t)?this[e]:this.set(r,t)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(t,e){var r=this,n=!!A.u(e)||e,s=A.p(t),h=function(t,e){var i=A.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?i:i.endOf(c)},d=function(t,e){return A.w(r.toDate()[t].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},y=this.$W,v=this.$M,g=this.$D,m="set"+(this.$u?"UTC":"");switch(s){case f:return n?h(1,0):h(31,11);case u:return n?h(1,v):h(0,v+1);case l:var b=this.$locale().weekStart||0,w=(y<b?y+7:y)-b;return h(n?g-w:g+(6-w),v);case c:case p:return d(m+"Hours",0);case a:return d(m+"Minutes",1);case o:return d(m+"Seconds",2);case i:return d(m+"Milliseconds",3);default:return this.clone()}},g.endOf=function(t){return this.startOf(t,!1)},g.$set=function(t,e){var r,l=A.p(t),s="set"+(this.$u?"UTC":""),h=(r={},r[c]=s+"Date",r[p]=s+"Date",r[u]=s+"Month",r[f]=s+"FullYear",r[a]=s+"Hours",r[o]=s+"Minutes",r[i]=s+"Seconds",r[n]=s+"Milliseconds",r)[l],d=l===c?this.$D+(e-this.$W):e;if(l===u||l===f){var y=this.clone().set(p,1);y.$d[h](d),y.init(),this.$d=y.set(p,Math.min(this.$D,y.daysInMonth())).$d}else h&&this.$d[h](d);return this.init(),this},g.set=function(t,e){return this.clone().$set(t,e)},g.get=function(t){return this[A.p(t)]()},g.add=function(n,s){var p,h=this;n=Number(n);var d=A.p(s),y=function(t){var e=j(h);return A.w(e.date(e.date()+Math.round(t*n)),h)};if(d===u)return this.set(u,this.$M+n);if(d===f)return this.set(f,this.$y+n);if(d===c)return y(1);if(d===l)return y(7);var v=(p={},p[o]=e,p[a]=r,p[i]=t,p)[d]||1,g=this.$d.getTime()+n*v;return A.w(g,this)},g.subtract=function(t,e){return this.add(-1*t,e)},g.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),o=this.$H,a=this.$m,c=this.$M,l=r.weekdays,u=r.months,s=r.meridiem,f=function(t,r,i,o){return t&&(t[r]||t(e,n))||i[r].slice(0,o)},p=function(t){return A.s(o%12||12,t,"0")},d=s||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(y,(function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return A.s(e.$y,4,"0");case"M":return c+1;case"MM":return A.s(c+1,2,"0");case"MMM":return f(r.monthsShort,c,u,3);case"MMMM":return f(u,c);case"D":return e.$D;case"DD":return A.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(r.weekdaysMin,e.$W,l,2);case"ddd":return f(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(o);case"HH":return A.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return d(o,a,!0);case"A":return d(o,a,!1);case"m":return String(a);case"mm":return A.s(a,2,"0");case"s":return String(e.$s);case"ss":return A.s(e.$s,2,"0");case"SSS":return A.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,p,h){var d,y=this,v=A.p(p),g=j(n),m=(g.utcOffset()-this.utcOffset())*e,b=this-g,w=function(){return A.m(y,g)};switch(v){case f:d=w()/12;break;case u:d=w();break;case s:d=w()/3;break;case l:d=(b-m)/6048e5;break;case c:d=(b-m)/864e5;break;case a:d=b/r;break;case o:d=b/e;break;case i:d=b/t;break;default:d=b}return h?d:A.a(d)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return w[this.$L]},g.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=S(t,e,!0);return n&&(r.$L=n),r},g.clone=function(){return A.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),M=P.prototype;return j.prototype=M,[["$ms",n],["$s",i],["$m",o],["$H",a],["$W",c],["$M",u],["$y",f],["$D",p]].forEach((function(t){M[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),j.extend=function(t,e){return t.$i||(t(e,P,j),t.$i=!0),j},j.locale=S,j.isDayjs=O,j.unix=function(t){return j(1e3*t)},j.en=w[b],j.Ls=w,j.p={},j}();var Ye,Xe,Ke,Ge=We(qe.exports),Ze={exports:{}};Ze.exports=(Ye="minute",Xe=/[+-]\d\d(?::?\d\d)?/g,Ke=/([+-]|\d\d)/g,function(t,e,r){var n=e.prototype;r.utc=function(t){return new e({date:t,utc:!0,args:arguments})},n.utc=function(t){var e=r(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),Ye):e},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var i=n.parse;n.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),i.call(this,t)};var o=n.init;n.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else o.call(this)};var a=n.utcOffset;n.utcOffset=function(t,e){var r=this.$utils().u;if(r(t))return this.$u?0:r(this.$offset)?a.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var e=t.match(Xe);if(!e)return null;var r=(""+e[0]).match(Ke)||["-",0,0],n=r[0],i=60*+r[1]+ +r[2];return 0===i?0:"+"===n?i:-i}(t),null===t))return this;var n=Math.abs(t)<=16?60*t:t,i=this;if(e)return i.$offset=n,i.$u=0===t,i;if(0!==t){var o=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(n+o,Ye)).$offset=n,i.$x.$localOffset=o}else i=this.utc();return i};var c=n.format;n.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,e)},n.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var l=n.toDate;n.toDate=function(t){return"s"===t&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var u=n.diff;n.diff=function(t,e,n){if(t&&this.$u===t.$u)return u.call(this,t,e,n);var i=this.local(),o=r(t).local();return u.call(i,o,e,n)}});var Je=We(Ze.exports);Ge.extend(Je);const Qe=({timeString:t,toEndDate:e})=>""===t?"":e?Ge(`${t}T23:59:59`).utc().unix().toString():Ge(t).utc().unix().toString(),tr=({number:t,signDisplay:e="exceptZero",isDecimal:r=!0})=>{const n=Number(t);if(!Number.isFinite(n))return console.log(`Number is not a finite number. (number: ${n}, method: formatPercentage)`),t;return new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:2,signDisplay:e}).format(r?n:Ve(n).div(100).toNumber())};
1
+ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{chakra as n,createMultiStyleConfigHelpers as i,defineStyle as o,defineStyleConfig as a,extendTheme as c,withDefaultColorScheme as l,useBreakpoint as u,Portal as s,Text as f,ButtonGroup as p,Button as h,Card as d,Flex as y,IconButton as v,FormControl as g,FormLabel as m,Checkbox as b,FormErrorMessage as w,forwardRef as x,InputGroup as O,InputLeftAddon as S,InputLeftElement as j,Input as A,InputRightElement as P,InputRightAddon as M,FormHelperText as k,Box as E,Tooltip as C,Modal as _,ModalOverlay as T,ModalContent as D,ModalHeader as N,ModalCloseButton as I,ModalBody as L,ModalFooter as B,Link as R,Select as z,keyframes as $,Tag as H,TagLeftIcon as V,TagLabel as F,TagRightIcon as U,TagCloseButton as W,Alert as q,AlertIcon as Y,AlertTitle as X,AlertDescription as K,CloseButton as G,Spinner as Z}from"@chakra-ui/react";import J from"crypto";import Q,{isValidElement as ee,Children as te,PureComponent as re,forwardRef as ne,useRef as ie,useImperativeHandle as oe,useState as ae,useCallback as ce,useEffect as le,useMemo as ue,cloneElement as se,createElement as fe,useContext as pe,createContext as he,Component as de}from"react";const ye=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#3c397803)",children:[t("path",{d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10"}),t("path",{d:"M12 5.5a1 1 0 0 0-1 1v8a1 1 0 1 0 2 0v-8a1 1 0 0 0-1-1M13 18.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0"})]}),t("defs",{children:t("clipPath",{id:"3c397803",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ve=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#c9a7d4d8)",children:t("path",{fill:"#000",d:"m14.563 9.22-.915.947-3.02-3.125a2.54 2.54 0 0 0-1.785-.74c-.666 0-1.305.265-1.786.74l-.146.15a.85.85 0 0 1-.596.248.85.85 0 0 1-.595-.248L1.448 2.766A.84.84 0 0 0 .849 2.5a.82.82 0 0 0-.602.255A.87.87 0 0 0 0 3.38.9.9 0 0 0 .257 4l4.271 4.42c.482.476 1.121.741 1.787.741S7.62 8.895 8.1 8.42l.145-.151a.85.85 0 0 1 .596-.247c.222 0 .435.088.595.247l3.02 3.13-.914.947a.9.9 0 0 0-.183.95c.064.159.172.295.31.39a.82.82 0 0 0 .468.147h2.599c.335 0 .656-.137.893-.383a1.33 1.33 0 0 0 .37-.924V9.831a.9.9 0 0 0-.144-.482.85.85 0 0 0-.379-.319.82.82 0 0 0-.915.19"})}),t("defs",{children:t("clipPath",{id:"c9a7d4d8",children:t("path",{fill:"#fff",d:"M0 .5h16v16H0z"})})})]}))),ge=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#6f1ccf07)",children:t("path",{fill:"#000",d:"M14.738 2H12.14a.82.82 0 0 0-.467.147.87.87 0 0 0-.31.39.9.9 0 0 0 .182.949l.914.945-3.018 3.121a.85.85 0 0 1-.595.247.85.85 0 0 1-.595-.247l-.144-.149a2.54 2.54 0 0 0-1.785-.74c-.665 0-1.304.265-1.785.74l-4.292 4.44a.9.9 0 0 0-.246.618c0 .232.09.454.248.617a.83.83 0 0 0 .598.255.83.83 0 0 0 .596-.256l4.292-4.44a.85.85 0 0 1 .595-.247c.222 0 .435.088.596.247l.143.149a2.54 2.54 0 0 0 1.785.74 2.54 2.54 0 0 0 1.785-.74l3.018-3.122.913.945a.815.815 0 0 0 .913.182.85.85 0 0 0 .376-.319.9.9 0 0 0 .142-.48V3.306a1.33 1.33 0 0 0-.37-.924A1.24 1.24 0 0 0 14.738 2"})}),t("defs",{children:t("clipPath",{id:"6f1ccf07",children:t("path",{d:"M0 0h16v16H0z"})})})]}))),me=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#9491b547)",children:t("path",{fill:"#000",d:"M24 23.5a1 1 0 0 1-1 1H1a1 1 0 0 1 0-2h22a1 1 0 0 1 1 1M.291 9.052a2.44 2.44 0 0 1 .153-2.566c.427-.627 1-1.141 1.668-1.5l7.501-3.904a5.17 5.17 0 0 1 4.774 0l7.5 3.907c.669.359 1.24.873 1.668 1.5a2.44 2.44 0 0 1 .153 2.566 2.71 2.71 0 0 1-2.416 1.445H21v8h1a1 1 0 1 1 0 2H2a1 1 0 0 1 0-2h1v-8h-.292A2.71 2.71 0 0 1 .291 9.052m4.71 9.448h3v-8H5zm5-8v8h4v-8zm9 0h-3v8h3zM2.062 8.125a.72.72 0 0 0 .645.375h18.584a.72.72 0 0 0 .645-.375.45.45 0 0 0-.024-.5 2.7 2.7 0 0 0-.949-.864l-7.5-3.907a3.18 3.18 0 0 0-2.926 0l-7.5 3.907a2.7 2.7 0 0 0-.949.865.45.45 0 0 0-.026.5"})}),t("defs",{children:t("clipPath",{id:"9491b547",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),be=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#fafc2088)",children:[t("path",{d:"M5 23h18a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5V2a1 1 0 0 1 2 0v18a3 3 0 0 0 3 3"}),t("path",{d:"M6.707 20.707A1 1 0 0 1 5 20v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-.293.707M10 11v9a1 1 0 1 0 2 0v-9a1 1 0 0 0-2 0M15 20v-6a1 1 0 0 1 2 0v6a1 1 0 1 1-2 0M20 10v10a1 1 0 1 0 2 0V10a1 1 0 0 0-2 0M6.707 9.707a1 1 0 1 1-1.414-1.414l3.586-3.586a3 3 0 0 1 4.242 0l2.172 2.17a1 1 0 0 0 1.414 0l5.586-5.584a1 1 0 0 1 1.414 1.414L18.12 8.293a3 3 0 0 1-4.242 0L11.707 6.12a1.025 1.025 0 0 0-1.414 0z"})]}),t("defs",{children:t("clipPath",{id:"fafc2088",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),we=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#4bbcc7d4)",children:[t("path",{d:"M13.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M7 16.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M18.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),t("path",{fillRule:"evenodd",d:"M18 2h1a5.006 5.006 0 0 1 5 5v12a5.006 5.006 0 0 1-5 5H5a5.006 5.006 0 0 1-5-5V7a5.006 5.006 0 0 1 5-5h1V1a1 1 0 0 1 2 0v1h8V1a1 1 0 0 1 2 0zM2.879 4.879A3 3 0 0 0 2 7v1h20V7a3 3 0 0 0-3-3H5a3 3 0 0 0-2.121.879m0 16.242A3 3 0 0 0 5 22h14a3 3 0 0 0 3-3v-9H2v9a3 3 0 0 0 .879 2.121",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"4bbcc7d4",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),xe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#53ee7faa)",children:t("path",{fill:"#000",d:"m.292 7.861 8.17 8.17a5 5 0 0 0 7.08 0l8.17-8.17a1.004 1.004 0 1 0-1.42-1.42l-8.17 8.17a3 3 0 0 1-4.24 0l-8.17-8.17a1 1 0 0 0-1.42 0 1 1 0 0 0 0 1.42"})}),t("defs",{children:t("clipPath",{id:"53ee7faa",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Oe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#64af8551)",children:t("path",{fill:"#000",d:"M17.17 24.5a1 1 0 0 1-.71-.29l-8.17-8.17a5 5 0 0 1 0-7.08L16.46.79a1.004 1.004 0 1 1 1.42 1.42l-8.17 8.17a3 3 0 0 0 0 4.24l8.17 8.17a1 1 0 0 1-.71 1.71"})}),t("defs",{children:t("clipPath",{id:"64af8551",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Se=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#a0a0cf84)",children:t("path",{fill:"#000",d:"M7 24.5a1 1 0 0 1-.71-1.71l8.17-8.17a3 3 0 0 0 0-4.24L6.29 2.21A1.004 1.004 0 0 1 7.71.79l8.17 8.17a5 5 0 0 1 0 7.08l-8.17 8.17a1 1 0 0 1-.71.29"})}),t("defs",{children:t("clipPath",{id:"a0a0cf84",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),je=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#c735ab99)",children:t("path",{fill:"#000",d:"m23.71 16.79-8.17-8.17a5 5 0 0 0-7.08 0L.29 16.79a1.004 1.004 0 1 0 1.42 1.42l8.17-8.17a3 3 0 0 1 4.24 0l8.17 8.17a1.002 1.002 0 0 0 1.64-.325 1 1 0 0 0-.22-1.095"})}),t("defs",{children:t("clipPath",{id:"c735ab99",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ae=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#bc5773b5)",children:[t("path",{d:"M11.033 5.145a.968.968 0 0 1 1.935 0v.944a6.5 6.5 0 0 1 3.618 1.827.968.968 0 0 1-1.37 1.369 4.55 4.55 0 0 0-3.215-1.332A4.534 4.534 0 0 0 7.452 12.5 4.534 4.534 0 0 0 12 17.05a4.55 4.55 0 0 0 3.209-1.339.967.967 0 0 1 1.372 1.367 6.5 6.5 0 0 1-3.612 1.833v.946a.967.967 0 1 1-1.935 0v-.944c-3.114-.47-5.516-3.17-5.516-6.41S7.92 6.56 11.033 6.09z"}),t("path",{fillRule:"evenodd",d:"M12 .5C5.384.5 0 5.884 0 12.5s5.384 12 12 12 12-5.384 12-12-5.384-12-12-12m0 1.936A10.05 10.05 0 0 1 22.064 12.5 10.05 10.05 0 0 1 12 22.564 10.05 10.05 0 0 1 1.936 12.5 10.05 10.05 0 0 1 12 2.436",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"bc5773b5",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Pe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#9c399fd1)",children:t("path",{fill:"#000",d:"M22.319 4.931 8.499 18.75a1 1 0 0 1-1.416 0L1.739 13.4a1 1 0 0 0-1.417 0 1 1 0 0 0 0 1.417l5.346 5.345a3.01 3.01 0 0 0 4.25 0L23.736 6.347a1 1 0 0 0-.709-1.71 1 1 0 0 0-.708.294"})}),t("defs",{children:t("clipPath",{id:"9c399fd1",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Me=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#0d4ad2be)",children:t("path",{fill:"#000",d:"M19 3.5h-6.528a1 1 0 0 1-.447-.1L8.869 1.816A3 3 0 0 0 7.528 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-10a5.006 5.006 0 0 0-5-5m-14 0h2.528c.155 0 .308.033.447.1l3.156 1.58c.416.208.875.318 1.341.32H19a3 3 0 0 1 2.779 1.882L2 7.494V6.5a3 3 0 0 1 3-3m14 18H5a3 3 0 0 1-3-3V9.494l20-.113v9.12a3 3 0 0 1-3 3"})}),t("defs",{children:t("clipPath",{id:"0d4ad2be",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ke=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:25,fill:"none",viewBox:"0 0 80 80","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#e82ea890)",children:[t("path",{fill:"#000",d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881m0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095"}),t("path",{fill:"url(#59bc3f76)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881Zm0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095Z"})]}),e("defs",{children:[e("linearGradient",{id:"59bc3f76",x1:.095,x2:79.905,y1:40.001,y2:40.001,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"e82ea890",children:t("path",{fill:"#fff",d:"M0 0h80v80H0z"})})]})]}))),Ee=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#e1eeb89c)",children:t("path",{fill:"#000",d:"M23.707.793a1 1 0 0 0-1.414 0L12 11.086 1.707.793a1 1 0 0 0-1.414 0 1 1 0 0 0 0 1.414L10.586 12.5.293 22.793a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.914l10.293 10.293a1 1 0 0 0 1.414-1.414L13.414 12.5 23.707 2.207a1 1 0 0 0 0-1.414"})}),t("defs",{children:t("clipPath",{id:"e1eeb89c",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ce=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#78978fe1)",children:t("path",{fill:"#000",d:"M21.736 16.9A5.01 5.01 0 0 0 17 13.5h-4v-1.084a6 6 0 1 0-2 0V13.5H7a5.01 5.01 0 0 0-4.736 3.4 4 4 0 1 0 2.447-.334A3 3 0 0 1 7 15.5h4v1.127a4 4 0 1 0 2 0V15.5h4a3 3 0 0 1 2.289 1.063 4 4 0 1 0 2.447.334zM8 6.5a4 4 0 1 1 8 0 4 4 0 0 1-8 0m-2 14a2 2 0 1 1-4 0 2 2 0 0 1 4 0m8 0a2 2 0 1 1-4.001 0 2 2 0 0 1 4 0m6 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})}),t("defs",{children:t("clipPath",{id:"78978fe1",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),_e=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#3fccef48)",children:t("path",{fill:"#000",d:"M13 20.5a5.006 5.006 0 0 0 5-5V6.743a3.97 3.97 0 0 0-1.172-2.829l-2.242-2.242A3.97 3.97 0 0 0 11.757.5H7a5.006 5.006 0 0 0-5 5v10a5.006 5.006 0 0 0 5 5zm-9-5v-10a3 3 0 0 1 3-3s4.92.014 5 .024V4.5a2 2 0 0 0 2 2h1.976c.01.081.024 9 .024 9a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3m18-7v11a5.005 5.005 0 0 1-5 5H8a1 1 0 0 1 0-2h9a3 3 0 0 0 3-3v-11a1 1 0 0 1 2 0"})}),t("defs",{children:t("clipPath",{id:"3fccef48",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Te=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#7bd92f01)",children:t("path",{fill:"#000",d:"M13.932 4.5A3.07 3.07 0 0 1 17 7.568a1 1 0 0 0 2 0v-.123A5.073 5.073 0 0 0 13.932 2.5H13v-1a1 1 0 1 0-2 0v1h-.932a5.068 5.068 0 0 0-1.6 9.875L11 13.22v7.28h-.932A3.07 3.07 0 0 1 7 17.432a1 1 0 1 0-2 0v.123a5.073 5.073 0 0 0 5.068 4.945H11v1a1 1 0 0 0 2 0v-1h.932a5.068 5.068 0 0 0 1.6-9.875L13 11.78V4.5zm.97 10.021a3.068 3.068 0 0 1-.97 5.979H13v-6.613zM11 11.113l-1.9-.634a3.068 3.068 0 0 1 .968-5.979H11z"})}),t("defs",{children:t("clipPath",{id:"7bd92f01",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),De=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 80 60","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#8acc34e3)",children:[t("path",{fill:"#000",d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69m-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867m9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388M21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387"}),t("path",{fill:"url(#19added0)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69Zm-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262v8.948Zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867Zm9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388ZM21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387Z"})]}),e("defs",{children:[e("linearGradient",{id:"19added0",x1:.069,x2:79.931,y1:29.999,y2:29.999,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"8acc34e3",children:t("path",{fill:"#fff",d:"M0 .395h80v59.21H0z"})})]})]}))),Ne=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#213e37ae)",children:[t("path",{d:"M10.852 19.273a3 3 0 0 1-.974-.651l-3.21-3.207A1 1 0 0 1 8.08 14l2.91 2.908.01-15.408a1 1 0 0 1 2 0l-.008 15.427L15.92 14a1 1 0 0 1 1.414 1.411l-3.21 3.211a3 3 0 0 1-3.271.65"}),t("path",{d:"M22.293 16.793A1 1 0 0 1 24 17.5v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 1 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-4a1 1 0 0 1 .293-.707"})]}),t("defs",{children:t("clipPath",{id:"213e37ae",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ie=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#2de5b65b)",children:[t("path",{fillRule:"evenodd",d:"M18.67 1.387 6.469 13.602a4.97 4.97 0 0 0-1.465 3.541v1.346a1 1 0 0 0 1 1.002H7.35a4.96 4.96 0 0 0 3.537-1.467l12.2-12.215a3.133 3.133 0 0 0 0-4.422 3.195 3.195 0 0 0-4.416 0m.18 5.83-9.379 9.39a3.02 3.02 0 0 1-2.122.88h-.344v-.344c.002-.796.318-1.56.879-2.125l9.378-9.39zm1.415-1.416 1.407-1.409a1.126 1.126 0 0 0 0-1.589 1.15 1.15 0 0 0-1.587 0l-1.407 1.409z",clipRule:"evenodd"}),t("path",{d:"M0 23.498c0-.553.373-1.002.834-1.002H19.18c.46 0 .834.449.834 1.002s-.373 1.002-.834 1.002H.834c-.46 0-.834-.449-.834-1.002"})]}),t("defs",{children:t("clipPath",{id:"2de5b65b",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Le=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M20.914 17.62a5 5 0 0 0 1.621-1.084A4.97 4.97 0 0 0 24 12.996V2a1 1 0 0 0-2 0v10.997a3 3 0 0 1-3 2.999H2.788L7.1 11.688a1.001 1.001 0 1 0-1.418-1.414l-4.95 4.95a2.5 2.5 0 0 0 0 3.534l4.95 4.948A1 1 0 0 0 7.1 22.294l-4.3-4.299H19a5 5 0 0 0 1.914-.376"})}))),Be=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M3.086 17.62a5 5 0 0 1-1.621-1.084A4.97 4.97 0 0 1 0 12.996V2a1 1 0 0 1 2 0v10.997a3 3 0 0 0 3 2.999h16.212L16.9 11.688a1.003 1.003 0 0 1 .002-1.416 1 1 0 0 1 1.416.002l4.95 4.95a2.5 2.5 0 0 1 0 3.534l-4.95 4.948a1 1 0 0 1-1.418-1.412l4.3-4.299H5a5 5 0 0 1-1.914-.376"})}))),Re=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#1d876006)",children:t("path",{d:"M23.41 5.094c.373.372.585.875.59 1.401a2 2 0 0 1-.59 1.412l-4.29 4.303a1 1 0 1 1-1.41-1.421L21 7.496H11a1 1 0 0 1 0-2.001h10l-3.29-3.283A1.002 1.002 0 0 1 19.12.791zM3 17.504h10a1 1 0 0 1 .707 1.708 1 1 0 0 1-.707.294H3l3.29 3.282a1.002 1.002 0 0 1-1.41 1.421L.59 19.906A2 2 0 0 1 0 18.505c.002-.53.214-1.038.59-1.411l4.29-4.304a1 1 0 0 1 1.629 1.096 1 1 0 0 1-.219.325z"})}),t("defs",{children:t("clipPath",{id:"1d876006",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ze=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#06771c5d)",children:t("path",{fill:"#000",d:"M14 24.5a1 1 0 0 1-.6-.2l-4-3a1 1 0 0 1-.4-.8v-5.62L1.984 6.987A3.9 3.9 0 0 1 4.9.5h14.2a3.9 3.9 0 0 1 2.913 6.488L15 14.88v8.62a1 1 0 0 1-1 1M11 20l2 1.5v-7a1 1 0 0 1 .253-.664l7.268-8.177A1.9 1.9 0 0 0 19.1 2.5H4.9a1.9 1.9 0 0 0-1.421 3.158l7.269 8.178A1 1 0 0 1 11 14.5z"})}),t("defs",{children:t("clipPath",{id:"06771c5d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),$e=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#513f5486)",children:[t("path",{d:"M12.717 5.563A4 4 0 0 0 8 9.5a1 1 0 1 0 2 0 2.002 2.002 0 0 1 2.371-1.967 2.02 2.02 0 0 1 1.6 1.595 2 2 0 0 1-1 2.125 3.95 3.95 0 0 0-1.97 3.504v.743a1 1 0 0 0 2 0v-.743a1.98 1.98 0 0 1 .93-1.752 4 4 0 0 0-1.214-7.442M12 17.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2"}),t("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"513f5486",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),He=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#dbd56355)",children:t("path",{fill:"#000",fillRule:"evenodd",d:"M22.293 11.793A1 1 0 0 1 24 12.5a11.994 11.994 0 1 1-4-8.935V1.5a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3h-3a1 1 0 1 1 0-2h3a1 1 0 0 0 .1-.021A10.034 10.034 0 1 0 22 12.5a1 1 0 0 1 .293-.707m-11-5A1 1 0 0 1 13 7.5v4.586l2.707 2.707a1 1 0 0 1-1.414 1.414l-3-3A1 1 0 0 1 11 12.5v-5a1 1 0 0 1 .293-.707",clipRule:"evenodd"})}),t("defs",{children:t("clipPath",{id:"dbd56355",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ve=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#b05ae72a)",children:t("path",{fill:"#000",d:"m23.121 9.569-7.585-7.586a5.01 5.01 0 0 0-7.072 0L.88 9.569A2.98 2.98 0 0 0 0 11.689v9.818a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3V11.69a2.98 2.98 0 0 0-.879-2.121m-8.12 12.938H9v-3.934a3 3 0 0 1 6 0zm7-1a1 1 0 0 1-1 1h-4v-3.934a5 5 0 0 0-10 0v3.934H3a1 1 0 0 1-1-1V11.69c0-.265.105-.52.292-.707L9.878 3.4a3.01 3.01 0 0 1 4.244 0l7.585 7.586c.186.187.291.44.293.704z"})}),t("defs",{children:t("clipPath",{id:"b05ae72a",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Fe=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M6.41 9.5h11.18a1 1 0 0 1 .7 1.71l-5.58 5.58a1 1 0 0 1-1.42 0l-5.58-5.58a1 1 0 0 1 .7-1.71"})}))),Ue=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M6.41 16.5h11.18a1 1 0 0 0 .7-1.71l-5.58-5.58a1 1 0 0 0-1.42 0l-5.58 5.58a1 1 0 0 0 .7 1.71"})}))),We=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#dab7ab78)",children:[t("path",{d:"M12 10.5h-1a1 1 0 0 0 0 2h1v6a1 1 0 1 0 2 0v-6a2 2 0 0 0-2-2M13.5 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),t("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"dab7ab78",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),qe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 62 80","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#4e3573e8)",children:[t("path",{fill:"#000",d:"M12.25 79.917C5.541 79.917.082 74.46.082 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.639 8.558 20.112.083 30.528.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.557 12.15v25.734c0 6.708-5.459 12.167-12.167 12.167H12.25zm0-46.574c-4.782 0-8.673 3.891-8.673 8.673V67.75c0 4.78 3.891 8.672 8.673 8.672h36.558c4.782 0 8.673-3.891 8.673-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.675-3.494V18.972c0-8.49-6.907-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.528 63.463c-4.731 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.581-8.582s8.581 3.85 8.581 8.581c0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.087 5.088 5.094 5.094 0 0 0 5.087 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),t("path",{fill:"#CDCFD1",d:"M30.528.166c10.37 0 18.808 8.437 18.808 18.808v10.973c6.418.278 11.555 5.585 11.555 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.25c-6.663 0-12.084-5.42-12.084-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.722 8.603 20.16.166 30.528.166m-15.48 29.766h30.959v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.25c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.812 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.811-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.065 0 11.554 8.511 11.554 18.974v10.814a12.2 12.2 0 0 0-8.139 3.75A12.2 12.2 0 0 0 0 42.016V67.75C0 74.505 5.495 80 12.25 80h36.558c6.755 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.213-6.184-3.417-8.478a12.2 12.2 0 0 0-8.14-3.75V18.974C49.502 8.51 40.992 0 30.529 0M15.214 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.248 76.34c-4.737 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.853-8.59 8.59-8.59h36.559c4.736 0 8.589 3.853 8.589 8.59V67.75c0 4.736-3.853 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664 8.665-3.886 8.665-8.664-3.887-8.664-8.665-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"}),t("path",{fill:"url(#b40a6a1b)",d:"M12.21 79.917C5.502 79.917.044 74.458.044 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.598 8.558 20.073.083 30.489.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.556 12.15v25.734c0 6.708-5.458 12.167-12.166 12.167H12.21zm0-46.574c-4.781 0-8.672 3.891-8.672 8.673V67.75c0 4.78 3.891 8.672 8.672 8.672h36.56c4.78 0 8.672-3.891 8.672-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.676-3.494V18.972c0-8.49-6.908-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.489 63.463c-4.732 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.58-8.582 4.732 0 8.582 3.85 8.582 8.581 0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.088 5.088 5.094 5.094 0 0 0 5.088 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),t("path",{fill:"#CDCFD1",d:"M30.489.166c10.37 0 18.807 8.437 18.807 18.808v10.973c6.419.278 11.556 5.585 11.556 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.21c-6.663 0-12.083-5.42-12.083-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.683 8.604 20.119.166 30.49.166M15.01 29.932h30.958v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.21c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.811 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.812-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.025 0 11.513 8.511 11.513 18.974v10.814a12.2 12.2 0 0 0-8.138 3.75 12.18 12.18 0 0 0-3.417 8.478V67.75C-.042 74.505 5.453 80 12.207 80h36.559c6.754 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.214-6.184-3.418-8.478a12.2 12.2 0 0 0-8.139-3.75V18.974C49.46 8.51 40.95 0 30.486 0zM15.173 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.207 76.34c-4.736 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.854-8.59 8.59-8.59h36.559c4.736 0 8.59 3.853 8.59 8.59V67.75c0 4.736-3.854 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664c4.779 0 8.665-3.886 8.665-8.664s-3.886-8.664-8.664-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"})]}),e("defs",{children:[e("linearGradient",{id:"b40a6a1b",x1:2.67,x2:58.264,y1:75.561,y2:19.931,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"4e3573e8",children:t("path",{fill:"#fff",d:"M0 0h61.058v80H0z"})})]})]}))),Ye=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#705555a7)",children:t("path",{fill:"#000",d:"M19 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-12a5.006 5.006 0 0 0-5-5m-14 2h14a3 3 0 0 1 2.78 1.887l-7.658 7.659a3.007 3.007 0 0 1-4.244 0L2.22 5.386A3 3 0 0 1 5 3.5m14 18H5a3 3 0 0 1-3-3V8l6.464 6.46a5.007 5.007 0 0 0 7.072 0L22 8v10.5a3 3 0 0 1-3 3"})}),t("defs",{children:t("clipPath",{id:"705555a7",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Xe=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M23 4.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M23 11.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M1 18.5h22a1 1 0 1 1 0 2H1a1 1 0 1 1 0-2"})}))),Ke=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#752c60ff)",children:t("path",{d:"M2 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M12 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M24 12.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})}),t("defs",{children:t("clipPath",{id:"752c60ff",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ge=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#251a2feb)",children:t("path",{fill:"#000",d:"m22.555 14.162-1.9-6.836A9.321 9.321 0 0 0 2.576 7.8l-1.471 6.615A5 5 0 0 0 5.986 20.5H7.1a5 5 0 0 0 9.8 0h.838a5 5 0 0 0 4.818-6.338zM12 22.5a3 3 0 0 1-2.816-2h5.632a3 3 0 0 1-2.816 2m8.126-5.185a2.98 2.98 0 0 1-2.389 1.185H5.986a3 3 0 0 1-2.928-3.651l1.47-6.616a7.321 7.321 0 0 1 14.2-.372l1.9 6.836a2.98 2.98 0 0 1-.502 2.618"})}),t("defs",{children:t("clipPath",{id:"251a2feb",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ze=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#66b9637d)",children:t("path",{fill:"#000",d:"M23.9 11.946a12 12 0 0 0-4.279-7.717 12.006 12.006 0 0 0-16.385 1.07A11.99 11.99 0 0 0 0 13.508a11.86 11.86 0 0 0 3.759 8.705A4.84 4.84 0 0 0 7.113 23.5h9.767a5 5 0 0 0 3.509-1.428 11.93 11.93 0 0 0 3.51-10.126m-4.91 8.693a3 3 0 0 1-2.11.862H7.113c-.73.015-1.44-.25-1.981-.74A9.9 9.9 0 0 1 2 13.508a10 10 0 0 1 3.338-7.451 9.89 9.89 0 0 1 6.648-2.541q.588 0 1.174.065a10 10 0 0 1 8.305 6.693 9.98 9.98 0 0 1-2.474 10.37zm-11.183-2.85a1 1 0 1 1-1.4 1.429 7.992 7.992 0 0 1 6.736-13.623 1 1 0 0 1 .72 1.502.99.99 0 0 1-1.006.477 6 6 0 0 0-6.228 3.28 5.99 5.99 0 0 0 1.178 6.935m12.112-5.424q.08.568.08 1.143a7.92 7.92 0 0 1-2.407 5.711 1.002 1.002 0 0 1-1.4-1.43 5.97 5.97 0 0 0 1.744-5.138 1 1 0 0 1 1.59-.944 1 1 0 0 1 .39.659zm-5.993.631a2.03 2.03 0 0 1-2.22 2.559 2.033 2.033 0 0 1-1.495-3.039 2.03 2.03 0 0 1 2.3-.933l3.782-3.778a1 1 0 1 1 1.414 1.413z"})}),t("defs",{children:t("clipPath",{id:"66b9637d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Je=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("path",{fill:"#000",d:"M22.707 1.793a1 1 0 0 1 0 1.414l-20 20a1 1 0 0 1-1.414-1.414l20-20a1 1 0 0 1 1.414 0"}),t("path",{fill:"#000",fillRule:"evenodd",d:"M6 10.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8m0-6a2 2 0 1 1 0 4 2 2 0 0 1 0-4M15.778 15.174a4 4 0 1 1 4.444 6.653 4 4 0 0 1-4.444-6.653m1.11 4.99a2 2 0 1 0 2.223-3.327 2 2 0 0 0-2.222 3.326",clipRule:"evenodd"})]}))),Qe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#e60de322)",clipRule:"evenodd",children:[t("path",{d:"M21.057 3.47a10.1 10.1 0 0 1 2.594 4.476 2.01 2.01 0 0 1-1.913 2.554H17.02a3 3 0 0 1-3-3V2.8a2 2 0 0 1 2.02-2 2 2 0 0 1 .543.072 10.1 10.1 0 0 1 4.475 2.598M17.015 8.5h4.72a8.07 8.07 0 0 0-5.677-5.702h-.026a.05.05 0 0 0-.025.01l.008 4.692a1 1 0 0 0 1 1"}),t("path",{d:"M14 12.5h4.713a3.06 3.06 0 0 1 2.394 1.172 2.88 2.88 0 0 1 .533 2.485A11 11 0 0 1 8.906 24.27a10.969 10.969 0 0 1-.553-21.414 2.87 2.87 0 0 1 2.48.534A3 3 0 0 1 12 5.774V10.5a2 2 0 0 0 2 2m3.425 7.26a8.97 8.97 0 0 0 2.276-4.092.88.88 0 0 0-.167-.768 1.04 1.04 0 0 0-.816-.4h-4.712a4 4 0 0 1-4-4V5.778a1.02 1.02 0 0 0-.4-.806.87.87 0 0 0-.764-.172 8.97 8.97 0 1 0 8.583 14.96"})]}),t("defs",{children:t("clipPath",{id:"e60de322",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),et=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#ce50361f)",children:t("path",{fill:"#000",d:"M23 11.5H13v-10a1 1 0 0 0-1-1 1 1 0 0 0-1 1v10H1a1 1 0 0 0-1 1 1 1 0 0 0 1 1h10v10a1 1 0 0 0 2 0v-10h10a1 1 0 0 0 0-2"})}),t("defs",{children:t("clipPath",{id:"ce50361f",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),tt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#7ecfa412)",children:t("path",{fill:"#000",d:"M19 3.522V1.5a1 1 0 0 0-2 0v1.1a5 5 0 0 0-1-.1h-1v-1a1 1 0 0 0-2 0v1h-2v-1a1 1 0 0 0-2 0v1H8a5 5 0 0 0-1 .1V1.5a1 1 0 0 0-2 0v2.022A4.98 4.98 0 0 0 3 7.5v12a5.006 5.006 0 0 0 5 5h8a5.006 5.006 0 0 0 5-5v-12a4.98 4.98 0 0 0-2-3.978M19 19.5a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3v-12a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3zm-2-11a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m0 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m-4 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h4a1 1 0 0 1 1 1"})}),t("defs",{children:t("clipPath",{id:"7ecfa412",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),rt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#ef775233)",children:t("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.265 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743m-1.863 7.577-4.272 4.272a1.87 1.87 0 0 1-1.335.553h-.033a1.87 1.87 0 0 1-1.345-.6l-2.306-2.4a1 1 0 1 1 1.441-1.382L11.112 13 15.3 8.8a1 1 0 0 1 1.414 1.414z"})}),t("defs",{children:t("clipPath",{id:"ef775233",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),nt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#57d1947f)",children:t("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.266 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743M12 19.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2m1-5a1 1 0 1 1-2 0v-8a1 1 0 0 1 2 0z"})}),t("defs",{children:t("clipPath",{id:"57d1947f",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),it=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#1259f37d)",children:t("path",{fill:"#000",d:"m23.707 22.794-5.97-5.97a10.016 10.016 0 1 0-1.413 1.415l5.969 5.969a1 1 0 0 0 1.414-1.414M10 18.5a8 8 0 1 1 8-8 8.01 8.01 0 0 1-8 8"})}),t("defs",{children:t("clipPath",{id:"1259f37d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ot=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#5df29195)",clipRule:"evenodd",children:[t("path",{d:"M9.778 9.175a4 4 0 1 1 4.444 6.652 4 4 0 0 1-4.444-6.652m1.11 4.989a2 2 0 1 0 2.223-3.325 2 2 0 0 0-2.222 3.325"}),t("path",{d:"m20.85 14.144.444.256.001-.001a3.002 3.002 0 1 1-3 5.2l-.447-.258A9 9 0 0 1 15 20.987v.513a3 3 0 1 1-6 0v-.513a9 9 0 0 1-2.85-1.642l-.445.257a3.002 3.002 0 0 1-3-5.2l.444-.256a9.1 9.1 0 0 1 0-3.29l-.444-.256a3.002 3.002 0 1 1 3-5.2l.447.259A9 9 0 0 1 9 4.013V3.5a3 3 0 1 1 6 0v.513a9 9 0 0 1 2.849 1.642l.445-.257a3.002 3.002 0 0 1 3 5.2l-.444.256a9.1 9.1 0 0 1 0 3.29m-2.104.23a7.05 7.05 0 0 0 0-3.75v.001a1 1 0 0 1 .463-1.129l1.084-.626a1 1 0 1 0-1-1.732l-1.084.627a1 1 0 0 1-1.215-.165 7 7 0 0 0-3.243-1.879A1 1 0 0 1 13 4.752V3.5a1 1 0 1 0-2 0v1.252a1 1 0 0 1-.751.973A7 7 0 0 0 7.006 7.6a1 1 0 0 1-1.214.161l-1.086-.628a1 1 0 1 0-1 1.733l1.084.626a1 1 0 0 1 .465 1.129 7.05 7.05 0 0 0 0 3.75 1 1 0 0 1-.464 1.133l-1.084.626a1 1 0 1 0 1 1.732l1.084-.627a1 1 0 0 1 1.215.165c.89.91 2.01 1.56 3.242 1.879a1 1 0 0 1 .751.969V21.5a1 1 0 0 0 2 0v-1.253a1 1 0 0 1 .751-.969 7 7 0 0 0 3.243-1.875 1 1 0 0 1 1.215-.165l1.086.628a1 1 0 0 0 1-1.733l-1.084-.626a1 1 0 0 1-.464-1.133"})]}),t("defs",{children:t("clipPath",{id:"5df29195",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),at=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#2b650bda)",children:t("path",{fill:"#000",d:"M4 7.483a2.98 2.98 0 0 1-2.121-.88L.335 5.228a1.002 1.002 0 0 1 1.332-1.496l1.585 1.416a1 1 0 0 0 1.456.04l3.604-3.435a1 1 0 0 1 1.378 1.45L6.1 6.62a2.96 2.96 0 0 1-2.1.863m20-2.002a1 1 0 0 0-1-1H13a1 1 0 0 0-.706 1.708 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1M6.1 14.63l3.59-3.418a1 1 0 1 0-1.378-1.45l-3.6 3.435a1.02 1.02 0 0 1-1.414 0l-1.59-1.586a1 1 0 0 0-1.695.711c-.002.263.099.515.28.704l1.586 1.587a3 3 0 0 0 4.226.017zm17.9-1.14a1 1 0 0 0-1-1H13a1 1 0 0 0-1 1 1 1 0 0 0 1 1.002h10a1 1 0 0 0 1-1.001M6.1 22.638l3.586-3.417a1.001 1.001 0 1 0-1.378-1.45l-3.6 3.435a1 1 0 0 1-1.456-.04l-1.585-1.416a1 1 0 0 0-1.665.805c.015.266.135.514.333.69l1.544 1.376a3 3 0 0 0 4.226.017zM24 21.498a1 1 0 0 0-1-1.001H13a1 1 0 0 0-.706 1.709 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1.001"})}),t("defs",{children:t("clipPath",{id:"2b650bda",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ct=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#91038c87)",children:[t("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),t("path",{d:"M7.223 11.532 23 11.5a1 1 0 0 1 0 2l-15.744.032q.123.209.29.382l3.88 3.88a1 1 0 1 1-1.414 1.413l-3.88-3.879a4 4 0 0 1 0-5.656l3.882-3.879a1 1 0 1 1 1.414 1.414l-3.88 3.88a2 2 0 0 0-.325.445"})]}),t("defs",{children:t("clipPath",{id:"91038c87",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),lt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#57cfec12)",children:[t("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),t("path",{d:"m18.95 5.792 3.879 3.88h-.004a4 4 0 0 1 0 5.655l-3.88 3.88a1 1 0 1 1-1.413-1.415l3.879-3.879q.2-.207.334-.462-.019.003-.036.008a.1.1 0 0 1-.042.008L5.989 13.5a1 1 0 0 1 0-2l15.684-.032q.01 0 .02.004l.022.004a2 2 0 0 0-.3-.39l-3.88-3.879a1 1 0 0 1 1.415-1.414"})]}),t("defs",{children:t("clipPath",{id:"57cfec12",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ut=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#8ca63799)",children:t("path",{d:"M6.365 6.416a.5.5 0 0 1-.278.084H4.294v12h1.793a.5.5 0 0 1 .353.854L4 21.794a1 1 0 0 1-1.414 0l-2.44-2.44A.5.5 0 0 1 .5 18.5h1.794v-12H.5a.5.5 0 0 1-.353-.854l2.439-2.439a1 1 0 0 1 1.414 0l2.44 2.44a.5.5 0 0 1-.075.769M23 6.5H10a1 1 0 0 1 0-2h13a1 1 0 1 1 0 2M10 11.5h13a1 1 0 0 1 0 2H10a1 1 0 0 1 0-2M23 18.5H10a1 1 0 0 0 0 2h13a1 1 0 1 0 0-2"})}),t("defs",{children:t("clipPath",{id:"8ca63799",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),st=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M13 1v2a1 1 0 0 1-2 0V1a1 1 0 0 1 2 0m-1 19a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0v-2a1 1 0 0 0-1-1m-8-8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h2a1 1 0 0 0 1-1m19-1h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2m-4.982-9.382a1 1 0 0 0-1.367.364l-1 1.731a1 1 0 0 0 1.731 1.001l1-1.731a1 1 0 0 0-.364-1.365M7.987 18.921a1 1 0 0 0-1.366.364l-1 1.731a1 1 0 1 0 1.731 1.001l1-1.731a1 1 0 0 0-.365-1.365m-3.272-12.3-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 0 0 1-1.731m17.3 10.03-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 1 0 1-1.731M7.349 1.982a1 1 0 0 0-1.731 1l1 1.731a1 1 0 1 0 1.731-1.001zm10.03 17.3a1 1 0 0 0-1.731 1l1 1.731a1 1 0 0 0 1.731-1zm2.408-10.8a1 1 0 0 0 .5-.134l1.731-1a1 1 0 0 0-1-1.731l-1.731 1a1 1 0 0 0 .5 1.865M3.713 15.648l-1.731 1a1 1 0 1 0 1 1.731l1.731-1a1 1 0 0 0-1-1.731"})}))),ft=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M21 12.924V11.5a9 9 0 0 0-18 0v1.424A5 5 0 0 0 5 22.5a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2v-1a7 7 0 0 1 14 0v1a2 2 0 0 0-2 2v6h-3a1 1 0 0 0 0 2h5a5 5 0 0 0 2-9.576M5 20.5a3 3 0 1 1 0-6zm14 0v-6a3 3 0 0 1 0 6"})}))),pt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#705b35d7)",children:[t("path",{d:"M10 18.5a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1M14.707 18.207A1 1 0 0 1 13 17.499v-6a1 1 0 1 1 2 0v6a1 1 0 0 1-.293.707"}),t("path",{fillRule:"evenodd",d:"M21 4.5h-3.1a5.01 5.01 0 0 0-4.9-4h-2a5.01 5.01 0 0 0-4.9 4H3a1 1 0 0 0 0 2h1v13a5.006 5.006 0 0 0 5 5h6a5.006 5.006 0 0 0 5-5v-13h1a1 1 0 1 0 0-2m-10-2h2a3.01 3.01 0 0 1 2.829 2H8.171A3.01 3.01 0 0 1 11 2.5m7 17a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3v-13h12z",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"705b35d7",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ht=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#c1bea85b)",children:[t("path",{d:"m11 18.516.007-15.438L8.08 6.005a1 1 0 0 1-1.414-1.414l3.21-3.212a3 3 0 0 1 4.245 0l3.21 3.215a1 1 0 0 1-1.413 1.414l-2.912-2.913L13 18.516a1 1 0 1 1-2 0"}),t("path",{d:"M22 21.5v-4a1 1 0 0 1 2 0v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 0 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1"})]}),t("defs",{children:t("clipPath",{id:"c1bea85b",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),dt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#5ab9665d)",children:t("path",{d:"M12 13a6 6 0 1 0 0-12 6 6 0 0 0 0 12m0-10a4 4 0 1 1 0 8 4 4 0 0 1 0-8M12 15a9.01 9.01 0 0 0-9 9 1 1 0 0 0 2 0 7 7 0 1 1 14 0 1 1 0 0 0 2 0 9.01 9.01 0 0 0-9-9"})}),t("defs",{children:t("clipPath",{id:"5ab9665d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),yt=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M7.986 1.833a6.71 6.71 0 0 1 4.758 2h-2.086a.67.67 0 0 0-.668.667.666.666 0 0 0 .668.667h2.768a1.24 1.24 0 0 0 1.24-1.238V1.167A.666.666 0 0 0 14 .5a.67.67 0 0 0-.668.667v1.385a8.01 8.01 0 0 0-8.278-1.5 8 8 0 0 0-3.48 2.641 8 8 0 0 0-1.57 4.074.67.67 0 0 0 .668.733.657.657 0 0 0 .66-.585 6.67 6.67 0 0 1 2.146-4.329 6.7 6.7 0 0 1 4.51-1.753M15.33 8.5a.657.657 0 0 0-.661.585 6.65 6.65 0 0 1-1.362 3.488 6.684 6.684 0 0 1-10.05.593h2.085a.67.67 0 0 0 .668-.666.666.666 0 0 0-.668-.667H2.574a1.24 1.24 0 0 0-1.146.764c-.063.15-.095.312-.095.474v2.762a.666.666 0 0 0 .668.667.67.67 0 0 0 .668-.667v-1.385a8.01 8.01 0 0 0 8.278 1.5 8 8 0 0 0 3.48-2.641 8 8 0 0 0 1.57-4.074.67.67 0 0 0-.668-.733"})}))),vt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1503 1504","aria-hidden":"true",...r,children:[t("path",{fill:"#fff",d:"M287 258h928v844H287z"}),t("path",{fill:"#E84142",fillRule:"evenodd",d:"M1502.5 752c0 414.77-336.23 751-751 751-414.766 0-751-336.23-751-751C.5 337.234 336.734 1 751.5 1c414.77 0 751 336.234 751 751m-963.812 298.86H392.94c-30.626 0-45.754 0-54.978-5.9-9.963-6.46-16.051-17.16-16.789-28.97-.554-10.88 7.011-24.168 22.139-50.735l359.87-634.32c15.313-26.936 23.061-40.404 32.839-45.385 10.516-5.35 23.062-5.35 33.578 0 9.778 4.981 17.527 18.449 32.839 45.385l73.982 129.144.377.659c16.539 28.897 24.926 43.551 28.588 58.931a109.56 109.56 0 0 1 0 51.289c-3.69 15.497-11.992 30.257-28.781 59.591L687.573 964.702l-.489.856c-16.648 29.135-25.085 43.902-36.778 55.042-12.73 12.18-28.043 21.03-44.832 26.02-15.313 4.24-32.47 4.24-66.786 4.24m368.062 0h208.84c30.81 0 46.31 0 55.54-6.08 9.96-6.46 16.23-17.35 16.79-29.15.53-10.53-6.87-23.3-21.37-48.323-.5-.852-1-1.719-1.51-2.601L1060.43 785.75l-1.19-2.015c-14.7-24.858-22.12-37.411-31.65-42.263a36.73 36.73 0 0 0-33.391 0c-9.594 4.981-17.342 18.08-32.655 44.462L857.306 964.891l-.357.616c-15.259 26.34-22.885 39.503-22.335 50.303.738 11.81 6.826 22.69 16.788 29.15 9.041 5.9 24.538 5.9 55.348 5.9",clipRule:"evenodd"})]}))),gt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 788 788","aria-hidden":"true",...r,children:[t("circle",{cx:394,cy:394,r:394,style:{fill:"#0ac18e"}}),t("path",{d:"M516.9 261.7c-19.8-44.9-65.3-54.5-121-45.2L378 147.1 335.8 158l17.6 69.2c-11.1 2.8-22.5 5.2-33.8 8.4L302 166.8l-42.2 10.9 17.9 69.4c-9.1 2.6-85.2 22.1-85.2 22.1l11.6 45.2s31-8.7 30.7-8c17.2-4.5 25.3 4.1 29.1 12.2l49.2 190.2c.6 5.5-.4 14.9-12.2 18.1.7.4-30.7 7.9-30.7 7.9l4.6 52.7s75.4-19.3 85.3-21.8l18.1 70.2 42.2-10.9-18.1-70.7q17.4-4.05 33.9-8.4l18 70.3 42.2-10.9-18.1-70.1c65-15.8 110.9-56.8 101.5-119.5-6-37.8-47.3-68.8-81.6-72.3 21.1-18.7 31.8-46 18.7-81.7m-20.3 165.5c8.4 62.1-77.9 69.7-106.4 77.2l-24.8-92.9c28.6-7.5 117-39 131.2 15.7m-52-126.5c8.9 55.2-64.9 61.6-88.7 67.7l-22.6-84.3c23.9-5.9 93.2-34.5 111.3 16.6",style:{fill:"#fff"}})]}))),mt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 4091.27 4091.73","aria-hidden":"true",...r,children:e("g",{fillRule:"nonzero",children:[t("path",{fill:"#F7931A",d:"M4030.06 2540.77C3756.82 3636.78 2646.74 4303.79 1550.6 4030.48 454.92 3757.24-212.09 2647.09 61.27 1551.17c273.12-1096.13 1383.2-1763.19 2479-1489.95C3636.33 334.46 4303.3 1444.73 4030.03 2540.79l.02-.02z"}),t("path",{fill:"#fff",d:"M2947.77 1754.38c40.72-272.26-166.56-418.61-450-516.24l91.95-368.8-224.5-55.94-89.51 359.09c-59.02-14.72-119.63-28.59-179.87-42.34L2186 768.69l-224.36-55.94-92 368.68c-48.84-11.12-96.81-22.11-143.35-33.69l.26-1.16-309.59-77.31-59.72 239.78s166.56 38.18 163.05 40.53c90.91 22.69 107.35 82.87 104.62 130.57l-104.74 420.15c6.26 1.59 14.38 3.89 23.34 7.49-7.49-1.86-15.46-3.89-23.73-5.87l-146.81 588.57c-11.11 27.62-39.31 69.07-102.87 53.33 2.25 3.26-163.17-40.72-163.17-40.72l-111.46 256.98 292.15 72.83c54.35 13.63 107.61 27.89 160.06 41.3l-92.9 373.03 224.24 55.94 92-369.07c61.26 16.63 120.71 31.97 178.91 46.43l-91.69 367.33 224.51 55.94 92.89-372.33c382.82 72.45 670.67 43.24 791.83-303.02 97.63-278.78-4.86-439.58-206.26-544.44 146.69-33.83 257.18-130.31 286.64-329.61l-.07-.05zm-512.93 719.26c-69.38 278.78-538.76 128.08-690.94 90.29l123.28-494.2c152.17 37.99 640.17 113.17 567.67 403.91zm69.43-723.3c-63.29 253.58-453.96 124.75-580.69 93.16l111.77-448.21c126.73 31.59 534.85 90.55 468.94 355.05z"})]})}))),bt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 784.37 1277.39","aria-hidden":"true",...r,children:e("g",{fillRule:"nonzero",children:[t("path",{fill:"#343434",d:"m392.07 0-8.57 29.11v844.63l8.57 8.55 392.06-231.75z"}),t("path",{fill:"#8C8C8C",d:"M392.07 0 0 650.54l392.07 231.75V472.33z"}),t("path",{fill:"#3C3C3B",d:"m392.07 956.52-4.83 5.89v300.87l4.83 14.1 392.3-552.49z"}),t("path",{fill:"#8C8C8C",d:"M392.07 1277.38V956.52L0 724.89z"}),t("path",{fill:"#141414",d:"m392.07 882.29 392.06-231.75-392.06-178.21z"}),t("path",{fill:"#393939",d:"m0 650.54 392.07 231.75V472.33z"})]})}))),wt=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37.8 43.6","aria-hidden":"true",...e,children:t("g",{"data-name":"Layer 2",children:t("path",{d:"m18.9 0-4 2.3L4 8.6l-4 2.3v21.8L4 35l11 6.3 4 2.3 4-2.3L33.8 35l4-2.3V10.9l-4-2.3-10.9-6.3ZM8 28.1V15.5l10.9-6.3 10.9 6.3v12.6l-10.9 6.3Z","data-name":"Layer 1",style:{fill:"#2a5ada"}})})}))),xt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 82.6 82.6","aria-hidden":"true",...r,children:[t("circle",{cx:41.3,cy:41.3,r:36.83,style:{fill:"#fff"}}),t("path",{d:"M41.3 0a41.3 41.3 0 1 0 41.3 41.3A41.18 41.18 0 0 0 41.54 0Zm.7 42.7-4.3 14.5h23a1.16 1.16 0 0 1 1.2 1.12v.38l-2 6.9a1.49 1.49 0 0 1-1.5 1.1H23.2l5.9-20.1-6.6 2L24 44l6.6-2 8.3-28.2a1.51 1.51 0 0 1 1.5-1.1h8.9a1.16 1.16 0 0 1 1.2 1.12v.38l-7 23.8 6.6-2-1.4 4.8Z",style:{fill:"#345d9d"}})]}))),Ot=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 236.36 200","aria-hidden":"true",...e,children:t("g",{"data-name":"Layer 2",children:t("g",{"data-name":"Layer 1",children:t("path",{d:"m203 26.16-28.46 14.5-137.43 70a82.5 82.5 0 0 1-.7-10.69A81.87 81.87 0 0 1 158.2 28.6l16.29-8.3 2.43-1.24A100 100 0 0 0 18.18 100q0 3.82.29 7.61a18.19 18.19 0 0 1-9.88 17.58L0 129.57V150l25.29-12.89 8.19-4.18 8.07-4.11L186.43 55l16.28-8.29 33.65-17.15V9.14ZM236.36 50 49.78 145l-16.28 8.31L0 170.38v20.41l33.27-16.95 28.46-14.5 137.57-70.1A83.5 83.5 0 0 1 200 100a81.87 81.87 0 0 1-121.91 71.36l-1 .53-17.66 9A100 100 0 0 0 218.18 100c0-2.57-.1-5.14-.29-7.68a18.2 18.2 0 0 1 9.87-17.58l8.6-4.38Z"})})})})));function St(e,t={}){let r=!1;function n(t){const r=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>t}}return{parts:function(...i){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const e of i)t[e]=n(e);return St(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return St(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.selector])))},classnames:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.className])))},get keys(){return Object.keys(t)},__type:{}}}var jt=St("accordion").parts("root","container","button","panel").extend("icon"),At=St("alert").parts("title","description","container").extend("icon","spinner");St("avatar").parts("label","badge","container").extend("excessLabel","group"),St("breadcrumb").parts("link","item","container").extend("separator"),St("button").parts();var Pt=St("checkbox").parts("control","icon","container").extend("label");St("progress").parts("track","filledTrack").extend("label"),St("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),St("editable").parts("preview","input","textarea"),St("form").parts("container","requiredIndicator","helperText"),St("formError").parts("text","icon");var Mt=St("input").parts("addon","field","element","group");St("list").parts("container","item","icon"),St("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),St("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),St("numberinput").parts("root","field","stepperGroup","stepper"),St("pininput").parts("field"),St("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),St("progress").parts("label","filledTrack","track"),St("radio").parts("container","control","label");var kt=St("select").parts("field","icon");St("slider").parts("container","track","thumb","filledTrack","mark"),St("stat").parts("container","label","helpText","number","icon"),St("switch").parts("container","track","thumb","label"),St("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),St("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");var Et=St("tag").parts("container","label","closeButton");St("card").parts("container","header","body","footer"),St("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Ct=1e6,_t=1e6,Tt="[big.js] ",Dt=Tt+"Invalid ",Nt=Dt+"decimal places",It=Dt+"rounding mode",Lt=Tt+"Division by zero",Bt={},Rt=void 0,zt=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function $t(e,t,r,n){var i=e.c;if(r===Rt&&(r=e.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error(It);if(t<1)n=3===r&&(n||!!i[0])||0===t&&(1===r&&i[0]>=5||2===r&&(i[0]>5||5===i[0]&&(n||i[1]!==Rt))),i.length=1,n?(e.e=e.e-t+1,i[0]=1):i[0]=e.e=0;else if(t<i.length){if(n=1===r&&i[t]>=5||2===r&&(i[t]>5||5===i[t]&&(n||i[t+1]!==Rt||1&i[t-1]))||3===r&&(n||!!i[0]),i.length=t,n)for(;++i[--t]>9;)if(i[t]=0,0===t){++e.e,i.unshift(1);break}for(t=i.length;!i[--t];)i.pop()}return e}function Ht(e,t,r){var n=e.e,i=e.c.join(""),o=i.length;if(t)i=i.charAt(0)+(o>1?"."+i.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)i="0"+i;i="0."+i}else if(n>0)if(++n>o)for(n-=o;n--;)i+="0";else n<o&&(i=i.slice(0,n)+"."+i.slice(n));else o>1&&(i=i.charAt(0)+"."+i.slice(1));return e.s<0&&r?"-"+i:i}Bt.abs=function(){var e=new this.constructor(this);return e.s=1,e},Bt.cmp=function(e){var t,r=this,n=r.c,i=(e=new r.constructor(e)).c,o=r.s,a=e.s,c=r.e,l=e.e;if(!n[0]||!i[0])return n[0]?o:i[0]?-a:0;if(o!=a)return o;if(t=o<0,c!=l)return c>l^t?1:-1;for(a=(c=n.length)<(l=i.length)?c:l,o=-1;++o<a;)if(n[o]!=i[o])return n[o]>i[o]^t?1:-1;return c==l?0:c>l^t?1:-1},Bt.div=function(e){var t=this,r=t.constructor,n=t.c,i=(e=new r(e)).c,o=t.s==e.s?1:-1,a=r.DP;if(a!==~~a||a<0||a>Ct)throw Error(Nt);if(!i[0])throw Error(Lt);if(!n[0])return e.s=o,e.c=[e.e=0],e;var c,l,u,s,f,p=i.slice(),h=c=i.length,d=n.length,y=n.slice(0,c),v=y.length,g=e,m=g.c=[],b=0,w=a+(g.e=t.e-e.e)+1;for(g.s=o,o=w<0?0:w,p.unshift(0);v++<c;)y.push(0);do{for(u=0;u<10;u++){if(c!=(v=y.length))s=c>v?1:-1;else for(f=-1,s=0;++f<c;)if(i[f]!=y[f]){s=i[f]>y[f]?1:-1;break}if(!(s<0))break;for(l=v==c?i:p;v;){if(y[--v]<l[v]){for(f=v;f&&!y[--f];)y[f]=9;--y[f],y[v]+=10}y[v]-=l[v]}for(;!y[0];)y.shift()}m[b++]=s?u:++u,y[0]&&s?y[v]=n[h]||0:y=[n[h]]}while((h++<d||y[0]!==Rt)&&o--);return m[0]||1==b||(m.shift(),g.e--,w--),b>w&&$t(g,w,r.RM,y[0]!==Rt),g},Bt.eq=function(e){return 0===this.cmp(e)},Bt.gt=function(e){return this.cmp(e)>0},Bt.gte=function(e){return this.cmp(e)>-1},Bt.lt=function(e){return this.cmp(e)<0},Bt.lte=function(e){return this.cmp(e)<1},Bt.minus=Bt.sub=function(e){var t,r,n,i,o=this,a=o.constructor,c=o.s,l=(e=new a(e)).s;if(c!=l)return e.s=-l,o.plus(e);var u=o.c.slice(),s=o.e,f=e.c,p=e.e;if(!u[0]||!f[0])return f[0]?e.s=-l:u[0]?e=new a(o):e.s=1,e;if(c=s-p){for((i=c<0)?(c=-c,n=u):(p=s,n=f),n.reverse(),l=c;l--;)n.push(0);n.reverse()}else for(r=((i=u.length<f.length)?u:f).length,c=l=0;l<r;l++)if(u[l]!=f[l]){i=u[l]<f[l];break}if(i&&(n=u,u=f,f=n,e.s=-e.s),(l=(r=f.length)-(t=u.length))>0)for(;l--;)u[t++]=0;for(l=t;r>c;){if(u[--r]<f[r]){for(t=r;t&&!u[--t];)u[t]=9;--u[t],u[r]+=10}u[r]-=f[r]}for(;0===u[--l];)u.pop();for(;0===u[0];)u.shift(),--p;return u[0]||(e.s=1,u=[p=0]),e.c=u,e.e=p,e},Bt.mod=function(e){var t,r=this,n=r.constructor,i=r.s,o=(e=new n(e)).s;if(!e.c[0])throw Error(Lt);return r.s=e.s=1,t=1==e.cmp(r),r.s=i,e.s=o,t?new n(r):(i=n.DP,o=n.RM,n.DP=n.RM=0,r=r.div(e),n.DP=i,n.RM=o,this.minus(r.times(e)))},Bt.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},Bt.plus=Bt.add=function(e){var t,r,n,i=this,o=i.constructor;if(e=new o(e),i.s!=e.s)return e.s=-e.s,i.minus(e);var a=i.e,c=i.c,l=e.e,u=e.c;if(!c[0]||!u[0])return u[0]||(c[0]?e=new o(i):e.s=i.s),e;if(c=c.slice(),t=a-l){for(t>0?(l=a,n=u):(t=-t,n=c),n.reverse();t--;)n.push(0);n.reverse()}for(c.length-u.length<0&&(n=u,u=c,c=n),t=u.length,r=0;t;c[t]%=10)r=(c[--t]=c[t]+u[t]+r)/10|0;for(r&&(c.unshift(r),++l),t=c.length;0===c[--t];)c.pop();return e.c=c,e.e=l,e},Bt.pow=function(e){var t=this,r=new t.constructor("1"),n=r,i=e<0;if(e!==~~e||e<-1e6||e>_t)throw Error(Dt+"exponent");for(i&&(e=-e);1&e&&(n=n.times(t)),e>>=1;)t=t.times(t);return i?r.div(n):n},Bt.prec=function(e,t){if(e!==~~e||e<1||e>Ct)throw Error(Dt+"precision");return $t(new this.constructor(this),e,t)},Bt.round=function(e,t){if(e===Rt)e=0;else if(e!==~~e||e<-Ct||e>Ct)throw Error(Nt);return $t(new this.constructor(this),e+this.e+1,t)},Bt.sqrt=function(){var e,t,r,n=this,i=n.constructor,o=n.s,a=n.e,c=new i("0.5");if(!n.c[0])return new i(n);if(o<0)throw Error(Tt+"No square root");0===(o=Math.sqrt(n+""))||o===1/0?((t=n.c.join("")).length+a&1||(t+="0"),a=((a+1)/2|0)-(a<0||1&a),e=new i(((o=Math.sqrt(t))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+a)):e=new i(o+""),a=e.e+(i.DP+=4);do{r=e,e=c.times(r.plus(n.div(r)))}while(r.c.slice(0,a).join("")!==e.c.slice(0,a).join(""));return $t(e,(i.DP-=4)+e.e+1,i.RM)},Bt.times=Bt.mul=function(e){var t,r=this,n=r.constructor,i=r.c,o=(e=new n(e)).c,a=i.length,c=o.length,l=r.e,u=e.e;if(e.s=r.s==e.s?1:-1,!i[0]||!o[0])return e.c=[e.e=0],e;for(e.e=l+u,a<c&&(t=i,i=o,o=t,u=a,a=c,c=u),t=new Array(u=a+c);u--;)t[u]=0;for(l=c;l--;){for(c=0,u=a+l;u>l;)c=t[u]+o[l]*i[u-l-1]+c,t[u--]=c%10,c=c/10|0;t[u]=c}for(c?++e.e:t.shift(),l=t.length;!t[--l];)t.pop();return e.c=t,e},Bt.toExponential=function(e,t){var r=this,n=r.c[0];if(e!==Rt){if(e!==~~e||e<0||e>Ct)throw Error(Nt);for(r=$t(new r.constructor(r),++e,t);r.c.length<e;)r.c.push(0)}return Ht(r,!0,!!n)},Bt.toFixed=function(e,t){var r=this,n=r.c[0];if(e!==Rt){if(e!==~~e||e<0||e>Ct)throw Error(Nt);for(e=e+(r=$t(new r.constructor(r),e+r.e+1,t)).e+1;r.c.length<e;)r.c.push(0)}return Ht(r,!1,!!n)},Bt[Symbol.for("nodejs.util.inspect.custom")]=Bt.toJSON=Bt.toString=function(){var e=this,t=e.constructor;return Ht(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},Bt.toNumber=function(){var e=Number(Ht(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(Tt+"Imprecise conversion");return e},Bt.toPrecision=function(e,t){var r=this,n=r.constructor,i=r.c[0];if(e!==Rt){if(e!==~~e||e<1||e>Ct)throw Error(Dt+"precision");for(r=$t(new n(r),e,t);r.c.length<e;)r.c.push(0)}return Ht(r,e<=r.e||r.e<=n.NE||r.e>=n.PE,!!i)},Bt.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(Tt+"valueOf disallowed");return Ht(e,e.e<=t.NE||e.e>=t.PE,!0)};var Vt=function e(){function t(r){var n=this;if(!(n instanceof t))return r===Rt?e():new t(r);if(r instanceof t)n.s=r.s,n.e=r.e,n.c=r.c.slice();else{if("string"!=typeof r){if(!0===t.strict&&"bigint"!=typeof r)throw TypeError(Dt+"value");r=0===r&&1/r<0?"-0":String(r)}!function(e,t){var r,n,i;if(!zt.test(t))throw Error(Dt+"number");e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(r=t.indexOf("."))>-1&&(t=t.replace(".",""));(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length);for(i=t.length,n=0;n<i&&"0"==t.charAt(n);)++n;if(n==i)e.c=[e.e=0];else{for(;i>0&&"0"==t.charAt(--i););for(e.e=r-n-1,e.c=[],r=0;n<=i;)e.c[r++]=+t.charAt(n++)}}(n,r)}n.constructor=t}return t.prototype=Bt,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.strict=false,t.roundDown=0,t.roundHalfUp=1,t.roundHalfEven=2,t.roundUp=3,t}();const Ft=e=>{if(e.some((e=>!Number.isFinite(e))))throw new Error(`One or more of the provided amounts is not a finite number. (amounts: ${e}, method: aggregateAmounts)`);return e.reduce(((e,t)=>e.plus(t)),new Vt(0)).toNumber()};var Ut="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Wt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qt={exports:{}};qt.exports=function(){var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",o="minute",a="hour",c="day",l="week",u="month",s="quarter",f="year",p="date",h="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},m={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,u),o=r-i<0,a=t.clone().add(n+(o?-1:1),u);return+(-(n+(r-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:f,w:l,d:c,D:p,h:a,m:o,s:i,ms:n,Q:s}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",w={};w[b]=v;var x="$isDayjsObject",O=function(e){return e instanceof P||!(!e||!e[x])},S=function e(t,r,n){var i;if(!t)return b;if("string"==typeof t){var o=t.toLowerCase();w[o]&&(i=o),r&&(w[o]=r,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var c=t.name;w[c]=t,i=c}return!n&&i&&(b=i),i||!n&&b},j=function(e,t){if(O(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new P(r)},A=m;A.l=S,A.i=O,A.w=function(e,t){return j(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function v(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(A.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return A},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var r=j(e);return this.startOf(t)<=r&&r<=this.endOf(t)},g.isAfter=function(e,t){return j(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<j(e)},g.$g=function(e,t,r){return A.u(e)?this[t]:this.set(r,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var r=this,n=!!A.u(t)||t,s=A.p(e),h=function(e,t){var i=A.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(c)},d=function(e,t){return A.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},y=this.$W,v=this.$M,g=this.$D,m="set"+(this.$u?"UTC":"");switch(s){case f:return n?h(1,0):h(31,11);case u:return n?h(1,v):h(0,v+1);case l:var b=this.$locale().weekStart||0,w=(y<b?y+7:y)-b;return h(n?g-w:g+(6-w),v);case c:case p:return d(m+"Hours",0);case a:return d(m+"Minutes",1);case o:return d(m+"Seconds",2);case i:return d(m+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var r,l=A.p(e),s="set"+(this.$u?"UTC":""),h=(r={},r[c]=s+"Date",r[p]=s+"Date",r[u]=s+"Month",r[f]=s+"FullYear",r[a]=s+"Hours",r[o]=s+"Minutes",r[i]=s+"Seconds",r[n]=s+"Milliseconds",r)[l],d=l===c?this.$D+(t-this.$W):t;if(l===u||l===f){var y=this.clone().set(p,1);y.$d[h](d),y.init(),this.$d=y.set(p,Math.min(this.$D,y.daysInMonth())).$d}else h&&this.$d[h](d);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[A.p(e)]()},g.add=function(n,s){var p,h=this;n=Number(n);var d=A.p(s),y=function(e){var t=j(h);return A.w(t.date(t.date()+Math.round(e*n)),h)};if(d===u)return this.set(u,this.$M+n);if(d===f)return this.set(f,this.$y+n);if(d===c)return y(1);if(d===l)return y(7);var v=(p={},p[o]=t,p[a]=r,p[i]=e,p)[d]||1,g=this.$d.getTime()+n*v;return A.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),o=this.$H,a=this.$m,c=this.$M,l=r.weekdays,u=r.months,s=r.meridiem,f=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].slice(0,o)},p=function(e){return A.s(o%12||12,e,"0")},d=s||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(y,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return A.s(t.$y,4,"0");case"M":return c+1;case"MM":return A.s(c+1,2,"0");case"MMM":return f(r.monthsShort,c,u,3);case"MMMM":return f(u,c);case"D":return t.$D;case"DD":return A.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(r.weekdaysMin,t.$W,l,2);case"ddd":return f(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return A.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return d(o,a,!0);case"A":return d(o,a,!1);case"m":return String(a);case"mm":return A.s(a,2,"0");case"s":return String(t.$s);case"ss":return A.s(t.$s,2,"0");case"SSS":return A.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,p,h){var d,y=this,v=A.p(p),g=j(n),m=(g.utcOffset()-this.utcOffset())*t,b=this-g,w=function(){return A.m(y,g)};switch(v){case f:d=w()/12;break;case u:d=w();break;case s:d=w()/3;break;case l:d=(b-m)/6048e5;break;case c:d=(b-m)/864e5;break;case a:d=b/r;break;case o:d=b/t;break;case i:d=b/e;break;default:d=b}return h?d:A.a(d)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return w[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=S(e,t,!0);return n&&(r.$L=n),r},g.clone=function(){return A.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),M=P.prototype;return j.prototype=M,[["$ms",n],["$s",i],["$m",o],["$H",a],["$W",c],["$M",u],["$y",f],["$D",p]].forEach((function(e){M[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),j.extend=function(e,t){return e.$i||(e(t,P,j),e.$i=!0),j},j.locale=S,j.isDayjs=O,j.unix=function(e){return j(1e3*e)},j.en=w[b],j.Ls=w,j.p={},j}();var Yt,Xt,Kt,Gt=Wt(qt.exports),Zt={exports:{}};Zt.exports=(Yt="minute",Xt=/[+-]\d\d(?::?\d\d)?/g,Kt=/([+-]|\d\d)/g,function(e,t,r){var n=t.prototype;r.utc=function(e){return new t({date:e,utc:!0,args:arguments})},n.utc=function(e){var t=r(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),Yt):t},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var i=n.parse;n.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),i.call(this,e)};var o=n.init;n.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else o.call(this)};var a=n.utcOffset;n.utcOffset=function(e,t){var r=this.$utils().u;if(r(e))return this.$u?0:r(this.$offset)?a.call(this):this.$offset;if("string"==typeof e&&(e=function(e){void 0===e&&(e="");var t=e.match(Xt);if(!t)return null;var r=(""+t[0]).match(Kt)||["-",0,0],n=r[0],i=60*+r[1]+ +r[2];return 0===i?0:"+"===n?i:-i}(e),null===e))return this;var n=Math.abs(e)<=16?60*e:e,i=this;if(t)return i.$offset=n,i.$u=0===e,i;if(0!==e){var o=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(n+o,Yt)).$offset=n,i.$x.$localOffset=o}else i=this.utc();return i};var c=n.format;n.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},n.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var l=n.toDate;n.toDate=function(e){return"s"===e&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var u=n.diff;n.diff=function(e,t,n){if(e&&this.$u===e.$u)return u.call(this,e,t,n);var i=this.local(),o=r(e).local();return u.call(i,o,t,n)}});var Jt=Wt(Zt.exports);Gt.extend(Jt);const Qt=({timeString:e,toEndDate:t})=>""===e?"":t?Gt(`${e}T23:59:59`).utc().unix().toString():Gt(e).utc().unix().toString(),er=({number:e,signDisplay:t="exceptZero",isDecimal:r=!0})=>{const n=Number(e);if(!Number.isFinite(n))return console.log(`Number is not a finite number. (number: ${n}, method: formatPercentage)`),e;return new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:2,signDisplay:t}).format(r?n:Vt(n).div(100).toNumber())};
2
2
  /*!
3
3
  * currency.js - v2.0.4
4
4
  * http://scurker.github.io/currency.js
@@ -6,7 +6,7 @@ import{jsxs as t,jsx as e,Fragment as r}from"react/jsx-runtime";import{chakra as
6
6
  * Copyright (c) 2021 Jason Wilson
7
7
  * Released under MIT license
8
8
  */
9
- var er={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(t,e){var r=e.pattern,n=e.negativePattern,i=e.symbol,o=e.separator,a=e.decimal,c=e.groups,l=(""+t).replace(/^-/,"").split("."),u=l[0],s=l[1];return(t.value>=0?r:n).replace("!",i).replace("#",u.replace(c,"$1"+o)+(s?a+s:""))},fromCents:!1},rr=function(t){return Math.round(t)},nr=function(t){return Math.pow(10,t)},ir=/(\d)(?=(\d{3})+\b)/g,or=/(\d)(?=(\d\d)+\d\b)/g;function ar(t,e){var r=this;if(!(r instanceof ar))return new ar(t,e);var n=Object.assign({},er,e),i=nr(n.precision),o=cr(t,n);r.intValue=o,r.value=o/i,n.increment=n.increment||1/i,n.useVedic?n.groups=or:n.groups=ir,this.s=n,this.p=i}function cr(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=0,i=e.decimal,o=e.errorOnInvalid,a=e.precision,c=e.fromCents,l=nr(a),u="number"==typeof t,s=t instanceof ar;if(s&&c)return t.intValue;if(u||s)n=s?t.value:t;else if("string"==typeof t){var f=new RegExp("[^-\\d"+i+"]","g"),p=new RegExp("\\"+i,"g");n=(n=t.replace(/\((.*)\)/,"-$1").replace(f,"").replace(p,"."))||0}else{if(o)throw Error("Invalid Input");n=0}return c||(n=(n*=l).toFixed(4)),r?rr(n):n}ar.prototype={add:function(t){var e=this.intValue,r=this.s,n=this.p;return ar((e+=cr(t,r))/(r.fromCents?1:n),r)},subtract:function(t){var e=this.intValue,r=this.s,n=this.p;return ar((e-=cr(t,r))/(r.fromCents?1:n),r)},multiply:function(t){var e=this.intValue,r=this.s;return ar((e*=t)/(r.fromCents?1:nr(r.precision)),r)},divide:function(t){var e=this.intValue,r=this.s;return ar(e/=cr(t,r,!1),r)},distribute:function(t){for(var e=this.intValue,r=this.p,n=this.s,i=[],o=Math[e>=0?"floor":"ceil"](e/t),a=Math.abs(e-o*t),c=n.fromCents?1:r;0!==t;t--){var l=ar(o/c,n);a-- >0&&(l=l[e>=0?"add":"subtract"](1/c)),i.push(l)}return i},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(t){var e=this.s;return"function"==typeof t?t(this,e):e.format(this,Object.assign({},e,t))},toString:function(){var t,e,r=this.intValue,n=this.p,i=this.s;return(t=r/n,e=i.increment,rr(t/e)*e).toFixed(i.precision)},toJSON:function(){return this.value}};const lr=({amount:t,autoPrecision:e,precision:r=2,signDisplay:n=!1})=>{const i=Number(t);if(!Number.isFinite(i))return console.log(`Amount is not a finite number. (amount: ${i}, method: formatUsd)`),t;const o=ar(i,{precision:e&&i>-1&&i<1&&0!==i?5:r}).format();return n&&i>0?`+${o}`:o},ur=({data:t,dataKey:e})=>{const r=t?.length?Number(t[0][e]):0,n=t?.length?Number(t[t.length-1][e]):0;if(!t?.length)return{startingAmount:0,endingAmount:0,delta:0,percentChange:0,isNetGain:!0};if(!Number.isFinite(r)||!Number.isFinite(n))throw new Error(`Starting or ending amount is not a finite number. (startingAmount: ${r}, endingAmount: ${n}, method: getDelta)`);const i=new Ve(r),o=new Ve(n),a=o.minus(i);return{startingAmount:r,endingAmount:n,delta:a.toNumber(),percentChange:0===i.toNumber()?0:a.div(i).mul(100).toNumber(),isNetGain:o.gt(i)}},sr=t=>{let e;return["sm","xs"].includes(t)&&(e="xs"),e},fr=({arr:t,n:e})=>{const r=vr(t);return vr(r.filter(((t,r)=>r%e==0)))},pr={redRemains:(t=1)=>hr({rgb:"rgb(255, 223, 223)",alpha:t}),heroicRed:(t=1)=>hr({rgb:"rgb(210, 25, 25)",alpha:t}),aijiroWhite:(t=1)=>hr({rgb:"rgb(238, 248, 247)",alpha:t}),mint:(t=1)=>hr({rgb:"rgb(64, 178, 136)",alpha:t}),white:(t=1)=>hr({rgb:"rgb(255, 255, 255)",alpha:t,enabledAlphaValues:[.2]}),lighthouse:(t=1)=>hr({rgb:"rgb(244, 244, 244)",alpha:t}),coolElegance:(t=1)=>hr({rgb:"rgb(205, 207, 209)",alpha:t}),sonicSilver:(t=1)=>hr({rgb:"rgb(117, 117, 117)",alpha:t}),black:(t=1)=>hr({rgb:"rgb(0, 0, 0)",alpha:t,enabledAlphaValues:[.08]})},hr=({rgb:t,alpha:e,enabledAlphaValues:r=[1]})=>{if(![...r,1].includes(e))throw`Unsupported alpha value: ${e}. Update the color function in uiColors.ts to enable additional values.`;const[n,i,o]=t.replace(/[^\d,]/g,"").split(",");return`rgba(${n}, ${i}, ${o}, ${e})`},dr=({usd:t,precision:e=2,autoPrecision:r})=>{const n=ar(t).value;return ar(t,{precision:r&&n>-1&&n<1&&0!==n?5:e}).value};Ge.extend(Je);const yr=({dateFormat:t="MM/DD/YY",timeString:e})=>Ge.utc(e).local().format(t),vr=t=>Array.from(t).reverse(),{definePartsStyle:gr,defineMultiStyleConfig:mr}=i(je.keys),br=mr({baseStyle:gr({root:{display:"flex",flexDirection:"column",gap:2},container:{borderRadius:"lg",borderWidth:"1px",borderStyle:"solid",borderColor:"gray.300",bg:"gray.100",color:"black",overflow:"hidden",'&:has(button[aria-expanded="true"])':{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"}},button:{px:4,py:4,bg:pr.white(),fontSize:"md",_hover:{bg:pr.lighthouse()}},panel:{borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"gray.300",fontSize:"sm",bg:pr.lighthouse(),py:"4",px:"4"}}),variants:{spacious:gr({container:{borderRadius:"lg"},button:{py:8,px:6,fontSize:"md"},panel:{fontSize:"sm",bg:pr.lighthouse(),p:"8"}})}}),{definePartsStyle:wr,defineMultiStyleConfig:xr}=i(Ae.keys),Or=xr({baseStyle:wr((t=>{const{colorScheme:e,theme:r}=t,n=r.colors[e];return{icon:{svg:{path:{fill:n[500]}}},container:{bg:n[100],borderColor:n[500],borderRadius:"lg",borderStyle:"solid",borderWidth:1,padding:4},description:{color:"blackAlpha.900"},title:{color:"blackAlpha.900"}}})),defaultProps:{variant:"subtle"}}),Sr=o({borderColor:"red.700",color:"red.700",border:"solid 2px",":hover, :focus":{backgroundColor:"gray.200"},svg:{path:{fill:"red.700"}}}),jr=o({background:"brand.50",color:"brand.500",svg:{path:{fill:"brand.500"}},_hover:{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}},_active:{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}}}),Ar=o({border:"solid 2px",borderColor:"brand.600",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Pr=o({boxShadow:"none",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Mr=a({baseStyle:{boxShadow:"0px 8px 16px 0px rgba(0,0,0,0.08)",svg:{width:"1em",height:"1em",path:{fill:"white"}}},sizes:{xs:o({lineHeight:1})},variants:{alert:Sr,outline:Ar,ghost:Pr,secondary:jr}}),{definePartsStyle:kr,defineMultiStyleConfig:Er}=i(Pe.keys),Cr=Er({baseStyle:kr({control:{borderRadius:"base",borderColor:"brand.500",svg:{path:{fill:"inherit"}},_checked:{svg:{path:{fill:"white"}}},_hover:{bg:"gray.50",boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)",_disabled:{bg:"gray.100"}},_indeterminate:{bg:"brand.100",borderColor:"brand.100",_hover:{bg:"brand.100",boxShadow:"none"}},_invalid:{_checked:{borderColor:"brand.500"}}}}),sizes:{lg:{control:{boxSize:7,svg:{width:"1.75em"}}},md:{control:{boxSize:6,svg:{width:"1.5em"}}},sm:{control:{boxSize:4,svg:{width:"1.5em"}}}}}),_r=a({baseStyle:{helperText:{fontSize:"sm"}}}),Tr=a({sizes:{sm:{text:{fontSize:"xs"}},xs:{text:{fontSize:"xs"}}}}),Dr=a({baseStyle:{color:pr.sonicSilver(),_groupInvalid:{color:"red.500"}},sizes:{sm:{fontSize:"sm"},xs:{fontSize:"xs"}}}),Nr=a({sizes:{xl:o({fontSize:"4xl"}),lg:o({fontSize:"3xl"}),md:o({fontSize:"2xl"}),sm:o({fontSize:"xl"}),xs:o({fontSize:"md"})}}),{definePartsStyle:Ir,defineMultiStyleConfig:Lr}=i(Me.keys),Br=Lr({baseStyle:Ir({group:{svg:{width:"1.25em",height:"1.25em",":not(.coin-logo)":{path:{fill:"gray.800"}}},_groupDisabled:{"svg:not(.coin-logo)":{path:{fill:"gray.400"}}}},field:{_readOnly:{pointerEvents:"none"}}}),variants:{outline:{field:{border:"solid 1px",borderRadius:"lg",borderColor:"brand.200",":focus, :hover":{borderColor:"brand.600"},":hover:not([disabled])":{bg:"gray.50",boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},color:"gray.800",_disabled:{bg:"gray.200",borderColor:"gray.300",color:"gray.900",":focus, :hover":{bg:"gray.200",borderColor:"gray.300"}},_invalid:{boxShadow:"none",":focus, :hover":{borderColor:"red.500"}}}}},defaultProps:{variant:"outline"}}),{definePartsStyle:Rr,defineMultiStyleConfig:zr}=i(ke.keys),$r=zr({baseStyle:Rr({icon:{svg:{path:{fill:"gray.800"}},_disabled:{svg:{path:{fill:"gray.400"}}}},field:{_readOnly:{pointerEvents:"none"}}}),variants:{outline:{field:{border:"solid 1px",borderRadius:"lg",borderColor:"brand.200",":focus, :hover":{borderColor:"brand.600"},":hover:not([disabled])":{bg:"gray.50",boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},color:"gray.800",_disabled:{bg:"gray.200",borderColor:"gray.300",color:"gray.900",":focus, :hover":{bg:"gray.200",borderColor:"gray.300"}},_invalid:{boxShadow:"none",":focus, :hover":{borderColor:"red.500"}}}}},sizes:{lg:{icon:{fontSize:"lg"}},md:{icon:{fontSize:"md"}},sm:{icon:{fontSize:"sm"}},xs:{icon:{fontSize:"xs"}}},defaultProps:{variant:"outline"}}),Hr=a({variants:{simple:{th:{borderColor:pr.coolElegance()},td:{borderColor:pr.coolElegance()},tr:{_last:{td:{border:"none"}}}},grayHeader:{th:{background:pr.lighthouse(),color:pr.sonicSilver(),borderBottom:"1px solid",borderColor:pr.coolElegance()},td:{borderBottom:"1px solid",borderColor:pr.coolElegance()},tr:{_last:{td:{border:"none"}}}}}}),{definePartsStyle:Vr,defineMultiStyleConfig:Fr}=i(Ee.keys),Ur=Vr({container:{color:"blackAlpha.900",fontWeight:"bold",borderRadius:"full",svg:{path:{fill:"blackAlpha.900"}}}}),Wr=Vr({container:{bg:"red.100",borderWidth:1,borderColor:"red.500"}}),qr=Vr({container:{bg:"yellow.100",borderColor:"yellow.500",borderWidth:1}});var Yr=c({colors:{brand:{50:"#fcf2fe",100:"#f0c4f9",200:"#eaacf7",300:"#e495f4",400:"#de7ef2",500:"#d250ed",600:"#c622e8",700:"#b816da",800:"#a514c3",900:"#7e0f95"}},components:{Accordion:br,Alert:Or,Button:Mr,Checkbox:Cr,Input:Br,Heading:Nr,Form:_r,FormLabel:Dr,FormError:Tr,Select:$r,Table:Hr,Tag:Fr({baseStyle:Ur,defaultProps:{variant:"outline"},variants:{error:Wr,success:Vr({container:{bg:"green.100",borderColor:"green.500",borderWidth:1}}),warning:qr,outline:{container:{boxShadow:"none",borderColor:"brand.500",borderWidth:1}}},sizes:{sm:{container:{px:4,py:0}},md:{container:{px:6,py:1}},lg:{container:{px:6,py:1}}}})},styles:{global:{"[data-focus], :focus":{boxShadow:"none !important"},"::placeholder":{color:"gray.500"},"input[type=date]:invalid::-webkit-datetime-edit":{color:"gray.500"},"::-webkit-calendar-picker-indicator":{cursor:"pointer",filter:"opacity(40%)"},".recharts-surface":{overflow:"visible !important"},".recharts-surface .shadow":{filter:"drop-shadow(0 3px 5px rgba(0, 0, 0, 0.075))"}}}},l({colorScheme:"brand"}));const Xr={components:Yr.components,styles:Yr.styles},Kr=t=>{const e=String(t).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return e?`(${e[1]}) ${e[2]}-${e[3]}`:t};let Gr,Zr,Jr=(t=21)=>{var e;e=t-=0,!Gr||Gr.length<e?(Gr=Buffer.allocUnsafe(128*e),J.randomFillSync(Gr),Zr=0):Zr+e>Gr.length&&(J.randomFillSync(Gr),Zr=0),Zr+=e;let r="";for(let e=Zr-t;e<Zr;e++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&Gr[e]];return r};function Qr(t){var e,r,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=Qr(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function tn(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=Qr(t))&&(n&&(n+=" "),n+=e);return n}var en=Array.isArray,rn="object"==typeof Ue&&Ue&&Ue.Object===Object&&Ue,nn=rn,on="object"==typeof self&&self&&self.Object===Object&&self,an=nn||on||Function("return this")(),cn=an.Symbol,ln=cn,un=Object.prototype,sn=un.hasOwnProperty,fn=un.toString,pn=ln?ln.toStringTag:void 0;var hn=function(t){var e=sn.call(t,pn),r=t[pn];try{t[pn]=void 0;var n=!0}catch(t){}var i=fn.call(t);return n&&(e?t[pn]=r:delete t[pn]),i},dn=Object.prototype.toString;var yn=hn,vn=function(t){return dn.call(t)},gn=cn?cn.toStringTag:void 0;var mn=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":gn&&gn in Object(t)?yn(t):vn(t)};var bn=function(t){return null!=t&&"object"==typeof t},wn=mn,xn=bn;var On=function(t){return"symbol"==typeof t||xn(t)&&"[object Symbol]"==wn(t)},Sn=en,jn=On,An=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pn=/^\w*$/;var Mn=function(t,e){if(Sn(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!jn(t))||(Pn.test(t)||!An.test(t)||null!=e&&t in Object(e))};var kn=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},En=We(kn),Cn=mn,_n=kn;var Tn,Dn=function(t){if(!_n(t))return!1;var e=Cn(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},Nn=We(Dn),In=an["__core-js_shared__"],Ln=(Tn=/[^.]+$/.exec(In&&In.keys&&In.keys.IE_PROTO||""))?"Symbol(src)_1."+Tn:"";var Bn=function(t){return!!Ln&&Ln in t},Rn=Function.prototype.toString;var zn=function(t){if(null!=t){try{return Rn.call(t)}catch(t){}try{return t+""}catch(t){}}return""},$n=Dn,Hn=Bn,Vn=kn,Fn=zn,Un=/^\[object .+?Constructor\]$/,Wn=Function.prototype,qn=Object.prototype,Yn=Wn.toString,Xn=qn.hasOwnProperty,Kn=RegExp("^"+Yn.call(Xn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Gn=function(t,e){return null==t?void 0:t[e]},Zn=function(t){return!(!Vn(t)||Hn(t))&&($n(t)?Kn:Un).test(Fn(t))},Jn=Gn;var Qn=function(t,e){var r=Jn(t,e);return Zn(r)?r:void 0},ti=Qn(Object,"create"),ei=ti;var ri=function(){this.__data__=ei?ei(null):{},this.size=0};var ni=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ii=ti,oi=Object.prototype.hasOwnProperty;var ai=function(t){var e=this.__data__;if(ii){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return oi.call(e,t)?e[t]:void 0},ci=ti,li=Object.prototype.hasOwnProperty;var ui=ti;var si=ri,fi=ni,pi=ai,hi=function(t){var e=this.__data__;return ci?void 0!==e[t]:li.call(e,t)},di=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ui&&void 0===e?"__lodash_hash_undefined__":e,this};function yi(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}yi.prototype.clear=si,yi.prototype.delete=fi,yi.prototype.get=pi,yi.prototype.has=hi,yi.prototype.set=di;var vi=yi;var gi=function(){this.__data__=[],this.size=0};var mi=function(t,e){return t===e||t!=t&&e!=e},bi=mi;var wi=function(t,e){for(var r=t.length;r--;)if(bi(t[r][0],e))return r;return-1},xi=wi,Oi=Array.prototype.splice;var Si=wi;var ji=wi;var Ai=wi;var Pi=gi,Mi=function(t){var e=this.__data__,r=xi(e,t);return!(r<0)&&(r==e.length-1?e.pop():Oi.call(e,r,1),--this.size,!0)},ki=function(t){var e=this.__data__,r=Si(e,t);return r<0?void 0:e[r][1]},Ei=function(t){return ji(this.__data__,t)>-1},Ci=function(t,e){var r=this.__data__,n=Ai(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function _i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}_i.prototype.clear=Pi,_i.prototype.delete=Mi,_i.prototype.get=ki,_i.prototype.has=Ei,_i.prototype.set=Ci;var Ti=_i,Di=Qn(an,"Map"),Ni=vi,Ii=Ti,Li=Di;var Bi=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var Ri=function(t,e){var r=t.__data__;return Bi(e)?r["string"==typeof e?"string":"hash"]:r.map},zi=Ri;var $i=Ri;var Hi=Ri;var Vi=Ri;var Fi=function(){this.size=0,this.__data__={hash:new Ni,map:new(Li||Ii),string:new Ni}},Ui=function(t){var e=zi(this,t).delete(t);return this.size-=e?1:0,e},Wi=function(t){return $i(this,t).get(t)},qi=function(t){return Hi(this,t).has(t)},Yi=function(t,e){var r=Vi(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function Xi(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Xi.prototype.clear=Fi,Xi.prototype.delete=Ui,Xi.prototype.get=Wi,Xi.prototype.has=qi,Xi.prototype.set=Yi;var Ki=Xi,Gi=Ki;function Zi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(Zi.Cache||Gi),r}Zi.Cache=Gi;var Ji=Zi,Qi=We(Ji),to=Ji;var eo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ro=/\\(\\)?/g,no=function(t){var e=to(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(eo,(function(t,r,n,i){e.push(n?i.replace(ro,"$1"):r||t)})),e})),io=no;var oo=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i},ao=oo,co=en,lo=On,uo=cn?cn.prototype:void 0,so=uo?uo.toString:void 0;var fo=function t(e){if("string"==typeof e)return e;if(co(e))return ao(e,t)+"";if(lo(e))return so?so.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r},po=fo;var ho=function(t){return null==t?"":po(t)},yo=en,vo=Mn,go=io,mo=ho;var bo=function(t,e){return yo(t)?t:vo(t,e)?[t]:go(mo(t))},wo=On;var xo=function(t){if("string"==typeof t||wo(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e},Oo=bo,So=xo;var jo=function(t,e){for(var r=0,n=(e=Oo(e,t)).length;null!=t&&r<n;)t=t[So(e[r++])];return r&&r==n?t:void 0},Ao=jo;var Po=function(t,e,r){var n=null==t?void 0:Ao(t,e);return void 0===n?r:n},Mo=We(Po);var ko=We((function(t){return null==t})),Eo=mn,Co=en,_o=bn;var To,Do=We((function(t){return"string"==typeof t||!Co(t)&&_o(t)&&"[object String]"==Eo(t)})),No={exports:{}},Io={};var Lo,Bo={};
9
+ var tr={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(e,t){var r=t.pattern,n=t.negativePattern,i=t.symbol,o=t.separator,a=t.decimal,c=t.groups,l=(""+e).replace(/^-/,"").split("."),u=l[0],s=l[1];return(e.value>=0?r:n).replace("!",i).replace("#",u.replace(c,"$1"+o)+(s?a+s:""))},fromCents:!1},rr=function(e){return Math.round(e)},nr=function(e){return Math.pow(10,e)},ir=/(\d)(?=(\d{3})+\b)/g,or=/(\d)(?=(\d\d)+\d\b)/g;function ar(e,t){var r=this;if(!(r instanceof ar))return new ar(e,t);var n=Object.assign({},tr,t),i=nr(n.precision),o=cr(e,n);r.intValue=o,r.value=o/i,n.increment=n.increment||1/i,n.useVedic?n.groups=or:n.groups=ir,this.s=n,this.p=i}function cr(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=0,i=t.decimal,o=t.errorOnInvalid,a=t.precision,c=t.fromCents,l=nr(a),u="number"==typeof e,s=e instanceof ar;if(s&&c)return e.intValue;if(u||s)n=s?e.value:e;else if("string"==typeof e){var f=new RegExp("[^-\\d"+i+"]","g"),p=new RegExp("\\"+i,"g");n=(n=e.replace(/\((.*)\)/,"-$1").replace(f,"").replace(p,"."))||0}else{if(o)throw Error("Invalid Input");n=0}return c||(n=(n*=l).toFixed(4)),r?rr(n):n}ar.prototype={add:function(e){var t=this.intValue,r=this.s,n=this.p;return ar((t+=cr(e,r))/(r.fromCents?1:n),r)},subtract:function(e){var t=this.intValue,r=this.s,n=this.p;return ar((t-=cr(e,r))/(r.fromCents?1:n),r)},multiply:function(e){var t=this.intValue,r=this.s;return ar((t*=e)/(r.fromCents?1:nr(r.precision)),r)},divide:function(e){var t=this.intValue,r=this.s;return ar(t/=cr(e,r,!1),r)},distribute:function(e){for(var t=this.intValue,r=this.p,n=this.s,i=[],o=Math[t>=0?"floor":"ceil"](t/e),a=Math.abs(t-o*e),c=n.fromCents?1:r;0!==e;e--){var l=ar(o/c,n);a-- >0&&(l=l[t>=0?"add":"subtract"](1/c)),i.push(l)}return i},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(e){var t=this.s;return"function"==typeof e?e(this,t):t.format(this,Object.assign({},t,e))},toString:function(){var e,t,r=this.intValue,n=this.p,i=this.s;return(e=r/n,t=i.increment,rr(e/t)*t).toFixed(i.precision)},toJSON:function(){return this.value}};const lr=({amount:e,autoPrecision:t,precision:r=2,signDisplay:n=!1})=>{const i=Number(e);if(!Number.isFinite(i))return console.log(`Amount is not a finite number. (amount: ${i}, method: formatUsd)`),e;const o=ar(i,{precision:t&&i>-1&&i<1&&0!==i?5:r}).format();return n&&i>0?`+${o}`:o},ur=({data:e,dataKey:t})=>{const r=e?.length?Number(e[0][t]):0,n=e?.length?Number(e[e.length-1][t]):0;if(!e?.length)return{startingAmount:0,endingAmount:0,delta:0,percentChange:0,isNetGain:!0};if(!Number.isFinite(r)||!Number.isFinite(n))throw new Error(`Starting or ending amount is not a finite number. (startingAmount: ${r}, endingAmount: ${n}, method: getDelta)`);const i=new Vt(r),o=new Vt(n),a=o.minus(i);return{startingAmount:r,endingAmount:n,delta:a.toNumber(),percentChange:0===i.toNumber()?0:a.div(i).mul(100).toNumber(),isNetGain:o.gt(i)}},sr=e=>{let t;return["sm","xs"].includes(e)&&(t="xs"),t},fr=({arr:e,n:t})=>{const r=vr(e);return vr(r.filter(((e,r)=>r%t==0)))},pr={redRemains:(e=1)=>hr({rgb:"rgb(255, 223, 223)",alpha:e}),heroicRed:(e=1)=>hr({rgb:"rgb(210, 25, 25)",alpha:e}),aijiroWhite:(e=1)=>hr({rgb:"rgb(238, 248, 247)",alpha:e}),mint:(e=1)=>hr({rgb:"rgb(64, 178, 136)",alpha:e}),white:(e=1)=>hr({rgb:"rgb(255, 255, 255)",alpha:e,enabledAlphaValues:[.2]}),lighthouse:(e=1)=>hr({rgb:"rgb(244, 244, 244)",alpha:e}),coolElegance:(e=1)=>hr({rgb:"rgb(205, 207, 209)",alpha:e}),sonicSilver:(e=1)=>hr({rgb:"rgb(117, 117, 117)",alpha:e}),black:(e=1)=>hr({rgb:"rgb(0, 0, 0)",alpha:e,enabledAlphaValues:[.08]})},hr=({rgb:e,alpha:t,enabledAlphaValues:r=[1]})=>{if(![...r,1].includes(t))throw`Unsupported alpha value: ${t}. Update the color function in uiColors.ts to enable additional values.`;const[n,i,o]=e.replace(/[^\d,]/g,"").split(",");return`rgba(${n}, ${i}, ${o}, ${t})`},dr=({usd:e,precision:t=2,autoPrecision:r})=>{const n=ar(e).value;return ar(e,{precision:r&&n>-1&&n<1&&0!==n?5:t}).value};Gt.extend(Jt);const yr=({dateFormat:e="MM/DD/YY",timeString:t})=>Gt.utc(t).local().format(e),vr=e=>Array.from(e).reverse(),{definePartsStyle:gr,defineMultiStyleConfig:mr}=i(jt.keys),br=mr({baseStyle:gr({root:{display:"flex",flexDirection:"column",gap:2},container:{borderRadius:"lg",borderWidth:"1px",borderStyle:"solid",borderColor:"gray.300",bg:"gray.100",color:pr.black(),overflow:"hidden",'&:has(button[aria-expanded="true"])':{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"}},button:{px:4,py:4,bg:pr.white(),fontSize:"md",_hover:{bg:pr.lighthouse()}},panel:{borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"gray.300",fontSize:"sm",bg:pr.lighthouse(),py:"4",px:"4"}}),variants:{spacious:gr({container:{borderRadius:"lg"},button:{py:8,px:6,fontSize:"md"},panel:{fontSize:"sm",bg:pr.lighthouse(),p:"8"}})}}),{definePartsStyle:wr,defineMultiStyleConfig:xr}=i(At.keys),Or=xr({baseStyle:wr((e=>{const{colorScheme:t,theme:r}=e,n=r.colors[t];return{icon:{svg:{path:{fill:n[500]}}},container:{bg:n[100],borderColor:n[500],borderRadius:"lg",borderStyle:"solid",borderWidth:1,padding:4},description:{color:"blackAlpha.900"},title:{color:"blackAlpha.900"}}})),defaultProps:{variant:"subtle"}}),Sr=o({borderColor:"red.700",color:"red.700",border:"solid 2px",":hover, :focus":{backgroundColor:"gray.200"},svg:{path:{fill:"red.700"}}}),jr=o({":hover, :focus":{background:"brand.600"}}),Ar=o({background:"brand.50",color:"brand.500",svg:{path:{fill:"brand.500"}},":hover, :focus":{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}},_active:{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}}}),Pr=o({border:"solid 2px",borderColor:"brand.600",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Mr=o({boxShadow:"none",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),kr=a({baseStyle:{boxShadow:"0px 8px 16px 0px rgba(0,0,0,0.08)",svg:{width:"1em",height:"1em",path:{fill:"white"}}},sizes:{xs:o({lineHeight:1})},variants:{alert:Sr,outline:Pr,ghost:Mr,secondary:Ar,solid:jr}}),{definePartsStyle:Er,defineMultiStyleConfig:Cr}=i(Pt.keys),_r=Cr({baseStyle:Er({control:{borderRadius:"base",borderColor:"brand.500",svg:{path:{fill:"inherit"}},_checked:{svg:{path:{fill:"white"}}},_hover:{bg:"gray.50",boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)",_disabled:{bg:"gray.100"}},_indeterminate:{bg:"brand.100",borderColor:"brand.100",_hover:{bg:"brand.100",boxShadow:"none"}},_invalid:{_checked:{borderColor:"brand.500"}}}}),sizes:{lg:{control:{boxSize:7,svg:{width:"1.75em"}}},md:{control:{boxSize:6,svg:{width:"1.5em"}}},sm:{control:{boxSize:4,svg:{width:"1.5em"}}}}}),Tr=a({baseStyle:{helperText:{fontSize:"sm"}}}),Dr=a({sizes:{sm:{text:{fontSize:"xs"}},xs:{text:{fontSize:"xs"}}}}),Nr=a({baseStyle:{color:pr.sonicSilver(),fontFamily:"heading",fontSize:"sm",_disabled:{opacity:1}},sizes:{sm:{fontSize:"sm"},xs:{fontSize:"xs"}}}),Ir=a({sizes:{xl:o({fontSize:"4xl"}),lg:o({fontSize:"3xl"}),md:o({fontSize:"2xl"}),sm:o({fontSize:"xl"}),xs:o({fontSize:"md"})}}),{definePartsStyle:Lr,defineMultiStyleConfig:Br}=i(Mt.keys),Rr=Br({baseStyle:Lr({group:{"svg:not(.coin-logo)":{width:"1em",height:"1em"}},field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:Lr({field:{fontSize:"md"}})},variants:{outline:{group:{"svg:not(.coin-logo)":{path:{fill:pr.sonicSilver()}},_groupFocus:{"svg:not(.coin-logo)":{path:{fill:pr.black()}}},_groupDisabled:{"svg:not(.coin-logo)":{path:{fill:pr.coolElegance()}}}},field:{border:"solid 1px",borderRadius:"lg",borderColor:pr.coolElegance(),color:pr.sonicSilver(),":focus":{color:pr.black(),borderColor:pr.black()},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:pr.sonicSilver(),opacity:1,bg:pr.lighthouse(),":focus, :hover":{borderColor:pr.coolElegance(),bg:pr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},addon:{ml:"1em",border:"solid 1px",borderRadius:"lg",borderColor:pr.coolElegance(),color:pr.black(),":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},":focus":{borderColor:pr.black()},_disabled:{color:pr.sonicSilver(),opacity:1,bg:pr.lighthouse(),":focus, :hover":{borderColor:pr.coolElegance(),bg:pr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}}}},defaultProps:{size:"lg",variant:"outline"}}),{definePartsStyle:zr,defineMultiStyleConfig:$r}=i(kt.keys),Hr=$r({baseStyle:zr({field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:zr({field:{fontSize:"md"}})},variants:{outline:{field:{border:"solid 1px",borderColor:pr.coolElegance(),borderRadius:"lg",color:pr.sonicSilver(),pr:10,_focus:{color:pr.black(),borderColor:pr.black(),"+.chakra-select__icon-wrapper":{svg:{color:pr.black(),path:{fill:pr.black()}}}},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:pr.sonicSilver(),opacity:1,bg:pr.lighthouse(),":focus, :hover":{borderColor:pr.coolElegance(),bg:pr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},icon:{width:"1em",height:"1em",fontSize:"1em",mr:2,path:{fill:pr.sonicSilver()},_disabled:{opacity:1,path:{fill:pr.coolElegance()}}}}},defaultProps:{size:"lg",variant:"outline"}}),Vr=a({variants:{simple:{th:{borderColor:pr.coolElegance()},td:{borderColor:pr.coolElegance()},tr:{_last:{td:{border:"none"}}}},grayHeader:{th:{background:pr.lighthouse(),color:pr.sonicSilver(),borderBottom:"1px solid",borderColor:pr.coolElegance()},td:{borderBottom:"1px solid",borderColor:pr.coolElegance()},tr:{_last:{td:{border:"none"}}}}}}),{definePartsStyle:Fr,defineMultiStyleConfig:Ur}=i(Et.keys),Wr=Fr({container:{color:"blackAlpha.900",fontWeight:"bold",borderRadius:"full",svg:{path:{fill:"blackAlpha.900"}}}}),qr=Fr({container:{bg:"red.100",borderWidth:1,borderColor:"red.500"}}),Yr=Fr({container:{bg:"yellow.100",borderColor:"yellow.500",borderWidth:1}});var Xr=c({colors:{brand:{50:"#fcf2fe",100:"#f0c4f9",200:"#eaacf7",300:"#e495f4",400:"#de7ef2",500:"#d250ed",600:"#c622e8",700:"#b816da",800:"#a514c3",900:"#7e0f95"}},components:{Accordion:br,Alert:Or,Button:kr,Checkbox:_r,Input:Rr,Heading:Ir,Form:Tr,FormLabel:Nr,FormError:Dr,Select:Hr,Table:Vr,Tag:Ur({baseStyle:Wr,defaultProps:{variant:"outline"},variants:{error:qr,success:Fr({container:{bg:"green.100",borderColor:"green.500",borderWidth:1}}),warning:Yr,outline:{container:{boxShadow:"none",borderColor:"brand.500",borderWidth:1}}},sizes:{sm:{container:{px:4,py:0}},md:{container:{px:6,py:1}},lg:{container:{px:6,py:1}}}})},styles:{global:{"[data-focus], :focus":{boxShadow:"none !important"},"::placeholder":{color:"gray.500"},"input[type=date]:invalid::-webkit-datetime-edit":{color:"gray.500"},"::-webkit-calendar-picker-indicator":{cursor:"pointer",filter:"opacity(40%)"},".recharts-surface":{overflow:"visible !important"},".recharts-surface .shadow":{filter:"drop-shadow(0 3px 5px rgba(0, 0, 0, 0.075))"}}}},l({colorScheme:"brand"}));const Kr={components:Xr.components,styles:Xr.styles},Gr=e=>{const t=String(e).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return t?`(${t[1]}) ${t[2]}-${t[3]}`:e};let Zr,Jr,Qr=(e=21)=>{var t;t=e-=0,!Zr||Zr.length<t?(Zr=Buffer.allocUnsafe(128*t),J.randomFillSync(Zr),Jr=0):Jr+t>Zr.length&&(J.randomFillSync(Zr),Jr=0),Jr+=t;let r="";for(let t=Jr-e;t<Jr;t++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&Zr[t]];return r};function en(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=en(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function tn(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=en(e))&&(n&&(n+=" "),n+=t);return n}var rn=Array.isArray,nn="object"==typeof Ut&&Ut&&Ut.Object===Object&&Ut,on=nn,an="object"==typeof self&&self&&self.Object===Object&&self,cn=on||an||Function("return this")(),ln=cn.Symbol,un=ln,sn=Object.prototype,fn=sn.hasOwnProperty,pn=sn.toString,hn=un?un.toStringTag:void 0;var dn=function(e){var t=fn.call(e,hn),r=e[hn];try{e[hn]=void 0;var n=!0}catch(e){}var i=pn.call(e);return n&&(t?e[hn]=r:delete e[hn]),i},yn=Object.prototype.toString;var vn=dn,gn=function(e){return yn.call(e)},mn=ln?ln.toStringTag:void 0;var bn=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":mn&&mn in Object(e)?vn(e):gn(e)};var wn=function(e){return null!=e&&"object"==typeof e},xn=bn,On=wn;var Sn=function(e){return"symbol"==typeof e||On(e)&&"[object Symbol]"==xn(e)},jn=rn,An=Sn,Pn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mn=/^\w*$/;var kn=function(e,t){if(jn(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!An(e))||(Mn.test(e)||!Pn.test(e)||null!=t&&e in Object(t))};var En=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Cn=Wt(En),_n=bn,Tn=En;var Dn,Nn=function(e){if(!Tn(e))return!1;var t=_n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},In=Wt(Nn),Ln=cn["__core-js_shared__"],Bn=(Dn=/[^.]+$/.exec(Ln&&Ln.keys&&Ln.keys.IE_PROTO||""))?"Symbol(src)_1."+Dn:"";var Rn=function(e){return!!Bn&&Bn in e},zn=Function.prototype.toString;var $n=function(e){if(null!=e){try{return zn.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Hn=Nn,Vn=Rn,Fn=En,Un=$n,Wn=/^\[object .+?Constructor\]$/,qn=Function.prototype,Yn=Object.prototype,Xn=qn.toString,Kn=Yn.hasOwnProperty,Gn=RegExp("^"+Xn.call(Kn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Zn=function(e,t){return null==e?void 0:e[t]},Jn=function(e){return!(!Fn(e)||Vn(e))&&(Hn(e)?Gn:Wn).test(Un(e))},Qn=Zn;var ei=function(e,t){var r=Qn(e,t);return Jn(r)?r:void 0},ti=ei(Object,"create"),ri=ti;var ni=function(){this.__data__=ri?ri(null):{},this.size=0};var ii=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},oi=ti,ai=Object.prototype.hasOwnProperty;var ci=function(e){var t=this.__data__;if(oi){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ai.call(t,e)?t[e]:void 0},li=ti,ui=Object.prototype.hasOwnProperty;var si=ti;var fi=ni,pi=ii,hi=ci,di=function(e){var t=this.__data__;return li?void 0!==t[e]:ui.call(t,e)},yi=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=si&&void 0===t?"__lodash_hash_undefined__":t,this};function vi(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}vi.prototype.clear=fi,vi.prototype.delete=pi,vi.prototype.get=hi,vi.prototype.has=di,vi.prototype.set=yi;var gi=vi;var mi=function(){this.__data__=[],this.size=0};var bi=function(e,t){return e===t||e!=e&&t!=t},wi=bi;var xi=function(e,t){for(var r=e.length;r--;)if(wi(e[r][0],t))return r;return-1},Oi=xi,Si=Array.prototype.splice;var ji=xi;var Ai=xi;var Pi=xi;var Mi=mi,ki=function(e){var t=this.__data__,r=Oi(t,e);return!(r<0)&&(r==t.length-1?t.pop():Si.call(t,r,1),--this.size,!0)},Ei=function(e){var t=this.__data__,r=ji(t,e);return r<0?void 0:t[r][1]},Ci=function(e){return Ai(this.__data__,e)>-1},_i=function(e,t){var r=this.__data__,n=Pi(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function Ti(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ti.prototype.clear=Mi,Ti.prototype.delete=ki,Ti.prototype.get=Ei,Ti.prototype.has=Ci,Ti.prototype.set=_i;var Di=Ti,Ni=ei(cn,"Map"),Ii=gi,Li=Di,Bi=Ni;var Ri=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var zi=function(e,t){var r=e.__data__;return Ri(t)?r["string"==typeof t?"string":"hash"]:r.map},$i=zi;var Hi=zi;var Vi=zi;var Fi=zi;var Ui=function(){this.size=0,this.__data__={hash:new Ii,map:new(Bi||Li),string:new Ii}},Wi=function(e){var t=$i(this,e).delete(e);return this.size-=t?1:0,t},qi=function(e){return Hi(this,e).get(e)},Yi=function(e){return Vi(this,e).has(e)},Xi=function(e,t){var r=Fi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function Ki(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ki.prototype.clear=Ui,Ki.prototype.delete=Wi,Ki.prototype.get=qi,Ki.prototype.has=Yi,Ki.prototype.set=Xi;var Gi=Ki,Zi=Gi;function Ji(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(Ji.Cache||Zi),r}Ji.Cache=Zi;var Qi=Ji,eo=Wt(Qi),to=Qi;var ro=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,no=/\\(\\)?/g,io=function(e){var t=to(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ro,(function(e,r,n,i){t.push(n?i.replace(no,"$1"):r||e)})),t})),oo=io;var ao=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i},co=ao,lo=rn,uo=Sn,so=ln?ln.prototype:void 0,fo=so?so.toString:void 0;var po=function e(t){if("string"==typeof t)return t;if(lo(t))return co(t,e)+"";if(uo(t))return fo?fo.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r},ho=po;var yo=function(e){return null==e?"":ho(e)},vo=rn,go=kn,mo=oo,bo=yo;var wo=function(e,t){return vo(e)?e:go(e,t)?[e]:mo(bo(e))},xo=Sn;var Oo=function(e){if("string"==typeof e||xo(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},So=wo,jo=Oo;var Ao=function(e,t){for(var r=0,n=(t=So(t,e)).length;null!=e&&r<n;)e=e[jo(t[r++])];return r&&r==n?e:void 0},Po=Ao;var Mo=function(e,t,r){var n=null==e?void 0:Po(e,t);return void 0===n?r:n},ko=Wt(Mo);var Eo=Wt((function(e){return null==e})),Co=bn,_o=rn,To=wn;var Do,No=Wt((function(e){return"string"==typeof e||!_o(e)&&To(e)&&"[object String]"==Co(e)})),Io={exports:{}},Lo={};var Bo,Ro={};
10
10
  /** @license React v16.13.1
11
11
  * react-is.development.js
12
12
  *
@@ -14,5 +14,5 @@ var er={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,patte
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */"production"===process.env.NODE_ENV?No.exports=function(){if(To)return Io;To=1;var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,o=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,s=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,d=t?Symbol.for("react.lazy"):60116,y=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,g=t?Symbol.for("react.responder"):60118,m=t?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var p=t.$$typeof;switch(p){case e:switch(t=t.type){case l:case u:case n:case o:case i:case f:return t;default:switch(t=t&&t.$$typeof){case c:case s:case d:case h:case a:return t;default:return p}}case r:return p}}}function w(t){return b(t)===u}return Io.AsyncMode=l,Io.ConcurrentMode=u,Io.ContextConsumer=c,Io.ContextProvider=a,Io.Element=e,Io.ForwardRef=s,Io.Fragment=n,Io.Lazy=d,Io.Memo=h,Io.Portal=r,Io.Profiler=o,Io.StrictMode=i,Io.Suspense=f,Io.isAsyncMode=function(t){return w(t)||b(t)===l},Io.isConcurrentMode=w,Io.isContextConsumer=function(t){return b(t)===c},Io.isContextProvider=function(t){return b(t)===a},Io.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},Io.isForwardRef=function(t){return b(t)===s},Io.isFragment=function(t){return b(t)===n},Io.isLazy=function(t){return b(t)===d},Io.isMemo=function(t){return b(t)===h},Io.isPortal=function(t){return b(t)===r},Io.isProfiler=function(t){return b(t)===o},Io.isStrictMode=function(t){return b(t)===i},Io.isSuspense=function(t){return b(t)===f},Io.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===u||t===o||t===i||t===f||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===d||t.$$typeof===h||t.$$typeof===a||t.$$typeof===c||t.$$typeof===s||t.$$typeof===v||t.$$typeof===g||t.$$typeof===m||t.$$typeof===y)},Io.typeOf=b,Io}():No.exports=(Lo||(Lo=1,"production"!==process.env.NODE_ENV&&function(){var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,o=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,s=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,d=t?Symbol.for("react.lazy"):60116,y=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,g=t?Symbol.for("react.responder"):60118,m=t?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var p=t.$$typeof;switch(p){case e:var y=t.type;switch(y){case l:case u:case n:case o:case i:case f:return y;default:var v=y&&y.$$typeof;switch(v){case c:case s:case d:case h:case a:return v;default:return p}}case r:return p}}}var w=l,x=u,O=c,S=a,j=e,A=s,P=n,M=d,k=h,E=r,C=o,_=i,T=f,D=!1;function N(t){return b(t)===u}Bo.AsyncMode=w,Bo.ConcurrentMode=x,Bo.ContextConsumer=O,Bo.ContextProvider=S,Bo.Element=j,Bo.ForwardRef=A,Bo.Fragment=P,Bo.Lazy=M,Bo.Memo=k,Bo.Portal=E,Bo.Profiler=C,Bo.StrictMode=_,Bo.Suspense=T,Bo.isAsyncMode=function(t){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),N(t)||b(t)===l},Bo.isConcurrentMode=N,Bo.isContextConsumer=function(t){return b(t)===c},Bo.isContextProvider=function(t){return b(t)===a},Bo.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},Bo.isForwardRef=function(t){return b(t)===s},Bo.isFragment=function(t){return b(t)===n},Bo.isLazy=function(t){return b(t)===d},Bo.isMemo=function(t){return b(t)===h},Bo.isPortal=function(t){return b(t)===r},Bo.isProfiler=function(t){return b(t)===o},Bo.isStrictMode=function(t){return b(t)===i},Bo.isSuspense=function(t){return b(t)===f},Bo.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===u||t===o||t===i||t===f||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===d||t.$$typeof===h||t.$$typeof===a||t.$$typeof===c||t.$$typeof===s||t.$$typeof===v||t.$$typeof===g||t.$$typeof===m||t.$$typeof===y)},Bo.typeOf=b}()),Bo);var Ro=No.exports,zo=mn,$o=bn;var Ho=function(t){return"number"==typeof t||$o(t)&&"[object Number]"==zo(t)},Vo=We(Ho),Fo=Ho;var Uo=We((function(t){return Fo(t)&&t!=+t})),Wo=function(t){return 0===t?0:t>0?1:-1},qo=function(t){return Do(t)&&t.indexOf("%")===t.length-1},Yo=function(t){return Vo(t)&&!Uo(t)},Xo=function(t){return Yo(t)||Do(t)},Ko=0,Go=function(t){var e=++Ko;return"".concat(t||"").concat(e)},Zo=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!Yo(t)&&!Do(t))return n;if(qo(t)){var o=t.indexOf("%");r=e*parseFloat(t.slice(0,o))/100}else r=+t;return Uo(r)&&(r=n),i&&r>e&&(r=e),r},Jo=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},Qo=function(t,e){return Yo(t)&&Yo(e)?function(r){return t+r*(e-t)}:function(){return e}};function ta(t,e,r){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):Mo(t,e))===r})):null}function ea(t,e){for(var r in t)if({}.hasOwnProperty.call(t,r)&&(!{}.hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if({}.hasOwnProperty.call(e,n)&&!{}.hasOwnProperty.call(t,n))return!1;return!0}function ra(t){return ra="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},ra(t)}var na=["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"],ia=["points","pathLength"],oa={svg:["viewBox","children"],polygon:ia,polyline:ia},aa=["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"],ca=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if(tt(t)&&(r=t.props),!En(r))return null;var n={};return Object.keys(r).forEach((function(t){aa.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})})),n},la=function(t,e,r){if(!En(t)||"object"!==ra(t))return null;var n=null;return Object.keys(t).forEach((function(i){var o=t[i];aa.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(t,e,r){return function(n){return t(e,r,n),null}}(o,e,r))})),n},ua=["children"],sa=["children"];function fa(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function pa(t){return pa="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},pa(t)}var ha={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},da=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},ya=null,va=null,ga=function t(e){if(e===ya&&Array.isArray(va))return va;var r=[];return et.forEach(e,(function(e){ko(e)||(Ro.isFragment(e)?r=r.concat(t(e.props.children)):r.push(e))})),va=r,ya=e,r};function ma(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map((function(t){return da(t)})):[da(e)],ga(t).forEach((function(t){var e=Mo(t,"type.displayName")||Mo(t,"type.name");-1!==n.indexOf(e)&&r.push(t)})),r}function ba(t,e){var r=ma(t,e);return r&&r[0]}var wa=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!Yo(r)||r<=0||!Yo(n)||n<=0)},xa=["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"],Oa=function(t){return t&&"object"===pa(t)&&"cx"in t&&"cy"in t&&"r"in t},Sa=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if(tt(t)&&(n=t.props),!En(n))return null;var i={};return Object.keys(n).forEach((function(t){var o;(function(t,e,r,n){var i,o=null!==(i=null==oa?void 0:oa[n])&&void 0!==i?i:[];return!Nn(t)&&(n&&o.includes(e)||na.includes(e))||r&&aa.includes(e)})(null===(o=n)||void 0===o?void 0:o[t],t,e,r)&&(i[t]=n[t])})),i},ja=function t(e,r){if(e===r)return!0;var n=et.count(e);if(n!==et.count(r))return!1;if(0===n)return!0;if(1===n)return Aa(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var o=e[i],a=r[i];if(Array.isArray(o)||Array.isArray(a)){if(!t(o,a))return!1}else if(!Aa(o,a))return!1}return!0},Aa=function(t,e){if(ko(t)&&ko(e))return!0;if(!ko(t)&&!ko(e)){var r=t.props||{},n=r.children,i=fa(r,ua),o=e.props||{},a=o.children,c=fa(o,sa);return n&&a?ea(i,c)&&ja(n,a):!n&&!a&&ea(i,c)}return!1},Pa=function(t,e){var r=[],n={};return ga(t).forEach((function(t,i){if(function(t){return t&&t.type&&Do(t.type)&&xa.indexOf(t.type)>=0}(t))r.push(t);else if(t){var o=da(t.type),a=e[o]||{},c=a.handler,l=a.once;if(c&&(!l||!n[o])){var u=c(t,o,i);r.push(u),n[o]=!0}}})),r},Ma=["children","width","height","viewBox","className","style","title","desc"];function ka(){return ka=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ka.apply(this,arguments)}function Ea(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function Ca(t){var e=t.children,r=t.width,n=t.height,i=t.viewBox,o=t.className,a=t.style,c=t.title,l=t.desc,u=Ea(t,Ma),s=i||{width:r,height:n,x:0,y:0},f=tn("recharts-surface",o);return Q.createElement("svg",ka({},Sa(u,!0,"svg"),{className:f,width:r,height:n,style:a,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height)}),Q.createElement("title",null,c),Q.createElement("desc",null,l),e)}var _a=["children","className"];function Ta(){return Ta=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ta.apply(this,arguments)}function Da(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var Na=Q.forwardRef((function(t,e){var r=t.children,n=t.className,i=Da(t,_a),o=tn("recharts-layer",n);return Q.createElement("g",Ta({className:o},Sa(i,!0),{ref:e}),r)})),Ia="production"!==process.env.NODE_ENV,La=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(Ia&&"undefined"!=typeof console&&console.warn&&(void 0===e&&console.warn("LogUtils requires an error message argument"),!t))if(void 0===e)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;console.warn(e.replace(/%s/g,(function(){return n[o++]})))}};var Ba=function(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n<i;)o[n]=t[n+e];return o},Ra=Ba;var za=function(t,e,r){var n=t.length;return r=void 0===r?n:r,!e&&r>=n?t:Ra(t,e,r)},$a=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Ha=function(t){return $a.test(t)};var Va=function(t){return t.split("")},Fa="\\ud800-\\udfff",Ua="["+Fa+"]",Wa="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",qa="\\ud83c[\\udffb-\\udfff]",Ya="[^"+Fa+"]",Xa="(?:\\ud83c[\\udde6-\\uddff]){2}",Ka="[\\ud800-\\udbff][\\udc00-\\udfff]",Ga="(?:"+Wa+"|"+qa+")"+"?",Za="[\\ufe0e\\ufe0f]?",Ja=Za+Ga+("(?:\\u200d(?:"+[Ya,Xa,Ka].join("|")+")"+Za+Ga+")*"),Qa="(?:"+[Ya+Wa+"?",Wa,Xa,Ka,Ua].join("|")+")",tc=RegExp(qa+"(?="+qa+")|"+Qa+Ja,"g");var ec=function(t){return t.match(tc)||[]},rc=Va,nc=Ha,ic=ec;var oc=function(t){return nc(t)?ic(t):rc(t)},ac=za,cc=Ha,lc=oc,uc=ho;var sc=function(t){return function(e){e=uc(e);var r=cc(e)?lc(e):void 0,n=r?r[0]:e.charAt(0),i=r?ac(r,1).join(""):e.slice(1);return n[t]()+i}},fc=We(sc("toUpperCase"));function pc(t){return function(){return t}}const hc=Math.cos,dc=Math.sin,yc=Math.sqrt,vc=Math.PI,gc=2*vc,mc=Math.PI,bc=2*mc,wc=1e-6,xc=bc-wc;function Oc(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class Sc{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?Oc:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Oc;const r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+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,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,i,o){this._append`C${+t},${+e},${+r},${+n},${this._x1=+i},${this._y1=+o}`}arcTo(t,e,r,n,i){if(t=+t,e=+e,r=+r,n=+n,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,c=r-t,l=n-e,u=o-t,s=a-e,f=u*u+s*s;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(f>wc)if(Math.abs(s*c-l*u)>wc&&i){let p=r-o,h=n-a,d=c*c+l*l,y=p*p+h*h,v=Math.sqrt(d),g=Math.sqrt(f),m=i*Math.tan((mc-Math.acos((d+f-y)/(2*v*g)))/2),b=m/g,w=m/v;Math.abs(b-1)>wc&&this._append`L${t+b*u},${e+b*s}`,this._append`A${i},${i},0,0,${+(s*p>u*h)},${this._x1=t+w*c},${this._y1=e+w*l}`}else this._append`L${this._x1=t},${this._y1=e}`;else;}arc(t,e,r,n,i,o){if(t=+t,e=+e,o=!!o,(r=+r)<0)throw new Error(`negative radius: ${r}`);let a=r*Math.cos(n),c=r*Math.sin(n),l=t+a,u=e+c,s=1^o,f=o?n-i:i-n;null===this._x1?this._append`M${l},${u}`:(Math.abs(this._x1-l)>wc||Math.abs(this._y1-u)>wc)&&this._append`L${l},${u}`,r&&(f<0&&(f=f%bc+bc),f>xc?this._append`A${r},${r},0,1,${s},${t-a},${e-c}A${r},${r},0,1,${s},${this._x1=l},${this._y1=u}`:f>wc&&this._append`A${r},${r},0,${+(f>=mc)},${s},${this._x1=t+r*Math.cos(i)},${this._y1=e+r*Math.sin(i)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function jc(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{const t=Math.floor(r);if(!(t>=0))throw new RangeError(`invalid digits: ${r}`);e=t}return t},()=>new Sc(e)}function Ac(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Pc(t){this._context=t}function Mc(t){return new Pc(t)}function kc(t){return t[0]}function Ec(t){return t[1]}function Cc(t,e){var r=pc(!0),n=null,i=Mc,o=null,a=jc(c);function c(c){var l,u,s,f=(c=Ac(c)).length,p=!1;for(null==n&&(o=i(s=a())),l=0;l<=f;++l)!(l<f&&r(u=c[l],l,c))===p&&((p=!p)?o.lineStart():o.lineEnd()),p&&o.point(+t(u,l,c),+e(u,l,c));if(s)return o=null,s+""||null}return t="function"==typeof t?t:void 0===t?kc:pc(t),e="function"==typeof e?e:void 0===e?Ec:pc(e),c.x=function(e){return arguments.length?(t="function"==typeof e?e:pc(+e),c):t},c.y=function(t){return arguments.length?(e="function"==typeof t?t:pc(+t),c):e},c.defined=function(t){return arguments.length?(r="function"==typeof t?t:pc(!!t),c):r},c.curve=function(t){return arguments.length?(i=t,null!=n&&(o=i(n)),c):i},c.context=function(t){return arguments.length?(null==t?n=o=null:o=i(n=t),c):n},c}function _c(t,e,r){var n=null,i=pc(!0),o=null,a=Mc,c=null,l=jc(u);function u(u){var s,f,p,h,d,y=(u=Ac(u)).length,v=!1,g=new Array(y),m=new Array(y);for(null==o&&(c=a(d=l())),s=0;s<=y;++s){if(!(s<y&&i(h=u[s],s,u))===v)if(v=!v)f=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),p=s-1;p>=f;--p)c.point(g[p],m[p]);c.lineEnd(),c.areaEnd()}v&&(g[s]=+t(h,s,u),m[s]=+e(h,s,u),c.point(n?+n(h,s,u):g[s],r?+r(h,s,u):m[s]))}if(d)return c=null,d+""||null}function s(){return Cc().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?kc:pc(+t),e="function"==typeof e?e:pc(void 0===e?0:+e),r="function"==typeof r?r:void 0===r?Ec:pc(+r),u.x=function(e){return arguments.length?(t="function"==typeof e?e:pc(+e),n=null,u):t},u.x0=function(e){return arguments.length?(t="function"==typeof e?e:pc(+e),u):t},u.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:pc(+t),u):n},u.y=function(t){return arguments.length?(e="function"==typeof t?t:pc(+t),r=null,u):e},u.y0=function(t){return arguments.length?(e="function"==typeof t?t:pc(+t),u):e},u.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:pc(+t),u):r},u.lineX0=u.lineY0=function(){return s().x(t).y(e)},u.lineY1=function(){return s().x(t).y(r)},u.lineX1=function(){return s().x(n).y(e)},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:pc(!!t),u):i},u.curve=function(t){return arguments.length?(a=t,null!=o&&(c=a(o)),u):a},u.context=function(t){return arguments.length?(null==t?o=c=null:c=a(o=t),u):o},u}Pc.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)}}};class Tc{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}}var Dc={draw(t,e){const r=yc(e/vc);t.moveTo(r,0),t.arc(0,0,r,0,gc)}},Nc={draw(t,e){const r=yc(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}};const Ic=yc(1/3),Lc=2*Ic;var Bc={draw(t,e){const r=yc(e/Lc),n=r*Ic;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},Rc={draw(t,e){const r=yc(e),n=-r/2;t.rect(n,n,r,r)}};const zc=dc(vc/10)/dc(7*vc/10),$c=dc(gc/10)*zc,Hc=-hc(gc/10)*zc;var Vc={draw(t,e){const r=yc(.8908130915292852*e),n=$c*r,i=Hc*r;t.moveTo(0,-r),t.lineTo(n,i);for(let e=1;e<5;++e){const o=gc*e/5,a=hc(o),c=dc(o);t.lineTo(c*r,-a*r),t.lineTo(a*n-c*i,c*n+a*i)}t.closePath()}};const Fc=yc(3);var Uc={draw(t,e){const r=-yc(e/(3*Fc));t.moveTo(0,2*r),t.lineTo(-Fc*r,-r),t.lineTo(Fc*r,-r),t.closePath()}};const Wc=-.5,qc=yc(3)/2,Yc=1/yc(12),Xc=3*(Yc/2+1);var Kc={draw(t,e){const r=yc(e/Xc),n=r/2,i=r*Yc,o=n,a=r*Yc+r,c=-o,l=a;t.moveTo(n,i),t.lineTo(o,a),t.lineTo(c,l),t.lineTo(Wc*n-qc*i,qc*n+Wc*i),t.lineTo(Wc*o-qc*a,qc*o+Wc*a),t.lineTo(Wc*c-qc*l,qc*c+Wc*l),t.lineTo(Wc*n+qc*i,Wc*i-qc*n),t.lineTo(Wc*o+qc*a,Wc*a-qc*o),t.lineTo(Wc*c+qc*l,Wc*l-qc*c),t.closePath()}};function Gc(){}function Zc(t,e,r){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+r)/6)}function Jc(t){this._context=t}function Qc(t){this._context=t}function tl(t){this._context=t}function el(t){this._context=t}function rl(t){return t<0?-1:1}function nl(t,e,r){var n=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(n||i<0&&-0),a=(r-t._y1)/(i||n<0&&-0),c=(o*i+a*n)/(n+i);return(rl(o)+rl(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function il(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function ol(t,e,r){var n=t._x0,i=t._y0,o=t._x1,a=t._y1,c=(o-n)/3;t._context.bezierCurveTo(n+c,i+c*e,o-c,a-c*r,o,a)}function al(t){this._context=t}function cl(t){this._context=new ll(t)}function ll(t){this._context=t}function ul(t){this._context=t}function sl(t){var e,r,n=t.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/o[e-1],o[e]-=r,a[e]-=r*a[e-1];for(i[n-1]=a[n-1]/o[n-1],e=n-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function fl(t,e){this._context=t,this._t=e}function pl(t,e){if((i=t.length)>1)for(var r,n,i,o=1,a=t[e[0]],c=a.length;o<i;++o)for(n=a,a=t[e[o]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function hl(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function dl(t,e){return t[e]}function yl(t){const e=[];return e.key=t,e}function vl(t){return vl="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},vl(t)}Jc.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:Zc(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:Zc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Qc.prototype={areaStart:Gc,areaEnd:Gc,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:Zc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},tl.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 r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Zc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},el.prototype={areaStart:Gc,areaEnd:Gc,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))}},al.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:ol(this,this._t0,il(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=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,ol(this,il(this,r=nl(this,t,e)),r);break;default:ol(this,this._t0,r=nl(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(cl.prototype=Object.create(al.prototype)).point=function(t,e){al.prototype.point.call(this,e,t)},ll.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,r,n,i,o){this._context.bezierCurveTo(e,t,n,r,o,i)}},ul.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,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=sl(t),i=sl(e),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===r)&&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)}},fl.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 r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var gl=["type","size","sizeType"];function ml(){return ml=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ml.apply(this,arguments)}function bl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function wl(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?bl(Object(r),!0).forEach((function(e){xl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function xl(t,e,r){return e=function(t){var e=function(t,e){if("object"!=vl(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=vl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==vl(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ol(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var Sl={symbolCircle:Dc,symbolCross:Nc,symbolDiamond:Bc,symbolSquare:Rc,symbolStar:Vc,symbolTriangle:Uc,symbolWye:Kc},jl=Math.PI/180,Al=function(t){var e,r,n=t.type,i=void 0===n?"circle":n,o=t.size,a=void 0===o?64:o,c=t.sizeType,l=void 0===c?"area":c,u=wl(wl({},Ol(t,gl)),{},{type:i,size:a,sizeType:l}),s=u.className,f=u.cx,p=u.cy,h=Sa(u,!0);return f===+f&&p===+p&&a===+a?Q.createElement("path",ml({},h,{className:tn("recharts-symbols",s),transform:"translate(".concat(f,", ").concat(p,")"),d:(e=function(t){var e="symbol".concat(fc(t));return Sl[e]||Dc}(i),r=function(t,e){let r=null,n=jc(i);function i(){let i;if(r||(r=i=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),i)return r=null,i+""||null}return t="function"==typeof t?t:pc(t||Dc),e="function"==typeof e?e:pc(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:pc(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:pc(+t),i):e},i.context=function(t){return arguments.length?(r=null==t?null:t,i):r},i}().type(e).size(function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*jl;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),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}}(a,l,i)),r())})):null};function Pl(t){return Pl="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},Pl(t)}function Ml(){return Ml=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ml.apply(this,arguments)}function kl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function El(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Il(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Cl(t,e,r){return e=Tl(e),function(t,e){if(e&&("object"===Pl(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)}(t,_l()?Reflect.construct(e,r||[],Tl(t).constructor):e.apply(t,r))}function _l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_l=function(){return!!t})()}function Tl(t){return Tl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tl(t)}function Dl(t,e){return Dl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Dl(t,e)}function Nl(t,e,r){return(e=Il(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Il(t){var e=function(t,e){if("object"!=Pl(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Pl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Pl(e)?e:String(e)}Al.registerSymbol=function(t,e){Sl["symbol".concat(fc(t))]=e};var Ll=32,Bl=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Cl(this,e,arguments)}return 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&&Dl(t,e)}(e,rt),El(e,[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=16,n=Ll/6,i=Ll/3,o=t.inactive?e:t.color;if("plainline"===t.type)return Q.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:r,x2:Ll,y2:r,className:"recharts-legend-icon"});if("line"===t.type)return Q.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(r,"h").concat(i,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(Ll,"M").concat(2*i,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===t.type)return Q.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(Ll,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(Q.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kl(Object(r),!0).forEach((function(e){Nl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return delete a.legendIcon,Q.cloneElement(t.legendIcon,a)}return Q.createElement(Al,{fill:o,cx:r,cy:r,size:Ll,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,i=e.layout,o=e.formatter,a=e.inactiveColor,c={x:0,y:0,width:Ll,height:Ll},l={display:"horizontal"===i?"inline-block":"block",marginRight:10},u={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(e,r){var i=e.formatter||o,s=tn(Nl(Nl({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var f=Nn(e.value)?null:e.value;La(!Nn(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 p=e.inactive?a:e.color;return Q.createElement("li",Ml({className:s,style:l,key:"legend-item-".concat(r)},la(t.props,e,r)),Q.createElement(Ca,{width:n,height:n,viewBox:c,style:u},t.renderIcon(e)),Q.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},i?i(f,e,r):f))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;if(!e||!e.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return Q.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}]),e}();Nl(Bl,"displayName","Legend"),Nl(Bl,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Rl=Ti;var zl=Ti,$l=Di,Hl=Ki;var Vl=Ti,Fl=function(){this.__data__=new Rl,this.size=0},Ul=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},Wl=function(t){return this.__data__.get(t)},ql=function(t){return this.__data__.has(t)},Yl=function(t,e){var r=this.__data__;if(r instanceof zl){var n=r.__data__;if(!$l||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Hl(n)}return r.set(t,e),this.size=r.size,this};function Xl(t){var e=this.__data__=new Vl(t);this.size=e.size}Xl.prototype.clear=Fl,Xl.prototype.delete=Ul,Xl.prototype.get=Wl,Xl.prototype.has=ql,Xl.prototype.set=Yl;var Kl=Xl;var Gl=Ki,Zl=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Jl=function(t){return this.__data__.has(t)};function Ql(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Gl;++e<r;)this.add(t[e])}Ql.prototype.add=Ql.prototype.push=Zl,Ql.prototype.has=Jl;var tu=Ql;var eu=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1};var ru=function(t,e){return t.has(e)},nu=tu,iu=eu,ou=ru;var au=function(t,e,r,n,i,o){var a=1&r,c=t.length,l=e.length;if(c!=l&&!(a&&l>c))return!1;var u=o.get(t),s=o.get(e);if(u&&s)return u==e&&s==t;var f=-1,p=!0,h=2&r?new nu:void 0;for(o.set(t,e),o.set(e,t);++f<c;){var d=t[f],y=e[f];if(n)var v=a?n(y,d,f,e,t,o):n(d,y,f,t,e,o);if(void 0!==v){if(v)continue;p=!1;break}if(h){if(!iu(e,(function(t,e){if(!ou(h,e)&&(d===t||i(d,t,r,n,o)))return h.push(e)}))){p=!1;break}}else if(d!==y&&!i(d,y,r,n,o)){p=!1;break}}return o.delete(t),o.delete(e),p};var cu=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r};var lu=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r},uu=an.Uint8Array,su=mi,fu=au,pu=cu,hu=lu,du=cn?cn.prototype:void 0,yu=du?du.valueOf:void 0;var vu=function(t,e,r,n,i,o,a){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new uu(t),new uu(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return su(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=pu;case"[object Set]":var l=1&n;if(c||(c=hu),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;n|=2,a.set(t,e);var s=fu(c(t),c(e),n,i,o,a);return a.delete(t),s;case"[object Symbol]":if(yu)return yu.call(t)==yu.call(e)}return!1};var gu=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t},mu=gu,bu=en;var wu=function(t,e,r){var n=e(t);return bu(t)?n:mu(n,r(t))};var xu=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o};var Ou=xu,Su=function(){return[]},ju=Object.prototype.propertyIsEnumerable,Au=Object.getOwnPropertySymbols,Pu=Au?function(t){return null==t?[]:(t=Object(t),Ou(Au(t),(function(e){return ju.call(t,e)})))}:Su,Mu=Pu;var ku=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n},Eu=mn,Cu=bn;var _u=function(t){return Cu(t)&&"[object Arguments]"==Eu(t)},Tu=bn,Du=Object.prototype,Nu=Du.hasOwnProperty,Iu=Du.propertyIsEnumerable,Lu=_u(function(){return arguments}())?_u:function(t){return Tu(t)&&Nu.call(t,"callee")&&!Iu.call(t,"callee")},Bu={exports:{}};var Ru=function(){return!1};!function(t,e){var r=an,n=Ru,i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||n;t.exports=c}(Bu,Bu.exports);var zu=Bu.exports,$u=/^(?:0|[1-9]\d*)$/;var Hu=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&$u.test(t))&&t>-1&&t%1==0&&t<e};var Vu=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},Fu=mn,Uu=Vu,Wu=bn,qu={};qu["[object Float32Array]"]=qu["[object Float64Array]"]=qu["[object Int8Array]"]=qu["[object Int16Array]"]=qu["[object Int32Array]"]=qu["[object Uint8Array]"]=qu["[object Uint8ClampedArray]"]=qu["[object Uint16Array]"]=qu["[object Uint32Array]"]=!0,qu["[object Arguments]"]=qu["[object Array]"]=qu["[object ArrayBuffer]"]=qu["[object Boolean]"]=qu["[object DataView]"]=qu["[object Date]"]=qu["[object Error]"]=qu["[object Function]"]=qu["[object Map]"]=qu["[object Number]"]=qu["[object Object]"]=qu["[object RegExp]"]=qu["[object Set]"]=qu["[object String]"]=qu["[object WeakMap]"]=!1;var Yu=function(t){return Wu(t)&&Uu(t.length)&&!!qu[Fu(t)]};var Xu=function(t){return function(e){return t(e)}},Ku={exports:{}};!function(t,e){var r=rn,n=e&&!e.nodeType&&e,i=n&&t&&!t.nodeType&&t,o=i&&i.exports===n&&r.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a}(Ku,Ku.exports);var Gu=Ku.exports,Zu=Yu,Ju=Xu,Qu=Gu&&Gu.isTypedArray,ts=Qu?Ju(Qu):Zu,es=ku,rs=Lu,ns=en,is=zu,os=Hu,as=ts,cs=Object.prototype.hasOwnProperty;var ls=function(t,e){var r=ns(t),n=!r&&rs(t),i=!r&&!n&&is(t),o=!r&&!n&&!i&&as(t),a=r||n||i||o,c=a?es(t.length,String):[],l=c.length;for(var u in t)!e&&!cs.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||os(u,l))||c.push(u);return c},us=Object.prototype;var ss=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||us)};var fs=function(t,e){return function(r){return t(e(r))}},ps=fs(Object.keys,Object),hs=ss,ds=ps,ys=Object.prototype.hasOwnProperty;var vs=function(t){if(!hs(t))return ds(t);var e=[];for(var r in Object(t))ys.call(t,r)&&"constructor"!=r&&e.push(r);return e},gs=Dn,ms=Vu;var bs=function(t){return null!=t&&ms(t.length)&&!gs(t)},ws=ls,xs=vs,Os=bs;var Ss=function(t){return Os(t)?ws(t):xs(t)},js=wu,As=Mu,Ps=Ss;var Ms=function(t){return js(t,Ps,As)},ks=Ms,Es=Object.prototype.hasOwnProperty;var Cs=function(t,e,r,n,i,o){var a=1&r,c=ks(t),l=c.length;if(l!=ks(e).length&&!a)return!1;for(var u=l;u--;){var s=c[u];if(!(a?s in e:Es.call(e,s)))return!1}var f=o.get(t),p=o.get(e);if(f&&p)return f==e&&p==t;var h=!0;o.set(t,e),o.set(e,t);for(var d=a;++u<l;){var y=t[s=c[u]],v=e[s];if(n)var g=a?n(v,y,s,e,t,o):n(y,v,s,t,e,o);if(!(void 0===g?y===v||i(y,v,r,n,o):g)){h=!1;break}d||(d="constructor"==s)}if(h&&!d){var m=t.constructor,b=e.constructor;m==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(t),o.delete(e),h},_s=Qn(an,"DataView"),Ts=Qn(an,"Promise"),Ds=Qn(an,"Set"),Ns=_s,Is=Di,Ls=Ts,Bs=Ds,Rs=Qn(an,"WeakMap"),zs=mn,$s=zn,Hs="[object Map]",Vs="[object Promise]",Fs="[object Set]",Us="[object WeakMap]",Ws="[object DataView]",qs=$s(Ns),Ys=$s(Is),Xs=$s(Ls),Ks=$s(Bs),Gs=$s(Rs),Zs=zs;(Ns&&Zs(new Ns(new ArrayBuffer(1)))!=Ws||Is&&Zs(new Is)!=Hs||Ls&&Zs(Ls.resolve())!=Vs||Bs&&Zs(new Bs)!=Fs||Rs&&Zs(new Rs)!=Us)&&(Zs=function(t){var e=zs(t),r="[object Object]"==e?t.constructor:void 0,n=r?$s(r):"";if(n)switch(n){case qs:return Ws;case Ys:return Hs;case Xs:return Vs;case Ks:return Fs;case Gs:return Us}return e});var Js=Kl,Qs=au,tf=vu,ef=Cs,rf=Zs,nf=en,of=zu,af=ts,cf="[object Arguments]",lf="[object Array]",uf="[object Object]",sf=Object.prototype.hasOwnProperty;var ff=function(t,e,r,n,i,o){var a=nf(t),c=nf(e),l=a?lf:rf(t),u=c?lf:rf(e),s=(l=l==cf?uf:l)==uf,f=(u=u==cf?uf:u)==uf,p=l==u;if(p&&of(t)){if(!of(e))return!1;a=!0,s=!1}if(p&&!s)return o||(o=new Js),a||af(t)?Qs(t,e,r,n,i,o):tf(t,e,l,r,n,i,o);if(!(1&r)){var h=s&&sf.call(t,"__wrapped__"),d=f&&sf.call(e,"__wrapped__");if(h||d){var y=h?t.value():t,v=d?e.value():e;return o||(o=new Js),i(y,v,r,n,o)}}return!!p&&(o||(o=new Js),ef(t,e,r,n,i,o))},pf=ff,hf=bn;var df=function t(e,r,n,i,o){return e===r||(null==e||null==r||!hf(e)&&!hf(r)?e!=e&&r!=r:pf(e,r,n,i,t,o))},yf=Kl,vf=df;var gf=function(t,e,r,n){var i=r.length,o=i,a=!n;if(null==t)return!o;for(t=Object(t);i--;){var c=r[i];if(a&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<o;){var l=(c=r[i])[0],u=t[l],s=c[1];if(a&&c[2]){if(void 0===u&&!(l in t))return!1}else{var f=new yf;if(n)var p=n(u,s,l,t,e,f);if(!(void 0===p?vf(s,u,3,n,f):p))return!1}}return!0},mf=kn;var bf=function(t){return t==t&&!mf(t)},wf=bf,xf=Ss;var Of=function(t){for(var e=xf(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,wf(i)]}return e};var Sf=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}},jf=gf,Af=Of,Pf=Sf;var Mf=function(t){var e=Af(t);return 1==e.length&&e[0][2]?Pf(e[0][0],e[0][1]):function(r){return r===t||jf(r,t,e)}};var kf=function(t,e){return null!=t&&e in Object(t)},Ef=bo,Cf=Lu,_f=en,Tf=Hu,Df=Vu,Nf=xo;var If=function(t,e,r){for(var n=-1,i=(e=Ef(e,t)).length,o=!1;++n<i;){var a=Nf(e[n]);if(!(o=null!=t&&r(t,a)))break;t=t[a]}return o||++n!=i?o:!!(i=null==t?0:t.length)&&Df(i)&&Tf(a,i)&&(_f(t)||Cf(t))},Lf=kf,Bf=If;var Rf=function(t,e){return null!=t&&Bf(t,e,Lf)},zf=df,$f=Po,Hf=Rf,Vf=Mn,Ff=bf,Uf=Sf,Wf=xo;var qf=function(t,e){return Vf(t)&&Ff(e)?Uf(Wf(t),e):function(r){var n=$f(r,t);return void 0===n&&n===e?Hf(r,t):zf(e,n,3)}};var Yf=function(t){return t};var Xf=function(t){return function(e){return null==e?void 0:e[t]}},Kf=jo;var Gf=function(t){return function(e){return Kf(e,t)}},Zf=Xf,Jf=Gf,Qf=Mn,tp=xo;var ep=Mf,rp=qf,np=Yf,ip=en,op=function(t){return Qf(t)?Zf(tp(t)):Jf(t)};var ap=function(t){return"function"==typeof t?t:null==t?np:"object"==typeof t?ip(t)?rp(t[0],t[1]):ep(t):op(t)};var cp=function(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return-1};var lp=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1},up=cp,sp=function(t){return t!=t},fp=lp;var pp=function(t,e,r){return e==e?fp(t,e,r):up(t,sp,r)},hp=pp;var dp=function(t,e){return!!(null==t?0:t.length)&&hp(t,e,0)>-1};var yp=function(t,e,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1};var vp=Ds,gp=function(){},mp=vp&&1/lu(new vp([,-0]))[1]==1/0?function(t){return new vp(t)}:gp,bp=tu,wp=dp,xp=yp,Op=ru,Sp=mp,jp=lu;var Ap=function(t,e,r){var n=-1,i=wp,o=t.length,a=!0,c=[],l=c;if(r)a=!1,i=xp;else if(o>=200){var u=e?null:Sp(t);if(u)return jp(u);a=!1,i=Op,l=new bp}else l=e?[]:c;t:for(;++n<o;){var s=t[n],f=e?e(s):s;if(s=r||0!==s?s:0,a&&f==f){for(var p=l.length;p--;)if(l[p]===f)continue t;e&&l.push(f),c.push(s)}else i(l,f,r)||(l!==c&&l.push(f),c.push(s))}return c},Pp=ap,Mp=Ap;var kp=function(t,e){return t&&t.length?Mp(t,Pp(e)):[]},Ep=We(kp);function Cp(t,e,r){return!0===e?Ep(t,r):Nn(e)?Ep(t,e):t}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)}var Tp=["ref"];function Dp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Np(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Dp(Object(r),!0).forEach((function(e){Hp(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Dp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ip(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Vp(n.key),n)}}function Lp(t,e,r){return e=Rp(e),function(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 zp(t)}(t,Bp()?Reflect.construct(e,r||[],Rp(t).constructor):e.apply(t,r))}function Bp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Bp=function(){return!!t})()}function Rp(t){return Rp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Rp(t)}function zp(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 $p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},$p(t,e)}function Hp(t,e,r){return(e=Vp(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Vp(t){var e=function(t,e){if("object"!=_p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_p(e)?e:String(e)}function Fp(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function Up(t){return t.value}var Wp=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Hp(zp(t=Lp(this,e,[].concat(n))),"lastBoundingBox",{width:-1,height:-1}),t}var r,n,i;return 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&&$p(t,e)}(e,rt),r=e,i=[{key:"getWithHeight",value:function(t,e){var r=t.props.layout;return"vertical"===r&&Yo(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(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)):-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?Np({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,c=n.margin,l=n.chartWidth,u=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===o&&"vertical"===i?{left:((l||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{right:c&&c.right||0}:{left:c&&c.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((u||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Np(Np({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,i=e.height,o=e.wrapperStyle,a=e.payloadUniqBy,c=e.payload,l=Np(Np({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(o)),o);return Q.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(Q.isValidElement(t))return Q.cloneElement(t,e);if("function"==typeof t)return Q.createElement(t,e);e.ref;var r=Fp(e,Tp);return Q.createElement(Bl,r)}(r,Np(Np({},this.props),{},{payload:Cp(c,a,Up)})))}}])&&Ip(r.prototype,n),i&&Ip(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();Hp(Wp,"displayName","Legend"),Hp(Wp,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var qp=Lu,Yp=en,Xp=cn?cn.isConcatSpreadable:void 0;var Kp=gu,Gp=function(t){return Yp(t)||qp(t)||!!(Xp&&t&&t[Xp])};var Zp=function t(e,r,n,i,o){var a=-1,c=e.length;for(n||(n=Gp),o||(o=[]);++a<c;){var l=e[a];r>0&&n(l)?r>1?t(l,r-1,n,i,o):Kp(o,l):i||(o[o.length]=l)}return o};var Jp=function(t){return function(e,r,n){for(var i=-1,o=Object(e),a=n(e),c=a.length;c--;){var l=a[t?c:++i];if(!1===r(o[l],l,o))break}return e}},Qp=Jp(),th=Ss;var eh=function(t,e){return t&&Qp(t,e,th)},rh=bs;var nh=function(t,e){return function(r,n){if(null==r)return r;if(!rh(r))return t(r,n);for(var i=r.length,o=e?i:-1,a=Object(r);(e?o--:++o<i)&&!1!==n(a[o],o,a););return r}}(eh),ih=nh,oh=bs;var ah=function(t,e){var r=-1,n=oh(t)?Array(t.length):[];return ih(t,(function(t,i,o){n[++r]=e(t,i,o)})),n};var ch=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t},lh=On;var uh=function(t,e){if(t!==e){var r=void 0!==t,n=null===t,i=t==t,o=lh(t),a=void 0!==e,c=null===e,l=e==e,u=lh(e);if(!c&&!u&&!o&&t>e||o&&a&&l&&!c&&!u||n&&a&&l||!r&&l||!i)return 1;if(!n&&!o&&!u&&t<e||u&&r&&i&&!n&&!o||c&&r&&i||!a&&i||!l)return-1}return 0};var sh=function(t,e,r){for(var n=-1,i=t.criteria,o=e.criteria,a=i.length,c=r.length;++n<a;){var l=uh(i[n],o[n]);if(l)return n>=c?l:l*("desc"==r[n]?-1:1)}return t.index-e.index},fh=oo,ph=jo,hh=ap,dh=ah,yh=ch,vh=Xu,gh=sh,mh=Yf,bh=en;var wh=function(t,e,r){e=e.length?fh(e,(function(t){return bh(t)?function(e){return ph(e,1===t.length?t[0]:t)}:t})):[mh];var n=-1;e=fh(e,vh(hh));var i=dh(t,(function(t,r,i){return{criteria:fh(e,(function(e){return e(t)})),index:++n,value:t}}));return yh(i,(function(t,e){return gh(t,e,r)}))};var xh=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)},Oh=Math.max;var Sh=function(t,e,r){return e=Oh(void 0===e?t.length-1:e,0),function(){for(var n=arguments,i=-1,o=Oh(n.length-e,0),a=Array(o);++i<o;)a[i]=n[e+i];i=-1;for(var c=Array(e+1);++i<e;)c[i]=n[i];return c[e]=r(a),xh(t,this,c)}};var jh=function(t){return function(){return t}},Ah=Qn,Ph=function(){try{var t=Ah(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Mh=jh,kh=Ph,Eh=kh?function(t,e){return kh(t,"toString",{configurable:!0,enumerable:!1,value:Mh(e),writable:!0})}:Yf,Ch=Eh,_h=Date.now;var Th=function(t){var e=0,r=0;return function(){var n=_h(),i=16-(n-r);if(r=n,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(Ch),Dh=Yf,Nh=Sh,Ih=Th;var Lh=mi,Bh=bs,Rh=Hu,zh=kn;var $h=function(t,e,r){if(!zh(r))return!1;var n=typeof e;return!!("number"==n?Bh(r)&&Rh(e,r.length):"string"==n&&e in r)&&Lh(r[e],t)},Hh=Zp,Vh=wh,Fh=$h,Uh=We(function(t,e){return Ih(Nh(t,e,Dh),t+"")}((function(t,e){if(null==t)return[];var r=e.length;return r>1&&Fh(t,e[0],e[1])?e=[]:r>2&&Fh(e[0],e[1],e[2])&&(e=[e[0]]),Vh(t,Hh(e,1),[])})));function Wh(t){return Wh="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},Wh(t)}function qh(){return qh=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},qh.apply(this,arguments)}function Yh(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Xh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xh(t,e)}(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 Xh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Kh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Kh(Object(r),!0).forEach((function(e){Zh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Kh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Zh(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Wh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Wh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Wh(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Jh(t){return Array.isArray(t)&&Xo(t[0])&&Xo(t[1])?t.join(" ~ "):t}var Qh=function(t){var e=t.separator,r=void 0===e?" : ":e,n=t.contentStyle,i=void 0===n?{}:n,o=t.itemStyle,a=void 0===o?{}:o,c=t.labelStyle,l=void 0===c?{}:c,u=t.payload,s=t.formatter,f=t.itemSorter,p=t.wrapperClassName,h=t.labelClassName,d=t.label,y=t.labelFormatter,v=t.accessibilityLayer,g=void 0!==v&&v,m=Gh({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),b=Gh({margin:0},l),w=!ko(d),x=w?d:"",O=tn("recharts-default-tooltip",p),S=tn("recharts-tooltip-label",h);w&&y&&null!=u&&(x=y(d,u));var j=g?{role:"status","aria-live":"assertive"}:{};return Q.createElement("div",qh({className:O,style:m},j),Q.createElement("p",{className:S,style:b},Q.isValidElement(x)?x:"".concat(x)),function(){if(u&&u.length){var t=(f?Uh(u,f):u).map((function(t,e){if("none"===t.type)return null;var n=Gh({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},a),i=t.formatter||s||Jh,o=t.value,c=t.name,l=o,f=c;if(i&&null!=l&&null!=f){var p=i(o,c,t,e,u);if(Array.isArray(p)){var h=Yh(p,2);l=h[0],f=h[1]}else l=p}return Q.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},Xo(f)?Q.createElement("span",{className:"recharts-tooltip-item-name"},f):null,Xo(f)?Q.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,Q.createElement("span",{className:"recharts-tooltip-item-value"},l),Q.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return Q.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function td(t){return td="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},td(t)}function ed(t,e,r){return e=function(t){var e=function(t,e){if("object"!=td(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=td(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==td(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rd="recharts-tooltip-wrapper",nd={visibility:"hidden"};function id(t){var e=t.coordinate,r=t.translateX,n=t.translateY;return tn(rd,ed(ed(ed(ed({},"".concat(rd,"-right"),Yo(r)&&e&&Yo(e.x)&&r>=e.x),"".concat(rd,"-left"),Yo(r)&&e&&Yo(e.x)&&r<e.x),"".concat(rd,"-bottom"),Yo(n)&&e&&Yo(e.y)&&n>=e.y),"".concat(rd,"-top"),Yo(n)&&e&&Yo(e.y)&&n<e.y))}function od(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,i=t.offsetTopLeft,o=t.position,a=t.reverseDirection,c=t.tooltipDimension,l=t.viewBox,u=t.viewBoxDimension;if(o&&Yo(o[n]))return o[n];var s=r[n]-c-i,f=r[n]+i;return e[n]?a[n]?s:f:a[n]?s<l[n]?Math.max(f,l[n]):Math.max(s,l[n]):f+c>l[n]+u?Math.max(s,l[n]):Math.max(f,l[n])}function ad(t){return ad="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},ad(t)}function cd(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ld(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cd(Object(r),!0).forEach((function(e){yd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ud(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,vd(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function sd(t,e,r){return e=pd(e),function(t,e){if(e&&("object"===ad(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return hd(t)}(t,fd()?Reflect.construct(e,r||[],pd(t).constructor):e.apply(t,r))}function fd(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(fd=function(){return!!t})()}function pd(t){return pd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},pd(t)}function hd(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dd(t,e){return dd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},dd(t,e)}function yd(t,e,r){return(e=vd(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vd(t){var e=function(t,e){if("object"!=ad(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ad(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ad(e)?e:String(e)}var gd=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return yd(hd(t=sd(this,e,[].concat(n))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),yd(hd(t),"handleKeyDown",(function(e){var r,n,i,o;"Escape"===e.key&&t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(r=null===(n=t.props.coordinate)||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(i=null===(o=t.props.coordinate)||void 0===o?void 0:o.y)&&void 0!==i?i:0}})})),t}return 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&&dd(t,e)}(e,rt),ud(e,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,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,r=e.active,n=e.allowEscapeViewBox,i=e.animationDuration,o=e.animationEasing,a=e.children,c=e.coordinate,l=e.hasPayload,u=e.isAnimationActive,s=e.offset,f=e.position,p=e.reverseDirection,h=e.useTranslate3d,d=e.viewBox,y=e.wrapperStyle,v=function(t){var e,r,n=t.allowEscapeViewBox,i=t.coordinate,o=t.offsetTopLeft,a=t.position,c=t.reverseDirection,l=t.tooltipBox,u=t.useTranslate3d,s=t.viewBox;return{cssProperties:l.height>0&&l.width>0&&i?function(t){var e=t.translateX,r=t.translateY;return{transform:t.useTranslate3d?"translate3d(".concat(e,"px, ").concat(r,"px, 0)"):"translate(".concat(e,"px, ").concat(r,"px)")}}({translateX:e=od({allowEscapeViewBox:n,coordinate:i,key:"x",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=od({allowEscapeViewBox:n,coordinate:i,key:"y",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:u}):nd,cssClasses:id({translateX:e,translateY:r,coordinate:i})}}({allowEscapeViewBox:n,coordinate:c,offsetTopLeft:s,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:h,viewBox:d}),g=v.cssClasses,m=v.cssProperties,b=ld(ld({transition:u&&r?"transform ".concat(i,"ms ").concat(o):void 0},m),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&l?"visible":"hidden",position:"absolute",top:0,left:0},y);return Q.createElement("div",{tabIndex:-1,className:g,style:b,ref:function(e){t.wrapperNode=e}},a)}}]),e}(),md={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return md[t]},set:function(t,e){if("string"==typeof t)md[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach((function(e){md[e]=t[e]}))}}};function bd(t){return bd="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},bd(t)}function wd(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wd(Object(r),!0).forEach((function(e){Md(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Od(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,kd(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Sd(t,e,r){return e=Ad(e),function(t,e){if(e&&("object"===bd(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)}(t,jd()?Reflect.construct(e,r||[],Ad(t).constructor):e.apply(t,r))}function jd(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(jd=function(){return!!t})()}function Ad(t){return Ad=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ad(t)}function Pd(t,e){return Pd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Pd(t,e)}function Md(t,e,r){return(e=kd(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kd(t){var e=function(t,e){if("object"!=bd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=bd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==bd(e)?e:String(e)}function Ed(t){return t.dataKey}var Cd=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Sd(this,e,arguments)}return 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&&Pd(t,e)}(e,rt),Od(e,[{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,i=e.animationDuration,o=e.animationEasing,a=e.content,c=e.coordinate,l=e.filterNull,u=e.isAnimationActive,s=e.offset,f=e.payload,p=e.payloadUniqBy,h=e.position,d=e.reverseDirection,y=e.useTranslate3d,v=e.viewBox,g=e.wrapperStyle,m=null!=f?f:[];l&&m.length&&(m=Cp(f.filter((function(e){return null!=e.value&&(!0!==e.hide||t.props.includeHidden)})),p,Ed));var b=m.length>0;return Q.createElement(gd,{allowEscapeViewBox:n,animationDuration:i,animationEasing:o,isAnimationActive:u,active:r,coordinate:c,hasPayload:b,offset:s,position:h,reverseDirection:d,useTranslate3d:y,viewBox:v,wrapperStyle:g},function(t,e){return Q.isValidElement(t)?Q.cloneElement(t,e):"function"==typeof t?Q.createElement(t,e):Q.createElement(Qh,e)}(a,xd(xd({},this.props),{},{payload:m})))}}]),e}();Md(Cd,"displayName","Tooltip"),Md(Cd,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!md.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:{}});var _d=an,Td=/\s/;var Dd=function(t){for(var e=t.length;e--&&Td.test(t.charAt(e)););return e},Nd=Dd,Id=/^\s+/;var Ld=function(t){return t?t.slice(0,Nd(t)+1).replace(Id,""):t},Bd=Ld,Rd=kn,zd=On,$d=/^[-+]0x[0-9a-f]+$/i,Hd=/^0b[01]+$/i,Vd=/^0o[0-7]+$/i,Fd=parseInt;var Ud=function(t){if("number"==typeof t)return t;if(zd(t))return NaN;if(Rd(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Rd(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Bd(t);var r=Hd.test(t);return r||Vd.test(t)?Fd(t.slice(2),r?2:8):$d.test(t)?NaN:+t},Wd=kn,qd=function(){return _d.Date.now()},Yd=Ud,Xd=Math.max,Kd=Math.min;var Gd=function(t,e,r){var n,i,o,a,c,l,u=0,s=!1,f=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(e){var r=n,o=i;return n=i=void 0,u=e,a=t.apply(o,r)}function d(t){var r=t-l;return void 0===l||r>=e||r<0||f&&t-u>=o}function y(){var t=qd();if(d(t))return v(t);c=setTimeout(y,function(t){var r=e-(t-l);return f?Kd(r,o-(t-u)):r}(t))}function v(t){return c=void 0,p&&n?h(t):(n=i=void 0,a)}function g(){var t=qd(),r=d(t);if(n=arguments,i=this,l=t,r){if(void 0===c)return function(t){return u=t,c=setTimeout(y,e),s?h(t):a}(l);if(f)return clearTimeout(c),c=setTimeout(y,e),h(l)}return void 0===c&&(c=setTimeout(y,e)),a}return e=Yd(e)||0,Wd(r)&&(s=!!r.leading,o=(f="maxWait"in r)?Xd(Yd(r.maxWait)||0,e):o,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==c&&clearTimeout(c),u=0,n=l=i=c=void 0},g.flush=function(){return void 0===c?a:v(qd())},g},Zd=Gd,Jd=kn;var Qd=We((function(t,e,r){var n=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return Jd(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Zd(t,e,{leading:n,maxWait:e,trailing:i})}));function ty(t){return ty="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},ty(t)}function ey(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ry(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ey(Object(r),!0).forEach((function(e){ny(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ey(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ny(t,e,r){return e=function(t){var e=function(t,e){if("object"!=ty(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ty(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ty(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function iy(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return oy(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return oy(t,e)}(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 oy(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ay=nt((function(t,e){var r=t.aspect,n=t.initialDimension,i=void 0===n?{width:-1,height:-1}:n,o=t.width,a=void 0===o?"100%":o,c=t.height,l=void 0===c?"100%":c,u=t.minWidth,s=void 0===u?0:u,f=t.minHeight,p=t.maxHeight,h=t.children,d=t.debounce,y=void 0===d?0:d,v=t.id,g=t.className,m=t.onResize,b=t.style,w=void 0===b?{}:b,x=it(null),O=it();O.current=m,ot(e,(function(){return Object.defineProperty(x.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),x.current},configurable:!0})}));var S=iy(at({containerWidth:i.width,containerHeight:i.height}),2),j=S[0],A=S[1],P=ct((function(t,e){A((function(r){var n=Math.round(t),i=Math.round(e);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}}))}),[]);lt((function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,i=r.height;P(n,i),null===(e=O.current)||void 0===e||e.call(O,n,i)};y>0&&(t=Qd(t,y,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=x.current.getBoundingClientRect(),n=r.width,i=r.height;return P(n,i),e.observe(x.current),function(){e.disconnect()}}),[P,y]);var M=ut((function(){var t=j.containerWidth,e=j.containerHeight;if(t<0||e<0)return null;La(qo(a)||qo(l),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,l),La(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=qo(a)?t:a,i=qo(l)?e:l;r&&r>0&&(n?i=n/r:i&&(n=i*r),p&&i>p&&(i=p)),La(n>0||i>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.",n,i,a,l,s,f,r);var o=!Array.isArray(h)&&Ro.isElement(h)&&da(h.type).endsWith("Chart");return Q.Children.map(h,(function(t){return Ro.isElement(t)?st(t,ry({width:n,height:i},o?{style:ry({height:"100%",width:"100%",maxHeight:i,maxWidth:n},t.props.style)}:{})):t}))}),[r,h,l,p,f,s,j,a]);return Q.createElement("div",{id:v?"".concat(v):void 0,className:tn("recharts-responsive-container",g),style:ry(ry({},w),{},{width:a,height:l,minWidth:s,minHeight:f,maxHeight:p}),ref:x},M)})),cy=function(t){return null};function ly(t){return ly="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},ly(t)}function uy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function sy(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uy(Object(r),!0).forEach((function(e){fy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uy(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function fy(t,e,r){return e=function(t){var e=function(t,e){if("object"!=ly(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ly(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ly(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}cy.displayName="Cell";var py={widthCache:{},cacheCount:0},hy={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},dy="recharts_measurement_span";var yy=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||md.isSsr)return{width:0,height:0};var r,n=(r=sy({},e),Object.keys(r).forEach((function(t){r[t]||delete r[t]})),r),i=JSON.stringify({text:t,copyStyle:n});if(py.widthCache[i])return py.widthCache[i];try{var o=document.getElementById(dy);o||((o=document.createElement("span")).setAttribute("id",dy),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=sy(sy({},hy),n);Object.assign(o.style,a),o.textContent="".concat(t);var c=o.getBoundingClientRect(),l={width:c.width,height:c.height};return py.widthCache[i]=l,++py.cacheCount>2e3&&(py.cacheCount=0,py.widthCache={}),l}catch(t){return{width:0,height:0}}};function vy(t){return vy="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},vy(t)}function gy(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return my(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return my(t,e)}(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 my(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function by(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,wy(n.key),n)}}function wy(t){var e=function(t,e){if("object"!=vy(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=vy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==vy(e)?e:String(e)}var xy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Oy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Sy=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,jy=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Ay={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},Py=Object.keys(Ay),My="NaN";var ky=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.num=e,this.unit=r,this.num=e,this.unit=r,Number.isNaN(e)&&(this.unit=""),""===r||Sy.test(r)||(this.num=NaN,this.unit=""),Py.includes(r)&&(this.num=function(t,e){return t*Ay[e]}(e,r),this.unit="px")}var e,r,n;return e=t,n=[{key:"parse",value:function(e){var r,n=gy(null!==(r=jy.exec(e))&&void 0!==r?r:[],3),i=n[1],o=n[2];return new t(parseFloat(i),null!=o?o:"")}}],(r=[{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)}}])&&by(e.prototype,r),n&&by(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Ey(t){if(t.includes(My))return My;for(var e=t;e.includes("*")||e.includes("/");){var r,n=gy(null!==(r=xy.exec(e))&&void 0!==r?r:[],4),i=n[1],o=n[2],a=n[3],c=ky.parse(null!=i?i:""),l=ky.parse(null!=a?a:""),u="*"===o?c.multiply(l):c.divide(l);if(u.isNaN())return My;e=e.replace(xy,u.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=gy(null!==(s=Oy.exec(e))&&void 0!==s?s:[],4),p=f[1],h=f[2],d=f[3],y=ky.parse(null!=p?p:""),v=ky.parse(null!=d?d:""),g="+"===h?y.add(v):y.subtract(v);if(g.isNaN())return My;e=e.replace(Oy,g.toString())}return e}var Cy=/\(([^()]*)\)/;function _y(t){var e=t.replace(/\s+/g,"");return e=function(t){for(var e=t;e.includes("(");){var r=gy(Cy.exec(e),2)[1];e=e.replace(Cy,Ey(r))}return e}(e),e=Ey(e)}function Ty(t){var e=function(t){try{return _y(t)}catch(t){return My}}(t.slice(5,-1));return e===My?"":e}var Dy=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],Ny=["dx","dy","angle","className","breakAll"];function Iy(){return Iy=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Iy.apply(this,arguments)}function Ly(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function By(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ry(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ry(t,e)}(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 Ry(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var zy=/[ \f\n\r\t\v\u2028\u2029]+/,$y=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var i=[];return ko(e)||(i=r?e.toString().split(""):e.toString().split(zy)),{wordsWithComputedWidth:i.map((function(t){return{word:t,width:yy(t,n).width}})),spaceWidth:r?0:yy(" ",n).width}}catch(t){return null}},Hy=function(t){return[{words:ko(t)?[]:t.toString().split(zy)}]},Vy=function(t){var e=t.width,r=t.scaleToFit,n=t.children,i=t.style,o=t.breakAll,a=t.maxLines;if((e||r)&&!md.isSsr){var c=$y({breakAll:o,children:n,style:i});return c?function(t,e,r,n,i){var o=t.maxLines,a=t.children,c=t.style,l=t.breakAll,u=Yo(o),s=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(t,e){var o=e.word,a=e.width,c=t[t.length-1];if(c&&(null==n||i||c.width+a+r<Number(n)))c.words.push(o),c.width+=a+r;else{var l={words:[o],width:a};t.push(l)}return t}),[])},p=f(e);if(!u)return p;for(var h,d=function(t){var e=s.slice(0,t),r=$y({breakAll:l,style:c,children:e+"…"}).wordsWithComputedWidth,i=f(r),a=i.length>o||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(i).width>Number(n);return[a,i]},y=0,v=s.length-1,g=0;y<=v&&g<=s.length-1;){var m=Math.floor((y+v)/2),b=By(d(m-1),2),w=b[0],x=b[1],O=By(d(m),1)[0];if(w||O||(y=m+1),w&&O&&(v=m-1),!w&&O){h=x;break}g++}return h||p}({breakAll:o,children:n,maxLines:a,style:i},c.wordsWithComputedWidth,c.spaceWidth,e,r):Hy(n)}return Hy(n)},Fy="#808080",Uy=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,i=void 0===n?0:n,o=t.lineHeight,a=void 0===o?"1em":o,c=t.capHeight,l=void 0===c?"0.71em":c,u=t.scaleToFit,s=void 0!==u&&u,f=t.textAnchor,p=void 0===f?"start":f,h=t.verticalAnchor,d=void 0===h?"end":h,y=t.fill,v=void 0===y?Fy:y,g=Ly(t,Dy),m=ut((function(){return Vy({breakAll:g.breakAll,children:g.children,maxLines:g.maxLines,scaleToFit:s,style:g.style,width:g.width})}),[g.breakAll,g.children,g.maxLines,s,g.style,g.width]),b=g.dx,w=g.dy,x=g.angle,O=g.className,S=g.breakAll,j=Ly(g,Ny);if(!Xo(r)||!Xo(i))return null;var A,P=r+(Yo(b)?b:0),M=i+(Yo(w)?w:0);switch(d){case"start":A=Ty("calc(".concat(l,")"));break;case"middle":A=Ty("calc(".concat((m.length-1)/2," * -").concat(a," + (").concat(l," / 2))"));break;default:A=Ty("calc(".concat(m.length-1," * -").concat(a,")"))}var k=[];if(s){var E=m[0].width,C=g.width;k.push("scale(".concat((Yo(C)?C/E:1)/E,")"))}return x&&k.push("rotate(".concat(x,", ").concat(P,", ").concat(M,")")),k.length&&(j.transform=k.join(" ")),Q.createElement("text",Iy({},Sa(j,!0),{x:P,y:M,className:tn("recharts-text",O),textAnchor:p,fill:v.includes("url")?Fy:v}),m.map((function(t,e){var r=t.words.join(S?"":" ");return Q.createElement("tspan",{x:P,dy:0===e?A:a,key:r},r)})))};function Wy(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function qy(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Yy(t){let e,r,n;function i(t,n,i=0,o=t.length){if(i<o){if(0!==e(n,n))return o;do{const e=i+o>>>1;r(t[e],n)<0?i=e+1:o=e}while(i<o)}return i}return 2!==t.length?(e=Wy,r=(e,r)=>Wy(t(e),r),n=(e,r)=>t(e)-r):(e=t===Wy||t===qy?t:Xy,r=t,n=t),{left:i,center:function(t,e,r=0,o=t.length){const a=i(t,e,r,o-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,i=0,o=t.length){if(i<o){if(0!==e(n,n))return o;do{const e=i+o>>>1;r(t[e],n)<=0?i=e+1:o=e}while(i<o)}return i}}}function Xy(){return 0}function Ky(t){return null===t?NaN:+t}const Gy=Yy(Wy).right;Yy(Ky).center;class Zy extends Map{constructor(t,e=Qy){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,r]of t)this.set(e,r)}get(t){return super.get(Jy(this,t))}has(t){return super.has(Jy(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){const n=e(r);t.has(n)&&(r=t.get(n),t.delete(n));return r}(this,t))}}function Jy({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function Qy(t){return null!==t&&"object"==typeof t?t.valueOf():t}function tv(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}const ev=Math.sqrt(50),rv=Math.sqrt(10),nv=Math.sqrt(2);function iv(t,e,r){const n=(e-t)/Math.max(0,r),i=Math.floor(Math.log10(n)),o=n/Math.pow(10,i),a=o>=ev?10:o>=rv?5:o>=nv?2:1;let c,l,u;return i<0?(u=Math.pow(10,-i)/a,c=Math.round(t*u),l=Math.round(e*u),c/u<t&&++c,l/u>e&&--l,u=-u):(u=Math.pow(10,i)*a,c=Math.round(t/u),l=Math.round(e/u),c*u<t&&++c,l*u>e&&--l),l<c&&.5<=r&&r<2?iv(t,e,2*r):[c,l,u]}function ov(t,e,r){if(!((r=+r)>0))return[];if((t=+t)===(e=+e))return[t];const n=e<t,[i,o,a]=n?iv(e,t,r):iv(t,e,r);if(!(o>=i))return[];const c=o-i+1,l=new Array(c);if(n)if(a<0)for(let t=0;t<c;++t)l[t]=(o-t)/-a;else for(let t=0;t<c;++t)l[t]=(o-t)*a;else if(a<0)for(let t=0;t<c;++t)l[t]=(i+t)/-a;else for(let t=0;t<c;++t)l[t]=(i+t)*a;return l}function av(t,e,r){return iv(t=+t,e=+e,r=+r)[2]}function cv(t,e,r){r=+r;const n=(e=+e)<(t=+t),i=n?av(e,t,r):av(t,e,r);return(n?-1:1)*(i<0?1/-i:i)}function lv(t,e){let r;for(const e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);return r}function uv(t,e){let r;for(const e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);return r}function sv(t,e,r=0,n=1/0,i){if(e=Math.floor(e),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(t.length-1,n)),!(r<=e&&e<=n))return t;for(i=void 0===i?tv:function(t=Wy){if(t===Wy)return tv;if("function"!=typeof t)throw new TypeError("compare is not a function");return(e,r)=>{const n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(i);n>r;){if(n-r>600){const o=n-r+1,a=e-r+1,c=Math.log(o),l=.5*Math.exp(2*c/3),u=.5*Math.sqrt(c*l*(o-l)/o)*(a-o/2<0?-1:1);sv(t,e,Math.max(r,Math.floor(e-a*l/o+u)),Math.min(n,Math.floor(e+(o-a)*l/o+u)),i)}const o=t[e];let a=r,c=n;for(fv(t,r,e),i(t[n],o)>0&&fv(t,r,n);a<c;){for(fv(t,a,c),++a,--c;i(t[a],o)<0;)++a;for(;i(t[c],o)>0;)--c}0===i(t[r],o)?fv(t,r,c):(++c,fv(t,c,n)),c<=e&&(r=c+1),e<=c&&(n=c-1)}return t}function fv(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function pv(t,e,r=Ky){if((n=t.length)&&!isNaN(e=+e)){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,i=(n-1)*e,o=Math.floor(i),a=+r(t[o],o,t);return a+(+r(t[o+1],o+1,t)-a)*(i-o)}}function hv(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function dv(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}const yv=Symbol("implicit");function vv(){var t=new Zy,e=[],r=[],n=yv;function i(i){let o=t.get(i);if(void 0===o){if(n!==yv)return n;t.set(i,o=e.push(i)-1)}return r[o%r.length]}return i.domain=function(r){if(!arguments.length)return e.slice();e=[],t=new Zy;for(const n of r)t.has(n)||t.set(n,e.push(n)-1);return i},i.range=function(t){return arguments.length?(r=Array.from(t),i):r.slice()},i.unknown=function(t){return arguments.length?(n=t,i):n},i.copy=function(){return vv(e,r).unknown(n)},hv.apply(i,arguments),i}function gv(){var t,e,r=vv().unknown(void 0),n=r.domain,i=r.range,o=0,a=1,c=!1,l=0,u=0,s=.5;function f(){var r=n().length,f=a<o,p=f?a:o,h=f?o:a;t=(h-p)/Math.max(1,r-l+2*u),c&&(t=Math.floor(t)),p+=(h-p-t*(r-l))*s,e=t*(1-l),c&&(p=Math.round(p),e=Math.round(e));var d=function(t,e,r){t=+t,e=+e,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((e-t)/r)),o=new Array(i);++n<i;)o[n]=t+n*r;return o}(r).map((function(e){return p+t*e}));return i(f?d.reverse():d)}return delete r.unknown,r.domain=function(t){return arguments.length?(n(t),f()):n()},r.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},r.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,c=!0,f()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(c=!!t,f()):c},r.padding=function(t){return arguments.length?(l=Math.min(1,u=+t),f()):l},r.paddingInner=function(t){return arguments.length?(l=Math.min(1,t),f()):l},r.paddingOuter=function(t){return arguments.length?(u=+t,f()):u},r.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},r.copy=function(){return gv(n(),[o,a]).round(c).paddingInner(l).paddingOuter(u).align(s)},hv.apply(f(),arguments)}function mv(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return mv(e())},t}function bv(){return mv(gv.apply(null,arguments).paddingInner(1))}function wv(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function xv(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function Ov(){}var Sv=.7,jv=1/Sv,Av="\\s*([+-]?\\d+)\\s*",Pv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Mv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",kv=/^#([0-9a-f]{3,8})$/,Ev=new RegExp(`^rgb\\(${Av},${Av},${Av}\\)$`),Cv=new RegExp(`^rgb\\(${Mv},${Mv},${Mv}\\)$`),_v=new RegExp(`^rgba\\(${Av},${Av},${Av},${Pv}\\)$`),Tv=new RegExp(`^rgba\\(${Mv},${Mv},${Mv},${Pv}\\)$`),Dv=new RegExp(`^hsl\\(${Pv},${Mv},${Mv}\\)$`),Nv=new RegExp(`^hsla\\(${Pv},${Mv},${Mv},${Pv}\\)$`),Iv={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 Lv(){return this.rgb().formatHex()}function Bv(){return this.rgb().formatRgb()}function Rv(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=kv.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?zv(e):3===r?new Vv(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?$v(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?$v(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=Ev.exec(t))?new Vv(e[1],e[2],e[3],1):(e=Cv.exec(t))?new Vv(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=_v.exec(t))?$v(e[1],e[2],e[3],e[4]):(e=Tv.exec(t))?$v(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Dv.exec(t))?Xv(e[1],e[2]/100,e[3]/100,1):(e=Nv.exec(t))?Xv(e[1],e[2]/100,e[3]/100,e[4]):Iv.hasOwnProperty(t)?zv(Iv[t]):"transparent"===t?new Vv(NaN,NaN,NaN,0):null}function zv(t){return new Vv(t>>16&255,t>>8&255,255&t,1)}function $v(t,e,r,n){return n<=0&&(t=e=r=NaN),new Vv(t,e,r,n)}function Hv(t,e,r,n){return 1===arguments.length?((i=t)instanceof Ov||(i=Rv(i)),i?new Vv((i=i.rgb()).r,i.g,i.b,i.opacity):new Vv):new Vv(t,e,r,null==n?1:n);var i}function Vv(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function Fv(){return`#${Yv(this.r)}${Yv(this.g)}${Yv(this.b)}`}function Uv(){const t=Wv(this.opacity);return`${1===t?"rgb(":"rgba("}${qv(this.r)}, ${qv(this.g)}, ${qv(this.b)}${1===t?")":`, ${t})`}`}function Wv(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function qv(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Yv(t){return((t=qv(t))<16?"0":"")+t.toString(16)}function Xv(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Gv(t,e,r,n)}function Kv(t){if(t instanceof Gv)return new Gv(t.h,t.s,t.l,t.opacity);if(t instanceof Ov||(t=Rv(t)),!t)return new Gv;if(t instanceof Gv)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,i=Math.min(e,r,n),o=Math.max(e,r,n),a=NaN,c=o-i,l=(o+i)/2;return c?(a=e===o?(r-n)/c+6*(r<n):r===o?(n-e)/c+2:(e-r)/c+4,c/=l<.5?o+i:2-o-i,a*=60):c=l>0&&l<1?0:a,new Gv(a,c,l,t.opacity)}function Gv(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function Zv(t){return(t=(t||0)%360)<0?t+360:t}function Jv(t){return Math.max(0,Math.min(1,t||0))}function Qv(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}wv(Ov,Rv,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Lv,formatHex:Lv,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Kv(this).formatHsl()},formatRgb:Bv,toString:Bv}),wv(Vv,Hv,xv(Ov,{brighter(t){return t=null==t?jv:Math.pow(jv,t),new Vv(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Sv:Math.pow(Sv,t),new Vv(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Vv(qv(this.r),qv(this.g),qv(this.b),Wv(this.opacity))},displayable(){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:Fv,formatHex:Fv,formatHex8:function(){return`#${Yv(this.r)}${Yv(this.g)}${Yv(this.b)}${Yv(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Uv,toString:Uv})),wv(Gv,(function(t,e,r,n){return 1===arguments.length?Kv(t):new Gv(t,e,r,null==n?1:n)}),xv(Ov,{brighter(t){return t=null==t?jv:Math.pow(jv,t),new Gv(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Sv:Math.pow(Sv,t),new Gv(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new Vv(Qv(t>=240?t-240:t+120,i,n),Qv(t,i,n),Qv(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new Gv(Zv(this.h),Jv(this.s),Jv(this.l),Wv(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Wv(this.opacity);return`${1===t?"hsl(":"hsla("}${Zv(this.h)}, ${100*Jv(this.s)}%, ${100*Jv(this.l)}%${1===t?")":`, ${t})`}`}}));var tg=t=>()=>t;function eg(t){return 1==(t=+t)?rg:function(e,r){return r-e?function(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}(e,r,t):tg(isNaN(e)?r:e)}}function rg(t,e){var r=e-t;return r?function(t,e){return function(r){return t+r*e}}(t,r):tg(isNaN(t)?e:t)}var ng=function t(e){var r=eg(e);function n(t,e){var n=r((t=Hv(t)).r,(e=Hv(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),a=rg(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return n.gamma=t,n}(1);function ig(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}}function og(t,e){var r,n=e?e.length:0,i=t?Math.min(n,t.length):0,o=new Array(i),a=new Array(n);for(r=0;r<i;++r)o[r]=pg(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<i;++r)a[r]=o[r](t);return a}}function ag(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function cg(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function lg(t,e){var r,n={},i={};for(r in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)r in t?n[r]=pg(t[r],e[r]):i[r]=e[r];return function(t){for(r in n)i[r]=n[r](t);return i}}var ug=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,sg=new RegExp(ug.source,"g");function fg(t,e){var r,n,i,o=ug.lastIndex=sg.lastIndex=0,a=-1,c=[],l=[];for(t+="",e+="";(r=ug.exec(t))&&(n=sg.exec(e));)(i=n.index)>o&&(i=e.slice(o,i),c[a]?c[a]+=i:c[++a]=i),(r=r[0])===(n=n[0])?c[a]?c[a]+=n:c[++a]=n:(c[++a]=null,l.push({i:a,x:cg(r,n)})),o=sg.lastIndex;return o<e.length&&(i=e.slice(o),c[a]?c[a]+=i:c[++a]=i),c.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var r,n=0;n<e;++n)c[(r=l[n]).i]=r.x(t);return c.join("")})}function pg(t,e){var r,n=typeof e;return null==e||"boolean"===n?tg(e):("number"===n?cg:"string"===n?(r=Rv(e))?(e=r,ng):fg:e instanceof Rv?ng:e instanceof Date?ag:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(e)?ig:Array.isArray(e)?og:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?lg:cg)(t,e)}function hg(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function dg(t,e){void 0===e&&(e=t,t=pg);for(var r=0,n=e.length-1,i=e[0],o=new Array(n<0?0:n);r<n;)o[r]=t(i,i=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return o[e](t-e)}}function yg(t){return+t}var vg=[0,1];function gg(t){return t}function mg(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:function(t){return function(){return t}}(isNaN(e)?NaN:.5)}function bg(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1];return i<n?(n=mg(i,n),o=r(a,o)):(n=mg(n,i),o=r(o,a)),function(t){return o(n(t))}}function wg(t,e,r){var n=Math.min(t.length,e.length)-1,i=new Array(n),o=new Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)i[a]=mg(t[a],t[a+1]),o[a]=r(e[a],e[a+1]);return function(e){var r=Gy(t,e,1,n)-1;return o[r](i[r](e))}}function xg(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Og(){var t,e,r,n,i,o,a=vg,c=vg,l=pg,u=gg;function s(){var t=Math.min(a.length,c.length);return u!==gg&&(u=function(t,e){var r;return t>e&&(r=t,t=e,e=r),function(r){return Math.max(t,Math.min(e,r))}}(a[0],a[t-1])),n=t>2?wg:bg,i=o=null,f}function f(e){return null==e||isNaN(e=+e)?r:(i||(i=n(a.map(t),c,l)))(t(u(e)))}return f.invert=function(r){return u(e((o||(o=n(c,a.map(t),cg)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,yg),s()):a.slice()},f.range=function(t){return arguments.length?(c=Array.from(t),s()):c.slice()},f.rangeRound=function(t){return c=Array.from(t),l=hg,s()},f.clamp=function(t){return arguments.length?(u=!!t||gg,s()):u!==gg},f.interpolate=function(t){return arguments.length?(l=t,s()):l},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,s()}}function Sg(){return Og()(gg,gg)}function jg(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function Ag(t){return(t=jg(Math.abs(t)))?t[1]:NaN}var Pg,Mg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function kg(t){if(!(e=Mg.exec(t)))throw new Error("invalid format: "+t);var e;return new Eg({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 Eg(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 Cg(t,e){var r=jg(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}kg.prototype=Eg.prototype,Eg.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};var _g={"%":(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)=>Cg(100*t,e),r:Cg,s:function(t,e){var r=jg(t,e);if(!r)return t+"";var n=r[0],i=r[1],o=i-(Pg=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=n.length;return o===a?n:o>a?n+new Array(o-a+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+jg(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Tg(t){return t}var Dg,Ng,Ig,Lg=Array.prototype.map,Bg=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rg(t){var e,r,n=void 0===t.grouping||void 0===t.thousands?Tg:(e=Lg.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var i=t.length,o=[],a=0,c=e[0],l=0;i>0&&c>0&&(l+c+1>n&&(c=Math.max(1,n-l)),o.push(t.substring(i-=c,i+c)),!((l+=c+1)>n));)c=e[a=(a+1)%e.length];return o.reverse().join(r)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?Tg:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Lg.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=kg(t)).fill,r=t.align,f=t.sign,p=t.symbol,h=t.zero,d=t.width,y=t.comma,v=t.precision,g=t.trim,m=t.type;"n"===m?(y=!0,m="g"):_g[m]||(void 0===v&&(v=12),g=!0,m="g"),(h||"0"===e&&"="===r)&&(h=!0,e="0",r="=");var b="$"===p?i:"#"===p&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",w="$"===p?o:/[%p]/.test(m)?l:"",x=_g[m],O=/[defgprs%]/.test(m);function S(t){var i,o,l,p=b,S=w;if("c"===m)S=x(t)+S,t="";else{var j=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:x(Math.abs(t),v),g&&(t=function(t){t:for(var e,r=t.length,n=1,i=-1;n<r;++n)switch(t[n]){case".":i=e=n;break;case"0":0===i&&(i=n),e=n;break;default:if(!+t[n])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),j&&0==+t&&"+"!==f&&(j=!1),p=(j?"("===f?f:u:"-"===f||"("===f?"":f)+p,S=("s"===m?Bg[8+Pg/3]:"")+S+(j&&"("===f?")":""),O)for(i=-1,o=t.length;++i<o;)if(48>(l=t.charCodeAt(i))||l>57){S=(46===l?a+t.slice(i+1):t.slice(i))+S,t=t.slice(0,i);break}}y&&!h&&(t=n(t,1/0));var A=p.length+t.length+S.length,P=A<d?new Array(d-A+1).join(e):"";switch(y&&h&&(t=n(P+t,P.length?d-S.length:1/0),P=""),r){case"<":t=p+t+S+P;break;case"=":t=p+P+t+S;break;case"^":t=P.slice(0,A=P.length>>1)+p+t+S+P.slice(A);break;default:t=P+p+t+S}return c(t)}return v=void 0===v?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),S.toString=function(){return t+""},S}return{format:f,formatPrefix:function(t,e){var r=f(((t=kg(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(Ag(e)/3))),i=Math.pow(10,-n),o=Bg[8+n/3];return function(t){return r(i*t)+o}}}}function zg(t,e,r,n){var i,o=cv(t,e,r);switch((n=kg(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ag(e)/3)))-Ag(Math.abs(t)))}(o,a))||(n.precision=i),Ig(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Ag(e)-Ag(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=function(t){return Math.max(0,-Ag(Math.abs(t)))}(o))||(n.precision=i-2*("%"===n.type))}return Ng(n)}function $g(t){var e=t.domain;return t.ticks=function(t){var r=e();return ov(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return zg(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,i,o=e(),a=0,c=o.length-1,l=o[a],u=o[c],s=10;for(u<l&&(i=l,l=u,u=i,i=a,a=c,c=i);s-- >0;){if((i=av(l,u,r))===n)return o[a]=l,o[c]=u,e(o);if(i>0)l=Math.floor(l/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,u=Math.floor(u*i)/i}n=i}return t},t}function Hg(){var t=Sg();return t.copy=function(){return xg(t,Hg())},hv.apply(t,arguments),$g(t)}function Vg(t,e){var r,n=0,i=(t=t.slice()).length-1,o=t[n],a=t[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),t[n]=e.floor(o),t[i]=e.ceil(a),t}function Fg(t){return Math.log(t)}function Ug(t){return Math.exp(t)}function Wg(t){return-Math.log(-t)}function qg(t){return-Math.exp(-t)}function Yg(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Xg(t){return(e,r)=>-t(-e,r)}function Kg(t){const e=t(Fg,Ug),r=e.domain;let n,i,o=10;function a(){return n=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)}(o),i=function(t){return 10===t?Yg:t===Math.E?Math.exp:e=>Math.pow(t,e)}(o),r()[0]<0?(n=Xg(n),i=Xg(i),t(Wg,qg)):t(Fg,Ug),e}return e.base=function(t){return arguments.length?(o=+t,a()):o},e.domain=function(t){return arguments.length?(r(t),a()):r()},e.ticks=t=>{const e=r();let a=e[0],c=e[e.length-1];const l=c<a;l&&([a,c]=[c,a]);let u,s,f=n(a),p=n(c);const h=null==t?10:+t;let d=[];if(!(o%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(u=1;u<o;++u)if(s=f<0?u/i(-f):u*i(f),!(s<a)){if(s>c)break;d.push(s)}}else for(;f<=p;++f)for(u=o-1;u>=1;--u)if(s=f>0?u/i(-f):u*i(f),!(s<a)){if(s>c)break;d.push(s)}2*d.length<h&&(d=ov(a,c,h))}else d=ov(f,p,Math.min(p-f,h)).map(i);return l?d.reverse():d},e.tickFormat=(t,r)=>{if(null==t&&(t=10),null==r&&(r=10===o?"s":","),"function"!=typeof r&&(o%1||null!=(r=kg(r)).precision||(r.trim=!0),r=Ng(r)),t===1/0)return r;const a=Math.max(1,o*t/e.ticks().length);return t=>{let e=t/i(Math.round(n(t)));return e*o<o-.5&&(e*=o),e<=a?r(t):""}},e.nice=()=>r(Vg(r(),{floor:t=>i(Math.floor(n(t))),ceil:t=>i(Math.ceil(n(t)))})),e}function Gg(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function Zg(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function Jg(t){var e=1,r=t(Gg(e),Zg(e));return r.constant=function(r){return arguments.length?t(Gg(e=+r),Zg(e)):e},$g(r)}function Qg(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function tm(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function em(t){return t<0?-t*t:t*t}function rm(t){var e=t(gg,gg),r=1;return e.exponent=function(e){return arguments.length?1===(r=+e)?t(gg,gg):.5===r?t(tm,em):t(Qg(r),Qg(1/r)):r},$g(e)}function nm(){var t=rm(Og());return t.copy=function(){return xg(t,nm()).exponent(t.exponent())},hv.apply(t,arguments),t}function im(t){return Math.sign(t)*t*t}Dg=Rg({thousands:",",grouping:[3],currency:["$",""]}),Ng=Dg.format,Ig=Dg.formatPrefix;const om=new Date,am=new Date;function cm(t,e,r,n){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),i.round=t=>{const e=i(t),r=i.ceil(t);return t-e<r-t?e:r},i.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),i.range=(r,n,o)=>{const a=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n&&o>0))return a;let c;do{a.push(c=new Date(+r)),e(r,o),t(r)}while(c<r&&r<n);return a},i.filter=r=>cm((e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)}),((t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})),r&&(i.count=(e,n)=>(om.setTime(+e),am.setTime(+n),t(om),t(am),Math.floor(r(om,am))),i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(n?e=>n(e)%t==0:e=>i.count(0,e)%t==0):i:null)),i}const lm=cm((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));lm.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?cm((e=>{e.setTime(Math.floor(e/t)*t)}),((e,r)=>{e.setTime(+e+r*t)}),((e,r)=>(r-e)/t)):lm:null),lm.range;const um=1e3,sm=6e4,fm=36e5,pm=864e5,hm=6048e5,dm=2592e6,ym=31536e6,vm=cm((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*um)}),((t,e)=>(e-t)/um),(t=>t.getUTCSeconds()));vm.range;const gm=cm((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*um)}),((t,e)=>{t.setTime(+t+e*sm)}),((t,e)=>(e-t)/sm),(t=>t.getMinutes()));gm.range;const mm=cm((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*sm)}),((t,e)=>(e-t)/sm),(t=>t.getUTCMinutes()));mm.range;const bm=cm((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*um-t.getMinutes()*sm)}),((t,e)=>{t.setTime(+t+e*fm)}),((t,e)=>(e-t)/fm),(t=>t.getHours()));bm.range;const wm=cm((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*fm)}),((t,e)=>(e-t)/fm),(t=>t.getUTCHours()));wm.range;const xm=cm((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*sm)/pm),(t=>t.getDate()-1));xm.range;const Om=cm((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/pm),(t=>t.getUTCDate()-1));Om.range;const Sm=cm((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/pm),(t=>Math.floor(t/pm)));function jm(t){return cm((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())*sm)/hm))}Sm.range;const Am=jm(0),Pm=jm(1),Mm=jm(2),km=jm(3),Em=jm(4),Cm=jm(5),_m=jm(6);function Tm(t){return cm((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)/hm))}Am.range,Pm.range,Mm.range,km.range,Em.range,Cm.range,_m.range;const Dm=Tm(0),Nm=Tm(1),Im=Tm(2),Lm=Tm(3),Bm=Tm(4),Rm=Tm(5),zm=Tm(6);Dm.range,Nm.range,Im.range,Lm.range,Bm.range,Rm.range,zm.range;const $m=cm((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()));$m.range;const Hm=cm((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()));Hm.range;const Vm=cm((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()));Vm.every=t=>isFinite(t=Math.floor(t))&&t>0?cm((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,r)=>{e.setFullYear(e.getFullYear()+r*t)})):null,Vm.range;const Fm=cm((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 Um(t,e,r,n,i,o){const a=[[vm,1,um],[vm,5,5e3],[vm,15,15e3],[vm,30,3e4],[o,1,sm],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,fm],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,pm],[n,2,1728e5],[r,1,hm],[e,1,dm],[e,3,7776e6],[t,1,ym]];function c(e,r,n){const i=Math.abs(r-e)/n,o=Yy((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(cv(e/ym,r/ym,n));if(0===o)return lm.every(Math.max(cv(e,r,n),1));const[c,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(l)}return[function(t,e,r){const n=e<t;n&&([t,e]=[e,t]);const i=r&&"function"==typeof r.range?r:c(t,e,r),o=i?i.range(t,+e+1):[];return n?o.reverse():o},c]}Fm.every=t=>isFinite(t=Math.floor(t))&&t>0?cm((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)})):null,Fm.range;const[Wm,qm]=Um(Fm,Hm,Dm,Sm,wm,mm),[Ym,Xm]=Um(Vm,$m,Am,xm,bm,gm);function Km(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 Gm(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 Zm(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var Jm,Qm,tb,eb={"-":"",_:" ",0:"0"},rb=/^\s*\d+/,nb=/^%/,ib=/[\\^$*+?|[\]().{}]/g;function ob(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(e)+i:i)}function ab(t){return t.replace(ib,"\\$&")}function cb(t){return new RegExp("^(?:"+t.map(ab).join("|")+")","i")}function lb(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function ub(t,e,r){var n=rb.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function sb(t,e,r){var n=rb.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function fb(t,e,r){var n=rb.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function pb(t,e,r){var n=rb.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function hb(t,e,r){var n=rb.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function db(t,e,r){var n=rb.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function yb(t,e,r){var n=rb.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function vb(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function gb(t,e,r){var n=rb.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function mb(t,e,r){var n=rb.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function bb(t,e,r){var n=rb.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function wb(t,e,r){var n=rb.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function xb(t,e,r){var n=rb.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function Ob(t,e,r){var n=rb.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function Sb(t,e,r){var n=rb.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function jb(t,e,r){var n=rb.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function Ab(t,e,r){var n=rb.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Pb(t,e,r){var n=nb.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function Mb(t,e,r){var n=rb.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function kb(t,e,r){var n=rb.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function Eb(t,e){return ob(t.getDate(),e,2)}function Cb(t,e){return ob(t.getHours(),e,2)}function _b(t,e){return ob(t.getHours()%12||12,e,2)}function Tb(t,e){return ob(1+xm.count(Vm(t),t),e,3)}function Db(t,e){return ob(t.getMilliseconds(),e,3)}function Nb(t,e){return Db(t,e)+"000"}function Ib(t,e){return ob(t.getMonth()+1,e,2)}function Lb(t,e){return ob(t.getMinutes(),e,2)}function Bb(t,e){return ob(t.getSeconds(),e,2)}function Rb(t){var e=t.getDay();return 0===e?7:e}function zb(t,e){return ob(Am.count(Vm(t)-1,t),e,2)}function $b(t){var e=t.getDay();return e>=4||0===e?Em(t):Em.ceil(t)}function Hb(t,e){return t=$b(t),ob(Em.count(Vm(t),t)+(4===Vm(t).getDay()),e,2)}function Vb(t){return t.getDay()}function Fb(t,e){return ob(Pm.count(Vm(t)-1,t),e,2)}function Ub(t,e){return ob(t.getFullYear()%100,e,2)}function Wb(t,e){return ob((t=$b(t)).getFullYear()%100,e,2)}function qb(t,e){return ob(t.getFullYear()%1e4,e,4)}function Yb(t,e){var r=t.getDay();return ob((t=r>=4||0===r?Em(t):Em.ceil(t)).getFullYear()%1e4,e,4)}function Xb(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ob(e/60|0,"0",2)+ob(e%60,"0",2)}function Kb(t,e){return ob(t.getUTCDate(),e,2)}function Gb(t,e){return ob(t.getUTCHours(),e,2)}function Zb(t,e){return ob(t.getUTCHours()%12||12,e,2)}function Jb(t,e){return ob(1+Om.count(Fm(t),t),e,3)}function Qb(t,e){return ob(t.getUTCMilliseconds(),e,3)}function tw(t,e){return Qb(t,e)+"000"}function ew(t,e){return ob(t.getUTCMonth()+1,e,2)}function rw(t,e){return ob(t.getUTCMinutes(),e,2)}function nw(t,e){return ob(t.getUTCSeconds(),e,2)}function iw(t){var e=t.getUTCDay();return 0===e?7:e}function ow(t,e){return ob(Dm.count(Fm(t)-1,t),e,2)}function aw(t){var e=t.getUTCDay();return e>=4||0===e?Bm(t):Bm.ceil(t)}function cw(t,e){return t=aw(t),ob(Bm.count(Fm(t),t)+(4===Fm(t).getUTCDay()),e,2)}function lw(t){return t.getUTCDay()}function uw(t,e){return ob(Nm.count(Fm(t)-1,t),e,2)}function sw(t,e){return ob(t.getUTCFullYear()%100,e,2)}function fw(t,e){return ob((t=aw(t)).getUTCFullYear()%100,e,2)}function pw(t,e){return ob(t.getUTCFullYear()%1e4,e,4)}function hw(t,e){var r=t.getUTCDay();return ob((t=r>=4||0===r?Bm(t):Bm.ceil(t)).getUTCFullYear()%1e4,e,4)}function dw(){return"+0000"}function yw(){return"%"}function vw(t){return+t}function gw(t){return Math.floor(+t/1e3)}function mw(t){return new Date(t)}function bw(t){return t instanceof Date?+t:+new Date(+t)}function ww(t,e,r,n,i,o,a,c,l,u){var s=Sg(),f=s.invert,p=s.domain,h=u(".%L"),d=u(":%S"),y=u("%I:%M"),v=u("%I %p"),g=u("%a %d"),m=u("%b %d"),b=u("%B"),w=u("%Y");function x(t){return(l(t)<t?h:c(t)<t?d:a(t)<t?y:o(t)<t?v:n(t)<t?i(t)<t?g:m:r(t)<t?b:w)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,bw)):p().map(mw)},s.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)},s.tickFormat=function(t,e){return null==e?x:u(e)},s.nice=function(t){var r=p();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(Vg(r,t)):s},s.copy=function(){return xg(s,ww(t,e,r,n,i,o,a,c,l,u))},s}function xw(){var t,e,r,n,i,o=0,a=1,c=gg,l=!1;function u(e){return null==e||isNaN(e=+e)?i:c(0===r?.5:(e=(n(e)-t)*r,l?Math.max(0,Math.min(1,e)):e))}function s(t){return function(e){var r,n;return arguments.length?([r,n]=e,c=t(r,n),u):[c(0),c(1)]}}return u.domain=function(i){return arguments.length?([o,a]=i,t=n(o=+o),e=n(a=+a),r=t===e?0:1/(e-t),u):[o,a]},u.clamp=function(t){return arguments.length?(l=!!t,u):l},u.interpolator=function(t){return arguments.length?(c=t,u):c},u.range=s(pg),u.rangeRound=s(hg),u.unknown=function(t){return arguments.length?(i=t,u):i},function(i){return n=i,t=i(o),e=i(a),r=t===e?0:1/(e-t),u}}function Ow(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Sw(){var t=rm(xw());return t.copy=function(){return Ow(t,Sw()).exponent(t.exponent())},dv.apply(t,arguments)}function jw(){var t,e,r,n,i,o,a,c=0,l=.5,u=1,s=1,f=gg,p=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(s*t<s*e?n:i),f(p?Math.max(0,Math.min(1,t)):t))}function d(t){return function(e){var r,n,i;return arguments.length?([r,n,i]=e,f=dg(t,[r,n,i]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([c,l,u]=a,t=o(c=+c),e=o(l=+l),r=o(u=+u),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),s=e<t?-1:1,h):[c,l,u]},h.clamp=function(t){return arguments.length?(p=!!t,h):p},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=d(pg),h.rangeRound=d(hg),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return o=a,t=a(c),e=a(l),r=a(u),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),s=e<t?-1:1,h}}function Aw(){var t=rm(jw());return t.copy=function(){return Ow(t,Aw()).exponent(t.exponent())},dv.apply(t,arguments)}!function(t){Jm=function(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,o=t.days,a=t.shortDays,c=t.months,l=t.shortMonths,u=cb(i),s=lb(i),f=cb(o),p=lb(o),h=cb(a),d=lb(a),y=cb(c),v=lb(c),g=cb(l),m=lb(l),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return c[t.getMonth()]},c:null,d:Eb,e:Eb,f:Nb,g:Wb,G:Yb,H:Cb,I:_b,j:Tb,L:Db,m:Ib,M:Lb,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:vw,s:gw,S:Bb,u:Rb,U:zb,V:Hb,w:Vb,W:Fb,x:null,X:null,y:Ub,Y:qb,Z:Xb,"%":yw},w={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return c[t.getUTCMonth()]},c:null,d:Kb,e:Kb,f:tw,g:fw,G:hw,H:Gb,I:Zb,j:Jb,L:Qb,m:ew,M:rw,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:vw,s:gw,S:nw,u:iw,U:ow,V:cw,w:lw,W:uw,x:null,X:null,y:sw,Y:pw,Z:dw,"%":yw},x={a:function(t,e,r){var n=h.exec(e.slice(r));return n?(t.w=d.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=g.exec(e.slice(r));return n?(t.m=m.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return j(t,e,r,n)},d:bb,e:bb,f:Ab,g:yb,G:db,H:xb,I:xb,j:wb,L:jb,m:mb,M:Ob,p:function(t,e,r){var n=u.exec(e.slice(r));return n?(t.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:gb,Q:Mb,s:kb,S:Sb,u:sb,U:fb,V:pb,w:ub,W:hb,x:function(t,e,n){return j(t,r,e,n)},X:function(t,e,r){return j(t,n,e,r)},y:yb,Y:db,Z:vb,"%":Pb};function O(t,e){return function(r){var n,i,o,a=[],c=-1,l=0,u=t.length;for(r instanceof Date||(r=new Date(+r));++c<u;)37===t.charCodeAt(c)&&(a.push(t.slice(l,c)),null!=(i=eb[n=t.charAt(++c)])?n=t.charAt(++c):i="e"===n?" ":"0",(o=e[n])&&(n=o(r,i)),a.push(n),l=c+1);return a.push(t.slice(l,c)),a.join("")}}function S(t,e){return function(r){var n,i,o=Zm(1900,void 0,1);if(j(o,t,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(e&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(n=Gm(Zm(o.y,0,1))).getUTCDay(),n=i>4||0===i?Nm.ceil(n):Nm(n),n=Om.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=Km(Zm(o.y,0,1))).getDay(),n=i>4||0===i?Pm.ceil(n):Pm(n),n=xm.offset(n,7*(o.V-1)),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Gm(Zm(o.y,0,1)).getUTCDay():Km(Zm(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Gm(o)):Km(o)}}function j(t,e,r,n){for(var i,o,a=0,c=e.length,l=r.length;a<c;){if(n>=l)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=x[i in eb?e.charAt(a++):i])||(n=o(t,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return b.x=O(r,b),b.X=O(n,b),b.c=O(e,b),w.x=O(r,w),w.X=O(n,w),w.c=O(e,w),{format:function(t){var e=O(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=S(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=O(t+="",w);return e.toString=function(){return t},e},utcParse:function(t){var e=S(t+="",!0);return e.toString=function(){return t},e}}}(t),Qm=Jm.format,Jm.parse,tb=Jm.utcFormat,Jm.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Pw=Object.freeze({__proto__:null,scaleBand:gv,scaleDiverging:function t(){var e=$g(jw()(gg));return e.copy=function(){return Ow(e,t())},dv.apply(e,arguments)},scaleDivergingLog:function t(){var e=Kg(jw()).domain([.1,1,10]);return e.copy=function(){return Ow(e,t()).base(e.base())},dv.apply(e,arguments)},scaleDivergingPow:Aw,scaleDivergingSqrt:function(){return Aw.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function t(){var e=Jg(jw());return e.copy=function(){return Ow(e,t()).constant(e.constant())},dv.apply(e,arguments)},scaleIdentity:function t(e){var r;function n(t){return null==t||isNaN(t=+t)?r:t}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,yg),n):e.slice()},n.unknown=function(t){return arguments.length?(r=t,n):r},n.copy=function(){return t(e).unknown(r)},e=arguments.length?Array.from(e,yg):[0,1],$g(n)},scaleImplicit:yv,scaleLinear:Hg,scaleLog:function t(){const e=Kg(Og()).domain([1,10]);return e.copy=()=>xg(e,t()).base(e.base()),hv.apply(e,arguments),e},scaleOrdinal:vv,scalePoint:bv,scalePow:nm,scaleQuantile:function t(){var e,r=[],n=[],i=[];function o(){var t=0,e=Math.max(1,n.length);for(i=new Array(e-1);++t<e;)i[t-1]=pv(r,t/e);return a}function a(t){return null==t||isNaN(t=+t)?e:n[Gy(i,t)]}return a.invertExtent=function(t){var e=n.indexOf(t);return e<0?[NaN,NaN]:[e>0?i[e-1]:r[0],e<i.length?i[e]:r[r.length-1]]},a.domain=function(t){if(!arguments.length)return r.slice();r=[];for(let e of t)null==e||isNaN(e=+e)||r.push(e);return r.sort(Wy),o()},a.range=function(t){return arguments.length?(n=Array.from(t),o()):n.slice()},a.unknown=function(t){return arguments.length?(e=t,a):e},a.quantiles=function(){return i.slice()},a.copy=function(){return t().domain(r).range(n).unknown(e)},hv.apply(a,arguments)},scaleQuantize:function t(){var e,r=0,n=1,i=1,o=[.5],a=[0,1];function c(t){return null!=t&&t<=t?a[Gy(o,t,0,i)]:e}function l(){var t=-1;for(o=new Array(i);++t<i;)o[t]=((t+1)*n-(t-i)*r)/(i+1);return c}return c.domain=function(t){return arguments.length?([r,n]=t,r=+r,n=+n,l()):[r,n]},c.range=function(t){return arguments.length?(i=(a=Array.from(t)).length-1,l()):a.slice()},c.invertExtent=function(t){var e=a.indexOf(t);return e<0?[NaN,NaN]:e<1?[r,o[0]]:e>=i?[o[i-1],n]:[o[e-1],o[e]]},c.unknown=function(t){return arguments.length?(e=t,c):c},c.thresholds=function(){return o.slice()},c.copy=function(){return t().domain([r,n]).range(a).unknown(e)},hv.apply($g(c),arguments)},scaleRadial:function t(){var e,r=Sg(),n=[0,1],i=!1;function o(t){var n=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(r(t));return isNaN(n)?e:i?Math.round(n):n}return o.invert=function(t){return r.invert(im(t))},o.domain=function(t){return arguments.length?(r.domain(t),o):r.domain()},o.range=function(t){return arguments.length?(r.range((n=Array.from(t,yg)).map(im)),o):n.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(i=!!t,o):i},o.clamp=function(t){return arguments.length?(r.clamp(t),o):r.clamp()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return t(r.domain(),n).round(i).clamp(r.clamp()).unknown(e)},hv.apply(o,arguments),$g(o)},scaleSequential:function t(){var e=$g(xw()(gg));return e.copy=function(){return Ow(e,t())},dv.apply(e,arguments)},scaleSequentialLog:function t(){var e=Kg(xw()).domain([1,10]);return e.copy=function(){return Ow(e,t()).base(e.base())},dv.apply(e,arguments)},scaleSequentialPow:Sw,scaleSequentialQuantile:function t(){var e=[],r=gg;function n(t){if(null!=t&&!isNaN(t=+t))return r((Gy(e,t,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let r of t)null==r||isNaN(r=+r)||e.push(r);return e.sort(Wy),n},n.interpolator=function(t){return arguments.length?(r=t,n):r},n.range=function(){return e.map(((t,n)=>r(n/(e.length-1))))},n.quantiles=function(t){return Array.from({length:t+1},((r,n)=>function(t,e,r){if((n=(t=Float64Array.from(function*(t,e){for(let e of t)null!=e&&(e=+e)>=e&&(yield e)}(t))).length)&&!isNaN(e=+e)){if(e<=0||n<2)return uv(t);if(e>=1)return lv(t);var n,i=(n-1)*e,o=Math.floor(i),a=lv(sv(t,o).subarray(0,o+1));return a+(uv(t.subarray(o+1))-a)*(i-o)}}(e,n/t)))},n.copy=function(){return t(r).domain(e)},dv.apply(n,arguments)},scaleSequentialSqrt:function(){return Sw.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function t(){var e=Jg(xw());return e.copy=function(){return Ow(e,t()).constant(e.constant())},dv.apply(e,arguments)},scaleSqrt:function(){return nm.apply(null,arguments).exponent(.5)},scaleSymlog:function t(){var e=Jg(Og());return e.copy=function(){return xg(e,t()).constant(e.constant())},hv.apply(e,arguments)},scaleThreshold:function t(){var e,r=[.5],n=[0,1],i=1;function o(t){return null!=t&&t<=t?n[Gy(r,t,0,i)]:e}return o.domain=function(t){return arguments.length?(r=Array.from(t),i=Math.min(r.length,n.length-1),o):r.slice()},o.range=function(t){return arguments.length?(n=Array.from(t),i=Math.min(r.length,n.length-1),o):n.slice()},o.invertExtent=function(t){var e=n.indexOf(t);return[r[e-1],r[e]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return t().domain(r).range(n).unknown(e)},hv.apply(o,arguments)},scaleTime:function(){return hv.apply(ww(Ym,Xm,Vm,$m,Am,xm,bm,gm,vm,Qm).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return hv.apply(ww(Wm,qm,Fm,Hm,Dm,Om,wm,mm,vm,tb).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:zg}),Mw=On;var kw=function(t,e,r){for(var n=-1,i=t.length;++n<i;){var o=t[n],a=e(o);if(null!=a&&(void 0===c?a==a&&!Mw(a):r(a,c)))var c=a,l=o}return l};var Ew=kw,Cw=function(t,e){return t>e},_w=Yf;var Tw=function(t){return t&&t.length?Ew(t,_w,Cw):void 0},Dw=We(Tw);var Nw=kw,Iw=function(t,e){return t<e},Lw=Yf;var Bw=function(t){return t&&t.length?Nw(t,Lw,Iw):void 0},Rw=We(Bw),zw=oo,$w=ap,Hw=ah,Vw=en;var Fw=Zp,Uw=function(t,e){return(Vw(t)?zw:Hw)(t,$w(e))};var Ww=We((function(t,e){return Fw(Uw(t,e),1)})),qw=df;var Yw,Xw=We((function(t,e){return qw(t,e)})),Kw=1e9,Gw=!0,Zw="[DecimalError] ",Jw=Zw+"Invalid argument: ",Qw=Zw+"Exponent out of range: ",tx=Math.floor,ex=Math.pow,rx=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,nx=1e7,ix=7,ox=9007199254740991,ax=tx(ox/ix),cx={};function lx(t,e){var r,n,i,o,a,c,l,u,s=t.constructor,f=s.precision;if(!t.s||!e.s)return e.s||(e=new s(t)),Gw?mx(e,f):e;if(l=t.d,u=e.d,a=t.e,i=e.e,l=l.slice(),o=a-i){for(o<0?(n=l,o=-o,c=u.length):(n=u,i=a,c=l.length),o>(c=(a=Math.ceil(f/ix))>c?a+1:c+1)&&(o=c,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((c=l.length)-(o=u.length)<0&&(o=c,n=u,u=l,l=n),r=0;o;)r=(l[--o]=l[o]+u[o]+r)/nx|0,l[o]%=nx;for(r&&(l.unshift(r),++i),c=l.length;0==l[--c];)l.pop();return e.d=l,e.e=i,Gw?mx(e,f):e}function ux(t,e,r){if(t!==~~t||t<e||t>r)throw Error(Jw+t)}function sx(t){var e,r,n,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)n=t[e]+"",(r=ix-n.length)&&(o+=yx(r)),o+=n;a=t[e],(r=ix-(n=a+"").length)&&(o+=yx(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}cx.absoluteValue=cx.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},cx.comparedTo=cx.cmp=function(t){var e,r,n,i,o=this;if(t=new o.constructor(t),o.s!==t.s)return o.s||-t.s;if(o.e!==t.e)return o.e>t.e^o.s<0?1:-1;for(e=0,r=(n=o.d.length)<(i=t.d.length)?n:i;e<r;++e)if(o.d[e]!==t.d[e])return o.d[e]>t.d[e]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},cx.decimalPlaces=cx.dp=function(){var t=this,e=t.d.length-1,r=(e-t.e)*ix;if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},cx.dividedBy=cx.div=function(t){return fx(this,new this.constructor(t))},cx.dividedToIntegerBy=cx.idiv=function(t){var e=this.constructor;return mx(fx(this,new e(t),0,1),e.precision)},cx.equals=cx.eq=function(t){return!this.cmp(t)},cx.exponent=function(){return hx(this)},cx.greaterThan=cx.gt=function(t){return this.cmp(t)>0},cx.greaterThanOrEqualTo=cx.gte=function(t){return this.cmp(t)>=0},cx.isInteger=cx.isint=function(){return this.e>this.d.length-2},cx.isNegative=cx.isneg=function(){return this.s<0},cx.isPositive=cx.ispos=function(){return this.s>0},cx.isZero=function(){return 0===this.s},cx.lessThan=cx.lt=function(t){return this.cmp(t)<0},cx.lessThanOrEqualTo=cx.lte=function(t){return this.cmp(t)<1},cx.logarithm=cx.log=function(t){var e,r=this,n=r.constructor,i=n.precision,o=i+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq(Yw))throw Error(Zw+"NaN");if(r.s<1)throw Error(Zw+(r.s?"NaN":"-Infinity"));return r.eq(Yw)?new n(0):(Gw=!1,e=fx(vx(r,o),vx(t,o),o),Gw=!0,mx(e,i))},cx.minus=cx.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?bx(e,t):lx(e,(t.s=-t.s,t))},cx.modulo=cx.mod=function(t){var e,r=this,n=r.constructor,i=n.precision;if(!(t=new n(t)).s)throw Error(Zw+"NaN");return r.s?(Gw=!1,e=fx(r,t,0,1).times(t),Gw=!0,r.minus(e)):mx(new n(r),i)},cx.naturalExponential=cx.exp=function(){return px(this)},cx.naturalLogarithm=cx.ln=function(){return vx(this)},cx.negated=cx.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},cx.plus=cx.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?lx(e,t):bx(e,(t.s=-t.s,t))},cx.precision=cx.sd=function(t){var e,r,n,i=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(Jw+t);if(e=hx(i)+1,r=(n=i.d.length-1)*ix+1,n=i.d[n]){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},cx.squareRoot=cx.sqrt=function(){var t,e,r,n,i,o,a,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(Zw+"NaN")}for(t=hx(c),Gw=!1,0==(i=Math.sqrt(+c))||i==1/0?(((e=sx(c.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=tx((t+1)/2)-(t<0||t%2),n=new l(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(fx(c,o,a+2)).times(.5),sx(o.d).slice(0,a)===(e=sx(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(mx(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=e)break;a+=4}return Gw=!0,mx(n,r)},cx.times=cx.mul=function(t){var e,r,n,i,o,a,c,l,u,s=this,f=s.constructor,p=s.d,h=(t=new f(t)).d;if(!s.s||!t.s)return new f(0);for(t.s*=s.s,r=s.e+t.e,(l=p.length)<(u=h.length)&&(o=p,p=h,h=o,a=l,l=u,u=a),o=[],n=a=l+u;n--;)o.push(0);for(n=u;--n>=0;){for(e=0,i=l+n;i>n;)c=o[i]+h[n]*p[i-n-1]+e,o[i--]=c%nx|0,e=c/nx|0;o[i]=(o[i]+e)%nx|0}for(;!o[--a];)o.pop();return e?++r:o.shift(),t.d=o,t.e=r,Gw?mx(t,f.precision):t},cx.toDecimalPlaces=cx.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(ux(t,0,Kw),void 0===e?e=n.rounding:ux(e,0,8),mx(r,t+hx(r)+1,e))},cx.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=wx(n,!0):(ux(t,0,Kw),void 0===e?e=i.rounding:ux(e,0,8),r=wx(n=mx(new i(n),t+1,e),!0,t+1)),r},cx.toFixed=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?wx(i):(ux(t,0,Kw),void 0===e?e=o.rounding:ux(e,0,8),r=wx((n=mx(new o(i),t+hx(i)+1,e)).abs(),!1,t+hx(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},cx.toInteger=cx.toint=function(){var t=this,e=t.constructor;return mx(new e(t),hx(t)+1,e.rounding)},cx.toNumber=function(){return+this},cx.toPower=cx.pow=function(t){var e,r,n,i,o,a,c=this,l=c.constructor,u=+(t=new l(t));if(!t.s)return new l(Yw);if(!(c=new l(c)).s){if(t.s<1)throw Error(Zw+"Infinity");return c}if(c.eq(Yw))return c;if(n=l.precision,t.eq(Yw))return mx(c,n);if(a=(e=t.e)>=(r=t.d.length-1),o=c.s,a){if((r=u<0?-u:u)<=ox){for(i=new l(Yw),e=Math.ceil(n/ix+4),Gw=!1;r%2&&xx((i=i.times(c)).d,e),0!==(r=tx(r/2));)xx((c=c.times(c)).d,e);return Gw=!0,t.s<0?new l(Yw).div(i):mx(i,n)}}else if(o<0)throw Error(Zw+"NaN");return o=o<0&&1&t.d[Math.max(e,r)]?-1:1,c.s=1,Gw=!1,i=t.times(vx(c,n+12)),Gw=!0,(i=px(i)).s=o,i},cx.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?n=wx(i,(r=hx(i))<=o.toExpNeg||r>=o.toExpPos):(ux(t,1,Kw),void 0===e?e=o.rounding:ux(e,0,8),n=wx(i=mx(new o(i),t,e),t<=(r=hx(i))||r<=o.toExpNeg,t)),n},cx.toSignificantDigits=cx.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(ux(t,1,Kw),void 0===e?e=r.rounding:ux(e,0,8)),mx(new r(this),t,e)},cx.toString=cx.valueOf=cx.val=cx.toJSON=cx[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=hx(t),r=t.constructor;return wx(t,e<=r.toExpNeg||e>=r.toExpPos)};var fx=function(){function t(t,e){var r,n=0,i=t.length;for(t=t.slice();i--;)r=t[i]*e+n,t[i]=r%nx|0,n=r/nx|0;return n&&t.unshift(n),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=t[r]<e[r]?1:0,t[r]=n*nx+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,i,o,a){var c,l,u,s,f,p,h,d,y,v,g,m,b,w,x,O,S,j,A=n.constructor,P=n.s==i.s?1:-1,M=n.d,k=i.d;if(!n.s)return new A(n);if(!i.s)throw Error(Zw+"Division by zero");for(l=n.e-i.e,S=k.length,x=M.length,d=(h=new A(P)).d=[],u=0;k[u]==(M[u]||0);)++u;if(k[u]>(M[u]||0)&&--l,(m=null==o?o=A.precision:a?o+(hx(n)-hx(i))+1:o)<0)return new A(0);if(m=m/ix+2|0,u=0,1==S)for(s=0,k=k[0],m++;(u<x||s)&&m--;u++)b=s*nx+(M[u]||0),d[u]=b/k|0,s=b%k|0;else{for((s=nx/(k[0]+1)|0)>1&&(k=t(k,s),M=t(M,s),S=k.length,x=M.length),w=S,v=(y=M.slice(0,S)).length;v<S;)y[v++]=0;(j=k.slice()).unshift(0),O=k[0],k[1]>=nx/2&&++O;do{s=0,(c=e(k,y,S,v))<0?(g=y[0],S!=v&&(g=g*nx+(y[1]||0)),(s=g/O|0)>1?(s>=nx&&(s=nx-1),1==(c=e(f=t(k,s),y,p=f.length,v=y.length))&&(s--,r(f,S<p?j:k,p))):(0==s&&(c=s=1),f=k.slice()),(p=f.length)<v&&f.unshift(0),r(y,f,v),-1==c&&(c=e(k,y,S,v=y.length))<1&&(s++,r(y,S<v?j:k,v)),v=y.length):0===c&&(s++,y=[0]),d[u++]=s,c&&y[0]?y[v++]=M[w]||0:(y=[M[w]],v=1)}while((w++<x||void 0!==y[0])&&m--)}return d[0]||d.shift(),h.e=l,mx(h,a?o+hx(h)+1:o)}}();function px(t,e){var r,n,i,o,a,c=0,l=0,u=t.constructor,s=u.precision;if(hx(t)>16)throw Error(Qw+hx(t));if(!t.s)return new u(Yw);for(null==e?(Gw=!1,a=s):a=e,o=new u(.03125);t.abs().gte(.1);)t=t.times(o),l+=5;for(a+=Math.log(ex(2,l))/Math.LN10*2+5|0,r=n=i=new u(Yw),u.precision=a;;){if(n=mx(n.times(t),a),r=r.times(++c),sx((o=i.plus(fx(n,r,a))).d).slice(0,a)===sx(i.d).slice(0,a)){for(;l--;)i=mx(i.times(i),a);return u.precision=s,null==e?(Gw=!0,mx(i,s)):i}i=o}}function hx(t){for(var e=t.e*ix,r=t.d[0];r>=10;r/=10)e++;return e}function dx(t,e,r){if(e>t.LN10.sd())throw Gw=!0,r&&(t.precision=r),Error(Zw+"LN10 precision limit exceeded");return mx(new t(t.LN10),e)}function yx(t){for(var e="";t--;)e+="0";return e}function vx(t,e){var r,n,i,o,a,c,l,u,s,f=1,p=t,h=p.d,d=p.constructor,y=d.precision;if(p.s<1)throw Error(Zw+(p.s?"NaN":"-Infinity"));if(p.eq(Yw))return new d(0);if(null==e?(Gw=!1,u=y):u=e,p.eq(10))return null==e&&(Gw=!0),dx(d,u);if(u+=10,d.precision=u,n=(r=sx(h)).charAt(0),o=hx(p),!(Math.abs(o)<15e14))return l=dx(d,u+2,y).times(o+""),p=vx(new d(n+"."+r.slice(1)),u-10).plus(l),d.precision=y,null==e?(Gw=!0,mx(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=sx((p=p.times(t)).d)).charAt(0),f++;for(o=hx(p),n>1?(p=new d("0."+r),o++):p=new d(n+"."+r.slice(1)),c=a=p=fx(p.minus(Yw),p.plus(Yw),u),s=mx(p.times(p),u),i=3;;){if(a=mx(a.times(s),u),sx((l=c.plus(fx(a,new d(i),u))).d).slice(0,u)===sx(c.d).slice(0,u))return c=c.times(2),0!==o&&(c=c.plus(dx(d,u+2,y).times(o+""))),c=fx(c,new d(f),u),d.precision=y,null==e?(Gw=!0,mx(c,y)):c;c=l,i+=2}}function gx(t,e){var r,n,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(n,i)){if(i-=n,r=r-n-1,t.e=tx(r/ix),t.d=[],n=(r+1)%ix,r<0&&(n+=ix),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=ix;n<i;)t.d.push(+e.slice(n,n+=ix));e=e.slice(n),n=ix-e.length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),Gw&&(t.e>ax||t.e<-ax))throw Error(Qw+r)}else t.s=0,t.e=0,t.d=[0];return t}function mx(t,e,r){var n,i,o,a,c,l,u,s,f=t.d;for(a=1,o=f[0];o>=10;o/=10)a++;if((n=e-a)<0)n+=ix,i=e,u=f[s=0];else{if((s=Math.ceil((n+1)/ix))>=(o=f.length))return t;for(u=o=f[s],a=1;o>=10;o/=10)a++;i=(n%=ix)-ix+a}if(void 0!==r&&(c=u/(o=ex(10,a-i-1))%10|0,l=e<0||void 0!==f[s+1]||u%o,l=r<4?(c||l)&&(0==r||r==(t.s<0?3:2)):c>5||5==c&&(4==r||l||6==r&&(n>0?i>0?u/ex(10,a-i):0:f[s-1])%10&1||r==(t.s<0?8:7))),e<1||!f[0])return l?(o=hx(t),f.length=1,e=e-o-1,f[0]=ex(10,(ix-e%ix)%ix),t.e=tx(-e/ix)||0):(f.length=1,f[0]=t.e=t.s=0),t;if(0==n?(f.length=s,o=1,s--):(f.length=s+1,o=ex(10,ix-n),f[s]=i>0?(u/ex(10,a-i)%ex(10,i)|0)*o:0),l)for(;;){if(0==s){(f[0]+=o)==nx&&(f[0]=1,++t.e);break}if(f[s]+=o,f[s]!=nx)break;f[s--]=0,o=1}for(n=f.length;0===f[--n];)f.pop();if(Gw&&(t.e>ax||t.e<-ax))throw Error(Qw+hx(t));return t}function bx(t,e){var r,n,i,o,a,c,l,u,s,f,p=t.constructor,h=p.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new p(t),Gw?mx(e,h):e;if(l=t.d,f=e.d,n=e.e,u=t.e,l=l.slice(),a=u-n){for((s=a<0)?(r=l,a=-a,c=f.length):(r=f,n=u,c=l.length),a>(i=Math.max(Math.ceil(h/ix),c)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((s=(i=l.length)<(c=f.length))&&(c=i),i=0;i<c;i++)if(l[i]!=f[i]){s=l[i]<f[i];break}a=0}for(s&&(r=l,l=f,f=r,e.s=-e.s),c=l.length,i=f.length-c;i>0;--i)l[c++]=0;for(i=f.length;i>a;){if(l[--i]<f[i]){for(o=i;o&&0===l[--o];)l[o]=nx-1;--l[o],l[i]+=nx}l[i]-=f[i]}for(;0===l[--c];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(e.d=l,e.e=n,Gw?mx(e,h):e):new p(0)}function wx(t,e,r){var n,i=hx(t),o=sx(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+yx(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+yx(-i-1)+o,r&&(n=r-a)>0&&(o+=yx(n))):i>=a?(o+=yx(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+yx(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=yx(n))),t.s<0?"-"+o:o}function xx(t,e){if(t.length>e)return t.length=e,!0}function Ox(t){if(!t||"object"!=typeof t)throw Error(Zw+"Object expected");var e,r,n,i=["precision",1,Kw,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(n=t[r=i[e]])){if(!(tx(n)===n&&n>=i[e+1]&&n<=i[e+2]))throw Error(Jw+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(Jw+r+": "+n);this[r]=new this(n)}return this}var Sx=function t(e){var r,n,i;function o(t){var e=this;if(!(e instanceof o))return new o(t);if(e.constructor=o,t instanceof o)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(Jw+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])):gx(e,t.toString())}if("string"!=typeof t)throw Error(Jw+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!rx.test(t))throw Error(Jw+t);gx(e,t)}if(o.prototype=cx,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=Ox,void 0===e&&(e={}),e)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<i.length;)e.hasOwnProperty(n=i[r++])||(e[n]=this[n]);return o.config(e),o}({precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"});Yw=new Sx(1);var jx=Sx;function Ax(t){return function(t){if(Array.isArray(t))return Px(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Px(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Px(t,e)}(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 Px(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Mx=function(t){return t},kx={"@@functional/placeholder":!0},Ex=function(t){return t===kx},Cx=function(t){return function e(){return 0===arguments.length||1===arguments.length&&Ex(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},_x=function t(e,r){return 1===e?r:Cx((function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter((function(t){return t!==kx})).length;return a>=e?r.apply(void 0,i):t(e-a,Cx((function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=i.map((function(t){return Ex(t)?e.shift():t}));return r.apply(void 0,Ax(o).concat(e))})))}))},Tx=function(t){return _x(t.length,t)},Dx=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},Nx=Tx((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),Ix=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return Mx;var n=e.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce((function(t,e){return e(t)}),i.apply(void 0,arguments))}},Lx=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Bx=function(t){var e=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e&&i.every((function(t,r){return t===e[r]}))?r:(e=i,r=t.apply(void 0,i))}};var Rx=Tx((function(t,e,r){var n=+t;return n+r*(+e-n)})),zx=Tx((function(t,e,r){var n=e-+t;return(r-t)/(n=n||1/0)})),$x=Tx((function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))})),Hx={rangeStep:function(t,e,r){for(var n=new jx(t),i=0,o=[];n.lt(e)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(t){return 0===t?1:Math.floor(new jx(t).abs().log(10).toNumber())+1},interpolateNumber:Rx,uninterpolateNumber:zx,uninterpolateTruncation:$x};function Vx(t){return function(t){if(Array.isArray(t))return Wx(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Ux(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 Fx(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(t,e)||Ux(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 Ux(t,e){if(t){if("string"==typeof t)return Wx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wx(t,e):void 0}}function Wx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function qx(t){var e=Fx(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Yx(t,e,r){if(t.lte(0))return new jx(0);var n=Hx.getDigitCount(t.toNumber()),i=new jx(10).pow(n),o=t.div(i),a=1!==n?.05:.1,c=new jx(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?c:new jx(Math.ceil(c))}function Xx(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(r-1)))return{step:new jx(0),tickMin:new jx(0),tickMax:new jx(0)};var o,a=Yx(new jx(e).sub(t).div(r-1),n,i);o=t<=0&&e>=0?new jx(0):(o=new jx(t).add(e).div(2)).sub(new jx(o).mod(a));var c=Math.ceil(o.sub(t).div(a).toNumber()),l=Math.ceil(new jx(e).sub(o).div(a).toNumber()),u=c+l+1;return u>r?Xx(t,e,r,n,i+1):(u<r&&(l=e>0?l+(r-u):l,c=e>0?c:c+(r-u)),{step:a,tickMin:o.sub(new jx(c).mul(a)),tickMax:o.add(new jx(l).mul(a))})}var Kx=Bx((function(t){var e=Fx(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Fx(qx([r,n]),2),l=c[0],u=c[1];if(l===-1/0||u===1/0){var s=u===1/0?[l].concat(Vx(Dx(0,i-1).map((function(){return 1/0})))):[].concat(Vx(Dx(0,i-1).map((function(){return-1/0}))),[u]);return r>n?Lx(s):s}if(l===u)return function(t,e,r){var n=1,i=new jx(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new jx(10).pow(Hx.getDigitCount(t)-1),i=new jx(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new jx(Math.floor(t)))}else 0===t?i=new jx(Math.floor((e-1)/2)):r||(i=new jx(Math.floor(t)));var a=Math.floor((e-1)/2);return Ix(Nx((function(t){return i.add(new jx(t-a).mul(n)).toNumber()})),Dx)(0,e)}(l,i,o);var f=Xx(l,u,a,o),p=f.step,h=f.tickMin,d=f.tickMax,y=Hx.rangeStep(h,d.add(new jx(.1).mul(p)),p);return r>n?Lx(y):y})),Gx=Bx((function(t,e){var r=Fx(t,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Fx(qx([n,i]),2),c=a[0],l=a[1];if(c===-1/0||l===1/0)return[n,i];if(c===l)return[c];var u=Math.max(e,2),s=Yx(new jx(l).sub(c).div(u-1),o,0),f=[].concat(Vx(Hx.rangeStep(new jx(c),new jx(l).sub(new jx(.99).mul(s)),s)),[l]);return n>i?Lx(f):f})),Zx="production"===process.env.NODE_ENV,Jx="Invariant failed";function Qx(t,e){if(Zx)throw new Error(Jx);var r="function"==typeof e?e():e,n=r?"".concat(Jx,": ").concat(r):Jx;throw new Error(n)}var tO=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function eO(){return eO=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},eO.apply(this,arguments)}function rO(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return nO(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nO(t,e)}(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 nO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function iO(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function oO(t){var e=t.offset,r=t.layout,n=t.width,i=t.dataKey,o=t.data,a=t.dataPointFormatter,c=t.xAxis,l=t.yAxis,u=iO(t,tO),s=Sa(u,!1);"x"===t.direction&&"number"!==c.type&&("production"!==process.env.NODE_ENV?Qx(0,'ErrorBar requires Axis type property to be "number".'):Qx());var f=o.map((function(t){var o=a(t,i),u=o.x,f=o.y,p=o.value,h=o.errorVal;if(!h)return null;var d,y,v=[];if(Array.isArray(h)){var g=rO(h,2);d=g[0],y=g[1]}else d=y=h;if("vertical"===r){var m=c.scale,b=f+e,w=b+n,x=b-n,O=m(p-d),S=m(p+y);v.push({x1:S,y1:w,x2:S,y2:x}),v.push({x1:O,y1:b,x2:S,y2:b}),v.push({x1:O,y1:w,x2:O,y2:x})}else if("horizontal"===r){var j=l.scale,A=u+e,P=A-n,M=A+n,k=j(p-d),E=j(p+y);v.push({x1:P,y1:E,x2:M,y2:E}),v.push({x1:A,y1:k,x2:A,y2:E}),v.push({x1:P,y1:k,x2:M,y2:k})}return Q.createElement(Na,eO({className:"recharts-errorBar",key:"bar-".concat(v.map((function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)})))},s),v.map((function(t){return Q.createElement("line",eO({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))})))}));return Q.createElement(Na,{className:"recharts-errorBars"},f)}function aO(t){return aO="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},aO(t)}function cO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function lO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cO(Object(r),!0).forEach((function(e){uO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function uO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=aO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=aO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==aO(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}oO.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},oO.displayName="ErrorBar";var sO=function(t){var e,r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=ba(r,Wp);return a?(e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce((function(t,e){var r=e.item,n=e.props,i=n.sectors||n.data||[];return t.concat(i.map((function(t){return{type:a.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(n||[]).map((function(t){var e=t.item,r=e.props,n=r.dataKey,i=r.name,o=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||o||"square",color:bO(e),value:i||n,payload:e.props}})),lO(lO(lO({},a.props),Wp.getWithHeight(a,i)),{},{payload:e,item:a})):null};function fO(t){return fO="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},fO(t)}function pO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function hO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pO(Object(r),!0).forEach((function(e){dO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function dO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=fO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fO(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function yO(t){return function(t){if(Array.isArray(t))return vO(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)return;if("string"==typeof t)return vO(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return vO(t,e)}(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 vO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function gO(t,e,r){return ko(t)||ko(e)?r:Xo(e)?Mo(t,e,r):Nn(e)?e(t):r}function mO(t,e,r,n){var i=Ww(t,(function(t){return gO(t,e)}));if("number"===r){var o=i.filter((function(t){return Yo(t)||parseFloat(t)}));return o.length?[Rw(o),Dw(o)]:[1/0,-1/0]}return(n?i.filter((function(t){return!ko(t)})):i).map((function(t){return Xo(t)||t instanceof Date?t:""}))}var bO=function(t){var e,r=t.type.displayName,n=t.props,i=n.stroke,o=n.fill;switch(r){case"Line":e=i;break;case"Area":case"Radar":e=i&&"none"!==i?i:o;break;default:e=o}return e},wO=function(t,e,r,n,i){var o=ma(e.props.children,oO).filter((function(t){return function(t,e,r){return!!ko(e)||("horizontal"===t?"yAxis"===e:"vertical"===t||"x"===r?"xAxis"===e:"y"!==r||"yAxis"===e)}(n,i,t.props.direction)}));if(o&&o.length){var a=o.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var n=gO(e,r);if(ko(n))return t;var i=Array.isArray(n)?[Rw(n),Dw(n)]:[n,n],o=a.reduce((function(t,r){var n=gO(e,r,0),o=i[0]-Math.abs(Array.isArray(n)?n[0]:n),a=i[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(o,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]}),[1/0,-1/0])}return null},xO=function(t,e,r,n,i){var o=e.map((function(e){var o=e.props.dataKey;return"number"===r&&o&&wO(t,e,o,n)||mO(t,o,r,i)}));if("number"===r)return o.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var a={};return o.reduce((function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t}),[])},OO=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},SO=function(t,e,r){if(!t)return null;var n=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,c="scaleBand"===t.realScaleType?n.bandwidth()/2:2,l=(e||r)&&"category"===o&&n.bandwidth?n.bandwidth()/c:0;return l="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*Wo(a[0]-a[1])*l:l,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=i?i.indexOf(t):t;return{coordinate:n(e)+l,value:t,offset:l}})).filter((function(t){return!Uo(t.coordinate)})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:n(t)+l,value:t,index:e,offset:l}})):n.ticks&&!r?n.ticks(t.tickCount).map((function(t){return{coordinate:n(t)+l,value:t,offset:l}})):n.domain().map((function(t,e){return{coordinate:n(t)+l,value:i?i[t]:t,index:e,offset:l}}))},jO=new WeakMap,AO=function(t,e){if("function"!=typeof e)return t;jO.has(t)||jO.set(t,new WeakMap);var r=jO.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},PO=1e-4,MO={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0,a=0;a<e;++a){var c=Uo(t[a][r][1])?t[a][r][0]:t[a][r][1];c>=0?(t[a][r][0]=i,t[a][r][1]=i+c,i=t[a][r][1]):(t[a][r][0]=o,t[a][r][1]=o+c,o=t[a][r][1])}},expand:function(t,e){if((n=t.length)>0){for(var r,n,i,o=0,a=t[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=t[r][o][1]||0;if(i)for(r=0;r<n;++r)t[r][o][1]/=i}pl(t,e)}},none:pl,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,i=t[e[0]],o=i.length;n<o;++n){for(var a=0,c=0;a<r;++a)c+=t[a][n][1]||0;i[n][1]+=i[n][0]=-c/2}pl(t,e)}},wiggle:function(t,e){if((i=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var c=0,l=0,u=0;c<i;++c){for(var s=t[e[c]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,h=0;h<c;++h){var d=t[e[h]];p+=(d[a][1]||0)-(d[a-1][1]||0)}l+=f,u+=p*f}r[a-1][1]+=r[a-1][0]=o,l&&(o-=u/l)}r[a-1][1]+=r[a-1][0]=o,pl(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0;o<e;++o){var a=Uo(t[o][r][1])?t[o][r][0]:t[o][r][1];a>=0?(t[o][r][0]=i,t[o][r][1]=i+a,i=t[o][r][1]):(t[o][r][0]=0,t[o][r][1]=0)}}},kO=function(t,e,r){var n=e.map((function(t){return t.props.dataKey})),i=MO[r],o=function(){var t=pc([]),e=hl,r=pl,n=dl;function i(i){var o,a,c=Array.from(t.apply(this,arguments),yl),l=c.length,u=-1;for(const t of i)for(o=0,++u;o<l;++o)(c[o][u]=[0,+n(t,c[o].key,u,i)]).data=t;for(o=0,a=Ac(e(c));o<l;++o)c[a[o]].index=o;return r(c,a),c}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:pc(Array.from(e)),i):t},i.value=function(t){return arguments.length?(n="function"==typeof t?t:pc(+t),i):n},i.order=function(t){return arguments.length?(e=null==t?hl:"function"==typeof t?t:pc(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(r=null==t?pl:t,i):r},i}().keys(n).value((function(t,e){return+gO(t,e,0)})).order(hl).offset(i);return o(t)};function EO(t){var e=t.axis,r=t.ticks,n=t.bandSize,i=t.entry,o=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!ko(i[e.dataKey])){var c=ta(r,"value",i[e.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var l=gO(i,ko(a)?e.dataKey:a);return ko(l)?null:e.scale(l)}var CO=function(t){var e=t.axis,r=t.ticks,n=t.offset,i=t.bandSize,o=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var c=gO(o,e.dataKey,e.domain[a]);return ko(c)?null:e.scale(c)-i/2+n},_O=function(t,e,r){return Object.keys(t).reduce((function(n,i){var o=t[i].stackedData.reduce((function(t,n){var i=n.slice(e,r+1).reduce((function(t,e){return[Rw(e.concat([t[0]]).filter(Yo)),Dw(e.concat([t[1]]).filter(Yo))]}),[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},TO=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,DO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,NO=function(t,e,r){if(Nn(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if(Yo(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(TO.test(t[0])){var i=+TO.exec(t[0])[1];n[0]=e[0]-i}else Nn(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if(Yo(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(DO.test(t[1])){var o=+DO.exec(t[1])[1];n[1]=e[1]+o}else Nn(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},IO=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var i=Uh(e,(function(t){return t.coordinate})),o=1/0,a=1,c=i.length;a<c;a++){var l=i[a],u=i[a-1];o=Math.min((l.coordinate||0)-(u.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},LO=function(t,e,r){return t&&t.length?Xw(t,Mo(r,"type.defaultProps.domain"))?e:t:e},BO=function(t,e){var r=t.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,c=r.tooltipType,l=r.chartType,u=r.hide;return hO(hO({},Sa(t,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:bO(t),value:gO(e,n),type:c,payload:e,chartType:l,hide:u})};function RO(t){return RO="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},RO(t)}function zO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zO(Object(r),!0).forEach((function(e){HO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function HO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=RO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=RO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==RO(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var VO=Math.PI/180,FO=function(t){return 180*t/Math.PI},UO=function(t,e,r,n){return{x:t+Math.cos(-VO*n)*r,y:e+Math.sin(-VO*n)*r}},WO=function(t,e){var r=t.x,n=t.y,i=e.cx,o=e.cy,a=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return Math.sqrt(Math.pow(r-i,2)+Math.pow(n-o,2))}({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=(r-i)/a,l=Math.acos(c);return n>o&&(l=2*Math.PI-l),{radius:a,angle:FO(l),angleInRadian:l}},qO=function(t,e){var r=e.startAngle,n=e.endAngle,i=Math.floor(r/360),o=Math.floor(n/360);return t+360*Math.min(i,o)},YO=function(t,e){var r=t.x,n=t.y,i=WO({x:r,y:n},e),o=i.radius,a=i.angle,c=e.innerRadius,l=e.outerRadius;if(o<c||o>l)return!1;if(0===o)return!0;var u,s=function(t){var e=t.startAngle,r=t.endAngle,n=Math.floor(e/360),i=Math.floor(r/360),o=Math.min(n,i);return{startAngle:e-360*o,endAngle:r-360*o}}(e),f=s.startAngle,p=s.endAngle,h=a;if(f<=p){for(;h>p;)h-=360;for(;h<f;)h+=360;u=h>=f&&h<=p}else{for(;h>f;)h-=360;for(;h<p;)h+=360;u=h>=p&&h<=f}return u?$O($O({},e),{},{radius:o,angle:qO(h,e)}):null};function XO(t){return XO="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},XO(t)}var KO=["offset"];function GO(t){return function(t){if(Array.isArray(t))return ZO(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)return;if("string"==typeof t)return ZO(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ZO(t,e)}(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 ZO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function JO(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function QO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function tS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?QO(Object(r),!0).forEach((function(e){eS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):QO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function eS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=XO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=XO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==XO(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rS(){return rS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},rS.apply(this,arguments)}var nS=function(t){var e=t.value,r=t.formatter,n=ko(t.children)?e:t.children;return Nn(r)?r(n):n},iS=function(t,e,r){var n,i,o=t.position,a=t.viewBox,c=t.offset,l=t.className,u=a,s=u.cx,f=u.cy,p=u.innerRadius,h=u.outerRadius,d=u.startAngle,y=u.endAngle,v=u.clockWise,g=(p+h)/2,m=function(t,e){return Wo(e-t)*Math.min(Math.abs(e-t),360)}(d,y),b=m>=0?1:-1;"insideStart"===o?(n=d+b*c,i=v):"insideEnd"===o?(n=y-b*c,i=!v):"end"===o&&(n=y+b*c,i=v),i=m<=0?i:!i;var w=UO(s,f,g,n),x=UO(s,f,g,n+359*(i?1:-1)),O="M".concat(w.x,",").concat(w.y,"\n A").concat(g,",").concat(g,",0,1,").concat(i?0:1,",\n ").concat(x.x,",").concat(x.y),S=ko(t.id)?Go("recharts-radial-line-"):t.id;return Q.createElement("text",rS({},r,{dominantBaseline:"central",className:tn("recharts-radial-bar-label",l)}),Q.createElement("defs",null,Q.createElement("path",{id:S,d:O})),Q.createElement("textPath",{xlinkHref:"#".concat(S)},e))},oS=function(t){var e=t.viewBox,r=t.offset,n=t.position,i=e,o=i.cx,a=i.cy,c=i.innerRadius,l=i.outerRadius,u=(i.startAngle+i.endAngle)/2;if("outside"===n){var s=UO(o,a,l+r,u),f=s.x;return{x:f,y:s.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=UO(o,a,(c+l)/2,u);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},aS=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,i=t.position,o=e,a=o.x,c=o.y,l=o.width,u=o.height,s=u>=0?1:-1,f=s*n,p=s>0?"end":"start",h=s>0?"start":"end",d=l>=0?1:-1,y=d*n,v=d>0?"end":"start",g=d>0?"start":"end";if("top"===i)return tS(tS({},{x:a+l/2,y:c-s*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(c-r.y,0),width:l}:{});if("bottom"===i)return tS(tS({},{x:a+l/2,y:c+u+f,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(c+u),0),width:l}:{});if("left"===i){var m={x:a-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"};return tS(tS({},m),r?{width:Math.max(m.x-r.x,0),height:u}:{})}if("right"===i){var b={x:a+l+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"};return tS(tS({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:u}:{})}var w=r?{width:l,height:u}:{};return"insideLeft"===i?tS({x:a+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"},w):"insideRight"===i?tS({x:a+l-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?tS({x:a+l/2,y:c+f,textAnchor:"middle",verticalAnchor:h},w):"insideBottom"===i?tS({x:a+l/2,y:c+u-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?tS({x:a+y,y:c+f,textAnchor:g,verticalAnchor:h},w):"insideTopRight"===i?tS({x:a+l-y,y:c+f,textAnchor:v,verticalAnchor:h},w):"insideBottomLeft"===i?tS({x:a+y,y:c+u-f,textAnchor:g,verticalAnchor:p},w):"insideBottomRight"===i?tS({x:a+l-y,y:c+u-f,textAnchor:v,verticalAnchor:p},w):En(i)&&(Yo(i.x)||qo(i.x))&&(Yo(i.y)||qo(i.y))?tS({x:a+Zo(i.x,l),y:c+Zo(i.y,u),textAnchor:"end",verticalAnchor:"end"},w):tS({x:a+l/2,y:c+u/2,textAnchor:"middle",verticalAnchor:"middle"},w)},cS=function(t){return"cx"in t&&Yo(t.cx)};function lS(t){var e,r=t.offset,n=tS({offset:void 0===r?5:r},JO(t,KO)),i=n.viewBox,o=n.position,a=n.value,c=n.children,l=n.content,u=n.className,s=void 0===u?"":u,f=n.textBreakAll;if(!i||ko(a)&&ko(c)&&!tt(l)&&!Nn(l))return null;if(tt(l))return st(l,n);if(Nn(l)){if(tt(e=ft(l,n)))return e}else e=nS(n);var p=cS(i),h=Sa(n,!0);if(p&&("insideStart"===o||"insideEnd"===o||"end"===o))return iS(n,e,h);var d=p?oS(n):aS(n);return Q.createElement(Uy,rS({className:tn("recharts-label",s)},h,d,{breakAll:f}),e)}lS.displayName="Label";var uS=function(t){var e=t.cx,r=t.cy,n=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,c=t.radius,l=t.innerRadius,u=t.outerRadius,s=t.x,f=t.y,p=t.top,h=t.left,d=t.width,y=t.height,v=t.clockWise,g=t.labelViewBox;if(g)return g;if(Yo(d)&&Yo(y)){if(Yo(s)&&Yo(f))return{x:s,y:f,width:d,height:y};if(Yo(p)&&Yo(h))return{x:p,y:h,width:d,height:y}}return Yo(s)&&Yo(f)?{x:s,y:f,width:0,height:0}:Yo(e)&&Yo(r)?{cx:e,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:l||0,outerRadius:u||c||a||0,clockWise:v}:t.viewBox?t.viewBox:{}};lS.parseViewBox=uS,lS.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n=t.children,i=uS(t),o=ma(n,lS).map((function(t,r){return st(t,{viewBox:e||i,key:"label-".concat(r)})}));if(!r)return o;var a=function(t,e){return t?!0===t?Q.createElement(lS,{key:"label-implicit",viewBox:e}):Xo(t)?Q.createElement(lS,{key:"label-implicit",viewBox:e,value:t}):tt(t)?t.type===lS?st(t,{key:"label-implicit",viewBox:e}):Q.createElement(lS,{key:"label-implicit",content:t,viewBox:e}):Nn(t)?Q.createElement(lS,{key:"label-implicit",content:t,viewBox:e}):En(t)?Q.createElement(lS,rS({viewBox:e},t,{key:"label-implicit"})):null:null}(t.label,e||i);return[a].concat(GO(o))};var sS=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0},fS=We(sS);function pS(t){return pS="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},pS(t)}var hS=["valueAccessor"],dS=["data","dataKey","clockWise","id","textBreakAll"];function yS(t){return function(t){if(Array.isArray(t))return vS(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)return;if("string"==typeof t)return vS(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return vS(t,e)}(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 vS(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function gS(){return gS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},gS.apply(this,arguments)}function mS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function bS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?mS(Object(r),!0).forEach((function(e){wS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function wS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=pS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pS(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xS(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var OS=function(t){return Array.isArray(t.value)?fS(t.value):t.value};function SS(t){var e=t.valueAccessor,r=void 0===e?OS:e,n=xS(t,hS),i=n.data,o=n.dataKey,a=n.clockWise,c=n.id,l=n.textBreakAll,u=xS(n,dS);return i&&i.length?Q.createElement(Na,{className:"recharts-label-list"},i.map((function(t,e){var n=ko(o)?r(t,e):gO(t&&t.payload,o),i=ko(c)?{}:{id:"".concat(c,"-").concat(e)};return Q.createElement(lS,gS({},Sa(t,!0),u,i,{parentViewBox:t.parentViewBox,value:n,textBreakAll:l,viewBox:lS.parseViewBox(ko(a)?t:bS(bS({},t),{},{clockWise:a})),key:"label-".concat(e),index:e}))}))):null}function jS(t){return jS="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},jS(t)}function AS(){return AS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},AS.apply(this,arguments)}function PS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function MS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?PS(Object(r),!0).forEach((function(e){kS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function kS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=jS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=jS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==jS(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}SS.displayName="LabelList",SS.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n=ma(t.children,SS).map((function(t,r){return st(t,{data:e,key:"labelList-".concat(r)})}));return r?[function(t,e){return t?!0===t?Q.createElement(SS,{key:"labelList-implicit",data:e}):Q.isValidElement(t)||Nn(t)?Q.createElement(SS,{key:"labelList-implicit",data:e,content:t}):En(t)?Q.createElement(SS,gS({data:e},t,{key:"labelList-implicit"})):null:null}(t.label,e)].concat(yS(n)):n};var ES=function(t){var e=t.cx,r=t.cy,n=t.radius,i=t.angle,o=t.sign,a=t.isExternal,c=t.cornerRadius,l=t.cornerIsExternal,u=c*(a?1:-1)+n,s=Math.asin(c/u)/VO,f=l?i:i+o*s,p=l?i-o*s:i;return{center:UO(e,r,u,f),circleTangency:UO(e,r,n,f),lineTangency:UO(e,r,u*Math.cos(s*VO),p),theta:s}},CS=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=function(t,e){return Wo(e-t)*Math.min(Math.abs(e-t),359.999)}(o,t.endAngle),c=o+a,l=UO(e,r,i,o),u=UO(e,r,i,c),s="M ".concat(l.x,",").concat(l.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>c),",\n ").concat(u.x,",").concat(u.y,"\n ");if(n>0){var f=UO(e,r,n,o),p=UO(e,r,n,c);s+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else s+="L ".concat(e,",").concat(r," Z");return s},_S={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},TS=function(t){var e=MS(MS({},_S),t),r=e.cx,n=e.cy,i=e.innerRadius,o=e.outerRadius,a=e.cornerRadius,c=e.forceCornerRadius,l=e.cornerIsExternal,u=e.startAngle,s=e.endAngle,f=e.className;if(o<i||u===s)return null;var p,h=tn("recharts-sector",f),d=o-i,y=Zo(a,d,0,!0);return p=y>0&&Math.abs(u-s)<360?function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,l=t.startAngle,u=t.endAngle,s=Wo(u-l),f=ES({cx:e,cy:r,radius:i,angle:l,sign:s,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=ES({cx:e,cy:r,radius:i,angle:u,sign:-s,cornerRadius:o,cornerIsExternal:c}),v=y.circleTangency,g=y.lineTangency,m=y.theta,b=c?Math.abs(l-u):Math.abs(l-u)-d-m;if(b<0)return a?"M ".concat(h.x,",").concat(h.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):CS({cx:e,cy:r,innerRadius:n,outerRadius:i,startAngle:l,endAngle:u});var w="M ".concat(h.x,",").concat(h.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(s<0),",").concat(v.x,",").concat(v.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(g.x,",").concat(g.y,"\n ");if(n>0){var x=ES({cx:e,cy:r,radius:n,angle:l,sign:s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),O=x.circleTangency,S=x.lineTangency,j=x.theta,A=ES({cx:e,cy:r,radius:n,angle:u,sign:-s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),P=A.circleTangency,M=A.lineTangency,k=A.theta,E=c?Math.abs(l-u):Math.abs(l-u)-j-k;if(E<0&&0===o)return"".concat(w,"L").concat(e,",").concat(r,"Z");w+="L".concat(M.x,",").concat(M.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(P.x,",").concat(P.y,"\n A").concat(n,",").concat(n,",0,").concat(+(E>180),",").concat(+(s>0),",").concat(O.x,",").concat(O.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(S.x,",").concat(S.y,"Z")}else w+="L".concat(e,",").concat(r,"Z");return w}({cx:r,cy:n,innerRadius:i,outerRadius:o,cornerRadius:Math.min(y,d/2),forceCornerRadius:c,cornerIsExternal:l,startAngle:u,endAngle:s}):CS({cx:r,cy:n,innerRadius:i,outerRadius:o,startAngle:u,endAngle:s}),Q.createElement("path",AS({},Sa(e,!0),{className:h,d:p,role:"img"}))};function DS(t){return DS="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},DS(t)}function NS(){return NS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},NS.apply(this,arguments)}function IS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function LS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?IS(Object(r),!0).forEach((function(e){BS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):IS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function BS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=DS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=DS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==DS(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var RS,zS,$S,HS,VS,FS,US,WS,qS,YS,XS,KS,GS={curveBasisClosed:function(t){return new Qc(t)},curveBasisOpen:function(t){return new tl(t)},curveBasis:function(t){return new Jc(t)},curveBumpX:function(t){return new Tc(t,!0)},curveBumpY:function(t){return new Tc(t,!1)},curveLinearClosed:function(t){return new el(t)},curveLinear:Mc,curveMonotoneX:function(t){return new al(t)},curveMonotoneY:function(t){return new cl(t)},curveNatural:function(t){return new ul(t)},curveStep:function(t){return new fl(t,.5)},curveStepAfter:function(t){return new fl(t,1)},curveStepBefore:function(t){return new fl(t,0)}},ZS=function(t){return t.x===+t.x&&t.y===+t.y},JS=function(t){return t.x},QS=function(t){return t.y},tj=function(t){var e,r=t.type,n=void 0===r?"linear":r,i=t.points,o=void 0===i?[]:i,a=t.baseLine,c=t.layout,l=t.connectNulls,u=void 0!==l&&l,s=function(t,e){if(Nn(t))return t;var r="curve".concat(fc(t));return"curveMonotone"!==r&&"curveBump"!==r||!e?GS[r]||Mc:GS["".concat(r).concat("vertical"===e?"Y":"X")]}(n,c),f=u?o.filter((function(t){return ZS(t)})):o;if(Array.isArray(a)){var p=u?a.filter((function(t){return ZS(t)})):a,h=f.map((function(t,e){return LS(LS({},t),{},{base:p[e]})}));return(e="vertical"===c?_c().y(QS).x1(JS).x0((function(t){return t.base.x})):_c().x(JS).y1(QS).y0((function(t){return t.base.y}))).defined(ZS).curve(s),e(h)}return(e="vertical"===c&&Yo(a)?_c().y(QS).x1(JS).x0(a):Yo(a)?_c().x(JS).y1(QS).y0(a):Cc().x(JS).y(QS)).defined(ZS).curve(s),e(f)},ej=function(t){var e=t.className,r=t.points,n=t.path,i=t.pathRef;if(!(r&&r.length||n))return null;var o=r&&r.length?tj(t):n;return Q.createElement("path",NS({},Sa(t,!1),ca(t),{className:tn("recharts-curve",e),d:o,ref:i}))},rj={exports:{}};function nj(){if(zS)return RS;zS=1;var t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return RS=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(n,i){for(var o,a,c=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(n),l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]))e.call(o,u)&&(c[u]=o[u]);if(t){a=t(o);for(var s=0;s<a.length;s++)r.call(o,a[s])&&(c[a[s]]=o[a[s]])}}return c},RS}function ij(){if(HS)return $S;HS=1;return $S="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function oj(){return FS?VS:(FS=1,VS=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var aj=Ro;rj.exports=function(){if(YS)return qS;YS=1;var t=Ro,e=nj(),r=ij(),n=oj(),i=function(){if(WS)return US;WS=1;var t=function(){};if("production"!==process.env.NODE_ENV){var e=ij(),r={},n=oj();t=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}}function i(i,o,a,c,l){if("production"!==process.env.NODE_ENV)for(var u in i)if(n(i,u)){var s;try{if("function"!=typeof i[u]){var f=Error((c||"React class")+": "+a+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}s=i[u](o,u,c,a,null,e)}catch(t){s=t}if(!s||s instanceof Error||t((c||"React class")+": type specification of "+a+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in r)){r[s.message]=!0;var p=l?l():"";t("Failed "+a+" type: "+s.message+(null!=p?p:""))}}}return i.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},US=i}(),o=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(o=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}),qS=function(c,l){var u="function"==typeof Symbol&&Symbol.iterator,s="@@iterator",f="<<anonymous>>",p={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:y(a),arrayOf:function(t){return y((function(e,n,i,o,a){if("function"!=typeof t)return new d("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var c=e[n];if(!Array.isArray(c))return new d("Invalid "+o+" `"+a+"` of type `"+b(c)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<c.length;l++){var u=t(c,l,i,o,a+"["+l+"]",r);if(u instanceof Error)return u}return null}))},element:y((function(t,e,r,n,i){var o=t[e];return c(o)?null:new d("Invalid "+n+" `"+i+"` of type `"+b(o)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:y((function(e,r,n,i,o){var a=e[r];return t.isValidElementType(a)?null:new d("Invalid "+i+" `"+o+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(t){return y((function(e,r,n,i,o){if(!(e[r]instanceof t)){var a=t.name||f;return new d("Invalid "+i+" `"+o+"` of type `"+((c=e[r]).constructor&&c.constructor.name?c.constructor.name:f)+"` supplied to `"+n+"`, expected instance of `"+a+"`.")}var c;return null}))},node:y((function(t,e,r,n,i){return m(t[e])?null:new d("Invalid "+n+" `"+i+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(t){return y((function(e,i,o,a,c){if("function"!=typeof t)return new d("Property `"+c+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var l=e[i],u=b(l);if("object"!==u)return new d("Invalid "+a+" `"+c+"` of type `"+u+"` supplied to `"+o+"`, expected an object.");for(var s in l)if(n(l,s)){var f=t(l,s,o,a,c+"."+s,r);if(f instanceof Error)return f}return null}))},oneOf:function(t){return Array.isArray(t)?y((function(e,r,n,i,o){for(var a=e[r],c=0;c<t.length;c++)if(h(a,t[c]))return null;var l=JSON.stringify(t,(function(t,e){return"symbol"===w(e)?String(e):e}));return new d("Invalid "+i+" `"+o+"` of value `"+String(a)+"` supplied to `"+n+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(t){if(!Array.isArray(t))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var e=0;e<t.length;e++){var i=t[e];if("function"!=typeof i)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(i)+" at index "+e+"."),a}return y((function(e,i,o,a,c){for(var l=[],u=0;u<t.length;u++){var s=(0,t[u])(e,i,o,a,c,r);if(null==s)return null;s.data&&n(s.data,"expectedType")&&l.push(s.data.expectedType)}return new d("Invalid "+a+" `"+c+"` supplied to `"+o+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(t){return y((function(e,n,i,o,a){var c=e[n],l=b(c);if("object"!==l)return new d("Invalid "+o+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in t){var s=t[u];if("function"!=typeof s)return g(i,o,a,u,w(s));var f=s(c,u,i,o,a+"."+u,r);if(f)return f}return null}))},exact:function(t){return y((function(i,o,a,c,l){var u=i[o],s=b(u);if("object"!==s)return new d("Invalid "+c+" `"+l+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");var f=e({},i[o],t);for(var p in f){var h=t[p];if(n(t,p)&&"function"!=typeof h)return g(a,c,l,p,w(h));if(!h)return new d("Invalid "+c+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(i[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var y=h(u,p,a,c,l+"."+p,r);if(y)return y}return null}))}};function h(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function d(t,e){this.message=t,this.data=e&&"object"==typeof e?e:{},this.stack=""}function y(t){if("production"!==process.env.NODE_ENV)var e={},n=0;function i(i,a,c,u,s,p,h){if(u=u||f,p=p||c,h!==r){if(l){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=u+":"+c;!e[v]&&n<3&&(o("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),e[v]=!0,n++)}}return null==a[c]?i?null===a[c]?new d("The "+s+" `"+p+"` is marked as required in `"+u+"`, but its value is `null`."):new d("The "+s+" `"+p+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:t(a,c,u,s,p)}var a=i.bind(null,!1);return a.isRequired=i.bind(null,!0),a}function v(t){return y((function(e,r,n,i,o,a){var c=e[r];return b(c)!==t?new d("Invalid "+i+" `"+o+"` of type `"+w(c)+"` supplied to `"+n+"`, expected `"+t+"`.",{expectedType:t}):null}))}function g(t,e,r,n,i){return new d((t||"React class")+": "+e+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function m(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(m);if(null===t||c(t))return!0;var e=function(t){var e=t&&(u&&t[u]||t[s]);if("function"==typeof e)return e}(t);if(!e)return!1;var r,n=e.call(t);if(e!==t.entries){for(;!(r=n.next()).done;)if(!m(r.value))return!1}else for(;!(r=n.next()).done;){var i=r.value;if(i&&!m(i[1]))return!1}return!0;default:return!1}}function b(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":function(t,e){return"symbol"===t||!!e&&("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}(e,t)?"symbol":e}function w(t){if(null==t)return""+t;var e=b(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function x(t){var e=w(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}return d.prototype=Error.prototype,p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},qS}()(aj.isElement,!0)}else rj.exports=function(){if(KS)return XS;KS=1;var t=ij();function e(){}function r(){}return r.resetWarningCache=e,XS=function(){function n(e,r,n,i,o,a){if(a!==t){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function i(){return n}n.isRequired=n;var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:e};return o.PropTypes=o,o}}()();var cj=We(rj.exports),lj=Object.getOwnPropertyNames,uj=Object.getOwnPropertySymbols,sj=Object.prototype.hasOwnProperty;function fj(t,e){return function(r,n,i){return t(r,n,i)&&e(r,n,i)}}function pj(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var i=n.cache,o=i.get(e),a=i.get(r);if(o&&a)return o===r&&a===e;i.set(e,r),i.set(r,e);var c=t(e,r,n);return i.delete(e),i.delete(r),c}}function hj(t){return lj(t).concat(uj(t))}var dj=Object.hasOwn||function(t,e){return sj.call(t,e)};function yj(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var vj="_owner",gj=Object.getOwnPropertyDescriptor,mj=Object.keys;function bj(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function wj(t,e){return yj(t.getTime(),e.getTime())}function xj(t,e,r){if(t.size!==e.size)return!1;for(var n,i,o={},a=t.entries(),c=0;(n=a.next())&&!n.done;){for(var l=e.entries(),u=!1,s=0;(i=l.next())&&!i.done;){var f=n.value,p=f[0],h=f[1],d=i.value,y=d[0],v=d[1];u||o[s]||!(u=r.equals(p,y,c,s,t,e,r)&&r.equals(h,v,p,y,t,e,r))||(o[s]=!0),s++}if(!u)return!1;c++}return!0}function Oj(t,e,r){var n,i=mj(t),o=i.length;if(mj(e).length!==o)return!1;for(;o-- >0;){if((n=i[o])===vj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!dj(e,n)||!r.equals(t[n],e[n],n,n,t,e,r))return!1}return!0}function Sj(t,e,r){var n,i,o,a=hj(t),c=a.length;if(hj(e).length!==c)return!1;for(;c-- >0;){if((n=a[c])===vj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!dj(e,n))return!1;if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;if(i=gj(t,n),o=gj(e,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function jj(t,e){return yj(t.valueOf(),e.valueOf())}function Aj(t,e){return t.source===e.source&&t.flags===e.flags}function Pj(t,e,r){if(t.size!==e.size)return!1;for(var n,i,o={},a=t.values();(n=a.next())&&!n.done;){for(var c=e.values(),l=!1,u=0;(i=c.next())&&!i.done;)l||o[u]||!(l=r.equals(n.value,i.value,n.value,i.value,t,e,r))||(o[u]=!0),u++;if(!l)return!1}return!0}function Mj(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}var kj="[object Arguments]",Ej="[object Boolean]",Cj="[object Date]",_j="[object Map]",Tj="[object Number]",Dj="[object Object]",Nj="[object RegExp]",Ij="[object Set]",Lj="[object String]",Bj=Array.isArray,Rj="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,zj=Object.assign,$j=Object.prototype.toString.call.bind(Object.prototype.toString);var Hj=Vj();function Vj(t){void 0===t&&(t={});var e,r=t.circular,n=void 0!==r&&r,i=t.createInternalComparator,o=t.createState,a=t.strict,c=void 0!==a&&a,l=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,i={areArraysEqual:n?Sj:bj,areDatesEqual:wj,areMapsEqual:n?fj(xj,Sj):xj,areObjectsEqual:n?Sj:Oj,arePrimitiveWrappersEqual:jj,areRegExpsEqual:Aj,areSetsEqual:n?fj(Pj,Sj):Pj,areTypedArraysEqual:n?Sj:Mj};if(r&&(i=zj({},i,r(i))),e){var o=pj(i.areArraysEqual),a=pj(i.areMapsEqual),c=pj(i.areObjectsEqual),l=pj(i.areSetsEqual);i=zj({},i,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:l})}return i}(t),u=function(t){var e=t.areArraysEqual,r=t.areDatesEqual,n=t.areMapsEqual,i=t.areObjectsEqual,o=t.arePrimitiveWrappersEqual,a=t.areRegExpsEqual,c=t.areSetsEqual,l=t.areTypedArraysEqual;return function(t,u,s){if(t===u)return!0;if(null==t||null==u||"object"!=typeof t||"object"!=typeof u)return t!=t&&u!=u;var f=t.constructor;if(f!==u.constructor)return!1;if(f===Object)return i(t,u,s);if(Bj(t))return e(t,u,s);if(null!=Rj&&Rj(t))return l(t,u,s);if(f===Date)return r(t,u,s);if(f===RegExp)return a(t,u,s);if(f===Map)return n(t,u,s);if(f===Set)return c(t,u,s);var p=$j(t);return p===Cj?r(t,u,s):p===Nj?a(t,u,s):p===_j?n(t,u,s):p===Ij?c(t,u,s):p===Dj?"function"!=typeof t.then&&"function"!=typeof u.then&&i(t,u,s):p===kj?i(t,u,s):(p===Ej||p===Tj||p===Lj)&&o(t,u,s)}}(l),s=i?i(u):(e=u,function(t,r,n,i,o,a,c){return e(t,r,c)});return function(t){var e=t.circular,r=t.comparator,n=t.createState,i=t.equals,o=t.strict;if(n)return function(t,a){var c=n(),l=c.cache,u=void 0===l?e?new WeakMap:void 0:l,s=c.meta;return r(t,a,{cache:u,equals:i,meta:s,strict:o})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(t,e){return r(t,e,a)}}({circular:n,comparator:u,createState:o,equals:s,strict:c})}function Fj(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame((function n(i){r<0&&(r=i),i-r>e?(t(i),r=-1):function(t){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(t)}(n)}))}function Uj(t){return Uj="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},Uj(t)}function Wj(t){return function(t){if(Array.isArray(t))return 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)return;if("string"==typeof t)return qj(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qj(t,e)}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qj(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Yj(){var t=function(){return null},e=!1,r=function r(n){if(!e){if(Array.isArray(n)){if(!n.length)return;var i=Wj(n),o=i[0],a=i.slice(1);return"number"==typeof o?void Fj(r.bind(null,a),o):(r(o),void Fj(r.bind(null,a)))}"object"===Uj(n)&&t(n),"function"==typeof n&&n()}};return{stop:function(){e=!0},start:function(t){e=!1,r(t)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function Xj(t){return Xj="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},Xj(t)}function Kj(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gj(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Kj(Object(r),!0).forEach((function(e){Zj(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Kj(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Zj(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Xj(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Xj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Xj(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Vj({strict:!0}),Vj({circular:!0}),Vj({circular:!0,strict:!0}),Vj({createInternalComparator:function(){return yj}}),Vj({strict:!0,createInternalComparator:function(){return yj}}),Vj({circular:!0,createInternalComparator:function(){return yj}}),Vj({circular:!0,createInternalComparator:function(){return yj},strict:!0});var Jj=function(t){return t},Qj=function(t,e){return Object.keys(e).reduce((function(r,n){return Gj(Gj({},r),{},Zj({},n,t(n,e[n])))}),{})},tA=function(t,e,r){return t.map((function(t){return"".concat((n=t,n.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(r);var n})).join(",")},eA="production"!==process.env.NODE_ENV,rA=function(t,e,r,n,i,o,a,c){if(eA&&"undefined"!=typeof console&&console.warn&&(void 0===e&&console.warn("LogUtils requires an error message argument"),!t))if(void 0===e)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,i,o,a,c],u=0;console.warn(e.replace(/%s/g,(function(){return l[u++]})))}};function nA(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||oA(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 iA(t){return function(t){if(Array.isArray(t))return aA(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||oA(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 oA(t,e){if(t){if("string"==typeof t)return aA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?aA(t,e):void 0}}function aA(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var cA=1e-4,lA=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},uA=function(t,e){return t.map((function(t,r){return t*Math.pow(e,r)})).reduce((function(t,e){return t+e}))},sA=function(t,e){return function(r){var n=lA(t,e);return uA(n,r)}},fA=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],i=e[1],o=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var c=e[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var l=c[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),u=nA(l,4);n=u[0],i=u[1],o=u[2],a=u[3]}else rA(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",e)}rA([n,o,i,a].every((function(t){return"number"==typeof t&&t>=0&&t<=1})),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",e);var s,f,p=sA(n,o),h=sA(i,a),d=(s=n,f=o,function(t){var e=lA(s,f),r=[].concat(iA(e.map((function(t,e){return t*e})).slice(1)),[0]);return uA(r,t)}),y=function(t){for(var e,r=t>1?1:t,n=r,i=0;i<8;++i){var o=p(n)-r,a=d(n);if(Math.abs(o-r)<cA||a<cA)return h(n);n=(e=n-o/a)>1?1:e<0?0:e}return h(n)};return y.isStepper=!1,y},pA=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return fA(n);case"spring":return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,i=void 0===n?8:n,o=t.dt,a=void 0===o?17:o,c=function(t,e,n){var o=n+(-(t-e)*r-n*i)*a/1e3,c=n*a/1e3+t;return Math.abs(c-e)<cA&&Math.abs(o)<cA?[e,0]:[c,o]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return fA(n);rA(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",e)}return"function"==typeof n?n:(rA(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function hA(t){return hA="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},hA(t)}function dA(t){return function(t){if(Array.isArray(t))return wA(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||bA(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 yA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yA(Object(r),!0).forEach((function(e){gA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function gA(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==hA(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==hA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===hA(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mA(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||bA(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 bA(t,e){if(t){if("string"==typeof t)return wA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wA(t,e):void 0}}function wA(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var xA=function(t,e,r){return t+(e-t)*r},OA=function(t){return t.from!==t.to},SA=function t(e,r,n){var i=Qj((function(t,r){if(OA(r)){var n=mA(e(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return vA(vA({},r),{},{from:i,velocity:o})}return r}),r);return n<1?Qj((function(t,e){return OA(e)?vA(vA({},e),{},{velocity:xA(e.velocity,i[t].velocity,n),from:xA(e.from,i[t].from,n)}):e}),r):t(e,i,n-1)},jA=function(t,e,r,n,i){var o,a,c,l,u=(o=t,a=e,[Object.keys(o),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),s=u.reduce((function(r,n){return vA(vA({},r),{},gA({},n,[t[n],e[n]]))}),{}),f=u.reduce((function(r,n){return vA(vA({},r),{},gA({},n,{from:t[n],velocity:0,to:e[n]}))}),{}),p=-1,h=function(){return null};return h=r.isStepper?function(n){c||(c=n);var o=(n-c)/r.dt;f=SA(r,f,o),i(vA(vA(vA({},t),e),Qj((function(t,e){return e.from}),f))),c=n,Object.values(f).filter(OA).length&&(p=requestAnimationFrame(h))}:function(o){l||(l=o);var a=(o-l)/n,c=Qj((function(t,e){return xA.apply(void 0,dA(e).concat([r(a)]))}),s);if(i(vA(vA(vA({},t),e),c)),a<1)p=requestAnimationFrame(h);else{var u=Qj((function(t,e){return xA.apply(void 0,dA(e).concat([r(1)]))}),s);i(vA(vA(vA({},t),e),u))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(p)}}};function AA(t){return AA="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},AA(t)}var PA=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function MA(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function kA(t){return function(t){if(Array.isArray(t))return EA(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)return;if("string"==typeof t)return EA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return EA(t,e)}(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 EA(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function CA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _A(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?CA(Object(r),!0).forEach((function(e){TA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):CA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function TA(t,e,r){return(e=NA(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function DA(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,NA(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function NA(t){var e=function(t,e){if("object"!==AA(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==AA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===AA(e)?e:String(e)}function IA(t,e){return IA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},IA(t,e)}function LA(t){var e=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}}();return function(){var r,n=zA(t);if(e){var i=zA(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return BA(this,r)}}function BA(t,e){if(e&&("object"===AA(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return RA(t)}function RA(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zA(t){return zA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},zA(t)}var $A=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&&IA(t,e)}(r,rt);var e=LA(r);function r(t,n){var i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r);var o=(i=e.call(this,t,n)).props,a=o.isActive,c=o.attributeName,l=o.from,u=o.to,s=o.steps,f=o.children,p=o.duration;if(i.handleStyleChange=i.handleStyleChange.bind(RA(i)),i.changeStyle=i.changeStyle.bind(RA(i)),!a||p<=0)return i.state={style:{}},"function"==typeof f&&(i.state={style:u}),BA(i);if(s&&s.length)i.state={style:s[0].style};else if(l){if("function"==typeof f)return i.state={style:l},BA(i);i.state={style:c?TA({},c,l):l}}else i.state={style:{}};return i}return DA(r,[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,i=e.attributeName,o=e.shouldReAnimate,a=e.to,c=e.from,l=this.state.style;if(n)if(r){if(!(Hj(t.to,a)&&t.canBegin&&t.isActive)){var u=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=u||o?c:t.to;if(this.state&&l){var f={style:i?TA({},i,s):s};(i&&l[i]!==s||!i&&l!==s)&&this.setState(f)}this.runAnimation(_A(_A({},this.props),{},{from:s,begin:0}))}}else{var p={style:i?TA({},i,a):a};this.state&&l&&(i&&l[i]!==a||!i&&l!==a)&&this.setState(p)}}},{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,r=t.from,n=t.to,i=t.duration,o=t.easing,a=t.begin,c=t.onAnimationEnd,l=t.onAnimationStart,u=jA(r,n,pA(o),i,this.changeStyle);this.manager.start([l,a,function(){e.stopJSAnimation=u()},i,c])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,i=t.onAnimationStart,o=r[0],a=o.style,c=o.duration,l=void 0===c?0:c;return this.manager.start([i].concat(kA(r.reduce((function(t,n,i){if(0===i)return t;var o=n.duration,a=n.easing,c=void 0===a?"ease":a,l=n.style,u=n.properties,s=n.onAnimationEnd,f=i>0?r[i-1]:n,p=u||Object.keys(l);if("function"==typeof c||"spring"===c)return[].concat(kA(t),[e.runJSAnimation.bind(e,{from:f.style,to:l,duration:o,easing:c}),o]);var h=tA(p,o,c),d=_A(_A(_A({},f.style),l),{},{transition:h});return[].concat(kA(t),[d,o,s]).filter(Jj)}),[a,Math.max(l,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=Yj());var e=t.begin,r=t.duration,n=t.attributeName,i=t.to,o=t.easing,a=t.onAnimationStart,c=t.onAnimationEnd,l=t.steps,u=t.children,s=this.manager;if(this.unSubscribe=s.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof u&&"spring"!==o)if(l.length>1)this.runStepAnimation(t);else{var f=n?TA({},n,i):i,p=tA(Object.keys(f),r,o);s.start([a,e,_A(_A({},f),{},{transition:p}),r,c])}else this.runJSAnimation(t)}},{key:"render",value:function(){var t=this.props,e=t.children;t.begin;var r=t.duration;t.attributeName,t.easing;var n=t.isActive;t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart;var i=MA(t,PA),o=et.count(e),a=this.state.style;if("function"==typeof e)return e(a);if(!n||0===o||r<=0)return e;var c=function(t){var e=t.props,r=e.style,n=void 0===r?{}:r,o=e.className;return st(t,_A(_A({},i),{},{style:_A(_A({},n),a),className:o}))};return 1===o?c(et.only(e)):Q.createElement("div",null,et.map(e,(function(t){return c(t)})))}}]),r}();function HA(t){return HA="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},HA(t)}function VA(){return VA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},VA.apply(this,arguments)}function FA(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return UA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return UA(t,e)}(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 UA(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function WA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?WA(Object(r),!0).forEach((function(e){YA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):WA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function YA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=HA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=HA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==HA(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}$A.displayName="Animate",$A.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},$A.propTypes={from:cj.oneOfType([cj.object,cj.string]),to:cj.oneOfType([cj.object,cj.string]),attributeName:cj.string,duration:cj.number,begin:cj.number,easing:cj.oneOfType([cj.string,cj.func]),steps:cj.arrayOf(cj.shape({duration:cj.number.isRequired,style:cj.object.isRequired,easing:cj.oneOfType([cj.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),cj.func]),properties:cj.arrayOf("string"),onAnimationEnd:cj.func})),children:cj.oneOfType([cj.node,cj.func]),isActive:cj.bool,canBegin:cj.bool,onAnimationEnd:cj.func,shouldReAnimate:cj.bool,onAnimationStart:cj.func,onAnimationReStart:cj.func},cj.object,cj.object,cj.object,cj.element,cj.object,cj.object,cj.object,cj.oneOfType([cj.array,cj.element]),cj.any;var XA=function(t,e,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,l=r>=0?1:-1,u=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&i instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=i[f]>a?a:i[f];o="M".concat(t,",").concat(e+c*s[0]),s[0]>0&&(o+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(u,",").concat(t+l*s[0],",").concat(e)),o+="L ".concat(t+r-l*s[1],",").concat(e),s[1]>0&&(o+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(u,",\n ").concat(t+r,",").concat(e+c*s[1])),o+="L ".concat(t+r,",").concat(e+n-c*s[2]),s[2]>0&&(o+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(u,",\n ").concat(t+r-l*s[2],",").concat(e+n)),o+="L ".concat(t+l*s[3],",").concat(e+n),s[3]>0&&(o+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(u,",\n ").concat(t,",").concat(e+n-c*s[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(t,",").concat(e+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t+l*p,",").concat(e,"\n L ").concat(t+r-l*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t+r,",").concat(e+c*p,"\n L ").concat(t+r,",").concat(e+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t+r-l*p,",").concat(e+n,"\n L ").concat(t+l*p,",").concat(e+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(t,",").concat(e+n-c*p," Z")}else o="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},KA=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,i=e.x,o=e.y,a=e.width,c=e.height;if(Math.abs(a)>0&&Math.abs(c)>0){var l=Math.min(i,i+a),u=Math.max(i,i+a),s=Math.min(o,o+c),f=Math.max(o,o+c);return r>=l&&r<=u&&n>=s&&n<=f}return!1},GA={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},ZA=function(t){var e=qA(qA({},GA),t),r=it(),n=FA(at(-1),2),i=n[0],o=n[1];lt((function(){if(r.current&&r.current.getTotalLength)try{var t=r.current.getTotalLength();t&&o(t)}catch(t){}}),[]);var a=e.x,c=e.y,l=e.width,u=e.height,s=e.radius,f=e.className,p=e.animationEasing,h=e.animationDuration,d=e.animationBegin,y=e.isAnimationActive,v=e.isUpdateAnimationActive;if(a!==+a||c!==+c||l!==+l||u!==+u||0===l||0===u)return null;var g=tn("recharts-rectangle",f);return v?Q.createElement($A,{canBegin:i>0,from:{width:l,height:u,x:a,y:c},to:{width:l,height:u,x:a,y:c},duration:h,animationEasing:p,isActive:v},(function(t){var n=t.width,o=t.height,a=t.x,c=t.y;return Q.createElement($A,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,isActive:y,easing:p},Q.createElement("path",VA({},Sa(e,!0),{className:g,d:XA(a,c,n,o,s),ref:r})))})):Q.createElement("path",VA({},Sa(e,!0),{className:g,d:XA(a,c,l,u,s)}))};function JA(){return JA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},JA.apply(this,arguments)}var QA=function(t){var e=t.cx,r=t.cy,n=t.r,i=tn("recharts-dot",t.className);return e===+e&&r===+r&&n===+n?Q.createElement("circle",JA({},Sa(t,!1),ca(t),{className:i,cx:e,cy:r,r:n})):null};function tP(t){return tP="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},tP(t)}var eP=["x","y","top","left","width","height","className"];function rP(){return rP=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},rP.apply(this,arguments)}function nP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function iP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=tP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tP(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function oP(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var aP=function(t,e,r,n,i,o){return"M".concat(t,",").concat(i,"v").concat(n,"M").concat(o,",").concat(e,"h").concat(r)},cP=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,i=void 0===n?0:n,o=t.top,a=void 0===o?0:o,c=t.left,l=void 0===c?0:c,u=t.width,s=void 0===u?0:u,f=t.height,p=void 0===f?0:f,h=t.className,d=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nP(Object(r),!0).forEach((function(e){iP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({x:r,y:i,top:a,left:l,width:s,height:p},oP(t,eP));return Yo(r)&&Yo(i)&&Yo(s)&&Yo(p)&&Yo(a)&&Yo(l)?Q.createElement("path",rP({},Sa(d,!0),{className:tn("recharts-cross",h),d:aP(r,i,s,p,a,l)})):null},lP=fs(Object.getPrototypeOf,Object),uP=mn,sP=lP,fP=bn,pP=Function.prototype,hP=Object.prototype,dP=pP.toString,yP=hP.hasOwnProperty,vP=dP.call(Object);var gP=We((function(t){if(!fP(t)||"[object Object]"!=uP(t))return!1;var e=sP(t);if(null===e)return!0;var r=yP.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&dP.call(r)==vP})),mP=mn,bP=bn;var wP=We((function(t){return!0===t||!1===t||bP(t)&&"[object Boolean]"==mP(t)}));function xP(t){return xP="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},xP(t)}function OP(){return OP=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},OP.apply(this,arguments)}function SP(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return jP(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jP(t,e)}(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 jP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function AP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function PP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?AP(Object(r),!0).forEach((function(e){MP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):AP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function MP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=xP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=xP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==xP(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kP=function(t,e,r,n,i){var o,a=r-n;return o="M ".concat(t,",").concat(e),o+="L ".concat(t+r,",").concat(e),o+="L ".concat(t+r-a/2,",").concat(e+i),o+="L ".concat(t+r-a/2-n,",").concat(e+i),o+="L ".concat(t,",").concat(e," Z")},EP={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},CP=function(t){var e=PP(PP({},EP),t),r=it(),n=SP(at(-1),2),i=n[0],o=n[1];lt((function(){if(r.current&&r.current.getTotalLength)try{var t=r.current.getTotalLength();t&&o(t)}catch(t){}}),[]);var a=e.x,c=e.y,l=e.upperWidth,u=e.lowerWidth,s=e.height,f=e.className,p=e.animationEasing,h=e.animationDuration,d=e.animationBegin,y=e.isUpdateAnimationActive;if(a!==+a||c!==+c||l!==+l||u!==+u||s!==+s||0===l&&0===u||0===s)return null;var v=tn("recharts-trapezoid",f);return y?Q.createElement($A,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:s,x:a,y:c},to:{upperWidth:l,lowerWidth:u,height:s,x:a,y:c},duration:h,animationEasing:p,isActive:y},(function(t){var n=t.upperWidth,o=t.lowerWidth,a=t.height,c=t.x,l=t.y;return Q.createElement($A,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,easing:p},Q.createElement("path",OP({},Sa(e,!0),{className:v,d:kP(c,l,n,o,a),ref:r})))})):Q.createElement("g",null,Q.createElement("path",OP({},Sa(e,!0),{className:v,d:kP(a,c,l,u,s)})))},_P=["option","shapeType","propTransformer","activeClassName","isActive"];function TP(t){return TP="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},TP(t)}function DP(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function NP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function IP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?NP(Object(r),!0).forEach((function(e){LP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):NP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function LP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=TP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=TP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==TP(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function BP(t,e){return IP(IP({},e),t)}function RP(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return Q.createElement(ZA,r);case"trapezoid":return Q.createElement(CP,r);case"sector":return Q.createElement(TS,r);case"symbols":if(function(t,e){return"symbols"===t}(e))return Q.createElement(Al,r);break;default:return null}}function zP(t){var e,r=t.option,n=t.shapeType,i=t.propTransformer,o=void 0===i?BP:i,a=t.activeClassName,c=void 0===a?"recharts-active-shape":a,l=t.isActive,u=DP(t,_P);if(tt(r))e=st(r,IP(IP({},u),function(t){return tt(t)?t.props:t}(r)));else if(Nn(r))e=r(u);else if(gP(r)&&!wP(r)){var s=o(r,u);e=Q.createElement(RP,{shapeType:n,elementProps:s})}else{var f=u;e=Q.createElement(RP,{shapeType:n,elementProps:f})}return l?Q.createElement(Na,{className:c},e):e}function $P(t,e){return null!=e&&"trapezoids"in t.props}function HP(t,e){return null!=e&&"sectors"in t.props}function VP(t,e){return null!=e&&"points"in t.props}function FP(t,e){var r,n,i=t.x===(null==e||null===(r=e.labelViewBox)||void 0===r?void 0:r.x)||t.x===e.x,o=t.y===(null==e||null===(n=e.labelViewBox)||void 0===n?void 0:n.y)||t.y===e.y;return i&&o}function UP(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function WP(t,e){var r=t.x===e.x,n=t.y===e.y,i=t.z===e.z;return r&&n&&i}function qP(t){var e=t.activeTooltipItem,r=t.graphicalItem,n=t.itemData,i=function(t,e){var r;return $P(t,e)?r="trapezoids":HP(t,e)?r="sectors":VP(t,e)&&(r="points"),r}(r,e),o=function(t,e){var r,n;return $P(t,e)?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:HP(t,e)?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:VP(t,e)?e.payload:{}}(r,e),a=n.filter((function(t,n){var a=Xw(o,t),c=r.props[i].filter((function(t){var n=function(t,e){var r;return $P(t,e)?r=FP:HP(t,e)?r=UP:VP(t,e)&&(r=WP),r}(r,e);return n(t,e)})),l=r.props[i].indexOf(c[c.length-1]);return a&&n===l}));return n.indexOf(a[a.length-1])}var YP=Math.ceil,XP=Math.max;var KP=Ud,GP=1/0;var ZP=function(t,e,r,n){for(var i=-1,o=XP(YP((e-t)/(r||1)),0),a=Array(o);o--;)a[n?o:++i]=t,t+=r;return a},JP=$h,QP=function(t){return t?(t=KP(t))===GP||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0};var tM=We(function(t){return function(e,r,n){return n&&"number"!=typeof n&&JP(e,r,n)&&(r=n=void 0),e=QP(e),void 0===r?(r=e,e=0):r=QP(r),n=void 0===n?e<r?1:-1:QP(n),ZP(e,r,n,t)}}());function eM(t){return eM="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},eM(t)}function rM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rM(Object(r),!0).forEach((function(e){iM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function iM(t,e,r){return e=function(t){var e=function(t,e){if("object"!=eM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eM(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var oM=["Webkit","Moz","O","ms"];function aM(t){return aM="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},aM(t)}function cM(){return cM=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},cM.apply(this,arguments)}function lM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function uM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lM(Object(r),!0).forEach((function(e){vM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function sM(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,gM(n.key),n)}}function fM(t,e,r){return e=hM(e),function(t,e){if(e&&("object"===aM(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return dM(t)}(t,pM()?Reflect.construct(e,r||[],hM(t).constructor):e.apply(t,r))}function pM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(pM=function(){return!!t})()}function hM(t){return hM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hM(t)}function dM(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yM(t,e){return yM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},yM(t,e)}function vM(t,e,r){return(e=gM(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function gM(t){var e=function(t,e){if("object"!=aM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=aM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==aM(e)?e:String(e)}var mM=function(t){return t.changedTouches&&!!t.changedTouches.length},bM=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),vM(dM(r=fM(this,e,[t])),"handleDrag",(function(t){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(t):r.state.isSlideMoving&&r.handleSlideDrag(t)})),vM(dM(r),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleDrag(t.changedTouches[0])})),vM(dM(r),"handleDragEnd",(function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var t=r.props,e=t.endIndex,n=t.onDragEnd,i=t.startIndex;null==n||n({endIndex:e,startIndex:i})})),r.detachDragEndListener()})),vM(dM(r),"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),vM(dM(r),"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),vM(dM(r),"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),vM(dM(r),"handleSlideDragStart",(function(t){var e=mM(t)?t.changedTouches[0]:t;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:e.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(dM(r),"startX"),endX:r.handleTravellerDragStart.bind(dM(r),"endX")},r.state={},r}var r,n,i;return 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&&yM(t,e)}(e,rt),r=e,n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var r=t.startX,n=t.endX,i=this.state.scaleValues,o=this.props,a=o.gap,c=o.data.length-1,l=Math.min(r,n),u=Math.max(r,n),s=e.getIndexInRange(i,l),f=e.getIndexInRange(i,u);return{startIndex:s-s%a,endIndex:f===c?c:f-f%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,i=e.dataKey,o=gO(r[t],i,t);return Nn(n)?n(o,t):o}},{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,r=e.slideMoveStartX,n=e.startX,i=e.endX,o=this.props,a=o.x,c=o.width,l=o.travellerWidth,u=o.startIndex,s=o.endIndex,f=o.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-l-i,a+c-l-n):p<0&&(p=Math.max(p,a-n,a-i));var h=this.getIndex({startX:n+p,endX:i+p});h.startIndex===u&&h.endIndex===s||!f||f(h),this.setState({startX:n+p,endX:i+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=mM(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,i=e.endX,o=e.startX,a=this.state[n],c=this.props,l=c.x,u=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,h=c.data,d={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,l+u-s-a):y<0&&(y=Math.max(y,l-a)),d[n]=a+y;var v=this.getIndex(d),g=v.startIndex,m=v.endIndex;this.setState(vM(vM({},n,a+y),"brushMoveStartX",t.pageX),(function(){var t;f&&(t=h.length-1,("startX"===n&&(i>o?g%p==0:m%p==0)||i<o&&m===t||"endX"===n&&(i>o?m%p==0:g%p==0)||i>o&&m===t)&&f(v))}))}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,c=this.state[e],l=i.indexOf(c);if(-1!==l){var u=l+t;if(!(-1===u||u>=i.length)){var s=i[u];"startX"===e&&s>=a||"endX"===e&&s<=o||this.setState(vM({},e,s),(function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))}))}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,o=t.fill,a=t.stroke;return Q.createElement("rect",{stroke:a,fill:o,x:e,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,o=t.data,a=t.children,c=t.padding,l=et.only(a);return l?Q.cloneElement(l,{x:e,y:r,width:n,height:i,margin:c,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(t,r){var n,i,o=this,a=this.props,c=a.y,l=a.travellerWidth,u=a.height,s=a.traveller,f=a.ariaLabel,p=a.data,h=a.startIndex,d=a.endIndex,y=Math.max(t,this.props.x),v=uM(uM({},Sa(this.props,!1)),{},{x:y,y:c,width:l,height:u}),g=f||"Min value: ".concat(null===(n=p[h])||void 0===n?void 0:n.name,", Max value: ").concat(null===(i=p[d])||void 0===i?void 0:i.name);return Q.createElement(Na,{tabIndex:0,role:"slider","aria-label":g,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),o.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,r))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(s,v))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,i=r.height,o=r.stroke,a=r.travellerWidth,c=Math.min(t,e)+a,l=Math.max(Math.abs(e-t)-a,0);return Q.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:o,fillOpacity:.2,x:c,y:n,width:l,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,i=t.height,o=t.travellerWidth,a=t.stroke,c=this.state,l=c.startX,u=c.endX,s={pointerEvents:"none",fill:a};return Q.createElement(Na,{className:"recharts-brush-texts"},Q.createElement(Uy,cM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:n+i/2},s),this.getTextOfTick(e)),Q.createElement(Uy,cM({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,u)+o+5,y:n+i/2},s),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,i=t.x,o=t.y,a=t.width,c=t.height,l=t.alwaysShowText,u=this.state,s=u.startX,f=u.endX,p=u.isTextActive,h=u.isSlideMoving,d=u.isTravellerMoving,y=u.isTravellerFocused;if(!e||!e.length||!Yo(i)||!Yo(o)||!Yo(a)||!Yo(c)||a<=0||c<=0)return null;var v,g,m,b,w=tn("recharts-brush",r),x=1===Q.Children.count(n),O=(g="none",m=(v="userSelect").replace(/(\w)/,(function(t){return t.toUpperCase()})),(b=oM.reduce((function(t,e){return nM(nM({},t),{},iM({},e+m,g))}),{}))[v]=g,b);return Q.createElement(Na,{className:w,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:O},this.renderBackground(),x&&this.renderPanorama(),this.renderSlide(s,f),this.renderTravellerLayer(s,"startX"),this.renderTravellerLayer(f,"endX"),(p||h||d||y||l)&&this.renderText())}}],i=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,i=t.height,o=t.stroke,a=Math.floor(r+i/2)-1;return Q.createElement(Q.Fragment,null,Q.createElement("rect",{x:e,y:r,width:n,height:i,fill:o,stroke:"none"}),Q.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),Q.createElement("line",{x1:e+1,y1:a+2,x2:e+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,r){return Q.isValidElement(t)?Q.cloneElement(t,r):Nn(t)?t(r):e.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,c=t.startIndex,l=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return uM({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?function(t){var e=t.data,r=t.startIndex,n=t.endIndex,i=t.x,o=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,l=bv().domain(tM(0,c)).range([i,i+o-a]),u=l.domain().map((function(t){return l(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(r),endX:l(n),scale:l,scaleValues:u}}({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:l}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+n-o]);var u=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=0,n=t.length-1;n-r>1;){var i=Math.floor((r+n)/2);t[i]>e?n=i:r=i}return e>=t[n]?n:r}}],n&&sM(r.prototype,n),i&&sM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();vM(bM,"displayName","Brush"),vM(bM,"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 wM=nh;var xM=eu,OM=ap,SM=function(t,e){var r;return wM(t,(function(t,n,i){return!(r=e(t,n,i))})),!!r},jM=en,AM=$h;var PM=We((function(t,e,r){var n=jM(t)?xM:SM;return r&&AM(t,e,r)&&(e=void 0),n(t,OM(e))})),MM=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},kM=Ph;var EM=function(t,e,r){"__proto__"==e&&kM?kM(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r},CM=EM,_M=eh,TM=ap;var DM=function(t,e){var r={};return e=TM(e),_M(t,(function(t,n,i){CM(r,n,e(t,n,i))})),r},NM=We(DM);var IM=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0},LM=nh;var BM=IM,RM=function(t,e){var r=!0;return LM(t,(function(t,n,i){return r=!!e(t,n,i)})),r},zM=ap,$M=en,HM=$h;var VM=We((function(t,e,r){var n=$M(t)?BM:RM;return r&&HM(t,e,r)&&(e=void 0),n(t,zM(e))})),FM=["x","y"];function UM(t){return UM="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},UM(t)}function WM(){return WM=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},WM.apply(this,arguments)}function qM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function YM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?qM(Object(r),!0).forEach((function(e){XM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function XM(t,e,r){return e=function(t){var e=function(t,e){if("object"!=UM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=UM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==UM(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function KM(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function GM(t,e){var r=t.x,n=t.y,i=KM(t,FM),o="".concat(r),a=parseInt(o,10),c="".concat(n),l=parseInt(c,10),u="".concat(e.height||i.height),s=parseInt(u,10),f="".concat(e.width||i.width),p=parseInt(f,10);return YM(YM(YM(YM(YM({},e),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:s,width:p,name:e.name,radius:e.radius})}function ZM(t){return Q.createElement(zP,WM({shapeType:"rectangle",propTransformer:GM,activeClassName:"recharts-active-bar"},t))}var JM,QM=["value","background"];function tk(t){return tk="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},tk(t)}function ek(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function rk(){return rk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},rk.apply(this,arguments)}function nk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ik(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nk(Object(r),!0).forEach((function(e){fk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ok(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,pk(n.key),n)}}function ak(t,e,r){return e=lk(e),function(t,e){if(e&&("object"===tk(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return uk(t)}(t,ck()?Reflect.construct(e,r||[],lk(t).constructor):e.apply(t,r))}function ck(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ck=function(){return!!t})()}function lk(t){return lk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},lk(t)}function uk(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sk(t,e){return sk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},sk(t,e)}function fk(t,e,r){return(e=pk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pk(t){var e=function(t,e){if("object"!=tk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tk(e)?e:String(e)}var hk=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return fk(uk(t=ak(this,e,[].concat(n))),"state",{isAnimationFinished:!1}),fk(uk(t),"id",Go("recharts-bar-")),fk(uk(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()})),fk(uk(t),"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()})),t}var r,n,i;return 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&&sk(t,e)}(e,rt),r=e,n=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,i=r.dataKey,o=r.activeIndex,a=r.activeBar,c=Sa(this.props,!1);return t&&t.map((function(t,r){var l=r===o,u=l?a:n,s=ik(ik(ik({},c),t),{},{isActive:l,option:u,index:r,dataKey:i,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return Q.createElement(Na,rk({className:"recharts-bar-rectangle"},la(e.props,t,r),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value)}),Q.createElement(ZM,s))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,i=e.isAnimationActive,o=e.animationBegin,a=e.animationDuration,c=e.animationEasing,l=e.animationId,u=this.state.prevData;return Q.createElement($A,{begin:o,duration:a,isActive:i,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var i=e.t,o=r.map((function(t,e){var r=u&&u[e];if(r){var o=Qo(r.x,t.x),a=Qo(r.y,t.y),c=Qo(r.width,t.width),l=Qo(r.height,t.height);return ik(ik({},t),{},{x:o(i),y:a(i),width:c(i),height:l(i)})}if("horizontal"===n){var s=Qo(0,t.height)(i);return ik(ik({},t),{},{y:t.y+t.height-s,height:s})}var f=Qo(0,t.width)(i);return ik(ik({},t),{},{width:f})}));return Q.createElement(Na,null,t.renderRectanglesStatically(o))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return!(r&&e&&e.length)||n&&Xw(n,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,n=e.dataKey,i=e.activeIndex,o=Sa(this.props.background,!1);return r.map((function(e,r){e.value;var a=e.background,c=ek(e,QM);if(!a)return null;var l=ik(ik(ik(ik(ik({},c),{},{fill:"#eee"},a),o),la(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return Q.createElement(ZM,rk({option:t.props.background,isActive:r===i},l))}))}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,i=r.xAxis,o=r.yAxis,a=r.layout,c=ma(r.children,oO);if(!c)return null;var l="vertical"===a?n[0].height/2:n[0].width/2,u=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:gO(t,e)}},s={clipPath:t?"url(#clipPath-".concat(e,")"):null};return Q.createElement(Na,s,c.map((function(t){return Q.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,offset:l,dataPointFormatter:u})})))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,i=t.xAxis,o=t.yAxis,a=t.left,c=t.top,l=t.width,u=t.height,s=t.isAnimationActive,f=t.background,p=t.id;if(e||!r||!r.length)return null;var h=this.state.isAnimationFinished,d=tn("recharts-bar",n),y=i&&i.allowDataOverflow,v=o&&o.allowDataOverflow,g=y||v,m=ko(p)?this.id:p;return Q.createElement(Na,{className:d},y||v?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(m)},Q.createElement("rect",{x:y?a:a-l/2,y:v?c:c-u/2,width:y?l:2*l,height:v?u:2*u}))):null,Q.createElement(Na,{className:"recharts-bar-rectangles",clipPath:g?"url(#clipPath-".concat(m,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(g,m),(!s||h)&&SS.renderCallByParent(this.props,r))}}],i=[{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&&ok(r.prototype,n),i&&ok(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();function dk(t){return dk="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},dk(t)}function yk(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,bk(n.key),n)}}function vk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function gk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vk(Object(r),!0).forEach((function(e){mk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function mk(t,e,r){return(e=bk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function bk(t){var e=function(t,e){if("object"!=dk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dk(e)?e:String(e)}JM=hk,fk(hk,"displayName","Bar"),fk(hk,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!md.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),fk(hk,"getComposedData",(function(t){var e=t.props,r=t.item,n=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,c=t.xAxisTicks,l=t.yAxisTicks,u=t.stackedData,s=t.dataStartIndex,f=t.displayedData,p=t.offset,h=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null}(n,r);if(!h)return null;var d=e.layout,y=r.props,v=y.dataKey,g=y.children,m=y.minPointSize,b="horizontal"===d?a:o,w=u?b.scale.domain():null,x=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]}({numericAxis:b}),O=ma(g,cy),S=f.map((function(t,e){var n,f,p,y,g,b;u?n=function(t,e){if(!e||2!==e.length||!Yo(e[0])||!Yo(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!Yo(t[0])||t[0]<r)&&(i[0]=r),(!Yo(t[1])||t[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i}(u[s+e],w):(n=gO(t,v),Array.isArray(n)||(n=[x,n]));var S=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var i="number"==typeof r;return i?t(r,n):(i||("production"!==process.env.NODE_ENV?Qx(0,"minPointSize callback function received a value with type of ".concat(UM(r),". Currently only numbers are supported.")):Qx()),e)}}(m,JM.defaultProps.minPointSize)(n[1],e);if("horizontal"===d){var j,A=[a.scale(n[0]),a.scale(n[1])],P=A[0],M=A[1];f=CO({axis:o,ticks:c,bandSize:i,offset:h.offset,entry:t,index:e}),p=null!==(j=null!=M?M:P)&&void 0!==j?j:void 0,y=h.size;var k=P-M;if(g=Number.isNaN(k)?0:k,b={x:f,y:a.y,width:y,height:a.height},Math.abs(S)>0&&Math.abs(g)<Math.abs(S)){var E=Wo(g||S)*(Math.abs(S)-Math.abs(g));p-=E,g+=E}}else{var C=[o.scale(n[0]),o.scale(n[1])],_=C[0],T=C[1];if(f=_,p=CO({axis:a,ticks:l,bandSize:i,offset:h.offset,entry:t,index:e}),y=T-_,g=h.size,b={x:o.x,y:p,width:o.width,height:g},Math.abs(S)>0&&Math.abs(y)<Math.abs(S))y+=Wo(y||S)*(Math.abs(S)-Math.abs(y))}return ik(ik(ik({},t),{},{x:f,y:p,width:y,height:g,value:u?n:n[1],payload:t,background:b},O&&O[e]&&O[e].props),{},{tooltipPayload:[BO(r,t)],tooltipPosition:{x:f+y/2,y:p+g/2}})}));return ik({data:S,layout:d},p)}));var wk=function(t,e,r,n,i){var o=t.width,a=t.height,c=t.layout,l=t.children,u=Object.keys(e),s={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},f=!!ba(l,hk);return u.reduce((function(o,a){var l,u,p,h,d,y=e[a],v=y.orientation,g=y.domain,m=y.padding,b=void 0===m?{}:m,w=y.mirror,x=y.reversed,O="".concat(v).concat(w?"Mirror":"");if("number"===y.type&&("gap"===y.padding||"no-gap"===y.padding)){var S=g[1]-g[0],j=1/0,A=y.categoricalDomain.sort();if(A.forEach((function(t,e){e>0&&(j=Math.min((t||0)-(A[e-1]||0),j))})),Number.isFinite(j)){var P=j/S,M="vertical"===y.layout?r.height:r.width;if("gap"===y.padding&&(l=P*M/2),"no-gap"===y.padding){var k=Zo(t.barCategoryGap,P*M),E=P*M/2;l=E-k-(E-k)/M*k}}}u="xAxis"===n?[r.left+(b.left||0)+(l||0),r.left+r.width-(b.right||0)-(l||0)]:"yAxis"===n?"horizontal"===c?[r.top+r.height-(b.bottom||0),r.top+(b.top||0)]:[r.top+(b.top||0)+(l||0),r.top+r.height-(b.bottom||0)-(l||0)]:y.range,x&&(u=[u[1],u[0]]);var C=function(t,e,r){var n=t.scale,i=t.type,o=t.layout,a=t.axisType;if("auto"===n)return"radial"===o&&"radiusAxis"===a?{scale:gv(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:Hg(),realScaleType:"linear"}:"category"===i&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:bv(),realScaleType:"point"}:"category"===i?{scale:gv(),realScaleType:"band"}:{scale:Hg(),realScaleType:"linear"};if(Do(n)){var c="scale".concat(fc(n));return{scale:(Pw[c]||bv)(),realScaleType:Pw[c]?c:"point"}}return Nn(n)?{scale:n}:{scale:bv(),realScaleType:"point"}}(y,i,f),_=C.scale,T=C.realScaleType;_.domain(g).range(u),function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),i=Math.min(n[0],n[1])-PO,o=Math.max(n[0],n[1])+PO,a=t(e[0]),c=t(e[r-1]);(a<i||a>o||c<i||c>o)&&t.domain([e[0],e[r-1]])}}(_);var D=function(t,e){var r=e.realScaleType,n=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,c=r||e.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var l=t.domain();if(!l.length)return null;var u=Kx(l,i,a);return t.domain([Rw(u),Dw(u)]),{niceTicks:u}}if(i&&"number"===n){var s=t.domain();return{niceTicks:Gx(s,i,a)}}return null}(_,gk(gk({},y),{},{realScaleType:T}));"xAxis"===n?(d="top"===v&&!w||"bottom"===v&&w,p=r.left,h=s[O]-d*y.height):"yAxis"===n&&(d="left"===v&&!w||"right"===v&&w,p=s[O]-d*y.width,h=r.top);var N=gk(gk(gk({},y),D),{},{realScaleType:T,x:p,y:h,scale:_,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return N.bandSize=IO(N,D),y.hide||"xAxis"!==n?y.hide||(s[O]+=(d?-1:1)*N.width):s[O]+=(d?-1:1)*N.height,gk(gk({},o),{},mk({},a,N))}),{})},xk=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},Ok=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,r,n;return e=t,r=[{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]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o}if(r){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(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],n=[{key:"create",value:function(e){return new t(e)}}],r&&yk(e.prototype,r),n&&yk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();mk(Ok,"EPS",1e-4);var Sk=function(t){var e=Object.keys(t).reduce((function(e,r){return gk(gk({},e),{},mk({},r,Ok.create(t[r])))}),{});return gk(gk({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return NM(t,(function(t,r){return e[r].apply(t,{bandAware:n,position:i})}))},isInRange:function(t){return VM(t,(function(t,r){return e[r].isInRange(t)}))}})};var jk=function(t){var e=t.width,r=t.height,n=function(t){return(t%180+180)%180}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),i=n*Math.PI/180,o=Math.atan(r/e),a=i>o&&i<Math.PI-o?r/Math.sin(i):e/Math.cos(i);return Math.abs(a)},Ak=Qi((function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}}),(function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")}));function Pk(t){return Pk="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},Pk(t)}var Mk=ht(void 0),kk=ht(void 0),Ek=ht(void 0),Ck=ht({}),_k=ht(void 0),Tk=ht(0),Dk=ht(0),Nk=function(t){var e=t.state,r=e.xAxisMap,n=e.yAxisMap,i=e.offset,o=t.clipPathId,a=t.children,c=t.width,l=t.height,u=Ak(i);return Q.createElement(Mk.Provider,{value:r},Q.createElement(kk.Provider,{value:n},Q.createElement(Ck.Provider,{value:i},Q.createElement(Ek.Provider,{value:u},Q.createElement(_k.Provider,{value:o},Q.createElement(Tk.Provider,{value:l},Q.createElement(Dk.Provider,{value:c},a)))))))};function Ik(t){var e=Object.keys(t);return 0===e.length?"There are no available ids.":"Available ids are: ".concat(e,".")}var Lk=function(t){var e=pt(Mk);null==e&&("production"!==process.env.NODE_ENV?Qx(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Qx());var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Qx(0,'Could not find xAxis by id "'.concat(t,'" [').concat(Pk(t),"]. ").concat(Ik(e))):Qx()),r},Bk=function(t){var e=pt(kk);null==e&&("production"!==process.env.NODE_ENV?Qx(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Qx());var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Qx(0,'Could not find yAxis by id "'.concat(t,'" [').concat(Pk(t),"]. ").concat(Ik(e))):Qx()),r},Rk=function(){return pt(Dk)},zk=function(){return pt(Tk)};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)}function Hk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Hk(Object(r),!0).forEach((function(e){Fk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Hk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Fk(t,e,r){return e=function(t){var e=function(t,e){if("object"!=$k(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=$k(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==$k(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Uk(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Wk(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Wk(t,e)}(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 Wk(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function qk(){return qk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},qk.apply(this,arguments)}function Yk(t){var e=t.x,r=t.y,n=t.segment,i=t.xAxisId,o=t.yAxisId,a=t.shape,c=t.className,l=t.alwaysShow,u=pt(_k),s=Lk(i),f=Bk(o),p=pt(Ek);if(!u||!p)return null;La(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=function(t,e,r,n,i,o,a,c,l){var u=i.x,s=i.y,f=i.width,p=i.height;if(r){var h=l.y,d=t.y.apply(h,{position:o});if(MM(l,"discard")&&!t.y.isInRange(d))return null;var y=[{x:u+f,y:d},{x:u,y:d}];return"left"===c?y.reverse():y}if(e){var v=l.x,g=t.x.apply(v,{position:o});if(MM(l,"discard")&&!t.x.isInRange(g))return null;var m=[{x:g,y:s+p},{x:g,y:s}];return"top"===a?m.reverse():m}if(n){var b=l.segment.map((function(e){return t.apply(e,{position:o})}));return MM(l,"discard")&&PM(b,(function(e){return!t.isInRange(e)}))?null:b}return null}(Sk({x:s.scale,y:f.scale}),Xo(e),Xo(r),n&&2===n.length,p,t.position,s.orientation,f.orientation,t);if(!h)return null;var d=Uk(h,2),y=d[0],v=y.x,g=y.y,m=d[1],b=m.x,w=m.y,x=Vk(Vk({clipPath:MM(t,"hidden")?"url(#".concat(u,")"):void 0},Sa(t,!0)),{},{x1:v,y1:g,x2:b,y2:w});return Q.createElement(Na,{className:tn("recharts-reference-line",c)},function(t,e){return Q.isValidElement(t)?Q.cloneElement(t,e):Nn(t)?t(e):Q.createElement("line",qk({},e,{className:"recharts-reference-line-line"}))}(a,x),lS.renderCallByParent(t,function(t){var e=t.x1,r=t.y1,n=t.x2,i=t.y2;return xk({x:e,y:r},{x:n,y:i})}({x1:v,y1:g,x2:b,y2:w})))}function Xk(t){return Xk="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},Xk(t)}function Kk(){return Kk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Kk.apply(this,arguments)}function Gk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Zk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Gk(Object(r),!0).forEach((function(e){Jk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Jk(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Xk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Xk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Xk(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Yk.displayName="ReferenceLine",Yk.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function Qk(t){var e=t.x,r=t.y,n=t.r,i=t.alwaysShow,o=t.clipPathId,a=Xo(e),c=Xo(r);if(La(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!a||!c)return null;var l=function(t){var e=t.x,r=t.y,n=t.xAxis,i=t.yAxis,o=Sk({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return MM(t,"discard")&&!o.isInRange(a)?null:a}(t);if(!l)return null;var u=l.x,s=l.y,f=t.shape,p=t.className,h=Zk(Zk({clipPath:MM(t,"hidden")?"url(#".concat(o,")"):void 0},Sa(t,!0)),{},{cx:u,cy:s});return Q.createElement(Na,{className:tn("recharts-reference-dot",p)},Qk.renderDot(f,h),lS.renderCallByParent(t,{x:u-n,y:s-n,width:2*n,height:2*n}))}function tE(t){return tE="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},tE(t)}function eE(){return eE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},eE.apply(this,arguments)}function rE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rE(Object(r),!0).forEach((function(e){iE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function iE(t,e,r){return e=function(t){var e=function(t,e){if("object"!=tE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tE(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Qk.displayName="ReferenceDot",Qk.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},Qk.renderDot=function(t,e){return Q.isValidElement(t)?Q.cloneElement(t,e):Nn(t)?t(e):Q.createElement(QA,Kk({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};function oE(t){var e=t.x1,r=t.x2,n=t.y1,i=t.y2,o=t.className,a=t.alwaysShow,c=t.clipPathId;La(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=Xo(e),u=Xo(r),s=Xo(n),f=Xo(i),p=t.shape;if(!(l||u||s||f||p))return null;var h=function(t,e,r,n,i){var o=i.x1,a=i.x2,c=i.y1,l=i.y2,u=i.xAxis,s=i.yAxis;if(!u||!s)return null;var f=Sk({x:u.scale,y:s.scale}),p={x:t?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},h={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(l,{position:"end"}):f.y.rangeMax};return!MM(i,"discard")||f.isInRange(p)&&f.isInRange(h)?xk(p,h):null}(l,u,s,f,t);if(!h&&!p)return null;var d=MM(t,"hidden")?"url(#".concat(c,")"):void 0;return Q.createElement(Na,{className:tn("recharts-reference-area",o)},oE.renderRect(p,nE(nE({clipPath:d},Sa(t,!0)),h)),lS.renderCallByParent(t,h))}function aE(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],i=0;i<t.length;i+=e)n.push(t[i]);return n}function cE(t,e,r,n,i){if(t*e<t*n||t*e>t*i)return!1;var o=r();return t*(e-t*o/2-n)>=0&&t*(e+t*o/2-i)<=0}function lE(t){return lE="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},lE(t)}function uE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function sE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uE(Object(r),!0).forEach((function(e){fE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function fE(t,e,r){return e=function(t){var e=function(t,e){if("object"!=lE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=lE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==lE(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pE(t,e,r){var n=t.tick,i=t.ticks,o=t.viewBox,a=t.minTickGap,c=t.orientation,l=t.interval,u=t.tickFormatter,s=t.unit,f=t.angle;if(!i||!i.length||!n)return[];if(Yo(l)||md.isSsr)return function(t,e){return aE(t,e+1)}(i,"number"==typeof l&&Yo(l)?l:0);var p=[],h="top"===c||"bottom"===c?"width":"height",d=s&&"width"===h?yy(s,{fontSize:e,letterSpacing:r}):{width:0,height:0},y=function(t,n){var i=Nn(u)?u(t.value,n):t.value;return"width"===h?function(t,e,r){var n={width:t.width+e.width,height:t.height+e.height};return jk(n,r)}(yy(i,{fontSize:e,letterSpacing:r}),d,f):yy(i,{fontSize:e,letterSpacing:r})[h]},v=i.length>=2?Wo(i[1].coordinate-i[0].coordinate):1,g=function(t,e,r){var n="width"===r,i=t.x,o=t.y,a=t.width,c=t.height;return 1===e?{start:n?i:o,end:n?i+a:o+c}:{start:n?i+a:o+c,end:n?i:o}}(o,v,h);return"equidistantPreserveStart"===l?function(t,e,r,n,i){for(var o,a=(n||[]).slice(),c=e.start,l=e.end,u=0,s=1,f=c,p=function(){var e=null==n?void 0:n[u];if(void 0===e)return{v:aE(n,s)};var o,a=u,p=function(){return void 0===o&&(o=r(e,a)),o},h=e.coordinate,d=0===u||cE(t,h,p,f,l);d||(u=0,f=c,s+=1),d&&(f=h+t*(p()/2+i),u+=s)};s<=a.length;)if(o=p())return o.v;return[]}(v,g,y,i,a):(p="preserveStart"===l||"preserveStartEnd"===l?function(t,e,r,n,i,o){var a=(n||[]).slice(),c=a.length,l=e.start,u=e.end;if(o){var s=n[c-1],f=r(s,c-1),p=t*(s.coordinate+t*f/2-u);a[c-1]=s=sE(sE({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),cE(t,s.tickCoord,(function(){return f}),l,u)&&(u=s.tickCoord-t*(f/2+i),a[c-1]=sE(sE({},s),{},{isShow:!0}))}for(var h=o?c-1:c,d=function(e){var n,o=a[e],c=function(){return void 0===n&&(n=r(o,e)),n};if(0===e){var s=t*(o.coordinate-t*c()/2-l);a[e]=o=sE(sE({},o),{},{tickCoord:s<0?o.coordinate-s*t:o.coordinate})}else a[e]=o=sE(sE({},o),{},{tickCoord:o.coordinate});cE(t,o.tickCoord,c,l,u)&&(l=o.tickCoord+t*(c()/2+i),a[e]=sE(sE({},o),{},{isShow:!0}))},y=0;y<h;y++)d(y);return a}(v,g,y,i,a,"preserveStartEnd"===l):function(t,e,r,n,i){for(var o=(n||[]).slice(),a=o.length,c=e.start,l=e.end,u=function(e){var n,u=o[e],s=function(){return void 0===n&&(n=r(u,e)),n};if(e===a-1){var f=t*(u.coordinate+t*s()/2-l);o[e]=u=sE(sE({},u),{},{tickCoord:f>0?u.coordinate-f*t:u.coordinate})}else o[e]=u=sE(sE({},u),{},{tickCoord:u.coordinate});cE(t,u.tickCoord,s,c,l)&&(l=u.tickCoord-t*(s()/2+i),o[e]=sE(sE({},u),{},{isShow:!0}))},s=a-1;s>=0;s--)u(s);return o}(v,g,y,i,a),p.filter((function(t){return t.isShow})))}oE.displayName="ReferenceArea",oE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},oE.renderRect=function(t,e){return Q.isValidElement(t)?Q.cloneElement(t,e):Nn(t)?t(e):Q.createElement(ZA,eE({},e,{className:"recharts-reference-area-rect"}))};var hE=["viewBox"],dE=["viewBox"],yE=["ticks"];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(){return gE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},gE.apply(this,arguments)}function mE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function bE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?mE(Object(r),!0).forEach((function(e){PE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function wE(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function xE(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ME(n.key),n)}}function OE(t,e,r){return e=jE(e),function(t,e){if(e&&("object"===vE(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)}(t,SE()?Reflect.construct(e,r||[],jE(t).constructor):e.apply(t,r))}function SE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(SE=function(){return!!t})()}function jE(t){return jE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},jE(t)}function AE(t,e){return AE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},AE(t,e)}function PE(t,e,r){return(e=ME(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ME(t){var e=function(t,e){if("object"!=vE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=vE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==vE(e)?e:String(e)}var kE=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=OE(this,e,[t])).state={fontSize:"",letterSpacing:""},r}var r,n,i;return 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&&AE(t,e)}(e,dt),r=e,n=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=wE(t,hE),i=this.props,o=i.viewBox,a=wE(i,dE);return!ea(r,o)||!ea(n,a)||!ea(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,r,n,i,o,a,c=this.props,l=c.x,u=c.y,s=c.width,f=c.height,p=c.orientation,h=c.tickSize,d=c.mirror,y=c.tickMargin,v=d?-1:1,g=t.tickSize||h,m=Yo(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(i=u+ +!d*f)-v*g)-v*y,o=m;break;case"left":n=i=t.coordinate,o=(e=(r=l+ +!d*s)-v*g)-v*y,a=m;break;case"right":n=i=t.coordinate,o=(e=(r=l+ +d*s)+v*g)+v*y,a=m;break;default:e=r=t.coordinate,a=(n=(i=u+ +d*f)+v*g)+v*y,o=m}return{line:{x1:e,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,o=t.orientation,a=t.mirror,c=t.axisLine,l=bE(bE(bE({},Sa(this.props,!1)),Sa(c,!1)),{},{fill:"none"});if("top"===o||"bottom"===o){var u=+("top"===o&&!a||"bottom"===o&&a);l=bE(bE({},l),{},{x1:e,y1:r+u*i,x2:e+n,y2:r+u*i})}else{var s=+("left"===o&&!a||"right"===o&&a);l=bE(bE({},l),{},{x1:e+s*n,y1:r,x2:e+s*n,y2:r+i})}return Q.createElement("line",gE({},l,{className:tn("recharts-cartesian-axis-line",Mo(c,"className"))}))}},{key:"renderTicks",value:function(t,r,n){var i=this,o=this.props,a=o.tickLine,c=o.stroke,l=o.tick,u=o.tickFormatter,s=o.unit,f=pE(bE(bE({},this.props),{},{ticks:t}),r,n),p=this.getTickTextAnchor(),h=this.getTickVerticalAnchor(),d=Sa(this.props,!1),y=Sa(l,!1),v=bE(bE({},d),{},{fill:"none"},Sa(a,!1)),g=f.map((function(t,r){var n=i.getTickLineCoord(t),o=n.line,g=n.tick,m=bE(bE(bE(bE({textAnchor:p,verticalAnchor:h},d),{},{stroke:"none",fill:c},y),g),{},{index:r,payload:t,visibleTicksCount:f.length,tickFormatter:u});return Q.createElement(Na,gE({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},la(i.props,t,r)),a&&Q.createElement("line",gE({},v,o,{className:tn("recharts-cartesian-axis-tick-line",Mo(a,"className"))})),l&&e.renderTickItem(l,m,"".concat(Nn(u)?u(t.value,r):t.value).concat(s||"")))}));return Q.createElement("g",{className:"recharts-cartesian-axis-ticks"},g)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,n=e.width,i=e.height,o=e.ticksGenerator,a=e.className;if(e.hide)return null;var c=this.props,l=c.ticks,u=wE(c,yE),s=l;return Nn(o)&&(s=l&&l.length>0?o(this.props):o(u)),n<=0||i<=0||!s||!s.length?null:Q.createElement(Na,{className:tn("recharts-cartesian-axis",a),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),lS.renderCallByParent(this.props))}}],i=[{key:"renderTickItem",value:function(t,e,r){return Q.isValidElement(t)?Q.cloneElement(t,e):Nn(t)?t(e):Q.createElement(Uy,gE({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&xE(r.prototype,n),i&&xE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();PE(kE,"displayName","CartesianAxis"),PE(kE,"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 EE=["type","layout","connectNulls","ref"];function CE(t){return CE="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},CE(t)}function _E(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function TE(){return TE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},TE.apply(this,arguments)}function DE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function NE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?DE(Object(r),!0).forEach((function(e){FE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):DE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function IE(t){return function(t){if(Array.isArray(t))return LE(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)return;if("string"==typeof t)return LE(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return LE(t,e)}(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 LE(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function BE(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,UE(n.key),n)}}function RE(t,e,r){return e=$E(e),function(t,e){if(e&&("object"===CE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return HE(t)}(t,zE()?Reflect.construct(e,r||[],$E(t).constructor):e.apply(t,r))}function zE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(zE=function(){return!!t})()}function $E(t){return $E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},$E(t)}function HE(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VE(t,e){return VE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},VE(t,e)}function FE(t,e,r){return(e=UE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function UE(t){var e=function(t,e){if("object"!=CE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=CE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==CE(e)?e:String(e)}var WE=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return FE(HE(t=RE(this,e,[].concat(n))),"state",{isAnimationFinished:!0,totalLength:0}),FE(HE(t),"generateSimpleStrokeDasharray",(function(t,e){return"".concat(e,"px ").concat(t-e,"px")})),FE(HE(t),"getStrokeDasharray",(function(r,n,i){var o=i.reduce((function(t,e){return t+e}));if(!o)return t.generateSimpleStrokeDasharray(n,r);for(var a=Math.floor(r/o),c=r%o,l=n-r,u=[],s=0,f=0;s<i.length;f+=i[s],++s)if(f+i[s]>c){u=[].concat(IE(i.slice(0,s)),[c-f]);break}var p=u.length%2==0?[0,l]:[l];return[].concat(IE(e.repeat(i,a)),IE(u),p).map((function(t){return"".concat(t,"px")})).join(", ")})),FE(HE(t),"id",Go("recharts-line-")),FE(HE(t),"pathRef",(function(e){t.mainCurve=e})),FE(HE(t),"handleAnimationEnd",(function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()})),FE(HE(t),"handleAnimationStart",(function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()})),t}var r,n,i;return 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&&VE(t,e)}(e,rt),r=e,n=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();this.setState({totalLength:t})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();t!==this.state.totalLength&&this.setState({totalLength:t})}}},{key:"getTotalLength",value:function(){var t=this.mainCurve;try{return t&&t.getTotalLength&&t.getTotalLength()||0}catch(t){return 0}}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.points,i=r.xAxis,o=r.yAxis,a=r.layout,c=ma(r.children,oO);if(!c)return null;var l=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:gO(t.payload,e)}},u={clipPath:t?"url(#clipPath-".concat(e,")"):null};return Q.createElement(Na,u,c.map((function(t){return Q.cloneElement(t,{key:"bar-".concat(t.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,dataPointFormatter:l})})))}},{key:"renderDots",value:function(t,r,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.dot,a=i.points,c=i.dataKey,l=Sa(this.props,!1),u=Sa(o,!0),s=a.map((function(t,r){var n=NE(NE(NE({key:"dot-".concat(r),r:3},l),u),{},{value:t.value,dataKey:c,cx:t.x,cy:t.y,index:r,payload:t.payload});return e.renderDotItem(o,n)})),f={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return Q.createElement(Na,TE({className:"recharts-line-dots",key:"dots"},f),s)}},{key:"renderCurveStatically",value:function(t,e,r,n){var i=this.props,o=i.type,a=i.layout,c=i.connectNulls;i.ref;var l=_E(i,EE),u=NE(NE(NE({},Sa(l,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:e?"url(#clipPath-".concat(r,")"):null,points:t},n),{},{type:o,layout:a,connectNulls:c});return Q.createElement(ej,TE({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,e){var r=this,n=this.props,i=n.points,o=n.strokeDasharray,a=n.isAnimationActive,c=n.animationBegin,l=n.animationDuration,u=n.animationEasing,s=n.animationId,f=n.animateNewValues,p=n.width,h=n.height,d=this.state,y=d.prevPoints,v=d.totalLength;return Q.createElement($A,{begin:c,duration:l,isActive:a,easing:u,from:{t:0},to:{t:1},key:"line-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(y){var c=y.length/i.length,l=i.map((function(t,e){var r=Math.floor(e*c);if(y[r]){var n=y[r],i=Qo(n.x,t.x),o=Qo(n.y,t.y);return NE(NE({},t),{},{x:i(a),y:o(a)})}if(f){var l=Qo(2*p,t.x),u=Qo(h/2,t.y);return NE(NE({},t),{},{x:l(a),y:u(a)})}return NE(NE({},t),{},{x:t.x,y:t.y})}));return r.renderCurveStatically(l,t,e)}var u,s=Qo(0,v)(a);if(o){var d="".concat(o).split(/[,\s]+/gim).map((function(t){return parseFloat(t)}));u=r.getStrokeDasharray(s,v,d)}else u=r.generateSimpleStrokeDasharray(v,s);return r.renderCurveStatically(i,t,e,{strokeDasharray:u})}))}},{key:"renderCurve",value:function(t,e){var r=this.props,n=r.points,i=r.isAnimationActive,o=this.state,a=o.prevPoints,c=o.totalLength;return i&&n&&n.length&&(!a&&c>0||!Xw(a,n))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(n,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,i=e.points,o=e.className,a=e.xAxis,c=e.yAxis,l=e.top,u=e.left,s=e.width,f=e.height,p=e.isAnimationActive,h=e.id;if(r||!i||!i.length)return null;var d=this.state.isAnimationFinished,y=1===i.length,v=tn("recharts-line",o),g=a&&a.allowDataOverflow,m=c&&c.allowDataOverflow,b=g||m,w=ko(h)?this.id:h,x=null!==(t=Sa(n,!1))&&void 0!==t?t:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,A=void 0===j?2:j,P=(Oa(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Q.createElement(Na,{className:v},g||m?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(w)},Q.createElement("rect",{x:g?u:u-s/2,y:m?l:l-f/2,width:g?s:2*s,height:m?f:2*f})),!M&&Q.createElement("clipPath",{id:"clipPath-dots-".concat(w)},Q.createElement("rect",{x:u-k/2,y:l-k/2,width:s+k,height:f+k}))):null,!y&&this.renderCurve(b,w),this.renderErrorBar(b,w),(y||n)&&this.renderDots(b,M,w),(!p||d)&&SS.renderCallByParent(this.props,i))}}],i=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"repeat",value:function(t,e){for(var r=t.length%2!=0?[].concat(IE(t),[0]):t,n=[],i=0;i<e;++i)n=[].concat(IE(n),IE(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(Q.isValidElement(t))r=Q.cloneElement(t,e);else if(Nn(t))r=t(e);else{var n=tn("recharts-line-dot","boolean"!=typeof t?t.className:"");r=Q.createElement(QA,TE({},e,{className:n}))}return r}}],n&&BE(r.prototype,n),i&&BE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();FE(WE,"displayName","Line"),FE(WE,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!md.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),FE(WE,"getComposedData",(function(t){var e=t.props,r=t.xAxis,n=t.yAxis,i=t.xAxisTicks,o=t.yAxisTicks,a=t.dataKey,c=t.bandSize,l=t.displayedData,u=t.offset,s=e.layout;return NE({points:l.map((function(t,e){var l=gO(t,a);return"horizontal"===s?{x:EO({axis:r,ticks:i,bandSize:c,entry:t,index:e}),y:ko(l)?null:n.scale(l),value:l,payload:t}:{x:ko(l)?null:r.scale(l),y:EO({axis:n,ticks:o,bandSize:c,entry:t,index:e}),value:l,payload:t}})),layout:s},u)}));var qE,YE=["layout","type","stroke","connectNulls","isRange","ref"];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(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function GE(){return GE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},GE.apply(this,arguments)}function ZE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function JE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ZE(Object(r),!0).forEach((function(e){oC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function QE(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,aC(n.key),n)}}function tC(t,e,r){return e=rC(e),function(t,e){if(e&&("object"===XE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return nC(t)}(t,eC()?Reflect.construct(e,r||[],rC(t).constructor):e.apply(t,r))}function eC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(eC=function(){return!!t})()}function rC(t){return rC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},rC(t)}function nC(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iC(t,e){return iC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},iC(t,e)}function oC(t,e,r){return(e=aC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function aC(t){var e=function(t,e){if("object"!=XE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=XE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==XE(e)?e:String(e)}var cC=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return oC(nC(t=tC(this,e,[].concat(n))),"state",{isAnimationFinished:!0}),oC(nC(t),"id",Go("recharts-area-")),oC(nC(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),Nn(e)&&e()})),oC(nC(t),"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),Nn(e)&&e()})),t}var r,n,i;return 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&&iC(t,e)}(e,rt),r=e,n=[{key:"renderDots",value:function(t,r,n){var i=this.props.isAnimationActive,o=this.state.isAnimationFinished;if(i&&!o)return null;var a=this.props,c=a.dot,l=a.points,u=a.dataKey,s=Sa(this.props,!1),f=Sa(c,!0),p=l.map((function(t,r){var n=JE(JE(JE({key:"dot-".concat(r),r:3},s),f),{},{index:r,cx:t.x,cy:t.y,dataKey:u,value:t.value,payload:t.payload,points:l});return e.renderDotItem(c,n)})),h={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return Q.createElement(Na,GE({className:"recharts-area-dots"},h),p)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,i=e.strokeWidth,o=n[0].x,a=n[n.length-1].x,c=t*Math.abs(o-a),l=Dw(n.map((function(t){return t.y||0})));return Yo(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Dw(r.map((function(t){return t.y||0}))),l)),Yo(l)?Q.createElement("rect",{x:o<a?o:o-c,y:0,width:c,height:Math.floor(l+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,i=e.strokeWidth,o=n[0].y,a=n[n.length-1].y,c=t*Math.abs(o-a),l=Dw(n.map((function(t){return t.x||0})));return Yo(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Dw(r.map((function(t){return t.x||0}))),l)),Yo(l)?Q.createElement("rect",{x:0,y:o<a?o:o-c,width:l+(i?parseInt("".concat(i),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(t){return"vertical"===this.props.layout?this.renderVerticalRect(t):this.renderHorizontalRect(t)}},{key:"renderAreaStatically",value:function(t,e,r,n){var i=this.props,o=i.layout,a=i.type,c=i.stroke,l=i.connectNulls,u=i.isRange;i.ref;var s=KE(i,YE);return Q.createElement(Na,{clipPath:r?"url(#clipPath-".concat(n,")"):null},Q.createElement(ej,GE({},Sa(s,!0),{points:t,connectNulls:l,type:a,baseLine:e,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&Q.createElement(ej,GE({},Sa(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:t})),"none"!==c&&u&&Q.createElement(ej,GE({},Sa(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,n=this.props,i=n.points,o=n.baseLine,a=n.isAnimationActive,c=n.animationBegin,l=n.animationDuration,u=n.animationEasing,s=n.animationId,f=this.state,p=f.prevPoints,h=f.prevBaseLine;return Q.createElement($A,{begin:c,duration:l,isActive:a,easing:u,from:{t:0},to:{t:1},key:"area-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(p){var c,l=p.length/i.length,u=i.map((function(t,e){var r=Math.floor(e*l);if(p[r]){var n=p[r],i=Qo(n.x,t.x),o=Qo(n.y,t.y);return JE(JE({},t),{},{x:i(a),y:o(a)})}return t}));return c=Yo(o)&&"number"==typeof o?Qo(h,o)(a):ko(o)||Uo(o)?Qo(h,0)(a):o.map((function(t,e){var r=Math.floor(e*l);if(h[r]){var n=h[r],i=Qo(n.x,t.x),o=Qo(n.y,t.y);return JE(JE({},t),{},{x:i(a),y:o(a)})}return t})),r.renderAreaStatically(u,c,t,e)}return Q.createElement(Na,null,Q.createElement("defs",null,Q.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(a))),Q.createElement(Na,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(i,o,t,e)))}))}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,i=r.baseLine,o=r.isAnimationActive,a=this.state,c=a.prevPoints,l=a.prevBaseLine,u=a.totalLength;return o&&n&&n.length&&(!c&&u>0||!Xw(c,n)||!Xw(l,i))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,i,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,i=e.points,o=e.className,a=e.top,c=e.left,l=e.xAxis,u=e.yAxis,s=e.width,f=e.height,p=e.isAnimationActive,h=e.id;if(r||!i||!i.length)return null;var d=this.state.isAnimationFinished,y=1===i.length,v=tn("recharts-area",o),g=l&&l.allowDataOverflow,m=u&&u.allowDataOverflow,b=g||m,w=ko(h)?this.id:h,x=null!==(t=Sa(n,!1))&&void 0!==t?t:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,A=void 0===j?2:j,P=(Oa(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Q.createElement(Na,{className:v},g||m?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(w)},Q.createElement("rect",{x:g?c:c-s/2,y:m?a:a-f/2,width:g?s:2*s,height:m?f:2*f})),!M&&Q.createElement("clipPath",{id:"clipPath-dots-".concat(w)},Q.createElement("rect",{x:c-k/2,y:a-k/2,width:s+k,height:f+k}))):null,y?null:this.renderArea(b,w),(n||y)&&this.renderDots(b,M,w),(!p||d)&&SS.renderCallByParent(this.props,i))}}],i=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,curBaseLine:t.baseLine,prevPoints:e.curPoints,prevBaseLine:e.curBaseLine}:t.points!==e.curPoints||t.baseLine!==e.curBaseLine?{curPoints:t.points,curBaseLine:t.baseLine}:null}}],n&&QE(r.prototype,n),i&&QE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();function lC(){return lC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},lC.apply(this,arguments)}qE=cC,oC(cC,"displayName","Area"),oC(cC,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!md.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),oC(cC,"getBaseValue",(function(t,e,r,n){var i=t.layout,o=t.baseValue,a=e.props.baseValue,c=null!=a?a:o;if(Yo(c)&&"number"==typeof c)return c;var l="horizontal"===i?n:r,u=l.scale.domain();if("number"===l.type){var s=Math.max(u[0],u[1]),f=Math.min(u[0],u[1]);return"dataMin"===c?f:"dataMax"===c||s<0?s:Math.max(Math.min(u[0],u[1]),0)}return"dataMin"===c?u[0]:"dataMax"===c?u[1]:u[0]})),oC(cC,"getComposedData",(function(t){var e,r=t.props,n=t.item,i=t.xAxis,o=t.yAxis,a=t.xAxisTicks,c=t.yAxisTicks,l=t.bandSize,u=t.dataKey,s=t.stackedData,f=t.dataStartIndex,p=t.displayedData,h=t.offset,d=r.layout,y=s&&s.length,v=qE.getBaseValue(r,n,i,o),g="horizontal"===d,m=!1,b=p.map((function(t,e){var r;y?r=s[f+e]:(r=gO(t,u),Array.isArray(r)?m=!0:r=[v,r]);var n=null==r[1]||y&&null==gO(t,u);return g?{x:EO({axis:i,ticks:a,bandSize:l,entry:t,index:e}),y:n?null:o.scale(r[1]),value:r,payload:t}:{x:n?null:i.scale(r[1]),y:EO({axis:o,ticks:c,bandSize:l,entry:t,index:e}),value:r,payload:t}}));return e=y||m?b.map((function(t){var e=Array.isArray(t.value)?t.value[0]:null;return g?{x:t.x,y:null!=e&&null!=t.y?o.scale(e):null}:{x:null!=e?i.scale(e):null,y:t.y}})):g?o.scale(v):i.scale(v),JE({points:b,baseLine:e,layout:d,isRange:m},h)})),oC(cC,"renderDotItem",(function(t,e){var r;if(Q.isValidElement(t))r=Q.cloneElement(t,e);else if(Nn(t))r=t(e);else{var n=tn("recharts-area-dot","boolean"!=typeof t?t.className:"");r=Q.createElement(QA,GE({},e,{className:n}))}return r}));var uC=function(t){var e=t.xAxisId,r=Rk(),n=zk(),i=Lk(e);return null==i?null:Q.createElement(kE,lC({},i,{className:tn("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return SO(t,!0)}}))};function sC(){return sC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},sC.apply(this,arguments)}uC.displayName="XAxis",uC.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};var fC=function(t){var e=t.yAxisId,r=Rk(),n=zk(),i=Bk(e);return null==i?null:Q.createElement(kE,sC({},i,{className:tn("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return SO(t,!0)}}))};function pC(t){return function(t){if(Array.isArray(t))return hC(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)return;if("string"==typeof t)return hC(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hC(t,e)}(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 hC(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}fC.displayName="YAxis",fC.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};var dC=function(t,e,r,n,i){var o=ma(t,Yk),a=ma(t,Qk),c=[].concat(pC(o),pC(a)),l=ma(t,oE),u="".concat(n,"Id"),s=n[0],f=e;if(c.length&&(f=c.reduce((function(t,e){if(e.props[u]===r&&MM(e.props,"extendDomain")&&Yo(e.props[s])){var n=e.props[s];return[Math.min(t[0],n),Math.max(t[1],n)]}return t}),f)),l.length){var p="".concat(s,"1"),h="".concat(s,"2");f=l.reduce((function(t,e){if(e.props[u]===r&&MM(e.props,"extendDomain")&&Yo(e.props[p])&&Yo(e.props[h])){var n=e.props[p],i=e.props[h];return[Math.min(t[0],n,i),Math.max(t[1],n,i)]}return t}),f)}return i&&i.length&&(f=i.reduce((function(t,e){return Yo(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},yC={exports:{}};!function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}function i(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function o(t,e,n,o,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var c=new i(n,o||t,a),l=r?r+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],c]:t._events[l].push(c):(t._events[l]=c,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}function c(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),c.prototype.eventNames=function(){var t,n,i=[];if(0===this._eventsCount)return i;for(n in t=this._events)e.call(t,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},c.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=new Array(o);i<o;i++)a[i]=n[i].fn;return a},c.prototype.listenerCount=function(t){var e=r?r+t:t,n=this._events[e];return n?n.fn?1:n.length:0},c.prototype.emit=function(t,e,n,i,o,a){var c=r?r+t:t;if(!this._events[c])return!1;var l,u,s=this._events[c],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(t,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,e),!0;case 3:return s.fn.call(s.context,e,n),!0;case 4:return s.fn.call(s.context,e,n,i),!0;case 5:return s.fn.call(s.context,e,n,i,o),!0;case 6:return s.fn.call(s.context,e,n,i,o,a),!0}for(u=1,l=new Array(f-1);u<f;u++)l[u-1]=arguments[u];s.fn.apply(s.context,l)}else{var p,h=s.length;for(u=0;u<h;u++)switch(s[u].once&&this.removeListener(t,s[u].fn,void 0,!0),f){case 1:s[u].fn.call(s[u].context);break;case 2:s[u].fn.call(s[u].context,e);break;case 3:s[u].fn.call(s[u].context,e,n);break;case 4:s[u].fn.call(s[u].context,e,n,i);break;default:if(!l)for(p=1,l=new Array(f-1);p<f;p++)l[p-1]=arguments[p];s[u].fn.apply(s[u].context,l)}}return!0},c.prototype.on=function(t,e,r){return o(this,t,e,r,!1)},c.prototype.once=function(t,e,r){return o(this,t,e,r,!0)},c.prototype.removeListener=function(t,e,n,i){var o=r?r+t:t;if(!this._events[o])return this;if(!e)return a(this,o),this;var c=this._events[o];if(c.fn)c.fn!==e||i&&!c.once||n&&c.context!==n||a(this,o);else{for(var l=0,u=[],s=c.length;l<s;l++)(c[l].fn!==e||i&&!c[l].once||n&&c[l].context!==n)&&u.push(c[l]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&a(this,e)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t.exports=c}(yC);var vC=new(We(yC.exports)),gC="recharts.syncMouseEvents";function mC(t){return mC="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},mC(t)}function bC(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,xC(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function wC(t,e,r){return(e=xC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xC(t){var e=function(t,e){if("object"!=mC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=mC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==mC(e)?e:String(e)}var OC=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),wC(this,"activeIndex",0),wC(this,"coordinateList",[]),wC(this,"layout","horizontal")}return bC(t,[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,i=t.container,o=void 0===i?null:i,a=t.layout,c=void 0===a?null:a,l=t.offset,u=void 0===l?null:l,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(e=null!=n?n:this.coordinateList)&&void 0!==e?e:[],this.container=null!=o?o:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=u?u:this.offset,this.mouseHandlerCallback=null!=f?f: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:"setIndex",value:function(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){var t,e;if("horizontal"===this.layout&&0!==this.coordinateList.length){var r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(t=window)||void 0===t?void 0:t.scrollX)||0,l=(null===(e=window)||void 0===e?void 0:e.scrollY)||0,u=n+a+c,s=i+this.offset.top+o/2+l;this.mouseHandlerCallback({pageX:u,pageY:s})}}}]),t}();function SC(t){var e=t.cx,r=t.cy,n=t.radius,i=t.startAngle,o=t.endAngle;return{points:[UO(e,r,n,i),UO(e,r,n,o)],cx:e,cy:r,radius:n,startAngle:i,endAngle:o}}function jC(t,e,r){var n,i,o,a;if("horizontal"===t)o=n=e.x,i=r.top,a=r.top+r.height;else if("vertical"===t)a=i=e.y,n=r.left,o=r.left+r.width;else if(null!=e.cx&&null!=e.cy){if("centric"!==t)return SC(e);var c=e.cx,l=e.cy,u=e.innerRadius,s=e.outerRadius,f=e.angle,p=UO(c,l,u,f),h=UO(c,l,s,f);n=p.x,i=p.y,o=h.x,a=h.y}return[{x:n,y:i},{x:o,y:a}]}function AC(t){return AC="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},AC(t)}function PC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function MC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?PC(Object(r),!0).forEach((function(e){kC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function kC(t,e,r){return e=function(t){var e=function(t,e){if("object"!=AC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=AC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==AC(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function EC(t){var e,r=t.element,n=t.tooltipEventType,i=t.isActive,o=t.activeCoordinate,a=t.activePayload,c=t.offset,l=t.activeTooltipIndex,u=t.tooltipAxisBandSize,s=t.layout,f=t.chartName;if(!r||!r.props.cursor||!i||!o||"ScatterChart"!==f&&"axis"!==n)return null;var p=ej;if("ScatterChart"===f)e=o,p=cP;else if("BarChart"===f)e=function(t,e,r,n){var i=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?e.x-i:r.left+.5,y:"horizontal"===t?r.top+.5:e.y-i,width:"horizontal"===t?n:r.width-1,height:"horizontal"===t?r.height-1:n}}(s,o,c,u),p=ZA;else if("radial"===s){var h=SC(o),d=h.cx,y=h.cy,v=h.radius;e={cx:d,cy:y,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:v,outerRadius:v},p=TS}else e={points:jC(s,o,c)},p=ej;var g=MC(MC(MC(MC({stroke:"#ccc",pointerEvents:"none"},c),e),Sa(r.props.cursor,!1)),{},{payload:a,payloadIndex:l,className:tn("recharts-tooltip-cursor",r.props.cursor.className)});return tt(r.props.cursor)?st(r.props.cursor,g):ft(p,g)}var CC=["item"],_C=["children","className","width","height","style","compact","title","desc"];function TC(t){return TC="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},TC(t)}function DC(){return DC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},DC.apply(this,arguments)}function NC(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||FC(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 IC(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function LC(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,XC(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function BC(t,e,r){return e=zC(e),function(t,e){if(e&&("object"===TC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return $C(t)}(t,RC()?Reflect.construct(e,r||[],zC(t).constructor):e.apply(t,r))}function RC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(RC=function(){return!!t})()}function zC(t){return zC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},zC(t)}function $C(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HC(t,e){return HC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},HC(t,e)}function VC(t){return function(t){if(Array.isArray(t))return UC(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||FC(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 FC(t,e){if(t){if("string"==typeof t)return UC(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?UC(t,e):void 0}}function UC(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function WC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?WC(Object(r),!0).forEach((function(e){YC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):WC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function YC(t,e,r){return(e=XC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function XC(t){var e=function(t,e){if("object"!=TC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=TC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==TC(e)?e:String(e)}var KC={xAxis:["bottom","top"],yAxis:["left","right"]},GC={width:"100%",height:"100%"},ZC={x:0,y:0};function JC(t){return t}var QC=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,i=e.dataEndIndex,o=(null!=r?r:[]).reduce((function(t,e){var r=e.props.data;return r&&r.length?[].concat(VC(t),VC(r)):t}),[]);return o.length>0?o:t&&t.length&&Yo(n)&&Yo(i)?t.slice(n,i+1):[]};function t_(t){return"number"===t?[0,"auto"]:void 0}var e_=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=QC(e,t);return r<0||!i||!i.length||r>=a.length?null:i.reduce((function(i,c){var l,u,s=null!==(l=c.props.data)&&void 0!==l?l:e;(s&&t.dataStartIndex+t.dataEndIndex!==0&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory)?u=ta(void 0===s?a:s,o.dataKey,n):u=s&&s[r]||a[r];return u?[].concat(VC(i),[BO(c,u)]):i}),[])},r_=function(t,e,r,n){var i=n||{x:t.chartX,y:t.chartY},o=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(i,r),a=t.orderedTooltipTicks,c=t.tooltipAxis,l=t.tooltipTicks,u=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(e=null==r?void 0:r.length)&&void 0!==e?e:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var c=i.range,l=0;l<a;l++){var u=l>0?n[l-1].coordinate:n[a-1].coordinate,s=n[l].coordinate,f=l>=a-1?n[0].coordinate:n[l+1].coordinate,p=void 0;if(Wo(s-u)!==Wo(f-s)){var h=[];if(Wo(f-s)===Wo(c[1]-c[0])){p=f;var d=s+c[1]-c[0];h[0]=Math.min(d,(d+u)/2),h[1]=Math.max(d,(d+u)/2)}else{p=u;var y=f+c[1]-c[0];h[0]=Math.min(s,(y+s)/2),h[1]=Math.max(s,(y+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(t>v[0]&&t<=v[1]||t>=h[0]&&t<=h[1]){o=n[l].index;break}}else{var g=Math.min(u,f),m=Math.max(u,f);if(t>(g+s)/2&&t<=(m+s)/2){o=n[l].index;break}}}else for(var b=0;b<a;b++)if(0===b&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2){o=r[b].index;break}return o}(o,a,l,c);if(u>=0&&l){var s=l[u]&&l[u].value,f=e_(t,e,u,s),p=function(t,e,r,n){var i=e.find((function(t){return t&&t.index===r}));if(i){if("horizontal"===t)return{x:i.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=n.radius;return qC(qC(qC({},n),UO(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,l=n.angle;return qC(qC(qC({},n),UO(n.cx,n.cy,c,l)),{},{angle:l,radius:c})}return ZC}(r,a,u,i);return{activeTooltipIndex:u,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},n_=function(t,e){var r=e.axes,n=e.graphicalItems,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,l=e.dataEndIndex,u=t.layout,s=t.children,f=t.stackOffset,p=OO(u,i);return r.reduce((function(e,r){var h,d=r.props,y=d.type,v=d.dataKey,g=d.allowDataOverflow,m=d.allowDuplicatedCategory,b=d.scale,w=d.ticks,x=d.includeHidden,O=r.props[o];if(e[O])return e;var S,j,A,P=QC(t.data,{graphicalItems:n.filter((function(t){return t.props[o]===O})),dataStartIndex:c,dataEndIndex:l}),M=P.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],i=null==t?void 0:t[1];if(n&&i&&Yo(n)&&Yo(i))return!0}return!1})(r.props.domain,g,y)&&(S=NO(r.props.domain,null,g),!p||"number"!==y&&"auto"===b||(A=mO(P,v,"category")));var k=t_(y);if(!S||0===S.length){var E,C=null!==(E=r.props.domain)&&void 0!==E?E:k;if(v){if(S=mO(P,v,y),"category"===y&&p){var _=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++){if(r[t[n]])return!0;r[t[n]]=!0}return!1}(S);m&&_?(j=S,S=tM(0,M)):m||(S=LO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(VC(t),[e])}),[]))}else if("category"===y)S=m?S.filter((function(t){return""!==t&&!ko(t)})):LO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0||""===e||ko(e)?t:[].concat(VC(t),[e])}),[]);else if("number"===y){var T=function(t,e,r,n,i){var o=e.map((function(e){return wO(t,e,r,i,n)})).filter((function(t){return!ko(t)}));return o&&o.length?o.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null}(P,n.filter((function(t){return t.props[o]===O&&(x||!t.props.hide)})),v,i,u);T&&(S=T)}!p||"number"!==y&&"auto"===b||(A=mO(P,v,"category"))}else S=p?tM(0,M):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:_O(a[O].stackGroups,c,l):xO(P,n.filter((function(t){return t.props[o]===O&&(x||!t.props.hide)})),y,u,!0);if("number"===y)S=dC(s,S,O,i,w),C&&(S=NO(C,S,g));else if("category"===y&&C){var D=C;S.every((function(t){return D.indexOf(t)>=0}))&&(S=D)}}return qC(qC({},e),{},YC({},O,qC(qC({},r.props),{},{axisType:i,domain:S,categoricalDomain:A,duplicateDomain:j,originalDomain:null!==(h=r.props.domain)&&void 0!==h?h:k,isCategorical:p,layout:u})))}),{})},i_=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,c=e.dataStartIndex,l=e.dataEndIndex,u=t.children,s="".concat(n,"Id"),f=ma(u,i),p={};return f&&f.length?p=n_(t,{axes:f,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l}):o&&o.length&&(p=function(t,e){var r=e.graphicalItems,n=e.Axis,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,l=e.dataEndIndex,u=t.layout,s=t.children,f=QC(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:l}),p=f.length,h=OO(u,i),d=-1;return r.reduce((function(t,e){var y,v=e.props[o],g=t_("number");return t[v]?t:(d++,h?y=tM(0,p):a&&a[v]&&a[v].hasStack?(y=_O(a[v].stackGroups,c,l),y=dC(s,y,v,i)):(y=NO(g,xO(f,r.filter((function(t){return t.props[o]===v&&!t.props.hide})),"number",u),n.defaultProps.allowDataOverflow),y=dC(s,y,v,i)),qC(qC({},t),{},YC({},v,qC(qC({axisType:i},n.defaultProps),{},{hide:!0,orientation:Mo(KC,"".concat(i,".").concat(d%2),null),domain:y,originalDomain:g,isCategorical:h,layout:u}))))}),{})}(t,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l})),p},o_=function(t){var e=t.children,r=t.defaultShowTooltip,n=ba(e,bM),i=0,o=0;return t.data&&0!==t.data.length&&(o=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(i=n.props.startIndex),n.props.endIndex>=0&&(o=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:Boolean(r)}},a_=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"}},c_=function(t,e){var r=t.props,n=(t.graphicalItems,t.xAxisMap),i=void 0===n?{}:n,o=t.yAxisMap,a=void 0===o?{}:o,c=r.width,l=r.height,u=r.children,s=r.margin||{},f=ba(u,bM),p=ba(u,Wp),h=Object.keys(a).reduce((function(t,e){var r=a[e],n=r.orientation;return r.mirror||r.hide?t:qC(qC({},t),{},YC({},n,t[n]+r.width))}),{left:s.left||0,right:s.right||0}),d=Object.keys(i).reduce((function(t,e){var r=i[e],n=r.orientation;return r.mirror||r.hide?t:qC(qC({},t),{},YC({},n,Mo(t,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=qC(qC({},d),h),v=y.bottom;f&&(y.bottom+=f.props.height||bM.defaultProps.height),p&&e&&(y=function(t,e,r,n){var i=r.children,o=r.width,a=r.margin,c=o-(a.left||0)-(a.right||0),l=sO({children:i,legendWidth:c});if(l){var u=n||{},s=u.width,f=u.height,p=l.align,h=l.verticalAlign,d=l.layout;if(("vertical"===d||"horizontal"===d&&"middle"===h)&&"center"!==p&&Yo(t[p]))return hO(hO({},t),{},dO({},p,t[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&Yo(t[h]))return hO(hO({},t),{},dO({},h,t[h]+(f||0)))}return t}(y,0,r,e));var g=c-y.left-y.right,m=l-y.top-y.bottom;return qC(qC({brushBottom:v},y),{},{width:Math.max(g,0),height:Math.max(m,0)})},l_=function(t,e){return"xAxis"===e?t[e].width:"yAxis"===e?t[e].height:void 0},u_=function(t){var e,r=t.chartName,n=t.GraphicalChild,i=t.defaultTooltipEventType,o=void 0===i?"axis":i,a=t.validateTooltipEventTypes,c=void 0===a?["axis"]:a,l=t.axisComponents,u=t.legendContent,s=t.formatAxisMap,f=t.defaultProps,p=function(t,e){var r=e.graphicalItems,n=e.stackGroups,i=e.offset,o=e.updateId,a=e.dataStartIndex,c=e.dataEndIndex,u=t.barSize,s=t.layout,f=t.barGap,p=t.barCategoryGap,h=t.maxBarSize,d=a_(s),y=d.numericAxisName,v=d.cateAxisName,g=function(t){return!(!t||!t.length)&&t.some((function(t){var e=da(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(r),m=[];return r.forEach((function(r,d){var b=QC(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:c}),w=r.props,x=w.dataKey,O=w.maxBarSize,S=r.props["".concat(y,"Id")],j=r.props["".concat(v,"Id")],A=l.reduce((function(t,n){var i,o,a=e["".concat(n.axisType,"Map")],c=r.props["".concat(n.axisType,"Id")];a&&a[c]||"zAxis"===n.axisType||("production"!==process.env.NODE_ENV?Qx(0,"Specifying a(n) ".concat(n.axisType,"Id requires a corresponding ").concat(n.axisType,"Id on the targeted graphical component ").concat(null!==(i=null==r||null===(o=r.type)||void 0===o?void 0:o.displayName)&&void 0!==i?i:"")):Qx());var l=a[c];return qC(qC({},t),{},YC(YC({},n.axisType,l),"".concat(n.axisType,"Ticks"),SO(l)))}),{}),P=A[v],M=A["".concat(v,"Ticks")],k=n&&n[S]&&n[S].hasStack&&function(t,e){var r=t.props.stackId;if(Xo(r)){var n=e[r];if(n){var i=n.items.indexOf(t);return i>=0?n.stackedData[i]:null}}return null}(r,n[S].stackGroups),E=da(r.type).indexOf("Bar")>=0,C=IO(P,M),_=[],T=g&&function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,i=void 0===n?{}:n;if(!i)return{};for(var o={},a=Object.keys(i),c=0,l=a.length;c<l;c++)for(var u=i[a[c]].stackGroups,s=Object.keys(u),f=0,p=s.length;f<p;f++){var h=u[s[f]],d=h.items,y=h.cateAxisId,v=d.filter((function(t){return da(t.type).indexOf("Bar")>=0}));if(v&&v.length){var g=v[0].props.barSize,m=v[0].props[y];o[m]||(o[m]=[]);var b=ko(g)?e:g;o[m].push({item:v[0],stackList:v.slice(1),barSize:ko(b)?void 0:Zo(b,r,0)})}}return o}({barSize:u,stackGroups:n,totalSize:l_(A,v)});if(E){var D,N,I=ko(O)?h:O,L=null!==(D=null!==(N=IO(P,M,!0))&&void 0!==N?N:I)&&void 0!==D?D:0;_=function(t){var e=t.barGap,r=t.barCategoryGap,n=t.bandSize,i=t.sizeList,o=void 0===i?[]:i,a=t.maxBarSize,c=o.length;if(c<1)return null;var l,u=Zo(e,n,0,!0),s=[];if(o[0].barSize===+o[0].barSize){var f=!1,p=n/c,h=o.reduce((function(t,e){return t+e.barSize||0}),0);(h+=(c-1)*u)>=n&&(h-=(c-1)*u,u=0),h>=n&&p>0&&(f=!0,h=c*(p*=.9));var d={offset:((n-h)/2|0)-u,size:0};l=o.reduce((function(t,e){var r={item:e.item,position:{offset:d.offset+d.size+u,size:f?p:e.barSize}},n=[].concat(yO(t),[r]);return d=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:d})})),n}),s)}else{var y=Zo(r,n,0,!0);n-2*y-(c-1)*u<=0&&(u=0);var v=(n-2*y-(c-1)*u)/c;v>1&&(v>>=0);var g=a===+a?Math.min(v,a):v;l=o.reduce((function(t,e,r){var n=[].concat(yO(t),[{item:e.item,position:{offset:y+(v+u)*r+(v-g)/2,size:g}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:n[n.length-1].position})})),n}),s)}return l}({barGap:f,barCategoryGap:p,bandSize:L!==C?L:C,sizeList:T[j],maxBarSize:I}),L!==C&&(_=_.map((function(t){return qC(qC({},t),{},{position:qC(qC({},t.position),{},{offset:t.position.offset-L/2})})})))}var B,R,z=r&&r.type&&r.type.getComposedData;z&&m.push({props:qC(qC({},z(qC(qC({},A),{},{displayedData:b,props:t,dataKey:x,item:r,bandSize:C,barPosition:_,offset:i,stackedData:k,layout:s,dataStartIndex:a,dataEndIndex:c}))),{},YC(YC(YC({key:r.key||"item-".concat(d)},y,A[y]),v,A[v]),"animationId",o)),childIndex:(B=r,R=t.children,ga(R).indexOf(B)),item:r})})),m},h=function(t,e){var i=t.props,o=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!wa({props:i}))return null;var u=i.children,f=i.layout,h=i.stackOffset,d=i.data,y=i.reverseStackOrder,v=a_(f),g=v.numericAxisName,m=v.cateAxisName,b=ma(u,n),w=function(t,e,r,n,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce((function(t,e){var i=e.props,o=i.stackId;if(i.hide)return t;var a=e.props[r],c=t[a]||{hasStack:!1,stackGroups:{}};if(Xo(o)){var l=c.stackGroups[o]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(e),c.hasStack=!0,c.stackGroups[o]=l}else c.stackGroups[Go("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return hO(hO({},t),{},dO({},a,c))}),{});return Object.keys(a).reduce((function(e,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(e,o){var a=c.stackGroups[o];return hO(hO({},e),{},dO({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:kO(t,a.items,i)}))}),{})),hO(hO({},e),{},dO({},o,c))}),{})}(d,b,"".concat(g,"Id"),"".concat(m,"Id"),h,y),x=l.reduce((function(t,e){var r="".concat(e.axisType,"Map");return qC(qC({},t),{},YC({},r,i_(i,qC(qC({},e),{},{graphicalItems:b,stackGroups:e.axisType===g&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),O=c_(qC(qC({},x),{},{props:i,graphicalItems:b}),null==e?void 0:e.legendBBox);Object.keys(x).forEach((function(t){x[t]=s(i,x[t],O,t.replace("Map",""),r)}));var S,j,A=x["".concat(m,"Map")],P=(S=Jo(A),{tooltipTicks:j=SO(S,!1,!0),orderedTooltipTicks:Uh(j,(function(t){return t.coordinate})),tooltipAxis:S,tooltipAxisBandSize:IO(S,j)}),M=p(i,qC(qC({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:w,offset:O}));return qC(qC({formattedGraphicalItems:M,graphicalItems:b,offset:O,stackGroups:w},P),x)};return e=function(t){function e(t){var n,i,o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),YC($C(o=BC(this,e,[t])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),YC($C(o),"accessibilityManager",new OC),YC($C(o),"handleLegendBBoxUpdate",(function(t){if(t){var e=o.state,r=e.dataStartIndex,n=e.dataEndIndex,i=e.updateId;o.setState(qC({legendBBox:t},h({props:o.props,dataStartIndex:r,dataEndIndex:n,updateId:i},qC(qC({},o.state),{},{legendBBox:t}))))}})),YC($C(o),"handleReceiveSyncEvent",(function(t,e,r){if(o.props.syncId===t){if(r===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(e)}})),YC($C(o),"handleBrushChange",(function(t){var e=t.startIndex,r=t.endIndex;if(e!==o.state.dataStartIndex||r!==o.state.dataEndIndex){var n=o.state.updateId;o.setState((function(){return qC({dataStartIndex:e,dataEndIndex:r},h({props:o.props,dataStartIndex:e,dataEndIndex:r,updateId:n},o.state))})),o.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}})),YC($C(o),"handleMouseEnter",(function(t){var e=o.getMouseInfo(t);if(e){var r=qC(qC({},e),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseEnter;Nn(n)&&n(r,t)}})),YC($C(o),"triggeredAfterMouseMove",(function(t){var e=o.getMouseInfo(t),r=e?qC(qC({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseMove;Nn(n)&&n(r,t)})),YC($C(o),"handleItemMouseEnter",(function(t){o.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))})),YC($C(o),"handleItemMouseLeave",(function(){o.setState((function(){return{isTooltipActive:!1}}))})),YC($C(o),"handleMouseMove",(function(t){t.persist(),o.throttleTriggeredAfterMouseMove(t)})),YC($C(o),"handleMouseLeave",(function(t){o.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};o.setState(e),o.triggerSyncEvent(e);var r=o.props.onMouseLeave;Nn(r)&&r(e,t)})),YC($C(o),"handleOuterEvent",(function(t){var e,r=function(t){var e=t&&t.type;return e&&ha[e]?ha[e]:null}(t),n=Mo(o.props,"".concat(r));r&&Nn(n)&&n(null!==(e=/.*touch.*/i.test(r)?o.getMouseInfo(t.changedTouches[0]):o.getMouseInfo(t))&&void 0!==e?e:{},t)})),YC($C(o),"handleClick",(function(t){var e=o.getMouseInfo(t);if(e){var r=qC(qC({},e),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onClick;Nn(n)&&n(r,t)}})),YC($C(o),"handleMouseDown",(function(t){var e=o.props.onMouseDown;Nn(e)&&e(o.getMouseInfo(t),t)})),YC($C(o),"handleMouseUp",(function(t){var e=o.props.onMouseUp;Nn(e)&&e(o.getMouseInfo(t),t)})),YC($C(o),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(t.changedTouches[0])})),YC($C(o),"handleTouchStart",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseDown(t.changedTouches[0])})),YC($C(o),"handleTouchEnd",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseUp(t.changedTouches[0])})),YC($C(o),"triggerSyncEvent",(function(t){void 0!==o.props.syncId&&vC.emit(gC,o.props.syncId,t,o.eventEmitterSymbol)})),YC($C(o),"applySyncEvent",(function(t){var e=o.props,r=e.layout,n=e.syncMethod,i=o.state.updateId,a=t.dataStartIndex,c=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)o.setState(qC({dataStartIndex:a,dataEndIndex:c},h({props:o.props,dataStartIndex:a,dataEndIndex:c,updateId:i},o.state)));else if(void 0!==t.activeTooltipIndex){var l=t.chartX,u=t.chartY,s=t.activeTooltipIndex,f=o.state,p=f.offset,d=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(d,t);else if("value"===n){s=-1;for(var y=0;y<d.length;y++)if(d[y].value===t.activeLabel){s=y;break}}var v=qC(qC({},p),{},{x:p.left,y:p.top}),g=Math.min(l,v.x+v.width),m=Math.min(u,v.y+v.height),b=d[s]&&d[s].value,w=e_(o.state,o.props.data,s),x=d[s]?{x:"horizontal"===r?d[s].coordinate:g,y:"horizontal"===r?m:d[s].coordinate}:ZC;o.setState(qC(qC({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else o.setState(t)})),YC($C(o),"renderCursor",(function(t){var e,n=o.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,l=n.offset,u=n.activeTooltipIndex,s=n.tooltipAxisBandSize,f=o.getTooltipEventType(),p=null!==(e=t.props.active)&&void 0!==e?e:i,h=o.props.layout,d=t.key||"_recharts-cursor";return Q.createElement(EC,{key:d,activeCoordinate:a,activePayload:c,activeTooltipIndex:u,chartName:r,element:t,isActive:p,layout:h,offset:l,tooltipAxisBandSize:s,tooltipEventType:f})})),YC($C(o),"renderPolarAxis",(function(t,e,r){var n=Mo(t,"type.axisType"),i=Mo(o.state,"".concat(n,"Map")),a=i&&i[t.props["".concat(n,"Id")]];return st(t,qC(qC({},a),{},{className:tn(n,a.className),key:t.key||"".concat(e,"-").concat(r),ticks:SO(a,!0)}))})),YC($C(o),"renderPolarGrid",(function(t){var e=t.props,r=e.radialLines,n=e.polarAngles,i=e.polarRadius,a=o.state,c=a.radiusAxisMap,l=a.angleAxisMap,u=Jo(c),s=Jo(l),f=s.cx,p=s.cy,h=s.innerRadius,d=s.outerRadius;return st(t,{polarAngles:Array.isArray(n)?n:SO(s,!0).map((function(t){return t.coordinate})),polarRadius:Array.isArray(i)?i:SO(u,!0).map((function(t){return t.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:d,key:t.key||"polar-grid",radialLines:r})})),YC($C(o),"renderLegend",(function(){var t=o.state.formattedGraphicalItems,e=o.props,r=e.children,n=e.width,i=e.height,a=o.props.margin||{},c=n-(a.left||0)-(a.right||0),l=sO({children:r,formattedGraphicalItems:t,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=IC(l,CC);return st(s,qC(qC({},f),{},{chartWidth:n,chartHeight:i,margin:a,onBBoxUpdate:o.handleLegendBBoxUpdate}))})),YC($C(o),"renderTooltip",(function(){var t,e=o.props,r=e.children,n=e.accessibilityLayer,i=ba(r,Cd);if(!i)return null;var a=o.state,c=a.isTooltipActive,l=a.activeCoordinate,u=a.activePayload,s=a.activeLabel,f=a.offset,p=null!==(t=i.props.active)&&void 0!==t?t:c;return st(i,{viewBox:qC(qC({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?u:[],coordinate:l,accessibilityLayer:n})})),YC($C(o),"renderBrush",(function(t){var e=o.props,r=e.margin,n=e.data,i=o.state,a=i.offset,c=i.dataStartIndex,l=i.dataEndIndex,u=i.updateId;return st(t,{key:t.key||"_recharts-brush",onChange:AO(o.handleBrushChange,t.props.onChange),data:n,x:Yo(t.props.x)?t.props.x:a.left,y:Yo(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:Yo(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})})),YC($C(o),"renderReferenceElement",(function(t,e,r){if(!t)return null;var n=$C(o).clipPathId,i=o.state,a=i.xAxisMap,c=i.yAxisMap,l=i.offset,u=t.props,s=u.xAxisId,f=u.yAxisId;return st(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[s],yAxis:c[f],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:n})})),YC($C(o),"renderActivePoints",(function(t){var r=t.item,n=t.activePoint,i=t.basePoint,o=t.childIndex,a=t.isRange,c=[],l=r.props.key,u=r.item.props,s=u.activeDot,f=qC(qC({index:o,dataKey:u.dataKey,cx:n.x,cy:n.y,r:4,fill:bO(r.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(l,"-activePoint-").concat(o)},Sa(s,!1)),ca(s));return c.push(e.renderActiveDot(s,f)),i?c.push(e.renderActiveDot(s,qC(qC({},f),{},{cx:i.x,cy:i.y,key:"".concat(l,"-basePoint-").concat(o)}))):a&&c.push(null),c})),YC($C(o),"renderGraphicChild",(function(t,e,r){var n=o.filterFormatItem(t,e,r);if(!n)return null;var i=o.getTooltipEventType(),a=o.state,c=a.isTooltipActive,l=a.tooltipAxis,u=a.activeTooltipIndex,s=a.activeLabel,f=ba(o.props.children,Cd),p=n.props,h=p.points,d=p.isRange,y=p.baseLine,v=n.item.props,g=v.activeDot,m=v.hide,b=v.activeBar,w=v.activeShape,x=Boolean(!m&&c&&f&&(g||b||w)),O={};"axis"!==i&&f&&"click"===f.props.trigger?O={onClick:AO(o.handleItemMouseEnter,t.props.onClick)}:"axis"!==i&&(O={onMouseLeave:AO(o.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:AO(o.handleItemMouseEnter,t.props.onMouseEnter)});var S=st(t,qC(qC({},n.props),O));if(x){if(!(u>=0)){var j,A=(null!==(j=o.getItemByXY(o.state.activeCoordinate))&&void 0!==j?j:{graphicalItem:S}).graphicalItem,P=A.item,M=void 0===P?t:P,k=A.childIndex,E=qC(qC(qC({},n.props),O),{},{activeIndex:k});return[st(M,E),null,null]}var C,_;if(l.dataKey&&!l.allowDuplicatedCategory){var T="function"==typeof l.dataKey?function(t){return"function"==typeof l.dataKey?l.dataKey(t.payload):null}:"payload.".concat(l.dataKey.toString());C=ta(h,T,s),_=d&&y&&ta(y,T,s)}else C=null==h?void 0:h[u],_=d&&y&&y[u];if(w||b){var D=void 0!==t.props.activeIndex?t.props.activeIndex:u;return[st(t,qC(qC(qC({},n.props),O),{},{activeIndex:D})),null,null]}if(!ko(C))return[S].concat(VC(o.renderActivePoints({item:n,activePoint:C,basePoint:_,childIndex:u,isRange:d})))}return d?[S,null,null]:[S,null]})),YC($C(o),"renderCustomized",(function(t,e,r){return st(t,qC(qC({key:"recharts-customized-".concat(r)},o.props),o.state))})),YC($C(o),"renderMap",{CartesianGrid:{handler:JC,once:!0},ReferenceArea:{handler:o.renderReferenceElement},ReferenceLine:{handler:JC},ReferenceDot:{handler:o.renderReferenceElement},XAxis:{handler:JC},YAxis:{handler:JC},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!==(n=t.id)&&void 0!==n?n:Go("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=Qd(o.triggeredAfterMouseMove,null!==(i=t.throttleDelay)&&void 0!==i?i:1e3/60),o.state={},o}return 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&&HC(t,e)}(e,dt),LC(e,[{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}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,i=t.layout,o=ba(e,Cd);if(o){var a=o.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length)){var c=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=e_(this.state,r,a,c),u=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===i?{x:u,y:s}:{y:u,x:s},p=this.state.formattedGraphicalItems.find((function(t){return"Scatter"===t.item.type.name}));p&&(f=qC(qC({},f),p.props.points[a].tooltipPosition),l=p.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:l,activeCoordinate:f};this.setState(h),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;var r,n;(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!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}});return null}},{key:"componentDidUpdate",value:function(t){ja([ba(t.children,Cd)],[ba(this.props.children,Cd)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=ba(this.props.children,Cd);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return c.indexOf(e)>=0?e:o}return o}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e,r=this.container,n=r.getBoundingClientRect(),i={top:(e=n).top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft},o={chartX:Math.round(t.pageX-i.left),chartY:Math.round(t.pageY-i.top)},a=n.width/r.offsetWidth||1,c=this.inRange(o.chartX,o.chartY,a);if(!c)return null;var l=this.state,u=l.xAxisMap,s=l.yAxisMap;if("axis"!==this.getTooltipEventType()&&u&&s){var f=Jo(u).scale,p=Jo(s).scale,h=f&&f.invert?f.invert(o.chartX):null,d=p&&p.invert?p.invert(o.chartY):null;return qC(qC({},o),{},{xValue:h,yValue:d})}var y=r_(this.state,this.props.data,this.props.layout,c);return y?qC(qC({},o),y):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,i=t/r,o=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var c=this.state,l=c.angleAxisMap,u=c.radiusAxisMap;if(l&&u){var s=Jo(l);return YO({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=ba(t,Cd),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),qC(qC({},ca(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){vC.on(gC,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){vC.removeListener(gC,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===t||a.props.key===t.key||e===da(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,n=e.top,i=e.height,o=e.width;return Q.createElement("defs",null,Q.createElement("clipPath",{id:t},Q.createElement("rect",{x:r,y:n,height:i,width:o})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=NC(e,2),n=r[0],i=r[1];return qC(qC({},t),{},YC({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=NC(e,2),n=r[0],i=r[1];return qC(qC({},t),{},YC({},n,i.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,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var i=0,o=r.length;i<o;i++){var a=r[i],c=a.props,l=a.item,u=da(l.type);if("Bar"===u){var s=(c.data||[]).find((function(e){return KA(t,e)}));if(s)return{graphicalItem:a,payload:s}}else if("RadialBar"===u){var f=(c.data||[]).find((function(e){return YO(t,e)}));if(f)return{graphicalItem:a,payload:f}}else if($P(a,n)||HP(a,n)||VP(a,n)){var p=qP({graphicalItem:a,activeTooltipItem:n,itemData:l.props.data}),h=void 0===l.props.activeIndex?p:l.props.activeIndex;return{graphicalItem:qC(qC({},a),{},{childIndex:h}),payload:VP(a,n)?l.props.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var t=this;if(!wa(this))return null;var e,r,n=this.props,i=n.children,o=n.className,a=n.width,c=n.height,l=n.style,u=n.compact,s=n.title,f=n.desc,p=IC(n,_C),h=Sa(p,!1);if(u)return Q.createElement(Nk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Q.createElement(Ca,DC({},h,{width:a,height:c,title:s,desc:f}),this.renderClipPath(),Pa(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!==(e=this.props.tabIndex)&&void 0!==e?e:0,h.role=null!==(r=this.props.role)&&void 0!==r?r:"application",h.onKeyDown=function(e){t.accessibilityManager.keyboardEvent(e)},h.onFocus=function(){t.accessibilityManager.focus()});var d=this.parseEventsOfWrapper();return Q.createElement(Nk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Q.createElement("div",DC({className:tn("recharts-wrapper",o),style:qC({position:"relative",cursor:"default",width:a,height:c},l)},d,{ref:function(e){t.container=e}}),Q.createElement(Ca,DC({},h,{width:a,height:c,title:s,desc:f,style:GC}),this.renderClipPath(),Pa(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}]),e}(),YC(e,"displayName",r),YC(e,"defaultProps",qC({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),YC(e,"getDerivedStateFromProps",(function(t,e){var r=t.dataKey,n=t.data,i=t.children,o=t.width,a=t.height,c=t.layout,l=t.stackOffset,u=t.margin,s=e.dataStartIndex,f=e.dataEndIndex;if(void 0===e.updateId){var p=o_(t);return qC(qC(qC({},p),{},{updateId:0},h(qC(qC({props:t},p),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(r!==e.prevDataKey||n!==e.prevData||o!==e.prevWidth||a!==e.prevHeight||c!==e.prevLayout||l!==e.prevStackOffset||!ea(u,e.prevMargin)){var d=o_(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=qC(qC({},r_(e,n,c)),{},{updateId:e.updateId+1}),g=qC(qC(qC({},d),y),v);return qC(qC(qC({},g),h(qC({props:t},g),e)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(!ja(i,e.prevChildren)){var m,b,w,x,O=ba(i,bM),S=O&&null!==(m=null===(b=O.props)||void 0===b?void 0:b.startIndex)&&void 0!==m?m:s,j=O&&null!==(w=null===(x=O.props)||void 0===x?void 0:x.endIndex)&&void 0!==w?w:f,A=S!==s||j!==f,P=!ko(n)&&!A?e.updateId:e.updateId+1;return qC(qC({updateId:P},h(qC(qC({props:t},e),{},{updateId:P,dataStartIndex:S,dataEndIndex:j}),e)),{},{prevChildren:i,dataStartIndex:S,dataEndIndex:j})}return null})),YC(e,"renderActiveDot",(function(t,e){var r;return r=tt(t)?st(t,e):Nn(t)?t(e):Q.createElement(QA,e),Q.createElement(Na,{className:"recharts-active-dot",key:e.key},r)})),e},s_=u_({chartName:"LineChart",GraphicalChild:WE,axisComponents:[{axisType:"xAxis",AxisComp:uC},{axisType:"yAxis",AxisComp:fC}],formatAxisMap:wk}),f_=u_({chartName:"AreaChart",GraphicalChild:cC,axisComponents:[{axisType:"xAxis",AxisComp:uC},{axisType:"yAxis",AxisComp:fC}],formatAxisMap:wk});const p_=({chartId:n,formatter:i,labelFormatter:o,payload:a,cx:c,cy:l})=>{const u=document.getElementById(n)?.clientWidth||0,s=100;return c<20||u-c<20?e(r,{}):t("svg",{x:c-50,y:l-60,width:s,height:68,viewBox:"0 0 100 68",xmlns:"http://www.w3.org/2000/svg",children:[e("rect",{fill:"white",width:"98",height:"45",stroke:pr.coolElegance(),strokeWidth:"1",rx:"7",ry:"7",className:"shadow"}),e("text",{y:"14",x:"50%",fontSize:10,dominantBaseline:"middle",textAnchor:"middle",children:o(0,[{payload:a}])}),e("text",{y:"30",x:"50%",fontSize:11,dominantBaseline:"middle",textAnchor:"middle",fontWeight:"bold",children:i?i(a.value):a.value}),e("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"30",opacity:"0.7",children:e("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:pr.coolElegance(),transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),e("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"28",children:e("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:"white",transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),e("rect",{x:43,y:"52",width:14,height:14,rx:7,fill:"white",stroke:pr.coolElegance(),strokeWidth:"2"})]})},h_=({data:r,dataKey:n,width:i="100%",height:o="100%",areaType:a="linear",showTooltip:c=!1,isAnimated:l=!1,formatter:u,labelFormatter:s,sampleRate:f,style:p})=>{const{isNetGain:h}=ur({data:r,dataKey:n}),d=Jr(),y=Jr(),v=f?fr({arr:r||[],n:f}):r;let g,m;v?.length?(m=h?pr.mint():pr.coolElegance(),g=v?.map((t=>({...t,[n]:Number(t[n])||0})))):(m=pr.coolElegance(),g=[{[n]:1},{[n]:1}]);const b={cursor:c&&v?.length?"crosshair":"default",...p};return e(ay,{width:i,minHeight:o,id:d,children:t(f_,{data:g,margin:{top:20,right:0,left:0,bottom:20},style:b,children:[e("defs",{children:t("linearGradient",{id:y,x1:"0",y1:"0",x2:"0",y2:"1",children:[e("stop",{offset:"5%",stopColor:m,stopOpacity:.8}),e("stop",{offset:"95%",stopColor:m,stopOpacity:0})]})}),e(fC,{domain:v?.length?["dataMin","dataMax"]:[0,2],hide:!0}),e(cC,{type:a,dataKey:n,stroke:m,fill:`url(#${y})`,isAnimationActive:l,activeDot:c?t=>p_({chartId:d,labelFormatter:s,formatter:u,...t}):void 0,dot:!1}),v?.length&&c&&e(Cd,{cursor:!1,content:()=>null})]})})},d_=()=>{const t=u({ssr:!1});return e(s,{children:e(f,{bgColor:{base:"rgba(255, 143, 163, 0.9)",sm:"rgba(255, 117, 143, 0.9)",md:"rgba(255, 77, 109, 0.9)",lg:"rgba(201, 24, 74, 0.9)",xl:"rgba(164, 19, 60, 0.9)","2xl":"rgba(128, 15, 47, 0.9)"},color:{base:"black",md:"white"},position:"absolute",top:"0",right:"0",padding:"2",fontSize:"xs",zIndex:"5",width:"10rem",children:t})})},y_=({children:t,...r})=>e(p,{border:"solid 1px",borderColor:pr.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:t}),v_=({isSelected:t,children:r,...n})=>e(h,{paddingX:"1",fontSize:"sm",color:t?"brand.500":pr.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:t?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),g_=({children:t,...r})=>e(d,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:pr.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:t}),m_=r=>{const{carouselContents:n,isNavVertical:i,...o}=r,[a,c]=at(0);return n.length>=1&&e(g_,{children:t(y,{gap:10,direction:i?"column":{base:"column",md:"row"},...o,children:[n[a],t(y,{alignItems:"flex-end",justifyContent:"center",gap:6,children:[e(v,{variant:"ghost",isDisabled:0===a,"aria-label":"Previous content",icon:e(Ot,{}),onClick:()=>{a>0&&a<=n.length-1&&c((t=>t-1))}}),e(v,{variant:"ghost",isDisabled:a===n.length-1,"aria-label":"Next content",icon:e(St,{}),onClick:()=>{a<n.length-1&&c((t=>t+1))}})]})]})})},b_=r=>{const{size:n,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,name:l,register:u,errorMessage:s,label:f,labelPosition:p="left",spaceBetween:h,onClick:d,...v}=r;let x;c||(x=e(Pt,{}));const O=u?u(l):void 0;return t(g,{as:y,flexDir:"column",isInvalid:Boolean(s),isDisabled:i,isReadOnly:o,isRequired:a,children:[t(y,{onClick:d,w:"full",justifyContent:h?"space-between":"auto",children:["left"===p&&e(m,{fontSize:n,m:"0",mr:"3",children:f}),e(b,{icon:x,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,isInvalid:Boolean(s),size:n,...O,...v}),"right"===p&&e(m,{fontSize:n,m:"0",ml:"3",children:f})]}),e(y,{w:"full",children:s&&e(w,{size:n,children:s})})]})},w_=({children:t,onSubmit:r,...n})=>e(y,{as:"form",onSubmit:t=>{t.preventDefault(),r&&r(t)},noValidate:!0,gap:"6",flexDir:"column",...n,children:t});var x_=function(){return x_=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},x_.apply(this,arguments)};function O_(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var S_=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},j_={k:1e3,m:1e6,b:1e9},A_=function(t){var e=t.value,r=t.groupSeparator,n=void 0===r?",":r,i=t.decimalSeparator,o=void 0===i?".":i,a=t.allowDecimals,c=void 0===a||a,l=t.decimalsLimit,u=void 0===l?2:l,s=t.allowNegativeValue,f=void 0===s||s,p=t.disableAbbreviations,h=void 0!==p&&p,d=t.prefix,y=void 0===d?"":d,v=t.transformRawValue,g=(void 0===v?function(t){return t}:v)(e);if("-"===g)return g;var m=h?[]:["k","m","b"],b=new RegExp("((^|\\D)-\\d)|(-".concat(S_(y),")")).test(g),w=RegExp("(\\d+)-?".concat(S_(y))).exec(e)||[],x=w[0],O=w[1],S=function(t,e){void 0===e&&(e=",");var r=new RegExp(S_(e),"g");return t.replace(r,"")}(y?x?g.replace(x,"").concat(O):g.replace(y,""):g,n),j=function(t,e){var r=S_(e.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return t.replace(n,"")}(S,O_([n,o],m,!0)),A=j;if(!h){if(m.some((function(t){return t===j.toLowerCase().replace(o,"")})))return"";var P=function(t,e){void 0===e&&(e=".");var r=new RegExp("(\\d+(".concat(S_(e),"\\d*)?)([kmb])$"),"i"),n=t.match(r);if(n){var i=n[1],o=n[3],a=j_[o.toLowerCase()];return Number(i.replace(e,"."))*a}}(j,o);P&&(A=String(P))}var M=b&&f?"-":"";if(o&&A.includes(o)){var k=j.split(o),E=k[0],C=k[1],_=u&&C?C.slice(0,u):C,T=c?"".concat(o).concat(_):"";return"".concat(M).concat(E).concat(T)}return"".concat(M).concat(A)},P_=function(t,e){var r=e.groupSeparator,n=void 0===r?",":r,i=e.decimalSeparator,o=void 0===i?".":i,a=new RegExp("\\d([^".concat(S_(n)).concat(S_(o),"0-9]+)")),c=t.match(a);return c?c[1]:void 0},M_=function(t){var e=t.value,r=t.decimalSeparator,n=t.intlConfig,i=t.decimalScale,o=t.prefix,a=void 0===o?"":o,c=t.suffix,l=void 0===c?"":c;if(""===e||void 0===e)return"";if("-"===e)return"-";var u=new RegExp("^\\d?-".concat(a?"".concat(S_(a),"?"):"","\\d")).test(e),s="."!==r?k_(e,r,u):e;r&&"-"!==r&&s.startsWith(r)&&(s="0"+s);var f={minimumFractionDigits:i||0,maximumFractionDigits:20},p=(n?new Intl.NumberFormat(n.locale,n.currency?x_(x_({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),h=E_(p,t),d=P_(h,x_({},t)),y=e.slice(-1)===r?r:"",v=(s.match(RegExp("\\d+\\.(\\d+)"))||[])[1];return void 0===i&&v&&r&&(h=h.includes(r)?h.replace(RegExp("(\\d+)(".concat(S_(r),")(\\d+)"),"g"),"$1$2".concat(v)):d&&!l?h.replace(d,"".concat(r).concat(v).concat(d)):"".concat(h).concat(r).concat(v)),l&&y?"".concat(h).concat(y).concat(l):d&&y?h.replace(d,"".concat(y).concat(d)):d&&l?h.replace(d,"".concat(y).concat(l)):[h,y,l].join("")},k_=function(t,e,r){var n=t;return e&&"."!==e&&(n=n.replace(RegExp(S_(e),"g"),"."),r&&"-"===e&&(n="-".concat(n.slice(1)))),n},E_=function(t,e){var r=e.prefix,n=e.groupSeparator,i=e.decimalSeparator,o=e.decimalScale,a=e.disableGroupSeparators,c=void 0!==a&&a;return t.reduce((function(t,e,a){var l=e.type,u=e.value;return 0===a&&r?"minusSign"===l?[u,r]:"currency"===l?O_(O_([],t,!0),[r],!1):[r,u]:"currency"===l?r?t:O_(O_([],t,!0),[u],!1):"group"===l?c?t:O_(O_([],t,!0),[void 0!==n?n:u],!1):"decimal"===l?void 0!==o&&0===o?t:O_(O_([],t,!0),[void 0!==i?i:u],!1):O_(O_([],t,!0),"fraction"===l?[void 0!==o?u.slice(0,o):u]:[u],!1)}),[""]).join("")},C_={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},__=function(t){return RegExp(/\d/,"gi").test(t)},T_=nt((function(t,e){var r=t.allowDecimals,n=void 0===r||r,i=t.allowNegativeValue,o=void 0===i||i,a=t.id,c=t.name,l=t.className,u=t.customInput,s=t.decimalsLimit,f=t.defaultValue,p=t.disabled,h=void 0!==p&&p,d=t.maxLength,y=t.value,v=t.onValueChange,g=t.fixedDecimalLength,m=t.placeholder,b=t.decimalScale,w=t.prefix,x=t.suffix,O=t.intlConfig,S=t.step,j=t.min,A=t.max,P=t.disableGroupSeparators,M=void 0!==P&&P,k=t.disableAbbreviations,E=void 0!==k&&k,C=t.decimalSeparator,_=t.groupSeparator,T=t.onChange,D=t.onFocus,N=t.onBlur,I=t.onKeyDown,L=t.onKeyUp,B=t.transformRawValue,R=t.formatValueOnBlur,z=void 0===R||R,$=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}(t,["allowDecimals","allowNegativeValue","id","name","className","customInput","decimalsLimit","defaultValue","disabled","maxLength","value","onValueChange","fixedDecimalLength","placeholder","decimalScale","prefix","suffix","intlConfig","step","min","max","disableGroupSeparators","disableAbbreviations","decimalSeparator","groupSeparator","onChange","onFocus","onBlur","onKeyDown","onKeyUp","transformRawValue","formatValueOnBlur"]);if(C&&__(C))throw new Error("decimalSeparator cannot be a number");if(_&&__(_))throw new Error("groupSeparator cannot be a number");var H=ut((function(){return function(t){var e=t||{},r=e.locale,n=e.currency;return(r?new Intl.NumberFormat(r,n?{currency:n,style:"currency"}:void 0):new Intl.NumberFormat).formatToParts(1000.1).reduce((function(t,e,r){return"currency"===e.type?x_(x_({},t),0===r?{currencySymbol:e.value,prefix:e.value}:{currencySymbol:e.value,suffix:e.value}):"group"===e.type?x_(x_({},t),{groupSeparator:e.value}):"decimal"===e.type?x_(x_({},t),{decimalSeparator:e.value}):t}),C_)}(O)}),[O]),V=C||H.decimalSeparator||"",F=_||H.groupSeparator||"";if(V&&F&&V===F&&!1===M)throw new Error("decimalSeparator cannot be the same as groupSeparator");var U={decimalSeparator:V,groupSeparator:F,disableGroupSeparators:M,intlConfig:O,prefix:w||H.prefix,suffix:x},W={decimalSeparator:V,groupSeparator:F,allowDecimals:n,decimalsLimit:s||g||2,allowNegativeValue:o,disableAbbreviations:E,prefix:w||H.prefix,transformRawValue:B},q=at((function(){return null!=f?M_(x_(x_({},U),{decimalScale:b,value:String(f)})):null!=y?M_(x_(x_({},U),{decimalScale:b,value:String(y)})):""})),Y=q[0],X=q[1],K=at(!1),G=K[0],Z=K[1],J=at(0),tt=J[0],et=J[1],rt=at(0),nt=rt[0],ct=rt[1],st=at(null),ft=st[0],pt=st[1],ht=it(null);ot(e,(function(){return ht.current}));var dt=function(t,e){Z(!0);var r=function(t){var e=t.selectionStart,r=t.value,n=t.lastKeyStroke,i=t.stateValue,o=t.groupSeparator,a=e,c=r;if(i&&a){var l=r.split("");return"Backspace"===n&&i[a]===o&&(l.splice(a-1,1),a-=1),"Delete"===n&&i[a]===o&&(l.splice(a,1),a+=1),{modifiedValue:c=l.join(""),cursorPosition:a}}return{modifiedValue:c,cursorPosition:e}}({selectionStart:e,value:t,lastKeyStroke:ft,stateValue:Y,groupSeparator:F}),n=r.modifiedValue,i=r.cursorPosition,o=A_(x_({value:n},W));if(!(d&&o.replace(/-/g,"").length>d)){if(""===o||"-"===o||o===V)return v&&v(void 0,c,{float:null,formatted:"",value:""}),X(o),void et(1);var a=V?o.replace(V,"."):o,l=parseFloat(a),u=M_(x_({value:o},U));if(null!=i){var s=i+(u.length-t.length);s=s<=0?w?w.length:0:s,et(s),ct(nt+1)}if(X(u),v)v(o,c,{float:l,formatted:u,value:o})}};lt((function(){null==y&&null==f&&X("")}),[f,y]),lt((function(){G&&"-"!==Y&&ht.current&&document.activeElement===ht.current&&ht.current.setSelectionRange(tt,tt)}),[Y,tt,ht,G,nt]);var yt=x_({type:"text",inputMode:"decimal",id:a,name:c,className:l,onChange:function(t){var e=t.target,r=e.value,n=e.selectionStart;dt(r,n),T&&T(t)},onBlur:function(t){var e=t.target.value,r=A_(x_({value:e},W));if("-"===r||r===V||!r)return X(""),void(N&&N(t));var n=function(t,e,r){if(void 0!==r&&t.length>1){if(0===r)return t.replace(e,"");if(t.includes(e)){var n=t.split(e),i=n[0];if((c=n[1]).length===r)return t;if(c.length>r)return"".concat(i).concat(e).concat(c.slice(0,r))}var o=t.length>r?new RegExp("(\\d+)(\\d{".concat(r,"})")):new RegExp("(\\d)(\\d+)"),a=t.match(o);if(a){i=a[1];var c=a[2];return"".concat(i).concat(e).concat(c)}}return t}(r,V,g),i=function(t,e,r){if(void 0===e&&(e="."),void 0===r||""===t||void 0===t)return t;if(!t.match(/\d/g))return"";var n=t.split(e),i=n[0],o=n[1];if(0===r)return i;var a=o||"";if(a.length<r)for(;a.length<r;)a+="0";else a=a.slice(0,r);return"".concat(i).concat(e).concat(a)}(n,V,void 0!==b?b:g),o=parseFloat(i.replace(V,".")),a=M_(x_(x_({},U),{value:i}));v&&z&&v(i,c,{float:o,formatted:a,value:i}),X(a),N&&N(t)},onFocus:function(t){return D&&D(t),Y?Y.length:0},onKeyDown:function(t){var e=t.key;if(pt(e),S&&("ArrowUp"===e||"ArrowDown"===e)){t.preventDefault(),et(Y.length);var r=parseFloat(null!=y?String(y).replace(V,"."):A_(x_({value:Y},W)))||0,n="ArrowUp"===e?r+S:r-S;if(void 0!==j&&n<Number(j))return;if(void 0!==A&&n>Number(A))return;var i=String(S).includes(".")?Number(String(S).split(".")[1].length):void 0;dt(String(i?n.toFixed(i):n).replace(".",V))}I&&I(t)},onKeyUp:function(t){var e=t.key,r=t.currentTarget.selectionStart;if("ArrowUp"!==e&&"ArrowDown"!==e&&"-"!==Y){var n=P_(Y,{groupSeparator:F,decimalSeparator:V});if(n&&r&&r>Y.length-n.length&&ht.current){var i=Y.length-n.length;ht.current.setSelectionRange(i,i)}}L&&L(t)},placeholder:m,disabled:h,value:null==y||"-"===Y||V&&Y===V?Y:M_(x_(x_({},U),{decimalScale:G?void 0:b,value:String(y)})),ref:ht},$);if(u){var vt=u;return Q.createElement(vt,x_({},yt))}return Q.createElement("input",x_({},yt))}));T_.displayName="CurrencyInput";const D_=x(((r,n)=>{const{size:i,isDisabled:o,isReadOnly:a,isRequired:c,spellCheck:l=!1,name:u,label:s,register:f,errorMessage:p,helperText:h,leftAddon:d,leftElement:y,rightAddon:v,rightElement:b,type:x="text",containerCss:E,...C}=r,_=sr(i),T=f?f(u):void 0,D="currency"===x?{as:T_,placeholder:"$0.00",prefix:"$",allowNegative:!1,disableAbbreviations:!0}:{};return t(g,{isInvalid:Boolean(p),isDisabled:o,isReadOnly:a,isRequired:c,sx:E,children:[s&&e(m,{className:"cf-form-label",size:i,children:s}),t(O,{size:i,children:[d&&e(S,{bg:"transparent",children:d}),y&&e(j,{w:"auto",ml:"2",children:y}),e(A,{size:i,spellCheck:l,paddingLeft:y&&"2.25em",paddingRight:b&&"2.25em",type:"currency"===x?"text":x,...T,...D,...C,ref:n||T?.ref}),b&&e(P,{w:"auto",mr:"2",children:b}),v&&e(M,{children:v})]}),p&&e(w,{className:"cf-form-error",size:i,children:p}),h&&e(k,{className:"cf-form-helper-text",fontSize:_,children:h})]})}));var N_=t=>null==t;var I_=t=>!N_(t)&&!Array.isArray(t)&&(t=>"object"==typeof t)(t)&&!(t=>t instanceof Date)(t),L_=t=>{const e=t.constructor&&t.constructor.prototype;return I_(e)&&e.hasOwnProperty("isPrototypeOf")},B_="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function R_(t){let e;const r=Array.isArray(t);if(t instanceof Date)e=new Date(t);else if(t instanceof Set)e=new Set(t);else{if(B_&&(t instanceof Blob||t instanceof FileList)||!r&&!I_(t))return t;if(e=r?[]:{},r||L_(t))for(const r in t)t.hasOwnProperty(r)&&(e[r]=R_(t[r]));else e=t}return e}var z_=t=>Array.isArray(t)?t.filter(Boolean):[],$_=t=>void 0===t,H_=(t,e,r)=>{if(!e||!I_(t))return r;const n=z_(e.split(/[,[\].]+?/)).reduce(((t,e)=>N_(t)?t:t[e]),t);return $_(n)||n===t?$_(t[e])?r:t[e]:n},V_=t=>"boolean"==typeof t,F_=t=>/^\w*$/.test(t),U_=t=>z_(t.replace(/["|']|\]/g,"").split(/\.|\[/)),W_=(t,e,r)=>{let n=-1;const i=F_(e)?[e]:U_(e),o=i.length,a=o-1;for(;++n<o;){const e=i[n];let o=r;if(n!==a){const r=t[e];o=I_(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}if("__proto__"===e)return;t[e]=o,t=t[e]}return t};const q_="onBlur",Y_="onChange",X_="onSubmit",K_="onTouched",G_="all",Z_="max",J_="min",Q_="maxLength",tT="minLength",eT="pattern",rT="required",nT="validate",iT=Q.createContext(null);var oT=t=>I_(t)&&!Object.keys(t).length,aT=t=>Array.isArray(t)?t:[t];var cT=t=>"string"==typeof t,lT=(t,e,r,n,i)=>e?{...r[t],types:{...r[t]&&r[t].types?r[t].types:{},[n]:i||!0}}:{},uT=()=>{const t="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const r=(16*Math.random()+t)%16|0;return("x"==e?r:3&r|8).toString(16)}))},sT=(t,e,r={})=>r.shouldFocus||$_(r.shouldFocus)?r.focusName||`${t}.${$_(r.focusIndex)?e:r.focusIndex}.`:"",fT=t=>({isOnSubmit:!t||t===X_,isOnBlur:t===q_,isOnChange:t===Y_,isOnAll:t===G_,isOnTouch:t===K_});const pT=(t,e,r,n)=>{for(const r of Object.keys(t)){const i=H_(t,r);if(i){const{_f:t,...o}=i;if(t){if(t.refs&&t.refs[0]&&e(t.refs[0],r)&&!n)break;if(t.ref&&e(t.ref,t.name)&&!n)break;pT(o,e)}else I_(o)&&pT(o,e)}}};var hT=(t,e,r)=>{const n=z_(H_(t,r));return W_(n,"root",e[r]),W_(t,r,n),t},dT=t=>cT(t),yT=t=>t instanceof RegExp;function vT(t,e,r="validate"){if(dT(t)||Array.isArray(t)&&t.every(dT)||V_(t)&&!t)return{type:r,message:dT(t)?t:"",ref:e}}var gT=t=>I_(t)&&!yT(t)?t:{value:t,message:""},mT=async(t,e,r,n,i)=>{const{ref:o,refs:a,required:c,maxLength:l,minLength:u,min:s,max:f,pattern:p,validate:h,name:d,valueAsNumber:y,mount:v,disabled:g}=t._f,m=H_(e,d);if(!v||g)return{};const b=a?a[0]:o,w=t=>{n&&b.reportValidity&&(b.setCustomValidity(V_(t)?"":t||""),b.reportValidity())},x={};o.type,(t=>{t.type})(o);const O=(y||(t=>"file"===t.type)(o))&&$_(o.value)&&$_(m)||(t=>{if(!B_)return!1;const e=t?t.ownerDocument:0;return t instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)})(o)&&""===o.value||""===m||Array.isArray(m)&&!m.length,S=lT.bind(null,d,r,x),j=(t,e,r,n=Q_,i=tT)=>{const a=t?e:r;x[d]={type:t?n:i,message:a,ref:o,...S(t?n:i,a)}};if(!Array.isArray(m)||!m.length){const{value:t,message:e}=dT(c)?{value:!!c,message:c}:gT(c);if(t&&(x[d]={type:rT,message:e,ref:b,...S(rT,e)},!r))return w(e),x}if(!(O||N_(s)&&N_(f))){let t,e;const n=gT(f),i=gT(s);if(N_(m)||isNaN(m)){const r=o.valueAsDate||new Date(m),a=t=>new Date((new Date).toDateString()+" "+t),c="time"==o.type,l="week"==o.type;cT(n.value)&&m&&(t=c?a(m)>a(n.value):l?m>n.value:r>new Date(n.value)),cT(i.value)&&m&&(e=c?a(m)<a(i.value):l?m<i.value:r<new Date(i.value))}else{const r=o.valueAsNumber||(m?+m:m);N_(n.value)||(t=r>n.value),N_(i.value)||(e=r<i.value)}if((t||e)&&(j(!!t,n.message,i.message,Z_,J_),!r))return w(x[d].message),x}if((l||u)&&!O&&(cT(m)||Array.isArray(m))){const t=gT(l),e=gT(u),n=!N_(t.value)&&m.length>+t.value,i=!N_(e.value)&&m.length<+e.value;if((n||i)&&(j(n,t.message,e.message),!r))return w(x[d].message),x}if(p&&!O&&cT(m)){const{value:t,message:e}=gT(p);if(yT(t)&&!m.match(t)&&(x[d]={type:eT,message:e,ref:o,...S(eT,e)},!r))return w(e),x}if(h)if("function"==typeof h){const t=vT(await h(m,e),b);if(t&&(x[d]={...t,...S(nT,t.message)},!r))return w(t.message),x}else if(I_(h)){let t={};for(const n in h){if(!oT(t)&&!r)break;const i=vT(await h[n](m,e),b,n);i&&(t={...i,...S(n,i.message)},w(i.message),r&&(x[d]=t))}if(!oT(t)&&(x[d]={ref:b,...t},!r))return x}return w(!0),x},bT=(t,e)=>[...t,...aT(e)],wT=t=>Array.isArray(t)?t.map((()=>{})):void 0;function xT(t,e,r){return[...t.slice(0,e),...aT(r),...t.slice(e)]}var OT=(t,e,r)=>Array.isArray(t)?($_(t[r])&&(t[r]=void 0),t.splice(r,0,t.splice(e,1)[0]),t):[],ST=(t,e)=>[...aT(e),...aT(t)];var jT=(t,e)=>$_(e)?[]:function(t,e){let r=0;const n=[...t];for(const t of e)n.splice(t-r,1),r++;return z_(n).length?n:[]}(t,aT(e).sort(((t,e)=>t-e))),AT=(t,e,r)=>{[t[e],t[r]]=[t[r],t[e]]};function PT(t,e){const r=Array.isArray(e)?e:F_(e)?[e]:U_(e),n=1===r.length?t:function(t,e){const r=e.slice(0,-1).length;let n=0;for(;n<r;)t=$_(t)?n++:t[e[n++]];return t}(t,r),i=r.length-1,o=r[i];return n&&delete n[o],0!==i&&(I_(n)&&oT(n)||Array.isArray(n)&&function(t){for(const e in t)if(t.hasOwnProperty(e)&&!$_(t[e]))return!1;return!0}(n))&&PT(t,r.slice(0,-1)),t}var MT=(t,e,r)=>(t[e]=r,t);function kT(t){const e=Q.useContext(iT),{control:r=e.control,name:n,keyName:i="id",shouldUnregister:o}=t,[a,c]=Q.useState(r._getFieldArray(n)),l=Q.useRef(r._getFieldArray(n).map(uT)),u=Q.useRef(a),s=Q.useRef(n),f=Q.useRef(!1);s.current=n,u.current=a,r._names.array.add(n),t.rules&&r.register(n,t.rules),function(t){const e=Q.useRef(t);e.current=t,Q.useEffect((()=>{const r=!t.disabled&&e.current.subject&&e.current.subject.subscribe({next:e.current.next});return()=>{r&&r.unsubscribe()}}),[t.disabled])}({next:({values:t,name:e})=>{if(e===s.current||!e){const e=H_(t,s.current);Array.isArray(e)&&(c(e),l.current=e.map(uT))}},subject:r._subjects.array});const p=Q.useCallback((t=>{f.current=!0,r._updateFieldArray(n,t)}),[r,n]);return Q.useEffect((()=>{if(r._state.action=!1,((t,e,r)=>e.watchAll||e.watch.has(t)||[...e.watch].some((e=>t.startsWith(e)&&/^\.\w+/.test(t.slice(e.length)))))(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!fT(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((t=>{const e=H_(t.errors,n),i=H_(r._formState.errors,n);(i?!e&&i.type||e&&(i.type!==e.type||i.message!==e.message):e&&e.type)&&(e?W_(r._formState.errors,n,e):PT(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const t=H_(r._fields,n);!t||!t._f||fT(r._options.reValidateMode).isOnSubmit&&fT(r._options.mode).isOnSubmit||mT(t,r._formValues,r._options.criteriaMode===G_,r._options.shouldUseNativeValidation).then((t=>!oT(t)&&r._subjects.state.next({errors:hT(r._formState.errors,t,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&pT(r._fields,((t,e)=>{if(r._names.focus&&e.startsWith(r._names.focus)&&t.focus)return t.focus(),1})),r._names.focus="",r._updateValid(),f.current=!1}),[a,n,r]),Q.useEffect((()=>(!H_(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||o)&&r.unregister(n)})),[n,r,i,o]),{swap:Q.useCallback(((t,e)=>{const i=r._getFieldArray(n);AT(i,t,e),AT(l.current,t,e),p(i),c(i),r._updateFieldArray(n,i,AT,{argA:t,argB:e},!1)}),[p,n,r]),move:Q.useCallback(((t,e)=>{const i=r._getFieldArray(n);OT(i,t,e),OT(l.current,t,e),p(i),c(i),r._updateFieldArray(n,i,OT,{argA:t,argB:e},!1)}),[p,n,r]),prepend:Q.useCallback(((t,e)=>{const i=aT(R_(t)),o=ST(r._getFieldArray(n),i);r._names.focus=sT(n,0,e),l.current=ST(l.current,i.map(uT)),p(o),c(o),r._updateFieldArray(n,o,ST,{argA:wT(t)})}),[p,n,r]),append:Q.useCallback(((t,e)=>{const i=aT(R_(t)),o=bT(r._getFieldArray(n),i);r._names.focus=sT(n,o.length-1,e),l.current=bT(l.current,i.map(uT)),p(o),c(o),r._updateFieldArray(n,o,bT,{argA:wT(t)})}),[p,n,r]),remove:Q.useCallback((t=>{const e=jT(r._getFieldArray(n),t);l.current=jT(l.current,t),p(e),c(e),r._updateFieldArray(n,e,jT,{argA:t})}),[p,n,r]),insert:Q.useCallback(((t,e,i)=>{const o=aT(R_(e)),a=xT(r._getFieldArray(n),t,o);r._names.focus=sT(n,t,i),l.current=xT(l.current,t,o.map(uT)),p(a),c(a),r._updateFieldArray(n,a,xT,{argA:t,argB:wT(e)})}),[p,n,r]),update:Q.useCallback(((t,e)=>{const i=R_(e),o=MT(r._getFieldArray(n),t,i);l.current=[...o].map(((e,r)=>e&&r!==t?l.current[r]:uT())),p(o),c([...o]),r._updateFieldArray(n,o,MT,{argA:t,argB:i},!0,!1)}),[p,n,r]),replace:Q.useCallback((t=>{const e=aT(R_(t));l.current=e.map(uT),p([...e]),c([...e]),r._updateFieldArray(n,[...e],(t=>t),{},!0,!1)}),[p,n,r]),fields:Q.useMemo((()=>a.map(((t,e)=>({...t,[i]:l.current[e]||uT()})))),[a,i])}}const ET=({name:r,control:n,register:i,defaultValues:o,onArrayAppend:a,onArrayRemove:c})=>{const{fields:l,append:u,remove:s}=kT({control:n,name:r}),f=Object.keys(o).reduce(((t,e)=>({...t,[e]:o[e]})),{});return t(E,{children:[l.map(((n,o)=>e(E,{children:t(E,{pb:6,position:"relative",children:[Object.keys(n).filter((t=>"id"!==t)).map((t=>e(D_,{label:t,name:`${r}.${o}.${t}`,register:i},`${t}-${n.id}`))),e(C,{label:"Delete",children:e(y,{position:"absolute",top:"0",right:"0",children:e(h,{"aria-label":"Delete",size:"sm",variant:"ghost",onClick:()=>{s(o),c&&c(o)},minW:"2rem",p:"0",children:"X"})})})]})},n.id))),e(y,{children:e(h,{size:"sm",onClick:()=>{u(f),a&&a(f)},ml:"auto",children:"+"})})]})},CT=({data:r,dataKey:n,width:i="100%",height:o="100%",lineType:a="linear",showTooltip:c=!1,isAnimated:l=!1,formatter:u,labelFormatter:s,sampleRate:f,style:p})=>{const{isNetGain:h}=ur({data:r,dataKey:n}),d=Jr(),y=f?fr({arr:r||[],n:f}):r;let v,g;y?.length?(g=h?pr.mint():pr.heroicRed(),v=y?.map((t=>({...t,[n]:Number(t[n])||0})))):(g=pr.coolElegance(),v=[{[n]:0},{[n]:0}]);const m={cursor:c&&y?.length?"crosshair":"default",...p};return e(ay,{width:i,minHeight:o,id:d,children:t(s_,{data:v,style:m,children:[e(fC,{domain:["dataMin","dataMax"],hide:!0}),e(WE,{isAnimationActive:l,type:a,dataKey:n,stroke:g,strokeWidth:"2",activeDot:c?t=>p_({chartId:d,labelFormatter:s,formatter:u,...t}):void 0,dot:!1,scale:"threshold"}),y?.length&&c&&e(Cd,{cursor:!1,content:()=>null})]})})},_T=({isOpen:r,onClose:n,headerContent:i=null,footerContent:o=null,children:a,isCentered:c=!0,size:l={base:"md",md:"xl"},bodyBackground:u="transparent",isDisabledCloseButton:s,maxHeight:f="60vh",...p})=>t(_,{blockScrollOnMount:!1,scrollBehavior:"inside",isOpen:r,onClose:n,isCentered:c,size:l,...p,children:[e(T,{}),t(D,{minWidth:UT,children:[e(N,{children:i}),e(I,{isDisabled:s}),e(L,{maxHeight:f,bg:u,overflow:"scroll",children:a}),o&&e(B,{borderTop:"solid 1px",borderColor:pr.coolElegance(),children:o})]})]}),TT=t=>{const{isActive:r,children:n,href:i,...o}=t;return e(R,{display:"flex",as:R,borderRadius:"md",border:"solid 1px",bg:r?"brand.50":"transparent",borderColor:r?"brand.200":"transparent",boxShadow:r?`0 8px 16px 0 ${pr.black(.08)}`:"none",href:i,alignItems:"center",lineHeight:"1",position:"relative",padding:"2",zIndex:"3",transition:"border-color 0.25s",_hover:{borderColor:!r&&pr.coolElegance(),textDecoration:"none"},...o,children:n},i)};var DT,NT={exports:{}};DT=NT,function(t,e){DT.exports=e(Q)}(0,(t=>(()=>{var e={703:(t,e,r)=>{var n=r(414);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,r,i,o,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},697:(t,e,r)=>{t.exports=r(703)()},414:t=>{t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:e=>{e.exports=t}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var o=r[t]={exports:{}};return e[t](o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{n.r(i),n.d(i,{default:()=>w});var t=n(98),e=n.n(t),r=n(697),o=n.n(r);function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},a.apply(this,arguments)}var c=function(t){var r=t.pageClassName,n=t.pageLinkClassName,i=t.page,o=t.selected,c=t.activeClassName,l=t.activeLinkClassName,u=t.getEventListener,s=t.pageSelectedHandler,f=t.href,p=t.extraAriaContext,h=t.pageLabelBuilder,d=t.rel,y=t.ariaLabel||"Page "+i+(p?" "+p:""),v=null;return o&&(v="page",y=t.ariaLabel||"Page "+i+" is your current page",r=void 0!==r?r+" "+c:c,void 0!==n?void 0!==l&&(n=n+" "+l):n=l),e().createElement("li",{className:r},e().createElement("a",a({rel:d,role:f?void 0:"button",className:n,href:f,tabIndex:o?"-1":"0","aria-label":y,"aria-current":v,onKeyPress:s},u(s)),h(i)))};c.propTypes={pageSelectedHandler:o().func.isRequired,selected:o().bool.isRequired,pageClassName:o().string,pageLinkClassName:o().string,activeClassName:o().string,activeLinkClassName:o().string,extraAriaContext:o().string,href:o().string,ariaLabel:o().string,page:o().number.isRequired,getEventListener:o().func.isRequired,pageLabelBuilder:o().func.isRequired,rel:o().string};const l=c;function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},u.apply(this,arguments)}var s=function(t){var r=t.breakLabel,n=t.breakAriaLabel,i=t.breakClassName,o=t.breakLinkClassName,a=t.breakHandler,c=t.getEventListener,l=i||"break";return e().createElement("li",{className:l},e().createElement("a",u({className:o,role:"button",tabIndex:"0","aria-label":n,onKeyPress:a},c(a)),r))};s.propTypes={breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabel:o().string,breakClassName:o().string,breakLinkClassName:o().string,breakHandler:o().func.isRequired,getEventListener:o().func.isRequired};const f=s;function p(t){return null!=t?t:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}function h(t){return h="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},h(t)}function d(){return d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},d.apply(this,arguments)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}function m(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var b=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&&y(t,e)}(c,t);var r,n,i,o,a=(i=c,o=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=g(i);if(o){var r=g(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===h(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return v(t)}(this,t)});function c(t){var r,n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),m(v(r=a.call(this,t)),"handlePreviousPage",(function(t){var e=r.state.selected;r.handleClick(t,null,e>0?e-1:void 0,{isPrevious:!0})})),m(v(r),"handleNextPage",(function(t){var e=r.state.selected,n=r.props.pageCount;r.handleClick(t,null,e<n-1?e+1:void 0,{isNext:!0})})),m(v(r),"handlePageSelected",(function(t,e){if(r.state.selected===t)return r.callActiveCallback(t),void r.handleClick(e,null,void 0,{isActive:!0});r.handleClick(e,null,t)})),m(v(r),"handlePageChange",(function(t){r.state.selected!==t&&(r.setState({selected:t}),r.callCallback(t))})),m(v(r),"getEventListener",(function(t){return m({},r.props.eventListener,t)})),m(v(r),"handleClick",(function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.isPrevious,a=void 0!==o&&o,c=i.isNext,l=void 0!==c&&c,u=i.isBreak,s=void 0!==u&&u,f=i.isActive,p=void 0!==f&&f;t.preventDefault?t.preventDefault():t.returnValue=!1;var h=r.state.selected,d=r.props.onClick,y=n;if(d){var v=d({index:e,selected:h,nextSelectedPage:n,event:t,isPrevious:a,isNext:l,isBreak:s,isActive:p});if(!1===v)return;Number.isInteger(v)&&(y=v)}void 0!==y&&r.handlePageChange(y)})),m(v(r),"handleBreakClick",(function(t,e){var n=r.state.selected;r.handleClick(e,t,n<t?r.getForwardJump():r.getBackwardJump(),{isBreak:!0})})),m(v(r),"callCallback",(function(t){void 0!==r.props.onPageChange&&"function"==typeof r.props.onPageChange&&r.props.onPageChange({selected:t})})),m(v(r),"callActiveCallback",(function(t){void 0!==r.props.onPageActive&&"function"==typeof r.props.onPageActive&&r.props.onPageActive({selected:t})})),m(v(r),"getElementPageRel",(function(t){var e=r.state.selected,n=r.props,i=n.nextPageRel,o=n.prevPageRel,a=n.selectedPageRel;return e-1===t?o:e===t?a:e+1===t?i:void 0})),m(v(r),"pagination",(function(){var t=[],n=r.props,i=n.pageRangeDisplayed,o=n.pageCount,a=n.marginPagesDisplayed,c=n.breakLabel,l=n.breakClassName,u=n.breakLinkClassName,s=n.breakAriaLabels,p=r.state.selected;if(o<=i)for(var h=0;h<o;h++)t.push(r.getPageElement(h));else{var d=i/2,y=i-d;p>o-i/2?d=i-(y=o-p):p<i/2&&(y=i-(d=p));var v,g,m=function(t){return r.getPageElement(t)},b=[];for(v=0;v<o;v++){var w=v+1;if(w<=a)b.push({type:"page",index:v,display:m(v)});else if(w>o-a)b.push({type:"page",index:v,display:m(v)});else if(v>=p-d&&v<=p+(0===p&&i>1?y-1:y))b.push({type:"page",index:v,display:m(v)});else if(c&&b.length>0&&b[b.length-1].display!==g&&(i>0||a>0)){var x=v<p?s.backward:s.forward;g=e().createElement(f,{key:v,breakAriaLabel:x,breakLabel:c,breakClassName:l,breakLinkClassName:u,breakHandler:r.handleBreakClick.bind(null,v),getEventListener:r.getEventListener}),b.push({type:"break",index:v,display:g})}}b.forEach((function(e,r){var n=e;"break"===e.type&&b[r-1]&&"page"===b[r-1].type&&b[r+1]&&"page"===b[r+1].type&&b[r+1].index-b[r-1].index<=2&&(n={type:"page",index:e.index,display:m(e.index)}),t.push(n.display)}))}return t})),void 0!==t.initialPage&&void 0!==t.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(t.initialPage,") and forcePage (").concat(t.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),n=t.initialPage?t.initialPage:t.forcePage?t.forcePage:0,r.state={selected:n},r}return r=c,(n=[{key:"componentDidMount",value:function(){var t=this.props,e=t.initialPage,r=t.disableInitialCallback,n=t.extraAriaContext,i=t.pageCount,o=t.forcePage;void 0===e||r||this.callCallback(e),n&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(i)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(i,"). Did you forget a Math.ceil()?")),void 0!==e&&e>i-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(e," > ").concat(i-1,").")),void 0!==o&&o>i-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(o," > ").concat(i-1,")."))}},{key:"componentDidUpdate",value:function(t){void 0!==this.props.forcePage&&this.props.forcePage!==t.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage})),Number.isInteger(t.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var t=this.state.selected,e=this.props,r=e.pageCount,n=t+e.pageRangeDisplayed;return n>=r?r-1:n}},{key:"getBackwardJump",value:function(){var t=this.state.selected-this.props.pageRangeDisplayed;return t<0?0:t}},{key:"getElementHref",value:function(t){var e=this.props,r=e.hrefBuilder,n=e.pageCount,i=e.hrefAllControls;if(r)return i||t>=0&&t<n?r(t+1,n,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(t){var e=t===this.state.selected;if(this.props.ariaLabelBuilder&&t>=0&&t<this.props.pageCount){var r=this.props.ariaLabelBuilder(t+1,e);return this.props.extraAriaContext&&!e&&(r=r+" "+this.props.extraAriaContext),r}}},{key:"getPageElement",value:function(t){var r=this.state.selected,n=this.props,i=n.pageClassName,o=n.pageLinkClassName,a=n.activeClassName,c=n.activeLinkClassName,u=n.extraAriaContext,s=n.pageLabelBuilder;return e().createElement(l,{key:t,pageSelectedHandler:this.handlePageSelected.bind(null,t),selected:r===t,rel:this.getElementPageRel(t),pageClassName:i,pageLinkClassName:o,activeClassName:a,activeLinkClassName:c,extraAriaContext:u,href:this.getElementHref(t),ariaLabel:this.ariaLabelBuilder(t),page:t+1,pageLabelBuilder:s,getEventListener:this.getEventListener})}},{key:"render",value:function(){var t=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==t)return t?t(this.props):t;var r=this.props,n=r.disabledClassName,i=r.disabledLinkClassName,o=r.pageCount,a=r.className,c=r.containerClassName,l=r.previousLabel,u=r.previousClassName,s=r.previousLinkClassName,f=r.previousAriaLabel,h=r.prevRel,y=r.nextLabel,v=r.nextClassName,g=r.nextLinkClassName,m=r.nextAriaLabel,b=r.nextRel,w=this.state.selected,x=0===w,O=w===o-1,S="".concat(p(u)).concat(x?" ".concat(p(n)):""),j="".concat(p(v)).concat(O?" ".concat(p(n)):""),A="".concat(p(s)).concat(x?" ".concat(p(i)):""),P="".concat(p(g)).concat(O?" ".concat(p(i)):""),M=x?"true":"false",k=O?"true":"false";return e().createElement("ul",{className:a||c,role:"navigation","aria-label":"Pagination"},e().createElement("li",{className:S},e().createElement("a",d({className:A,href:this.getElementHref(w-1),tabIndex:x?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":M,"aria-label":f,rel:h},this.getEventListener(this.handlePreviousPage)),l)),this.pagination(),e().createElement("li",{className:j},e().createElement("a",d({className:P,href:this.getElementHref(w+1),tabIndex:O?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k,"aria-label":m,rel:b},this.getEventListener(this.handleNextPage)),y)))}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),c}(t.Component);m(b,"propTypes",{pageCount:o().number.isRequired,pageRangeDisplayed:o().number,marginPagesDisplayed:o().number,previousLabel:o().node,previousAriaLabel:o().string,prevPageRel:o().string,prevRel:o().string,nextLabel:o().node,nextAriaLabel:o().string,nextPageRel:o().string,nextRel:o().string,breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabels:o().shape({forward:o().string,backward:o().string}),hrefBuilder:o().func,hrefAllControls:o().bool,onPageChange:o().func,onPageActive:o().func,onClick:o().func,initialPage:o().number,forcePage:o().number,disableInitialCallback:o().bool,containerClassName:o().string,className:o().string,pageClassName:o().string,pageLinkClassName:o().string,pageLabelBuilder:o().func,activeClassName:o().string,activeLinkClassName:o().string,previousClassName:o().string,nextClassName:o().string,previousLinkClassName:o().string,nextLinkClassName:o().string,disabledClassName:o().string,disabledLinkClassName:o().string,breakClassName:o().string,breakLinkClassName:o().string,extraAriaContext:o().string,ariaLabelBuilder:o().func,eventListener:o().string,renderOnZeroPageCount:o().func,selectedPageRel:o().string}),m(b,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",breakAriaLabels:{forward:"Jump forward",backward:"Jump backward"},disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(t){return t},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});const w=b})(),i})()));const IT=n(We(NT.exports)),LT=({totalRecords:t=0,recordsPerPage:r=10,pageRangeDisplayed:n=3,handlePageClick:i,forcePage:o,...a})=>{const c=Math.ceil(t/r);return e(y,{justifyContent:{base:"center",md:"flex-end"},fontSize:{base:14,md:18},gap:2,w:"full",...a,children:e(IT,{breakLabel:"...",previousLabel:"<",nextLabel:">",onPageChange:i,pageRangeDisplayed:n,pageCount:c,renderOnZeroPageCount:null,forcePage:o,display:{base:"flex"},alignItems:"center",gap:"inherit",disabledLinkClassName:"disabled-pagination",pageLinkClassName:"pagination-link",activeClassName:"active-page",previousClassName:"previous-page-button",nextClassName:"next-page-button",sx:{listStyleType:"none",".pagination-link:hover":{backgroundColor:"brand.700"},".previous-page-button a, .next-page-button a, .pagination-link":{backgroundColor:"brand.300",borderRadius:4,color:pr.white(),paddingY:{base:1}},".previous-page-button a, .next-page-button a":{paddingX:{base:2,lg:2.5}},".pagination-link":{paddingX:{base:2.5,lg:3}},".active-page a":{backgroundColor:"brand.500"},".disabled-pagination":{backgroundColor:"gray.300 !important",cursor:"not-allowed !important"}}})})},BT=({isLoading:r,hasMore:n,setLastEvaluatedKeyParams:i,lastEvaluatedKey:o,...a})=>{const[c,l]=at([]),[u,s]=at(1);return t(y,{w:"full",justifyContent:"flex-end",alignItems:"center",direction:"row",gap:4,...a,children:[e(h,{onClick:()=>{if(2===u)return i(void 0),l([]),void s((t=>t-1));const t=c.length-1,e=c[t-1];i(e),l((t=>t.slice(0,-1))),s((t=>t-1))},isDisabled:r||1===u,children:"Previous"}),e(h,{onClick:()=>{if(o){const t={lastEvaluatedPKey:o.pKey,lastEvaluatedSKey:o.sKey};i(t),l((e=>[...e,t])),s((t=>t+1))}},isDisabled:r||!n,children:"Next"})]})},RT=r=>{const{children:n,size:i,isDisabled:o,isReadOnly:a,isRequired:c,name:l,register:u,errorMessage:s,helperText:f,label:p,...h}=r,d=sr(i),y=u?u(l):void 0;return t(g,{isInvalid:Boolean(s),isDisabled:o,isReadOnly:a,isRequired:c,children:[p&&e(m,{size:i,children:p}),e(z,{icon:e(xt,{}),size:i,...y,...h,children:n}),s&&e(w,{size:i,children:s}),f&&e(k,{fontSize:d,children:f})]})},zT=$({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),$T=({boxSize:t=8,color:r="brand",...n})=>{const i="neutral"===r?pr.sonicSilver():"brand.500";return e(y,{width:"full",justifyContent:"center",alignItems:"center",minHeight:Number.isFinite(Number(t))?3*Number(t):`calc(${t} * 3)`,...n,children:e(y,{width:t,height:t,animation:`${zT} 2000ms infinite linear`,children:e(se,{boxSize:t,__css:{path:{fill:i}}})})})},HT=r=>{const{label:n,rightIcon:i,leftIcon:o,onClose:a,...c}=r,[l,u]=at(!0);return l?t(H,{className:"cf-tag",...c,children:[o&&e(V,{as:o}),e(F,{children:n}),i&&e(U,{as:i}),a&&e(W,{onClick:()=>{a(),u(!1)}})]}):null},VT=({description:r,title:n,onClose:i,isClosable:o,status:a})=>{let c,l;switch(a){case"error":l=yt;break;case"success":l=Pt;break;case"warning":l=Wt,c="yellow";break;case"loading":c="brand",l=Z;break;default:c="brand",l=Wt}return t(q,{as:y,colorScheme:c,justifyContent:"space-between",status:a,children:[t(y,{alignItems:"center",mr:"4",children:[e(Y,{children:e(l,{size:"sm"})}),t(E,{children:[e(X,{children:n}),e(K,{children:r})]})]}),o&&e(G,{onClick:i})]})},FT=()=>{const t=u({ssr:!1}),e="base"===t||"sm"===t,r="md"===t,n="lg"===t||"xl"===t||"2xl"===t;return{breakpoint:t,isSmallBreakpoint:e,isMediumBreakpoint:r,isLargeBreakpoint:n,isAboveSmallBreakpoint:r||n,isBelowLargeBreakpoint:r||e}},UT="22rem",WT={dateOnly:"MM/DD/YY",dateWithTime:"MM/DD/YYYY h:mm A",shortDateWithTime:"MMM D, h:mm A",shortDateWithYear:"MMM D, YYYY"};export{h_ as CfAreaChart,d_ as CfBreakpointDebugger,y_ as CfButtonGroup,v_ as CfButtonGroupButton,g_ as CfCard,m_ as CfCarousel,b_ as CfCheckbox,w_ as CfForm,D_ as CfInput,ET as CfInputArray,CT as CfLineChart,_T as CfModal,TT as CfNavLink,LT as CfOpenSearchPagination,BT as CfPagination,RT as CfSelect,$T as CfSpinner,HT as CfTag,VT as CfToast,yt as IconAlert,vt as IconArrowDown,gt as IconArrowUp,ve as IconAvax,mt as IconBank,bt as IconBarChart,ge as IconBch,me as IconBtc,wt as IconCalendar,xt as IconCaretDown,Ot as IconCaretLeft,St as IconCaretRight,jt as IconCaretUp,At as IconCent,Pt as IconCheck,Mt as IconChecking,kt as IconCircleCheck,Et as IconClose,Ct as IconConnect,_t as IconCopy,Tt as IconDollar,Dt as IconDollarBill,Nt as IconDownload,It as IconEdit,Lt as IconEnter,Bt as IconEnterInverted,be as IconEth,Rt as IconExchange,zt as IconFilter,$t as IconHelp,Ht as IconHistory,Vt as IconHome,Ft as IconIndicatorDown,Ut as IconIndicatorUp,Wt as IconInfo,we as IconLink,qt as IconLock,xe as IconLtc,Yt as IconMail,Xt as IconMenu,Kt as IconMore,Gt as IconNotification,Zt as IconOverview,Jt as IconPercent,Qt as IconPieChart,te as IconPlus,ye as IconRefresh,ee as IconReports,re as IconReservesSuccess,ne as IconReservesWarning,ie as IconSearch,oe as IconSettings,ae as IconSettlement,ce as IconSignIn,le as IconSignOut,ue as IconSort,se as IconSpinner,fe as IconSupport,pe as IconTrash,he as IconUpload,de as IconUser,Oe as IconXlm,Fe as aggregateAmounts,Xr as coreTheme,WT as dateFormats,Qe as dateToTimestamp,tr as formatPercentage,Kr as formatPhoneNumber,lr as formatUsd,ur as getDelta,UT as layoutMinWidth,fr as pullFromEnd,pr as uiColors,dr as usdToNumber,FT as useCfBreakpoint,yr as utcDateToLocal};
17
+ */"production"===process.env.NODE_ENV?Io.exports=function(){if(Do)return Lo;Do=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,d=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case u:case n:case o:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case s:case d:case h:case a:return e;default:return p}}case r:return p}}}function w(e){return b(e)===u}return Lo.AsyncMode=l,Lo.ConcurrentMode=u,Lo.ContextConsumer=c,Lo.ContextProvider=a,Lo.Element=t,Lo.ForwardRef=s,Lo.Fragment=n,Lo.Lazy=d,Lo.Memo=h,Lo.Portal=r,Lo.Profiler=o,Lo.StrictMode=i,Lo.Suspense=f,Lo.isAsyncMode=function(e){return w(e)||b(e)===l},Lo.isConcurrentMode=w,Lo.isContextConsumer=function(e){return b(e)===c},Lo.isContextProvider=function(e){return b(e)===a},Lo.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Lo.isForwardRef=function(e){return b(e)===s},Lo.isFragment=function(e){return b(e)===n},Lo.isLazy=function(e){return b(e)===d},Lo.isMemo=function(e){return b(e)===h},Lo.isPortal=function(e){return b(e)===r},Lo.isProfiler=function(e){return b(e)===o},Lo.isStrictMode=function(e){return b(e)===i},Lo.isSuspense=function(e){return b(e)===f},Lo.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===u||e===o||e===i||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===h||e.$$typeof===a||e.$$typeof===c||e.$$typeof===s||e.$$typeof===v||e.$$typeof===g||e.$$typeof===m||e.$$typeof===y)},Lo.typeOf=b,Lo}():Io.exports=(Bo||(Bo=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,d=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var y=e.type;switch(y){case l:case u:case n:case o:case i:case f:return y;default:var v=y&&y.$$typeof;switch(v){case c:case s:case d:case h:case a:return v;default:return p}}case r:return p}}}var w=l,x=u,O=c,S=a,j=t,A=s,P=n,M=d,k=h,E=r,C=o,_=i,T=f,D=!1;function N(e){return b(e)===u}Ro.AsyncMode=w,Ro.ConcurrentMode=x,Ro.ContextConsumer=O,Ro.ContextProvider=S,Ro.Element=j,Ro.ForwardRef=A,Ro.Fragment=P,Ro.Lazy=M,Ro.Memo=k,Ro.Portal=E,Ro.Profiler=C,Ro.StrictMode=_,Ro.Suspense=T,Ro.isAsyncMode=function(e){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),N(e)||b(e)===l},Ro.isConcurrentMode=N,Ro.isContextConsumer=function(e){return b(e)===c},Ro.isContextProvider=function(e){return b(e)===a},Ro.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ro.isForwardRef=function(e){return b(e)===s},Ro.isFragment=function(e){return b(e)===n},Ro.isLazy=function(e){return b(e)===d},Ro.isMemo=function(e){return b(e)===h},Ro.isPortal=function(e){return b(e)===r},Ro.isProfiler=function(e){return b(e)===o},Ro.isStrictMode=function(e){return b(e)===i},Ro.isSuspense=function(e){return b(e)===f},Ro.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===u||e===o||e===i||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===h||e.$$typeof===a||e.$$typeof===c||e.$$typeof===s||e.$$typeof===v||e.$$typeof===g||e.$$typeof===m||e.$$typeof===y)},Ro.typeOf=b}()),Ro);var zo=Io.exports,$o=bn,Ho=wn;var Vo=function(e){return"number"==typeof e||Ho(e)&&"[object Number]"==$o(e)},Fo=Wt(Vo),Uo=Vo;var Wo=Wt((function(e){return Uo(e)&&e!=+e})),qo=function(e){return 0===e?0:e>0?1:-1},Yo=function(e){return No(e)&&e.indexOf("%")===e.length-1},Xo=function(e){return Fo(e)&&!Wo(e)},Ko=function(e){return Xo(e)||No(e)},Go=0,Zo=function(e){var t=++Go;return"".concat(e||"").concat(t)},Jo=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!Xo(e)&&!No(e))return n;if(Yo(e)){var o=e.indexOf("%");r=t*parseFloat(e.slice(0,o))/100}else r=+e;return Wo(r)&&(r=n),i&&r>t&&(r=t),r},Qo=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},ea=function(e,t){return Xo(e)&&Xo(t)?function(r){return e+r*(t-e)}:function(){return t}};function ta(e,t,r){return e&&e.length?e.find((function(e){return e&&("function"==typeof t?t(e):ko(e,t))===r})):null}function ra(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function na(e){return na="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},na(e)}var ia=["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"],oa=["points","pathLength"],aa={svg:["viewBox","children"],polygon:oa,polyline:oa},ca=["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"],la=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if(ee(e)&&(r=e.props),!Cn(r))return null;var n={};return Object.keys(r).forEach((function(e){ca.includes(e)&&(n[e]=t||function(t){return r[e](r,t)})})),n},ua=function(e,t,r){if(!Cn(e)||"object"!==na(e))return null;var n=null;return Object.keys(e).forEach((function(i){var o=e[i];ca.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(e,t,r){return function(n){return e(t,r,n),null}}(o,t,r))})),n},sa=["children"],fa=["children"];function pa(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ha(e){return ha="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ha(e)}var da={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},ya=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},va=null,ga=null,ma=function e(t){if(t===va&&Array.isArray(ga))return ga;var r=[];return te.forEach(t,(function(t){Eo(t)||(zo.isFragment(t)?r=r.concat(e(t.props.children)):r.push(t))})),ga=r,va=t,r};function ba(e,t){var r=[],n=[];return n=Array.isArray(t)?t.map((function(e){return ya(e)})):[ya(t)],ma(e).forEach((function(e){var t=ko(e,"type.displayName")||ko(e,"type.name");-1!==n.indexOf(t)&&r.push(e)})),r}function wa(e,t){var r=ba(e,t);return r&&r[0]}var xa=function(e){if(!e||!e.props)return!1;var t=e.props,r=t.width,n=t.height;return!(!Xo(r)||r<=0||!Xo(n)||n<=0)},Oa=["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"],Sa=function(e){return e&&"object"===ha(e)&&"cx"in e&&"cy"in e&&"r"in e},ja=function(e,t,r){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if(ee(e)&&(n=e.props),!Cn(n))return null;var i={};return Object.keys(n).forEach((function(e){var o;(function(e,t,r,n){var i,o=null!==(i=null==aa?void 0:aa[n])&&void 0!==i?i:[];return!In(e)&&(n&&o.includes(t)||ia.includes(t))||r&&ca.includes(t)})(null===(o=n)||void 0===o?void 0:o[e],e,t,r)&&(i[e]=n[e])})),i},Aa=function e(t,r){if(t===r)return!0;var n=te.count(t);if(n!==te.count(r))return!1;if(0===n)return!0;if(1===n)return Pa(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var o=t[i],a=r[i];if(Array.isArray(o)||Array.isArray(a)){if(!e(o,a))return!1}else if(!Pa(o,a))return!1}return!0},Pa=function(e,t){if(Eo(e)&&Eo(t))return!0;if(!Eo(e)&&!Eo(t)){var r=e.props||{},n=r.children,i=pa(r,sa),o=t.props||{},a=o.children,c=pa(o,fa);return n&&a?ra(i,c)&&Aa(n,a):!n&&!a&&ra(i,c)}return!1},Ma=function(e,t){var r=[],n={};return ma(e).forEach((function(e,i){if(function(e){return e&&e.type&&No(e.type)&&Oa.indexOf(e.type)>=0}(e))r.push(e);else if(e){var o=ya(e.type),a=t[o]||{},c=a.handler,l=a.once;if(c&&(!l||!n[o])){var u=c(e,o,i);r.push(u),n[o]=!0}}})),r},ka=["children","width","height","viewBox","className","style","title","desc"];function Ea(){return Ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ea.apply(this,arguments)}function Ca(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function _a(e){var t=e.children,r=e.width,n=e.height,i=e.viewBox,o=e.className,a=e.style,c=e.title,l=e.desc,u=Ca(e,ka),s=i||{width:r,height:n,x:0,y:0},f=tn("recharts-surface",o);return Q.createElement("svg",Ea({},ja(u,!0,"svg"),{className:f,width:r,height:n,style:a,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height)}),Q.createElement("title",null,c),Q.createElement("desc",null,l),t)}var Ta=["children","className"];function Da(){return Da=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Da.apply(this,arguments)}function Na(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Ia=Q.forwardRef((function(e,t){var r=e.children,n=e.className,i=Na(e,Ta),o=tn("recharts-layer",n);return Q.createElement("g",Da({className:o},ja(i,!0),{ref:t}),r)})),La="production"!==process.env.NODE_ENV,Ba=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(La&&"undefined"!=typeof console&&console.warn&&(void 0===t&&console.warn("LogUtils requires an error message argument"),!e))if(void 0===t)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;console.warn(t.replace(/%s/g,(function(){return n[o++]})))}};var Ra=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o},za=Ra;var $a=function(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:za(e,t,r)},Ha=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Va=function(e){return Ha.test(e)};var Fa=function(e){return e.split("")},Ua="\\ud800-\\udfff",Wa="["+Ua+"]",qa="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Ya="\\ud83c[\\udffb-\\udfff]",Xa="[^"+Ua+"]",Ka="(?:\\ud83c[\\udde6-\\uddff]){2}",Ga="[\\ud800-\\udbff][\\udc00-\\udfff]",Za="(?:"+qa+"|"+Ya+")"+"?",Ja="[\\ufe0e\\ufe0f]?",Qa=Ja+Za+("(?:\\u200d(?:"+[Xa,Ka,Ga].join("|")+")"+Ja+Za+")*"),ec="(?:"+[Xa+qa+"?",qa,Ka,Ga,Wa].join("|")+")",tc=RegExp(Ya+"(?="+Ya+")|"+ec+Qa,"g");var rc=function(e){return e.match(tc)||[]},nc=Fa,ic=Va,oc=rc;var ac=function(e){return ic(e)?oc(e):nc(e)},cc=$a,lc=Va,uc=ac,sc=yo;var fc=function(e){return function(t){t=sc(t);var r=lc(t)?uc(t):void 0,n=r?r[0]:t.charAt(0),i=r?cc(r,1).join(""):t.slice(1);return n[e]()+i}},pc=Wt(fc("toUpperCase"));function hc(e){return function(){return e}}const dc=Math.cos,yc=Math.sin,vc=Math.sqrt,gc=Math.PI,mc=2*gc,bc=Math.PI,wc=2*bc,xc=1e-6,Oc=wc-xc;function Sc(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}class jc{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Sc:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Sc;const r=10**t;return function(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=Math.round(arguments[t]*r)/r+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,r,n){this._append`Q${+e},${+t},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(e,t,r,n,i,o){this._append`C${+e},${+t},${+r},${+n},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,r,n,i){if(e=+e,t=+t,r=+r,n=+n,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,c=r-e,l=n-t,u=o-e,s=a-t,f=u*u+s*s;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(f>xc)if(Math.abs(s*c-l*u)>xc&&i){let p=r-o,h=n-a,d=c*c+l*l,y=p*p+h*h,v=Math.sqrt(d),g=Math.sqrt(f),m=i*Math.tan((bc-Math.acos((d+f-y)/(2*v*g)))/2),b=m/g,w=m/v;Math.abs(b-1)>xc&&this._append`L${e+b*u},${t+b*s}`,this._append`A${i},${i},0,0,${+(s*p>u*h)},${this._x1=e+w*c},${this._y1=t+w*l}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}arc(e,t,r,n,i,o){if(e=+e,t=+t,o=!!o,(r=+r)<0)throw new Error(`negative radius: ${r}`);let a=r*Math.cos(n),c=r*Math.sin(n),l=e+a,u=t+c,s=1^o,f=o?n-i:i-n;null===this._x1?this._append`M${l},${u}`:(Math.abs(this._x1-l)>xc||Math.abs(this._y1-u)>xc)&&this._append`L${l},${u}`,r&&(f<0&&(f=f%wc+wc),f>Oc?this._append`A${r},${r},0,1,${s},${e-a},${t-c}A${r},${r},0,1,${s},${this._x1=l},${this._y1=u}`:f>xc&&this._append`A${r},${r},0,${+(f>=bc)},${s},${this._x1=e+r*Math.cos(i)},${this._y1=t+r*Math.sin(i)}`)}rect(e,t,r,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function Ac(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(null==r)t=null;else{const e=Math.floor(r);if(!(e>=0))throw new RangeError(`invalid digits: ${r}`);t=e}return e},()=>new jc(t)}function Pc(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Mc(e){this._context=e}function kc(e){return new Mc(e)}function Ec(e){return e[0]}function Cc(e){return e[1]}function _c(e,t){var r=hc(!0),n=null,i=kc,o=null,a=Ac(c);function c(c){var l,u,s,f=(c=Pc(c)).length,p=!1;for(null==n&&(o=i(s=a())),l=0;l<=f;++l)!(l<f&&r(u=c[l],l,c))===p&&((p=!p)?o.lineStart():o.lineEnd()),p&&o.point(+e(u,l,c),+t(u,l,c));if(s)return o=null,s+""||null}return e="function"==typeof e?e:void 0===e?Ec:hc(e),t="function"==typeof t?t:void 0===t?Cc:hc(t),c.x=function(t){return arguments.length?(e="function"==typeof t?t:hc(+t),c):e},c.y=function(e){return arguments.length?(t="function"==typeof e?e:hc(+e),c):t},c.defined=function(e){return arguments.length?(r="function"==typeof e?e:hc(!!e),c):r},c.curve=function(e){return arguments.length?(i=e,null!=n&&(o=i(n)),c):i},c.context=function(e){return arguments.length?(null==e?n=o=null:o=i(n=e),c):n},c}function Tc(e,t,r){var n=null,i=hc(!0),o=null,a=kc,c=null,l=Ac(u);function u(u){var s,f,p,h,d,y=(u=Pc(u)).length,v=!1,g=new Array(y),m=new Array(y);for(null==o&&(c=a(d=l())),s=0;s<=y;++s){if(!(s<y&&i(h=u[s],s,u))===v)if(v=!v)f=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),p=s-1;p>=f;--p)c.point(g[p],m[p]);c.lineEnd(),c.areaEnd()}v&&(g[s]=+e(h,s,u),m[s]=+t(h,s,u),c.point(n?+n(h,s,u):g[s],r?+r(h,s,u):m[s]))}if(d)return c=null,d+""||null}function s(){return _c().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?Ec:hc(+e),t="function"==typeof t?t:hc(void 0===t?0:+t),r="function"==typeof r?r:void 0===r?Cc:hc(+r),u.x=function(t){return arguments.length?(e="function"==typeof t?t:hc(+t),n=null,u):e},u.x0=function(t){return arguments.length?(e="function"==typeof t?t:hc(+t),u):e},u.x1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:hc(+e),u):n},u.y=function(e){return arguments.length?(t="function"==typeof e?e:hc(+e),r=null,u):t},u.y0=function(e){return arguments.length?(t="function"==typeof e?e:hc(+e),u):t},u.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:hc(+e),u):r},u.lineX0=u.lineY0=function(){return s().x(e).y(t)},u.lineY1=function(){return s().x(e).y(r)},u.lineX1=function(){return s().x(n).y(t)},u.defined=function(e){return arguments.length?(i="function"==typeof e?e:hc(!!e),u):i},u.curve=function(e){return arguments.length?(a=e,null!=o&&(c=a(o)),u):a},u.context=function(e){return arguments.length?(null==e?o=c=null:c=a(o=e),u):o},u}Mc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};class Dc{constructor(e,t){this._context=e,this._x=t}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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}var Nc={draw(e,t){const r=vc(t/gc);e.moveTo(r,0),e.arc(0,0,r,0,mc)}},Ic={draw(e,t){const r=vc(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}};const Lc=vc(1/3),Bc=2*Lc;var Rc={draw(e,t){const r=vc(t/Bc),n=r*Lc;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},zc={draw(e,t){const r=vc(t),n=-r/2;e.rect(n,n,r,r)}};const $c=yc(gc/10)/yc(7*gc/10),Hc=yc(mc/10)*$c,Vc=-dc(mc/10)*$c;var Fc={draw(e,t){const r=vc(.8908130915292852*t),n=Hc*r,i=Vc*r;e.moveTo(0,-r),e.lineTo(n,i);for(let t=1;t<5;++t){const o=mc*t/5,a=dc(o),c=yc(o);e.lineTo(c*r,-a*r),e.lineTo(a*n-c*i,c*n+a*i)}e.closePath()}};const Uc=vc(3);var Wc={draw(e,t){const r=-vc(t/(3*Uc));e.moveTo(0,2*r),e.lineTo(-Uc*r,-r),e.lineTo(Uc*r,-r),e.closePath()}};const qc=-.5,Yc=vc(3)/2,Xc=1/vc(12),Kc=3*(Xc/2+1);var Gc={draw(e,t){const r=vc(t/Kc),n=r/2,i=r*Xc,o=n,a=r*Xc+r,c=-o,l=a;e.moveTo(n,i),e.lineTo(o,a),e.lineTo(c,l),e.lineTo(qc*n-Yc*i,Yc*n+qc*i),e.lineTo(qc*o-Yc*a,Yc*o+qc*a),e.lineTo(qc*c-Yc*l,Yc*c+qc*l),e.lineTo(qc*n+Yc*i,qc*i-Yc*n),e.lineTo(qc*o+Yc*a,qc*a-Yc*o),e.lineTo(qc*c+Yc*l,qc*l-Yc*c),e.closePath()}};function Zc(){}function Jc(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function Qc(e){this._context=e}function el(e){this._context=e}function tl(e){this._context=e}function rl(e){this._context=e}function nl(e){return e<0?-1:1}function il(e,t,r){var n=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(n||i<0&&-0),a=(r-e._y1)/(i||n<0&&-0),c=(o*i+a*n)/(n+i);return(nl(o)+nl(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function ol(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function al(e,t,r){var n=e._x0,i=e._y0,o=e._x1,a=e._y1,c=(o-n)/3;e._context.bezierCurveTo(n+c,i+c*t,o-c,a-c*r,o,a)}function cl(e){this._context=e}function ll(e){this._context=new ul(e)}function ul(e){this._context=e}function sl(e){this._context=e}function fl(e){var t,r,n=e.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/o[t-1],o[t]-=r,a[t]-=r*a[t-1];for(i[n-1]=a[n-1]/o[n-1],t=n-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function pl(e,t){this._context=e,this._t=t}function hl(e,t){if((i=e.length)>1)for(var r,n,i,o=1,a=e[t[0]],c=a.length;o<i;++o)for(n=a,a=e[t[o]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function dl(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function yl(e,t){return e[t]}function vl(e){const t=[];return t.key=e,t}function gl(e){return gl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gl(e)}Qc.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:Jc(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Jc(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},el.prototype={areaStart:Zc,areaEnd:Zc,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Jc(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},tl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Jc(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},rl.prototype={areaStart:Zc,areaEnd:Zc,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},cl.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:al(this,this._t0,ol(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,al(this,ol(this,r=il(this,e,t)),r);break;default:al(this,this._t0,r=il(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(ll.prototype=Object.create(cl.prototype)).point=function(e,t){cl.prototype.point.call(this,t,e)},ul.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,o){this._context.bezierCurveTo(t,e,n,r,o,i)}},sl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var n=fl(e),i=fl(t),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},pl.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};var ml=["type","size","sizeType"];function bl(){return bl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bl.apply(this,arguments)}function wl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wl(Object(r),!0).forEach((function(t){Ol(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ol(e,t,r){return t=function(e){var t=function(e,t){if("object"!=gl(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=gl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==gl(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var jl={symbolCircle:Nc,symbolCross:Ic,symbolDiamond:Rc,symbolSquare:zc,symbolStar:Fc,symbolTriangle:Wc,symbolWye:Gc},Al=Math.PI/180,Pl=function(e){var t,r,n=e.type,i=void 0===n?"circle":n,o=e.size,a=void 0===o?64:o,c=e.sizeType,l=void 0===c?"area":c,u=xl(xl({},Sl(e,ml)),{},{type:i,size:a,sizeType:l}),s=u.className,f=u.cx,p=u.cy,h=ja(u,!0);return f===+f&&p===+p&&a===+a?Q.createElement("path",bl({},h,{className:tn("recharts-symbols",s),transform:"translate(".concat(f,", ").concat(p,")"),d:(t=function(e){var t="symbol".concat(pc(e));return jl[t]||Nc}(i),r=function(e,t){let r=null,n=Ac(i);function i(){let i;if(r||(r=i=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),i)return r=null,i+""||null}return e="function"==typeof e?e:hc(e||Nc),t="function"==typeof t?t:hc(void 0===t?64:+t),i.type=function(t){return arguments.length?(e="function"==typeof t?t:hc(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:hc(+e),i):t},i.context=function(e){return arguments.length?(r=null==e?null:e,i):r},i}().type(t).size(function(e,t,r){if("area"===t)return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var n=18*Al;return 1.25*e*e*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(a,l,i)),r())})):null};function Ml(e){return Ml="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ml(e)}function kl(){return kl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kl.apply(this,arguments)}function El(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Cl(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ll(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _l(e,t,r){return t=Dl(t),function(e,t){if(t&&("object"===Ml(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Tl()?Reflect.construct(t,r||[],Dl(e).constructor):t.apply(e,r))}function Tl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Tl=function(){return!!e})()}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dl(e)}function Nl(e,t){return Nl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nl(e,t)}function Il(e,t,r){return(t=Ll(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){var t=function(e,t){if("object"!=Ml(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ml(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ml(t)?t:String(t)}Pl.registerSymbol=function(e,t){jl["symbol".concat(pc(e))]=t};var Bl=32,Rl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_l(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nl(e,t)}(t,re),Cl(t,[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,r=16,n=Bl/6,i=Bl/3,o=e.inactive?t:e.color;if("plainline"===e.type)return Q.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:Bl,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return Q.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(r,"h").concat(i,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(Bl,"M").concat(2*i,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return Q.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(Bl,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(Q.isValidElement(e.legendIcon)){var a=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?El(Object(r),!0).forEach((function(t){Il(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):El(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);return delete a.legendIcon,Q.cloneElement(e.legendIcon,a)}return Q.createElement(Pl,{fill:o,cx:r,cy:r,size:Bl,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,r=t.payload,n=t.iconSize,i=t.layout,o=t.formatter,a=t.inactiveColor,c={x:0,y:0,width:Bl,height:Bl},l={display:"horizontal"===i?"inline-block":"block",marginRight:10},u={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(t,r){var i=t.formatter||o,s=tn(Il(Il({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",t.inactive));if("none"===t.type)return null;var f=In(t.value)?null:t.value;Ba(!In(t.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 p=t.inactive?a:t.color;return Q.createElement("li",kl({className:s,style:l,key:"legend-item-".concat(r)},ua(e.props,t,r)),Q.createElement(_a,{width:n,height:n,viewBox:c,style:u},e.renderIcon(t)),Q.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},i?i(f,t,r):f))}))}},{key:"render",value:function(){var e=this.props,t=e.payload,r=e.layout,n=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return Q.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}]),t}();Il(Rl,"displayName","Legend"),Il(Rl,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var zl=Di;var $l=Di,Hl=Ni,Vl=Gi;var Fl=Di,Ul=function(){this.__data__=new zl,this.size=0},Wl=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},ql=function(e){return this.__data__.get(e)},Yl=function(e){return this.__data__.has(e)},Xl=function(e,t){var r=this.__data__;if(r instanceof $l){var n=r.__data__;if(!Hl||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Vl(n)}return r.set(e,t),this.size=r.size,this};function Kl(e){var t=this.__data__=new Fl(e);this.size=t.size}Kl.prototype.clear=Ul,Kl.prototype.delete=Wl,Kl.prototype.get=ql,Kl.prototype.has=Yl,Kl.prototype.set=Xl;var Gl=Kl;var Zl=Gi,Jl=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ql=function(e){return this.__data__.has(e)};function eu(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Zl;++t<r;)this.add(e[t])}eu.prototype.add=eu.prototype.push=Jl,eu.prototype.has=Ql;var tu=eu;var ru=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var nu=function(e,t){return e.has(t)},iu=tu,ou=ru,au=nu;var cu=function(e,t,r,n,i,o){var a=1&r,c=e.length,l=t.length;if(c!=l&&!(a&&l>c))return!1;var u=o.get(e),s=o.get(t);if(u&&s)return u==t&&s==e;var f=-1,p=!0,h=2&r?new iu:void 0;for(o.set(e,t),o.set(t,e);++f<c;){var d=e[f],y=t[f];if(n)var v=a?n(y,d,f,t,e,o):n(d,y,f,e,t,o);if(void 0!==v){if(v)continue;p=!1;break}if(h){if(!ou(t,(function(e,t){if(!au(h,t)&&(d===e||i(d,e,r,n,o)))return h.push(t)}))){p=!1;break}}else if(d!==y&&!i(d,y,r,n,o)){p=!1;break}}return o.delete(e),o.delete(t),p};var lu=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r};var uu=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r},su=cn.Uint8Array,fu=bi,pu=cu,hu=lu,du=uu,yu=ln?ln.prototype:void 0,vu=yu?yu.valueOf:void 0;var gu=function(e,t,r,n,i,o,a){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new su(e),new su(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return fu(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var c=hu;case"[object Set]":var l=1&n;if(c||(c=du),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;n|=2,a.set(e,t);var s=pu(c(e),c(t),n,i,o,a);return a.delete(e),s;case"[object Symbol]":if(vu)return vu.call(e)==vu.call(t)}return!1};var mu=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e},bu=mu,wu=rn;var xu=function(e,t,r){var n=t(e);return wu(e)?n:bu(n,r(e))};var Ou=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o};var Su=Ou,ju=function(){return[]},Au=Object.prototype.propertyIsEnumerable,Pu=Object.getOwnPropertySymbols,Mu=Pu?function(e){return null==e?[]:(e=Object(e),Su(Pu(e),(function(t){return Au.call(e,t)})))}:ju,ku=Mu;var Eu=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},Cu=bn,_u=wn;var Tu=function(e){return _u(e)&&"[object Arguments]"==Cu(e)},Du=wn,Nu=Object.prototype,Iu=Nu.hasOwnProperty,Lu=Nu.propertyIsEnumerable,Bu=Tu(function(){return arguments}())?Tu:function(e){return Du(e)&&Iu.call(e,"callee")&&!Lu.call(e,"callee")},Ru={exports:{}};var zu=function(){return!1};!function(e,t){var r=cn,n=zu,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||n;e.exports=c}(Ru,Ru.exports);var $u=Ru.exports,Hu=/^(?:0|[1-9]\d*)$/;var Vu=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&Hu.test(e))&&e>-1&&e%1==0&&e<t};var Fu=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Uu=bn,Wu=Fu,qu=wn,Yu={};Yu["[object Float32Array]"]=Yu["[object Float64Array]"]=Yu["[object Int8Array]"]=Yu["[object Int16Array]"]=Yu["[object Int32Array]"]=Yu["[object Uint8Array]"]=Yu["[object Uint8ClampedArray]"]=Yu["[object Uint16Array]"]=Yu["[object Uint32Array]"]=!0,Yu["[object Arguments]"]=Yu["[object Array]"]=Yu["[object ArrayBuffer]"]=Yu["[object Boolean]"]=Yu["[object DataView]"]=Yu["[object Date]"]=Yu["[object Error]"]=Yu["[object Function]"]=Yu["[object Map]"]=Yu["[object Number]"]=Yu["[object Object]"]=Yu["[object RegExp]"]=Yu["[object Set]"]=Yu["[object String]"]=Yu["[object WeakMap]"]=!1;var Xu=function(e){return qu(e)&&Wu(e.length)&&!!Yu[Uu(e)]};var Ku=function(e){return function(t){return e(t)}},Gu={exports:{}};!function(e,t){var r=nn,n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,o=i&&i.exports===n&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(Gu,Gu.exports);var Zu=Gu.exports,Ju=Xu,Qu=Ku,es=Zu&&Zu.isTypedArray,ts=es?Qu(es):Ju,rs=Eu,ns=Bu,is=rn,os=$u,as=Vu,cs=ts,ls=Object.prototype.hasOwnProperty;var us=function(e,t){var r=is(e),n=!r&&ns(e),i=!r&&!n&&os(e),o=!r&&!n&&!i&&cs(e),a=r||n||i||o,c=a?rs(e.length,String):[],l=c.length;for(var u in e)!t&&!ls.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||as(u,l))||c.push(u);return c},ss=Object.prototype;var fs=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ss)};var ps=function(e,t){return function(r){return e(t(r))}},hs=ps(Object.keys,Object),ds=fs,ys=hs,vs=Object.prototype.hasOwnProperty;var gs=function(e){if(!ds(e))return ys(e);var t=[];for(var r in Object(e))vs.call(e,r)&&"constructor"!=r&&t.push(r);return t},ms=Nn,bs=Fu;var ws=function(e){return null!=e&&bs(e.length)&&!ms(e)},xs=us,Os=gs,Ss=ws;var js=function(e){return Ss(e)?xs(e):Os(e)},As=xu,Ps=ku,Ms=js;var ks=function(e){return As(e,Ms,Ps)},Es=ks,Cs=Object.prototype.hasOwnProperty;var _s=function(e,t,r,n,i,o){var a=1&r,c=Es(e),l=c.length;if(l!=Es(t).length&&!a)return!1;for(var u=l;u--;){var s=c[u];if(!(a?s in t:Cs.call(t,s)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var h=!0;o.set(e,t),o.set(t,e);for(var d=a;++u<l;){var y=e[s=c[u]],v=t[s];if(n)var g=a?n(v,y,s,t,e,o):n(y,v,s,e,t,o);if(!(void 0===g?y===v||i(y,v,r,n,o):g)){h=!1;break}d||(d="constructor"==s)}if(h&&!d){var m=e.constructor,b=t.constructor;m==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(e),o.delete(t),h},Ts=ei(cn,"DataView"),Ds=ei(cn,"Promise"),Ns=ei(cn,"Set"),Is=Ts,Ls=Ni,Bs=Ds,Rs=Ns,zs=ei(cn,"WeakMap"),$s=bn,Hs=$n,Vs="[object Map]",Fs="[object Promise]",Us="[object Set]",Ws="[object WeakMap]",qs="[object DataView]",Ys=Hs(Is),Xs=Hs(Ls),Ks=Hs(Bs),Gs=Hs(Rs),Zs=Hs(zs),Js=$s;(Is&&Js(new Is(new ArrayBuffer(1)))!=qs||Ls&&Js(new Ls)!=Vs||Bs&&Js(Bs.resolve())!=Fs||Rs&&Js(new Rs)!=Us||zs&&Js(new zs)!=Ws)&&(Js=function(e){var t=$s(e),r="[object Object]"==t?e.constructor:void 0,n=r?Hs(r):"";if(n)switch(n){case Ys:return qs;case Xs:return Vs;case Ks:return Fs;case Gs:return Us;case Zs:return Ws}return t});var Qs=Gl,ef=cu,tf=gu,rf=_s,nf=Js,of=rn,af=$u,cf=ts,lf="[object Arguments]",uf="[object Array]",sf="[object Object]",ff=Object.prototype.hasOwnProperty;var pf=function(e,t,r,n,i,o){var a=of(e),c=of(t),l=a?uf:nf(e),u=c?uf:nf(t),s=(l=l==lf?sf:l)==sf,f=(u=u==lf?sf:u)==sf,p=l==u;if(p&&af(e)){if(!af(t))return!1;a=!0,s=!1}if(p&&!s)return o||(o=new Qs),a||cf(e)?ef(e,t,r,n,i,o):tf(e,t,l,r,n,i,o);if(!(1&r)){var h=s&&ff.call(e,"__wrapped__"),d=f&&ff.call(t,"__wrapped__");if(h||d){var y=h?e.value():e,v=d?t.value():t;return o||(o=new Qs),i(y,v,r,n,o)}}return!!p&&(o||(o=new Qs),rf(e,t,r,n,i,o))},hf=pf,df=wn;var yf=function e(t,r,n,i,o){return t===r||(null==t||null==r||!df(t)&&!df(r)?t!=t&&r!=r:hf(t,r,n,i,e,o))},vf=Gl,gf=yf;var mf=function(e,t,r,n){var i=r.length,o=i,a=!n;if(null==e)return!o;for(e=Object(e);i--;){var c=r[i];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<o;){var l=(c=r[i])[0],u=e[l],s=c[1];if(a&&c[2]){if(void 0===u&&!(l in e))return!1}else{var f=new vf;if(n)var p=n(u,s,l,e,t,f);if(!(void 0===p?gf(s,u,3,n,f):p))return!1}}return!0},bf=En;var wf=function(e){return e==e&&!bf(e)},xf=wf,Of=js;var Sf=function(e){for(var t=Of(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,xf(i)]}return t};var jf=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}},Af=mf,Pf=Sf,Mf=jf;var kf=function(e){var t=Pf(e);return 1==t.length&&t[0][2]?Mf(t[0][0],t[0][1]):function(r){return r===e||Af(r,e,t)}};var Ef=function(e,t){return null!=e&&t in Object(e)},Cf=wo,_f=Bu,Tf=rn,Df=Vu,Nf=Fu,If=Oo;var Lf=function(e,t,r){for(var n=-1,i=(t=Cf(t,e)).length,o=!1;++n<i;){var a=If(t[n]);if(!(o=null!=e&&r(e,a)))break;e=e[a]}return o||++n!=i?o:!!(i=null==e?0:e.length)&&Nf(i)&&Df(a,i)&&(Tf(e)||_f(e))},Bf=Ef,Rf=Lf;var zf=function(e,t){return null!=e&&Rf(e,t,Bf)},$f=yf,Hf=Mo,Vf=zf,Ff=kn,Uf=wf,Wf=jf,qf=Oo;var Yf=function(e,t){return Ff(e)&&Uf(t)?Wf(qf(e),t):function(r){var n=Hf(r,e);return void 0===n&&n===t?Vf(r,e):$f(t,n,3)}};var Xf=function(e){return e};var Kf=function(e){return function(t){return null==t?void 0:t[e]}},Gf=Ao;var Zf=function(e){return function(t){return Gf(t,e)}},Jf=Kf,Qf=Zf,ep=kn,tp=Oo;var rp=kf,np=Yf,ip=Xf,op=rn,ap=function(e){return ep(e)?Jf(tp(e)):Qf(e)};var cp=function(e){return"function"==typeof e?e:null==e?ip:"object"==typeof e?op(e)?np(e[0],e[1]):rp(e):ap(e)};var lp=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1};var up=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1},sp=lp,fp=function(e){return e!=e},pp=up;var hp=function(e,t,r){return t==t?pp(e,t,r):sp(e,fp,r)},dp=hp;var yp=function(e,t){return!!(null==e?0:e.length)&&dp(e,t,0)>-1};var vp=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1};var gp=Ns,mp=function(){},bp=gp&&1/uu(new gp([,-0]))[1]==1/0?function(e){return new gp(e)}:mp,wp=tu,xp=yp,Op=vp,Sp=nu,jp=bp,Ap=uu;var Pp=function(e,t,r){var n=-1,i=xp,o=e.length,a=!0,c=[],l=c;if(r)a=!1,i=Op;else if(o>=200){var u=t?null:jp(e);if(u)return Ap(u);a=!1,i=Sp,l=new wp}else l=t?[]:c;e:for(;++n<o;){var s=e[n],f=t?t(s):s;if(s=r||0!==s?s:0,a&&f==f){for(var p=l.length;p--;)if(l[p]===f)continue e;t&&l.push(f),c.push(s)}else i(l,f,r)||(l!==c&&l.push(f),c.push(s))}return c},Mp=cp,kp=Pp;var Ep=function(e,t){return e&&e.length?kp(e,Mp(t)):[]},Cp=Wt(Ep);function _p(e,t,r){return!0===t?Cp(e,r):In(t)?Cp(e,t):e}function Tp(e){return Tp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tp(e)}var Dp=["ref"];function Np(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ip(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Np(Object(r),!0).forEach((function(t){Vp(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Np(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Lp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Fp(n.key),n)}}function Bp(e,t,r){return t=zp(t),function(e,t){if(t&&("object"===Tp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $p(e)}(e,Rp()?Reflect.construct(t,r||[],zp(e).constructor):t.apply(e,r))}function Rp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Rp=function(){return!!e})()}function zp(e){return zp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zp(e)}function $p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hp(e,t){return Hp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hp(e,t)}function Vp(e,t,r){return(t=Fp(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fp(e){var t=function(e,t){if("object"!=Tp(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Tp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Tp(t)?t:String(t)}function Up(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Wp(e){return e.value}var qp=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Vp($p(e=Bp(this,t,[].concat(n))),"lastBoundingBox",{width:-1,height:-1}),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hp(e,t)}(t,re),r=t,i=[{key:"getWithHeight",value:function(e,t){var r=e.props.layout;return"vertical"===r&&Xo(e.props.height)?{height:e.props.height}:"horizontal"===r?{width:e.props.width||t}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(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,e&&e(t)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Ip({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,c=n.margin,l=n.chartWidth,u=n.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===o&&"vertical"===i?{left:((l||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{right:c&&c.right||0}:{left:c&&c.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(r="middle"===a?{top:((u||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Ip(Ip({},t),r)}},{key:"render",value:function(){var e=this,t=this.props,r=t.content,n=t.width,i=t.height,o=t.wrapperStyle,a=t.payloadUniqBy,c=t.payload,l=Ip(Ip({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(o)),o);return Q.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(t){e.wrapperNode=t}},function(e,t){if(Q.isValidElement(e))return Q.cloneElement(e,t);if("function"==typeof e)return Q.createElement(e,t);t.ref;var r=Up(t,Dp);return Q.createElement(Rl,r)}(r,Ip(Ip({},this.props),{},{payload:_p(c,a,Wp)})))}}])&&Lp(r.prototype,n),i&&Lp(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();Vp(qp,"displayName","Legend"),Vp(qp,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Yp=Bu,Xp=rn,Kp=ln?ln.isConcatSpreadable:void 0;var Gp=mu,Zp=function(e){return Xp(e)||Yp(e)||!!(Kp&&e&&e[Kp])};var Jp=function e(t,r,n,i,o){var a=-1,c=t.length;for(n||(n=Zp),o||(o=[]);++a<c;){var l=t[a];r>0&&n(l)?r>1?e(l,r-1,n,i,o):Gp(o,l):i||(o[o.length]=l)}return o};var Qp=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),c=a.length;c--;){var l=a[e?c:++i];if(!1===r(o[l],l,o))break}return t}},eh=Qp(),th=js;var rh=function(e,t){return e&&eh(e,t,th)},nh=ws;var ih=function(e,t){return function(r,n){if(null==r)return r;if(!nh(r))return e(r,n);for(var i=r.length,o=t?i:-1,a=Object(r);(t?o--:++o<i)&&!1!==n(a[o],o,a););return r}}(rh),oh=ih,ah=ws;var ch=function(e,t){var r=-1,n=ah(e)?Array(e.length):[];return oh(e,(function(e,i,o){n[++r]=t(e,i,o)})),n};var lh=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e},uh=Sn;var sh=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=e==e,o=uh(e),a=void 0!==t,c=null===t,l=t==t,u=uh(t);if(!c&&!u&&!o&&e>t||o&&a&&l&&!c&&!u||n&&a&&l||!r&&l||!i)return 1;if(!n&&!o&&!u&&e<t||u&&r&&i&&!n&&!o||c&&r&&i||!a&&i||!l)return-1}return 0};var fh=function(e,t,r){for(var n=-1,i=e.criteria,o=t.criteria,a=i.length,c=r.length;++n<a;){var l=sh(i[n],o[n]);if(l)return n>=c?l:l*("desc"==r[n]?-1:1)}return e.index-t.index},ph=ao,hh=Ao,dh=cp,yh=ch,vh=lh,gh=Ku,mh=fh,bh=Xf,wh=rn;var xh=function(e,t,r){t=t.length?ph(t,(function(e){return wh(e)?function(t){return hh(t,1===e.length?e[0]:e)}:e})):[bh];var n=-1;t=ph(t,gh(dh));var i=yh(e,(function(e,r,i){return{criteria:ph(t,(function(t){return t(e)})),index:++n,value:e}}));return vh(i,(function(e,t){return mh(e,t,r)}))};var Oh=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)},Sh=Math.max;var jh=function(e,t,r){return t=Sh(void 0===t?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=Sh(n.length-t,0),a=Array(o);++i<o;)a[i]=n[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=n[i];return c[t]=r(a),Oh(e,this,c)}};var Ah=function(e){return function(){return e}},Ph=ei,Mh=function(){try{var e=Ph(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),kh=Ah,Eh=Mh,Ch=Eh?function(e,t){return Eh(e,"toString",{configurable:!0,enumerable:!1,value:kh(t),writable:!0})}:Xf,_h=Ch,Th=Date.now;var Dh=function(e){var t=0,r=0;return function(){var n=Th(),i=16-(n-r);if(r=n,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(_h),Nh=Xf,Ih=jh,Lh=Dh;var Bh=bi,Rh=ws,zh=Vu,$h=En;var Hh=function(e,t,r){if(!$h(r))return!1;var n=typeof t;return!!("number"==n?Rh(r)&&zh(t,r.length):"string"==n&&t in r)&&Bh(r[t],e)},Vh=Jp,Fh=xh,Uh=Hh,Wh=Wt(function(e,t){return Lh(Ih(e,t,Nh),e+"")}((function(e,t){if(null==e)return[];var r=t.length;return r>1&&Uh(e,t[0],t[1])?t=[]:r>2&&Uh(t[0],t[1],t[2])&&(t=[t[0]]),Fh(e,Vh(t,1),[])})));function qh(e){return qh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qh(e)}function Yh(){return Yh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yh.apply(this,arguments)}function Xh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Kh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kh(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Gh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gh(Object(r),!0).forEach((function(t){Jh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Jh(e,t,r){return t=function(e){var t=function(e,t){if("object"!=qh(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=qh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qh(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qh(e){return Array.isArray(e)&&Ko(e[0])&&Ko(e[1])?e.join(" ~ "):e}var ed=function(e){var t=e.separator,r=void 0===t?" : ":t,n=e.contentStyle,i=void 0===n?{}:n,o=e.itemStyle,a=void 0===o?{}:o,c=e.labelStyle,l=void 0===c?{}:c,u=e.payload,s=e.formatter,f=e.itemSorter,p=e.wrapperClassName,h=e.labelClassName,d=e.label,y=e.labelFormatter,v=e.accessibilityLayer,g=void 0!==v&&v,m=Zh({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),b=Zh({margin:0},l),w=!Eo(d),x=w?d:"",O=tn("recharts-default-tooltip",p),S=tn("recharts-tooltip-label",h);w&&y&&null!=u&&(x=y(d,u));var j=g?{role:"status","aria-live":"assertive"}:{};return Q.createElement("div",Yh({className:O,style:m},j),Q.createElement("p",{className:S,style:b},Q.isValidElement(x)?x:"".concat(x)),function(){if(u&&u.length){var e=(f?Wh(u,f):u).map((function(e,t){if("none"===e.type)return null;var n=Zh({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},a),i=e.formatter||s||Qh,o=e.value,c=e.name,l=o,f=c;if(i&&null!=l&&null!=f){var p=i(o,c,e,t,u);if(Array.isArray(p)){var h=Xh(p,2);l=h[0],f=h[1]}else l=p}return Q.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),style:n},Ko(f)?Q.createElement("span",{className:"recharts-tooltip-item-name"},f):null,Ko(f)?Q.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,Q.createElement("span",{className:"recharts-tooltip-item-value"},l),Q.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return Q.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function td(e){return td="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},td(e)}function rd(e,t,r){return t=function(e){var t=function(e,t){if("object"!=td(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=td(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==td(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var nd="recharts-tooltip-wrapper",id={visibility:"hidden"};function od(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return tn(nd,rd(rd(rd(rd({},"".concat(nd,"-right"),Xo(r)&&t&&Xo(t.x)&&r>=t.x),"".concat(nd,"-left"),Xo(r)&&t&&Xo(t.x)&&r<t.x),"".concat(nd,"-bottom"),Xo(n)&&t&&Xo(t.y)&&n>=t.y),"".concat(nd,"-top"),Xo(n)&&t&&Xo(t.y)&&n<t.y))}function ad(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.key,i=e.offsetTopLeft,o=e.position,a=e.reverseDirection,c=e.tooltipDimension,l=e.viewBox,u=e.viewBoxDimension;if(o&&Xo(o[n]))return o[n];var s=r[n]-c-i,f=r[n]+i;return t[n]?a[n]?s:f:a[n]?s<l[n]?Math.max(f,l[n]):Math.max(s,l[n]):f+c>l[n]+u?Math.max(s,l[n]):Math.max(f,l[n])}function cd(e){return cd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cd(e)}function ld(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ud(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ld(Object(r),!0).forEach((function(t){vd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ld(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sd(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,gd(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function fd(e,t,r){return t=hd(t),function(e,t){if(t&&("object"===cd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return dd(e)}(e,pd()?Reflect.construct(t,r||[],hd(e).constructor):t.apply(e,r))}function pd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pd=function(){return!!e})()}function hd(e){return hd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hd(e)}function dd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yd(e,t){return yd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yd(e,t)}function vd(e,t,r){return(t=gd(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gd(e){var t=function(e,t){if("object"!=cd(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=cd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==cd(t)?t:String(t)}var md=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return vd(dd(e=fd(this,t,[].concat(n))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),vd(dd(e),"handleKeyDown",(function(t){var r,n,i,o;"Escape"===t.key&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(r=null===(n=e.props.coordinate)||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(i=null===(o=e.props.coordinate)||void 0===o?void 0:o.y)&&void 0!==i?i:0}})})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yd(e,t)}(t,re),sd(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,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 e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)===this.state.dismissedAtCoordinate.x&&(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var e=this,t=this.props,r=t.active,n=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.children,c=t.coordinate,l=t.hasPayload,u=t.isAnimationActive,s=t.offset,f=t.position,p=t.reverseDirection,h=t.useTranslate3d,d=t.viewBox,y=t.wrapperStyle,v=function(e){var t,r,n=e.allowEscapeViewBox,i=e.coordinate,o=e.offsetTopLeft,a=e.position,c=e.reverseDirection,l=e.tooltipBox,u=e.useTranslate3d,s=e.viewBox;return{cssProperties:l.height>0&&l.width>0&&i?function(e){var t=e.translateX,r=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}({translateX:t=ad({allowEscapeViewBox:n,coordinate:i,key:"x",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=ad({allowEscapeViewBox:n,coordinate:i,key:"y",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:u}):id,cssClasses:od({translateX:t,translateY:r,coordinate:i})}}({allowEscapeViewBox:n,coordinate:c,offsetTopLeft:s,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:h,viewBox:d}),g=v.cssClasses,m=v.cssProperties,b=ud(ud({transition:u&&r?"transform ".concat(i,"ms ").concat(o):void 0},m),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&l?"visible":"hidden",position:"absolute",top:0,left:0},y);return Q.createElement("div",{tabIndex:-1,className:g,style:b,ref:function(t){e.wrapperNode=t}},a)}}]),t}(),bd={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return bd[e]},set:function(e,t){if("string"==typeof e)bd[e]=t;else{var r=Object.keys(e);r&&r.length&&r.forEach((function(t){bd[t]=e[t]}))}}};function wd(e){return wd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wd(e)}function xd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Od(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xd(Object(r),!0).forEach((function(t){kd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Sd(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ed(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function jd(e,t,r){return t=Pd(t),function(e,t){if(t&&("object"===wd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ad()?Reflect.construct(t,r||[],Pd(e).constructor):t.apply(e,r))}function Ad(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ad=function(){return!!e})()}function Pd(e){return Pd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pd(e)}function Md(e,t){return Md=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Md(e,t)}function kd(e,t,r){return(t=Ed(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ed(e){var t=function(e,t){if("object"!=wd(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=wd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==wd(t)?t:String(t)}function Cd(e){return e.dataKey}var _d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),jd(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Md(e,t)}(t,re),Sd(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.active,n=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.content,c=t.coordinate,l=t.filterNull,u=t.isAnimationActive,s=t.offset,f=t.payload,p=t.payloadUniqBy,h=t.position,d=t.reverseDirection,y=t.useTranslate3d,v=t.viewBox,g=t.wrapperStyle,m=null!=f?f:[];l&&m.length&&(m=_p(f.filter((function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)})),p,Cd));var b=m.length>0;return Q.createElement(md,{allowEscapeViewBox:n,animationDuration:i,animationEasing:o,isAnimationActive:u,active:r,coordinate:c,hasPayload:b,offset:s,position:h,reverseDirection:d,useTranslate3d:y,viewBox:v,wrapperStyle:g},function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):"function"==typeof e?Q.createElement(e,t):Q.createElement(ed,t)}(a,Od(Od({},this.props),{},{payload:m})))}}]),t}();kd(_d,"displayName","Tooltip"),kd(_d,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!bd.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:{}});var Td=cn,Dd=/\s/;var Nd=function(e){for(var t=e.length;t--&&Dd.test(e.charAt(t)););return t},Id=Nd,Ld=/^\s+/;var Bd=function(e){return e?e.slice(0,Id(e)+1).replace(Ld,""):e},Rd=Bd,zd=En,$d=Sn,Hd=/^[-+]0x[0-9a-f]+$/i,Vd=/^0b[01]+$/i,Fd=/^0o[0-7]+$/i,Ud=parseInt;var Wd=function(e){if("number"==typeof e)return e;if($d(e))return NaN;if(zd(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=zd(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Rd(e);var r=Vd.test(e);return r||Fd.test(e)?Ud(e.slice(2),r?2:8):Hd.test(e)?NaN:+e},qd=En,Yd=function(){return Td.Date.now()},Xd=Wd,Kd=Math.max,Gd=Math.min;var Zd=function(e,t,r){var n,i,o,a,c,l,u=0,s=!1,f=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var r=n,o=i;return n=i=void 0,u=t,a=e.apply(o,r)}function d(e){var r=e-l;return void 0===l||r>=t||r<0||f&&e-u>=o}function y(){var e=Yd();if(d(e))return v(e);c=setTimeout(y,function(e){var r=t-(e-l);return f?Gd(r,o-(e-u)):r}(e))}function v(e){return c=void 0,p&&n?h(e):(n=i=void 0,a)}function g(){var e=Yd(),r=d(e);if(n=arguments,i=this,l=e,r){if(void 0===c)return function(e){return u=e,c=setTimeout(y,t),s?h(e):a}(l);if(f)return clearTimeout(c),c=setTimeout(y,t),h(l)}return void 0===c&&(c=setTimeout(y,t)),a}return t=Xd(t)||0,qd(r)&&(s=!!r.leading,o=(f="maxWait"in r)?Kd(Xd(r.maxWait)||0,t):o,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==c&&clearTimeout(c),u=0,n=l=i=c=void 0},g.flush=function(){return void 0===c?a:v(Yd())},g},Jd=Zd,Qd=En;var ey=Wt((function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Qd(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Jd(e,t,{leading:n,maxWait:t,trailing:i})}));function ty(e){return ty="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ty(e)}function ry(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ny(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ry(Object(r),!0).forEach((function(t){iy(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ry(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function iy(e,t,r){return t=function(e){var t=function(e,t){if("object"!=ty(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ty(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ty(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ay(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ay(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ay(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var cy=ne((function(e,t){var r=e.aspect,n=e.initialDimension,i=void 0===n?{width:-1,height:-1}:n,o=e.width,a=void 0===o?"100%":o,c=e.height,l=void 0===c?"100%":c,u=e.minWidth,s=void 0===u?0:u,f=e.minHeight,p=e.maxHeight,h=e.children,d=e.debounce,y=void 0===d?0:d,v=e.id,g=e.className,m=e.onResize,b=e.style,w=void 0===b?{}:b,x=ie(null),O=ie();O.current=m,oe(t,(function(){return Object.defineProperty(x.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),x.current},configurable:!0})}));var S=oy(ae({containerWidth:i.width,containerHeight:i.height}),2),j=S[0],A=S[1],P=ce((function(e,t){A((function(r){var n=Math.round(e),i=Math.round(t);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}}))}),[]);le((function(){var e=function(e){var t,r=e[0].contentRect,n=r.width,i=r.height;P(n,i),null===(t=O.current)||void 0===t||t.call(O,n,i)};y>0&&(e=ey(e,y,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),r=x.current.getBoundingClientRect(),n=r.width,i=r.height;return P(n,i),t.observe(x.current),function(){t.disconnect()}}),[P,y]);var M=ue((function(){var e=j.containerWidth,t=j.containerHeight;if(e<0||t<0)return null;Ba(Yo(a)||Yo(l),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,l),Ba(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=Yo(a)?e:a,i=Yo(l)?t:l;r&&r>0&&(n?i=n/r:i&&(n=i*r),p&&i>p&&(i=p)),Ba(n>0||i>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.",n,i,a,l,s,f,r);var o=!Array.isArray(h)&&zo.isElement(h)&&ya(h.type).endsWith("Chart");return Q.Children.map(h,(function(e){return zo.isElement(e)?se(e,ny({width:n,height:i},o?{style:ny({height:"100%",width:"100%",maxHeight:i,maxWidth:n},e.props.style)}:{})):e}))}),[r,h,l,p,f,s,j,a]);return Q.createElement("div",{id:v?"".concat(v):void 0,className:tn("recharts-responsive-container",g),style:ny(ny({},w),{},{width:a,height:l,minWidth:s,minHeight:f,maxHeight:p}),ref:x},M)})),ly=function(e){return null};function uy(e){return uy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uy(e)}function sy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fy(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sy(Object(r),!0).forEach((function(t){py(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sy(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function py(e,t,r){return t=function(e){var t=function(e,t){if("object"!=uy(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=uy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uy(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}ly.displayName="Cell";var hy={widthCache:{},cacheCount:0},dy={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},yy="recharts_measurement_span";var vy=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||bd.isSsr)return{width:0,height:0};var r,n=(r=fy({},t),Object.keys(r).forEach((function(e){r[e]||delete r[e]})),r),i=JSON.stringify({text:e,copyStyle:n});if(hy.widthCache[i])return hy.widthCache[i];try{var o=document.getElementById(yy);o||((o=document.createElement("span")).setAttribute("id",yy),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=fy(fy({},dy),n);Object.assign(o.style,a),o.textContent="".concat(e);var c=o.getBoundingClientRect(),l={width:c.width,height:c.height};return hy.widthCache[i]=l,++hy.cacheCount>2e3&&(hy.cacheCount=0,hy.widthCache={}),l}catch(e){return{width:0,height:0}}};function gy(e){return gy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gy(e)}function my(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return by(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return by(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function by(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function wy(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,xy(n.key),n)}}function xy(e){var t=function(e,t){if("object"!=gy(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=gy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==gy(t)?t:String(t)}var Oy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Sy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,jy=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,Ay=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Py={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},My=Object.keys(Py),ky="NaN";var Ey=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),""===r||jy.test(r)||(this.num=NaN,this.unit=""),My.includes(r)&&(this.num=function(e,t){return e*Py[t]}(t,r),this.unit="px")}var t,r,n;return t=e,n=[{key:"parse",value:function(t){var r,n=my(null!==(r=Ay.exec(t))&&void 0!==r?r:[],3),i=n[1],o=n[2];return new e(parseFloat(i),null!=o?o:"")}}],(r=[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&wy(t.prototype,r),n&&wy(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Cy(e){if(e.includes(ky))return ky;for(var t=e;t.includes("*")||t.includes("/");){var r,n=my(null!==(r=Oy.exec(t))&&void 0!==r?r:[],4),i=n[1],o=n[2],a=n[3],c=Ey.parse(null!=i?i:""),l=Ey.parse(null!=a?a:""),u="*"===o?c.multiply(l):c.divide(l);if(u.isNaN())return ky;t=t.replace(Oy,u.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var s,f=my(null!==(s=Sy.exec(t))&&void 0!==s?s:[],4),p=f[1],h=f[2],d=f[3],y=Ey.parse(null!=p?p:""),v=Ey.parse(null!=d?d:""),g="+"===h?y.add(v):y.subtract(v);if(g.isNaN())return ky;t=t.replace(Sy,g.toString())}return t}var _y=/\(([^()]*)\)/;function Ty(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var r=my(_y.exec(t),2)[1];t=t.replace(_y,Cy(r))}return t}(t),t=Cy(t)}function Dy(e){var t=function(e){try{return Ty(e)}catch(e){return ky}}(e.slice(5,-1));return t===ky?"":t}var Ny=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],Iy=["dx","dy","angle","className","breakAll"];function Ly(){return Ly=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ly.apply(this,arguments)}function By(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Ry(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return zy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return zy(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var $y=/[ \f\n\r\t\v\u2028\u2029]+/,Hy=function(e){var t=e.children,r=e.breakAll,n=e.style;try{var i=[];return Eo(t)||(i=r?t.toString().split(""):t.toString().split($y)),{wordsWithComputedWidth:i.map((function(e){return{word:e,width:vy(e,n).width}})),spaceWidth:r?0:vy(" ",n).width}}catch(e){return null}},Vy=function(e){return[{words:Eo(e)?[]:e.toString().split($y)}]},Fy=function(e){var t=e.width,r=e.scaleToFit,n=e.children,i=e.style,o=e.breakAll,a=e.maxLines;if((t||r)&&!bd.isSsr){var c=Hy({breakAll:o,children:n,style:i});return c?function(e,t,r,n,i){var o=e.maxLines,a=e.children,c=e.style,l=e.breakAll,u=Xo(o),s=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var o=t.word,a=t.width,c=e[e.length-1];if(c&&(null==n||i||c.width+a+r<Number(n)))c.words.push(o),c.width+=a+r;else{var l={words:[o],width:a};e.push(l)}return e}),[])},p=f(t);if(!u)return p;for(var h,d=function(e){var t=s.slice(0,e),r=Hy({breakAll:l,style:c,children:t+"…"}).wordsWithComputedWidth,i=f(r),a=i.length>o||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(i).width>Number(n);return[a,i]},y=0,v=s.length-1,g=0;y<=v&&g<=s.length-1;){var m=Math.floor((y+v)/2),b=Ry(d(m-1),2),w=b[0],x=b[1],O=Ry(d(m),1)[0];if(w||O||(y=m+1),w&&O&&(v=m-1),!w&&O){h=x;break}g++}return h||p}({breakAll:o,children:n,maxLines:a,style:i},c.wordsWithComputedWidth,c.spaceWidth,t,r):Vy(n)}return Vy(n)},Uy="#808080",Wy=function(e){var t=e.x,r=void 0===t?0:t,n=e.y,i=void 0===n?0:n,o=e.lineHeight,a=void 0===o?"1em":o,c=e.capHeight,l=void 0===c?"0.71em":c,u=e.scaleToFit,s=void 0!==u&&u,f=e.textAnchor,p=void 0===f?"start":f,h=e.verticalAnchor,d=void 0===h?"end":h,y=e.fill,v=void 0===y?Uy:y,g=By(e,Ny),m=ue((function(){return Fy({breakAll:g.breakAll,children:g.children,maxLines:g.maxLines,scaleToFit:s,style:g.style,width:g.width})}),[g.breakAll,g.children,g.maxLines,s,g.style,g.width]),b=g.dx,w=g.dy,x=g.angle,O=g.className,S=g.breakAll,j=By(g,Iy);if(!Ko(r)||!Ko(i))return null;var A,P=r+(Xo(b)?b:0),M=i+(Xo(w)?w:0);switch(d){case"start":A=Dy("calc(".concat(l,")"));break;case"middle":A=Dy("calc(".concat((m.length-1)/2," * -").concat(a," + (").concat(l," / 2))"));break;default:A=Dy("calc(".concat(m.length-1," * -").concat(a,")"))}var k=[];if(s){var E=m[0].width,C=g.width;k.push("scale(".concat((Xo(C)?C/E:1)/E,")"))}return x&&k.push("rotate(".concat(x,", ").concat(P,", ").concat(M,")")),k.length&&(j.transform=k.join(" ")),Q.createElement("text",Ly({},ja(j,!0),{x:P,y:M,className:tn("recharts-text",O),textAnchor:p,fill:v.includes("url")?Uy:v}),m.map((function(e,t){var r=e.words.join(S?"":" ");return Q.createElement("tspan",{x:P,dy:0===t?A:a,key:r},r)})))};function qy(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Yy(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Xy(e){let t,r,n;function i(e,n,i=0,o=e.length){if(i<o){if(0!==t(n,n))return o;do{const t=i+o>>>1;r(e[t],n)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=qy,r=(t,r)=>qy(e(t),r),n=(t,r)=>e(t)-r):(t=e===qy||e===Yy?e:Ky,r=e,n=e),{left:i,center:function(e,t,r=0,o=e.length){const a=i(e,t,r,o-1);return a>r&&n(e[a-1],t)>-n(e[a],t)?a-1:a},right:function(e,n,i=0,o=e.length){if(i<o){if(0!==t(n,n))return o;do{const t=i+o>>>1;r(e[t],n)<=0?i=t+1:o=t}while(i<o)}return i}}}function Ky(){return 0}function Gy(e){return null===e?NaN:+e}const Zy=Xy(qy).right;Xy(Gy).center;class Jy extends Map{constructor(e,t=ev){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(Qy(this,e))}has(e){return super.has(Qy(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){const n=t(r);e.has(n)&&(r=e.get(n),e.delete(n));return r}(this,e))}}function Qy({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function ev(e){return null!==e&&"object"==typeof e?e.valueOf():e}function tv(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}const rv=Math.sqrt(50),nv=Math.sqrt(10),iv=Math.sqrt(2);function ov(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),o=n/Math.pow(10,i),a=o>=rv?10:o>=nv?5:o>=iv?2:1;let c,l,u;return i<0?(u=Math.pow(10,-i)/a,c=Math.round(e*u),l=Math.round(t*u),c/u<e&&++c,l/u>t&&--l,u=-u):(u=Math.pow(10,i)*a,c=Math.round(e/u),l=Math.round(t/u),c*u<e&&++c,l*u>t&&--l),l<c&&.5<=r&&r<2?ov(e,t,2*r):[c,l,u]}function av(e,t,r){if(!((r=+r)>0))return[];if((e=+e)===(t=+t))return[e];const n=t<e,[i,o,a]=n?ov(t,e,r):ov(e,t,r);if(!(o>=i))return[];const c=o-i+1,l=new Array(c);if(n)if(a<0)for(let e=0;e<c;++e)l[e]=(o-e)/-a;else for(let e=0;e<c;++e)l[e]=(o-e)*a;else if(a<0)for(let e=0;e<c;++e)l[e]=(i+e)/-a;else for(let e=0;e<c;++e)l[e]=(i+e)*a;return l}function cv(e,t,r){return ov(e=+e,t=+t,r=+r)[2]}function lv(e,t,r){r=+r;const n=(t=+t)<(e=+e),i=n?cv(t,e,r):cv(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function uv(e,t){let r;for(const t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);return r}function sv(e,t){let r;for(const t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);return r}function fv(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=void 0===i?tv:function(e=qy){if(e===qy)return tv;if("function"!=typeof e)throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||0===n?n:(0===e(r,r))-(0===e(t,t))}}(i);n>r;){if(n-r>600){const o=n-r+1,a=t-r+1,c=Math.log(o),l=.5*Math.exp(2*c/3),u=.5*Math.sqrt(c*l*(o-l)/o)*(a-o/2<0?-1:1);fv(e,t,Math.max(r,Math.floor(t-a*l/o+u)),Math.min(n,Math.floor(t+(o-a)*l/o+u)),i)}const o=e[t];let a=r,c=n;for(pv(e,r,t),i(e[n],o)>0&&pv(e,r,n);a<c;){for(pv(e,a,c),++a,--c;i(e[a],o)<0;)++a;for(;i(e[c],o)>0;)--c}0===i(e[r],o)?pv(e,r,c):(++c,pv(e,c,n)),c<=t&&(r=c+1),t<=c&&(n=c-1)}return e}function pv(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function hv(e,t,r=Gy){if((n=e.length)&&!isNaN(t=+t)){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,o=Math.floor(i),a=+r(e[o],o,e);return a+(+r(e[o+1],o+1,e)-a)*(i-o)}}function dv(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function yv(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}const vv=Symbol("implicit");function gv(){var e=new Jy,t=[],r=[],n=vv;function i(i){let o=e.get(i);if(void 0===o){if(n!==vv)return n;e.set(i,o=t.push(i)-1)}return r[o%r.length]}return i.domain=function(r){if(!arguments.length)return t.slice();t=[],e=new Jy;for(const n of r)e.has(n)||e.set(n,t.push(n)-1);return i},i.range=function(e){return arguments.length?(r=Array.from(e),i):r.slice()},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return gv(t,r).unknown(n)},dv.apply(i,arguments),i}function mv(){var e,t,r=gv().unknown(void 0),n=r.domain,i=r.range,o=0,a=1,c=!1,l=0,u=0,s=.5;function f(){var r=n().length,f=a<o,p=f?a:o,h=f?o:a;e=(h-p)/Math.max(1,r-l+2*u),c&&(e=Math.floor(e)),p+=(h-p-e*(r-l))*s,t=e*(1-l),c&&(p=Math.round(p),t=Math.round(t));var d=function(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),o=new Array(i);++n<i;)o[n]=e+n*r;return o}(r).map((function(t){return p+e*t}));return i(f?d.reverse():d)}return delete r.unknown,r.domain=function(e){return arguments.length?(n(e),f()):n()},r.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,f()):[o,a]},r.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,c=!0,f()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(c=!!e,f()):c},r.padding=function(e){return arguments.length?(l=Math.min(1,u=+e),f()):l},r.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),f()):l},r.paddingOuter=function(e){return arguments.length?(u=+e,f()):u},r.align=function(e){return arguments.length?(s=Math.max(0,Math.min(1,e)),f()):s},r.copy=function(){return mv(n(),[o,a]).round(c).paddingInner(l).paddingOuter(u).align(s)},dv.apply(f(),arguments)}function bv(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return bv(t())},e}function wv(){return bv(mv.apply(null,arguments).paddingInner(1))}function xv(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Ov(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Sv(){}var jv=.7,Av=1/jv,Pv="\\s*([+-]?\\d+)\\s*",Mv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",kv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ev=/^#([0-9a-f]{3,8})$/,Cv=new RegExp(`^rgb\\(${Pv},${Pv},${Pv}\\)$`),_v=new RegExp(`^rgb\\(${kv},${kv},${kv}\\)$`),Tv=new RegExp(`^rgba\\(${Pv},${Pv},${Pv},${Mv}\\)$`),Dv=new RegExp(`^rgba\\(${kv},${kv},${kv},${Mv}\\)$`),Nv=new RegExp(`^hsl\\(${Mv},${kv},${kv}\\)$`),Iv=new RegExp(`^hsla\\(${Mv},${kv},${kv},${Mv}\\)$`),Lv={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 Bv(){return this.rgb().formatHex()}function Rv(){return this.rgb().formatRgb()}function zv(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=Ev.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?$v(t):3===r?new Fv(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?Hv(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?Hv(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Cv.exec(e))?new Fv(t[1],t[2],t[3],1):(t=_v.exec(e))?new Fv(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Tv.exec(e))?Hv(t[1],t[2],t[3],t[4]):(t=Dv.exec(e))?Hv(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Nv.exec(e))?Kv(t[1],t[2]/100,t[3]/100,1):(t=Iv.exec(e))?Kv(t[1],t[2]/100,t[3]/100,t[4]):Lv.hasOwnProperty(e)?$v(Lv[e]):"transparent"===e?new Fv(NaN,NaN,NaN,0):null}function $v(e){return new Fv(e>>16&255,e>>8&255,255&e,1)}function Hv(e,t,r,n){return n<=0&&(e=t=r=NaN),new Fv(e,t,r,n)}function Vv(e,t,r,n){return 1===arguments.length?((i=e)instanceof Sv||(i=zv(i)),i?new Fv((i=i.rgb()).r,i.g,i.b,i.opacity):new Fv):new Fv(e,t,r,null==n?1:n);var i}function Fv(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function Uv(){return`#${Xv(this.r)}${Xv(this.g)}${Xv(this.b)}`}function Wv(){const e=qv(this.opacity);return`${1===e?"rgb(":"rgba("}${Yv(this.r)}, ${Yv(this.g)}, ${Yv(this.b)}${1===e?")":`, ${e})`}`}function qv(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Yv(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Xv(e){return((e=Yv(e))<16?"0":"")+e.toString(16)}function Kv(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Zv(e,t,r,n)}function Gv(e){if(e instanceof Zv)return new Zv(e.h,e.s,e.l,e.opacity);if(e instanceof Sv||(e=zv(e)),!e)return new Zv;if(e instanceof Zv)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=NaN,c=o-i,l=(o+i)/2;return c?(a=t===o?(r-n)/c+6*(r<n):r===o?(n-t)/c+2:(t-r)/c+4,c/=l<.5?o+i:2-o-i,a*=60):c=l>0&&l<1?0:a,new Zv(a,c,l,e.opacity)}function Zv(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function Jv(e){return(e=(e||0)%360)<0?e+360:e}function Qv(e){return Math.max(0,Math.min(1,e||0))}function eg(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}xv(Sv,zv,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Bv,formatHex:Bv,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Gv(this).formatHsl()},formatRgb:Rv,toString:Rv}),xv(Fv,Vv,Ov(Sv,{brighter(e){return e=null==e?Av:Math.pow(Av,e),new Fv(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?jv:Math.pow(jv,e),new Fv(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Fv(Yv(this.r),Yv(this.g),Yv(this.b),qv(this.opacity))},displayable(){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:Uv,formatHex:Uv,formatHex8:function(){return`#${Xv(this.r)}${Xv(this.g)}${Xv(this.b)}${Xv(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Wv,toString:Wv})),xv(Zv,(function(e,t,r,n){return 1===arguments.length?Gv(e):new Zv(e,t,r,null==n?1:n)}),Ov(Sv,{brighter(e){return e=null==e?Av:Math.pow(Av,e),new Zv(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?jv:Math.pow(jv,e),new Zv(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new Fv(eg(e>=240?e-240:e+120,i,n),eg(e,i,n),eg(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Zv(Jv(this.h),Qv(this.s),Qv(this.l),qv(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=qv(this.opacity);return`${1===e?"hsl(":"hsla("}${Jv(this.h)}, ${100*Qv(this.s)}%, ${100*Qv(this.l)}%${1===e?")":`, ${e})`}`}}));var tg=e=>()=>e;function rg(e){return 1==(e=+e)?ng:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):tg(isNaN(t)?r:t)}}function ng(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):tg(isNaN(e)?t:e)}var ig=function e(t){var r=rg(t);function n(e,t){var n=r((e=Vv(e)).r,(t=Vv(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=ng(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);function og(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(r=0;r<n;++r)i[r]=e[r]*(1-o)+t[r]*o;return i}}function ag(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,o=new Array(i),a=new Array(n);for(r=0;r<i;++r)o[r]=hg(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<i;++r)a[r]=o[r](e);return a}}function cg(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function lg(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function ug(e,t){var r,n={},i={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?n[r]=hg(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}}var sg=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,fg=new RegExp(sg.source,"g");function pg(e,t){var r,n,i,o=sg.lastIndex=fg.lastIndex=0,a=-1,c=[],l=[];for(e+="",t+="";(r=sg.exec(e))&&(n=fg.exec(t));)(i=n.index)>o&&(i=t.slice(o,i),c[a]?c[a]+=i:c[++a]=i),(r=r[0])===(n=n[0])?c[a]?c[a]+=n:c[++a]=n:(c[++a]=null,l.push({i:a,x:lg(r,n)})),o=fg.lastIndex;return o<t.length&&(i=t.slice(o),c[a]?c[a]+=i:c[++a]=i),c.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var r,n=0;n<t;++n)c[(r=l[n]).i]=r.x(e);return c.join("")})}function hg(e,t){var r,n=typeof t;return null==t||"boolean"===n?tg(t):("number"===n?lg:"string"===n?(r=zv(t))?(t=r,ig):pg:t instanceof zv?ig:t instanceof Date?cg:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?og:Array.isArray(t)?ag:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?ug:lg)(e,t)}function dg(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function yg(e,t){void 0===t&&(t=e,e=hg);for(var r=0,n=t.length-1,i=t[0],o=new Array(n<0?0:n);r<n;)o[r]=e(i,i=t[++r]);return function(e){var t=Math.max(0,Math.min(n-1,Math.floor(e*=n)));return o[t](e-t)}}function vg(e){return+e}var gg=[0,1];function mg(e){return e}function bg(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function wg(e,t,r){var n=e[0],i=e[1],o=t[0],a=t[1];return i<n?(n=bg(i,n),o=r(a,o)):(n=bg(n,i),o=r(o,a)),function(e){return o(n(e))}}function xg(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),o=new Array(n),a=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<n;)i[a]=bg(e[a],e[a+1]),o[a]=r(t[a],t[a+1]);return function(t){var r=Zy(e,t,1,n)-1;return o[r](i[r](t))}}function Og(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Sg(){var e,t,r,n,i,o,a=gg,c=gg,l=hg,u=mg;function s(){var e=Math.min(a.length,c.length);return u!==mg&&(u=function(e,t){var r;return e>t&&(r=e,e=t,t=r),function(r){return Math.max(e,Math.min(t,r))}}(a[0],a[e-1])),n=e>2?xg:wg,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?r:(i||(i=n(a.map(e),c,l)))(e(u(t)))}return f.invert=function(r){return u(t((o||(o=n(c,a.map(e),lg)))(r)))},f.domain=function(e){return arguments.length?(a=Array.from(e,vg),s()):a.slice()},f.range=function(e){return arguments.length?(c=Array.from(e),s()):c.slice()},f.rangeRound=function(e){return c=Array.from(e),l=dg,s()},f.clamp=function(e){return arguments.length?(u=!!e||mg,s()):u!==mg},f.interpolate=function(e){return arguments.length?(l=e,s()):l},f.unknown=function(e){return arguments.length?(r=e,f):r},function(r,n){return e=r,t=n,s()}}function jg(){return Sg()(mg,mg)}function Ag(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function Pg(e){return(e=Ag(Math.abs(e)))?e[1]:NaN}var Mg,kg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Eg(e){if(!(t=kg.exec(e)))throw new Error("invalid format: "+e);var t;return new Cg({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Cg(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function _g(e,t){var r=Ag(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}Eg.prototype=Cg.prototype,Cg.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};var Tg={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>_g(100*e,t),r:_g,s:function(e,t){var r=Ag(e,t);if(!r)return e+"";var n=r[0],i=r[1],o=i-(Mg=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=n.length;return o===a?n:o>a?n+new Array(o-a+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+Ag(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Dg(e){return e}var Ng,Ig,Lg,Bg=Array.prototype.map,Rg=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function zg(e){var t,r,n=void 0===e.grouping||void 0===e.thousands?Dg:(t=Bg.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,o=[],a=0,c=t[0],l=0;i>0&&c>0&&(l+c+1>n&&(c=Math.max(1,n-l)),o.push(e.substring(i-=c,i+c)),!((l+=c+1)>n));)c=t[a=(a+1)%t.length];return o.reverse().join(r)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",c=void 0===e.numerals?Dg:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Bg.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"−":e.minus+"",s=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=Eg(e)).fill,r=e.align,f=e.sign,p=e.symbol,h=e.zero,d=e.width,y=e.comma,v=e.precision,g=e.trim,m=e.type;"n"===m?(y=!0,m="g"):Tg[m]||(void 0===v&&(v=12),g=!0,m="g"),(h||"0"===t&&"="===r)&&(h=!0,t="0",r="=");var b="$"===p?i:"#"===p&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",w="$"===p?o:/[%p]/.test(m)?l:"",x=Tg[m],O=/[defgprs%]/.test(m);function S(e){var i,o,l,p=b,S=w;if("c"===m)S=x(e)+S,e="";else{var j=(e=+e)<0||1/e<0;if(e=isNaN(e)?s:x(Math.abs(e),v),g&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),j&&0==+e&&"+"!==f&&(j=!1),p=(j?"("===f?f:u:"-"===f||"("===f?"":f)+p,S=("s"===m?Rg[8+Mg/3]:"")+S+(j&&"("===f?")":""),O)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){S=(46===l?a+e.slice(i+1):e.slice(i))+S,e=e.slice(0,i);break}}y&&!h&&(e=n(e,1/0));var A=p.length+e.length+S.length,P=A<d?new Array(d-A+1).join(t):"";switch(y&&h&&(e=n(P+e,P.length?d-S.length:1/0),P=""),r){case"<":e=p+e+S+P;break;case"=":e=p+P+e+S;break;case"^":e=P.slice(0,A=P.length>>1)+p+e+S+P.slice(A);break;default:e=P+p+e+S}return c(e)}return v=void 0===v?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),S.toString=function(){return e+""},S}return{format:f,formatPrefix:function(e,t){var r=f(((e=Eg(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor(Pg(t)/3))),i=Math.pow(10,-n),o=Rg[8+n/3];return function(e){return r(i*e)+o}}}}function $g(e,t,r,n){var i,o=lv(e,t,r);switch((n=Eg(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Pg(t)/3)))-Pg(Math.abs(e)))}(o,a))||(n.precision=i),Lg(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Pg(t)-Pg(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=function(e){return Math.max(0,-Pg(Math.abs(e)))}(o))||(n.precision=i-2*("%"===n.type))}return Ig(n)}function Hg(e){var t=e.domain;return e.ticks=function(e){var r=t();return av(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return $g(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var n,i,o=t(),a=0,c=o.length-1,l=o[a],u=o[c],s=10;for(u<l&&(i=l,l=u,u=i,i=a,a=c,c=i);s-- >0;){if((i=cv(l,u,r))===n)return o[a]=l,o[c]=u,t(o);if(i>0)l=Math.floor(l/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,u=Math.floor(u*i)/i}n=i}return e},e}function Vg(){var e=jg();return e.copy=function(){return Og(e,Vg())},dv.apply(e,arguments),Hg(e)}function Fg(e,t){var r,n=0,i=(e=e.slice()).length-1,o=e[n],a=e[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),e[n]=t.floor(o),e[i]=t.ceil(a),e}function Ug(e){return Math.log(e)}function Wg(e){return Math.exp(e)}function qg(e){return-Math.log(-e)}function Yg(e){return-Math.exp(-e)}function Xg(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Kg(e){return(t,r)=>-e(-t,r)}function Gg(e){const t=e(Ug,Wg),r=t.domain;let n,i,o=10;function a(){return n=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(o),i=function(e){return 10===e?Xg:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),r()[0]<0?(n=Kg(n),i=Kg(i),e(qg,Yg)):e(Ug,Wg),t}return t.base=function(e){return arguments.length?(o=+e,a()):o},t.domain=function(e){return arguments.length?(r(e),a()):r()},t.ticks=e=>{const t=r();let a=t[0],c=t[t.length-1];const l=c<a;l&&([a,c]=[c,a]);let u,s,f=n(a),p=n(c);const h=null==e?10:+e;let d=[];if(!(o%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(u=1;u<o;++u)if(s=f<0?u/i(-f):u*i(f),!(s<a)){if(s>c)break;d.push(s)}}else for(;f<=p;++f)for(u=o-1;u>=1;--u)if(s=f>0?u/i(-f):u*i(f),!(s<a)){if(s>c)break;d.push(s)}2*d.length<h&&(d=av(a,c,h))}else d=av(f,p,Math.min(p-f,h)).map(i);return l?d.reverse():d},t.tickFormat=(e,r)=>{if(null==e&&(e=10),null==r&&(r=10===o?"s":","),"function"!=typeof r&&(o%1||null!=(r=Eg(r)).precision||(r.trim=!0),r=Ig(r)),e===1/0)return r;const a=Math.max(1,o*e/t.ticks().length);return e=>{let t=e/i(Math.round(n(e)));return t*o<o-.5&&(t*=o),t<=a?r(e):""}},t.nice=()=>r(Fg(r(),{floor:e=>i(Math.floor(n(e))),ceil:e=>i(Math.ceil(n(e)))})),t}function Zg(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Jg(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Qg(e){var t=1,r=e(Zg(t),Jg(t));return r.constant=function(r){return arguments.length?e(Zg(t=+r),Jg(t)):t},Hg(r)}function em(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function tm(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function rm(e){return e<0?-e*e:e*e}function nm(e){var t=e(mg,mg),r=1;return t.exponent=function(t){return arguments.length?1===(r=+t)?e(mg,mg):.5===r?e(tm,rm):e(em(r),em(1/r)):r},Hg(t)}function im(){var e=nm(Sg());return e.copy=function(){return Og(e,im()).exponent(e.exponent())},dv.apply(e,arguments),e}function om(e){return Math.sign(e)*e*e}Ng=zg({thousands:",",grouping:[3],currency:["$",""]}),Ig=Ng.format,Lg=Ng.formatPrefix;const am=new Date,cm=new Date;function lm(e,t,r,n){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=r=>(e(r=new Date(r-1)),t(r,1),e(r),r),i.round=e=>{const t=i(e),r=i.ceil(e);return e-t<r-e?t:r},i.offset=(e,r)=>(t(e=new Date(+e),null==r?1:Math.floor(r)),e),i.range=(r,n,o)=>{const a=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n&&o>0))return a;let c;do{a.push(c=new Date(+r)),t(r,o),e(r)}while(c<r&&r<n);return a},i.filter=r=>lm((t=>{if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)}),((e,n)=>{if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););})),r&&(i.count=(t,n)=>(am.setTime(+t),cm.setTime(+n),e(am),e(cm),Math.floor(r(am,cm))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(n?t=>n(t)%e==0:t=>i.count(0,t)%e==0):i:null)),i}const um=lm((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));um.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?lm((t=>{t.setTime(Math.floor(t/e)*e)}),((t,r)=>{t.setTime(+t+r*e)}),((t,r)=>(r-t)/e)):um:null),um.range;const sm=1e3,fm=6e4,pm=36e5,hm=864e5,dm=6048e5,ym=2592e6,vm=31536e6,gm=lm((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*sm)}),((e,t)=>(t-e)/sm),(e=>e.getUTCSeconds()));gm.range;const mm=lm((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*sm)}),((e,t)=>{e.setTime(+e+t*fm)}),((e,t)=>(t-e)/fm),(e=>e.getMinutes()));mm.range;const bm=lm((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*fm)}),((e,t)=>(t-e)/fm),(e=>e.getUTCMinutes()));bm.range;const wm=lm((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*sm-e.getMinutes()*fm)}),((e,t)=>{e.setTime(+e+t*pm)}),((e,t)=>(t-e)/pm),(e=>e.getHours()));wm.range;const xm=lm((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*pm)}),((e,t)=>(t-e)/pm),(e=>e.getUTCHours()));xm.range;const Om=lm((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*fm)/hm),(e=>e.getDate()-1));Om.range;const Sm=lm((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/hm),(e=>e.getUTCDate()-1));Sm.range;const jm=lm((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/hm),(e=>Math.floor(e/hm)));function Am(e){return lm((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*fm)/dm))}jm.range;const Pm=Am(0),Mm=Am(1),km=Am(2),Em=Am(3),Cm=Am(4),_m=Am(5),Tm=Am(6);function Dm(e){return lm((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/dm))}Pm.range,Mm.range,km.range,Em.range,Cm.range,_m.range,Tm.range;const Nm=Dm(0),Im=Dm(1),Lm=Dm(2),Bm=Dm(3),Rm=Dm(4),zm=Dm(5),$m=Dm(6);Nm.range,Im.range,Lm.range,Bm.range,Rm.range,zm.range,$m.range;const Hm=lm((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()));Hm.range;const Vm=lm((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()));Vm.range;const Fm=lm((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()));Fm.every=e=>isFinite(e=Math.floor(e))&&e>0?lm((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,r)=>{t.setFullYear(t.getFullYear()+r*e)})):null,Fm.range;const Um=lm((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function Wm(e,t,r,n,i,o){const a=[[gm,1,sm],[gm,5,5e3],[gm,15,15e3],[gm,30,3e4],[o,1,fm],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,pm],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,hm],[n,2,1728e5],[r,1,dm],[t,1,ym],[t,3,7776e6],[e,1,vm]];function c(t,r,n){const i=Math.abs(r-t)/n,o=Xy((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(lv(t/vm,r/vm,n));if(0===o)return um.every(Math.max(lv(t,r,n),1));const[c,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(l)}return[function(e,t,r){const n=t<e;n&&([e,t]=[t,e]);const i=r&&"function"==typeof r.range?r:c(e,t,r),o=i?i.range(e,+t+1):[];return n?o.reverse():o},c]}Um.every=e=>isFinite(e=Math.floor(e))&&e>0?lm((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null,Um.range;const[qm,Ym]=Wm(Um,Vm,Nm,jm,xm,bm),[Xm,Km]=Wm(Fm,Hm,Pm,Om,wm,mm);function Gm(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Zm(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Jm(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var Qm,eb,tb,rb={"-":"",_:" ",0:"0"},nb=/^\s*\d+/,ib=/^%/,ob=/[\\^$*+?|[\]().{}]/g;function ab(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(t)+i:i)}function cb(e){return e.replace(ob,"\\$&")}function lb(e){return new RegExp("^(?:"+e.map(cb).join("|")+")","i")}function ub(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function sb(e,t,r){var n=nb.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function fb(e,t,r){var n=nb.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function pb(e,t,r){var n=nb.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function hb(e,t,r){var n=nb.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function db(e,t,r){var n=nb.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function yb(e,t,r){var n=nb.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function vb(e,t,r){var n=nb.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function gb(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function mb(e,t,r){var n=nb.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function bb(e,t,r){var n=nb.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function wb(e,t,r){var n=nb.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function xb(e,t,r){var n=nb.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function Ob(e,t,r){var n=nb.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function Sb(e,t,r){var n=nb.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function jb(e,t,r){var n=nb.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Ab(e,t,r){var n=nb.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function Pb(e,t,r){var n=nb.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Mb(e,t,r){var n=ib.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function kb(e,t,r){var n=nb.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function Eb(e,t,r){var n=nb.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function Cb(e,t){return ab(e.getDate(),t,2)}function _b(e,t){return ab(e.getHours(),t,2)}function Tb(e,t){return ab(e.getHours()%12||12,t,2)}function Db(e,t){return ab(1+Om.count(Fm(e),e),t,3)}function Nb(e,t){return ab(e.getMilliseconds(),t,3)}function Ib(e,t){return Nb(e,t)+"000"}function Lb(e,t){return ab(e.getMonth()+1,t,2)}function Bb(e,t){return ab(e.getMinutes(),t,2)}function Rb(e,t){return ab(e.getSeconds(),t,2)}function zb(e){var t=e.getDay();return 0===t?7:t}function $b(e,t){return ab(Pm.count(Fm(e)-1,e),t,2)}function Hb(e){var t=e.getDay();return t>=4||0===t?Cm(e):Cm.ceil(e)}function Vb(e,t){return e=Hb(e),ab(Cm.count(Fm(e),e)+(4===Fm(e).getDay()),t,2)}function Fb(e){return e.getDay()}function Ub(e,t){return ab(Mm.count(Fm(e)-1,e),t,2)}function Wb(e,t){return ab(e.getFullYear()%100,t,2)}function qb(e,t){return ab((e=Hb(e)).getFullYear()%100,t,2)}function Yb(e,t){return ab(e.getFullYear()%1e4,t,4)}function Xb(e,t){var r=e.getDay();return ab((e=r>=4||0===r?Cm(e):Cm.ceil(e)).getFullYear()%1e4,t,4)}function Kb(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ab(t/60|0,"0",2)+ab(t%60,"0",2)}function Gb(e,t){return ab(e.getUTCDate(),t,2)}function Zb(e,t){return ab(e.getUTCHours(),t,2)}function Jb(e,t){return ab(e.getUTCHours()%12||12,t,2)}function Qb(e,t){return ab(1+Sm.count(Um(e),e),t,3)}function ew(e,t){return ab(e.getUTCMilliseconds(),t,3)}function tw(e,t){return ew(e,t)+"000"}function rw(e,t){return ab(e.getUTCMonth()+1,t,2)}function nw(e,t){return ab(e.getUTCMinutes(),t,2)}function iw(e,t){return ab(e.getUTCSeconds(),t,2)}function ow(e){var t=e.getUTCDay();return 0===t?7:t}function aw(e,t){return ab(Nm.count(Um(e)-1,e),t,2)}function cw(e){var t=e.getUTCDay();return t>=4||0===t?Rm(e):Rm.ceil(e)}function lw(e,t){return e=cw(e),ab(Rm.count(Um(e),e)+(4===Um(e).getUTCDay()),t,2)}function uw(e){return e.getUTCDay()}function sw(e,t){return ab(Im.count(Um(e)-1,e),t,2)}function fw(e,t){return ab(e.getUTCFullYear()%100,t,2)}function pw(e,t){return ab((e=cw(e)).getUTCFullYear()%100,t,2)}function hw(e,t){return ab(e.getUTCFullYear()%1e4,t,4)}function dw(e,t){var r=e.getUTCDay();return ab((e=r>=4||0===r?Rm(e):Rm.ceil(e)).getUTCFullYear()%1e4,t,4)}function yw(){return"+0000"}function vw(){return"%"}function gw(e){return+e}function mw(e){return Math.floor(+e/1e3)}function bw(e){return new Date(e)}function ww(e){return e instanceof Date?+e:+new Date(+e)}function xw(e,t,r,n,i,o,a,c,l,u){var s=jg(),f=s.invert,p=s.domain,h=u(".%L"),d=u(":%S"),y=u("%I:%M"),v=u("%I %p"),g=u("%a %d"),m=u("%b %d"),b=u("%B"),w=u("%Y");function x(e){return(l(e)<e?h:c(e)<e?d:a(e)<e?y:o(e)<e?v:n(e)<e?i(e)<e?g:m:r(e)<e?b:w)(e)}return s.invert=function(e){return new Date(f(e))},s.domain=function(e){return arguments.length?p(Array.from(e,ww)):p().map(bw)},s.ticks=function(t){var r=p();return e(r[0],r[r.length-1],null==t?10:t)},s.tickFormat=function(e,t){return null==t?x:u(t)},s.nice=function(e){var r=p();return e&&"function"==typeof e.range||(e=t(r[0],r[r.length-1],null==e?10:e)),e?p(Fg(r,e)):s},s.copy=function(){return Og(s,xw(e,t,r,n,i,o,a,c,l,u))},s}function Ow(){var e,t,r,n,i,o=0,a=1,c=mg,l=!1;function u(t){return null==t||isNaN(t=+t)?i:c(0===r?.5:(t=(n(t)-e)*r,l?Math.max(0,Math.min(1,t)):t))}function s(e){return function(t){var r,n;return arguments.length?([r,n]=t,c=e(r,n),u):[c(0),c(1)]}}return u.domain=function(i){return arguments.length?([o,a]=i,e=n(o=+o),t=n(a=+a),r=e===t?0:1/(t-e),u):[o,a]},u.clamp=function(e){return arguments.length?(l=!!e,u):l},u.interpolator=function(e){return arguments.length?(c=e,u):c},u.range=s(hg),u.rangeRound=s(dg),u.unknown=function(e){return arguments.length?(i=e,u):i},function(i){return n=i,e=i(o),t=i(a),r=e===t?0:1/(t-e),u}}function Sw(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function jw(){var e=nm(Ow());return e.copy=function(){return Sw(e,jw()).exponent(e.exponent())},yv.apply(e,arguments)}function Aw(){var e,t,r,n,i,o,a,c=0,l=.5,u=1,s=1,f=mg,p=!1;function h(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(s*e<s*t?n:i),f(p?Math.max(0,Math.min(1,e)):e))}function d(e){return function(t){var r,n,i;return arguments.length?([r,n,i]=t,f=yg(e,[r,n,i]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([c,l,u]=a,e=o(c=+c),t=o(l=+l),r=o(u=+u),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),s=t<e?-1:1,h):[c,l,u]},h.clamp=function(e){return arguments.length?(p=!!e,h):p},h.interpolator=function(e){return arguments.length?(f=e,h):f},h.range=d(hg),h.rangeRound=d(dg),h.unknown=function(e){return arguments.length?(a=e,h):a},function(a){return o=a,e=a(c),t=a(l),r=a(u),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),s=t<e?-1:1,h}}function Pw(){var e=nm(Aw());return e.copy=function(){return Sw(e,Pw()).exponent(e.exponent())},yv.apply(e,arguments)}!function(e){Qm=function(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,o=e.days,a=e.shortDays,c=e.months,l=e.shortMonths,u=lb(i),s=ub(i),f=lb(o),p=ub(o),h=lb(a),d=ub(a),y=lb(c),v=ub(c),g=lb(l),m=ub(l),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:Cb,e:Cb,f:Ib,g:qb,G:Xb,H:_b,I:Tb,j:Db,L:Nb,m:Lb,M:Bb,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:gw,s:mw,S:Rb,u:zb,U:$b,V:Vb,w:Fb,W:Ub,x:null,X:null,y:Wb,Y:Yb,Z:Kb,"%":vw},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:Gb,e:Gb,f:tw,g:pw,G:dw,H:Zb,I:Jb,j:Qb,L:ew,m:rw,M:nw,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:gw,s:mw,S:iw,u:ow,U:aw,V:lw,w:uw,W:sw,x:null,X:null,y:fw,Y:hw,Z:yw,"%":vw},x={a:function(e,t,r){var n=h.exec(t.slice(r));return n?(e.w=d.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=f.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=g.exec(t.slice(r));return n?(e.m=m.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=y.exec(t.slice(r));return n?(e.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return j(e,t,r,n)},d:wb,e:wb,f:Pb,g:vb,G:yb,H:Ob,I:Ob,j:xb,L:Ab,m:bb,M:Sb,p:function(e,t,r){var n=u.exec(t.slice(r));return n?(e.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:mb,Q:kb,s:Eb,S:jb,u:fb,U:pb,V:hb,w:sb,W:db,x:function(e,t,n){return j(e,r,t,n)},X:function(e,t,r){return j(e,n,t,r)},y:vb,Y:yb,Z:gb,"%":Mb};function O(e,t){return function(r){var n,i,o,a=[],c=-1,l=0,u=e.length;for(r instanceof Date||(r=new Date(+r));++c<u;)37===e.charCodeAt(c)&&(a.push(e.slice(l,c)),null!=(i=rb[n=e.charAt(++c)])?n=e.charAt(++c):i="e"===n?" ":"0",(o=t[n])&&(n=o(r,i)),a.push(n),l=c+1);return a.push(e.slice(l,c)),a.join("")}}function S(e,t){return function(r){var n,i,o=Jm(1900,void 0,1);if(j(o,e,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(n=Zm(Jm(o.y,0,1))).getUTCDay(),n=i>4||0===i?Im.ceil(n):Im(n),n=Sm.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=Gm(Jm(o.y,0,1))).getDay(),n=i>4||0===i?Mm.ceil(n):Mm(n),n=Om.offset(n,7*(o.V-1)),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Zm(Jm(o.y,0,1)).getUTCDay():Gm(Jm(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Zm(o)):Gm(o)}}function j(e,t,r,n){for(var i,o,a=0,c=t.length,l=r.length;a<c;){if(n>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in rb?t.charAt(a++):i])||(n=o(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return b.x=O(r,b),b.X=O(n,b),b.c=O(t,b),w.x=O(r,w),w.X=O(n,w),w.c=O(t,w),{format:function(e){var t=O(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=S(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=S(e+="",!0);return t.toString=function(){return e},t}}}(e),eb=Qm.format,Qm.parse,tb=Qm.utcFormat,Qm.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Mw=Object.freeze({__proto__:null,scaleBand:mv,scaleDiverging:function e(){var t=Hg(Aw()(mg));return t.copy=function(){return Sw(t,e())},yv.apply(t,arguments)},scaleDivergingLog:function e(){var t=Gg(Aw()).domain([.1,1,10]);return t.copy=function(){return Sw(t,e()).base(t.base())},yv.apply(t,arguments)},scaleDivergingPow:Pw,scaleDivergingSqrt:function(){return Pw.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function e(){var t=Qg(Aw());return t.copy=function(){return Sw(t,e()).constant(t.constant())},yv.apply(t,arguments)},scaleIdentity:function e(t){var r;function n(e){return null==e||isNaN(e=+e)?r:e}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,vg),n):t.slice()},n.unknown=function(e){return arguments.length?(r=e,n):r},n.copy=function(){return e(t).unknown(r)},t=arguments.length?Array.from(t,vg):[0,1],Hg(n)},scaleImplicit:vv,scaleLinear:Vg,scaleLog:function e(){const t=Gg(Sg()).domain([1,10]);return t.copy=()=>Og(t,e()).base(t.base()),dv.apply(t,arguments),t},scaleOrdinal:gv,scalePoint:wv,scalePow:im,scaleQuantile:function e(){var t,r=[],n=[],i=[];function o(){var e=0,t=Math.max(1,n.length);for(i=new Array(t-1);++e<t;)i[e-1]=hv(r,e/t);return a}function a(e){return null==e||isNaN(e=+e)?t:n[Zy(i,e)]}return a.invertExtent=function(e){var t=n.indexOf(e);return t<0?[NaN,NaN]:[t>0?i[t-1]:r[0],t<i.length?i[t]:r[r.length-1]]},a.domain=function(e){if(!arguments.length)return r.slice();r=[];for(let t of e)null==t||isNaN(t=+t)||r.push(t);return r.sort(qy),o()},a.range=function(e){return arguments.length?(n=Array.from(e),o()):n.slice()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.quantiles=function(){return i.slice()},a.copy=function(){return e().domain(r).range(n).unknown(t)},dv.apply(a,arguments)},scaleQuantize:function e(){var t,r=0,n=1,i=1,o=[.5],a=[0,1];function c(e){return null!=e&&e<=e?a[Zy(o,e,0,i)]:t}function l(){var e=-1;for(o=new Array(i);++e<i;)o[e]=((e+1)*n-(e-i)*r)/(i+1);return c}return c.domain=function(e){return arguments.length?([r,n]=e,r=+r,n=+n,l()):[r,n]},c.range=function(e){return arguments.length?(i=(a=Array.from(e)).length-1,l()):a.slice()},c.invertExtent=function(e){var t=a.indexOf(e);return t<0?[NaN,NaN]:t<1?[r,o[0]]:t>=i?[o[i-1],n]:[o[t-1],o[t]]},c.unknown=function(e){return arguments.length?(t=e,c):c},c.thresholds=function(){return o.slice()},c.copy=function(){return e().domain([r,n]).range(a).unknown(t)},dv.apply(Hg(c),arguments)},scaleRadial:function e(){var t,r=jg(),n=[0,1],i=!1;function o(e){var n=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(r(e));return isNaN(n)?t:i?Math.round(n):n}return o.invert=function(e){return r.invert(om(e))},o.domain=function(e){return arguments.length?(r.domain(e),o):r.domain()},o.range=function(e){return arguments.length?(r.range((n=Array.from(e,vg)).map(om)),o):n.slice()},o.rangeRound=function(e){return o.range(e).round(!0)},o.round=function(e){return arguments.length?(i=!!e,o):i},o.clamp=function(e){return arguments.length?(r.clamp(e),o):r.clamp()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e(r.domain(),n).round(i).clamp(r.clamp()).unknown(t)},dv.apply(o,arguments),Hg(o)},scaleSequential:function e(){var t=Hg(Ow()(mg));return t.copy=function(){return Sw(t,e())},yv.apply(t,arguments)},scaleSequentialLog:function e(){var t=Gg(Ow()).domain([1,10]);return t.copy=function(){return Sw(t,e()).base(t.base())},yv.apply(t,arguments)},scaleSequentialPow:jw,scaleSequentialQuantile:function e(){var t=[],r=mg;function n(e){if(null!=e&&!isNaN(e=+e))return r((Zy(t,e,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let r of e)null==r||isNaN(r=+r)||t.push(r);return t.sort(qy),n},n.interpolator=function(e){return arguments.length?(r=e,n):r},n.range=function(){return t.map(((e,n)=>r(n/(t.length-1))))},n.quantiles=function(e){return Array.from({length:e+1},((r,n)=>function(e,t,r){if((n=(e=Float64Array.from(function*(e,t){for(let t of e)null!=t&&(t=+t)>=t&&(yield t)}(e))).length)&&!isNaN(t=+t)){if(t<=0||n<2)return sv(e);if(t>=1)return uv(e);var n,i=(n-1)*t,o=Math.floor(i),a=uv(fv(e,o).subarray(0,o+1));return a+(sv(e.subarray(o+1))-a)*(i-o)}}(t,n/e)))},n.copy=function(){return e(r).domain(t)},yv.apply(n,arguments)},scaleSequentialSqrt:function(){return jw.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function e(){var t=Qg(Ow());return t.copy=function(){return Sw(t,e()).constant(t.constant())},yv.apply(t,arguments)},scaleSqrt:function(){return im.apply(null,arguments).exponent(.5)},scaleSymlog:function e(){var t=Qg(Sg());return t.copy=function(){return Og(t,e()).constant(t.constant())},dv.apply(t,arguments)},scaleThreshold:function e(){var t,r=[.5],n=[0,1],i=1;function o(e){return null!=e&&e<=e?n[Zy(r,e,0,i)]:t}return o.domain=function(e){return arguments.length?(r=Array.from(e),i=Math.min(r.length,n.length-1),o):r.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),i=Math.min(r.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var t=n.indexOf(e);return[r[t-1],r[t]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e().domain(r).range(n).unknown(t)},dv.apply(o,arguments)},scaleTime:function(){return dv.apply(xw(Xm,Km,Fm,Hm,Pm,Om,wm,mm,gm,eb).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return dv.apply(xw(qm,Ym,Um,Vm,Nm,Sm,xm,bm,gm,tb).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:$g}),kw=Sn;var Ew=function(e,t,r){for(var n=-1,i=e.length;++n<i;){var o=e[n],a=t(o);if(null!=a&&(void 0===c?a==a&&!kw(a):r(a,c)))var c=a,l=o}return l};var Cw=Ew,_w=function(e,t){return e>t},Tw=Xf;var Dw=function(e){return e&&e.length?Cw(e,Tw,_w):void 0},Nw=Wt(Dw);var Iw=Ew,Lw=function(e,t){return e<t},Bw=Xf;var Rw=function(e){return e&&e.length?Iw(e,Bw,Lw):void 0},zw=Wt(Rw),$w=ao,Hw=cp,Vw=ch,Fw=rn;var Uw=Jp,Ww=function(e,t){return(Fw(e)?$w:Vw)(e,Hw(t))};var qw=Wt((function(e,t){return Uw(Ww(e,t),1)})),Yw=yf;var Xw,Kw=Wt((function(e,t){return Yw(e,t)})),Gw=1e9,Zw=!0,Jw="[DecimalError] ",Qw=Jw+"Invalid argument: ",ex=Jw+"Exponent out of range: ",tx=Math.floor,rx=Math.pow,nx=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ix=1e7,ox=7,ax=9007199254740991,cx=tx(ax/ox),lx={};function ux(e,t){var r,n,i,o,a,c,l,u,s=e.constructor,f=s.precision;if(!e.s||!t.s)return t.s||(t=new s(e)),Zw?bx(t,f):t;if(l=e.d,u=t.d,a=e.e,i=t.e,l=l.slice(),o=a-i){for(o<0?(n=l,o=-o,c=u.length):(n=u,i=a,c=l.length),o>(c=(a=Math.ceil(f/ox))>c?a+1:c+1)&&(o=c,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((c=l.length)-(o=u.length)<0&&(o=c,n=u,u=l,l=n),r=0;o;)r=(l[--o]=l[o]+u[o]+r)/ix|0,l[o]%=ix;for(r&&(l.unshift(r),++i),c=l.length;0==l[--c];)l.pop();return t.d=l,t.e=i,Zw?bx(t,f):t}function sx(e,t,r){if(e!==~~e||e<t||e>r)throw Error(Qw+e)}function fx(e){var t,r,n,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)n=e[t]+"",(r=ox-n.length)&&(o+=vx(r)),o+=n;a=e[t],(r=ox-(n=a+"").length)&&(o+=vx(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}lx.absoluteValue=lx.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},lx.comparedTo=lx.cmp=function(e){var t,r,n,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,r=(n=o.d.length)<(i=e.d.length)?n:i;t<r;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},lx.decimalPlaces=lx.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*ox;if(t=e.d[t])for(;t%10==0;t/=10)r--;return r<0?0:r},lx.dividedBy=lx.div=function(e){return px(this,new this.constructor(e))},lx.dividedToIntegerBy=lx.idiv=function(e){var t=this.constructor;return bx(px(this,new t(e),0,1),t.precision)},lx.equals=lx.eq=function(e){return!this.cmp(e)},lx.exponent=function(){return dx(this)},lx.greaterThan=lx.gt=function(e){return this.cmp(e)>0},lx.greaterThanOrEqualTo=lx.gte=function(e){return this.cmp(e)>=0},lx.isInteger=lx.isint=function(){return this.e>this.d.length-2},lx.isNegative=lx.isneg=function(){return this.s<0},lx.isPositive=lx.ispos=function(){return this.s>0},lx.isZero=function(){return 0===this.s},lx.lessThan=lx.lt=function(e){return this.cmp(e)<0},lx.lessThanOrEqualTo=lx.lte=function(e){return this.cmp(e)<1},lx.logarithm=lx.log=function(e){var t,r=this,n=r.constructor,i=n.precision,o=i+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq(Xw))throw Error(Jw+"NaN");if(r.s<1)throw Error(Jw+(r.s?"NaN":"-Infinity"));return r.eq(Xw)?new n(0):(Zw=!1,t=px(gx(r,o),gx(e,o),o),Zw=!0,bx(t,i))},lx.minus=lx.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?wx(t,e):ux(t,(e.s=-e.s,e))},lx.modulo=lx.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(!(e=new n(e)).s)throw Error(Jw+"NaN");return r.s?(Zw=!1,t=px(r,e,0,1).times(e),Zw=!0,r.minus(t)):bx(new n(r),i)},lx.naturalExponential=lx.exp=function(){return hx(this)},lx.naturalLogarithm=lx.ln=function(){return gx(this)},lx.negated=lx.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},lx.plus=lx.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?ux(t,e):wx(t,(e.s=-e.s,e))},lx.precision=lx.sd=function(e){var t,r,n,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(Qw+e);if(t=dx(i)+1,r=(n=i.d.length-1)*ox+1,n=i.d[n]){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r},lx.squareRoot=lx.sqrt=function(){var e,t,r,n,i,o,a,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(Jw+"NaN")}for(e=dx(c),Zw=!1,0==(i=Math.sqrt(+c))||i==1/0?(((t=fx(c.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=tx((e+1)/2)-(e<0||e%2),n=new l(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(px(c,o,a+2)).times(.5),fx(o.d).slice(0,a)===(t=fx(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(bx(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=t)break;a+=4}return Zw=!0,bx(n,r)},lx.times=lx.mul=function(e){var t,r,n,i,o,a,c,l,u,s=this,f=s.constructor,p=s.d,h=(e=new f(e)).d;if(!s.s||!e.s)return new f(0);for(e.s*=s.s,r=s.e+e.e,(l=p.length)<(u=h.length)&&(o=p,p=h,h=o,a=l,l=u,u=a),o=[],n=a=l+u;n--;)o.push(0);for(n=u;--n>=0;){for(t=0,i=l+n;i>n;)c=o[i]+h[n]*p[i-n-1]+t,o[i--]=c%ix|0,t=c/ix|0;o[i]=(o[i]+t)%ix|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=r,Zw?bx(e,f.precision):e},lx.toDecimalPlaces=lx.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(sx(e,0,Gw),void 0===t?t=n.rounding:sx(t,0,8),bx(r,e+dx(r)+1,t))},lx.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=xx(n,!0):(sx(e,0,Gw),void 0===t?t=i.rounding:sx(t,0,8),r=xx(n=bx(new i(n),e+1,t),!0,e+1)),r},lx.toFixed=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?xx(i):(sx(e,0,Gw),void 0===t?t=o.rounding:sx(t,0,8),r=xx((n=bx(new o(i),e+dx(i)+1,t)).abs(),!1,e+dx(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},lx.toInteger=lx.toint=function(){var e=this,t=e.constructor;return bx(new t(e),dx(e)+1,t.rounding)},lx.toNumber=function(){return+this},lx.toPower=lx.pow=function(e){var t,r,n,i,o,a,c=this,l=c.constructor,u=+(e=new l(e));if(!e.s)return new l(Xw);if(!(c=new l(c)).s){if(e.s<1)throw Error(Jw+"Infinity");return c}if(c.eq(Xw))return c;if(n=l.precision,e.eq(Xw))return bx(c,n);if(a=(t=e.e)>=(r=e.d.length-1),o=c.s,a){if((r=u<0?-u:u)<=ax){for(i=new l(Xw),t=Math.ceil(n/ox+4),Zw=!1;r%2&&Ox((i=i.times(c)).d,t),0!==(r=tx(r/2));)Ox((c=c.times(c)).d,t);return Zw=!0,e.s<0?new l(Xw).div(i):bx(i,n)}}else if(o<0)throw Error(Jw+"NaN");return o=o<0&&1&e.d[Math.max(t,r)]?-1:1,c.s=1,Zw=!1,i=e.times(gx(c,n+12)),Zw=!0,(i=hx(i)).s=o,i},lx.toPrecision=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?n=xx(i,(r=dx(i))<=o.toExpNeg||r>=o.toExpPos):(sx(e,1,Gw),void 0===t?t=o.rounding:sx(t,0,8),n=xx(i=bx(new o(i),e,t),e<=(r=dx(i))||r<=o.toExpNeg,e)),n},lx.toSignificantDigits=lx.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(sx(e,1,Gw),void 0===t?t=r.rounding:sx(t,0,8)),bx(new r(this),e,t)},lx.toString=lx.valueOf=lx.val=lx.toJSON=lx[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=dx(e),r=e.constructor;return xx(e,t<=r.toExpNeg||t>=r.toExpPos)};var px=function(){function e(e,t){var r,n=0,i=e.length;for(e=e.slice();i--;)r=e[i]*t+n,e[i]=r%ix|0,n=r/ix|0;return n&&e.unshift(n),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=e[r]<t[r]?1:0,e[r]=n*ix+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,i,o,a){var c,l,u,s,f,p,h,d,y,v,g,m,b,w,x,O,S,j,A=n.constructor,P=n.s==i.s?1:-1,M=n.d,k=i.d;if(!n.s)return new A(n);if(!i.s)throw Error(Jw+"Division by zero");for(l=n.e-i.e,S=k.length,x=M.length,d=(h=new A(P)).d=[],u=0;k[u]==(M[u]||0);)++u;if(k[u]>(M[u]||0)&&--l,(m=null==o?o=A.precision:a?o+(dx(n)-dx(i))+1:o)<0)return new A(0);if(m=m/ox+2|0,u=0,1==S)for(s=0,k=k[0],m++;(u<x||s)&&m--;u++)b=s*ix+(M[u]||0),d[u]=b/k|0,s=b%k|0;else{for((s=ix/(k[0]+1)|0)>1&&(k=e(k,s),M=e(M,s),S=k.length,x=M.length),w=S,v=(y=M.slice(0,S)).length;v<S;)y[v++]=0;(j=k.slice()).unshift(0),O=k[0],k[1]>=ix/2&&++O;do{s=0,(c=t(k,y,S,v))<0?(g=y[0],S!=v&&(g=g*ix+(y[1]||0)),(s=g/O|0)>1?(s>=ix&&(s=ix-1),1==(c=t(f=e(k,s),y,p=f.length,v=y.length))&&(s--,r(f,S<p?j:k,p))):(0==s&&(c=s=1),f=k.slice()),(p=f.length)<v&&f.unshift(0),r(y,f,v),-1==c&&(c=t(k,y,S,v=y.length))<1&&(s++,r(y,S<v?j:k,v)),v=y.length):0===c&&(s++,y=[0]),d[u++]=s,c&&y[0]?y[v++]=M[w]||0:(y=[M[w]],v=1)}while((w++<x||void 0!==y[0])&&m--)}return d[0]||d.shift(),h.e=l,bx(h,a?o+dx(h)+1:o)}}();function hx(e,t){var r,n,i,o,a,c=0,l=0,u=e.constructor,s=u.precision;if(dx(e)>16)throw Error(ex+dx(e));if(!e.s)return new u(Xw);for(null==t?(Zw=!1,a=s):a=t,o=new u(.03125);e.abs().gte(.1);)e=e.times(o),l+=5;for(a+=Math.log(rx(2,l))/Math.LN10*2+5|0,r=n=i=new u(Xw),u.precision=a;;){if(n=bx(n.times(e),a),r=r.times(++c),fx((o=i.plus(px(n,r,a))).d).slice(0,a)===fx(i.d).slice(0,a)){for(;l--;)i=bx(i.times(i),a);return u.precision=s,null==t?(Zw=!0,bx(i,s)):i}i=o}}function dx(e){for(var t=e.e*ox,r=e.d[0];r>=10;r/=10)t++;return t}function yx(e,t,r){if(t>e.LN10.sd())throw Zw=!0,r&&(e.precision=r),Error(Jw+"LN10 precision limit exceeded");return bx(new e(e.LN10),t)}function vx(e){for(var t="";e--;)t+="0";return t}function gx(e,t){var r,n,i,o,a,c,l,u,s,f=1,p=e,h=p.d,d=p.constructor,y=d.precision;if(p.s<1)throw Error(Jw+(p.s?"NaN":"-Infinity"));if(p.eq(Xw))return new d(0);if(null==t?(Zw=!1,u=y):u=t,p.eq(10))return null==t&&(Zw=!0),yx(d,u);if(u+=10,d.precision=u,n=(r=fx(h)).charAt(0),o=dx(p),!(Math.abs(o)<15e14))return l=yx(d,u+2,y).times(o+""),p=gx(new d(n+"."+r.slice(1)),u-10).plus(l),d.precision=y,null==t?(Zw=!0,bx(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=fx((p=p.times(e)).d)).charAt(0),f++;for(o=dx(p),n>1?(p=new d("0."+r),o++):p=new d(n+"."+r.slice(1)),c=a=p=px(p.minus(Xw),p.plus(Xw),u),s=bx(p.times(p),u),i=3;;){if(a=bx(a.times(s),u),fx((l=c.plus(px(a,new d(i),u))).d).slice(0,u)===fx(c.d).slice(0,u))return c=c.times(2),0!==o&&(c=c.plus(yx(d,u+2,y).times(o+""))),c=px(c,new d(f),u),d.precision=y,null==t?(Zw=!0,bx(c,y)):c;c=l,i+=2}}function mx(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(n,i)){if(i-=n,r=r-n-1,e.e=tx(r/ox),e.d=[],n=(r+1)%ox,r<0&&(n+=ox),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=ox;n<i;)e.d.push(+t.slice(n,n+=ox));t=t.slice(n),n=ox-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),Zw&&(e.e>cx||e.e<-cx))throw Error(ex+r)}else e.s=0,e.e=0,e.d=[0];return e}function bx(e,t,r){var n,i,o,a,c,l,u,s,f=e.d;for(a=1,o=f[0];o>=10;o/=10)a++;if((n=t-a)<0)n+=ox,i=t,u=f[s=0];else{if((s=Math.ceil((n+1)/ox))>=(o=f.length))return e;for(u=o=f[s],a=1;o>=10;o/=10)a++;i=(n%=ox)-ox+a}if(void 0!==r&&(c=u/(o=rx(10,a-i-1))%10|0,l=t<0||void 0!==f[s+1]||u%o,l=r<4?(c||l)&&(0==r||r==(e.s<0?3:2)):c>5||5==c&&(4==r||l||6==r&&(n>0?i>0?u/rx(10,a-i):0:f[s-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return l?(o=dx(e),f.length=1,t=t-o-1,f[0]=rx(10,(ox-t%ox)%ox),e.e=tx(-t/ox)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(0==n?(f.length=s,o=1,s--):(f.length=s+1,o=rx(10,ox-n),f[s]=i>0?(u/rx(10,a-i)%rx(10,i)|0)*o:0),l)for(;;){if(0==s){(f[0]+=o)==ix&&(f[0]=1,++e.e);break}if(f[s]+=o,f[s]!=ix)break;f[s--]=0,o=1}for(n=f.length;0===f[--n];)f.pop();if(Zw&&(e.e>cx||e.e<-cx))throw Error(ex+dx(e));return e}function wx(e,t){var r,n,i,o,a,c,l,u,s,f,p=e.constructor,h=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),Zw?bx(t,h):t;if(l=e.d,f=t.d,n=t.e,u=e.e,l=l.slice(),a=u-n){for((s=a<0)?(r=l,a=-a,c=f.length):(r=f,n=u,c=l.length),a>(i=Math.max(Math.ceil(h/ox),c)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((s=(i=l.length)<(c=f.length))&&(c=i),i=0;i<c;i++)if(l[i]!=f[i]){s=l[i]<f[i];break}a=0}for(s&&(r=l,l=f,f=r,t.s=-t.s),c=l.length,i=f.length-c;i>0;--i)l[c++]=0;for(i=f.length;i>a;){if(l[--i]<f[i]){for(o=i;o&&0===l[--o];)l[o]=ix-1;--l[o],l[i]+=ix}l[i]-=f[i]}for(;0===l[--c];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(t.d=l,t.e=n,Zw?bx(t,h):t):new p(0)}function xx(e,t,r){var n,i=dx(e),o=fx(e.d),a=o.length;return t?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+vx(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+vx(-i-1)+o,r&&(n=r-a)>0&&(o+=vx(n))):i>=a?(o+=vx(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+vx(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=vx(n))),e.s<0?"-"+o:o}function Ox(e,t){if(e.length>t)return e.length=t,!0}function Sx(e){if(!e||"object"!=typeof e)throw Error(Jw+"Object expected");var t,r,n,i=["precision",1,Gw,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(n=e[r=i[t]])){if(!(tx(n)===n&&n>=i[t+1]&&n<=i[t+2]))throw Error(Qw+r+": "+n);this[r]=n}if(void 0!==(n=e[r="LN10"])){if(n!=Math.LN10)throw Error(Qw+r+": "+n);this[r]=new this(n)}return this}var jx=function e(t){var r,n,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(Qw+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):mx(t,e.toString())}if("string"!=typeof e)throw Error(Qw+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!nx.test(e))throw Error(Qw+e);mx(t,e)}if(o.prototype=lx,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=Sx,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<i.length;)t.hasOwnProperty(n=i[r++])||(t[n]=this[n]);return o.config(t),o}({precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"});Xw=new jx(1);var Ax=jx;function Px(e){return function(e){if(Array.isArray(e))return Mx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Mx(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Mx(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var kx=function(e){return e},Ex={"@@functional/placeholder":!0},Cx=function(e){return e===Ex},_x=function(e){return function t(){return 0===arguments.length||1===arguments.length&&Cx(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},Tx=function e(t,r){return 1===t?r:_x((function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter((function(e){return e!==Ex})).length;return a>=t?r.apply(void 0,i):e(t-a,_x((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=i.map((function(e){return Cx(e)?t.shift():e}));return r.apply(void 0,Px(o).concat(t))})))}))},Dx=function(e){return Tx(e.length,e)},Nx=function(e,t){for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},Ix=Dx((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),Lx=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)return kx;var n=t.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce((function(e,t){return t(e)}),i.apply(void 0,arguments))}},Bx=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},Rx=function(e){var t=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t&&i.every((function(e,r){return e===t[r]}))?r:(t=i,r=e.apply(void 0,i))}};var zx=Dx((function(e,t,r){var n=+e;return n+r*(+t-n)})),$x=Dx((function(e,t,r){var n=t-+e;return(r-e)/(n=n||1/0)})),Hx=Dx((function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))})),Vx={rangeStep:function(e,t,r){for(var n=new Ax(e),i=0,o=[];n.lt(t)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(e){return 0===e?1:Math.floor(new Ax(e).abs().log(10).toNumber())+1},interpolateNumber:zx,uninterpolateNumber:$x,uninterpolateTruncation:Hx};function Fx(e){return function(e){if(Array.isArray(e))return qx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Wx(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ux(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||Wx(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wx(e,t){if(e){if("string"==typeof e)return qx(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qx(e,t):void 0}}function qx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Yx(e){var t=Ux(e,2),r=t[0],n=t[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Xx(e,t,r){if(e.lte(0))return new Ax(0);var n=Vx.getDigitCount(e.toNumber()),i=new Ax(10).pow(n),o=e.div(i),a=1!==n?.05:.1,c=new Ax(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return t?c:new Ax(Math.ceil(c))}function Kx(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new Ax(0),tickMin:new Ax(0),tickMax:new Ax(0)};var o,a=Xx(new Ax(t).sub(e).div(r-1),n,i);o=e<=0&&t>=0?new Ax(0):(o=new Ax(e).add(t).div(2)).sub(new Ax(o).mod(a));var c=Math.ceil(o.sub(e).div(a).toNumber()),l=Math.ceil(new Ax(t).sub(o).div(a).toNumber()),u=c+l+1;return u>r?Kx(e,t,r,n,i+1):(u<r&&(l=t>0?l+(r-u):l,c=t>0?c:c+(r-u)),{step:a,tickMin:o.sub(new Ax(c).mul(a)),tickMax:o.add(new Ax(l).mul(a))})}var Gx=Rx((function(e){var t=Ux(e,2),r=t[0],n=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Ux(Yx([r,n]),2),l=c[0],u=c[1];if(l===-1/0||u===1/0){var s=u===1/0?[l].concat(Fx(Nx(0,i-1).map((function(){return 1/0})))):[].concat(Fx(Nx(0,i-1).map((function(){return-1/0}))),[u]);return r>n?Bx(s):s}if(l===u)return function(e,t,r){var n=1,i=new Ax(e);if(!i.isint()&&r){var o=Math.abs(e);o<1?(n=new Ax(10).pow(Vx.getDigitCount(e)-1),i=new Ax(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new Ax(Math.floor(e)))}else 0===e?i=new Ax(Math.floor((t-1)/2)):r||(i=new Ax(Math.floor(e)));var a=Math.floor((t-1)/2);return Lx(Ix((function(e){return i.add(new Ax(e-a).mul(n)).toNumber()})),Nx)(0,t)}(l,i,o);var f=Kx(l,u,a,o),p=f.step,h=f.tickMin,d=f.tickMax,y=Vx.rangeStep(h,d.add(new Ax(.1).mul(p)),p);return r>n?Bx(y):y})),Zx=Rx((function(e,t){var r=Ux(e,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Ux(Yx([n,i]),2),c=a[0],l=a[1];if(c===-1/0||l===1/0)return[n,i];if(c===l)return[c];var u=Math.max(t,2),s=Xx(new Ax(l).sub(c).div(u-1),o,0),f=[].concat(Fx(Vx.rangeStep(new Ax(c),new Ax(l).sub(new Ax(.99).mul(s)),s)),[l]);return n>i?Bx(f):f})),Jx="production"===process.env.NODE_ENV,Qx="Invariant failed";function eO(e,t){if(Jx)throw new Error(Qx);var r="function"==typeof t?t():t,n=r?"".concat(Qx,": ").concat(r):Qx;throw new Error(n)}var tO=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function rO(){return rO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rO.apply(this,arguments)}function nO(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return iO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iO(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function oO(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function aO(e){var t=e.offset,r=e.layout,n=e.width,i=e.dataKey,o=e.data,a=e.dataPointFormatter,c=e.xAxis,l=e.yAxis,u=oO(e,tO),s=ja(u,!1);"x"===e.direction&&"number"!==c.type&&("production"!==process.env.NODE_ENV?eO(0,'ErrorBar requires Axis type property to be "number".'):eO());var f=o.map((function(e){var o=a(e,i),u=o.x,f=o.y,p=o.value,h=o.errorVal;if(!h)return null;var d,y,v=[];if(Array.isArray(h)){var g=nO(h,2);d=g[0],y=g[1]}else d=y=h;if("vertical"===r){var m=c.scale,b=f+t,w=b+n,x=b-n,O=m(p-d),S=m(p+y);v.push({x1:S,y1:w,x2:S,y2:x}),v.push({x1:O,y1:b,x2:S,y2:b}),v.push({x1:O,y1:w,x2:O,y2:x})}else if("horizontal"===r){var j=l.scale,A=u+t,P=A-n,M=A+n,k=j(p-d),E=j(p+y);v.push({x1:P,y1:E,x2:M,y2:E}),v.push({x1:A,y1:k,x2:A,y2:E}),v.push({x1:P,y1:k,x2:M,y2:k})}return Q.createElement(Ia,rO({className:"recharts-errorBar",key:"bar-".concat(v.map((function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)})))},s),v.map((function(e){return Q.createElement("line",rO({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))})))}));return Q.createElement(Ia,{className:"recharts-errorBars"},f)}function cO(e){return cO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cO(e)}function lO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lO(Object(r),!0).forEach((function(t){sO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=cO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=cO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==cO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}aO.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},aO.displayName="ErrorBar";var fO=function(e){var t,r=e.children,n=e.formattedGraphicalItems,i=e.legendWidth,o=e.legendContent,a=wa(r,qp);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce((function(e,t){var r=t.item,n=t.props,i=n.sectors||n.data||[];return e.concat(i.map((function(e){return{type:a.props.iconType||r.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(n||[]).map((function(e){var t=e.item,r=t.props,n=r.dataKey,i=r.name,o=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||o||"square",color:wO(t),value:i||n,payload:t.props}})),uO(uO(uO({},a.props),qp.getWithHeight(a,i)),{},{payload:t,item:a})):null};function pO(e){return pO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pO(e)}function hO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function dO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hO(Object(r),!0).forEach((function(t){yO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=pO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=pO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vO(e){return function(e){if(Array.isArray(e))return gO(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return gO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gO(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function mO(e,t,r){return Eo(e)||Eo(t)?r:Ko(t)?ko(e,t,r):In(t)?t(e):r}function bO(e,t,r,n){var i=qw(e,(function(e){return mO(e,t)}));if("number"===r){var o=i.filter((function(e){return Xo(e)||parseFloat(e)}));return o.length?[zw(o),Nw(o)]:[1/0,-1/0]}return(n?i.filter((function(e){return!Eo(e)})):i).map((function(e){return Ko(e)||e instanceof Date?e:""}))}var wO=function(e){var t,r=e.type.displayName,n=e.props,i=n.stroke,o=n.fill;switch(r){case"Line":t=i;break;case"Area":case"Radar":t=i&&"none"!==i?i:o;break;default:t=o}return t},xO=function(e,t,r,n,i){var o=ba(t.props.children,aO).filter((function(e){return function(e,t,r){return!!Eo(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===r?"xAxis"===t:"y"!==r||"yAxis"===t)}(n,i,e.props.direction)}));if(o&&o.length){var a=o.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var n=mO(t,r);if(Eo(n))return e;var i=Array.isArray(n)?[zw(n),Nw(n)]:[n,n],o=a.reduce((function(e,r){var n=mO(t,r,0),o=i[0]-Math.abs(Array.isArray(n)?n[0]:n),a=i[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(o,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]}),[1/0,-1/0])}return null},OO=function(e,t,r,n,i){var o=t.map((function(t){var o=t.props.dataKey;return"number"===r&&o&&xO(e,t,o,n)||bO(e,o,r,i)}));if("number"===r)return o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var a={};return o.reduce((function(e,t){for(var r=0,n=t.length;r<n;r++)a[t[r]]||(a[t[r]]=!0,e.push(t[r]));return e}),[])},SO=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},jO=function(e,t,r){if(!e)return null;var n=e.scale,i=e.duplicateDomain,o=e.type,a=e.range,c="scaleBand"===e.realScaleType?n.bandwidth()/2:2,l=(t||r)&&"category"===o&&n.bandwidth?n.bandwidth()/c:0;return l="angleAxis"===e.axisType&&(null==a?void 0:a.length)>=2?2*qo(a[0]-a[1])*l:l,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=i?i.indexOf(e):e;return{coordinate:n(t)+l,value:e,offset:l}})).filter((function(e){return!Wo(e.coordinate)})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:n(e)+l,value:e,index:t,offset:l}})):n.ticks&&!r?n.ticks(e.tickCount).map((function(e){return{coordinate:n(e)+l,value:e,offset:l}})):n.domain().map((function(e,t){return{coordinate:n(e)+l,value:i?i[e]:e,index:t,offset:l}}))},AO=new WeakMap,PO=function(e,t){if("function"!=typeof t)return e;AO.has(e)||AO.set(e,new WeakMap);var r=AO.get(e);if(r.has(t))return r.get(t);var n=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return r.set(t,n),n},MO=1e-4,kO={sign:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0,a=0;a<t;++a){var c=Wo(e[a][r][1])?e[a][r][0]:e[a][r][1];c>=0?(e[a][r][0]=i,e[a][r][1]=i+c,i=e[a][r][1]):(e[a][r][0]=o,e[a][r][1]=o+c,o=e[a][r][1])}},expand:function(e,t){if((n=e.length)>0){for(var r,n,i,o=0,a=e[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=e[r][o][1]||0;if(i)for(r=0;r<n;++r)e[r][o][1]/=i}hl(e,t)}},none:hl,silhouette:function(e,t){if((r=e.length)>0){for(var r,n=0,i=e[t[0]],o=i.length;n<o;++n){for(var a=0,c=0;a<r;++a)c+=e[a][n][1]||0;i[n][1]+=i[n][0]=-c/2}hl(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(n=(r=e[t[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var c=0,l=0,u=0;c<i;++c){for(var s=e[t[c]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,h=0;h<c;++h){var d=e[t[h]];p+=(d[a][1]||0)-(d[a-1][1]||0)}l+=f,u+=p*f}r[a-1][1]+=r[a-1][0]=o,l&&(o-=u/l)}r[a-1][1]+=r[a-1][0]=o,hl(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0;o<t;++o){var a=Wo(e[o][r][1])?e[o][r][0]:e[o][r][1];a>=0?(e[o][r][0]=i,e[o][r][1]=i+a,i=e[o][r][1]):(e[o][r][0]=0,e[o][r][1]=0)}}},EO=function(e,t,r){var n=t.map((function(e){return e.props.dataKey})),i=kO[r],o=function(){var e=hc([]),t=dl,r=hl,n=yl;function i(i){var o,a,c=Array.from(e.apply(this,arguments),vl),l=c.length,u=-1;for(const e of i)for(o=0,++u;o<l;++o)(c[o][u]=[0,+n(e,c[o].key,u,i)]).data=e;for(o=0,a=Pc(t(c));o<l;++o)c[a[o]].index=o;return r(c,a),c}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:hc(Array.from(t)),i):e},i.value=function(e){return arguments.length?(n="function"==typeof e?e:hc(+e),i):n},i.order=function(e){return arguments.length?(t=null==e?dl:"function"==typeof e?e:hc(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(r=null==e?hl:e,i):r},i}().keys(n).value((function(e,t){return+mO(e,t,0)})).order(dl).offset(i);return o(e)};function CO(e){var t=e.axis,r=e.ticks,n=e.bandSize,i=e.entry,o=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!Eo(i[t.dataKey])){var c=ta(r,"value",i[t.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var l=mO(i,Eo(a)?t.dataKey:a);return Eo(l)?null:t.scale(l)}var _O=function(e){var t=e.axis,r=e.ticks,n=e.offset,i=e.bandSize,o=e.entry,a=e.index;if("category"===t.type)return r[a]?r[a].coordinate+n:null;var c=mO(o,t.dataKey,t.domain[a]);return Eo(c)?null:t.scale(c)-i/2+n},TO=function(e,t,r){return Object.keys(e).reduce((function(n,i){var o=e[i].stackedData.reduce((function(e,n){var i=n.slice(t,r+1).reduce((function(e,t){return[zw(t.concat([e[0]]).filter(Xo)),Nw(t.concat([e[1]]).filter(Xo))]}),[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},DO=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,NO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,IO=function(e,t,r){if(In(e))return e(t,r);if(!Array.isArray(e))return t;var n=[];if(Xo(e[0]))n[0]=r?e[0]:Math.min(e[0],t[0]);else if(DO.test(e[0])){var i=+DO.exec(e[0])[1];n[0]=t[0]-i}else In(e[0])?n[0]=e[0](t[0]):n[0]=t[0];if(Xo(e[1]))n[1]=r?e[1]:Math.max(e[1],t[1]);else if(NO.test(e[1])){var o=+NO.exec(e[1])[1];n[1]=t[1]+o}else In(e[1])?n[1]=e[1](t[1]):n[1]=t[1];return n},LO=function(e,t,r){if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var i=Wh(t,(function(e){return e.coordinate})),o=1/0,a=1,c=i.length;a<c;a++){var l=i[a],u=i[a-1];o=Math.min((l.coordinate||0)-(u.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},BO=function(e,t,r){return e&&e.length?Kw(e,ko(r,"type.defaultProps.domain"))?t:e:t},RO=function(e,t){var r=e.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,c=r.tooltipType,l=r.chartType,u=r.hide;return dO(dO({},ja(e,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:wO(e),value:mO(t,n),type:c,payload:t,chartType:l,hide:u})};function zO(e){return zO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zO(e)}function $O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function HO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$O(Object(r),!0).forEach((function(t){VO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function VO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=zO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=zO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==zO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var FO=Math.PI/180,UO=function(e){return 180*e/Math.PI},WO=function(e,t,r,n){return{x:e+Math.cos(-FO*n)*r,y:t+Math.sin(-FO*n)*r}},qO=function(e,t){var r=e.x,n=e.y,i=t.cx,o=t.cy,a=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return Math.sqrt(Math.pow(r-i,2)+Math.pow(n-o,2))}({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=(r-i)/a,l=Math.acos(c);return n>o&&(l=2*Math.PI-l),{radius:a,angle:UO(l),angleInRadian:l}},YO=function(e,t){var r=t.startAngle,n=t.endAngle,i=Math.floor(r/360),o=Math.floor(n/360);return e+360*Math.min(i,o)},XO=function(e,t){var r=e.x,n=e.y,i=qO({x:r,y:n},t),o=i.radius,a=i.angle,c=t.innerRadius,l=t.outerRadius;if(o<c||o>l)return!1;if(0===o)return!0;var u,s=function(e){var t=e.startAngle,r=e.endAngle,n=Math.floor(t/360),i=Math.floor(r/360),o=Math.min(n,i);return{startAngle:t-360*o,endAngle:r-360*o}}(t),f=s.startAngle,p=s.endAngle,h=a;if(f<=p){for(;h>p;)h-=360;for(;h<f;)h+=360;u=h>=f&&h<=p}else{for(;h>f;)h-=360;for(;h<p;)h+=360;u=h>=p&&h<=f}return u?HO(HO({},t),{},{radius:o,angle:YO(h,t)}):null};function KO(e){return KO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},KO(e)}var GO=["offset"];function ZO(e){return function(e){if(Array.isArray(e))return JO(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return JO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return JO(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function JO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function QO(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function eS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function tS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eS(Object(r),!0).forEach((function(t){rS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=KO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=KO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==KO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nS(){return nS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nS.apply(this,arguments)}var iS=function(e){var t=e.value,r=e.formatter,n=Eo(e.children)?t:e.children;return In(r)?r(n):n},oS=function(e,t,r){var n,i,o=e.position,a=e.viewBox,c=e.offset,l=e.className,u=a,s=u.cx,f=u.cy,p=u.innerRadius,h=u.outerRadius,d=u.startAngle,y=u.endAngle,v=u.clockWise,g=(p+h)/2,m=function(e,t){return qo(t-e)*Math.min(Math.abs(t-e),360)}(d,y),b=m>=0?1:-1;"insideStart"===o?(n=d+b*c,i=v):"insideEnd"===o?(n=y-b*c,i=!v):"end"===o&&(n=y+b*c,i=v),i=m<=0?i:!i;var w=WO(s,f,g,n),x=WO(s,f,g,n+359*(i?1:-1)),O="M".concat(w.x,",").concat(w.y,"\n A").concat(g,",").concat(g,",0,1,").concat(i?0:1,",\n ").concat(x.x,",").concat(x.y),S=Eo(e.id)?Zo("recharts-radial-line-"):e.id;return Q.createElement("text",nS({},r,{dominantBaseline:"central",className:tn("recharts-radial-bar-label",l)}),Q.createElement("defs",null,Q.createElement("path",{id:S,d:O})),Q.createElement("textPath",{xlinkHref:"#".concat(S)},t))},aS=function(e){var t=e.viewBox,r=e.offset,n=e.position,i=t,o=i.cx,a=i.cy,c=i.innerRadius,l=i.outerRadius,u=(i.startAngle+i.endAngle)/2;if("outside"===n){var s=WO(o,a,l+r,u),f=s.x;return{x:f,y:s.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=WO(o,a,(c+l)/2,u);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},cS=function(e){var t=e.viewBox,r=e.parentViewBox,n=e.offset,i=e.position,o=t,a=o.x,c=o.y,l=o.width,u=o.height,s=u>=0?1:-1,f=s*n,p=s>0?"end":"start",h=s>0?"start":"end",d=l>=0?1:-1,y=d*n,v=d>0?"end":"start",g=d>0?"start":"end";if("top"===i)return tS(tS({},{x:a+l/2,y:c-s*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(c-r.y,0),width:l}:{});if("bottom"===i)return tS(tS({},{x:a+l/2,y:c+u+f,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(c+u),0),width:l}:{});if("left"===i){var m={x:a-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"};return tS(tS({},m),r?{width:Math.max(m.x-r.x,0),height:u}:{})}if("right"===i){var b={x:a+l+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"};return tS(tS({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:u}:{})}var w=r?{width:l,height:u}:{};return"insideLeft"===i?tS({x:a+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"},w):"insideRight"===i?tS({x:a+l-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?tS({x:a+l/2,y:c+f,textAnchor:"middle",verticalAnchor:h},w):"insideBottom"===i?tS({x:a+l/2,y:c+u-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?tS({x:a+y,y:c+f,textAnchor:g,verticalAnchor:h},w):"insideTopRight"===i?tS({x:a+l-y,y:c+f,textAnchor:v,verticalAnchor:h},w):"insideBottomLeft"===i?tS({x:a+y,y:c+u-f,textAnchor:g,verticalAnchor:p},w):"insideBottomRight"===i?tS({x:a+l-y,y:c+u-f,textAnchor:v,verticalAnchor:p},w):Cn(i)&&(Xo(i.x)||Yo(i.x))&&(Xo(i.y)||Yo(i.y))?tS({x:a+Jo(i.x,l),y:c+Jo(i.y,u),textAnchor:"end",verticalAnchor:"end"},w):tS({x:a+l/2,y:c+u/2,textAnchor:"middle",verticalAnchor:"middle"},w)},lS=function(e){return"cx"in e&&Xo(e.cx)};function uS(e){var t,r=e.offset,n=tS({offset:void 0===r?5:r},QO(e,GO)),i=n.viewBox,o=n.position,a=n.value,c=n.children,l=n.content,u=n.className,s=void 0===u?"":u,f=n.textBreakAll;if(!i||Eo(a)&&Eo(c)&&!ee(l)&&!In(l))return null;if(ee(l))return se(l,n);if(In(l)){if(ee(t=fe(l,n)))return t}else t=iS(n);var p=lS(i),h=ja(n,!0);if(p&&("insideStart"===o||"insideEnd"===o||"end"===o))return oS(n,t,h);var d=p?aS(n):cS(n);return Q.createElement(Wy,nS({className:tn("recharts-label",s)},h,d,{breakAll:f}),t)}uS.displayName="Label";var sS=function(e){var t=e.cx,r=e.cy,n=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,c=e.radius,l=e.innerRadius,u=e.outerRadius,s=e.x,f=e.y,p=e.top,h=e.left,d=e.width,y=e.height,v=e.clockWise,g=e.labelViewBox;if(g)return g;if(Xo(d)&&Xo(y)){if(Xo(s)&&Xo(f))return{x:s,y:f,width:d,height:y};if(Xo(p)&&Xo(h))return{x:p,y:h,width:d,height:y}}return Xo(s)&&Xo(f)?{x:s,y:f,width:0,height:0}:Xo(t)&&Xo(r)?{cx:t,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:l||0,outerRadius:u||c||a||0,clockWise:v}:e.viewBox?e.viewBox:{}};uS.parseViewBox=sS,uS.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=sS(e),o=ba(n,uS).map((function(e,r){return se(e,{viewBox:t||i,key:"label-".concat(r)})}));if(!r)return o;var a=function(e,t){return e?!0===e?Q.createElement(uS,{key:"label-implicit",viewBox:t}):Ko(e)?Q.createElement(uS,{key:"label-implicit",viewBox:t,value:e}):ee(e)?e.type===uS?se(e,{key:"label-implicit",viewBox:t}):Q.createElement(uS,{key:"label-implicit",content:e,viewBox:t}):In(e)?Q.createElement(uS,{key:"label-implicit",content:e,viewBox:t}):Cn(e)?Q.createElement(uS,nS({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||i);return[a].concat(ZO(o))};var fS=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},pS=Wt(fS);function hS(e){return hS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hS(e)}var dS=["valueAccessor"],yS=["data","dataKey","clockWise","id","textBreakAll"];function vS(e){return function(e){if(Array.isArray(e))return gS(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return gS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gS(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function mS(){return mS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mS.apply(this,arguments)}function bS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bS(Object(r),!0).forEach((function(t){xS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=hS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=hS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==hS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OS(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var SS=function(e){return Array.isArray(e.value)?pS(e.value):e.value};function jS(e){var t=e.valueAccessor,r=void 0===t?SS:t,n=OS(e,dS),i=n.data,o=n.dataKey,a=n.clockWise,c=n.id,l=n.textBreakAll,u=OS(n,yS);return i&&i.length?Q.createElement(Ia,{className:"recharts-label-list"},i.map((function(e,t){var n=Eo(o)?r(e,t):mO(e&&e.payload,o),i=Eo(c)?{}:{id:"".concat(c,"-").concat(t)};return Q.createElement(uS,mS({},ja(e,!0),u,i,{parentViewBox:e.parentViewBox,value:n,textBreakAll:l,viewBox:uS.parseViewBox(Eo(a)?e:wS(wS({},e),{},{clockWise:a})),key:"label-".concat(t),index:t}))}))):null}function AS(e){return AS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},AS(e)}function PS(){return PS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},PS.apply(this,arguments)}function MS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?MS(Object(r),!0).forEach((function(t){ES(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):MS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ES(e,t,r){return t=function(e){var t=function(e,t){if("object"!=AS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=AS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==AS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}jS.displayName="LabelList",jS.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=ba(e.children,jS).map((function(e,r){return se(e,{data:t,key:"labelList-".concat(r)})}));return r?[function(e,t){return e?!0===e?Q.createElement(jS,{key:"labelList-implicit",data:t}):Q.isValidElement(e)||In(e)?Q.createElement(jS,{key:"labelList-implicit",data:t,content:e}):Cn(e)?Q.createElement(jS,mS({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(vS(n)):n};var CS=function(e){var t=e.cx,r=e.cy,n=e.radius,i=e.angle,o=e.sign,a=e.isExternal,c=e.cornerRadius,l=e.cornerIsExternal,u=c*(a?1:-1)+n,s=Math.asin(c/u)/FO,f=l?i:i+o*s,p=l?i-o*s:i;return{center:WO(t,r,u,f),circleTangency:WO(t,r,n,f),lineTangency:WO(t,r,u*Math.cos(s*FO),p),theta:s}},_S=function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return qo(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),c=o+a,l=WO(t,r,i,o),u=WO(t,r,i,c),s="M ".concat(l.x,",").concat(l.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>c),",\n ").concat(u.x,",").concat(u.y,"\n ");if(n>0){var f=WO(t,r,n,o),p=WO(t,r,n,c);s+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else s+="L ".concat(t,",").concat(r," Z");return s},TS={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},DS=function(e){var t=kS(kS({},TS),e),r=t.cx,n=t.cy,i=t.innerRadius,o=t.outerRadius,a=t.cornerRadius,c=t.forceCornerRadius,l=t.cornerIsExternal,u=t.startAngle,s=t.endAngle,f=t.className;if(o<i||u===s)return null;var p,h=tn("recharts-sector",f),d=o-i,y=Jo(a,d,0,!0);return p=y>0&&Math.abs(u-s)<360?function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,c=e.cornerIsExternal,l=e.startAngle,u=e.endAngle,s=qo(u-l),f=CS({cx:t,cy:r,radius:i,angle:l,sign:s,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=CS({cx:t,cy:r,radius:i,angle:u,sign:-s,cornerRadius:o,cornerIsExternal:c}),v=y.circleTangency,g=y.lineTangency,m=y.theta,b=c?Math.abs(l-u):Math.abs(l-u)-d-m;if(b<0)return a?"M ".concat(h.x,",").concat(h.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):_S({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:l,endAngle:u});var w="M ".concat(h.x,",").concat(h.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(s<0),",").concat(v.x,",").concat(v.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(g.x,",").concat(g.y,"\n ");if(n>0){var x=CS({cx:t,cy:r,radius:n,angle:l,sign:s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),O=x.circleTangency,S=x.lineTangency,j=x.theta,A=CS({cx:t,cy:r,radius:n,angle:u,sign:-s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),P=A.circleTangency,M=A.lineTangency,k=A.theta,E=c?Math.abs(l-u):Math.abs(l-u)-j-k;if(E<0&&0===o)return"".concat(w,"L").concat(t,",").concat(r,"Z");w+="L".concat(M.x,",").concat(M.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(P.x,",").concat(P.y,"\n A").concat(n,",").concat(n,",0,").concat(+(E>180),",").concat(+(s>0),",").concat(O.x,",").concat(O.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(S.x,",").concat(S.y,"Z")}else w+="L".concat(t,",").concat(r,"Z");return w}({cx:r,cy:n,innerRadius:i,outerRadius:o,cornerRadius:Math.min(y,d/2),forceCornerRadius:c,cornerIsExternal:l,startAngle:u,endAngle:s}):_S({cx:r,cy:n,innerRadius:i,outerRadius:o,startAngle:u,endAngle:s}),Q.createElement("path",PS({},ja(t,!0),{className:h,d:p,role:"img"}))};function NS(e){return NS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NS(e)}function IS(){return IS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},IS.apply(this,arguments)}function LS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function BS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?LS(Object(r),!0).forEach((function(t){RS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):LS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function RS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=NS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=NS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==NS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var zS,$S,HS,VS,FS,US,WS,qS,YS,XS,KS,GS,ZS={curveBasisClosed:function(e){return new el(e)},curveBasisOpen:function(e){return new tl(e)},curveBasis:function(e){return new Qc(e)},curveBumpX:function(e){return new Dc(e,!0)},curveBumpY:function(e){return new Dc(e,!1)},curveLinearClosed:function(e){return new rl(e)},curveLinear:kc,curveMonotoneX:function(e){return new cl(e)},curveMonotoneY:function(e){return new ll(e)},curveNatural:function(e){return new sl(e)},curveStep:function(e){return new pl(e,.5)},curveStepAfter:function(e){return new pl(e,1)},curveStepBefore:function(e){return new pl(e,0)}},JS=function(e){return e.x===+e.x&&e.y===+e.y},QS=function(e){return e.x},ej=function(e){return e.y},tj=function(e){var t,r=e.type,n=void 0===r?"linear":r,i=e.points,o=void 0===i?[]:i,a=e.baseLine,c=e.layout,l=e.connectNulls,u=void 0!==l&&l,s=function(e,t){if(In(e))return e;var r="curve".concat(pc(e));return"curveMonotone"!==r&&"curveBump"!==r||!t?ZS[r]||kc:ZS["".concat(r).concat("vertical"===t?"Y":"X")]}(n,c),f=u?o.filter((function(e){return JS(e)})):o;if(Array.isArray(a)){var p=u?a.filter((function(e){return JS(e)})):a,h=f.map((function(e,t){return BS(BS({},e),{},{base:p[t]})}));return(t="vertical"===c?Tc().y(ej).x1(QS).x0((function(e){return e.base.x})):Tc().x(QS).y1(ej).y0((function(e){return e.base.y}))).defined(JS).curve(s),t(h)}return(t="vertical"===c&&Xo(a)?Tc().y(ej).x1(QS).x0(a):Xo(a)?Tc().x(QS).y1(ej).y0(a):_c().x(QS).y(ej)).defined(JS).curve(s),t(f)},rj=function(e){var t=e.className,r=e.points,n=e.path,i=e.pathRef;if(!(r&&r.length||n))return null;var o=r&&r.length?tj(e):n;return Q.createElement("path",IS({},ja(e,!1),la(e),{className:tn("recharts-curve",t),d:o,ref:i}))},nj={exports:{}};function ij(){if($S)return zS;$S=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return zS=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(n,i){for(var o,a,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(n),l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]))t.call(o,u)&&(c[u]=o[u]);if(e){a=e(o);for(var s=0;s<a.length;s++)r.call(o,a[s])&&(c[a[s]]=o[a[s]])}}return c},zS}function oj(){if(VS)return HS;VS=1;return HS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function aj(){return US?FS:(US=1,FS=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var cj=zo;nj.exports=function(){if(XS)return YS;XS=1;var e=zo,t=ij(),r=oj(),n=aj(),i=function(){if(qS)return WS;qS=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=oj(),r={},n=aj();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function i(i,o,a,c,l){if("production"!==process.env.NODE_ENV)for(var u in i)if(n(i,u)){var s;try{if("function"!=typeof i[u]){var f=Error((c||"React class")+": "+a+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}s=i[u](o,u,c,a,null,t)}catch(e){s=e}if(!s||s instanceof Error||e((c||"React class")+": type specification of "+a+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in r)){r[s.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+s.message+(null!=p?p:""))}}}return i.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},WS=i}(),o=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),YS=function(c,l){var u="function"==typeof Symbol&&Symbol.iterator,s="@@iterator",f="<<anonymous>>",p={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:y(a),arrayOf:function(e){return y((function(t,n,i,o,a){if("function"!=typeof e)return new d("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var c=t[n];if(!Array.isArray(c))return new d("Invalid "+o+" `"+a+"` of type `"+b(c)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<c.length;l++){var u=e(c,l,i,o,a+"["+l+"]",r);if(u instanceof Error)return u}return null}))},element:y((function(e,t,r,n,i){var o=e[t];return c(o)?null:new d("Invalid "+n+" `"+i+"` of type `"+b(o)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:y((function(t,r,n,i,o){var a=t[r];return e.isValidElementType(a)?null:new d("Invalid "+i+" `"+o+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return y((function(t,r,n,i,o){if(!(t[r]instanceof e)){var a=e.name||f;return new d("Invalid "+i+" `"+o+"` of type `"+((c=t[r]).constructor&&c.constructor.name?c.constructor.name:f)+"` supplied to `"+n+"`, expected instance of `"+a+"`.")}var c;return null}))},node:y((function(e,t,r,n,i){return m(e[t])?null:new d("Invalid "+n+" `"+i+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return y((function(t,i,o,a,c){if("function"!=typeof e)return new d("Property `"+c+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var l=t[i],u=b(l);if("object"!==u)return new d("Invalid "+a+" `"+c+"` of type `"+u+"` supplied to `"+o+"`, expected an object.");for(var s in l)if(n(l,s)){var f=e(l,s,o,a,c+"."+s,r);if(f instanceof Error)return f}return null}))},oneOf:function(e){return Array.isArray(e)?y((function(t,r,n,i,o){for(var a=t[r],c=0;c<e.length;c++)if(h(a,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new d("Invalid "+i+" `"+o+"` of value `"+String(a)+"` supplied to `"+n+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var i=e[t];if("function"!=typeof i)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(i)+" at index "+t+"."),a}return y((function(t,i,o,a,c){for(var l=[],u=0;u<e.length;u++){var s=(0,e[u])(t,i,o,a,c,r);if(null==s)return null;s.data&&n(s.data,"expectedType")&&l.push(s.data.expectedType)}return new d("Invalid "+a+" `"+c+"` supplied to `"+o+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return y((function(t,n,i,o,a){var c=t[n],l=b(c);if("object"!==l)return new d("Invalid "+o+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var s=e[u];if("function"!=typeof s)return g(i,o,a,u,w(s));var f=s(c,u,i,o,a+"."+u,r);if(f)return f}return null}))},exact:function(e){return y((function(i,o,a,c,l){var u=i[o],s=b(u);if("object"!==s)return new d("Invalid "+c+" `"+l+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");var f=t({},i[o],e);for(var p in f){var h=e[p];if(n(e,p)&&"function"!=typeof h)return g(a,c,l,p,w(h));if(!h)return new d("Invalid "+c+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(i[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=h(u,p,a,c,l+"."+p,r);if(y)return y}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function y(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function i(i,a,c,u,s,p,h){if(u=u||f,p=p||c,h!==r){if(l){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=u+":"+c;!t[v]&&n<3&&(o("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[v]=!0,n++)}}return null==a[c]?i?null===a[c]?new d("The "+s+" `"+p+"` is marked as required in `"+u+"`, but its value is `null`."):new d("The "+s+" `"+p+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(a,c,u,s,p)}var a=i.bind(null,!1);return a.isRequired=i.bind(null,!0),a}function v(e){return y((function(t,r,n,i,o,a){var c=t[r];return b(c)!==e?new d("Invalid "+i+" `"+o+"` of type `"+w(c)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,r,n,i){return new d((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function m(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(m);if(null===e||c(e))return!0;var t=function(e){var t=e&&(u&&e[u]||e[s]);if("function"==typeof t)return t}(e);if(!t)return!1;var r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!m(r.value))return!1}else for(;!(r=n.next()).done;){var i=r.value;if(i&&!m(i[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return d.prototype=Error.prototype,p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},YS}()(cj.isElement,!0)}else nj.exports=function(){if(GS)return KS;GS=1;var e=oj();function t(){}function r(){}return r.resetWarningCache=t,KS=function(){function n(t,r,n,i,o,a){if(a!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function i(){return n}n.isRequired=n;var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o}}()();var lj=Wt(nj.exports),uj=Object.getOwnPropertyNames,sj=Object.getOwnPropertySymbols,fj=Object.prototype.hasOwnProperty;function pj(e,t){return function(r,n,i){return e(r,n,i)&&t(r,n,i)}}function hj(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);var i=n.cache,o=i.get(t),a=i.get(r);if(o&&a)return o===r&&a===t;i.set(t,r),i.set(r,t);var c=e(t,r,n);return i.delete(t),i.delete(r),c}}function dj(e){return uj(e).concat(sj(e))}var yj=Object.hasOwn||function(e,t){return fj.call(e,t)};function vj(e,t){return e||t?e===t:e===t||e!=e&&t!=t}var gj="_owner",mj=Object.getOwnPropertyDescriptor,bj=Object.keys;function wj(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function xj(e,t){return vj(e.getTime(),t.getTime())}function Oj(e,t,r){if(e.size!==t.size)return!1;for(var n,i,o={},a=e.entries(),c=0;(n=a.next())&&!n.done;){for(var l=t.entries(),u=!1,s=0;(i=l.next())&&!i.done;){var f=n.value,p=f[0],h=f[1],d=i.value,y=d[0],v=d[1];u||o[s]||!(u=r.equals(p,y,c,s,e,t,r)&&r.equals(h,v,p,y,e,t,r))||(o[s]=!0),s++}if(!u)return!1;c++}return!0}function Sj(e,t,r){var n,i=bj(e),o=i.length;if(bj(t).length!==o)return!1;for(;o-- >0;){if((n=i[o])===gj&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!yj(t,n)||!r.equals(e[n],t[n],n,n,e,t,r))return!1}return!0}function jj(e,t,r){var n,i,o,a=dj(e),c=a.length;if(dj(t).length!==c)return!1;for(;c-- >0;){if((n=a[c])===gj&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!yj(t,n))return!1;if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;if(i=mj(e,n),o=mj(t,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function Aj(e,t){return vj(e.valueOf(),t.valueOf())}function Pj(e,t){return e.source===t.source&&e.flags===t.flags}function Mj(e,t,r){if(e.size!==t.size)return!1;for(var n,i,o={},a=e.values();(n=a.next())&&!n.done;){for(var c=t.values(),l=!1,u=0;(i=c.next())&&!i.done;)l||o[u]||!(l=r.equals(n.value,i.value,n.value,i.value,e,t,r))||(o[u]=!0),u++;if(!l)return!1}return!0}function kj(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}var Ej="[object Arguments]",Cj="[object Boolean]",_j="[object Date]",Tj="[object Map]",Dj="[object Number]",Nj="[object Object]",Ij="[object RegExp]",Lj="[object Set]",Bj="[object String]",Rj=Array.isArray,zj="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,$j=Object.assign,Hj=Object.prototype.toString.call.bind(Object.prototype.toString);var Vj=Fj();function Fj(e){void 0===e&&(e={});var t,r=e.circular,n=void 0!==r&&r,i=e.createInternalComparator,o=e.createState,a=e.strict,c=void 0!==a&&a,l=function(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,i={areArraysEqual:n?jj:wj,areDatesEqual:xj,areMapsEqual:n?pj(Oj,jj):Oj,areObjectsEqual:n?jj:Sj,arePrimitiveWrappersEqual:Aj,areRegExpsEqual:Pj,areSetsEqual:n?pj(Mj,jj):Mj,areTypedArraysEqual:n?jj:kj};if(r&&(i=$j({},i,r(i))),t){var o=hj(i.areArraysEqual),a=hj(i.areMapsEqual),c=hj(i.areObjectsEqual),l=hj(i.areSetsEqual);i=$j({},i,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:l})}return i}(e),u=function(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,i=e.areObjectsEqual,o=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,c=e.areSetsEqual,l=e.areTypedArraysEqual;return function(e,u,s){if(e===u)return!0;if(null==e||null==u||"object"!=typeof e||"object"!=typeof u)return e!=e&&u!=u;var f=e.constructor;if(f!==u.constructor)return!1;if(f===Object)return i(e,u,s);if(Rj(e))return t(e,u,s);if(null!=zj&&zj(e))return l(e,u,s);if(f===Date)return r(e,u,s);if(f===RegExp)return a(e,u,s);if(f===Map)return n(e,u,s);if(f===Set)return c(e,u,s);var p=Hj(e);return p===_j?r(e,u,s):p===Ij?a(e,u,s):p===Tj?n(e,u,s):p===Lj?c(e,u,s):p===Nj?"function"!=typeof e.then&&"function"!=typeof u.then&&i(e,u,s):p===Ej?i(e,u,s):(p===Cj||p===Dj||p===Bj)&&o(e,u,s)}}(l),s=i?i(u):(t=u,function(e,r,n,i,o,a,c){return t(e,r,c)});return function(e){var t=e.circular,r=e.comparator,n=e.createState,i=e.equals,o=e.strict;if(n)return function(e,a){var c=n(),l=c.cache,u=void 0===l?t?new WeakMap:void 0:l,s=c.meta;return r(e,a,{cache:u,equals:i,meta:s,strict:o})};if(t)return function(e,t){return r(e,t,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(e,t){return r(e,t,a)}}({circular:n,comparator:u,createState:o,equals:s,strict:c})}function Uj(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame((function n(i){r<0&&(r=i),i-r>t?(e(i),r=-1):function(e){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(e)}(n)}))}function Wj(e){return Wj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wj(e)}function qj(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Yj(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yj(e,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 Yj(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Xj(){var e=function(){return null},t=!1,r=function r(n){if(!t){if(Array.isArray(n)){if(!n.length)return;var i=qj(n),o=i[0],a=i.slice(1);return"number"==typeof o?void Uj(r.bind(null,a),o):(r(o),void Uj(r.bind(null,a)))}"object"===Wj(n)&&e(n),"function"==typeof n&&n()}};return{stop:function(){t=!0},start:function(e){t=!1,r(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function Kj(e){return Kj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kj(e)}function Gj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zj(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gj(Object(r),!0).forEach((function(t){Jj(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gj(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Jj(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Kj(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Kj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Kj(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Fj({strict:!0}),Fj({circular:!0}),Fj({circular:!0,strict:!0}),Fj({createInternalComparator:function(){return vj}}),Fj({strict:!0,createInternalComparator:function(){return vj}}),Fj({circular:!0,createInternalComparator:function(){return vj}}),Fj({circular:!0,createInternalComparator:function(){return vj},strict:!0});var Qj=function(e){return e},eA=function(e,t){return Object.keys(t).reduce((function(r,n){return Zj(Zj({},r),{},Jj({},n,e(n,t[n])))}),{})},tA=function(e,t,r){return e.map((function(e){return"".concat((n=e,n.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(r);var n})).join(",")},rA="production"!==process.env.NODE_ENV,nA=function(e,t,r,n,i,o,a,c){if(rA&&"undefined"!=typeof console&&console.warn&&(void 0===t&&console.warn("LogUtils requires an error message argument"),!e))if(void 0===t)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,i,o,a,c],u=0;console.warn(t.replace(/%s/g,(function(){return l[u++]})))}};function iA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||aA(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oA(e){return function(e){if(Array.isArray(e))return cA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||aA(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aA(e,t){if(e){if("string"==typeof e)return cA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cA(e,t):void 0}}function cA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var lA=1e-4,uA=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},sA=function(e,t){return e.map((function(e,r){return e*Math.pow(t,r)})).reduce((function(e,t){return e+t}))},fA=function(e,t){return function(r){var n=uA(e,t);return sA(n,r)}},pA=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t[1],o=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var c=t[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var l=c[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),u=iA(l,4);n=u[0],i=u[1],o=u[2],a=u[3]}else nA(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",t)}nA([n,o,i,a].every((function(e){return"number"==typeof e&&e>=0&&e<=1})),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",t);var s,f,p=fA(n,o),h=fA(i,a),d=(s=n,f=o,function(e){var t=uA(s,f),r=[].concat(oA(t.map((function(e,t){return e*t})).slice(1)),[0]);return sA(r,e)}),y=function(e){for(var t,r=e>1?1:e,n=r,i=0;i<8;++i){var o=p(n)-r,a=d(n);if(Math.abs(o-r)<lA||a<lA)return h(n);n=(t=n-o/a)>1?1:t<0?0:t}return h(n)};return y.isStepper=!1,y},hA=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return pA(n);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,r=void 0===t?100:t,n=e.damping,i=void 0===n?8:n,o=e.dt,a=void 0===o?17:o,c=function(e,t,n){var o=n+(-(e-t)*r-n*i)*a/1e3,c=n*a/1e3+e;return Math.abs(c-t)<lA&&Math.abs(o)<lA?[t,0]:[c,o]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return pA(n);nA(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",t)}return"function"==typeof n?n:(nA(!1,"[configEasing]: first argument type should be function or string, instead received %s",t),null)};function dA(e){return dA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dA(e)}function yA(e){return function(e){if(Array.isArray(e))return xA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||wA(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vA(Object(r),!0).forEach((function(t){mA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function mA(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==dA(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==dA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===dA(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||wA(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wA(e,t){if(e){if("string"==typeof e)return xA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xA(e,t):void 0}}function xA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var OA=function(e,t,r){return e+(t-e)*r},SA=function(e){return e.from!==e.to},jA=function e(t,r,n){var i=eA((function(e,r){if(SA(r)){var n=bA(t(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return gA(gA({},r),{},{from:i,velocity:o})}return r}),r);return n<1?eA((function(e,t){return SA(t)?gA(gA({},t),{},{velocity:OA(t.velocity,i[e].velocity,n),from:OA(t.from,i[e].from,n)}):t}),r):e(t,i,n-1)},AA=function(e,t,r,n,i){var o,a,c,l,u=(o=e,a=t,[Object.keys(o),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),s=u.reduce((function(r,n){return gA(gA({},r),{},mA({},n,[e[n],t[n]]))}),{}),f=u.reduce((function(r,n){return gA(gA({},r),{},mA({},n,{from:e[n],velocity:0,to:t[n]}))}),{}),p=-1,h=function(){return null};return h=r.isStepper?function(n){c||(c=n);var o=(n-c)/r.dt;f=jA(r,f,o),i(gA(gA(gA({},e),t),eA((function(e,t){return t.from}),f))),c=n,Object.values(f).filter(SA).length&&(p=requestAnimationFrame(h))}:function(o){l||(l=o);var a=(o-l)/n,c=eA((function(e,t){return OA.apply(void 0,yA(t).concat([r(a)]))}),s);if(i(gA(gA(gA({},e),t),c)),a<1)p=requestAnimationFrame(h);else{var u=eA((function(e,t){return OA.apply(void 0,yA(t).concat([r(1)]))}),s);i(gA(gA(gA({},e),t),u))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(p)}}};function PA(e){return PA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},PA(e)}var MA=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function kA(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function EA(e){return function(e){if(Array.isArray(e))return CA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return CA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return CA(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function CA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function TA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_A(Object(r),!0).forEach((function(t){DA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function DA(e,t,r){return(t=IA(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NA(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,IA(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function IA(e){var t=function(e,t){if("object"!==PA(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==PA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===PA(t)?t:String(t)}function LA(e,t){return LA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},LA(e,t)}function BA(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=$A(e);if(t){var i=$A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return RA(this,r)}}function RA(e,t){if(t&&("object"===PA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return zA(e)}function zA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $A(e){return $A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$A(e)}var HA=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&LA(e,t)}(r,re);var t=BA(r);function r(e,n){var i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var o=(i=t.call(this,e,n)).props,a=o.isActive,c=o.attributeName,l=o.from,u=o.to,s=o.steps,f=o.children,p=o.duration;if(i.handleStyleChange=i.handleStyleChange.bind(zA(i)),i.changeStyle=i.changeStyle.bind(zA(i)),!a||p<=0)return i.state={style:{}},"function"==typeof f&&(i.state={style:u}),RA(i);if(s&&s.length)i.state={style:s[0].style};else if(l){if("function"==typeof f)return i.state={style:l},RA(i);i.state={style:c?DA({},c,l):l}}else i.state={style:{}};return i}return NA(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,r=e.canBegin;this.mounted=!0,t&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isActive,n=t.canBegin,i=t.attributeName,o=t.shouldReAnimate,a=t.to,c=t.from,l=this.state.style;if(n)if(r){if(!(Vj(e.to,a)&&e.canBegin&&e.isActive)){var u=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=u||o?c:e.to;if(this.state&&l){var f={style:i?DA({},i,s):s};(i&&l[i]!==s||!i&&l!==s)&&this.setState(f)}this.runAnimation(TA(TA({},this.props),{},{from:s,begin:0}))}}else{var p={style:i?DA({},i,a):a};this.state&&l&&(i&&l[i]!==a||!i&&l!==a)&&this.setState(p)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,r=e.from,n=e.to,i=e.duration,o=e.easing,a=e.begin,c=e.onAnimationEnd,l=e.onAnimationStart,u=AA(r,n,hA(o),i,this.changeStyle);this.manager.start([l,a,function(){t.stopJSAnimation=u()},i,c])}},{key:"runStepAnimation",value:function(e){var t=this,r=e.steps,n=e.begin,i=e.onAnimationStart,o=r[0],a=o.style,c=o.duration,l=void 0===c?0:c;return this.manager.start([i].concat(EA(r.reduce((function(e,n,i){if(0===i)return e;var o=n.duration,a=n.easing,c=void 0===a?"ease":a,l=n.style,u=n.properties,s=n.onAnimationEnd,f=i>0?r[i-1]:n,p=u||Object.keys(l);if("function"==typeof c||"spring"===c)return[].concat(EA(e),[t.runJSAnimation.bind(t,{from:f.style,to:l,duration:o,easing:c}),o]);var h=tA(p,o,c),d=TA(TA(TA({},f.style),l),{},{transition:h});return[].concat(EA(e),[d,o,s]).filter(Qj)}),[a,Math.max(l,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=Xj());var t=e.begin,r=e.duration,n=e.attributeName,i=e.to,o=e.easing,a=e.onAnimationStart,c=e.onAnimationEnd,l=e.steps,u=e.children,s=this.manager;if(this.unSubscribe=s.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof u&&"spring"!==o)if(l.length>1)this.runStepAnimation(e);else{var f=n?DA({},n,i):i,p=tA(Object.keys(f),r,o);s.start([a,t,TA(TA({},f),{},{transition:p}),r,c])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,t=e.children;e.begin;var r=e.duration;e.attributeName,e.easing;var n=e.isActive;e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart;var i=kA(e,MA),o=te.count(t),a=this.state.style;if("function"==typeof t)return t(a);if(!n||0===o||r<=0)return t;var c=function(e){var t=e.props,r=t.style,n=void 0===r?{}:r,o=t.className;return se(e,TA(TA({},i),{},{style:TA(TA({},n),a),className:o}))};return 1===o?c(te.only(t)):Q.createElement("div",null,te.map(t,(function(e){return c(e)})))}}]),r}();function VA(e){return VA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},VA(e)}function FA(){return FA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},FA.apply(this,arguments)}function UA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return WA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return WA(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function WA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function qA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function YA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qA(Object(r),!0).forEach((function(t){XA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function XA(e,t,r){return t=function(e){var t=function(e,t){if("object"!=VA(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=VA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==VA(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}HA.displayName="Animate",HA.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},HA.propTypes={from:lj.oneOfType([lj.object,lj.string]),to:lj.oneOfType([lj.object,lj.string]),attributeName:lj.string,duration:lj.number,begin:lj.number,easing:lj.oneOfType([lj.string,lj.func]),steps:lj.arrayOf(lj.shape({duration:lj.number.isRequired,style:lj.object.isRequired,easing:lj.oneOfType([lj.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),lj.func]),properties:lj.arrayOf("string"),onAnimationEnd:lj.func})),children:lj.oneOfType([lj.node,lj.func]),isActive:lj.bool,canBegin:lj.bool,onAnimationEnd:lj.func,shouldReAnimate:lj.bool,onAnimationStart:lj.func,onAnimationReStart:lj.func},lj.object,lj.object,lj.object,lj.element,lj.object,lj.object,lj.object,lj.oneOfType([lj.array,lj.element]),lj.any;var KA=function(e,t,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,l=r>=0?1:-1,u=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&i instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=i[f]>a?a:i[f];o="M".concat(e,",").concat(t+c*s[0]),s[0]>0&&(o+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(u,",").concat(e+l*s[0],",").concat(t)),o+="L ".concat(e+r-l*s[1],",").concat(t),s[1]>0&&(o+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(u,",\n ").concat(e+r,",").concat(t+c*s[1])),o+="L ".concat(e+r,",").concat(t+n-c*s[2]),s[2]>0&&(o+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(u,",\n ").concat(e+r-l*s[2],",").concat(t+n)),o+="L ".concat(e+l*s[3],",").concat(t+n),s[3]>0&&(o+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(u,",\n ").concat(e,",").concat(t+n-c*s[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(e,",").concat(t+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+l*p,",").concat(t,"\n L ").concat(e+r-l*p,",").concat(t,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+r,",").concat(t+c*p,"\n L ").concat(e+r,",").concat(t+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+r-l*p,",").concat(t+n,"\n L ").concat(e+l*p,",").concat(t+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e,",").concat(t+n-c*p," Z")}else o="M ".concat(e,",").concat(t," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},GA=function(e,t){if(!e||!t)return!1;var r=e.x,n=e.y,i=t.x,o=t.y,a=t.width,c=t.height;if(Math.abs(a)>0&&Math.abs(c)>0){var l=Math.min(i,i+a),u=Math.max(i,i+a),s=Math.min(o,o+c),f=Math.max(o,o+c);return r>=l&&r<=u&&n>=s&&n<=f}return!1},ZA={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},JA=function(e){var t=YA(YA({},ZA),e),r=ie(),n=UA(ae(-1),2),i=n[0],o=n[1];le((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&o(e)}catch(e){}}),[]);var a=t.x,c=t.y,l=t.width,u=t.height,s=t.radius,f=t.className,p=t.animationEasing,h=t.animationDuration,d=t.animationBegin,y=t.isAnimationActive,v=t.isUpdateAnimationActive;if(a!==+a||c!==+c||l!==+l||u!==+u||0===l||0===u)return null;var g=tn("recharts-rectangle",f);return v?Q.createElement(HA,{canBegin:i>0,from:{width:l,height:u,x:a,y:c},to:{width:l,height:u,x:a,y:c},duration:h,animationEasing:p,isActive:v},(function(e){var n=e.width,o=e.height,a=e.x,c=e.y;return Q.createElement(HA,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,isActive:y,easing:p},Q.createElement("path",FA({},ja(t,!0),{className:g,d:KA(a,c,n,o,s),ref:r})))})):Q.createElement("path",FA({},ja(t,!0),{className:g,d:KA(a,c,l,u,s)}))};function QA(){return QA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},QA.apply(this,arguments)}var eP=function(e){var t=e.cx,r=e.cy,n=e.r,i=tn("recharts-dot",e.className);return t===+t&&r===+r&&n===+n?Q.createElement("circle",QA({},ja(e,!1),la(e),{className:i,cx:t,cy:r,r:n})):null};function tP(e){return tP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tP(e)}var rP=["x","y","top","left","width","height","className"];function nP(){return nP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nP.apply(this,arguments)}function iP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oP(e,t,r){return t=function(e){var t=function(e,t){if("object"!=tP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=tP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aP(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var cP=function(e,t,r,n,i,o){return"M".concat(e,",").concat(i,"v").concat(n,"M").concat(o,",").concat(t,"h").concat(r)},lP=function(e){var t=e.x,r=void 0===t?0:t,n=e.y,i=void 0===n?0:n,o=e.top,a=void 0===o?0:o,c=e.left,l=void 0===c?0:c,u=e.width,s=void 0===u?0:u,f=e.height,p=void 0===f?0:f,h=e.className,d=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?iP(Object(r),!0).forEach((function(t){oP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iP(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({x:r,y:i,top:a,left:l,width:s,height:p},aP(e,rP));return Xo(r)&&Xo(i)&&Xo(s)&&Xo(p)&&Xo(a)&&Xo(l)?Q.createElement("path",nP({},ja(d,!0),{className:tn("recharts-cross",h),d:cP(r,i,s,p,a,l)})):null},uP=ps(Object.getPrototypeOf,Object),sP=bn,fP=uP,pP=wn,hP=Function.prototype,dP=Object.prototype,yP=hP.toString,vP=dP.hasOwnProperty,gP=yP.call(Object);var mP=Wt((function(e){if(!pP(e)||"[object Object]"!=sP(e))return!1;var t=fP(e);if(null===t)return!0;var r=vP.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&yP.call(r)==gP})),bP=bn,wP=wn;var xP=Wt((function(e){return!0===e||!1===e||wP(e)&&"[object Boolean]"==bP(e)}));function OP(e){return OP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OP(e)}function SP(){return SP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},SP.apply(this,arguments)}function jP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return AP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return AP(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function AP(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function PP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function MP(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?PP(Object(r),!0).forEach((function(t){kP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):PP(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function kP(e,t,r){return t=function(e){var t=function(e,t){if("object"!=OP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=OP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==OP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var EP=function(e,t,r,n,i){var o,a=r-n;return o="M ".concat(e,",").concat(t),o+="L ".concat(e+r,",").concat(t),o+="L ".concat(e+r-a/2,",").concat(t+i),o+="L ".concat(e+r-a/2-n,",").concat(t+i),o+="L ".concat(e,",").concat(t," Z")},CP={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},_P=function(e){var t=MP(MP({},CP),e),r=ie(),n=jP(ae(-1),2),i=n[0],o=n[1];le((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&o(e)}catch(e){}}),[]);var a=t.x,c=t.y,l=t.upperWidth,u=t.lowerWidth,s=t.height,f=t.className,p=t.animationEasing,h=t.animationDuration,d=t.animationBegin,y=t.isUpdateAnimationActive;if(a!==+a||c!==+c||l!==+l||u!==+u||s!==+s||0===l&&0===u||0===s)return null;var v=tn("recharts-trapezoid",f);return y?Q.createElement(HA,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:s,x:a,y:c},to:{upperWidth:l,lowerWidth:u,height:s,x:a,y:c},duration:h,animationEasing:p,isActive:y},(function(e){var n=e.upperWidth,o=e.lowerWidth,a=e.height,c=e.x,l=e.y;return Q.createElement(HA,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,easing:p},Q.createElement("path",SP({},ja(t,!0),{className:v,d:EP(c,l,n,o,a),ref:r})))})):Q.createElement("g",null,Q.createElement("path",SP({},ja(t,!0),{className:v,d:EP(a,c,l,u,s)})))},TP=["option","shapeType","propTransformer","activeClassName","isActive"];function DP(e){return DP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},DP(e)}function NP(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function IP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function LP(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?IP(Object(r),!0).forEach((function(t){BP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):IP(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function BP(e,t,r){return t=function(e){var t=function(e,t){if("object"!=DP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=DP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==DP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function RP(e,t){return LP(LP({},t),e)}function zP(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return Q.createElement(JA,r);case"trapezoid":return Q.createElement(_P,r);case"sector":return Q.createElement(DS,r);case"symbols":if(function(e,t){return"symbols"===e}(t))return Q.createElement(Pl,r);break;default:return null}}function $P(e){var t,r=e.option,n=e.shapeType,i=e.propTransformer,o=void 0===i?RP:i,a=e.activeClassName,c=void 0===a?"recharts-active-shape":a,l=e.isActive,u=NP(e,TP);if(ee(r))t=se(r,LP(LP({},u),function(e){return ee(e)?e.props:e}(r)));else if(In(r))t=r(u);else if(mP(r)&&!xP(r)){var s=o(r,u);t=Q.createElement(zP,{shapeType:n,elementProps:s})}else{var f=u;t=Q.createElement(zP,{shapeType:n,elementProps:f})}return l?Q.createElement(Ia,{className:c},t):t}function HP(e,t){return null!=t&&"trapezoids"in e.props}function VP(e,t){return null!=t&&"sectors"in e.props}function FP(e,t){return null!=t&&"points"in e.props}function UP(e,t){var r,n,i=e.x===(null==t||null===(r=t.labelViewBox)||void 0===r?void 0:r.x)||e.x===t.x,o=e.y===(null==t||null===(n=t.labelViewBox)||void 0===n?void 0:n.y)||e.y===t.y;return i&&o}function WP(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function qP(e,t){var r=e.x===t.x,n=e.y===t.y,i=e.z===t.z;return r&&n&&i}function YP(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,i=function(e,t){var r;return HP(e,t)?r="trapezoids":VP(e,t)?r="sectors":FP(e,t)&&(r="points"),r}(r,t),o=function(e,t){var r,n;return HP(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:VP(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:FP(e,t)?t.payload:{}}(r,t),a=n.filter((function(e,n){var a=Kw(o,e),c=r.props[i].filter((function(e){var n=function(e,t){var r;return HP(e,t)?r=UP:VP(e,t)?r=WP:FP(e,t)&&(r=qP),r}(r,t);return n(e,t)})),l=r.props[i].indexOf(c[c.length-1]);return a&&n===l}));return n.indexOf(a[a.length-1])}var XP=Math.ceil,KP=Math.max;var GP=Wd,ZP=1/0;var JP=function(e,t,r,n){for(var i=-1,o=KP(XP((t-e)/(r||1)),0),a=Array(o);o--;)a[n?o:++i]=e,e+=r;return a},QP=Hh,eM=function(e){return e?(e=GP(e))===ZP||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var tM=Wt(function(e){return function(t,r,n){return n&&"number"!=typeof n&&QP(t,r,n)&&(r=n=void 0),t=eM(t),void 0===r?(r=t,t=0):r=eM(r),n=void 0===n?t<r?1:-1:eM(n),JP(t,r,n,e)}}());function rM(e){return rM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rM(e)}function nM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function iM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nM(Object(r),!0).forEach((function(t){oM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oM(e,t,r){return t=function(e){var t=function(e,t){if("object"!=rM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=rM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==rM(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var aM=["Webkit","Moz","O","ms"];function cM(e){return cM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cM(e)}function lM(){return lM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lM.apply(this,arguments)}function uM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function sM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?uM(Object(r),!0).forEach((function(t){gM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,mM(n.key),n)}}function pM(e,t,r){return t=dM(t),function(e,t){if(t&&("object"===cM(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return yM(e)}(e,hM()?Reflect.construct(t,r||[],dM(e).constructor):t.apply(e,r))}function hM(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(hM=function(){return!!e})()}function dM(e){return dM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dM(e)}function yM(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vM(e,t){return vM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vM(e,t)}function gM(e,t,r){return(t=mM(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mM(e){var t=function(e,t){if("object"!=cM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=cM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==cM(t)?t:String(t)}var bM=function(e){return e.changedTouches&&!!e.changedTouches.length},wM=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),gM(yM(r=pM(this,t,[e])),"handleDrag",(function(e){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(e):r.state.isSlideMoving&&r.handleSlideDrag(e)})),gM(yM(r),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&r.handleDrag(e.changedTouches[0])})),gM(yM(r),"handleDragEnd",(function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var e=r.props,t=e.endIndex,n=e.onDragEnd,i=e.startIndex;null==n||n({endIndex:t,startIndex:i})})),r.detachDragEndListener()})),gM(yM(r),"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),gM(yM(r),"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),gM(yM(r),"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),gM(yM(r),"handleSlideDragStart",(function(e){var t=bM(e)?e.changedTouches[0]:e;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(yM(r),"startX"),endX:r.handleTravellerDragStart.bind(yM(r),"endX")},r.state={},r}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vM(e,t)}(t,re),r=t,n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var r=e.startX,n=e.endX,i=this.state.scaleValues,o=this.props,a=o.gap,c=o.data.length-1,l=Math.min(r,n),u=Math.max(r,n),s=t.getIndexInRange(i,l),f=t.getIndexInRange(i,u);return{startIndex:s-s%a,endIndex:f===c?c:f-f%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,r=t.data,n=t.tickFormatter,i=t.dataKey,o=mO(r[e],i,e);return In(n)?n(o,e):o}},{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(e){var t=this.state,r=t.slideMoveStartX,n=t.startX,i=t.endX,o=this.props,a=o.x,c=o.width,l=o.travellerWidth,u=o.startIndex,s=o.endIndex,f=o.onChange,p=e.pageX-r;p>0?p=Math.min(p,a+c-l-i,a+c-l-n):p<0&&(p=Math.max(p,a-n,a-i));var h=this.getIndex({startX:n+p,endX:i+p});h.startIndex===u&&h.endIndex===s||!f||f(h),this.setState({startX:n+p,endX:i+p,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var r=bM(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,r=t.brushMoveStartX,n=t.movingTravellerId,i=t.endX,o=t.startX,a=this.state[n],c=this.props,l=c.x,u=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,h=c.data,d={startX:this.state.startX,endX:this.state.endX},y=e.pageX-r;y>0?y=Math.min(y,l+u-s-a):y<0&&(y=Math.max(y,l-a)),d[n]=a+y;var v=this.getIndex(d),g=v.startIndex,m=v.endIndex;this.setState(gM(gM({},n,a+y),"brushMoveStartX",e.pageX),(function(){var e;f&&(e=h.length-1,("startX"===n&&(i>o?g%p==0:m%p==0)||i<o&&m===e||"endX"===n&&(i>o?m%p==0:g%p==0)||i>o&&m===e)&&f(v))}))}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,c=this.state[t],l=i.indexOf(c);if(-1!==l){var u=l+e;if(!(-1===u||u>=i.length)){var s=i[u];"startX"===t&&s>=a||"endX"===t&&s<=o||this.setState(gM({},t,s),(function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))}))}}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.fill,a=e.stroke;return Q.createElement("rect",{stroke:a,fill:o,x:t,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.data,a=e.children,c=e.padding,l=te.only(a);return l?Q.cloneElement(l,{x:t,y:r,width:n,height:i,margin:c,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(e,r){var n,i,o=this,a=this.props,c=a.y,l=a.travellerWidth,u=a.height,s=a.traveller,f=a.ariaLabel,p=a.data,h=a.startIndex,d=a.endIndex,y=Math.max(e,this.props.x),v=sM(sM({},ja(this.props,!1)),{},{x:y,y:c,width:l,height:u}),g=f||"Min value: ".concat(null===(n=p[h])||void 0===n?void 0:n.name,", Max value: ").concat(null===(i=p[d])||void 0===i?void 0:i.name);return Q.createElement(Ia,{tabIndex:0,role:"slider","aria-label":g,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),o.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,r))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(s,v))}},{key:"renderSlide",value:function(e,t){var r=this.props,n=r.y,i=r.height,o=r.stroke,a=r.travellerWidth,c=Math.min(e,t)+a,l=Math.max(Math.abs(t-e)-a,0);return Q.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:o,fillOpacity:.2,x:c,y:n,width:l,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,r=e.endIndex,n=e.y,i=e.height,o=e.travellerWidth,a=e.stroke,c=this.state,l=c.startX,u=c.endX,s={pointerEvents:"none",fill:a};return Q.createElement(Ia,{className:"recharts-brush-texts"},Q.createElement(Wy,lM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:n+i/2},s),this.getTextOfTick(t)),Q.createElement(Wy,lM({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,u)+o+5,y:n+i/2},s),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,t=e.data,r=e.className,n=e.children,i=e.x,o=e.y,a=e.width,c=e.height,l=e.alwaysShowText,u=this.state,s=u.startX,f=u.endX,p=u.isTextActive,h=u.isSlideMoving,d=u.isTravellerMoving,y=u.isTravellerFocused;if(!t||!t.length||!Xo(i)||!Xo(o)||!Xo(a)||!Xo(c)||a<=0||c<=0)return null;var v,g,m,b,w=tn("recharts-brush",r),x=1===Q.Children.count(n),O=(g="none",m=(v="userSelect").replace(/(\w)/,(function(e){return e.toUpperCase()})),(b=aM.reduce((function(e,t){return iM(iM({},e),{},oM({},t+m,g))}),{}))[v]=g,b);return Q.createElement(Ia,{className:w,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:O},this.renderBackground(),x&&this.renderPanorama(),this.renderSlide(s,f),this.renderTravellerLayer(s,"startX"),this.renderTravellerLayer(f,"endX"),(p||h||d||y||l)&&this.renderText())}}],i=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,r=e.y,n=e.width,i=e.height,o=e.stroke,a=Math.floor(r+i/2)-1;return Q.createElement(Q.Fragment,null,Q.createElement("rect",{x:t,y:r,width:n,height:i,fill:o,stroke:"none"}),Q.createElement("line",{x1:t+1,y1:a,x2:t+n-1,y2:a,fill:"none",stroke:"#fff"}),Q.createElement("line",{x1:t+1,y1:a+2,x2:t+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,r){return Q.isValidElement(e)?Q.cloneElement(e,r):In(e)?e(r):t.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(e,t){var r=e.data,n=e.width,i=e.x,o=e.travellerWidth,a=e.updateId,c=e.startIndex,l=e.endIndex;if(r!==t.prevData||a!==t.prevUpdateId)return sM({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?function(e){var t=e.data,r=e.startIndex,n=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var c=t.length,l=wv().domain(tM(0,c)).range([i,i+o-a]),u=l.domain().map((function(e){return l(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(r),endX:l(n),scale:l,scaleValues:u}}({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:l}):{scale:null,scaleValues:null});if(t.scale&&(n!==t.prevWidth||i!==t.prevX||o!==t.prevTravellerWidth)){t.scale.range([i,i+n-o]);var u=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(e,t){for(var r=0,n=e.length-1;n-r>1;){var i=Math.floor((r+n)/2);e[i]>t?n=i:r=i}return t>=e[n]?n:r}}],n&&fM(r.prototype,n),i&&fM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();gM(wM,"displayName","Brush"),gM(wM,"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 xM=ih;var OM=ru,SM=cp,jM=function(e,t){var r;return xM(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r},AM=rn,PM=Hh;var MM=Wt((function(e,t,r){var n=AM(e)?OM:jM;return r&&PM(e,t,r)&&(t=void 0),n(e,SM(t))})),kM=function(e,t){var r=e.alwaysShow,n=e.ifOverflow;return r&&(n="extendDomain"),n===t},EM=Mh;var CM=function(e,t,r){"__proto__"==t&&EM?EM(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},_M=CM,TM=rh,DM=cp;var NM=function(e,t){var r={};return t=DM(t),TM(e,(function(e,n,i){_M(r,n,t(e,n,i))})),r},IM=Wt(NM);var LM=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0},BM=ih;var RM=LM,zM=function(e,t){var r=!0;return BM(e,(function(e,n,i){return r=!!t(e,n,i)})),r},$M=cp,HM=rn,VM=Hh;var FM=Wt((function(e,t,r){var n=HM(e)?RM:zM;return r&&VM(e,t,r)&&(t=void 0),n(e,$M(t))})),UM=["x","y"];function WM(e){return WM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WM(e)}function qM(){return qM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qM.apply(this,arguments)}function YM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function XM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?YM(Object(r),!0).forEach((function(t){KM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):YM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function KM(e,t,r){return t=function(e){var t=function(e,t){if("object"!=WM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=WM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==WM(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function GM(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ZM(e,t){var r=e.x,n=e.y,i=GM(e,UM),o="".concat(r),a=parseInt(o,10),c="".concat(n),l=parseInt(c,10),u="".concat(t.height||i.height),s=parseInt(u,10),f="".concat(t.width||i.width),p=parseInt(f,10);return XM(XM(XM(XM(XM({},t),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:s,width:p,name:t.name,radius:t.radius})}function JM(e){return Q.createElement($P,qM({shapeType:"rectangle",propTransformer:ZM,activeClassName:"recharts-active-bar"},e))}var QM,ek=["value","background"];function tk(e){return tk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tk(e)}function rk(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function nk(){return nk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nk.apply(this,arguments)}function ik(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ok(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ik(Object(r),!0).forEach((function(t){pk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ik(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ak(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,hk(n.key),n)}}function ck(e,t,r){return t=uk(t),function(e,t){if(t&&("object"===tk(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return sk(e)}(e,lk()?Reflect.construct(t,r||[],uk(e).constructor):t.apply(e,r))}function lk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(lk=function(){return!!e})()}function uk(e){return uk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uk(e)}function sk(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fk(e,t){return fk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fk(e,t)}function pk(e,t,r){return(t=hk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hk(e){var t=function(e,t){if("object"!=tk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=tk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tk(t)?t:String(t)}var dk=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return pk(sk(e=ck(this,t,[].concat(n))),"state",{isAnimationFinished:!1}),pk(sk(e),"id",Zo("recharts-bar-")),pk(sk(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()})),pk(sk(e),"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fk(e,t)}(t,re),r=t,n=[{key:"renderRectanglesStatically",value:function(e){var t=this,r=this.props,n=r.shape,i=r.dataKey,o=r.activeIndex,a=r.activeBar,c=ja(this.props,!1);return e&&e.map((function(e,r){var l=r===o,u=l?a:n,s=ok(ok(ok({},c),e),{},{isActive:l,option:u,index:r,dataKey:i,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return Q.createElement(Ia,nk({className:"recharts-bar-rectangle"},ua(t.props,e,r),{key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value)}),Q.createElement(JM,s))}))}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,r=t.data,n=t.layout,i=t.isAnimationActive,o=t.animationBegin,a=t.animationDuration,c=t.animationEasing,l=t.animationId,u=this.state.prevData;return Q.createElement(HA,{begin:o,duration:a,isActive:i,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var i=t.t,o=r.map((function(e,t){var r=u&&u[t];if(r){var o=ea(r.x,e.x),a=ea(r.y,e.y),c=ea(r.width,e.width),l=ea(r.height,e.height);return ok(ok({},e),{},{x:o(i),y:a(i),width:c(i),height:l(i)})}if("horizontal"===n){var s=ea(0,e.height)(i);return ok(ok({},e),{},{y:e.y+e.height-s,height:s})}var f=ea(0,e.width)(i);return ok(ok({},e),{},{width:f})}));return Q.createElement(Ia,null,e.renderRectanglesStatically(o))}))}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,r=e.isAnimationActive,n=this.state.prevData;return!(r&&t&&t.length)||n&&Kw(n,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var e=this,t=this.props,r=t.data,n=t.dataKey,i=t.activeIndex,o=ja(this.props.background,!1);return r.map((function(t,r){t.value;var a=t.background,c=rk(t,ek);if(!a)return null;var l=ok(ok(ok(ok(ok({},c),{},{fill:"#eee"},a),o),ua(e.props,t,r)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:n,index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return Q.createElement(JM,nk({option:e.props.background,isActive:r===i},l))}))}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,i=r.xAxis,o=r.yAxis,a=r.layout,c=ba(r.children,aO);if(!c)return null;var l="vertical"===a?n[0].height/2:n[0].width/2,u=function(e,t){var r=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:r,errorVal:mO(e,t)}},s={clipPath:e?"url(#clipPath-".concat(t,")"):null};return Q.createElement(Ia,s,c.map((function(e){return Q.cloneElement(e,{key:"error-bar-".concat(t,"-").concat(e.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,offset:l,dataPointFormatter:u})})))}},{key:"render",value:function(){var e=this.props,t=e.hide,r=e.data,n=e.className,i=e.xAxis,o=e.yAxis,a=e.left,c=e.top,l=e.width,u=e.height,s=e.isAnimationActive,f=e.background,p=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,d=tn("recharts-bar",n),y=i&&i.allowDataOverflow,v=o&&o.allowDataOverflow,g=y||v,m=Eo(p)?this.id:p;return Q.createElement(Ia,{className:d},y||v?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(m)},Q.createElement("rect",{x:y?a:a-l/2,y:v?c:c-u/2,width:y?l:2*l,height:v?u:2*u}))):null,Q.createElement(Ia,{className:"recharts-bar-rectangles",clipPath:g?"url(#clipPath-".concat(m,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(g,m),(!s||h)&&jS.renderCallByParent(this.props,r))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}],n&&ak(r.prototype,n),i&&ak(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();function yk(e){return yk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yk(e)}function vk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,wk(n.key),n)}}function gk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?gk(Object(r),!0).forEach((function(t){bk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function bk(e,t,r){return(t=wk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wk(e){var t=function(e,t){if("object"!=yk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=yk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==yk(t)?t:String(t)}QM=dk,pk(dk,"displayName","Bar"),pk(dk,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!bd.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),pk(dk,"getComposedData",(function(e){var t=e.props,r=e.item,n=e.barPosition,i=e.bandSize,o=e.xAxis,a=e.yAxis,c=e.xAxisTicks,l=e.yAxisTicks,u=e.stackedData,s=e.dataStartIndex,f=e.displayedData,p=e.offset,h=function(e,t){if(!e)return null;for(var r=0,n=e.length;r<n;r++)if(e[r].item===t)return e[r].position;return null}(n,r);if(!h)return null;var d=t.layout,y=r.props,v=y.dataKey,g=y.children,m=y.minPointSize,b="horizontal"===d?a:o,w=u?b.scale.domain():null,x=function(e){var t=e.numericAxis,r=t.scale.domain();if("number"===t.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]}({numericAxis:b}),O=ba(g,ly),S=f.map((function(e,t){var n,f,p,y,g,b;u?n=function(e,t){if(!t||2!==t.length||!Xo(t[0])||!Xo(t[1]))return e;var r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!Xo(e[0])||e[0]<r)&&(i[0]=r),(!Xo(e[1])||e[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i}(u[s+t],w):(n=mO(e,v),Array.isArray(n)||(n=[x,n]));var S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof e)return e;var i="number"==typeof r;return i?e(r,n):(i||("production"!==process.env.NODE_ENV?eO(0,"minPointSize callback function received a value with type of ".concat(WM(r),". Currently only numbers are supported.")):eO()),t)}}(m,QM.defaultProps.minPointSize)(n[1],t);if("horizontal"===d){var j,A=[a.scale(n[0]),a.scale(n[1])],P=A[0],M=A[1];f=_O({axis:o,ticks:c,bandSize:i,offset:h.offset,entry:e,index:t}),p=null!==(j=null!=M?M:P)&&void 0!==j?j:void 0,y=h.size;var k=P-M;if(g=Number.isNaN(k)?0:k,b={x:f,y:a.y,width:y,height:a.height},Math.abs(S)>0&&Math.abs(g)<Math.abs(S)){var E=qo(g||S)*(Math.abs(S)-Math.abs(g));p-=E,g+=E}}else{var C=[o.scale(n[0]),o.scale(n[1])],_=C[0],T=C[1];if(f=_,p=_O({axis:a,ticks:l,bandSize:i,offset:h.offset,entry:e,index:t}),y=T-_,g=h.size,b={x:o.x,y:p,width:o.width,height:g},Math.abs(S)>0&&Math.abs(y)<Math.abs(S))y+=qo(y||S)*(Math.abs(S)-Math.abs(y))}return ok(ok(ok({},e),{},{x:f,y:p,width:y,height:g,value:u?n:n[1],payload:e,background:b},O&&O[t]&&O[t].props),{},{tooltipPayload:[RO(r,e)],tooltipPosition:{x:f+y/2,y:p+g/2}})}));return ok({data:S,layout:d},p)}));var xk=function(e,t,r,n,i){var o=e.width,a=e.height,c=e.layout,l=e.children,u=Object.keys(t),s={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},f=!!wa(l,dk);return u.reduce((function(o,a){var l,u,p,h,d,y=t[a],v=y.orientation,g=y.domain,m=y.padding,b=void 0===m?{}:m,w=y.mirror,x=y.reversed,O="".concat(v).concat(w?"Mirror":"");if("number"===y.type&&("gap"===y.padding||"no-gap"===y.padding)){var S=g[1]-g[0],j=1/0,A=y.categoricalDomain.sort();if(A.forEach((function(e,t){t>0&&(j=Math.min((e||0)-(A[t-1]||0),j))})),Number.isFinite(j)){var P=j/S,M="vertical"===y.layout?r.height:r.width;if("gap"===y.padding&&(l=P*M/2),"no-gap"===y.padding){var k=Jo(e.barCategoryGap,P*M),E=P*M/2;l=E-k-(E-k)/M*k}}}u="xAxis"===n?[r.left+(b.left||0)+(l||0),r.left+r.width-(b.right||0)-(l||0)]:"yAxis"===n?"horizontal"===c?[r.top+r.height-(b.bottom||0),r.top+(b.top||0)]:[r.top+(b.top||0)+(l||0),r.top+r.height-(b.bottom||0)-(l||0)]:y.range,x&&(u=[u[1],u[0]]);var C=function(e,t,r){var n=e.scale,i=e.type,o=e.layout,a=e.axisType;if("auto"===n)return"radial"===o&&"radiusAxis"===a?{scale:mv(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:Vg(),realScaleType:"linear"}:"category"===i&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!r)?{scale:wv(),realScaleType:"point"}:"category"===i?{scale:mv(),realScaleType:"band"}:{scale:Vg(),realScaleType:"linear"};if(No(n)){var c="scale".concat(pc(n));return{scale:(Mw[c]||wv)(),realScaleType:Mw[c]?c:"point"}}return In(n)?{scale:n}:{scale:wv(),realScaleType:"point"}}(y,i,f),_=C.scale,T=C.realScaleType;_.domain(g).range(u),function(e){var t=e.domain();if(t&&!(t.length<=2)){var r=t.length,n=e.range(),i=Math.min(n[0],n[1])-MO,o=Math.max(n[0],n[1])+MO,a=e(t[0]),c=e(t[r-1]);(a<i||a>o||c<i||c>o)&&e.domain([t[0],t[r-1]])}}(_);var D=function(e,t){var r=t.realScaleType,n=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,c=r||t.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var l=e.domain();if(!l.length)return null;var u=Gx(l,i,a);return e.domain([zw(u),Nw(u)]),{niceTicks:u}}if(i&&"number"===n){var s=e.domain();return{niceTicks:Zx(s,i,a)}}return null}(_,mk(mk({},y),{},{realScaleType:T}));"xAxis"===n?(d="top"===v&&!w||"bottom"===v&&w,p=r.left,h=s[O]-d*y.height):"yAxis"===n&&(d="left"===v&&!w||"right"===v&&w,p=s[O]-d*y.width,h=r.top);var N=mk(mk(mk({},y),D),{},{realScaleType:T,x:p,y:h,scale:_,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return N.bandSize=LO(N,D),y.hide||"xAxis"!==n?y.hide||(s[O]+=(d?-1:1)*N.width):s[O]+=(d?-1:1)*N.height,mk(mk({},o),{},bk({},a,N))}),{})},Ok=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},Sk=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=t}var t,r,n;return t=e,r=[{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(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.bandAware,n=t.position;if(void 0!==e){if(n)switch(n){case"start":default:return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(e)+o}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),r=t[0],n=t[t.length-1];return r<=n?e>=r&&e<=n:e>=n&&e<=r}}],n=[{key:"create",value:function(t){return new e(t)}}],r&&vk(t.prototype,r),n&&vk(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();bk(Sk,"EPS",1e-4);var jk=function(e){var t=Object.keys(e).reduce((function(t,r){return mk(mk({},t),{},bk({},r,Sk.create(e[r])))}),{});return mk(mk({},t),{},{apply:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return IM(e,(function(e,r){return t[r].apply(e,{bandAware:n,position:i})}))},isInRange:function(e){return FM(e,(function(e,r){return t[r].isInRange(e)}))}})};var Ak=function(e){var t=e.width,r=e.height,n=function(e){return(e%180+180)%180}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),i=n*Math.PI/180,o=Math.atan(r/t),a=i>o&&i<Math.PI-o?r/Math.sin(i):t/Math.cos(i);return Math.abs(a)},Pk=eo((function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}}),(function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}));function Mk(e){return Mk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mk(e)}var kk=he(void 0),Ek=he(void 0),Ck=he(void 0),_k=he({}),Tk=he(void 0),Dk=he(0),Nk=he(0),Ik=function(e){var t=e.state,r=t.xAxisMap,n=t.yAxisMap,i=t.offset,o=e.clipPathId,a=e.children,c=e.width,l=e.height,u=Pk(i);return Q.createElement(kk.Provider,{value:r},Q.createElement(Ek.Provider,{value:n},Q.createElement(_k.Provider,{value:i},Q.createElement(Ck.Provider,{value:u},Q.createElement(Tk.Provider,{value:o},Q.createElement(Dk.Provider,{value:l},Q.createElement(Nk.Provider,{value:c},a)))))))};function Lk(e){var t=Object.keys(e);return 0===t.length?"There are no available ids.":"Available ids are: ".concat(t,".")}var Bk=function(e){var t=pe(kk);null==t&&("production"!==process.env.NODE_ENV?eO(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):eO());var r=t[e];return null==r&&("production"!==process.env.NODE_ENV?eO(0,'Could not find xAxis by id "'.concat(e,'" [').concat(Mk(e),"]. ").concat(Lk(t))):eO()),r},Rk=function(e){var t=pe(Ek);null==t&&("production"!==process.env.NODE_ENV?eO(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):eO());var r=t[e];return null==r&&("production"!==process.env.NODE_ENV?eO(0,'Could not find yAxis by id "'.concat(e,'" [').concat(Mk(e),"]. ").concat(Lk(t))):eO()),r},zk=function(){return pe(Nk)},$k=function(){return pe(Dk)};function Hk(e){return Hk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hk(e)}function Vk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vk(Object(r),!0).forEach((function(t){Uk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Uk(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Hk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Hk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Hk(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return qk(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qk(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qk(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Yk(){return Yk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yk.apply(this,arguments)}function Xk(e){var t=e.x,r=e.y,n=e.segment,i=e.xAxisId,o=e.yAxisId,a=e.shape,c=e.className,l=e.alwaysShow,u=pe(Tk),s=Bk(i),f=Rk(o),p=pe(Ck);if(!u||!p)return null;Ba(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=function(e,t,r,n,i,o,a,c,l){var u=i.x,s=i.y,f=i.width,p=i.height;if(r){var h=l.y,d=e.y.apply(h,{position:o});if(kM(l,"discard")&&!e.y.isInRange(d))return null;var y=[{x:u+f,y:d},{x:u,y:d}];return"left"===c?y.reverse():y}if(t){var v=l.x,g=e.x.apply(v,{position:o});if(kM(l,"discard")&&!e.x.isInRange(g))return null;var m=[{x:g,y:s+p},{x:g,y:s}];return"top"===a?m.reverse():m}if(n){var b=l.segment.map((function(t){return e.apply(t,{position:o})}));return kM(l,"discard")&&MM(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(jk({x:s.scale,y:f.scale}),Ko(t),Ko(r),n&&2===n.length,p,e.position,s.orientation,f.orientation,e);if(!h)return null;var d=Wk(h,2),y=d[0],v=y.x,g=y.y,m=d[1],b=m.x,w=m.y,x=Fk(Fk({clipPath:kM(e,"hidden")?"url(#".concat(u,")"):void 0},ja(e,!0)),{},{x1:v,y1:g,x2:b,y2:w});return Q.createElement(Ia,{className:tn("recharts-reference-line",c)},function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):In(e)?e(t):Q.createElement("line",Yk({},t,{className:"recharts-reference-line-line"}))}(a,x),uS.renderCallByParent(e,function(e){var t=e.x1,r=e.y1,n=e.x2,i=e.y2;return Ok({x:t,y:r},{x:n,y:i})}({x1:v,y1:g,x2:b,y2:w})))}function Kk(e){return Kk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kk(e)}function Gk(){return Gk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gk.apply(this,arguments)}function Zk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Jk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Zk(Object(r),!0).forEach((function(t){Qk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qk(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Kk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Kk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Kk(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Xk.displayName="ReferenceLine",Xk.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function eE(e){var t=e.x,r=e.y,n=e.r,i=e.alwaysShow,o=e.clipPathId,a=Ko(t),c=Ko(r);if(Ba(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!a||!c)return null;var l=function(e){var t=e.x,r=e.y,n=e.xAxis,i=e.yAxis,o=jk({x:n.scale,y:i.scale}),a=o.apply({x:t,y:r},{bandAware:!0});return kM(e,"discard")&&!o.isInRange(a)?null:a}(e);if(!l)return null;var u=l.x,s=l.y,f=e.shape,p=e.className,h=Jk(Jk({clipPath:kM(e,"hidden")?"url(#".concat(o,")"):void 0},ja(e,!0)),{},{cx:u,cy:s});return Q.createElement(Ia,{className:tn("recharts-reference-dot",p)},eE.renderDot(f,h),uS.renderCallByParent(e,{x:u-n,y:s-n,width:2*n,height:2*n}))}function tE(e){return tE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tE(e)}function rE(){return rE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rE.apply(this,arguments)}function nE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function iE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nE(Object(r),!0).forEach((function(t){oE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oE(e,t,r){return t=function(e){var t=function(e,t){if("object"!=tE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=tE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tE(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}eE.displayName="ReferenceDot",eE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},eE.renderDot=function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):In(e)?e(t):Q.createElement(eP,Gk({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))};function aE(e){var t=e.x1,r=e.x2,n=e.y1,i=e.y2,o=e.className,a=e.alwaysShow,c=e.clipPathId;Ba(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=Ko(t),u=Ko(r),s=Ko(n),f=Ko(i),p=e.shape;if(!(l||u||s||f||p))return null;var h=function(e,t,r,n,i){var o=i.x1,a=i.x2,c=i.y1,l=i.y2,u=i.xAxis,s=i.yAxis;if(!u||!s)return null;var f=jk({x:u.scale,y:s.scale}),p={x:e?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},h={x:t?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(l,{position:"end"}):f.y.rangeMax};return!kM(i,"discard")||f.isInRange(p)&&f.isInRange(h)?Ok(p,h):null}(l,u,s,f,e);if(!h&&!p)return null;var d=kM(e,"hidden")?"url(#".concat(c,")"):void 0;return Q.createElement(Ia,{className:tn("recharts-reference-area",o)},aE.renderRect(p,iE(iE({clipPath:d},ja(e,!0)),h)),uS.renderCallByParent(e,h))}function cE(e,t,r){if(t<1)return[];if(1===t&&void 0===r)return e;for(var n=[],i=0;i<e.length;i+=t)n.push(e[i]);return n}function lE(e,t,r,n,i){if(e*t<e*n||e*t>e*i)return!1;var o=r();return e*(t-e*o/2-n)>=0&&e*(t+e*o/2-i)<=0}function uE(e){return uE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uE(e)}function sE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sE(Object(r),!0).forEach((function(t){pE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function pE(e,t,r){return t=function(e){var t=function(e,t){if("object"!=uE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=uE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uE(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hE(e,t,r){var n=e.tick,i=e.ticks,o=e.viewBox,a=e.minTickGap,c=e.orientation,l=e.interval,u=e.tickFormatter,s=e.unit,f=e.angle;if(!i||!i.length||!n)return[];if(Xo(l)||bd.isSsr)return function(e,t){return cE(e,t+1)}(i,"number"==typeof l&&Xo(l)?l:0);var p=[],h="top"===c||"bottom"===c?"width":"height",d=s&&"width"===h?vy(s,{fontSize:t,letterSpacing:r}):{width:0,height:0},y=function(e,n){var i=In(u)?u(e.value,n):e.value;return"width"===h?function(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return Ak(n,r)}(vy(i,{fontSize:t,letterSpacing:r}),d,f):vy(i,{fontSize:t,letterSpacing:r})[h]},v=i.length>=2?qo(i[1].coordinate-i[0].coordinate):1,g=function(e,t,r){var n="width"===r,i=e.x,o=e.y,a=e.width,c=e.height;return 1===t?{start:n?i:o,end:n?i+a:o+c}:{start:n?i+a:o+c,end:n?i:o}}(o,v,h);return"equidistantPreserveStart"===l?function(e,t,r,n,i){for(var o,a=(n||[]).slice(),c=t.start,l=t.end,u=0,s=1,f=c,p=function(){var t=null==n?void 0:n[u];if(void 0===t)return{v:cE(n,s)};var o,a=u,p=function(){return void 0===o&&(o=r(t,a)),o},h=t.coordinate,d=0===u||lE(e,h,p,f,l);d||(u=0,f=c,s+=1),d&&(f=h+e*(p()/2+i),u+=s)};s<=a.length;)if(o=p())return o.v;return[]}(v,g,y,i,a):(p="preserveStart"===l||"preserveStartEnd"===l?function(e,t,r,n,i,o){var a=(n||[]).slice(),c=a.length,l=t.start,u=t.end;if(o){var s=n[c-1],f=r(s,c-1),p=e*(s.coordinate+e*f/2-u);a[c-1]=s=fE(fE({},s),{},{tickCoord:p>0?s.coordinate-p*e:s.coordinate}),lE(e,s.tickCoord,(function(){return f}),l,u)&&(u=s.tickCoord-e*(f/2+i),a[c-1]=fE(fE({},s),{},{isShow:!0}))}for(var h=o?c-1:c,d=function(t){var n,o=a[t],c=function(){return void 0===n&&(n=r(o,t)),n};if(0===t){var s=e*(o.coordinate-e*c()/2-l);a[t]=o=fE(fE({},o),{},{tickCoord:s<0?o.coordinate-s*e:o.coordinate})}else a[t]=o=fE(fE({},o),{},{tickCoord:o.coordinate});lE(e,o.tickCoord,c,l,u)&&(l=o.tickCoord+e*(c()/2+i),a[t]=fE(fE({},o),{},{isShow:!0}))},y=0;y<h;y++)d(y);return a}(v,g,y,i,a,"preserveStartEnd"===l):function(e,t,r,n,i){for(var o=(n||[]).slice(),a=o.length,c=t.start,l=t.end,u=function(t){var n,u=o[t],s=function(){return void 0===n&&(n=r(u,t)),n};if(t===a-1){var f=e*(u.coordinate+e*s()/2-l);o[t]=u=fE(fE({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate})}else o[t]=u=fE(fE({},u),{},{tickCoord:u.coordinate});lE(e,u.tickCoord,s,c,l)&&(l=u.tickCoord-e*(s()/2+i),o[t]=fE(fE({},u),{},{isShow:!0}))},s=a-1;s>=0;s--)u(s);return o}(v,g,y,i,a),p.filter((function(e){return e.isShow})))}aE.displayName="ReferenceArea",aE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},aE.renderRect=function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):In(e)?e(t):Q.createElement(JA,rE({},t,{className:"recharts-reference-area-rect"}))};var dE=["viewBox"],yE=["viewBox"],vE=["ticks"];function gE(e){return gE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gE(e)}function mE(){return mE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mE.apply(this,arguments)}function bE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bE(Object(r),!0).forEach((function(t){ME(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xE(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function OE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,kE(n.key),n)}}function SE(e,t,r){return t=AE(t),function(e,t){if(t&&("object"===gE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,jE()?Reflect.construct(t,r||[],AE(e).constructor):t.apply(e,r))}function jE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(jE=function(){return!!e})()}function AE(e){return AE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},AE(e)}function PE(e,t){return PE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},PE(e,t)}function ME(e,t,r){return(t=kE(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kE(e){var t=function(e,t){if("object"!=gE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=gE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==gE(t)?t:String(t)}var EE=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=SE(this,t,[e])).state={fontSize:"",letterSpacing:""},r}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&PE(e,t)}(t,de),r=t,n=[{key:"shouldComponentUpdate",value:function(e,t){var r=e.viewBox,n=xE(e,dE),i=this.props,o=i.viewBox,a=xE(i,yE);return!ra(r,o)||!ra(n,a)||!ra(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:"getTickLineCoord",value:function(e){var t,r,n,i,o,a,c=this.props,l=c.x,u=c.y,s=c.width,f=c.height,p=c.orientation,h=c.tickSize,d=c.mirror,y=c.tickMargin,v=d?-1:1,g=e.tickSize||h,m=Xo(e.tickCoord)?e.tickCoord:e.coordinate;switch(p){case"top":t=r=e.coordinate,a=(n=(i=u+ +!d*f)-v*g)-v*y,o=m;break;case"left":n=i=e.coordinate,o=(t=(r=l+ +!d*s)-v*g)-v*y,a=m;break;case"right":n=i=e.coordinate,o=(t=(r=l+ +d*s)+v*g)+v*y,a=m;break;default:t=r=e.coordinate,a=(n=(i=u+ +d*f)+v*g)+v*y,o=m}return{line:{x1:t,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,r=t.orientation,n=t.mirror;switch(r){case"left":e=n?"start":"end";break;case"right":e=n?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,r=e.mirror,n="end";switch(t){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.orientation,a=e.mirror,c=e.axisLine,l=wE(wE(wE({},ja(this.props,!1)),ja(c,!1)),{},{fill:"none"});if("top"===o||"bottom"===o){var u=+("top"===o&&!a||"bottom"===o&&a);l=wE(wE({},l),{},{x1:t,y1:r+u*i,x2:t+n,y2:r+u*i})}else{var s=+("left"===o&&!a||"right"===o&&a);l=wE(wE({},l),{},{x1:t+s*n,y1:r,x2:t+s*n,y2:r+i})}return Q.createElement("line",mE({},l,{className:tn("recharts-cartesian-axis-line",ko(c,"className"))}))}},{key:"renderTicks",value:function(e,r,n){var i=this,o=this.props,a=o.tickLine,c=o.stroke,l=o.tick,u=o.tickFormatter,s=o.unit,f=hE(wE(wE({},this.props),{},{ticks:e}),r,n),p=this.getTickTextAnchor(),h=this.getTickVerticalAnchor(),d=ja(this.props,!1),y=ja(l,!1),v=wE(wE({},d),{},{fill:"none"},ja(a,!1)),g=f.map((function(e,r){var n=i.getTickLineCoord(e),o=n.line,g=n.tick,m=wE(wE(wE(wE({textAnchor:p,verticalAnchor:h},d),{},{stroke:"none",fill:c},y),g),{},{index:r,payload:e,visibleTicksCount:f.length,tickFormatter:u});return Q.createElement(Ia,mE({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},ua(i.props,e,r)),a&&Q.createElement("line",mE({},v,o,{className:tn("recharts-cartesian-axis-tick-line",ko(a,"className"))})),l&&t.renderTickItem(l,m,"".concat(In(u)?u(e.value,r):e.value).concat(s||"")))}));return Q.createElement("g",{className:"recharts-cartesian-axis-ticks"},g)}},{key:"render",value:function(){var e=this,t=this.props,r=t.axisLine,n=t.width,i=t.height,o=t.ticksGenerator,a=t.className;if(t.hide)return null;var c=this.props,l=c.ticks,u=xE(c,vE),s=l;return In(o)&&(s=l&&l.length>0?o(this.props):o(u)),n<=0||i<=0||!s||!s.length?null:Q.createElement(Ia,{className:tn("recharts-cartesian-axis",a),ref:function(t){e.layerReference=t}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),uS.renderCallByParent(this.props))}}],i=[{key:"renderTickItem",value:function(e,t,r){return Q.isValidElement(e)?Q.cloneElement(e,t):In(e)?e(t):Q.createElement(Wy,mE({},t,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&OE(r.prototype,n),i&&OE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();ME(EE,"displayName","CartesianAxis"),ME(EE,"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 CE=["type","layout","connectNulls","ref"];function _E(e){return _E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_E(e)}function TE(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function DE(){return DE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},DE.apply(this,arguments)}function NE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function IE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?NE(Object(r),!0).forEach((function(t){UE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):NE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function LE(e){return function(e){if(Array.isArray(e))return BE(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return BE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return BE(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function BE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function RE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,WE(n.key),n)}}function zE(e,t,r){return t=HE(t),function(e,t){if(t&&("object"===_E(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return VE(e)}(e,$E()?Reflect.construct(t,r||[],HE(e).constructor):t.apply(e,r))}function $E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return($E=function(){return!!e})()}function HE(e){return HE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},HE(e)}function VE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FE(e,t){return FE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},FE(e,t)}function UE(e,t,r){return(t=WE(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function WE(e){var t=function(e,t){if("object"!=_E(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=_E(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_E(t)?t:String(t)}var qE=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return UE(VE(e=zE(this,t,[].concat(n))),"state",{isAnimationFinished:!0,totalLength:0}),UE(VE(e),"generateSimpleStrokeDasharray",(function(e,t){return"".concat(t,"px ").concat(e-t,"px")})),UE(VE(e),"getStrokeDasharray",(function(r,n,i){var o=i.reduce((function(e,t){return e+t}));if(!o)return e.generateSimpleStrokeDasharray(n,r);for(var a=Math.floor(r/o),c=r%o,l=n-r,u=[],s=0,f=0;s<i.length;f+=i[s],++s)if(f+i[s]>c){u=[].concat(LE(i.slice(0,s)),[c-f]);break}var p=u.length%2==0?[0,l]:[l];return[].concat(LE(t.repeat(i,a)),LE(u),p).map((function(e){return"".concat(e,"px")})).join(", ")})),UE(VE(e),"id",Zo("recharts-line-")),UE(VE(e),"pathRef",(function(t){e.mainCurve=t})),UE(VE(e),"handleAnimationEnd",(function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()})),UE(VE(e),"handleAnimationStart",(function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&FE(e,t)}(t,re),r=t,n=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.points,i=r.xAxis,o=r.yAxis,a=r.layout,c=ba(r.children,aO);if(!c)return null;var l=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:mO(e.payload,t)}},u={clipPath:e?"url(#clipPath-".concat(t,")"):null};return Q.createElement(Ia,u,c.map((function(e){return Q.cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,dataPointFormatter:l})})))}},{key:"renderDots",value:function(e,r,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.dot,a=i.points,c=i.dataKey,l=ja(this.props,!1),u=ja(o,!0),s=a.map((function(e,r){var n=IE(IE(IE({key:"dot-".concat(r),r:3},l),u),{},{value:e.value,dataKey:c,cx:e.x,cy:e.y,index:r,payload:e.payload});return t.renderDotItem(o,n)})),f={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return Q.createElement(Ia,DE({className:"recharts-line-dots",key:"dots"},f),s)}},{key:"renderCurveStatically",value:function(e,t,r,n){var i=this.props,o=i.type,a=i.layout,c=i.connectNulls;i.ref;var l=TE(i,CE),u=IE(IE(IE({},ja(l,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(r,")"):null,points:e},n),{},{type:o,layout:a,connectNulls:c});return Q.createElement(rj,DE({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var r=this,n=this.props,i=n.points,o=n.strokeDasharray,a=n.isAnimationActive,c=n.animationBegin,l=n.animationDuration,u=n.animationEasing,s=n.animationId,f=n.animateNewValues,p=n.width,h=n.height,d=this.state,y=d.prevPoints,v=d.totalLength;return Q.createElement(HA,{begin:c,duration:l,isActive:a,easing:u,from:{t:0},to:{t:1},key:"line-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(y){var c=y.length/i.length,l=i.map((function(e,t){var r=Math.floor(t*c);if(y[r]){var n=y[r],i=ea(n.x,e.x),o=ea(n.y,e.y);return IE(IE({},e),{},{x:i(a),y:o(a)})}if(f){var l=ea(2*p,e.x),u=ea(h/2,e.y);return IE(IE({},e),{},{x:l(a),y:u(a)})}return IE(IE({},e),{},{x:e.x,y:e.y})}));return r.renderCurveStatically(l,e,t)}var u,s=ea(0,v)(a);if(o){var d="".concat(o).split(/[,\s]+/gim).map((function(e){return parseFloat(e)}));u=r.getStrokeDasharray(s,v,d)}else u=r.generateSimpleStrokeDasharray(v,s);return r.renderCurveStatically(i,e,t,{strokeDasharray:u})}))}},{key:"renderCurve",value:function(e,t){var r=this.props,n=r.points,i=r.isAnimationActive,o=this.state,a=o.prevPoints,c=o.totalLength;return i&&n&&n.length&&(!a&&c>0||!Kw(a,n))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(n,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,n=t.dot,i=t.points,o=t.className,a=t.xAxis,c=t.yAxis,l=t.top,u=t.left,s=t.width,f=t.height,p=t.isAnimationActive,h=t.id;if(r||!i||!i.length)return null;var d=this.state.isAnimationFinished,y=1===i.length,v=tn("recharts-line",o),g=a&&a.allowDataOverflow,m=c&&c.allowDataOverflow,b=g||m,w=Eo(h)?this.id:h,x=null!==(e=ja(n,!1))&&void 0!==e?e:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,A=void 0===j?2:j,P=(Sa(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Q.createElement(Ia,{className:v},g||m?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(w)},Q.createElement("rect",{x:g?u:u-s/2,y:m?l:l-f/2,width:g?s:2*s,height:m?f:2*f})),!M&&Q.createElement("clipPath",{id:"clipPath-dots-".concat(w)},Q.createElement("rect",{x:u-k/2,y:l-k/2,width:s+k,height:f+k}))):null,!y&&this.renderCurve(b,w),this.renderErrorBar(b,w),(y||n)&&this.renderDots(b,M,w),(!p||d)&&jS.renderCallByParent(this.props,i))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var r=e.length%2!=0?[].concat(LE(e),[0]):e,n=[],i=0;i<t;++i)n=[].concat(LE(n),LE(r));return n}},{key:"renderDotItem",value:function(e,t){var r;if(Q.isValidElement(e))r=Q.cloneElement(e,t);else if(In(e))r=e(t);else{var n=tn("recharts-line-dot","boolean"!=typeof e?e.className:"");r=Q.createElement(eP,DE({},t,{className:n}))}return r}}],n&&RE(r.prototype,n),i&&RE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();UE(qE,"displayName","Line"),UE(qE,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!bd.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),UE(qE,"getComposedData",(function(e){var t=e.props,r=e.xAxis,n=e.yAxis,i=e.xAxisTicks,o=e.yAxisTicks,a=e.dataKey,c=e.bandSize,l=e.displayedData,u=e.offset,s=t.layout;return IE({points:l.map((function(e,t){var l=mO(e,a);return"horizontal"===s?{x:CO({axis:r,ticks:i,bandSize:c,entry:e,index:t}),y:Eo(l)?null:n.scale(l),value:l,payload:e}:{x:Eo(l)?null:r.scale(l),y:CO({axis:n,ticks:o,bandSize:c,entry:e,index:t}),value:l,payload:e}})),layout:s},u)}));var YE,XE=["layout","type","stroke","connectNulls","isRange","ref"];function KE(e){return KE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},KE(e)}function GE(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ZE(){return ZE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ZE.apply(this,arguments)}function JE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function QE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?JE(Object(r),!0).forEach((function(t){aC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):JE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function eC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,cC(n.key),n)}}function tC(e,t,r){return t=nC(t),function(e,t){if(t&&("object"===KE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return iC(e)}(e,rC()?Reflect.construct(t,r||[],nC(e).constructor):t.apply(e,r))}function rC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(rC=function(){return!!e})()}function nC(e){return nC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nC(e)}function iC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oC(e,t){return oC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oC(e,t)}function aC(e,t,r){return(t=cC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cC(e){var t=function(e,t){if("object"!=KE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=KE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==KE(t)?t:String(t)}var lC=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return aC(iC(e=tC(this,t,[].concat(n))),"state",{isAnimationFinished:!0}),aC(iC(e),"id",Zo("recharts-area-")),aC(iC(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),In(t)&&t()})),aC(iC(e),"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),In(t)&&t()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oC(e,t)}(t,re),r=t,n=[{key:"renderDots",value:function(e,r,n){var i=this.props.isAnimationActive,o=this.state.isAnimationFinished;if(i&&!o)return null;var a=this.props,c=a.dot,l=a.points,u=a.dataKey,s=ja(this.props,!1),f=ja(c,!0),p=l.map((function(e,r){var n=QE(QE(QE({key:"dot-".concat(r),r:3},s),f),{},{index:r,cx:e.x,cy:e.y,dataKey:u,value:e.value,payload:e.payload,points:l});return t.renderDotItem(c,n)})),h={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return Q.createElement(Ia,ZE({className:"recharts-area-dots"},h),p)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,r=t.baseLine,n=t.points,i=t.strokeWidth,o=n[0].x,a=n[n.length-1].x,c=e*Math.abs(o-a),l=Nw(n.map((function(e){return e.y||0})));return Xo(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Nw(r.map((function(e){return e.y||0}))),l)),Xo(l)?Q.createElement("rect",{x:o<a?o:o-c,y:0,width:c,height:Math.floor(l+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,r=t.baseLine,n=t.points,i=t.strokeWidth,o=n[0].y,a=n[n.length-1].y,c=e*Math.abs(o-a),l=Nw(n.map((function(e){return e.x||0})));return Xo(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Nw(r.map((function(e){return e.x||0}))),l)),Xo(l)?Q.createElement("rect",{x:0,y:o<a?o:o-c,width:l+(i?parseInt("".concat(i),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,r,n){var i=this.props,o=i.layout,a=i.type,c=i.stroke,l=i.connectNulls,u=i.isRange;i.ref;var s=GE(i,XE);return Q.createElement(Ia,{clipPath:r?"url(#clipPath-".concat(n,")"):null},Q.createElement(rj,ZE({},ja(s,!0),{points:e,connectNulls:l,type:a,baseLine:t,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&Q.createElement(rj,ZE({},ja(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:e})),"none"!==c&&u&&Q.createElement(rj,ZE({},ja(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var r=this,n=this.props,i=n.points,o=n.baseLine,a=n.isAnimationActive,c=n.animationBegin,l=n.animationDuration,u=n.animationEasing,s=n.animationId,f=this.state,p=f.prevPoints,h=f.prevBaseLine;return Q.createElement(HA,{begin:c,duration:l,isActive:a,easing:u,from:{t:0},to:{t:1},key:"area-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(p){var c,l=p.length/i.length,u=i.map((function(e,t){var r=Math.floor(t*l);if(p[r]){var n=p[r],i=ea(n.x,e.x),o=ea(n.y,e.y);return QE(QE({},e),{},{x:i(a),y:o(a)})}return e}));return c=Xo(o)&&"number"==typeof o?ea(h,o)(a):Eo(o)||Wo(o)?ea(h,0)(a):o.map((function(e,t){var r=Math.floor(t*l);if(h[r]){var n=h[r],i=ea(n.x,e.x),o=ea(n.y,e.y);return QE(QE({},e),{},{x:i(a),y:o(a)})}return e})),r.renderAreaStatically(u,c,e,t)}return Q.createElement(Ia,null,Q.createElement("defs",null,Q.createElement("clipPath",{id:"animationClipPath-".concat(t)},r.renderClipRect(a))),Q.createElement(Ia,{clipPath:"url(#animationClipPath-".concat(t,")")},r.renderAreaStatically(i,o,e,t)))}))}},{key:"renderArea",value:function(e,t){var r=this.props,n=r.points,i=r.baseLine,o=r.isAnimationActive,a=this.state,c=a.prevPoints,l=a.prevBaseLine,u=a.totalLength;return o&&n&&n.length&&(!c&&u>0||!Kw(c,n)||!Kw(l,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(n,i,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,n=t.dot,i=t.points,o=t.className,a=t.top,c=t.left,l=t.xAxis,u=t.yAxis,s=t.width,f=t.height,p=t.isAnimationActive,h=t.id;if(r||!i||!i.length)return null;var d=this.state.isAnimationFinished,y=1===i.length,v=tn("recharts-area",o),g=l&&l.allowDataOverflow,m=u&&u.allowDataOverflow,b=g||m,w=Eo(h)?this.id:h,x=null!==(e=ja(n,!1))&&void 0!==e?e:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,A=void 0===j?2:j,P=(Sa(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Q.createElement(Ia,{className:v},g||m?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(w)},Q.createElement("rect",{x:g?c:c-s/2,y:m?a:a-f/2,width:g?s:2*s,height:m?f:2*f})),!M&&Q.createElement("clipPath",{id:"clipPath-dots-".concat(w)},Q.createElement("rect",{x:c-k/2,y:a-k/2,width:s+k,height:f+k}))):null,y?null:this.renderArea(b,w),(n||y)&&this.renderDots(b,M,w),(!p||d)&&jS.renderCallByParent(this.props,i))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],n&&eC(r.prototype,n),i&&eC(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();function uC(){return uC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},uC.apply(this,arguments)}YE=lC,aC(lC,"displayName","Area"),aC(lC,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!bd.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),aC(lC,"getBaseValue",(function(e,t,r,n){var i=e.layout,o=e.baseValue,a=t.props.baseValue,c=null!=a?a:o;if(Xo(c)&&"number"==typeof c)return c;var l="horizontal"===i?n:r,u=l.scale.domain();if("number"===l.type){var s=Math.max(u[0],u[1]),f=Math.min(u[0],u[1]);return"dataMin"===c?f:"dataMax"===c||s<0?s:Math.max(Math.min(u[0],u[1]),0)}return"dataMin"===c?u[0]:"dataMax"===c?u[1]:u[0]})),aC(lC,"getComposedData",(function(e){var t,r=e.props,n=e.item,i=e.xAxis,o=e.yAxis,a=e.xAxisTicks,c=e.yAxisTicks,l=e.bandSize,u=e.dataKey,s=e.stackedData,f=e.dataStartIndex,p=e.displayedData,h=e.offset,d=r.layout,y=s&&s.length,v=YE.getBaseValue(r,n,i,o),g="horizontal"===d,m=!1,b=p.map((function(e,t){var r;y?r=s[f+t]:(r=mO(e,u),Array.isArray(r)?m=!0:r=[v,r]);var n=null==r[1]||y&&null==mO(e,u);return g?{x:CO({axis:i,ticks:a,bandSize:l,entry:e,index:t}),y:n?null:o.scale(r[1]),value:r,payload:e}:{x:n?null:i.scale(r[1]),y:CO({axis:o,ticks:c,bandSize:l,entry:e,index:t}),value:r,payload:e}}));return t=y||m?b.map((function(e){var t=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:null!=t&&null!=e.y?o.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}})):g?o.scale(v):i.scale(v),QE({points:b,baseLine:t,layout:d,isRange:m},h)})),aC(lC,"renderDotItem",(function(e,t){var r;if(Q.isValidElement(e))r=Q.cloneElement(e,t);else if(In(e))r=e(t);else{var n=tn("recharts-area-dot","boolean"!=typeof e?e.className:"");r=Q.createElement(eP,ZE({},t,{className:n}))}return r}));var sC=function(e){var t=e.xAxisId,r=zk(),n=$k(),i=Bk(t);return null==i?null:Q.createElement(EE,uC({},i,{className:tn("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(e){return jO(e,!0)}}))};function fC(){return fC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fC.apply(this,arguments)}sC.displayName="XAxis",sC.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};var pC=function(e){var t=e.yAxisId,r=zk(),n=$k(),i=Rk(t);return null==i?null:Q.createElement(EE,fC({},i,{className:tn("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(e){return jO(e,!0)}}))};function hC(e){return function(e){if(Array.isArray(e))return dC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return dC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dC(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}pC.displayName="YAxis",pC.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};var yC=function(e,t,r,n,i){var o=ba(e,Xk),a=ba(e,eE),c=[].concat(hC(o),hC(a)),l=ba(e,aE),u="".concat(n,"Id"),s=n[0],f=t;if(c.length&&(f=c.reduce((function(e,t){if(t.props[u]===r&&kM(t.props,"extendDomain")&&Xo(t.props[s])){var n=t.props[s];return[Math.min(e[0],n),Math.max(e[1],n)]}return e}),f)),l.length){var p="".concat(s,"1"),h="".concat(s,"2");f=l.reduce((function(e,t){if(t.props[u]===r&&kM(t.props,"extendDomain")&&Xo(t.props[p])&&Xo(t.props[h])){var n=t.props[p],i=t.props[h];return[Math.min(e[0],n,i),Math.max(e[1],n,i)]}return e}),f)}return i&&i.length&&(f=i.reduce((function(e,t){return Xo(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),f)),f},vC={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,n,o,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var c=new i(n,o||e,a),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],c]:e._events[l].push(c):(e._events[l]=c,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function c(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),c.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=new Array(o);i<o;i++)a[i]=n[i].fn;return a},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,o,a){var c=r?r+e:e;if(!this._events[c])return!1;var l,u,s=this._events[c],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(e,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,t),!0;case 3:return s.fn.call(s.context,t,n),!0;case 4:return s.fn.call(s.context,t,n,i),!0;case 5:return s.fn.call(s.context,t,n,i,o),!0;case 6:return s.fn.call(s.context,t,n,i,o,a),!0}for(u=1,l=new Array(f-1);u<f;u++)l[u-1]=arguments[u];s.fn.apply(s.context,l)}else{var p,h=s.length;for(u=0;u<h;u++)switch(s[u].once&&this.removeListener(e,s[u].fn,void 0,!0),f){case 1:s[u].fn.call(s[u].context);break;case 2:s[u].fn.call(s[u].context,t);break;case 3:s[u].fn.call(s[u].context,t,n);break;case 4:s[u].fn.call(s[u].context,t,n,i);break;default:if(!l)for(p=1,l=new Array(f-1);p<f;p++)l[p-1]=arguments[p];s[u].fn.apply(s[u].context,l)}}return!0},c.prototype.on=function(e,t,r){return o(this,e,t,r,!1)},c.prototype.once=function(e,t,r){return o(this,e,t,r,!0)},c.prototype.removeListener=function(e,t,n,i){var o=r?r+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var c=this._events[o];if(c.fn)c.fn!==t||i&&!c.once||n&&c.context!==n||a(this,o);else{for(var l=0,u=[],s=c.length;l<s;l++)(c[l].fn!==t||i&&!c[l].once||n&&c[l].context!==n)&&u.push(c[l]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&a(this,t)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,e.exports=c}(vC);var gC=new(Wt(vC.exports)),mC="recharts.syncMouseEvents";function bC(e){return bC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bC(e)}function wC(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,OC(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function xC(e,t,r){return(t=OC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OC(e){var t=function(e,t){if("object"!=bC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=bC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==bC(t)?t:String(t)}var SC=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),xC(this,"activeIndex",0),xC(this,"coordinateList",[]),xC(this,"layout","horizontal")}return wC(e,[{key:"setDetails",value:function(e){var t,r=e.coordinateList,n=void 0===r?null:r,i=e.container,o=void 0===i?null:i,a=e.layout,c=void 0===a?null:a,l=e.offset,u=void 0===l?null:l,s=e.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(t=null!=n?n:this.coordinateList)&&void 0!==t?t:[],this.container=null!=o?o:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=u?u:this.offset,this.mouseHandlerCallback=null!=f?f: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(e){if(0!==this.coordinateList.length)switch(e.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:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,l=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,u=n+a+c,s=i+this.offset.top+o/2+l;this.mouseHandlerCallback({pageX:u,pageY:s})}}}]),e}();function jC(e){var t=e.cx,r=e.cy,n=e.radius,i=e.startAngle,o=e.endAngle;return{points:[WO(t,r,n,i),WO(t,r,n,o)],cx:t,cy:r,radius:n,startAngle:i,endAngle:o}}function AC(e,t,r){var n,i,o,a;if("horizontal"===e)o=n=t.x,i=r.top,a=r.top+r.height;else if("vertical"===e)a=i=t.y,n=r.left,o=r.left+r.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return jC(t);var c=t.cx,l=t.cy,u=t.innerRadius,s=t.outerRadius,f=t.angle,p=WO(c,l,u,f),h=WO(c,l,s,f);n=p.x,i=p.y,o=h.x,a=h.y}return[{x:n,y:i},{x:o,y:a}]}function PC(e){return PC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},PC(e)}function MC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?MC(Object(r),!0).forEach((function(t){EC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):MC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function EC(e,t,r){return t=function(e){var t=function(e,t){if("object"!=PC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=PC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==PC(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CC(e){var t,r=e.element,n=e.tooltipEventType,i=e.isActive,o=e.activeCoordinate,a=e.activePayload,c=e.offset,l=e.activeTooltipIndex,u=e.tooltipAxisBandSize,s=e.layout,f=e.chartName;if(!r||!r.props.cursor||!i||!o||"ScatterChart"!==f&&"axis"!==n)return null;var p=rj;if("ScatterChart"===f)t=o,p=lP;else if("BarChart"===f)t=function(e,t,r,n){var i=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-i:r.left+.5,y:"horizontal"===e?r.top+.5:t.y-i,width:"horizontal"===e?n:r.width-1,height:"horizontal"===e?r.height-1:n}}(s,o,c,u),p=JA;else if("radial"===s){var h=jC(o),d=h.cx,y=h.cy,v=h.radius;t={cx:d,cy:y,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:v,outerRadius:v},p=DS}else t={points:AC(s,o,c)},p=rj;var g=kC(kC(kC(kC({stroke:"#ccc",pointerEvents:"none"},c),t),ja(r.props.cursor,!1)),{},{payload:a,payloadIndex:l,className:tn("recharts-tooltip-cursor",r.props.cursor.className)});return ee(r.props.cursor)?se(r.props.cursor,g):fe(p,g)}var _C=["item"],TC=["children","className","width","height","style","compact","title","desc"];function DC(e){return DC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},DC(e)}function NC(){return NC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},NC.apply(this,arguments)}function IC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||UC(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function LC(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function BC(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,KC(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function RC(e,t,r){return t=$C(t),function(e,t){if(t&&("object"===DC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return HC(e)}(e,zC()?Reflect.construct(t,r||[],$C(e).constructor):t.apply(e,r))}function zC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zC=function(){return!!e})()}function $C(e){return $C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$C(e)}function HC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VC(e,t){return VC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},VC(e,t)}function FC(e){return function(e){if(Array.isArray(e))return WC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||UC(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function UC(e,t){if(e){if("string"==typeof e)return WC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?WC(e,t):void 0}}function WC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function qC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function YC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qC(Object(r),!0).forEach((function(t){XC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function XC(e,t,r){return(t=KC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function KC(e){var t=function(e,t){if("object"!=DC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=DC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==DC(t)?t:String(t)}var GC={xAxis:["bottom","top"],yAxis:["left","right"]},ZC={width:"100%",height:"100%"},JC={x:0,y:0};function QC(e){return e}var e_=function(e,t){var r=t.graphicalItems,n=t.dataStartIndex,i=t.dataEndIndex,o=(null!=r?r:[]).reduce((function(e,t){var r=t.props.data;return r&&r.length?[].concat(FC(e),FC(r)):e}),[]);return o.length>0?o:e&&e.length&&Xo(n)&&Xo(i)?e.slice(n,i+1):[]};function t_(e){return"number"===e?[0,"auto"]:void 0}var r_=function(e,t,r,n){var i=e.graphicalItems,o=e.tooltipAxis,a=e_(t,e);return r<0||!i||!i.length||r>=a.length?null:i.reduce((function(i,c){var l,u,s=null!==(l=c.props.data)&&void 0!==l?l:t;(s&&e.dataStartIndex+e.dataEndIndex!==0&&(s=s.slice(e.dataStartIndex,e.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory)?u=ta(void 0===s?a:s,o.dataKey,n):u=s&&s[r]||a[r];return u?[].concat(FC(i),[RO(c,u)]):i}),[])},n_=function(e,t,r,n){var i=n||{x:e.chartX,y:e.chartY},o=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(i,r),a=e.orderedTooltipTicks,c=e.tooltipAxis,l=e.tooltipTicks,u=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var c=i.range,l=0;l<a;l++){var u=l>0?n[l-1].coordinate:n[a-1].coordinate,s=n[l].coordinate,f=l>=a-1?n[0].coordinate:n[l+1].coordinate,p=void 0;if(qo(s-u)!==qo(f-s)){var h=[];if(qo(f-s)===qo(c[1]-c[0])){p=f;var d=s+c[1]-c[0];h[0]=Math.min(d,(d+u)/2),h[1]=Math.max(d,(d+u)/2)}else{p=u;var y=f+c[1]-c[0];h[0]=Math.min(s,(y+s)/2),h[1]=Math.max(s,(y+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(e>v[0]&&e<=v[1]||e>=h[0]&&e<=h[1]){o=n[l].index;break}}else{var g=Math.min(u,f),m=Math.max(u,f);if(e>(g+s)/2&&e<=(m+s)/2){o=n[l].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){o=r[b].index;break}return o}(o,a,l,c);if(u>=0&&l){var s=l[u]&&l[u].value,f=r_(e,t,u,s),p=function(e,t,r,n){var i=t.find((function(e){return e&&e.index===r}));if(i){if("horizontal"===e)return{x:i.coordinate,y:n.y};if("vertical"===e)return{x:n.x,y:i.coordinate};if("centric"===e){var o=i.coordinate,a=n.radius;return YC(YC(YC({},n),WO(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,l=n.angle;return YC(YC(YC({},n),WO(n.cx,n.cy,c,l)),{},{angle:l,radius:c})}return JC}(r,a,u,i);return{activeTooltipIndex:u,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},i_=function(e,t){var r=t.axes,n=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,s=e.children,f=e.stackOffset,p=SO(u,i);return r.reduce((function(t,r){var h,d=r.props,y=d.type,v=d.dataKey,g=d.allowDataOverflow,m=d.allowDuplicatedCategory,b=d.scale,w=d.ticks,x=d.includeHidden,O=r.props[o];if(t[O])return t;var S,j,A,P=e_(e.data,{graphicalItems:n.filter((function(e){return e.props[o]===O})),dataStartIndex:c,dataEndIndex:l}),M=P.length;(function(e,t,r){if("number"===r&&!0===t&&Array.isArray(e)){var n=null==e?void 0:e[0],i=null==e?void 0:e[1];if(n&&i&&Xo(n)&&Xo(i))return!0}return!1})(r.props.domain,g,y)&&(S=IO(r.props.domain,null,g),!p||"number"!==y&&"auto"===b||(A=bO(P,v,"category")));var k=t_(y);if(!S||0===S.length){var E,C=null!==(E=r.props.domain)&&void 0!==E?E:k;if(v){if(S=bO(P,v,y),"category"===y&&p){var _=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++){if(r[e[n]])return!0;r[e[n]]=!0}return!1}(S);m&&_?(j=S,S=tM(0,M)):m||(S=BO(C,S,r).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(FC(e),[t])}),[]))}else if("category"===y)S=m?S.filter((function(e){return""!==e&&!Eo(e)})):BO(C,S,r).reduce((function(e,t){return e.indexOf(t)>=0||""===t||Eo(t)?e:[].concat(FC(e),[t])}),[]);else if("number"===y){var T=function(e,t,r,n,i){var o=t.map((function(t){return xO(e,t,r,i,n)})).filter((function(e){return!Eo(e)}));return o&&o.length?o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(P,n.filter((function(e){return e.props[o]===O&&(x||!e.props.hide)})),v,i,u);T&&(S=T)}!p||"number"!==y&&"auto"===b||(A=bO(P,v,"category"))}else S=p?tM(0,M):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:TO(a[O].stackGroups,c,l):OO(P,n.filter((function(e){return e.props[o]===O&&(x||!e.props.hide)})),y,u,!0);if("number"===y)S=yC(s,S,O,i,w),C&&(S=IO(C,S,g));else if("category"===y&&C){var D=C;S.every((function(e){return D.indexOf(e)>=0}))&&(S=D)}}return YC(YC({},t),{},XC({},O,YC(YC({},r.props),{},{axisType:i,domain:S,categoricalDomain:A,duplicateDomain:j,originalDomain:null!==(h=r.props.domain)&&void 0!==h?h:k,isCategorical:p,layout:u})))}),{})},o_=function(e,t){var r=t.axisType,n=void 0===r?"xAxis":r,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.children,s="".concat(n,"Id"),f=ba(u,i),p={};return f&&f.length?p=i_(e,{axes:f,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l}):o&&o.length&&(p=function(e,t){var r=t.graphicalItems,n=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,s=e.children,f=e_(e.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:l}),p=f.length,h=SO(u,i),d=-1;return r.reduce((function(e,t){var y,v=t.props[o],g=t_("number");return e[v]?e:(d++,h?y=tM(0,p):a&&a[v]&&a[v].hasStack?(y=TO(a[v].stackGroups,c,l),y=yC(s,y,v,i)):(y=IO(g,OO(f,r.filter((function(e){return e.props[o]===v&&!e.props.hide})),"number",u),n.defaultProps.allowDataOverflow),y=yC(s,y,v,i)),YC(YC({},e),{},XC({},v,YC(YC({axisType:i},n.defaultProps),{},{hide:!0,orientation:ko(GC,"".concat(i,".").concat(d%2),null),domain:y,originalDomain:g,isCategorical:h,layout:u}))))}),{})}(e,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l})),p},a_=function(e){var t=e.children,r=e.defaultShowTooltip,n=wa(t,wM),i=0,o=0;return e.data&&0!==e.data.length&&(o=e.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(i=n.props.startIndex),n.props.endIndex>=0&&(o=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:Boolean(r)}},c_=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},l_=function(e,t){var r=e.props,n=(e.graphicalItems,e.xAxisMap),i=void 0===n?{}:n,o=e.yAxisMap,a=void 0===o?{}:o,c=r.width,l=r.height,u=r.children,s=r.margin||{},f=wa(u,wM),p=wa(u,qp),h=Object.keys(a).reduce((function(e,t){var r=a[t],n=r.orientation;return r.mirror||r.hide?e:YC(YC({},e),{},XC({},n,e[n]+r.width))}),{left:s.left||0,right:s.right||0}),d=Object.keys(i).reduce((function(e,t){var r=i[t],n=r.orientation;return r.mirror||r.hide?e:YC(YC({},e),{},XC({},n,ko(e,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=YC(YC({},d),h),v=y.bottom;f&&(y.bottom+=f.props.height||wM.defaultProps.height),p&&t&&(y=function(e,t,r,n){var i=r.children,o=r.width,a=r.margin,c=o-(a.left||0)-(a.right||0),l=fO({children:i,legendWidth:c});if(l){var u=n||{},s=u.width,f=u.height,p=l.align,h=l.verticalAlign,d=l.layout;if(("vertical"===d||"horizontal"===d&&"middle"===h)&&"center"!==p&&Xo(e[p]))return dO(dO({},e),{},yO({},p,e[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&Xo(e[h]))return dO(dO({},e),{},yO({},h,e[h]+(f||0)))}return e}(y,0,r,t));var g=c-y.left-y.right,m=l-y.top-y.bottom;return YC(YC({brushBottom:v},y),{},{width:Math.max(g,0),height:Math.max(m,0)})},u_=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},s_=function(e){var t,r=e.chartName,n=e.GraphicalChild,i=e.defaultTooltipEventType,o=void 0===i?"axis":i,a=e.validateTooltipEventTypes,c=void 0===a?["axis"]:a,l=e.axisComponents,u=e.legendContent,s=e.formatAxisMap,f=e.defaultProps,p=function(e,t){var r=t.graphicalItems,n=t.stackGroups,i=t.offset,o=t.updateId,a=t.dataStartIndex,c=t.dataEndIndex,u=e.barSize,s=e.layout,f=e.barGap,p=e.barCategoryGap,h=e.maxBarSize,d=c_(s),y=d.numericAxisName,v=d.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=ya(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(r),m=[];return r.forEach((function(r,d){var b=e_(e.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:c}),w=r.props,x=w.dataKey,O=w.maxBarSize,S=r.props["".concat(y,"Id")],j=r.props["".concat(v,"Id")],A=l.reduce((function(e,n){var i,o,a=t["".concat(n.axisType,"Map")],c=r.props["".concat(n.axisType,"Id")];a&&a[c]||"zAxis"===n.axisType||("production"!==process.env.NODE_ENV?eO(0,"Specifying a(n) ".concat(n.axisType,"Id requires a corresponding ").concat(n.axisType,"Id on the targeted graphical component ").concat(null!==(i=null==r||null===(o=r.type)||void 0===o?void 0:o.displayName)&&void 0!==i?i:"")):eO());var l=a[c];return YC(YC({},e),{},XC(XC({},n.axisType,l),"".concat(n.axisType,"Ticks"),jO(l)))}),{}),P=A[v],M=A["".concat(v,"Ticks")],k=n&&n[S]&&n[S].hasStack&&function(e,t){var r=e.props.stackId;if(Ko(r)){var n=t[r];if(n){var i=n.items.indexOf(e);return i>=0?n.stackedData[i]:null}}return null}(r,n[S].stackGroups),E=ya(r.type).indexOf("Bar")>=0,C=LO(P,M),_=[],T=g&&function(e){var t=e.barSize,r=e.totalSize,n=e.stackGroups,i=void 0===n?{}:n;if(!i)return{};for(var o={},a=Object.keys(i),c=0,l=a.length;c<l;c++)for(var u=i[a[c]].stackGroups,s=Object.keys(u),f=0,p=s.length;f<p;f++){var h=u[s[f]],d=h.items,y=h.cateAxisId,v=d.filter((function(e){return ya(e.type).indexOf("Bar")>=0}));if(v&&v.length){var g=v[0].props.barSize,m=v[0].props[y];o[m]||(o[m]=[]);var b=Eo(g)?t:g;o[m].push({item:v[0],stackList:v.slice(1),barSize:Eo(b)?void 0:Jo(b,r,0)})}}return o}({barSize:u,stackGroups:n,totalSize:u_(A,v)});if(E){var D,N,I=Eo(O)?h:O,L=null!==(D=null!==(N=LO(P,M,!0))&&void 0!==N?N:I)&&void 0!==D?D:0;_=function(e){var t=e.barGap,r=e.barCategoryGap,n=e.bandSize,i=e.sizeList,o=void 0===i?[]:i,a=e.maxBarSize,c=o.length;if(c<1)return null;var l,u=Jo(t,n,0,!0),s=[];if(o[0].barSize===+o[0].barSize){var f=!1,p=n/c,h=o.reduce((function(e,t){return e+t.barSize||0}),0);(h+=(c-1)*u)>=n&&(h-=(c-1)*u,u=0),h>=n&&p>0&&(f=!0,h=c*(p*=.9));var d={offset:((n-h)/2|0)-u,size:0};l=o.reduce((function(e,t){var r={item:t.item,position:{offset:d.offset+d.size+u,size:f?p:t.barSize}},n=[].concat(vO(e),[r]);return d=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:d})})),n}),s)}else{var y=Jo(r,n,0,!0);n-2*y-(c-1)*u<=0&&(u=0);var v=(n-2*y-(c-1)*u)/c;v>1&&(v>>=0);var g=a===+a?Math.min(v,a):v;l=o.reduce((function(e,t,r){var n=[].concat(vO(e),[{item:t.item,position:{offset:y+(v+u)*r+(v-g)/2,size:g}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:n[n.length-1].position})})),n}),s)}return l}({barGap:f,barCategoryGap:p,bandSize:L!==C?L:C,sizeList:T[j],maxBarSize:I}),L!==C&&(_=_.map((function(e){return YC(YC({},e),{},{position:YC(YC({},e.position),{},{offset:e.position.offset-L/2})})})))}var B,R,z=r&&r.type&&r.type.getComposedData;z&&m.push({props:YC(YC({},z(YC(YC({},A),{},{displayedData:b,props:e,dataKey:x,item:r,bandSize:C,barPosition:_,offset:i,stackedData:k,layout:s,dataStartIndex:a,dataEndIndex:c}))),{},XC(XC(XC({key:r.key||"item-".concat(d)},y,A[y]),v,A[v]),"animationId",o)),childIndex:(B=r,R=e.children,ma(R).indexOf(B)),item:r})})),m},h=function(e,t){var i=e.props,o=e.dataStartIndex,a=e.dataEndIndex,c=e.updateId;if(!xa({props:i}))return null;var u=i.children,f=i.layout,h=i.stackOffset,d=i.data,y=i.reverseStackOrder,v=c_(f),g=v.numericAxisName,m=v.cateAxisName,b=ba(u,n),w=function(e,t,r,n,i,o){if(!e)return null;var a=(o?t.reverse():t).reduce((function(e,t){var i=t.props,o=i.stackId;if(i.hide)return e;var a=t.props[r],c=e[a]||{hasStack:!1,stackGroups:{}};if(Ko(o)){var l=c.stackGroups[o]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(t),c.hasStack=!0,c.stackGroups[o]=l}else c.stackGroups[Zo("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[t]};return dO(dO({},e),{},yO({},a,c))}),{});return Object.keys(a).reduce((function(t,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(t,o){var a=c.stackGroups[o];return dO(dO({},t),{},yO({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:EO(e,a.items,i)}))}),{})),dO(dO({},t),{},yO({},o,c))}),{})}(d,b,"".concat(g,"Id"),"".concat(m,"Id"),h,y),x=l.reduce((function(e,t){var r="".concat(t.axisType,"Map");return YC(YC({},e),{},XC({},r,o_(i,YC(YC({},t),{},{graphicalItems:b,stackGroups:t.axisType===g&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),O=l_(YC(YC({},x),{},{props:i,graphicalItems:b}),null==t?void 0:t.legendBBox);Object.keys(x).forEach((function(e){x[e]=s(i,x[e],O,e.replace("Map",""),r)}));var S,j,A=x["".concat(m,"Map")],P=(S=Qo(A),{tooltipTicks:j=jO(S,!1,!0),orderedTooltipTicks:Wh(j,(function(e){return e.coordinate})),tooltipAxis:S,tooltipAxisBandSize:LO(S,j)}),M=p(i,YC(YC({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:w,offset:O}));return YC(YC({formattedGraphicalItems:M,graphicalItems:b,offset:O,stackGroups:w},P),x)};return t=function(e){function t(e){var n,i,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),XC(HC(o=RC(this,t,[e])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),XC(HC(o),"accessibilityManager",new SC),XC(HC(o),"handleLegendBBoxUpdate",(function(e){if(e){var t=o.state,r=t.dataStartIndex,n=t.dataEndIndex,i=t.updateId;o.setState(YC({legendBBox:e},h({props:o.props,dataStartIndex:r,dataEndIndex:n,updateId:i},YC(YC({},o.state),{},{legendBBox:e}))))}})),XC(HC(o),"handleReceiveSyncEvent",(function(e,t,r){if(o.props.syncId===e){if(r===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(t)}})),XC(HC(o),"handleBrushChange",(function(e){var t=e.startIndex,r=e.endIndex;if(t!==o.state.dataStartIndex||r!==o.state.dataEndIndex){var n=o.state.updateId;o.setState((function(){return YC({dataStartIndex:t,dataEndIndex:r},h({props:o.props,dataStartIndex:t,dataEndIndex:r,updateId:n},o.state))})),o.triggerSyncEvent({dataStartIndex:t,dataEndIndex:r})}})),XC(HC(o),"handleMouseEnter",(function(e){var t=o.getMouseInfo(e);if(t){var r=YC(YC({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseEnter;In(n)&&n(r,e)}})),XC(HC(o),"triggeredAfterMouseMove",(function(e){var t=o.getMouseInfo(e),r=t?YC(YC({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseMove;In(n)&&n(r,e)})),XC(HC(o),"handleItemMouseEnter",(function(e){o.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))})),XC(HC(o),"handleItemMouseLeave",(function(){o.setState((function(){return{isTooltipActive:!1}}))})),XC(HC(o),"handleMouseMove",(function(e){e.persist(),o.throttleTriggeredAfterMouseMove(e)})),XC(HC(o),"handleMouseLeave",(function(e){o.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};o.setState(t),o.triggerSyncEvent(t);var r=o.props.onMouseLeave;In(r)&&r(t,e)})),XC(HC(o),"handleOuterEvent",(function(e){var t,r=function(e){var t=e&&e.type;return t&&da[t]?da[t]:null}(e),n=ko(o.props,"".concat(r));r&&In(n)&&n(null!==(t=/.*touch.*/i.test(r)?o.getMouseInfo(e.changedTouches[0]):o.getMouseInfo(e))&&void 0!==t?t:{},e)})),XC(HC(o),"handleClick",(function(e){var t=o.getMouseInfo(e);if(t){var r=YC(YC({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onClick;In(n)&&n(r,e)}})),XC(HC(o),"handleMouseDown",(function(e){var t=o.props.onMouseDown;In(t)&&t(o.getMouseInfo(e),e)})),XC(HC(o),"handleMouseUp",(function(e){var t=o.props.onMouseUp;In(t)&&t(o.getMouseInfo(e),e)})),XC(HC(o),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(e.changedTouches[0])})),XC(HC(o),"handleTouchStart",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseDown(e.changedTouches[0])})),XC(HC(o),"handleTouchEnd",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseUp(e.changedTouches[0])})),XC(HC(o),"triggerSyncEvent",(function(e){void 0!==o.props.syncId&&gC.emit(mC,o.props.syncId,e,o.eventEmitterSymbol)})),XC(HC(o),"applySyncEvent",(function(e){var t=o.props,r=t.layout,n=t.syncMethod,i=o.state.updateId,a=e.dataStartIndex,c=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)o.setState(YC({dataStartIndex:a,dataEndIndex:c},h({props:o.props,dataStartIndex:a,dataEndIndex:c,updateId:i},o.state)));else if(void 0!==e.activeTooltipIndex){var l=e.chartX,u=e.chartY,s=e.activeTooltipIndex,f=o.state,p=f.offset,d=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(d,e);else if("value"===n){s=-1;for(var y=0;y<d.length;y++)if(d[y].value===e.activeLabel){s=y;break}}var v=YC(YC({},p),{},{x:p.left,y:p.top}),g=Math.min(l,v.x+v.width),m=Math.min(u,v.y+v.height),b=d[s]&&d[s].value,w=r_(o.state,o.props.data,s),x=d[s]?{x:"horizontal"===r?d[s].coordinate:g,y:"horizontal"===r?m:d[s].coordinate}:JC;o.setState(YC(YC({},e),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else o.setState(e)})),XC(HC(o),"renderCursor",(function(e){var t,n=o.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,l=n.offset,u=n.activeTooltipIndex,s=n.tooltipAxisBandSize,f=o.getTooltipEventType(),p=null!==(t=e.props.active)&&void 0!==t?t:i,h=o.props.layout,d=e.key||"_recharts-cursor";return Q.createElement(CC,{key:d,activeCoordinate:a,activePayload:c,activeTooltipIndex:u,chartName:r,element:e,isActive:p,layout:h,offset:l,tooltipAxisBandSize:s,tooltipEventType:f})})),XC(HC(o),"renderPolarAxis",(function(e,t,r){var n=ko(e,"type.axisType"),i=ko(o.state,"".concat(n,"Map")),a=i&&i[e.props["".concat(n,"Id")]];return se(e,YC(YC({},a),{},{className:tn(n,a.className),key:e.key||"".concat(t,"-").concat(r),ticks:jO(a,!0)}))})),XC(HC(o),"renderPolarGrid",(function(e){var t=e.props,r=t.radialLines,n=t.polarAngles,i=t.polarRadius,a=o.state,c=a.radiusAxisMap,l=a.angleAxisMap,u=Qo(c),s=Qo(l),f=s.cx,p=s.cy,h=s.innerRadius,d=s.outerRadius;return se(e,{polarAngles:Array.isArray(n)?n:jO(s,!0).map((function(e){return e.coordinate})),polarRadius:Array.isArray(i)?i:jO(u,!0).map((function(e){return e.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:d,key:e.key||"polar-grid",radialLines:r})})),XC(HC(o),"renderLegend",(function(){var e=o.state.formattedGraphicalItems,t=o.props,r=t.children,n=t.width,i=t.height,a=o.props.margin||{},c=n-(a.left||0)-(a.right||0),l=fO({children:r,formattedGraphicalItems:e,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=LC(l,_C);return se(s,YC(YC({},f),{},{chartWidth:n,chartHeight:i,margin:a,onBBoxUpdate:o.handleLegendBBoxUpdate}))})),XC(HC(o),"renderTooltip",(function(){var e,t=o.props,r=t.children,n=t.accessibilityLayer,i=wa(r,_d);if(!i)return null;var a=o.state,c=a.isTooltipActive,l=a.activeCoordinate,u=a.activePayload,s=a.activeLabel,f=a.offset,p=null!==(e=i.props.active)&&void 0!==e?e:c;return se(i,{viewBox:YC(YC({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?u:[],coordinate:l,accessibilityLayer:n})})),XC(HC(o),"renderBrush",(function(e){var t=o.props,r=t.margin,n=t.data,i=o.state,a=i.offset,c=i.dataStartIndex,l=i.dataEndIndex,u=i.updateId;return se(e,{key:e.key||"_recharts-brush",onChange:PO(o.handleBrushChange,e.props.onChange),data:n,x:Xo(e.props.x)?e.props.x:a.left,y:Xo(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:Xo(e.props.width)?e.props.width:a.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})})),XC(HC(o),"renderReferenceElement",(function(e,t,r){if(!e)return null;var n=HC(o).clipPathId,i=o.state,a=i.xAxisMap,c=i.yAxisMap,l=i.offset,u=e.props,s=u.xAxisId,f=u.yAxisId;return se(e,{key:e.key||"".concat(t,"-").concat(r),xAxis:a[s],yAxis:c[f],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:n})})),XC(HC(o),"renderActivePoints",(function(e){var r=e.item,n=e.activePoint,i=e.basePoint,o=e.childIndex,a=e.isRange,c=[],l=r.props.key,u=r.item.props,s=u.activeDot,f=YC(YC({index:o,dataKey:u.dataKey,cx:n.x,cy:n.y,r:4,fill:wO(r.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(l,"-activePoint-").concat(o)},ja(s,!1)),la(s));return c.push(t.renderActiveDot(s,f)),i?c.push(t.renderActiveDot(s,YC(YC({},f),{},{cx:i.x,cy:i.y,key:"".concat(l,"-basePoint-").concat(o)}))):a&&c.push(null),c})),XC(HC(o),"renderGraphicChild",(function(e,t,r){var n=o.filterFormatItem(e,t,r);if(!n)return null;var i=o.getTooltipEventType(),a=o.state,c=a.isTooltipActive,l=a.tooltipAxis,u=a.activeTooltipIndex,s=a.activeLabel,f=wa(o.props.children,_d),p=n.props,h=p.points,d=p.isRange,y=p.baseLine,v=n.item.props,g=v.activeDot,m=v.hide,b=v.activeBar,w=v.activeShape,x=Boolean(!m&&c&&f&&(g||b||w)),O={};"axis"!==i&&f&&"click"===f.props.trigger?O={onClick:PO(o.handleItemMouseEnter,e.props.onClick)}:"axis"!==i&&(O={onMouseLeave:PO(o.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:PO(o.handleItemMouseEnter,e.props.onMouseEnter)});var S=se(e,YC(YC({},n.props),O));if(x){if(!(u>=0)){var j,A=(null!==(j=o.getItemByXY(o.state.activeCoordinate))&&void 0!==j?j:{graphicalItem:S}).graphicalItem,P=A.item,M=void 0===P?e:P,k=A.childIndex,E=YC(YC(YC({},n.props),O),{},{activeIndex:k});return[se(M,E),null,null]}var C,_;if(l.dataKey&&!l.allowDuplicatedCategory){var T="function"==typeof l.dataKey?function(e){return"function"==typeof l.dataKey?l.dataKey(e.payload):null}:"payload.".concat(l.dataKey.toString());C=ta(h,T,s),_=d&&y&&ta(y,T,s)}else C=null==h?void 0:h[u],_=d&&y&&y[u];if(w||b){var D=void 0!==e.props.activeIndex?e.props.activeIndex:u;return[se(e,YC(YC(YC({},n.props),O),{},{activeIndex:D})),null,null]}if(!Eo(C))return[S].concat(FC(o.renderActivePoints({item:n,activePoint:C,basePoint:_,childIndex:u,isRange:d})))}return d?[S,null,null]:[S,null]})),XC(HC(o),"renderCustomized",(function(e,t,r){return se(e,YC(YC({key:"recharts-customized-".concat(r)},o.props),o.state))})),XC(HC(o),"renderMap",{CartesianGrid:{handler:QC,once:!0},ReferenceArea:{handler:o.renderReferenceElement},ReferenceLine:{handler:QC},ReferenceDot:{handler:o.renderReferenceElement},XAxis:{handler:QC},YAxis:{handler:QC},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!==(n=e.id)&&void 0!==n?n:Zo("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=ey(o.triggeredAfterMouseMove,null!==(i=e.throttleDelay)&&void 0!==i?i:1e3/60),o.state={},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&VC(e,t)}(t,de),BC(t,[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,r=e.data,n=e.height,i=e.layout,o=wa(t,_d);if(o){var a=o.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length)){var c=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=r_(this.state,r,a,c),u=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===i?{x:u,y:s}:{y:u,x:s},p=this.state.formattedGraphicalItems.find((function(e){return"Scatter"===e.item.type.name}));p&&(f=YC(YC({},f),p.props.points[a].tooltipPosition),l=p.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:l,activeCoordinate:f};this.setState(h),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){if(!this.props.accessibilityLayer)return null;var r,n;(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin)&&this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}});return null}},{key:"componentDidUpdate",value:function(e){Aa([wa(e.children,_d)],[wa(this.props.children,_d)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=wa(this.props.children,_d);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return c.indexOf(t)>=0?t:o}return o}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,r=this.container,n=r.getBoundingClientRect(),i={top:(t=n).top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft},o={chartX:Math.round(e.pageX-i.left),chartY:Math.round(e.pageY-i.top)},a=n.width/r.offsetWidth||1,c=this.inRange(o.chartX,o.chartY,a);if(!c)return null;var l=this.state,u=l.xAxisMap,s=l.yAxisMap;if("axis"!==this.getTooltipEventType()&&u&&s){var f=Qo(u).scale,p=Qo(s).scale,h=f&&f.invert?f.invert(o.chartX):null,d=p&&p.invert?p.invert(o.chartY):null;return YC(YC({},o),{},{xValue:h,yValue:d})}var y=n_(this.state,this.props.data,this.props.layout,c);return y?YC(YC({},o),y):null}},{key:"inRange",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,i=e/r,o=t/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var c=this.state,l=c.angleAxisMap,u=c.radiusAxisMap;if(l&&u){var s=Qo(l);return XO({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),r=wa(e,_d),n={};return r&&"axis"===t&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),YC(YC({},la(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){gC.on(mC,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){gC.removeListener(mC,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===e||a.props.key===e.key||t===ya(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,r=t.left,n=t.top,i=t.height,o=t.width;return Q.createElement("defs",null,Q.createElement("clipPath",{id:e},Q.createElement("rect",{x:r,y:n,height:i,width:o})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=IC(t,2),n=r[0],i=r[1];return YC(YC({},e),{},XC({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=IC(t,2),n=r[0],i=r[1];return YC(YC({},e),{},XC({},n,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,r=t.formattedGraphicalItems,n=t.activeItem;if(r&&r.length)for(var i=0,o=r.length;i<o;i++){var a=r[i],c=a.props,l=a.item,u=ya(l.type);if("Bar"===u){var s=(c.data||[]).find((function(t){return GA(e,t)}));if(s)return{graphicalItem:a,payload:s}}else if("RadialBar"===u){var f=(c.data||[]).find((function(t){return XO(e,t)}));if(f)return{graphicalItem:a,payload:f}}else if(HP(a,n)||VP(a,n)||FP(a,n)){var p=YP({graphicalItem:a,activeTooltipItem:n,itemData:l.props.data}),h=void 0===l.props.activeIndex?p:l.props.activeIndex;return{graphicalItem:YC(YC({},a),{},{childIndex:h}),payload:FP(a,n)?l.props.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var e=this;if(!xa(this))return null;var t,r,n=this.props,i=n.children,o=n.className,a=n.width,c=n.height,l=n.style,u=n.compact,s=n.title,f=n.desc,p=LC(n,TC),h=ja(p,!1);if(u)return Q.createElement(Ik,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Q.createElement(_a,NC({},h,{width:a,height:c,title:s,desc:f}),this.renderClipPath(),Ma(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!==(t=this.props.tabIndex)&&void 0!==t?t:0,h.role=null!==(r=this.props.role)&&void 0!==r?r:"application",h.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},h.onFocus=function(){e.accessibilityManager.focus()});var d=this.parseEventsOfWrapper();return Q.createElement(Ik,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Q.createElement("div",NC({className:tn("recharts-wrapper",o),style:YC({position:"relative",cursor:"default",width:a,height:c},l)},d,{ref:function(t){e.container=t}}),Q.createElement(_a,NC({},h,{width:a,height:c,title:s,desc:f,style:ZC}),this.renderClipPath(),Ma(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}]),t}(),XC(t,"displayName",r),XC(t,"defaultProps",YC({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),XC(t,"getDerivedStateFromProps",(function(e,t){var r=e.dataKey,n=e.data,i=e.children,o=e.width,a=e.height,c=e.layout,l=e.stackOffset,u=e.margin,s=t.dataStartIndex,f=t.dataEndIndex;if(void 0===t.updateId){var p=a_(e);return YC(YC(YC({},p),{},{updateId:0},h(YC(YC({props:e},p),{},{updateId:0}),t)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(r!==t.prevDataKey||n!==t.prevData||o!==t.prevWidth||a!==t.prevHeight||c!==t.prevLayout||l!==t.prevStackOffset||!ra(u,t.prevMargin)){var d=a_(e),y={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},v=YC(YC({},n_(t,n,c)),{},{updateId:t.updateId+1}),g=YC(YC(YC({},d),y),v);return YC(YC(YC({},g),h(YC({props:e},g),t)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(!Aa(i,t.prevChildren)){var m,b,w,x,O=wa(i,wM),S=O&&null!==(m=null===(b=O.props)||void 0===b?void 0:b.startIndex)&&void 0!==m?m:s,j=O&&null!==(w=null===(x=O.props)||void 0===x?void 0:x.endIndex)&&void 0!==w?w:f,A=S!==s||j!==f,P=!Eo(n)&&!A?t.updateId:t.updateId+1;return YC(YC({updateId:P},h(YC(YC({props:e},t),{},{updateId:P,dataStartIndex:S,dataEndIndex:j}),t)),{},{prevChildren:i,dataStartIndex:S,dataEndIndex:j})}return null})),XC(t,"renderActiveDot",(function(e,t){var r;return r=ee(e)?se(e,t):In(e)?e(t):Q.createElement(eP,t),Q.createElement(Ia,{className:"recharts-active-dot",key:t.key},r)})),t},f_=s_({chartName:"LineChart",GraphicalChild:qE,axisComponents:[{axisType:"xAxis",AxisComp:sC},{axisType:"yAxis",AxisComp:pC}],formatAxisMap:xk}),p_=s_({chartName:"AreaChart",GraphicalChild:lC,axisComponents:[{axisType:"xAxis",AxisComp:sC},{axisType:"yAxis",AxisComp:pC}],formatAxisMap:xk});const h_=({chartId:n,formatter:i,labelFormatter:o,payload:a,cx:c,cy:l})=>{const u=document.getElementById(n)?.clientWidth||0,s=100;return c<20||u-c<20?t(r,{}):e("svg",{x:c-50,y:l-60,width:s,height:68,viewBox:"0 0 100 68",xmlns:"http://www.w3.org/2000/svg",children:[t("rect",{fill:"white",width:"98",height:"45",stroke:pr.coolElegance(),strokeWidth:"1",rx:"7",ry:"7",className:"shadow"}),t("text",{y:"14",x:"50%",fontSize:10,dominantBaseline:"middle",textAnchor:"middle",children:o(0,[{payload:a}])}),t("text",{y:"30",x:"50%",fontSize:11,dominantBaseline:"middle",textAnchor:"middle",fontWeight:"bold",children:i?i(a.value):a.value}),t("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"30",opacity:"0.7",children:t("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:pr.coolElegance(),transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),t("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"28",children:t("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:"white",transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),t("rect",{x:43,y:"52",width:14,height:14,rx:7,fill:"white",stroke:pr.coolElegance(),strokeWidth:"2"})]})},d_=({data:r,dataKey:n,width:i="100%",height:o="100%",areaType:a="linear",showTooltip:c=!1,isAnimated:l=!1,formatter:u,labelFormatter:s,sampleRate:f,style:p})=>{const{isNetGain:h}=ur({data:r,dataKey:n}),d=Qr(),y=Qr(),v=f?fr({arr:r||[],n:f}):r;let g,m;v?.length?(m=h?pr.mint():pr.coolElegance(),g=v?.map((e=>({...e,[n]:Number(e[n])||0})))):(m=pr.coolElegance(),g=[{[n]:1},{[n]:1}]);const b={cursor:c&&v?.length?"crosshair":"default",...p};return t(cy,{width:i,minHeight:o,id:d,children:e(p_,{data:g,margin:{top:20,right:0,left:0,bottom:20},style:b,children:[t("defs",{children:e("linearGradient",{id:y,x1:"0",y1:"0",x2:"0",y2:"1",children:[t("stop",{offset:"5%",stopColor:m,stopOpacity:.8}),t("stop",{offset:"95%",stopColor:m,stopOpacity:0})]})}),t(pC,{domain:v?.length?["dataMin","dataMax"]:[0,2],hide:!0}),t(lC,{type:a,dataKey:n,stroke:m,fill:`url(#${y})`,isAnimationActive:l,activeDot:c?e=>h_({chartId:d,labelFormatter:s,formatter:u,...e}):void 0,dot:!1}),v?.length&&c&&t(_d,{cursor:!1,content:()=>null})]})})},y_=()=>{const e=u({ssr:!1});return t(s,{children:t(f,{bgColor:{base:"rgba(255, 143, 163, 0.9)",sm:"rgba(255, 117, 143, 0.9)",md:"rgba(255, 77, 109, 0.9)",lg:"rgba(201, 24, 74, 0.9)",xl:"rgba(164, 19, 60, 0.9)","2xl":"rgba(128, 15, 47, 0.9)"},color:{base:pr.black(),md:"white"},position:"absolute",top:"0",right:"0",padding:"2",fontSize:"xs",zIndex:"5",width:"10rem",children:e})})},v_=({children:e,...r})=>t(p,{border:"solid 1px",borderColor:pr.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:e}),g_=({isSelected:e,children:r,...n})=>t(h,{variant:"none",paddingX:"1",fontSize:"sm",color:e?"brand.500":pr.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:e?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),m_=({children:e,...r})=>t(d,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:pr.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:e}),b_=r=>{const{carouselContents:n,isNavVertical:i,...o}=r,[a,c]=ae(0);return n.length>=1&&t(m_,{children:e(y,{gap:10,direction:i?"column":{base:"column",md:"row"},...o,children:[n[a],e(y,{alignItems:"flex-end",justifyContent:"center",gap:6,children:[t(v,{variant:"ghost",isDisabled:0===a,"aria-label":"Previous content",icon:t(Oe,{}),onClick:()=>{a>0&&a<=n.length-1&&c((e=>e-1))}}),t(v,{variant:"ghost",isDisabled:a===n.length-1,"aria-label":"Next content",icon:t(Se,{}),onClick:()=>{a<n.length-1&&c((e=>e+1))}})]})]})})},w_=r=>{const{size:n,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,name:l,register:u,errorMessage:s,label:f,labelPosition:p="left",spaceBetween:h,onClick:d,...v}=r;let x;c||(x=t(Pe,{}));const O=u?u(l):void 0;return e(g,{as:y,flexDir:"column",isInvalid:Boolean(s),isDisabled:i,isReadOnly:o,isRequired:a,children:[e(y,{onClick:d,w:"full",justifyContent:h?"space-between":"auto",children:["left"===p&&t(m,{fontSize:n,m:"0",mr:"3",children:f}),t(b,{icon:x,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,isInvalid:Boolean(s),size:n,...O,...v}),"right"===p&&t(m,{fontSize:n,m:"0",ml:"3",children:f})]}),t(y,{w:"full",children:s&&t(w,{size:n,children:s})})]})},x_=({children:e,onSubmit:r,...n})=>t(y,{as:"form",onSubmit:e=>{e.preventDefault(),r&&r(e)},noValidate:!0,gap:"6",flexDir:"column",...n,children:e});var O_=function(){return O_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},O_.apply(this,arguments)};function S_(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var j_=function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},A_={k:1e3,m:1e6,b:1e9},P_=function(e){var t=e.value,r=e.groupSeparator,n=void 0===r?",":r,i=e.decimalSeparator,o=void 0===i?".":i,a=e.allowDecimals,c=void 0===a||a,l=e.decimalsLimit,u=void 0===l?2:l,s=e.allowNegativeValue,f=void 0===s||s,p=e.disableAbbreviations,h=void 0!==p&&p,d=e.prefix,y=void 0===d?"":d,v=e.transformRawValue,g=(void 0===v?function(e){return e}:v)(t);if("-"===g)return g;var m=h?[]:["k","m","b"],b=new RegExp("((^|\\D)-\\d)|(-".concat(j_(y),")")).test(g),w=RegExp("(\\d+)-?".concat(j_(y))).exec(t)||[],x=w[0],O=w[1],S=function(e,t){void 0===t&&(t=",");var r=new RegExp(j_(t),"g");return e.replace(r,"")}(y?x?g.replace(x,"").concat(O):g.replace(y,""):g,n),j=function(e,t){var r=j_(t.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return e.replace(n,"")}(S,S_([n,o],m,!0)),A=j;if(!h){if(m.some((function(e){return e===j.toLowerCase().replace(o,"")})))return"";var P=function(e,t){void 0===t&&(t=".");var r=new RegExp("(\\d+(".concat(j_(t),"\\d*)?)([kmb])$"),"i"),n=e.match(r);if(n){var i=n[1],o=n[3],a=A_[o.toLowerCase()];return Number(i.replace(t,"."))*a}}(j,o);P&&(A=String(P))}var M=b&&f?"-":"";if(o&&A.includes(o)){var k=j.split(o),E=k[0],C=k[1],_=u&&C?C.slice(0,u):C,T=c?"".concat(o).concat(_):"";return"".concat(M).concat(E).concat(T)}return"".concat(M).concat(A)},M_=function(e,t){var r=t.groupSeparator,n=void 0===r?",":r,i=t.decimalSeparator,o=void 0===i?".":i,a=new RegExp("\\d([^".concat(j_(n)).concat(j_(o),"0-9]+)")),c=e.match(a);return c?c[1]:void 0},k_=function(e){var t=e.value,r=e.decimalSeparator,n=e.intlConfig,i=e.decimalScale,o=e.prefix,a=void 0===o?"":o,c=e.suffix,l=void 0===c?"":c;if(""===t||void 0===t)return"";if("-"===t)return"-";var u=new RegExp("^\\d?-".concat(a?"".concat(j_(a),"?"):"","\\d")).test(t),s="."!==r?E_(t,r,u):t;r&&"-"!==r&&s.startsWith(r)&&(s="0"+s);var f={minimumFractionDigits:i||0,maximumFractionDigits:20},p=(n?new Intl.NumberFormat(n.locale,n.currency?O_(O_({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),h=C_(p,e),d=M_(h,O_({},e)),y=t.slice(-1)===r?r:"",v=(s.match(RegExp("\\d+\\.(\\d+)"))||[])[1];return void 0===i&&v&&r&&(h=h.includes(r)?h.replace(RegExp("(\\d+)(".concat(j_(r),")(\\d+)"),"g"),"$1$2".concat(v)):d&&!l?h.replace(d,"".concat(r).concat(v).concat(d)):"".concat(h).concat(r).concat(v)),l&&y?"".concat(h).concat(y).concat(l):d&&y?h.replace(d,"".concat(y).concat(d)):d&&l?h.replace(d,"".concat(y).concat(l)):[h,y,l].join("")},E_=function(e,t,r){var n=e;return t&&"."!==t&&(n=n.replace(RegExp(j_(t),"g"),"."),r&&"-"===t&&(n="-".concat(n.slice(1)))),n},C_=function(e,t){var r=t.prefix,n=t.groupSeparator,i=t.decimalSeparator,o=t.decimalScale,a=t.disableGroupSeparators,c=void 0!==a&&a;return e.reduce((function(e,t,a){var l=t.type,u=t.value;return 0===a&&r?"minusSign"===l?[u,r]:"currency"===l?S_(S_([],e,!0),[r],!1):[r,u]:"currency"===l?r?e:S_(S_([],e,!0),[u],!1):"group"===l?c?e:S_(S_([],e,!0),[void 0!==n?n:u],!1):"decimal"===l?void 0!==o&&0===o?e:S_(S_([],e,!0),[void 0!==i?i:u],!1):S_(S_([],e,!0),"fraction"===l?[void 0!==o?u.slice(0,o):u]:[u],!1)}),[""]).join("")},__={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},T_=function(e){return RegExp(/\d/,"gi").test(e)},D_=ne((function(e,t){var r=e.allowDecimals,n=void 0===r||r,i=e.allowNegativeValue,o=void 0===i||i,a=e.id,c=e.name,l=e.className,u=e.customInput,s=e.decimalsLimit,f=e.defaultValue,p=e.disabled,h=void 0!==p&&p,d=e.maxLength,y=e.value,v=e.onValueChange,g=e.fixedDecimalLength,m=e.placeholder,b=e.decimalScale,w=e.prefix,x=e.suffix,O=e.intlConfig,S=e.step,j=e.min,A=e.max,P=e.disableGroupSeparators,M=void 0!==P&&P,k=e.disableAbbreviations,E=void 0!==k&&k,C=e.decimalSeparator,_=e.groupSeparator,T=e.onChange,D=e.onFocus,N=e.onBlur,I=e.onKeyDown,L=e.onKeyUp,B=e.transformRawValue,R=e.formatValueOnBlur,z=void 0===R||R,$=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(e,["allowDecimals","allowNegativeValue","id","name","className","customInput","decimalsLimit","defaultValue","disabled","maxLength","value","onValueChange","fixedDecimalLength","placeholder","decimalScale","prefix","suffix","intlConfig","step","min","max","disableGroupSeparators","disableAbbreviations","decimalSeparator","groupSeparator","onChange","onFocus","onBlur","onKeyDown","onKeyUp","transformRawValue","formatValueOnBlur"]);if(C&&T_(C))throw new Error("decimalSeparator cannot be a number");if(_&&T_(_))throw new Error("groupSeparator cannot be a number");var H=ue((function(){return function(e){var t=e||{},r=t.locale,n=t.currency;return(r?new Intl.NumberFormat(r,n?{currency:n,style:"currency"}:void 0):new Intl.NumberFormat).formatToParts(1000.1).reduce((function(e,t,r){return"currency"===t.type?O_(O_({},e),0===r?{currencySymbol:t.value,prefix:t.value}:{currencySymbol:t.value,suffix:t.value}):"group"===t.type?O_(O_({},e),{groupSeparator:t.value}):"decimal"===t.type?O_(O_({},e),{decimalSeparator:t.value}):e}),__)}(O)}),[O]),V=C||H.decimalSeparator||"",F=_||H.groupSeparator||"";if(V&&F&&V===F&&!1===M)throw new Error("decimalSeparator cannot be the same as groupSeparator");var U={decimalSeparator:V,groupSeparator:F,disableGroupSeparators:M,intlConfig:O,prefix:w||H.prefix,suffix:x},W={decimalSeparator:V,groupSeparator:F,allowDecimals:n,decimalsLimit:s||g||2,allowNegativeValue:o,disableAbbreviations:E,prefix:w||H.prefix,transformRawValue:B},q=ae((function(){return null!=f?k_(O_(O_({},U),{decimalScale:b,value:String(f)})):null!=y?k_(O_(O_({},U),{decimalScale:b,value:String(y)})):""})),Y=q[0],X=q[1],K=ae(!1),G=K[0],Z=K[1],J=ae(0),ee=J[0],te=J[1],re=ae(0),ne=re[0],ce=re[1],se=ae(null),fe=se[0],pe=se[1],he=ie(null);oe(t,(function(){return he.current}));var de=function(e,t){Z(!0);var r=function(e){var t=e.selectionStart,r=e.value,n=e.lastKeyStroke,i=e.stateValue,o=e.groupSeparator,a=t,c=r;if(i&&a){var l=r.split("");return"Backspace"===n&&i[a]===o&&(l.splice(a-1,1),a-=1),"Delete"===n&&i[a]===o&&(l.splice(a,1),a+=1),{modifiedValue:c=l.join(""),cursorPosition:a}}return{modifiedValue:c,cursorPosition:t}}({selectionStart:t,value:e,lastKeyStroke:fe,stateValue:Y,groupSeparator:F}),n=r.modifiedValue,i=r.cursorPosition,o=P_(O_({value:n},W));if(!(d&&o.replace(/-/g,"").length>d)){if(""===o||"-"===o||o===V)return v&&v(void 0,c,{float:null,formatted:"",value:""}),X(o),void te(1);var a=V?o.replace(V,"."):o,l=parseFloat(a),u=k_(O_({value:o},U));if(null!=i){var s=i+(u.length-e.length);s=s<=0?w?w.length:0:s,te(s),ce(ne+1)}if(X(u),v)v(o,c,{float:l,formatted:u,value:o})}};le((function(){null==y&&null==f&&X("")}),[f,y]),le((function(){G&&"-"!==Y&&he.current&&document.activeElement===he.current&&he.current.setSelectionRange(ee,ee)}),[Y,ee,he,G,ne]);var ye=O_({type:"text",inputMode:"decimal",id:a,name:c,className:l,onChange:function(e){var t=e.target,r=t.value,n=t.selectionStart;de(r,n),T&&T(e)},onBlur:function(e){var t=e.target.value,r=P_(O_({value:t},W));if("-"===r||r===V||!r)return X(""),void(N&&N(e));var n=function(e,t,r){if(void 0!==r&&e.length>1){if(0===r)return e.replace(t,"");if(e.includes(t)){var n=e.split(t),i=n[0];if((c=n[1]).length===r)return e;if(c.length>r)return"".concat(i).concat(t).concat(c.slice(0,r))}var o=e.length>r?new RegExp("(\\d+)(\\d{".concat(r,"})")):new RegExp("(\\d)(\\d+)"),a=e.match(o);if(a){i=a[1];var c=a[2];return"".concat(i).concat(t).concat(c)}}return e}(r,V,g),i=function(e,t,r){if(void 0===t&&(t="."),void 0===r||""===e||void 0===e)return e;if(!e.match(/\d/g))return"";var n=e.split(t),i=n[0],o=n[1];if(0===r)return i;var a=o||"";if(a.length<r)for(;a.length<r;)a+="0";else a=a.slice(0,r);return"".concat(i).concat(t).concat(a)}(n,V,void 0!==b?b:g),o=parseFloat(i.replace(V,".")),a=k_(O_(O_({},U),{value:i}));v&&z&&v(i,c,{float:o,formatted:a,value:i}),X(a),N&&N(e)},onFocus:function(e){return D&&D(e),Y?Y.length:0},onKeyDown:function(e){var t=e.key;if(pe(t),S&&("ArrowUp"===t||"ArrowDown"===t)){e.preventDefault(),te(Y.length);var r=parseFloat(null!=y?String(y).replace(V,"."):P_(O_({value:Y},W)))||0,n="ArrowUp"===t?r+S:r-S;if(void 0!==j&&n<Number(j))return;if(void 0!==A&&n>Number(A))return;var i=String(S).includes(".")?Number(String(S).split(".")[1].length):void 0;de(String(i?n.toFixed(i):n).replace(".",V))}I&&I(e)},onKeyUp:function(e){var t=e.key,r=e.currentTarget.selectionStart;if("ArrowUp"!==t&&"ArrowDown"!==t&&"-"!==Y){var n=M_(Y,{groupSeparator:F,decimalSeparator:V});if(n&&r&&r>Y.length-n.length&&he.current){var i=Y.length-n.length;he.current.setSelectionRange(i,i)}}L&&L(e)},placeholder:m,disabled:h,value:null==y||"-"===Y||V&&Y===V?Y:k_(O_(O_({},U),{decimalScale:G?void 0:b,value:String(y)})),ref:he},$);if(u){var ve=u;return Q.createElement(ve,O_({},ye))}return Q.createElement("input",O_({},ye))}));D_.displayName="CurrencyInput";const N_=x(((r,n)=>{const{size:i,isDisabled:o,isReadOnly:a,isRequired:c,spellCheck:l=!1,name:u,label:s,register:f,errorMessage:p,helperText:h,leftAddon:d,leftElement:y,rightAddon:v,rightElement:b,type:x="text",containerCss:E,...C}=r,_=sr(i),T=f?f(u):void 0,D="currency"===x?{as:D_,placeholder:"$0.00",prefix:"$",allowNegative:!1,disableAbbreviations:!0}:{};return e(g,{isInvalid:Boolean(p),isDisabled:o,isReadOnly:a,isRequired:c,sx:E,children:[s&&t(m,{className:"cf-form-label",size:i,children:s}),e(O,{size:i,children:[d&&t(S,{bg:"transparent",children:d}),y&&t(j,{w:"auto",ml:"1em",children:y}),t(A,{size:i,spellCheck:l,paddingLeft:y&&"2.5em",paddingRight:b&&"2.5em",type:"currency"===x?"text":x,...T,...D,...C,ref:n||T?.ref}),b&&t(P,{w:"auto",mr:"1em",children:b}),v&&t(M,{children:v})]}),p&&t(w,{className:"cf-form-error",size:i,children:p}),h&&t(k,{className:"cf-form-helper-text",fontSize:_,children:h})]})}));var I_=e=>null==e;var L_=e=>!I_(e)&&!Array.isArray(e)&&(e=>"object"==typeof e)(e)&&!(e=>e instanceof Date)(e),B_=e=>{const t=e.constructor&&e.constructor.prototype;return L_(t)&&t.hasOwnProperty("isPrototypeOf")},R_="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function z_(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(R_&&(e instanceof Blob||e instanceof FileList)||!r&&!L_(e))return e;if(t=r?[]:{},r||B_(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=z_(e[r]));else t=e}return t}var $_=e=>Array.isArray(e)?e.filter(Boolean):[],H_=e=>void 0===e,V_=(e,t,r)=>{if(!t||!L_(e))return r;const n=$_(t.split(/[,[\].]+?/)).reduce(((e,t)=>I_(e)?e:e[t]),e);return H_(n)||n===e?H_(e[t])?r:e[t]:n},F_=e=>"boolean"==typeof e,U_=e=>/^\w*$/.test(e),W_=e=>$_(e.replace(/["|']|\]/g,"").split(/\.|\[/)),q_=(e,t,r)=>{let n=-1;const i=U_(t)?[t]:W_(t),o=i.length,a=o-1;for(;++n<o;){const t=i[n];let o=r;if(n!==a){const r=e[t];o=L_(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}if("__proto__"===t)return;e[t]=o,e=e[t]}return e};const Y_="onBlur",X_="onChange",K_="onSubmit",G_="onTouched",Z_="all",J_="max",Q_="min",eT="maxLength",tT="minLength",rT="pattern",nT="required",iT="validate",oT=Q.createContext(null);var aT=e=>L_(e)&&!Object.keys(e).length,cT=e=>Array.isArray(e)?e:[e];var lT=e=>"string"==typeof e,uT=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},sT=()=>{const e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(t=>{const r=(16*Math.random()+e)%16|0;return("x"==t?r:3&r|8).toString(16)}))},fT=(e,t,r={})=>r.shouldFocus||H_(r.shouldFocus)?r.focusName||`${e}.${H_(r.focusIndex)?t:r.focusIndex}.`:"",pT=e=>({isOnSubmit:!e||e===K_,isOnBlur:e===Y_,isOnChange:e===X_,isOnAll:e===Z_,isOnTouch:e===G_});const hT=(e,t,r,n)=>{for(const r of Object.keys(e)){const i=V_(e,r);if(i){const{_f:e,...o}=i;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],r)&&!n)break;if(e.ref&&t(e.ref,e.name)&&!n)break;hT(o,t)}else L_(o)&&hT(o,t)}}};var dT=(e,t,r)=>{const n=$_(V_(e,r));return q_(n,"root",t[r]),q_(e,r,n),e},yT=e=>lT(e),vT=e=>e instanceof RegExp;function gT(e,t,r="validate"){if(yT(e)||Array.isArray(e)&&e.every(yT)||F_(e)&&!e)return{type:r,message:yT(e)?e:"",ref:t}}var mT=e=>L_(e)&&!vT(e)?e:{value:e,message:""},bT=async(e,t,r,n,i)=>{const{ref:o,refs:a,required:c,maxLength:l,minLength:u,min:s,max:f,pattern:p,validate:h,name:d,valueAsNumber:y,mount:v,disabled:g}=e._f,m=V_(t,d);if(!v||g)return{};const b=a?a[0]:o,w=e=>{n&&b.reportValidity&&(b.setCustomValidity(F_(e)?"":e||""),b.reportValidity())},x={};o.type,(e=>{e.type})(o);const O=(y||(e=>"file"===e.type)(o))&&H_(o.value)&&H_(m)||(e=>{if(!R_)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)})(o)&&""===o.value||""===m||Array.isArray(m)&&!m.length,S=uT.bind(null,d,r,x),j=(e,t,r,n=eT,i=tT)=>{const a=e?t:r;x[d]={type:e?n:i,message:a,ref:o,...S(e?n:i,a)}};if(!Array.isArray(m)||!m.length){const{value:e,message:t}=yT(c)?{value:!!c,message:c}:mT(c);if(e&&(x[d]={type:nT,message:t,ref:b,...S(nT,t)},!r))return w(t),x}if(!(O||I_(s)&&I_(f))){let e,t;const n=mT(f),i=mT(s);if(I_(m)||isNaN(m)){const r=o.valueAsDate||new Date(m),a=e=>new Date((new Date).toDateString()+" "+e),c="time"==o.type,l="week"==o.type;lT(n.value)&&m&&(e=c?a(m)>a(n.value):l?m>n.value:r>new Date(n.value)),lT(i.value)&&m&&(t=c?a(m)<a(i.value):l?m<i.value:r<new Date(i.value))}else{const r=o.valueAsNumber||(m?+m:m);I_(n.value)||(e=r>n.value),I_(i.value)||(t=r<i.value)}if((e||t)&&(j(!!e,n.message,i.message,J_,Q_),!r))return w(x[d].message),x}if((l||u)&&!O&&(lT(m)||Array.isArray(m))){const e=mT(l),t=mT(u),n=!I_(e.value)&&m.length>+e.value,i=!I_(t.value)&&m.length<+t.value;if((n||i)&&(j(n,e.message,t.message),!r))return w(x[d].message),x}if(p&&!O&&lT(m)){const{value:e,message:t}=mT(p);if(vT(e)&&!m.match(e)&&(x[d]={type:rT,message:t,ref:o,...S(rT,t)},!r))return w(t),x}if(h)if("function"==typeof h){const e=gT(await h(m,t),b);if(e&&(x[d]={...e,...S(iT,e.message)},!r))return w(e.message),x}else if(L_(h)){let e={};for(const n in h){if(!aT(e)&&!r)break;const i=gT(await h[n](m,t),b,n);i&&(e={...i,...S(n,i.message)},w(i.message),r&&(x[d]=e))}if(!aT(e)&&(x[d]={ref:b,...e},!r))return x}return w(!0),x},wT=(e,t)=>[...e,...cT(t)],xT=e=>Array.isArray(e)?e.map((()=>{})):void 0;function OT(e,t,r){return[...e.slice(0,t),...cT(r),...e.slice(t)]}var ST=(e,t,r)=>Array.isArray(e)?(H_(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],jT=(e,t)=>[...cT(t),...cT(e)];var AT=(e,t)=>H_(t)?[]:function(e,t){let r=0;const n=[...e];for(const e of t)n.splice(e-r,1),r++;return $_(n).length?n:[]}(e,cT(t).sort(((e,t)=>e-t))),PT=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function MT(e,t){const r=Array.isArray(t)?t:U_(t)?[t]:W_(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=H_(e)?n++:e[t[n++]];return e}(e,r),i=r.length-1,o=r[i];return n&&delete n[o],0!==i&&(L_(n)&&aT(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!H_(e[t]))return!1;return!0}(n))&&MT(e,r.slice(0,-1)),e}var kT=(e,t,r)=>(e[t]=r,e);function ET(e){const t=Q.useContext(oT),{control:r=t.control,name:n,keyName:i="id",shouldUnregister:o}=e,[a,c]=Q.useState(r._getFieldArray(n)),l=Q.useRef(r._getFieldArray(n).map(sT)),u=Q.useRef(a),s=Q.useRef(n),f=Q.useRef(!1);s.current=n,u.current=a,r._names.array.add(n),e.rules&&r.register(n,e.rules),function(e){const t=Q.useRef(e);t.current=e,Q.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}({next:({values:e,name:t})=>{if(t===s.current||!t){const t=V_(e,s.current);Array.isArray(t)&&(c(t),l.current=t.map(sT))}},subject:r._subjects.array});const p=Q.useCallback((e=>{f.current=!0,r._updateFieldArray(n,e)}),[r,n]);return Q.useEffect((()=>{if(r._state.action=!1,((e,t,r)=>t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))))(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!pT(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((e=>{const t=V_(e.errors,n),i=V_(r._formState.errors,n);(i?!t&&i.type||t&&(i.type!==t.type||i.message!==t.message):t&&t.type)&&(t?q_(r._formState.errors,n,t):MT(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const e=V_(r._fields,n);!e||!e._f||pT(r._options.reValidateMode).isOnSubmit&&pT(r._options.mode).isOnSubmit||bT(e,r._formValues,r._options.criteriaMode===Z_,r._options.shouldUseNativeValidation).then((e=>!aT(e)&&r._subjects.state.next({errors:dT(r._formState.errors,e,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&hT(r._fields,((e,t)=>{if(r._names.focus&&t.startsWith(r._names.focus)&&e.focus)return e.focus(),1})),r._names.focus="",r._updateValid(),f.current=!1}),[a,n,r]),Q.useEffect((()=>(!V_(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||o)&&r.unregister(n)})),[n,r,i,o]),{swap:Q.useCallback(((e,t)=>{const i=r._getFieldArray(n);PT(i,e,t),PT(l.current,e,t),p(i),c(i),r._updateFieldArray(n,i,PT,{argA:e,argB:t},!1)}),[p,n,r]),move:Q.useCallback(((e,t)=>{const i=r._getFieldArray(n);ST(i,e,t),ST(l.current,e,t),p(i),c(i),r._updateFieldArray(n,i,ST,{argA:e,argB:t},!1)}),[p,n,r]),prepend:Q.useCallback(((e,t)=>{const i=cT(z_(e)),o=jT(r._getFieldArray(n),i);r._names.focus=fT(n,0,t),l.current=jT(l.current,i.map(sT)),p(o),c(o),r._updateFieldArray(n,o,jT,{argA:xT(e)})}),[p,n,r]),append:Q.useCallback(((e,t)=>{const i=cT(z_(e)),o=wT(r._getFieldArray(n),i);r._names.focus=fT(n,o.length-1,t),l.current=wT(l.current,i.map(sT)),p(o),c(o),r._updateFieldArray(n,o,wT,{argA:xT(e)})}),[p,n,r]),remove:Q.useCallback((e=>{const t=AT(r._getFieldArray(n),e);l.current=AT(l.current,e),p(t),c(t),r._updateFieldArray(n,t,AT,{argA:e})}),[p,n,r]),insert:Q.useCallback(((e,t,i)=>{const o=cT(z_(t)),a=OT(r._getFieldArray(n),e,o);r._names.focus=fT(n,e,i),l.current=OT(l.current,e,o.map(sT)),p(a),c(a),r._updateFieldArray(n,a,OT,{argA:e,argB:xT(t)})}),[p,n,r]),update:Q.useCallback(((e,t)=>{const i=z_(t),o=kT(r._getFieldArray(n),e,i);l.current=[...o].map(((t,r)=>t&&r!==e?l.current[r]:sT())),p(o),c([...o]),r._updateFieldArray(n,o,kT,{argA:e,argB:i},!0,!1)}),[p,n,r]),replace:Q.useCallback((e=>{const t=cT(z_(e));l.current=t.map(sT),p([...t]),c([...t]),r._updateFieldArray(n,[...t],(e=>e),{},!0,!1)}),[p,n,r]),fields:Q.useMemo((()=>a.map(((e,t)=>({...e,[i]:l.current[t]||sT()})))),[a,i])}}const CT=({name:r,control:n,register:i,defaultValues:o,onArrayAppend:a,onArrayRemove:c})=>{const{fields:l,append:u,remove:s}=ET({control:n,name:r}),f=Object.keys(o).reduce(((e,t)=>({...e,[t]:o[t]})),{});return e(E,{children:[l.map(((n,o)=>t(E,{children:e(E,{pb:6,position:"relative",children:[Object.keys(n).filter((e=>"id"!==e)).map((e=>t(N_,{label:e,name:`${r}.${o}.${e}`,register:i},`${e}-${n.id}`))),t(C,{label:"Delete",children:t(y,{position:"absolute",top:"0",right:"0",children:t(h,{"aria-label":"Delete",size:"sm",variant:"ghost",onClick:()=>{s(o),c&&c(o)},minW:"2rem",p:"0",children:"X"})})})]})},n.id))),t(y,{children:t(h,{size:"sm",onClick:()=>{u(f),a&&a(f)},ml:"auto",children:"+"})})]})},_T=({data:r,dataKey:n,width:i="100%",height:o="100%",lineType:a="linear",showTooltip:c=!1,isAnimated:l=!1,formatter:u,labelFormatter:s,sampleRate:f,style:p})=>{const{isNetGain:h}=ur({data:r,dataKey:n}),d=Qr(),y=f?fr({arr:r||[],n:f}):r;let v,g;y?.length?(g=h?pr.mint():pr.heroicRed(),v=y?.map((e=>({...e,[n]:Number(e[n])||0})))):(g=pr.coolElegance(),v=[{[n]:0},{[n]:0}]);const m={cursor:c&&y?.length?"crosshair":"default",...p};return t(cy,{width:i,minHeight:o,id:d,children:e(f_,{data:v,style:m,children:[t(pC,{domain:["dataMin","dataMax"],hide:!0}),t(qE,{isAnimationActive:l,type:a,dataKey:n,stroke:g,strokeWidth:"2",activeDot:c?e=>h_({chartId:d,labelFormatter:s,formatter:u,...e}):void 0,dot:!1,scale:"threshold"}),y?.length&&c&&t(_d,{cursor:!1,content:()=>null})]})})},TT=({isOpen:r,onClose:n,headerContent:i=null,footerContent:o=null,children:a,isCentered:c=!0,size:l={base:"md",md:"xl"},bodyBackground:u="transparent",isDisabledCloseButton:s,maxHeight:f="60vh",...p})=>e(_,{blockScrollOnMount:!1,scrollBehavior:"inside",isOpen:r,onClose:n,isCentered:c,size:l,...p,children:[t(T,{}),e(D,{minWidth:WT,children:[t(N,{children:i}),t(I,{isDisabled:s}),t(L,{maxHeight:f,bg:u,overflow:"scroll",children:a}),o&&t(B,{borderTop:"solid 1px",borderColor:pr.coolElegance(),children:o})]})]}),DT=e=>{const{isActive:r,children:n,href:i,...o}=e;return t(R,{display:"flex",as:R,borderRadius:"md",border:"solid 1px",bg:r?"brand.50":"transparent",borderColor:r?"brand.200":"transparent",boxShadow:r?`0 8px 16px 0 ${pr.black(.08)}`:"none",href:i,alignItems:"center",lineHeight:"1",position:"relative",padding:"2",zIndex:"3",transition:"border-color 0.25s",_hover:{borderColor:!r&&pr.coolElegance(),textDecoration:"none"},...o,children:n},i)};var NT,IT={exports:{}};NT=IT,function(e,t){NT.exports=t(Q)}(0,(e=>(()=>{var t={703:(e,t,r)=>{var n=r(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},697:(e,t,r)=>{e.exports=r(703)()},414:e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:t=>{t.exports=e}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{n.r(i),n.d(i,{default:()=>w});var e=n(98),t=n.n(e),r=n(697),o=n.n(r);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}var c=function(e){var r=e.pageClassName,n=e.pageLinkClassName,i=e.page,o=e.selected,c=e.activeClassName,l=e.activeLinkClassName,u=e.getEventListener,s=e.pageSelectedHandler,f=e.href,p=e.extraAriaContext,h=e.pageLabelBuilder,d=e.rel,y=e.ariaLabel||"Page "+i+(p?" "+p:""),v=null;return o&&(v="page",y=e.ariaLabel||"Page "+i+" is your current page",r=void 0!==r?r+" "+c:c,void 0!==n?void 0!==l&&(n=n+" "+l):n=l),t().createElement("li",{className:r},t().createElement("a",a({rel:d,role:f?void 0:"button",className:n,href:f,tabIndex:o?"-1":"0","aria-label":y,"aria-current":v,onKeyPress:s},u(s)),h(i)))};c.propTypes={pageSelectedHandler:o().func.isRequired,selected:o().bool.isRequired,pageClassName:o().string,pageLinkClassName:o().string,activeClassName:o().string,activeLinkClassName:o().string,extraAriaContext:o().string,href:o().string,ariaLabel:o().string,page:o().number.isRequired,getEventListener:o().func.isRequired,pageLabelBuilder:o().func.isRequired,rel:o().string};const l=c;function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}var s=function(e){var r=e.breakLabel,n=e.breakAriaLabel,i=e.breakClassName,o=e.breakLinkClassName,a=e.breakHandler,c=e.getEventListener,l=i||"break";return t().createElement("li",{className:l},t().createElement("a",u({className:o,role:"button",tabIndex:"0","aria-label":n,onKeyPress:a},c(a)),r))};s.propTypes={breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabel:o().string,breakClassName:o().string,breakLinkClassName:o().string,breakHandler:o().func.isRequired,getEventListener:o().func.isRequired};const f=s;function p(e){return null!=e?e:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(c,e);var r,n,i,o,a=(i=c,o=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(e){return!1}}(),function(){var e,t=g(i);if(o){var r=g(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}(this,e)});function c(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),m(v(r=a.call(this,e)),"handlePreviousPage",(function(e){var t=r.state.selected;r.handleClick(e,null,t>0?t-1:void 0,{isPrevious:!0})})),m(v(r),"handleNextPage",(function(e){var t=r.state.selected,n=r.props.pageCount;r.handleClick(e,null,t<n-1?t+1:void 0,{isNext:!0})})),m(v(r),"handlePageSelected",(function(e,t){if(r.state.selected===e)return r.callActiveCallback(e),void r.handleClick(t,null,void 0,{isActive:!0});r.handleClick(t,null,e)})),m(v(r),"handlePageChange",(function(e){r.state.selected!==e&&(r.setState({selected:e}),r.callCallback(e))})),m(v(r),"getEventListener",(function(e){return m({},r.props.eventListener,e)})),m(v(r),"handleClick",(function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.isPrevious,a=void 0!==o&&o,c=i.isNext,l=void 0!==c&&c,u=i.isBreak,s=void 0!==u&&u,f=i.isActive,p=void 0!==f&&f;e.preventDefault?e.preventDefault():e.returnValue=!1;var h=r.state.selected,d=r.props.onClick,y=n;if(d){var v=d({index:t,selected:h,nextSelectedPage:n,event:e,isPrevious:a,isNext:l,isBreak:s,isActive:p});if(!1===v)return;Number.isInteger(v)&&(y=v)}void 0!==y&&r.handlePageChange(y)})),m(v(r),"handleBreakClick",(function(e,t){var n=r.state.selected;r.handleClick(t,e,n<e?r.getForwardJump():r.getBackwardJump(),{isBreak:!0})})),m(v(r),"callCallback",(function(e){void 0!==r.props.onPageChange&&"function"==typeof r.props.onPageChange&&r.props.onPageChange({selected:e})})),m(v(r),"callActiveCallback",(function(e){void 0!==r.props.onPageActive&&"function"==typeof r.props.onPageActive&&r.props.onPageActive({selected:e})})),m(v(r),"getElementPageRel",(function(e){var t=r.state.selected,n=r.props,i=n.nextPageRel,o=n.prevPageRel,a=n.selectedPageRel;return t-1===e?o:t===e?a:t+1===e?i:void 0})),m(v(r),"pagination",(function(){var e=[],n=r.props,i=n.pageRangeDisplayed,o=n.pageCount,a=n.marginPagesDisplayed,c=n.breakLabel,l=n.breakClassName,u=n.breakLinkClassName,s=n.breakAriaLabels,p=r.state.selected;if(o<=i)for(var h=0;h<o;h++)e.push(r.getPageElement(h));else{var d=i/2,y=i-d;p>o-i/2?d=i-(y=o-p):p<i/2&&(y=i-(d=p));var v,g,m=function(e){return r.getPageElement(e)},b=[];for(v=0;v<o;v++){var w=v+1;if(w<=a)b.push({type:"page",index:v,display:m(v)});else if(w>o-a)b.push({type:"page",index:v,display:m(v)});else if(v>=p-d&&v<=p+(0===p&&i>1?y-1:y))b.push({type:"page",index:v,display:m(v)});else if(c&&b.length>0&&b[b.length-1].display!==g&&(i>0||a>0)){var x=v<p?s.backward:s.forward;g=t().createElement(f,{key:v,breakAriaLabel:x,breakLabel:c,breakClassName:l,breakLinkClassName:u,breakHandler:r.handleBreakClick.bind(null,v),getEventListener:r.getEventListener}),b.push({type:"break",index:v,display:g})}}b.forEach((function(t,r){var n=t;"break"===t.type&&b[r-1]&&"page"===b[r-1].type&&b[r+1]&&"page"===b[r+1].type&&b[r+1].index-b[r-1].index<=2&&(n={type:"page",index:t.index,display:m(t.index)}),e.push(n.display)}))}return e})),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),n=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,r.state={selected:n},r}return r=c,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialPage,r=e.disableInitialCallback,n=e.extraAriaContext,i=e.pageCount,o=e.forcePage;void 0===t||r||this.callCallback(t),n&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(i)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(i,"). Did you forget a Math.ceil()?")),void 0!==t&&t>i-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(t," > ").concat(i-1,").")),void 0!==o&&o>i-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(o," > ").concat(i-1,")."))}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage})),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var e=this.state.selected,t=this.props,r=t.pageCount,n=e+t.pageRangeDisplayed;return n>=r?r-1:n}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"getElementHref",value:function(e){var t=this.props,r=t.hrefBuilder,n=t.pageCount,i=t.hrefAllControls;if(r)return i||e>=0&&e<n?r(e+1,n,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(e){var t=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var r=this.props.ariaLabelBuilder(e+1,t);return this.props.extraAriaContext&&!t&&(r=r+" "+this.props.extraAriaContext),r}}},{key:"getPageElement",value:function(e){var r=this.state.selected,n=this.props,i=n.pageClassName,o=n.pageLinkClassName,a=n.activeClassName,c=n.activeLinkClassName,u=n.extraAriaContext,s=n.pageLabelBuilder;return t().createElement(l,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:r===e,rel:this.getElementPageRel(e),pageClassName:i,pageLinkClassName:o,activeClassName:a,activeLinkClassName:c,extraAriaContext:u,href:this.getElementHref(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:s,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var r=this.props,n=r.disabledClassName,i=r.disabledLinkClassName,o=r.pageCount,a=r.className,c=r.containerClassName,l=r.previousLabel,u=r.previousClassName,s=r.previousLinkClassName,f=r.previousAriaLabel,h=r.prevRel,y=r.nextLabel,v=r.nextClassName,g=r.nextLinkClassName,m=r.nextAriaLabel,b=r.nextRel,w=this.state.selected,x=0===w,O=w===o-1,S="".concat(p(u)).concat(x?" ".concat(p(n)):""),j="".concat(p(v)).concat(O?" ".concat(p(n)):""),A="".concat(p(s)).concat(x?" ".concat(p(i)):""),P="".concat(p(g)).concat(O?" ".concat(p(i)):""),M=x?"true":"false",k=O?"true":"false";return t().createElement("ul",{className:a||c,role:"navigation","aria-label":"Pagination"},t().createElement("li",{className:S},t().createElement("a",d({className:A,href:this.getElementHref(w-1),tabIndex:x?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":M,"aria-label":f,rel:h},this.getEventListener(this.handlePreviousPage)),l)),this.pagination(),t().createElement("li",{className:j},t().createElement("a",d({className:P,href:this.getElementHref(w+1),tabIndex:O?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k,"aria-label":m,rel:b},this.getEventListener(this.handleNextPage)),y)))}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),c}(e.Component);m(b,"propTypes",{pageCount:o().number.isRequired,pageRangeDisplayed:o().number,marginPagesDisplayed:o().number,previousLabel:o().node,previousAriaLabel:o().string,prevPageRel:o().string,prevRel:o().string,nextLabel:o().node,nextAriaLabel:o().string,nextPageRel:o().string,nextRel:o().string,breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabels:o().shape({forward:o().string,backward:o().string}),hrefBuilder:o().func,hrefAllControls:o().bool,onPageChange:o().func,onPageActive:o().func,onClick:o().func,initialPage:o().number,forcePage:o().number,disableInitialCallback:o().bool,containerClassName:o().string,className:o().string,pageClassName:o().string,pageLinkClassName:o().string,pageLabelBuilder:o().func,activeClassName:o().string,activeLinkClassName:o().string,previousClassName:o().string,nextClassName:o().string,previousLinkClassName:o().string,nextLinkClassName:o().string,disabledClassName:o().string,disabledLinkClassName:o().string,breakClassName:o().string,breakLinkClassName:o().string,extraAriaContext:o().string,ariaLabelBuilder:o().func,eventListener:o().string,renderOnZeroPageCount:o().func,selectedPageRel:o().string}),m(b,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",breakAriaLabels:{forward:"Jump forward",backward:"Jump backward"},disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});const w=b})(),i})()));const LT=n(Wt(IT.exports)),BT=({totalRecords:e=0,recordsPerPage:r=10,pageRangeDisplayed:n=3,handlePageClick:i,forcePage:o,...a})=>{const c=Math.ceil(e/r);return t(y,{justifyContent:{base:"center",md:"flex-end"},fontSize:{base:14,md:18},gap:2,w:"full",...a,children:t(LT,{breakLabel:"...",previousLabel:"<",nextLabel:">",onPageChange:i,pageRangeDisplayed:n,pageCount:c,renderOnZeroPageCount:null,forcePage:o,display:{base:"flex"},alignItems:"center",gap:"inherit",disabledLinkClassName:"disabled-pagination",pageLinkClassName:"pagination-link",activeClassName:"active-page",previousClassName:"previous-page-button",nextClassName:"next-page-button",sx:{listStyleType:"none",".pagination-link:hover":{backgroundColor:"brand.700"},".previous-page-button a, .next-page-button a, .pagination-link":{backgroundColor:"brand.300",borderRadius:4,color:pr.white(),paddingY:{base:1}},".previous-page-button a, .next-page-button a":{paddingX:{base:2,lg:2.5}},".pagination-link":{paddingX:{base:2.5,lg:3}},".active-page a":{backgroundColor:"brand.500"},".disabled-pagination":{backgroundColor:"gray.300 !important",cursor:"not-allowed !important"}}})})},RT=({isLoading:r,hasMore:n,setLastEvaluatedKeyParams:i,lastEvaluatedKey:o,...a})=>{const[c,l]=ae([]),[u,s]=ae(1);return e(y,{w:"full",justifyContent:"flex-end",alignItems:"center",direction:"row",gap:4,...a,children:[t(h,{onClick:()=>{if(2===u)return i(void 0),l([]),void s((e=>e-1));const e=c.length-1,t=c[e-1];i(t),l((e=>e.slice(0,-1))),s((e=>e-1))},isDisabled:r||1===u,children:"Previous"}),t(h,{onClick:()=>{if(o){const e={lastEvaluatedPKey:o.pKey,lastEvaluatedSKey:o.sKey};i(e),l((t=>[...t,e])),s((e=>e+1))}},isDisabled:r||!n,children:"Next"})]})},zT=r=>{const{children:n,size:i,isDisabled:o,isReadOnly:a,isRequired:c,name:l,register:u,errorMessage:s,helperText:f,label:p,...h}=r,d=sr(i),y=u?u(l):void 0;return e(g,{isInvalid:Boolean(s),isDisabled:o,isReadOnly:a,isRequired:c,children:[p&&t(m,{size:i,children:p}),t(z,{icon:t(xe,{}),size:i,...y,...h,children:n}),s&&t(w,{size:i,children:s}),f&&t(k,{fontSize:d,children:f})]})},$T=$({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),HT=({boxSize:e=8,color:r="brand",...n})=>{const i="neutral"===r?pr.sonicSilver():"brand.500";return t(y,{width:"full",justifyContent:"center",alignItems:"center",minHeight:Number.isFinite(Number(e))?3*Number(e):`calc(${e} * 3)`,...n,children:t(y,{width:e,height:e,animation:`${$T} 2000ms infinite linear`,children:t(st,{boxSize:e,__css:{path:{fill:i}}})})})},VT=r=>{const{label:n,rightIcon:i,leftIcon:o,onClose:a,...c}=r,[l,u]=ae(!0);return l?e(H,{className:"cf-tag",...c,children:[o&&t(V,{as:o}),t(F,{children:n}),i&&t(U,{as:i}),a&&t(W,{onClick:()=>{a(),u(!1)}})]}):null},FT=({description:r,title:n,onClose:i,isClosable:o,status:a})=>{let c,l;switch(a){case"error":l=ye;break;case"success":l=Pe;break;case"warning":l=We,c="yellow";break;case"loading":c="brand",l=Z;break;default:c="brand",l=We}return e(q,{as:y,colorScheme:c,justifyContent:"space-between",status:a,children:[e(y,{alignItems:"center",mr:"4",children:[t(Y,{children:t(l,{size:"sm"})}),e(E,{children:[t(X,{children:n}),t(K,{children:r})]})]}),o&&t(G,{onClick:i})]})},UT=()=>{const e=u({ssr:!1}),t="base"===e||"sm"===e,r="md"===e,n="lg"===e||"xl"===e||"2xl"===e;return{breakpoint:e,isSmallBreakpoint:t,isMediumBreakpoint:r,isLargeBreakpoint:n,isAboveSmallBreakpoint:r||n,isBelowLargeBreakpoint:r||t}},WT="22rem",qT={dateOnly:"MM/DD/YY",dateWithTime:"MM/DD/YYYY h:mm A",shortDateWithTime:"MMM D, h:mm A",shortDateWithYear:"MMM D, YYYY"};export{d_ as CfAreaChart,y_ as CfBreakpointDebugger,v_ as CfButtonGroup,g_ as CfButtonGroupButton,m_ as CfCard,b_ as CfCarousel,w_ as CfCheckbox,x_ as CfForm,N_ as CfInput,CT as CfInputArray,_T as CfLineChart,TT as CfModal,DT as CfNavLink,BT as CfOpenSearchPagination,RT as CfPagination,zT as CfSelect,HT as CfSpinner,VT as CfTag,FT as CfToast,ye as IconAlert,ve as IconArrowDown,ge as IconArrowUp,vt as IconAvax,me as IconBank,be as IconBarChart,gt as IconBch,mt as IconBtc,we as IconCalendar,xe as IconCaretDown,Oe as IconCaretLeft,Se as IconCaretRight,je as IconCaretUp,Ae as IconCent,Pe as IconCheck,Me as IconChecking,ke as IconCircleCheck,Ee as IconClose,Ce as IconConnect,_e as IconCopy,Te as IconDollar,De as IconDollarBill,Ne as IconDownload,Ie as IconEdit,Le as IconEnter,Be as IconEnterInverted,bt as IconEth,Re as IconExchange,ze as IconFilter,$e as IconHelp,He as IconHistory,Ve as IconHome,Fe as IconIndicatorDown,Ue as IconIndicatorUp,We as IconInfo,wt as IconLink,qe as IconLock,xt as IconLtc,Ye as IconMail,Xe as IconMenu,Ke as IconMore,Ge as IconNotification,Ze as IconOverview,Je as IconPercent,Qe as IconPieChart,et as IconPlus,yt as IconRefresh,tt as IconReports,rt as IconReservesSuccess,nt as IconReservesWarning,it as IconSearch,ot as IconSettings,at as IconSettlement,ct as IconSignIn,lt as IconSignOut,ut as IconSort,st as IconSpinner,ft as IconSupport,pt as IconTrash,ht as IconUpload,dt as IconUser,Ot as IconXlm,Ft as aggregateAmounts,Kr as coreTheme,qT as dateFormats,Qt as dateToTimestamp,er as formatPercentage,Gr as formatPhoneNumber,lr as formatUsd,ur as getDelta,WT as layoutMinWidth,fr as pullFromEnd,pr as uiColors,dr as usdToNumber,UT as useCfBreakpoint,yr as utcDateToLocal};
18
18
  //# sourceMappingURL=index.js.map