@cryptofi/core-ui 0.45.0 → 0.47.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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +16 -8
- package/package.json +8 -7
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsxs as t,jsx as e}from"react/jsx-runtime";import{chakra as r,createMultiStyleConfigHelpers as n,defineStyle as i,defineStyleConfig as o,extendTheme as a,withDefaultColorScheme as c,useBreakpoint as l,Portal as u,Text as s,ButtonGroup as f,Button as p,Card as h,Flex as d,IconButton as y,FormControl as v,FormLabel as g,Checkbox as m,FormErrorMessage as b,forwardRef as w,InputGroup as x,InputLeftAddon as O,InputLeftElement as S,Input as j,InputRightElement as A,InputRightAddon as P,FormHelperText as M,Box as k,Tooltip as E,Modal as C,ModalOverlay as _,ModalContent as T,ModalHeader as D,ModalCloseButton as I,ModalBody as N,ModalFooter as B,Select as L,keyframes as R,Tag as z,TagLeftIcon as $,TagLabel as H,TagRightIcon as V,TagCloseButton as F,Alert as U,AlertIcon as q,AlertTitle as W,AlertDescription as Y,CloseButton as X,Spinner as K}from"@chakra-ui/react";import G,{isValidElement as Z,Children as J,PureComponent as Q,forwardRef as tt,useRef as et,useImperativeHandle as rt,useState as nt,useCallback as it,useEffect as ot,useMemo as at,cloneElement as ct,createElement as lt,useContext as ut,createContext as st,Component as ft}from"react";const pt=r((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(#8015379a)",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:"8015379a",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ht=r((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(#33e08bf7)",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:"33e08bf7",children:e("path",{fill:"#fff",d:"M0 .5h16v16H0z"})})})]}))),dt=r((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(#5e4acf42)",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:"5e4acf42",children:e("path",{d:"M0 0h16v16H0z"})})})]}))),yt=r((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(#e4ccb59b)",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:"e4ccb59b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),vt=r((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(#6c7cbdd0)",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:"6c7cbdd0",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),gt=r((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(#0d2102ad)",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:"0d2102ad",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),mt=r((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(#54bd7e92)",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:"54bd7e92",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),bt=r((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(#1a7c7760)",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:"1a7c7760",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),wt=r((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(#105a7340)",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:"105a7340",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),xt=r((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(#bf14509e)",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:"bf14509e",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ot=r((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(#79cd4562)",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:"79cd4562",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),St=r((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(#f7f9e1ee)",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:"f7f9e1ee",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),jt=r((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(#8278d266)",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:"8278d266",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),At=r((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(#f5f63985)",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(#b24373d4)",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:"b24373d4",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:"f5f63985",children:e("path",{fill:"#fff",d:"M0 0h80v80H0z"})})]})]}))),Pt=r((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(#5418d0f9)",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:"5418d0f9",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Mt=r((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(#09eebe10)",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:"09eebe10",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),kt=r((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(#8a264d60)",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:"8a264d60",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Et=r((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(#5d5dfb19)",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:"5d5dfb19",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ct=r((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(#eec72660)",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(#8a6205bb)",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:"8a6205bb",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:"eec72660",children:e("path",{fill:"#fff",d:"M0 .395h80v59.21H0z"})})]})]}))),_t=r((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(#2c3c0778)",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:"2c3c0778",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Tt=r((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(#7ad9120c)",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:"7ad9120c",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Dt=r((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"})}))),It=r((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"})}))),Nt=r((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(#c91e1bc6)",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:"c91e1bc6",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Bt=r((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(#71df7fc8)",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:"71df7fc8",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Lt=r((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(#76fd77a9)",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:"76fd77a9",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Rt=r((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(#405d5205)",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:"405d5205",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),zt=r((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(#7f33ad3b)",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:"7f33ad3b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),$t=r((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"})}))),Ht=r((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"})}))),Vt=r((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(#f4671af8)",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:"f4671af8",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ft=r((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(#483cdc23)",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(#51f87008)",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:"51f87008",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:"483cdc23",children:e("path",{fill:"#fff",d:"M0 0h61.058v80H0z"})})]})]}))),Ut=r((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(#1da516ba)",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:"1da516ba",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),qt=r((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"})}))),Wt=r((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(#766fd299)",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:"766fd299",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Yt=r((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(#53ca2d67)",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:"53ca2d67",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Xt=r((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(#4fb010ad)",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:"4fb010ad",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Kt=r((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"})]}))),Gt=r((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(#ed9b96dd)",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:"ed9b96dd",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Zt=r((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(#b0215b09)",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:"b0215b09",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Jt=r((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(#fd854dc7)",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:"fd854dc7",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Qt=r((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(#00dd4609)",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:"00dd4609",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),te=r((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(#cb08f89a)",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:"cb08f89a",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ee=r((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(#bf9e55a0)",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:"bf9e55a0",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),re=r((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(#1bc41c1a)",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:"1bc41c1a",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ne=r((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(#a0c118e7)",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:"a0c118e7",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ie=r((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(#5e750dae)",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:"5e750dae",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),oe=r((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(#05b4bd89)",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:"05b4bd89",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ae=r((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(#a7923feb)",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:"a7923feb",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ce=r((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"})}))),le=r((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"})}))),ue=r((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(#0ff6f3f3)",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:"0ff6f3f3",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),se=r((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(#ec29c2e9)",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:"ec29c2e9",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),fe=r((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(#3a1d3b1e)",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:"3a1d3b1e",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),pe=r((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"})}))),he=r((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"})]}))),de=r((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"}})]}))),ye=r((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"})]})}))),ve=r((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"})]})}))),ge=r((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"}})})}))),me=r((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"}})]}))),be=r((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 we(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 we(t,e)},toPart:n,extend:function(...r){for(const t of r)t in e||(e[t]=n(t));return we(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 xe=we("accordion").parts("root","container","button","panel").extend("icon"),Oe=we("alert").parts("title","description","container").extend("icon","spinner");we("avatar").parts("label","badge","container").extend("excessLabel","group"),we("breadcrumb").parts("link","item","container").extend("separator"),we("button").parts();var Se=we("checkbox").parts("control","icon","container").extend("label");we("progress").parts("track","filledTrack").extend("label"),we("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),we("editable").parts("preview","input","textarea"),we("form").parts("container","requiredIndicator","helperText"),we("formError").parts("text","icon");var je=we("input").parts("addon","field","element","group");we("list").parts("container","item","icon"),we("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),we("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),we("numberinput").parts("root","field","stepperGroup","stepper"),we("pininput").parts("field"),we("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),we("progress").parts("label","filledTrack","track"),we("radio").parts("container","control","label");var Ae=we("select").parts("field","icon");we("slider").parts("container","track","thumb","filledTrack","mark"),we("stat").parts("container","label","helpText","number","icon"),we("switch").parts("container","track","thumb","label"),we("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),we("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");var Pe=we("tag").parts("container","label","closeButton");we("card").parts("container","header","body","footer"),we("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Me=1e6,ke=1e6,Ee="[big.js] ",Ce=Ee+"Invalid ",_e=Ce+"decimal places",Te=Ce+"rounding mode",De=Ee+"Division by zero",Ie={},Ne=void 0,Be=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function Le(t,e,r,n){var i=t.c;if(r===Ne&&(r=t.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error(Te);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]!==Ne))),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]!==Ne||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 Re(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}Ie.abs=function(){var t=new this.constructor(this);return t.s=1,t},Ie.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},Ie.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>Me)throw Error(_e);if(!i[0])throw Error(De);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]!==Ne)&&o--);return m[0]||1==b||(m.shift(),g.e--,w--),b>w&&Le(g,w,r.RM,y[0]!==Ne),g},Ie.eq=function(t){return 0===this.cmp(t)},Ie.gt=function(t){return this.cmp(t)>0},Ie.gte=function(t){return this.cmp(t)>-1},Ie.lt=function(t){return this.cmp(t)<0},Ie.lte=function(t){return this.cmp(t)<1},Ie.minus=Ie.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},Ie.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(De);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)))},Ie.neg=function(){var t=new this.constructor(this);return t.s=-t.s,t},Ie.plus=Ie.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},Ie.pow=function(t){var e=this,r=new e.constructor("1"),n=r,i=t<0;if(t!==~~t||t<-1e6||t>ke)throw Error(Ce+"exponent");for(i&&(t=-t);1&t&&(n=n.times(e)),t>>=1;)e=e.times(e);return i?r.div(n):n},Ie.prec=function(t,e){if(t!==~~t||t<1||t>Me)throw Error(Ce+"precision");return Le(new this.constructor(this),t,e)},Ie.round=function(t,e){if(t===Ne)t=0;else if(t!==~~t||t<-Me||t>Me)throw Error(_e);return Le(new this.constructor(this),t+this.e+1,e)},Ie.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(Ee+"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 Le(t,(i.DP-=4)+t.e+1,i.RM)},Ie.times=Ie.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},Ie.toExponential=function(t,e){var r=this,n=r.c[0];if(t!==Ne){if(t!==~~t||t<0||t>Me)throw Error(_e);for(r=Le(new r.constructor(r),++t,e);r.c.length<t;)r.c.push(0)}return Re(r,!0,!!n)},Ie.toFixed=function(t,e){var r=this,n=r.c[0];if(t!==Ne){if(t!==~~t||t<0||t>Me)throw Error(_e);for(t=t+(r=Le(new r.constructor(r),t+r.e+1,e)).e+1;r.c.length<t;)r.c.push(0)}return Re(r,!1,!!n)},Ie[Symbol.for("nodejs.util.inspect.custom")]=Ie.toJSON=Ie.toString=function(){var t=this,e=t.constructor;return Re(t,t.e<=e.NE||t.e>=e.PE,!!t.c[0])},Ie.toNumber=function(){var t=Number(Re(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error(Ee+"Imprecise conversion");return t},Ie.toPrecision=function(t,e){var r=this,n=r.constructor,i=r.c[0];if(t!==Ne){if(t!==~~t||t<1||t>Me)throw Error(Ce+"precision");for(r=Le(new n(r),t,e);r.c.length<t;)r.c.push(0)}return Re(r,t<=r.e||r.e<=n.NE||r.e>=n.PE,!!i)},Ie.valueOf=function(){var t=this,e=t.constructor;if(!0===e.strict)throw Error(Ee+"valueOf disallowed");return Re(t,t.e<=e.NE||t.e>=e.PE,!0)};var ze=function t(){function e(r){var n=this;if(!(n instanceof e))return r===Ne?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(Ce+"value");r=0===r&&1/r<0?"-0":String(r)}!function(t,e){var r,n,i;if(!Be.test(e))throw Error(Ce+"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=Ie,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 $e=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 ze(0)).toNumber()};var He="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ve(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Fe={exports:{}};Fe.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 Ue,qe,We,Ye=Ve(Fe.exports),Xe={exports:{}};Xe.exports=(Ue="minute",qe=/[+-]\d\d(?::?\d\d)?/g,We=/([+-]|\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(),Ue):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(qe);if(!e)return null;var r=(""+e[0]).match(We)||["-",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,Ue)).$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 Ke=Ve(Xe.exports);Ye.extend(Ke);const Ge=({timeString:t,toEndDate:e})=>""===t?"":e?Ye(`${t}T23:59:59`).utc().unix().toString():Ye(t).utc().unix().toString(),Ze=({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:ze(n).div(100).toNumber())};
|
|
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 I,ModalCloseButton as N,ModalBody as B,ModalFooter as L,Select as R,keyframes as z,Tag as $,TagLeftIcon as H,TagLabel as V,TagRightIcon as F,TagCloseButton as U,Alert as W,AlertIcon as q,AlertTitle as Y,AlertDescription as X,CloseButton as K,Spinner as G}from"@chakra-ui/react";import Z,{isValidElement as J,Children as Q,PureComponent as tt,forwardRef as et,useRef as rt,useImperativeHandle as nt,useState as it,useCallback as ot,useEffect as at,useMemo as ct,cloneElement as lt,createElement as ut,useContext as st,createContext as ft,Component as pt}from"react";const 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:[t("g",{fill:"#000",clipPath:"url(#8015379a)",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:"8015379a",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),dt=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(#33e08bf7)",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:"33e08bf7",children:e("path",{fill:"#fff",d:"M0 .5h16v16H0z"})})})]}))),yt=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(#5e4acf42)",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:"5e4acf42",children:e("path",{d:"M0 0h16v16H0z"})})})]}))),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(#e4ccb59b)",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:"e4ccb59b",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:[t("g",{fill:"#000",clipPath:"url(#6c7cbdd0)",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:"6c7cbdd0",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:[t("g",{fill:"#000",clipPath:"url(#0d2102ad)",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:"0d2102ad",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:[e("g",{clipPath:"url(#54bd7e92)",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:"54bd7e92",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:[e("g",{clipPath:"url(#1a7c7760)",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:"1a7c7760",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(#105a7340)",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:"105a7340",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(#bf14509e)",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:"bf14509e",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:[t("g",{fill:"#000",clipPath:"url(#79cd4562)",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:"79cd4562",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(#f7f9e1ee)",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:"f7f9e1ee",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:[e("g",{clipPath:"url(#8278d266)",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:"8278d266",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Pt=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(#f5f63985)",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(#b24373d4)",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:"b24373d4",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:"f5f63985",children:e("path",{fill:"#fff",d:"M0 0h80v80H0z"})})]})]}))),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(#5418d0f9)",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:"5418d0f9",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),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",{clipPath:"url(#09eebe10)",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:"09eebe10",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),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(#8a264d60)",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:"8a264d60",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(#5d5dfb19)",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:"5d5dfb19",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),_t=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(#eec72660)",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(#8a6205bb)",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:"8a6205bb",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:"eec72660",children:e("path",{fill:"#fff",d:"M0 .395h80v59.21H0z"})})]})]}))),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:[t("g",{fill:"#000",clipPath:"url(#2c3c0778)",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:"2c3c0778",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Dt=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(#7ad9120c)",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:"7ad9120c",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),It=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"})}))),Nt=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"})}))),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:[e("g",{fill:"#000",clipPath:"url(#c91e1bc6)",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:"c91e1bc6",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Lt=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(#71df7fc8)",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:"71df7fc8",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),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:[t("g",{fill:"#000",clipPath:"url(#76fd77a9)",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:"76fd77a9",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(#405d5205)",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:"405d5205",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(#7f33ad3b)",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:"7f33ad3b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ht=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"})}))),Vt=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"})}))),Ft=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(#f4671af8)",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:"f4671af8",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ut=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(#483cdc23)",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(#51f87008)",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:"51f87008",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:"483cdc23",children:e("path",{fill:"#fff",d:"M0 0h61.058v80H0z"})})]})]}))),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:[e("g",{clipPath:"url(#1da516ba)",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:"1da516ba",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),qt=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"})}))),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",{fill:"#000",clipPath:"url(#766fd299)",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:"766fd299",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(#53ca2d67)",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:"53ca2d67",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),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",{clipPath:"url(#4fb010ad)",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:"4fb010ad",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("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"})]}))),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:[t("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#ed9b96dd)",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:"ed9b96dd",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(#b0215b09)",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:"b0215b09",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 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#fd854dc7)",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:"fd854dc7",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(#00dd4609)",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:"00dd4609",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(#cb08f89a)",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:"cb08f89a",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(#bf9e55a0)",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:"bf9e55a0",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:[t("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#1bc41c1a)",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:"1bc41c1a",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(#a0c118e7)",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:"a0c118e7",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",clipPath:"url(#5e750dae)",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:"5e750dae",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:[t("g",{fill:"#000",clipPath:"url(#05b4bd89)",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:"05b4bd89",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:[e("g",{fill:"#000",clipPath:"url(#a7923feb)",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:"a7923feb",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),le=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"})}))),ue=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"})}))),se=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(#0ff6f3f3)",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:"0ff6f3f3",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),fe=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(#ec29c2e9)",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:"ec29c2e9",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),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:[e("g",{fill:"#000",clipPath:"url(#3a1d3b1e)",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:"3a1d3b1e",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),he=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"})}))),de=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"})]}))),ye=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"}})]}))),ve=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"})]})}))),ge=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"})]})}))),me=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"}})})}))),be=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"}})]}))),we=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 xe(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 xe(t,e)},toPart:n,extend:function(...r){for(const t of r)t in e||(e[t]=n(t));return xe(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 Oe=xe("accordion").parts("root","container","button","panel").extend("icon"),Se=xe("alert").parts("title","description","container").extend("icon","spinner");xe("avatar").parts("label","badge","container").extend("excessLabel","group"),xe("breadcrumb").parts("link","item","container").extend("separator"),xe("button").parts();var je=xe("checkbox").parts("control","icon","container").extend("label");xe("progress").parts("track","filledTrack").extend("label"),xe("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),xe("editable").parts("preview","input","textarea"),xe("form").parts("container","requiredIndicator","helperText"),xe("formError").parts("text","icon");var Ae=xe("input").parts("addon","field","element","group");xe("list").parts("container","item","icon"),xe("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),xe("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),xe("numberinput").parts("root","field","stepperGroup","stepper"),xe("pininput").parts("field"),xe("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),xe("progress").parts("label","filledTrack","track"),xe("radio").parts("container","control","label");var Pe=xe("select").parts("field","icon");xe("slider").parts("container","track","thumb","filledTrack","mark"),xe("stat").parts("container","label","helpText","number","icon"),xe("switch").parts("container","track","thumb","label"),xe("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),xe("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");var Me=xe("tag").parts("container","label","closeButton");xe("card").parts("container","header","body","footer"),xe("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var ke=1e6,Ee=1e6,Ce="[big.js] ",_e=Ce+"Invalid ",Te=_e+"decimal places",De=_e+"rounding mode",Ie=Ce+"Division by zero",Ne={},Be=void 0,Le=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function Re(t,e,r,n){var i=t.c;if(r===Be&&(r=t.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error(De);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]!==Be))),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]!==Be||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 ze(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}Ne.abs=function(){var t=new this.constructor(this);return t.s=1,t},Ne.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},Ne.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>ke)throw Error(Te);if(!i[0])throw Error(Ie);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]!==Be)&&o--);return m[0]||1==b||(m.shift(),g.e--,w--),b>w&&Re(g,w,r.RM,y[0]!==Be),g},Ne.eq=function(t){return 0===this.cmp(t)},Ne.gt=function(t){return this.cmp(t)>0},Ne.gte=function(t){return this.cmp(t)>-1},Ne.lt=function(t){return this.cmp(t)<0},Ne.lte=function(t){return this.cmp(t)<1},Ne.minus=Ne.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},Ne.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(Ie);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)))},Ne.neg=function(){var t=new this.constructor(this);return t.s=-t.s,t},Ne.plus=Ne.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},Ne.pow=function(t){var e=this,r=new e.constructor("1"),n=r,i=t<0;if(t!==~~t||t<-1e6||t>Ee)throw Error(_e+"exponent");for(i&&(t=-t);1&t&&(n=n.times(e)),t>>=1;)e=e.times(e);return i?r.div(n):n},Ne.prec=function(t,e){if(t!==~~t||t<1||t>ke)throw Error(_e+"precision");return Re(new this.constructor(this),t,e)},Ne.round=function(t,e){if(t===Be)t=0;else if(t!==~~t||t<-ke||t>ke)throw Error(Te);return Re(new this.constructor(this),t+this.e+1,e)},Ne.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(Ce+"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 Re(t,(i.DP-=4)+t.e+1,i.RM)},Ne.times=Ne.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},Ne.toExponential=function(t,e){var r=this,n=r.c[0];if(t!==Be){if(t!==~~t||t<0||t>ke)throw Error(Te);for(r=Re(new r.constructor(r),++t,e);r.c.length<t;)r.c.push(0)}return ze(r,!0,!!n)},Ne.toFixed=function(t,e){var r=this,n=r.c[0];if(t!==Be){if(t!==~~t||t<0||t>ke)throw Error(Te);for(t=t+(r=Re(new r.constructor(r),t+r.e+1,e)).e+1;r.c.length<t;)r.c.push(0)}return ze(r,!1,!!n)},Ne[Symbol.for("nodejs.util.inspect.custom")]=Ne.toJSON=Ne.toString=function(){var t=this,e=t.constructor;return ze(t,t.e<=e.NE||t.e>=e.PE,!!t.c[0])},Ne.toNumber=function(){var t=Number(ze(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error(Ce+"Imprecise conversion");return t},Ne.toPrecision=function(t,e){var r=this,n=r.constructor,i=r.c[0];if(t!==Be){if(t!==~~t||t<1||t>ke)throw Error(_e+"precision");for(r=Re(new n(r),t,e);r.c.length<t;)r.c.push(0)}return ze(r,t<=r.e||r.e<=n.NE||r.e>=n.PE,!!i)},Ne.valueOf=function(){var t=this,e=t.constructor;if(!0===e.strict)throw Error(Ce+"valueOf disallowed");return ze(t,t.e<=e.NE||t.e>=e.PE,!0)};var $e=function t(){function e(r){var n=this;if(!(n instanceof e))return r===Be?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(_e+"value");r=0===r&&1/r<0?"-0":String(r)}!function(t,e){var r,n,i;if(!Le.test(e))throw Error(_e+"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=Ne,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 He=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 $e(0)).toNumber()};var Ve="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Fe(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ue={exports:{}};Ue.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 We,qe,Ye,Xe=Fe(Ue.exports),Ke={exports:{}};Ke.exports=(We="minute",qe=/[+-]\d\d(?::?\d\d)?/g,Ye=/([+-]|\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(),We):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(qe);if(!e)return null;var r=(""+e[0]).match(Ye)||["-",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,We)).$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 Ge=Fe(Ke.exports);Xe.extend(Ge);const Ze=({timeString:t,toEndDate:e})=>""===t?"":e?Xe(`${t}T23:59:59`).utc().unix().toString():Xe(t).utc().unix().toString(),Je=({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:$e(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}from"react/jsx-runtime";import{chakra as r,createMulti
|
|
|
6
6
|
* Copyright (c) 2021 Jason Wilson
|
|
7
7
|
* Released under MIT license
|
|
8
8
|
*/
|
|
9
|
-
var Je={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},Qe=function(t){return Math.round(t)},tr=function(t){return Math.pow(10,t)},er=/(\d)(?=(\d{3})+\b)/g,rr=/(\d)(?=(\d\d)+\d\b)/g;function nr(t,e){var r=this;if(!(r instanceof nr))return new nr(t,e);var n=Object.assign({},Je,e),i=tr(n.precision),o=ir(t,n);r.intValue=o,r.value=o/i,n.increment=n.increment||1/i,n.useVedic?n.groups=rr:n.groups=er,this.s=n,this.p=i}function ir(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=tr(a),u="number"==typeof t,s=t instanceof nr;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?Qe(n):n}nr.prototype={add:function(t){var e=this.intValue,r=this.s,n=this.p;return nr((e+=ir(t,r))/(r.fromCents?1:n),r)},subtract:function(t){var e=this.intValue,r=this.s,n=this.p;return nr((e-=ir(t,r))/(r.fromCents?1:n),r)},multiply:function(t){var e=this.intValue,r=this.s;return nr((e*=t)/(r.fromCents?1:tr(r.precision)),r)},divide:function(t){var e=this.intValue,r=this.s;return nr(e/=ir(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=nr(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,Qe(t/e)*e).toFixed(i.precision)},toJSON:function(){return this.value}};const or=({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=nr(i,{precision:e&&i>-1&&i<1&&0!==i?5:r}).format();return n&&i>0?`+${o}`:o},ar=({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 ze(r),o=new ze(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)}},cr=t=>{let e;return["sm","xs"].includes(t)&&(e="xs"),e},lr=({arr:t,n:e})=>t.toReversed().filter(((t,r)=>r%e==0)).toReversed(),ur={redRemains:(t=1)=>sr({rgb:"rgb(255, 223, 223)",alpha:t}),heroicRed:(t=1)=>sr({rgb:"rgb(210, 25, 25)",alpha:t}),aijiroWhite:(t=1)=>sr({rgb:"rgb(238, 248, 247)",alpha:t}),mint:(t=1)=>sr({rgb:"rgb(64, 178, 136)",alpha:t}),white:(t=1)=>sr({rgb:"rgb(255, 255, 255)",alpha:t,enabledAlphaValues:[.2]}),lighthouse:(t=1)=>sr({rgb:"rgb(244, 244, 244)",alpha:t}),coolElegance:(t=1)=>sr({rgb:"rgb(205, 207, 209)",alpha:t}),sonicSilver:(t=1)=>sr({rgb:"rgb(117, 117, 117)",alpha:t}),black:(t=1)=>sr({rgb:"rgb(0, 0, 0)",alpha:t,enabledAlphaValues:[.08]})},sr=({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})`},fr=({usd:t,precision:e=2,autoPrecision:r})=>{const n=nr(t).value;return nr(t,{precision:r&&n>-1&&n<1&&0!==n?5:e}).value};Ye.extend(Ke);const pr=({dateFormat:t="MM/DD/YY",timeString:e})=>Ye.utc(e).local().format(t),{definePartsStyle:hr,defineMultiStyleConfig:dr}=n(xe.keys),yr=dr({baseStyle:hr({container:{borderWidth:"1px",borderStyle:"solid",borderColor:"gray.300",borderRadius:"md",bg:"gray.100",color:"black",marginBottom:4,overflow:"hidden"},panel:{bg:"white"}}),variants:{spacious:hr({container:{borderRadius:"2xl"},button:{py:8,px:6,bg:ur.white(),fontSize:"md",_hover:{bg:ur.white()}},panel:{fontSize:"sm",bg:ur.lighthouse(),p:"2rem !important"}})}}),{definePartsStyle:vr,defineMultiStyleConfig:gr}=n(Oe.keys),mr=gr({baseStyle:vr((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"}}),br=i({borderColor:"red.700",color:"red.700",border:"solid 2px",":hover, :focus":{backgroundColor:"gray.200"},svg:{path:{fill:"red.700"}}}),wr=i({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"}}}}),xr=i({border:"solid 2px",borderColor:"brand.600",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Or=i({boxShadow:"none",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Sr=o({baseStyle:{boxShadow:"0px 8px 16px 0px rgba(0,0,0,0.08)",svg:{width:"1.25em",path:{fill:"white"}}},sizes:{xs:i({lineHeight:1})},variants:{alert:br,outline:xr,ghost:Or,secondary:wr}}),{definePartsStyle:jr,defineMultiStyleConfig:Ar}=n(Se.keys),Pr=Ar({baseStyle:jr({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"}}}}}),Mr=o({baseStyle:{helperText:{fontSize:"sm"}}}),kr=o({sizes:{sm:{text:{fontSize:"xs"}},xs:{text:{fontSize:"xs"}}}}),Er=o({baseStyle:{color:ur.sonicSilver(),_groupInvalid:{color:"red.500"}},sizes:{sm:{fontSize:"sm"},xs:{fontSize:"xs"}}}),Cr=o({sizes:{xl:i({fontSize:"4xl"}),lg:i({fontSize:"3xl"}),md:i({fontSize:"2xl"}),sm:i({fontSize:"xl"}),xs:i({fontSize:"md"})}}),{definePartsStyle:_r,defineMultiStyleConfig:Tr}=n(je.keys),Dr=Tr({baseStyle:_r({group:{svg:{width:"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:Ir,defineMultiStyleConfig:Nr}=n(Ae.keys),Br=Nr({baseStyle:Ir({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"}}),Lr=o({variants:{simple:{th:{borderColor:ur.coolElegance()},td:{borderColor:ur.coolElegance()},tr:{_last:{td:{border:"none"}}}}}}),{definePartsStyle:Rr,defineMultiStyleConfig:zr}=n(Pe.keys),$r=Rr({container:{color:"blackAlpha.900",fontWeight:"bold",borderRadius:"full",svg:{path:{fill:"blackAlpha.900"}}}}),Hr=Rr({container:{bg:"red.100",borderWidth:1,borderColor:"red.500"}}),Vr=Rr({container:{bg:"yellow.100",borderColor:"yellow.500",borderWidth:1}});var Fr=a({colors:{brand:{50:"#fcf2fe",100:"#f0c4f9",200:"#eaacf7",300:"#e495f4",400:"#de7ef2",500:"#d250ed",600:"#c622e8",700:"#b816da",800:"#a514c3",900:"#7e0f95"}},components:{Accordion:yr,Alert:mr,Button:Sr,Checkbox:Pr,Input:Dr,Heading:Cr,Form:Mr,FormLabel:Er,FormError:kr,Select:Br,Table:Lr,Tag:zr({baseStyle:$r,defaultProps:{variant:"outline"},variants:{error:Hr,success:Rr({container:{bg:"green.100",borderColor:"green.500",borderWidth:1}}),warning:Vr,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%)"}}}},c({colorScheme:"brand"}));const Ur={components:Fr.components,styles:Fr.styles},qr=t=>{const e=String(t).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return e?`(${e[1]}) ${e[2]}-${e[3]}`:t};function Wr(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=Wr(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Yr(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=Wr(t))&&(n&&(n+=" "),n+=e);return n}var Xr=Array.isArray,Kr="object"==typeof He&&He&&He.Object===Object&&He,Gr=Kr,Zr="object"==typeof self&&self&&self.Object===Object&&self,Jr=Gr||Zr||Function("return this")(),Qr=Jr.Symbol,tn=Qr,en=Object.prototype,rn=en.hasOwnProperty,nn=en.toString,on=tn?tn.toStringTag:void 0;var an=function(t){var e=rn.call(t,on),r=t[on];try{t[on]=void 0;var n=!0}catch(t){}var i=nn.call(t);return n&&(e?t[on]=r:delete t[on]),i},cn=Object.prototype.toString;var ln=an,un=function(t){return cn.call(t)},sn=Qr?Qr.toStringTag:void 0;var fn=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":sn&&sn in Object(t)?ln(t):un(t)};var pn=function(t){return null!=t&&"object"==typeof t},hn=fn,dn=pn;var yn=function(t){return"symbol"==typeof t||dn(t)&&"[object Symbol]"==hn(t)},vn=Xr,gn=yn,mn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bn=/^\w*$/;var wn=function(t,e){if(vn(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!gn(t))||(bn.test(t)||!mn.test(t)||null!=e&&t in Object(e))};var xn=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},On=Ve(xn),Sn=fn,jn=xn;var An,Pn=function(t){if(!jn(t))return!1;var e=Sn(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},Mn=Ve(Pn),kn=Jr["__core-js_shared__"],En=(An=/[^.]+$/.exec(kn&&kn.keys&&kn.keys.IE_PROTO||""))?"Symbol(src)_1."+An:"";var Cn=function(t){return!!En&&En in t},_n=Function.prototype.toString;var Tn=function(t){if(null!=t){try{return _n.call(t)}catch(t){}try{return t+""}catch(t){}}return""},Dn=Pn,In=Cn,Nn=xn,Bn=Tn,Ln=/^\[object .+?Constructor\]$/,Rn=Function.prototype,zn=Object.prototype,$n=Rn.toString,Hn=zn.hasOwnProperty,Vn=RegExp("^"+$n.call(Hn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Fn=function(t,e){return null==t?void 0:t[e]},Un=function(t){return!(!Nn(t)||In(t))&&(Dn(t)?Vn:Ln).test(Bn(t))},qn=Fn;var Wn=function(t,e){var r=qn(t,e);return Un(r)?r:void 0},Yn=Wn(Object,"create"),Xn=Yn;var Kn=function(){this.__data__=Xn?Xn(null):{},this.size=0};var Gn=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Zn=Yn,Jn=Object.prototype.hasOwnProperty;var Qn=function(t){var e=this.__data__;if(Zn){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Jn.call(e,t)?e[t]:void 0},ti=Yn,ei=Object.prototype.hasOwnProperty;var ri=Yn;var ni=Kn,ii=Gn,oi=Qn,ai=function(t){var e=this.__data__;return ti?void 0!==e[t]:ei.call(e,t)},ci=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ri&&void 0===e?"__lodash_hash_undefined__":e,this};function li(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])}}li.prototype.clear=ni,li.prototype.delete=ii,li.prototype.get=oi,li.prototype.has=ai,li.prototype.set=ci;var ui=li;var si=function(){this.__data__=[],this.size=0};var fi=function(t,e){return t===e||t!=t&&e!=e},pi=fi;var hi=function(t,e){for(var r=t.length;r--;)if(pi(t[r][0],e))return r;return-1},di=hi,yi=Array.prototype.splice;var vi=hi;var gi=hi;var mi=hi;var bi=si,wi=function(t){var e=this.__data__,r=di(e,t);return!(r<0)&&(r==e.length-1?e.pop():yi.call(e,r,1),--this.size,!0)},xi=function(t){var e=this.__data__,r=vi(e,t);return r<0?void 0:e[r][1]},Oi=function(t){return gi(this.__data__,t)>-1},Si=function(t,e){var r=this.__data__,n=mi(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function ji(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])}}ji.prototype.clear=bi,ji.prototype.delete=wi,ji.prototype.get=xi,ji.prototype.has=Oi,ji.prototype.set=Si;var Ai=ji,Pi=Wn(Jr,"Map"),Mi=ui,ki=Ai,Ei=Pi;var Ci=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var _i=function(t,e){var r=t.__data__;return Ci(e)?r["string"==typeof e?"string":"hash"]:r.map},Ti=_i;var Di=_i;var Ii=_i;var Ni=_i;var Bi=function(){this.size=0,this.__data__={hash:new Mi,map:new(Ei||ki),string:new Mi}},Li=function(t){var e=Ti(this,t).delete(t);return this.size-=e?1:0,e},Ri=function(t){return Di(this,t).get(t)},zi=function(t){return Ii(this,t).has(t)},$i=function(t,e){var r=Ni(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function Hi(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])}}Hi.prototype.clear=Bi,Hi.prototype.delete=Li,Hi.prototype.get=Ri,Hi.prototype.has=zi,Hi.prototype.set=$i;var Vi=Hi,Fi=Vi;function Ui(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(Ui.Cache||Fi),r}Ui.Cache=Fi;var qi=Ui,Wi=Ve(qi),Yi=qi;var Xi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ki=/\\(\\)?/g,Gi=function(t){var e=Yi(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(Xi,(function(t,r,n,i){e.push(n?i.replace(Ki,"$1"):r||t)})),e})),Zi=Gi;var Ji=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},Qi=Ji,to=Xr,eo=yn,ro=Qr?Qr.prototype:void 0,no=ro?ro.toString:void 0;var io=function t(e){if("string"==typeof e)return e;if(to(e))return Qi(e,t)+"";if(eo(e))return no?no.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r},oo=io;var ao=function(t){return null==t?"":oo(t)},co=Xr,lo=wn,uo=Zi,so=ao;var fo=function(t,e){return co(t)?t:lo(t,e)?[t]:uo(so(t))},po=yn;var ho=function(t){if("string"==typeof t||po(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e},yo=fo,vo=ho;var go=function(t,e){for(var r=0,n=(e=yo(e,t)).length;null!=t&&r<n;)t=t[vo(e[r++])];return r&&r==n?t:void 0},mo=go;var bo=function(t,e,r){var n=null==t?void 0:mo(t,e);return void 0===n?r:n},wo=Ve(bo);var xo=Ve((function(t){return null==t})),Oo=fn,So=Xr,jo=pn;var Ao,Po=Ve((function(t){return"string"==typeof t||!So(t)&&jo(t)&&"[object String]"==Oo(t)})),Mo={exports:{}},ko={};var Eo,Co={};
|
|
9
|
+
var Qe={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},tr=function(t){return Math.round(t)},er=function(t){return Math.pow(10,t)},rr=/(\d)(?=(\d{3})+\b)/g,nr=/(\d)(?=(\d\d)+\d\b)/g;function ir(t,e){var r=this;if(!(r instanceof ir))return new ir(t,e);var n=Object.assign({},Qe,e),i=er(n.precision),o=or(t,n);r.intValue=o,r.value=o/i,n.increment=n.increment||1/i,n.useVedic?n.groups=nr:n.groups=rr,this.s=n,this.p=i}function or(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=er(a),u="number"==typeof t,s=t instanceof ir;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?tr(n):n}ir.prototype={add:function(t){var e=this.intValue,r=this.s,n=this.p;return ir((e+=or(t,r))/(r.fromCents?1:n),r)},subtract:function(t){var e=this.intValue,r=this.s,n=this.p;return ir((e-=or(t,r))/(r.fromCents?1:n),r)},multiply:function(t){var e=this.intValue,r=this.s;return ir((e*=t)/(r.fromCents?1:er(r.precision)),r)},divide:function(t){var e=this.intValue,r=this.s;return ir(e/=or(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=ir(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,tr(t/e)*e).toFixed(i.precision)},toJSON:function(){return this.value}};const ar=({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=ir(i,{precision:e&&i>-1&&i<1&&0!==i?5:r}).format();return n&&i>0?`+${o}`:o},cr=({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 $e(r),o=new $e(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)}},lr=t=>{let e;return["sm","xs"].includes(t)&&(e="xs"),e},ur=({arr:t,n:e})=>t.toReversed().filter(((t,r)=>r%e==0)).toReversed(),sr={redRemains:(t=1)=>fr({rgb:"rgb(255, 223, 223)",alpha:t}),heroicRed:(t=1)=>fr({rgb:"rgb(210, 25, 25)",alpha:t}),aijiroWhite:(t=1)=>fr({rgb:"rgb(238, 248, 247)",alpha:t}),mint:(t=1)=>fr({rgb:"rgb(64, 178, 136)",alpha:t}),white:(t=1)=>fr({rgb:"rgb(255, 255, 255)",alpha:t,enabledAlphaValues:[.2]}),lighthouse:(t=1)=>fr({rgb:"rgb(244, 244, 244)",alpha:t}),coolElegance:(t=1)=>fr({rgb:"rgb(205, 207, 209)",alpha:t}),sonicSilver:(t=1)=>fr({rgb:"rgb(117, 117, 117)",alpha:t}),black:(t=1)=>fr({rgb:"rgb(0, 0, 0)",alpha:t,enabledAlphaValues:[.08]})},fr=({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})`},pr=({usd:t,precision:e=2,autoPrecision:r})=>{const n=ir(t).value;return ir(t,{precision:r&&n>-1&&n<1&&0!==n?5:e}).value};Xe.extend(Ge);const hr=({dateFormat:t="MM/DD/YY",timeString:e})=>Xe.utc(e).local().format(t),{definePartsStyle:dr,defineMultiStyleConfig:yr}=i(Oe.keys),vr=yr({baseStyle:dr({container:{borderWidth:"1px",borderStyle:"solid",borderColor:"gray.300",borderRadius:"md",bg:"gray.100",color:"black",marginBottom:4,overflow:"hidden"},panel:{bg:"white"}}),variants:{spacious:dr({container:{borderRadius:"2xl"},button:{py:8,px:6,bg:sr.white(),fontSize:"md",_hover:{bg:sr.white()}},panel:{fontSize:"sm",bg:sr.lighthouse(),p:"2rem !important"}})}}),{definePartsStyle:gr,defineMultiStyleConfig:mr}=i(Se.keys),br=mr({baseStyle:gr((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"}}),wr=o({borderColor:"red.700",color:"red.700",border:"solid 2px",":hover, :focus":{backgroundColor:"gray.200"},svg:{path:{fill:"red.700"}}}),xr=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"}}}}),Or=o({border:"solid 2px",borderColor:"brand.600",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Sr=o({boxShadow:"none",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),jr=a({baseStyle:{boxShadow:"0px 8px 16px 0px rgba(0,0,0,0.08)",svg:{width:"1.25em",path:{fill:"white"}}},sizes:{xs:o({lineHeight:1})},variants:{alert:wr,outline:Or,ghost:Sr,secondary:xr}}),{definePartsStyle:Ar,defineMultiStyleConfig:Pr}=i(je.keys),Mr=Pr({baseStyle:Ar({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"}}}}}),kr=a({baseStyle:{helperText:{fontSize:"sm"}}}),Er=a({sizes:{sm:{text:{fontSize:"xs"}},xs:{text:{fontSize:"xs"}}}}),Cr=a({baseStyle:{color:sr.sonicSilver(),_groupInvalid:{color:"red.500"}},sizes:{sm:{fontSize:"sm"},xs:{fontSize:"xs"}}}),_r=a({sizes:{xl:o({fontSize:"4xl"}),lg:o({fontSize:"3xl"}),md:o({fontSize:"2xl"}),sm:o({fontSize:"xl"}),xs:o({fontSize:"md"})}}),{definePartsStyle:Tr,defineMultiStyleConfig:Dr}=i(Ae.keys),Ir=Dr({baseStyle:Tr({group:{svg:{width:"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:Nr,defineMultiStyleConfig:Br}=i(Pe.keys),Lr=Br({baseStyle:Nr({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"}}),Rr=a({variants:{simple:{th:{borderColor:sr.coolElegance()},td:{borderColor:sr.coolElegance()},tr:{_last:{td:{border:"none"}}}}}}),{definePartsStyle:zr,defineMultiStyleConfig:$r}=i(Me.keys),Hr=zr({container:{color:"blackAlpha.900",fontWeight:"bold",borderRadius:"full",svg:{path:{fill:"blackAlpha.900"}}}}),Vr=zr({container:{bg:"red.100",borderWidth:1,borderColor:"red.500"}}),Fr=zr({container:{bg:"yellow.100",borderColor:"yellow.500",borderWidth:1}});var Ur=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:vr,Alert:br,Button:jr,Checkbox:Mr,Input:Ir,Heading:_r,Form:kr,FormLabel:Cr,FormError:Er,Select:Lr,Table:Rr,Tag:$r({baseStyle:Hr,defaultProps:{variant:"outline"},variants:{error:Vr,success:zr({container:{bg:"green.100",borderColor:"green.500",borderWidth:1}}),warning:Fr,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 Wr={components:Ur.components,styles:Ur.styles},qr=t=>{const e=String(t).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return e?`(${e[1]}) ${e[2]}-${e[3]}`:t};function Yr(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=Yr(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Xr(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=Yr(t))&&(n&&(n+=" "),n+=e);return n}var Kr=Array.isArray,Gr="object"==typeof Ve&&Ve&&Ve.Object===Object&&Ve,Zr=Gr,Jr="object"==typeof self&&self&&self.Object===Object&&self,Qr=Zr||Jr||Function("return this")(),tn=Qr.Symbol,en=tn,rn=Object.prototype,nn=rn.hasOwnProperty,on=rn.toString,an=en?en.toStringTag:void 0;var cn=function(t){var e=nn.call(t,an),r=t[an];try{t[an]=void 0;var n=!0}catch(t){}var i=on.call(t);return n&&(e?t[an]=r:delete t[an]),i},ln=Object.prototype.toString;var un=cn,sn=function(t){return ln.call(t)},fn=tn?tn.toStringTag:void 0;var pn=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":fn&&fn in Object(t)?un(t):sn(t)};var hn=function(t){return null!=t&&"object"==typeof t},dn=pn,yn=hn;var vn=function(t){return"symbol"==typeof t||yn(t)&&"[object Symbol]"==dn(t)},gn=Kr,mn=vn,bn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wn=/^\w*$/;var xn=function(t,e){if(gn(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!mn(t))||(wn.test(t)||!bn.test(t)||null!=e&&t in Object(e))};var On=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},Sn=Fe(On),jn=pn,An=On;var Pn,Mn=function(t){if(!An(t))return!1;var e=jn(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},kn=Fe(Mn),En=Qr["__core-js_shared__"],Cn=(Pn=/[^.]+$/.exec(En&&En.keys&&En.keys.IE_PROTO||""))?"Symbol(src)_1."+Pn:"";var _n=function(t){return!!Cn&&Cn in t},Tn=Function.prototype.toString;var Dn=function(t){if(null!=t){try{return Tn.call(t)}catch(t){}try{return t+""}catch(t){}}return""},In=Mn,Nn=_n,Bn=On,Ln=Dn,Rn=/^\[object .+?Constructor\]$/,zn=Function.prototype,$n=Object.prototype,Hn=zn.toString,Vn=$n.hasOwnProperty,Fn=RegExp("^"+Hn.call(Vn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Un=function(t,e){return null==t?void 0:t[e]},Wn=function(t){return!(!Bn(t)||Nn(t))&&(In(t)?Fn:Rn).test(Ln(t))},qn=Un;var Yn=function(t,e){var r=qn(t,e);return Wn(r)?r:void 0},Xn=Yn(Object,"create"),Kn=Xn;var Gn=function(){this.__data__=Kn?Kn(null):{},this.size=0};var Zn=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Jn=Xn,Qn=Object.prototype.hasOwnProperty;var ti=function(t){var e=this.__data__;if(Jn){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Qn.call(e,t)?e[t]:void 0},ei=Xn,ri=Object.prototype.hasOwnProperty;var ni=Xn;var ii=Gn,oi=Zn,ai=ti,ci=function(t){var e=this.__data__;return ei?void 0!==e[t]:ri.call(e,t)},li=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ni&&void 0===e?"__lodash_hash_undefined__":e,this};function ui(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])}}ui.prototype.clear=ii,ui.prototype.delete=oi,ui.prototype.get=ai,ui.prototype.has=ci,ui.prototype.set=li;var si=ui;var fi=function(){this.__data__=[],this.size=0};var pi=function(t,e){return t===e||t!=t&&e!=e},hi=pi;var di=function(t,e){for(var r=t.length;r--;)if(hi(t[r][0],e))return r;return-1},yi=di,vi=Array.prototype.splice;var gi=di;var mi=di;var bi=di;var wi=fi,xi=function(t){var e=this.__data__,r=yi(e,t);return!(r<0)&&(r==e.length-1?e.pop():vi.call(e,r,1),--this.size,!0)},Oi=function(t){var e=this.__data__,r=gi(e,t);return r<0?void 0:e[r][1]},Si=function(t){return mi(this.__data__,t)>-1},ji=function(t,e){var r=this.__data__,n=bi(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function Ai(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])}}Ai.prototype.clear=wi,Ai.prototype.delete=xi,Ai.prototype.get=Oi,Ai.prototype.has=Si,Ai.prototype.set=ji;var Pi=Ai,Mi=Yn(Qr,"Map"),ki=si,Ei=Pi,Ci=Mi;var _i=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var Ti=function(t,e){var r=t.__data__;return _i(e)?r["string"==typeof e?"string":"hash"]:r.map},Di=Ti;var Ii=Ti;var Ni=Ti;var Bi=Ti;var Li=function(){this.size=0,this.__data__={hash:new ki,map:new(Ci||Ei),string:new ki}},Ri=function(t){var e=Di(this,t).delete(t);return this.size-=e?1:0,e},zi=function(t){return Ii(this,t).get(t)},$i=function(t){return Ni(this,t).has(t)},Hi=function(t,e){var r=Bi(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function Vi(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])}}Vi.prototype.clear=Li,Vi.prototype.delete=Ri,Vi.prototype.get=zi,Vi.prototype.has=$i,Vi.prototype.set=Hi;var Fi=Vi,Ui=Fi;function Wi(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(Wi.Cache||Ui),r}Wi.Cache=Ui;var qi=Wi,Yi=Fe(qi),Xi=qi;var Ki=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gi=/\\(\\)?/g,Zi=function(t){var e=Xi(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(Ki,(function(t,r,n,i){e.push(n?i.replace(Gi,"$1"):r||t)})),e})),Ji=Zi;var Qi=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},to=Qi,eo=Kr,ro=vn,no=tn?tn.prototype:void 0,io=no?no.toString:void 0;var oo=function t(e){if("string"==typeof e)return e;if(eo(e))return to(e,t)+"";if(ro(e))return io?io.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r},ao=oo;var co=function(t){return null==t?"":ao(t)},lo=Kr,uo=xn,so=Ji,fo=co;var po=function(t,e){return lo(t)?t:uo(t,e)?[t]:so(fo(t))},ho=vn;var yo=function(t){if("string"==typeof t||ho(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e},vo=po,go=yo;var mo=function(t,e){for(var r=0,n=(e=vo(e,t)).length;null!=t&&r<n;)t=t[go(e[r++])];return r&&r==n?t:void 0},bo=mo;var wo=function(t,e,r){var n=null==t?void 0:bo(t,e);return void 0===n?r:n},xo=Fe(wo);var Oo=Fe((function(t){return null==t})),So=pn,jo=Kr,Ao=hn;var Po,Mo=Fe((function(t){return"string"==typeof t||!jo(t)&&Ao(t)&&"[object String]"==So(t)})),ko={exports:{}},Eo={};var Co,_o={};
|
|
10
10
|
/** @license React v16.13.1
|
|
11
11
|
* react-is.development.js
|
|
12
12
|
*
|
|
@@ -14,5 +14,5 @@ var Je={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?Mo.exports=function(){if(Ao)return ko;Ao=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 ko.AsyncMode=l,ko.ConcurrentMode=u,ko.ContextConsumer=c,ko.ContextProvider=a,ko.Element=e,ko.ForwardRef=s,ko.Fragment=n,ko.Lazy=d,ko.Memo=h,ko.Portal=r,ko.Profiler=o,ko.StrictMode=i,ko.Suspense=f,ko.isAsyncMode=function(t){return w(t)||b(t)===l},ko.isConcurrentMode=w,ko.isContextConsumer=function(t){return b(t)===c},ko.isContextProvider=function(t){return b(t)===a},ko.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},ko.isForwardRef=function(t){return b(t)===s},ko.isFragment=function(t){return b(t)===n},ko.isLazy=function(t){return b(t)===d},ko.isMemo=function(t){return b(t)===h},ko.isPortal=function(t){return b(t)===r},ko.isProfiler=function(t){return b(t)===o},ko.isStrictMode=function(t){return b(t)===i},ko.isSuspense=function(t){return b(t)===f},ko.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)},ko.typeOf=b,ko}():Mo.exports=(Eo||(Eo=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 I(t){return b(t)===u}Co.AsyncMode=w,Co.ConcurrentMode=x,Co.ContextConsumer=O,Co.ContextProvider=S,Co.Element=j,Co.ForwardRef=A,Co.Fragment=P,Co.Lazy=M,Co.Memo=k,Co.Portal=E,Co.Profiler=C,Co.StrictMode=_,Co.Suspense=T,Co.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.")),I(t)||b(t)===l},Co.isConcurrentMode=I,Co.isContextConsumer=function(t){return b(t)===c},Co.isContextProvider=function(t){return b(t)===a},Co.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},Co.isForwardRef=function(t){return b(t)===s},Co.isFragment=function(t){return b(t)===n},Co.isLazy=function(t){return b(t)===d},Co.isMemo=function(t){return b(t)===h},Co.isPortal=function(t){return b(t)===r},Co.isProfiler=function(t){return b(t)===o},Co.isStrictMode=function(t){return b(t)===i},Co.isSuspense=function(t){return b(t)===f},Co.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)},Co.typeOf=b}()),Co);var _o=Mo.exports,To=fn,Do=pn;var Io=function(t){return"number"==typeof t||Do(t)&&"[object Number]"==To(t)},No=Ve(Io),Bo=Io;var Lo=Ve((function(t){return Bo(t)&&t!=+t})),Ro=function(t){return 0===t?0:t>0?1:-1},zo=function(t){return Po(t)&&t.indexOf("%")===t.length-1},$o=function(t){return No(t)&&!Lo(t)},Ho=function(t){return $o(t)||Po(t)},Vo=0,Fo=function(t){var e=++Vo;return"".concat(t||"").concat(e)},Uo=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(!$o(t)&&!Po(t))return n;if(zo(t)){var o=t.indexOf("%");r=e*parseFloat(t.slice(0,o))/100}else r=+t;return Lo(r)&&(r=n),i&&r>e&&(r=e),r},qo=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},Wo=function(t,e){return $o(t)&&$o(e)?function(r){return t+r*(e-t)}:function(){return e}};function Yo(t,e,r){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):wo(t,e))===r})):null}function Xo(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 Ko(t){return Ko="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},Ko(t)}var Go=["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"],Zo=["points","pathLength"],Jo={svg:["viewBox","children"],polygon:Zo,polyline:Zo},Qo=["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"],ta=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if(Z(t)&&(r=t.props),!On(r))return null;var n={};return Object.keys(r).forEach((function(t){Qo.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})})),n},ea=function(t,e,r){if(!On(t)||"object"!==Ko(t))return null;var n=null;return Object.keys(t).forEach((function(i){var o=t[i];Qo.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},ra=["children"],na=["children"];function ia(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 oa(t){return oa="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},oa(t)}var aa={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},ca=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},la=null,ua=null,sa=function t(e){if(e===la&&Array.isArray(ua))return ua;var r=[];return J.forEach(e,(function(e){xo(e)||(_o.isFragment(e)?r=r.concat(t(e.props.children)):r.push(e))})),ua=r,la=e,r};function fa(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map((function(t){return ca(t)})):[ca(e)],sa(t).forEach((function(t){var e=wo(t,"type.displayName")||wo(t,"type.name");-1!==n.indexOf(e)&&r.push(t)})),r}function pa(t,e){var r=fa(t,e);return r&&r[0]}var ha=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!$o(r)||r<=0||!$o(n)||n<=0)},da=["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"],ya=function(t){return t&&"object"===oa(t)&&"cx"in t&&"cy"in t&&"r"in t},va=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if(Z(t)&&(n=t.props),!On(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==Jo?void 0:Jo[n])&&void 0!==i?i:[];return!Mn(t)&&(n&&o.includes(e)||Go.includes(e))||r&&Qo.includes(e)})(null===(o=n)||void 0===o?void 0:o[t],t,e,r)&&(i[t]=n[t])})),i},ga=function t(e,r){if(e===r)return!0;var n=J.count(e);if(n!==J.count(r))return!1;if(0===n)return!0;if(1===n)return ma(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(!ma(o,a))return!1}return!0},ma=function(t,e){if(xo(t)&&xo(e))return!0;if(!xo(t)&&!xo(e)){var r=t.props||{},n=r.children,i=ia(r,ra),o=e.props||{},a=o.children,c=ia(o,na);return n&&a?Xo(i,c)&&ga(n,a):!n&&!a&&Xo(i,c)}return!1},ba=function(t,e){var r=[],n={};return sa(t).forEach((function(t,i){if(function(t){return t&&t.type&&Po(t.type)&&da.indexOf(t.type)>=0}(t))r.push(t);else if(t){var o=ca(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},wa=["children","width","height","viewBox","className","style","title","desc"];function xa(){return xa=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},xa.apply(this,arguments)}function Oa(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 Sa(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=Oa(t,wa),s=i||{width:r,height:n,x:0,y:0},f=Yr("recharts-surface",o);return G.createElement("svg",xa({},va(u,!0,"svg"),{className:f,width:r,height:n,style:a,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height)}),G.createElement("title",null,c),G.createElement("desc",null,l),e)}var ja=["children","className"];function Aa(){return Aa=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},Aa.apply(this,arguments)}function Pa(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 Ma=G.forwardRef((function(t,e){var r=t.children,n=t.className,i=Pa(t,ja),o=Yr("recharts-layer",n);return G.createElement("g",Aa({className:o},va(i,!0),{ref:e}),r)})),ka="production"!==process.env.NODE_ENV,Ea=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(ka&&"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 Ca=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},_a=Ca;var Ta=function(t,e,r){var n=t.length;return r=void 0===r?n:r,!e&&r>=n?t:_a(t,e,r)},Da=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Ia=function(t){return Da.test(t)};var Na=function(t){return t.split("")},Ba="\\ud800-\\udfff",La="["+Ba+"]",Ra="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",za="\\ud83c[\\udffb-\\udfff]",$a="[^"+Ba+"]",Ha="(?:\\ud83c[\\udde6-\\uddff]){2}",Va="[\\ud800-\\udbff][\\udc00-\\udfff]",Fa="(?:"+Ra+"|"+za+")"+"?",Ua="[\\ufe0e\\ufe0f]?",qa=Ua+Fa+("(?:\\u200d(?:"+[$a,Ha,Va].join("|")+")"+Ua+Fa+")*"),Wa="(?:"+[$a+Ra+"?",Ra,Ha,Va,La].join("|")+")",Ya=RegExp(za+"(?="+za+")|"+Wa+qa,"g");var Xa=function(t){return t.match(Ya)||[]},Ka=Na,Ga=Ia,Za=Xa;var Ja=function(t){return Ga(t)?Za(t):Ka(t)},Qa=Ta,tc=Ia,ec=Ja,rc=ao;var nc=function(t){return function(e){e=rc(e);var r=tc(e)?ec(e):void 0,n=r?r[0]:e.charAt(0),i=r?Qa(r,1).join(""):e.slice(1);return n[t]()+i}},ic=Ve(nc("toUpperCase"));function oc(t){return function(){return t}}const ac=Math.cos,cc=Math.sin,lc=Math.sqrt,uc=Math.PI,sc=2*uc,fc=Math.PI,pc=2*fc,hc=1e-6,dc=pc-hc;function yc(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class vc{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?yc:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return yc;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>hc)if(Math.abs(s*c-l*u)>hc&&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((fc-Math.acos((d+f-y)/(2*v*g)))/2),b=m/g,w=m/v;Math.abs(b-1)>hc&&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)>hc||Math.abs(this._y1-u)>hc)&&this._append`L${l},${u}`,r&&(f<0&&(f=f%pc+pc),f>dc?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>hc&&this._append`A${r},${r},0,${+(f>=fc)},${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 gc(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 vc(e)}function mc(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function bc(t){this._context=t}function wc(t){return new bc(t)}function xc(t){return t[0]}function Oc(t){return t[1]}function Sc(t,e){var r=oc(!0),n=null,i=wc,o=null,a=gc(c);function c(c){var l,u,s,f=(c=mc(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?xc:oc(t),e="function"==typeof e?e:void 0===e?Oc:oc(e),c.x=function(e){return arguments.length?(t="function"==typeof e?e:oc(+e),c):t},c.y=function(t){return arguments.length?(e="function"==typeof t?t:oc(+t),c):e},c.defined=function(t){return arguments.length?(r="function"==typeof t?t:oc(!!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 jc(t,e,r){var n=null,i=oc(!0),o=null,a=wc,c=null,l=gc(u);function u(u){var s,f,p,h,d,y=(u=mc(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 Sc().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?xc:oc(+t),e="function"==typeof e?e:oc(void 0===e?0:+e),r="function"==typeof r?r:void 0===r?Oc:oc(+r),u.x=function(e){return arguments.length?(t="function"==typeof e?e:oc(+e),n=null,u):t},u.x0=function(e){return arguments.length?(t="function"==typeof e?e:oc(+e),u):t},u.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:oc(+t),u):n},u.y=function(t){return arguments.length?(e="function"==typeof t?t:oc(+t),r=null,u):e},u.y0=function(t){return arguments.length?(e="function"==typeof t?t:oc(+t),u):e},u.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:oc(+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:oc(!!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}bc.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 Ac{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 Pc={draw(t,e){const r=lc(e/uc);t.moveTo(r,0),t.arc(0,0,r,0,sc)}},Mc={draw(t,e){const r=lc(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 kc=lc(1/3),Ec=2*kc;var Cc={draw(t,e){const r=lc(e/Ec),n=r*kc;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},_c={draw(t,e){const r=lc(e),n=-r/2;t.rect(n,n,r,r)}};const Tc=cc(uc/10)/cc(7*uc/10),Dc=cc(sc/10)*Tc,Ic=-ac(sc/10)*Tc;var Nc={draw(t,e){const r=lc(.8908130915292852*e),n=Dc*r,i=Ic*r;t.moveTo(0,-r),t.lineTo(n,i);for(let e=1;e<5;++e){const o=sc*e/5,a=ac(o),c=cc(o);t.lineTo(c*r,-a*r),t.lineTo(a*n-c*i,c*n+a*i)}t.closePath()}};const Bc=lc(3);var Lc={draw(t,e){const r=-lc(e/(3*Bc));t.moveTo(0,2*r),t.lineTo(-Bc*r,-r),t.lineTo(Bc*r,-r),t.closePath()}};const Rc=-.5,zc=lc(3)/2,$c=1/lc(12),Hc=3*($c/2+1);var Vc={draw(t,e){const r=lc(e/Hc),n=r/2,i=r*$c,o=n,a=r*$c+r,c=-o,l=a;t.moveTo(n,i),t.lineTo(o,a),t.lineTo(c,l),t.lineTo(Rc*n-zc*i,zc*n+Rc*i),t.lineTo(Rc*o-zc*a,zc*o+Rc*a),t.lineTo(Rc*c-zc*l,zc*c+Rc*l),t.lineTo(Rc*n+zc*i,Rc*i-zc*n),t.lineTo(Rc*o+zc*a,Rc*a-zc*o),t.lineTo(Rc*c+zc*l,Rc*l-zc*c),t.closePath()}};function Fc(){}function Uc(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 qc(t){this._context=t}function Wc(t){this._context=t}function Yc(t){this._context=t}function Xc(t){this._context=t}function Kc(t){return t<0?-1:1}function Gc(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(Kc(o)+Kc(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function Zc(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function Jc(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 Qc(t){this._context=t}function tl(t){this._context=new el(t)}function el(t){this._context=t}function rl(t){this._context=t}function nl(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 il(t,e){this._context=t,this._t=e}function ol(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 al(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function cl(t,e){return t[e]}function ll(t){const e=[];return e.key=t,e}function ul(t){return ul="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},ul(t)}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:Uc(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:Uc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Wc.prototype={areaStart:Fc,areaEnd:Fc,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:Uc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Yc.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:Uc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Xc.prototype={areaStart:Fc,areaEnd:Fc,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))}},Qc.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:Jc(this,this._t0,Zc(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,Jc(this,Zc(this,r=Gc(this,t,e)),r);break;default:Jc(this,this._t0,r=Gc(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(tl.prototype=Object.create(Qc.prototype)).point=function(t,e){Qc.prototype.point.call(this,e,t)},el.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)}},rl.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=nl(t),i=nl(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)}},il.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 sl=["type","size","sizeType"];function fl(){return fl=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},fl.apply(this,arguments)}function pl(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 hl(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pl(Object(r),!0).forEach((function(e){dl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function dl(t,e,r){return e=function(t){var e=function(t,e){if("object"!=ul(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ul(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ul(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 yl(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 vl={symbolCircle:Pc,symbolCross:Mc,symbolDiamond:Cc,symbolSquare:_c,symbolStar:Nc,symbolTriangle:Lc,symbolWye:Vc},gl=Math.PI/180,ml=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=hl(hl({},yl(t,sl)),{},{type:i,size:a,sizeType:l}),s=u.className,f=u.cx,p=u.cy,h=va(u,!0);return f===+f&&p===+p&&a===+a?G.createElement("path",fl({},h,{className:Yr("recharts-symbols",s),transform:"translate(".concat(f,", ").concat(p,")"),d:(e=function(t){var e="symbol".concat(ic(t));return vl[e]||Pc}(i),r=function(t,e){let r=null,n=gc(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:oc(t||Pc),e="function"==typeof e?e:oc(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:oc(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:oc(+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*gl;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 bl(t){return bl="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},bl(t)}function wl(){return wl=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},wl.apply(this,arguments)}function xl(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 Ol(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,kl(n.key),n)}}function Sl(t,e,r){return e=Al(e),function(t,e){if(e&&("object"===bl(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,jl()?Reflect.construct(e,r||[],Al(t).constructor):e.apply(t,r))}function jl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(jl=function(){return!!t})()}function Al(t){return Al=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Al(t)}function Pl(t,e){return Pl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Pl(t,e)}function Ml(t,e,r){return(e=kl(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kl(t){var e=function(t,e){if("object"!=bl(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=bl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==bl(e)?e:String(e)}ml.registerSymbol=function(t,e){vl["symbol".concat(ic(t))]=e};var El=32,Cl=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Sl(this,e,arguments)}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&&Pl(t,e)}(e,Q),r=e,n=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=16,n=El/6,i=El/3,o=t.inactive?e:t.color;if("plainline"===t.type)return G.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:r,x2:El,y2:r,className:"recharts-legend-icon"});if("line"===t.type)return G.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(El,"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 G.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(El,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(G.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?xl(Object(r),!0).forEach((function(e){Ml(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return delete a.legendIcon,G.cloneElement(t.legendIcon,a)}return G.createElement(ml,{fill:o,cx:r,cy:r,size:El,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:El,height:El},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=Yr(Ml(Ml({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var f=Mn(e.value)?null:e.value;Ea(!Mn(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 G.createElement("li",wl({className:s,style:l,key:"legend-item-".concat(r)},ea(t.props,e,r)),G.createElement(Sa,{width:n,height:n,viewBox:c,style:u},t.renderIcon(e)),G.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 G.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],n&&Ol(r.prototype,n),i&&Ol(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();Ml(Cl,"displayName","Legend"),Ml(Cl,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var _l=Ai;var Tl=Ai,Dl=Pi,Il=Vi;var Nl=Ai,Bl=function(){this.__data__=new _l,this.size=0},Ll=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},Rl=function(t){return this.__data__.get(t)},zl=function(t){return this.__data__.has(t)},$l=function(t,e){var r=this.__data__;if(r instanceof Tl){var n=r.__data__;if(!Dl||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Il(n)}return r.set(t,e),this.size=r.size,this};function Hl(t){var e=this.__data__=new Nl(t);this.size=e.size}Hl.prototype.clear=Bl,Hl.prototype.delete=Ll,Hl.prototype.get=Rl,Hl.prototype.has=zl,Hl.prototype.set=$l;var Vl=Hl;var Fl=Vi,Ul=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ql=function(t){return this.__data__.has(t)};function Wl(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Fl;++e<r;)this.add(t[e])}Wl.prototype.add=Wl.prototype.push=Ul,Wl.prototype.has=ql;var Yl=Wl;var Xl=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 Kl=function(t,e){return t.has(e)},Gl=Yl,Zl=Xl,Jl=Kl;var Ql=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 Gl: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(!Zl(e,(function(t,e){if(!Jl(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 tu=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r};var eu=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r},ru=Jr.Uint8Array,nu=fi,iu=Ql,ou=tu,au=eu,cu=Qr?Qr.prototype:void 0,lu=cu?cu.valueOf:void 0;var uu=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 ru(t),new ru(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return nu(+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=ou;case"[object Set]":var l=1&n;if(c||(c=au),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=iu(c(t),c(e),n,i,o,a);return a.delete(t),s;case"[object Symbol]":if(lu)return lu.call(t)==lu.call(e)}return!1};var su=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t},fu=su,pu=Xr;var hu=function(t,e,r){var n=e(t);return pu(t)?n:fu(n,r(t))};var du=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 yu=du,vu=function(){return[]},gu=Object.prototype.propertyIsEnumerable,mu=Object.getOwnPropertySymbols,bu=mu?function(t){return null==t?[]:(t=Object(t),yu(mu(t),(function(e){return gu.call(t,e)})))}:vu,wu=bu;var xu=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n},Ou=fn,Su=pn;var ju=function(t){return Su(t)&&"[object Arguments]"==Ou(t)},Au=pn,Pu=Object.prototype,Mu=Pu.hasOwnProperty,ku=Pu.propertyIsEnumerable,Eu=ju(function(){return arguments}())?ju:function(t){return Au(t)&&Mu.call(t,"callee")&&!ku.call(t,"callee")},Cu={exports:{}};var _u=function(){return!1};!function(t,e){var r=Jr,n=_u,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}(Cu,Cu.exports);var Tu=Cu.exports,Du=/^(?:0|[1-9]\d*)$/;var Iu=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&Du.test(t))&&t>-1&&t%1==0&&t<e};var Nu=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},Bu=fn,Lu=Nu,Ru=pn,zu={};zu["[object Float32Array]"]=zu["[object Float64Array]"]=zu["[object Int8Array]"]=zu["[object Int16Array]"]=zu["[object Int32Array]"]=zu["[object Uint8Array]"]=zu["[object Uint8ClampedArray]"]=zu["[object Uint16Array]"]=zu["[object Uint32Array]"]=!0,zu["[object Arguments]"]=zu["[object Array]"]=zu["[object ArrayBuffer]"]=zu["[object Boolean]"]=zu["[object DataView]"]=zu["[object Date]"]=zu["[object Error]"]=zu["[object Function]"]=zu["[object Map]"]=zu["[object Number]"]=zu["[object Object]"]=zu["[object RegExp]"]=zu["[object Set]"]=zu["[object String]"]=zu["[object WeakMap]"]=!1;var $u=function(t){return Ru(t)&&Lu(t.length)&&!!zu[Bu(t)]};var Hu=function(t){return function(e){return t(e)}},Vu={exports:{}};!function(t,e){var r=Kr,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}(Vu,Vu.exports);var Fu=Vu.exports,Uu=$u,qu=Hu,Wu=Fu&&Fu.isTypedArray,Yu=Wu?qu(Wu):Uu,Xu=xu,Ku=Eu,Gu=Xr,Zu=Tu,Ju=Iu,Qu=Yu,ts=Object.prototype.hasOwnProperty;var es=function(t,e){var r=Gu(t),n=!r&&Ku(t),i=!r&&!n&&Zu(t),o=!r&&!n&&!i&&Qu(t),a=r||n||i||o,c=a?Xu(t.length,String):[],l=c.length;for(var u in t)!e&&!ts.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Ju(u,l))||c.push(u);return c},rs=Object.prototype;var ns=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||rs)};var is=function(t,e){return function(r){return t(e(r))}},os=is(Object.keys,Object),as=ns,cs=os,ls=Object.prototype.hasOwnProperty;var us=function(t){if(!as(t))return cs(t);var e=[];for(var r in Object(t))ls.call(t,r)&&"constructor"!=r&&e.push(r);return e},ss=Pn,fs=Nu;var ps=function(t){return null!=t&&fs(t.length)&&!ss(t)},hs=es,ds=us,ys=ps;var vs=function(t){return ys(t)?hs(t):ds(t)},gs=hu,ms=wu,bs=vs;var ws=function(t){return gs(t,bs,ms)},xs=ws,Os=Object.prototype.hasOwnProperty;var Ss=function(t,e,r,n,i,o){var a=1&r,c=xs(t),l=c.length;if(l!=xs(e).length&&!a)return!1;for(var u=l;u--;){var s=c[u];if(!(a?s in e:Os.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},js=Wn(Jr,"DataView"),As=Wn(Jr,"Promise"),Ps=Wn(Jr,"Set"),Ms=js,ks=Pi,Es=As,Cs=Ps,_s=Wn(Jr,"WeakMap"),Ts=fn,Ds=Tn,Is="[object Map]",Ns="[object Promise]",Bs="[object Set]",Ls="[object WeakMap]",Rs="[object DataView]",zs=Ds(Ms),$s=Ds(ks),Hs=Ds(Es),Vs=Ds(Cs),Fs=Ds(_s),Us=Ts;(Ms&&Us(new Ms(new ArrayBuffer(1)))!=Rs||ks&&Us(new ks)!=Is||Es&&Us(Es.resolve())!=Ns||Cs&&Us(new Cs)!=Bs||_s&&Us(new _s)!=Ls)&&(Us=function(t){var e=Ts(t),r="[object Object]"==e?t.constructor:void 0,n=r?Ds(r):"";if(n)switch(n){case zs:return Rs;case $s:return Is;case Hs:return Ns;case Vs:return Bs;case Fs:return Ls}return e});var qs=Vl,Ws=Ql,Ys=uu,Xs=Ss,Ks=Us,Gs=Xr,Zs=Tu,Js=Yu,Qs="[object Arguments]",tf="[object Array]",ef="[object Object]",rf=Object.prototype.hasOwnProperty;var nf=function(t,e,r,n,i,o){var a=Gs(t),c=Gs(e),l=a?tf:Ks(t),u=c?tf:Ks(e),s=(l=l==Qs?ef:l)==ef,f=(u=u==Qs?ef:u)==ef,p=l==u;if(p&&Zs(t)){if(!Zs(e))return!1;a=!0,s=!1}if(p&&!s)return o||(o=new qs),a||Js(t)?Ws(t,e,r,n,i,o):Ys(t,e,l,r,n,i,o);if(!(1&r)){var h=s&&rf.call(t,"__wrapped__"),d=f&&rf.call(e,"__wrapped__");if(h||d){var y=h?t.value():t,v=d?e.value():e;return o||(o=new qs),i(y,v,r,n,o)}}return!!p&&(o||(o=new qs),Xs(t,e,r,n,i,o))},of=nf,af=pn;var cf=function t(e,r,n,i,o){return e===r||(null==e||null==r||!af(e)&&!af(r)?e!=e&&r!=r:of(e,r,n,i,t,o))},lf=Vl,uf=cf;var sf=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 lf;if(n)var p=n(u,s,l,t,e,f);if(!(void 0===p?uf(s,u,3,n,f):p))return!1}}return!0},ff=xn;var pf=function(t){return t==t&&!ff(t)},hf=pf,df=vs;var yf=function(t){for(var e=df(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,hf(i)]}return e};var vf=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}},gf=sf,mf=yf,bf=vf;var wf=function(t){var e=mf(t);return 1==e.length&&e[0][2]?bf(e[0][0],e[0][1]):function(r){return r===t||gf(r,t,e)}};var xf=function(t,e){return null!=t&&e in Object(t)},Of=fo,Sf=Eu,jf=Xr,Af=Iu,Pf=Nu,Mf=ho;var kf=function(t,e,r){for(var n=-1,i=(e=Of(e,t)).length,o=!1;++n<i;){var a=Mf(e[n]);if(!(o=null!=t&&r(t,a)))break;t=t[a]}return o||++n!=i?o:!!(i=null==t?0:t.length)&&Pf(i)&&Af(a,i)&&(jf(t)||Sf(t))},Ef=xf,Cf=kf;var _f=function(t,e){return null!=t&&Cf(t,e,Ef)},Tf=cf,Df=bo,If=_f,Nf=wn,Bf=pf,Lf=vf,Rf=ho;var zf=function(t,e){return Nf(t)&&Bf(e)?Lf(Rf(t),e):function(r){var n=Df(r,t);return void 0===n&&n===e?If(r,t):Tf(e,n,3)}};var $f=function(t){return t};var Hf=function(t){return function(e){return null==e?void 0:e[t]}},Vf=go;var Ff=function(t){return function(e){return Vf(e,t)}},Uf=Hf,qf=Ff,Wf=wn,Yf=ho;var Xf=wf,Kf=zf,Gf=$f,Zf=Xr,Jf=function(t){return Wf(t)?Uf(Yf(t)):qf(t)};var Qf=function(t){return"function"==typeof t?t:null==t?Gf:"object"==typeof t?Zf(t)?Kf(t[0],t[1]):Xf(t):Jf(t)};var tp=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 ep=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1},rp=tp,np=function(t){return t!=t},ip=ep;var op=function(t,e,r){return e==e?ip(t,e,r):rp(t,np,r)},ap=op;var cp=function(t,e){return!!(null==t?0:t.length)&&ap(t,e,0)>-1};var lp=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 up=Ps,sp=function(){},fp=up&&1/eu(new up([,-0]))[1]==1/0?function(t){return new up(t)}:sp,pp=Yl,hp=cp,dp=lp,yp=Kl,vp=fp,gp=eu;var mp=function(t,e,r){var n=-1,i=hp,o=t.length,a=!0,c=[],l=c;if(r)a=!1,i=dp;else if(o>=200){var u=e?null:vp(t);if(u)return gp(u);a=!1,i=yp,l=new pp}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},bp=Qf,wp=mp;var xp=function(t,e){return t&&t.length?wp(t,bp(e)):[]},Op=Ve(xp);function Sp(t,e,r){return!0===e?Op(t,r):Mn(e)?Op(t,e):t}function jp(t){return jp="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},jp(t)}var Ap=["ref"];function Pp(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 Mp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pp(Object(r),!0).forEach((function(e){Ip(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function kp(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,Np(n.key),n)}}function Ep(t,e,r){return e=_p(e),function(t,e){if(e&&("object"===jp(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Tp(t)}(t,Cp()?Reflect.construct(e,r||[],_p(t).constructor):e.apply(t,r))}function Cp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Cp=function(){return!!t})()}function _p(t){return _p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_p(t)}function Tp(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dp(t,e){return Dp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Dp(t,e)}function Ip(t,e,r){return(e=Np(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Np(t){var e=function(t,e){if("object"!=jp(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=jp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==jp(e)?e:String(e)}function Bp(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 Lp(t){return t.value}var Rp=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 Ip(Tp(t=Ep(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&&Dp(t,e)}(e,Q),r=e,i=[{key:"getWithHeight",value:function(t,e){var r=t.props.layout;return"vertical"===r&&$o(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(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e))}else-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Mp({},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}),Mp(Mp({},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=Mp(Mp({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(o)),o);return G.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(G.isValidElement(t))return G.cloneElement(t,e);if("function"==typeof t)return G.createElement(t,e);e.ref;var r=Bp(e,Ap);return G.createElement(Cl,r)}(r,Mp(Mp({},this.props),{},{payload:Sp(c,a,Lp)})))}}])&&kp(r.prototype,n),i&&kp(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();Ip(Rp,"displayName","Legend"),Ip(Rp,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var zp=Eu,$p=Xr,Hp=Qr?Qr.isConcatSpreadable:void 0;var Vp=su,Fp=function(t){return $p(t)||zp(t)||!!(Hp&&t&&t[Hp])};var Up=function t(e,r,n,i,o){var a=-1,c=e.length;for(n||(n=Fp),o||(o=[]);++a<c;){var l=e[a];r>0&&n(l)?r>1?t(l,r-1,n,i,o):Vp(o,l):i||(o[o.length]=l)}return o};var qp=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}},Wp=qp(),Yp=vs;var Xp=function(t,e){return t&&Wp(t,e,Yp)},Kp=ps;var Gp=function(t,e){return function(r,n){if(null==r)return r;if(!Kp(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}}(Xp),Zp=Gp,Jp=ps;var Qp=function(t,e){var r=-1,n=Jp(t)?Array(t.length):[];return Zp(t,(function(t,i,o){n[++r]=e(t,i,o)})),n};var th=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t},eh=yn;var rh=function(t,e){if(t!==e){var r=void 0!==t,n=null===t,i=t==t,o=eh(t),a=void 0!==e,c=null===e,l=e==e,u=eh(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 nh=function(t,e,r){for(var n=-1,i=t.criteria,o=e.criteria,a=i.length,c=r.length;++n<a;){var l=rh(i[n],o[n]);if(l)return n>=c?l:l*("desc"==r[n]?-1:1)}return t.index-e.index},ih=Ji,oh=go,ah=Qf,ch=Qp,lh=th,uh=Hu,sh=nh,fh=$f,ph=Xr;var hh=function(t,e,r){e=e.length?ih(e,(function(t){return ph(t)?function(e){return oh(e,1===t.length?t[0]:t)}:t})):[fh];var n=-1;e=ih(e,uh(ah));var i=ch(t,(function(t,r,i){return{criteria:ih(e,(function(e){return e(t)})),index:++n,value:t}}));return lh(i,(function(t,e){return sh(t,e,r)}))};var dh=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)},yh=Math.max;var vh=function(t,e,r){return e=yh(void 0===e?t.length-1:e,0),function(){for(var n=arguments,i=-1,o=yh(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),dh(t,this,c)}};var gh=function(t){return function(){return t}},mh=Wn,bh=function(){try{var t=mh(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),wh=gh,xh=bh,Oh=xh?function(t,e){return xh(t,"toString",{configurable:!0,enumerable:!1,value:wh(e),writable:!0})}:$f,Sh=Oh,jh=Date.now;var Ah=function(t){var e=0,r=0;return function(){var n=jh(),i=16-(n-r);if(r=n,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(Sh),Ph=$f,Mh=vh,kh=Ah;var Eh=fi,Ch=ps,_h=Iu,Th=xn;var Dh=function(t,e,r){if(!Th(r))return!1;var n=typeof e;return!!("number"==n?Ch(r)&&_h(e,r.length):"string"==n&&e in r)&&Eh(r[e],t)},Ih=Up,Nh=hh,Bh=Dh,Lh=Ve(function(t,e){return kh(Mh(t,e,Ph),t+"")}((function(t,e){if(null==t)return[];var r=e.length;return r>1&&Bh(t,e[0],e[1])?e=[]:r>2&&Bh(e[0],e[1],e[2])&&(e=[e[0]]),Nh(t,Ih(e,1),[])})));function Rh(t){return Rh="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},Rh(t)}function zh(){return zh=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},zh.apply(this,arguments)}function $h(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 Hh(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 Hh(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 Hh(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 Vh(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 Fh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Vh(Object(r),!0).forEach((function(e){Uh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Uh(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Rh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Rh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Rh(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 qh(t){return Array.isArray(t)&&Ho(t[0])&&Ho(t[1])?t.join(" ~ "):t}var Wh=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=Fh({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),b=Fh({margin:0},l),w=!xo(d),x=w?d:"",O=Yr("recharts-default-tooltip",p),S=Yr("recharts-tooltip-label",h);w&&y&&null!=u&&(x=y(d,u));var j=g?{role:"status","aria-live":"assertive"}:{};return G.createElement("div",zh({className:O,style:m},j),G.createElement("p",{className:S,style:b},G.isValidElement(x)?x:"".concat(x)),function(){if(u&&u.length){var t=(f?Lh(u,f):u).map((function(t,e){if("none"===t.type)return null;var n=Fh({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},a),i=t.formatter||s||qh,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=$h(p,2);l=h[0],f=h[1]}else l=p}return G.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},Ho(f)?G.createElement("span",{className:"recharts-tooltip-item-name"},f):null,Ho(f)?G.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,G.createElement("span",{className:"recharts-tooltip-item-value"},l),G.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return G.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function Yh(t){return Yh="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},Yh(t)}function Xh(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Yh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Yh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Yh(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 Kh="recharts-tooltip-wrapper",Gh={visibility:"hidden"};function Zh(t){var e=t.coordinate,r=t.translateX,n=t.translateY;return Yr(Kh,Xh(Xh(Xh(Xh({},"".concat(Kh,"-right"),$o(r)&&e&&$o(e.x)&&r>=e.x),"".concat(Kh,"-left"),$o(r)&&e&&$o(e.x)&&r<e.x),"".concat(Kh,"-bottom"),$o(n)&&e&&$o(e.y)&&n>=e.y),"".concat(Kh,"-top"),$o(n)&&e&&$o(e.y)&&n<e.y))}function Jh(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&&$o(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 Qh(t){return Qh="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},Qh(t)}function td(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 ed(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?td(Object(r),!0).forEach((function(e){ld(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):td(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rd(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,ud(n.key),n)}}function nd(t,e,r){return e=od(e),function(t,e){if(e&&("object"===Qh(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ad(t)}(t,id()?Reflect.construct(e,r||[],od(t).constructor):e.apply(t,r))}function id(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(id=function(){return!!t})()}function od(t){return od=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},od(t)}function ad(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cd(t,e){return cd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},cd(t,e)}function ld(t,e,r){return(e=ud(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ud(t){var e=function(t,e){if("object"!=Qh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Qh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Qh(e)?e:String(e)}var sd=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 ld(ad(t=nd(this,e,[].concat(n))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),ld(ad(t),"lastBoundingBox",{width:-1,height:-1}),ld(ad(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}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&&cd(t,e)}(e,Q),r=e,(n=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height)}else-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1)}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(t=this.props.coordinate)||void 0===t?void 0:t.x)===this.state.dismissedAtCoordinate.x&&(null===(e=this.props.coordinate)||void 0===e?void 0:e.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var t=this,e=this.props,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=Jh({allowEscapeViewBox:n,coordinate:i,key:"x",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=Jh({allowEscapeViewBox:n,coordinate:i,key:"y",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:u}):Gh,cssClasses:Zh({translateX:e,translateY:r,coordinate:i})}}({allowEscapeViewBox:n,coordinate:c,offsetTopLeft:s,position:f,reverseDirection:p,tooltipBox:{height:this.lastBoundingBox.height,width:this.lastBoundingBox.width},useTranslate3d:h,viewBox:d}),g=v.cssClasses,m=v.cssProperties,b=ed(ed({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 G.createElement("div",{tabIndex:-1,className:g,style:b,ref:function(e){t.wrapperNode=e}},a)}}])&&rd(r.prototype,n),i&&rd(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(),fd={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return fd[t]},set:function(t,e){if("string"==typeof t)fd[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach((function(e){fd[e]=t[e]}))}}};function pd(t){return pd="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},pd(t)}function hd(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 dd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hd(Object(r),!0).forEach((function(e){wd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yd(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,xd(n.key),n)}}function vd(t,e,r){return e=md(e),function(t,e){if(e&&("object"===pd(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,gd()?Reflect.construct(e,r||[],md(t).constructor):e.apply(t,r))}function gd(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(gd=function(){return!!t})()}function md(t){return md=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},md(t)}function bd(t,e){return bd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},bd(t,e)}function wd(t,e,r){return(e=xd(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xd(t){var e=function(t,e){if("object"!=pd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pd(e)?e:String(e)}function Od(t){return t.dataKey}var Sd=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),vd(this,e,arguments)}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&&bd(t,e)}(e,Q),r=e,(n=[{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=Sp(f.filter((function(e){return null!=e.value&&(!0!==e.hide||t.props.includeHidden)})),p,Od));var b=m.length>0;return G.createElement(sd,{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 G.isValidElement(t)?G.cloneElement(t,e):"function"==typeof t?G.createElement(t,e):G.createElement(Wh,e)}(a,dd(dd({},this.props),{},{payload:m})))}}])&&yd(r.prototype,n),i&&yd(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();wd(Sd,"displayName","Tooltip"),wd(Sd,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!fd.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 jd=Jr,Ad=/\s/;var Pd=function(t){for(var e=t.length;e--&&Ad.test(t.charAt(e)););return e},Md=Pd,kd=/^\s+/;var Ed=function(t){return t?t.slice(0,Md(t)+1).replace(kd,""):t},Cd=Ed,_d=xn,Td=yn,Dd=/^[-+]0x[0-9a-f]+$/i,Id=/^0b[01]+$/i,Nd=/^0o[0-7]+$/i,Bd=parseInt;var Ld=function(t){if("number"==typeof t)return t;if(Td(t))return NaN;if(_d(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=_d(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Cd(t);var r=Id.test(t);return r||Nd.test(t)?Bd(t.slice(2),r?2:8):Dd.test(t)?NaN:+t},Rd=xn,zd=function(){return jd.Date.now()},$d=Ld,Hd=Math.max,Vd=Math.min;var Fd=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=zd();if(d(t))return v(t);c=setTimeout(y,function(t){var r=e-(t-l);return f?Vd(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=zd(),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=$d(e)||0,Rd(r)&&(s=!!r.leading,o=(f="maxWait"in r)?Hd($d(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(zd())},g},Ud=Fd,qd=xn;var Wd=Ve((function(t,e,r){var n=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return qd(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Ud(t,e,{leading:n,maxWait:e,trailing:i})}));function Yd(t){return Yd="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},Yd(t)}function Xd(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 Kd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Xd(Object(r),!0).forEach((function(e){Gd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Gd(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Yd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Yd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Yd(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 Zd(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 Jd(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 Jd(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 Jd(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 Qd=tt((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=et(null),O=et();O.current=m,rt(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=Zd(nt({containerWidth:i.width,containerHeight:i.height}),2),j=S[0],A=S[1],P=it((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}}))}),[]);ot((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=Wd(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=at((function(){var t=j.containerWidth,e=j.containerHeight;if(t<0||e<0)return null;Ea(zo(a)||zo(l),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,l),Ea(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=zo(a)?t:a,i=zo(l)?e:l;r&&r>0&&(n?i=n/r:i&&(n=i*r),p&&i>p&&(i=p)),Ea(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)&&_o.isElement(h)&&ca(h.type).endsWith("Chart");return G.Children.map(h,(function(t){return _o.isElement(t)?ct(t,Kd({width:n,height:i},o?{style:Kd({height:"100%",width:"100%",maxHeight:i,maxWidth:n},t.props.style)}:{})):t}))}),[r,h,l,p,f,s,j,a]);return G.createElement("div",{id:v?"".concat(v):void 0,className:Yr("recharts-responsive-container",g),style:Kd(Kd({},w),{},{width:a,height:l,minWidth:s,minHeight:f,maxHeight:p}),ref:x},M)})),ty=function(t){return null};function ey(t){return ey="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},ey(t)}function ry(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 ny(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ry(Object(r),!0).forEach((function(e){iy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ry(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function iy(t,e,r){return e=function(t){var e=function(t,e){if("object"!=ey(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ey(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ey(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}ty.displayName="Cell";var oy={widthCache:{},cacheCount:0},ay={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},cy="recharts_measurement_span";var ly=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||fd.isSsr)return{width:0,height:0};var r,n=(r=ny({},e),Object.keys(r).forEach((function(t){r[t]||delete r[t]})),r),i=JSON.stringify({text:t,copyStyle:n});if(oy.widthCache[i])return oy.widthCache[i];try{var o=document.getElementById(cy);o||((o=document.createElement("span")).setAttribute("id",cy),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=ny(ny({},ay),n);Object.assign(o.style,a),o.textContent="".concat(t);var c=o.getBoundingClientRect(),l={width:c.width,height:c.height};return oy.widthCache[i]=l,++oy.cacheCount>2e3&&(oy.cacheCount=0,oy.widthCache={}),l}catch(t){return{width:0,height:0}}};function uy(t){return uy="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},uy(t)}function sy(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 fy(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 fy(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 fy(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 py(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,hy(n.key),n)}}function hy(t){var e=function(t,e){if("object"!=uy(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=uy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==uy(e)?e:String(e)}var dy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,yy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,vy=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,gy=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,my={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},by=Object.keys(my),wy="NaN";var xy=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||vy.test(r)||(this.num=NaN,this.unit=""),by.includes(r)&&(this.num=function(t,e){return t*my[e]}(e,r),this.unit="px")}var e,r,n;return e=t,n=[{key:"parse",value:function(e){var r,n=sy(null!==(r=gy.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)}}])&&py(e.prototype,r),n&&py(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Oy(t){if(t.includes(wy))return wy;for(var e=t;e.includes("*")||e.includes("/");){var r,n=sy(null!==(r=dy.exec(e))&&void 0!==r?r:[],4),i=n[1],o=n[2],a=n[3],c=xy.parse(null!=i?i:""),l=xy.parse(null!=a?a:""),u="*"===o?c.multiply(l):c.divide(l);if(u.isNaN())return wy;e=e.replace(dy,u.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=sy(null!==(s=yy.exec(e))&&void 0!==s?s:[],4),p=f[1],h=f[2],d=f[3],y=xy.parse(null!=p?p:""),v=xy.parse(null!=d?d:""),g="+"===h?y.add(v):y.subtract(v);if(g.isNaN())return wy;e=e.replace(yy,g.toString())}return e}var Sy=/\(([^()]*)\)/;function jy(t){var e=t.replace(/\s+/g,"");return e=function(t){for(var e=t;e.includes("(");){var r=sy(Sy.exec(e),2)[1];e=e.replace(Sy,Oy(r))}return e}(e),e=Oy(e)}function Ay(t){var e=function(t){try{return jy(t)}catch(t){return wy}}(t.slice(5,-1));return e===wy?"":e}var Py=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],My=["dx","dy","angle","className","breakAll"];function ky(){return ky=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},ky.apply(this,arguments)}function Ey(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 Cy(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 _y(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 _y(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 _y(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 Ty=/[ \f\n\r\t\v\u2028\u2029]+/,Dy=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var i=[];return xo(e)||(i=r?e.toString().split(""):e.toString().split(Ty)),{wordsWithComputedWidth:i.map((function(t){return{word:t,width:ly(t,n).width}})),spaceWidth:r?0:ly(" ",n).width}}catch(t){return null}},Iy=function(t){return[{words:xo(t)?[]:t.toString().split(Ty)}]},Ny=function(t){var e=t.width,r=t.scaleToFit,n=t.children,i=t.style,o=t.breakAll,a=t.maxLines;if((e||r)&&!fd.isSsr){var c=Dy({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=$o(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=Dy({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=Cy(d(m-1),2),w=b[0],x=b[1],O=Cy(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):Iy(n)}return Iy(n)},By="#808080",Ly=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?By:y,g=Ey(t,Py),m=at((function(){return Ny({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=Ey(g,My);if(!Ho(r)||!Ho(i))return null;var A,P=r+($o(b)?b:0),M=i+($o(w)?w:0);switch(d){case"start":A=Ay("calc(".concat(l,")"));break;case"middle":A=Ay("calc(".concat((m.length-1)/2," * -").concat(a," + (").concat(l," / 2))"));break;default:A=Ay("calc(".concat(m.length-1," * -").concat(a,")"))}var k=[];if(s){var E=m[0].width,C=g.width;k.push("scale(".concat(($o(C)?C/E:1)/E,")"))}return x&&k.push("rotate(".concat(x,", ").concat(P,", ").concat(M,")")),k.length&&(j.transform=k.join(" ")),G.createElement("text",ky({},va(j,!0),{x:P,y:M,className:Yr("recharts-text",O),textAnchor:p,fill:v.includes("url")?By:v}),m.map((function(t,e){var r=t.words.join(S?"":" ");return G.createElement("tspan",{x:P,dy:0===e?A:a,key:r},r)})))};function Ry(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function zy(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function $y(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=Ry,r=(e,r)=>Ry(t(e),r),n=(e,r)=>t(e)-r):(e=t===Ry||t===zy?t:Hy,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 Hy(){return 0}function Vy(t){return null===t?NaN:+t}const Fy=$y(Ry).right;$y(Vy).center;class Uy extends Map{constructor(t,e=Wy){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(qy(this,t))}has(t){return super.has(qy(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 qy({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function Wy(t){return null!==t&&"object"==typeof t?t.valueOf():t}function Yy(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}const Xy=Math.sqrt(50),Ky=Math.sqrt(10),Gy=Math.sqrt(2);function Zy(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>=Xy?10:o>=Ky?5:o>=Gy?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?Zy(t,e,2*r):[c,l,u]}function Jy(t,e,r){if(!((r=+r)>0))return[];if((t=+t)===(e=+e))return[t];const n=e<t,[i,o,a]=n?Zy(e,t,r):Zy(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 Qy(t,e,r){return Zy(t=+t,e=+e,r=+r)[2]}function tv(t,e,r){r=+r;const n=(e=+e)<(t=+t),i=n?Qy(e,t,r):Qy(t,e,r);return(n?-1:1)*(i<0?1/-i:i)}function ev(t,e){let r;if(void 0===e)for(const e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function rv(t,e){let r;if(void 0===e)for(const e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function nv(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?Yy:function(t=Ry){if(t===Ry)return Yy;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);nv(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(iv(t,r,e),i(t[n],o)>0&&iv(t,r,n);a<c;){for(iv(t,a,c),++a,--c;i(t[a],o)<0;)++a;for(;i(t[c],o)>0;)--c}0===i(t[r],o)?iv(t,r,c):(++c,iv(t,c,n)),c<=e&&(r=c+1),e<=c&&(n=c-1)}return t}function iv(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function ov(t,e,r=Vy){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 av(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function cv(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 lv=Symbol("implicit");function uv(){var t=new Uy,e=[],r=[],n=lv;function i(i){let o=t.get(i);if(void 0===o){if(n!==lv)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 Uy;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 uv(e,r).unknown(n)},av.apply(i,arguments),i}function sv(){var t,e,r=uv().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 sv(n(),[o,a]).round(c).paddingInner(l).paddingOuter(u).align(s)},av.apply(f(),arguments)}function fv(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return fv(e())},t}function pv(){return fv(sv.apply(null,arguments).paddingInner(1))}function hv(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function dv(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function yv(){}var vv=.7,gv=1/vv,mv="\\s*([+-]?\\d+)\\s*",bv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",wv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",xv=/^#([0-9a-f]{3,8})$/,Ov=new RegExp(`^rgb\\(${mv},${mv},${mv}\\)$`),Sv=new RegExp(`^rgb\\(${wv},${wv},${wv}\\)$`),jv=new RegExp(`^rgba\\(${mv},${mv},${mv},${bv}\\)$`),Av=new RegExp(`^rgba\\(${wv},${wv},${wv},${bv}\\)$`),Pv=new RegExp(`^hsl\\(${bv},${wv},${wv}\\)$`),Mv=new RegExp(`^hsla\\(${bv},${wv},${wv},${bv}\\)$`),kv={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 Ev(){return this.rgb().formatHex()}function Cv(){return this.rgb().formatRgb()}function _v(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=xv.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?Tv(e):3===r?new Nv(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?Dv(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?Dv(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=Ov.exec(t))?new Nv(e[1],e[2],e[3],1):(e=Sv.exec(t))?new Nv(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=jv.exec(t))?Dv(e[1],e[2],e[3],e[4]):(e=Av.exec(t))?Dv(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Pv.exec(t))?Hv(e[1],e[2]/100,e[3]/100,1):(e=Mv.exec(t))?Hv(e[1],e[2]/100,e[3]/100,e[4]):kv.hasOwnProperty(t)?Tv(kv[t]):"transparent"===t?new Nv(NaN,NaN,NaN,0):null}function Tv(t){return new Nv(t>>16&255,t>>8&255,255&t,1)}function Dv(t,e,r,n){return n<=0&&(t=e=r=NaN),new Nv(t,e,r,n)}function Iv(t,e,r,n){return 1===arguments.length?((i=t)instanceof yv||(i=_v(i)),i?new Nv((i=i.rgb()).r,i.g,i.b,i.opacity):new Nv):new Nv(t,e,r,null==n?1:n);var i}function Nv(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function Bv(){return`#${$v(this.r)}${$v(this.g)}${$v(this.b)}`}function Lv(){const t=Rv(this.opacity);return`${1===t?"rgb(":"rgba("}${zv(this.r)}, ${zv(this.g)}, ${zv(this.b)}${1===t?")":`, ${t})`}`}function Rv(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function zv(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function $v(t){return((t=zv(t))<16?"0":"")+t.toString(16)}function Hv(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Fv(t,e,r,n)}function Vv(t){if(t instanceof Fv)return new Fv(t.h,t.s,t.l,t.opacity);if(t instanceof yv||(t=_v(t)),!t)return new Fv;if(t instanceof Fv)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 Fv(a,c,l,t.opacity)}function Fv(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function Uv(t){return(t=(t||0)%360)<0?t+360:t}function qv(t){return Math.max(0,Math.min(1,t||0))}function Wv(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}hv(yv,_v,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ev,formatHex:Ev,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Vv(this).formatHsl()},formatRgb:Cv,toString:Cv}),hv(Nv,Iv,dv(yv,{brighter(t){return t=null==t?gv:Math.pow(gv,t),new Nv(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?vv:Math.pow(vv,t),new Nv(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Nv(zv(this.r),zv(this.g),zv(this.b),Rv(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:Bv,formatHex:Bv,formatHex8:function(){return`#${$v(this.r)}${$v(this.g)}${$v(this.b)}${$v(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Lv,toString:Lv})),hv(Fv,(function(t,e,r,n){return 1===arguments.length?Vv(t):new Fv(t,e,r,null==n?1:n)}),dv(yv,{brighter(t){return t=null==t?gv:Math.pow(gv,t),new Fv(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?vv:Math.pow(vv,t),new Fv(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 Nv(Wv(t>=240?t-240:t+120,i,n),Wv(t,i,n),Wv(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new Fv(Uv(this.h),qv(this.s),qv(this.l),Rv(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=Rv(this.opacity);return`${1===t?"hsl(":"hsla("}${Uv(this.h)}, ${100*qv(this.s)}%, ${100*qv(this.l)}%${1===t?")":`, ${t})`}`}}));var Yv=t=>()=>t;function Xv(t){return 1==(t=+t)?Kv: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):Yv(isNaN(e)?r:e)}}function Kv(t,e){var r=e-t;return r?function(t,e){return function(r){return t+r*e}}(t,r):Yv(isNaN(t)?e:t)}var Gv=function t(e){var r=Xv(e);function n(t,e){var n=r((t=Iv(t)).r,(e=Iv(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),a=Kv(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 Zv(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 Jv(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]=og(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 Qv(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function tg(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function eg(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]=og(t[r],e[r]):i[r]=e[r];return function(t){for(r in n)i[r]=n[r](t);return i}}var rg=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ng=new RegExp(rg.source,"g");function ig(t,e){var r,n,i,o=rg.lastIndex=ng.lastIndex=0,a=-1,c=[],l=[];for(t+="",e+="";(r=rg.exec(t))&&(n=ng.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:tg(r,n)})),o=ng.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 og(t,e){var r,n=typeof e;return null==e||"boolean"===n?Yv(e):("number"===n?tg:"string"===n?(r=_v(e))?(e=r,Gv):ig:e instanceof _v?Gv:e instanceof Date?Qv:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(e)?Zv:Array.isArray(e)?Jv:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?eg:tg)(t,e)}function ag(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function cg(t,e){void 0===e&&(e=t,t=og);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 lg(t){return+t}var ug=[0,1];function sg(t){return t}function fg(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:function(t){return function(){return t}}(isNaN(e)?NaN:.5)}function pg(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1];return i<n?(n=fg(i,n),o=r(a,o)):(n=fg(n,i),o=r(o,a)),function(t){return o(n(t))}}function hg(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]=fg(t[a],t[a+1]),o[a]=r(e[a],e[a+1]);return function(e){var r=Fy(t,e,1,n)-1;return o[r](i[r](e))}}function dg(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function yg(){var t,e,r,n,i,o,a=ug,c=ug,l=og,u=sg;function s(){var t=Math.min(a.length,c.length);return u!==sg&&(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?hg:pg,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),tg)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,lg),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=ag,s()},f.clamp=function(t){return arguments.length?(u=!!t||sg,s()):u!==sg},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 vg(){return yg()(sg,sg)}function gg(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 mg(t){return(t=gg(Math.abs(t)))?t[1]:NaN}var bg,wg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function xg(t){if(!(e=wg.exec(t)))throw new Error("invalid format: "+t);var e;return new Og({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 Og(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 Sg(t,e){var r=gg(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")}xg.prototype=Og.prototype,Og.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 jg={"%":(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)=>Sg(100*t,e),r:Sg,s:function(t,e){var r=gg(t,e);if(!r)return t+"";var n=r[0],i=r[1],o=i-(bg=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")+gg(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Ag(t){return t}var Pg,Mg,kg,Eg=Array.prototype.map,Cg=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function _g(t){var e,r,n=void 0===t.grouping||void 0===t.thousands?Ag:(e=Eg.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?Ag:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Eg.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=xg(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"):jg[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=jg[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?Cg[8+bg/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=xg(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(mg(e)/3))),i=Math.pow(10,-n),o=Cg[8+n/3];return function(t){return r(i*t)+o}}}}function Tg(t,e,r,n){var i,o=tv(t,e,r);switch((n=xg(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(mg(e)/3)))-mg(Math.abs(t)))}(o,a))||(n.precision=i),kg(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,mg(e)-mg(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,-mg(Math.abs(t)))}(o))||(n.precision=i-2*("%"===n.type))}return Mg(n)}function Dg(t){var e=t.domain;return t.ticks=function(t){var r=e();return Jy(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return Tg(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=Qy(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 Ig(){var t=vg();return t.copy=function(){return dg(t,Ig())},av.apply(t,arguments),Dg(t)}function Ng(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 Bg(t){return Math.log(t)}function Lg(t){return Math.exp(t)}function Rg(t){return-Math.log(-t)}function zg(t){return-Math.exp(-t)}function $g(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Hg(t){return(e,r)=>-t(-e,r)}function Vg(t){const e=t(Bg,Lg),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?$g:t===Math.E?Math.exp:e=>Math.pow(t,e)}(o),r()[0]<0?(n=Hg(n),i=Hg(i),t(Rg,zg)):t(Bg,Lg),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=Jy(a,c,h))}else d=Jy(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=xg(r)).precision||(r.trim=!0),r=Mg(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(Ng(r(),{floor:t=>i(Math.floor(n(t))),ceil:t=>i(Math.ceil(n(t)))})),e}function Fg(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function Ug(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function qg(t){var e=1,r=t(Fg(e),Ug(e));return r.constant=function(r){return arguments.length?t(Fg(e=+r),Ug(e)):e},Dg(r)}function Wg(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function Yg(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Xg(t){return t<0?-t*t:t*t}function Kg(t){var e=t(sg,sg),r=1;return e.exponent=function(e){return arguments.length?1===(r=+e)?t(sg,sg):.5===r?t(Yg,Xg):t(Wg(r),Wg(1/r)):r},Dg(e)}function Gg(){var t=Kg(yg());return t.copy=function(){return dg(t,Gg()).exponent(t.exponent())},av.apply(t,arguments),t}function Zg(t){return Math.sign(t)*t*t}Pg=_g({thousands:",",grouping:[3],currency:["$",""]}),Mg=Pg.format,kg=Pg.formatPrefix;const Jg=new Date,Qg=new Date;function tm(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=>tm((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)=>(Jg.setTime(+e),Qg.setTime(+n),t(Jg),t(Qg),Math.floor(r(Jg,Qg))),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 em=tm((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));em.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?tm((e=>{e.setTime(Math.floor(e/t)*t)}),((e,r)=>{e.setTime(+e+r*t)}),((e,r)=>(r-e)/t)):em:null),em.range;const rm=1e3,nm=6e4,im=36e5,om=864e5,am=6048e5,cm=2592e6,lm=31536e6,um=tm((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*rm)}),((t,e)=>(e-t)/rm),(t=>t.getUTCSeconds()));um.range;const sm=tm((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*rm)}),((t,e)=>{t.setTime(+t+e*nm)}),((t,e)=>(e-t)/nm),(t=>t.getMinutes()));sm.range;const fm=tm((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*nm)}),((t,e)=>(e-t)/nm),(t=>t.getUTCMinutes()));fm.range;const pm=tm((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*rm-t.getMinutes()*nm)}),((t,e)=>{t.setTime(+t+e*im)}),((t,e)=>(e-t)/im),(t=>t.getHours()));pm.range;const hm=tm((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*im)}),((t,e)=>(e-t)/im),(t=>t.getUTCHours()));hm.range;const dm=tm((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*nm)/om),(t=>t.getDate()-1));dm.range;const ym=tm((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/om),(t=>t.getUTCDate()-1));ym.range;const vm=tm((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/om),(t=>Math.floor(t/om)));function gm(t){return tm((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())*nm)/am))}vm.range;const mm=gm(0),bm=gm(1),wm=gm(2),xm=gm(3),Om=gm(4),Sm=gm(5),jm=gm(6);function Am(t){return tm((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)/am))}mm.range,bm.range,wm.range,xm.range,Om.range,Sm.range,jm.range;const Pm=Am(0),Mm=Am(1),km=Am(2),Em=Am(3),Cm=Am(4),_m=Am(5),Tm=Am(6);Pm.range,Mm.range,km.range,Em.range,Cm.range,_m.range,Tm.range;const Dm=tm((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()));Dm.range;const Im=tm((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()));Im.range;const Nm=tm((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()));Nm.every=t=>isFinite(t=Math.floor(t))&&t>0?tm((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,Nm.range;const Bm=tm((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 Lm(t,e,r,n,i,o){const a=[[um,1,rm],[um,5,5e3],[um,15,15e3],[um,30,3e4],[o,1,nm],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,im],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,om],[n,2,1728e5],[r,1,am],[e,1,cm],[e,3,7776e6],[t,1,lm]];function c(e,r,n){const i=Math.abs(r-e)/n,o=$y((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(tv(e/lm,r/lm,n));if(0===o)return em.every(Math.max(tv(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]}Bm.every=t=>isFinite(t=Math.floor(t))&&t>0?tm((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,Bm.range;const[Rm,zm]=Lm(Bm,Im,Pm,vm,hm,fm),[$m,Hm]=Lm(Nm,Dm,mm,dm,pm,sm);function Vm(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 Fm(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 Um(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var qm,Wm,Ym,Xm={"-":"",_:" ",0:"0"},Km=/^\s*\d+/,Gm=/^%/,Zm=/[\\^$*+?|[\]().{}]/g;function Jm(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 Qm(t){return t.replace(Zm,"\\$&")}function tb(t){return new RegExp("^(?:"+t.map(Qm).join("|")+")","i")}function eb(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function rb(t,e,r){var n=Km.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function nb(t,e,r){var n=Km.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function ib(t,e,r){var n=Km.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function ob(t,e,r){var n=Km.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function ab(t,e,r){var n=Km.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function cb(t,e,r){var n=Km.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function lb(t,e,r){var n=Km.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function ub(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 sb(t,e,r){var n=Km.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function fb(t,e,r){var n=Km.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function pb(t,e,r){var n=Km.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function hb(t,e,r){var n=Km.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function db(t,e,r){var n=Km.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function yb(t,e,r){var n=Km.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function vb(t,e,r){var n=Km.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function gb(t,e,r){var n=Km.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function mb(t,e,r){var n=Km.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function bb(t,e,r){var n=Gm.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function wb(t,e,r){var n=Km.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function xb(t,e,r){var n=Km.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function Ob(t,e){return Jm(t.getDate(),e,2)}function Sb(t,e){return Jm(t.getHours(),e,2)}function jb(t,e){return Jm(t.getHours()%12||12,e,2)}function Ab(t,e){return Jm(1+dm.count(Nm(t),t),e,3)}function Pb(t,e){return Jm(t.getMilliseconds(),e,3)}function Mb(t,e){return Pb(t,e)+"000"}function kb(t,e){return Jm(t.getMonth()+1,e,2)}function Eb(t,e){return Jm(t.getMinutes(),e,2)}function Cb(t,e){return Jm(t.getSeconds(),e,2)}function _b(t){var e=t.getDay();return 0===e?7:e}function Tb(t,e){return Jm(mm.count(Nm(t)-1,t),e,2)}function Db(t){var e=t.getDay();return e>=4||0===e?Om(t):Om.ceil(t)}function Ib(t,e){return t=Db(t),Jm(Om.count(Nm(t),t)+(4===Nm(t).getDay()),e,2)}function Nb(t){return t.getDay()}function Bb(t,e){return Jm(bm.count(Nm(t)-1,t),e,2)}function Lb(t,e){return Jm(t.getFullYear()%100,e,2)}function Rb(t,e){return Jm((t=Db(t)).getFullYear()%100,e,2)}function zb(t,e){return Jm(t.getFullYear()%1e4,e,4)}function $b(t,e){var r=t.getDay();return Jm((t=r>=4||0===r?Om(t):Om.ceil(t)).getFullYear()%1e4,e,4)}function Hb(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Jm(e/60|0,"0",2)+Jm(e%60,"0",2)}function Vb(t,e){return Jm(t.getUTCDate(),e,2)}function Fb(t,e){return Jm(t.getUTCHours(),e,2)}function Ub(t,e){return Jm(t.getUTCHours()%12||12,e,2)}function qb(t,e){return Jm(1+ym.count(Bm(t),t),e,3)}function Wb(t,e){return Jm(t.getUTCMilliseconds(),e,3)}function Yb(t,e){return Wb(t,e)+"000"}function Xb(t,e){return Jm(t.getUTCMonth()+1,e,2)}function Kb(t,e){return Jm(t.getUTCMinutes(),e,2)}function Gb(t,e){return Jm(t.getUTCSeconds(),e,2)}function Zb(t){var e=t.getUTCDay();return 0===e?7:e}function Jb(t,e){return Jm(Pm.count(Bm(t)-1,t),e,2)}function Qb(t){var e=t.getUTCDay();return e>=4||0===e?Cm(t):Cm.ceil(t)}function tw(t,e){return t=Qb(t),Jm(Cm.count(Bm(t),t)+(4===Bm(t).getUTCDay()),e,2)}function ew(t){return t.getUTCDay()}function rw(t,e){return Jm(Mm.count(Bm(t)-1,t),e,2)}function nw(t,e){return Jm(t.getUTCFullYear()%100,e,2)}function iw(t,e){return Jm((t=Qb(t)).getUTCFullYear()%100,e,2)}function ow(t,e){return Jm(t.getUTCFullYear()%1e4,e,4)}function aw(t,e){var r=t.getUTCDay();return Jm((t=r>=4||0===r?Cm(t):Cm.ceil(t)).getUTCFullYear()%1e4,e,4)}function cw(){return"+0000"}function lw(){return"%"}function uw(t){return+t}function sw(t){return Math.floor(+t/1e3)}function fw(t){return new Date(t)}function pw(t){return t instanceof Date?+t:+new Date(+t)}function hw(t,e,r,n,i,o,a,c,l,u){var s=vg(),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,pw)):p().map(fw)},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(Ng(r,t)):s},s.copy=function(){return dg(s,hw(t,e,r,n,i,o,a,c,l,u))},s}function dw(){var t,e,r,n,i,o=0,a=1,c=sg,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(og),u.rangeRound=s(ag),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 yw(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function vw(){var t=Kg(dw());return t.copy=function(){return yw(t,vw()).exponent(t.exponent())},cv.apply(t,arguments)}function gw(){var t,e,r,n,i,o,a,c=0,l=.5,u=1,s=1,f=sg,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=cg(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(og),h.rangeRound=d(ag),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 mw(){var t=Kg(gw());return t.copy=function(){return yw(t,mw()).exponent(t.exponent())},cv.apply(t,arguments)}!function(t){qm=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=tb(i),s=eb(i),f=tb(o),p=eb(o),h=tb(a),d=eb(a),y=tb(c),v=eb(c),g=tb(l),m=eb(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:Ob,e:Ob,f:Mb,g:Rb,G:$b,H:Sb,I:jb,j:Ab,L:Pb,m:kb,M:Eb,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:uw,s:sw,S:Cb,u:_b,U:Tb,V:Ib,w:Nb,W:Bb,x:null,X:null,y:Lb,Y:zb,Z:Hb,"%":lw},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:Vb,e:Vb,f:Yb,g:iw,G:aw,H:Fb,I:Ub,j:qb,L:Wb,m:Xb,M:Kb,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:uw,s:sw,S:Gb,u:Zb,U:Jb,V:tw,w:ew,W:rw,x:null,X:null,y:nw,Y:ow,Z:cw,"%":lw},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:pb,e:pb,f:mb,g:lb,G:cb,H:db,I:db,j:hb,L:gb,m:fb,M:yb,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:sb,Q:wb,s:xb,S:vb,u:nb,U:ib,V:ob,w:rb,W:ab,x:function(t,e,n){return j(t,r,e,n)},X:function(t,e,r){return j(t,n,e,r)},y:lb,Y:cb,Z:ub,"%":bb};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=Xm[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=Um(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=Fm(Um(o.y,0,1))).getUTCDay(),n=i>4||0===i?Mm.ceil(n):Mm(n),n=ym.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=Vm(Um(o.y,0,1))).getDay(),n=i>4||0===i?bm.ceil(n):bm(n),n=dm.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?Fm(Um(o.y,0,1)).getUTCDay():Vm(Um(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,Fm(o)):Vm(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 Xm?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),Wm=qm.format,qm.parse,Ym=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 bw=Object.freeze({__proto__:null,scaleBand:sv,scaleDiverging:function t(){var e=Dg(gw()(sg));return e.copy=function(){return yw(e,t())},cv.apply(e,arguments)},scaleDivergingLog:function t(){var e=Vg(gw()).domain([.1,1,10]);return e.copy=function(){return yw(e,t()).base(e.base())},cv.apply(e,arguments)},scaleDivergingPow:mw,scaleDivergingSqrt:function(){return mw.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function t(){var e=qg(gw());return e.copy=function(){return yw(e,t()).constant(e.constant())},cv.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,lg),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,lg):[0,1],Dg(n)},scaleImplicit:lv,scaleLinear:Ig,scaleLog:function t(){const e=Vg(yg()).domain([1,10]);return e.copy=()=>dg(e,t()).base(e.base()),av.apply(e,arguments),e},scaleOrdinal:uv,scalePoint:pv,scalePow:Gg,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]=ov(r,t/e);return a}function a(t){return null==t||isNaN(t=+t)?e:n[Fy(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(Ry),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)},av.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[Fy(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)},av.apply(Dg(c),arguments)},scaleRadial:function t(){var e,r=vg(),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(Zg(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,lg)).map(Zg)),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)},av.apply(o,arguments),Dg(o)},scaleSequential:function t(){var e=Dg(dw()(sg));return e.copy=function(){return yw(e,t())},cv.apply(e,arguments)},scaleSequentialLog:function t(){var e=Vg(dw()).domain([1,10]);return e.copy=function(){return yw(e,t()).base(e.base())},cv.apply(e,arguments)},scaleSequentialPow:vw,scaleSequentialQuantile:function t(){var e=[],r=sg;function n(t){if(null!=t&&!isNaN(t=+t))return r((Fy(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(Ry),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(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n=+n)>=n&&(yield n)}}(t,r)),(n=t.length)&&!isNaN(e=+e)){if(e<=0||n<2)return rv(t);if(e>=1)return ev(t);var n,i=(n-1)*e,o=Math.floor(i),a=ev(nv(t,o).subarray(0,o+1));return a+(rv(t.subarray(o+1))-a)*(i-o)}}(e,n/t)))},n.copy=function(){return t(r).domain(e)},cv.apply(n,arguments)},scaleSequentialSqrt:function(){return vw.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function t(){var e=qg(dw());return e.copy=function(){return yw(e,t()).constant(e.constant())},cv.apply(e,arguments)},scaleSqrt:function(){return Gg.apply(null,arguments).exponent(.5)},scaleSymlog:function t(){var e=qg(yg());return e.copy=function(){return dg(e,t()).constant(e.constant())},av.apply(e,arguments)},scaleThreshold:function t(){var e,r=[.5],n=[0,1],i=1;function o(t){return null!=t&&t<=t?n[Fy(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)},av.apply(o,arguments)},scaleTime:function(){return av.apply(hw($m,Hm,Nm,Dm,mm,dm,pm,sm,um,Wm).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return av.apply(hw(Rm,zm,Bm,Im,Pm,ym,hm,fm,um,Ym).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:Tg}),ww=yn;var xw=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&&!ww(a):r(a,c)))var c=a,l=o}return l};var Ow=xw,Sw=function(t,e){return t>e},jw=$f;var Aw=function(t){return t&&t.length?Ow(t,jw,Sw):void 0},Pw=Ve(Aw);var Mw=xw,kw=function(t,e){return t<e},Ew=$f;var Cw=function(t){return t&&t.length?Mw(t,Ew,kw):void 0},_w=Ve(Cw),Tw=Ji,Dw=Qf,Iw=Qp,Nw=Xr;var Bw=Up,Lw=function(t,e){return(Nw(t)?Tw:Iw)(t,Dw(e))};var Rw=Ve((function(t,e){return Bw(Lw(t,e),1)})),zw=cf;var $w,Hw=Ve((function(t,e){return zw(t,e)})),Vw=1e9,Fw=!0,Uw="[DecimalError] ",qw=Uw+"Invalid argument: ",Ww=Uw+"Exponent out of range: ",Yw=Math.floor,Xw=Math.pow,Kw=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Gw=1e7,Zw=7,Jw=9007199254740991,Qw=Yw(Jw/Zw),tx={};function ex(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)),Fw?fx(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/Zw))>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)/Gw|0,l[o]%=Gw;for(r&&(l.unshift(r),++i),c=l.length;0==l[--c];)l.pop();return e.d=l,e.e=i,Fw?fx(e,f):e}function rx(t,e,r){if(t!==~~t||t<e||t>r)throw Error(qw+t)}function nx(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=Zw-n.length)&&(o+=lx(r)),o+=n;a=t[e],(r=Zw-(n=a+"").length)&&(o+=lx(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}tx.absoluteValue=tx.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},tx.comparedTo=tx.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},tx.decimalPlaces=tx.dp=function(){var t=this,e=t.d.length-1,r=(e-t.e)*Zw;if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},tx.dividedBy=tx.div=function(t){return ix(this,new this.constructor(t))},tx.dividedToIntegerBy=tx.idiv=function(t){var e=this.constructor;return fx(ix(this,new e(t),0,1),e.precision)},tx.equals=tx.eq=function(t){return!this.cmp(t)},tx.exponent=function(){return ax(this)},tx.greaterThan=tx.gt=function(t){return this.cmp(t)>0},tx.greaterThanOrEqualTo=tx.gte=function(t){return this.cmp(t)>=0},tx.isInteger=tx.isint=function(){return this.e>this.d.length-2},tx.isNegative=tx.isneg=function(){return this.s<0},tx.isPositive=tx.ispos=function(){return this.s>0},tx.isZero=function(){return 0===this.s},tx.lessThan=tx.lt=function(t){return this.cmp(t)<0},tx.lessThanOrEqualTo=tx.lte=function(t){return this.cmp(t)<1},tx.logarithm=tx.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($w))throw Error(Uw+"NaN");if(r.s<1)throw Error(Uw+(r.s?"NaN":"-Infinity"));return r.eq($w)?new n(0):(Fw=!1,e=ix(ux(r,o),ux(t,o),o),Fw=!0,fx(e,i))},tx.minus=tx.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?px(e,t):ex(e,(t.s=-t.s,t))},tx.modulo=tx.mod=function(t){var e,r=this,n=r.constructor,i=n.precision;if(!(t=new n(t)).s)throw Error(Uw+"NaN");return r.s?(Fw=!1,e=ix(r,t,0,1).times(t),Fw=!0,r.minus(e)):fx(new n(r),i)},tx.naturalExponential=tx.exp=function(){return ox(this)},tx.naturalLogarithm=tx.ln=function(){return ux(this)},tx.negated=tx.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},tx.plus=tx.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?ex(e,t):px(e,(t.s=-t.s,t))},tx.precision=tx.sd=function(t){var e,r,n,i=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(qw+t);if(e=ax(i)+1,r=(n=i.d.length-1)*Zw+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},tx.squareRoot=tx.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(Uw+"NaN")}for(t=ax(c),Fw=!1,0==(i=Math.sqrt(+c))||i==1/0?(((e=nx(c.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=Yw((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(ix(c,o,a+2)).times(.5),nx(o.d).slice(0,a)===(e=nx(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(fx(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=e)break;a+=4}return Fw=!0,fx(n,r)},tx.times=tx.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%Gw|0,e=c/Gw|0;o[i]=(o[i]+e)%Gw|0}for(;!o[--a];)o.pop();return e?++r:o.shift(),t.d=o,t.e=r,Fw?fx(t,f.precision):t},tx.toDecimalPlaces=tx.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(rx(t,0,Vw),void 0===e?e=n.rounding:rx(e,0,8),fx(r,t+ax(r)+1,e))},tx.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=hx(n,!0):(rx(t,0,Vw),void 0===e?e=i.rounding:rx(e,0,8),r=hx(n=fx(new i(n),t+1,e),!0,t+1)),r},tx.toFixed=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?hx(i):(rx(t,0,Vw),void 0===e?e=o.rounding:rx(e,0,8),r=hx((n=fx(new o(i),t+ax(i)+1,e)).abs(),!1,t+ax(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},tx.toInteger=tx.toint=function(){var t=this,e=t.constructor;return fx(new e(t),ax(t)+1,e.rounding)},tx.toNumber=function(){return+this},tx.toPower=tx.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($w);if(!(c=new l(c)).s){if(t.s<1)throw Error(Uw+"Infinity");return c}if(c.eq($w))return c;if(n=l.precision,t.eq($w))return fx(c,n);if(a=(e=t.e)>=(r=t.d.length-1),o=c.s,a){if((r=u<0?-u:u)<=Jw){for(i=new l($w),e=Math.ceil(n/Zw+4),Fw=!1;r%2&&dx((i=i.times(c)).d,e),0!==(r=Yw(r/2));)dx((c=c.times(c)).d,e);return Fw=!0,t.s<0?new l($w).div(i):fx(i,n)}}else if(o<0)throw Error(Uw+"NaN");return o=o<0&&1&t.d[Math.max(e,r)]?-1:1,c.s=1,Fw=!1,i=t.times(ux(c,n+12)),Fw=!0,(i=ox(i)).s=o,i},tx.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?n=hx(i,(r=ax(i))<=o.toExpNeg||r>=o.toExpPos):(rx(t,1,Vw),void 0===e?e=o.rounding:rx(e,0,8),n=hx(i=fx(new o(i),t,e),t<=(r=ax(i))||r<=o.toExpNeg,t)),n},tx.toSignificantDigits=tx.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(rx(t,1,Vw),void 0===e?e=r.rounding:rx(e,0,8)),fx(new r(this),t,e)},tx.toString=tx.valueOf=tx.val=tx.toJSON=tx[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=ax(t),r=t.constructor;return hx(t,e<=r.toExpNeg||e>=r.toExpPos)};var ix=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%Gw|0,n=r/Gw|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*Gw+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(Uw+"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+(ax(n)-ax(i))+1:o)<0)return new A(0);if(m=m/Zw+2|0,u=0,1==S)for(s=0,k=k[0],m++;(u<x||s)&&m--;u++)b=s*Gw+(M[u]||0),d[u]=b/k|0,s=b%k|0;else{for((s=Gw/(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]>=Gw/2&&++O;do{s=0,(c=e(k,y,S,v))<0?(g=y[0],S!=v&&(g=g*Gw+(y[1]||0)),(s=g/O|0)>1?(s>=Gw&&(s=Gw-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,fx(h,a?o+ax(h)+1:o)}}();function ox(t,e){var r,n,i,o,a,c=0,l=0,u=t.constructor,s=u.precision;if(ax(t)>16)throw Error(Ww+ax(t));if(!t.s)return new u($w);for(null==e?(Fw=!1,a=s):a=e,o=new u(.03125);t.abs().gte(.1);)t=t.times(o),l+=5;for(a+=Math.log(Xw(2,l))/Math.LN10*2+5|0,r=n=i=new u($w),u.precision=a;;){if(n=fx(n.times(t),a),r=r.times(++c),nx((o=i.plus(ix(n,r,a))).d).slice(0,a)===nx(i.d).slice(0,a)){for(;l--;)i=fx(i.times(i),a);return u.precision=s,null==e?(Fw=!0,fx(i,s)):i}i=o}}function ax(t){for(var e=t.e*Zw,r=t.d[0];r>=10;r/=10)e++;return e}function cx(t,e,r){if(e>t.LN10.sd())throw Fw=!0,r&&(t.precision=r),Error(Uw+"LN10 precision limit exceeded");return fx(new t(t.LN10),e)}function lx(t){for(var e="";t--;)e+="0";return e}function ux(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(Uw+(p.s?"NaN":"-Infinity"));if(p.eq($w))return new d(0);if(null==e?(Fw=!1,u=y):u=e,p.eq(10))return null==e&&(Fw=!0),cx(d,u);if(u+=10,d.precision=u,n=(r=nx(h)).charAt(0),o=ax(p),!(Math.abs(o)<15e14))return l=cx(d,u+2,y).times(o+""),p=ux(new d(n+"."+r.slice(1)),u-10).plus(l),d.precision=y,null==e?(Fw=!0,fx(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=nx((p=p.times(t)).d)).charAt(0),f++;for(o=ax(p),n>1?(p=new d("0."+r),o++):p=new d(n+"."+r.slice(1)),c=a=p=ix(p.minus($w),p.plus($w),u),s=fx(p.times(p),u),i=3;;){if(a=fx(a.times(s),u),nx((l=c.plus(ix(a,new d(i),u))).d).slice(0,u)===nx(c.d).slice(0,u))return c=c.times(2),0!==o&&(c=c.plus(cx(d,u+2,y).times(o+""))),c=ix(c,new d(f),u),d.precision=y,null==e?(Fw=!0,fx(c,y)):c;c=l,i+=2}}function sx(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=Yw(r/Zw),t.d=[],n=(r+1)%Zw,r<0&&(n+=Zw),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=Zw;n<i;)t.d.push(+e.slice(n,n+=Zw));e=e.slice(n),n=Zw-e.length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),Fw&&(t.e>Qw||t.e<-Qw))throw Error(Ww+r)}else t.s=0,t.e=0,t.d=[0];return t}function fx(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+=Zw,i=e,u=f[s=0];else{if((s=Math.ceil((n+1)/Zw))>=(o=f.length))return t;for(u=o=f[s],a=1;o>=10;o/=10)a++;i=(n%=Zw)-Zw+a}if(void 0!==r&&(c=u/(o=Xw(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/Xw(10,a-i):0:f[s-1])%10&1||r==(t.s<0?8:7))),e<1||!f[0])return l?(o=ax(t),f.length=1,e=e-o-1,f[0]=Xw(10,(Zw-e%Zw)%Zw),t.e=Yw(-e/Zw)||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=Xw(10,Zw-n),f[s]=i>0?(u/Xw(10,a-i)%Xw(10,i)|0)*o:0),l)for(;;){if(0==s){(f[0]+=o)==Gw&&(f[0]=1,++t.e);break}if(f[s]+=o,f[s]!=Gw)break;f[s--]=0,o=1}for(n=f.length;0===f[--n];)f.pop();if(Fw&&(t.e>Qw||t.e<-Qw))throw Error(Ww+ax(t));return t}function px(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),Fw?fx(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/Zw),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]=Gw-1;--l[o],l[i]+=Gw}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,Fw?fx(e,h):e):new p(0)}function hx(t,e,r){var n,i=ax(t),o=nx(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+lx(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+lx(-i-1)+o,r&&(n=r-a)>0&&(o+=lx(n))):i>=a?(o+=lx(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+lx(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=lx(n))),t.s<0?"-"+o:o}function dx(t,e){if(t.length>e)return t.length=e,!0}function yx(t){if(!t||"object"!=typeof t)throw Error(Uw+"Object expected");var e,r,n,i=["precision",1,Vw,"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(!(Yw(n)===n&&n>=i[e+1]&&n<=i[e+2]))throw Error(qw+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(qw+r+": "+n);this[r]=new this(n)}return this}var vx=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(qw+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])):sx(e,t.toString())}if("string"!=typeof t)throw Error(qw+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!Kw.test(t))throw Error(qw+t);sx(e,t)}if(o.prototype=tx,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=yx,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"});$w=new vx(1);var gx=vx;function mx(t){return function(t){if(Array.isArray(t))return bx(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 bx(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 bx(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 bx(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 wx=function(t){return t},xx={"@@functional/placeholder":!0},Ox=function(t){return t===xx},Sx=function(t){return function e(){return 0===arguments.length||1===arguments.length&&Ox(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},jx=function t(e,r){return 1===e?r:Sx((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!==xx})).length;return a>=e?r.apply(void 0,i):t(e-a,Sx((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 Ox(t)?e.shift():t}));return r.apply(void 0,mx(o).concat(e))})))}))},Ax=function(t){return jx(t.length,t)},Px=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},Mx=Ax((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),kx=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return wx;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))}},Ex=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Cx=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 _x=Ax((function(t,e,r){var n=+t;return n+r*(+e-n)})),Tx=Ax((function(t,e,r){var n=e-+t;return(r-t)/(n=n||1/0)})),Dx=Ax((function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))})),Ix={rangeStep:function(t,e,r){for(var n=new gx(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 gx(t).abs().log(10).toNumber())+1},interpolateNumber:_x,uninterpolateNumber:Tx,uninterpolateTruncation:Dx};function Nx(t){return function(t){if(Array.isArray(t))return Rx(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Lx(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 Bx(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)||Lx(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 Lx(t,e){if(t){if("string"==typeof t)return Rx(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)?Rx(t,e):void 0}}function Rx(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 zx(t){var e=Bx(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function $x(t,e,r){if(t.lte(0))return new gx(0);var n=Ix.getDigitCount(t.toNumber()),i=new gx(10).pow(n),o=t.div(i),a=1!==n?.05:.1,c=new gx(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?c:new gx(Math.ceil(c))}function Hx(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 gx(0),tickMin:new gx(0),tickMax:new gx(0)};var o,a=$x(new gx(e).sub(t).div(r-1),n,i);o=t<=0&&e>=0?new gx(0):(o=new gx(t).add(e).div(2)).sub(new gx(o).mod(a));var c=Math.ceil(o.sub(t).div(a).toNumber()),l=Math.ceil(new gx(e).sub(o).div(a).toNumber()),u=c+l+1;return u>r?Hx(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 gx(c).mul(a)),tickMax:o.add(new gx(l).mul(a))})}var Vx=Cx((function(t){var e=Bx(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=Bx(zx([r,n]),2),l=c[0],u=c[1];if(l===-1/0||u===1/0){var s=u===1/0?[l].concat(Nx(Px(0,i-1).map((function(){return 1/0})))):[].concat(Nx(Px(0,i-1).map((function(){return-1/0}))),[u]);return r>n?Ex(s):s}if(l===u)return function(t,e,r){var n=1,i=new gx(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new gx(10).pow(Ix.getDigitCount(t)-1),i=new gx(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new gx(Math.floor(t)))}else 0===t?i=new gx(Math.floor((e-1)/2)):r||(i=new gx(Math.floor(t)));var a=Math.floor((e-1)/2);return kx(Mx((function(t){return i.add(new gx(t-a).mul(n)).toNumber()})),Px)(0,e)}(l,i,o);var f=Hx(l,u,a,o),p=f.step,h=f.tickMin,d=f.tickMax,y=Ix.rangeStep(h,d.add(new gx(.1).mul(p)),p);return r>n?Ex(y):y})),Fx=Cx((function(t,e){var r=Bx(t,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Bx(zx([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=$x(new gx(l).sub(c).div(u-1),o,0),f=[].concat(Nx(Ix.rangeStep(new gx(c),new gx(l).sub(new gx(.99).mul(s)),s)),[l]);return n>i?Ex(f):f})),Ux="production"===process.env.NODE_ENV,qx="Invariant failed";function Wx(t,e){if(!t){if(Ux)throw new Error(qx);var r="function"==typeof e?e():e,n=r?"".concat(qx,": ").concat(r):qx;throw new Error(n)}}var Yx=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Xx(){return Xx=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},Xx.apply(this,arguments)}function Kx(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 Gx(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 Gx(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 Gx(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 Zx(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 Jx(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=Zx(t,Yx),s=va(u,!1);"x"===t.direction&&"number"!==c.type&&("production"!==process.env.NODE_ENV?Wx(!1,'ErrorBar requires Axis type property to be "number".'):Wx(!1));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=Kx(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 G.createElement(Ma,Xx({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 G.createElement("line",Xx({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))})))}));return G.createElement(Ma,{className:"recharts-errorBars"},f)}function Qx(t){return Qx="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},Qx(t)}function tO(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 eO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tO(Object(r),!0).forEach((function(e){rO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Qx(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Qx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Qx(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Jx.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},Jx.displayName="ErrorBar";var nO=function(t){var e,r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=pa(r,Rp);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:pO(e),value:i||n,payload:e.props}})),eO(eO(eO({},a.props),Rp.getWithHeight(a,i)),{},{payload:e,item:a})):null};function iO(t){return iO="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},iO(t)}function oO(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 aO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?oO(Object(r),!0).forEach((function(e){cO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function cO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=iO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=iO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==iO(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 lO(t){return function(t){if(Array.isArray(t))return uO(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 uO(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 uO(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 uO(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 sO(t,e,r){return xo(t)||xo(e)?r:Ho(e)?wo(t,e,r):Mn(e)?e(t):r}function fO(t,e,r,n){var i=Rw(t,(function(t){return sO(t,e)}));if("number"===r){var o=i.filter((function(t){return $o(t)||parseFloat(t)}));return o.length?[_w(o),Pw(o)]:[1/0,-1/0]}return(n?i.filter((function(t){return!xo(t)})):i).map((function(t){return Ho(t)||t instanceof Date?t:""}))}var pO=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},hO=function(t,e,r,n,i){var o=fa(e.props.children,Jx).filter((function(t){return function(t,e,r){return!!xo(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=sO(e,r,0),i=Array.isArray(n)?[_w(n),Pw(n)]:[n,n],o=a.reduce((function(t,r){var n=sO(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},dO=function(t,e,r,n,i){var o=e.map((function(e){var o=e.props.dataKey;return"number"===r&&o&&hO(t,e,o,n)||fO(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}),[])},yO=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},vO=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*Ro(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!Lo(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}}))},gO=new WeakMap,mO=function(t,e){if("function"!=typeof e)return t;gO.has(t)||gO.set(t,new WeakMap);var r=gO.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},bO=1e-4,wO={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=Lo(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}ol(t,e)}},none:ol,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}ol(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,ol(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=Lo(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)}}},xO=function(t,e,r){var n=e.map((function(t){return t.props.dataKey})),i=wO[r],o=function(){var t=oc([]),e=al,r=ol,n=cl;function i(i){var o,a,c=Array.from(t.apply(this,arguments),ll),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=mc(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:oc(Array.from(e)),i):t},i.value=function(t){return arguments.length?(n="function"==typeof t?t:oc(+t),i):n},i.order=function(t){return arguments.length?(e=null==t?al:"function"==typeof t?t:oc(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(r=null==t?ol:t,i):r},i}().keys(n).value((function(t,e){return+sO(t,e,0)})).order(al).offset(i);return o(t)};function OO(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&&!xo(i[e.dataKey])){var c=Yo(r,"value",i[e.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var l=sO(i,xo(a)?e.dataKey:a);return xo(l)?null:e.scale(l)}var SO=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=sO(o,e.dataKey,e.domain[a]);return xo(c)?null:e.scale(c)-i/2+n},jO=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[_w(e.concat([t[0]]).filter($o)),Pw(e.concat([t[1]]).filter($o))]}),[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}))},AO=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,PO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,MO=function(t,e,r){if(Mn(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if($o(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(AO.test(t[0])){var i=+AO.exec(t[0])[1];n[0]=e[0]-i}else Mn(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if($o(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(PO.test(t[1])){var o=+PO.exec(t[1])[1];n[1]=e[1]+o}else Mn(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},kO=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=Lh(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},EO=function(t,e,r){return t&&t.length?Hw(t,wo(r,"type.defaultProps.domain"))?e:t:e},CO=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 aO(aO({},va(t,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:pO(t),value:sO(e,n),type:c,payload:e,chartType:l,hide:u})};function _O(t){return _O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_O(t)}function TO(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 DO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?TO(Object(r),!0).forEach((function(e){IO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):TO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function IO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=_O(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_O(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 NO=Math.PI/180,BO=function(t){return 180*t/Math.PI},LO=function(t,e,r,n){return{x:t+Math.cos(-NO*n)*r,y:e+Math.sin(-NO*n)*r}},RO=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:BO(l),angleInRadian:l}},zO=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)},$O=function(t,e){var r=t.x,n=t.y,i=RO({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?DO(DO({},e),{},{radius:o,angle:zO(h,e)}):null};function HO(t){return HO="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},HO(t)}var VO=["offset"];function FO(t){return function(t){if(Array.isArray(t))return UO(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 UO(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 UO(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 UO(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 qO(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 WO(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 YO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?WO(Object(r),!0).forEach((function(e){XO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):WO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function XO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=HO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=HO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==HO(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 KO(){return KO=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},KO.apply(this,arguments)}var GO=function(t){var e=t.value,r=t.formatter,n=xo(t.children)?e:t.children;return Mn(r)?r(n):n},ZO=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 Ro(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=LO(s,f,g,n),x=LO(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=xo(t.id)?Fo("recharts-radial-line-"):t.id;return G.createElement("text",KO({},r,{dominantBaseline:"central",className:Yr("recharts-radial-bar-label",l)}),G.createElement("defs",null,G.createElement("path",{id:S,d:O})),G.createElement("textPath",{xlinkHref:"#".concat(S)},e))},JO=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=LO(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=LO(o,a,(c+l)/2,u);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},QO=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 YO(YO({},{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 YO(YO({},{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 YO(YO({},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 YO(YO({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:u}:{})}var w=r?{width:l,height:u}:{};return"insideLeft"===i?YO({x:a+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"},w):"insideRight"===i?YO({x:a+l-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?YO({x:a+l/2,y:c+f,textAnchor:"middle",verticalAnchor:h},w):"insideBottom"===i?YO({x:a+l/2,y:c+u-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?YO({x:a+y,y:c+f,textAnchor:g,verticalAnchor:h},w):"insideTopRight"===i?YO({x:a+l-y,y:c+f,textAnchor:v,verticalAnchor:h},w):"insideBottomLeft"===i?YO({x:a+y,y:c+u-f,textAnchor:g,verticalAnchor:p},w):"insideBottomRight"===i?YO({x:a+l-y,y:c+u-f,textAnchor:v,verticalAnchor:p},w):On(i)&&($o(i.x)||zo(i.x))&&($o(i.y)||zo(i.y))?YO({x:a+Uo(i.x,l),y:c+Uo(i.y,u),textAnchor:"end",verticalAnchor:"end"},w):YO({x:a+l/2,y:c+u/2,textAnchor:"middle",verticalAnchor:"middle"},w)},tS=function(t){return"cx"in t&&$o(t.cx)};function eS(t){var e,r=t.offset,n=YO({offset:void 0===r?5:r},qO(t,VO)),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||xo(a)&&xo(c)&&!Z(l)&&!Mn(l))return null;if(Z(l))return ct(l,n);if(Mn(l)){if(Z(e=lt(l,n)))return e}else e=GO(n);var p=tS(i),h=va(n,!0);if(p&&("insideStart"===o||"insideEnd"===o||"end"===o))return ZO(n,e,h);var d=p?JO(n):QO(n);return G.createElement(Ly,KO({className:Yr("recharts-label",s)},h,d,{breakAll:f}),e)}eS.displayName="Label";var rS=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($o(d)&&$o(y)){if($o(s)&&$o(f))return{x:s,y:f,width:d,height:y};if($o(p)&&$o(h))return{x:p,y:h,width:d,height:y}}return $o(s)&&$o(f)?{x:s,y:f,width:0,height:0}:$o(e)&&$o(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:{}};eS.parseViewBox=rS,eS.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=rS(t),o=fa(n,eS).map((function(t,r){return ct(t,{viewBox:e||i,key:"label-".concat(r)})}));if(!r)return o;var a=function(t,e){return t?!0===t?G.createElement(eS,{key:"label-implicit",viewBox:e}):Ho(t)?G.createElement(eS,{key:"label-implicit",viewBox:e,value:t}):Z(t)?t.type===eS?ct(t,{key:"label-implicit",viewBox:e}):G.createElement(eS,{key:"label-implicit",content:t,viewBox:e}):Mn(t)?G.createElement(eS,{key:"label-implicit",content:t,viewBox:e}):On(t)?G.createElement(eS,KO({viewBox:e},t,{key:"label-implicit"})):null:null}(t.label,e||i);return[a].concat(FO(o))};var nS=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0},iS=Ve(nS);function oS(t){return oS="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},oS(t)}var aS=["valueAccessor"],cS=["data","dataKey","clockWise","id","textBreakAll"];function lS(t){return function(t){if(Array.isArray(t))return uS(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 uS(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 uS(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 uS(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 sS(){return sS=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},sS.apply(this,arguments)}function fS(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 pS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fS(Object(r),!0).forEach((function(e){hS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function hS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=oS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=oS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==oS(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 dS(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 yS=function(t){return Array.isArray(t.value)?iS(t.value):t.value};function vS(t){var e=t.valueAccessor,r=void 0===e?yS:e,n=dS(t,aS),i=n.data,o=n.dataKey,a=n.clockWise,c=n.id,l=n.textBreakAll,u=dS(n,cS);return i&&i.length?G.createElement(Ma,{className:"recharts-label-list"},i.map((function(t,e){var n=xo(o)?r(t,e):sO(t&&t.payload,o),i=xo(c)?{}:{id:"".concat(c,"-").concat(e)};return G.createElement(eS,sS({},va(t,!0),u,i,{parentViewBox:t.parentViewBox,value:n,textBreakAll:l,viewBox:eS.parseViewBox(xo(a)?t:pS(pS({},t),{},{clockWise:a})),key:"label-".concat(e),index:e}))}))):null}function gS(t){return gS="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},gS(t)}function mS(){return mS=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},mS.apply(this,arguments)}function bS(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 wS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?bS(Object(r),!0).forEach((function(e){xS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function xS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=gS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=gS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==gS(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}vS.displayName="LabelList",vS.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=fa(t.children,vS).map((function(t,r){return ct(t,{data:e,key:"labelList-".concat(r)})}));return r?[function(t,e){return t?!0===t?G.createElement(vS,{key:"labelList-implicit",data:e}):G.isValidElement(t)||Mn(t)?G.createElement(vS,{key:"labelList-implicit",data:e,content:t}):On(t)?G.createElement(vS,sS({data:e},t,{key:"labelList-implicit"})):null:null}(t.label,e)].concat(lS(n)):n};var OS=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)/NO,f=l?i:i+o*s,p=l?i-o*s:i;return{center:LO(e,r,u,f),circleTangency:LO(e,r,n,f),lineTangency:LO(e,r,u*Math.cos(s*NO),p),theta:s}},SS=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=function(t,e){return Ro(e-t)*Math.min(Math.abs(e-t),359.999)}(o,t.endAngle),c=o+a,l=LO(e,r,i,o),u=LO(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=LO(e,r,n,o),p=LO(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},jS={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},AS=function(t){var e=wS(wS({},jS),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=Yr("recharts-sector",f),d=o-i,y=Uo(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=Ro(u-l),f=OS({cx:e,cy:r,radius:i,angle:l,sign:s,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=OS({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 "):SS({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=OS({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=OS({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}):SS({cx:r,cy:n,innerRadius:i,outerRadius:o,startAngle:u,endAngle:s}),G.createElement("path",mS({},va(e,!0),{className:h,d:p,role:"img"}))};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)}function MS(){return MS=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},MS.apply(this,arguments)}function kS(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 ES(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kS(Object(r),!0).forEach((function(e){CS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function CS(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}var _S,TS,DS,IS,NS,BS,LS,RS,zS,$S,HS,VS,FS={curveBasisClosed:function(t){return new Wc(t)},curveBasisOpen:function(t){return new Yc(t)},curveBasis:function(t){return new qc(t)},curveBumpX:function(t){return new Ac(t,!0)},curveBumpY:function(t){return new Ac(t,!1)},curveLinearClosed:function(t){return new Xc(t)},curveLinear:wc,curveMonotoneX:function(t){return new Qc(t)},curveMonotoneY:function(t){return new tl(t)},curveNatural:function(t){return new rl(t)},curveStep:function(t){return new il(t,.5)},curveStepAfter:function(t){return new il(t,1)},curveStepBefore:function(t){return new il(t,0)}},US=function(t){return t.x===+t.x&&t.y===+t.y},qS=function(t){return t.x},WS=function(t){return t.y},YS=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(Mn(t))return t;var r="curve".concat(ic(t));return"curveMonotone"!==r&&"curveBump"!==r||!e?FS[r]||wc:FS["".concat(r).concat("vertical"===e?"Y":"X")]}(n,c),f=u?o.filter((function(t){return US(t)})):o;if(Array.isArray(a)){var p=u?a.filter((function(t){return US(t)})):a,h=f.map((function(t,e){return ES(ES({},t),{},{base:p[e]})}));return(e="vertical"===c?jc().y(WS).x1(qS).x0((function(t){return t.base.x})):jc().x(qS).y1(WS).y0((function(t){return t.base.y}))).defined(US).curve(s),e(h)}return(e="vertical"===c&&$o(a)?jc().y(WS).x1(qS).x0(a):$o(a)?jc().x(qS).y1(WS).y0(a):Sc().x(qS).y(WS)).defined(US).curve(s),e(f)},XS=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?YS(t):n;return G.createElement("path",MS({},va(t,!1),ta(t),{className:Yr("recharts-curve",e),d:o,ref:i}))},KS={exports:{}};function GS(){if(TS)return _S;TS=1;var t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return _S=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},_S}function ZS(){if(IS)return DS;IS=1;return DS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function JS(){return BS?NS:(BS=1,NS=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var QS=_o;KS.exports=function(){if($S)return zS;$S=1;var t=_o,e=GS(),r=ZS(),n=JS(),i=function(){if(RS)return LS;RS=1;var t=function(){};if("production"!==process.env.NODE_ENV){var e=ZS(),r={},n=JS();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={})},LS=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){}}),zS=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},zS}()(QS.isElement,!0)}else KS.exports=function(){if(VS)return HS;VS=1;var t=ZS();function e(){}function r(){}return r.resetWarningCache=e,HS=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 tj=Ve(KS.exports),ej=Object.getOwnPropertyNames,rj=Object.getOwnPropertySymbols,nj=Object.prototype.hasOwnProperty;function ij(t,e){return function(r,n,i){return t(r,n,i)&&e(r,n,i)}}function oj(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 aj(t){return ej(t).concat(rj(t))}var cj=Object.hasOwn||function(t,e){return nj.call(t,e)};function lj(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var uj="_owner",sj=Object.getOwnPropertyDescriptor,fj=Object.keys;function pj(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 hj(t,e){return lj(t.getTime(),e.getTime())}function dj(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 yj(t,e,r){var n,i=fj(t),o=i.length;if(fj(e).length!==o)return!1;for(;o-- >0;){if((n=i[o])===uj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!cj(e,n)||!r.equals(t[n],e[n],n,n,t,e,r))return!1}return!0}function vj(t,e,r){var n,i,o,a=aj(t),c=a.length;if(aj(e).length!==c)return!1;for(;c-- >0;){if((n=a[c])===uj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!cj(e,n))return!1;if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;if(i=sj(t,n),o=sj(e,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function gj(t,e){return lj(t.valueOf(),e.valueOf())}function mj(t,e){return t.source===e.source&&t.flags===e.flags}function bj(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 wj(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 xj="[object Arguments]",Oj="[object Boolean]",Sj="[object Date]",jj="[object Map]",Aj="[object Number]",Pj="[object Object]",Mj="[object RegExp]",kj="[object Set]",Ej="[object String]",Cj=Array.isArray,_j="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,Tj=Object.assign,Dj=Object.prototype.toString.call.bind(Object.prototype.toString);var Ij=Nj();function Nj(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?vj:pj,areDatesEqual:hj,areMapsEqual:n?ij(dj,vj):dj,areObjectsEqual:n?vj:yj,arePrimitiveWrappersEqual:gj,areRegExpsEqual:mj,areSetsEqual:n?ij(bj,vj):bj,areTypedArraysEqual:n?vj:wj};if(r&&(i=Tj({},i,r(i))),e){var o=oj(i.areArraysEqual),a=oj(i.areMapsEqual),c=oj(i.areObjectsEqual),l=oj(i.areSetsEqual);i=Tj({},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(Cj(t))return e(t,u,s);if(null!=_j&&_j(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=Dj(t);return p===Sj?r(t,u,s):p===Mj?a(t,u,s):p===jj?n(t,u,s):p===kj?c(t,u,s):p===Pj?"function"!=typeof t.then&&"function"!=typeof u.then&&i(t,u,s):p===xj?i(t,u,s):(p===Oj||p===Aj||p===Ej)&&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 Bj(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 Lj(t){return Lj="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},Lj(t)}function Rj(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 zj(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 zj(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 zj(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 $j(){var t=function(){return null},e=!1,r=function r(n){if(!e){if(Array.isArray(n)){if(!n.length)return;var i=Rj(n),o=i[0],a=i.slice(1);return"number"==typeof o?void Bj(r.bind(null,a),o):(r(o),void Bj(r.bind(null,a)))}"object"===Lj(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 Hj(t){return Hj="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},Hj(t)}function Vj(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 Fj(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Vj(Object(r),!0).forEach((function(e){Uj(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vj(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Uj(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Hj(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Hj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Hj(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Nj({strict:!0}),Nj({circular:!0}),Nj({circular:!0,strict:!0}),Nj({createInternalComparator:function(){return lj}}),Nj({strict:!0,createInternalComparator:function(){return lj}}),Nj({circular:!0,createInternalComparator:function(){return lj}}),Nj({circular:!0,createInternalComparator:function(){return lj},strict:!0});var qj=function(t){return t},Wj=function(t,e){return Object.keys(e).reduce((function(r,n){return Fj(Fj({},r),{},Uj({},n,t(n,e[n])))}),{})},Yj=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(",")},Xj="production"!==process.env.NODE_ENV,Kj=function(t,e,r,n,i,o,a,c){if(Xj&&"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 Gj(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)||Jj(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 Zj(t){return function(t){if(Array.isArray(t))return Qj(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Jj(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 Jj(t,e){if(t){if("string"==typeof t)return Qj(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)?Qj(t,e):void 0}}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}var tA=1e-4,eA=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},rA=function(t,e){return t.map((function(t,r){return t*Math.pow(e,r)})).reduce((function(t,e){return t+e}))},nA=function(t,e){return function(r){var n=eA(t,e);return rA(n,r)}},iA=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=Gj(l,4);n=u[0],i=u[1],o=u[2],a=u[3]}else Kj(!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)}Kj([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=nA(n,o),h=nA(i,a),d=(s=n,f=o,function(t){var e=eA(s,f),r=[].concat(Zj(e.map((function(t,e){return t*e})).slice(1)),[0]);return rA(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)<tA||a<tA)return h(n);n=(e=n-o/a)>1?1:e<0?0:e}return h(n)};return y.isStepper=!1,y},oA=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 iA(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)<tA&&Math.abs(o)<tA?[e,0]:[c,o]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return iA(n);Kj(!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:(Kj(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};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)}function cA(t){return function(t){if(Array.isArray(t))return hA(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||pA(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 lA(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 uA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lA(Object(r),!0).forEach((function(e){sA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function sA(t,e,r){return(e=function(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)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}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){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)||pA(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 pA(t,e){if(t){if("string"==typeof t)return hA(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)?hA(t,e):void 0}}function hA(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 dA=function(t,e,r){return t+(e-t)*r},yA=function(t){return t.from!==t.to},vA=function t(e,r,n){var i=Wj((function(t,r){if(yA(r)){var n=fA(e(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return uA(uA({},r),{},{from:i,velocity:o})}return r}),r);return n<1?Wj((function(t,e){return yA(e)?uA(uA({},e),{},{velocity:dA(e.velocity,i[t].velocity,n),from:dA(e.from,i[t].from,n)}):e}),r):t(e,i,n-1)},gA=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 uA(uA({},r),{},sA({},n,[t[n],e[n]]))}),{}),f=u.reduce((function(r,n){return uA(uA({},r),{},sA({},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=vA(r,f,o),i(uA(uA(uA({},t),e),Wj((function(t,e){return e.from}),f))),c=n,Object.values(f).filter(yA).length&&(p=requestAnimationFrame(h))}:function(o){l||(l=o);var a=(o-l)/n,c=Wj((function(t,e){return dA.apply(void 0,cA(e).concat([r(a)]))}),s);if(i(uA(uA(uA({},t),e),c)),a<1)p=requestAnimationFrame(h);else{var u=Wj((function(t,e){return dA.apply(void 0,cA(e).concat([r(1)]))}),s);i(uA(uA(uA({},t),e),u))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(p)}}};function mA(t){return mA="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},mA(t)}var bA=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function wA(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 xA(t){return function(t){if(Array.isArray(t))return OA(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 OA(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 OA(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 OA(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 SA(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 jA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?SA(Object(r),!0).forEach((function(e){AA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):SA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function AA(t,e,r){return(e=MA(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function PA(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,MA(n.key),n)}}function MA(t){var e=function(t,e){if("object"!==mA(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==mA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===mA(e)?e:String(e)}function kA(t,e){return kA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},kA(t,e)}function EA(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=TA(t);if(e){var i=TA(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return CA(this,r)}}function CA(t,e){if(e&&("object"===mA(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _A(t)}function _A(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TA(t){return TA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},TA(t)}var DA=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&&kA(t,e)}(o,Q);var e,r,n,i=EA(o);function o(t,e){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var n=(r=i.call(this,t,e)).props,a=n.isActive,c=n.attributeName,l=n.from,u=n.to,s=n.steps,f=n.children,p=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(_A(r)),r.changeStyle=r.changeStyle.bind(_A(r)),!a||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:u}),CA(r);if(s&&s.length)r.state={style:s[0].style};else if(l){if("function"==typeof f)return r.state={style:l},CA(r);r.state={style:c?AA({},c,l):l}}else r.state={style:{}};return r}return e=o,(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(!(Ij(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?AA({},i,s):s};(i&&[i]!==s||!i&&l!==s)&&this.setState(f)}this.runAnimation(jA(jA({},this.props),{},{from:s,begin:0}))}}else{var p={style:i?AA({},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=gA(r,n,oA(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(xA(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(xA(t),[e.runJSAnimation.bind(e,{from:f.style,to:l,duration:o,easing:c}),o]);var h=Yj(p,o,c),d=jA(jA(jA({},f.style),l),{},{transition:h});return[].concat(xA(t),[d,o,s]).filter(qj)}),[a,Math.max(l,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=$j());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?AA({},n,i):i,p=Yj(Object.keys(f),r,o);s.start([a,e,jA(jA({},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=wA(t,bA),o=J.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 ct(t,jA(jA({},i),{},{style:jA(jA({},n),a),className:o}))};return 1===o?c(J.only(e)):G.createElement("div",null,J.map(e,(function(t){return c(t)})))}}])&&PA(e.prototype,r),n&&PA(e,n),Object.defineProperty(e,"prototype",{writable:!1}),o}();function IA(t){return IA="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},IA(t)}function NA(){return NA=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},NA.apply(this,arguments)}function BA(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 LA(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 LA(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 LA(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 RA(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 zA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?RA(Object(r),!0).forEach((function(e){$A(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):RA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function $A(t,e,r){return e=function(t){var e=function(t,e){if("object"!=IA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=IA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==IA(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}DA.displayName="Animate",DA.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},DA.propTypes={from:tj.oneOfType([tj.object,tj.string]),to:tj.oneOfType([tj.object,tj.string]),attributeName:tj.string,duration:tj.number,begin:tj.number,easing:tj.oneOfType([tj.string,tj.func]),steps:tj.arrayOf(tj.shape({duration:tj.number.isRequired,style:tj.object.isRequired,easing:tj.oneOfType([tj.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),tj.func]),properties:tj.arrayOf("string"),onAnimationEnd:tj.func})),children:tj.oneOfType([tj.node,tj.func]),isActive:tj.bool,canBegin:tj.bool,onAnimationEnd:tj.func,shouldReAnimate:tj.bool,onAnimationStart:tj.func,onAnimationReStart:tj.func},tj.object,tj.object,tj.object,tj.element,tj.object,tj.object,tj.object,tj.oneOfType([tj.array,tj.element]),tj.any;var HA=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},VA=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},FA={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},UA=function(t){var e=zA(zA({},FA),t),r=et(),n=BA(nt(-1),2),i=n[0],o=n[1];ot((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=Yr("recharts-rectangle",f);return v?G.createElement(DA,{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 G.createElement(DA,{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},G.createElement("path",NA({},va(e,!0),{className:g,d:HA(a,c,n,o,s),ref:r})))})):G.createElement("path",NA({},va(e,!0),{className:g,d:HA(a,c,l,u,s)}))};function qA(){return qA=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},qA.apply(this,arguments)}var WA=function(t){var e=t.cx,r=t.cy,n=t.r,i=Yr("recharts-dot",t.className);return e===+e&&r===+r&&n===+n?G.createElement("circle",qA({},va(t,!1),ta(t),{className:i,cx:e,cy:r,r:n})):null};function YA(t){return YA="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},YA(t)}var XA=["x","y","top","left","width","height","className"];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 GA(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 ZA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=YA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=YA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==YA(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 JA(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 QA=function(t,e,r,n,i,o){return"M".concat(t,",").concat(i,"v").concat(n,"M").concat(o,",").concat(e,"h").concat(r)},tP=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?GA(Object(r),!0).forEach((function(e){ZA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):GA(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},JA(t,XA));return $o(r)&&$o(i)&&$o(s)&&$o(p)&&$o(a)&&$o(l)?G.createElement("path",KA({},va(d,!0),{className:Yr("recharts-cross",h),d:QA(r,i,s,p,a,l)})):null},eP=is(Object.getPrototypeOf,Object),rP=fn,nP=eP,iP=pn,oP=Function.prototype,aP=Object.prototype,cP=oP.toString,lP=aP.hasOwnProperty,uP=cP.call(Object);var sP=Ve((function(t){if(!iP(t)||"[object Object]"!=rP(t))return!1;var e=nP(t);if(null===e)return!0;var r=lP.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&cP.call(r)==uP})),fP=fn,pP=pn;var hP=Ve((function(t){return!0===t||!1===t||pP(t)&&"[object Boolean]"==fP(t)}));function dP(t){return dP="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},dP(t)}function yP(){return yP=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},yP.apply(this,arguments)}function vP(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 gP(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 gP(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 gP(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 mP(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 bP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?mP(Object(r),!0).forEach((function(e){wP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function wP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=dP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dP(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 xP=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")},OP={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},SP=function(t){var e=bP(bP({},OP),t),r=et(),n=vP(nt(-1),2),i=n[0],o=n[1];ot((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=Yr("recharts-trapezoid",f);return y?G.createElement(DA,{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 G.createElement(DA,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,easing:p},G.createElement("path",yP({},va(e,!0),{className:v,d:xP(c,l,n,o,a),ref:r})))})):G.createElement("g",null,G.createElement("path",yP({},va(e,!0),{className:v,d:xP(a,c,l,u,s)})))},jP=["option","shapeType","propTransformer","activeClassName","isActive"];function AP(t){return AP="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},AP(t)}function PP(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 MP(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 kP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?MP(Object(r),!0).forEach((function(e){EP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function EP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=AP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=AP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==AP(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 CP(t,e){return kP(kP({},e),t)}function _P(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return G.createElement(UA,r);case"trapezoid":return G.createElement(SP,r);case"sector":return G.createElement(AS,r);case"symbols":if(function(t,e){return"symbols"===t}(e))return G.createElement(ml,r);break;default:return null}}function TP(t){var e,r=t.option,n=t.shapeType,i=t.propTransformer,o=void 0===i?CP:i,a=t.activeClassName,c=void 0===a?"recharts-active-shape":a,l=t.isActive,u=PP(t,jP);if(Z(r))e=ct(r,kP(kP({},u),function(t){return Z(t)?t.props:t}(r)));else if(Mn(r))e=r(u);else if(sP(r)&&!hP(r)){var s=o(r,u);e=G.createElement(_P,{shapeType:n,elementProps:s})}else{var f=u;e=G.createElement(_P,{shapeType:n,elementProps:f})}return l?G.createElement(Ma,{className:c},e):e}function DP(t,e){return null!=e&&"trapezoids"in t.props}function IP(t,e){return null!=e&&"sectors"in t.props}function NP(t,e){return null!=e&&"points"in t.props}function BP(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 LP(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function RP(t,e){var r=t.x===e.x,n=t.y===e.y,i=t.z===e.z;return r&&n&&i}function zP(t){var e=t.activeTooltipItem,r=t.graphicalItem,n=t.itemData,i=function(t,e){var r;return DP(t,e)?r="trapezoids":IP(t,e)?r="sectors":NP(t,e)&&(r="points"),r}(r,e),o=function(t,e){var r,n;return DP(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:IP(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:NP(t,e)?e.payload:{}}(r,e),a=n.filter((function(t,n){var a=Hw(o,t),c=r.props[i].filter((function(t){var n=function(t,e){var r;return DP(t,e)?r=BP:IP(t,e)?r=LP:NP(t,e)&&(r=RP),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 $P=Math.ceil,HP=Math.max;var VP=Ld,FP=1/0;var UP=function(t,e,r,n){for(var i=-1,o=HP($P((e-t)/(r||1)),0),a=Array(o);o--;)a[n?o:++i]=t,t+=r;return a},qP=Dh,WP=function(t){return t?(t=VP(t))===FP||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0};var YP=Ve(function(t){return function(e,r,n){return n&&"number"!=typeof n&&qP(e,r,n)&&(r=n=void 0),e=WP(e),void 0===r?(r=e,e=0):r=WP(r),n=void 0===n?e<r?1:-1:WP(n),UP(e,r,n,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 KP(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 GP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?KP(Object(r),!0).forEach((function(e){ZP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):KP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ZP(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 JP=["Webkit","Moz","O","ms"];function QP(t){return QP="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},QP(t)}function tM(){return tM=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},tM.apply(this,arguments)}function eM(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 rM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eM(Object(r),!0).forEach((function(e){uM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function nM(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,sM(n.key),n)}}function iM(t,e,r){return e=aM(e),function(t,e){if(e&&("object"===QP(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return cM(t)}(t,oM()?Reflect.construct(e,r||[],aM(t).constructor):e.apply(t,r))}function oM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(oM=function(){return!!t})()}function aM(t){return aM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},aM(t)}function cM(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lM(t,e){return lM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},lM(t,e)}function uM(t,e,r){return(e=sM(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sM(t){var e=function(t,e){if("object"!=QP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=QP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==QP(e)?e:String(e)}var fM=function(t){return t.changedTouches&&!!t.changedTouches.length},pM=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),uM(cM(r=iM(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)})),uM(cM(r),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleDrag(t.changedTouches[0])})),uM(cM(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()})),uM(cM(r),"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),uM(cM(r),"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),uM(cM(r),"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),uM(cM(r),"handleSlideDragStart",(function(t){var e=fM(t)?t.changedTouches[0]:t;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:e.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(cM(r),"startX"),endX:r.handleTravellerDragStart.bind(cM(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&&lM(t,e)}(e,Q),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=sO(r[t],i,t);return Mn(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=fM(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(uM(uM({},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(uM({},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 G.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=J.only(a);return l?G.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=this,i=this.props,o=i.y,a=i.travellerWidth,c=i.height,l=i.traveller,u=i.ariaLabel,s=i.data,f=i.startIndex,p=i.endIndex,h=Math.max(t,this.props.x),d=rM(rM({},va(this.props,!1)),{},{x:h,y:o,width:a,height:c}),y=u||"Min value: ".concat(s[f].name,", Max value: ").concat(s[p].name);return G.createElement(Ma,{tabIndex:0,role:"slider","aria-label":y,"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(),n.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,r))},onFocus:function(){n.setState({isTravellerFocused:!0})},onBlur:function(){n.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(l,d))}},{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 G.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 G.createElement(Ma,{className:"recharts-brush-texts"},G.createElement(Ly,tM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:n+i/2},s),this.getTextOfTick(e)),G.createElement(Ly,tM({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||!$o(i)||!$o(o)||!$o(a)||!$o(c)||a<=0||c<=0)return null;var v=Yr("recharts-brush",r),g=1===G.Children.count(n),m=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),n=JP.reduce((function(t,n){return GP(GP({},t),{},ZP({},n+r,e))}),{});return n[t]=e,n}("userSelect","none");return G.createElement(Ma,{className:v,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:m},this.renderBackground(),g&&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 G.createElement(G.Fragment,null,G.createElement("rect",{x:e,y:r,width:n,height:i,fill:o,stroke:"none"}),G.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),G.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 G.isValidElement(t)?G.cloneElement(t,r):Mn(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 rM({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=pv().domain(YP(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&&nM(r.prototype,n),i&&nM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();uM(pM,"displayName","Brush"),uM(pM,"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 hM=Gp;var dM=Xl,yM=Qf,vM=function(t,e){var r;return hM(t,(function(t,n,i){return!(r=e(t,n,i))})),!!r},gM=Xr,mM=Dh;var bM=Ve((function(t,e,r){var n=gM(t)?dM:vM;return r&&mM(t,e,r)&&(e=void 0),n(t,yM(e))})),wM=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},xM=bh;var OM=function(t,e,r){"__proto__"==e&&xM?xM(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r},SM=OM,jM=Xp,AM=Qf;var PM=function(t,e){var r={};return e=AM(e),jM(t,(function(t,n,i){SM(r,n,e(t,n,i))})),r},MM=Ve(PM);var kM=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},EM=Gp;var CM=kM,_M=function(t,e){var r=!0;return EM(t,(function(t,n,i){return r=!!e(t,n,i)})),r},TM=Qf,DM=Xr,IM=Dh;var NM=Ve((function(t,e,r){var n=DM(t)?CM:_M;return r&&IM(t,e,r)&&(e=void 0),n(t,TM(e))})),BM=["x","y"];function LM(t){return LM="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},LM(t)}function RM(){return RM=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},RM.apply(this,arguments)}function zM(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 $M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zM(Object(r),!0).forEach((function(e){HM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function HM(t,e,r){return e=function(t){var e=function(t,e){if("object"!=LM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=LM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==LM(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 VM(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 FM(t,e){var r=t.x,n=t.y,i=VM(t,BM),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 $M($M($M($M($M({},e),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:s,width:p,name:e.name,radius:e.radius})}function UM(t){return G.createElement(TP,RM({shapeType:"rectangle",propTransformer:FM,activeClassName:"recharts-active-bar"},t))}var qM,WM=["value","background"];function YM(t){return YM="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},YM(t)}function XM(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 KM(){return KM=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},KM.apply(this,arguments)}function GM(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 ZM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?GM(Object(r),!0).forEach((function(e){ik(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):GM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function JM(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,ok(n.key),n)}}function QM(t,e,r){return e=ek(e),function(t,e){if(e&&("object"===YM(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return rk(t)}(t,tk()?Reflect.construct(e,r||[],ek(t).constructor):e.apply(t,r))}function tk(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(tk=function(){return!!t})()}function ek(t){return ek=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ek(t)}function rk(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nk(t,e){return nk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},nk(t,e)}function ik(t,e,r){return(e=ok(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ok(t){var e=function(t,e){if("object"!=YM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=YM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==YM(e)?e:String(e)}var ak=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 ik(rk(t=QM(this,e,[].concat(n))),"state",{isAnimationFinished:!1}),ik(rk(t),"id",Fo("recharts-bar-")),ik(rk(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()})),ik(rk(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&&nk(t,e)}(e,Q),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=va(this.props,!1);return t&&t.map((function(t,r){var l=r===o,u=l?a:n,s=ZM(ZM(ZM({},c),t),{},{isActive:l,option:u,index:r,dataKey:i,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return G.createElement(Ma,KM({className:"recharts-bar-rectangle"},ea(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)}),G.createElement(UM,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 G.createElement(DA,{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=Wo(r.x,t.x),a=Wo(r.y,t.y),c=Wo(r.width,t.width),l=Wo(r.height,t.height);return ZM(ZM({},t),{},{x:o(i),y:a(i),width:c(i),height:l(i)})}if("horizontal"===n){var s=Wo(0,t.height)(i);return ZM(ZM({},t),{},{y:t.y+t.height-s,height:s})}var f=Wo(0,t.width)(i);return ZM(ZM({},t),{},{width:f})}));return G.createElement(Ma,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&&Hw(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=va(this.props.background,!1);return r.map((function(e,r){e.value;var a=e.background,c=XM(e,WM);if(!a)return null;var l=ZM(ZM(ZM(ZM(ZM({},c),{},{fill:"#eee"},a),o),ea(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 G.createElement(UM,KM({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=fa(r.children,Jx);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:sO(t,e)}},s={clipPath:t?"url(#clipPath-".concat(e,")"):null};return G.createElement(Ma,s,c.map((function(t){return G.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=Yr("recharts-bar",n),y=i&&i.allowDataOverflow,v=o&&o.allowDataOverflow,g=y||v,m=xo(p)?this.id:p;return G.createElement(Ma,{className:d},y||v?G.createElement("defs",null,G.createElement("clipPath",{id:"clipPath-".concat(m)},G.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,G.createElement(Ma,{className:"recharts-bar-rectangles",clipPath:g?"url(#clipPath-".concat(m,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(g,m),(!s||h)&&vS.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&&JM(r.prototype,n),i&&JM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();function ck(t){return ck="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},ck(t)}function lk(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 uk(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 sk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uk(Object(r),!0).forEach((function(e){fk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}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"!=ck(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ck(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ck(e)?e:String(e)}qM=ak,ik(ak,"displayName","Bar"),ik(ak,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!fd.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),ik(ak,"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=fa(g,ty),S=f.map((function(t,e){var n,f,p,y,g,b;u?n=function(t,e){if(!e||2!==e.length||!$o(e[0])||!$o(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(!$o(t[0])||t[0]<r)&&(i[0]=r),(!$o(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=sO(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?Wx(!1,"minPointSize callback function received a value with type of ".concat(LM(r),". Currently only numbers are supported.")):Wx(!1)),e)}}(m,qM.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=SO({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=Ro(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=SO({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+=Ro(y||S)*(Math.abs(S)-Math.abs(y))}return ZM(ZM(ZM({},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:[CO(r,t)],tooltipPosition:{x:f+y/2,y:p+g/2}})}));return ZM({data:S,layout:d},p)}));var hk=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=!!pa(l,ak);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();A.forEach((function(t,e){e>0&&(j=Math.min((t||0)-(A[e-1]||0),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=Uo(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:sv(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:Ig(),realScaleType:"linear"}:"category"===i&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:pv(),realScaleType:"point"}:"category"===i?{scale:sv(),realScaleType:"band"}:{scale:Ig(),realScaleType:"linear"};if(Po(n)){var c="scale".concat(ic(n));return{scale:(bw[c]||pv)(),realScaleType:bw[c]?c:"point"}}return Mn(n)?{scale:n}:{scale:pv(),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])-bO,o=Math.max(n[0],n[1])+bO,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=Vx(l,i,a);return t.domain([_w(u),Pw(u)]),{niceTicks:u}}if(i&&"number"===n){var s=t.domain();return{niceTicks:Fx(s,i,a)}}return null}(_,sk(sk({},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 I=sk(sk(sk({},y),D),{},{realScaleType:T,x:p,y:h,scale:_,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return I.bandSize=kO(I,D),y.hide||"xAxis"!==n?y.hide||(s[O]+=(d?-1:1)*I.width):s[O]+=(d?-1:1)*I.height,sk(sk({},o),{},fk({},a,I))}),{})},dk=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)}},yk=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&&lk(e.prototype,r),n&&lk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();fk(yk,"EPS",1e-4);var vk=function(t){var e=Object.keys(t).reduce((function(e,r){return sk(sk({},e),{},fk({},r,yk.create(t[r])))}),{});return sk(sk({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return MM(t,(function(t,r){return e[r].apply(t,{bandAware:n,position:i})}))},isInRange:function(t){return NM(t,(function(t,r){return e[r].isInRange(t)}))}})};var gk=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)},mk=Wi((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 bk(t){return bk="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},bk(t)}var wk=st(void 0),xk=st(void 0),Ok=st(void 0),Sk=st({}),jk=st(void 0),Ak=st(0),Pk=st(0),Mk=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=mk(i);return G.createElement(wk.Provider,{value:r},G.createElement(xk.Provider,{value:n},G.createElement(Sk.Provider,{value:i},G.createElement(Ok.Provider,{value:u},G.createElement(jk.Provider,{value:o},G.createElement(Ak.Provider,{value:l},G.createElement(Pk.Provider,{value:c},a)))))))};function kk(t){var e=Object.keys(t);return 0===e.length?"There are no available ids.":"Available ids are: ".concat(e,".")}var Ek=function(t){var e=ut(wk);null==e&&("production"!==process.env.NODE_ENV?Wx(!1,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Wx(!1));var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Wx(!1,'Could not find xAxis by id "'.concat(t,'" [').concat(bk(t),"]. ").concat(kk(e))):Wx(!1)),r},Ck=function(t){var e=ut(xk);null==e&&("production"!==process.env.NODE_ENV?Wx(!1,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Wx(!1));var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Wx(!1,'Could not find yAxis by id "'.concat(t,'" [').concat(bk(t),"]. ").concat(kk(e))):Wx(!1)),r},_k=function(){return ut(Pk)},Tk=function(){return ut(Ak)};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 Ik(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 Nk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ik(Object(r),!0).forEach((function(e){Bk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ik(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Bk(t,e,r){return e=function(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)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Lk(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 Rk(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 Rk(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 Rk(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 zk(){return zk=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},zk.apply(this,arguments)}function $k(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=ut(jk),s=Ek(i),f=Ck(o),p=ut(Ok);if(!u||!p)return null;Ea(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(wM(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(wM(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 wM(l,"discard")&&bM(b,(function(e){return!t.isInRange(e)}))?null:b}return null}(vk({x:s.scale,y:f.scale}),Ho(e),Ho(r),n&&2===n.length,p,t.position,s.orientation,f.orientation,t);if(!h)return null;var d=Lk(h,2),y=d[0],v=y.x,g=y.y,m=d[1],b=m.x,w=m.y,x=Nk(Nk({clipPath:wM(t,"hidden")?"url(#".concat(u,")"):void 0},va(t,!0)),{},{x1:v,y1:g,x2:b,y2:w});return G.createElement(Ma,{className:Yr("recharts-reference-line",c)},function(t,e){return G.isValidElement(t)?G.cloneElement(t,e):Mn(t)?t(e):G.createElement("line",zk({},e,{className:"recharts-reference-line-line"}))}(a,x),eS.renderCallByParent(t,function(t){var e=t.x1,r=t.y1,n=t.x2,i=t.y2;return dk({x:e,y:r},{x:n,y:i})}({x1:v,y1:g,x2:b,y2:w})))}function Hk(t){return Hk="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},Hk(t)}function Vk(){return Vk=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},Vk.apply(this,arguments)}function Fk(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 Uk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Fk(Object(r),!0).forEach((function(e){qk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Fk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qk(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Hk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Hk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Hk(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}$k.displayName="ReferenceLine",$k.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function Wk(t){var e=t.x,r=t.y,n=t.r,i=t.alwaysShow,o=t.clipPathId,a=Ho(e),c=Ho(r);if(Ea(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=vk({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return wM(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=Uk(Uk({clipPath:wM(t,"hidden")?"url(#".concat(o,")"):void 0},va(t,!0)),{},{cx:u,cy:s});return G.createElement(Ma,{className:Yr("recharts-reference-dot",p)},Wk.renderDot(f,h),eS.renderCallByParent(t,{x:u-n,y:s-n,width:2*n,height:2*n}))}function Yk(t){return Yk="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},Yk(t)}function Xk(){return Xk=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},Xk.apply(this,arguments)}function Kk(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?Kk(Object(r),!0).forEach((function(e){Zk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Kk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Zk(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Yk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Yk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Yk(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Wk.displayName="ReferenceDot",Wk.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},Wk.renderDot=function(t,e){return G.isValidElement(t)?G.cloneElement(t,e):Mn(t)?t(e):G.createElement(WA,Vk({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};function Jk(t){var e=t.x1,r=t.x2,n=t.y1,i=t.y2,o=t.className,a=t.alwaysShow,c=t.clipPathId;Ea(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=Ho(e),u=Ho(r),s=Ho(n),f=Ho(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=vk({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!wM(i,"discard")||f.isInRange(p)&&f.isInRange(h)?dk(p,h):null}(l,u,s,f,t);if(!h&&!p)return null;var d=wM(t,"hidden")?"url(#".concat(c,")"):void 0;return G.createElement(Ma,{className:Yr("recharts-reference-area",o)},Jk.renderRect(p,Gk(Gk({clipPath:d},va(t,!0)),h)),eS.renderCallByParent(t,h))}function Qk(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){if(void 0!==r&&!0!==r(t[i]))return;n.push(t[i])}return n}function tE(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 eE(t){return eE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eE(t)}function 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"!=eE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eE(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 oE(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($o(l)||fd.isSsr)return function(t,e){return Qk(t,e+1)}(i,"number"==typeof l&&$o(l)?l:0);var p=[],h="top"===c||"bottom"===c?"width":"height",d=s&&"width"===h?ly(s,{fontSize:e,letterSpacing:r}):{width:0,height:0},y=function(t,n){var i=Mn(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 gk(n,r)}(ly(i,{fontSize:e,letterSpacing:r}),d,f):ly(i,{fontSize:e,letterSpacing:r})[h]},v=i.length>=2?Ro(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:Qk(n,s)};var o,a=u,p=function(){return void 0===o&&(o=r(e,a)),o},h=e.coordinate,d=0===u||tE(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=nE(nE({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),tE(t,s.tickCoord,(function(){return f}),l,u)&&(u=s.tickCoord-t*(f/2+i),a[c-1]=nE(nE({},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=nE(nE({},o),{},{tickCoord:s<0?o.coordinate-s*t:o.coordinate})}else a[e]=o=nE(nE({},o),{},{tickCoord:o.coordinate});tE(t,o.tickCoord,c,l,u)&&(l=o.tickCoord+t*(c()/2+i),a[e]=nE(nE({},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=nE(nE({},u),{},{tickCoord:f>0?u.coordinate-f*t:u.coordinate})}else o[e]=u=nE(nE({},u),{},{tickCoord:u.coordinate});tE(t,u.tickCoord,s,c,l)&&(l=u.tickCoord-t*(s()/2+i),o[e]=nE(nE({},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})))}Jk.displayName="ReferenceArea",Jk.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},Jk.renderRect=function(t,e){return G.isValidElement(t)?G.cloneElement(t,e):Mn(t)?t(e):G.createElement(UA,Xk({},e,{className:"recharts-reference-area-rect"}))};var aE=["viewBox"],cE=["viewBox"],lE=["ticks"];function uE(t){return uE="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},uE(t)}function sE(){return sE=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},sE.apply(this,arguments)}function fE(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 pE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fE(Object(r),!0).forEach((function(e){bE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function hE(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 dE(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,wE(n.key),n)}}function yE(t,e,r){return e=gE(e),function(t,e){if(e&&("object"===uE(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,vE()?Reflect.construct(e,r||[],gE(t).constructor):e.apply(t,r))}function vE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(vE=function(){return!!t})()}function gE(t){return gE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},gE(t)}function mE(t,e){return mE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},mE(t,e)}function bE(t,e,r){return(e=wE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function wE(t){var e=function(t,e){if("object"!=uE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=uE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==uE(e)?e:String(e)}var xE=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=yE(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&&mE(t,e)}(e,ft),r=e,n=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=hE(t,aE),i=this.props,o=i.viewBox,a=hE(i,cE);return!Xo(r,o)||!Xo(n,a)||!Xo(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=$o(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=pE(pE(pE({},va(this.props,!1)),va(c,!1)),{},{fill:"none"});if("top"===o||"bottom"===o){var u=+("top"===o&&!a||"bottom"===o&&a);l=pE(pE({},l),{},{x1:e,y1:r+u*i,x2:e+n,y2:r+u*i})}else{var s=+("left"===o&&!a||"right"===o&&a);l=pE(pE({},l),{},{x1:e+s*n,y1:r,x2:e+s*n,y2:r+i})}return G.createElement("line",sE({},l,{className:Yr("recharts-cartesian-axis-line",wo(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=oE(pE(pE({},this.props),{},{ticks:t}),r,n),p=this.getTickTextAnchor(),h=this.getTickVerticalAnchor(),d=va(this.props,!1),y=va(l,!1),v=pE(pE({},d),{},{fill:"none"},va(a,!1)),g=f.map((function(t,r){var n=i.getTickLineCoord(t),o=n.line,g=n.tick,m=pE(pE(pE(pE({textAnchor:p,verticalAnchor:h},d),{},{stroke:"none",fill:c},y),g),{},{index:r,payload:t,visibleTicksCount:f.length,tickFormatter:u});return G.createElement(Ma,sE({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},ea(i.props,t,r)),a&&G.createElement("line",sE({},v,o,{className:Yr("recharts-cartesian-axis-tick-line",wo(a,"className"))})),l&&e.renderTickItem(l,m,"".concat(Mn(u)?u(t.value,r):t.value).concat(s||"")))}));return G.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=hE(c,lE),s=l;return Mn(o)&&(s=l&&l.length>0?o(this.props):o(u)),n<=0||i<=0||!s||!s.length?null:G.createElement(Ma,{className:Yr("recharts-cartesian-axis",a),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),eS.renderCallByParent(this.props))}}],i=[{key:"renderTickItem",value:function(t,e,r){return G.isValidElement(t)?G.cloneElement(t,e):Mn(t)?t(e):G.createElement(Ly,sE({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&dE(r.prototype,n),i&&dE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();bE(xE,"displayName","CartesianAxis"),bE(xE,"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 OE=["type","layout","connectNulls","ref"];function SE(t){return SE="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},SE(t)}function jE(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 AE(){return AE=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},AE.apply(this,arguments)}function PE(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 ME(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?PE(Object(r),!0).forEach((function(e){BE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function kE(t){return function(t){if(Array.isArray(t))return EE(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 EE(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 EE(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 EE(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 CE(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,LE(n.key),n)}}function _E(t,e,r){return e=DE(e),function(t,e){if(e&&("object"===SE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return IE(t)}(t,TE()?Reflect.construct(e,r||[],DE(t).constructor):e.apply(t,r))}function TE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(TE=function(){return!!t})()}function DE(t){return DE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},DE(t)}function IE(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NE(t,e){return NE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},NE(t,e)}function BE(t,e,r){return(e=LE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function LE(t){var e=function(t,e){if("object"!=SE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=SE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==SE(e)?e:String(e)}var RE=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 BE(IE(t=_E(this,e,[].concat(n))),"state",{isAnimationFinished:!0,totalLength:0}),BE(IE(t),"generateSimpleStrokeDasharray",(function(t,e){return"".concat(e,"px ").concat(t-e,"px")})),BE(IE(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(kE(i.slice(0,s)),[c-f]);break}var p=u.length%2==0?[0,l]:[l];return[].concat(kE(e.repeat(i,a)),kE(u),p).map((function(t){return"".concat(t,"px")})).join(", ")})),BE(IE(t),"id",Fo("recharts-line-")),BE(IE(t),"pathRef",(function(e){t.mainCurve=e})),BE(IE(t),"handleAnimationEnd",(function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()})),BE(IE(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&&NE(t,e)}(e,Q),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=fa(r.children,Jx);if(!c)return null;var l=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:sO(t.payload,e)}},u={clipPath:t?"url(#clipPath-".concat(e,")"):null};return G.createElement(Ma,u,c.map((function(t){return G.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=va(this.props,!1),u=va(o,!0),s=a.map((function(t,r){var n=ME(ME(ME({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 G.createElement(Ma,AE({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=jE(i,OE),u=ME(ME(ME({},va(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 G.createElement(XS,AE({},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 G.createElement(DA,{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=Wo(n.x,t.x),o=Wo(n.y,t.y);return ME(ME({},t),{},{x:i(a),y:o(a)})}if(f){var l=Wo(2*p,t.x),u=Wo(h/2,t.y);return ME(ME({},t),{},{x:l(a),y:u(a)})}return ME(ME({},t),{},{x:t.x,y:t.y})}));return r.renderCurveStatically(l,t,e)}var u,s=Wo(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||!Hw(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=Yr("recharts-line",o),g=a&&a.allowDataOverflow,m=c&&c.allowDataOverflow,b=g||m,w=xo(h)?this.id:h,x=null!==(t=va(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=(ya(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return G.createElement(Ma,{className:v},g||m?G.createElement("defs",null,G.createElement("clipPath",{id:"clipPath-".concat(w)},G.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&&G.createElement("clipPath",{id:"clipPath-dots-".concat(w)},G.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)&&vS.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(kE(t),[0]):t,n=[],i=0;i<e;++i)n=[].concat(kE(n),kE(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(G.isValidElement(t))r=G.cloneElement(t,e);else if(Mn(t))r=t(e);else{var n=Yr("recharts-line-dot",t?t.className:"");r=G.createElement(WA,AE({},e,{className:n}))}return r}}],n&&CE(r.prototype,n),i&&CE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();BE(RE,"displayName","Line"),BE(RE,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!fd.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),BE(RE,"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 ME({points:l.map((function(t,e){var l=sO(t,a);return"horizontal"===s?{x:OO({axis:r,ticks:i,bandSize:c,entry:t,index:e}),y:xo(l)?null:n.scale(l),value:l,payload:t}:{x:xo(l)?null:r.scale(l),y:OO({axis:n,ticks:o,bandSize:c,entry:t,index:e}),value:l,payload:t}})),layout:s},u)}));var zE,$E=["layout","type","stroke","connectNulls","isRange","ref"];function HE(t){return HE="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},HE(t)}function VE(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 FE(){return FE=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},FE.apply(this,arguments)}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 qE(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){JE(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 WE(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,QE(n.key),n)}}function YE(t,e,r){return e=KE(e),function(t,e){if(e&&("object"===HE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return GE(t)}(t,XE()?Reflect.construct(e,r||[],KE(t).constructor):e.apply(t,r))}function XE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(XE=function(){return!!t})()}function KE(t){return KE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},KE(t)}function GE(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZE(t,e){return ZE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ZE(t,e)}function JE(t,e,r){return(e=QE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function QE(t){var e=function(t,e){if("object"!=HE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=HE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==HE(e)?e:String(e)}var tC=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 JE(GE(t=YE(this,e,[].concat(n))),"state",{isAnimationFinished:!0}),JE(GE(t),"id",Fo("recharts-area-")),JE(GE(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),Mn(e)&&e()})),JE(GE(t),"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),Mn(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&&ZE(t,e)}(e,Q),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=va(this.props,!1),f=va(c,!0),p=l.map((function(t,r){var n=qE(qE(qE({key:"dot-".concat(r),r:3},s),f),{},{dataKey:u,cx:t.x,cy:t.y,index:r,value:t.value,payload:t.payload});return e.renderDotItem(c,n)})),h={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return G.createElement(Ma,FE({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=Pw(n.map((function(t){return t.y||0})));return $o(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Pw(r.map((function(t){return t.y||0}))),l)),$o(l)?G.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=Pw(n.map((function(t){return t.x||0})));return $o(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Pw(r.map((function(t){return t.x||0}))),l)),$o(l)?G.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=VE(i,$E);return G.createElement(Ma,{clipPath:r?"url(#clipPath-".concat(n,")"):null},G.createElement(XS,FE({},va(s,!0),{points:t,connectNulls:l,type:a,baseLine:e,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&G.createElement(XS,FE({},va(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:t})),"none"!==c&&u&&G.createElement(XS,FE({},va(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 G.createElement(DA,{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=Wo(n.x,t.x),o=Wo(n.y,t.y);return qE(qE({},t),{},{x:i(a),y:o(a)})}return t}));return c=$o(o)&&"number"==typeof o?Wo(h,o)(a):xo(o)||Lo(o)?Wo(h,0)(a):o.map((function(t,e){var r=Math.floor(e*l);if(h[r]){var n=h[r],i=Wo(n.x,t.x),o=Wo(n.y,t.y);return qE(qE({},t),{},{x:i(a),y:o(a)})}return t})),r.renderAreaStatically(u,c,t,e)}return G.createElement(Ma,null,G.createElement("defs",null,G.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(a))),G.createElement(Ma,{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||!Hw(c,n)||!Hw(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=Yr("recharts-area",o),g=l&&l.allowDataOverflow,m=u&&u.allowDataOverflow,b=g||m,w=xo(h)?this.id:h,x=null!==(t=va(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=(ya(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return G.createElement(Ma,{className:v},g||m?G.createElement("defs",null,G.createElement("clipPath",{id:"clipPath-".concat(w)},G.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&&G.createElement("clipPath",{id:"clipPath-dots-".concat(w)},G.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)&&vS.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&&WE(r.prototype,n),i&&WE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();function eC(){return eC=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},eC.apply(this,arguments)}zE=tC,JE(tC,"displayName","Area"),JE(tC,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!fd.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),JE(tC,"getBaseValue",(function(t,e,r,n){var i=t.layout,o=t.baseValue,a=e.props.baseValue,c=null!=a?a:o;if($o(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]})),JE(tC,"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=zE.getBaseValue(r,n,i,o),g="horizontal"===d,m=!1,b=p.map((function(t,e){var r;y?r=s[f+e]:(r=sO(t,u),Array.isArray(r)?m=!0:r=[v,r]);var n=null==r[1]||y&&null==sO(t,u);return g?{x:OO({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:OO({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),qE({points:b,baseLine:e,layout:d,isRange:m},h)})),JE(tC,"renderDotItem",(function(t,e){return G.isValidElement(t)?G.cloneElement(t,e):Mn(t)?t(e):G.createElement(WA,FE({},e,{className:"recharts-area-dot"}))}));var rC=function(t){var e=t.xAxisId,r=_k(),n=Tk(),i=Ek(e);return null==i?null:G.createElement(xE,eC({},i,{className:Yr("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return vO(t,!0)}}))};function nC(){return nC=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},nC.apply(this,arguments)}rC.displayName="XAxis",rC.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 iC=function(t){var e=t.yAxisId,r=_k(),n=Tk(),i=Ck(e);return null==i?null:G.createElement(xE,nC({},i,{className:Yr("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return vO(t,!0)}}))};function oC(t){return function(t){if(Array.isArray(t))return aC(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 aC(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 aC(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 aC(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}iC.displayName="YAxis",iC.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 cC=function(t,e,r,n,i){var o=fa(t,$k),a=fa(t,Wk),c=[].concat(oC(o),oC(a)),l=fa(t,Jk),u="".concat(n,"Id"),s=n[0],f=e;if(c.length&&(f=c.reduce((function(t,e){if(e.props[u]===r&&wM(e.props,"extendDomain")&&$o(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&&wM(e.props,"extendDomain")&&$o(e.props[p])&&$o(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 $o(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},lC={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}(lC);var uC=new(Ve(lC.exports)),sC="recharts.syncMouseEvents";function fC(t){return fC="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},fC(t)}function pC(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,dC(n.key),n)}}function hC(t,e,r){return(e=dC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dC(t){var e=function(t,e){if("object"!=fC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fC(e)?e:String(e)}var yC=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),hC(this,"activeIndex",0),hC(this,"coordinateList",[]),hC(this,"layout","horizontal")}var e,r,n;return e=t,r=[{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})}}}],r&&pC(e.prototype,r),n&&pC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function vC(t){var e=t.cx,r=t.cy,n=t.radius,i=t.startAngle,o=t.endAngle;return{points:[LO(e,r,n,i),LO(e,r,n,o)],cx:e,cy:r,radius:n,startAngle:i,endAngle:o}}function gC(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 vC(e);var c=e.cx,l=e.cy,u=e.innerRadius,s=e.outerRadius,f=e.angle,p=LO(c,l,u,f),h=LO(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 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){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 wC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?bC(Object(r),!0).forEach((function(e){xC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function xC(t,e,r){return e=function(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)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function OC(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=XS;if("ScatterChart"===f)e=o,p=tP;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=UA;else if("radial"===s){var h=vC(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=AS}else e={points:gC(s,o,c)},p=XS;var g=wC(wC(wC(wC({stroke:"#ccc",pointerEvents:"none"},c),e),va(r.props.cursor,!1)),{},{payload:a,payloadIndex:l,className:"recharts-tooltip-cursor"});return Z(r.props.cursor)?ct(r.props.cursor,g):lt(p,g)}var SC=["item"],jC=["children","className","width","height","style","compact","title","desc"];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(){return PC=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},PC.apply(this,arguments)}function MC(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)||BC(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 kC(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 EC(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,HC(n.key),n)}}function CC(t,e,r){return e=TC(e),function(t,e){if(e&&("object"===AC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return DC(t)}(t,_C()?Reflect.construct(e,r||[],TC(t).constructor):e.apply(t,r))}function _C(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_C=function(){return!!t})()}function TC(t){return TC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},TC(t)}function DC(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 NC(t){return function(t){if(Array.isArray(t))return LC(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||BC(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 BC(t,e){if(t){if("string"==typeof t)return LC(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)?LC(t,e):void 0}}function LC(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 RC(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 zC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?RC(Object(r),!0).forEach((function(e){$C(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):RC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function $C(t,e,r){return(e=HC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function HC(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)}var VC={xAxis:["bottom","top"],yAxis:["left","right"]},FC={width:"100%",height:"100%"},UC={x:0,y:0};function qC(t){return t}var WC=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(NC(t),NC(r)):t}),[]);return o.length>0?o:t&&t.length&&$o(n)&&$o(i)?t.slice(n,i+1):[]};function YC(t){return"number"===t?[0,"auto"]:void 0}var XC=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=WC(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=Yo(void 0===s?a:s,o.dataKey,n):u=s&&s[r]||a[r];return u?[].concat(NC(i),[CO(c,u)]):i}),[])},KC=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(Ro(s-u)!==Ro(f-s)){var h=[];if(Ro(f-s)===Ro(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=XC(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 zC(zC(zC({},n),LO(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,l=n.angle;return zC(zC(zC({},n),LO(n.cx,n.cy,c,l)),{},{angle:l,radius:c})}return UC}(r,a,u,i);return{activeTooltipIndex:u,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},GC=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=yO(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=WC(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&&$o(n)&&$o(i))return!0}return!1})(r.props.domain,g,y)&&(S=MO(r.props.domain,null,g),!p||"number"!==y&&"auto"===b||(A=fO(P,v,"category")));var k=YC(y);if(!S||0===S.length){var E,C=null!==(E=r.props.domain)&&void 0!==E?E:k;if(v){if(S=fO(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=YP(0,M)):m||(S=EO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(NC(t),[e])}),[]))}else if("category"===y)S=m?S.filter((function(t){return""!==t&&!xo(t)})):EO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0||""===e||xo(e)?t:[].concat(NC(t),[e])}),[]);else if("number"===y){var T=function(t,e,r,n,i){var o=e.map((function(e){return hO(t,e,r,i,n)})).filter((function(t){return!xo(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=fO(P,v,"category"))}else S=p?YP(0,M):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:jO(a[O].stackGroups,c,l):dO(P,n.filter((function(t){return t.props[o]===O&&(x||!t.props.hide)})),y,u,!0);if("number"===y)S=cC(s,S,O,i,w),C&&(S=MO(C,S,g));else if("category"===y&&C){var D=C;S.every((function(t){return D.indexOf(t)>=0}))&&(S=D)}}return zC(zC({},e),{},$C({},O,zC(zC({},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})))}),{})},ZC=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=fa(u,i),p={};return f&&f.length?p=GC(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=WC(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:l}),p=f.length,h=yO(u,i),d=-1;return r.reduce((function(t,e){var y,v=e.props[o],g=YC("number");return t[v]?t:(d++,h?y=YP(0,p):a&&a[v]&&a[v].hasStack?(y=jO(a[v].stackGroups,c,l),y=cC(s,y,v,i)):(y=MO(g,dO(f,r.filter((function(t){return t.props[o]===v&&!t.props.hide})),"number",u),n.defaultProps.allowDataOverflow),y=cC(s,y,v,i)),zC(zC({},t),{},$C({},v,zC(zC({axisType:i},n.defaultProps),{},{hide:!0,orientation:wo(VC,"".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},JC=function(t){var e=t.children,r=t.defaultShowTooltip,n=pa(e,pM),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)}},QC=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"}},t_=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=pa(u,pM),p=pa(u,Rp),h=Object.keys(a).reduce((function(t,e){var r=a[e],n=r.orientation;return r.mirror||r.hide?t:zC(zC({},t),{},$C({},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:zC(zC({},t),{},$C({},n,wo(t,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=zC(zC({},d),h),v=y.bottom;f&&(y.bottom+=f.props.height||pM.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=nO({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&&$o(t[p]))return aO(aO({},t),{},cO({},p,t[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&$o(t[h]))return aO(aO({},t),{},cO({},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 zC(zC({brushBottom:v},y),{},{width:Math.max(g,0),height:Math.max(m,0)})},e_=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=QC(s),y=d.numericAxisName,v=d.cateAxisName,g=function(t){return!(!t||!t.length)&&t.some((function(t){var e=ca(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(r),m=g&&function(t){var e=t.barSize,r=t.stackGroups,n=void 0===r?{}:r;if(!n)return{};for(var i={},o=Object.keys(n),a=0,c=o.length;a<c;a++)for(var l=n[o[a]].stackGroups,u=Object.keys(l),s=0,f=u.length;s<f;s++){var p=l[u[s]],h=p.items,d=p.cateAxisId,y=h.filter((function(t){return ca(t.type).indexOf("Bar")>=0}));if(y&&y.length){var v=y[0].props.barSize,g=y[0].props[d];i[g]||(i[g]=[]),i[g].push({item:y[0],stackList:y.slice(1),barSize:xo(v)?e:v})}}return i}({barSize:u,stackGroups:n}),b=[];return r.forEach((function(r,u){var d=WC(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:c}),g=r.props,w=g.dataKey,x=g.maxBarSize,O=r.props["".concat(y,"Id")],S=r.props["".concat(v,"Id")],j=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?Wx(!1,"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:"")):Wx(!1));var l=a[c];return zC(zC({},t),{},$C($C({},n.axisType,l),"".concat(n.axisType,"Ticks"),vO(l)))}),{}),A=j[v],P=j["".concat(v,"Ticks")],M=n&&n[O]&&n[O].hasStack&&function(t,e){var r=t.props.stackId;if(Ho(r)){var n=e[r];if(n){var i=n.items.indexOf(t);return i>=0?n.stackedData[i]:null}}return null}(r,n[O].stackGroups),k=ca(r.type).indexOf("Bar")>=0,E=kO(A,P),C=[];if(k){var _,T,D=xo(x)?h:x,I=null!==(_=null!==(T=kO(A,P,!0))&&void 0!==T?T:D)&&void 0!==_?_:0;C=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=Uo(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(lO(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=Uo(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(lO(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:I!==E?I:E,sizeList:m[S],maxBarSize:D}),I!==E&&(C=C.map((function(t){return zC(zC({},t),{},{position:zC(zC({},t.position),{},{offset:t.position.offset-I/2})})})))}var N,B,L=r&&r.type&&r.type.getComposedData;L&&b.push({props:zC(zC({},L(zC(zC({},j),{},{displayedData:d,props:t,dataKey:w,item:r,bandSize:E,barPosition:C,offset:i,stackedData:M,layout:s,dataStartIndex:a,dataEndIndex:c}))),{},$C($C($C({key:r.key||"item-".concat(u)},y,j[y]),v,j[v]),"animationId",o)),childIndex:(N=r,B=t.children,sa(B).indexOf(N)),item:r})})),b},h=function(t,e){var i=t.props,o=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!ha({props:i}))return null;var u=i.children,f=i.layout,h=i.stackOffset,d=i.data,y=i.reverseStackOrder,v=QC(f),g=v.numericAxisName,m=v.cateAxisName,b=fa(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(Ho(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[Fo("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return aO(aO({},t),{},cO({},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 aO(aO({},e),{},cO({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:xO(t,a.items,i)}))}),{})),aO(aO({},e),{},cO({},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 zC(zC({},t),{},$C({},r,ZC(i,zC(zC({},e),{},{graphicalItems:b,stackGroups:e.axisType===g&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),O=t_(zC(zC({},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=qo(A),{tooltipTicks:j=vO(S,!1,!0),orderedTooltipTicks:Lh(j,(function(t){return t.coordinate})),tooltipAxis:S,tooltipAxisBandSize:kO(S,j)}),M=p(i,zC(zC({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:w,offset:O}));return zC(zC({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),$C(DC(o=CC(this,e,[t])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),$C(DC(o),"accessibilityManager",new yC),$C(DC(o),"handleLegendBBoxUpdate",(function(t){if(t){var e=o.state,r=e.dataStartIndex,n=e.dataEndIndex,i=e.updateId;o.setState(zC({legendBBox:t},h({props:o.props,dataStartIndex:r,dataEndIndex:n,updateId:i},zC(zC({},o.state),{},{legendBBox:t}))))}})),$C(DC(o),"handleReceiveSyncEvent",(function(t,e,r){if(o.props.syncId===t){if(r===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(e)}})),$C(DC(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 zC({dataStartIndex:e,dataEndIndex:r},h({props:o.props,dataStartIndex:e,dataEndIndex:r,updateId:n},o.state))})),o.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}})),$C(DC(o),"handleMouseEnter",(function(t){var e=o.getMouseInfo(t);if(e){var r=zC(zC({},e),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseEnter;Mn(n)&&n(r,t)}})),$C(DC(o),"triggeredAfterMouseMove",(function(t){var e=o.getMouseInfo(t),r=e?zC(zC({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseMove;Mn(n)&&n(r,t)})),$C(DC(o),"handleItemMouseEnter",(function(t){o.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))})),$C(DC(o),"handleItemMouseLeave",(function(){o.setState((function(){return{isTooltipActive:!1}}))})),$C(DC(o),"handleMouseMove",(function(t){t.persist(),o.throttleTriggeredAfterMouseMove(t)})),$C(DC(o),"handleMouseLeave",(function(t){o.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};o.setState(e),o.triggerSyncEvent(e);var r=o.props.onMouseLeave;Mn(r)&&r(e,t)})),$C(DC(o),"handleOuterEvent",(function(t){var e,r=function(t){var e=t&&t.type;return e&&aa[e]?aa[e]:null}(t),n=wo(o.props,"".concat(r));r&&Mn(n)&&n(null!==(e=/.*touch.*/i.test(r)?o.getMouseInfo(t.changedTouches[0]):o.getMouseInfo(t))&&void 0!==e?e:{},t)})),$C(DC(o),"handleClick",(function(t){var e=o.getMouseInfo(t);if(e){var r=zC(zC({},e),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onClick;Mn(n)&&n(r,t)}})),$C(DC(o),"handleMouseDown",(function(t){var e=o.props.onMouseDown;Mn(e)&&e(o.getMouseInfo(t),t)})),$C(DC(o),"handleMouseUp",(function(t){var e=o.props.onMouseUp;Mn(e)&&e(o.getMouseInfo(t),t)})),$C(DC(o),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(t.changedTouches[0])})),$C(DC(o),"handleTouchStart",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseDown(t.changedTouches[0])})),$C(DC(o),"handleTouchEnd",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseUp(t.changedTouches[0])})),$C(DC(o),"triggerSyncEvent",(function(t){void 0!==o.props.syncId&&uC.emit(sC,o.props.syncId,t,o.eventEmitterSymbol)})),$C(DC(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(zC({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=zC(zC({},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=XC(o.state,o.props.data,s),x=d[s]?{x:"horizontal"===r?d[s].coordinate:g,y:"horizontal"===r?m:d[s].coordinate}:UC;o.setState(zC(zC({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else o.setState(t)})),$C(DC(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 G.createElement(OC,{key:d,activeCoordinate:a,activePayload:c,activeTooltipIndex:u,chartName:r,element:t,isActive:p,layout:h,offset:l,tooltipAxisBandSize:s,tooltipEventType:f})})),$C(DC(o),"renderPolarAxis",(function(t,e,r){var n=wo(t,"type.axisType"),i=wo(o.state,"".concat(n,"Map")),a=i&&i[t.props["".concat(n,"Id")]];return ct(t,zC(zC({},a),{},{className:n,key:t.key||"".concat(e,"-").concat(r),ticks:vO(a,!0)}))})),$C(DC(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=qo(c),s=qo(l),f=s.cx,p=s.cy,h=s.innerRadius,d=s.outerRadius;return ct(t,{polarAngles:Array.isArray(n)?n:vO(s,!0).map((function(t){return t.coordinate})),polarRadius:Array.isArray(i)?i:vO(u,!0).map((function(t){return t.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:d,key:t.key||"polar-grid",radialLines:r})})),$C(DC(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=nO({children:r,formattedGraphicalItems:t,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=kC(l,SC);return ct(s,zC(zC({},f),{},{chartWidth:n,chartHeight:i,margin:a,onBBoxUpdate:o.handleLegendBBoxUpdate}))})),$C(DC(o),"renderTooltip",(function(){var t,e=o.props,r=e.children,n=e.accessibilityLayer,i=pa(r,Sd);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 ct(i,{viewBox:zC(zC({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?u:[],coordinate:l,accessibilityLayer:n})})),$C(DC(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 ct(t,{key:t.key||"_recharts-brush",onChange:mO(o.handleBrushChange,t.props.onChange),data:n,x:$o(t.props.x)?t.props.x:a.left,y:$o(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:$o(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})})),$C(DC(o),"renderReferenceElement",(function(t,e,r){if(!t)return null;var n=DC(o).clipPathId,i=o.state,a=i.xAxisMap,c=i.yAxisMap,l=i.offset,u=t.props,s=u.xAxisId,f=u.yAxisId;return ct(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})})),$C(DC(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=zC(zC({index:o,dataKey:u.dataKey,cx:n.x,cy:n.y,r:4,fill:pO(r.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(l,"-activePoint-").concat(o)},va(s,!1)),ta(s));return c.push(e.renderActiveDot(s,f)),i?c.push(e.renderActiveDot(s,zC(zC({},f),{},{cx:i.x,cy:i.y,key:"".concat(l,"-basePoint-").concat(o)}))):a&&c.push(null),c})),$C(DC(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=pa(o.props.children,Sd),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:mO(o.handleItemMouseEnter,t.props.onClick)}:"axis"!==i&&(O={onMouseLeave:mO(o.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:mO(o.handleItemMouseEnter,t.props.onMouseEnter)});var S=ct(t,zC(zC({},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=zC(zC(zC({},n.props),O),{},{activeIndex:k});return[ct(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=Yo(h,T,s),_=d&&y&&Yo(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[ct(t,zC(zC(zC({},n.props),O),{},{activeIndex:D})),null,null]}if(!xo(C))return[S].concat(NC(o.renderActivePoints({item:n,activePoint:C,basePoint:_,childIndex:u,isRange:d})))}return d?[S,null,null]:[S,null]})),$C(DC(o),"renderCustomized",(function(t,e,r){return ct(t,zC(zC({key:"recharts-customized-".concat(r)},o.props),o.state))})),$C(DC(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=t.id)&&void 0!==n?n:Fo("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=Wd(o.triggeredAfterMouseMove,null!==(i=t.throttleDelay)&&void 0!==i?i:1e3/60),o.state={},o}var n,i,a;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,ft),n=e,i=[{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=pa(e,Sd);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=XC(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=zC(zC({},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){return this.props.accessibilityLayer?(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}}),null):null;var r,n}},{key:"componentDidUpdate",value:function(t){ga([pa(t.children,Sd)],[pa(this.props.children,Sd)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=pa(this.props.children,Sd);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=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 zC(zC({},o),{},{xValue:h,yValue:d})}var y=KC(this.state,this.props.data,this.props.layout,c);return y?zC(zC({},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=qo(l);return $O({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=pa(t,Sd),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}),zC(zC({},ta(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){uC.on(sC,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){uC.removeListener(sC,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===ca(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 G.createElement("defs",null,G.createElement("clipPath",{id:t},G.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=MC(e,2),n=r[0],i=r[1];return zC(zC({},t),{},$C({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=MC(e,2),n=r[0],i=r[1];return zC(zC({},t),{},$C({},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=ca(l.type);if("Bar"===u){var s=(c.data||[]).find((function(e){return VA(t,e)}));if(s)return{graphicalItem:a,payload:s}}else if("RadialBar"===u){var f=(c.data||[]).find((function(e){return $O(t,e)}));if(f)return{graphicalItem:a,payload:f}}else if(DP(a,n)||IP(a,n)||NP(a,n)){var p=zP({graphicalItem:a,activeTooltipItem:n,itemData:l.props.data}),h=void 0===l.props.activeIndex?p:l.props.activeIndex;return{graphicalItem:zC(zC({},a),{},{childIndex:h}),payload:NP(a,n)?l.props.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var t,e=this;if(!ha(this))return null;var r,n,i=this.props,o=i.children,a=i.className,c=i.width,l=i.height,u=i.style,s=i.compact,f=i.title,p=i.desc,h=kC(i,jC),d=va(h,!1);if(s)return G.createElement(Mk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},G.createElement(Sa,PC({},d,{width:c,height:l,title:f,desc:p}),this.renderClipPath(),ba(o,this.renderMap)));this.props.accessibilityLayer&&(d.tabIndex=null!==(r=this.props.tabIndex)&&void 0!==r?r:0,d.role=null!==(n=this.props.role)&&void 0!==n?n:"application",d.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},d.onFocus=function(){e.accessibilityManager.focus()});var y=this.parseEventsOfWrapper();return G.createElement(Mk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},G.createElement("div",PC({className:Yr("recharts-wrapper",a),style:zC({position:"relative",cursor:"default",width:c,height:l},u)},y,{ref:function(t){e.container=t},role:null!==(t=d.role)&&void 0!==t?t:"region"}),G.createElement(Sa,PC({},d,{width:c,height:l,title:f,desc:p,style:FC}),this.renderClipPath(),ba(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],i&&EC(n.prototype,i),a&&EC(n,a),Object.defineProperty(n,"prototype",{writable:!1}),e}(),$C(e,"displayName",r),$C(e,"defaultProps",zC({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),$C(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=JC(t);return zC(zC(zC({},p),{},{updateId:0},h(zC(zC({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||!Xo(u,e.prevMargin)){var d=JC(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=zC(zC({},KC(e,n,c)),{},{updateId:e.updateId+1}),g=zC(zC(zC({},d),y),v);return zC(zC(zC({},g),h(zC({props:t},g),e)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(!ga(i,e.prevChildren)){var m,b,w,x,O=pa(i,pM),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=!xo(n)&&!A?e.updateId:e.updateId+1;return zC(zC({updateId:P},h(zC(zC({props:t},e),{},{updateId:P,dataStartIndex:S,dataEndIndex:j}),e)),{},{prevChildren:i,dataStartIndex:S,dataEndIndex:j})}return null})),$C(e,"renderActiveDot",(function(t,e){var r;return r=Z(t)?ct(t,e):Mn(t)?t(e):G.createElement(WA,e),G.createElement(Ma,{className:"recharts-active-dot",key:e.key},r)})),e},r_=e_({chartName:"LineChart",GraphicalChild:RE,axisComponents:[{axisType:"xAxis",AxisComp:rC},{axisType:"yAxis",AxisComp:iC}],formatAxisMap:hk}),n_=e_({chartName:"AreaChart",GraphicalChild:tC,axisComponents:[{axisType:"xAxis",AxisComp:rC},{axisType:"yAxis",AxisComp:iC}],formatAxisMap:hk});const i_=({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}=ar({data:r,dataKey:n}),d=crypto.randomUUID(),y=f?lr({arr:r||[],n:f}):r;let v,g;y?.length?(g=h?ur.mint():ur.coolElegance(),v=y?.map((t=>({...t,[n]:Number(t[n])||0})))):(g=ur.coolElegance(),v=[{[n]:1},{[n]:1}]);const m={cursor:c&&y?.length?"crosshair":"default",...p};return e(Qd,{width:i,minHeight:o,children:t(n_,{data:v,margin:{top:20,right:0,left:0,bottom:20},style:m,children:[e("defs",{children:t("linearGradient",{id:d,x1:"0",y1:"0",x2:"0",y2:"1",children:[e("stop",{offset:"5%",stopColor:g,stopOpacity:.8}),e("stop",{offset:"95%",stopColor:g,stopOpacity:0})]})}),e(iC,{domain:y?.length?["dataMin","dataMax"]:[0,2],hide:!0}),e(tC,{type:a,dataKey:n,stroke:g,fill:`url(#${d})`,isAnimationActive:l}),y?.length&&c&&e(Sd,{cursor:!1,formatter:u,labelFormatter:s})]})})},o_=()=>{const t=l({ssr:!1});return e(u,{children:e(s,{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})})},a_=({children:t,...r})=>e(f,{border:"solid 1px",borderColor:ur.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:t}),c_=({isSelected:t,children:r,...n})=>e(p,{paddingX:"1",fontSize:"sm",color:t?"brand.500":ur.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:t?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),l_=({children:t,...r})=>e(h,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:ur.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:t}),u_=r=>{const{carouselContents:n,isNavVertical:i,...o}=r,[a,c]=nt(0);return n.length>=1&&e(l_,{children:t(d,{gap:10,direction:i?"column":{base:"column",md:"row"},...o,children:[n[a],t(d,{alignItems:"flex-end",justifyContent:"center",gap:6,children:[e(y,{variant:"ghost",isDisabled:0===a,"aria-label":"Previous content",icon:e(bt,{}),onClick:()=>{a>0&&a<=n.length-1&&c((t=>t-1))}}),e(y,{variant:"ghost",isDisabled:a===n.length-1,"aria-label":"Next content",icon:e(wt,{}),onClick:()=>{a<n.length-1&&c((t=>t+1))}})]})]})})},s_=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:y,...w}=r;let x;c||(x=e(St,{}));const O=u?u(l):void 0;return t(v,{as:d,flexDir:"column",isInvalid:Boolean(s),isDisabled:i,isReadOnly:o,isRequired:a,children:[t(d,{onClick:y,w:"full",justifyContent:h?"space-between":"auto",children:["left"===p&&e(g,{fontSize:n,m:"0",mr:"3",children:f}),e(m,{icon:x,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,isInvalid:Boolean(s),size:n,...O,...w}),"right"===p&&e(g,{fontSize:n,m:"0",ml:"3",children:f})]}),e(d,{w:"full",children:s&&e(b,{size:n,children:s})})]})},f_=({children:t,onSubmit:r,...n})=>e(d,{as:"form",onSubmit:t=>{t.preventDefault(),r&&r(t)},noValidate:!0,gap:"6",flexDir:"column",...n,children:t});var p_=function(){return p_=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},p_.apply(this,arguments)};function h_(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 d_=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},y_={k:1e3,m:1e6,b:1e9},v_=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(d_(y),")")).test(g),w=RegExp("(\\d+)-?".concat(d_(y))).exec(e)||[],x=w[0],O=w[1],S=function(t,e){void 0===e&&(e=",");var r=new RegExp(d_(e),"g");return t.replace(r,"")}(y?x?g.replace(x,"").concat(O):g.replace(y,""):g,n),j=function(t,e){var r=d_(e.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return t.replace(n,"")}(S,h_([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(d_(e),"\\d*)?)([kmb])$"),"i"),n=t.match(r);if(n){var i=n[1],o=n[3],a=y_[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)},g_=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(d_(n)).concat(d_(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(d_(a),"?"):"","\\d")).test(e),s="."!==r?b_(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?p_(p_({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),h=w_(p,t),d=g_(h,p_({},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(d_(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("")},b_=function(t,e,r){var n=t;return e&&"."!==e&&(n=n.replace(RegExp(d_(e),"g"),"."),r&&"-"===e&&(n="-".concat(n.slice(1)))),n},w_=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?h_(h_([],t,!0),[r],!1):[r,u]:"currency"===l?r?t:h_(h_([],t,!0),[u],!1):"group"===l?c?t:h_(h_([],t,!0),[void 0!==n?n:u],!1):"decimal"===l?void 0!==o&&0===o?t:h_(h_([],t,!0),[void 0!==i?i:u],!1):h_(h_([],t,!0),"fraction"===l?[void 0!==o?u.slice(0,o):u]:[u],!1)}),[""]).join("")},x_={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},O_=function(t){return RegExp(/\d/,"gi").test(t)},S_=tt((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,I=t.onBlur,N=t.onKeyDown,B=t.onKeyUp,L=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&&O_(C))throw new Error("decimalSeparator cannot be a number");if(_&&O_(_))throw new Error("groupSeparator cannot be a number");var H=at((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?p_(p_({},t),0===r?{currencySymbol:e.value,prefix:e.value}:{currencySymbol:e.value,suffix:e.value}):"group"===e.type?p_(p_({},t),{groupSeparator:e.value}):"decimal"===e.type?p_(p_({},t),{decimalSeparator:e.value}):t}),x_)}(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},q={decimalSeparator:V,groupSeparator:F,allowDecimals:n,decimalsLimit:s||g||2,allowNegativeValue:o,disableAbbreviations:E,prefix:w||H.prefix,transformRawValue:L},W=nt((function(){return null!=f?m_(p_(p_({},U),{decimalScale:b,value:String(f)})):null!=y?m_(p_(p_({},U),{decimalScale:b,value:String(y)})):""})),Y=W[0],X=W[1],K=nt(!1),Z=K[0],J=K[1],Q=nt(0),tt=Q[0],it=Q[1],ct=nt(0),lt=ct[0],ut=ct[1],st=nt(null),ft=st[0],pt=st[1],ht=et(null);rt(e,(function(){return ht.current}));var dt=function(t,e){J(!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=v_(p_({value:n},q));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 it(1);var a=V?o.replace(V,"."):o,l=parseFloat(a),u=m_(p_({value:o},U));if(null!=i){var s=i+(u.length-t.length);s=s<=0?w?w.length:0:s,it(s),ut(lt+1)}if(X(u),v)v(o,c,{float:l,formatted:u,value:o})}};ot((function(){null==y&&null==f&&X("")}),[f,y]),ot((function(){Z&&"-"!==Y&&ht.current&&document.activeElement===ht.current&&ht.current.setSelectionRange(tt,tt)}),[Y,tt,ht,Z,lt]);var yt=p_({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=v_(p_({value:e},q));if("-"===r||r===V||!r)return X(""),void(I&&I(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_(p_(p_({},U),{value:i}));v&&z&&v(i,c,{float:o,formatted:a,value:i}),X(a),I&&I(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(),it(Y.length);var r=parseFloat(null!=y?String(y).replace(V,"."):v_(p_({value:Y},q)))||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))}N&&N(t)},onKeyUp:function(t){var e=t.key,r=t.currentTarget.selectionStart;if("ArrowUp"!==e&&"ArrowDown"!==e&&"-"!==Y){var n=g_(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)}}B&&B(t)},placeholder:m,disabled:h,value:null==y||"-"===Y||V&&Y===V?Y:m_(p_(p_({},U),{decimalScale:Z?void 0:b,value:String(y)})),ref:ht},$);if(u){var vt=u;return G.createElement(vt,p_({},yt))}return G.createElement("input",p_({},yt))}));S_.displayName="CurrencyInput";const j_=w(((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:m,rightElement:w,type:k="text",...E}=r,C=cr(i),_=f?f(u):void 0,T="currency"===k?{as:S_,placeholder:"$0.00",prefix:"$",allowNegative:!1,disableAbbreviations:!0}:{};return t(v,{isInvalid:Boolean(p),isDisabled:o,isReadOnly:a,isRequired:c,children:[s&&e(g,{size:i,children:s}),t(x,{size:i,children:[d&&e(O,{bg:"transparent",children:d}),y&&e(S,{w:"auto",ml:"2",children:y}),e(j,{size:i,spellCheck:l,paddingLeft:y&&"2.25em",paddingRight:w&&"2.25em",type:"currency"===k?"text":k,..._,...T,...E,ref:n||_?.ref}),w&&e(A,{w:"auto",mr:"2",children:w}),m&&e(P,{children:m})]}),p&&e(b,{size:i,children:p}),h&&e(M,{fontSize:C,children:h})]})}));var A_=t=>null==t;var P_=t=>!A_(t)&&!Array.isArray(t)&&(t=>"object"==typeof t)(t)&&!(t=>t instanceof Date)(t),M_=t=>{const e=t.constructor&&t.constructor.prototype;return P_(e)&&e.hasOwnProperty("isPrototypeOf")},k_="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function E_(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(k_&&(t instanceof Blob||t instanceof FileList)||!r&&!P_(t))return t;if(e=r?[]:{},r||M_(t))for(const r in t)t.hasOwnProperty(r)&&(e[r]=E_(t[r]));else e=t}return e}var C_=t=>Array.isArray(t)?t.filter(Boolean):[],__=t=>void 0===t,T_=(t,e,r)=>{if(!e||!P_(t))return r;const n=C_(e.split(/[,[\].]+?/)).reduce(((t,e)=>A_(t)?t:t[e]),t);return __(n)||n===t?__(t[e])?r:t[e]:n},D_=t=>"boolean"==typeof t;const I_="onBlur",N_="onChange",B_="onSubmit",L_="onTouched",R_="all",z_="max",$_="min",H_="maxLength",V_="minLength",F_="pattern",U_="required",q_="validate",W_=G.createContext(null);var Y_=t=>P_(t)&&!Object.keys(t).length,X_=t=>Array.isArray(t)?t:[t];var K_=t=>"string"==typeof t,G_=t=>/^\w*$/.test(t),Z_=t=>C_(t.replace(/["|']|\]/g,"").split(/\.|\[/)),J_=(t,e,r)=>{let n=-1;const i=G_(e)?[e]:Z_(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=P_(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}t[e]=o,t=t[e]}return t},Q_=(t,e,r,n,i)=>e?{...r[t],types:{...r[t]&&r[t].types?r[t].types:{},[n]:i||!0}}:{},tT=()=>{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)}))},eT=(t,e,r={})=>r.shouldFocus||__(r.shouldFocus)?r.focusName||`${t}.${__(r.focusIndex)?e:r.focusIndex}.`:"",rT=t=>({isOnSubmit:!t||t===B_,isOnBlur:t===I_,isOnChange:t===N_,isOnAll:t===R_,isOnTouch:t===L_});const nT=(t,e,r,n)=>{for(const i of r||Object.keys(t)){const r=T_(t,i);if(r){const{_f:t,...o}=r;if(t){if(t.refs&&t.refs[0]&&e(t.refs[0],i)&&!n)break;if(t.ref&&e(t.ref,t.name)&&!n)break;nT(o,e)}else P_(o)&&nT(o,e)}}};var iT=(t,e,r)=>{const n=C_(T_(t,r));return J_(n,"root",e[r]),J_(t,r,n),t},oT=t=>K_(t),aT=t=>t instanceof RegExp;const cT={value:!1,isValid:!1},lT={value:!0,isValid:!0};const uT={isValid:!1,value:null};function sT(t,e,r="validate"){if(oT(t)||Array.isArray(t)&&t.every(oT)||D_(t)&&!t)return{type:r,message:oT(t)?t:"",ref:e}}var fT=t=>P_(t)&&!aT(t)?t:{value:t,message:""},pT=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=T_(e,d);if(!v||g)return{};const b=a?a[0]:o,w=t=>{n&&b.reportValidity&&(b.setCustomValidity(D_(t)?"":t||""),b.reportValidity())},x={},O="radio"===o.type;const S=(t=>"checkbox"===t.type)(o),j=O||S,A=(y||(t=>"file"===t.type)(o))&&__(o.value)&&__(m)||(t=>{if(!k_)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,P=Q_.bind(null,d,r,x),M=(t,e,r,n=H_,i=V_)=>{const a=t?e:r;x[d]={type:t?n:i,message:a,ref:o,...P(t?n:i,a)}};if(i?!Array.isArray(m)||!m.length:c&&(!j&&(A||A_(m))||D_(m)&&!m||S&&!(t=>{if(Array.isArray(t)){if(t.length>1){const e=t.filter((t=>t&&t.checked&&!t.disabled)).map((t=>t.value));return{value:e,isValid:!!e.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!__(t[0].attributes.value)?__(t[0].value)||""===t[0].value?lT:{value:t[0].value,isValid:!0}:lT:cT}return cT})(a).isValid||O&&!(k=a,Array.isArray(k)?k.reduce(((t,e)=>e&&e.checked&&!e.disabled?{isValid:!0,value:e.value}:t),uT):uT).isValid)){const{value:t,message:e}=oT(c)?{value:!!c,message:c}:fT(c);if(t&&(x[d]={type:U_,message:e,ref:b,...P(U_,e)},!r))return w(e),x}var k;if(!(A||A_(s)&&A_(f))){let t,e;const n=fT(f),i=fT(s);if(A_(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;K_(n.value)&&m&&(t=c?a(m)>a(n.value):l?m>n.value:r>new Date(n.value)),K_(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);A_(n.value)||(t=r>n.value),A_(i.value)||(e=r<i.value)}if((t||e)&&(M(!!t,n.message,i.message,z_,$_),!r))return w(x[d].message),x}if((l||u)&&!A&&(K_(m)||i&&Array.isArray(m))){const t=fT(l),e=fT(u),n=!A_(t.value)&&m.length>+t.value,i=!A_(e.value)&&m.length<+e.value;if((n||i)&&(M(n,t.message,e.message),!r))return w(x[d].message),x}if(p&&!A&&K_(m)){const{value:t,message:e}=fT(p);if(aT(t)&&!m.match(t)&&(x[d]={type:F_,message:e,ref:o,...P(F_,e)},!r))return w(e),x}if(h)if("function"==typeof h){const t=sT(await h(m,e),b);if(t&&(x[d]={...t,...P(q_,t.message)},!r))return w(t.message),x}else if(P_(h)){let t={};for(const n in h){if(!Y_(t)&&!r)break;const i=sT(await h[n](m,e),b,n);i&&(t={...i,...P(n,i.message)},w(i.message),r&&(x[d]=t))}if(!Y_(t)&&(x[d]={ref:b,...t},!r))return x}return w(!0),x},hT=(t,e)=>[...t,...X_(e)],dT=t=>Array.isArray(t)?t.map((()=>{})):void 0;function yT(t,e,r){return[...t.slice(0,e),...X_(r),...t.slice(e)]}var vT=(t,e,r)=>Array.isArray(t)?(__(t[r])&&(t[r]=void 0),t.splice(r,0,t.splice(e,1)[0]),t):[],gT=(t,e)=>[...X_(e),...X_(t)];var mT=(t,e)=>__(e)?[]:function(t,e){let r=0;const n=[...t];for(const t of e)n.splice(t-r,1),r++;return C_(n).length?n:[]}(t,X_(e).sort(((t,e)=>t-e))),bT=(t,e,r)=>{[t[e],t[r]]=[t[r],t[e]]};function wT(t,e){const r=Array.isArray(e)?e:G_(e)?[e]:Z_(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&&(P_(n)&&Y_(n)||Array.isArray(n)&&function(t){for(const e in t)if(t.hasOwnProperty(e)&&!__(t[e]))return!1;return!0}(n))&&wT(t,r.slice(0,-1)),t}var xT=(t,e,r)=>(t[e]=r,t);function OT(t){const e=G.useContext(W_),{control:r=e.control,name:n,keyName:i="id",shouldUnregister:o}=t,[a,c]=G.useState(r._getFieldArray(n)),l=G.useRef(r._getFieldArray(n).map(tT)),u=G.useRef(a),s=G.useRef(n),f=G.useRef(!1);s.current=n,u.current=a,r._names.array.add(n),t.rules&&r.register(n,t.rules),function(t){const e=G.useRef(t);e.current=t,G.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=T_(t,s.current);Array.isArray(e)&&(c(e),l.current=e.map(tT))}},subject:r._subjects.array});const p=G.useCallback((t=>{f.current=!0,r._updateFieldArray(n,t)}),[r,n]);return G.useEffect((()=>{if(r._state.action=!1,((t,e,r)=>!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&&(!rT(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((t=>{const e=T_(t.errors,n),i=T_(r._formState.errors,n);(i?!e&&i.type||e&&(i.type!==e.type||i.message!==e.message):e&&e.type)&&(e?J_(r._formState.errors,n,e):wT(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const t=T_(r._fields,n);!t||!t._f||rT(r._options.reValidateMode).isOnSubmit&&rT(r._options.mode).isOnSubmit||pT(t,r._formValues,r._options.criteriaMode===R_,r._options.shouldUseNativeValidation,!0).then((t=>!Y_(t)&&r._subjects.state.next({errors:iT(r._formState.errors,t,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&nT(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]),G.useEffect((()=>(!T_(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||o)&&r.unregister(n)})),[n,r,i,o]),{swap:G.useCallback(((t,e)=>{const i=r._getFieldArray(n);bT(i,t,e),bT(l.current,t,e),p(i),c(i),r._updateFieldArray(n,i,bT,{argA:t,argB:e},!1)}),[p,n,r]),move:G.useCallback(((t,e)=>{const i=r._getFieldArray(n);vT(i,t,e),vT(l.current,t,e),p(i),c(i),r._updateFieldArray(n,i,vT,{argA:t,argB:e},!1)}),[p,n,r]),prepend:G.useCallback(((t,e)=>{const i=X_(E_(t)),o=gT(r._getFieldArray(n),i);r._names.focus=eT(n,0,e),l.current=gT(l.current,i.map(tT)),p(o),c(o),r._updateFieldArray(n,o,gT,{argA:dT(t)})}),[p,n,r]),append:G.useCallback(((t,e)=>{const i=X_(E_(t)),o=hT(r._getFieldArray(n),i);r._names.focus=eT(n,o.length-1,e),l.current=hT(l.current,i.map(tT)),p(o),c(o),r._updateFieldArray(n,o,hT,{argA:dT(t)})}),[p,n,r]),remove:G.useCallback((t=>{const e=mT(r._getFieldArray(n),t);l.current=mT(l.current,t),p(e),c(e),r._updateFieldArray(n,e,mT,{argA:t})}),[p,n,r]),insert:G.useCallback(((t,e,i)=>{const o=X_(E_(e)),a=yT(r._getFieldArray(n),t,o);r._names.focus=eT(n,t,i),l.current=yT(l.current,t,o.map(tT)),p(a),c(a),r._updateFieldArray(n,a,yT,{argA:t,argB:dT(e)})}),[p,n,r]),update:G.useCallback(((t,e)=>{const i=E_(e),o=xT(r._getFieldArray(n),t,i);l.current=[...o].map(((e,r)=>e&&r!==t?l.current[r]:tT())),p(o),c([...o]),r._updateFieldArray(n,o,xT,{argA:t,argB:i},!0,!1)}),[p,n,r]),replace:G.useCallback((t=>{const e=X_(E_(t));l.current=e.map(tT),p([...e]),c([...e]),r._updateFieldArray(n,[...e],(t=>t),{},!0,!1)}),[p,n,r]),fields:G.useMemo((()=>a.map(((t,e)=>({...t,[i]:l.current[e]||tT()})))),[a,i])}}const ST=({name:r,control:n,register:i,defaultValues:o,onArrayAppend:a,onArrayRemove:c})=>{const{fields:l,append:u,remove:s}=OT({control:n,name:r}),f=Object.keys(o).reduce(((t,e)=>({...t,[e]:o[e]})),{});return t(k,{children:[l.map(((n,o)=>e(k,{children:t(k,{pb:6,position:"relative",children:[Object.keys(n).filter((t=>"id"!==t)).map((t=>e(j_,{label:t,name:`${r}.${o}.${t}`,register:i},`${t}-${n.id}`))),e(E,{label:"Delete",children:e(d,{position:"absolute",top:"0",right:"0",children:e(p,{"aria-label":"Delete",size:"sm",variant:"ghost",onClick:()=>{s(o),c&&c(o)},minW:"2rem",p:"0",children:"X"})})})]})},n.id))),e(d,{children:e(p,{size:"sm",onClick:()=>{u(f),a&&a(f)},ml:"auto",children:"+"})})]})},jT=({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}=ar({data:r,dataKey:n}),d=f?lr({arr:r||[],n:f}):r;let y,v;d?.length?(v=h?ur.mint():ur.heroicRed(),y=d?.map((t=>({...t,[n]:Number(t[n])||0})))):(v=ur.coolElegance(),y=[{[n]:0},{[n]:0}]);const g={cursor:c&&d?.length?"crosshair":"default",...p};return e(Qd,{width:i,minHeight:o,children:t(r_,{data:y,style:g,children:[e(iC,{domain:["dataMin","dataMax"],hide:!0}),e(RE,{isAnimationActive:l,type:a,dataKey:n,stroke:v,strokeWidth:"2",dot:!1,scale:"threshold"}),d?.length&&c&&e(Sd,{cursor:!1,formatter:u,labelFormatter:s})]})})},AT=({isOpen:r,onClose:n,headerContent:i=null,footerContent:o=null,children:a,isCentered:c=!0,size:l={base:"md",md:"xl"},bodyMinHeight:u,bodyBackground:s="transparent",isDisabledCloseButton:f,...p})=>t(C,{isOpen:r,onClose:n,isCentered:c,size:l,...p,children:[e(_,{}),t(T,{minWidth:LT,children:[e(D,{children:i}),e(I,{isDisabled:f}),e(N,{minH:u||0,bg:s,children:a}),o&&e(B,{borderTop:"solid 1px",borderColor:ur.coolElegance(),children:o})]})]});var PT,MT={exports:{}};PT=MT,function(t,e){PT.exports=e(G)}(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 kT=r(Ve(MT.exports)),ET=({totalRecords:t=0,recordsPerPage:r=10,pageRangeDisplayed:n=3,handlePageClick:i,forcePage:o,...a})=>{const c=Math.ceil(t/r);return e(d,{justifyContent:{base:"center",md:"flex-end"},fontSize:{base:14,md:18},gap:2,w:"full",...a,children:e(kT,{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:ur.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"}}})})},CT=({isLoading:r,hasMore:n,setLastEvaluatedKeyParams:i,lastEvaluatedKey:o,...a})=>{const[c,l]=nt([]),[u,s]=nt(1);return t(d,{w:"full",justifyContent:"flex-end",alignItems:"center",direction:"row",gap:4,...a,children:[e(p,{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(p,{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"})]})},_T=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=cr(i),y=u?u(l):void 0;return t(v,{isInvalid:Boolean(s),isDisabled:o,isReadOnly:a,isRequired:c,children:[p&&e(g,{size:i,children:p}),e(L,{icon:e(mt,{}),size:i,...y,...h,children:n}),s&&e(b,{size:i,children:s}),f&&e(M,{fontSize:d,children:f})]})},TT=R({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),DT=({boxSize:t=8,color:r="brand",...n})=>{const i="neutral"===r?ur.sonicSilver():"brand.500";return e(d,{width:"full",justifyContent:"center",alignItems:"center",minHeight:Number.isFinite(Number(t))?3*Number(t):`calc(${t} * 3)`,...n,children:e(d,{width:t,height:t,animation:`${TT} 2000ms infinite linear`,children:e(ce,{boxSize:t,__css:{path:{fill:i}}})})})},IT=r=>{const{label:n,rightIcon:i,leftIcon:o,onClose:a,...c}=r,[l,u]=nt(!0);return l?t(z,{...c,children:[o&&e($,{as:o}),e(H,{children:n}),i&&e(V,{as:i}),a&&e(F,{onClick:()=>{a(),u(!1)}})]}):null},NT=({description:r,title:n,onClose:i,isClosable:o,status:a})=>{let c,l;switch(a){case"error":l=pt;break;case"success":l=St;break;case"warning":l=Vt,c="yellow";break;case"loading":c="brand",l=K;break;default:c="brand",l=Vt}return t(U,{as:d,colorScheme:c,justifyContent:"space-between",status:a,children:[t(d,{alignItems:"center",mr:"4",children:[e(q,{children:e(l,{size:"sm"})}),t(k,{children:[e(W,{children:n}),e(Y,{children:r})]})]}),o&&e(X,{onClick:i})]})},BT=()=>{const t=l({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}},LT="22rem",RT="MM/DD/YY",zT="MM/DD/YYYY h:mmA";export{i_ as CfAreaChart,o_ as CfBreakpointDebugger,a_ as CfButtonGroup,c_ as CfButtonGroupButton,l_ as CfCard,u_ as CfCarousel,s_ as CfCheckbox,f_ as CfForm,j_ as CfInput,ST as CfInputArray,jT as CfLineChart,AT as CfModal,ET as CfOpenSearchPagination,CT as CfPagination,_T as CfSelect,DT as CfSpinner,IT as CfTag,NT as CfToast,pt as IconAlert,ht as IconArrowDown,dt as IconArrowUp,he as IconAvax,yt as IconBank,vt as IconBarChart,de as IconBch,ye as IconBtc,gt as IconCalendar,mt as IconCaretDown,bt as IconCaretLeft,wt as IconCaretRight,xt as IconCaretUp,Ot as IconCent,St as IconCheck,jt as IconChecking,At as IconCircleCheck,Pt as IconClose,Mt as IconConnect,kt as IconCopy,Et as IconDollar,Ct as IconDollarBill,_t as IconDownload,Tt as IconEdit,Dt as IconEnter,It as IconEnterInverted,ve as IconEth,Nt as IconExchange,Bt as IconFilter,Lt as IconHelp,Rt as IconHistory,zt as IconHome,$t as IconIndicatorDown,Ht as IconIndicatorUp,Vt as IconInfo,ge as IconLink,Ft as IconLock,me as IconLtc,Ut as IconMail,qt as IconMenu,Wt as IconMore,Yt as IconNotification,Xt as IconOverview,Kt as IconPercent,Gt as IconPieChart,Zt as IconPlus,pe as IconRefresh,Jt as IconReports,Qt as IconReservesSuccess,te as IconReservesWarning,ee as IconSearch,re as IconSettings,ne as IconSettlement,ie as IconSignIn,oe as IconSignOut,ae as IconSort,ce as IconSpinner,le as IconSupport,ue as IconTrash,se as IconUpload,fe as IconUser,be as IconXlm,$e as aggregateAmounts,Ur as coreTheme,RT as dateFormatNoTime,zT as dateFormatWithTime,Ge as dateToTimestamp,Ze as formatPercentage,qr as formatPhoneNumber,or as formatUsd,ar as getDelta,LT as layoutMinWidth,lr as pullFromEnd,ur as uiColors,fr as usdToNumber,BT as useCfBreakpoint,pr as utcDateToLocal};
|
|
17
|
+
*/"production"===process.env.NODE_ENV?ko.exports=function(){if(Po)return Eo;Po=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 Eo.AsyncMode=l,Eo.ConcurrentMode=u,Eo.ContextConsumer=c,Eo.ContextProvider=a,Eo.Element=e,Eo.ForwardRef=s,Eo.Fragment=n,Eo.Lazy=d,Eo.Memo=h,Eo.Portal=r,Eo.Profiler=o,Eo.StrictMode=i,Eo.Suspense=f,Eo.isAsyncMode=function(t){return w(t)||b(t)===l},Eo.isConcurrentMode=w,Eo.isContextConsumer=function(t){return b(t)===c},Eo.isContextProvider=function(t){return b(t)===a},Eo.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},Eo.isForwardRef=function(t){return b(t)===s},Eo.isFragment=function(t){return b(t)===n},Eo.isLazy=function(t){return b(t)===d},Eo.isMemo=function(t){return b(t)===h},Eo.isPortal=function(t){return b(t)===r},Eo.isProfiler=function(t){return b(t)===o},Eo.isStrictMode=function(t){return b(t)===i},Eo.isSuspense=function(t){return b(t)===f},Eo.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)},Eo.typeOf=b,Eo}():ko.exports=(Co||(Co=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 I(t){return b(t)===u}_o.AsyncMode=w,_o.ConcurrentMode=x,_o.ContextConsumer=O,_o.ContextProvider=S,_o.Element=j,_o.ForwardRef=A,_o.Fragment=P,_o.Lazy=M,_o.Memo=k,_o.Portal=E,_o.Profiler=C,_o.StrictMode=_,_o.Suspense=T,_o.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.")),I(t)||b(t)===l},_o.isConcurrentMode=I,_o.isContextConsumer=function(t){return b(t)===c},_o.isContextProvider=function(t){return b(t)===a},_o.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},_o.isForwardRef=function(t){return b(t)===s},_o.isFragment=function(t){return b(t)===n},_o.isLazy=function(t){return b(t)===d},_o.isMemo=function(t){return b(t)===h},_o.isPortal=function(t){return b(t)===r},_o.isProfiler=function(t){return b(t)===o},_o.isStrictMode=function(t){return b(t)===i},_o.isSuspense=function(t){return b(t)===f},_o.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)},_o.typeOf=b}()),_o);var To=ko.exports,Do=pn,Io=hn;var No=function(t){return"number"==typeof t||Io(t)&&"[object Number]"==Do(t)},Bo=Fe(No),Lo=No;var Ro=Fe((function(t){return Lo(t)&&t!=+t})),zo=function(t){return 0===t?0:t>0?1:-1},$o=function(t){return Mo(t)&&t.indexOf("%")===t.length-1},Ho=function(t){return Bo(t)&&!Ro(t)},Vo=function(t){return Ho(t)||Mo(t)},Fo=0,Uo=function(t){var e=++Fo;return"".concat(t||"").concat(e)},Wo=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(!Ho(t)&&!Mo(t))return n;if($o(t)){var o=t.indexOf("%");r=e*parseFloat(t.slice(0,o))/100}else r=+t;return Ro(r)&&(r=n),i&&r>e&&(r=e),r},qo=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},Yo=function(t,e){return Ho(t)&&Ho(e)?function(r){return t+r*(e-t)}:function(){return e}};function Xo(t,e,r){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):xo(t,e))===r})):null}function Ko(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 Go(t){return Go="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},Go(t)}var Zo=["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"],Jo=["points","pathLength"],Qo={svg:["viewBox","children"],polygon:Jo,polyline:Jo},ta=["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"],ea=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if(J(t)&&(r=t.props),!Sn(r))return null;var n={};return Object.keys(r).forEach((function(t){ta.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})})),n},ra=function(t,e,r){if(!Sn(t)||"object"!==Go(t))return null;var n=null;return Object.keys(t).forEach((function(i){var o=t[i];ta.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},na=["children"],ia=["children"];function oa(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 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 ca={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},la=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},ua=null,sa=null,fa=function t(e){if(e===ua&&Array.isArray(sa))return sa;var r=[];return Q.forEach(e,(function(e){Oo(e)||(To.isFragment(e)?r=r.concat(t(e.props.children)):r.push(e))})),sa=r,ua=e,r};function pa(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map((function(t){return la(t)})):[la(e)],fa(t).forEach((function(t){var e=xo(t,"type.displayName")||xo(t,"type.name");-1!==n.indexOf(e)&&r.push(t)})),r}function ha(t,e){var r=pa(t,e);return r&&r[0]}var da=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!Ho(r)||r<=0||!Ho(n)||n<=0)},ya=["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"],va=function(t){return t&&"object"===aa(t)&&"cx"in t&&"cy"in t&&"r"in t},ga=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if(J(t)&&(n=t.props),!Sn(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==Qo?void 0:Qo[n])&&void 0!==i?i:[];return!kn(t)&&(n&&o.includes(e)||Zo.includes(e))||r&&ta.includes(e)})(null===(o=n)||void 0===o?void 0:o[t],t,e,r)&&(i[t]=n[t])})),i},ma=function t(e,r){if(e===r)return!0;var n=Q.count(e);if(n!==Q.count(r))return!1;if(0===n)return!0;if(1===n)return ba(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(!ba(o,a))return!1}return!0},ba=function(t,e){if(Oo(t)&&Oo(e))return!0;if(!Oo(t)&&!Oo(e)){var r=t.props||{},n=r.children,i=oa(r,na),o=e.props||{},a=o.children,c=oa(o,ia);return n&&a?Ko(i,c)&&ma(n,a):!n&&!a&&Ko(i,c)}return!1},wa=function(t,e){var r=[],n={};return fa(t).forEach((function(t,i){if(function(t){return t&&t.type&&Mo(t.type)&&ya.indexOf(t.type)>=0}(t))r.push(t);else if(t){var o=la(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},xa=["children","width","height","viewBox","className","style","title","desc"];function Oa(){return Oa=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},Oa.apply(this,arguments)}function Sa(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 ja(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=Sa(t,xa),s=i||{width:r,height:n,x:0,y:0},f=Xr("recharts-surface",o);return Z.createElement("svg",Oa({},ga(u,!0,"svg"),{className:f,width:r,height:n,style:a,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height)}),Z.createElement("title",null,c),Z.createElement("desc",null,l),e)}var Aa=["children","className"];function Pa(){return Pa=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},Pa.apply(this,arguments)}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}var ka=Z.forwardRef((function(t,e){var r=t.children,n=t.className,i=Ma(t,Aa),o=Xr("recharts-layer",n);return Z.createElement("g",Pa({className:o},ga(i,!0),{ref:e}),r)})),Ea="production"!==process.env.NODE_ENV,Ca=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(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 o=0;console.warn(e.replace(/%s/g,(function(){return n[o++]})))}};var _a=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},Ta=_a;var Da=function(t,e,r){var n=t.length;return r=void 0===r?n:r,!e&&r>=n?t:Ta(t,e,r)},Ia=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Na=function(t){return Ia.test(t)};var Ba=function(t){return t.split("")},La="\\ud800-\\udfff",Ra="["+La+"]",za="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",$a="\\ud83c[\\udffb-\\udfff]",Ha="[^"+La+"]",Va="(?:\\ud83c[\\udde6-\\uddff]){2}",Fa="[\\ud800-\\udbff][\\udc00-\\udfff]",Ua="(?:"+za+"|"+$a+")"+"?",Wa="[\\ufe0e\\ufe0f]?",qa=Wa+Ua+("(?:\\u200d(?:"+[Ha,Va,Fa].join("|")+")"+Wa+Ua+")*"),Ya="(?:"+[Ha+za+"?",za,Va,Fa,Ra].join("|")+")",Xa=RegExp($a+"(?="+$a+")|"+Ya+qa,"g");var Ka=function(t){return t.match(Xa)||[]},Ga=Ba,Za=Na,Ja=Ka;var Qa=function(t){return Za(t)?Ja(t):Ga(t)},tc=Da,ec=Na,rc=Qa,nc=co;var ic=function(t){return function(e){e=nc(e);var r=ec(e)?rc(e):void 0,n=r?r[0]:e.charAt(0),i=r?tc(r,1).join(""):e.slice(1);return n[t]()+i}},oc=Fe(ic("toUpperCase"));function ac(t){return function(){return t}}const cc=Math.cos,lc=Math.sin,uc=Math.sqrt,sc=Math.PI,fc=2*sc,pc=Math.PI,hc=2*pc,dc=1e-6,yc=hc-dc;function vc(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class gc{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?vc:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return vc;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>dc)if(Math.abs(s*c-l*u)>dc&&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((pc-Math.acos((d+f-y)/(2*v*g)))/2),b=m/g,w=m/v;Math.abs(b-1)>dc&&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)>dc||Math.abs(this._y1-u)>dc)&&this._append`L${l},${u}`,r&&(f<0&&(f=f%hc+hc),f>yc?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>dc&&this._append`A${r},${r},0,${+(f>=pc)},${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 mc(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 gc(e)}function bc(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function wc(t){this._context=t}function xc(t){return new wc(t)}function Oc(t){return t[0]}function Sc(t){return t[1]}function jc(t,e){var r=ac(!0),n=null,i=xc,o=null,a=mc(c);function c(c){var l,u,s,f=(c=bc(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?Oc:ac(t),e="function"==typeof e?e:void 0===e?Sc:ac(e),c.x=function(e){return arguments.length?(t="function"==typeof e?e:ac(+e),c):t},c.y=function(t){return arguments.length?(e="function"==typeof t?t:ac(+t),c):e},c.defined=function(t){return arguments.length?(r="function"==typeof t?t:ac(!!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 Ac(t,e,r){var n=null,i=ac(!0),o=null,a=xc,c=null,l=mc(u);function u(u){var s,f,p,h,d,y=(u=bc(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 jc().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?Oc:ac(+t),e="function"==typeof e?e:ac(void 0===e?0:+e),r="function"==typeof r?r:void 0===r?Sc:ac(+r),u.x=function(e){return arguments.length?(t="function"==typeof e?e:ac(+e),n=null,u):t},u.x0=function(e){return arguments.length?(t="function"==typeof e?e:ac(+e),u):t},u.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:ac(+t),u):n},u.y=function(t){return arguments.length?(e="function"==typeof t?t:ac(+t),r=null,u):e},u.y0=function(t){return arguments.length?(e="function"==typeof t?t:ac(+t),u):e},u.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:ac(+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:ac(!!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}wc.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 Pc{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 Mc={draw(t,e){const r=uc(e/sc);t.moveTo(r,0),t.arc(0,0,r,0,fc)}},kc={draw(t,e){const r=uc(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 Ec=uc(1/3),Cc=2*Ec;var _c={draw(t,e){const r=uc(e/Cc),n=r*Ec;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},Tc={draw(t,e){const r=uc(e),n=-r/2;t.rect(n,n,r,r)}};const Dc=lc(sc/10)/lc(7*sc/10),Ic=lc(fc/10)*Dc,Nc=-cc(fc/10)*Dc;var Bc={draw(t,e){const r=uc(.8908130915292852*e),n=Ic*r,i=Nc*r;t.moveTo(0,-r),t.lineTo(n,i);for(let e=1;e<5;++e){const o=fc*e/5,a=cc(o),c=lc(o);t.lineTo(c*r,-a*r),t.lineTo(a*n-c*i,c*n+a*i)}t.closePath()}};const Lc=uc(3);var Rc={draw(t,e){const r=-uc(e/(3*Lc));t.moveTo(0,2*r),t.lineTo(-Lc*r,-r),t.lineTo(Lc*r,-r),t.closePath()}};const zc=-.5,$c=uc(3)/2,Hc=1/uc(12),Vc=3*(Hc/2+1);var Fc={draw(t,e){const r=uc(e/Vc),n=r/2,i=r*Hc,o=n,a=r*Hc+r,c=-o,l=a;t.moveTo(n,i),t.lineTo(o,a),t.lineTo(c,l),t.lineTo(zc*n-$c*i,$c*n+zc*i),t.lineTo(zc*o-$c*a,$c*o+zc*a),t.lineTo(zc*c-$c*l,$c*c+zc*l),t.lineTo(zc*n+$c*i,zc*i-$c*n),t.lineTo(zc*o+$c*a,zc*a-$c*o),t.lineTo(zc*c+$c*l,zc*l-$c*c),t.closePath()}};function Uc(){}function Wc(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 qc(t){this._context=t}function Yc(t){this._context=t}function Xc(t){this._context=t}function Kc(t){this._context=t}function Gc(t){return t<0?-1:1}function Zc(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(Gc(o)+Gc(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function Jc(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function Qc(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 tl(t){this._context=t}function el(t){this._context=new rl(t)}function rl(t){this._context=t}function nl(t){this._context=t}function il(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 ol(t,e){this._context=t,this._t=e}function al(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 cl(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function ll(t,e){return t[e]}function ul(t){const e=[];return e.key=t,e}function sl(t){return sl="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},sl(t)}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:Wc(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:Wc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Yc.prototype={areaStart:Uc,areaEnd:Uc,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:Wc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Xc.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:Wc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Kc.prototype={areaStart:Uc,areaEnd:Uc,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))}},tl.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:Qc(this,this._t0,Jc(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,Qc(this,Jc(this,r=Zc(this,t,e)),r);break;default:Qc(this,this._t0,r=Zc(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(el.prototype=Object.create(tl.prototype)).point=function(t,e){tl.prototype.point.call(this,e,t)},rl.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)}},nl.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=il(t),i=il(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)}},ol.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 fl=["type","size","sizeType"];function pl(){return pl=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},pl.apply(this,arguments)}function hl(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 dl(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hl(Object(r),!0).forEach((function(e){yl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yl(t,e,r){return e=function(t){var e=function(t,e){if("object"!=sl(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sl(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 vl(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 gl={symbolCircle:Mc,symbolCross:kc,symbolDiamond:_c,symbolSquare:Tc,symbolStar:Bc,symbolTriangle:Rc,symbolWye:Fc},ml=Math.PI/180,bl=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=dl(dl({},vl(t,fl)),{},{type:i,size:a,sizeType:l}),s=u.className,f=u.cx,p=u.cy,h=ga(u,!0);return f===+f&&p===+p&&a===+a?Z.createElement("path",pl({},h,{className:Xr("recharts-symbols",s),transform:"translate(".concat(f,", ").concat(p,")"),d:(e=function(t){var e="symbol".concat(oc(t));return gl[e]||Mc}(i),r=function(t,e){let r=null,n=mc(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:ac(t||Mc),e="function"==typeof e?e:ac(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:ac(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:ac(+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*ml;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 wl(t){return wl="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},wl(t)}function xl(){return xl=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},xl.apply(this,arguments)}function Ol(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 Sl(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,El(n.key),n)}}function jl(t,e,r){return e=Pl(e),function(t,e){if(e&&("object"===wl(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,Al()?Reflect.construct(e,r||[],Pl(t).constructor):e.apply(t,r))}function Al(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Al=function(){return!!t})()}function Pl(t){return Pl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Pl(t)}function Ml(t,e){return Ml=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ml(t,e)}function kl(t,e,r){return(e=El(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function El(t){var e=function(t,e){if("object"!=wl(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=wl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==wl(e)?e:String(e)}bl.registerSymbol=function(t,e){gl["symbol".concat(oc(t))]=e};var Cl=32,_l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),jl(this,e,arguments)}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&&Ml(t,e)}(e,tt),r=e,n=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=16,n=Cl/6,i=Cl/3,o=t.inactive?e:t.color;if("plainline"===t.type)return Z.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:r,x2:Cl,y2:r,className:"recharts-legend-icon"});if("line"===t.type)return Z.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(Cl,"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 Z.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(Cl,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(Z.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ol(Object(r),!0).forEach((function(e){kl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ol(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return delete a.legendIcon,Z.cloneElement(t.legendIcon,a)}return Z.createElement(bl,{fill:o,cx:r,cy:r,size:Cl,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:Cl,height:Cl},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=Xr(kl(kl({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var f=kn(e.value)?null:e.value;Ca(!kn(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 Z.createElement("li",xl({className:s,style:l,key:"legend-item-".concat(r)},ra(t.props,e,r)),Z.createElement(ja,{width:n,height:n,viewBox:c,style:u},t.renderIcon(e)),Z.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 Z.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],n&&Sl(r.prototype,n),i&&Sl(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();kl(_l,"displayName","Legend"),kl(_l,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Tl=Pi;var Dl=Pi,Il=Mi,Nl=Fi;var Bl=Pi,Ll=function(){this.__data__=new Tl,this.size=0},Rl=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},zl=function(t){return this.__data__.get(t)},$l=function(t){return this.__data__.has(t)},Hl=function(t,e){var r=this.__data__;if(r instanceof Dl){var n=r.__data__;if(!Il||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Nl(n)}return r.set(t,e),this.size=r.size,this};function Vl(t){var e=this.__data__=new Bl(t);this.size=e.size}Vl.prototype.clear=Ll,Vl.prototype.delete=Rl,Vl.prototype.get=zl,Vl.prototype.has=$l,Vl.prototype.set=Hl;var Fl=Vl;var Ul=Fi,Wl=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ql=function(t){return this.__data__.has(t)};function Yl(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Ul;++e<r;)this.add(t[e])}Yl.prototype.add=Yl.prototype.push=Wl,Yl.prototype.has=ql;var Xl=Yl;var Kl=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 Gl=function(t,e){return t.has(e)},Zl=Xl,Jl=Kl,Ql=Gl;var tu=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 Zl: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(!Jl(e,(function(t,e){if(!Ql(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 eu=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r};var ru=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r},nu=Qr.Uint8Array,iu=pi,ou=tu,au=eu,cu=ru,lu=tn?tn.prototype:void 0,uu=lu?lu.valueOf:void 0;var su=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 nu(t),new nu(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return iu(+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=au;case"[object Set]":var l=1&n;if(c||(c=cu),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=ou(c(t),c(e),n,i,o,a);return a.delete(t),s;case"[object Symbol]":if(uu)return uu.call(t)==uu.call(e)}return!1};var fu=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t},pu=fu,hu=Kr;var du=function(t,e,r){var n=e(t);return hu(t)?n:pu(n,r(t))};var yu=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 vu=yu,gu=function(){return[]},mu=Object.prototype.propertyIsEnumerable,bu=Object.getOwnPropertySymbols,wu=bu?function(t){return null==t?[]:(t=Object(t),vu(bu(t),(function(e){return mu.call(t,e)})))}:gu,xu=wu;var Ou=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n},Su=pn,ju=hn;var Au=function(t){return ju(t)&&"[object Arguments]"==Su(t)},Pu=hn,Mu=Object.prototype,ku=Mu.hasOwnProperty,Eu=Mu.propertyIsEnumerable,Cu=Au(function(){return arguments}())?Au:function(t){return Pu(t)&&ku.call(t,"callee")&&!Eu.call(t,"callee")},_u={exports:{}};var Tu=function(){return!1};!function(t,e){var r=Qr,n=Tu,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}(_u,_u.exports);var Du=_u.exports,Iu=/^(?:0|[1-9]\d*)$/;var Nu=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&Iu.test(t))&&t>-1&&t%1==0&&t<e};var Bu=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},Lu=pn,Ru=Bu,zu=hn,$u={};$u["[object Float32Array]"]=$u["[object Float64Array]"]=$u["[object Int8Array]"]=$u["[object Int16Array]"]=$u["[object Int32Array]"]=$u["[object Uint8Array]"]=$u["[object Uint8ClampedArray]"]=$u["[object Uint16Array]"]=$u["[object Uint32Array]"]=!0,$u["[object Arguments]"]=$u["[object Array]"]=$u["[object ArrayBuffer]"]=$u["[object Boolean]"]=$u["[object DataView]"]=$u["[object Date]"]=$u["[object Error]"]=$u["[object Function]"]=$u["[object Map]"]=$u["[object Number]"]=$u["[object Object]"]=$u["[object RegExp]"]=$u["[object Set]"]=$u["[object String]"]=$u["[object WeakMap]"]=!1;var Hu=function(t){return zu(t)&&Ru(t.length)&&!!$u[Lu(t)]};var Vu=function(t){return function(e){return t(e)}},Fu={exports:{}};!function(t,e){var r=Gr,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}(Fu,Fu.exports);var Uu=Fu.exports,Wu=Hu,qu=Vu,Yu=Uu&&Uu.isTypedArray,Xu=Yu?qu(Yu):Wu,Ku=Ou,Gu=Cu,Zu=Kr,Ju=Du,Qu=Nu,ts=Xu,es=Object.prototype.hasOwnProperty;var rs=function(t,e){var r=Zu(t),n=!r&&Gu(t),i=!r&&!n&&Ju(t),o=!r&&!n&&!i&&ts(t),a=r||n||i||o,c=a?Ku(t.length,String):[],l=c.length;for(var u in t)!e&&!es.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Qu(u,l))||c.push(u);return c},ns=Object.prototype;var is=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ns)};var os=function(t,e){return function(r){return t(e(r))}},as=os(Object.keys,Object),cs=is,ls=as,us=Object.prototype.hasOwnProperty;var ss=function(t){if(!cs(t))return ls(t);var e=[];for(var r in Object(t))us.call(t,r)&&"constructor"!=r&&e.push(r);return e},fs=Mn,ps=Bu;var hs=function(t){return null!=t&&ps(t.length)&&!fs(t)},ds=rs,ys=ss,vs=hs;var gs=function(t){return vs(t)?ds(t):ys(t)},ms=du,bs=xu,ws=gs;var xs=function(t){return ms(t,ws,bs)},Os=xs,Ss=Object.prototype.hasOwnProperty;var js=function(t,e,r,n,i,o){var a=1&r,c=Os(t),l=c.length;if(l!=Os(e).length&&!a)return!1;for(var u=l;u--;){var s=c[u];if(!(a?s in e:Ss.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},As=Yn(Qr,"DataView"),Ps=Yn(Qr,"Promise"),Ms=Yn(Qr,"Set"),ks=As,Es=Mi,Cs=Ps,_s=Ms,Ts=Yn(Qr,"WeakMap"),Ds=pn,Is=Dn,Ns="[object Map]",Bs="[object Promise]",Ls="[object Set]",Rs="[object WeakMap]",zs="[object DataView]",$s=Is(ks),Hs=Is(Es),Vs=Is(Cs),Fs=Is(_s),Us=Is(Ts),Ws=Ds;(ks&&Ws(new ks(new ArrayBuffer(1)))!=zs||Es&&Ws(new Es)!=Ns||Cs&&Ws(Cs.resolve())!=Bs||_s&&Ws(new _s)!=Ls||Ts&&Ws(new Ts)!=Rs)&&(Ws=function(t){var e=Ds(t),r="[object Object]"==e?t.constructor:void 0,n=r?Is(r):"";if(n)switch(n){case $s:return zs;case Hs:return Ns;case Vs:return Bs;case Fs:return Ls;case Us:return Rs}return e});var qs=Fl,Ys=tu,Xs=su,Ks=js,Gs=Ws,Zs=Kr,Js=Du,Qs=Xu,tf="[object Arguments]",ef="[object Array]",rf="[object Object]",nf=Object.prototype.hasOwnProperty;var of=function(t,e,r,n,i,o){var a=Zs(t),c=Zs(e),l=a?ef:Gs(t),u=c?ef:Gs(e),s=(l=l==tf?rf:l)==rf,f=(u=u==tf?rf:u)==rf,p=l==u;if(p&&Js(t)){if(!Js(e))return!1;a=!0,s=!1}if(p&&!s)return o||(o=new qs),a||Qs(t)?Ys(t,e,r,n,i,o):Xs(t,e,l,r,n,i,o);if(!(1&r)){var h=s&&nf.call(t,"__wrapped__"),d=f&&nf.call(e,"__wrapped__");if(h||d){var y=h?t.value():t,v=d?e.value():e;return o||(o=new qs),i(y,v,r,n,o)}}return!!p&&(o||(o=new qs),Ks(t,e,r,n,i,o))},af=of,cf=hn;var lf=function t(e,r,n,i,o){return e===r||(null==e||null==r||!cf(e)&&!cf(r)?e!=e&&r!=r:af(e,r,n,i,t,o))},uf=Fl,sf=lf;var ff=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 uf;if(n)var p=n(u,s,l,t,e,f);if(!(void 0===p?sf(s,u,3,n,f):p))return!1}}return!0},pf=On;var hf=function(t){return t==t&&!pf(t)},df=hf,yf=gs;var vf=function(t){for(var e=yf(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,df(i)]}return e};var gf=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}},mf=ff,bf=vf,wf=gf;var xf=function(t){var e=bf(t);return 1==e.length&&e[0][2]?wf(e[0][0],e[0][1]):function(r){return r===t||mf(r,t,e)}};var Of=function(t,e){return null!=t&&e in Object(t)},Sf=po,jf=Cu,Af=Kr,Pf=Nu,Mf=Bu,kf=yo;var Ef=function(t,e,r){for(var n=-1,i=(e=Sf(e,t)).length,o=!1;++n<i;){var a=kf(e[n]);if(!(o=null!=t&&r(t,a)))break;t=t[a]}return o||++n!=i?o:!!(i=null==t?0:t.length)&&Mf(i)&&Pf(a,i)&&(Af(t)||jf(t))},Cf=Of,_f=Ef;var Tf=function(t,e){return null!=t&&_f(t,e,Cf)},Df=lf,If=wo,Nf=Tf,Bf=xn,Lf=hf,Rf=gf,zf=yo;var $f=function(t,e){return Bf(t)&&Lf(e)?Rf(zf(t),e):function(r){var n=If(r,t);return void 0===n&&n===e?Nf(r,t):Df(e,n,3)}};var Hf=function(t){return t};var Vf=function(t){return function(e){return null==e?void 0:e[t]}},Ff=mo;var Uf=function(t){return function(e){return Ff(e,t)}},Wf=Vf,qf=Uf,Yf=xn,Xf=yo;var Kf=xf,Gf=$f,Zf=Hf,Jf=Kr,Qf=function(t){return Yf(t)?Wf(Xf(t)):qf(t)};var tp=function(t){return"function"==typeof t?t:null==t?Zf:"object"==typeof t?Jf(t)?Gf(t[0],t[1]):Kf(t):Qf(t)};var ep=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 rp=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1},np=ep,ip=function(t){return t!=t},op=rp;var ap=function(t,e,r){return e==e?op(t,e,r):np(t,ip,r)},cp=ap;var lp=function(t,e){return!!(null==t?0:t.length)&&cp(t,e,0)>-1};var up=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 sp=Ms,fp=function(){},pp=sp&&1/ru(new sp([,-0]))[1]==1/0?function(t){return new sp(t)}:fp,hp=Xl,dp=lp,yp=up,vp=Gl,gp=pp,mp=ru;var bp=function(t,e,r){var n=-1,i=dp,o=t.length,a=!0,c=[],l=c;if(r)a=!1,i=yp;else if(o>=200){var u=e?null:gp(t);if(u)return mp(u);a=!1,i=vp,l=new hp}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},wp=tp,xp=bp;var Op=function(t,e){return t&&t.length?xp(t,wp(e)):[]},Sp=Fe(Op);function jp(t,e,r){return!0===e?Sp(t,r):kn(e)?Sp(t,e):t}function Ap(t){return Ap="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},Ap(t)}var Pp=["ref"];function Mp(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 kp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Mp(Object(r),!0).forEach((function(e){Np(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ep(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,Bp(n.key),n)}}function Cp(t,e,r){return e=Tp(e),function(t,e){if(e&&("object"===Ap(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Dp(t)}(t,_p()?Reflect.construct(e,r||[],Tp(t).constructor):e.apply(t,r))}function _p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_p=function(){return!!t})()}function Tp(t){return Tp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tp(t)}function Dp(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ip(t,e){return Ip=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ip(t,e)}function Np(t,e,r){return(e=Bp(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Bp(t){var e=function(t,e){if("object"!=Ap(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ap(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ap(e)?e:String(e)}function Lp(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 Rp(t){return t.value}var zp=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 Np(Dp(t=Cp(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&&Ip(t,e)}(e,tt),r=e,i=[{key:"getWithHeight",value:function(t,e){var r=t.props.layout;return"vertical"===r&&Ho(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?kp({},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}),kp(kp({},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=kp(kp({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(o)),o);return Z.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(Z.isValidElement(t))return Z.cloneElement(t,e);if("function"==typeof t)return Z.createElement(t,e);e.ref;var r=Lp(e,Pp);return Z.createElement(_l,r)}(r,kp(kp({},this.props),{},{payload:jp(c,a,Rp)})))}}])&&Ep(r.prototype,n),i&&Ep(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();Np(zp,"displayName","Legend"),Np(zp,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var $p=Cu,Hp=Kr,Vp=tn?tn.isConcatSpreadable:void 0;var Fp=fu,Up=function(t){return Hp(t)||$p(t)||!!(Vp&&t&&t[Vp])};var Wp=function t(e,r,n,i,o){var a=-1,c=e.length;for(n||(n=Up),o||(o=[]);++a<c;){var l=e[a];r>0&&n(l)?r>1?t(l,r-1,n,i,o):Fp(o,l):i||(o[o.length]=l)}return o};var qp=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}},Yp=qp(),Xp=gs;var Kp=function(t,e){return t&&Yp(t,e,Xp)},Gp=hs;var Zp=function(t,e){return function(r,n){if(null==r)return r;if(!Gp(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}}(Kp),Jp=Zp,Qp=hs;var th=function(t,e){var r=-1,n=Qp(t)?Array(t.length):[];return Jp(t,(function(t,i,o){n[++r]=e(t,i,o)})),n};var eh=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t},rh=vn;var nh=function(t,e){if(t!==e){var r=void 0!==t,n=null===t,i=t==t,o=rh(t),a=void 0!==e,c=null===e,l=e==e,u=rh(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 ih=function(t,e,r){for(var n=-1,i=t.criteria,o=e.criteria,a=i.length,c=r.length;++n<a;){var l=nh(i[n],o[n]);if(l)return n>=c?l:l*("desc"==r[n]?-1:1)}return t.index-e.index},oh=Qi,ah=mo,ch=tp,lh=th,uh=eh,sh=Vu,fh=ih,ph=Hf,hh=Kr;var dh=function(t,e,r){e=e.length?oh(e,(function(t){return hh(t)?function(e){return ah(e,1===t.length?t[0]:t)}:t})):[ph];var n=-1;e=oh(e,sh(ch));var i=lh(t,(function(t,r,i){return{criteria:oh(e,(function(e){return e(t)})),index:++n,value:t}}));return uh(i,(function(t,e){return fh(t,e,r)}))};var yh=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)},vh=Math.max;var gh=function(t,e,r){return e=vh(void 0===e?t.length-1:e,0),function(){for(var n=arguments,i=-1,o=vh(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),yh(t,this,c)}};var mh=function(t){return function(){return t}},bh=Yn,wh=function(){try{var t=bh(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),xh=mh,Oh=wh,Sh=Oh?function(t,e){return Oh(t,"toString",{configurable:!0,enumerable:!1,value:xh(e),writable:!0})}:Hf,jh=Sh,Ah=Date.now;var Ph=function(t){var e=0,r=0;return function(){var n=Ah(),i=16-(n-r);if(r=n,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(jh),Mh=Hf,kh=gh,Eh=Ph;var Ch=pi,_h=hs,Th=Nu,Dh=On;var Ih=function(t,e,r){if(!Dh(r))return!1;var n=typeof e;return!!("number"==n?_h(r)&&Th(e,r.length):"string"==n&&e in r)&&Ch(r[e],t)},Nh=Wp,Bh=dh,Lh=Ih,Rh=Fe(function(t,e){return Eh(kh(t,e,Mh),t+"")}((function(t,e){if(null==t)return[];var r=e.length;return r>1&&Lh(t,e[0],e[1])?e=[]:r>2&&Lh(e[0],e[1],e[2])&&(e=[e[0]]),Bh(t,Nh(e,1),[])})));function zh(t){return zh="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},zh(t)}function $h(){return $h=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},$h.apply(this,arguments)}function Hh(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 Vh(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 Vh(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 Vh(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 Fh(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 Uh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Fh(Object(r),!0).forEach((function(e){Wh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Fh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Wh(t,e,r){return e=function(t){var e=function(t,e){if("object"!=zh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=zh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==zh(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 qh(t){return Array.isArray(t)&&Vo(t[0])&&Vo(t[1])?t.join(" ~ "):t}var Yh=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=Uh({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),b=Uh({margin:0},l),w=!Oo(d),x=w?d:"",O=Xr("recharts-default-tooltip",p),S=Xr("recharts-tooltip-label",h);w&&y&&null!=u&&(x=y(d,u));var j=g?{role:"status","aria-live":"assertive"}:{};return Z.createElement("div",$h({className:O,style:m},j),Z.createElement("p",{className:S,style:b},Z.isValidElement(x)?x:"".concat(x)),function(){if(u&&u.length){var t=(f?Rh(u,f):u).map((function(t,e){if("none"===t.type)return null;var n=Uh({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},a),i=t.formatter||s||qh,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=Hh(p,2);l=h[0],f=h[1]}else l=p}return Z.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},Vo(f)?Z.createElement("span",{className:"recharts-tooltip-item-name"},f):null,Vo(f)?Z.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,Z.createElement("span",{className:"recharts-tooltip-item-value"},l),Z.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return Z.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function Xh(t){return Xh="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},Xh(t)}function Kh(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Xh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Xh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Xh(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 Gh="recharts-tooltip-wrapper",Zh={visibility:"hidden"};function Jh(t){var e=t.coordinate,r=t.translateX,n=t.translateY;return Xr(Gh,Kh(Kh(Kh(Kh({},"".concat(Gh,"-right"),Ho(r)&&e&&Ho(e.x)&&r>=e.x),"".concat(Gh,"-left"),Ho(r)&&e&&Ho(e.x)&&r<e.x),"".concat(Gh,"-bottom"),Ho(n)&&e&&Ho(e.y)&&n>=e.y),"".concat(Gh,"-top"),Ho(n)&&e&&Ho(e.y)&&n<e.y))}function Qh(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&&Ho(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 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){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 rd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ed(Object(r),!0).forEach((function(e){ud(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ed(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function nd(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,sd(n.key),n)}}function id(t,e,r){return e=ad(e),function(t,e){if(e&&("object"===td(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return cd(t)}(t,od()?Reflect.construct(e,r||[],ad(t).constructor):e.apply(t,r))}function od(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(od=function(){return!!t})()}function ad(t){return ad=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ad(t)}function cd(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ld(t,e){return ld=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ld(t,e)}function ud(t,e,r){return(e=sd(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sd(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)}var fd=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 ud(cd(t=id(this,e,[].concat(n))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),ud(cd(t),"lastBoundingBox",{width:-1,height:-1}),ud(cd(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}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&&ld(t,e)}(e,tt),r=e,(n=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height)}else-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1)}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(t=this.props.coordinate)||void 0===t?void 0:t.x)===this.state.dismissedAtCoordinate.x&&(null===(e=this.props.coordinate)||void 0===e?void 0:e.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var t=this,e=this.props,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=Qh({allowEscapeViewBox:n,coordinate:i,key:"x",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=Qh({allowEscapeViewBox:n,coordinate:i,key:"y",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:u}):Zh,cssClasses:Jh({translateX:e,translateY:r,coordinate:i})}}({allowEscapeViewBox:n,coordinate:c,offsetTopLeft:s,position:f,reverseDirection:p,tooltipBox:{height:this.lastBoundingBox.height,width:this.lastBoundingBox.width},useTranslate3d:h,viewBox:d}),g=v.cssClasses,m=v.cssProperties,b=rd(rd({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 Z.createElement("div",{tabIndex:-1,className:g,style:b,ref:function(e){t.wrapperNode=e}},a)}}])&&nd(r.prototype,n),i&&nd(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(),pd={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return pd[t]},set:function(t,e){if("string"==typeof t)pd[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach((function(e){pd[e]=t[e]}))}}};function hd(t){return hd="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},hd(t)}function dd(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 yd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dd(Object(r),!0).forEach((function(e){xd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function vd(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,Od(n.key),n)}}function gd(t,e,r){return e=bd(e),function(t,e){if(e&&("object"===hd(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,md()?Reflect.construct(e,r||[],bd(t).constructor):e.apply(t,r))}function md(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(md=function(){return!!t})()}function bd(t){return bd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},bd(t)}function wd(t,e){return wd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},wd(t,e)}function xd(t,e,r){return(e=Od(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Od(t){var e=function(t,e){if("object"!=hd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=hd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==hd(e)?e:String(e)}function Sd(t){return t.dataKey}var jd=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),gd(this,e,arguments)}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&&wd(t,e)}(e,tt),r=e,(n=[{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=jp(f.filter((function(e){return null!=e.value&&(!0!==e.hide||t.props.includeHidden)})),p,Sd));var b=m.length>0;return Z.createElement(fd,{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 Z.isValidElement(t)?Z.cloneElement(t,e):"function"==typeof t?Z.createElement(t,e):Z.createElement(Yh,e)}(a,yd(yd({},this.props),{},{payload:m})))}}])&&vd(r.prototype,n),i&&vd(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();xd(jd,"displayName","Tooltip"),xd(jd,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!pd.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 Ad=Qr,Pd=/\s/;var Md=function(t){for(var e=t.length;e--&&Pd.test(t.charAt(e)););return e},kd=Md,Ed=/^\s+/;var Cd=function(t){return t?t.slice(0,kd(t)+1).replace(Ed,""):t},_d=Cd,Td=On,Dd=vn,Id=/^[-+]0x[0-9a-f]+$/i,Nd=/^0b[01]+$/i,Bd=/^0o[0-7]+$/i,Ld=parseInt;var Rd=function(t){if("number"==typeof t)return t;if(Dd(t))return NaN;if(Td(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Td(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=_d(t);var r=Nd.test(t);return r||Bd.test(t)?Ld(t.slice(2),r?2:8):Id.test(t)?NaN:+t},zd=On,$d=function(){return Ad.Date.now()},Hd=Rd,Vd=Math.max,Fd=Math.min;var Ud=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=$d();if(d(t))return v(t);c=setTimeout(y,function(t){var r=e-(t-l);return f?Fd(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=$d(),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=Hd(e)||0,zd(r)&&(s=!!r.leading,o=(f="maxWait"in r)?Vd(Hd(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($d())},g},Wd=Ud,qd=On;var Yd=Fe((function(t,e,r){var n=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return qd(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Wd(t,e,{leading:n,maxWait:e,trailing:i})}));function Xd(t){return Xd="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},Xd(t)}function Kd(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 Gd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Kd(Object(r),!0).forEach((function(e){Zd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Kd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Zd(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Xd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Xd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Xd(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 Jd(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 Qd(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 Qd(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 Qd(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 ty=et((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=rt(null),O=rt();O.current=m,nt(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=Jd(it({containerWidth:i.width,containerHeight:i.height}),2),j=S[0],A=S[1],P=ot((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}}))}),[]);at((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=Yd(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=ct((function(){var t=j.containerWidth,e=j.containerHeight;if(t<0||e<0)return null;Ca($o(a)||$o(l),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,l),Ca(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=$o(a)?t:a,i=$o(l)?e:l;r&&r>0&&(n?i=n/r:i&&(n=i*r),p&&i>p&&(i=p)),Ca(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)&&To.isElement(h)&&la(h.type).endsWith("Chart");return Z.Children.map(h,(function(t){return To.isElement(t)?lt(t,Gd({width:n,height:i},o?{style:Gd({height:"100%",width:"100%",maxHeight:i,maxWidth:n},t.props.style)}:{})):t}))}),[r,h,l,p,f,s,j,a]);return Z.createElement("div",{id:v?"".concat(v):void 0,className:Xr("recharts-responsive-container",g),style:Gd(Gd({},w),{},{width:a,height:l,minWidth:s,minHeight:f,maxHeight:p}),ref:x},M)})),ey=function(t){return null};function ry(t){return ry="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},ry(t)}function ny(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 iy(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ny(Object(r),!0).forEach((function(e){oy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ny(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function oy(t,e,r){return e=function(t){var e=function(t,e){if("object"!=ry(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ry(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ry(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}ey.displayName="Cell";var ay={widthCache:{},cacheCount:0},cy={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},ly="recharts_measurement_span";var uy=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||pd.isSsr)return{width:0,height:0};var r,n=(r=iy({},e),Object.keys(r).forEach((function(t){r[t]||delete r[t]})),r),i=JSON.stringify({text:t,copyStyle:n});if(ay.widthCache[i])return ay.widthCache[i];try{var o=document.getElementById(ly);o||((o=document.createElement("span")).setAttribute("id",ly),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=iy(iy({},cy),n);Object.assign(o.style,a),o.textContent="".concat(t);var c=o.getBoundingClientRect(),l={width:c.width,height:c.height};return ay.widthCache[i]=l,++ay.cacheCount>2e3&&(ay.cacheCount=0,ay.widthCache={}),l}catch(t){return{width:0,height:0}}};function sy(t){return sy="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},sy(t)}function fy(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 py(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 py(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 py(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 hy(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,dy(n.key),n)}}function dy(t){var e=function(t,e){if("object"!=sy(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sy(e)?e:String(e)}var yy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,vy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,gy=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,my=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,by={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},wy=Object.keys(by),xy="NaN";var Oy=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||gy.test(r)||(this.num=NaN,this.unit=""),wy.includes(r)&&(this.num=function(t,e){return t*by[e]}(e,r),this.unit="px")}var e,r,n;return e=t,n=[{key:"parse",value:function(e){var r,n=fy(null!==(r=my.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)}}])&&hy(e.prototype,r),n&&hy(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Sy(t){if(t.includes(xy))return xy;for(var e=t;e.includes("*")||e.includes("/");){var r,n=fy(null!==(r=yy.exec(e))&&void 0!==r?r:[],4),i=n[1],o=n[2],a=n[3],c=Oy.parse(null!=i?i:""),l=Oy.parse(null!=a?a:""),u="*"===o?c.multiply(l):c.divide(l);if(u.isNaN())return xy;e=e.replace(yy,u.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=fy(null!==(s=vy.exec(e))&&void 0!==s?s:[],4),p=f[1],h=f[2],d=f[3],y=Oy.parse(null!=p?p:""),v=Oy.parse(null!=d?d:""),g="+"===h?y.add(v):y.subtract(v);if(g.isNaN())return xy;e=e.replace(vy,g.toString())}return e}var jy=/\(([^()]*)\)/;function Ay(t){var e=t.replace(/\s+/g,"");return e=function(t){for(var e=t;e.includes("(");){var r=fy(jy.exec(e),2)[1];e=e.replace(jy,Sy(r))}return e}(e),e=Sy(e)}function Py(t){var e=function(t){try{return Ay(t)}catch(t){return xy}}(t.slice(5,-1));return e===xy?"":e}var My=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],ky=["dx","dy","angle","className","breakAll"];function Ey(){return Ey=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},Ey.apply(this,arguments)}function Cy(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 _y(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 Ty(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 Ty(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 Ty(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 Dy=/[ \f\n\r\t\v\u2028\u2029]+/,Iy=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var i=[];return Oo(e)||(i=r?e.toString().split(""):e.toString().split(Dy)),{wordsWithComputedWidth:i.map((function(t){return{word:t,width:uy(t,n).width}})),spaceWidth:r?0:uy(" ",n).width}}catch(t){return null}},Ny=function(t){return[{words:Oo(t)?[]:t.toString().split(Dy)}]},By=function(t){var e=t.width,r=t.scaleToFit,n=t.children,i=t.style,o=t.breakAll,a=t.maxLines;if((e||r)&&!pd.isSsr){var c=Iy({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=Ho(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=Iy({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=_y(d(m-1),2),w=b[0],x=b[1],O=_y(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):Ny(n)}return Ny(n)},Ly="#808080",Ry=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?Ly:y,g=Cy(t,My),m=ct((function(){return By({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=Cy(g,ky);if(!Vo(r)||!Vo(i))return null;var A,P=r+(Ho(b)?b:0),M=i+(Ho(w)?w:0);switch(d){case"start":A=Py("calc(".concat(l,")"));break;case"middle":A=Py("calc(".concat((m.length-1)/2," * -").concat(a," + (").concat(l," / 2))"));break;default:A=Py("calc(".concat(m.length-1," * -").concat(a,")"))}var k=[];if(s){var E=m[0].width,C=g.width;k.push("scale(".concat((Ho(C)?C/E:1)/E,")"))}return x&&k.push("rotate(".concat(x,", ").concat(P,", ").concat(M,")")),k.length&&(j.transform=k.join(" ")),Z.createElement("text",Ey({},ga(j,!0),{x:P,y:M,className:Xr("recharts-text",O),textAnchor:p,fill:v.includes("url")?Ly:v}),m.map((function(t,e){var r=t.words.join(S?"":" ");return Z.createElement("tspan",{x:P,dy:0===e?A:a,key:r},r)})))};function zy(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function $y(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Hy(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=zy,r=(e,r)=>zy(t(e),r),n=(e,r)=>t(e)-r):(e=t===zy||t===$y?t:Vy,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 Vy(){return 0}function Fy(t){return null===t?NaN:+t}const Uy=Hy(zy).right;Hy(Fy).center;class Wy extends Map{constructor(t,e=Yy){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(qy(this,t))}has(t){return super.has(qy(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 qy({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function Yy(t){return null!==t&&"object"==typeof t?t.valueOf():t}function Xy(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}const Ky=Math.sqrt(50),Gy=Math.sqrt(10),Zy=Math.sqrt(2);function Jy(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>=Ky?10:o>=Gy?5:o>=Zy?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?Jy(t,e,2*r):[c,l,u]}function Qy(t,e,r){if(!((r=+r)>0))return[];if((t=+t)===(e=+e))return[t];const n=e<t,[i,o,a]=n?Jy(e,t,r):Jy(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 tv(t,e,r){return Jy(t=+t,e=+e,r=+r)[2]}function ev(t,e,r){r=+r;const n=(e=+e)<(t=+t),i=n?tv(e,t,r):tv(t,e,r);return(n?-1:1)*(i<0?1/-i:i)}function rv(t,e){let r;if(void 0===e)for(const e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function nv(t,e){let r;if(void 0===e)for(const e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function iv(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?Xy:function(t=zy){if(t===zy)return Xy;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);iv(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(ov(t,r,e),i(t[n],o)>0&&ov(t,r,n);a<c;){for(ov(t,a,c),++a,--c;i(t[a],o)<0;)++a;for(;i(t[c],o)>0;)--c}0===i(t[r],o)?ov(t,r,c):(++c,ov(t,c,n)),c<=e&&(r=c+1),e<=c&&(n=c-1)}return t}function ov(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function av(t,e,r=Fy){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 cv(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function lv(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 uv=Symbol("implicit");function sv(){var t=new Wy,e=[],r=[],n=uv;function i(i){let o=t.get(i);if(void 0===o){if(n!==uv)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 Wy;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 sv(e,r).unknown(n)},cv.apply(i,arguments),i}function fv(){var t,e,r=sv().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 fv(n(),[o,a]).round(c).paddingInner(l).paddingOuter(u).align(s)},cv.apply(f(),arguments)}function pv(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return pv(e())},t}function hv(){return pv(fv.apply(null,arguments).paddingInner(1))}function dv(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function yv(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function vv(){}var gv=.7,mv=1/gv,bv="\\s*([+-]?\\d+)\\s*",wv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ov=/^#([0-9a-f]{3,8})$/,Sv=new RegExp(`^rgb\\(${bv},${bv},${bv}\\)$`),jv=new RegExp(`^rgb\\(${xv},${xv},${xv}\\)$`),Av=new RegExp(`^rgba\\(${bv},${bv},${bv},${wv}\\)$`),Pv=new RegExp(`^rgba\\(${xv},${xv},${xv},${wv}\\)$`),Mv=new RegExp(`^hsl\\(${wv},${xv},${xv}\\)$`),kv=new RegExp(`^hsla\\(${wv},${xv},${xv},${wv}\\)$`),Ev={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 Cv(){return this.rgb().formatHex()}function _v(){return this.rgb().formatRgb()}function Tv(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=Ov.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?Dv(e):3===r?new Bv(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?Iv(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?Iv(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=Sv.exec(t))?new Bv(e[1],e[2],e[3],1):(e=jv.exec(t))?new Bv(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Av.exec(t))?Iv(e[1],e[2],e[3],e[4]):(e=Pv.exec(t))?Iv(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Mv.exec(t))?Vv(e[1],e[2]/100,e[3]/100,1):(e=kv.exec(t))?Vv(e[1],e[2]/100,e[3]/100,e[4]):Ev.hasOwnProperty(t)?Dv(Ev[t]):"transparent"===t?new Bv(NaN,NaN,NaN,0):null}function Dv(t){return new Bv(t>>16&255,t>>8&255,255&t,1)}function Iv(t,e,r,n){return n<=0&&(t=e=r=NaN),new Bv(t,e,r,n)}function Nv(t,e,r,n){return 1===arguments.length?((i=t)instanceof vv||(i=Tv(i)),i?new Bv((i=i.rgb()).r,i.g,i.b,i.opacity):new Bv):new Bv(t,e,r,null==n?1:n);var i}function Bv(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function Lv(){return`#${Hv(this.r)}${Hv(this.g)}${Hv(this.b)}`}function Rv(){const t=zv(this.opacity);return`${1===t?"rgb(":"rgba("}${$v(this.r)}, ${$v(this.g)}, ${$v(this.b)}${1===t?")":`, ${t})`}`}function zv(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function $v(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Hv(t){return((t=$v(t))<16?"0":"")+t.toString(16)}function Vv(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Uv(t,e,r,n)}function Fv(t){if(t instanceof Uv)return new Uv(t.h,t.s,t.l,t.opacity);if(t instanceof vv||(t=Tv(t)),!t)return new Uv;if(t instanceof Uv)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 Uv(a,c,l,t.opacity)}function Uv(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function Wv(t){return(t=(t||0)%360)<0?t+360:t}function qv(t){return Math.max(0,Math.min(1,t||0))}function Yv(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}dv(vv,Tv,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Cv,formatHex:Cv,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Fv(this).formatHsl()},formatRgb:_v,toString:_v}),dv(Bv,Nv,yv(vv,{brighter(t){return t=null==t?mv:Math.pow(mv,t),new Bv(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?gv:Math.pow(gv,t),new Bv(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Bv($v(this.r),$v(this.g),$v(this.b),zv(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:Lv,formatHex:Lv,formatHex8:function(){return`#${Hv(this.r)}${Hv(this.g)}${Hv(this.b)}${Hv(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Rv,toString:Rv})),dv(Uv,(function(t,e,r,n){return 1===arguments.length?Fv(t):new Uv(t,e,r,null==n?1:n)}),yv(vv,{brighter(t){return t=null==t?mv:Math.pow(mv,t),new Uv(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?gv:Math.pow(gv,t),new Uv(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 Bv(Yv(t>=240?t-240:t+120,i,n),Yv(t,i,n),Yv(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new Uv(Wv(this.h),qv(this.s),qv(this.l),zv(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=zv(this.opacity);return`${1===t?"hsl(":"hsla("}${Wv(this.h)}, ${100*qv(this.s)}%, ${100*qv(this.l)}%${1===t?")":`, ${t})`}`}}));var Xv=t=>()=>t;function Kv(t){return 1==(t=+t)?Gv: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):Xv(isNaN(e)?r:e)}}function Gv(t,e){var r=e-t;return r?function(t,e){return function(r){return t+r*e}}(t,r):Xv(isNaN(t)?e:t)}var Zv=function t(e){var r=Kv(e);function n(t,e){var n=r((t=Nv(t)).r,(e=Nv(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),a=Gv(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 Jv(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 Qv(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]=ag(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 tg(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function eg(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function rg(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]=ag(t[r],e[r]):i[r]=e[r];return function(t){for(r in n)i[r]=n[r](t);return i}}var ng=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ig=new RegExp(ng.source,"g");function og(t,e){var r,n,i,o=ng.lastIndex=ig.lastIndex=0,a=-1,c=[],l=[];for(t+="",e+="";(r=ng.exec(t))&&(n=ig.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:eg(r,n)})),o=ig.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 ag(t,e){var r,n=typeof e;return null==e||"boolean"===n?Xv(e):("number"===n?eg:"string"===n?(r=Tv(e))?(e=r,Zv):og:e instanceof Tv?Zv:e instanceof Date?tg:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(e)?Jv:Array.isArray(e)?Qv:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?rg:eg)(t,e)}function cg(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function lg(t,e){void 0===e&&(e=t,t=ag);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 ug(t){return+t}var sg=[0,1];function fg(t){return t}function pg(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:function(t){return function(){return t}}(isNaN(e)?NaN:.5)}function hg(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1];return i<n?(n=pg(i,n),o=r(a,o)):(n=pg(n,i),o=r(o,a)),function(t){return o(n(t))}}function dg(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]=pg(t[a],t[a+1]),o[a]=r(e[a],e[a+1]);return function(e){var r=Uy(t,e,1,n)-1;return o[r](i[r](e))}}function yg(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function vg(){var t,e,r,n,i,o,a=sg,c=sg,l=ag,u=fg;function s(){var t=Math.min(a.length,c.length);return u!==fg&&(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?dg:hg,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),eg)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,ug),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=cg,s()},f.clamp=function(t){return arguments.length?(u=!!t||fg,s()):u!==fg},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 gg(){return vg()(fg,fg)}function mg(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 bg(t){return(t=mg(Math.abs(t)))?t[1]:NaN}var wg,xg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Og(t){if(!(e=xg.exec(t)))throw new Error("invalid format: "+t);var e;return new Sg({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 Sg(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 jg(t,e){var r=mg(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")}Og.prototype=Sg.prototype,Sg.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 Ag={"%":(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)=>jg(100*t,e),r:jg,s:function(t,e){var r=mg(t,e);if(!r)return t+"";var n=r[0],i=r[1],o=i-(wg=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")+mg(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Pg(t){return t}var Mg,kg,Eg,Cg=Array.prototype.map,_g=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Tg(t){var e,r,n=void 0===t.grouping||void 0===t.thousands?Pg:(e=Cg.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?Pg:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Cg.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=Og(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"):Ag[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=Ag[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?_g[8+wg/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=Og(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(bg(e)/3))),i=Math.pow(10,-n),o=_g[8+n/3];return function(t){return r(i*t)+o}}}}function Dg(t,e,r,n){var i,o=ev(t,e,r);switch((n=Og(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(bg(e)/3)))-bg(Math.abs(t)))}(o,a))||(n.precision=i),Eg(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,bg(e)-bg(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,-bg(Math.abs(t)))}(o))||(n.precision=i-2*("%"===n.type))}return kg(n)}function Ig(t){var e=t.domain;return t.ticks=function(t){var r=e();return Qy(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return Dg(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=tv(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 Ng(){var t=gg();return t.copy=function(){return yg(t,Ng())},cv.apply(t,arguments),Ig(t)}function Bg(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 Lg(t){return Math.log(t)}function Rg(t){return Math.exp(t)}function zg(t){return-Math.log(-t)}function $g(t){return-Math.exp(-t)}function Hg(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Vg(t){return(e,r)=>-t(-e,r)}function Fg(t){const e=t(Lg,Rg),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?Hg:t===Math.E?Math.exp:e=>Math.pow(t,e)}(o),r()[0]<0?(n=Vg(n),i=Vg(i),t(zg,$g)):t(Lg,Rg),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=Qy(a,c,h))}else d=Qy(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=Og(r)).precision||(r.trim=!0),r=kg(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(Bg(r(),{floor:t=>i(Math.floor(n(t))),ceil:t=>i(Math.ceil(n(t)))})),e}function Ug(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function Wg(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function qg(t){var e=1,r=t(Ug(e),Wg(e));return r.constant=function(r){return arguments.length?t(Ug(e=+r),Wg(e)):e},Ig(r)}function Yg(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function Xg(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Kg(t){return t<0?-t*t:t*t}function Gg(t){var e=t(fg,fg),r=1;return e.exponent=function(e){return arguments.length?1===(r=+e)?t(fg,fg):.5===r?t(Xg,Kg):t(Yg(r),Yg(1/r)):r},Ig(e)}function Zg(){var t=Gg(vg());return t.copy=function(){return yg(t,Zg()).exponent(t.exponent())},cv.apply(t,arguments),t}function Jg(t){return Math.sign(t)*t*t}Mg=Tg({thousands:",",grouping:[3],currency:["$",""]}),kg=Mg.format,Eg=Mg.formatPrefix;const Qg=new Date,tm=new Date;function em(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=>em((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)=>(Qg.setTime(+e),tm.setTime(+n),t(Qg),t(tm),Math.floor(r(Qg,tm))),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 rm=em((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));rm.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?em((e=>{e.setTime(Math.floor(e/t)*t)}),((e,r)=>{e.setTime(+e+r*t)}),((e,r)=>(r-e)/t)):rm:null),rm.range;const nm=1e3,im=6e4,om=36e5,am=864e5,cm=6048e5,lm=2592e6,um=31536e6,sm=em((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*nm)}),((t,e)=>(e-t)/nm),(t=>t.getUTCSeconds()));sm.range;const fm=em((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*nm)}),((t,e)=>{t.setTime(+t+e*im)}),((t,e)=>(e-t)/im),(t=>t.getMinutes()));fm.range;const pm=em((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*im)}),((t,e)=>(e-t)/im),(t=>t.getUTCMinutes()));pm.range;const hm=em((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*nm-t.getMinutes()*im)}),((t,e)=>{t.setTime(+t+e*om)}),((t,e)=>(e-t)/om),(t=>t.getHours()));hm.range;const dm=em((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*om)}),((t,e)=>(e-t)/om),(t=>t.getUTCHours()));dm.range;const ym=em((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*im)/am),(t=>t.getDate()-1));ym.range;const vm=em((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/am),(t=>t.getUTCDate()-1));vm.range;const gm=em((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/am),(t=>Math.floor(t/am)));function mm(t){return em((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())*im)/cm))}gm.range;const bm=mm(0),wm=mm(1),xm=mm(2),Om=mm(3),Sm=mm(4),jm=mm(5),Am=mm(6);function Pm(t){return em((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)/cm))}bm.range,wm.range,xm.range,Om.range,Sm.range,jm.range,Am.range;const Mm=Pm(0),km=Pm(1),Em=Pm(2),Cm=Pm(3),_m=Pm(4),Tm=Pm(5),Dm=Pm(6);Mm.range,km.range,Em.range,Cm.range,_m.range,Tm.range,Dm.range;const Im=em((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()));Im.range;const Nm=em((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()));Nm.range;const Bm=em((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()));Bm.every=t=>isFinite(t=Math.floor(t))&&t>0?em((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,Bm.range;const Lm=em((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 Rm(t,e,r,n,i,o){const a=[[sm,1,nm],[sm,5,5e3],[sm,15,15e3],[sm,30,3e4],[o,1,im],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,om],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,am],[n,2,1728e5],[r,1,cm],[e,1,lm],[e,3,7776e6],[t,1,um]];function c(e,r,n){const i=Math.abs(r-e)/n,o=Hy((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(ev(e/um,r/um,n));if(0===o)return rm.every(Math.max(ev(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]}Lm.every=t=>isFinite(t=Math.floor(t))&&t>0?em((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,Lm.range;const[zm,$m]=Rm(Lm,Nm,Mm,gm,dm,pm),[Hm,Vm]=Rm(Bm,Im,bm,ym,hm,fm);function Fm(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 Um(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 Wm(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var qm,Ym,Xm,Km={"-":"",_:" ",0:"0"},Gm=/^\s*\d+/,Zm=/^%/,Jm=/[\\^$*+?|[\]().{}]/g;function Qm(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 tb(t){return t.replace(Jm,"\\$&")}function eb(t){return new RegExp("^(?:"+t.map(tb).join("|")+")","i")}function rb(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function nb(t,e,r){var n=Gm.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function ib(t,e,r){var n=Gm.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function ob(t,e,r){var n=Gm.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function ab(t,e,r){var n=Gm.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function cb(t,e,r){var n=Gm.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function lb(t,e,r){var n=Gm.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function ub(t,e,r){var n=Gm.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function sb(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 fb(t,e,r){var n=Gm.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function pb(t,e,r){var n=Gm.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function hb(t,e,r){var n=Gm.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function db(t,e,r){var n=Gm.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function yb(t,e,r){var n=Gm.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function vb(t,e,r){var n=Gm.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function gb(t,e,r){var n=Gm.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function mb(t,e,r){var n=Gm.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function bb(t,e,r){var n=Gm.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function wb(t,e,r){var n=Zm.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function xb(t,e,r){var n=Gm.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function Ob(t,e,r){var n=Gm.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function Sb(t,e){return Qm(t.getDate(),e,2)}function jb(t,e){return Qm(t.getHours(),e,2)}function Ab(t,e){return Qm(t.getHours()%12||12,e,2)}function Pb(t,e){return Qm(1+ym.count(Bm(t),t),e,3)}function Mb(t,e){return Qm(t.getMilliseconds(),e,3)}function kb(t,e){return Mb(t,e)+"000"}function Eb(t,e){return Qm(t.getMonth()+1,e,2)}function Cb(t,e){return Qm(t.getMinutes(),e,2)}function _b(t,e){return Qm(t.getSeconds(),e,2)}function Tb(t){var e=t.getDay();return 0===e?7:e}function Db(t,e){return Qm(bm.count(Bm(t)-1,t),e,2)}function Ib(t){var e=t.getDay();return e>=4||0===e?Sm(t):Sm.ceil(t)}function Nb(t,e){return t=Ib(t),Qm(Sm.count(Bm(t),t)+(4===Bm(t).getDay()),e,2)}function Bb(t){return t.getDay()}function Lb(t,e){return Qm(wm.count(Bm(t)-1,t),e,2)}function Rb(t,e){return Qm(t.getFullYear()%100,e,2)}function zb(t,e){return Qm((t=Ib(t)).getFullYear()%100,e,2)}function $b(t,e){return Qm(t.getFullYear()%1e4,e,4)}function Hb(t,e){var r=t.getDay();return Qm((t=r>=4||0===r?Sm(t):Sm.ceil(t)).getFullYear()%1e4,e,4)}function Vb(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Qm(e/60|0,"0",2)+Qm(e%60,"0",2)}function Fb(t,e){return Qm(t.getUTCDate(),e,2)}function Ub(t,e){return Qm(t.getUTCHours(),e,2)}function Wb(t,e){return Qm(t.getUTCHours()%12||12,e,2)}function qb(t,e){return Qm(1+vm.count(Lm(t),t),e,3)}function Yb(t,e){return Qm(t.getUTCMilliseconds(),e,3)}function Xb(t,e){return Yb(t,e)+"000"}function Kb(t,e){return Qm(t.getUTCMonth()+1,e,2)}function Gb(t,e){return Qm(t.getUTCMinutes(),e,2)}function Zb(t,e){return Qm(t.getUTCSeconds(),e,2)}function Jb(t){var e=t.getUTCDay();return 0===e?7:e}function Qb(t,e){return Qm(Mm.count(Lm(t)-1,t),e,2)}function tw(t){var e=t.getUTCDay();return e>=4||0===e?_m(t):_m.ceil(t)}function ew(t,e){return t=tw(t),Qm(_m.count(Lm(t),t)+(4===Lm(t).getUTCDay()),e,2)}function rw(t){return t.getUTCDay()}function nw(t,e){return Qm(km.count(Lm(t)-1,t),e,2)}function iw(t,e){return Qm(t.getUTCFullYear()%100,e,2)}function ow(t,e){return Qm((t=tw(t)).getUTCFullYear()%100,e,2)}function aw(t,e){return Qm(t.getUTCFullYear()%1e4,e,4)}function cw(t,e){var r=t.getUTCDay();return Qm((t=r>=4||0===r?_m(t):_m.ceil(t)).getUTCFullYear()%1e4,e,4)}function lw(){return"+0000"}function uw(){return"%"}function sw(t){return+t}function fw(t){return Math.floor(+t/1e3)}function pw(t){return new Date(t)}function hw(t){return t instanceof Date?+t:+new Date(+t)}function dw(t,e,r,n,i,o,a,c,l,u){var s=gg(),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,hw)):p().map(pw)},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(Bg(r,t)):s},s.copy=function(){return yg(s,dw(t,e,r,n,i,o,a,c,l,u))},s}function yw(){var t,e,r,n,i,o=0,a=1,c=fg,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(ag),u.rangeRound=s(cg),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 vw(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function gw(){var t=Gg(yw());return t.copy=function(){return vw(t,gw()).exponent(t.exponent())},lv.apply(t,arguments)}function mw(){var t,e,r,n,i,o,a,c=0,l=.5,u=1,s=1,f=fg,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=lg(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(ag),h.rangeRound=d(cg),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 bw(){var t=Gg(mw());return t.copy=function(){return vw(t,bw()).exponent(t.exponent())},lv.apply(t,arguments)}!function(t){qm=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=eb(i),s=rb(i),f=eb(o),p=rb(o),h=eb(a),d=rb(a),y=eb(c),v=rb(c),g=eb(l),m=rb(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:Sb,e:Sb,f:kb,g:zb,G:Hb,H:jb,I:Ab,j:Pb,L:Mb,m:Eb,M:Cb,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:sw,s:fw,S:_b,u:Tb,U:Db,V:Nb,w:Bb,W:Lb,x:null,X:null,y:Rb,Y:$b,Z:Vb,"%":uw},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:Fb,e:Fb,f:Xb,g:ow,G:cw,H:Ub,I:Wb,j:qb,L:Yb,m:Kb,M:Gb,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:sw,s:fw,S:Zb,u:Jb,U:Qb,V:ew,w:rw,W:nw,x:null,X:null,y:iw,Y:aw,Z:lw,"%":uw},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:hb,e:hb,f:bb,g:ub,G:lb,H:yb,I:yb,j:db,L:mb,m:pb,M:vb,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:fb,Q:xb,s:Ob,S:gb,u:ib,U:ob,V:ab,w:nb,W:cb,x:function(t,e,n){return j(t,r,e,n)},X:function(t,e,r){return j(t,n,e,r)},y:ub,Y:lb,Z:sb,"%":wb};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=Km[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=Wm(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=Um(Wm(o.y,0,1))).getUTCDay(),n=i>4||0===i?km.ceil(n):km(n),n=vm.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=Fm(Wm(o.y,0,1))).getDay(),n=i>4||0===i?wm.ceil(n):wm(n),n=ym.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?Um(Wm(o.y,0,1)).getUTCDay():Fm(Wm(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,Um(o)):Fm(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 Km?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),Ym=qm.format,qm.parse,Xm=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 ww=Object.freeze({__proto__:null,scaleBand:fv,scaleDiverging:function t(){var e=Ig(mw()(fg));return e.copy=function(){return vw(e,t())},lv.apply(e,arguments)},scaleDivergingLog:function t(){var e=Fg(mw()).domain([.1,1,10]);return e.copy=function(){return vw(e,t()).base(e.base())},lv.apply(e,arguments)},scaleDivergingPow:bw,scaleDivergingSqrt:function(){return bw.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function t(){var e=qg(mw());return e.copy=function(){return vw(e,t()).constant(e.constant())},lv.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,ug),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,ug):[0,1],Ig(n)},scaleImplicit:uv,scaleLinear:Ng,scaleLog:function t(){const e=Fg(vg()).domain([1,10]);return e.copy=()=>yg(e,t()).base(e.base()),cv.apply(e,arguments),e},scaleOrdinal:sv,scalePoint:hv,scalePow:Zg,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]=av(r,t/e);return a}function a(t){return null==t||isNaN(t=+t)?e:n[Uy(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(zy),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)},cv.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[Uy(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)},cv.apply(Ig(c),arguments)},scaleRadial:function t(){var e,r=gg(),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(Jg(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,ug)).map(Jg)),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)},cv.apply(o,arguments),Ig(o)},scaleSequential:function t(){var e=Ig(yw()(fg));return e.copy=function(){return vw(e,t())},lv.apply(e,arguments)},scaleSequentialLog:function t(){var e=Fg(yw()).domain([1,10]);return e.copy=function(){return vw(e,t()).base(e.base())},lv.apply(e,arguments)},scaleSequentialPow:gw,scaleSequentialQuantile:function t(){var e=[],r=fg;function n(t){if(null!=t&&!isNaN(t=+t))return r((Uy(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(zy),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(t=Float64Array.from(function*(t,e){if(void 0===e)for(let e of t)null!=e&&(e=+e)>=e&&(yield e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(n=+n)>=n&&(yield n)}}(t,r)),(n=t.length)&&!isNaN(e=+e)){if(e<=0||n<2)return nv(t);if(e>=1)return rv(t);var n,i=(n-1)*e,o=Math.floor(i),a=rv(iv(t,o).subarray(0,o+1));return a+(nv(t.subarray(o+1))-a)*(i-o)}}(e,n/t)))},n.copy=function(){return t(r).domain(e)},lv.apply(n,arguments)},scaleSequentialSqrt:function(){return gw.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function t(){var e=qg(yw());return e.copy=function(){return vw(e,t()).constant(e.constant())},lv.apply(e,arguments)},scaleSqrt:function(){return Zg.apply(null,arguments).exponent(.5)},scaleSymlog:function t(){var e=qg(vg());return e.copy=function(){return yg(e,t()).constant(e.constant())},cv.apply(e,arguments)},scaleThreshold:function t(){var e,r=[.5],n=[0,1],i=1;function o(t){return null!=t&&t<=t?n[Uy(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)},cv.apply(o,arguments)},scaleTime:function(){return cv.apply(dw(Hm,Vm,Bm,Im,bm,ym,hm,fm,sm,Ym).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return cv.apply(dw(zm,$m,Lm,Nm,Mm,vm,dm,pm,sm,Xm).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:Dg}),xw=vn;var Ow=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&&!xw(a):r(a,c)))var c=a,l=o}return l};var Sw=Ow,jw=function(t,e){return t>e},Aw=Hf;var Pw=function(t){return t&&t.length?Sw(t,Aw,jw):void 0},Mw=Fe(Pw);var kw=Ow,Ew=function(t,e){return t<e},Cw=Hf;var _w=function(t){return t&&t.length?kw(t,Cw,Ew):void 0},Tw=Fe(_w),Dw=Qi,Iw=tp,Nw=th,Bw=Kr;var Lw=Wp,Rw=function(t,e){return(Bw(t)?Dw:Nw)(t,Iw(e))};var zw=Fe((function(t,e){return Lw(Rw(t,e),1)})),$w=lf;var Hw,Vw=Fe((function(t,e){return $w(t,e)})),Fw=1e9,Uw=!0,Ww="[DecimalError] ",qw=Ww+"Invalid argument: ",Yw=Ww+"Exponent out of range: ",Xw=Math.floor,Kw=Math.pow,Gw=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Zw=1e7,Jw=7,Qw=9007199254740991,tx=Xw(Qw/Jw),ex={};function rx(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)),Uw?px(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/Jw))>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)/Zw|0,l[o]%=Zw;for(r&&(l.unshift(r),++i),c=l.length;0==l[--c];)l.pop();return e.d=l,e.e=i,Uw?px(e,f):e}function nx(t,e,r){if(t!==~~t||t<e||t>r)throw Error(qw+t)}function ix(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=Jw-n.length)&&(o+=ux(r)),o+=n;a=t[e],(r=Jw-(n=a+"").length)&&(o+=ux(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}ex.absoluteValue=ex.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},ex.comparedTo=ex.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},ex.decimalPlaces=ex.dp=function(){var t=this,e=t.d.length-1,r=(e-t.e)*Jw;if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},ex.dividedBy=ex.div=function(t){return ox(this,new this.constructor(t))},ex.dividedToIntegerBy=ex.idiv=function(t){var e=this.constructor;return px(ox(this,new e(t),0,1),e.precision)},ex.equals=ex.eq=function(t){return!this.cmp(t)},ex.exponent=function(){return cx(this)},ex.greaterThan=ex.gt=function(t){return this.cmp(t)>0},ex.greaterThanOrEqualTo=ex.gte=function(t){return this.cmp(t)>=0},ex.isInteger=ex.isint=function(){return this.e>this.d.length-2},ex.isNegative=ex.isneg=function(){return this.s<0},ex.isPositive=ex.ispos=function(){return this.s>0},ex.isZero=function(){return 0===this.s},ex.lessThan=ex.lt=function(t){return this.cmp(t)<0},ex.lessThanOrEqualTo=ex.lte=function(t){return this.cmp(t)<1},ex.logarithm=ex.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(Hw))throw Error(Ww+"NaN");if(r.s<1)throw Error(Ww+(r.s?"NaN":"-Infinity"));return r.eq(Hw)?new n(0):(Uw=!1,e=ox(sx(r,o),sx(t,o),o),Uw=!0,px(e,i))},ex.minus=ex.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?hx(e,t):rx(e,(t.s=-t.s,t))},ex.modulo=ex.mod=function(t){var e,r=this,n=r.constructor,i=n.precision;if(!(t=new n(t)).s)throw Error(Ww+"NaN");return r.s?(Uw=!1,e=ox(r,t,0,1).times(t),Uw=!0,r.minus(e)):px(new n(r),i)},ex.naturalExponential=ex.exp=function(){return ax(this)},ex.naturalLogarithm=ex.ln=function(){return sx(this)},ex.negated=ex.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},ex.plus=ex.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?rx(e,t):hx(e,(t.s=-t.s,t))},ex.precision=ex.sd=function(t){var e,r,n,i=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(qw+t);if(e=cx(i)+1,r=(n=i.d.length-1)*Jw+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},ex.squareRoot=ex.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(Ww+"NaN")}for(t=cx(c),Uw=!1,0==(i=Math.sqrt(+c))||i==1/0?(((e=ix(c.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=Xw((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(ox(c,o,a+2)).times(.5),ix(o.d).slice(0,a)===(e=ix(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(px(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=e)break;a+=4}return Uw=!0,px(n,r)},ex.times=ex.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%Zw|0,e=c/Zw|0;o[i]=(o[i]+e)%Zw|0}for(;!o[--a];)o.pop();return e?++r:o.shift(),t.d=o,t.e=r,Uw?px(t,f.precision):t},ex.toDecimalPlaces=ex.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(nx(t,0,Fw),void 0===e?e=n.rounding:nx(e,0,8),px(r,t+cx(r)+1,e))},ex.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=dx(n,!0):(nx(t,0,Fw),void 0===e?e=i.rounding:nx(e,0,8),r=dx(n=px(new i(n),t+1,e),!0,t+1)),r},ex.toFixed=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?dx(i):(nx(t,0,Fw),void 0===e?e=o.rounding:nx(e,0,8),r=dx((n=px(new o(i),t+cx(i)+1,e)).abs(),!1,t+cx(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},ex.toInteger=ex.toint=function(){var t=this,e=t.constructor;return px(new e(t),cx(t)+1,e.rounding)},ex.toNumber=function(){return+this},ex.toPower=ex.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(Hw);if(!(c=new l(c)).s){if(t.s<1)throw Error(Ww+"Infinity");return c}if(c.eq(Hw))return c;if(n=l.precision,t.eq(Hw))return px(c,n);if(a=(e=t.e)>=(r=t.d.length-1),o=c.s,a){if((r=u<0?-u:u)<=Qw){for(i=new l(Hw),e=Math.ceil(n/Jw+4),Uw=!1;r%2&&yx((i=i.times(c)).d,e),0!==(r=Xw(r/2));)yx((c=c.times(c)).d,e);return Uw=!0,t.s<0?new l(Hw).div(i):px(i,n)}}else if(o<0)throw Error(Ww+"NaN");return o=o<0&&1&t.d[Math.max(e,r)]?-1:1,c.s=1,Uw=!1,i=t.times(sx(c,n+12)),Uw=!0,(i=ax(i)).s=o,i},ex.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?n=dx(i,(r=cx(i))<=o.toExpNeg||r>=o.toExpPos):(nx(t,1,Fw),void 0===e?e=o.rounding:nx(e,0,8),n=dx(i=px(new o(i),t,e),t<=(r=cx(i))||r<=o.toExpNeg,t)),n},ex.toSignificantDigits=ex.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(nx(t,1,Fw),void 0===e?e=r.rounding:nx(e,0,8)),px(new r(this),t,e)},ex.toString=ex.valueOf=ex.val=ex.toJSON=ex[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=cx(t),r=t.constructor;return dx(t,e<=r.toExpNeg||e>=r.toExpPos)};var ox=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%Zw|0,n=r/Zw|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*Zw+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(Ww+"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+(cx(n)-cx(i))+1:o)<0)return new A(0);if(m=m/Jw+2|0,u=0,1==S)for(s=0,k=k[0],m++;(u<x||s)&&m--;u++)b=s*Zw+(M[u]||0),d[u]=b/k|0,s=b%k|0;else{for((s=Zw/(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]>=Zw/2&&++O;do{s=0,(c=e(k,y,S,v))<0?(g=y[0],S!=v&&(g=g*Zw+(y[1]||0)),(s=g/O|0)>1?(s>=Zw&&(s=Zw-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,px(h,a?o+cx(h)+1:o)}}();function ax(t,e){var r,n,i,o,a,c=0,l=0,u=t.constructor,s=u.precision;if(cx(t)>16)throw Error(Yw+cx(t));if(!t.s)return new u(Hw);for(null==e?(Uw=!1,a=s):a=e,o=new u(.03125);t.abs().gte(.1);)t=t.times(o),l+=5;for(a+=Math.log(Kw(2,l))/Math.LN10*2+5|0,r=n=i=new u(Hw),u.precision=a;;){if(n=px(n.times(t),a),r=r.times(++c),ix((o=i.plus(ox(n,r,a))).d).slice(0,a)===ix(i.d).slice(0,a)){for(;l--;)i=px(i.times(i),a);return u.precision=s,null==e?(Uw=!0,px(i,s)):i}i=o}}function cx(t){for(var e=t.e*Jw,r=t.d[0];r>=10;r/=10)e++;return e}function lx(t,e,r){if(e>t.LN10.sd())throw Uw=!0,r&&(t.precision=r),Error(Ww+"LN10 precision limit exceeded");return px(new t(t.LN10),e)}function ux(t){for(var e="";t--;)e+="0";return e}function sx(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(Ww+(p.s?"NaN":"-Infinity"));if(p.eq(Hw))return new d(0);if(null==e?(Uw=!1,u=y):u=e,p.eq(10))return null==e&&(Uw=!0),lx(d,u);if(u+=10,d.precision=u,n=(r=ix(h)).charAt(0),o=cx(p),!(Math.abs(o)<15e14))return l=lx(d,u+2,y).times(o+""),p=sx(new d(n+"."+r.slice(1)),u-10).plus(l),d.precision=y,null==e?(Uw=!0,px(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=ix((p=p.times(t)).d)).charAt(0),f++;for(o=cx(p),n>1?(p=new d("0."+r),o++):p=new d(n+"."+r.slice(1)),c=a=p=ox(p.minus(Hw),p.plus(Hw),u),s=px(p.times(p),u),i=3;;){if(a=px(a.times(s),u),ix((l=c.plus(ox(a,new d(i),u))).d).slice(0,u)===ix(c.d).slice(0,u))return c=c.times(2),0!==o&&(c=c.plus(lx(d,u+2,y).times(o+""))),c=ox(c,new d(f),u),d.precision=y,null==e?(Uw=!0,px(c,y)):c;c=l,i+=2}}function fx(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=Xw(r/Jw),t.d=[],n=(r+1)%Jw,r<0&&(n+=Jw),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=Jw;n<i;)t.d.push(+e.slice(n,n+=Jw));e=e.slice(n),n=Jw-e.length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),Uw&&(t.e>tx||t.e<-tx))throw Error(Yw+r)}else t.s=0,t.e=0,t.d=[0];return t}function px(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+=Jw,i=e,u=f[s=0];else{if((s=Math.ceil((n+1)/Jw))>=(o=f.length))return t;for(u=o=f[s],a=1;o>=10;o/=10)a++;i=(n%=Jw)-Jw+a}if(void 0!==r&&(c=u/(o=Kw(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/Kw(10,a-i):0:f[s-1])%10&1||r==(t.s<0?8:7))),e<1||!f[0])return l?(o=cx(t),f.length=1,e=e-o-1,f[0]=Kw(10,(Jw-e%Jw)%Jw),t.e=Xw(-e/Jw)||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=Kw(10,Jw-n),f[s]=i>0?(u/Kw(10,a-i)%Kw(10,i)|0)*o:0),l)for(;;){if(0==s){(f[0]+=o)==Zw&&(f[0]=1,++t.e);break}if(f[s]+=o,f[s]!=Zw)break;f[s--]=0,o=1}for(n=f.length;0===f[--n];)f.pop();if(Uw&&(t.e>tx||t.e<-tx))throw Error(Yw+cx(t));return t}function hx(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),Uw?px(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/Jw),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]=Zw-1;--l[o],l[i]+=Zw}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,Uw?px(e,h):e):new p(0)}function dx(t,e,r){var n,i=cx(t),o=ix(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+ux(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+ux(-i-1)+o,r&&(n=r-a)>0&&(o+=ux(n))):i>=a?(o+=ux(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+ux(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=ux(n))),t.s<0?"-"+o:o}function yx(t,e){if(t.length>e)return t.length=e,!0}function vx(t){if(!t||"object"!=typeof t)throw Error(Ww+"Object expected");var e,r,n,i=["precision",1,Fw,"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(!(Xw(n)===n&&n>=i[e+1]&&n<=i[e+2]))throw Error(qw+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(qw+r+": "+n);this[r]=new this(n)}return this}var gx=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(qw+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])):fx(e,t.toString())}if("string"!=typeof t)throw Error(qw+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!Gw.test(t))throw Error(qw+t);fx(e,t)}if(o.prototype=ex,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=vx,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"});Hw=new gx(1);var mx=gx;function bx(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)||function(t,e){if(!t)return;if("string"==typeof t)return wx(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 wx(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 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}var xx=function(t){return t},Ox={"@@functional/placeholder":!0},Sx=function(t){return t===Ox},jx=function(t){return function e(){return 0===arguments.length||1===arguments.length&&Sx(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},Ax=function t(e,r){return 1===e?r:jx((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!==Ox})).length;return a>=e?r.apply(void 0,i):t(e-a,jx((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 Sx(t)?e.shift():t}));return r.apply(void 0,bx(o).concat(e))})))}))},Px=function(t){return Ax(t.length,t)},Mx=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},kx=Px((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),Ex=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return xx;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))}},Cx=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},_x=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 Tx=Px((function(t,e,r){var n=+t;return n+r*(+e-n)})),Dx=Px((function(t,e,r){var n=e-+t;return(r-t)/(n=n||1/0)})),Ix=Px((function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))})),Nx={rangeStep:function(t,e,r){for(var n=new mx(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 mx(t).abs().log(10).toNumber())+1},interpolateNumber:Tx,uninterpolateNumber:Dx,uninterpolateTruncation:Ix};function Bx(t){return function(t){if(Array.isArray(t))return zx(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Rx(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 Lx(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)||Rx(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 Rx(t,e){if(t){if("string"==typeof t)return zx(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)?zx(t,e):void 0}}function zx(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 $x(t){var e=Lx(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Hx(t,e,r){if(t.lte(0))return new mx(0);var n=Nx.getDigitCount(t.toNumber()),i=new mx(10).pow(n),o=t.div(i),a=1!==n?.05:.1,c=new mx(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?c:new mx(Math.ceil(c))}function Vx(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 mx(0),tickMin:new mx(0),tickMax:new mx(0)};var o,a=Hx(new mx(e).sub(t).div(r-1),n,i);o=t<=0&&e>=0?new mx(0):(o=new mx(t).add(e).div(2)).sub(new mx(o).mod(a));var c=Math.ceil(o.sub(t).div(a).toNumber()),l=Math.ceil(new mx(e).sub(o).div(a).toNumber()),u=c+l+1;return u>r?Vx(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 mx(c).mul(a)),tickMax:o.add(new mx(l).mul(a))})}var Fx=_x((function(t){var e=Lx(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=Lx($x([r,n]),2),l=c[0],u=c[1];if(l===-1/0||u===1/0){var s=u===1/0?[l].concat(Bx(Mx(0,i-1).map((function(){return 1/0})))):[].concat(Bx(Mx(0,i-1).map((function(){return-1/0}))),[u]);return r>n?Cx(s):s}if(l===u)return function(t,e,r){var n=1,i=new mx(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new mx(10).pow(Nx.getDigitCount(t)-1),i=new mx(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new mx(Math.floor(t)))}else 0===t?i=new mx(Math.floor((e-1)/2)):r||(i=new mx(Math.floor(t)));var a=Math.floor((e-1)/2);return Ex(kx((function(t){return i.add(new mx(t-a).mul(n)).toNumber()})),Mx)(0,e)}(l,i,o);var f=Vx(l,u,a,o),p=f.step,h=f.tickMin,d=f.tickMax,y=Nx.rangeStep(h,d.add(new mx(.1).mul(p)),p);return r>n?Cx(y):y})),Ux=_x((function(t,e){var r=Lx(t,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Lx($x([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=Hx(new mx(l).sub(c).div(u-1),o,0),f=[].concat(Bx(Nx.rangeStep(new mx(c),new mx(l).sub(new mx(.99).mul(s)),s)),[l]);return n>i?Cx(f):f})),Wx="production"===process.env.NODE_ENV,qx="Invariant failed";function Yx(t,e){if(!t){if(Wx)throw new Error(qx);var r="function"==typeof e?e():e,n=r?"".concat(qx,": ").concat(r):qx;throw new Error(n)}}var Xx=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Kx(){return Kx=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},Kx.apply(this,arguments)}function Gx(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 Zx(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 Zx(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 Zx(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 Jx(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 Qx(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=Jx(t,Xx),s=ga(u,!1);"x"===t.direction&&"number"!==c.type&&("production"!==process.env.NODE_ENV?Yx(!1,'ErrorBar requires Axis type property to be "number".'):Yx(!1));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=Gx(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 Z.createElement(ka,Kx({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 Z.createElement("line",Kx({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))})))}));return Z.createElement(ka,{className:"recharts-errorBars"},f)}function tO(t){return tO="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},tO(t)}function eO(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 rO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eO(Object(r),!0).forEach((function(e){nO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function nO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=tO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tO(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Qx.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},Qx.displayName="ErrorBar";var iO=function(t){var e,r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=ha(r,zp);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:hO(e),value:i||n,payload:e.props}})),rO(rO(rO({},a.props),zp.getWithHeight(a,i)),{},{payload:e,item:a})):null};function oO(t){return oO="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},oO(t)}function aO(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 cO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?aO(Object(r),!0).forEach((function(e){lO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function lO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=oO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=oO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==oO(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 uO(t){return function(t){if(Array.isArray(t))return sO(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 sO(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 sO(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 sO(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 fO(t,e,r){return Oo(t)||Oo(e)?r:Vo(e)?xo(t,e,r):kn(e)?e(t):r}function pO(t,e,r,n){var i=zw(t,(function(t){return fO(t,e)}));if("number"===r){var o=i.filter((function(t){return Ho(t)||parseFloat(t)}));return o.length?[Tw(o),Mw(o)]:[1/0,-1/0]}return(n?i.filter((function(t){return!Oo(t)})):i).map((function(t){return Vo(t)||t instanceof Date?t:""}))}var hO=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},dO=function(t,e,r,n,i){var o=pa(e.props.children,Qx).filter((function(t){return function(t,e,r){return!!Oo(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=fO(e,r);if(Oo(n))return t;var i=Array.isArray(n)?[Tw(n),Mw(n)]:[n,n],o=a.reduce((function(t,r){var n=fO(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},yO=function(t,e,r,n,i){var o=e.map((function(e){var o=e.props.dataKey;return"number"===r&&o&&dO(t,e,o,n)||pO(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}),[])},vO=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},gO=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*zo(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!Ro(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}}))},mO=new WeakMap,bO=function(t,e){if("function"!=typeof e)return t;mO.has(t)||mO.set(t,new WeakMap);var r=mO.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},wO=1e-4,xO={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=Ro(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}al(t,e)}},none:al,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}al(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,al(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=Ro(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)}}},OO=function(t,e,r){var n=e.map((function(t){return t.props.dataKey})),i=xO[r],o=function(){var t=ac([]),e=cl,r=al,n=ll;function i(i){var o,a,c=Array.from(t.apply(this,arguments),ul),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=bc(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:ac(Array.from(e)),i):t},i.value=function(t){return arguments.length?(n="function"==typeof t?t:ac(+t),i):n},i.order=function(t){return arguments.length?(e=null==t?cl:"function"==typeof t?t:ac(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(r=null==t?al:t,i):r},i}().keys(n).value((function(t,e){return+fO(t,e,0)})).order(cl).offset(i);return o(t)};function SO(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&&!Oo(i[e.dataKey])){var c=Xo(r,"value",i[e.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var l=fO(i,Oo(a)?e.dataKey:a);return Oo(l)?null:e.scale(l)}var jO=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=fO(o,e.dataKey,e.domain[a]);return Oo(c)?null:e.scale(c)-i/2+n},AO=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[Tw(e.concat([t[0]]).filter(Ho)),Mw(e.concat([t[1]]).filter(Ho))]}),[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}))},PO=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,MO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,kO=function(t,e,r){if(kn(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if(Ho(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(PO.test(t[0])){var i=+PO.exec(t[0])[1];n[0]=e[0]-i}else kn(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if(Ho(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(MO.test(t[1])){var o=+MO.exec(t[1])[1];n[1]=e[1]+o}else kn(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},EO=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=Rh(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},CO=function(t,e,r){return t&&t.length?Vw(t,xo(r,"type.defaultProps.domain"))?e:t:e},_O=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 cO(cO({},ga(t,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:hO(t),value:fO(e,n),type:c,payload:e,chartType:l,hide:u})};function TO(t){return TO="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},TO(t)}function DO(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 IO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?DO(Object(r),!0).forEach((function(e){NO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):DO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function NO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=TO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=TO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==TO(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 BO=Math.PI/180,LO=function(t){return 180*t/Math.PI},RO=function(t,e,r,n){return{x:t+Math.cos(-BO*n)*r,y:e+Math.sin(-BO*n)*r}},zO=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:LO(l),angleInRadian:l}},$O=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)},HO=function(t,e){var r=t.x,n=t.y,i=zO({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?IO(IO({},e),{},{radius:o,angle:$O(h,e)}):null};function VO(t){return VO="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},VO(t)}var FO=["offset"];function UO(t){return function(t){if(Array.isArray(t))return WO(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 WO(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 WO(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 WO(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 qO(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 YO(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 XO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?YO(Object(r),!0).forEach((function(e){KO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):YO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function KO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=VO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=VO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==VO(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 GO(){return GO=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},GO.apply(this,arguments)}var ZO=function(t){var e=t.value,r=t.formatter,n=Oo(t.children)?e:t.children;return kn(r)?r(n):n},JO=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 zo(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=RO(s,f,g,n),x=RO(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=Oo(t.id)?Uo("recharts-radial-line-"):t.id;return Z.createElement("text",GO({},r,{dominantBaseline:"central",className:Xr("recharts-radial-bar-label",l)}),Z.createElement("defs",null,Z.createElement("path",{id:S,d:O})),Z.createElement("textPath",{xlinkHref:"#".concat(S)},e))},QO=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=RO(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=RO(o,a,(c+l)/2,u);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},tS=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 XO(XO({},{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 XO(XO({},{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 XO(XO({},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 XO(XO({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:u}:{})}var w=r?{width:l,height:u}:{};return"insideLeft"===i?XO({x:a+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"},w):"insideRight"===i?XO({x:a+l-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?XO({x:a+l/2,y:c+f,textAnchor:"middle",verticalAnchor:h},w):"insideBottom"===i?XO({x:a+l/2,y:c+u-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?XO({x:a+y,y:c+f,textAnchor:g,verticalAnchor:h},w):"insideTopRight"===i?XO({x:a+l-y,y:c+f,textAnchor:v,verticalAnchor:h},w):"insideBottomLeft"===i?XO({x:a+y,y:c+u-f,textAnchor:g,verticalAnchor:p},w):"insideBottomRight"===i?XO({x:a+l-y,y:c+u-f,textAnchor:v,verticalAnchor:p},w):Sn(i)&&(Ho(i.x)||$o(i.x))&&(Ho(i.y)||$o(i.y))?XO({x:a+Wo(i.x,l),y:c+Wo(i.y,u),textAnchor:"end",verticalAnchor:"end"},w):XO({x:a+l/2,y:c+u/2,textAnchor:"middle",verticalAnchor:"middle"},w)},eS=function(t){return"cx"in t&&Ho(t.cx)};function rS(t){var e,r=t.offset,n=XO({offset:void 0===r?5:r},qO(t,FO)),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||Oo(a)&&Oo(c)&&!J(l)&&!kn(l))return null;if(J(l))return lt(l,n);if(kn(l)){if(J(e=ut(l,n)))return e}else e=ZO(n);var p=eS(i),h=ga(n,!0);if(p&&("insideStart"===o||"insideEnd"===o||"end"===o))return JO(n,e,h);var d=p?QO(n):tS(n);return Z.createElement(Ry,GO({className:Xr("recharts-label",s)},h,d,{breakAll:f}),e)}rS.displayName="Label";var nS=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(Ho(d)&&Ho(y)){if(Ho(s)&&Ho(f))return{x:s,y:f,width:d,height:y};if(Ho(p)&&Ho(h))return{x:p,y:h,width:d,height:y}}return Ho(s)&&Ho(f)?{x:s,y:f,width:0,height:0}:Ho(e)&&Ho(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:{}};rS.parseViewBox=nS,rS.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=nS(t),o=pa(n,rS).map((function(t,r){return lt(t,{viewBox:e||i,key:"label-".concat(r)})}));if(!r)return o;var a=function(t,e){return t?!0===t?Z.createElement(rS,{key:"label-implicit",viewBox:e}):Vo(t)?Z.createElement(rS,{key:"label-implicit",viewBox:e,value:t}):J(t)?t.type===rS?lt(t,{key:"label-implicit",viewBox:e}):Z.createElement(rS,{key:"label-implicit",content:t,viewBox:e}):kn(t)?Z.createElement(rS,{key:"label-implicit",content:t,viewBox:e}):Sn(t)?Z.createElement(rS,GO({viewBox:e},t,{key:"label-implicit"})):null:null}(t.label,e||i);return[a].concat(UO(o))};var iS=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0},oS=Fe(iS);function aS(t){return aS="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},aS(t)}var cS=["valueAccessor"],lS=["data","dataKey","clockWise","id","textBreakAll"];function uS(t){return function(t){if(Array.isArray(t))return sS(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 sS(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 sS(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 sS(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 fS(){return fS=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},fS.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 hS(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){dS(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 dS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=aS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=aS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==aS(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 yS(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 vS=function(t){return Array.isArray(t.value)?oS(t.value):t.value};function gS(t){var e=t.valueAccessor,r=void 0===e?vS:e,n=yS(t,cS),i=n.data,o=n.dataKey,a=n.clockWise,c=n.id,l=n.textBreakAll,u=yS(n,lS);return i&&i.length?Z.createElement(ka,{className:"recharts-label-list"},i.map((function(t,e){var n=Oo(o)?r(t,e):fO(t&&t.payload,o),i=Oo(c)?{}:{id:"".concat(c,"-").concat(e)};return Z.createElement(rS,fS({},ga(t,!0),u,i,{parentViewBox:t.parentViewBox,value:n,textBreakAll:l,viewBox:rS.parseViewBox(Oo(a)?t:hS(hS({},t),{},{clockWise:a})),key:"label-".concat(e),index:e}))}))):null}function mS(t){return mS="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},mS(t)}function bS(){return bS=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},bS.apply(this,arguments)}function wS(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 xS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wS(Object(r),!0).forEach((function(e){OS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function OS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=mS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=mS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==mS(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}gS.displayName="LabelList",gS.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=pa(t.children,gS).map((function(t,r){return lt(t,{data:e,key:"labelList-".concat(r)})}));return r?[function(t,e){return t?!0===t?Z.createElement(gS,{key:"labelList-implicit",data:e}):Z.isValidElement(t)||kn(t)?Z.createElement(gS,{key:"labelList-implicit",data:e,content:t}):Sn(t)?Z.createElement(gS,fS({data:e},t,{key:"labelList-implicit"})):null:null}(t.label,e)].concat(uS(n)):n};var SS=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)/BO,f=l?i:i+o*s,p=l?i-o*s:i;return{center:RO(e,r,u,f),circleTangency:RO(e,r,n,f),lineTangency:RO(e,r,u*Math.cos(s*BO),p),theta:s}},jS=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=function(t,e){return zo(e-t)*Math.min(Math.abs(e-t),359.999)}(o,t.endAngle),c=o+a,l=RO(e,r,i,o),u=RO(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=RO(e,r,n,o),p=RO(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},AS={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},PS=function(t){var e=xS(xS({},AS),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=Xr("recharts-sector",f),d=o-i,y=Wo(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=zo(u-l),f=SS({cx:e,cy:r,radius:i,angle:l,sign:s,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=SS({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 "):jS({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=SS({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=SS({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}):jS({cx:r,cy:n,innerRadius:i,outerRadius:o,startAngle:u,endAngle:s}),Z.createElement("path",bS({},ga(e,!0),{className:h,d:p,role:"img"}))};function MS(t){return MS="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},MS(t)}function kS(){return kS=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},kS.apply(this,arguments)}function ES(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 CS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ES(Object(r),!0).forEach((function(e){_S(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ES(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _S(t,e,r){return e=function(t){var e=function(t,e){if("object"!=MS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=MS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==MS(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 TS,DS,IS,NS,BS,LS,RS,zS,$S,HS,VS,FS,US={curveBasisClosed:function(t){return new Yc(t)},curveBasisOpen:function(t){return new Xc(t)},curveBasis:function(t){return new qc(t)},curveBumpX:function(t){return new Pc(t,!0)},curveBumpY:function(t){return new Pc(t,!1)},curveLinearClosed:function(t){return new Kc(t)},curveLinear:xc,curveMonotoneX:function(t){return new tl(t)},curveMonotoneY:function(t){return new el(t)},curveNatural:function(t){return new nl(t)},curveStep:function(t){return new ol(t,.5)},curveStepAfter:function(t){return new ol(t,1)},curveStepBefore:function(t){return new ol(t,0)}},WS=function(t){return t.x===+t.x&&t.y===+t.y},qS=function(t){return t.x},YS=function(t){return t.y},XS=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(kn(t))return t;var r="curve".concat(oc(t));return"curveMonotone"!==r&&"curveBump"!==r||!e?US[r]||xc:US["".concat(r).concat("vertical"===e?"Y":"X")]}(n,c),f=u?o.filter((function(t){return WS(t)})):o;if(Array.isArray(a)){var p=u?a.filter((function(t){return WS(t)})):a,h=f.map((function(t,e){return CS(CS({},t),{},{base:p[e]})}));return(e="vertical"===c?Ac().y(YS).x1(qS).x0((function(t){return t.base.x})):Ac().x(qS).y1(YS).y0((function(t){return t.base.y}))).defined(WS).curve(s),e(h)}return(e="vertical"===c&&Ho(a)?Ac().y(YS).x1(qS).x0(a):Ho(a)?Ac().x(qS).y1(YS).y0(a):jc().x(qS).y(YS)).defined(WS).curve(s),e(f)},KS=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?XS(t):n;return Z.createElement("path",kS({},ga(t,!1),ea(t),{className:Xr("recharts-curve",e),d:o,ref:i}))},GS={exports:{}};function ZS(){if(DS)return TS;DS=1;var t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return TS=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},TS}function JS(){if(NS)return IS;NS=1;return IS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function QS(){return LS?BS:(LS=1,BS=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var tj=To;GS.exports=function(){if(HS)return $S;HS=1;var t=To,e=ZS(),r=JS(),n=QS(),i=function(){if(zS)return RS;zS=1;var t=function(){};if("production"!==process.env.NODE_ENV){var e=JS(),r={},n=QS();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={})},RS=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){}}),$S=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},$S}()(tj.isElement,!0)}else GS.exports=function(){if(FS)return VS;FS=1;var t=JS();function e(){}function r(){}return r.resetWarningCache=e,VS=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 ej=Fe(GS.exports),rj=Object.getOwnPropertyNames,nj=Object.getOwnPropertySymbols,ij=Object.prototype.hasOwnProperty;function oj(t,e){return function(r,n,i){return t(r,n,i)&&e(r,n,i)}}function aj(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 cj(t){return rj(t).concat(nj(t))}var lj=Object.hasOwn||function(t,e){return ij.call(t,e)};function uj(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var sj="_owner",fj=Object.getOwnPropertyDescriptor,pj=Object.keys;function hj(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 dj(t,e){return uj(t.getTime(),e.getTime())}function yj(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 vj(t,e,r){var n,i=pj(t),o=i.length;if(pj(e).length!==o)return!1;for(;o-- >0;){if((n=i[o])===sj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!lj(e,n)||!r.equals(t[n],e[n],n,n,t,e,r))return!1}return!0}function gj(t,e,r){var n,i,o,a=cj(t),c=a.length;if(cj(e).length!==c)return!1;for(;c-- >0;){if((n=a[c])===sj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!lj(e,n))return!1;if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;if(i=fj(t,n),o=fj(e,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function mj(t,e){return uj(t.valueOf(),e.valueOf())}function bj(t,e){return t.source===e.source&&t.flags===e.flags}function wj(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 xj(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 Oj="[object Arguments]",Sj="[object Boolean]",jj="[object Date]",Aj="[object Map]",Pj="[object Number]",Mj="[object Object]",kj="[object RegExp]",Ej="[object Set]",Cj="[object String]",_j=Array.isArray,Tj="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,Dj=Object.assign,Ij=Object.prototype.toString.call.bind(Object.prototype.toString);var Nj=Bj();function Bj(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?gj:hj,areDatesEqual:dj,areMapsEqual:n?oj(yj,gj):yj,areObjectsEqual:n?gj:vj,arePrimitiveWrappersEqual:mj,areRegExpsEqual:bj,areSetsEqual:n?oj(wj,gj):wj,areTypedArraysEqual:n?gj:xj};if(r&&(i=Dj({},i,r(i))),e){var o=aj(i.areArraysEqual),a=aj(i.areMapsEqual),c=aj(i.areObjectsEqual),l=aj(i.areSetsEqual);i=Dj({},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(_j(t))return e(t,u,s);if(null!=Tj&&Tj(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=Ij(t);return p===jj?r(t,u,s):p===kj?a(t,u,s):p===Aj?n(t,u,s):p===Ej?c(t,u,s):p===Mj?"function"!=typeof t.then&&"function"!=typeof u.then&&i(t,u,s):p===Oj?i(t,u,s):(p===Sj||p===Pj||p===Cj)&&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 Lj(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 Rj(t){return Rj="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},Rj(t)}function zj(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 $j(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 $j(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 $j(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 Hj(){var t=function(){return null},e=!1,r=function r(n){if(!e){if(Array.isArray(n)){if(!n.length)return;var i=zj(n),o=i[0],a=i.slice(1);return"number"==typeof o?void Lj(r.bind(null,a),o):(r(o),void Lj(r.bind(null,a)))}"object"===Rj(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 Vj(t){return Vj="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},Vj(t)}function Fj(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 Uj(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Fj(Object(r),!0).forEach((function(e){Wj(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Fj(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Wj(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Vj(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Vj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Vj(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Bj({strict:!0}),Bj({circular:!0}),Bj({circular:!0,strict:!0}),Bj({createInternalComparator:function(){return uj}}),Bj({strict:!0,createInternalComparator:function(){return uj}}),Bj({circular:!0,createInternalComparator:function(){return uj}}),Bj({circular:!0,createInternalComparator:function(){return uj},strict:!0});var qj=function(t){return t},Yj=function(t,e){return Object.keys(e).reduce((function(r,n){return Uj(Uj({},r),{},Wj({},n,t(n,e[n])))}),{})},Xj=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(",")},Kj="production"!==process.env.NODE_ENV,Gj=function(t,e,r,n,i,o,a,c){if(Kj&&"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 Zj(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)||Qj(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 Jj(t){return function(t){if(Array.isArray(t))return tA(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Qj(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 Qj(t,e){if(t){if("string"==typeof t)return tA(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)?tA(t,e):void 0}}function tA(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 eA=1e-4,rA=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},nA=function(t,e){return t.map((function(t,r){return t*Math.pow(e,r)})).reduce((function(t,e){return t+e}))},iA=function(t,e){return function(r){var n=rA(t,e);return nA(n,r)}},oA=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=Zj(l,4);n=u[0],i=u[1],o=u[2],a=u[3]}else Gj(!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)}Gj([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=iA(n,o),h=iA(i,a),d=(s=n,f=o,function(t){var e=rA(s,f),r=[].concat(Jj(e.map((function(t,e){return t*e})).slice(1)),[0]);return nA(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)<eA||a<eA)return h(n);n=(e=n-o/a)>1?1:e<0?0:e}return h(n)};return y.isStepper=!1,y},aA=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 oA(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)<eA&&Math.abs(o)<eA?[e,0]:[c,o]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return oA(n);Gj(!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:(Gj(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function cA(t){return cA="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},cA(t)}function lA(t){return function(t){if(Array.isArray(t))return dA(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||hA(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 uA(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 sA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uA(Object(r),!0).forEach((function(e){fA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function fA(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==cA(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==cA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===cA(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pA(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)||hA(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 hA(t,e){if(t){if("string"==typeof t)return dA(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)?dA(t,e):void 0}}function dA(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 yA=function(t,e,r){return t+(e-t)*r},vA=function(t){return t.from!==t.to},gA=function t(e,r,n){var i=Yj((function(t,r){if(vA(r)){var n=pA(e(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return sA(sA({},r),{},{from:i,velocity:o})}return r}),r);return n<1?Yj((function(t,e){return vA(e)?sA(sA({},e),{},{velocity:yA(e.velocity,i[t].velocity,n),from:yA(e.from,i[t].from,n)}):e}),r):t(e,i,n-1)},mA=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 sA(sA({},r),{},fA({},n,[t[n],e[n]]))}),{}),f=u.reduce((function(r,n){return sA(sA({},r),{},fA({},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=gA(r,f,o),i(sA(sA(sA({},t),e),Yj((function(t,e){return e.from}),f))),c=n,Object.values(f).filter(vA).length&&(p=requestAnimationFrame(h))}:function(o){l||(l=o);var a=(o-l)/n,c=Yj((function(t,e){return yA.apply(void 0,lA(e).concat([r(a)]))}),s);if(i(sA(sA(sA({},t),e),c)),a<1)p=requestAnimationFrame(h);else{var u=Yj((function(t,e){return yA.apply(void 0,lA(e).concat([r(1)]))}),s);i(sA(sA(sA({},t),e),u))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(p)}}};function bA(t){return bA="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},bA(t)}var wA=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function xA(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 OA(t){return function(t){if(Array.isArray(t))return SA(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 SA(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 SA(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 SA(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 jA(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 AA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?jA(Object(r),!0).forEach((function(e){PA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function PA(t,e,r){return(e=kA(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function MA(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,kA(n.key),n)}}function kA(t){var e=function(t,e){if("object"!==bA(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==bA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===bA(e)?e:String(e)}function EA(t,e){return EA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},EA(t,e)}function CA(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=DA(t);if(e){var i=DA(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return _A(this,r)}}function _A(t,e){if(e&&("object"===bA(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return TA(t)}function TA(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DA(t){return DA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},DA(t)}var IA=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&&EA(t,e)}(o,tt);var e,r,n,i=CA(o);function o(t,e){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var n=(r=i.call(this,t,e)).props,a=n.isActive,c=n.attributeName,l=n.from,u=n.to,s=n.steps,f=n.children,p=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(TA(r)),r.changeStyle=r.changeStyle.bind(TA(r)),!a||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:u}),_A(r);if(s&&s.length)r.state={style:s[0].style};else if(l){if("function"==typeof f)return r.state={style:l},_A(r);r.state={style:c?PA({},c,l):l}}else r.state={style:{}};return r}return e=o,(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(!(Nj(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?PA({},i,s):s};(i&&[i]!==s||!i&&l!==s)&&this.setState(f)}this.runAnimation(AA(AA({},this.props),{},{from:s,begin:0}))}}else{var p={style:i?PA({},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=mA(r,n,aA(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(OA(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(OA(t),[e.runJSAnimation.bind(e,{from:f.style,to:l,duration:o,easing:c}),o]);var h=Xj(p,o,c),d=AA(AA(AA({},f.style),l),{},{transition:h});return[].concat(OA(t),[d,o,s]).filter(qj)}),[a,Math.max(l,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=Hj());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?PA({},n,i):i,p=Xj(Object.keys(f),r,o);s.start([a,e,AA(AA({},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=xA(t,wA),o=Q.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 lt(t,AA(AA({},i),{},{style:AA(AA({},n),a),className:o}))};return 1===o?c(Q.only(e)):Z.createElement("div",null,Q.map(e,(function(t){return c(t)})))}}])&&MA(e.prototype,r),n&&MA(e,n),Object.defineProperty(e,"prototype",{writable:!1}),o}();function NA(t){return NA="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},NA(t)}function BA(){return BA=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},BA.apply(this,arguments)}function LA(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 RA(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 RA(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 RA(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 zA(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?zA(Object(r),!0).forEach((function(e){HA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function HA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=NA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=NA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==NA(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}IA.displayName="Animate",IA.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},IA.propTypes={from:ej.oneOfType([ej.object,ej.string]),to:ej.oneOfType([ej.object,ej.string]),attributeName:ej.string,duration:ej.number,begin:ej.number,easing:ej.oneOfType([ej.string,ej.func]),steps:ej.arrayOf(ej.shape({duration:ej.number.isRequired,style:ej.object.isRequired,easing:ej.oneOfType([ej.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),ej.func]),properties:ej.arrayOf("string"),onAnimationEnd:ej.func})),children:ej.oneOfType([ej.node,ej.func]),isActive:ej.bool,canBegin:ej.bool,onAnimationEnd:ej.func,shouldReAnimate:ej.bool,onAnimationStart:ej.func,onAnimationReStart:ej.func},ej.object,ej.object,ej.object,ej.element,ej.object,ej.object,ej.object,ej.oneOfType([ej.array,ej.element]),ej.any;var VA=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},FA=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},UA={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},WA=function(t){var e=$A($A({},UA),t),r=rt(),n=LA(it(-1),2),i=n[0],o=n[1];at((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=Xr("recharts-rectangle",f);return v?Z.createElement(IA,{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 Z.createElement(IA,{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},Z.createElement("path",BA({},ga(e,!0),{className:g,d:VA(a,c,n,o,s),ref:r})))})):Z.createElement("path",BA({},ga(e,!0),{className:g,d:VA(a,c,l,u,s)}))};function qA(){return qA=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},qA.apply(this,arguments)}var YA=function(t){var e=t.cx,r=t.cy,n=t.r,i=Xr("recharts-dot",t.className);return e===+e&&r===+r&&n===+n?Z.createElement("circle",qA({},ga(t,!1),ea(t),{className:i,cx:e,cy:r,r:n})):null};function XA(t){return XA="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},XA(t)}var KA=["x","y","top","left","width","height","className"];function GA(){return GA=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},GA.apply(this,arguments)}function ZA(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 JA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=XA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=XA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==XA(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 QA(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 tP=function(t,e,r,n,i,o){return"M".concat(t,",").concat(i,"v").concat(n,"M").concat(o,",").concat(e,"h").concat(r)},eP=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?ZA(Object(r),!0).forEach((function(e){JA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZA(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},QA(t,KA));return Ho(r)&&Ho(i)&&Ho(s)&&Ho(p)&&Ho(a)&&Ho(l)?Z.createElement("path",GA({},ga(d,!0),{className:Xr("recharts-cross",h),d:tP(r,i,s,p,a,l)})):null},rP=os(Object.getPrototypeOf,Object),nP=pn,iP=rP,oP=hn,aP=Function.prototype,cP=Object.prototype,lP=aP.toString,uP=cP.hasOwnProperty,sP=lP.call(Object);var fP=Fe((function(t){if(!oP(t)||"[object Object]"!=nP(t))return!1;var e=iP(t);if(null===e)return!0;var r=uP.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&lP.call(r)==sP})),pP=pn,hP=hn;var dP=Fe((function(t){return!0===t||!1===t||hP(t)&&"[object Boolean]"==pP(t)}));function yP(t){return yP="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},yP(t)}function vP(){return vP=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},vP.apply(this,arguments)}function gP(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 mP(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 mP(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 mP(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 bP(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 wP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?bP(Object(r),!0).forEach((function(e){xP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function xP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=yP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=yP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==yP(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 OP=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")},SP={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},jP=function(t){var e=wP(wP({},SP),t),r=rt(),n=gP(it(-1),2),i=n[0],o=n[1];at((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=Xr("recharts-trapezoid",f);return y?Z.createElement(IA,{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 Z.createElement(IA,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,easing:p},Z.createElement("path",vP({},ga(e,!0),{className:v,d:OP(c,l,n,o,a),ref:r})))})):Z.createElement("g",null,Z.createElement("path",vP({},ga(e,!0),{className:v,d:OP(a,c,l,u,s)})))},AP=["option","shapeType","propTransformer","activeClassName","isActive"];function PP(t){return PP="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},PP(t)}function MP(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 kP(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 EP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kP(Object(r),!0).forEach((function(e){CP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function CP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=PP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=PP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==PP(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 _P(t,e){return EP(EP({},e),t)}function TP(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return Z.createElement(WA,r);case"trapezoid":return Z.createElement(jP,r);case"sector":return Z.createElement(PS,r);case"symbols":if(function(t,e){return"symbols"===t}(e))return Z.createElement(bl,r);break;default:return null}}function DP(t){var e,r=t.option,n=t.shapeType,i=t.propTransformer,o=void 0===i?_P:i,a=t.activeClassName,c=void 0===a?"recharts-active-shape":a,l=t.isActive,u=MP(t,AP);if(J(r))e=lt(r,EP(EP({},u),function(t){return J(t)?t.props:t}(r)));else if(kn(r))e=r(u);else if(fP(r)&&!dP(r)){var s=o(r,u);e=Z.createElement(TP,{shapeType:n,elementProps:s})}else{var f=u;e=Z.createElement(TP,{shapeType:n,elementProps:f})}return l?Z.createElement(ka,{className:c},e):e}function IP(t,e){return null!=e&&"trapezoids"in t.props}function NP(t,e){return null!=e&&"sectors"in t.props}function BP(t,e){return null!=e&&"points"in t.props}function LP(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 RP(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function zP(t,e){var r=t.x===e.x,n=t.y===e.y,i=t.z===e.z;return r&&n&&i}function $P(t){var e=t.activeTooltipItem,r=t.graphicalItem,n=t.itemData,i=function(t,e){var r;return IP(t,e)?r="trapezoids":NP(t,e)?r="sectors":BP(t,e)&&(r="points"),r}(r,e),o=function(t,e){var r,n;return IP(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:NP(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:BP(t,e)?e.payload:{}}(r,e),a=n.filter((function(t,n){var a=Vw(o,t),c=r.props[i].filter((function(t){var n=function(t,e){var r;return IP(t,e)?r=LP:NP(t,e)?r=RP:BP(t,e)&&(r=zP),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 HP=Math.ceil,VP=Math.max;var FP=Rd,UP=1/0;var WP=function(t,e,r,n){for(var i=-1,o=VP(HP((e-t)/(r||1)),0),a=Array(o);o--;)a[n?o:++i]=t,t+=r;return a},qP=Ih,YP=function(t){return t?(t=FP(t))===UP||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0};var XP=Fe(function(t){return function(e,r,n){return n&&"number"!=typeof n&&qP(e,r,n)&&(r=n=void 0),e=YP(e),void 0===r?(r=e,e=0):r=YP(r),n=void 0===n?e<r?1:-1:YP(n),WP(e,r,n,t)}}());function KP(t){return KP="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},KP(t)}function GP(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 ZP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?GP(Object(r),!0).forEach((function(e){JP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):GP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function JP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=KP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=KP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==KP(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 QP=["Webkit","Moz","O","ms"];function tM(t){return tM="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},tM(t)}function eM(){return eM=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},eM.apply(this,arguments)}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){sM(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){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,fM(n.key),n)}}function oM(t,e,r){return e=cM(e),function(t,e){if(e&&("object"===tM(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return lM(t)}(t,aM()?Reflect.construct(e,r||[],cM(t).constructor):e.apply(t,r))}function aM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(aM=function(){return!!t})()}function cM(t){return cM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},cM(t)}function lM(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uM(t,e){return uM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},uM(t,e)}function sM(t,e,r){return(e=fM(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fM(t){var e=function(t,e){if("object"!=tM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tM(e)?e:String(e)}var pM=function(t){return t.changedTouches&&!!t.changedTouches.length},hM=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),sM(lM(r=oM(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)})),sM(lM(r),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleDrag(t.changedTouches[0])})),sM(lM(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()})),sM(lM(r),"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),sM(lM(r),"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),sM(lM(r),"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),sM(lM(r),"handleSlideDragStart",(function(t){var e=pM(t)?t.changedTouches[0]:t;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:e.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(lM(r),"startX"),endX:r.handleTravellerDragStart.bind(lM(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&&uM(t,e)}(e,tt),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=fO(r[t],i,t);return kn(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=pM(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(sM(sM({},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(sM({},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 Z.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=Q.only(a);return l?Z.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=this,i=this.props,o=i.y,a=i.travellerWidth,c=i.height,l=i.traveller,u=i.ariaLabel,s=i.data,f=i.startIndex,p=i.endIndex,h=Math.max(t,this.props.x),d=nM(nM({},ga(this.props,!1)),{},{x:h,y:o,width:a,height:c}),y=u||"Min value: ".concat(s[f].name,", Max value: ").concat(s[p].name);return Z.createElement(ka,{tabIndex:0,role:"slider","aria-label":y,"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(),n.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,r))},onFocus:function(){n.setState({isTravellerFocused:!0})},onBlur:function(){n.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(l,d))}},{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 Z.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 Z.createElement(ka,{className:"recharts-brush-texts"},Z.createElement(Ry,eM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:n+i/2},s),this.getTextOfTick(e)),Z.createElement(Ry,eM({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||!Ho(i)||!Ho(o)||!Ho(a)||!Ho(c)||a<=0||c<=0)return null;var v=Xr("recharts-brush",r),g=1===Z.Children.count(n),m=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),n=QP.reduce((function(t,n){return ZP(ZP({},t),{},JP({},n+r,e))}),{});return n[t]=e,n}("userSelect","none");return Z.createElement(ka,{className:v,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:m},this.renderBackground(),g&&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 Z.createElement(Z.Fragment,null,Z.createElement("rect",{x:e,y:r,width:n,height:i,fill:o,stroke:"none"}),Z.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),Z.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 Z.isValidElement(t)?Z.cloneElement(t,r):kn(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 nM({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=hv().domain(XP(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&&iM(r.prototype,n),i&&iM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();sM(hM,"displayName","Brush"),sM(hM,"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 dM=Zp;var yM=Kl,vM=tp,gM=function(t,e){var r;return dM(t,(function(t,n,i){return!(r=e(t,n,i))})),!!r},mM=Kr,bM=Ih;var wM=Fe((function(t,e,r){var n=mM(t)?yM:gM;return r&&bM(t,e,r)&&(e=void 0),n(t,vM(e))})),xM=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},OM=wh;var SM=function(t,e,r){"__proto__"==e&&OM?OM(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r},jM=SM,AM=Kp,PM=tp;var MM=function(t,e){var r={};return e=PM(e),AM(t,(function(t,n,i){jM(r,n,e(t,n,i))})),r},kM=Fe(MM);var EM=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},CM=Zp;var _M=EM,TM=function(t,e){var r=!0;return CM(t,(function(t,n,i){return r=!!e(t,n,i)})),r},DM=tp,IM=Kr,NM=Ih;var BM=Fe((function(t,e,r){var n=IM(t)?_M:TM;return r&&NM(t,e,r)&&(e=void 0),n(t,DM(e))})),LM=["x","y"];function RM(t){return RM="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},RM(t)}function zM(){return zM=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},zM.apply(this,arguments)}function $M(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 HM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$M(Object(r),!0).forEach((function(e){VM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$M(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function VM(t,e,r){return e=function(t){var e=function(t,e){if("object"!=RM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=RM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==RM(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 FM(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 UM(t,e){var r=t.x,n=t.y,i=FM(t,LM),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 HM(HM(HM(HM(HM({},e),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:s,width:p,name:e.name,radius:e.radius})}function WM(t){return Z.createElement(DP,zM({shapeType:"rectangle",propTransformer:UM,activeClassName:"recharts-active-bar"},t))}var qM,YM=["value","background"];function XM(t){return XM="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},XM(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(){return GM=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},GM.apply(this,arguments)}function ZM(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 JM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ZM(Object(r),!0).forEach((function(e){ok(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function QM(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,ak(n.key),n)}}function tk(t,e,r){return e=rk(e),function(t,e){if(e&&("object"===XM(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return nk(t)}(t,ek()?Reflect.construct(e,r||[],rk(t).constructor):e.apply(t,r))}function ek(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ek=function(){return!!t})()}function rk(t){return rk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},rk(t)}function nk(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ik(t,e){return ik=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ik(t,e)}function ok(t,e,r){return(e=ak(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ak(t){var e=function(t,e){if("object"!=XM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=XM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==XM(e)?e:String(e)}var ck=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 ok(nk(t=tk(this,e,[].concat(n))),"state",{isAnimationFinished:!1}),ok(nk(t),"id",Uo("recharts-bar-")),ok(nk(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()})),ok(nk(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&&ik(t,e)}(e,tt),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=ga(this.props,!1);return t&&t.map((function(t,r){var l=r===o,u=l?a:n,s=JM(JM(JM({},c),t),{},{isActive:l,option:u,index:r,dataKey:i,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return Z.createElement(ka,GM({className:"recharts-bar-rectangle"},ra(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)}),Z.createElement(WM,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 Z.createElement(IA,{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=Yo(r.x,t.x),a=Yo(r.y,t.y),c=Yo(r.width,t.width),l=Yo(r.height,t.height);return JM(JM({},t),{},{x:o(i),y:a(i),width:c(i),height:l(i)})}if("horizontal"===n){var s=Yo(0,t.height)(i);return JM(JM({},t),{},{y:t.y+t.height-s,height:s})}var f=Yo(0,t.width)(i);return JM(JM({},t),{},{width:f})}));return Z.createElement(ka,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&&Vw(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=ga(this.props.background,!1);return r.map((function(e,r){e.value;var a=e.background,c=KM(e,YM);if(!a)return null;var l=JM(JM(JM(JM(JM({},c),{},{fill:"#eee"},a),o),ra(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 Z.createElement(WM,GM({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=pa(r.children,Qx);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:fO(t,e)}},s={clipPath:t?"url(#clipPath-".concat(e,")"):null};return Z.createElement(ka,s,c.map((function(t){return Z.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=Xr("recharts-bar",n),y=i&&i.allowDataOverflow,v=o&&o.allowDataOverflow,g=y||v,m=Oo(p)?this.id:p;return Z.createElement(ka,{className:d},y||v?Z.createElement("defs",null,Z.createElement("clipPath",{id:"clipPath-".concat(m)},Z.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,Z.createElement(ka,{className:"recharts-bar-rectangles",clipPath:g?"url(#clipPath-".concat(m,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(g,m),(!s||h)&&gS.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&&QM(r.prototype,n),i&&QM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();function lk(t){return lk="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},lk(t)}function uk(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,hk(n.key),n)}}function sk(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 fk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sk(Object(r),!0).forEach((function(e){pk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function pk(t,e,r){return(e=hk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hk(t){var e=function(t,e){if("object"!=lk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=lk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==lk(e)?e:String(e)}qM=ck,ok(ck,"displayName","Bar"),ok(ck,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!pd.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),ok(ck,"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=pa(g,ey),S=f.map((function(t,e){var n,f,p,y,g,b;u?n=function(t,e){if(!e||2!==e.length||!Ho(e[0])||!Ho(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(!Ho(t[0])||t[0]<r)&&(i[0]=r),(!Ho(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=fO(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?Yx(!1,"minPointSize callback function received a value with type of ".concat(RM(r),". Currently only numbers are supported.")):Yx(!1)),e)}}(m,qM.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=jO({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=zo(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=jO({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+=zo(y||S)*(Math.abs(S)-Math.abs(y))}return JM(JM(JM({},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:[_O(r,t)],tooltipPosition:{x:f+y/2,y:p+g/2}})}));return JM({data:S,layout:d},p)}));var dk=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=!!ha(l,ck);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=Wo(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:fv(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:Ng(),realScaleType:"linear"}:"category"===i&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:hv(),realScaleType:"point"}:"category"===i?{scale:fv(),realScaleType:"band"}:{scale:Ng(),realScaleType:"linear"};if(Mo(n)){var c="scale".concat(oc(n));return{scale:(ww[c]||hv)(),realScaleType:ww[c]?c:"point"}}return kn(n)?{scale:n}:{scale:hv(),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])-wO,o=Math.max(n[0],n[1])+wO,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=Fx(l,i,a);return t.domain([Tw(u),Mw(u)]),{niceTicks:u}}if(i&&"number"===n){var s=t.domain();return{niceTicks:Ux(s,i,a)}}return null}(_,fk(fk({},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 I=fk(fk(fk({},y),D),{},{realScaleType:T,x:p,y:h,scale:_,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return I.bandSize=EO(I,D),y.hide||"xAxis"!==n?y.hide||(s[O]+=(d?-1:1)*I.width):s[O]+=(d?-1:1)*I.height,fk(fk({},o),{},pk({},a,I))}),{})},yk=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)}},vk=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&&uk(e.prototype,r),n&&uk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();pk(vk,"EPS",1e-4);var gk=function(t){var e=Object.keys(t).reduce((function(e,r){return fk(fk({},e),{},pk({},r,vk.create(t[r])))}),{});return fk(fk({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return kM(t,(function(t,r){return e[r].apply(t,{bandAware:n,position:i})}))},isInRange:function(t){return BM(t,(function(t,r){return e[r].isInRange(t)}))}})};var mk=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)},bk=Yi((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 wk(t){return wk="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},wk(t)}var xk=ft(void 0),Ok=ft(void 0),Sk=ft(void 0),jk=ft({}),Ak=ft(void 0),Pk=ft(0),Mk=ft(0),kk=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=bk(i);return Z.createElement(xk.Provider,{value:r},Z.createElement(Ok.Provider,{value:n},Z.createElement(jk.Provider,{value:i},Z.createElement(Sk.Provider,{value:u},Z.createElement(Ak.Provider,{value:o},Z.createElement(Pk.Provider,{value:l},Z.createElement(Mk.Provider,{value:c},a)))))))};function Ek(t){var e=Object.keys(t);return 0===e.length?"There are no available ids.":"Available ids are: ".concat(e,".")}var Ck=function(t){var e=st(xk);null==e&&("production"!==process.env.NODE_ENV?Yx(!1,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Yx(!1));var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Yx(!1,'Could not find xAxis by id "'.concat(t,'" [').concat(wk(t),"]. ").concat(Ek(e))):Yx(!1)),r},_k=function(t){var e=st(Ok);null==e&&("production"!==process.env.NODE_ENV?Yx(!1,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Yx(!1));var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Yx(!1,'Could not find yAxis by id "'.concat(t,'" [').concat(wk(t),"]. ").concat(Ek(e))):Yx(!1)),r},Tk=function(){return st(Mk)},Dk=function(){return st(Pk)};function Ik(t){return Ik="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},Ik(t)}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 Bk(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){Lk(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 Lk(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Ik(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ik(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ik(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 Rk(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 zk(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 zk(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 zk(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 $k(){return $k=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},$k.apply(this,arguments)}function Hk(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=st(Ak),s=Ck(i),f=_k(o),p=st(Sk);if(!u||!p)return null;Ca(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(xM(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(xM(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 xM(l,"discard")&&wM(b,(function(e){return!t.isInRange(e)}))?null:b}return null}(gk({x:s.scale,y:f.scale}),Vo(e),Vo(r),n&&2===n.length,p,t.position,s.orientation,f.orientation,t);if(!h)return null;var d=Rk(h,2),y=d[0],v=y.x,g=y.y,m=d[1],b=m.x,w=m.y,x=Bk(Bk({clipPath:xM(t,"hidden")?"url(#".concat(u,")"):void 0},ga(t,!0)),{},{x1:v,y1:g,x2:b,y2:w});return Z.createElement(ka,{className:Xr("recharts-reference-line",c)},function(t,e){return Z.isValidElement(t)?Z.cloneElement(t,e):kn(t)?t(e):Z.createElement("line",$k({},e,{className:"recharts-reference-line-line"}))}(a,x),rS.renderCallByParent(t,function(t){var e=t.x1,r=t.y1,n=t.x2,i=t.y2;return yk({x:e,y:r},{x:n,y:i})}({x1:v,y1:g,x2:b,y2:w})))}function Vk(t){return Vk="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},Vk(t)}function Fk(){return Fk=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},Fk.apply(this,arguments)}function Uk(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 Wk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Uk(Object(r),!0).forEach((function(e){qk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Uk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qk(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Vk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Vk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Vk(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Hk.displayName="ReferenceLine",Hk.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function Yk(t){var e=t.x,r=t.y,n=t.r,i=t.alwaysShow,o=t.clipPathId,a=Vo(e),c=Vo(r);if(Ca(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=gk({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return xM(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=Wk(Wk({clipPath:xM(t,"hidden")?"url(#".concat(o,")"):void 0},ga(t,!0)),{},{cx:u,cy:s});return Z.createElement(ka,{className:Xr("recharts-reference-dot",p)},Yk.renderDot(f,h),rS.renderCallByParent(t,{x:u-n,y:s-n,width:2*n,height:2*n}))}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="ReferenceDot",Yk.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},Yk.renderDot=function(t,e){return Z.isValidElement(t)?Z.cloneElement(t,e):kn(t)?t(e):Z.createElement(YA,Fk({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};function Qk(t){var e=t.x1,r=t.x2,n=t.y1,i=t.y2,o=t.className,a=t.alwaysShow,c=t.clipPathId;Ca(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=Vo(e),u=Vo(r),s=Vo(n),f=Vo(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=gk({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!xM(i,"discard")||f.isInRange(p)&&f.isInRange(h)?yk(p,h):null}(l,u,s,f,t);if(!h&&!p)return null;var d=xM(t,"hidden")?"url(#".concat(c,")"):void 0;return Z.createElement(ka,{className:Xr("recharts-reference-area",o)},Qk.renderRect(p,Zk(Zk({clipPath:d},ga(t,!0)),h)),rS.renderCallByParent(t,h))}function tE(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){if(void 0!==r&&!0!==r(t[i]))return;n.push(t[i])}return n}function eE(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 rE(t){return rE="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},rE(t)}function nE(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 iE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nE(Object(r),!0).forEach((function(e){oE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function oE(t,e,r){return e=function(t){var e=function(t,e){if("object"!=rE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=rE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==rE(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 aE(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(Ho(l)||pd.isSsr)return function(t,e){return tE(t,e+1)}(i,"number"==typeof l&&Ho(l)?l:0);var p=[],h="top"===c||"bottom"===c?"width":"height",d=s&&"width"===h?uy(s,{fontSize:e,letterSpacing:r}):{width:0,height:0},y=function(t,n){var i=kn(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 mk(n,r)}(uy(i,{fontSize:e,letterSpacing:r}),d,f):uy(i,{fontSize:e,letterSpacing:r})[h]},v=i.length>=2?zo(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:tE(n,s)};var o,a=u,p=function(){return void 0===o&&(o=r(e,a)),o},h=e.coordinate,d=0===u||eE(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=iE(iE({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),eE(t,s.tickCoord,(function(){return f}),l,u)&&(u=s.tickCoord-t*(f/2+i),a[c-1]=iE(iE({},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=iE(iE({},o),{},{tickCoord:s<0?o.coordinate-s*t:o.coordinate})}else a[e]=o=iE(iE({},o),{},{tickCoord:o.coordinate});eE(t,o.tickCoord,c,l,u)&&(l=o.tickCoord+t*(c()/2+i),a[e]=iE(iE({},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=iE(iE({},u),{},{tickCoord:f>0?u.coordinate-f*t:u.coordinate})}else o[e]=u=iE(iE({},u),{},{tickCoord:u.coordinate});eE(t,u.tickCoord,s,c,l)&&(l=u.tickCoord-t*(s()/2+i),o[e]=iE(iE({},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})))}Qk.displayName="ReferenceArea",Qk.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},Qk.renderRect=function(t,e){return Z.isValidElement(t)?Z.cloneElement(t,e):kn(t)?t(e):Z.createElement(WA,Kk({},e,{className:"recharts-reference-area-rect"}))};var cE=["viewBox"],lE=["viewBox"],uE=["ticks"];function sE(t){return sE="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},sE(t)}function fE(){return fE=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},fE.apply(this,arguments)}function pE(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 hE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pE(Object(r),!0).forEach((function(e){wE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function dE(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 yE(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,xE(n.key),n)}}function vE(t,e,r){return e=mE(e),function(t,e){if(e&&("object"===sE(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,gE()?Reflect.construct(e,r||[],mE(t).constructor):e.apply(t,r))}function gE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(gE=function(){return!!t})()}function mE(t){return mE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mE(t)}function bE(t,e){return bE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},bE(t,e)}function wE(t,e,r){return(e=xE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xE(t){var e=function(t,e){if("object"!=sE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sE(e)?e:String(e)}var OE=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=vE(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&&bE(t,e)}(e,pt),r=e,n=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=dE(t,cE),i=this.props,o=i.viewBox,a=dE(i,lE);return!Ko(r,o)||!Ko(n,a)||!Ko(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=Ho(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=hE(hE(hE({},ga(this.props,!1)),ga(c,!1)),{},{fill:"none"});if("top"===o||"bottom"===o){var u=+("top"===o&&!a||"bottom"===o&&a);l=hE(hE({},l),{},{x1:e,y1:r+u*i,x2:e+n,y2:r+u*i})}else{var s=+("left"===o&&!a||"right"===o&&a);l=hE(hE({},l),{},{x1:e+s*n,y1:r,x2:e+s*n,y2:r+i})}return Z.createElement("line",fE({},l,{className:Xr("recharts-cartesian-axis-line",xo(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=aE(hE(hE({},this.props),{},{ticks:t}),r,n),p=this.getTickTextAnchor(),h=this.getTickVerticalAnchor(),d=ga(this.props,!1),y=ga(l,!1),v=hE(hE({},d),{},{fill:"none"},ga(a,!1)),g=f.map((function(t,r){var n=i.getTickLineCoord(t),o=n.line,g=n.tick,m=hE(hE(hE(hE({textAnchor:p,verticalAnchor:h},d),{},{stroke:"none",fill:c},y),g),{},{index:r,payload:t,visibleTicksCount:f.length,tickFormatter:u});return Z.createElement(ka,fE({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},ra(i.props,t,r)),a&&Z.createElement("line",fE({},v,o,{className:Xr("recharts-cartesian-axis-tick-line",xo(a,"className"))})),l&&e.renderTickItem(l,m,"".concat(kn(u)?u(t.value,r):t.value).concat(s||"")))}));return Z.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=dE(c,uE),s=l;return kn(o)&&(s=l&&l.length>0?o(this.props):o(u)),n<=0||i<=0||!s||!s.length?null:Z.createElement(ka,{className:Xr("recharts-cartesian-axis",a),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),rS.renderCallByParent(this.props))}}],i=[{key:"renderTickItem",value:function(t,e,r){return Z.isValidElement(t)?Z.cloneElement(t,e):kn(t)?t(e):Z.createElement(Ry,fE({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&yE(r.prototype,n),i&&yE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();wE(OE,"displayName","CartesianAxis"),wE(OE,"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 SE=["type","layout","connectNulls","ref"];function jE(t){return jE="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},jE(t)}function AE(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 PE(){return PE=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},PE.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 kE(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){LE(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 EE(t){return function(t){if(Array.isArray(t))return CE(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 CE(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 CE(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 CE(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 _E(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,RE(n.key),n)}}function TE(t,e,r){return e=IE(e),function(t,e){if(e&&("object"===jE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return NE(t)}(t,DE()?Reflect.construct(e,r||[],IE(t).constructor):e.apply(t,r))}function DE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(DE=function(){return!!t})()}function IE(t){return IE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},IE(t)}function NE(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BE(t,e){return BE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},BE(t,e)}function LE(t,e,r){return(e=RE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function RE(t){var e=function(t,e){if("object"!=jE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=jE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==jE(e)?e:String(e)}var zE=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 LE(NE(t=TE(this,e,[].concat(n))),"state",{isAnimationFinished:!0,totalLength:0}),LE(NE(t),"generateSimpleStrokeDasharray",(function(t,e){return"".concat(e,"px ").concat(t-e,"px")})),LE(NE(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(EE(i.slice(0,s)),[c-f]);break}var p=u.length%2==0?[0,l]:[l];return[].concat(EE(e.repeat(i,a)),EE(u),p).map((function(t){return"".concat(t,"px")})).join(", ")})),LE(NE(t),"id",Uo("recharts-line-")),LE(NE(t),"pathRef",(function(e){t.mainCurve=e})),LE(NE(t),"handleAnimationEnd",(function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()})),LE(NE(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&&BE(t,e)}(e,tt),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=pa(r.children,Qx);if(!c)return null;var l=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:fO(t.payload,e)}},u={clipPath:t?"url(#clipPath-".concat(e,")"):null};return Z.createElement(ka,u,c.map((function(t){return Z.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=ga(this.props,!1),u=ga(o,!0),s=a.map((function(t,r){var n=kE(kE(kE({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 Z.createElement(ka,PE({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=AE(i,SE),u=kE(kE(kE({},ga(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 Z.createElement(KS,PE({},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 Z.createElement(IA,{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=Yo(n.x,t.x),o=Yo(n.y,t.y);return kE(kE({},t),{},{x:i(a),y:o(a)})}if(f){var l=Yo(2*p,t.x),u=Yo(h/2,t.y);return kE(kE({},t),{},{x:l(a),y:u(a)})}return kE(kE({},t),{},{x:t.x,y:t.y})}));return r.renderCurveStatically(l,t,e)}var u,s=Yo(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||!Vw(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=Xr("recharts-line",o),g=a&&a.allowDataOverflow,m=c&&c.allowDataOverflow,b=g||m,w=Oo(h)?this.id:h,x=null!==(t=ga(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=(va(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Z.createElement(ka,{className:v},g||m?Z.createElement("defs",null,Z.createElement("clipPath",{id:"clipPath-".concat(w)},Z.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&&Z.createElement("clipPath",{id:"clipPath-dots-".concat(w)},Z.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)&&gS.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(EE(t),[0]):t,n=[],i=0;i<e;++i)n=[].concat(EE(n),EE(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(Z.isValidElement(t))r=Z.cloneElement(t,e);else if(kn(t))r=t(e);else{var n=Xr("recharts-line-dot","boolean"!=typeof t?t.className:"");r=Z.createElement(YA,PE({},e,{className:n}))}return r}}],n&&_E(r.prototype,n),i&&_E(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();LE(zE,"displayName","Line"),LE(zE,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!pd.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),LE(zE,"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 kE({points:l.map((function(t,e){var l=fO(t,a);return"horizontal"===s?{x:SO({axis:r,ticks:i,bandSize:c,entry:t,index:e}),y:Oo(l)?null:n.scale(l),value:l,payload:t}:{x:Oo(l)?null:r.scale(l),y:SO({axis:n,ticks:o,bandSize:c,entry:t,index:e}),value:l,payload:t}})),layout:s},u)}));var $E,HE=["layout","type","stroke","connectNulls","isRange","ref"];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 FE(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 UE(){return UE=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},UE.apply(this,arguments)}function WE(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 qE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?WE(Object(r),!0).forEach((function(e){QE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):WE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function YE(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,tC(n.key),n)}}function XE(t,e,r){return e=GE(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 ZE(t)}(t,KE()?Reflect.construct(e,r||[],GE(t).constructor):e.apply(t,r))}function KE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(KE=function(){return!!t})()}function GE(t){return GE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},GE(t)}function ZE(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JE(t,e){return JE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},JE(t,e)}function QE(t,e,r){return(e=tC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tC(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 eC=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 QE(ZE(t=XE(this,e,[].concat(n))),"state",{isAnimationFinished:!0}),QE(ZE(t),"id",Uo("recharts-area-")),QE(ZE(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),kn(e)&&e()})),QE(ZE(t),"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),kn(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&&JE(t,e)}(e,tt),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=ga(this.props,!1),f=ga(c,!0),p=l.map((function(t,r){var n=qE(qE(qE({key:"dot-".concat(r),r:3},s),f),{},{dataKey:u,cx:t.x,cy:t.y,index:r,value:t.value,payload:t.payload});return e.renderDotItem(c,n)})),h={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return Z.createElement(ka,UE({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=Mw(n.map((function(t){return t.y||0})));return Ho(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Mw(r.map((function(t){return t.y||0}))),l)),Ho(l)?Z.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=Mw(n.map((function(t){return t.x||0})));return Ho(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Mw(r.map((function(t){return t.x||0}))),l)),Ho(l)?Z.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=FE(i,HE);return Z.createElement(ka,{clipPath:r?"url(#clipPath-".concat(n,")"):null},Z.createElement(KS,UE({},ga(s,!0),{points:t,connectNulls:l,type:a,baseLine:e,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&Z.createElement(KS,UE({},ga(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:t})),"none"!==c&&u&&Z.createElement(KS,UE({},ga(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 Z.createElement(IA,{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=Yo(n.x,t.x),o=Yo(n.y,t.y);return qE(qE({},t),{},{x:i(a),y:o(a)})}return t}));return c=Ho(o)&&"number"==typeof o?Yo(h,o)(a):Oo(o)||Ro(o)?Yo(h,0)(a):o.map((function(t,e){var r=Math.floor(e*l);if(h[r]){var n=h[r],i=Yo(n.x,t.x),o=Yo(n.y,t.y);return qE(qE({},t),{},{x:i(a),y:o(a)})}return t})),r.renderAreaStatically(u,c,t,e)}return Z.createElement(ka,null,Z.createElement("defs",null,Z.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(a))),Z.createElement(ka,{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||!Vw(c,n)||!Vw(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=Xr("recharts-area",o),g=l&&l.allowDataOverflow,m=u&&u.allowDataOverflow,b=g||m,w=Oo(h)?this.id:h,x=null!==(t=ga(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=(va(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Z.createElement(ka,{className:v},g||m?Z.createElement("defs",null,Z.createElement("clipPath",{id:"clipPath-".concat(w)},Z.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&&Z.createElement("clipPath",{id:"clipPath-dots-".concat(w)},Z.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)&&gS.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&&YE(r.prototype,n),i&&YE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();function rC(){return rC=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},rC.apply(this,arguments)}$E=eC,QE(eC,"displayName","Area"),QE(eC,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!pd.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),QE(eC,"getBaseValue",(function(t,e,r,n){var i=t.layout,o=t.baseValue,a=e.props.baseValue,c=null!=a?a:o;if(Ho(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]})),QE(eC,"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=$E.getBaseValue(r,n,i,o),g="horizontal"===d,m=!1,b=p.map((function(t,e){var r;y?r=s[f+e]:(r=fO(t,u),Array.isArray(r)?m=!0:r=[v,r]);var n=null==r[1]||y&&null==fO(t,u);return g?{x:SO({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:SO({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),qE({points:b,baseLine:e,layout:d,isRange:m},h)})),QE(eC,"renderDotItem",(function(t,e){var r;if(Z.isValidElement(t))r=Z.cloneElement(t,e);else if(kn(t))r=t(e);else{var n=Xr("recharts-area-dot","boolean"!=typeof t?t.className:"");r=Z.createElement(YA,UE({},e,{className:n}))}return r}));var nC=function(t){var e=t.xAxisId,r=Tk(),n=Dk(),i=Ck(e);return null==i?null:Z.createElement(OE,rC({},i,{className:Xr("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return gO(t,!0)}}))};function iC(){return iC=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},iC.apply(this,arguments)}nC.displayName="XAxis",nC.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 oC=function(t){var e=t.yAxisId,r=Tk(),n=Dk(),i=_k(e);return null==i?null:Z.createElement(OE,iC({},i,{className:Xr("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return gO(t,!0)}}))};function aC(t){return function(t){if(Array.isArray(t))return cC(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 cC(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 cC(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 cC(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}oC.displayName="YAxis",oC.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 lC=function(t,e,r,n,i){var o=pa(t,Hk),a=pa(t,Yk),c=[].concat(aC(o),aC(a)),l=pa(t,Qk),u="".concat(n,"Id"),s=n[0],f=e;if(c.length&&(f=c.reduce((function(t,e){if(e.props[u]===r&&xM(e.props,"extendDomain")&&Ho(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&&xM(e.props,"extendDomain")&&Ho(e.props[p])&&Ho(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 Ho(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},uC={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}(uC);var sC=new(Fe(uC.exports)),fC="recharts.syncMouseEvents";function pC(t){return pC="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},pC(t)}function hC(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,yC(n.key),n)}}function dC(t,e,r){return(e=yC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function yC(t){var e=function(t,e){if("object"!=pC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pC(e)?e:String(e)}var vC=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),dC(this,"activeIndex",0),dC(this,"coordinateList",[]),dC(this,"layout","horizontal")}var e,r,n;return e=t,r=[{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})}}}],r&&hC(e.prototype,r),n&&hC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function gC(t){var e=t.cx,r=t.cy,n=t.radius,i=t.startAngle,o=t.endAngle;return{points:[RO(e,r,n,i),RO(e,r,n,o)],cx:e,cy:r,radius:n,startAngle:i,endAngle:o}}function mC(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 gC(e);var c=e.cx,l=e.cy,u=e.innerRadius,s=e.outerRadius,f=e.angle,p=RO(c,l,u,f),h=RO(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 bC(t){return bC="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},bC(t)}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 xC(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){OC(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 OC(t,e,r){return e=function(t){var e=function(t,e){if("object"!=bC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=bC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==bC(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 SC(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=KS;if("ScatterChart"===f)e=o,p=eP;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=WA;else if("radial"===s){var h=gC(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=PS}else e={points:mC(s,o,c)},p=KS;var g=xC(xC(xC(xC({stroke:"#ccc",pointerEvents:"none"},c),e),ga(r.props.cursor,!1)),{},{payload:a,payloadIndex:l,className:Xr("recharts-tooltip-cursor",r.props.cursor.className)});return J(r.props.cursor)?lt(r.props.cursor,g):ut(p,g)}var jC=["item"],AC=["children","className","width","height","style","compact","title","desc"];function PC(t){return PC="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},PC(t)}function MC(){return MC=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},MC.apply(this,arguments)}function kC(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)||LC(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 EC(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 CC(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,VC(n.key),n)}}function _C(t,e,r){return e=DC(e),function(t,e){if(e&&("object"===PC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return IC(t)}(t,TC()?Reflect.construct(e,r||[],DC(t).constructor):e.apply(t,r))}function TC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(TC=function(){return!!t})()}function DC(t){return DC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},DC(t)}function IC(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NC(t,e){return NC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},NC(t,e)}function BC(t){return function(t){if(Array.isArray(t))return RC(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||LC(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 LC(t,e){if(t){if("string"==typeof t)return RC(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)?RC(t,e):void 0}}function RC(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 zC(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 $C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zC(Object(r),!0).forEach((function(e){HC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function HC(t,e,r){return(e=VC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function VC(t){var e=function(t,e){if("object"!=PC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=PC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==PC(e)?e:String(e)}var FC={xAxis:["bottom","top"],yAxis:["left","right"]},UC={width:"100%",height:"100%"},WC={x:0,y:0};function qC(t){return t}var YC=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(BC(t),BC(r)):t}),[]);return o.length>0?o:t&&t.length&&Ho(n)&&Ho(i)?t.slice(n,i+1):[]};function XC(t){return"number"===t?[0,"auto"]:void 0}var KC=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=YC(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=Xo(void 0===s?a:s,o.dataKey,n):u=s&&s[r]||a[r];return u?[].concat(BC(i),[_O(c,u)]):i}),[])},GC=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(zo(s-u)!==zo(f-s)){var h=[];if(zo(f-s)===zo(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=KC(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 $C($C($C({},n),RO(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,l=n.angle;return $C($C($C({},n),RO(n.cx,n.cy,c,l)),{},{angle:l,radius:c})}return WC}(r,a,u,i);return{activeTooltipIndex:u,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},ZC=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=vO(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=YC(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&&Ho(n)&&Ho(i))return!0}return!1})(r.props.domain,g,y)&&(S=kO(r.props.domain,null,g),!p||"number"!==y&&"auto"===b||(A=pO(P,v,"category")));var k=XC(y);if(!S||0===S.length){var E,C=null!==(E=r.props.domain)&&void 0!==E?E:k;if(v){if(S=pO(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=XP(0,M)):m||(S=CO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(BC(t),[e])}),[]))}else if("category"===y)S=m?S.filter((function(t){return""!==t&&!Oo(t)})):CO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0||""===e||Oo(e)?t:[].concat(BC(t),[e])}),[]);else if("number"===y){var T=function(t,e,r,n,i){var o=e.map((function(e){return dO(t,e,r,i,n)})).filter((function(t){return!Oo(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=pO(P,v,"category"))}else S=p?XP(0,M):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:AO(a[O].stackGroups,c,l):yO(P,n.filter((function(t){return t.props[o]===O&&(x||!t.props.hide)})),y,u,!0);if("number"===y)S=lC(s,S,O,i,w),C&&(S=kO(C,S,g));else if("category"===y&&C){var D=C;S.every((function(t){return D.indexOf(t)>=0}))&&(S=D)}}return $C($C({},e),{},HC({},O,$C($C({},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})))}),{})},JC=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=pa(u,i),p={};return f&&f.length?p=ZC(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=YC(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:l}),p=f.length,h=vO(u,i),d=-1;return r.reduce((function(t,e){var y,v=e.props[o],g=XC("number");return t[v]?t:(d++,h?y=XP(0,p):a&&a[v]&&a[v].hasStack?(y=AO(a[v].stackGroups,c,l),y=lC(s,y,v,i)):(y=kO(g,yO(f,r.filter((function(t){return t.props[o]===v&&!t.props.hide})),"number",u),n.defaultProps.allowDataOverflow),y=lC(s,y,v,i)),$C($C({},t),{},HC({},v,$C($C({axisType:i},n.defaultProps),{},{hide:!0,orientation:xo(FC,"".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},QC=function(t){var e=t.children,r=t.defaultShowTooltip,n=ha(e,hM),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)}},t_=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"}},e_=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=ha(u,hM),p=ha(u,zp),h=Object.keys(a).reduce((function(t,e){var r=a[e],n=r.orientation;return r.mirror||r.hide?t:$C($C({},t),{},HC({},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:$C($C({},t),{},HC({},n,xo(t,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=$C($C({},d),h),v=y.bottom;f&&(y.bottom+=f.props.height||hM.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=iO({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&&Ho(t[p]))return cO(cO({},t),{},lO({},p,t[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&Ho(t[h]))return cO(cO({},t),{},lO({},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 $C($C({brushBottom:v},y),{},{width:Math.max(g,0),height:Math.max(m,0)})},r_=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=t_(s),y=d.numericAxisName,v=d.cateAxisName,g=function(t){return!(!t||!t.length)&&t.some((function(t){var e=la(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(r),m=g&&function(t){var e=t.barSize,r=t.stackGroups,n=void 0===r?{}:r;if(!n)return{};for(var i={},o=Object.keys(n),a=0,c=o.length;a<c;a++)for(var l=n[o[a]].stackGroups,u=Object.keys(l),s=0,f=u.length;s<f;s++){var p=l[u[s]],h=p.items,d=p.cateAxisId,y=h.filter((function(t){return la(t.type).indexOf("Bar")>=0}));if(y&&y.length){var v=y[0].props.barSize,g=y[0].props[d];i[g]||(i[g]=[]),i[g].push({item:y[0],stackList:y.slice(1),barSize:Oo(v)?e:v})}}return i}({barSize:u,stackGroups:n}),b=[];return r.forEach((function(r,u){var d=YC(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:c}),g=r.props,w=g.dataKey,x=g.maxBarSize,O=r.props["".concat(y,"Id")],S=r.props["".concat(v,"Id")],j=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?Yx(!1,"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:"")):Yx(!1));var l=a[c];return $C($C({},t),{},HC(HC({},n.axisType,l),"".concat(n.axisType,"Ticks"),gO(l)))}),{}),A=j[v],P=j["".concat(v,"Ticks")],M=n&&n[O]&&n[O].hasStack&&function(t,e){var r=t.props.stackId;if(Vo(r)){var n=e[r];if(n){var i=n.items.indexOf(t);return i>=0?n.stackedData[i]:null}}return null}(r,n[O].stackGroups),k=la(r.type).indexOf("Bar")>=0,E=EO(A,P),C=[];if(k){var _,T,D=Oo(x)?h:x,I=null!==(_=null!==(T=EO(A,P,!0))&&void 0!==T?T:D)&&void 0!==_?_:0;C=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=Wo(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(uO(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=Wo(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(uO(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:I!==E?I:E,sizeList:m[S],maxBarSize:D}),I!==E&&(C=C.map((function(t){return $C($C({},t),{},{position:$C($C({},t.position),{},{offset:t.position.offset-I/2})})})))}var N,B,L=r&&r.type&&r.type.getComposedData;L&&b.push({props:$C($C({},L($C($C({},j),{},{displayedData:d,props:t,dataKey:w,item:r,bandSize:E,barPosition:C,offset:i,stackedData:M,layout:s,dataStartIndex:a,dataEndIndex:c}))),{},HC(HC(HC({key:r.key||"item-".concat(u)},y,j[y]),v,j[v]),"animationId",o)),childIndex:(N=r,B=t.children,fa(B).indexOf(N)),item:r})})),b},h=function(t,e){var i=t.props,o=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!da({props:i}))return null;var u=i.children,f=i.layout,h=i.stackOffset,d=i.data,y=i.reverseStackOrder,v=t_(f),g=v.numericAxisName,m=v.cateAxisName,b=pa(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(Vo(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[Uo("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return cO(cO({},t),{},lO({},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 cO(cO({},e),{},lO({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:OO(t,a.items,i)}))}),{})),cO(cO({},e),{},lO({},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 $C($C({},t),{},HC({},r,JC(i,$C($C({},e),{},{graphicalItems:b,stackGroups:e.axisType===g&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),O=e_($C($C({},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=qo(A),{tooltipTicks:j=gO(S,!1,!0),orderedTooltipTicks:Rh(j,(function(t){return t.coordinate})),tooltipAxis:S,tooltipAxisBandSize:EO(S,j)}),M=p(i,$C($C({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:w,offset:O}));return $C($C({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),HC(IC(o=_C(this,e,[t])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),HC(IC(o),"accessibilityManager",new vC),HC(IC(o),"handleLegendBBoxUpdate",(function(t){if(t){var e=o.state,r=e.dataStartIndex,n=e.dataEndIndex,i=e.updateId;o.setState($C({legendBBox:t},h({props:o.props,dataStartIndex:r,dataEndIndex:n,updateId:i},$C($C({},o.state),{},{legendBBox:t}))))}})),HC(IC(o),"handleReceiveSyncEvent",(function(t,e,r){if(o.props.syncId===t){if(r===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(e)}})),HC(IC(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 $C({dataStartIndex:e,dataEndIndex:r},h({props:o.props,dataStartIndex:e,dataEndIndex:r,updateId:n},o.state))})),o.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}})),HC(IC(o),"handleMouseEnter",(function(t){var e=o.getMouseInfo(t);if(e){var r=$C($C({},e),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseEnter;kn(n)&&n(r,t)}})),HC(IC(o),"triggeredAfterMouseMove",(function(t){var e=o.getMouseInfo(t),r=e?$C($C({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseMove;kn(n)&&n(r,t)})),HC(IC(o),"handleItemMouseEnter",(function(t){o.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))})),HC(IC(o),"handleItemMouseLeave",(function(){o.setState((function(){return{isTooltipActive:!1}}))})),HC(IC(o),"handleMouseMove",(function(t){t.persist(),o.throttleTriggeredAfterMouseMove(t)})),HC(IC(o),"handleMouseLeave",(function(t){o.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};o.setState(e),o.triggerSyncEvent(e);var r=o.props.onMouseLeave;kn(r)&&r(e,t)})),HC(IC(o),"handleOuterEvent",(function(t){var e,r=function(t){var e=t&&t.type;return e&&ca[e]?ca[e]:null}(t),n=xo(o.props,"".concat(r));r&&kn(n)&&n(null!==(e=/.*touch.*/i.test(r)?o.getMouseInfo(t.changedTouches[0]):o.getMouseInfo(t))&&void 0!==e?e:{},t)})),HC(IC(o),"handleClick",(function(t){var e=o.getMouseInfo(t);if(e){var r=$C($C({},e),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onClick;kn(n)&&n(r,t)}})),HC(IC(o),"handleMouseDown",(function(t){var e=o.props.onMouseDown;kn(e)&&e(o.getMouseInfo(t),t)})),HC(IC(o),"handleMouseUp",(function(t){var e=o.props.onMouseUp;kn(e)&&e(o.getMouseInfo(t),t)})),HC(IC(o),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(t.changedTouches[0])})),HC(IC(o),"handleTouchStart",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseDown(t.changedTouches[0])})),HC(IC(o),"handleTouchEnd",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseUp(t.changedTouches[0])})),HC(IC(o),"triggerSyncEvent",(function(t){void 0!==o.props.syncId&&sC.emit(fC,o.props.syncId,t,o.eventEmitterSymbol)})),HC(IC(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($C({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=$C($C({},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=KC(o.state,o.props.data,s),x=d[s]?{x:"horizontal"===r?d[s].coordinate:g,y:"horizontal"===r?m:d[s].coordinate}:WC;o.setState($C($C({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else o.setState(t)})),HC(IC(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 Z.createElement(SC,{key:d,activeCoordinate:a,activePayload:c,activeTooltipIndex:u,chartName:r,element:t,isActive:p,layout:h,offset:l,tooltipAxisBandSize:s,tooltipEventType:f})})),HC(IC(o),"renderPolarAxis",(function(t,e,r){var n=xo(t,"type.axisType"),i=xo(o.state,"".concat(n,"Map")),a=i&&i[t.props["".concat(n,"Id")]];return lt(t,$C($C({},a),{},{className:Xr(n,a.className),key:t.key||"".concat(e,"-").concat(r),ticks:gO(a,!0)}))})),HC(IC(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=qo(c),s=qo(l),f=s.cx,p=s.cy,h=s.innerRadius,d=s.outerRadius;return lt(t,{polarAngles:Array.isArray(n)?n:gO(s,!0).map((function(t){return t.coordinate})),polarRadius:Array.isArray(i)?i:gO(u,!0).map((function(t){return t.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:d,key:t.key||"polar-grid",radialLines:r})})),HC(IC(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=iO({children:r,formattedGraphicalItems:t,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=EC(l,jC);return lt(s,$C($C({},f),{},{chartWidth:n,chartHeight:i,margin:a,onBBoxUpdate:o.handleLegendBBoxUpdate}))})),HC(IC(o),"renderTooltip",(function(){var t,e=o.props,r=e.children,n=e.accessibilityLayer,i=ha(r,jd);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 lt(i,{viewBox:$C($C({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?u:[],coordinate:l,accessibilityLayer:n})})),HC(IC(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 lt(t,{key:t.key||"_recharts-brush",onChange:bO(o.handleBrushChange,t.props.onChange),data:n,x:Ho(t.props.x)?t.props.x:a.left,y:Ho(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:Ho(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})})),HC(IC(o),"renderReferenceElement",(function(t,e,r){if(!t)return null;var n=IC(o).clipPathId,i=o.state,a=i.xAxisMap,c=i.yAxisMap,l=i.offset,u=t.props,s=u.xAxisId,f=u.yAxisId;return lt(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})})),HC(IC(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=$C($C({index:o,dataKey:u.dataKey,cx:n.x,cy:n.y,r:4,fill:hO(r.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(l,"-activePoint-").concat(o)},ga(s,!1)),ea(s));return c.push(e.renderActiveDot(s,f)),i?c.push(e.renderActiveDot(s,$C($C({},f),{},{cx:i.x,cy:i.y,key:"".concat(l,"-basePoint-").concat(o)}))):a&&c.push(null),c})),HC(IC(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=ha(o.props.children,jd),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:bO(o.handleItemMouseEnter,t.props.onClick)}:"axis"!==i&&(O={onMouseLeave:bO(o.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:bO(o.handleItemMouseEnter,t.props.onMouseEnter)});var S=lt(t,$C($C({},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=$C($C($C({},n.props),O),{},{activeIndex:k});return[lt(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=Xo(h,T,s),_=d&&y&&Xo(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[lt(t,$C($C($C({},n.props),O),{},{activeIndex:D})),null,null]}if(!Oo(C))return[S].concat(BC(o.renderActivePoints({item:n,activePoint:C,basePoint:_,childIndex:u,isRange:d})))}return d?[S,null,null]:[S,null]})),HC(IC(o),"renderCustomized",(function(t,e,r){return lt(t,$C($C({key:"recharts-customized-".concat(r)},o.props),o.state))})),HC(IC(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=t.id)&&void 0!==n?n:Uo("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=Yd(o.triggeredAfterMouseMove,null!==(i=t.throttleDelay)&&void 0!==i?i:1e3/60),o.state={},o}var n,i,a;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&&NC(t,e)}(e,pt),n=e,i=[{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=ha(e,jd);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=KC(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=$C($C({},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){return this.props.accessibilityLayer?(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}}),null):null;var r,n}},{key:"componentDidUpdate",value:function(t){ma([ha(t.children,jd)],[ha(this.props.children,jd)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=ha(this.props.children,jd);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=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 $C($C({},o),{},{xValue:h,yValue:d})}var y=GC(this.state,this.props.data,this.props.layout,c);return y?$C($C({},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=qo(l);return HO({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=ha(t,jd),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}),$C($C({},ea(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){sC.on(fC,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){sC.removeListener(fC,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===la(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 Z.createElement("defs",null,Z.createElement("clipPath",{id:t},Z.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=kC(e,2),n=r[0],i=r[1];return $C($C({},t),{},HC({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=kC(e,2),n=r[0],i=r[1];return $C($C({},t),{},HC({},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=la(l.type);if("Bar"===u){var s=(c.data||[]).find((function(e){return FA(t,e)}));if(s)return{graphicalItem:a,payload:s}}else if("RadialBar"===u){var f=(c.data||[]).find((function(e){return HO(t,e)}));if(f)return{graphicalItem:a,payload:f}}else if(IP(a,n)||NP(a,n)||BP(a,n)){var p=$P({graphicalItem:a,activeTooltipItem:n,itemData:l.props.data}),h=void 0===l.props.activeIndex?p:l.props.activeIndex;return{graphicalItem:$C($C({},a),{},{childIndex:h}),payload:BP(a,n)?l.props.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var t=this;if(!da(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=EC(n,AC),h=ga(p,!1);if(u)return Z.createElement(kk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Z.createElement(ja,MC({},h,{width:a,height:c,title:s,desc:f}),this.renderClipPath(),wa(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 Z.createElement(kk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Z.createElement("div",MC({className:Xr("recharts-wrapper",o),style:$C({position:"relative",cursor:"default",width:a,height:c},l)},d,{ref:function(e){t.container=e}}),Z.createElement(ja,MC({},h,{width:a,height:c,title:s,desc:f,style:UC}),this.renderClipPath(),wa(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],i&&CC(n.prototype,i),a&&CC(n,a),Object.defineProperty(n,"prototype",{writable:!1}),e}(),HC(e,"displayName",r),HC(e,"defaultProps",$C({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),HC(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=QC(t);return $C($C($C({},p),{},{updateId:0},h($C($C({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||!Ko(u,e.prevMargin)){var d=QC(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=$C($C({},GC(e,n,c)),{},{updateId:e.updateId+1}),g=$C($C($C({},d),y),v);return $C($C($C({},g),h($C({props:t},g),e)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(!ma(i,e.prevChildren)){var m,b,w,x,O=ha(i,hM),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=!Oo(n)&&!A?e.updateId:e.updateId+1;return $C($C({updateId:P},h($C($C({props:t},e),{},{updateId:P,dataStartIndex:S,dataEndIndex:j}),e)),{},{prevChildren:i,dataStartIndex:S,dataEndIndex:j})}return null})),HC(e,"renderActiveDot",(function(t,e){var r;return r=J(t)?lt(t,e):kn(t)?t(e):Z.createElement(YA,e),Z.createElement(ka,{className:"recharts-active-dot",key:e.key},r)})),e},n_=r_({chartName:"LineChart",GraphicalChild:zE,axisComponents:[{axisType:"xAxis",AxisComp:nC},{axisType:"yAxis",AxisComp:oC}],formatAxisMap:dk}),i_=r_({chartName:"AreaChart",GraphicalChild:eC,axisComponents:[{axisType:"xAxis",AxisComp:nC},{axisType:"yAxis",AxisComp:oC}],formatAxisMap:dk});const o_=({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:sr.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:sr.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:sr.coolElegance(),strokeWidth:"2"})]})},a_=({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}=cr({data:r,dataKey:n}),d=`chart${crypto.randomUUID()}`,y=crypto.randomUUID(),v=f?ur({arr:r||[],n:f}):r;let g,m;v?.length?(m=h?sr.mint():sr.coolElegance(),g=v?.map((t=>({...t,[n]:Number(t[n])||0})))):(m=sr.coolElegance(),g=[{[n]:1},{[n]:1}]);const b={cursor:c&&v?.length?"crosshair":"default",...p};return e(ty,{width:i,minHeight:o,id:d,children:t(i_,{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(oC,{domain:v?.length?["dataMin","dataMax"]:[0,2],hide:!0}),e(eC,{type:a,dataKey:n,stroke:m,fill:`url(#${y})`,isAnimationActive:l,activeDot:c?t=>o_({chartId:d,labelFormatter:s,formatter:u,...t}):void 0,dot:!1}),v?.length&&c&&e(jd,{cursor:!1,content:()=>null})]})})},c_=()=>{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})})},l_=({children:t,...r})=>e(p,{border:"solid 1px",borderColor:sr.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:t}),u_=({isSelected:t,children:r,...n})=>e(h,{paddingX:"1",fontSize:"sm",color:t?"brand.500":sr.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:t?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),s_=({children:t,...r})=>e(d,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:sr.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:t}),f_=r=>{const{carouselContents:n,isNavVertical:i,...o}=r,[a,c]=it(0);return n.length>=1&&e(s_,{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(wt,{}),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(xt,{}),onClick:()=>{a<n.length-1&&c((t=>t+1))}})]})]})})},p_=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(jt,{}));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})})]})},h_=({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 d_=function(){return d_=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},d_.apply(this,arguments)};function y_(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 v_=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},g_={k:1e3,m:1e6,b:1e9},m_=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(v_(y),")")).test(g),w=RegExp("(\\d+)-?".concat(v_(y))).exec(e)||[],x=w[0],O=w[1],S=function(t,e){void 0===e&&(e=",");var r=new RegExp(v_(e),"g");return t.replace(r,"")}(y?x?g.replace(x,"").concat(O):g.replace(y,""):g,n),j=function(t,e){var r=v_(e.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return t.replace(n,"")}(S,y_([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(v_(e),"\\d*)?)([kmb])$"),"i"),n=t.match(r);if(n){var i=n[1],o=n[3],a=g_[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)},b_=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(v_(n)).concat(v_(o),"0-9]+)")),c=t.match(a);return c?c[1]:void 0},w_=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(v_(a),"?"):"","\\d")).test(e),s="."!==r?x_(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?d_(d_({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),h=O_(p,t),d=b_(h,d_({},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(v_(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("")},x_=function(t,e,r){var n=t;return e&&"."!==e&&(n=n.replace(RegExp(v_(e),"g"),"."),r&&"-"===e&&(n="-".concat(n.slice(1)))),n},O_=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?y_(y_([],t,!0),[r],!1):[r,u]:"currency"===l?r?t:y_(y_([],t,!0),[u],!1):"group"===l?c?t:y_(y_([],t,!0),[void 0!==n?n:u],!1):"decimal"===l?void 0!==o&&0===o?t:y_(y_([],t,!0),[void 0!==i?i:u],!1):y_(y_([],t,!0),"fraction"===l?[void 0!==o?u.slice(0,o):u]:[u],!1)}),[""]).join("")},S_={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},j_=function(t){return RegExp(/\d/,"gi").test(t)},A_=et((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,I=t.onBlur,N=t.onKeyDown,B=t.onKeyUp,L=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&&j_(C))throw new Error("decimalSeparator cannot be a number");if(_&&j_(_))throw new Error("groupSeparator cannot be a number");var H=ct((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?d_(d_({},t),0===r?{currencySymbol:e.value,prefix:e.value}:{currencySymbol:e.value,suffix:e.value}):"group"===e.type?d_(d_({},t),{groupSeparator:e.value}):"decimal"===e.type?d_(d_({},t),{decimalSeparator:e.value}):t}),S_)}(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:L},q=it((function(){return null!=f?w_(d_(d_({},U),{decimalScale:b,value:String(f)})):null!=y?w_(d_(d_({},U),{decimalScale:b,value:String(y)})):""})),Y=q[0],X=q[1],K=it(!1),G=K[0],J=K[1],Q=it(0),tt=Q[0],et=Q[1],ot=it(0),lt=ot[0],ut=ot[1],st=it(null),ft=st[0],pt=st[1],ht=rt(null);nt(e,(function(){return ht.current}));var dt=function(t,e){J(!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=m_(d_({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=w_(d_({value:o},U));if(null!=i){var s=i+(u.length-t.length);s=s<=0?w?w.length:0:s,et(s),ut(lt+1)}if(X(u),v)v(o,c,{float:l,formatted:u,value:o})}};at((function(){null==y&&null==f&&X("")}),[f,y]),at((function(){G&&"-"!==Y&&ht.current&&document.activeElement===ht.current&&ht.current.setSelectionRange(tt,tt)}),[Y,tt,ht,G,lt]);var yt=d_({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=m_(d_({value:e},W));if("-"===r||r===V||!r)return X(""),void(I&&I(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=w_(d_(d_({},U),{value:i}));v&&z&&v(i,c,{float:o,formatted:a,value:i}),X(a),I&&I(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,"."):m_(d_({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))}N&&N(t)},onKeyUp:function(t){var e=t.key,r=t.currentTarget.selectionStart;if("ArrowUp"!==e&&"ArrowDown"!==e&&"-"!==Y){var n=b_(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)}}B&&B(t)},placeholder:m,disabled:h,value:null==y||"-"===Y||V&&Y===V?Y:w_(d_(d_({},U),{decimalScale:G?void 0:b,value:String(y)})),ref:ht},$);if(u){var vt=u;return Z.createElement(vt,d_({},yt))}return Z.createElement("input",d_({},yt))}));A_.displayName="CurrencyInput";const P_=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,_=lr(i),T=f?f(u):void 0,D="currency"===x?{as:A_,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:"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:"form-error",size:i,children:p}),h&&e(k,{className:"form-helper-text",fontSize:_,children:h})]})}));var M_=t=>null==t;var k_=t=>!M_(t)&&!Array.isArray(t)&&(t=>"object"==typeof t)(t)&&!(t=>t instanceof Date)(t),E_=t=>{const e=t.constructor&&t.constructor.prototype;return k_(e)&&e.hasOwnProperty("isPrototypeOf")},C_="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function __(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(C_&&(t instanceof Blob||t instanceof FileList)||!r&&!k_(t))return t;if(e=r?[]:{},r||E_(t))for(const r in t)t.hasOwnProperty(r)&&(e[r]=__(t[r]));else e=t}return e}var T_=t=>Array.isArray(t)?t.filter(Boolean):[],D_=t=>void 0===t,I_=(t,e,r)=>{if(!e||!k_(t))return r;const n=T_(e.split(/[,[\].]+?/)).reduce(((t,e)=>M_(t)?t:t[e]),t);return D_(n)||n===t?D_(t[e])?r:t[e]:n},N_=t=>"boolean"==typeof t;const B_="onBlur",L_="onChange",R_="onSubmit",z_="onTouched",$_="all",H_="max",V_="min",F_="maxLength",U_="minLength",W_="pattern",q_="required",Y_="validate",X_=Z.createContext(null);var K_=t=>k_(t)&&!Object.keys(t).length,G_=t=>Array.isArray(t)?t:[t];var Z_=t=>"string"==typeof t,J_=t=>/^\w*$/.test(t),Q_=t=>T_(t.replace(/["|']|\]/g,"").split(/\.|\[/)),tT=(t,e,r)=>{let n=-1;const i=J_(e)?[e]:Q_(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=k_(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}t[e]=o,t=t[e]}return t},eT=(t,e,r,n,i)=>e?{...r[t],types:{...r[t]&&r[t].types?r[t].types:{},[n]:i||!0}}:{},rT=()=>{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)}))},nT=(t,e,r={})=>r.shouldFocus||D_(r.shouldFocus)?r.focusName||`${t}.${D_(r.focusIndex)?e:r.focusIndex}.`:"",iT=t=>({isOnSubmit:!t||t===R_,isOnBlur:t===B_,isOnChange:t===L_,isOnAll:t===$_,isOnTouch:t===z_});const oT=(t,e,r,n)=>{for(const i of r||Object.keys(t)){const r=I_(t,i);if(r){const{_f:t,...o}=r;if(t){if(t.refs&&t.refs[0]&&e(t.refs[0],i)&&!n)break;if(t.ref&&e(t.ref,t.name)&&!n)break;oT(o,e)}else k_(o)&&oT(o,e)}}};var aT=(t,e,r)=>{const n=T_(I_(t,r));return tT(n,"root",e[r]),tT(t,r,n),t},cT=t=>Z_(t),lT=t=>t instanceof RegExp;const uT={value:!1,isValid:!1},sT={value:!0,isValid:!0};const fT={isValid:!1,value:null};function pT(t,e,r="validate"){if(cT(t)||Array.isArray(t)&&t.every(cT)||N_(t)&&!t)return{type:r,message:cT(t)?t:"",ref:e}}var hT=t=>k_(t)&&!lT(t)?t:{value:t,message:""},dT=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=I_(e,d);if(!v||g)return{};const b=a?a[0]:o,w=t=>{n&&b.reportValidity&&(b.setCustomValidity(N_(t)?"":t||""),b.reportValidity())},x={},O="radio"===o.type;const S=(t=>"checkbox"===t.type)(o),j=O||S,A=(y||(t=>"file"===t.type)(o))&&D_(o.value)&&D_(m)||(t=>{if(!C_)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,P=eT.bind(null,d,r,x),M=(t,e,r,n=F_,i=U_)=>{const a=t?e:r;x[d]={type:t?n:i,message:a,ref:o,...P(t?n:i,a)}};if(i?!Array.isArray(m)||!m.length:c&&(!j&&(A||M_(m))||N_(m)&&!m||S&&!(t=>{if(Array.isArray(t)){if(t.length>1){const e=t.filter((t=>t&&t.checked&&!t.disabled)).map((t=>t.value));return{value:e,isValid:!!e.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!D_(t[0].attributes.value)?D_(t[0].value)||""===t[0].value?sT:{value:t[0].value,isValid:!0}:sT:uT}return uT})(a).isValid||O&&!(k=a,Array.isArray(k)?k.reduce(((t,e)=>e&&e.checked&&!e.disabled?{isValid:!0,value:e.value}:t),fT):fT).isValid)){const{value:t,message:e}=cT(c)?{value:!!c,message:c}:hT(c);if(t&&(x[d]={type:q_,message:e,ref:b,...P(q_,e)},!r))return w(e),x}var k;if(!(A||M_(s)&&M_(f))){let t,e;const n=hT(f),i=hT(s);if(M_(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;Z_(n.value)&&m&&(t=c?a(m)>a(n.value):l?m>n.value:r>new Date(n.value)),Z_(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);M_(n.value)||(t=r>n.value),M_(i.value)||(e=r<i.value)}if((t||e)&&(M(!!t,n.message,i.message,H_,V_),!r))return w(x[d].message),x}if((l||u)&&!A&&(Z_(m)||i&&Array.isArray(m))){const t=hT(l),e=hT(u),n=!M_(t.value)&&m.length>+t.value,i=!M_(e.value)&&m.length<+e.value;if((n||i)&&(M(n,t.message,e.message),!r))return w(x[d].message),x}if(p&&!A&&Z_(m)){const{value:t,message:e}=hT(p);if(lT(t)&&!m.match(t)&&(x[d]={type:W_,message:e,ref:o,...P(W_,e)},!r))return w(e),x}if(h)if("function"==typeof h){const t=pT(await h(m,e),b);if(t&&(x[d]={...t,...P(Y_,t.message)},!r))return w(t.message),x}else if(k_(h)){let t={};for(const n in h){if(!K_(t)&&!r)break;const i=pT(await h[n](m,e),b,n);i&&(t={...i,...P(n,i.message)},w(i.message),r&&(x[d]=t))}if(!K_(t)&&(x[d]={ref:b,...t},!r))return x}return w(!0),x},yT=(t,e)=>[...t,...G_(e)],vT=t=>Array.isArray(t)?t.map((()=>{})):void 0;function gT(t,e,r){return[...t.slice(0,e),...G_(r),...t.slice(e)]}var mT=(t,e,r)=>Array.isArray(t)?(D_(t[r])&&(t[r]=void 0),t.splice(r,0,t.splice(e,1)[0]),t):[],bT=(t,e)=>[...G_(e),...G_(t)];var wT=(t,e)=>D_(e)?[]:function(t,e){let r=0;const n=[...t];for(const t of e)n.splice(t-r,1),r++;return T_(n).length?n:[]}(t,G_(e).sort(((t,e)=>t-e))),xT=(t,e,r)=>{[t[e],t[r]]=[t[r],t[e]]};function OT(t,e){const r=Array.isArray(e)?e:J_(e)?[e]:Q_(e),n=1===r.length?t:function(t,e){const r=e.slice(0,-1).length;let n=0;for(;n<r;)t=D_(t)?n++:t[e[n++]];return t}(t,r),i=r.length-1,o=r[i];return n&&delete n[o],0!==i&&(k_(n)&&K_(n)||Array.isArray(n)&&function(t){for(const e in t)if(t.hasOwnProperty(e)&&!D_(t[e]))return!1;return!0}(n))&&OT(t,r.slice(0,-1)),t}var ST=(t,e,r)=>(t[e]=r,t);function jT(t){const e=Z.useContext(X_),{control:r=e.control,name:n,keyName:i="id",shouldUnregister:o}=t,[a,c]=Z.useState(r._getFieldArray(n)),l=Z.useRef(r._getFieldArray(n).map(rT)),u=Z.useRef(a),s=Z.useRef(n),f=Z.useRef(!1);s.current=n,u.current=a,r._names.array.add(n),t.rules&&r.register(n,t.rules),function(t){const e=Z.useRef(t);e.current=t,Z.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=I_(t,s.current);Array.isArray(e)&&(c(e),l.current=e.map(rT))}},subject:r._subjects.array});const p=Z.useCallback((t=>{f.current=!0,r._updateFieldArray(n,t)}),[r,n]);return Z.useEffect((()=>{if(r._state.action=!1,((t,e,r)=>!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&&(!iT(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((t=>{const e=I_(t.errors,n),i=I_(r._formState.errors,n);(i?!e&&i.type||e&&(i.type!==e.type||i.message!==e.message):e&&e.type)&&(e?tT(r._formState.errors,n,e):OT(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const t=I_(r._fields,n);!t||!t._f||iT(r._options.reValidateMode).isOnSubmit&&iT(r._options.mode).isOnSubmit||dT(t,r._formValues,r._options.criteriaMode===$_,r._options.shouldUseNativeValidation,!0).then((t=>!K_(t)&&r._subjects.state.next({errors:aT(r._formState.errors,t,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&oT(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]),Z.useEffect((()=>(!I_(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||o)&&r.unregister(n)})),[n,r,i,o]),{swap:Z.useCallback(((t,e)=>{const i=r._getFieldArray(n);xT(i,t,e),xT(l.current,t,e),p(i),c(i),r._updateFieldArray(n,i,xT,{argA:t,argB:e},!1)}),[p,n,r]),move:Z.useCallback(((t,e)=>{const i=r._getFieldArray(n);mT(i,t,e),mT(l.current,t,e),p(i),c(i),r._updateFieldArray(n,i,mT,{argA:t,argB:e},!1)}),[p,n,r]),prepend:Z.useCallback(((t,e)=>{const i=G_(__(t)),o=bT(r._getFieldArray(n),i);r._names.focus=nT(n,0,e),l.current=bT(l.current,i.map(rT)),p(o),c(o),r._updateFieldArray(n,o,bT,{argA:vT(t)})}),[p,n,r]),append:Z.useCallback(((t,e)=>{const i=G_(__(t)),o=yT(r._getFieldArray(n),i);r._names.focus=nT(n,o.length-1,e),l.current=yT(l.current,i.map(rT)),p(o),c(o),r._updateFieldArray(n,o,yT,{argA:vT(t)})}),[p,n,r]),remove:Z.useCallback((t=>{const e=wT(r._getFieldArray(n),t);l.current=wT(l.current,t),p(e),c(e),r._updateFieldArray(n,e,wT,{argA:t})}),[p,n,r]),insert:Z.useCallback(((t,e,i)=>{const o=G_(__(e)),a=gT(r._getFieldArray(n),t,o);r._names.focus=nT(n,t,i),l.current=gT(l.current,t,o.map(rT)),p(a),c(a),r._updateFieldArray(n,a,gT,{argA:t,argB:vT(e)})}),[p,n,r]),update:Z.useCallback(((t,e)=>{const i=__(e),o=ST(r._getFieldArray(n),t,i);l.current=[...o].map(((e,r)=>e&&r!==t?l.current[r]:rT())),p(o),c([...o]),r._updateFieldArray(n,o,ST,{argA:t,argB:i},!0,!1)}),[p,n,r]),replace:Z.useCallback((t=>{const e=G_(__(t));l.current=e.map(rT),p([...e]),c([...e]),r._updateFieldArray(n,[...e],(t=>t),{},!0,!1)}),[p,n,r]),fields:Z.useMemo((()=>a.map(((t,e)=>({...t,[i]:l.current[e]||rT()})))),[a,i])}}const AT=({name:r,control:n,register:i,defaultValues:o,onArrayAppend:a,onArrayRemove:c})=>{const{fields:l,append:u,remove:s}=jT({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(P_,{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:"+"})})]})},PT=({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}=cr({data:r,dataKey:n}),d=`chart${crypto.randomUUID()}`,y=f?ur({arr:r||[],n:f}):r;let v,g;y?.length?(g=h?sr.mint():sr.heroicRed(),v=y?.map((t=>({...t,[n]:Number(t[n])||0})))):(g=sr.coolElegance(),v=[{[n]:0},{[n]:0}]);const m={cursor:c&&y?.length?"crosshair":"default",...p};return e(ty,{width:i,minHeight:o,id:d,children:t(n_,{data:v,style:m,children:[e(oC,{domain:["dataMin","dataMax"],hide:!0}),e(zE,{isAnimationActive:l,type:a,dataKey:n,stroke:g,strokeWidth:"2",activeDot:c?t=>o_({chartId:d,labelFormatter:s,formatter:u,...t}):void 0,dot:!1,scale:"threshold"}),y?.length&&c&&e(jd,{cursor:!1,content:()=>null})]})})},MT=({isOpen:r,onClose:n,headerContent:i=null,footerContent:o=null,children:a,isCentered:c=!0,size:l={base:"md",md:"xl"},bodyMinHeight:u,bodyBackground:s="transparent",isDisabledCloseButton:f,...p})=>t(_,{isOpen:r,onClose:n,isCentered:c,size:l,...p,children:[e(T,{}),t(D,{minWidth:zT,children:[e(I,{children:i}),e(N,{isDisabled:f}),e(B,{minH:u||0,bg:s,children:a}),o&&e(L,{borderTop:"solid 1px",borderColor:sr.coolElegance(),children:o})]})]});var kT,ET={exports:{}};kT=ET,function(t,e){kT.exports=e(Z)}(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 CT=n(Fe(ET.exports)),_T=({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(CT,{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:sr.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"}}})})},TT=({isLoading:r,hasMore:n,setLastEvaluatedKeyParams:i,lastEvaluatedKey:o,...a})=>{const[c,l]=it([]),[u,s]=it(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"})]})},DT=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=lr(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(R,{icon:e(bt,{}),size:i,...y,...h,children:n}),s&&e(w,{size:i,children:s}),f&&e(k,{fontSize:d,children:f})]})},IT=z({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),NT=({boxSize:t=8,color:r="brand",...n})=>{const i="neutral"===r?sr.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:`${IT} 2000ms infinite linear`,children:e(le,{boxSize:t,__css:{path:{fill:i}}})})})},BT=r=>{const{label:n,rightIcon:i,leftIcon:o,onClose:a,...c}=r,[l,u]=it(!0);return l?t($,{...c,children:[o&&e(H,{as:o}),e(V,{children:n}),i&&e(F,{as:i}),a&&e(U,{onClick:()=>{a(),u(!1)}})]}):null},LT=({description:r,title:n,onClose:i,isClosable:o,status:a})=>{let c,l;switch(a){case"error":l=ht;break;case"success":l=jt;break;case"warning":l=Ft,c="yellow";break;case"loading":c="brand",l=G;break;default:c="brand",l=Ft}return t(W,{as:y,colorScheme:c,justifyContent:"space-between",status:a,children:[t(y,{alignItems:"center",mr:"4",children:[e(q,{children:e(l,{size:"sm"})}),t(E,{children:[e(Y,{children:n}),e(X,{children:r})]})]}),o&&e(K,{onClick:i})]})},RT=()=>{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}},zT="22rem",$T={dateOnly:"MM/DD/YY",dateWithTime:"MM/DD/YYYY h:mm A",shortDateWithTime:"MMM D, h:mm A",shortDateWithYear:"MMM D, YYYY"};export{a_ as CfAreaChart,c_ as CfBreakpointDebugger,l_ as CfButtonGroup,u_ as CfButtonGroupButton,s_ as CfCard,f_ as CfCarousel,p_ as CfCheckbox,h_ as CfForm,P_ as CfInput,AT as CfInputArray,PT as CfLineChart,MT as CfModal,_T as CfOpenSearchPagination,TT as CfPagination,DT as CfSelect,NT as CfSpinner,BT as CfTag,LT as CfToast,ht as IconAlert,dt as IconArrowDown,yt as IconArrowUp,de as IconAvax,vt as IconBank,gt as IconBarChart,ye as IconBch,ve as IconBtc,mt as IconCalendar,bt as IconCaretDown,wt as IconCaretLeft,xt as IconCaretRight,Ot as IconCaretUp,St as IconCent,jt as IconCheck,At as IconChecking,Pt as IconCircleCheck,Mt as IconClose,kt as IconConnect,Et as IconCopy,Ct as IconDollar,_t as IconDollarBill,Tt as IconDownload,Dt as IconEdit,It as IconEnter,Nt as IconEnterInverted,ge as IconEth,Bt as IconExchange,Lt as IconFilter,Rt as IconHelp,zt as IconHistory,$t as IconHome,Ht as IconIndicatorDown,Vt as IconIndicatorUp,Ft as IconInfo,me as IconLink,Ut as IconLock,be as IconLtc,Wt as IconMail,qt as IconMenu,Yt as IconMore,Xt as IconNotification,Kt as IconOverview,Gt as IconPercent,Zt as IconPieChart,Jt as IconPlus,he as IconRefresh,Qt as IconReports,te as IconReservesSuccess,ee as IconReservesWarning,re as IconSearch,ne as IconSettings,ie as IconSettlement,oe as IconSignIn,ae as IconSignOut,ce as IconSort,le as IconSpinner,ue as IconSupport,se as IconTrash,fe as IconUpload,pe as IconUser,we as IconXlm,He as aggregateAmounts,Wr as coreTheme,$T as dateFormats,Ze as dateToTimestamp,Je as formatPercentage,qr as formatPhoneNumber,ar as formatUsd,cr as getDelta,zT as layoutMinWidth,ur as pullFromEnd,sr as uiColors,pr as usdToNumber,RT as useCfBreakpoint,hr as utcDateToLocal};
|
|
18
18
|
//# sourceMappingURL=index.js.map
|