@cryptofi/core-ui 0.45.0 → 0.46.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 +2 -1
- package/package.json +1 -1
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 e,jsx as t}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 ee,useRef as te,useImperativeHandle as re,useState as ne,useCallback as ie,useEffect as oe,useMemo as ae,cloneElement as ce,createElement as le,useContext as ue,createContext as se,Component as fe}from"react";const pe=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#8015379a)",children:[t("path",{d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10"}),t("path",{d:"M12 5.5a1 1 0 0 0-1 1v8a1 1 0 1 0 2 0v-8a1 1 0 0 0-1-1M13 18.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0"})]}),t("defs",{children:t("clipPath",{id:"8015379a",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),he=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#33e08bf7)",children:t("path",{fill:"#000",d:"m14.563 9.22-.915.947-3.02-3.125a2.54 2.54 0 0 0-1.785-.74c-.666 0-1.305.265-1.786.74l-.146.15a.85.85 0 0 1-.596.248.85.85 0 0 1-.595-.248L1.448 2.766A.84.84 0 0 0 .849 2.5a.82.82 0 0 0-.602.255A.87.87 0 0 0 0 3.38.9.9 0 0 0 .257 4l4.271 4.42c.482.476 1.121.741 1.787.741S7.62 8.895 8.1 8.42l.145-.151a.85.85 0 0 1 .596-.247c.222 0 .435.088.595.247l3.02 3.13-.914.947a.9.9 0 0 0-.183.95c.064.159.172.295.31.39a.82.82 0 0 0 .468.147h2.599c.335 0 .656-.137.893-.383a1.33 1.33 0 0 0 .37-.924V9.831a.9.9 0 0 0-.144-.482.85.85 0 0 0-.379-.319.82.82 0 0 0-.915.19"})}),t("defs",{children:t("clipPath",{id:"33e08bf7",children:t("path",{fill:"#fff",d:"M0 .5h16v16H0z"})})})]}))),de=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#5e4acf42)",children:t("path",{fill:"#000",d:"M14.738 2H12.14a.82.82 0 0 0-.467.147.87.87 0 0 0-.31.39.9.9 0 0 0 .182.949l.914.945-3.018 3.121a.85.85 0 0 1-.595.247.85.85 0 0 1-.595-.247l-.144-.149a2.54 2.54 0 0 0-1.785-.74c-.665 0-1.304.265-1.785.74l-4.292 4.44a.9.9 0 0 0-.246.618c0 .232.09.454.248.617a.83.83 0 0 0 .598.255.83.83 0 0 0 .596-.256l4.292-4.44a.85.85 0 0 1 .595-.247c.222 0 .435.088.596.247l.143.149a2.54 2.54 0 0 0 1.785.74 2.54 2.54 0 0 0 1.785-.74l3.018-3.122.913.945a.815.815 0 0 0 .913.182.85.85 0 0 0 .376-.319.9.9 0 0 0 .142-.48V3.306a1.33 1.33 0 0 0-.37-.924A1.24 1.24 0 0 0 14.738 2"})}),t("defs",{children:t("clipPath",{id:"5e4acf42",children:t("path",{d:"M0 0h16v16H0z"})})})]}))),ye=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#e4ccb59b)",children:t("path",{fill:"#000",d:"M24 23.5a1 1 0 0 1-1 1H1a1 1 0 0 1 0-2h22a1 1 0 0 1 1 1M.291 9.052a2.44 2.44 0 0 1 .153-2.566c.427-.627 1-1.141 1.668-1.5l7.501-3.904a5.17 5.17 0 0 1 4.774 0l7.5 3.907c.669.359 1.24.873 1.668 1.5a2.44 2.44 0 0 1 .153 2.566 2.71 2.71 0 0 1-2.416 1.445H21v8h1a1 1 0 1 1 0 2H2a1 1 0 0 1 0-2h1v-8h-.292A2.71 2.71 0 0 1 .291 9.052m4.71 9.448h3v-8H5zm5-8v8h4v-8zm9 0h-3v8h3zM2.062 8.125a.72.72 0 0 0 .645.375h18.584a.72.72 0 0 0 .645-.375.45.45 0 0 0-.024-.5 2.7 2.7 0 0 0-.949-.864l-7.5-3.907a3.18 3.18 0 0 0-2.926 0l-7.5 3.907a2.7 2.7 0 0 0-.949.865.45.45 0 0 0-.026.5"})}),t("defs",{children:t("clipPath",{id:"e4ccb59b",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ve=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#6c7cbdd0)",children:[t("path",{d:"M5 23h18a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5V2a1 1 0 0 1 2 0v18a3 3 0 0 0 3 3"}),t("path",{d:"M6.707 20.707A1 1 0 0 1 5 20v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-.293.707M10 11v9a1 1 0 1 0 2 0v-9a1 1 0 0 0-2 0M15 20v-6a1 1 0 0 1 2 0v6a1 1 0 1 1-2 0M20 10v10a1 1 0 1 0 2 0V10a1 1 0 0 0-2 0M6.707 9.707a1 1 0 1 1-1.414-1.414l3.586-3.586a3 3 0 0 1 4.242 0l2.172 2.17a1 1 0 0 0 1.414 0l5.586-5.584a1 1 0 0 1 1.414 1.414L18.12 8.293a3 3 0 0 1-4.242 0L11.707 6.12a1.025 1.025 0 0 0-1.414 0z"})]}),t("defs",{children:t("clipPath",{id:"6c7cbdd0",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ge=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#0d2102ad)",children:[t("path",{d:"M13.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M7 16.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M18.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),t("path",{fillRule:"evenodd",d:"M18 2h1a5.006 5.006 0 0 1 5 5v12a5.006 5.006 0 0 1-5 5H5a5.006 5.006 0 0 1-5-5V7a5.006 5.006 0 0 1 5-5h1V1a1 1 0 0 1 2 0v1h8V1a1 1 0 0 1 2 0zM2.879 4.879A3 3 0 0 0 2 7v1h20V7a3 3 0 0 0-3-3H5a3 3 0 0 0-2.121.879m0 16.242A3 3 0 0 0 5 22h14a3 3 0 0 0 3-3v-9H2v9a3 3 0 0 0 .879 2.121",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"0d2102ad",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),me=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#54bd7e92)",children:t("path",{fill:"#000",d:"m.292 7.861 8.17 8.17a5 5 0 0 0 7.08 0l8.17-8.17a1.004 1.004 0 1 0-1.42-1.42l-8.17 8.17a3 3 0 0 1-4.24 0l-8.17-8.17a1 1 0 0 0-1.42 0 1 1 0 0 0 0 1.42"})}),t("defs",{children:t("clipPath",{id:"54bd7e92",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),be=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#1a7c7760)",children:t("path",{fill:"#000",d:"M17.17 24.5a1 1 0 0 1-.71-.29l-8.17-8.17a5 5 0 0 1 0-7.08L16.46.79a1.004 1.004 0 1 1 1.42 1.42l-8.17 8.17a3 3 0 0 0 0 4.24l8.17 8.17a1 1 0 0 1-.71 1.71"})}),t("defs",{children:t("clipPath",{id:"1a7c7760",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),we=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#105a7340)",children:t("path",{fill:"#000",d:"M7 24.5a1 1 0 0 1-.71-1.71l8.17-8.17a3 3 0 0 0 0-4.24L6.29 2.21A1.004 1.004 0 0 1 7.71.79l8.17 8.17a5 5 0 0 1 0 7.08l-8.17 8.17a1 1 0 0 1-.71.29"})}),t("defs",{children:t("clipPath",{id:"105a7340",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),xe=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#bf14509e)",children:t("path",{fill:"#000",d:"m23.71 16.79-8.17-8.17a5 5 0 0 0-7.08 0L.29 16.79a1.004 1.004 0 1 0 1.42 1.42l8.17-8.17a3 3 0 0 1 4.24 0l8.17 8.17a1.002 1.002 0 0 0 1.64-.325 1 1 0 0 0-.22-1.095"})}),t("defs",{children:t("clipPath",{id:"bf14509e",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Oe=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#79cd4562)",children:[t("path",{d:"M11.033 5.145a.968.968 0 0 1 1.935 0v.944a6.5 6.5 0 0 1 3.618 1.827.968.968 0 0 1-1.37 1.369 4.55 4.55 0 0 0-3.215-1.332A4.534 4.534 0 0 0 7.452 12.5 4.534 4.534 0 0 0 12 17.05a4.55 4.55 0 0 0 3.209-1.339.967.967 0 0 1 1.372 1.367 6.5 6.5 0 0 1-3.612 1.833v.946a.967.967 0 1 1-1.935 0v-.944c-3.114-.47-5.516-3.17-5.516-6.41S7.92 6.56 11.033 6.09z"}),t("path",{fillRule:"evenodd",d:"M12 .5C5.384.5 0 5.884 0 12.5s5.384 12 12 12 12-5.384 12-12-5.384-12-12-12m0 1.936A10.05 10.05 0 0 1 22.064 12.5 10.05 10.05 0 0 1 12 22.564 10.05 10.05 0 0 1 1.936 12.5 10.05 10.05 0 0 1 12 2.436",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"79cd4562",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Se=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#f7f9e1ee)",children:t("path",{fill:"#000",d:"M22.319 4.931 8.499 18.75a1 1 0 0 1-1.416 0L1.739 13.4a1 1 0 0 0-1.417 0 1 1 0 0 0 0 1.417l5.346 5.345a3.01 3.01 0 0 0 4.25 0L23.736 6.347a1 1 0 0 0-.709-1.71 1 1 0 0 0-.708.294"})}),t("defs",{children:t("clipPath",{id:"f7f9e1ee",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),je=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#8278d266)",children:t("path",{fill:"#000",d:"M19 3.5h-6.528a1 1 0 0 1-.447-.1L8.869 1.816A3 3 0 0 0 7.528 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-10a5.006 5.006 0 0 0-5-5m-14 0h2.528c.155 0 .308.033.447.1l3.156 1.58c.416.208.875.318 1.341.32H19a3 3 0 0 1 2.779 1.882L2 7.494V6.5a3 3 0 0 1 3-3m14 18H5a3 3 0 0 1-3-3V9.494l20-.113v9.12a3 3 0 0 1-3 3"})}),t("defs",{children:t("clipPath",{id:"8278d266",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ae=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:25,fill:"none",viewBox:"0 0 80 80","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#f5f63985)",children:[t("path",{fill:"#000",d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881m0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095"}),t("path",{fill:"url(#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"})]}),e("defs",{children:[e("linearGradient",{id:"b24373d4",x1:.095,x2:79.905,y1:40.001,y2:40.001,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"f5f63985",children:t("path",{fill:"#fff",d:"M0 0h80v80H0z"})})]})]}))),Pe=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#5418d0f9)",children:t("path",{fill:"#000",d:"M23.707.793a1 1 0 0 0-1.414 0L12 11.086 1.707.793a1 1 0 0 0-1.414 0 1 1 0 0 0 0 1.414L10.586 12.5.293 22.793a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.914l10.293 10.293a1 1 0 0 0 1.414-1.414L13.414 12.5 23.707 2.207a1 1 0 0 0 0-1.414"})}),t("defs",{children:t("clipPath",{id:"5418d0f9",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Me=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#09eebe10)",children:t("path",{fill:"#000",d:"M21.736 16.9A5.01 5.01 0 0 0 17 13.5h-4v-1.084a6 6 0 1 0-2 0V13.5H7a5.01 5.01 0 0 0-4.736 3.4 4 4 0 1 0 2.447-.334A3 3 0 0 1 7 15.5h4v1.127a4 4 0 1 0 2 0V15.5h4a3 3 0 0 1 2.289 1.063 4 4 0 1 0 2.447.334zM8 6.5a4 4 0 1 1 8 0 4 4 0 0 1-8 0m-2 14a2 2 0 1 1-4 0 2 2 0 0 1 4 0m8 0a2 2 0 1 1-4.001 0 2 2 0 0 1 4 0m6 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})}),t("defs",{children:t("clipPath",{id:"09eebe10",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ke=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#8a264d60)",children:t("path",{fill:"#000",d:"M13 20.5a5.006 5.006 0 0 0 5-5V6.743a3.97 3.97 0 0 0-1.172-2.829l-2.242-2.242A3.97 3.97 0 0 0 11.757.5H7a5.006 5.006 0 0 0-5 5v10a5.006 5.006 0 0 0 5 5zm-9-5v-10a3 3 0 0 1 3-3s4.92.014 5 .024V4.5a2 2 0 0 0 2 2h1.976c.01.081.024 9 .024 9a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3m18-7v11a5.005 5.005 0 0 1-5 5H8a1 1 0 0 1 0-2h9a3 3 0 0 0 3-3v-11a1 1 0 0 1 2 0"})}),t("defs",{children:t("clipPath",{id:"8a264d60",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ee=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#5d5dfb19)",children:t("path",{fill:"#000",d:"M13.932 4.5A3.07 3.07 0 0 1 17 7.568a1 1 0 0 0 2 0v-.123A5.073 5.073 0 0 0 13.932 2.5H13v-1a1 1 0 1 0-2 0v1h-.932a5.068 5.068 0 0 0-1.6 9.875L11 13.22v7.28h-.932A3.07 3.07 0 0 1 7 17.432a1 1 0 1 0-2 0v.123a5.073 5.073 0 0 0 5.068 4.945H11v1a1 1 0 0 0 2 0v-1h.932a5.068 5.068 0 0 0 1.6-9.875L13 11.78V4.5zm.97 10.021a3.068 3.068 0 0 1-.97 5.979H13v-6.613zM11 11.113l-1.9-.634a3.068 3.068 0 0 1 .968-5.979H11z"})}),t("defs",{children:t("clipPath",{id:"5d5dfb19",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ce=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 80 60","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#eec72660)",children:[t("path",{fill:"#000",d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69m-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867m9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388M21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387"}),t("path",{fill:"url(#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"})]}),e("defs",{children:[e("linearGradient",{id:"8a6205bb",x1:.069,x2:79.931,y1:29.999,y2:29.999,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"eec72660",children:t("path",{fill:"#fff",d:"M0 .395h80v59.21H0z"})})]})]}))),_e=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#2c3c0778)",children:[t("path",{d:"M10.852 19.273a3 3 0 0 1-.974-.651l-3.21-3.207A1 1 0 0 1 8.08 14l2.91 2.908.01-15.408a1 1 0 0 1 2 0l-.008 15.427L15.92 14a1 1 0 0 1 1.414 1.411l-3.21 3.211a3 3 0 0 1-3.271.65"}),t("path",{d:"M22.293 16.793A1 1 0 0 1 24 17.5v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 1 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-4a1 1 0 0 1 .293-.707"})]}),t("defs",{children:t("clipPath",{id:"2c3c0778",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Te=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#7ad9120c)",children:[t("path",{fillRule:"evenodd",d:"M18.67 1.387 6.469 13.602a4.97 4.97 0 0 0-1.465 3.541v1.346a1 1 0 0 0 1 1.002H7.35a4.96 4.96 0 0 0 3.537-1.467l12.2-12.215a3.133 3.133 0 0 0 0-4.422 3.195 3.195 0 0 0-4.416 0m.18 5.83-9.379 9.39a3.02 3.02 0 0 1-2.122.88h-.344v-.344c.002-.796.318-1.56.879-2.125l9.378-9.39zm1.415-1.416 1.407-1.409a1.126 1.126 0 0 0 0-1.589 1.15 1.15 0 0 0-1.587 0l-1.407 1.409z",clipRule:"evenodd"}),t("path",{d:"M0 23.498c0-.553.373-1.002.834-1.002H19.18c.46 0 .834.449.834 1.002s-.373 1.002-.834 1.002H.834c-.46 0-.834-.449-.834-1.002"})]}),t("defs",{children:t("clipPath",{id:"7ad9120c",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),De=r((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M20.914 17.62a5 5 0 0 0 1.621-1.084A4.97 4.97 0 0 0 24 12.996V2a1 1 0 0 0-2 0v10.997a3 3 0 0 1-3 2.999H2.788L7.1 11.688a1.001 1.001 0 1 0-1.418-1.414l-4.95 4.95a2.5 2.5 0 0 0 0 3.534l4.95 4.948A1 1 0 0 0 7.1 22.294l-4.3-4.299H19a5 5 0 0 0 1.914-.376"})}))),Ie=r((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M3.086 17.62a5 5 0 0 1-1.621-1.084A4.97 4.97 0 0 1 0 12.996V2a1 1 0 0 1 2 0v10.997a3 3 0 0 0 3 2.999h16.212L16.9 11.688a1.003 1.003 0 0 1 .002-1.416 1 1 0 0 1 1.416.002l4.95 4.95a2.5 2.5 0 0 1 0 3.534l-4.95 4.948a1 1 0 0 1-1.418-1.412l4.3-4.299H5a5 5 0 0 1-1.914-.376"})}))),Ne=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#c91e1bc6)",children:t("path",{d:"M23.41 5.094c.373.372.585.875.59 1.401a2 2 0 0 1-.59 1.412l-4.29 4.303a1 1 0 1 1-1.41-1.421L21 7.496H11a1 1 0 0 1 0-2.001h10l-3.29-3.283A1.002 1.002 0 0 1 19.12.791zM3 17.504h10a1 1 0 0 1 .707 1.708 1 1 0 0 1-.707.294H3l3.29 3.282a1.002 1.002 0 0 1-1.41 1.421L.59 19.906A2 2 0 0 1 0 18.505c.002-.53.214-1.038.59-1.411l4.29-4.304a1 1 0 0 1 1.629 1.096 1 1 0 0 1-.219.325z"})}),t("defs",{children:t("clipPath",{id:"c91e1bc6",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Be=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#71df7fc8)",children:t("path",{fill:"#000",d:"M14 24.5a1 1 0 0 1-.6-.2l-4-3a1 1 0 0 1-.4-.8v-5.62L1.984 6.987A3.9 3.9 0 0 1 4.9.5h14.2a3.9 3.9 0 0 1 2.913 6.488L15 14.88v8.62a1 1 0 0 1-1 1M11 20l2 1.5v-7a1 1 0 0 1 .253-.664l7.268-8.177A1.9 1.9 0 0 0 19.1 2.5H4.9a1.9 1.9 0 0 0-1.421 3.158l7.269 8.178A1 1 0 0 1 11 14.5z"})}),t("defs",{children:t("clipPath",{id:"71df7fc8",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Le=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#76fd77a9)",children:[t("path",{d:"M12.717 5.563A4 4 0 0 0 8 9.5a1 1 0 1 0 2 0 2.002 2.002 0 0 1 2.371-1.967 2.02 2.02 0 0 1 1.6 1.595 2 2 0 0 1-1 2.125 3.95 3.95 0 0 0-1.97 3.504v.743a1 1 0 0 0 2 0v-.743a1.98 1.98 0 0 1 .93-1.752 4 4 0 0 0-1.214-7.442M12 17.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2"}),t("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"76fd77a9",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Re=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#405d5205)",children:t("path",{fill:"#000",fillRule:"evenodd",d:"M22.293 11.793A1 1 0 0 1 24 12.5a11.994 11.994 0 1 1-4-8.935V1.5a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3h-3a1 1 0 1 1 0-2h3a1 1 0 0 0 .1-.021A10.034 10.034 0 1 0 22 12.5a1 1 0 0 1 .293-.707m-11-5A1 1 0 0 1 13 7.5v4.586l2.707 2.707a1 1 0 0 1-1.414 1.414l-3-3A1 1 0 0 1 11 12.5v-5a1 1 0 0 1 .293-.707",clipRule:"evenodd"})}),t("defs",{children:t("clipPath",{id:"405d5205",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ze=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#7f33ad3b)",children:t("path",{fill:"#000",d:"m23.121 9.569-7.585-7.586a5.01 5.01 0 0 0-7.072 0L.88 9.569A2.98 2.98 0 0 0 0 11.689v9.818a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3V11.69a2.98 2.98 0 0 0-.879-2.121m-8.12 12.938H9v-3.934a3 3 0 0 1 6 0zm7-1a1 1 0 0 1-1 1h-4v-3.934a5 5 0 0 0-10 0v3.934H3a1 1 0 0 1-1-1V11.69c0-.265.105-.52.292-.707L9.878 3.4a3.01 3.01 0 0 1 4.244 0l7.585 7.586c.186.187.291.44.293.704z"})}),t("defs",{children:t("clipPath",{id:"7f33ad3b",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),$e=r((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M6.41 9.5h11.18a1 1 0 0 1 .7 1.71l-5.58 5.58a1 1 0 0 1-1.42 0l-5.58-5.58a1 1 0 0 1 .7-1.71"})}))),He=r((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M6.41 16.5h11.18a1 1 0 0 0 .7-1.71l-5.58-5.58a1 1 0 0 0-1.42 0l-5.58 5.58a1 1 0 0 0 .7 1.71"})}))),Ve=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#f4671af8)",children:[t("path",{d:"M12 10.5h-1a1 1 0 0 0 0 2h1v6a1 1 0 1 0 2 0v-6a2 2 0 0 0-2-2M13.5 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),t("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"f4671af8",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Fe=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 62 80","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#483cdc23)",children:[t("path",{fill:"#000",d:"M12.25 79.917C5.541 79.917.082 74.46.082 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.639 8.558 20.112.083 30.528.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.557 12.15v25.734c0 6.708-5.459 12.167-12.167 12.167H12.25zm0-46.574c-4.782 0-8.673 3.891-8.673 8.673V67.75c0 4.78 3.891 8.672 8.673 8.672h36.558c4.782 0 8.673-3.891 8.673-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.675-3.494V18.972c0-8.49-6.907-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.528 63.463c-4.731 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.581-8.582s8.581 3.85 8.581 8.581c0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.087 5.088 5.094 5.094 0 0 0 5.087 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),t("path",{fill:"#CDCFD1",d:"M30.528.166c10.37 0 18.808 8.437 18.808 18.808v10.973c6.418.278 11.555 5.585 11.555 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.25c-6.663 0-12.084-5.42-12.084-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.722 8.603 20.16.166 30.528.166m-15.48 29.766h30.959v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.25c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.812 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.811-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.065 0 11.554 8.511 11.554 18.974v10.814a12.2 12.2 0 0 0-8.139 3.75A12.2 12.2 0 0 0 0 42.016V67.75C0 74.505 5.495 80 12.25 80h36.558c6.755 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.213-6.184-3.417-8.478a12.2 12.2 0 0 0-8.14-3.75V18.974C49.502 8.51 40.992 0 30.529 0M15.214 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.248 76.34c-4.737 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.853-8.59 8.59-8.59h36.559c4.736 0 8.589 3.853 8.589 8.59V67.75c0 4.736-3.853 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664 8.665-3.886 8.665-8.664-3.887-8.664-8.665-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"}),t("path",{fill:"url(#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"}),t("path",{fill:"#CDCFD1",d:"M30.489.166c10.37 0 18.807 8.437 18.807 18.808v10.973c6.419.278 11.556 5.585 11.556 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.21c-6.663 0-12.083-5.42-12.083-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.683 8.604 20.119.166 30.49.166M15.01 29.932h30.958v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.21c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.811 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.812-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.025 0 11.513 8.511 11.513 18.974v10.814a12.2 12.2 0 0 0-8.138 3.75 12.18 12.18 0 0 0-3.417 8.478V67.75C-.042 74.505 5.453 80 12.207 80h36.559c6.754 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.214-6.184-3.418-8.478a12.2 12.2 0 0 0-8.139-3.75V18.974C49.46 8.51 40.95 0 30.486 0zM15.173 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.207 76.34c-4.736 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.854-8.59 8.59-8.59h36.559c4.736 0 8.59 3.853 8.59 8.59V67.75c0 4.736-3.854 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664c4.779 0 8.665-3.886 8.665-8.664s-3.886-8.664-8.664-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"})]}),e("defs",{children:[e("linearGradient",{id:"51f87008",x1:2.67,x2:58.264,y1:75.561,y2:19.931,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"483cdc23",children:t("path",{fill:"#fff",d:"M0 0h61.058v80H0z"})})]})]}))),Ue=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#1da516ba)",children:t("path",{fill:"#000",d:"M19 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-12a5.006 5.006 0 0 0-5-5m-14 2h14a3 3 0 0 1 2.78 1.887l-7.658 7.659a3.007 3.007 0 0 1-4.244 0L2.22 5.386A3 3 0 0 1 5 3.5m14 18H5a3 3 0 0 1-3-3V8l6.464 6.46a5.007 5.007 0 0 0 7.072 0L22 8v10.5a3 3 0 0 1-3 3"})}),t("defs",{children:t("clipPath",{id:"1da516ba",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),qe=r((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M23 4.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M23 11.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M1 18.5h22a1 1 0 1 1 0 2H1a1 1 0 1 1 0-2"})}))),We=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#766fd299)",children:t("path",{d:"M2 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M12 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M24 12.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})}),t("defs",{children:t("clipPath",{id:"766fd299",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ye=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#53ca2d67)",children:t("path",{fill:"#000",d:"m22.555 14.162-1.9-6.836A9.321 9.321 0 0 0 2.576 7.8l-1.471 6.615A5 5 0 0 0 5.986 20.5H7.1a5 5 0 0 0 9.8 0h.838a5 5 0 0 0 4.818-6.338zM12 22.5a3 3 0 0 1-2.816-2h5.632a3 3 0 0 1-2.816 2m8.126-5.185a2.98 2.98 0 0 1-2.389 1.185H5.986a3 3 0 0 1-2.928-3.651l1.47-6.616a7.321 7.321 0 0 1 14.2-.372l1.9 6.836a2.98 2.98 0 0 1-.502 2.618"})}),t("defs",{children:t("clipPath",{id:"53ca2d67",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Xe=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#4fb010ad)",children:t("path",{fill:"#000",d:"M23.9 11.946a12 12 0 0 0-4.279-7.717 12.006 12.006 0 0 0-16.385 1.07A11.99 11.99 0 0 0 0 13.508a11.86 11.86 0 0 0 3.759 8.705A4.84 4.84 0 0 0 7.113 23.5h9.767a5 5 0 0 0 3.509-1.428 11.93 11.93 0 0 0 3.51-10.126m-4.91 8.693a3 3 0 0 1-2.11.862H7.113c-.73.015-1.44-.25-1.981-.74A9.9 9.9 0 0 1 2 13.508a10 10 0 0 1 3.338-7.451 9.89 9.89 0 0 1 6.648-2.541q.588 0 1.174.065a10 10 0 0 1 8.305 6.693 9.98 9.98 0 0 1-2.474 10.37zm-11.183-2.85a1 1 0 1 1-1.4 1.429 7.992 7.992 0 0 1 6.736-13.623 1 1 0 0 1 .72 1.502.99.99 0 0 1-1.006.477 6 6 0 0 0-6.228 3.28 5.99 5.99 0 0 0 1.178 6.935m12.112-5.424q.08.568.08 1.143a7.92 7.92 0 0 1-2.407 5.711 1.002 1.002 0 0 1-1.4-1.43 5.97 5.97 0 0 0 1.744-5.138 1 1 0 0 1 1.59-.944 1 1 0 0 1 .39.659zm-5.993.631a2.03 2.03 0 0 1-2.22 2.559 2.033 2.033 0 0 1-1.495-3.039 2.03 2.03 0 0 1 2.3-.933l3.782-3.778a1 1 0 1 1 1.414 1.413z"})}),t("defs",{children:t("clipPath",{id:"4fb010ad",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ke=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("path",{fill:"#000",d:"M22.707 1.793a1 1 0 0 1 0 1.414l-20 20a1 1 0 0 1-1.414-1.414l20-20a1 1 0 0 1 1.414 0"}),t("path",{fill:"#000",fillRule:"evenodd",d:"M6 10.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8m0-6a2 2 0 1 1 0 4 2 2 0 0 1 0-4M15.778 15.174a4 4 0 1 1 4.444 6.653 4 4 0 0 1-4.444-6.653m1.11 4.99a2 2 0 1 0 2.223-3.327 2 2 0 0 0-2.222 3.326",clipRule:"evenodd"})]}))),Ge=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#ed9b96dd)",clipRule:"evenodd",children:[t("path",{d:"M21.057 3.47a10.1 10.1 0 0 1 2.594 4.476 2.01 2.01 0 0 1-1.913 2.554H17.02a3 3 0 0 1-3-3V2.8a2 2 0 0 1 2.02-2 2 2 0 0 1 .543.072 10.1 10.1 0 0 1 4.475 2.598M17.015 8.5h4.72a8.07 8.07 0 0 0-5.677-5.702h-.026a.05.05 0 0 0-.025.01l.008 4.692a1 1 0 0 0 1 1"}),t("path",{d:"M14 12.5h4.713a3.06 3.06 0 0 1 2.394 1.172 2.88 2.88 0 0 1 .533 2.485A11 11 0 0 1 8.906 24.27a10.969 10.969 0 0 1-.553-21.414 2.87 2.87 0 0 1 2.48.534A3 3 0 0 1 12 5.774V10.5a2 2 0 0 0 2 2m3.425 7.26a8.97 8.97 0 0 0 2.276-4.092.88.88 0 0 0-.167-.768 1.04 1.04 0 0 0-.816-.4h-4.712a4 4 0 0 1-4-4V5.778a1.02 1.02 0 0 0-.4-.806.87.87 0 0 0-.764-.172 8.97 8.97 0 1 0 8.583 14.96"})]}),t("defs",{children:t("clipPath",{id:"ed9b96dd",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ze=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#b0215b09)",children:t("path",{fill:"#000",d:"M23 11.5H13v-10a1 1 0 0 0-1-1 1 1 0 0 0-1 1v10H1a1 1 0 0 0-1 1 1 1 0 0 0 1 1h10v10a1 1 0 0 0 2 0v-10h10a1 1 0 0 0 0-2"})}),t("defs",{children:t("clipPath",{id:"b0215b09",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Je=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#fd854dc7)",children:t("path",{fill:"#000",d:"M19 3.522V1.5a1 1 0 0 0-2 0v1.1a5 5 0 0 0-1-.1h-1v-1a1 1 0 0 0-2 0v1h-2v-1a1 1 0 0 0-2 0v1H8a5 5 0 0 0-1 .1V1.5a1 1 0 0 0-2 0v2.022A4.98 4.98 0 0 0 3 7.5v12a5.006 5.006 0 0 0 5 5h8a5.006 5.006 0 0 0 5-5v-12a4.98 4.98 0 0 0-2-3.978M19 19.5a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3v-12a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3zm-2-11a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m0 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m-4 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h4a1 1 0 0 1 1 1"})}),t("defs",{children:t("clipPath",{id:"fd854dc7",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Qe=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#00dd4609)",children:t("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.265 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743m-1.863 7.577-4.272 4.272a1.87 1.87 0 0 1-1.335.553h-.033a1.87 1.87 0 0 1-1.345-.6l-2.306-2.4a1 1 0 1 1 1.441-1.382L11.112 13 15.3 8.8a1 1 0 0 1 1.414 1.414z"})}),t("defs",{children:t("clipPath",{id:"00dd4609",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),et=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#cb08f89a)",children:t("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.266 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743M12 19.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2m1-5a1 1 0 1 1-2 0v-8a1 1 0 0 1 2 0z"})}),t("defs",{children:t("clipPath",{id:"cb08f89a",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),tt=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#bf9e55a0)",children:t("path",{fill:"#000",d:"m23.707 22.794-5.97-5.97a10.016 10.016 0 1 0-1.413 1.415l5.969 5.969a1 1 0 0 0 1.414-1.414M10 18.5a8 8 0 1 1 8-8 8.01 8.01 0 0 1-8 8"})}),t("defs",{children:t("clipPath",{id:"bf9e55a0",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),rt=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#1bc41c1a)",clipRule:"evenodd",children:[t("path",{d:"M9.778 9.175a4 4 0 1 1 4.444 6.652 4 4 0 0 1-4.444-6.652m1.11 4.989a2 2 0 1 0 2.223-3.325 2 2 0 0 0-2.222 3.325"}),t("path",{d:"m20.85 14.144.444.256.001-.001a3.002 3.002 0 1 1-3 5.2l-.447-.258A9 9 0 0 1 15 20.987v.513a3 3 0 1 1-6 0v-.513a9 9 0 0 1-2.85-1.642l-.445.257a3.002 3.002 0 0 1-3-5.2l.444-.256a9.1 9.1 0 0 1 0-3.29l-.444-.256a3.002 3.002 0 1 1 3-5.2l.447.259A9 9 0 0 1 9 4.013V3.5a3 3 0 1 1 6 0v.513a9 9 0 0 1 2.849 1.642l.445-.257a3.002 3.002 0 0 1 3 5.2l-.444.256a9.1 9.1 0 0 1 0 3.29m-2.104.23a7.05 7.05 0 0 0 0-3.75v.001a1 1 0 0 1 .463-1.129l1.084-.626a1 1 0 1 0-1-1.732l-1.084.627a1 1 0 0 1-1.215-.165 7 7 0 0 0-3.243-1.879A1 1 0 0 1 13 4.752V3.5a1 1 0 1 0-2 0v1.252a1 1 0 0 1-.751.973A7 7 0 0 0 7.006 7.6a1 1 0 0 1-1.214.161l-1.086-.628a1 1 0 1 0-1 1.733l1.084.626a1 1 0 0 1 .465 1.129 7.05 7.05 0 0 0 0 3.75 1 1 0 0 1-.464 1.133l-1.084.626a1 1 0 1 0 1 1.732l1.084-.627a1 1 0 0 1 1.215.165c.89.91 2.01 1.56 3.242 1.879a1 1 0 0 1 .751.969V21.5a1 1 0 0 0 2 0v-1.253a1 1 0 0 1 .751-.969 7 7 0 0 0 3.243-1.875 1 1 0 0 1 1.215-.165l1.086.628a1 1 0 0 0 1-1.733l-1.084-.626a1 1 0 0 1-.464-1.133"})]}),t("defs",{children:t("clipPath",{id:"1bc41c1a",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),nt=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#a0c118e7)",children:t("path",{fill:"#000",d:"M4 7.483a2.98 2.98 0 0 1-2.121-.88L.335 5.228a1.002 1.002 0 0 1 1.332-1.496l1.585 1.416a1 1 0 0 0 1.456.04l3.604-3.435a1 1 0 0 1 1.378 1.45L6.1 6.62a2.96 2.96 0 0 1-2.1.863m20-2.002a1 1 0 0 0-1-1H13a1 1 0 0 0-.706 1.708 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1M6.1 14.63l3.59-3.418a1 1 0 1 0-1.378-1.45l-3.6 3.435a1.02 1.02 0 0 1-1.414 0l-1.59-1.586a1 1 0 0 0-1.695.711c-.002.263.099.515.28.704l1.586 1.587a3 3 0 0 0 4.226.017zm17.9-1.14a1 1 0 0 0-1-1H13a1 1 0 0 0-1 1 1 1 0 0 0 1 1.002h10a1 1 0 0 0 1-1.001M6.1 22.638l3.586-3.417a1.001 1.001 0 1 0-1.378-1.45l-3.6 3.435a1 1 0 0 1-1.456-.04l-1.585-1.416a1 1 0 0 0-1.665.805c.015.266.135.514.333.69l1.544 1.376a3 3 0 0 0 4.226.017zM24 21.498a1 1 0 0 0-1-1.001H13a1 1 0 0 0-.706 1.709 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1.001"})}),t("defs",{children:t("clipPath",{id:"a0c118e7",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),it=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#5e750dae)",children:[t("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),t("path",{d:"M7.223 11.532 23 11.5a1 1 0 0 1 0 2l-15.744.032q.123.209.29.382l3.88 3.88a1 1 0 1 1-1.414 1.413l-3.88-3.879a4 4 0 0 1 0-5.656l3.882-3.879a1 1 0 1 1 1.414 1.414l-3.88 3.88a2 2 0 0 0-.325.445"})]}),t("defs",{children:t("clipPath",{id:"5e750dae",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ot=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#05b4bd89)",children:[t("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),t("path",{d:"m18.95 5.792 3.879 3.88h-.004a4 4 0 0 1 0 5.655l-3.88 3.88a1 1 0 1 1-1.413-1.415l3.879-3.879q.2-.207.334-.462-.019.003-.036.008a.1.1 0 0 1-.042.008L5.989 13.5a1 1 0 0 1 0-2l15.684-.032q.01 0 .02.004l.022.004a2 2 0 0 0-.3-.39l-3.88-3.879a1 1 0 0 1 1.415-1.414"})]}),t("defs",{children:t("clipPath",{id:"05b4bd89",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),at=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#a7923feb)",children:t("path",{d:"M6.365 6.416a.5.5 0 0 1-.278.084H4.294v12h1.793a.5.5 0 0 1 .353.854L4 21.794a1 1 0 0 1-1.414 0l-2.44-2.44A.5.5 0 0 1 .5 18.5h1.794v-12H.5a.5.5 0 0 1-.353-.854l2.439-2.439a1 1 0 0 1 1.414 0l2.44 2.44a.5.5 0 0 1-.075.769M23 6.5H10a1 1 0 0 1 0-2h13a1 1 0 1 1 0 2M10 11.5h13a1 1 0 0 1 0 2H10a1 1 0 0 1 0-2M23 18.5H10a1 1 0 0 0 0 2h13a1 1 0 1 0 0-2"})}),t("defs",{children:t("clipPath",{id:"a7923feb",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ct=r((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M13 1v2a1 1 0 0 1-2 0V1a1 1 0 0 1 2 0m-1 19a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0v-2a1 1 0 0 0-1-1m-8-8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h2a1 1 0 0 0 1-1m19-1h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2m-4.982-9.382a1 1 0 0 0-1.367.364l-1 1.731a1 1 0 0 0 1.731 1.001l1-1.731a1 1 0 0 0-.364-1.365M7.987 18.921a1 1 0 0 0-1.366.364l-1 1.731a1 1 0 1 0 1.731 1.001l1-1.731a1 1 0 0 0-.365-1.365m-3.272-12.3-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 0 0 1-1.731m17.3 10.03-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 1 0 1-1.731M7.349 1.982a1 1 0 0 0-1.731 1l1 1.731a1 1 0 1 0 1.731-1.001zm10.03 17.3a1 1 0 0 0-1.731 1l1 1.731a1 1 0 0 0 1.731-1zm2.408-10.8a1 1 0 0 0 .5-.134l1.731-1a1 1 0 0 0-1-1.731l-1.731 1a1 1 0 0 0 .5 1.865M3.713 15.648l-1.731 1a1 1 0 1 0 1 1.731l1.731-1a1 1 0 0 0-1-1.731"})}))),lt=r((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M21 12.924V11.5a9 9 0 0 0-18 0v1.424A5 5 0 0 0 5 22.5a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2v-1a7 7 0 0 1 14 0v1a2 2 0 0 0-2 2v6h-3a1 1 0 0 0 0 2h5a5 5 0 0 0 2-9.576M5 20.5a3 3 0 1 1 0-6zm14 0v-6a3 3 0 0 1 0 6"})}))),ut=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#0ff6f3f3)",children:[t("path",{d:"M10 18.5a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1M14.707 18.207A1 1 0 0 1 13 17.499v-6a1 1 0 1 1 2 0v6a1 1 0 0 1-.293.707"}),t("path",{fillRule:"evenodd",d:"M21 4.5h-3.1a5.01 5.01 0 0 0-4.9-4h-2a5.01 5.01 0 0 0-4.9 4H3a1 1 0 0 0 0 2h1v13a5.006 5.006 0 0 0 5 5h6a5.006 5.006 0 0 0 5-5v-13h1a1 1 0 1 0 0-2m-10-2h2a3.01 3.01 0 0 1 2.829 2H8.171A3.01 3.01 0 0 1 11 2.5m7 17a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3v-13h12z",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"0ff6f3f3",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),st=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#ec29c2e9)",children:[t("path",{d:"m11 18.516.007-15.438L8.08 6.005a1 1 0 0 1-1.414-1.414l3.21-3.212a3 3 0 0 1 4.245 0l3.21 3.215a1 1 0 0 1-1.413 1.414l-2.912-2.913L13 18.516a1 1 0 1 1-2 0"}),t("path",{d:"M22 21.5v-4a1 1 0 0 1 2 0v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 0 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1"})]}),t("defs",{children:t("clipPath",{id:"ec29c2e9",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ft=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#3a1d3b1e)",children:t("path",{d:"M12 13a6 6 0 1 0 0-12 6 6 0 0 0 0 12m0-10a4 4 0 1 1 0 8 4 4 0 0 1 0-8M12 15a9.01 9.01 0 0 0-9 9 1 1 0 0 0 2 0 7 7 0 1 1 14 0 1 1 0 0 0 2 0 9.01 9.01 0 0 0-9-9"})}),t("defs",{children:t("clipPath",{id:"3a1d3b1e",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),pt=r((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M7.986 1.833a6.71 6.71 0 0 1 4.758 2h-2.086a.67.67 0 0 0-.668.667.666.666 0 0 0 .668.667h2.768a1.24 1.24 0 0 0 1.24-1.238V1.167A.666.666 0 0 0 14 .5a.67.67 0 0 0-.668.667v1.385a8.01 8.01 0 0 0-8.278-1.5 8 8 0 0 0-3.48 2.641 8 8 0 0 0-1.57 4.074.67.67 0 0 0 .668.733.657.657 0 0 0 .66-.585 6.67 6.67 0 0 1 2.146-4.329 6.7 6.7 0 0 1 4.51-1.753M15.33 8.5a.657.657 0 0 0-.661.585 6.65 6.65 0 0 1-1.362 3.488 6.684 6.684 0 0 1-10.05.593h2.085a.67.67 0 0 0 .668-.666.666.666 0 0 0-.668-.667H2.574a1.24 1.24 0 0 0-1.146.764c-.063.15-.095.312-.095.474v2.762a.666.666 0 0 0 .668.667.67.67 0 0 0 .668-.667v-1.385a8.01 8.01 0 0 0 8.278 1.5 8 8 0 0 0 3.48-2.641 8 8 0 0 0 1.57-4.074.67.67 0 0 0-.668-.733"})}))),ht=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1503 1504","aria-hidden":"true",...r,children:[t("path",{fill:"#fff",d:"M287 258h928v844H287z"}),t("path",{fill:"#E84142",fillRule:"evenodd",d:"M1502.5 752c0 414.77-336.23 751-751 751-414.766 0-751-336.23-751-751C.5 337.234 336.734 1 751.5 1c414.77 0 751 336.234 751 751m-963.812 298.86H392.94c-30.626 0-45.754 0-54.978-5.9-9.963-6.46-16.051-17.16-16.789-28.97-.554-10.88 7.011-24.168 22.139-50.735l359.87-634.32c15.313-26.936 23.061-40.404 32.839-45.385 10.516-5.35 23.062-5.35 33.578 0 9.778 4.981 17.527 18.449 32.839 45.385l73.982 129.144.377.659c16.539 28.897 24.926 43.551 28.588 58.931a109.56 109.56 0 0 1 0 51.289c-3.69 15.497-11.992 30.257-28.781 59.591L687.573 964.702l-.489.856c-16.648 29.135-25.085 43.902-36.778 55.042-12.73 12.18-28.043 21.03-44.832 26.02-15.313 4.24-32.47 4.24-66.786 4.24m368.062 0h208.84c30.81 0 46.31 0 55.54-6.08 9.96-6.46 16.23-17.35 16.79-29.15.53-10.53-6.87-23.3-21.37-48.323-.5-.852-1-1.719-1.51-2.601L1060.43 785.75l-1.19-2.015c-14.7-24.858-22.12-37.411-31.65-42.263a36.73 36.73 0 0 0-33.391 0c-9.594 4.981-17.342 18.08-32.655 44.462L857.306 964.891l-.357.616c-15.259 26.34-22.885 39.503-22.335 50.303.738 11.81 6.826 22.69 16.788 29.15 9.041 5.9 24.538 5.9 55.348 5.9",clipRule:"evenodd"})]}))),dt=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 788 788","aria-hidden":"true",...r,children:[t("circle",{cx:394,cy:394,r:394,style:{fill:"#0ac18e"}}),t("path",{d:"M516.9 261.7c-19.8-44.9-65.3-54.5-121-45.2L378 147.1 335.8 158l17.6 69.2c-11.1 2.8-22.5 5.2-33.8 8.4L302 166.8l-42.2 10.9 17.9 69.4c-9.1 2.6-85.2 22.1-85.2 22.1l11.6 45.2s31-8.7 30.7-8c17.2-4.5 25.3 4.1 29.1 12.2l49.2 190.2c.6 5.5-.4 14.9-12.2 18.1.7.4-30.7 7.9-30.7 7.9l4.6 52.7s75.4-19.3 85.3-21.8l18.1 70.2 42.2-10.9-18.1-70.7q17.4-4.05 33.9-8.4l18 70.3 42.2-10.9-18.1-70.1c65-15.8 110.9-56.8 101.5-119.5-6-37.8-47.3-68.8-81.6-72.3 21.1-18.7 31.8-46 18.7-81.7m-20.3 165.5c8.4 62.1-77.9 69.7-106.4 77.2l-24.8-92.9c28.6-7.5 117-39 131.2 15.7m-52-126.5c8.9 55.2-64.9 61.6-88.7 67.7l-22.6-84.3c23.9-5.9 93.2-34.5 111.3 16.6",style:{fill:"#fff"}})]}))),yt=r((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 4091.27 4091.73","aria-hidden":"true",...r,children:e("g",{fillRule:"nonzero",children:[t("path",{fill:"#F7931A",d:"M4030.06 2540.77C3756.82 3636.78 2646.74 4303.79 1550.6 4030.48 454.92 3757.24-212.09 2647.09 61.27 1551.17c273.12-1096.13 1383.2-1763.19 2479-1489.95C3636.33 334.46 4303.3 1444.73 4030.03 2540.79l.02-.02z"}),t("path",{fill:"#fff",d:"M2947.77 1754.38c40.72-272.26-166.56-418.61-450-516.24l91.95-368.8-224.5-55.94-89.51 359.09c-59.02-14.72-119.63-28.59-179.87-42.34L2186 768.69l-224.36-55.94-92 368.68c-48.84-11.12-96.81-22.11-143.35-33.69l.26-1.16-309.59-77.31-59.72 239.78s166.56 38.18 163.05 40.53c90.91 22.69 107.35 82.87 104.62 130.57l-104.74 420.15c6.26 1.59 14.38 3.89 23.34 7.49-7.49-1.86-15.46-3.89-23.73-5.87l-146.81 588.57c-11.11 27.62-39.31 69.07-102.87 53.33 2.25 3.26-163.17-40.72-163.17-40.72l-111.46 256.98 292.15 72.83c54.35 13.63 107.61 27.89 160.06 41.3l-92.9 373.03 224.24 55.94 92-369.07c61.26 16.63 120.71 31.97 178.91 46.43l-91.69 367.33 224.51 55.94 92.89-372.33c382.82 72.45 670.67 43.24 791.83-303.02 97.63-278.78-4.86-439.58-206.26-544.44 146.69-33.83 257.18-130.31 286.64-329.61l-.07-.05zm-512.93 719.26c-69.38 278.78-538.76 128.08-690.94 90.29l123.28-494.2c152.17 37.99 640.17 113.17 567.67 403.91zm69.43-723.3c-63.29 253.58-453.96 124.75-580.69 93.16l111.77-448.21c126.73 31.59 534.85 90.55 468.94 355.05z"})]})}))),vt=r((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 784.37 1277.39","aria-hidden":"true",...r,children:e("g",{fillRule:"nonzero",children:[t("path",{fill:"#343434",d:"m392.07 0-8.57 29.11v844.63l8.57 8.55 392.06-231.75z"}),t("path",{fill:"#8C8C8C",d:"M392.07 0 0 650.54l392.07 231.75V472.33z"}),t("path",{fill:"#3C3C3B",d:"m392.07 956.52-4.83 5.89v300.87l4.83 14.1 392.3-552.49z"}),t("path",{fill:"#8C8C8C",d:"M392.07 1277.38V956.52L0 724.89z"}),t("path",{fill:"#141414",d:"m392.07 882.29 392.06-231.75-392.06-178.21z"}),t("path",{fill:"#393939",d:"m0 650.54 392.07 231.75V472.33z"})]})}))),gt=r((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37.8 43.6","aria-hidden":"true",...e,children:t("g",{"data-name":"Layer 2",children:t("path",{d:"m18.9 0-4 2.3L4 8.6l-4 2.3v21.8L4 35l11 6.3 4 2.3 4-2.3L33.8 35l4-2.3V10.9l-4-2.3-10.9-6.3ZM8 28.1V15.5l10.9-6.3 10.9 6.3v12.6l-10.9 6.3Z","data-name":"Layer 1",style:{fill:"#2a5ada"}})})}))),mt=r((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 82.6 82.6","aria-hidden":"true",...r,children:[t("circle",{cx:41.3,cy:41.3,r:36.83,style:{fill:"#fff"}}),t("path",{d:"M41.3 0a41.3 41.3 0 1 0 41.3 41.3A41.18 41.18 0 0 0 41.54 0Zm.7 42.7-4.3 14.5h23a1.16 1.16 0 0 1 1.2 1.12v.38l-2 6.9a1.49 1.49 0 0 1-1.5 1.1H23.2l5.9-20.1-6.6 2L24 44l6.6-2 8.3-28.2a1.51 1.51 0 0 1 1.5-1.1h8.9a1.16 1.16 0 0 1 1.2 1.12v.38l-7 23.8 6.6-2-1.4 4.8Z",style:{fill:"#345d9d"}})]}))),bt=r((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 236.36 200","aria-hidden":"true",...e,children:t("g",{"data-name":"Layer 2",children:t("g",{"data-name":"Layer 1",children:t("path",{d:"m203 26.16-28.46 14.5-137.43 70a82.5 82.5 0 0 1-.7-10.69A81.87 81.87 0 0 1 158.2 28.6l16.29-8.3 2.43-1.24A100 100 0 0 0 18.18 100q0 3.82.29 7.61a18.19 18.19 0 0 1-9.88 17.58L0 129.57V150l25.29-12.89 8.19-4.18 8.07-4.11L186.43 55l16.28-8.29 33.65-17.15V9.14ZM236.36 50 49.78 145l-16.28 8.31L0 170.38v20.41l33.27-16.95 28.46-14.5 137.57-70.1A83.5 83.5 0 0 1 200 100a81.87 81.87 0 0 1-121.91 71.36l-1 .53-17.66 9A100 100 0 0 0 218.18 100c0-2.57-.1-5.14-.29-7.68a18.2 18.2 0 0 1 9.87-17.58l8.6-4.38Z"})})})})));function wt(e,t={}){let r=!1;function n(t){const r=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>t}}return{parts:function(...i){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const e of i)t[e]=n(e);return wt(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return wt(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.selector])))},classnames:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.className])))},get keys(){return Object.keys(t)},__type:{}}}var xt=wt("accordion").parts("root","container","button","panel").extend("icon"),Ot=wt("alert").parts("title","description","container").extend("icon","spinner");wt("avatar").parts("label","badge","container").extend("excessLabel","group"),wt("breadcrumb").parts("link","item","container").extend("separator"),wt("button").parts();var St=wt("checkbox").parts("control","icon","container").extend("label");wt("progress").parts("track","filledTrack").extend("label"),wt("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),wt("editable").parts("preview","input","textarea"),wt("form").parts("container","requiredIndicator","helperText"),wt("formError").parts("text","icon");var jt=wt("input").parts("addon","field","element","group");wt("list").parts("container","item","icon"),wt("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),wt("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),wt("numberinput").parts("root","field","stepperGroup","stepper"),wt("pininput").parts("field"),wt("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),wt("progress").parts("label","filledTrack","track"),wt("radio").parts("container","control","label");var At=wt("select").parts("field","icon");wt("slider").parts("container","track","thumb","filledTrack","mark"),wt("stat").parts("container","label","helpText","number","icon"),wt("switch").parts("container","track","thumb","label"),wt("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),wt("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");var Pt=wt("tag").parts("container","label","closeButton");wt("card").parts("container","header","body","footer"),wt("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Mt=1e6,kt=1e6,Et="[big.js] ",Ct=Et+"Invalid ",_t=Ct+"decimal places",Tt=Ct+"rounding mode",Dt=Et+"Division by zero",It={},Nt=void 0,Bt=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function Lt(e,t,r,n){var i=e.c;if(r===Nt&&(r=e.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error(Tt);if(t<1)n=3===r&&(n||!!i[0])||0===t&&(1===r&&i[0]>=5||2===r&&(i[0]>5||5===i[0]&&(n||i[1]!==Nt))),i.length=1,n?(e.e=e.e-t+1,i[0]=1):i[0]=e.e=0;else if(t<i.length){if(n=1===r&&i[t]>=5||2===r&&(i[t]>5||5===i[t]&&(n||i[t+1]!==Nt||1&i[t-1]))||3===r&&(n||!!i[0]),i.length=t,n)for(;++i[--t]>9;)if(i[t]=0,0===t){++e.e,i.unshift(1);break}for(t=i.length;!i[--t];)i.pop()}return e}function Rt(e,t,r){var n=e.e,i=e.c.join(""),o=i.length;if(t)i=i.charAt(0)+(o>1?"."+i.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)i="0"+i;i="0."+i}else if(n>0)if(++n>o)for(n-=o;n--;)i+="0";else n<o&&(i=i.slice(0,n)+"."+i.slice(n));else o>1&&(i=i.charAt(0)+"."+i.slice(1));return e.s<0&&r?"-"+i:i}It.abs=function(){var e=new this.constructor(this);return e.s=1,e},It.cmp=function(e){var t,r=this,n=r.c,i=(e=new r.constructor(e)).c,o=r.s,a=e.s,c=r.e,l=e.e;if(!n[0]||!i[0])return n[0]?o:i[0]?-a:0;if(o!=a)return o;if(t=o<0,c!=l)return c>l^t?1:-1;for(a=(c=n.length)<(l=i.length)?c:l,o=-1;++o<a;)if(n[o]!=i[o])return n[o]>i[o]^t?1:-1;return c==l?0:c>l^t?1:-1},It.div=function(e){var t=this,r=t.constructor,n=t.c,i=(e=new r(e)).c,o=t.s==e.s?1:-1,a=r.DP;if(a!==~~a||a<0||a>Mt)throw Error(_t);if(!i[0])throw Error(Dt);if(!n[0])return e.s=o,e.c=[e.e=0],e;var c,l,u,s,f,p=i.slice(),h=c=i.length,d=n.length,y=n.slice(0,c),v=y.length,g=e,m=g.c=[],b=0,w=a+(g.e=t.e-e.e)+1;for(g.s=o,o=w<0?0:w,p.unshift(0);v++<c;)y.push(0);do{for(u=0;u<10;u++){if(c!=(v=y.length))s=c>v?1:-1;else for(f=-1,s=0;++f<c;)if(i[f]!=y[f]){s=i[f]>y[f]?1:-1;break}if(!(s<0))break;for(l=v==c?i:p;v;){if(y[--v]<l[v]){for(f=v;f&&!y[--f];)y[f]=9;--y[f],y[v]+=10}y[v]-=l[v]}for(;!y[0];)y.shift()}m[b++]=s?u:++u,y[0]&&s?y[v]=n[h]||0:y=[n[h]]}while((h++<d||y[0]!==Nt)&&o--);return m[0]||1==b||(m.shift(),g.e--,w--),b>w&&Lt(g,w,r.RM,y[0]!==Nt),g},It.eq=function(e){return 0===this.cmp(e)},It.gt=function(e){return this.cmp(e)>0},It.gte=function(e){return this.cmp(e)>-1},It.lt=function(e){return this.cmp(e)<0},It.lte=function(e){return this.cmp(e)<1},It.minus=It.sub=function(e){var t,r,n,i,o=this,a=o.constructor,c=o.s,l=(e=new a(e)).s;if(c!=l)return e.s=-l,o.plus(e);var u=o.c.slice(),s=o.e,f=e.c,p=e.e;if(!u[0]||!f[0])return f[0]?e.s=-l:u[0]?e=new a(o):e.s=1,e;if(c=s-p){for((i=c<0)?(c=-c,n=u):(p=s,n=f),n.reverse(),l=c;l--;)n.push(0);n.reverse()}else for(r=((i=u.length<f.length)?u:f).length,c=l=0;l<r;l++)if(u[l]!=f[l]){i=u[l]<f[l];break}if(i&&(n=u,u=f,f=n,e.s=-e.s),(l=(r=f.length)-(t=u.length))>0)for(;l--;)u[t++]=0;for(l=t;r>c;){if(u[--r]<f[r]){for(t=r;t&&!u[--t];)u[t]=9;--u[t],u[r]+=10}u[r]-=f[r]}for(;0===u[--l];)u.pop();for(;0===u[0];)u.shift(),--p;return u[0]||(e.s=1,u=[p=0]),e.c=u,e.e=p,e},It.mod=function(e){var t,r=this,n=r.constructor,i=r.s,o=(e=new n(e)).s;if(!e.c[0])throw Error(Dt);return r.s=e.s=1,t=1==e.cmp(r),r.s=i,e.s=o,t?new n(r):(i=n.DP,o=n.RM,n.DP=n.RM=0,r=r.div(e),n.DP=i,n.RM=o,this.minus(r.times(e)))},It.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},It.plus=It.add=function(e){var t,r,n,i=this,o=i.constructor;if(e=new o(e),i.s!=e.s)return e.s=-e.s,i.minus(e);var a=i.e,c=i.c,l=e.e,u=e.c;if(!c[0]||!u[0])return u[0]||(c[0]?e=new o(i):e.s=i.s),e;if(c=c.slice(),t=a-l){for(t>0?(l=a,n=u):(t=-t,n=c),n.reverse();t--;)n.push(0);n.reverse()}for(c.length-u.length<0&&(n=u,u=c,c=n),t=u.length,r=0;t;c[t]%=10)r=(c[--t]=c[t]+u[t]+r)/10|0;for(r&&(c.unshift(r),++l),t=c.length;0===c[--t];)c.pop();return e.c=c,e.e=l,e},It.pow=function(e){var t=this,r=new t.constructor("1"),n=r,i=e<0;if(e!==~~e||e<-1e6||e>kt)throw Error(Ct+"exponent");for(i&&(e=-e);1&e&&(n=n.times(t)),e>>=1;)t=t.times(t);return i?r.div(n):n},It.prec=function(e,t){if(e!==~~e||e<1||e>Mt)throw Error(Ct+"precision");return Lt(new this.constructor(this),e,t)},It.round=function(e,t){if(e===Nt)e=0;else if(e!==~~e||e<-Mt||e>Mt)throw Error(_t);return Lt(new this.constructor(this),e+this.e+1,t)},It.sqrt=function(){var e,t,r,n=this,i=n.constructor,o=n.s,a=n.e,c=new i("0.5");if(!n.c[0])return new i(n);if(o<0)throw Error(Et+"No square root");0===(o=Math.sqrt(n+""))||o===1/0?((t=n.c.join("")).length+a&1||(t+="0"),a=((a+1)/2|0)-(a<0||1&a),e=new i(((o=Math.sqrt(t))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+a)):e=new i(o+""),a=e.e+(i.DP+=4);do{r=e,e=c.times(r.plus(n.div(r)))}while(r.c.slice(0,a).join("")!==e.c.slice(0,a).join(""));return Lt(e,(i.DP-=4)+e.e+1,i.RM)},It.times=It.mul=function(e){var t,r=this,n=r.constructor,i=r.c,o=(e=new n(e)).c,a=i.length,c=o.length,l=r.e,u=e.e;if(e.s=r.s==e.s?1:-1,!i[0]||!o[0])return e.c=[e.e=0],e;for(e.e=l+u,a<c&&(t=i,i=o,o=t,u=a,a=c,c=u),t=new Array(u=a+c);u--;)t[u]=0;for(l=c;l--;){for(c=0,u=a+l;u>l;)c=t[u]+o[l]*i[u-l-1]+c,t[u--]=c%10,c=c/10|0;t[u]=c}for(c?++e.e:t.shift(),l=t.length;!t[--l];)t.pop();return e.c=t,e},It.toExponential=function(e,t){var r=this,n=r.c[0];if(e!==Nt){if(e!==~~e||e<0||e>Mt)throw Error(_t);for(r=Lt(new r.constructor(r),++e,t);r.c.length<e;)r.c.push(0)}return Rt(r,!0,!!n)},It.toFixed=function(e,t){var r=this,n=r.c[0];if(e!==Nt){if(e!==~~e||e<0||e>Mt)throw Error(_t);for(e=e+(r=Lt(new r.constructor(r),e+r.e+1,t)).e+1;r.c.length<e;)r.c.push(0)}return Rt(r,!1,!!n)},It[Symbol.for("nodejs.util.inspect.custom")]=It.toJSON=It.toString=function(){var e=this,t=e.constructor;return Rt(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},It.toNumber=function(){var e=Number(Rt(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(Et+"Imprecise conversion");return e},It.toPrecision=function(e,t){var r=this,n=r.constructor,i=r.c[0];if(e!==Nt){if(e!==~~e||e<1||e>Mt)throw Error(Ct+"precision");for(r=Lt(new n(r),e,t);r.c.length<e;)r.c.push(0)}return Rt(r,e<=r.e||r.e<=n.NE||r.e>=n.PE,!!i)},It.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(Et+"valueOf disallowed");return Rt(e,e.e<=t.NE||e.e>=t.PE,!0)};var zt=function e(){function t(r){var n=this;if(!(n instanceof t))return r===Nt?e():new t(r);if(r instanceof t)n.s=r.s,n.e=r.e,n.c=r.c.slice();else{if("string"!=typeof r){if(!0===t.strict&&"bigint"!=typeof r)throw TypeError(Ct+"value");r=0===r&&1/r<0?"-0":String(r)}!function(e,t){var r,n,i;if(!Bt.test(t))throw Error(Ct+"number");e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(r=t.indexOf("."))>-1&&(t=t.replace(".",""));(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length);for(i=t.length,n=0;n<i&&"0"==t.charAt(n);)++n;if(n==i)e.c=[e.e=0];else{for(;i>0&&"0"==t.charAt(--i););for(e.e=r-n-1,e.c=[],r=0;n<=i;)e.c[r++]=+t.charAt(n++)}}(n,r)}n.constructor=t}return t.prototype=It,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.strict=false,t.roundDown=0,t.roundHalfUp=1,t.roundHalfEven=2,t.roundUp=3,t}();const $t=e=>{if(e.some((e=>!Number.isFinite(e))))throw new Error(`One or more of the provided amounts is not a finite number. (amounts: ${e}, method: aggregateAmounts)`);return e.reduce(((e,t)=>e.plus(t)),new zt(0)).toNumber()};var Ht="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Vt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ft={exports:{}};Ft.exports=function(){var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",o="minute",a="hour",c="day",l="week",u="month",s="quarter",f="year",p="date",h="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},m={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,u),o=r-i<0,a=t.clone().add(n+(o?-1:1),u);return+(-(n+(r-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:f,w:l,d:c,D:p,h:a,m:o,s:i,ms:n,Q:s}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",w={};w[b]=v;var x="$isDayjsObject",O=function(e){return e instanceof P||!(!e||!e[x])},S=function e(t,r,n){var i;if(!t)return b;if("string"==typeof t){var o=t.toLowerCase();w[o]&&(i=o),r&&(w[o]=r,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var c=t.name;w[c]=t,i=c}return!n&&i&&(b=i),i||!n&&b},j=function(e,t){if(O(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new P(r)},A=m;A.l=S,A.i=O,A.w=function(e,t){return j(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function v(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(A.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return A},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var r=j(e);return this.startOf(t)<=r&&r<=this.endOf(t)},g.isAfter=function(e,t){return j(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<j(e)},g.$g=function(e,t,r){return A.u(e)?this[t]:this.set(r,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var r=this,n=!!A.u(t)||t,s=A.p(e),h=function(e,t){var i=A.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(c)},d=function(e,t){return A.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},y=this.$W,v=this.$M,g=this.$D,m="set"+(this.$u?"UTC":"");switch(s){case f:return n?h(1,0):h(31,11);case u:return n?h(1,v):h(0,v+1);case l:var b=this.$locale().weekStart||0,w=(y<b?y+7:y)-b;return h(n?g-w:g+(6-w),v);case c:case p:return d(m+"Hours",0);case a:return d(m+"Minutes",1);case o:return d(m+"Seconds",2);case i:return d(m+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var r,l=A.p(e),s="set"+(this.$u?"UTC":""),h=(r={},r[c]=s+"Date",r[p]=s+"Date",r[u]=s+"Month",r[f]=s+"FullYear",r[a]=s+"Hours",r[o]=s+"Minutes",r[i]=s+"Seconds",r[n]=s+"Milliseconds",r)[l],d=l===c?this.$D+(t-this.$W):t;if(l===u||l===f){var y=this.clone().set(p,1);y.$d[h](d),y.init(),this.$d=y.set(p,Math.min(this.$D,y.daysInMonth())).$d}else h&&this.$d[h](d);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[A.p(e)]()},g.add=function(n,s){var p,h=this;n=Number(n);var d=A.p(s),y=function(e){var t=j(h);return A.w(t.date(t.date()+Math.round(e*n)),h)};if(d===u)return this.set(u,this.$M+n);if(d===f)return this.set(f,this.$y+n);if(d===c)return y(1);if(d===l)return y(7);var v=(p={},p[o]=t,p[a]=r,p[i]=e,p)[d]||1,g=this.$d.getTime()+n*v;return A.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),o=this.$H,a=this.$m,c=this.$M,l=r.weekdays,u=r.months,s=r.meridiem,f=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].slice(0,o)},p=function(e){return A.s(o%12||12,e,"0")},d=s||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(y,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return A.s(t.$y,4,"0");case"M":return c+1;case"MM":return A.s(c+1,2,"0");case"MMM":return f(r.monthsShort,c,u,3);case"MMMM":return f(u,c);case"D":return t.$D;case"DD":return A.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(r.weekdaysMin,t.$W,l,2);case"ddd":return f(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return A.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return d(o,a,!0);case"A":return d(o,a,!1);case"m":return String(a);case"mm":return A.s(a,2,"0");case"s":return String(t.$s);case"ss":return A.s(t.$s,2,"0");case"SSS":return A.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,p,h){var d,y=this,v=A.p(p),g=j(n),m=(g.utcOffset()-this.utcOffset())*t,b=this-g,w=function(){return A.m(y,g)};switch(v){case f:d=w()/12;break;case u:d=w();break;case s:d=w()/3;break;case l:d=(b-m)/6048e5;break;case c:d=(b-m)/864e5;break;case a:d=b/r;break;case o:d=b/t;break;case i:d=b/e;break;default:d=b}return h?d:A.a(d)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return w[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=S(e,t,!0);return n&&(r.$L=n),r},g.clone=function(){return A.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),M=P.prototype;return j.prototype=M,[["$ms",n],["$s",i],["$m",o],["$H",a],["$W",c],["$M",u],["$y",f],["$D",p]].forEach((function(e){M[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),j.extend=function(e,t){return e.$i||(e(t,P,j),e.$i=!0),j},j.locale=S,j.isDayjs=O,j.unix=function(e){return j(1e3*e)},j.en=w[b],j.Ls=w,j.p={},j}();var Ut,qt,Wt,Yt=Vt(Ft.exports),Xt={exports:{}};Xt.exports=(Ut="minute",qt=/[+-]\d\d(?::?\d\d)?/g,Wt=/([+-]|\d\d)/g,function(e,t,r){var n=t.prototype;r.utc=function(e){return new t({date:e,utc:!0,args:arguments})},n.utc=function(e){var t=r(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),Ut):t},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var i=n.parse;n.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),i.call(this,e)};var o=n.init;n.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else o.call(this)};var a=n.utcOffset;n.utcOffset=function(e,t){var r=this.$utils().u;if(r(e))return this.$u?0:r(this.$offset)?a.call(this):this.$offset;if("string"==typeof e&&(e=function(e){void 0===e&&(e="");var t=e.match(qt);if(!t)return null;var r=(""+t[0]).match(Wt)||["-",0,0],n=r[0],i=60*+r[1]+ +r[2];return 0===i?0:"+"===n?i:-i}(e),null===e))return this;var n=Math.abs(e)<=16?60*e:e,i=this;if(t)return i.$offset=n,i.$u=0===e,i;if(0!==e){var o=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(n+o,Ut)).$offset=n,i.$x.$localOffset=o}else i=this.utc();return i};var c=n.format;n.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},n.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var l=n.toDate;n.toDate=function(e){return"s"===e&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var u=n.diff;n.diff=function(e,t,n){if(e&&this.$u===e.$u)return u.call(this,e,t,n);var i=this.local(),o=r(e).local();return u.call(i,o,t,n)}});var Kt=Vt(Xt.exports);Yt.extend(Kt);const Gt=({timeString:e,toEndDate:t})=>""===e?"":t?Yt(`${e}T23:59:59`).utc().unix().toString():Yt(e).utc().unix().toString(),Zt=({number:e,signDisplay:t="exceptZero",isDecimal:r=!0})=>{const n=Number(e);if(!Number.isFinite(n))return console.log(`Number is not a finite number. (number: ${n}, method: formatPercentage)`),e;return new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:2,signDisplay:t}).format(r?n:zt(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 Jt={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(e,t){var r=t.pattern,n=t.negativePattern,i=t.symbol,o=t.separator,a=t.decimal,c=t.groups,l=(""+e).replace(/^-/,"").split("."),u=l[0],s=l[1];return(e.value>=0?r:n).replace("!",i).replace("#",u.replace(c,"$1"+o)+(s?a+s:""))},fromCents:!1},Qt=function(e){return Math.round(e)},er=function(e){return Math.pow(10,e)},tr=/(\d)(?=(\d{3})+\b)/g,rr=/(\d)(?=(\d\d)+\d\b)/g;function nr(e,t){var r=this;if(!(r instanceof nr))return new nr(e,t);var n=Object.assign({},Jt,t),i=er(n.precision),o=ir(e,n);r.intValue=o,r.value=o/i,n.increment=n.increment||1/i,n.useVedic?n.groups=rr:n.groups=tr,this.s=n,this.p=i}function ir(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=0,i=t.decimal,o=t.errorOnInvalid,a=t.precision,c=t.fromCents,l=er(a),u="number"==typeof e,s=e instanceof nr;if(s&&c)return e.intValue;if(u||s)n=s?e.value:e;else if("string"==typeof e){var f=new RegExp("[^-\\d"+i+"]","g"),p=new RegExp("\\"+i,"g");n=(n=e.replace(/\((.*)\)/,"-$1").replace(f,"").replace(p,"."))||0}else{if(o)throw Error("Invalid Input");n=0}return c||(n=(n*=l).toFixed(4)),r?Qt(n):n}nr.prototype={add:function(e){var t=this.intValue,r=this.s,n=this.p;return nr((t+=ir(e,r))/(r.fromCents?1:n),r)},subtract:function(e){var t=this.intValue,r=this.s,n=this.p;return nr((t-=ir(e,r))/(r.fromCents?1:n),r)},multiply:function(e){var t=this.intValue,r=this.s;return nr((t*=e)/(r.fromCents?1:er(r.precision)),r)},divide:function(e){var t=this.intValue,r=this.s;return nr(t/=ir(e,r,!1),r)},distribute:function(e){for(var t=this.intValue,r=this.p,n=this.s,i=[],o=Math[t>=0?"floor":"ceil"](t/e),a=Math.abs(t-o*e),c=n.fromCents?1:r;0!==e;e--){var l=nr(o/c,n);a-- >0&&(l=l[t>=0?"add":"subtract"](1/c)),i.push(l)}return i},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(e){var t=this.s;return"function"==typeof e?e(this,t):t.format(this,Object.assign({},t,e))},toString:function(){var e,t,r=this.intValue,n=this.p,i=this.s;return(e=r/n,t=i.increment,Qt(e/t)*t).toFixed(i.precision)},toJSON:function(){return this.value}};const or=({amount:e,autoPrecision:t,precision:r=2,signDisplay:n=!1})=>{const i=Number(e);if(!Number.isFinite(i))return console.log(`Amount is not a finite number. (amount: ${i}, method: formatUsd)`),e;const o=nr(i,{precision:t&&i>-1&&i<1&&0!==i?5:r}).format();return n&&i>0?`+${o}`:o},ar=({data:e,dataKey:t})=>{const r=e?.length?Number(e[0][t]):0,n=e?.length?Number(e[e.length-1][t]):0;if(!e?.length)return{startingAmount:0,endingAmount:0,delta:0,percentChange:0,isNetGain:!0};if(!Number.isFinite(r)||!Number.isFinite(n))throw new Error(`Starting or ending amount is not a finite number. (startingAmount: ${r}, endingAmount: ${n}, method: getDelta)`);const i=new zt(r),o=new zt(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=e=>{let t;return["sm","xs"].includes(e)&&(t="xs"),t},lr=({arr:e,n:t})=>e.toReversed().filter(((e,r)=>r%t==0)).toReversed(),ur={redRemains:(e=1)=>sr({rgb:"rgb(255, 223, 223)",alpha:e}),heroicRed:(e=1)=>sr({rgb:"rgb(210, 25, 25)",alpha:e}),aijiroWhite:(e=1)=>sr({rgb:"rgb(238, 248, 247)",alpha:e}),mint:(e=1)=>sr({rgb:"rgb(64, 178, 136)",alpha:e}),white:(e=1)=>sr({rgb:"rgb(255, 255, 255)",alpha:e,enabledAlphaValues:[.2]}),lighthouse:(e=1)=>sr({rgb:"rgb(244, 244, 244)",alpha:e}),coolElegance:(e=1)=>sr({rgb:"rgb(205, 207, 209)",alpha:e}),sonicSilver:(e=1)=>sr({rgb:"rgb(117, 117, 117)",alpha:e}),black:(e=1)=>sr({rgb:"rgb(0, 0, 0)",alpha:e,enabledAlphaValues:[.08]})},sr=({rgb:e,alpha:t,enabledAlphaValues:r=[1]})=>{if(![...r,1].includes(t))throw`Unsupported alpha value: ${t}. Update the color function in uiColors.ts to enable additional values.`;const[n,i,o]=e.replace(/[^\d,]/g,"").split(",");return`rgba(${n}, ${i}, ${o}, ${t})`},fr=({usd:e,precision:t=2,autoPrecision:r})=>{const n=nr(e).value;return nr(e,{precision:r&&n>-1&&n<1&&0!==n?5:t}).value};Yt.extend(Kt);const pr=({dateFormat:e="MM/DD/YY",timeString:t})=>Yt.utc(t).local().format(e),{definePartsStyle:hr,defineMultiStyleConfig:dr}=n(xt.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(Ot.keys),mr=gr({baseStyle:vr((e=>{const{colorScheme:t,theme:r}=e,n=r.colors[t];return{icon:{svg:{path:{fill:n[500]}}},container:{bg:n[100],borderColor:n[500],borderRadius:"lg",borderStyle:"solid",borderWidth:1,padding:4},description:{color:"blackAlpha.900"},title:{color:"blackAlpha.900"}}})),defaultProps:{variant:"subtle"}}),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(St.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(jt.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(At.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(Pt.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=e=>{const t=String(e).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return t?`(${t[1]}) ${t[2]}-${t[3]}`:e};function Wr(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=Wr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Yr(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=Wr(e))&&(n&&(n+=" "),n+=t);return n}var Xr=Array.isArray,Kr="object"==typeof Ht&&Ht&&Ht.Object===Object&&Ht,Gr=Kr,Zr="object"==typeof self&&self&&self.Object===Object&&self,Jr=Gr||Zr||Function("return this")(),Qr=Jr.Symbol,en=Qr,tn=Object.prototype,rn=tn.hasOwnProperty,nn=tn.toString,on=en?en.toStringTag:void 0;var an=function(e){var t=rn.call(e,on),r=e[on];try{e[on]=void 0;var n=!0}catch(e){}var i=nn.call(e);return n&&(t?e[on]=r:delete e[on]),i},cn=Object.prototype.toString;var ln=an,un=function(e){return cn.call(e)},sn=Qr?Qr.toStringTag:void 0;var fn=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":sn&&sn in Object(e)?ln(e):un(e)};var pn=function(e){return null!=e&&"object"==typeof e},hn=fn,dn=pn;var yn=function(e){return"symbol"==typeof e||dn(e)&&"[object Symbol]"==hn(e)},vn=Xr,gn=yn,mn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bn=/^\w*$/;var wn=function(e,t){if(vn(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!gn(e))||(bn.test(e)||!mn.test(e)||null!=t&&e in Object(t))};var xn=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},On=Vt(xn),Sn=fn,jn=xn;var An,Pn=function(e){if(!jn(e))return!1;var t=Sn(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Mn=Vt(Pn),kn=Jr["__core-js_shared__"],En=(An=/[^.]+$/.exec(kn&&kn.keys&&kn.keys.IE_PROTO||""))?"Symbol(src)_1."+An:"";var Cn=function(e){return!!En&&En in e},_n=Function.prototype.toString;var Tn=function(e){if(null!=e){try{return _n.call(e)}catch(e){}try{return e+""}catch(e){}}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(e,t){return null==e?void 0:e[t]},Un=function(e){return!(!Nn(e)||In(e))&&(Dn(e)?Vn:Ln).test(Bn(e))},qn=Fn;var Wn=function(e,t){var r=qn(e,t);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(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Zn=Yn,Jn=Object.prototype.hasOwnProperty;var Qn=function(e){var t=this.__data__;if(Zn){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return Jn.call(t,e)?t[e]:void 0},ei=Yn,ti=Object.prototype.hasOwnProperty;var ri=Yn;var ni=Kn,ii=Gn,oi=Qn,ai=function(e){var t=this.__data__;return ei?void 0!==t[e]:ti.call(t,e)},ci=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ri&&void 0===t?"__lodash_hash_undefined__":t,this};function li(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}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(e,t){return e===t||e!=e&&t!=t},pi=fi;var hi=function(e,t){for(var r=e.length;r--;)if(pi(e[r][0],t))return r;return-1},di=hi,yi=Array.prototype.splice;var vi=hi;var gi=hi;var mi=hi;var bi=si,wi=function(e){var t=this.__data__,r=di(t,e);return!(r<0)&&(r==t.length-1?t.pop():yi.call(t,r,1),--this.size,!0)},xi=function(e){var t=this.__data__,r=vi(t,e);return r<0?void 0:t[r][1]},Oi=function(e){return gi(this.__data__,e)>-1},Si=function(e,t){var r=this.__data__,n=mi(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function ji(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}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(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var _i=function(e,t){var r=e.__data__;return Ci(t)?r["string"==typeof t?"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(e){var t=Ti(this,e).delete(e);return this.size-=t?1:0,t},Ri=function(e){return Di(this,e).get(e)},zi=function(e){return Ii(this,e).has(e)},$i=function(e,t){var r=Ni(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function Hi(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}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(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(Ui.Cache||Fi),r}Ui.Cache=Fi;var qi=Ui,Wi=Vt(qi),Yi=qi;var Xi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ki=/\\(\\)?/g,Gi=function(e){var t=Yi(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Xi,(function(e,r,n,i){t.push(n?i.replace(Ki,"$1"):r||e)})),t})),Zi=Gi;var Ji=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i},Qi=Ji,eo=Xr,to=yn,ro=Qr?Qr.prototype:void 0,no=ro?ro.toString:void 0;var io=function e(t){if("string"==typeof t)return t;if(eo(t))return Qi(t,e)+"";if(to(t))return no?no.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r},oo=io;var ao=function(e){return null==e?"":oo(e)},co=Xr,lo=wn,uo=Zi,so=ao;var fo=function(e,t){return co(e)?e:lo(e,t)?[e]:uo(so(e))},po=yn;var ho=function(e){if("string"==typeof e||po(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t},yo=fo,vo=ho;var go=function(e,t){for(var r=0,n=(t=yo(t,e)).length;null!=e&&r<n;)e=e[vo(t[r++])];return r&&r==n?e:void 0},mo=go;var bo=function(e,t,r){var n=null==e?void 0:mo(e,t);return void 0===n?r:n},wo=Vt(bo);var xo=Vt((function(e){return null==e})),Oo=fn,So=Xr,jo=pn;var Ao,Po=Vt((function(e){return"string"==typeof e||!So(e)&&jo(e)&&"[object String]"==Oo(e)})),Mo={exports:{}},ko={};var Eo,Co={};
|
|
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?Mo.exports=function(){if(Ao)return ko;Ao=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,d=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case u:case n:case o:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case s:case d:case h:case a:return e;default:return p}}case r:return p}}}function w(e){return b(e)===u}return ko.AsyncMode=l,ko.ConcurrentMode=u,ko.ContextConsumer=c,ko.ContextProvider=a,ko.Element=t,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(e){return w(e)||b(e)===l},ko.isConcurrentMode=w,ko.isContextConsumer=function(e){return b(e)===c},ko.isContextProvider=function(e){return b(e)===a},ko.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ko.isForwardRef=function(e){return b(e)===s},ko.isFragment=function(e){return b(e)===n},ko.isLazy=function(e){return b(e)===d},ko.isMemo=function(e){return b(e)===h},ko.isPortal=function(e){return b(e)===r},ko.isProfiler=function(e){return b(e)===o},ko.isStrictMode=function(e){return b(e)===i},ko.isSuspense=function(e){return b(e)===f},ko.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===u||e===o||e===i||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===h||e.$$typeof===a||e.$$typeof===c||e.$$typeof===s||e.$$typeof===v||e.$$typeof===g||e.$$typeof===m||e.$$typeof===y)},ko.typeOf=b,ko}():Mo.exports=(Eo||(Eo=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,d=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var y=e.type;switch(y){case l:case u:case n:case o:case i:case f:return y;default:var v=y&&y.$$typeof;switch(v){case c:case s:case d:case h:case a:return v;default:return p}}case r:return p}}}var w=l,x=u,O=c,S=a,j=t,A=s,P=n,M=d,k=h,E=r,C=o,_=i,T=f,D=!1;function I(e){return b(e)===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(e){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),I(e)||b(e)===l},Co.isConcurrentMode=I,Co.isContextConsumer=function(e){return b(e)===c},Co.isContextProvider=function(e){return b(e)===a},Co.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Co.isForwardRef=function(e){return b(e)===s},Co.isFragment=function(e){return b(e)===n},Co.isLazy=function(e){return b(e)===d},Co.isMemo=function(e){return b(e)===h},Co.isPortal=function(e){return b(e)===r},Co.isProfiler=function(e){return b(e)===o},Co.isStrictMode=function(e){return b(e)===i},Co.isSuspense=function(e){return b(e)===f},Co.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===u||e===o||e===i||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===h||e.$$typeof===a||e.$$typeof===c||e.$$typeof===s||e.$$typeof===v||e.$$typeof===g||e.$$typeof===m||e.$$typeof===y)},Co.typeOf=b}()),Co);var _o=Mo.exports,To=fn,Do=pn;var Io=function(e){return"number"==typeof e||Do(e)&&"[object Number]"==To(e)},No=Vt(Io),Bo=Io;var Lo=Vt((function(e){return Bo(e)&&e!=+e})),Ro=function(e){return 0===e?0:e>0?1:-1},zo=function(e){return Po(e)&&e.indexOf("%")===e.length-1},$o=function(e){return No(e)&&!Lo(e)},Ho=function(e){return $o(e)||Po(e)},Vo=0,Fo=function(e){var t=++Vo;return"".concat(e||"").concat(t)},Uo=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!$o(e)&&!Po(e))return n;if(zo(e)){var o=e.indexOf("%");r=t*parseFloat(e.slice(0,o))/100}else r=+e;return Lo(r)&&(r=n),i&&r>t&&(r=t),r},qo=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},Wo=function(e,t){return $o(e)&&$o(t)?function(r){return e+r*(t-e)}:function(){return t}};function Yo(e,t,r){return e&&e.length?e.find((function(e){return e&&("function"==typeof t?t(e):wo(e,t))===r})):null}function Xo(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function Ko(e){return Ko="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ko(e)}var Go=["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"],ea=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if(Z(e)&&(r=e.props),!On(r))return null;var n={};return Object.keys(r).forEach((function(e){Qo.includes(e)&&(n[e]=t||function(t){return r[e](r,t)})})),n},ta=function(e,t,r){if(!On(e)||"object"!==Ko(e))return null;var n=null;return Object.keys(e).forEach((function(i){var o=e[i];Qo.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(e,t,r){return function(n){return e(t,r,n),null}}(o,t,r))})),n},ra=["children"],na=["children"];function ia(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function oa(e){return oa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oa(e)}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(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},la=null,ua=null,sa=function e(t){if(t===la&&Array.isArray(ua))return ua;var r=[];return J.forEach(t,(function(t){xo(t)||(_o.isFragment(t)?r=r.concat(e(t.props.children)):r.push(t))})),ua=r,la=t,r};function fa(e,t){var r=[],n=[];return n=Array.isArray(t)?t.map((function(e){return ca(e)})):[ca(t)],sa(e).forEach((function(e){var t=wo(e,"type.displayName")||wo(e,"type.name");-1!==n.indexOf(t)&&r.push(e)})),r}function pa(e,t){var r=fa(e,t);return r&&r[0]}var ha=function(e){if(!e||!e.props)return!1;var t=e.props,r=t.width,n=t.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(e){return e&&"object"===oa(e)&&"cx"in e&&"cy"in e&&"r"in e},va=function(e,t,r){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if(Z(e)&&(n=e.props),!On(n))return null;var i={};return Object.keys(n).forEach((function(e){var o;(function(e,t,r,n){var i,o=null!==(i=null==Jo?void 0:Jo[n])&&void 0!==i?i:[];return!Mn(e)&&(n&&o.includes(t)||Go.includes(t))||r&&Qo.includes(t)})(null===(o=n)||void 0===o?void 0:o[e],e,t,r)&&(i[e]=n[e])})),i},ga=function e(t,r){if(t===r)return!0;var n=J.count(t);if(n!==J.count(r))return!1;if(0===n)return!0;if(1===n)return ma(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var o=t[i],a=r[i];if(Array.isArray(o)||Array.isArray(a)){if(!e(o,a))return!1}else if(!ma(o,a))return!1}return!0},ma=function(e,t){if(xo(e)&&xo(t))return!0;if(!xo(e)&&!xo(t)){var r=e.props||{},n=r.children,i=ia(r,ra),o=t.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(e,t){var r=[],n={};return sa(e).forEach((function(e,i){if(function(e){return e&&e.type&&Po(e.type)&&da.indexOf(e.type)>=0}(e))r.push(e);else if(e){var o=ca(e.type),a=t[o]||{},c=a.handler,l=a.once;if(c&&(!l||!n[o])){var u=c(e,o,i);r.push(u),n[o]=!0}}})),r},wa=["children","width","height","viewBox","className","style","title","desc"];function xa(){return xa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xa.apply(this,arguments)}function Oa(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Sa(e){var t=e.children,r=e.width,n=e.height,i=e.viewBox,o=e.className,a=e.style,c=e.title,l=e.desc,u=Oa(e,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),t)}var ja=["children","className"];function Aa(){return Aa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Aa.apply(this,arguments)}function Pa(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Ma=G.forwardRef((function(e,t){var r=e.children,n=e.className,i=Pa(e,ja),o=Yr("recharts-layer",n);return G.createElement("g",Aa({className:o},va(i,!0),{ref:t}),r)})),ka="production"!==process.env.NODE_ENV,Ea=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(ka&&"undefined"!=typeof console&&console.warn&&(void 0===t&&console.warn("LogUtils requires an error message argument"),!e))if(void 0===t)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;console.warn(t.replace(/%s/g,(function(){return n[o++]})))}};var Ca=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o},_a=Ca;var Ta=function(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:_a(e,t,r)},Da=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Ia=function(e){return Da.test(e)};var Na=function(e){return e.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(e){return e.match(Ya)||[]},Ka=Na,Ga=Ia,Za=Xa;var Ja=function(e){return Ga(e)?Za(e):Ka(e)},Qa=Ta,ec=Ia,tc=Ja,rc=ao;var nc=function(e){return function(t){t=rc(t);var r=ec(t)?tc(t):void 0,n=r?r[0]:t.charAt(0),i=r?Qa(r,1).join(""):t.slice(1);return n[e]()+i}},ic=Vt(nc("toUpperCase"));function oc(e){return function(){return e}}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(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}class vc{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?yc:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return yc;const r=10**t;return function(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=Math.round(arguments[t]*r)/r+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,r,n){this._append`Q${+e},${+t},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(e,t,r,n,i,o){this._append`C${+e},${+t},${+r},${+n},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,r,n,i){if(e=+e,t=+t,r=+r,n=+n,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,c=r-e,l=n-t,u=o-e,s=a-t,f=u*u+s*s;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(f>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${e+b*u},${t+b*s}`,this._append`A${i},${i},0,0,${+(s*p>u*h)},${this._x1=e+w*c},${this._y1=t+w*l}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}arc(e,t,r,n,i,o){if(e=+e,t=+t,o=!!o,(r=+r)<0)throw new Error(`negative radius: ${r}`);let a=r*Math.cos(n),c=r*Math.sin(n),l=e+a,u=t+c,s=1^o,f=o?n-i:i-n;null===this._x1?this._append`M${l},${u}`:(Math.abs(this._x1-l)>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},${e-a},${t-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=e+r*Math.cos(i)},${this._y1=t+r*Math.sin(i)}`)}rect(e,t,r,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function gc(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(null==r)t=null;else{const e=Math.floor(r);if(!(e>=0))throw new RangeError(`invalid digits: ${r}`);t=e}return e},()=>new vc(t)}function mc(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function bc(e){this._context=e}function wc(e){return new bc(e)}function xc(e){return e[0]}function Oc(e){return e[1]}function Sc(e,t){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(+e(u,l,c),+t(u,l,c));if(s)return o=null,s+""||null}return e="function"==typeof e?e:void 0===e?xc:oc(e),t="function"==typeof t?t:void 0===t?Oc:oc(t),c.x=function(t){return arguments.length?(e="function"==typeof t?t:oc(+t),c):e},c.y=function(e){return arguments.length?(t="function"==typeof e?e:oc(+e),c):t},c.defined=function(e){return arguments.length?(r="function"==typeof e?e:oc(!!e),c):r},c.curve=function(e){return arguments.length?(i=e,null!=n&&(o=i(n)),c):i},c.context=function(e){return arguments.length?(null==e?n=o=null:o=i(n=e),c):n},c}function jc(e,t,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]=+e(h,s,u),m[s]=+t(h,s,u),c.point(n?+n(h,s,u):g[s],r?+r(h,s,u):m[s]))}if(d)return c=null,d+""||null}function s(){return Sc().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?xc:oc(+e),t="function"==typeof t?t:oc(void 0===t?0:+t),r="function"==typeof r?r:void 0===r?Oc:oc(+r),u.x=function(t){return arguments.length?(e="function"==typeof t?t:oc(+t),n=null,u):e},u.x0=function(t){return arguments.length?(e="function"==typeof t?t:oc(+t),u):e},u.x1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:oc(+e),u):n},u.y=function(e){return arguments.length?(t="function"==typeof e?e:oc(+e),r=null,u):t},u.y0=function(e){return arguments.length?(t="function"==typeof e?e:oc(+e),u):t},u.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:oc(+e),u):r},u.lineX0=u.lineY0=function(){return s().x(e).y(t)},u.lineY1=function(){return s().x(e).y(r)},u.lineX1=function(){return s().x(n).y(t)},u.defined=function(e){return arguments.length?(i="function"==typeof e?e:oc(!!e),u):i},u.curve=function(e){return arguments.length?(a=e,null!=o&&(c=a(o)),u):a},u.context=function(e){return arguments.length?(null==e?o=c=null:c=a(o=e),u):o},u}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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};class Ac{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}var Pc={draw(e,t){const r=lc(t/uc);e.moveTo(r,0),e.arc(0,0,r,0,sc)}},Mc={draw(e,t){const r=lc(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}};const kc=lc(1/3),Ec=2*kc;var Cc={draw(e,t){const r=lc(t/Ec),n=r*kc;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},_c={draw(e,t){const r=lc(t),n=-r/2;e.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(e,t){const r=lc(.8908130915292852*t),n=Dc*r,i=Ic*r;e.moveTo(0,-r),e.lineTo(n,i);for(let t=1;t<5;++t){const o=sc*t/5,a=ac(o),c=cc(o);e.lineTo(c*r,-a*r),e.lineTo(a*n-c*i,c*n+a*i)}e.closePath()}};const Bc=lc(3);var Lc={draw(e,t){const r=-lc(t/(3*Bc));e.moveTo(0,2*r),e.lineTo(-Bc*r,-r),e.lineTo(Bc*r,-r),e.closePath()}};const Rc=-.5,zc=lc(3)/2,$c=1/lc(12),Hc=3*($c/2+1);var Vc={draw(e,t){const r=lc(t/Hc),n=r/2,i=r*$c,o=n,a=r*$c+r,c=-o,l=a;e.moveTo(n,i),e.lineTo(o,a),e.lineTo(c,l),e.lineTo(Rc*n-zc*i,zc*n+Rc*i),e.lineTo(Rc*o-zc*a,zc*o+Rc*a),e.lineTo(Rc*c-zc*l,zc*c+Rc*l),e.lineTo(Rc*n+zc*i,Rc*i-zc*n),e.lineTo(Rc*o+zc*a,Rc*a-zc*o),e.lineTo(Rc*c+zc*l,Rc*l-zc*c),e.closePath()}};function Fc(){}function Uc(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function qc(e){this._context=e}function Wc(e){this._context=e}function Yc(e){this._context=e}function Xc(e){this._context=e}function Kc(e){return e<0?-1:1}function Gc(e,t,r){var n=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(n||i<0&&-0),a=(r-e._y1)/(i||n<0&&-0),c=(o*i+a*n)/(n+i);return(Kc(o)+Kc(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function Zc(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function Jc(e,t,r){var n=e._x0,i=e._y0,o=e._x1,a=e._y1,c=(o-n)/3;e._context.bezierCurveTo(n+c,i+c*t,o-c,a-c*r,o,a)}function Qc(e){this._context=e}function el(e){this._context=new tl(e)}function tl(e){this._context=e}function rl(e){this._context=e}function nl(e){var t,r,n=e.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/o[t-1],o[t]-=r,a[t]-=r*a[t-1];for(i[n-1]=a[n-1]/o[n-1],t=n-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function il(e,t){this._context=e,this._t=t}function ol(e,t){if((i=e.length)>1)for(var r,n,i,o=1,a=e[t[0]],c=a.length;o<i;++o)for(n=a,a=e[t[o]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function al(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function cl(e,t){return e[t]}function ll(e){const t=[];return t.key=e,t}function ul(e){return ul="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ul(e)}qc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3: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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Uc(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Uc(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Uc(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Xc.prototype={areaStart:Fc,areaEnd:Fc,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},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(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Jc(this,Zc(this,r=Gc(this,e,t)),r);break;default:Jc(this,this._t0,r=Gc(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(el.prototype=Object.create(Qc.prototype)).point=function(e,t){Qc.prototype.point.call(this,t,e)},tl.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,o){this._context.bezierCurveTo(t,e,n,r,o,i)}},rl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var n=nl(e),i=nl(t),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};var sl=["type","size","sizeType"];function fl(){return fl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fl.apply(this,arguments)}function pl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pl(Object(r),!0).forEach((function(t){dl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dl(e,t,r){return t=function(e){var t=function(e,t){if("object"!=ul(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ul(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ul(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var vl={symbolCircle:Pc,symbolCross:Mc,symbolDiamond:Cc,symbolSquare:_c,symbolStar:Nc,symbolTriangle:Lc,symbolWye:Vc},gl=Math.PI/180,ml=function(e){var t,r,n=e.type,i=void 0===n?"circle":n,o=e.size,a=void 0===o?64:o,c=e.sizeType,l=void 0===c?"area":c,u=hl(hl({},yl(e,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:(t=function(e){var t="symbol".concat(ic(e));return vl[t]||Pc}(i),r=function(e,t){let r=null,n=gc(i);function i(){let i;if(r||(r=i=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),i)return r=null,i+""||null}return e="function"==typeof e?e:oc(e||Pc),t="function"==typeof t?t:oc(void 0===t?64:+t),i.type=function(t){return arguments.length?(e="function"==typeof t?t:oc(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:oc(+e),i):t},i.context=function(e){return arguments.length?(r=null==e?null:e,i):r},i}().type(t).size(function(e,t,r){if("area"===t)return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var n=18*gl;return 1.25*e*e*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(a,l,i)),r())})):null};function bl(e){return bl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bl(e)}function wl(){return wl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wl.apply(this,arguments)}function xl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ol(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,kl(n.key),n)}}function Sl(e,t,r){return t=Al(t),function(e,t){if(t&&("object"===bl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,jl()?Reflect.construct(t,r||[],Al(e).constructor):t.apply(e,r))}function jl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(jl=function(){return!!e})()}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Al(e)}function Pl(e,t){return Pl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pl(e,t)}function Ml(e,t,r){return(t=kl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){var t=function(e,t){if("object"!=bl(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=bl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==bl(t)?t:String(t)}ml.registerSymbol=function(e,t){vl["symbol".concat(ic(e))]=t};var El=32,Cl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Sl(this,t,arguments)}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pl(e,t)}(t,Q),r=t,n=[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,r=16,n=El/6,i=El/3,o=e.inactive?t:e.color;if("plainline"===e.type)return G.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:El,y2:r,className:"recharts-legend-icon"});if("line"===e.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"===e.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(e.legendIcon)){var a=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xl(Object(r),!0).forEach((function(t){Ml(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);return delete a.legendIcon,G.cloneElement(e.legendIcon,a)}return G.createElement(ml,{fill:o,cx:r,cy:r,size:El,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,r=t.payload,n=t.iconSize,i=t.layout,o=t.formatter,a=t.inactiveColor,c={x:0,y:0,width:El,height:El},l={display:"horizontal"===i?"inline-block":"block",marginRight:10},u={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(t,r){var i=t.formatter||o,s=Yr(Ml(Ml({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",t.inactive));if("none"===t.type)return null;var f=Mn(t.value)?null:t.value;Ea(!Mn(t.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var p=t.inactive?a:t.color;return G.createElement("li",wl({className:s,style:l,key:"legend-item-".concat(r)},ta(e.props,t,r)),G.createElement(Sa,{width:n,height:n,viewBox:c,style:u},e.renderIcon(t)),G.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},i?i(f,t,r):f))}))}},{key:"render",value:function(){var e=this.props,t=e.payload,r=e.layout,n=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return 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}),t}();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(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Rl=function(e){return this.__data__.get(e)},zl=function(e){return this.__data__.has(e)},$l=function(e,t){var r=this.__data__;if(r instanceof Tl){var n=r.__data__;if(!Dl||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Il(n)}return r.set(e,t),this.size=r.size,this};function Hl(e){var t=this.__data__=new Nl(e);this.size=t.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(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ql=function(e){return this.__data__.has(e)};function Wl(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Fl;++t<r;)this.add(e[t])}Wl.prototype.add=Wl.prototype.push=Ul,Wl.prototype.has=ql;var Yl=Wl;var Xl=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var Kl=function(e,t){return e.has(t)},Gl=Yl,Zl=Xl,Jl=Kl;var Ql=function(e,t,r,n,i,o){var a=1&r,c=e.length,l=t.length;if(c!=l&&!(a&&l>c))return!1;var u=o.get(e),s=o.get(t);if(u&&s)return u==t&&s==e;var f=-1,p=!0,h=2&r?new Gl:void 0;for(o.set(e,t),o.set(t,e);++f<c;){var d=e[f],y=t[f];if(n)var v=a?n(y,d,f,t,e,o):n(d,y,f,e,t,o);if(void 0!==v){if(v)continue;p=!1;break}if(h){if(!Zl(t,(function(e,t){if(!Jl(h,t)&&(d===e||i(d,e,r,n,o)))return h.push(t)}))){p=!1;break}}else if(d!==y&&!i(d,y,r,n,o)){p=!1;break}}return o.delete(e),o.delete(t),p};var eu=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r};var tu=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r},ru=Jr.Uint8Array,nu=fi,iu=Ql,ou=eu,au=tu,cu=Qr?Qr.prototype:void 0,lu=cu?cu.valueOf:void 0;var uu=function(e,t,r,n,i,o,a){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new ru(e),new ru(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return nu(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var c=ou;case"[object Set]":var l=1&n;if(c||(c=au),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;n|=2,a.set(e,t);var s=iu(c(e),c(t),n,i,o,a);return a.delete(e),s;case"[object Symbol]":if(lu)return lu.call(e)==lu.call(t)}return!1};var su=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e},fu=su,pu=Xr;var hu=function(e,t,r){var n=t(e);return pu(e)?n:fu(n,r(e))};var du=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o};var yu=du,vu=function(){return[]},gu=Object.prototype.propertyIsEnumerable,mu=Object.getOwnPropertySymbols,bu=mu?function(e){return null==e?[]:(e=Object(e),yu(mu(e),(function(t){return gu.call(e,t)})))}:vu,wu=bu;var xu=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},Ou=fn,Su=pn;var ju=function(e){return Su(e)&&"[object Arguments]"==Ou(e)},Au=pn,Pu=Object.prototype,Mu=Pu.hasOwnProperty,ku=Pu.propertyIsEnumerable,Eu=ju(function(){return arguments}())?ju:function(e){return Au(e)&&Mu.call(e,"callee")&&!ku.call(e,"callee")},Cu={exports:{}};var _u=function(){return!1};!function(e,t){var r=Jr,n=_u,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||n;e.exports=c}(Cu,Cu.exports);var Tu=Cu.exports,Du=/^(?:0|[1-9]\d*)$/;var Iu=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&Du.test(e))&&e>-1&&e%1==0&&e<t};var Nu=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=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(e){return Ru(e)&&Lu(e.length)&&!!zu[Bu(e)]};var Hu=function(e){return function(t){return e(t)}},Vu={exports:{}};!function(e,t){var r=Kr,n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,o=i&&i.exports===n&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(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,es=Object.prototype.hasOwnProperty;var ts=function(e,t){var r=Gu(e),n=!r&&Ku(e),i=!r&&!n&&Zu(e),o=!r&&!n&&!i&&Qu(e),a=r||n||i||o,c=a?Xu(e.length,String):[],l=c.length;for(var u in e)!t&&!es.call(e,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(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||rs)};var is=function(e,t){return function(r){return e(t(r))}},os=is(Object.keys,Object),as=ns,cs=os,ls=Object.prototype.hasOwnProperty;var us=function(e){if(!as(e))return cs(e);var t=[];for(var r in Object(e))ls.call(e,r)&&"constructor"!=r&&t.push(r);return t},ss=Pn,fs=Nu;var ps=function(e){return null!=e&&fs(e.length)&&!ss(e)},hs=ts,ds=us,ys=ps;var vs=function(e){return ys(e)?hs(e):ds(e)},gs=hu,ms=wu,bs=vs;var ws=function(e){return gs(e,bs,ms)},xs=ws,Os=Object.prototype.hasOwnProperty;var Ss=function(e,t,r,n,i,o){var a=1&r,c=xs(e),l=c.length;if(l!=xs(t).length&&!a)return!1;for(var u=l;u--;){var s=c[u];if(!(a?s in t:Os.call(t,s)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var h=!0;o.set(e,t),o.set(t,e);for(var d=a;++u<l;){var y=e[s=c[u]],v=t[s];if(n)var g=a?n(v,y,s,t,e,o):n(y,v,s,e,t,o);if(!(void 0===g?y===v||i(y,v,r,n,o):g)){h=!1;break}d||(d="constructor"==s)}if(h&&!d){var m=e.constructor,b=t.constructor;m==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(e),o.delete(t),h},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(e){var t=Ts(e),r="[object Object]"==t?e.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 t});var qs=Vl,Ws=Ql,Ys=uu,Xs=Ss,Ks=Us,Gs=Xr,Zs=Tu,Js=Yu,Qs="[object Arguments]",ef="[object Array]",tf="[object Object]",rf=Object.prototype.hasOwnProperty;var nf=function(e,t,r,n,i,o){var a=Gs(e),c=Gs(t),l=a?ef:Ks(e),u=c?ef:Ks(t),s=(l=l==Qs?tf:l)==tf,f=(u=u==Qs?tf:u)==tf,p=l==u;if(p&&Zs(e)){if(!Zs(t))return!1;a=!0,s=!1}if(p&&!s)return o||(o=new qs),a||Js(e)?Ws(e,t,r,n,i,o):Ys(e,t,l,r,n,i,o);if(!(1&r)){var h=s&&rf.call(e,"__wrapped__"),d=f&&rf.call(t,"__wrapped__");if(h||d){var y=h?e.value():e,v=d?t.value():t;return o||(o=new qs),i(y,v,r,n,o)}}return!!p&&(o||(o=new qs),Xs(e,t,r,n,i,o))},of=nf,af=pn;var cf=function e(t,r,n,i,o){return t===r||(null==t||null==r||!af(t)&&!af(r)?t!=t&&r!=r:of(t,r,n,i,e,o))},lf=Vl,uf=cf;var sf=function(e,t,r,n){var i=r.length,o=i,a=!n;if(null==e)return!o;for(e=Object(e);i--;){var c=r[i];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<o;){var l=(c=r[i])[0],u=e[l],s=c[1];if(a&&c[2]){if(void 0===u&&!(l in e))return!1}else{var f=new lf;if(n)var p=n(u,s,l,e,t,f);if(!(void 0===p?uf(s,u,3,n,f):p))return!1}}return!0},ff=xn;var pf=function(e){return e==e&&!ff(e)},hf=pf,df=vs;var yf=function(e){for(var t=df(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,hf(i)]}return t};var vf=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}},gf=sf,mf=yf,bf=vf;var wf=function(e){var t=mf(e);return 1==t.length&&t[0][2]?bf(t[0][0],t[0][1]):function(r){return r===e||gf(r,e,t)}};var xf=function(e,t){return null!=e&&t in Object(e)},Of=fo,Sf=Eu,jf=Xr,Af=Iu,Pf=Nu,Mf=ho;var kf=function(e,t,r){for(var n=-1,i=(t=Of(t,e)).length,o=!1;++n<i;){var a=Mf(t[n]);if(!(o=null!=e&&r(e,a)))break;e=e[a]}return o||++n!=i?o:!!(i=null==e?0:e.length)&&Pf(i)&&Af(a,i)&&(jf(e)||Sf(e))},Ef=xf,Cf=kf;var _f=function(e,t){return null!=e&&Cf(e,t,Ef)},Tf=cf,Df=bo,If=_f,Nf=wn,Bf=pf,Lf=vf,Rf=ho;var zf=function(e,t){return Nf(e)&&Bf(t)?Lf(Rf(e),t):function(r){var n=Df(r,e);return void 0===n&&n===t?If(r,e):Tf(t,n,3)}};var $f=function(e){return e};var Hf=function(e){return function(t){return null==t?void 0:t[e]}},Vf=go;var Ff=function(e){return function(t){return Vf(t,e)}},Uf=Hf,qf=Ff,Wf=wn,Yf=ho;var Xf=wf,Kf=zf,Gf=$f,Zf=Xr,Jf=function(e){return Wf(e)?Uf(Yf(e)):qf(e)};var Qf=function(e){return"function"==typeof e?e:null==e?Gf:"object"==typeof e?Zf(e)?Kf(e[0],e[1]):Xf(e):Jf(e)};var ep=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1};var tp=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1},rp=ep,np=function(e){return e!=e},ip=tp;var op=function(e,t,r){return t==t?ip(e,t,r):rp(e,np,r)},ap=op;var cp=function(e,t){return!!(null==e?0:e.length)&&ap(e,t,0)>-1};var lp=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1};var up=Ps,sp=function(){},fp=up&&1/tu(new up([,-0]))[1]==1/0?function(e){return new up(e)}:sp,pp=Yl,hp=cp,dp=lp,yp=Kl,vp=fp,gp=tu;var mp=function(e,t,r){var n=-1,i=hp,o=e.length,a=!0,c=[],l=c;if(r)a=!1,i=dp;else if(o>=200){var u=t?null:vp(e);if(u)return gp(u);a=!1,i=yp,l=new pp}else l=t?[]:c;e:for(;++n<o;){var s=e[n],f=t?t(s):s;if(s=r||0!==s?s:0,a&&f==f){for(var p=l.length;p--;)if(l[p]===f)continue e;t&&l.push(f),c.push(s)}else i(l,f,r)||(l!==c&&l.push(f),c.push(s))}return c},bp=Qf,wp=mp;var xp=function(e,t){return e&&e.length?wp(e,bp(t)):[]},Op=Vt(xp);function Sp(e,t,r){return!0===t?Op(e,r):Mn(t)?Op(e,t):e}function jp(e){return jp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jp(e)}var Ap=["ref"];function Pp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Mp(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pp(Object(r),!0).forEach((function(t){Ip(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pp(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function kp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Np(n.key),n)}}function Ep(e,t,r){return t=_p(t),function(e,t){if(t&&("object"===jp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Tp(e)}(e,Cp()?Reflect.construct(t,r||[],_p(e).constructor):t.apply(e,r))}function Cp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cp=function(){return!!e})()}function _p(e){return _p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_p(e)}function Tp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dp(e,t){return Dp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Dp(e,t)}function Ip(e,t,r){return(t=Np(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Np(e){var t=function(e,t){if("object"!=jp(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=jp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==jp(t)?t:String(t)}function Bp(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Lp(e){return e.value}var Rp=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Ip(Tp(e=Ep(this,t,[].concat(n))),"lastBoundingBox",{width:-1,height:-1}),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dp(e,t)}(t,Q),r=t,i=[{key:"getWithHeight",value:function(e,t){var r=e.props.layout;return"vertical"===r&&$o(e.props.height)?{height:e.props.height}:"horizontal"===r?{width:e.props.width||t}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate;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,e&&e(t))}else-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Mp({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,c=n.margin,l=n.chartWidth,u=n.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===o&&"vertical"===i?{left:((l||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{right:c&&c.right||0}:{left:c&&c.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(r="middle"===a?{top:((u||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Mp(Mp({},t),r)}},{key:"render",value:function(){var e=this,t=this.props,r=t.content,n=t.width,i=t.height,o=t.wrapperStyle,a=t.payloadUniqBy,c=t.payload,l=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(t){e.wrapperNode=t}},function(e,t){if(G.isValidElement(e))return G.cloneElement(e,t);if("function"==typeof e)return G.createElement(e,t);t.ref;var r=Bp(t,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}),t}();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(e){return $p(e)||zp(e)||!!(Hp&&e&&e[Hp])};var Up=function e(t,r,n,i,o){var a=-1,c=t.length;for(n||(n=Fp),o||(o=[]);++a<c;){var l=t[a];r>0&&n(l)?r>1?e(l,r-1,n,i,o):Vp(o,l):i||(o[o.length]=l)}return o};var qp=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),c=a.length;c--;){var l=a[e?c:++i];if(!1===r(o[l],l,o))break}return t}},Wp=qp(),Yp=vs;var Xp=function(e,t){return e&&Wp(e,t,Yp)},Kp=ps;var Gp=function(e,t){return function(r,n){if(null==r)return r;if(!Kp(r))return e(r,n);for(var i=r.length,o=t?i:-1,a=Object(r);(t?o--:++o<i)&&!1!==n(a[o],o,a););return r}}(Xp),Zp=Gp,Jp=ps;var Qp=function(e,t){var r=-1,n=Jp(e)?Array(e.length):[];return Zp(e,(function(e,i,o){n[++r]=t(e,i,o)})),n};var eh=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e},th=yn;var rh=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=e==e,o=th(e),a=void 0!==t,c=null===t,l=t==t,u=th(t);if(!c&&!u&&!o&&e>t||o&&a&&l&&!c&&!u||n&&a&&l||!r&&l||!i)return 1;if(!n&&!o&&!u&&e<t||u&&r&&i&&!n&&!o||c&&r&&i||!a&&i||!l)return-1}return 0};var nh=function(e,t,r){for(var n=-1,i=e.criteria,o=t.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 e.index-t.index},ih=Ji,oh=go,ah=Qf,ch=Qp,lh=eh,uh=Hu,sh=nh,fh=$f,ph=Xr;var hh=function(e,t,r){t=t.length?ih(t,(function(e){return ph(e)?function(t){return oh(t,1===e.length?e[0]:e)}:e})):[fh];var n=-1;t=ih(t,uh(ah));var i=ch(e,(function(e,r,i){return{criteria:ih(t,(function(t){return t(e)})),index:++n,value:e}}));return lh(i,(function(e,t){return sh(e,t,r)}))};var dh=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)},yh=Math.max;var vh=function(e,t,r){return t=yh(void 0===t?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=yh(n.length-t,0),a=Array(o);++i<o;)a[i]=n[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=n[i];return c[t]=r(a),dh(e,this,c)}};var gh=function(e){return function(){return e}},mh=Wn,bh=function(){try{var e=mh(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),wh=gh,xh=bh,Oh=xh?function(e,t){return xh(e,"toString",{configurable:!0,enumerable:!1,value:wh(t),writable:!0})}:$f,Sh=Oh,jh=Date.now;var Ah=function(e){var t=0,r=0;return function(){var n=jh(),i=16-(n-r);if(r=n,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Sh),Ph=$f,Mh=vh,kh=Ah;var Eh=fi,Ch=ps,_h=Iu,Th=xn;var Dh=function(e,t,r){if(!Th(r))return!1;var n=typeof t;return!!("number"==n?Ch(r)&&_h(t,r.length):"string"==n&&t in r)&&Eh(r[t],e)},Ih=Up,Nh=hh,Bh=Dh,Lh=Vt(function(e,t){return kh(Mh(e,t,Ph),e+"")}((function(e,t){if(null==e)return[];var r=t.length;return r>1&&Bh(e,t[0],t[1])?t=[]:r>2&&Bh(t[0],t[1],t[2])&&(t=[t[0]]),Nh(e,Ih(t,1),[])})));function Rh(e){return Rh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rh(e)}function zh(){return zh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zh.apply(this,arguments)}function $h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Hh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Hh(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Vh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vh(Object(r),!0).forEach((function(t){Uh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Uh(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Rh(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Rh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Rh(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qh(e){return Array.isArray(e)&&Ho(e[0])&&Ho(e[1])?e.join(" ~ "):e}var Wh=function(e){var t=e.separator,r=void 0===t?" : ":t,n=e.contentStyle,i=void 0===n?{}:n,o=e.itemStyle,a=void 0===o?{}:o,c=e.labelStyle,l=void 0===c?{}:c,u=e.payload,s=e.formatter,f=e.itemSorter,p=e.wrapperClassName,h=e.labelClassName,d=e.label,y=e.labelFormatter,v=e.accessibilityLayer,g=void 0!==v&&v,m=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 e=(f?Lh(u,f):u).map((function(e,t){if("none"===e.type)return null;var n=Fh({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},a),i=e.formatter||s||qh,o=e.value,c=e.name,l=o,f=c;if(i&&null!=l&&null!=f){var p=i(o,c,e,t,u);if(Array.isArray(p)){var h=$h(p,2);l=h[0],f=h[1]}else l=p}return G.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),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"},e.unit||""))}));return G.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function Yh(e){return Yh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yh(e)}function Xh(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Yh(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Yh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yh(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Kh="recharts-tooltip-wrapper",Gh={visibility:"hidden"};function Zh(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return Yr(Kh,Xh(Xh(Xh(Xh({},"".concat(Kh,"-right"),$o(r)&&t&&$o(t.x)&&r>=t.x),"".concat(Kh,"-left"),$o(r)&&t&&$o(t.x)&&r<t.x),"".concat(Kh,"-bottom"),$o(n)&&t&&$o(t.y)&&n>=t.y),"".concat(Kh,"-top"),$o(n)&&t&&$o(t.y)&&n<t.y))}function Jh(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.key,i=e.offsetTopLeft,o=e.position,a=e.reverseDirection,c=e.tooltipDimension,l=e.viewBox,u=e.viewBoxDimension;if(o&&$o(o[n]))return o[n];var s=r[n]-c-i,f=r[n]+i;return t[n]?a[n]?s:f:a[n]?s<l[n]?Math.max(f,l[n]):Math.max(s,l[n]):f+c>l[n]+u?Math.max(s,l[n]):Math.max(f,l[n])}function Qh(e){return Qh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qh(e)}function ed(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function td(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ed(Object(r),!0).forEach((function(t){ld(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ed(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ud(n.key),n)}}function nd(e,t,r){return t=od(t),function(e,t){if(t&&("object"===Qh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ad(e)}(e,id()?Reflect.construct(t,r||[],od(e).constructor):t.apply(e,r))}function id(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(id=function(){return!!e})()}function od(e){return od=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},od(e)}function ad(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cd(e,t){return cd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cd(e,t)}function ld(e,t,r){return(t=ud(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ud(e){var t=function(e,t){if("object"!=Qh(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Qh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Qh(t)?t:String(t)}var sd=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return ld(ad(e=nd(this,t,[].concat(n))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),ld(ad(e),"lastBoundingBox",{width:-1,height:-1}),ld(ad(e),"handleKeyDown",(function(t){var r,n,i,o;"Escape"===t.key&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(r=null===(n=e.props.coordinate)||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(i=null===(o=e.props.coordinate)||void 0===o?void 0:o.y)&&void 0!==i?i:0}})})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cd(e,t)}(t,Q),r=t,(n=[{key:"updateBBox",value:function(){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)}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 e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)===this.state.dismissedAtCoordinate.x&&(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var e=this,t=this.props,r=t.active,n=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.children,c=t.coordinate,l=t.hasPayload,u=t.isAnimationActive,s=t.offset,f=t.position,p=t.reverseDirection,h=t.useTranslate3d,d=t.viewBox,y=t.wrapperStyle,v=function(e){var t,r,n=e.allowEscapeViewBox,i=e.coordinate,o=e.offsetTopLeft,a=e.position,c=e.reverseDirection,l=e.tooltipBox,u=e.useTranslate3d,s=e.viewBox;return{cssProperties:l.height>0&&l.width>0&&i?function(e){var t=e.translateX,r=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}({translateX:t=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:t,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=td(td({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(t){e.wrapperNode=t}},a)}}])&&rd(r.prototype,n),i&&rd(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}(),fd={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return fd[e]},set:function(e,t){if("string"==typeof e)fd[e]=t;else{var r=Object.keys(e);r&&r.length&&r.forEach((function(t){fd[t]=e[t]}))}}};function pd(e){return pd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pd(e)}function hd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function dd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hd(Object(r),!0).forEach((function(t){wd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,xd(n.key),n)}}function vd(e,t,r){return t=md(t),function(e,t){if(t&&("object"===pd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gd()?Reflect.construct(t,r||[],md(e).constructor):t.apply(e,r))}function gd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gd=function(){return!!e})()}function md(e){return md=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},md(e)}function bd(e,t){return bd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bd(e,t)}function wd(e,t,r){return(t=xd(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xd(e){var t=function(e,t){if("object"!=pd(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=pd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pd(t)?t:String(t)}function Od(e){return e.dataKey}var Sd=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),vd(this,t,arguments)}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bd(e,t)}(t,Q),r=t,(n=[{key:"render",value:function(){var e=this,t=this.props,r=t.active,n=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.content,c=t.coordinate,l=t.filterNull,u=t.isAnimationActive,s=t.offset,f=t.payload,p=t.payloadUniqBy,h=t.position,d=t.reverseDirection,y=t.useTranslate3d,v=t.viewBox,g=t.wrapperStyle,m=null!=f?f:[];l&&m.length&&(m=Sp(f.filter((function(t){return null!=t.value&&(!0!==t.hide||e.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(e,t){return G.isValidElement(e)?G.cloneElement(e,t):"function"==typeof e?G.createElement(e,t):G.createElement(Wh,t)}(a,dd(dd({},this.props),{},{payload:m})))}}])&&yd(r.prototype,n),i&&yd(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();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(e){for(var t=e.length;t--&&Ad.test(e.charAt(t)););return t},Md=Pd,kd=/^\s+/;var Ed=function(e){return e?e.slice(0,Md(e)+1).replace(kd,""):e},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(e){if("number"==typeof e)return e;if(Td(e))return NaN;if(_d(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=_d(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Cd(e);var r=Id.test(e);return r||Nd.test(e)?Bd(e.slice(2),r?2:8):Dd.test(e)?NaN:+e},Rd=xn,zd=function(){return jd.Date.now()},$d=Ld,Hd=Math.max,Vd=Math.min;var Fd=function(e,t,r){var n,i,o,a,c,l,u=0,s=!1,f=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var r=n,o=i;return n=i=void 0,u=t,a=e.apply(o,r)}function d(e){var r=e-l;return void 0===l||r>=t||r<0||f&&e-u>=o}function y(){var e=zd();if(d(e))return v(e);c=setTimeout(y,function(e){var r=t-(e-l);return f?Vd(r,o-(e-u)):r}(e))}function v(e){return c=void 0,p&&n?h(e):(n=i=void 0,a)}function g(){var e=zd(),r=d(e);if(n=arguments,i=this,l=e,r){if(void 0===c)return function(e){return u=e,c=setTimeout(y,t),s?h(e):a}(l);if(f)return clearTimeout(c),c=setTimeout(y,t),h(l)}return void 0===c&&(c=setTimeout(y,t)),a}return t=$d(t)||0,Rd(r)&&(s=!!r.leading,o=(f="maxWait"in r)?Hd($d(r.maxWait)||0,t):o,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==c&&clearTimeout(c),u=0,n=l=i=c=void 0},g.flush=function(){return void 0===c?a:v(zd())},g},Ud=Fd,qd=xn;var Wd=Vt((function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return qd(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Ud(e,t,{leading:n,maxWait:t,trailing:i})}));function Yd(e){return Yd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yd(e)}function Xd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Kd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xd(Object(r),!0).forEach((function(t){Gd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Gd(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Yd(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Yd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yd(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Jd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Jd(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Qd=ee((function(e,t){var r=e.aspect,n=e.initialDimension,i=void 0===n?{width:-1,height:-1}:n,o=e.width,a=void 0===o?"100%":o,c=e.height,l=void 0===c?"100%":c,u=e.minWidth,s=void 0===u?0:u,f=e.minHeight,p=e.maxHeight,h=e.children,d=e.debounce,y=void 0===d?0:d,v=e.id,g=e.className,m=e.onResize,b=e.style,w=void 0===b?{}:b,x=te(null),O=te();O.current=m,re(t,(function(){return Object.defineProperty(x.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),x.current},configurable:!0})}));var S=Zd(ne({containerWidth:i.width,containerHeight:i.height}),2),j=S[0],A=S[1],P=ie((function(e,t){A((function(r){var n=Math.round(e),i=Math.round(t);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}}))}),[]);oe((function(){var e=function(e){var t,r=e[0].contentRect,n=r.width,i=r.height;P(n,i),null===(t=O.current)||void 0===t||t.call(O,n,i)};y>0&&(e=Wd(e,y,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),r=x.current.getBoundingClientRect(),n=r.width,i=r.height;return P(n,i),t.observe(x.current),function(){t.disconnect()}}),[P,y]);var M=ae((function(){var e=j.containerWidth,t=j.containerHeight;if(e<0||t<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)?e:a,i=zo(l)?t: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(e){return _o.isElement(e)?ce(e,Kd({width:n,height:i},o?{style:Kd({height:"100%",width:"100%",maxHeight:i,maxWidth:n},e.props.style)}:{})):e}))}),[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)})),ey=function(e){return null};function ty(e){return ty="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ty(e)}function ry(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ny(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ry(Object(r),!0).forEach((function(t){iy(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ry(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function iy(e,t,r){return t=function(e){var t=function(e,t){if("object"!=ty(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ty(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ty(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}ey.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(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||fd.isSsr)return{width:0,height:0};var r,n=(r=ny({},t),Object.keys(r).forEach((function(e){r[e]||delete r[e]})),r),i=JSON.stringify({text:e,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(e);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(e){return{width:0,height:0}}};function uy(e){return uy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uy(e)}function sy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return fy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fy(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function py(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,hy(n.key),n)}}function hy(e){var t=function(e,t){if("object"!=uy(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=uy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uy(t)?t:String(t)}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 e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),""===r||vy.test(r)||(this.num=NaN,this.unit=""),by.includes(r)&&(this.num=function(e,t){return e*my[t]}(t,r),this.unit="px")}var t,r,n;return t=e,n=[{key:"parse",value:function(t){var r,n=sy(null!==(r=gy.exec(t))&&void 0!==r?r:[],3),i=n[1],o=n[2];return new e(parseFloat(i),null!=o?o:"")}}],(r=[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&py(t.prototype,r),n&&py(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Oy(e){if(e.includes(wy))return wy;for(var t=e;t.includes("*")||t.includes("/");){var r,n=sy(null!==(r=dy.exec(t))&&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;t=t.replace(dy,u.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var s,f=sy(null!==(s=yy.exec(t))&&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;t=t.replace(yy,g.toString())}return t}var Sy=/\(([^()]*)\)/;function jy(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var r=sy(Sy.exec(t),2)[1];t=t.replace(Sy,Oy(r))}return t}(t),t=Oy(t)}function Ay(e){var t=function(e){try{return jy(e)}catch(e){return wy}}(e.slice(5,-1));return t===wy?"":t}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(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ky.apply(this,arguments)}function Ey(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Cy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ty=/[ \f\n\r\t\v\u2028\u2029]+/,Dy=function(e){var t=e.children,r=e.breakAll,n=e.style;try{var i=[];return xo(t)||(i=r?t.toString().split(""):t.toString().split(Ty)),{wordsWithComputedWidth:i.map((function(e){return{word:e,width:ly(e,n).width}})),spaceWidth:r?0:ly(" ",n).width}}catch(e){return null}},Iy=function(e){return[{words:xo(e)?[]:e.toString().split(Ty)}]},Ny=function(e){var t=e.width,r=e.scaleToFit,n=e.children,i=e.style,o=e.breakAll,a=e.maxLines;if((t||r)&&!fd.isSsr){var c=Dy({breakAll:o,children:n,style:i});return c?function(e,t,r,n,i){var o=e.maxLines,a=e.children,c=e.style,l=e.breakAll,u=$o(o),s=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var o=t.word,a=t.width,c=e[e.length-1];if(c&&(null==n||i||c.width+a+r<Number(n)))c.words.push(o),c.width+=a+r;else{var l={words:[o],width:a};e.push(l)}return e}),[])},p=f(t);if(!u)return p;for(var h,d=function(e){var t=s.slice(0,e),r=Dy({breakAll:l,style:c,children:t+"…"}).wordsWithComputedWidth,i=f(r),a=i.length>o||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(i).width>Number(n);return[a,i]},y=0,v=s.length-1,g=0;y<=v&&g<=s.length-1;){var m=Math.floor((y+v)/2),b=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,t,r):Iy(n)}return Iy(n)},By="#808080",Ly=function(e){var t=e.x,r=void 0===t?0:t,n=e.y,i=void 0===n?0:n,o=e.lineHeight,a=void 0===o?"1em":o,c=e.capHeight,l=void 0===c?"0.71em":c,u=e.scaleToFit,s=void 0!==u&&u,f=e.textAnchor,p=void 0===f?"start":f,h=e.verticalAnchor,d=void 0===h?"end":h,y=e.fill,v=void 0===y?By:y,g=Ey(e,Py),m=ae((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(e,t){var r=e.words.join(S?"":" ");return G.createElement("tspan",{x:P,dy:0===t?A:a,key:r},r)})))};function Ry(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function zy(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function $y(e){let t,r,n;function i(e,n,i=0,o=e.length){if(i<o){if(0!==t(n,n))return o;do{const t=i+o>>>1;r(e[t],n)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=Ry,r=(t,r)=>Ry(e(t),r),n=(t,r)=>e(t)-r):(t=e===Ry||e===zy?e:Hy,r=e,n=e),{left:i,center:function(e,t,r=0,o=e.length){const a=i(e,t,r,o-1);return a>r&&n(e[a-1],t)>-n(e[a],t)?a-1:a},right:function(e,n,i=0,o=e.length){if(i<o){if(0!==t(n,n))return o;do{const t=i+o>>>1;r(e[t],n)<=0?i=t+1:o=t}while(i<o)}return i}}}function Hy(){return 0}function Vy(e){return null===e?NaN:+e}const Fy=$y(Ry).right;$y(Vy).center;class Uy extends Map{constructor(e,t=Wy){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(qy(this,e))}has(e){return super.has(qy(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){const n=t(r);e.has(n)&&(r=e.get(n),e.delete(n));return r}(this,e))}}function qy({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function Wy(e){return null!==e&&"object"==typeof e?e.valueOf():e}function Yy(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}const Xy=Math.sqrt(50),Ky=Math.sqrt(10),Gy=Math.sqrt(2);function Zy(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),o=n/Math.pow(10,i),a=o>=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(e*u),l=Math.round(t*u),c/u<e&&++c,l/u>t&&--l,u=-u):(u=Math.pow(10,i)*a,c=Math.round(e/u),l=Math.round(t/u),c*u<e&&++c,l*u>t&&--l),l<c&&.5<=r&&r<2?Zy(e,t,2*r):[c,l,u]}function Jy(e,t,r){if(!((r=+r)>0))return[];if((e=+e)===(t=+t))return[e];const n=t<e,[i,o,a]=n?Zy(t,e,r):Zy(e,t,r);if(!(o>=i))return[];const c=o-i+1,l=new Array(c);if(n)if(a<0)for(let e=0;e<c;++e)l[e]=(o-e)/-a;else for(let e=0;e<c;++e)l[e]=(o-e)*a;else if(a<0)for(let e=0;e<c;++e)l[e]=(i+e)/-a;else for(let e=0;e<c;++e)l[e]=(i+e)*a;return l}function Qy(e,t,r){return Zy(e=+e,t=+t,r=+r)[2]}function ev(e,t,r){r=+r;const n=(t=+t)<(e=+e),i=n?Qy(t,e,r):Qy(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function tv(e,t){let r;if(void 0===t)for(const t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function rv(e,t){let r;if(void 0===t)for(const t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function nv(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=void 0===i?Yy:function(e=Ry){if(e===Ry)return Yy;if("function"!=typeof e)throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||0===n?n:(0===e(r,r))-(0===e(t,t))}}(i);n>r;){if(n-r>600){const o=n-r+1,a=t-r+1,c=Math.log(o),l=.5*Math.exp(2*c/3),u=.5*Math.sqrt(c*l*(o-l)/o)*(a-o/2<0?-1:1);nv(e,t,Math.max(r,Math.floor(t-a*l/o+u)),Math.min(n,Math.floor(t+(o-a)*l/o+u)),i)}const o=e[t];let a=r,c=n;for(iv(e,r,t),i(e[n],o)>0&&iv(e,r,n);a<c;){for(iv(e,a,c),++a,--c;i(e[a],o)<0;)++a;for(;i(e[c],o)>0;)--c}0===i(e[r],o)?iv(e,r,c):(++c,iv(e,c,n)),c<=t&&(r=c+1),t<=c&&(n=c-1)}return e}function iv(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function ov(e,t,r=Vy){if((n=e.length)&&!isNaN(t=+t)){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,o=Math.floor(i),a=+r(e[o],o,e);return a+(+r(e[o+1],o+1,e)-a)*(i-o)}}function av(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function cv(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}const lv=Symbol("implicit");function uv(){var e=new Uy,t=[],r=[],n=lv;function i(i){let o=e.get(i);if(void 0===o){if(n!==lv)return n;e.set(i,o=t.push(i)-1)}return r[o%r.length]}return i.domain=function(r){if(!arguments.length)return t.slice();t=[],e=new Uy;for(const n of r)e.has(n)||e.set(n,t.push(n)-1);return i},i.range=function(e){return arguments.length?(r=Array.from(e),i):r.slice()},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return uv(t,r).unknown(n)},av.apply(i,arguments),i}function sv(){var e,t,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;e=(h-p)/Math.max(1,r-l+2*u),c&&(e=Math.floor(e)),p+=(h-p-e*(r-l))*s,t=e*(1-l),c&&(p=Math.round(p),t=Math.round(t));var d=function(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),o=new Array(i);++n<i;)o[n]=e+n*r;return o}(r).map((function(t){return p+e*t}));return i(f?d.reverse():d)}return delete r.unknown,r.domain=function(e){return arguments.length?(n(e),f()):n()},r.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,f()):[o,a]},r.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,c=!0,f()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(c=!!e,f()):c},r.padding=function(e){return arguments.length?(l=Math.min(1,u=+e),f()):l},r.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),f()):l},r.paddingOuter=function(e){return arguments.length?(u=+e,f()):u},r.align=function(e){return arguments.length?(s=Math.max(0,Math.min(1,e)),f()):s},r.copy=function(){return sv(n(),[o,a]).round(c).paddingInner(l).paddingOuter(u).align(s)},av.apply(f(),arguments)}function fv(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return fv(t())},e}function pv(){return fv(sv.apply(null,arguments).paddingInner(1))}function hv(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function dv(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[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(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=xv.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?Tv(t):3===r?new Nv(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?Dv(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?Dv(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Ov.exec(e))?new Nv(t[1],t[2],t[3],1):(t=Sv.exec(e))?new Nv(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=jv.exec(e))?Dv(t[1],t[2],t[3],t[4]):(t=Av.exec(e))?Dv(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Pv.exec(e))?Hv(t[1],t[2]/100,t[3]/100,1):(t=Mv.exec(e))?Hv(t[1],t[2]/100,t[3]/100,t[4]):kv.hasOwnProperty(e)?Tv(kv[e]):"transparent"===e?new Nv(NaN,NaN,NaN,0):null}function Tv(e){return new Nv(e>>16&255,e>>8&255,255&e,1)}function Dv(e,t,r,n){return n<=0&&(e=t=r=NaN),new Nv(e,t,r,n)}function Iv(e,t,r,n){return 1===arguments.length?((i=e)instanceof yv||(i=_v(i)),i?new Nv((i=i.rgb()).r,i.g,i.b,i.opacity):new Nv):new Nv(e,t,r,null==n?1:n);var i}function Nv(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function Bv(){return`#${$v(this.r)}${$v(this.g)}${$v(this.b)}`}function Lv(){const e=Rv(this.opacity);return`${1===e?"rgb(":"rgba("}${zv(this.r)}, ${zv(this.g)}, ${zv(this.b)}${1===e?")":`, ${e})`}`}function Rv(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function zv(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function $v(e){return((e=zv(e))<16?"0":"")+e.toString(16)}function Hv(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Fv(e,t,r,n)}function Vv(e){if(e instanceof Fv)return new Fv(e.h,e.s,e.l,e.opacity);if(e instanceof yv||(e=_v(e)),!e)return new Fv;if(e instanceof Fv)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=NaN,c=o-i,l=(o+i)/2;return c?(a=t===o?(r-n)/c+6*(r<n):r===o?(n-t)/c+2:(t-r)/c+4,c/=l<.5?o+i:2-o-i,a*=60):c=l>0&&l<1?0:a,new Fv(a,c,l,e.opacity)}function Fv(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function Uv(e){return(e=(e||0)%360)<0?e+360:e}function qv(e){return Math.max(0,Math.min(1,e||0))}function Wv(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}hv(yv,_v,{copy(e){return Object.assign(new this.constructor,this,e)},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(e){return e=null==e?gv:Math.pow(gv,e),new Nv(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?vv:Math.pow(vv,e),new Nv(this.r*e,this.g*e,this.b*e,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(e,t,r,n){return 1===arguments.length?Vv(e):new Fv(e,t,r,null==n?1:n)}),dv(yv,{brighter(e){return e=null==e?gv:Math.pow(gv,e),new Fv(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?vv:Math.pow(vv,e),new Fv(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new Nv(Wv(e>=240?e-240:e+120,i,n),Wv(e,i,n),Wv(e<120?e+240:e-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 e=Rv(this.opacity);return`${1===e?"hsl(":"hsla("}${Uv(this.h)}, ${100*qv(this.s)}%, ${100*qv(this.l)}%${1===e?")":`, ${e})`}`}}));var Yv=e=>()=>e;function Xv(e){return 1==(e=+e)?Kv:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):Yv(isNaN(t)?r:t)}}function Kv(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):Yv(isNaN(e)?t:e)}var Gv=function e(t){var r=Xv(t);function n(e,t){var n=r((e=Iv(e)).r,(t=Iv(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=Kv(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);function Zv(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(r=0;r<n;++r)i[r]=e[r]*(1-o)+t[r]*o;return i}}function Jv(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,o=new Array(i),a=new Array(n);for(r=0;r<i;++r)o[r]=og(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<i;++r)a[r]=o[r](e);return a}}function Qv(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function eg(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function tg(e,t){var r,n={},i={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?n[r]=og(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}}var rg=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ng=new RegExp(rg.source,"g");function ig(e,t){var r,n,i,o=rg.lastIndex=ng.lastIndex=0,a=-1,c=[],l=[];for(e+="",t+="";(r=rg.exec(e))&&(n=ng.exec(t));)(i=n.index)>o&&(i=t.slice(o,i),c[a]?c[a]+=i:c[++a]=i),(r=r[0])===(n=n[0])?c[a]?c[a]+=n:c[++a]=n:(c[++a]=null,l.push({i:a,x:eg(r,n)})),o=ng.lastIndex;return o<t.length&&(i=t.slice(o),c[a]?c[a]+=i:c[++a]=i),c.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var r,n=0;n<t;++n)c[(r=l[n]).i]=r.x(e);return c.join("")})}function og(e,t){var r,n=typeof t;return null==t||"boolean"===n?Yv(t):("number"===n?eg:"string"===n?(r=_v(t))?(t=r,Gv):ig:t instanceof _v?Gv:t instanceof Date?Qv:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?Zv:Array.isArray(t)?Jv:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?tg:eg)(e,t)}function ag(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function cg(e,t){void 0===t&&(t=e,e=og);for(var r=0,n=t.length-1,i=t[0],o=new Array(n<0?0:n);r<n;)o[r]=e(i,i=t[++r]);return function(e){var t=Math.max(0,Math.min(n-1,Math.floor(e*=n)));return o[t](e-t)}}function lg(e){return+e}var ug=[0,1];function sg(e){return e}function fg(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function pg(e,t,r){var n=e[0],i=e[1],o=t[0],a=t[1];return i<n?(n=fg(i,n),o=r(a,o)):(n=fg(n,i),o=r(o,a)),function(e){return o(n(e))}}function hg(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),o=new Array(n),a=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<n;)i[a]=fg(e[a],e[a+1]),o[a]=r(t[a],t[a+1]);return function(t){var r=Fy(e,t,1,n)-1;return o[r](i[r](t))}}function dg(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function yg(){var e,t,r,n,i,o,a=ug,c=ug,l=og,u=sg;function s(){var e=Math.min(a.length,c.length);return u!==sg&&(u=function(e,t){var r;return e>t&&(r=e,e=t,t=r),function(r){return Math.max(e,Math.min(t,r))}}(a[0],a[e-1])),n=e>2?hg:pg,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?r:(i||(i=n(a.map(e),c,l)))(e(u(t)))}return f.invert=function(r){return u(t((o||(o=n(c,a.map(e),eg)))(r)))},f.domain=function(e){return arguments.length?(a=Array.from(e,lg),s()):a.slice()},f.range=function(e){return arguments.length?(c=Array.from(e),s()):c.slice()},f.rangeRound=function(e){return c=Array.from(e),l=ag,s()},f.clamp=function(e){return arguments.length?(u=!!e||sg,s()):u!==sg},f.interpolate=function(e){return arguments.length?(l=e,s()):l},f.unknown=function(e){return arguments.length?(r=e,f):r},function(r,n){return e=r,t=n,s()}}function vg(){return yg()(sg,sg)}function gg(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function mg(e){return(e=gg(Math.abs(e)))?e[1]:NaN}var bg,wg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function xg(e){if(!(t=wg.exec(e)))throw new Error("invalid format: "+e);var t;return new Og({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Og(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Sg(e,t){var r=gg(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}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={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Sg(100*e,t),r:Sg,s:function(e,t){var r=gg(e,t);if(!r)return e+"";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(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Ag(e){return e}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(e){var t,r,n=void 0===e.grouping||void 0===e.thousands?Ag:(t=Eg.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,o=[],a=0,c=t[0],l=0;i>0&&c>0&&(l+c+1>n&&(c=Math.max(1,n-l)),o.push(e.substring(i-=c,i+c)),!((l+=c+1)>n));)c=t[a=(a+1)%t.length];return o.reverse().join(r)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",c=void 0===e.numerals?Ag:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Eg.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"−":e.minus+"",s=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=xg(e)).fill,r=e.align,f=e.sign,p=e.symbol,h=e.zero,d=e.width,y=e.comma,v=e.precision,g=e.trim,m=e.type;"n"===m?(y=!0,m="g"):jg[m]||(void 0===v&&(v=12),g=!0,m="g"),(h||"0"===t&&"="===r)&&(h=!0,t="0",r="=");var b="$"===p?i:"#"===p&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",w="$"===p?o:/[%p]/.test(m)?l:"",x=jg[m],O=/[defgprs%]/.test(m);function S(e){var i,o,l,p=b,S=w;if("c"===m)S=x(e)+S,e="";else{var j=(e=+e)<0||1/e<0;if(e=isNaN(e)?s:x(Math.abs(e),v),g&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),j&&0==+e&&"+"!==f&&(j=!1),p=(j?"("===f?f:u:"-"===f||"("===f?"":f)+p,S=("s"===m?Cg[8+bg/3]:"")+S+(j&&"("===f?")":""),O)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){S=(46===l?a+e.slice(i+1):e.slice(i))+S,e=e.slice(0,i);break}}y&&!h&&(e=n(e,1/0));var A=p.length+e.length+S.length,P=A<d?new Array(d-A+1).join(t):"";switch(y&&h&&(e=n(P+e,P.length?d-S.length:1/0),P=""),r){case"<":e=p+e+S+P;break;case"=":e=p+P+e+S;break;case"^":e=P.slice(0,A=P.length>>1)+p+e+S+P.slice(A);break;default:e=P+p+e+S}return c(e)}return v=void 0===v?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),S.toString=function(){return e+""},S}return{format:f,formatPrefix:function(e,t){var r=f(((e=xg(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor(mg(t)/3))),i=Math.pow(10,-n),o=Cg[8+n/3];return function(e){return r(i*e)+o}}}}function Tg(e,t,r,n){var i,o=ev(e,t,r);switch((n=xg(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(mg(t)/3)))-mg(Math.abs(e)))}(o,a))||(n.precision=i),kg(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,mg(t)-mg(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=function(e){return Math.max(0,-mg(Math.abs(e)))}(o))||(n.precision=i-2*("%"===n.type))}return Mg(n)}function Dg(e){var t=e.domain;return e.ticks=function(e){var r=t();return Jy(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return Tg(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var n,i,o=t(),a=0,c=o.length-1,l=o[a],u=o[c],s=10;for(u<l&&(i=l,l=u,u=i,i=a,a=c,c=i);s-- >0;){if((i=Qy(l,u,r))===n)return o[a]=l,o[c]=u,t(o);if(i>0)l=Math.floor(l/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,u=Math.floor(u*i)/i}n=i}return e},e}function Ig(){var e=vg();return e.copy=function(){return dg(e,Ig())},av.apply(e,arguments),Dg(e)}function Ng(e,t){var r,n=0,i=(e=e.slice()).length-1,o=e[n],a=e[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),e[n]=t.floor(o),e[i]=t.ceil(a),e}function Bg(e){return Math.log(e)}function Lg(e){return Math.exp(e)}function Rg(e){return-Math.log(-e)}function zg(e){return-Math.exp(-e)}function $g(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Hg(e){return(t,r)=>-e(-t,r)}function Vg(e){const t=e(Bg,Lg),r=t.domain;let n,i,o=10;function a(){return n=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(o),i=function(e){return 10===e?$g:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),r()[0]<0?(n=Hg(n),i=Hg(i),e(Rg,zg)):e(Bg,Lg),t}return t.base=function(e){return arguments.length?(o=+e,a()):o},t.domain=function(e){return arguments.length?(r(e),a()):r()},t.ticks=e=>{const t=r();let a=t[0],c=t[t.length-1];const l=c<a;l&&([a,c]=[c,a]);let u,s,f=n(a),p=n(c);const h=null==e?10:+e;let d=[];if(!(o%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(u=1;u<o;++u)if(s=f<0?u/i(-f):u*i(f),!(s<a)){if(s>c)break;d.push(s)}}else for(;f<=p;++f)for(u=o-1;u>=1;--u)if(s=f>0?u/i(-f):u*i(f),!(s<a)){if(s>c)break;d.push(s)}2*d.length<h&&(d=Jy(a,c,h))}else d=Jy(f,p,Math.min(p-f,h)).map(i);return l?d.reverse():d},t.tickFormat=(e,r)=>{if(null==e&&(e=10),null==r&&(r=10===o?"s":","),"function"!=typeof r&&(o%1||null!=(r=xg(r)).precision||(r.trim=!0),r=Mg(r)),e===1/0)return r;const a=Math.max(1,o*e/t.ticks().length);return e=>{let t=e/i(Math.round(n(e)));return t*o<o-.5&&(t*=o),t<=a?r(e):""}},t.nice=()=>r(Ng(r(),{floor:e=>i(Math.floor(n(e))),ceil:e=>i(Math.ceil(n(e)))})),t}function Fg(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Ug(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function qg(e){var t=1,r=e(Fg(t),Ug(t));return r.constant=function(r){return arguments.length?e(Fg(t=+r),Ug(t)):t},Dg(r)}function Wg(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Yg(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Xg(e){return e<0?-e*e:e*e}function Kg(e){var t=e(sg,sg),r=1;return t.exponent=function(t){return arguments.length?1===(r=+t)?e(sg,sg):.5===r?e(Yg,Xg):e(Wg(r),Wg(1/r)):r},Dg(t)}function Gg(){var e=Kg(yg());return e.copy=function(){return dg(e,Gg()).exponent(e.exponent())},av.apply(e,arguments),e}function Zg(e){return Math.sign(e)*e*e}Pg=_g({thousands:",",grouping:[3],currency:["$",""]}),Mg=Pg.format,kg=Pg.formatPrefix;const Jg=new Date,Qg=new Date;function em(e,t,r,n){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=r=>(e(r=new Date(r-1)),t(r,1),e(r),r),i.round=e=>{const t=i(e),r=i.ceil(e);return e-t<r-e?t:r},i.offset=(e,r)=>(t(e=new Date(+e),null==r?1:Math.floor(r)),e),i.range=(r,n,o)=>{const a=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n&&o>0))return a;let c;do{a.push(c=new Date(+r)),t(r,o),e(r)}while(c<r&&r<n);return a},i.filter=r=>em((t=>{if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)}),((e,n)=>{if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););})),r&&(i.count=(t,n)=>(Jg.setTime(+t),Qg.setTime(+n),e(Jg),e(Qg),Math.floor(r(Jg,Qg))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(n?t=>n(t)%e==0:t=>i.count(0,t)%e==0):i:null)),i}const tm=em((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));tm.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?em((t=>{t.setTime(Math.floor(t/e)*e)}),((t,r)=>{t.setTime(+t+r*e)}),((t,r)=>(r-t)/e)):tm:null),tm.range;const rm=1e3,nm=6e4,im=36e5,om=864e5,am=6048e5,cm=2592e6,lm=31536e6,um=em((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*rm)}),((e,t)=>(t-e)/rm),(e=>e.getUTCSeconds()));um.range;const sm=em((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*rm)}),((e,t)=>{e.setTime(+e+t*nm)}),((e,t)=>(t-e)/nm),(e=>e.getMinutes()));sm.range;const fm=em((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*nm)}),((e,t)=>(t-e)/nm),(e=>e.getUTCMinutes()));fm.range;const pm=em((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*rm-e.getMinutes()*nm)}),((e,t)=>{e.setTime(+e+t*im)}),((e,t)=>(t-e)/im),(e=>e.getHours()));pm.range;const hm=em((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*im)}),((e,t)=>(t-e)/im),(e=>e.getUTCHours()));hm.range;const dm=em((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*nm)/om),(e=>e.getDate()-1));dm.range;const ym=em((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/om),(e=>e.getUTCDate()-1));ym.range;const vm=em((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/om),(e=>Math.floor(e/om)));function gm(e){return em((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*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(e){return em((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/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=em((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()));Dm.range;const Im=em((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()));Im.range;const Nm=em((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()));Nm.every=e=>isFinite(e=Math.floor(e))&&e>0?em((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,r)=>{t.setFullYear(t.getFullYear()+r*e)})):null,Nm.range;const Bm=em((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function Lm(e,t,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],[t,1,cm],[t,3,7776e6],[e,1,lm]];function c(t,r,n){const i=Math.abs(r-t)/n,o=$y((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(ev(t/lm,r/lm,n));if(0===o)return tm.every(Math.max(ev(t,r,n),1));const[c,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(l)}return[function(e,t,r){const n=t<e;n&&([e,t]=[t,e]);const i=r&&"function"==typeof r.range?r:c(e,t,r),o=i?i.range(e,+t+1):[];return n?o.reverse():o},c]}Bm.every=e=>isFinite(e=Math.floor(e))&&e>0?em((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null,Bm.range;const[Rm,zm]=Lm(Bm,Im,Pm,vm,hm,fm),[$m,Hm]=Lm(Nm,Dm,mm,dm,pm,sm);function Vm(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Fm(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Um(e,t,r){return{y:e,m:t,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(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(t)+i:i)}function Qm(e){return e.replace(Zm,"\\$&")}function eb(e){return new RegExp("^(?:"+e.map(Qm).join("|")+")","i")}function tb(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function rb(e,t,r){var n=Km.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function nb(e,t,r){var n=Km.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function ib(e,t,r){var n=Km.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function ob(e,t,r){var n=Km.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function ab(e,t,r){var n=Km.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function cb(e,t,r){var n=Km.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function lb(e,t,r){var n=Km.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function ub(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function sb(e,t,r){var n=Km.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function fb(e,t,r){var n=Km.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function pb(e,t,r){var n=Km.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function hb(e,t,r){var n=Km.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function db(e,t,r){var n=Km.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function yb(e,t,r){var n=Km.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function vb(e,t,r){var n=Km.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function gb(e,t,r){var n=Km.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function mb(e,t,r){var n=Km.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function bb(e,t,r){var n=Gm.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function wb(e,t,r){var n=Km.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function xb(e,t,r){var n=Km.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function Ob(e,t){return Jm(e.getDate(),t,2)}function Sb(e,t){return Jm(e.getHours(),t,2)}function jb(e,t){return Jm(e.getHours()%12||12,t,2)}function Ab(e,t){return Jm(1+dm.count(Nm(e),e),t,3)}function Pb(e,t){return Jm(e.getMilliseconds(),t,3)}function Mb(e,t){return Pb(e,t)+"000"}function kb(e,t){return Jm(e.getMonth()+1,t,2)}function Eb(e,t){return Jm(e.getMinutes(),t,2)}function Cb(e,t){return Jm(e.getSeconds(),t,2)}function _b(e){var t=e.getDay();return 0===t?7:t}function Tb(e,t){return Jm(mm.count(Nm(e)-1,e),t,2)}function Db(e){var t=e.getDay();return t>=4||0===t?Om(e):Om.ceil(e)}function Ib(e,t){return e=Db(e),Jm(Om.count(Nm(e),e)+(4===Nm(e).getDay()),t,2)}function Nb(e){return e.getDay()}function Bb(e,t){return Jm(bm.count(Nm(e)-1,e),t,2)}function Lb(e,t){return Jm(e.getFullYear()%100,t,2)}function Rb(e,t){return Jm((e=Db(e)).getFullYear()%100,t,2)}function zb(e,t){return Jm(e.getFullYear()%1e4,t,4)}function $b(e,t){var r=e.getDay();return Jm((e=r>=4||0===r?Om(e):Om.ceil(e)).getFullYear()%1e4,t,4)}function Hb(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Jm(t/60|0,"0",2)+Jm(t%60,"0",2)}function Vb(e,t){return Jm(e.getUTCDate(),t,2)}function Fb(e,t){return Jm(e.getUTCHours(),t,2)}function Ub(e,t){return Jm(e.getUTCHours()%12||12,t,2)}function qb(e,t){return Jm(1+ym.count(Bm(e),e),t,3)}function Wb(e,t){return Jm(e.getUTCMilliseconds(),t,3)}function Yb(e,t){return Wb(e,t)+"000"}function Xb(e,t){return Jm(e.getUTCMonth()+1,t,2)}function Kb(e,t){return Jm(e.getUTCMinutes(),t,2)}function Gb(e,t){return Jm(e.getUTCSeconds(),t,2)}function Zb(e){var t=e.getUTCDay();return 0===t?7:t}function Jb(e,t){return Jm(Pm.count(Bm(e)-1,e),t,2)}function Qb(e){var t=e.getUTCDay();return t>=4||0===t?Cm(e):Cm.ceil(e)}function ew(e,t){return e=Qb(e),Jm(Cm.count(Bm(e),e)+(4===Bm(e).getUTCDay()),t,2)}function tw(e){return e.getUTCDay()}function rw(e,t){return Jm(Mm.count(Bm(e)-1,e),t,2)}function nw(e,t){return Jm(e.getUTCFullYear()%100,t,2)}function iw(e,t){return Jm((e=Qb(e)).getUTCFullYear()%100,t,2)}function ow(e,t){return Jm(e.getUTCFullYear()%1e4,t,4)}function aw(e,t){var r=e.getUTCDay();return Jm((e=r>=4||0===r?Cm(e):Cm.ceil(e)).getUTCFullYear()%1e4,t,4)}function cw(){return"+0000"}function lw(){return"%"}function uw(e){return+e}function sw(e){return Math.floor(+e/1e3)}function fw(e){return new Date(e)}function pw(e){return e instanceof Date?+e:+new Date(+e)}function hw(e,t,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(e){return(l(e)<e?h:c(e)<e?d:a(e)<e?y:o(e)<e?v:n(e)<e?i(e)<e?g:m:r(e)<e?b:w)(e)}return s.invert=function(e){return new Date(f(e))},s.domain=function(e){return arguments.length?p(Array.from(e,pw)):p().map(fw)},s.ticks=function(t){var r=p();return e(r[0],r[r.length-1],null==t?10:t)},s.tickFormat=function(e,t){return null==t?x:u(t)},s.nice=function(e){var r=p();return e&&"function"==typeof e.range||(e=t(r[0],r[r.length-1],null==e?10:e)),e?p(Ng(r,e)):s},s.copy=function(){return dg(s,hw(e,t,r,n,i,o,a,c,l,u))},s}function dw(){var e,t,r,n,i,o=0,a=1,c=sg,l=!1;function u(t){return null==t||isNaN(t=+t)?i:c(0===r?.5:(t=(n(t)-e)*r,l?Math.max(0,Math.min(1,t)):t))}function s(e){return function(t){var r,n;return arguments.length?([r,n]=t,c=e(r,n),u):[c(0),c(1)]}}return u.domain=function(i){return arguments.length?([o,a]=i,e=n(o=+o),t=n(a=+a),r=e===t?0:1/(t-e),u):[o,a]},u.clamp=function(e){return arguments.length?(l=!!e,u):l},u.interpolator=function(e){return arguments.length?(c=e,u):c},u.range=s(og),u.rangeRound=s(ag),u.unknown=function(e){return arguments.length?(i=e,u):i},function(i){return n=i,e=i(o),t=i(a),r=e===t?0:1/(t-e),u}}function yw(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function vw(){var e=Kg(dw());return e.copy=function(){return yw(e,vw()).exponent(e.exponent())},cv.apply(e,arguments)}function gw(){var e,t,r,n,i,o,a,c=0,l=.5,u=1,s=1,f=sg,p=!1;function h(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(s*e<s*t?n:i),f(p?Math.max(0,Math.min(1,e)):e))}function d(e){return function(t){var r,n,i;return arguments.length?([r,n,i]=t,f=cg(e,[r,n,i]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([c,l,u]=a,e=o(c=+c),t=o(l=+l),r=o(u=+u),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),s=t<e?-1:1,h):[c,l,u]},h.clamp=function(e){return arguments.length?(p=!!e,h):p},h.interpolator=function(e){return arguments.length?(f=e,h):f},h.range=d(og),h.rangeRound=d(ag),h.unknown=function(e){return arguments.length?(a=e,h):a},function(a){return o=a,e=a(c),t=a(l),r=a(u),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),s=t<e?-1:1,h}}function mw(){var e=Kg(gw());return e.copy=function(){return yw(e,mw()).exponent(e.exponent())},cv.apply(e,arguments)}!function(e){qm=function(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,o=e.days,a=e.shortDays,c=e.months,l=e.shortMonths,u=eb(i),s=tb(i),f=eb(o),p=tb(o),h=eb(a),d=tb(a),y=eb(c),v=tb(c),g=eb(l),m=tb(l),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:Ob,e:Ob,f:Mb,g:Rb,G:$b,H:Sb,I:jb,j:Ab,L:Pb,m:kb,M:Eb,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.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(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:Vb,e:Vb,f:Yb,g:iw,G:aw,H:Fb,I:Ub,j:qb,L:Wb,m:Xb,M:Kb,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:uw,s:sw,S:Gb,u:Zb,U:Jb,V:ew,w:tw,W:rw,x:null,X:null,y:nw,Y:ow,Z:cw,"%":lw},x={a:function(e,t,r){var n=h.exec(t.slice(r));return n?(e.w=d.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=f.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=g.exec(t.slice(r));return n?(e.m=m.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=y.exec(t.slice(r));return n?(e.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return j(e,t,r,n)},d:pb,e:pb,f:mb,g:lb,G:cb,H:db,I:db,j:hb,L:gb,m:fb,M:yb,p:function(e,t,r){var n=u.exec(t.slice(r));return n?(e.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:sb,Q:wb,s:xb,S:vb,u:nb,U:ib,V:ob,w:rb,W:ab,x:function(e,t,n){return j(e,r,t,n)},X:function(e,t,r){return j(e,n,t,r)},y:lb,Y:cb,Z:ub,"%":bb};function O(e,t){return function(r){var n,i,o,a=[],c=-1,l=0,u=e.length;for(r instanceof Date||(r=new Date(+r));++c<u;)37===e.charCodeAt(c)&&(a.push(e.slice(l,c)),null!=(i=Xm[n=e.charAt(++c)])?n=e.charAt(++c):i="e"===n?" ":"0",(o=t[n])&&(n=o(r,i)),a.push(n),l=c+1);return a.push(e.slice(l,c)),a.join("")}}function S(e,t){return function(r){var n,i,o=Um(1900,void 0,1);if(j(o,e,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(n=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(e,t,r,n){for(var i,o,a=0,c=t.length,l=r.length;a<c;){if(n>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in Xm?t.charAt(a++):i])||(n=o(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return b.x=O(r,b),b.X=O(n,b),b.c=O(t,b),w.x=O(r,w),w.X=O(n,w),w.c=O(t,w),{format:function(e){var t=O(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=S(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=S(e+="",!0);return t.toString=function(){return e},t}}}(e),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 e(){var t=Dg(gw()(sg));return t.copy=function(){return yw(t,e())},cv.apply(t,arguments)},scaleDivergingLog:function e(){var t=Vg(gw()).domain([.1,1,10]);return t.copy=function(){return yw(t,e()).base(t.base())},cv.apply(t,arguments)},scaleDivergingPow:mw,scaleDivergingSqrt:function(){return mw.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function e(){var t=qg(gw());return t.copy=function(){return yw(t,e()).constant(t.constant())},cv.apply(t,arguments)},scaleIdentity:function e(t){var r;function n(e){return null==e||isNaN(e=+e)?r:e}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,lg),n):t.slice()},n.unknown=function(e){return arguments.length?(r=e,n):r},n.copy=function(){return e(t).unknown(r)},t=arguments.length?Array.from(t,lg):[0,1],Dg(n)},scaleImplicit:lv,scaleLinear:Ig,scaleLog:function e(){const t=Vg(yg()).domain([1,10]);return t.copy=()=>dg(t,e()).base(t.base()),av.apply(t,arguments),t},scaleOrdinal:uv,scalePoint:pv,scalePow:Gg,scaleQuantile:function e(){var t,r=[],n=[],i=[];function o(){var e=0,t=Math.max(1,n.length);for(i=new Array(t-1);++e<t;)i[e-1]=ov(r,e/t);return a}function a(e){return null==e||isNaN(e=+e)?t:n[Fy(i,e)]}return a.invertExtent=function(e){var t=n.indexOf(e);return t<0?[NaN,NaN]:[t>0?i[t-1]:r[0],t<i.length?i[t]:r[r.length-1]]},a.domain=function(e){if(!arguments.length)return r.slice();r=[];for(let t of e)null==t||isNaN(t=+t)||r.push(t);return r.sort(Ry),o()},a.range=function(e){return arguments.length?(n=Array.from(e),o()):n.slice()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.quantiles=function(){return i.slice()},a.copy=function(){return e().domain(r).range(n).unknown(t)},av.apply(a,arguments)},scaleQuantize:function e(){var t,r=0,n=1,i=1,o=[.5],a=[0,1];function c(e){return null!=e&&e<=e?a[Fy(o,e,0,i)]:t}function l(){var e=-1;for(o=new Array(i);++e<i;)o[e]=((e+1)*n-(e-i)*r)/(i+1);return c}return c.domain=function(e){return arguments.length?([r,n]=e,r=+r,n=+n,l()):[r,n]},c.range=function(e){return arguments.length?(i=(a=Array.from(e)).length-1,l()):a.slice()},c.invertExtent=function(e){var t=a.indexOf(e);return t<0?[NaN,NaN]:t<1?[r,o[0]]:t>=i?[o[i-1],n]:[o[t-1],o[t]]},c.unknown=function(e){return arguments.length?(t=e,c):c},c.thresholds=function(){return o.slice()},c.copy=function(){return e().domain([r,n]).range(a).unknown(t)},av.apply(Dg(c),arguments)},scaleRadial:function e(){var t,r=vg(),n=[0,1],i=!1;function o(e){var n=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(r(e));return isNaN(n)?t:i?Math.round(n):n}return o.invert=function(e){return r.invert(Zg(e))},o.domain=function(e){return arguments.length?(r.domain(e),o):r.domain()},o.range=function(e){return arguments.length?(r.range((n=Array.from(e,lg)).map(Zg)),o):n.slice()},o.rangeRound=function(e){return o.range(e).round(!0)},o.round=function(e){return arguments.length?(i=!!e,o):i},o.clamp=function(e){return arguments.length?(r.clamp(e),o):r.clamp()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e(r.domain(),n).round(i).clamp(r.clamp()).unknown(t)},av.apply(o,arguments),Dg(o)},scaleSequential:function e(){var t=Dg(dw()(sg));return t.copy=function(){return yw(t,e())},cv.apply(t,arguments)},scaleSequentialLog:function e(){var t=Vg(dw()).domain([1,10]);return t.copy=function(){return yw(t,e()).base(t.base())},cv.apply(t,arguments)},scaleSequentialPow:vw,scaleSequentialQuantile:function e(){var t=[],r=sg;function n(e){if(null!=e&&!isNaN(e=+e))return r((Fy(t,e,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let r of e)null==r||isNaN(r=+r)||t.push(r);return t.sort(Ry),n},n.interpolator=function(e){return arguments.length?(r=e,n):r},n.range=function(){return t.map(((e,n)=>r(n/(t.length-1))))},n.quantiles=function(e){return Array.from({length:e+1},((r,n)=>function(e,t,r){if(e=Float64Array.from(function*(e,t){if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(yield t);else{let r=-1;for(let n of e)null!=(n=t(n,++r,e))&&(n=+n)>=n&&(yield n)}}(e,r)),(n=e.length)&&!isNaN(t=+t)){if(t<=0||n<2)return rv(e);if(t>=1)return tv(e);var n,i=(n-1)*t,o=Math.floor(i),a=tv(nv(e,o).subarray(0,o+1));return a+(rv(e.subarray(o+1))-a)*(i-o)}}(t,n/e)))},n.copy=function(){return e(r).domain(t)},cv.apply(n,arguments)},scaleSequentialSqrt:function(){return vw.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function e(){var t=qg(dw());return t.copy=function(){return yw(t,e()).constant(t.constant())},cv.apply(t,arguments)},scaleSqrt:function(){return Gg.apply(null,arguments).exponent(.5)},scaleSymlog:function e(){var t=qg(yg());return t.copy=function(){return dg(t,e()).constant(t.constant())},av.apply(t,arguments)},scaleThreshold:function e(){var t,r=[.5],n=[0,1],i=1;function o(e){return null!=e&&e<=e?n[Fy(r,e,0,i)]:t}return o.domain=function(e){return arguments.length?(r=Array.from(e),i=Math.min(r.length,n.length-1),o):r.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),i=Math.min(r.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var t=n.indexOf(e);return[r[t-1],r[t]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e().domain(r).range(n).unknown(t)},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(e,t,r){for(var n=-1,i=e.length;++n<i;){var o=e[n],a=t(o);if(null!=a&&(void 0===c?a==a&&!ww(a):r(a,c)))var c=a,l=o}return l};var Ow=xw,Sw=function(e,t){return e>t},jw=$f;var Aw=function(e){return e&&e.length?Ow(e,jw,Sw):void 0},Pw=Vt(Aw);var Mw=xw,kw=function(e,t){return e<t},Ew=$f;var Cw=function(e){return e&&e.length?Mw(e,Ew,kw):void 0},_w=Vt(Cw),Tw=Ji,Dw=Qf,Iw=Qp,Nw=Xr;var Bw=Up,Lw=function(e,t){return(Nw(e)?Tw:Iw)(e,Dw(t))};var Rw=Vt((function(e,t){return Bw(Lw(e,t),1)})),zw=cf;var $w,Hw=Vt((function(e,t){return zw(e,t)})),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),ex={};function tx(e,t){var r,n,i,o,a,c,l,u,s=e.constructor,f=s.precision;if(!e.s||!t.s)return t.s||(t=new s(e)),Fw?fx(t,f):t;if(l=e.d,u=t.d,a=e.e,i=t.e,l=l.slice(),o=a-i){for(o<0?(n=l,o=-o,c=u.length):(n=u,i=a,c=l.length),o>(c=(a=Math.ceil(f/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 t.d=l,t.e=i,Fw?fx(t,f):t}function rx(e,t,r){if(e!==~~e||e<t||e>r)throw Error(qw+e)}function nx(e){var t,r,n,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)n=e[t]+"",(r=Zw-n.length)&&(o+=lx(r)),o+=n;a=e[t],(r=Zw-(n=a+"").length)&&(o+=lx(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}ex.absoluteValue=ex.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},ex.comparedTo=ex.cmp=function(e){var t,r,n,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,r=(n=o.d.length)<(i=e.d.length)?n:i;t<r;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},ex.decimalPlaces=ex.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*Zw;if(t=e.d[t])for(;t%10==0;t/=10)r--;return r<0?0:r},ex.dividedBy=ex.div=function(e){return ix(this,new this.constructor(e))},ex.dividedToIntegerBy=ex.idiv=function(e){var t=this.constructor;return fx(ix(this,new t(e),0,1),t.precision)},ex.equals=ex.eq=function(e){return!this.cmp(e)},ex.exponent=function(){return ax(this)},ex.greaterThan=ex.gt=function(e){return this.cmp(e)>0},ex.greaterThanOrEqualTo=ex.gte=function(e){return this.cmp(e)>=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(e){return this.cmp(e)<0},ex.lessThanOrEqualTo=ex.lte=function(e){return this.cmp(e)<1},ex.logarithm=ex.log=function(e){var t,r=this,n=r.constructor,i=n.precision,o=i+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq($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,t=ix(ux(r,o),ux(e,o),o),Fw=!0,fx(t,i))},ex.minus=ex.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?px(t,e):tx(t,(e.s=-e.s,e))},ex.modulo=ex.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(!(e=new n(e)).s)throw Error(Uw+"NaN");return r.s?(Fw=!1,t=ix(r,e,0,1).times(e),Fw=!0,r.minus(t)):fx(new n(r),i)},ex.naturalExponential=ex.exp=function(){return ox(this)},ex.naturalLogarithm=ex.ln=function(){return ux(this)},ex.negated=ex.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},ex.plus=ex.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?tx(t,e):px(t,(e.s=-e.s,e))},ex.precision=ex.sd=function(e){var t,r,n,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(qw+e);if(t=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 e&&t>r?t:r},ex.squareRoot=ex.sqrt=function(){var e,t,r,n,i,o,a,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(Uw+"NaN")}for(e=ax(c),Fw=!1,0==(i=Math.sqrt(+c))||i==1/0?(((t=nx(c.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=Yw((e+1)/2)-(e<0||e%2),n=new l(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(ix(c,o,a+2)).times(.5),nx(o.d).slice(0,a)===(t=nx(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(fx(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=t)break;a+=4}return Fw=!0,fx(n,r)},ex.times=ex.mul=function(e){var t,r,n,i,o,a,c,l,u,s=this,f=s.constructor,p=s.d,h=(e=new f(e)).d;if(!s.s||!e.s)return new f(0);for(e.s*=s.s,r=s.e+e.e,(l=p.length)<(u=h.length)&&(o=p,p=h,h=o,a=l,l=u,u=a),o=[],n=a=l+u;n--;)o.push(0);for(n=u;--n>=0;){for(t=0,i=l+n;i>n;)c=o[i]+h[n]*p[i-n-1]+t,o[i--]=c%Gw|0,t=c/Gw|0;o[i]=(o[i]+t)%Gw|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=r,Fw?fx(e,f.precision):e},ex.toDecimalPlaces=ex.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(rx(e,0,Vw),void 0===t?t=n.rounding:rx(t,0,8),fx(r,e+ax(r)+1,t))},ex.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=hx(n,!0):(rx(e,0,Vw),void 0===t?t=i.rounding:rx(t,0,8),r=hx(n=fx(new i(n),e+1,t),!0,e+1)),r},ex.toFixed=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?hx(i):(rx(e,0,Vw),void 0===t?t=o.rounding:rx(t,0,8),r=hx((n=fx(new o(i),e+ax(i)+1,t)).abs(),!1,e+ax(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},ex.toInteger=ex.toint=function(){var e=this,t=e.constructor;return fx(new t(e),ax(e)+1,t.rounding)},ex.toNumber=function(){return+this},ex.toPower=ex.pow=function(e){var t,r,n,i,o,a,c=this,l=c.constructor,u=+(e=new l(e));if(!e.s)return new l($w);if(!(c=new l(c)).s){if(e.s<1)throw Error(Uw+"Infinity");return c}if(c.eq($w))return c;if(n=l.precision,e.eq($w))return fx(c,n);if(a=(t=e.e)>=(r=e.d.length-1),o=c.s,a){if((r=u<0?-u:u)<=Jw){for(i=new l($w),t=Math.ceil(n/Zw+4),Fw=!1;r%2&&dx((i=i.times(c)).d,t),0!==(r=Yw(r/2));)dx((c=c.times(c)).d,t);return Fw=!0,e.s<0?new l($w).div(i):fx(i,n)}}else if(o<0)throw Error(Uw+"NaN");return o=o<0&&1&e.d[Math.max(t,r)]?-1:1,c.s=1,Fw=!1,i=e.times(ux(c,n+12)),Fw=!0,(i=ox(i)).s=o,i},ex.toPrecision=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?n=hx(i,(r=ax(i))<=o.toExpNeg||r>=o.toExpPos):(rx(e,1,Vw),void 0===t?t=o.rounding:rx(t,0,8),n=hx(i=fx(new o(i),e,t),e<=(r=ax(i))||r<=o.toExpNeg,e)),n},ex.toSignificantDigits=ex.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(rx(e,1,Vw),void 0===t?t=r.rounding:rx(t,0,8)),fx(new r(this),e,t)},ex.toString=ex.valueOf=ex.val=ex.toJSON=ex[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=ax(e),r=e.constructor;return hx(e,t<=r.toExpNeg||t>=r.toExpPos)};var ix=function(){function e(e,t){var r,n=0,i=e.length;for(e=e.slice();i--;)r=e[i]*t+n,e[i]=r%Gw|0,n=r/Gw|0;return n&&e.unshift(n),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=e[r]<t[r]?1:0,e[r]=n*Gw+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,i,o,a){var c,l,u,s,f,p,h,d,y,v,g,m,b,w,x,O,S,j,A=n.constructor,P=n.s==i.s?1:-1,M=n.d,k=i.d;if(!n.s)return new A(n);if(!i.s)throw Error(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=e(k,s),M=e(M,s),S=k.length,x=M.length),w=S,v=(y=M.slice(0,S)).length;v<S;)y[v++]=0;(j=k.slice()).unshift(0),O=k[0],k[1]>=Gw/2&&++O;do{s=0,(c=t(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=t(f=e(k,s),y,p=f.length,v=y.length))&&(s--,r(f,S<p?j:k,p))):(0==s&&(c=s=1),f=k.slice()),(p=f.length)<v&&f.unshift(0),r(y,f,v),-1==c&&(c=t(k,y,S,v=y.length))<1&&(s++,r(y,S<v?j:k,v)),v=y.length):0===c&&(s++,y=[0]),d[u++]=s,c&&y[0]?y[v++]=M[w]||0:(y=[M[w]],v=1)}while((w++<x||void 0!==y[0])&&m--)}return d[0]||d.shift(),h.e=l,fx(h,a?o+ax(h)+1:o)}}();function ox(e,t){var r,n,i,o,a,c=0,l=0,u=e.constructor,s=u.precision;if(ax(e)>16)throw Error(Ww+ax(e));if(!e.s)return new u($w);for(null==t?(Fw=!1,a=s):a=t,o=new u(.03125);e.abs().gte(.1);)e=e.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(e),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==t?(Fw=!0,fx(i,s)):i}i=o}}function ax(e){for(var t=e.e*Zw,r=e.d[0];r>=10;r/=10)t++;return t}function cx(e,t,r){if(t>e.LN10.sd())throw Fw=!0,r&&(e.precision=r),Error(Uw+"LN10 precision limit exceeded");return fx(new e(e.LN10),t)}function lx(e){for(var t="";e--;)t+="0";return t}function ux(e,t){var r,n,i,o,a,c,l,u,s,f=1,p=e,h=p.d,d=p.constructor,y=d.precision;if(p.s<1)throw Error(Uw+(p.s?"NaN":"-Infinity"));if(p.eq($w))return new d(0);if(null==t?(Fw=!1,u=y):u=t,p.eq(10))return null==t&&(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==t?(Fw=!0,fx(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=nx((p=p.times(e)).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==t?(Fw=!0,fx(c,y)):c;c=l,i+=2}}function sx(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(n,i)){if(i-=n,r=r-n-1,e.e=Yw(r/Zw),e.d=[],n=(r+1)%Zw,r<0&&(n+=Zw),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=Zw;n<i;)e.d.push(+t.slice(n,n+=Zw));t=t.slice(n),n=Zw-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),Fw&&(e.e>Qw||e.e<-Qw))throw Error(Ww+r)}else e.s=0,e.e=0,e.d=[0];return e}function fx(e,t,r){var n,i,o,a,c,l,u,s,f=e.d;for(a=1,o=f[0];o>=10;o/=10)a++;if((n=t-a)<0)n+=Zw,i=t,u=f[s=0];else{if((s=Math.ceil((n+1)/Zw))>=(o=f.length))return e;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=t<0||void 0!==f[s+1]||u%o,l=r<4?(c||l)&&(0==r||r==(e.s<0?3:2)):c>5||5==c&&(4==r||l||6==r&&(n>0?i>0?u/Xw(10,a-i):0:f[s-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return l?(o=ax(e),f.length=1,t=t-o-1,f[0]=Xw(10,(Zw-t%Zw)%Zw),e.e=Yw(-t/Zw)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(0==n?(f.length=s,o=1,s--):(f.length=s+1,o=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,++e.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&&(e.e>Qw||e.e<-Qw))throw Error(Ww+ax(e));return e}function px(e,t){var r,n,i,o,a,c,l,u,s,f,p=e.constructor,h=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),Fw?fx(t,h):t;if(l=e.d,f=t.d,n=t.e,u=e.e,l=l.slice(),a=u-n){for((s=a<0)?(r=l,a=-a,c=f.length):(r=f,n=u,c=l.length),a>(i=Math.max(Math.ceil(h/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,t.s=-t.s),c=l.length,i=f.length-c;i>0;--i)l[c++]=0;for(i=f.length;i>a;){if(l[--i]<f[i]){for(o=i;o&&0===l[--o];)l[o]=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]?(t.d=l,t.e=n,Fw?fx(t,h):t):new p(0)}function hx(e,t,r){var n,i=ax(e),o=nx(e.d),a=o.length;return t?(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))),e.s<0?"-"+o:o}function dx(e,t){if(e.length>t)return e.length=t,!0}function yx(e){if(!e||"object"!=typeof e)throw Error(Uw+"Object expected");var t,r,n,i=["precision",1,Vw,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(n=e[r=i[t]])){if(!(Yw(n)===n&&n>=i[t+1]&&n<=i[t+2]))throw Error(qw+r+": "+n);this[r]=n}if(void 0!==(n=e[r="LN10"])){if(n!=Math.LN10)throw Error(qw+r+": "+n);this[r]=new this(n)}return this}var vx=function e(t){var r,n,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(qw+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):sx(t,e.toString())}if("string"!=typeof e)throw Error(qw+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!Kw.test(e))throw Error(qw+e);sx(t,e)}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=e,o.config=o.set=yx,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<i.length;)t.hasOwnProperty(n=i[r++])||(t[n]=this[n]);return o.config(t),o}({precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"});$w=new vx(1);var gx=vx;function mx(e){return function(e){if(Array.isArray(e))return bx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return bx(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bx(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var wx=function(e){return e},xx={"@@functional/placeholder":!0},Ox=function(e){return e===xx},Sx=function(e){return function t(){return 0===arguments.length||1===arguments.length&&Ox(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},jx=function e(t,r){return 1===t?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(e){return e!==xx})).length;return a>=t?r.apply(void 0,i):e(t-a,Sx((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=i.map((function(e){return Ox(e)?t.shift():e}));return r.apply(void 0,mx(o).concat(t))})))}))},Ax=function(e){return jx(e.length,e)},Px=function(e,t){for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},Mx=Ax((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),kx=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)return wx;var n=t.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce((function(e,t){return t(e)}),i.apply(void 0,arguments))}},Ex=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},Cx=function(e){var t=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t&&i.every((function(e,r){return e===t[r]}))?r:(t=i,r=e.apply(void 0,i))}};var _x=Ax((function(e,t,r){var n=+e;return n+r*(+t-n)})),Tx=Ax((function(e,t,r){var n=t-+e;return(r-e)/(n=n||1/0)})),Dx=Ax((function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))})),Ix={rangeStep:function(e,t,r){for(var n=new gx(e),i=0,o=[];n.lt(t)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(e){return 0===e?1:Math.floor(new gx(e).abs().log(10).toNumber())+1},interpolateNumber:_x,uninterpolateNumber:Tx,uninterpolateTruncation:Dx};function Nx(e){return function(e){if(Array.isArray(e))return Rx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Lx(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||Lx(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 Lx(e,t){if(e){if("string"==typeof e)return Rx(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rx(e,t):void 0}}function Rx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zx(e){var t=Bx(e,2),r=t[0],n=t[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function $x(e,t,r){if(e.lte(0))return new gx(0);var n=Ix.getDigitCount(e.toNumber()),i=new gx(10).pow(n),o=e.div(i),a=1!==n?.05:.1,c=new gx(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return t?c:new gx(Math.ceil(c))}function Hx(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new gx(0),tickMin:new gx(0),tickMax:new gx(0)};var o,a=$x(new gx(t).sub(e).div(r-1),n,i);o=e<=0&&t>=0?new gx(0):(o=new gx(e).add(t).div(2)).sub(new gx(o).mod(a));var c=Math.ceil(o.sub(e).div(a).toNumber()),l=Math.ceil(new gx(t).sub(o).div(a).toNumber()),u=c+l+1;return u>r?Hx(e,t,r,n,i+1):(u<r&&(l=t>0?l+(r-u):l,c=t>0?c:c+(r-u)),{step:a,tickMin:o.sub(new gx(c).mul(a)),tickMax:o.add(new gx(l).mul(a))})}var Vx=Cx((function(e){var t=Bx(e,2),r=t[0],n=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=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(e,t,r){var n=1,i=new gx(e);if(!i.isint()&&r){var o=Math.abs(e);o<1?(n=new gx(10).pow(Ix.getDigitCount(e)-1),i=new gx(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new gx(Math.floor(e)))}else 0===e?i=new gx(Math.floor((t-1)/2)):r||(i=new gx(Math.floor(e)));var a=Math.floor((t-1)/2);return kx(Mx((function(e){return i.add(new gx(e-a).mul(n)).toNumber()})),Px)(0,t)}(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(e,t){var r=Bx(e,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(t,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(e,t){if(!e){if(Ux)throw new Error(qx);var r="function"==typeof t?t():t,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(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xx.apply(this,arguments)}function Kx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Gx(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gx(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Zx(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Jx(e){var t=e.offset,r=e.layout,n=e.width,i=e.dataKey,o=e.data,a=e.dataPointFormatter,c=e.xAxis,l=e.yAxis,u=Zx(e,Yx),s=va(u,!1);"x"===e.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(e){var o=a(e,i),u=o.x,f=o.y,p=o.value,h=o.errorVal;if(!h)return null;var d,y,v=[];if(Array.isArray(h)){var g=Kx(h,2);d=g[0],y=g[1]}else d=y=h;if("vertical"===r){var m=c.scale,b=f+t,w=b+n,x=b-n,O=m(p-d),S=m(p+y);v.push({x1:S,y1:w,x2:S,y2:x}),v.push({x1:O,y1:b,x2:S,y2:b}),v.push({x1:O,y1:w,x2:O,y2:x})}else if("horizontal"===r){var j=l.scale,A=u+t,P=A-n,M=A+n,k=j(p-d),E=j(p+y);v.push({x1:P,y1:E,x2:M,y2:E}),v.push({x1:A,y1:k,x2:A,y2:E}),v.push({x1:P,y1:k,x2:M,y2:k})}return G.createElement(Ma,Xx({className:"recharts-errorBar",key:"bar-".concat(v.map((function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)})))},s),v.map((function(e){return G.createElement("line",Xx({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))})))}));return G.createElement(Ma,{className:"recharts-errorBars"},f)}function Qx(e){return Qx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qx(e)}function eO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function tO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eO(Object(r),!0).forEach((function(t){rO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Qx(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Qx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Qx(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Jx.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},Jx.displayName="ErrorBar";var nO=function(e){var t,r=e.children,n=e.formattedGraphicalItems,i=e.legendWidth,o=e.legendContent,a=pa(r,Rp);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce((function(e,t){var r=t.item,n=t.props,i=n.sectors||n.data||[];return e.concat(i.map((function(e){return{type:a.props.iconType||r.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(n||[]).map((function(e){var t=e.item,r=t.props,n=r.dataKey,i=r.name,o=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||o||"square",color:pO(t),value:i||n,payload:t.props}})),tO(tO(tO({},a.props),Rp.getWithHeight(a,i)),{},{payload:t,item:a})):null};function iO(e){return iO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},iO(e)}function oO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function aO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oO(Object(r),!0).forEach((function(t){cO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function cO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=iO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=iO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==iO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lO(e){return function(e){if(Array.isArray(e))return uO(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return uO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return uO(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function sO(e,t,r){return xo(e)||xo(t)?r:Ho(t)?wo(e,t,r):Mn(t)?t(e):r}function fO(e,t,r,n){var i=Rw(e,(function(e){return sO(e,t)}));if("number"===r){var o=i.filter((function(e){return $o(e)||parseFloat(e)}));return o.length?[_w(o),Pw(o)]:[1/0,-1/0]}return(n?i.filter((function(e){return!xo(e)})):i).map((function(e){return Ho(e)||e instanceof Date?e:""}))}var pO=function(e){var t,r=e.type.displayName,n=e.props,i=n.stroke,o=n.fill;switch(r){case"Line":t=i;break;case"Area":case"Radar":t=i&&"none"!==i?i:o;break;default:t=o}return t},hO=function(e,t,r,n,i){var o=fa(t.props.children,Jx).filter((function(e){return function(e,t,r){return!!xo(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===r?"xAxis"===t:"y"!==r||"yAxis"===t)}(n,i,e.props.direction)}));if(o&&o.length){var a=o.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var n=sO(t,r,0),i=Array.isArray(n)?[_w(n),Pw(n)]:[n,n],o=a.reduce((function(e,r){var n=sO(t,r,0),o=i[0]-Math.abs(Array.isArray(n)?n[0]:n),a=i[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(o,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]}),[1/0,-1/0])}return null},dO=function(e,t,r,n,i){var o=t.map((function(t){var o=t.props.dataKey;return"number"===r&&o&&hO(e,t,o,n)||fO(e,o,r,i)}));if("number"===r)return o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var a={};return o.reduce((function(e,t){for(var r=0,n=t.length;r<n;r++)a[t[r]]||(a[t[r]]=!0,e.push(t[r]));return e}),[])},yO=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},vO=function(e,t,r){if(!e)return null;var n=e.scale,i=e.duplicateDomain,o=e.type,a=e.range,c="scaleBand"===e.realScaleType?n.bandwidth()/2:2,l=(t||r)&&"category"===o&&n.bandwidth?n.bandwidth()/c:0;return l="angleAxis"===e.axisType&&(null==a?void 0:a.length)>=2?2*Ro(a[0]-a[1])*l:l,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=i?i.indexOf(e):e;return{coordinate:n(t)+l,value:e,offset:l}})).filter((function(e){return!Lo(e.coordinate)})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:n(e)+l,value:e,index:t,offset:l}})):n.ticks&&!r?n.ticks(e.tickCount).map((function(e){return{coordinate:n(e)+l,value:e,offset:l}})):n.domain().map((function(e,t){return{coordinate:n(e)+l,value:i?i[e]:e,index:t,offset:l}}))},gO=new WeakMap,mO=function(e,t){if("function"!=typeof t)return e;gO.has(e)||gO.set(e,new WeakMap);var r=gO.get(e);if(r.has(t))return r.get(t);var n=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return r.set(t,n),n},bO=1e-4,wO={sign:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0,a=0;a<t;++a){var c=Lo(e[a][r][1])?e[a][r][0]:e[a][r][1];c>=0?(e[a][r][0]=i,e[a][r][1]=i+c,i=e[a][r][1]):(e[a][r][0]=o,e[a][r][1]=o+c,o=e[a][r][1])}},expand:function(e,t){if((n=e.length)>0){for(var r,n,i,o=0,a=e[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=e[r][o][1]||0;if(i)for(r=0;r<n;++r)e[r][o][1]/=i}ol(e,t)}},none:ol,silhouette:function(e,t){if((r=e.length)>0){for(var r,n=0,i=e[t[0]],o=i.length;n<o;++n){for(var a=0,c=0;a<r;++a)c+=e[a][n][1]||0;i[n][1]+=i[n][0]=-c/2}ol(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(n=(r=e[t[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var c=0,l=0,u=0;c<i;++c){for(var s=e[t[c]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,h=0;h<c;++h){var d=e[t[h]];p+=(d[a][1]||0)-(d[a-1][1]||0)}l+=f,u+=p*f}r[a-1][1]+=r[a-1][0]=o,l&&(o-=u/l)}r[a-1][1]+=r[a-1][0]=o,ol(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0;o<t;++o){var a=Lo(e[o][r][1])?e[o][r][0]:e[o][r][1];a>=0?(e[o][r][0]=i,e[o][r][1]=i+a,i=e[o][r][1]):(e[o][r][0]=0,e[o][r][1]=0)}}},xO=function(e,t,r){var n=t.map((function(e){return e.props.dataKey})),i=wO[r],o=function(){var e=oc([]),t=al,r=ol,n=cl;function i(i){var o,a,c=Array.from(e.apply(this,arguments),ll),l=c.length,u=-1;for(const e of i)for(o=0,++u;o<l;++o)(c[o][u]=[0,+n(e,c[o].key,u,i)]).data=e;for(o=0,a=mc(t(c));o<l;++o)c[a[o]].index=o;return r(c,a),c}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:oc(Array.from(t)),i):e},i.value=function(e){return arguments.length?(n="function"==typeof e?e:oc(+e),i):n},i.order=function(e){return arguments.length?(t=null==e?al:"function"==typeof e?e:oc(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(r=null==e?ol:e,i):r},i}().keys(n).value((function(e,t){return+sO(e,t,0)})).order(al).offset(i);return o(e)};function OO(e){var t=e.axis,r=e.ticks,n=e.bandSize,i=e.entry,o=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!xo(i[t.dataKey])){var c=Yo(r,"value",i[t.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var l=sO(i,xo(a)?t.dataKey:a);return xo(l)?null:t.scale(l)}var SO=function(e){var t=e.axis,r=e.ticks,n=e.offset,i=e.bandSize,o=e.entry,a=e.index;if("category"===t.type)return r[a]?r[a].coordinate+n:null;var c=sO(o,t.dataKey,t.domain[a]);return xo(c)?null:t.scale(c)-i/2+n},jO=function(e,t,r){return Object.keys(e).reduce((function(n,i){var o=e[i].stackedData.reduce((function(e,n){var i=n.slice(t,r+1).reduce((function(e,t){return[_w(t.concat([e[0]]).filter($o)),Pw(t.concat([e[1]]).filter($o))]}),[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},AO=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,PO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,MO=function(e,t,r){if(Mn(e))return e(t,r);if(!Array.isArray(e))return t;var n=[];if($o(e[0]))n[0]=r?e[0]:Math.min(e[0],t[0]);else if(AO.test(e[0])){var i=+AO.exec(e[0])[1];n[0]=t[0]-i}else Mn(e[0])?n[0]=e[0](t[0]):n[0]=t[0];if($o(e[1]))n[1]=r?e[1]:Math.max(e[1],t[1]);else if(PO.test(e[1])){var o=+PO.exec(e[1])[1];n[1]=t[1]+o}else Mn(e[1])?n[1]=e[1](t[1]):n[1]=t[1];return n},kO=function(e,t,r){if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var i=Lh(t,(function(e){return e.coordinate})),o=1/0,a=1,c=i.length;a<c;a++){var l=i[a],u=i[a-1];o=Math.min((l.coordinate||0)-(u.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},EO=function(e,t,r){return e&&e.length?Hw(e,wo(r,"type.defaultProps.domain"))?t:e:t},CO=function(e,t){var r=e.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,c=r.tooltipType,l=r.chartType,u=r.hide;return aO(aO({},va(e,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:pO(e),value:sO(t,n),type:c,payload:t,chartType:l,hide:u})};function _O(e){return _O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_O(e)}function TO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function DO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?TO(Object(r),!0).forEach((function(t){IO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):TO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function IO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=_O(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=_O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_O(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var NO=Math.PI/180,BO=function(e){return 180*e/Math.PI},LO=function(e,t,r,n){return{x:e+Math.cos(-NO*n)*r,y:t+Math.sin(-NO*n)*r}},RO=function(e,t){var r=e.x,n=e.y,i=t.cx,o=t.cy,a=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return Math.sqrt(Math.pow(r-i,2)+Math.pow(n-o,2))}({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=(r-i)/a,l=Math.acos(c);return n>o&&(l=2*Math.PI-l),{radius:a,angle:BO(l),angleInRadian:l}},zO=function(e,t){var r=t.startAngle,n=t.endAngle,i=Math.floor(r/360),o=Math.floor(n/360);return e+360*Math.min(i,o)},$O=function(e,t){var r=e.x,n=e.y,i=RO({x:r,y:n},t),o=i.radius,a=i.angle,c=t.innerRadius,l=t.outerRadius;if(o<c||o>l)return!1;if(0===o)return!0;var u,s=function(e){var t=e.startAngle,r=e.endAngle,n=Math.floor(t/360),i=Math.floor(r/360),o=Math.min(n,i);return{startAngle:t-360*o,endAngle:r-360*o}}(t),f=s.startAngle,p=s.endAngle,h=a;if(f<=p){for(;h>p;)h-=360;for(;h<f;)h+=360;u=h>=f&&h<=p}else{for(;h>f;)h-=360;for(;h<p;)h+=360;u=h>=p&&h<=f}return u?DO(DO({},t),{},{radius:o,angle:zO(h,t)}):null};function HO(e){return HO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},HO(e)}var VO=["offset"];function FO(e){return function(e){if(Array.isArray(e))return UO(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return UO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return UO(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function UO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function qO(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function WO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function YO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?WO(Object(r),!0).forEach((function(t){XO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):WO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function XO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=HO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=HO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==HO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function KO(){return KO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},KO.apply(this,arguments)}var GO=function(e){var t=e.value,r=e.formatter,n=xo(e.children)?t:e.children;return Mn(r)?r(n):n},ZO=function(e,t,r){var n,i,o=e.position,a=e.viewBox,c=e.offset,l=e.className,u=a,s=u.cx,f=u.cy,p=u.innerRadius,h=u.outerRadius,d=u.startAngle,y=u.endAngle,v=u.clockWise,g=(p+h)/2,m=function(e,t){return Ro(t-e)*Math.min(Math.abs(t-e),360)}(d,y),b=m>=0?1:-1;"insideStart"===o?(n=d+b*c,i=v):"insideEnd"===o?(n=y-b*c,i=!v):"end"===o&&(n=y+b*c,i=v),i=m<=0?i:!i;var w=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(e.id)?Fo("recharts-radial-line-"):e.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)},t))},JO=function(e){var t=e.viewBox,r=e.offset,n=e.position,i=t,o=i.cx,a=i.cy,c=i.innerRadius,l=i.outerRadius,u=(i.startAngle+i.endAngle)/2;if("outside"===n){var s=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(e){var t=e.viewBox,r=e.parentViewBox,n=e.offset,i=e.position,o=t,a=o.x,c=o.y,l=o.width,u=o.height,s=u>=0?1:-1,f=s*n,p=s>0?"end":"start",h=s>0?"start":"end",d=l>=0?1:-1,y=d*n,v=d>0?"end":"start",g=d>0?"start":"end";if("top"===i)return 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)},eS=function(e){return"cx"in e&&$o(e.cx)};function tS(e){var t,r=e.offset,n=YO({offset:void 0===r?5:r},qO(e,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 ce(l,n);if(Mn(l)){if(Z(t=le(l,n)))return t}else t=GO(n);var p=eS(i),h=va(n,!0);if(p&&("insideStart"===o||"insideEnd"===o||"end"===o))return ZO(n,t,h);var d=p?JO(n):QO(n);return G.createElement(Ly,KO({className:Yr("recharts-label",s)},h,d,{breakAll:f}),t)}tS.displayName="Label";var rS=function(e){var t=e.cx,r=e.cy,n=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,c=e.radius,l=e.innerRadius,u=e.outerRadius,s=e.x,f=e.y,p=e.top,h=e.left,d=e.width,y=e.height,v=e.clockWise,g=e.labelViewBox;if(g)return g;if($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(t)&&$o(r)?{cx:t,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:l||0,outerRadius:u||c||a||0,clockWise:v}:e.viewBox?e.viewBox:{}};tS.parseViewBox=rS,tS.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=rS(e),o=fa(n,tS).map((function(e,r){return ce(e,{viewBox:t||i,key:"label-".concat(r)})}));if(!r)return o;var a=function(e,t){return e?!0===e?G.createElement(tS,{key:"label-implicit",viewBox:t}):Ho(e)?G.createElement(tS,{key:"label-implicit",viewBox:t,value:e}):Z(e)?e.type===tS?ce(e,{key:"label-implicit",viewBox:t}):G.createElement(tS,{key:"label-implicit",content:e,viewBox:t}):Mn(e)?G.createElement(tS,{key:"label-implicit",content:e,viewBox:t}):On(e)?G.createElement(tS,KO({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||i);return[a].concat(FO(o))};var nS=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},iS=Vt(nS);function oS(e){return oS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oS(e)}var aS=["valueAccessor"],cS=["data","dataKey","clockWise","id","textBreakAll"];function lS(e){return function(e){if(Array.isArray(e))return uS(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return uS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return uS(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function sS(){return sS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sS.apply(this,arguments)}function fS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fS(Object(r),!0).forEach((function(t){hS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=oS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=oS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==oS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dS(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var yS=function(e){return Array.isArray(e.value)?iS(e.value):e.value};function vS(e){var t=e.valueAccessor,r=void 0===t?yS:t,n=dS(e,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(e,t){var n=xo(o)?r(e,t):sO(e&&e.payload,o),i=xo(c)?{}:{id:"".concat(c,"-").concat(t)};return G.createElement(tS,sS({},va(e,!0),u,i,{parentViewBox:e.parentViewBox,value:n,textBreakAll:l,viewBox:tS.parseViewBox(xo(a)?e:pS(pS({},e),{},{clockWise:a})),key:"label-".concat(t),index:t}))}))):null}function gS(e){return gS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gS(e)}function mS(){return mS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mS.apply(this,arguments)}function bS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bS(Object(r),!0).forEach((function(t){xS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=gS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=gS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==gS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}vS.displayName="LabelList",vS.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=fa(e.children,vS).map((function(e,r){return ce(e,{data:t,key:"labelList-".concat(r)})}));return r?[function(e,t){return e?!0===e?G.createElement(vS,{key:"labelList-implicit",data:t}):G.isValidElement(e)||Mn(e)?G.createElement(vS,{key:"labelList-implicit",data:t,content:e}):On(e)?G.createElement(vS,sS({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(lS(n)):n};var OS=function(e){var t=e.cx,r=e.cy,n=e.radius,i=e.angle,o=e.sign,a=e.isExternal,c=e.cornerRadius,l=e.cornerIsExternal,u=c*(a?1:-1)+n,s=Math.asin(c/u)/NO,f=l?i:i+o*s,p=l?i-o*s:i;return{center:LO(t,r,u,f),circleTangency:LO(t,r,n,f),lineTangency:LO(t,r,u*Math.cos(s*NO),p),theta:s}},SS=function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return Ro(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),c=o+a,l=LO(t,r,i,o),u=LO(t,r,i,c),s="M ".concat(l.x,",").concat(l.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>c),",\n ").concat(u.x,",").concat(u.y,"\n ");if(n>0){var f=LO(t,r,n,o),p=LO(t,r,n,c);s+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else s+="L ".concat(t,",").concat(r," Z");return s},jS={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},AS=function(e){var t=wS(wS({},jS),e),r=t.cx,n=t.cy,i=t.innerRadius,o=t.outerRadius,a=t.cornerRadius,c=t.forceCornerRadius,l=t.cornerIsExternal,u=t.startAngle,s=t.endAngle,f=t.className;if(o<i||u===s)return null;var p,h=Yr("recharts-sector",f),d=o-i,y=Uo(a,d,0,!0);return p=y>0&&Math.abs(u-s)<360?function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,c=e.cornerIsExternal,l=e.startAngle,u=e.endAngle,s=Ro(u-l),f=OS({cx:t,cy:r,radius:i,angle:l,sign:s,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=OS({cx:t,cy:r,radius:i,angle:u,sign:-s,cornerRadius:o,cornerIsExternal:c}),v=y.circleTangency,g=y.lineTangency,m=y.theta,b=c?Math.abs(l-u):Math.abs(l-u)-d-m;if(b<0)return a?"M ".concat(h.x,",").concat(h.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):SS({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:l,endAngle:u});var w="M ".concat(h.x,",").concat(h.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(s<0),",").concat(v.x,",").concat(v.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(g.x,",").concat(g.y,"\n ");if(n>0){var x=OS({cx:t,cy:r,radius:n,angle:l,sign:s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),O=x.circleTangency,S=x.lineTangency,j=x.theta,A=OS({cx:t,cy:r,radius:n,angle:u,sign:-s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),P=A.circleTangency,M=A.lineTangency,k=A.theta,E=c?Math.abs(l-u):Math.abs(l-u)-j-k;if(E<0&&0===o)return"".concat(w,"L").concat(t,",").concat(r,"Z");w+="L".concat(M.x,",").concat(M.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(P.x,",").concat(P.y,"\n A").concat(n,",").concat(n,",0,").concat(+(E>180),",").concat(+(s>0),",").concat(O.x,",").concat(O.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(S.x,",").concat(S.y,"Z")}else w+="L".concat(t,",").concat(r,"Z");return w}({cx:r,cy:n,innerRadius:i,outerRadius:o,cornerRadius:Math.min(y,d/2),forceCornerRadius:c,cornerIsExternal:l,startAngle:u,endAngle:s}):SS({cx:r,cy:n,innerRadius:i,outerRadius:o,startAngle:u,endAngle:s}),G.createElement("path",mS({},va(t,!0),{className:h,d:p,role:"img"}))};function PS(e){return PS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},PS(e)}function MS(){return MS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},MS.apply(this,arguments)}function kS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ES(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kS(Object(r),!0).forEach((function(t){CS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function CS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=PS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=PS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==PS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _S,TS,DS,IS,NS,BS,LS,RS,zS,$S,HS,VS,FS={curveBasisClosed:function(e){return new Wc(e)},curveBasisOpen:function(e){return new Yc(e)},curveBasis:function(e){return new qc(e)},curveBumpX:function(e){return new Ac(e,!0)},curveBumpY:function(e){return new Ac(e,!1)},curveLinearClosed:function(e){return new Xc(e)},curveLinear:wc,curveMonotoneX:function(e){return new Qc(e)},curveMonotoneY:function(e){return new el(e)},curveNatural:function(e){return new rl(e)},curveStep:function(e){return new il(e,.5)},curveStepAfter:function(e){return new il(e,1)},curveStepBefore:function(e){return new il(e,0)}},US=function(e){return e.x===+e.x&&e.y===+e.y},qS=function(e){return e.x},WS=function(e){return e.y},YS=function(e){var t,r=e.type,n=void 0===r?"linear":r,i=e.points,o=void 0===i?[]:i,a=e.baseLine,c=e.layout,l=e.connectNulls,u=void 0!==l&&l,s=function(e,t){if(Mn(e))return e;var r="curve".concat(ic(e));return"curveMonotone"!==r&&"curveBump"!==r||!t?FS[r]||wc:FS["".concat(r).concat("vertical"===t?"Y":"X")]}(n,c),f=u?o.filter((function(e){return US(e)})):o;if(Array.isArray(a)){var p=u?a.filter((function(e){return US(e)})):a,h=f.map((function(e,t){return ES(ES({},e),{},{base:p[t]})}));return(t="vertical"===c?jc().y(WS).x1(qS).x0((function(e){return e.base.x})):jc().x(qS).y1(WS).y0((function(e){return e.base.y}))).defined(US).curve(s),t(h)}return(t="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),t(f)},XS=function(e){var t=e.className,r=e.points,n=e.path,i=e.pathRef;if(!(r&&r.length||n))return null;var o=r&&r.length?YS(e):n;return G.createElement("path",MS({},va(e,!1),ea(e),{className:Yr("recharts-curve",t),d:o,ref:i}))},KS={exports:{}};function GS(){if(TS)return _S;TS=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return _S=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(n,i){for(var o,a,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(n),l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]))t.call(o,u)&&(c[u]=o[u]);if(e){a=e(o);for(var s=0;s<a.length;s++)r.call(o,a[s])&&(c[a[s]]=o[a[s]])}}return c},_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 e=_o,t=GS(),r=ZS(),n=JS(),i=function(){if(RS)return LS;RS=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=ZS(),r={},n=JS();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function i(i,o,a,c,l){if("production"!==process.env.NODE_ENV)for(var u in i)if(n(i,u)){var s;try{if("function"!=typeof i[u]){var f=Error((c||"React class")+": "+a+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}s=i[u](o,u,c,a,null,t)}catch(e){s=e}if(!s||s instanceof Error||e((c||"React class")+": type specification of "+a+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in r)){r[s.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+s.message+(null!=p?p:""))}}}return i.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},LS=i}(),o=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),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(e){return y((function(t,n,i,o,a){if("function"!=typeof e)return new d("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var c=t[n];if(!Array.isArray(c))return new d("Invalid "+o+" `"+a+"` of type `"+b(c)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<c.length;l++){var u=e(c,l,i,o,a+"["+l+"]",r);if(u instanceof Error)return u}return null}))},element:y((function(e,t,r,n,i){var o=e[t];return c(o)?null:new d("Invalid "+n+" `"+i+"` of type `"+b(o)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:y((function(t,r,n,i,o){var a=t[r];return e.isValidElementType(a)?null:new d("Invalid "+i+" `"+o+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return y((function(t,r,n,i,o){if(!(t[r]instanceof e)){var a=e.name||f;return new d("Invalid "+i+" `"+o+"` of type `"+((c=t[r]).constructor&&c.constructor.name?c.constructor.name:f)+"` supplied to `"+n+"`, expected instance of `"+a+"`.")}var c;return null}))},node:y((function(e,t,r,n,i){return m(e[t])?null:new d("Invalid "+n+" `"+i+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return y((function(t,i,o,a,c){if("function"!=typeof e)return new d("Property `"+c+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var l=t[i],u=b(l);if("object"!==u)return new d("Invalid "+a+" `"+c+"` of type `"+u+"` supplied to `"+o+"`, expected an object.");for(var s in l)if(n(l,s)){var f=e(l,s,o,a,c+"."+s,r);if(f instanceof Error)return f}return null}))},oneOf:function(e){return Array.isArray(e)?y((function(t,r,n,i,o){for(var a=t[r],c=0;c<e.length;c++)if(h(a,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new d("Invalid "+i+" `"+o+"` of value `"+String(a)+"` supplied to `"+n+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var i=e[t];if("function"!=typeof i)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(i)+" at index "+t+"."),a}return y((function(t,i,o,a,c){for(var l=[],u=0;u<e.length;u++){var s=(0,e[u])(t,i,o,a,c,r);if(null==s)return null;s.data&&n(s.data,"expectedType")&&l.push(s.data.expectedType)}return new d("Invalid "+a+" `"+c+"` supplied to `"+o+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return y((function(t,n,i,o,a){var c=t[n],l=b(c);if("object"!==l)return new d("Invalid "+o+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var s=e[u];if("function"!=typeof s)return g(i,o,a,u,w(s));var f=s(c,u,i,o,a+"."+u,r);if(f)return f}return null}))},exact:function(e){return y((function(i,o,a,c,l){var u=i[o],s=b(u);if("object"!==s)return new d("Invalid "+c+" `"+l+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");var f=t({},i[o],e);for(var p in f){var h=e[p];if(n(e,p)&&"function"!=typeof h)return g(a,c,l,p,w(h));if(!h)return new d("Invalid "+c+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(i[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=h(u,p,a,c,l+"."+p,r);if(y)return y}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function y(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function i(i,a,c,u,s,p,h){if(u=u||f,p=p||c,h!==r){if(l){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=u+":"+c;!t[v]&&n<3&&(o("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[v]=!0,n++)}}return null==a[c]?i?null===a[c]?new d("The "+s+" `"+p+"` is marked as required in `"+u+"`, but its value is `null`."):new d("The "+s+" `"+p+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(a,c,u,s,p)}var a=i.bind(null,!1);return a.isRequired=i.bind(null,!0),a}function v(e){return y((function(t,r,n,i,o,a){var c=t[r];return b(c)!==e?new d("Invalid "+i+" `"+o+"` of type `"+w(c)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,r,n,i){return new d((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function m(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(m);if(null===e||c(e))return!0;var t=function(e){var t=e&&(u&&e[u]||e[s]);if("function"==typeof t)return t}(e);if(!t)return!1;var r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!m(r.value))return!1}else for(;!(r=n.next()).done;){var i=r.value;if(i&&!m(i[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return d.prototype=Error.prototype,p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},zS}()(QS.isElement,!0)}else KS.exports=function(){if(VS)return HS;VS=1;var e=ZS();function t(){}function r(){}return r.resetWarningCache=t,HS=function(){function n(t,r,n,i,o,a){if(a!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function i(){return n}n.isRequired=n;var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o}}()();var ej=Vt(KS.exports),tj=Object.getOwnPropertyNames,rj=Object.getOwnPropertySymbols,nj=Object.prototype.hasOwnProperty;function ij(e,t){return function(r,n,i){return e(r,n,i)&&t(r,n,i)}}function oj(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);var i=n.cache,o=i.get(t),a=i.get(r);if(o&&a)return o===r&&a===t;i.set(t,r),i.set(r,t);var c=e(t,r,n);return i.delete(t),i.delete(r),c}}function aj(e){return tj(e).concat(rj(e))}var cj=Object.hasOwn||function(e,t){return nj.call(e,t)};function lj(e,t){return e||t?e===t:e===t||e!=e&&t!=t}var uj="_owner",sj=Object.getOwnPropertyDescriptor,fj=Object.keys;function pj(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function hj(e,t){return lj(e.getTime(),t.getTime())}function dj(e,t,r){if(e.size!==t.size)return!1;for(var n,i,o={},a=e.entries(),c=0;(n=a.next())&&!n.done;){for(var l=t.entries(),u=!1,s=0;(i=l.next())&&!i.done;){var f=n.value,p=f[0],h=f[1],d=i.value,y=d[0],v=d[1];u||o[s]||!(u=r.equals(p,y,c,s,e,t,r)&&r.equals(h,v,p,y,e,t,r))||(o[s]=!0),s++}if(!u)return!1;c++}return!0}function yj(e,t,r){var n,i=fj(e),o=i.length;if(fj(t).length!==o)return!1;for(;o-- >0;){if((n=i[o])===uj&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!cj(t,n)||!r.equals(e[n],t[n],n,n,e,t,r))return!1}return!0}function vj(e,t,r){var n,i,o,a=aj(e),c=a.length;if(aj(t).length!==c)return!1;for(;c-- >0;){if((n=a[c])===uj&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!cj(t,n))return!1;if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;if(i=sj(e,n),o=sj(t,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function gj(e,t){return lj(e.valueOf(),t.valueOf())}function mj(e,t){return e.source===t.source&&e.flags===t.flags}function bj(e,t,r){if(e.size!==t.size)return!1;for(var n,i,o={},a=e.values();(n=a.next())&&!n.done;){for(var c=t.values(),l=!1,u=0;(i=c.next())&&!i.done;)l||o[u]||!(l=r.equals(n.value,i.value,n.value,i.value,e,t,r))||(o[u]=!0),u++;if(!l)return!1}return!0}function wj(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}var 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(e){void 0===e&&(e={});var t,r=e.circular,n=void 0!==r&&r,i=e.createInternalComparator,o=e.createState,a=e.strict,c=void 0!==a&&a,l=function(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,i={areArraysEqual:n?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))),t){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}(e),u=function(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,i=e.areObjectsEqual,o=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,c=e.areSetsEqual,l=e.areTypedArraysEqual;return function(e,u,s){if(e===u)return!0;if(null==e||null==u||"object"!=typeof e||"object"!=typeof u)return e!=e&&u!=u;var f=e.constructor;if(f!==u.constructor)return!1;if(f===Object)return i(e,u,s);if(Cj(e))return t(e,u,s);if(null!=_j&&_j(e))return l(e,u,s);if(f===Date)return r(e,u,s);if(f===RegExp)return a(e,u,s);if(f===Map)return n(e,u,s);if(f===Set)return c(e,u,s);var p=Dj(e);return p===Sj?r(e,u,s):p===Mj?a(e,u,s):p===jj?n(e,u,s):p===kj?c(e,u,s):p===Pj?"function"!=typeof e.then&&"function"!=typeof u.then&&i(e,u,s):p===xj?i(e,u,s):(p===Oj||p===Aj||p===Ej)&&o(e,u,s)}}(l),s=i?i(u):(t=u,function(e,r,n,i,o,a,c){return t(e,r,c)});return function(e){var t=e.circular,r=e.comparator,n=e.createState,i=e.equals,o=e.strict;if(n)return function(e,a){var c=n(),l=c.cache,u=void 0===l?t?new WeakMap:void 0:l,s=c.meta;return r(e,a,{cache:u,equals:i,meta:s,strict:o})};if(t)return function(e,t){return r(e,t,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(e,t){return r(e,t,a)}}({circular:n,comparator:u,createState:o,equals:s,strict:c})}function Bj(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame((function n(i){r<0&&(r=i),i-r>t?(e(i),r=-1):function(e){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(e)}(n)}))}function Lj(e){return Lj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lj(e)}function Rj(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return zj(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return zj(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 zj(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $j(){var e=function(){return null},t=!1,r=function r(n){if(!t){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)&&e(n),"function"==typeof n&&n()}};return{stop:function(){t=!0},start:function(e){t=!1,r(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function Hj(e){return Hj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hj(e)}function Vj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fj(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vj(Object(r),!0).forEach((function(t){Uj(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vj(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Uj(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Hj(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Hj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Hj(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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(e){return e},Wj=function(e,t){return Object.keys(t).reduce((function(r,n){return Fj(Fj({},r),{},Uj({},n,e(n,t[n])))}),{})},Yj=function(e,t,r){return e.map((function(e){return"".concat((n=e,n.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(r);var n})).join(",")},Xj="production"!==process.env.NODE_ENV,Kj=function(e,t,r,n,i,o,a,c){if(Xj&&"undefined"!=typeof console&&console.warn&&(void 0===t&&console.warn("LogUtils requires an error message argument"),!e))if(void 0===t)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,i,o,a,c],u=0;console.warn(t.replace(/%s/g,(function(){return l[u++]})))}};function Gj(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||Jj(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(e){return function(e){if(Array.isArray(e))return Qj(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Jj(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jj(e,t){if(e){if("string"==typeof e)return Qj(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qj(e,t):void 0}}function Qj(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var eA=1e-4,tA=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},rA=function(e,t){return e.map((function(e,r){return e*Math.pow(t,r)})).reduce((function(e,t){return e+t}))},nA=function(e,t){return function(r){var n=tA(e,t);return rA(n,r)}},iA=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t[1],o=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var c=t[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var l=c[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),u=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",t)}Kj([n,o,i,a].every((function(e){return"number"==typeof e&&e>=0&&e<=1})),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",t);var s,f,p=nA(n,o),h=nA(i,a),d=(s=n,f=o,function(e){var t=tA(s,f),r=[].concat(Zj(t.map((function(e,t){return e*t})).slice(1)),[0]);return rA(r,e)}),y=function(e){for(var t,r=e>1?1:e,n=r,i=0;i<8;++i){var o=p(n)-r,a=d(n);if(Math.abs(o-r)<eA||a<eA)return h(n);n=(t=n-o/a)>1?1:t<0?0:t}return h(n)};return y.isStepper=!1,y},oA=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return iA(n);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,r=void 0===t?100:t,n=e.damping,i=void 0===n?8:n,o=e.dt,a=void 0===o?17:o,c=function(e,t,n){var o=n+(-(e-t)*r-n*i)*a/1e3,c=n*a/1e3+e;return Math.abs(c-t)<eA&&Math.abs(o)<eA?[t,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",t)}return"function"==typeof n?n:(Kj(!1,"[configEasing]: first argument type should be function or string, instead received %s",t),null)};function aA(e){return aA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aA(e)}function cA(e){return function(e){if(Array.isArray(e))return hA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pA(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lA(Object(r),!0).forEach((function(t){sA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sA(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==aA(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==aA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===aA(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||pA(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 pA(e,t){if(e){if("string"==typeof e)return hA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?hA(e,t):void 0}}function hA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var dA=function(e,t,r){return e+(t-e)*r},yA=function(e){return e.from!==e.to},vA=function e(t,r,n){var i=Wj((function(e,r){if(yA(r)){var n=fA(t(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(e,t){return yA(t)?uA(uA({},t),{},{velocity:dA(t.velocity,i[e].velocity,n),from:dA(t.from,i[e].from,n)}):t}),r):e(t,i,n-1)},gA=function(e,t,r,n,i){var o,a,c,l,u=(o=e,a=t,[Object.keys(o),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),s=u.reduce((function(r,n){return uA(uA({},r),{},sA({},n,[e[n],t[n]]))}),{}),f=u.reduce((function(r,n){return uA(uA({},r),{},sA({},n,{from:e[n],velocity:0,to:t[n]}))}),{}),p=-1,h=function(){return null};return h=r.isStepper?function(n){c||(c=n);var o=(n-c)/r.dt;f=vA(r,f,o),i(uA(uA(uA({},e),t),Wj((function(e,t){return t.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(e,t){return dA.apply(void 0,cA(t).concat([r(a)]))}),s);if(i(uA(uA(uA({},e),t),c)),a<1)p=requestAnimationFrame(h);else{var u=Wj((function(e,t){return dA.apply(void 0,cA(t).concat([r(1)]))}),s);i(uA(uA(uA({},e),t),u))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(p)}}};function mA(e){return mA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mA(e)}var bA=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function wA(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function xA(e){return function(e){if(Array.isArray(e))return OA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return OA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return OA(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function OA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function SA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?SA(Object(r),!0).forEach((function(t){AA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):SA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function AA(e,t,r){return(t=MA(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,MA(n.key),n)}}function MA(e){var t=function(e,t){if("object"!==mA(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==mA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===mA(t)?t:String(t)}function kA(e,t){return kA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kA(e,t)}function EA(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=TA(e);if(t){var i=TA(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return CA(this,r)}}function CA(e,t){if(t&&("object"===mA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _A(e)}function _A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TA(e){return TA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},TA(e)}var DA=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kA(e,t)}(o,Q);var t,r,n,i=EA(o);function o(e,t){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var n=(r=i.call(this,e,t)).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 t=o,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,r=e.canBegin;this.mounted=!0,t&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isActive,n=t.canBegin,i=t.attributeName,o=t.shouldReAnimate,a=t.to,c=t.from,l=this.state.style;if(n)if(r){if(!(Ij(e.to,a)&&e.canBegin&&e.isActive)){var u=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=u||o?c:e.to;if(this.state&&l){var f={style:i?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 e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,r=e.from,n=e.to,i=e.duration,o=e.easing,a=e.begin,c=e.onAnimationEnd,l=e.onAnimationStart,u=gA(r,n,oA(o),i,this.changeStyle);this.manager.start([l,a,function(){t.stopJSAnimation=u()},i,c])}},{key:"runStepAnimation",value:function(e){var t=this,r=e.steps,n=e.begin,i=e.onAnimationStart,o=r[0],a=o.style,c=o.duration,l=void 0===c?0:c;return this.manager.start([i].concat(xA(r.reduce((function(e,n,i){if(0===i)return e;var o=n.duration,a=n.easing,c=void 0===a?"ease":a,l=n.style,u=n.properties,s=n.onAnimationEnd,f=i>0?r[i-1]:n,p=u||Object.keys(l);if("function"==typeof c||"spring"===c)return[].concat(xA(e),[t.runJSAnimation.bind(t,{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(e),[d,o,s]).filter(qj)}),[a,Math.max(l,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=$j());var t=e.begin,r=e.duration,n=e.attributeName,i=e.to,o=e.easing,a=e.onAnimationStart,c=e.onAnimationEnd,l=e.steps,u=e.children,s=this.manager;if(this.unSubscribe=s.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof u&&"spring"!==o)if(l.length>1)this.runStepAnimation(e);else{var f=n?AA({},n,i):i,p=Yj(Object.keys(f),r,o);s.start([a,t,jA(jA({},f),{},{transition:p}),r,c])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,t=e.children;e.begin;var r=e.duration;e.attributeName,e.easing;var n=e.isActive;e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart;var i=wA(e,bA),o=J.count(t),a=this.state.style;if("function"==typeof t)return t(a);if(!n||0===o||r<=0)return t;var c=function(e){var t=e.props,r=t.style,n=void 0===r?{}:r,o=t.className;return ce(e,jA(jA({},i),{},{style:jA(jA({},n),a),className:o}))};return 1===o?c(J.only(t)):G.createElement("div",null,J.map(t,(function(e){return c(e)})))}}])&&PA(t.prototype,r),n&&PA(t,n),Object.defineProperty(t,"prototype",{writable:!1}),o}();function IA(e){return IA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},IA(e)}function NA(){return NA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},NA.apply(this,arguments)}function BA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return LA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return LA(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function LA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function RA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function zA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?RA(Object(r),!0).forEach((function(t){$A(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):RA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $A(e,t,r){return t=function(e){var t=function(e,t){if("object"!=IA(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=IA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==IA(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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: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 HA=function(e,t,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,l=r>=0?1:-1,u=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&i instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=i[f]>a?a:i[f];o="M".concat(e,",").concat(t+c*s[0]),s[0]>0&&(o+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(u,",").concat(e+l*s[0],",").concat(t)),o+="L ".concat(e+r-l*s[1],",").concat(t),s[1]>0&&(o+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(u,",\n ").concat(e+r,",").concat(t+c*s[1])),o+="L ".concat(e+r,",").concat(t+n-c*s[2]),s[2]>0&&(o+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(u,",\n ").concat(e+r-l*s[2],",").concat(t+n)),o+="L ".concat(e+l*s[3],",").concat(t+n),s[3]>0&&(o+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(u,",\n ").concat(e,",").concat(t+n-c*s[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(e,",").concat(t+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+l*p,",").concat(t,"\n L ").concat(e+r-l*p,",").concat(t,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+r,",").concat(t+c*p,"\n L ").concat(e+r,",").concat(t+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+r-l*p,",").concat(t+n,"\n L ").concat(e+l*p,",").concat(t+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e,",").concat(t+n-c*p," Z")}else o="M ".concat(e,",").concat(t," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},VA=function(e,t){if(!e||!t)return!1;var r=e.x,n=e.y,i=t.x,o=t.y,a=t.width,c=t.height;if(Math.abs(a)>0&&Math.abs(c)>0){var l=Math.min(i,i+a),u=Math.max(i,i+a),s=Math.min(o,o+c),f=Math.max(o,o+c);return r>=l&&r<=u&&n>=s&&n<=f}return!1},FA={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},UA=function(e){var t=zA(zA({},FA),e),r=te(),n=BA(ne(-1),2),i=n[0],o=n[1];oe((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&o(e)}catch(e){}}),[]);var a=t.x,c=t.y,l=t.width,u=t.height,s=t.radius,f=t.className,p=t.animationEasing,h=t.animationDuration,d=t.animationBegin,y=t.isAnimationActive,v=t.isUpdateAnimationActive;if(a!==+a||c!==+c||l!==+l||u!==+u||0===l||0===u)return null;var g=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(e){var n=e.width,o=e.height,a=e.x,c=e.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(t,!0),{className:g,d:HA(a,c,n,o,s),ref:r})))})):G.createElement("path",NA({},va(t,!0),{className:g,d:HA(a,c,l,u,s)}))};function qA(){return qA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qA.apply(this,arguments)}var WA=function(e){var t=e.cx,r=e.cy,n=e.r,i=Yr("recharts-dot",e.className);return t===+t&&r===+r&&n===+n?G.createElement("circle",qA({},va(e,!1),ea(e),{className:i,cx:t,cy:r,r:n})):null};function YA(e){return YA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YA(e)}var XA=["x","y","top","left","width","height","className"];function KA(){return KA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},KA.apply(this,arguments)}function GA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ZA(e,t,r){return t=function(e){var t=function(e,t){if("object"!=YA(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=YA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==YA(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function JA(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var QA=function(e,t,r,n,i,o){return"M".concat(e,",").concat(i,"v").concat(n,"M").concat(o,",").concat(t,"h").concat(r)},eP=function(e){var t=e.x,r=void 0===t?0:t,n=e.y,i=void 0===n?0:n,o=e.top,a=void 0===o?0:o,c=e.left,l=void 0===c?0:c,u=e.width,s=void 0===u?0:u,f=e.height,p=void 0===f?0:f,h=e.className,d=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?GA(Object(r),!0).forEach((function(t){ZA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):GA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({x:r,y:i,top:a,left:l,width:s,height:p},JA(e,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},tP=is(Object.getPrototypeOf,Object),rP=fn,nP=tP,iP=pn,oP=Function.prototype,aP=Object.prototype,cP=oP.toString,lP=aP.hasOwnProperty,uP=cP.call(Object);var sP=Vt((function(e){if(!iP(e)||"[object Object]"!=rP(e))return!1;var t=nP(e);if(null===t)return!0;var r=lP.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&cP.call(r)==uP})),fP=fn,pP=pn;var hP=Vt((function(e){return!0===e||!1===e||pP(e)&&"[object Boolean]"==fP(e)}));function dP(e){return dP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dP(e)}function yP(){return yP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yP.apply(this,arguments)}function vP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return gP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gP(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gP(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function mP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bP(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mP(Object(r),!0).forEach((function(t){wP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mP(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wP(e,t,r){return t=function(e){var t=function(e,t){if("object"!=dP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=dP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==dP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xP=function(e,t,r,n,i){var o,a=r-n;return o="M ".concat(e,",").concat(t),o+="L ".concat(e+r,",").concat(t),o+="L ".concat(e+r-a/2,",").concat(t+i),o+="L ".concat(e+r-a/2-n,",").concat(t+i),o+="L ".concat(e,",").concat(t," Z")},OP={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},SP=function(e){var t=bP(bP({},OP),e),r=te(),n=vP(ne(-1),2),i=n[0],o=n[1];oe((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&o(e)}catch(e){}}),[]);var a=t.x,c=t.y,l=t.upperWidth,u=t.lowerWidth,s=t.height,f=t.className,p=t.animationEasing,h=t.animationDuration,d=t.animationBegin,y=t.isUpdateAnimationActive;if(a!==+a||c!==+c||l!==+l||u!==+u||s!==+s||0===l&&0===u||0===s)return null;var v=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(e){var n=e.upperWidth,o=e.lowerWidth,a=e.height,c=e.x,l=e.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(t,!0),{className:v,d:xP(c,l,n,o,a),ref:r})))})):G.createElement("g",null,G.createElement("path",yP({},va(t,!0),{className:v,d:xP(a,c,l,u,s)})))},jP=["option","shapeType","propTransformer","activeClassName","isActive"];function AP(e){return AP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},AP(e)}function PP(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function MP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kP(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?MP(Object(r),!0).forEach((function(t){EP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):MP(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function EP(e,t,r){return t=function(e){var t=function(e,t){if("object"!=AP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=AP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==AP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CP(e,t){return kP(kP({},t),e)}function _P(e){var t=e.shapeType,r=e.elementProps;switch(t){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(e,t){return"symbols"===e}(t))return G.createElement(ml,r);break;default:return null}}function TP(e){var t,r=e.option,n=e.shapeType,i=e.propTransformer,o=void 0===i?CP:i,a=e.activeClassName,c=void 0===a?"recharts-active-shape":a,l=e.isActive,u=PP(e,jP);if(Z(r))t=ce(r,kP(kP({},u),function(e){return Z(e)?e.props:e}(r)));else if(Mn(r))t=r(u);else if(sP(r)&&!hP(r)){var s=o(r,u);t=G.createElement(_P,{shapeType:n,elementProps:s})}else{var f=u;t=G.createElement(_P,{shapeType:n,elementProps:f})}return l?G.createElement(Ma,{className:c},t):t}function DP(e,t){return null!=t&&"trapezoids"in e.props}function IP(e,t){return null!=t&&"sectors"in e.props}function NP(e,t){return null!=t&&"points"in e.props}function BP(e,t){var r,n,i=e.x===(null==t||null===(r=t.labelViewBox)||void 0===r?void 0:r.x)||e.x===t.x,o=e.y===(null==t||null===(n=t.labelViewBox)||void 0===n?void 0:n.y)||e.y===t.y;return i&&o}function LP(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function RP(e,t){var r=e.x===t.x,n=e.y===t.y,i=e.z===t.z;return r&&n&&i}function zP(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,i=function(e,t){var r;return DP(e,t)?r="trapezoids":IP(e,t)?r="sectors":NP(e,t)&&(r="points"),r}(r,t),o=function(e,t){var r,n;return DP(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:IP(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:NP(e,t)?t.payload:{}}(r,t),a=n.filter((function(e,n){var a=Hw(o,e),c=r.props[i].filter((function(e){var n=function(e,t){var r;return DP(e,t)?r=BP:IP(e,t)?r=LP:NP(e,t)&&(r=RP),r}(r,t);return n(e,t)})),l=r.props[i].indexOf(c[c.length-1]);return a&&n===l}));return n.indexOf(a[a.length-1])}var $P=Math.ceil,HP=Math.max;var VP=Ld,FP=1/0;var UP=function(e,t,r,n){for(var i=-1,o=HP($P((t-e)/(r||1)),0),a=Array(o);o--;)a[n?o:++i]=e,e+=r;return a},qP=Dh,WP=function(e){return e?(e=VP(e))===FP||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var YP=Vt(function(e){return function(t,r,n){return n&&"number"!=typeof n&&qP(t,r,n)&&(r=n=void 0),t=WP(t),void 0===r?(r=t,t=0):r=WP(r),n=void 0===n?t<r?1:-1:WP(n),UP(t,r,n,e)}}());function XP(e){return XP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},XP(e)}function KP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function GP(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?KP(Object(r),!0).forEach((function(t){ZP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):KP(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ZP(e,t,r){return t=function(e){var t=function(e,t){if("object"!=XP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=XP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==XP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var JP=["Webkit","Moz","O","ms"];function QP(e){return QP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},QP(e)}function eM(){return eM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},eM.apply(this,arguments)}function tM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tM(Object(r),!0).forEach((function(t){uM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,sM(n.key),n)}}function iM(e,t,r){return t=aM(t),function(e,t){if(t&&("object"===QP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return cM(e)}(e,oM()?Reflect.construct(t,r||[],aM(e).constructor):t.apply(e,r))}function oM(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oM=function(){return!!e})()}function aM(e){return aM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},aM(e)}function cM(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lM(e,t){return lM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lM(e,t)}function uM(e,t,r){return(t=sM(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sM(e){var t=function(e,t){if("object"!=QP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=QP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==QP(t)?t:String(t)}var fM=function(e){return e.changedTouches&&!!e.changedTouches.length},pM=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),uM(cM(r=iM(this,t,[e])),"handleDrag",(function(e){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(e):r.state.isSlideMoving&&r.handleSlideDrag(e)})),uM(cM(r),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&r.handleDrag(e.changedTouches[0])})),uM(cM(r),"handleDragEnd",(function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var e=r.props,t=e.endIndex,n=e.onDragEnd,i=e.startIndex;null==n||n({endIndex:t,startIndex:i})})),r.detachDragEndListener()})),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(e){var t=fM(e)?e.changedTouches[0]:e;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.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(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lM(e,t)}(t,Q),r=t,n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var r=e.startX,n=e.endX,i=this.state.scaleValues,o=this.props,a=o.gap,c=o.data.length-1,l=Math.min(r,n),u=Math.max(r,n),s=t.getIndexInRange(i,l),f=t.getIndexInRange(i,u);return{startIndex:s-s%a,endIndex:f===c?c:f-f%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,r=t.data,n=t.tickFormatter,i=t.dataKey,o=sO(r[e],i,e);return Mn(n)?n(o,e):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,r=t.slideMoveStartX,n=t.startX,i=t.endX,o=this.props,a=o.x,c=o.width,l=o.travellerWidth,u=o.startIndex,s=o.endIndex,f=o.onChange,p=e.pageX-r;p>0?p=Math.min(p,a+c-l-i,a+c-l-n):p<0&&(p=Math.max(p,a-n,a-i));var h=this.getIndex({startX:n+p,endX:i+p});h.startIndex===u&&h.endIndex===s||!f||f(h),this.setState({startX:n+p,endX:i+p,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var r=fM(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,r=t.brushMoveStartX,n=t.movingTravellerId,i=t.endX,o=t.startX,a=this.state[n],c=this.props,l=c.x,u=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,h=c.data,d={startX:this.state.startX,endX:this.state.endX},y=e.pageX-r;y>0?y=Math.min(y,l+u-s-a):y<0&&(y=Math.max(y,l-a)),d[n]=a+y;var v=this.getIndex(d),g=v.startIndex,m=v.endIndex;this.setState(uM(uM({},n,a+y),"brushMoveStartX",e.pageX),(function(){var e;f&&(e=h.length-1,("startX"===n&&(i>o?g%p==0:m%p==0)||i<o&&m===e||"endX"===n&&(i>o?m%p==0:g%p==0)||i>o&&m===e)&&f(v))}))}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,c=this.state[t],l=i.indexOf(c);if(-1!==l){var u=l+e;if(!(-1===u||u>=i.length)){var s=i[u];"startX"===t&&s>=a||"endX"===t&&s<=o||this.setState(uM({},t,s),(function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))}))}}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.fill,a=e.stroke;return G.createElement("rect",{stroke:a,fill:o,x:t,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.data,a=e.children,c=e.padding,l=J.only(a);return l?G.cloneElement(l,{x:t,y:r,width:n,height:i,margin:c,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(e,r){var n=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(e,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":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),n.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,r))},onFocus:function(){n.setState({isTravellerFocused:!0})},onBlur:function(){n.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(l,d))}},{key:"renderSlide",value:function(e,t){var r=this.props,n=r.y,i=r.height,o=r.stroke,a=r.travellerWidth,c=Math.min(e,t)+a,l=Math.max(Math.abs(t-e)-a,0);return 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 e=this.props,t=e.startIndex,r=e.endIndex,n=e.y,i=e.height,o=e.travellerWidth,a=e.stroke,c=this.state,l=c.startX,u=c.endX,s={pointerEvents:"none",fill:a};return G.createElement(Ma,{className:"recharts-brush-texts"},G.createElement(Ly,eM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:n+i/2},s),this.getTextOfTick(t)),G.createElement(Ly,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 e=this.props,t=e.data,r=e.className,n=e.children,i=e.x,o=e.y,a=e.width,c=e.height,l=e.alwaysShowText,u=this.state,s=u.startX,f=u.endX,p=u.isTextActive,h=u.isSlideMoving,d=u.isTravellerMoving,y=u.isTravellerFocused;if(!t||!t.length||!$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(e,t){if(!e)return null;var r=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),n=JP.reduce((function(e,n){return GP(GP({},e),{},ZP({},n+r,t))}),{});return n[e]=t,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(e){var t=e.x,r=e.y,n=e.width,i=e.height,o=e.stroke,a=Math.floor(r+i/2)-1;return G.createElement(G.Fragment,null,G.createElement("rect",{x:t,y:r,width:n,height:i,fill:o,stroke:"none"}),G.createElement("line",{x1:t+1,y1:a,x2:t+n-1,y2:a,fill:"none",stroke:"#fff"}),G.createElement("line",{x1:t+1,y1:a+2,x2:t+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,r){return G.isValidElement(e)?G.cloneElement(e,r):Mn(e)?e(r):t.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(e,t){var r=e.data,n=e.width,i=e.x,o=e.travellerWidth,a=e.updateId,c=e.startIndex,l=e.endIndex;if(r!==t.prevData||a!==t.prevUpdateId)return rM({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?function(e){var t=e.data,r=e.startIndex,n=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var c=t.length,l=pv().domain(YP(0,c)).range([i,i+o-a]),u=l.domain().map((function(e){return l(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(r),endX:l(n),scale:l,scaleValues:u}}({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:l}):{scale:null,scaleValues:null});if(t.scale&&(n!==t.prevWidth||i!==t.prevX||o!==t.prevTravellerWidth)){t.scale.range([i,i+n-o]);var u=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(e,t){for(var r=0,n=e.length-1;n-r>1;){var i=Math.floor((r+n)/2);e[i]>t?n=i:r=i}return t>=e[n]?n:r}}],n&&nM(r.prototype,n),i&&nM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();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(e,t){var r;return hM(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r},gM=Xr,mM=Dh;var bM=Vt((function(e,t,r){var n=gM(e)?dM:vM;return r&&mM(e,t,r)&&(t=void 0),n(e,yM(t))})),wM=function(e,t){var r=e.alwaysShow,n=e.ifOverflow;return r&&(n="extendDomain"),n===t},xM=bh;var OM=function(e,t,r){"__proto__"==t&&xM?xM(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},SM=OM,jM=Xp,AM=Qf;var PM=function(e,t){var r={};return t=AM(t),jM(e,(function(e,n,i){SM(r,n,t(e,n,i))})),r},MM=Vt(PM);var kM=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0},EM=Gp;var CM=kM,_M=function(e,t){var r=!0;return EM(e,(function(e,n,i){return r=!!t(e,n,i)})),r},TM=Qf,DM=Xr,IM=Dh;var NM=Vt((function(e,t,r){var n=DM(e)?CM:_M;return r&&IM(e,t,r)&&(t=void 0),n(e,TM(t))})),BM=["x","y"];function LM(e){return LM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},LM(e)}function RM(){return RM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},RM.apply(this,arguments)}function zM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zM(Object(r),!0).forEach((function(t){HM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function HM(e,t,r){return t=function(e){var t=function(e,t){if("object"!=LM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=LM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==LM(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function VM(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function FM(e,t){var r=e.x,n=e.y,i=VM(e,BM),o="".concat(r),a=parseInt(o,10),c="".concat(n),l=parseInt(c,10),u="".concat(t.height||i.height),s=parseInt(u,10),f="".concat(t.width||i.width),p=parseInt(f,10);return $M($M($M($M($M({},t),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:s,width:p,name:t.name,radius:t.radius})}function UM(e){return G.createElement(TP,RM({shapeType:"rectangle",propTransformer:FM,activeClassName:"recharts-active-bar"},e))}var qM,WM=["value","background"];function YM(e){return YM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YM(e)}function XM(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function KM(){return KM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},KM.apply(this,arguments)}function GM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ZM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?GM(Object(r),!0).forEach((function(t){ik(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):GM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function JM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ok(n.key),n)}}function QM(e,t,r){return t=tk(t),function(e,t){if(t&&("object"===YM(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return rk(e)}(e,ek()?Reflect.construct(t,r||[],tk(e).constructor):t.apply(e,r))}function ek(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ek=function(){return!!e})()}function tk(e){return tk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tk(e)}function rk(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nk(e,t){return nk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},nk(e,t)}function ik(e,t,r){return(t=ok(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ok(e){var t=function(e,t){if("object"!=YM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=YM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==YM(t)?t:String(t)}var ak=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return ik(rk(e=QM(this,t,[].concat(n))),"state",{isAnimationFinished:!1}),ik(rk(e),"id",Fo("recharts-bar-")),ik(rk(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()})),ik(rk(e),"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nk(e,t)}(t,Q),r=t,n=[{key:"renderRectanglesStatically",value:function(e){var t=this,r=this.props,n=r.shape,i=r.dataKey,o=r.activeIndex,a=r.activeBar,c=va(this.props,!1);return e&&e.map((function(e,r){var l=r===o,u=l?a:n,s=ZM(ZM(ZM({},c),e),{},{isActive:l,option:u,index:r,dataKey:i,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return G.createElement(Ma,KM({className:"recharts-bar-rectangle"},ta(t.props,e,r),{key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value)}),G.createElement(UM,s))}))}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,r=t.data,n=t.layout,i=t.isAnimationActive,o=t.animationBegin,a=t.animationDuration,c=t.animationEasing,l=t.animationId,u=this.state.prevData;return 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(t){var i=t.t,o=r.map((function(e,t){var r=u&&u[t];if(r){var o=Wo(r.x,e.x),a=Wo(r.y,e.y),c=Wo(r.width,e.width),l=Wo(r.height,e.height);return ZM(ZM({},e),{},{x:o(i),y:a(i),width:c(i),height:l(i)})}if("horizontal"===n){var s=Wo(0,e.height)(i);return ZM(ZM({},e),{},{y:e.y+e.height-s,height:s})}var f=Wo(0,e.width)(i);return ZM(ZM({},e),{},{width:f})}));return G.createElement(Ma,null,e.renderRectanglesStatically(o))}))}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,r=e.isAnimationActive,n=this.state.prevData;return!(r&&t&&t.length)||n&&Hw(n,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var e=this,t=this.props,r=t.data,n=t.dataKey,i=t.activeIndex,o=va(this.props.background,!1);return r.map((function(t,r){t.value;var a=t.background,c=XM(t,WM);if(!a)return null;var l=ZM(ZM(ZM(ZM(ZM({},c),{},{fill:"#eee"},a),o),ta(e.props,t,r)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:n,index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return G.createElement(UM,KM({option:e.props.background,isActive:r===i},l))}))}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,i=r.xAxis,o=r.yAxis,a=r.layout,c=fa(r.children,Jx);if(!c)return null;var l="vertical"===a?n[0].height/2:n[0].width/2,u=function(e,t){var r=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:r,errorVal:sO(e,t)}},s={clipPath:e?"url(#clipPath-".concat(t,")"):null};return G.createElement(Ma,s,c.map((function(e){return G.cloneElement(e,{key:"error-bar-".concat(t,"-").concat(e.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,offset:l,dataPointFormatter:u})})))}},{key:"render",value:function(){var e=this.props,t=e.hide,r=e.data,n=e.className,i=e.xAxis,o=e.yAxis,a=e.left,c=e.top,l=e.width,u=e.height,s=e.isAnimationActive,f=e.background,p=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,d=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(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}],n&&JM(r.prototype,n),i&&JM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();function ck(e){return ck="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ck(e)}function lk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,pk(n.key),n)}}function uk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function sk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?uk(Object(r),!0).forEach((function(t){fk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fk(e,t,r){return(t=pk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pk(e){var t=function(e,t){if("object"!=ck(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ck(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ck(t)?t:String(t)}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(e){var t=e.props,r=e.item,n=e.barPosition,i=e.bandSize,o=e.xAxis,a=e.yAxis,c=e.xAxisTicks,l=e.yAxisTicks,u=e.stackedData,s=e.dataStartIndex,f=e.displayedData,p=e.offset,h=function(e,t){if(!e)return null;for(var r=0,n=e.length;r<n;r++)if(e[r].item===t)return e[r].position;return null}(n,r);if(!h)return null;var d=t.layout,y=r.props,v=y.dataKey,g=y.children,m=y.minPointSize,b="horizontal"===d?a:o,w=u?b.scale.domain():null,x=function(e){var t=e.numericAxis,r=t.scale.domain();if("number"===t.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]}({numericAxis:b}),O=fa(g,ey),S=f.map((function(e,t){var n,f,p,y,g,b;u?n=function(e,t){if(!t||2!==t.length||!$o(t[0])||!$o(t[1]))return e;var r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!$o(e[0])||e[0]<r)&&(i[0]=r),(!$o(e[1])||e[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i}(u[s+t],w):(n=sO(e,v),Array.isArray(n)||(n=[x,n]));var S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof e)return e;var i="number"==typeof r;return i?e(r,n):(i||("production"!==process.env.NODE_ENV?Wx(!1,"minPointSize callback function received a value with type of ".concat(LM(r),". Currently only numbers are supported.")):Wx(!1)),t)}}(m,qM.defaultProps.minPointSize)(n[1],t);if("horizontal"===d){var j,A=[a.scale(n[0]),a.scale(n[1])],P=A[0],M=A[1];f=SO({axis:o,ticks:c,bandSize:i,offset:h.offset,entry:e,index:t}),p=null!==(j=null!=M?M:P)&&void 0!==j?j:void 0,y=h.size;var k=P-M;if(g=Number.isNaN(k)?0:k,b={x:f,y:a.y,width:y,height:a.height},Math.abs(S)>0&&Math.abs(g)<Math.abs(S)){var E=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:e,index:t}),y=T-_,g=h.size,b={x:o.x,y:p,width:o.width,height:g},Math.abs(S)>0&&Math.abs(y)<Math.abs(S))y+=Ro(y||S)*(Math.abs(S)-Math.abs(y))}return ZM(ZM(ZM({},e),{},{x:f,y:p,width:y,height:g,value:u?n:n[1],payload:e,background:b},O&&O[t]&&O[t].props),{},{tooltipPayload:[CO(r,e)],tooltipPosition:{x:f+y/2,y:p+g/2}})}));return ZM({data:S,layout:d},p)}));var hk=function(e,t,r,n,i){var o=e.width,a=e.height,c=e.layout,l=e.children,u=Object.keys(t),s={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},f=!!pa(l,ak);return u.reduce((function(o,a){var l,u,p,h,d,y=t[a],v=y.orientation,g=y.domain,m=y.padding,b=void 0===m?{}:m,w=y.mirror,x=y.reversed,O="".concat(v).concat(w?"Mirror":"");if("number"===y.type&&("gap"===y.padding||"no-gap"===y.padding)){var S=g[1]-g[0],j=1/0,A=y.categoricalDomain.sort();A.forEach((function(e,t){t>0&&(j=Math.min((e||0)-(A[t-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(e.barCategoryGap,P*M),E=P*M/2;l=E-k-(E-k)/M*k}}u="xAxis"===n?[r.left+(b.left||0)+(l||0),r.left+r.width-(b.right||0)-(l||0)]:"yAxis"===n?"horizontal"===c?[r.top+r.height-(b.bottom||0),r.top+(b.top||0)]:[r.top+(b.top||0)+(l||0),r.top+r.height-(b.bottom||0)-(l||0)]:y.range,x&&(u=[u[1],u[0]]);var C=function(e,t,r){var n=e.scale,i=e.type,o=e.layout,a=e.axisType;if("auto"===n)return"radial"===o&&"radiusAxis"===a?{scale:sv(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:Ig(),realScaleType:"linear"}:"category"===i&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.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(e){var t=e.domain();if(t&&!(t.length<=2)){var r=t.length,n=e.range(),i=Math.min(n[0],n[1])-bO,o=Math.max(n[0],n[1])+bO,a=e(t[0]),c=e(t[r-1]);(a<i||a>o||c<i||c>o)&&e.domain([t[0],t[r-1]])}}(_);var D=function(e,t){var r=t.realScaleType,n=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,c=r||t.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var l=e.domain();if(!l.length)return null;var u=Vx(l,i,a);return e.domain([_w(u),Pw(u)]),{niceTicks:u}}if(i&&"number"===n){var s=e.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(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},yk=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=t}var t,r,n;return t=e,r=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.bandAware,n=t.position;if(void 0!==e){if(n)switch(n){case"start":default:return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(e)+o}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),r=t[0],n=t[t.length-1];return r<=n?e>=r&&e<=n:e>=n&&e<=r}}],n=[{key:"create",value:function(t){return new e(t)}}],r&&lk(t.prototype,r),n&&lk(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();fk(yk,"EPS",1e-4);var vk=function(e){var t=Object.keys(e).reduce((function(t,r){return sk(sk({},t),{},fk({},r,yk.create(e[r])))}),{});return sk(sk({},t),{},{apply:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return MM(e,(function(e,r){return t[r].apply(e,{bandAware:n,position:i})}))},isInRange:function(e){return NM(e,(function(e,r){return t[r].isInRange(e)}))}})};var gk=function(e){var t=e.width,r=e.height,n=function(e){return(e%180+180)%180}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),i=n*Math.PI/180,o=Math.atan(r/t),a=i>o&&i<Math.PI-o?r/Math.sin(i):t/Math.cos(i);return Math.abs(a)},mk=Wi((function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}}),(function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}));function bk(e){return bk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bk(e)}var wk=se(void 0),xk=se(void 0),Ok=se(void 0),Sk=se({}),jk=se(void 0),Ak=se(0),Pk=se(0),Mk=function(e){var t=e.state,r=t.xAxisMap,n=t.yAxisMap,i=t.offset,o=e.clipPathId,a=e.children,c=e.width,l=e.height,u=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(e){var t=Object.keys(e);return 0===t.length?"There are no available ids.":"Available ids are: ".concat(t,".")}var Ek=function(e){var t=ue(wk);null==t&&("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=t[e];return null==r&&("production"!==process.env.NODE_ENV?Wx(!1,'Could not find xAxis by id "'.concat(e,'" [').concat(bk(e),"]. ").concat(kk(t))):Wx(!1)),r},Ck=function(e){var t=ue(xk);null==t&&("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=t[e];return null==r&&("production"!==process.env.NODE_ENV?Wx(!1,'Could not find yAxis by id "'.concat(e,'" [').concat(bk(e),"]. ").concat(kk(t))):Wx(!1)),r},_k=function(){return ue(Pk)},Tk=function(){return ue(Ak)};function Dk(e){return Dk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dk(e)}function Ik(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Nk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ik(Object(r),!0).forEach((function(t){Bk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ik(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Bk(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Dk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Dk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Dk(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Rk(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rk(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rk(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zk(){return zk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zk.apply(this,arguments)}function $k(e){var t=e.x,r=e.y,n=e.segment,i=e.xAxisId,o=e.yAxisId,a=e.shape,c=e.className,l=e.alwaysShow,u=ue(jk),s=Ek(i),f=Ck(o),p=ue(Ok);if(!u||!p)return null;Ea(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=function(e,t,r,n,i,o,a,c,l){var u=i.x,s=i.y,f=i.width,p=i.height;if(r){var h=l.y,d=e.y.apply(h,{position:o});if(wM(l,"discard")&&!e.y.isInRange(d))return null;var y=[{x:u+f,y:d},{x:u,y:d}];return"left"===c?y.reverse():y}if(t){var v=l.x,g=e.x.apply(v,{position:o});if(wM(l,"discard")&&!e.x.isInRange(g))return null;var m=[{x:g,y:s+p},{x:g,y:s}];return"top"===a?m.reverse():m}if(n){var b=l.segment.map((function(t){return e.apply(t,{position:o})}));return wM(l,"discard")&&bM(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(vk({x:s.scale,y:f.scale}),Ho(t),Ho(r),n&&2===n.length,p,e.position,s.orientation,f.orientation,e);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(e,"hidden")?"url(#".concat(u,")"):void 0},va(e,!0)),{},{x1:v,y1:g,x2:b,y2:w});return G.createElement(Ma,{className:Yr("recharts-reference-line",c)},function(e,t){return G.isValidElement(e)?G.cloneElement(e,t):Mn(e)?e(t):G.createElement("line",zk({},t,{className:"recharts-reference-line-line"}))}(a,x),tS.renderCallByParent(e,function(e){var t=e.x1,r=e.y1,n=e.x2,i=e.y2;return dk({x:t,y:r},{x:n,y:i})}({x1:v,y1:g,x2:b,y2:w})))}function Hk(e){return Hk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hk(e)}function Vk(){return Vk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vk.apply(this,arguments)}function Fk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Uk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fk(Object(r),!0).forEach((function(t){qk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qk(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Hk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Hk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Hk(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}$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(e){var t=e.x,r=e.y,n=e.r,i=e.alwaysShow,o=e.clipPathId,a=Ho(t),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(e){var t=e.x,r=e.y,n=e.xAxis,i=e.yAxis,o=vk({x:n.scale,y:i.scale}),a=o.apply({x:t,y:r},{bandAware:!0});return wM(e,"discard")&&!o.isInRange(a)?null:a}(e);if(!l)return null;var u=l.x,s=l.y,f=e.shape,p=e.className,h=Uk(Uk({clipPath:wM(e,"hidden")?"url(#".concat(o,")"):void 0},va(e,!0)),{},{cx:u,cy:s});return G.createElement(Ma,{className:Yr("recharts-reference-dot",p)},Wk.renderDot(f,h),tS.renderCallByParent(e,{x:u-n,y:s-n,width:2*n,height:2*n}))}function Yk(e){return Yk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yk(e)}function Xk(){return Xk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xk.apply(this,arguments)}function Kk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Gk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Kk(Object(r),!0).forEach((function(t){Zk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Zk(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Yk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Yk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yk(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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(e,t){return G.isValidElement(e)?G.cloneElement(e,t):Mn(e)?e(t):G.createElement(WA,Vk({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))};function Jk(e){var t=e.x1,r=e.x2,n=e.y1,i=e.y2,o=e.className,a=e.alwaysShow,c=e.clipPathId;Ea(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=Ho(t),u=Ho(r),s=Ho(n),f=Ho(i),p=e.shape;if(!(l||u||s||f||p))return null;var h=function(e,t,r,n,i){var o=i.x1,a=i.x2,c=i.y1,l=i.y2,u=i.xAxis,s=i.yAxis;if(!u||!s)return null;var f=vk({x:u.scale,y:s.scale}),p={x:e?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},h={x:t?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(l,{position:"end"}):f.y.rangeMax};return!wM(i,"discard")||f.isInRange(p)&&f.isInRange(h)?dk(p,h):null}(l,u,s,f,e);if(!h&&!p)return null;var d=wM(e,"hidden")?"url(#".concat(c,")"):void 0;return G.createElement(Ma,{className:Yr("recharts-reference-area",o)},Jk.renderRect(p,Gk(Gk({clipPath:d},va(e,!0)),h)),tS.renderCallByParent(e,h))}function Qk(e,t,r){if(t<1)return[];if(1===t&&void 0===r)return e;for(var n=[],i=0;i<e.length;i+=t){if(void 0!==r&&!0!==r(e[i]))return;n.push(e[i])}return n}function eE(e,t,r,n,i){if(e*t<e*n||e*t>e*i)return!1;var o=r();return e*(t-e*o/2-n)>=0&&e*(t+e*o/2-i)<=0}function tE(e){return tE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tE(e)}function rE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rE(Object(r),!0).forEach((function(t){iE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function iE(e,t,r){return t=function(e){var t=function(e,t){if("object"!=tE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=tE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tE(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oE(e,t,r){var n=e.tick,i=e.ticks,o=e.viewBox,a=e.minTickGap,c=e.orientation,l=e.interval,u=e.tickFormatter,s=e.unit,f=e.angle;if(!i||!i.length||!n)return[];if($o(l)||fd.isSsr)return function(e,t){return Qk(e,t+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:t,letterSpacing:r}):{width:0,height:0},y=function(e,n){var i=Mn(u)?u(e.value,n):e.value;return"width"===h?function(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return gk(n,r)}(ly(i,{fontSize:t,letterSpacing:r}),d,f):ly(i,{fontSize:t,letterSpacing:r})[h]},v=i.length>=2?Ro(i[1].coordinate-i[0].coordinate):1,g=function(e,t,r){var n="width"===r,i=e.x,o=e.y,a=e.width,c=e.height;return 1===t?{start:n?i:o,end:n?i+a:o+c}:{start:n?i+a:o+c,end:n?i:o}}(o,v,h);return"equidistantPreserveStart"===l?function(e,t,r,n,i){for(var o,a=(n||[]).slice(),c=t.start,l=t.end,u=0,s=1,f=c,p=function(){var t=null==n?void 0:n[u];if(void 0===t)return{v:Qk(n,s)};var o,a=u,p=function(){return void 0===o&&(o=r(t,a)),o},h=t.coordinate,d=0===u||eE(e,h,p,f,l);d||(u=0,f=c,s+=1),d&&(f=h+e*(p()/2+i),u+=s)};s<=a.length;)if(o=p())return o.v;return[]}(v,g,y,i,a):(p="preserveStart"===l||"preserveStartEnd"===l?function(e,t,r,n,i,o){var a=(n||[]).slice(),c=a.length,l=t.start,u=t.end;if(o){var s=n[c-1],f=r(s,c-1),p=e*(s.coordinate+e*f/2-u);a[c-1]=s=nE(nE({},s),{},{tickCoord:p>0?s.coordinate-p*e:s.coordinate}),eE(e,s.tickCoord,(function(){return f}),l,u)&&(u=s.tickCoord-e*(f/2+i),a[c-1]=nE(nE({},s),{},{isShow:!0}))}for(var h=o?c-1:c,d=function(t){var n,o=a[t],c=function(){return void 0===n&&(n=r(o,t)),n};if(0===t){var s=e*(o.coordinate-e*c()/2-l);a[t]=o=nE(nE({},o),{},{tickCoord:s<0?o.coordinate-s*e:o.coordinate})}else a[t]=o=nE(nE({},o),{},{tickCoord:o.coordinate});eE(e,o.tickCoord,c,l,u)&&(l=o.tickCoord+e*(c()/2+i),a[t]=nE(nE({},o),{},{isShow:!0}))},y=0;y<h;y++)d(y);return a}(v,g,y,i,a,"preserveStartEnd"===l):function(e,t,r,n,i){for(var o=(n||[]).slice(),a=o.length,c=t.start,l=t.end,u=function(t){var n,u=o[t],s=function(){return void 0===n&&(n=r(u,t)),n};if(t===a-1){var f=e*(u.coordinate+e*s()/2-l);o[t]=u=nE(nE({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate})}else o[t]=u=nE(nE({},u),{},{tickCoord:u.coordinate});eE(e,u.tickCoord,s,c,l)&&(l=u.tickCoord-e*(s()/2+i),o[t]=nE(nE({},u),{},{isShow:!0}))},s=a-1;s>=0;s--)u(s);return o}(v,g,y,i,a),p.filter((function(e){return e.isShow})))}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(e,t){return G.isValidElement(e)?G.cloneElement(e,t):Mn(e)?e(t):G.createElement(UA,Xk({},t,{className:"recharts-reference-area-rect"}))};var aE=["viewBox"],cE=["viewBox"],lE=["ticks"];function uE(e){return uE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uE(e)}function sE(){return sE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sE.apply(this,arguments)}function fE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fE(Object(r),!0).forEach((function(t){bE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hE(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function dE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,wE(n.key),n)}}function yE(e,t,r){return t=gE(t),function(e,t){if(t&&("object"===uE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,vE()?Reflect.construct(t,r||[],gE(e).constructor):t.apply(e,r))}function vE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(vE=function(){return!!e})()}function gE(e){return gE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gE(e)}function mE(e,t){return mE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mE(e,t)}function bE(e,t,r){return(t=wE(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wE(e){var t=function(e,t){if("object"!=uE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=uE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uE(t)?t:String(t)}var xE=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=yE(this,t,[e])).state={fontSize:"",letterSpacing:""},r}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mE(e,t)}(t,fe),r=t,n=[{key:"shouldComponentUpdate",value:function(e,t){var r=e.viewBox,n=hE(e,aE),i=this.props,o=i.viewBox,a=hE(i,cE);return!Xo(r,o)||!Xo(n,a)||!Xo(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:"getTickLineCoord",value:function(e){var t,r,n,i,o,a,c=this.props,l=c.x,u=c.y,s=c.width,f=c.height,p=c.orientation,h=c.tickSize,d=c.mirror,y=c.tickMargin,v=d?-1:1,g=e.tickSize||h,m=$o(e.tickCoord)?e.tickCoord:e.coordinate;switch(p){case"top":t=r=e.coordinate,a=(n=(i=u+ +!d*f)-v*g)-v*y,o=m;break;case"left":n=i=e.coordinate,o=(t=(r=l+ +!d*s)-v*g)-v*y,a=m;break;case"right":n=i=e.coordinate,o=(t=(r=l+ +d*s)+v*g)+v*y,a=m;break;default:t=r=e.coordinate,a=(n=(i=u+ +d*f)+v*g)+v*y,o=m}return{line:{x1:t,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,r=t.orientation,n=t.mirror;switch(r){case"left":e=n?"start":"end";break;case"right":e=n?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,r=e.mirror,n="end";switch(t){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.orientation,a=e.mirror,c=e.axisLine,l=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:t,y1:r+u*i,x2:t+n,y2:r+u*i})}else{var s=+("left"===o&&!a||"right"===o&&a);l=pE(pE({},l),{},{x1:t+s*n,y1:r,x2:t+s*n,y2:r+i})}return G.createElement("line",sE({},l,{className:Yr("recharts-cartesian-axis-line",wo(c,"className"))}))}},{key:"renderTicks",value:function(e,r,n){var i=this,o=this.props,a=o.tickLine,c=o.stroke,l=o.tick,u=o.tickFormatter,s=o.unit,f=oE(pE(pE({},this.props),{},{ticks:e}),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(e,r){var n=i.getTickLineCoord(e),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:e,visibleTicksCount:f.length,tickFormatter:u});return G.createElement(Ma,sE({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},ta(i.props,e,r)),a&&G.createElement("line",sE({},v,o,{className:Yr("recharts-cartesian-axis-tick-line",wo(a,"className"))})),l&&t.renderTickItem(l,m,"".concat(Mn(u)?u(e.value,r):e.value).concat(s||"")))}));return G.createElement("g",{className:"recharts-cartesian-axis-ticks"},g)}},{key:"render",value:function(){var e=this,t=this.props,r=t.axisLine,n=t.width,i=t.height,o=t.ticksGenerator,a=t.className;if(t.hide)return null;var c=this.props,l=c.ticks,u=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(t){e.layerReference=t}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),tS.renderCallByParent(this.props))}}],i=[{key:"renderTickItem",value:function(e,t,r){return G.isValidElement(e)?G.cloneElement(e,t):Mn(e)?e(t):G.createElement(Ly,sE({},t,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&dE(r.prototype,n),i&&dE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();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(e){return SE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SE(e)}function jE(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function AE(){return AE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},AE.apply(this,arguments)}function PE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ME(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?PE(Object(r),!0).forEach((function(t){BE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):PE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function kE(e){return function(e){if(Array.isArray(e))return EE(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return EE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return EE(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function EE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function CE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,LE(n.key),n)}}function _E(e,t,r){return t=DE(t),function(e,t){if(t&&("object"===SE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return IE(e)}(e,TE()?Reflect.construct(t,r||[],DE(e).constructor):t.apply(e,r))}function TE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(TE=function(){return!!e})()}function DE(e){return DE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},DE(e)}function IE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NE(e,t){return NE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},NE(e,t)}function BE(e,t,r){return(t=LE(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function LE(e){var t=function(e,t){if("object"!=SE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=SE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==SE(t)?t:String(t)}var RE=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return BE(IE(e=_E(this,t,[].concat(n))),"state",{isAnimationFinished:!0,totalLength:0}),BE(IE(e),"generateSimpleStrokeDasharray",(function(e,t){return"".concat(t,"px ").concat(e-t,"px")})),BE(IE(e),"getStrokeDasharray",(function(r,n,i){var o=i.reduce((function(e,t){return e+t}));if(!o)return e.generateSimpleStrokeDasharray(n,r);for(var a=Math.floor(r/o),c=r%o,l=n-r,u=[],s=0,f=0;s<i.length;f+=i[s],++s)if(f+i[s]>c){u=[].concat(kE(i.slice(0,s)),[c-f]);break}var p=u.length%2==0?[0,l]:[l];return[].concat(kE(t.repeat(i,a)),kE(u),p).map((function(e){return"".concat(e,"px")})).join(", ")})),BE(IE(e),"id",Fo("recharts-line-")),BE(IE(e),"pathRef",(function(t){e.mainCurve=t})),BE(IE(e),"handleAnimationEnd",(function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()})),BE(IE(e),"handleAnimationStart",(function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&NE(e,t)}(t,Q),r=t,n=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.points,i=r.xAxis,o=r.yAxis,a=r.layout,c=fa(r.children,Jx);if(!c)return null;var l=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:sO(e.payload,t)}},u={clipPath:e?"url(#clipPath-".concat(t,")"):null};return G.createElement(Ma,u,c.map((function(e){return G.cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,dataPointFormatter:l})})))}},{key:"renderDots",value:function(e,r,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.dot,a=i.points,c=i.dataKey,l=va(this.props,!1),u=va(o,!0),s=a.map((function(e,r){var n=ME(ME(ME({key:"dot-".concat(r),r:3},l),u),{},{value:e.value,dataKey:c,cx:e.x,cy:e.y,index:r,payload:e.payload});return t.renderDotItem(o,n)})),f={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return G.createElement(Ma,AE({className:"recharts-line-dots",key:"dots"},f),s)}},{key:"renderCurveStatically",value:function(e,t,r,n){var i=this.props,o=i.type,a=i.layout,c=i.connectNulls;i.ref;var l=jE(i,OE),u=ME(ME(ME({},va(l,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(r,")"):null,points:e},n),{},{type:o,layout:a,connectNulls:c});return G.createElement(XS,AE({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var r=this,n=this.props,i=n.points,o=n.strokeDasharray,a=n.isAnimationActive,c=n.animationBegin,l=n.animationDuration,u=n.animationEasing,s=n.animationId,f=n.animateNewValues,p=n.width,h=n.height,d=this.state,y=d.prevPoints,v=d.totalLength;return 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(e,t){var r=Math.floor(t*c);if(y[r]){var n=y[r],i=Wo(n.x,e.x),o=Wo(n.y,e.y);return ME(ME({},e),{},{x:i(a),y:o(a)})}if(f){var l=Wo(2*p,e.x),u=Wo(h/2,e.y);return ME(ME({},e),{},{x:l(a),y:u(a)})}return ME(ME({},e),{},{x:e.x,y:e.y})}));return r.renderCurveStatically(l,e,t)}var u,s=Wo(0,v)(a);if(o){var d="".concat(o).split(/[,\s]+/gim).map((function(e){return parseFloat(e)}));u=r.getStrokeDasharray(s,v,d)}else u=r.generateSimpleStrokeDasharray(v,s);return r.renderCurveStatically(i,e,t,{strokeDasharray:u})}))}},{key:"renderCurve",value:function(e,t){var r=this.props,n=r.points,i=r.isAnimationActive,o=this.state,a=o.prevPoints,c=o.totalLength;return i&&n&&n.length&&(!a&&c>0||!Hw(a,n))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(n,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,n=t.dot,i=t.points,o=t.className,a=t.xAxis,c=t.yAxis,l=t.top,u=t.left,s=t.width,f=t.height,p=t.isAnimationActive,h=t.id;if(r||!i||!i.length)return null;var d=this.state.isAnimationFinished,y=1===i.length,v=Yr("recharts-line",o),g=a&&a.allowDataOverflow,m=c&&c.allowDataOverflow,b=g||m,w=xo(h)?this.id:h,x=null!==(e=va(n,!1))&&void 0!==e?e:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,A=void 0===j?2:j,P=(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(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var r=e.length%2!=0?[].concat(kE(e),[0]):e,n=[],i=0;i<t;++i)n=[].concat(kE(n),kE(r));return n}},{key:"renderDotItem",value:function(e,t){var r;if(G.isValidElement(e))r=G.cloneElement(e,t);else if(Mn(e))r=e(t);else{var n=Yr("recharts-line-dot",e?e.className:"");r=G.createElement(WA,AE({},t,{className:n}))}return r}}],n&&CE(r.prototype,n),i&&CE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();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(e){var t=e.props,r=e.xAxis,n=e.yAxis,i=e.xAxisTicks,o=e.yAxisTicks,a=e.dataKey,c=e.bandSize,l=e.displayedData,u=e.offset,s=t.layout;return ME({points:l.map((function(e,t){var l=sO(e,a);return"horizontal"===s?{x:OO({axis:r,ticks:i,bandSize:c,entry:e,index:t}),y:xo(l)?null:n.scale(l),value:l,payload:e}:{x:xo(l)?null:r.scale(l),y:OO({axis:n,ticks:o,bandSize:c,entry:e,index:t}),value:l,payload:e}})),layout:s},u)}));var zE,$E=["layout","type","stroke","connectNulls","isRange","ref"];function HE(e){return HE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},HE(e)}function VE(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function FE(){return FE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},FE.apply(this,arguments)}function UE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?UE(Object(r),!0).forEach((function(t){JE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):UE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function WE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,QE(n.key),n)}}function YE(e,t,r){return t=KE(t),function(e,t){if(t&&("object"===HE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return GE(e)}(e,XE()?Reflect.construct(t,r||[],KE(e).constructor):t.apply(e,r))}function XE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(XE=function(){return!!e})()}function KE(e){return KE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},KE(e)}function GE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZE(e,t){return ZE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZE(e,t)}function JE(e,t,r){return(t=QE(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QE(e){var t=function(e,t){if("object"!=HE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=HE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==HE(t)?t:String(t)}var eC=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return JE(GE(e=YE(this,t,[].concat(n))),"state",{isAnimationFinished:!0}),JE(GE(e),"id",Fo("recharts-area-")),JE(GE(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),Mn(t)&&t()})),JE(GE(e),"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),Mn(t)&&t()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZE(e,t)}(t,Q),r=t,n=[{key:"renderDots",value:function(e,r,n){var i=this.props.isAnimationActive,o=this.state.isAnimationFinished;if(i&&!o)return null;var a=this.props,c=a.dot,l=a.points,u=a.dataKey,s=va(this.props,!1),f=va(c,!0),p=l.map((function(e,r){var n=qE(qE(qE({key:"dot-".concat(r),r:3},s),f),{},{dataKey:u,cx:e.x,cy:e.y,index:r,value:e.value,payload:e.payload});return t.renderDotItem(c,n)})),h={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return G.createElement(Ma,FE({className:"recharts-area-dots"},h),p)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,r=t.baseLine,n=t.points,i=t.strokeWidth,o=n[0].x,a=n[n.length-1].x,c=e*Math.abs(o-a),l=Pw(n.map((function(e){return e.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(e){return e.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(e){var t=this.props,r=t.baseLine,n=t.points,i=t.strokeWidth,o=n[0].y,a=n[n.length-1].y,c=e*Math.abs(o-a),l=Pw(n.map((function(e){return e.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(e){return e.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(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,r,n){var i=this.props,o=i.layout,a=i.type,c=i.stroke,l=i.connectNulls,u=i.isRange;i.ref;var s=VE(i,$E);return G.createElement(Ma,{clipPath:r?"url(#clipPath-".concat(n,")"):null},G.createElement(XS,FE({},va(s,!0),{points:e,connectNulls:l,type:a,baseLine:t,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:e})),"none"!==c&&u&&G.createElement(XS,FE({},va(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var r=this,n=this.props,i=n.points,o=n.baseLine,a=n.isAnimationActive,c=n.animationBegin,l=n.animationDuration,u=n.animationEasing,s=n.animationId,f=this.state,p=f.prevPoints,h=f.prevBaseLine;return 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(e,t){var r=Math.floor(t*l);if(p[r]){var n=p[r],i=Wo(n.x,e.x),o=Wo(n.y,e.y);return qE(qE({},e),{},{x:i(a),y:o(a)})}return e}));return c=$o(o)&&"number"==typeof o?Wo(h,o)(a):xo(o)||Lo(o)?Wo(h,0)(a):o.map((function(e,t){var r=Math.floor(t*l);if(h[r]){var n=h[r],i=Wo(n.x,e.x),o=Wo(n.y,e.y);return qE(qE({},e),{},{x:i(a),y:o(a)})}return e})),r.renderAreaStatically(u,c,e,t)}return G.createElement(Ma,null,G.createElement("defs",null,G.createElement("clipPath",{id:"animationClipPath-".concat(t)},r.renderClipRect(a))),G.createElement(Ma,{clipPath:"url(#animationClipPath-".concat(t,")")},r.renderAreaStatically(i,o,e,t)))}))}},{key:"renderArea",value:function(e,t){var r=this.props,n=r.points,i=r.baseLine,o=r.isAnimationActive,a=this.state,c=a.prevPoints,l=a.prevBaseLine,u=a.totalLength;return o&&n&&n.length&&(!c&&u>0||!Hw(c,n)||!Hw(l,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(n,i,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,n=t.dot,i=t.points,o=t.className,a=t.top,c=t.left,l=t.xAxis,u=t.yAxis,s=t.width,f=t.height,p=t.isAnimationActive,h=t.id;if(r||!i||!i.length)return null;var d=this.state.isAnimationFinished,y=1===i.length,v=Yr("recharts-area",o),g=l&&l.allowDataOverflow,m=u&&u.allowDataOverflow,b=g||m,w=xo(h)?this.id:h,x=null!==(e=va(n,!1))&&void 0!==e?e:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,A=void 0===j?2:j,P=(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(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],n&&WE(r.prototype,n),i&&WE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();function tC(){return tC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tC.apply(this,arguments)}zE=eC,JE(eC,"displayName","Area"),JE(eC,"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(eC,"getBaseValue",(function(e,t,r,n){var i=e.layout,o=e.baseValue,a=t.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(eC,"getComposedData",(function(e){var t,r=e.props,n=e.item,i=e.xAxis,o=e.yAxis,a=e.xAxisTicks,c=e.yAxisTicks,l=e.bandSize,u=e.dataKey,s=e.stackedData,f=e.dataStartIndex,p=e.displayedData,h=e.offset,d=r.layout,y=s&&s.length,v=zE.getBaseValue(r,n,i,o),g="horizontal"===d,m=!1,b=p.map((function(e,t){var r;y?r=s[f+t]:(r=sO(e,u),Array.isArray(r)?m=!0:r=[v,r]);var n=null==r[1]||y&&null==sO(e,u);return g?{x:OO({axis:i,ticks:a,bandSize:l,entry:e,index:t}),y:n?null:o.scale(r[1]),value:r,payload:e}:{x:n?null:i.scale(r[1]),y:OO({axis:o,ticks:c,bandSize:l,entry:e,index:t}),value:r,payload:e}}));return t=y||m?b.map((function(e){var t=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:null!=t&&null!=e.y?o.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}})):g?o.scale(v):i.scale(v),qE({points:b,baseLine:t,layout:d,isRange:m},h)})),JE(eC,"renderDotItem",(function(e,t){return G.isValidElement(e)?G.cloneElement(e,t):Mn(e)?e(t):G.createElement(WA,FE({},t,{className:"recharts-area-dot"}))}));var rC=function(e){var t=e.xAxisId,r=_k(),n=Tk(),i=Ek(t);return null==i?null:G.createElement(xE,tC({},i,{className:Yr("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(e){return vO(e,!0)}}))};function nC(){return nC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nC.apply(this,arguments)}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(e){var t=e.yAxisId,r=_k(),n=Tk(),i=Ck(t);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(e){return vO(e,!0)}}))};function oC(e){return function(e){if(Array.isArray(e))return aC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return aC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return aC(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}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(e,t,r,n,i){var o=fa(e,$k),a=fa(e,Wk),c=[].concat(oC(o),oC(a)),l=fa(e,Jk),u="".concat(n,"Id"),s=n[0],f=t;if(c.length&&(f=c.reduce((function(e,t){if(t.props[u]===r&&wM(t.props,"extendDomain")&&$o(t.props[s])){var n=t.props[s];return[Math.min(e[0],n),Math.max(e[1],n)]}return e}),f)),l.length){var p="".concat(s,"1"),h="".concat(s,"2");f=l.reduce((function(e,t){if(t.props[u]===r&&wM(t.props,"extendDomain")&&$o(t.props[p])&&$o(t.props[h])){var n=t.props[p],i=t.props[h];return[Math.min(e[0],n,i),Math.max(e[1],n,i)]}return e}),f)}return i&&i.length&&(f=i.reduce((function(e,t){return $o(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),f)),f},lC={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,n,o,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var c=new i(n,o||e,a),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],c]:e._events[l].push(c):(e._events[l]=c,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function c(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),c.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=new Array(o);i<o;i++)a[i]=n[i].fn;return a},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,o,a){var c=r?r+e:e;if(!this._events[c])return!1;var l,u,s=this._events[c],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(e,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,t),!0;case 3:return s.fn.call(s.context,t,n),!0;case 4:return s.fn.call(s.context,t,n,i),!0;case 5:return s.fn.call(s.context,t,n,i,o),!0;case 6:return s.fn.call(s.context,t,n,i,o,a),!0}for(u=1,l=new Array(f-1);u<f;u++)l[u-1]=arguments[u];s.fn.apply(s.context,l)}else{var p,h=s.length;for(u=0;u<h;u++)switch(s[u].once&&this.removeListener(e,s[u].fn,void 0,!0),f){case 1:s[u].fn.call(s[u].context);break;case 2:s[u].fn.call(s[u].context,t);break;case 3:s[u].fn.call(s[u].context,t,n);break;case 4:s[u].fn.call(s[u].context,t,n,i);break;default:if(!l)for(p=1,l=new Array(f-1);p<f;p++)l[p-1]=arguments[p];s[u].fn.apply(s[u].context,l)}}return!0},c.prototype.on=function(e,t,r){return o(this,e,t,r,!1)},c.prototype.once=function(e,t,r){return o(this,e,t,r,!0)},c.prototype.removeListener=function(e,t,n,i){var o=r?r+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var c=this._events[o];if(c.fn)c.fn!==t||i&&!c.once||n&&c.context!==n||a(this,o);else{for(var l=0,u=[],s=c.length;l<s;l++)(c[l].fn!==t||i&&!c[l].once||n&&c[l].context!==n)&&u.push(c[l]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&a(this,t)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,e.exports=c}(lC);var uC=new(Vt(lC.exports)),sC="recharts.syncMouseEvents";function fC(e){return fC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fC(e)}function pC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,dC(n.key),n)}}function hC(e,t,r){return(t=dC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dC(e){var t=function(e,t){if("object"!=fC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=fC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fC(t)?t:String(t)}var yC=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),hC(this,"activeIndex",0),hC(this,"coordinateList",[]),hC(this,"layout","horizontal")}var t,r,n;return t=e,r=[{key:"setDetails",value:function(e){var t,r=e.coordinateList,n=void 0===r?null:r,i=e.container,o=void 0===i?null:i,a=e.layout,c=void 0===a?null:a,l=e.offset,u=void 0===l?null:l,s=e.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(t=null!=n?n:this.coordinateList)&&void 0!==t?t:[],this.container=null!=o?o:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=u?u:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,l=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,u=n+a+c,s=i+this.offset.top+o/2+l;this.mouseHandlerCallback({pageX:u,pageY:s})}}}],r&&pC(t.prototype,r),n&&pC(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function vC(e){var t=e.cx,r=e.cy,n=e.radius,i=e.startAngle,o=e.endAngle;return{points:[LO(t,r,n,i),LO(t,r,n,o)],cx:t,cy:r,radius:n,startAngle:i,endAngle:o}}function gC(e,t,r){var n,i,o,a;if("horizontal"===e)o=n=t.x,i=r.top,a=r.top+r.height;else if("vertical"===e)a=i=t.y,n=r.left,o=r.left+r.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return vC(t);var c=t.cx,l=t.cy,u=t.innerRadius,s=t.outerRadius,f=t.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(e){return mC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mC(e)}function bC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bC(Object(r),!0).forEach((function(t){xC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xC(e,t,r){return t=function(e){var t=function(e,t){if("object"!=mC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=mC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mC(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OC(e){var t,r=e.element,n=e.tooltipEventType,i=e.isActive,o=e.activeCoordinate,a=e.activePayload,c=e.offset,l=e.activeTooltipIndex,u=e.tooltipAxisBandSize,s=e.layout,f=e.chartName;if(!r||!r.props.cursor||!i||!o||"ScatterChart"!==f&&"axis"!==n)return null;var p=XS;if("ScatterChart"===f)t=o,p=eP;else if("BarChart"===f)t=function(e,t,r,n){var i=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-i:r.left+.5,y:"horizontal"===e?r.top+.5:t.y-i,width:"horizontal"===e?n:r.width-1,height:"horizontal"===e?r.height-1:n}}(s,o,c,u),p=UA;else if("radial"===s){var h=vC(o),d=h.cx,y=h.cy,v=h.radius;t={cx:d,cy:y,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:v,outerRadius:v},p=AS}else t={points:gC(s,o,c)},p=XS;var g=wC(wC(wC(wC({stroke:"#ccc",pointerEvents:"none"},c),t),va(r.props.cursor,!1)),{},{payload:a,payloadIndex:l,className:"recharts-tooltip-cursor"});return Z(r.props.cursor)?ce(r.props.cursor,g):le(p,g)}var SC=["item"],jC=["children","className","width","height","style","compact","title","desc"];function AC(e){return AC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},AC(e)}function PC(){return PC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},PC.apply(this,arguments)}function MC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||BC(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 kC(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function EC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,HC(n.key),n)}}function CC(e,t,r){return t=TC(t),function(e,t){if(t&&("object"===AC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return DC(e)}(e,_C()?Reflect.construct(t,r||[],TC(e).constructor):t.apply(e,r))}function _C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_C=function(){return!!e})()}function TC(e){return TC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},TC(e)}function DC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IC(e,t){return IC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},IC(e,t)}function NC(e){return function(e){if(Array.isArray(e))return LC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||BC(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function BC(e,t){if(e){if("string"==typeof e)return LC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?LC(e,t):void 0}}function LC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function RC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function zC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?RC(Object(r),!0).forEach((function(t){$C(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):RC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $C(e,t,r){return(t=HC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function HC(e){var t=function(e,t){if("object"!=AC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=AC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==AC(t)?t:String(t)}var VC={xAxis:["bottom","top"],yAxis:["left","right"]},FC={width:"100%",height:"100%"},UC={x:0,y:0};function qC(e){return e}var WC=function(e,t){var r=t.graphicalItems,n=t.dataStartIndex,i=t.dataEndIndex,o=(null!=r?r:[]).reduce((function(e,t){var r=t.props.data;return r&&r.length?[].concat(NC(e),NC(r)):e}),[]);return o.length>0?o:e&&e.length&&$o(n)&&$o(i)?e.slice(n,i+1):[]};function YC(e){return"number"===e?[0,"auto"]:void 0}var XC=function(e,t,r,n){var i=e.graphicalItems,o=e.tooltipAxis,a=WC(t,e);return r<0||!i||!i.length||r>=a.length?null:i.reduce((function(i,c){var l,u,s=null!==(l=c.props.data)&&void 0!==l?l:t;(s&&e.dataStartIndex+e.dataEndIndex!==0&&(s=s.slice(e.dataStartIndex,e.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory)?u=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(e,t,r,n){var i=n||{x:e.chartX,y:e.chartY},o=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(i,r),a=e.orderedTooltipTicks,c=e.tooltipAxis,l=e.tooltipTicks,u=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var c=i.range,l=0;l<a;l++){var u=l>0?n[l-1].coordinate:n[a-1].coordinate,s=n[l].coordinate,f=l>=a-1?n[0].coordinate:n[l+1].coordinate,p=void 0;if(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(e>v[0]&&e<=v[1]||e>=h[0]&&e<=h[1]){o=n[l].index;break}}else{var g=Math.min(u,f),m=Math.max(u,f);if(e>(g+s)/2&&e<=(m+s)/2){o=n[l].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){o=r[b].index;break}return o}(o,a,l,c);if(u>=0&&l){var s=l[u]&&l[u].value,f=XC(e,t,u,s),p=function(e,t,r,n){var i=t.find((function(e){return e&&e.index===r}));if(i){if("horizontal"===e)return{x:i.coordinate,y:n.y};if("vertical"===e)return{x:n.x,y:i.coordinate};if("centric"===e){var o=i.coordinate,a=n.radius;return 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(e,t){var r=t.axes,n=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,s=e.children,f=e.stackOffset,p=yO(u,i);return r.reduce((function(t,r){var h,d=r.props,y=d.type,v=d.dataKey,g=d.allowDataOverflow,m=d.allowDuplicatedCategory,b=d.scale,w=d.ticks,x=d.includeHidden,O=r.props[o];if(t[O])return t;var S,j,A,P=WC(e.data,{graphicalItems:n.filter((function(e){return e.props[o]===O})),dataStartIndex:c,dataEndIndex:l}),M=P.length;(function(e,t,r){if("number"===r&&!0===t&&Array.isArray(e)){var n=null==e?void 0:e[0],i=null==e?void 0:e[1];if(n&&i&&$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(e){if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++){if(r[e[n]])return!0;r[e[n]]=!0}return!1}(S);m&&_?(j=S,S=YP(0,M)):m||(S=EO(C,S,r).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(NC(e),[t])}),[]))}else if("category"===y)S=m?S.filter((function(e){return""!==e&&!xo(e)})):EO(C,S,r).reduce((function(e,t){return e.indexOf(t)>=0||""===t||xo(t)?e:[].concat(NC(e),[t])}),[]);else if("number"===y){var T=function(e,t,r,n,i){var o=t.map((function(t){return hO(e,t,r,i,n)})).filter((function(e){return!xo(e)}));return o&&o.length?o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(P,n.filter((function(e){return e.props[o]===O&&(x||!e.props.hide)})),v,i,u);T&&(S=T)}!p||"number"!==y&&"auto"===b||(A=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(e){return e.props[o]===O&&(x||!e.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(e){return D.indexOf(e)>=0}))&&(S=D)}}return zC(zC({},t),{},$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(e,t){var r=t.axisType,n=void 0===r?"xAxis":r,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.children,s="".concat(n,"Id"),f=fa(u,i),p={};return f&&f.length?p=GC(e,{axes:f,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l}):o&&o.length&&(p=function(e,t){var r=t.graphicalItems,n=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,s=e.children,f=WC(e.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:l}),p=f.length,h=yO(u,i),d=-1;return r.reduce((function(e,t){var y,v=t.props[o],g=YC("number");return e[v]?e:(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(e){return e.props[o]===v&&!e.props.hide})),"number",u),n.defaultProps.allowDataOverflow),y=cC(s,y,v,i)),zC(zC({},e),{},$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}))))}),{})}(e,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l})),p},JC=function(e){var t=e.children,r=e.defaultShowTooltip,n=pa(t,pM),i=0,o=0;return e.data&&0!==e.data.length&&(o=e.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(i=n.props.startIndex),n.props.endIndex>=0&&(o=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:Boolean(r)}},QC=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},e_=function(e,t){var r=e.props,n=(e.graphicalItems,e.xAxisMap),i=void 0===n?{}:n,o=e.yAxisMap,a=void 0===o?{}:o,c=r.width,l=r.height,u=r.children,s=r.margin||{},f=pa(u,pM),p=pa(u,Rp),h=Object.keys(a).reduce((function(e,t){var r=a[t],n=r.orientation;return r.mirror||r.hide?e:zC(zC({},e),{},$C({},n,e[n]+r.width))}),{left:s.left||0,right:s.right||0}),d=Object.keys(i).reduce((function(e,t){var r=i[t],n=r.orientation;return r.mirror||r.hide?e:zC(zC({},e),{},$C({},n,wo(e,"".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&&t&&(y=function(e,t,r,n){var i=r.children,o=r.width,a=r.margin,c=o-(a.left||0)-(a.right||0),l=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(e[p]))return aO(aO({},e),{},cO({},p,e[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&$o(e[h]))return aO(aO({},e),{},cO({},h,e[h]+(f||0)))}return e}(y,0,r,t));var g=c-y.left-y.right,m=l-y.top-y.bottom;return zC(zC({brushBottom:v},y),{},{width:Math.max(g,0),height:Math.max(m,0)})},t_=function(e){var t,r=e.chartName,n=e.GraphicalChild,i=e.defaultTooltipEventType,o=void 0===i?"axis":i,a=e.validateTooltipEventTypes,c=void 0===a?["axis"]:a,l=e.axisComponents,u=e.legendContent,s=e.formatAxisMap,f=e.defaultProps,p=function(e,t){var r=t.graphicalItems,n=t.stackGroups,i=t.offset,o=t.updateId,a=t.dataStartIndex,c=t.dataEndIndex,u=e.barSize,s=e.layout,f=e.barGap,p=e.barCategoryGap,h=e.maxBarSize,d=QC(s),y=d.numericAxisName,v=d.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=ca(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(r),m=g&&function(e){var t=e.barSize,r=e.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(e){return ca(e.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)?t:v})}}return i}({barSize:u,stackGroups:n}),b=[];return r.forEach((function(r,u){var d=WC(e.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(e,n){var i,o,a=t["".concat(n.axisType,"Map")],c=r.props["".concat(n.axisType,"Id")];a&&a[c]||"zAxis"===n.axisType||("production"!==process.env.NODE_ENV?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({},e),{},$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(e,t){var r=e.props.stackId;if(Ho(r)){var n=t[r];if(n){var i=n.items.indexOf(e);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(e){var t=e.barGap,r=e.barCategoryGap,n=e.bandSize,i=e.sizeList,o=void 0===i?[]:i,a=e.maxBarSize,c=o.length;if(c<1)return null;var l,u=Uo(t,n,0,!0),s=[];if(o[0].barSize===+o[0].barSize){var f=!1,p=n/c,h=o.reduce((function(e,t){return e+t.barSize||0}),0);(h+=(c-1)*u)>=n&&(h-=(c-1)*u,u=0),h>=n&&p>0&&(f=!0,h=c*(p*=.9));var d={offset:((n-h)/2>>0)-u,size:0};l=o.reduce((function(e,t){var r={item:t.item,position:{offset:d.offset+d.size+u,size:f?p:t.barSize}},n=[].concat(lO(e),[r]);return d=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:d})})),n}),s)}else{var y=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(e,t,r){var n=[].concat(lO(e),[{item:t.item,position:{offset:y+(v+u)*r+(v-g)/2,size:g}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:n[n.length-1].position})})),n}),s)}return l}({barGap:f,barCategoryGap:p,bandSize:I!==E?I:E,sizeList:m[S],maxBarSize:D}),I!==E&&(C=C.map((function(e){return zC(zC({},e),{},{position:zC(zC({},e.position),{},{offset:e.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:e,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=e.children,sa(B).indexOf(N)),item:r})})),b},h=function(e,t){var i=e.props,o=e.dataStartIndex,a=e.dataEndIndex,c=e.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(e,t,r,n,i,o){if(!e)return null;var a=(o?t.reverse():t).reduce((function(e,t){var i=t.props,o=i.stackId;if(i.hide)return e;var a=t.props[r],c=e[a]||{hasStack:!1,stackGroups:{}};if(Ho(o)){var l=c.stackGroups[o]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(t),c.hasStack=!0,c.stackGroups[o]=l}else c.stackGroups[Fo("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[t]};return aO(aO({},e),{},cO({},a,c))}),{});return Object.keys(a).reduce((function(t,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(t,o){var a=c.stackGroups[o];return aO(aO({},t),{},cO({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:xO(e,a.items,i)}))}),{})),aO(aO({},t),{},cO({},o,c))}),{})}(d,b,"".concat(g,"Id"),"".concat(m,"Id"),h,y),x=l.reduce((function(e,t){var r="".concat(t.axisType,"Map");return zC(zC({},e),{},$C({},r,ZC(i,zC(zC({},t),{},{graphicalItems:b,stackGroups:t.axisType===g&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),O=e_(zC(zC({},x),{},{props:i,graphicalItems:b}),null==t?void 0:t.legendBBox);Object.keys(x).forEach((function(e){x[e]=s(i,x[e],O,e.replace("Map",""),r)}));var S,j,A=x["".concat(m,"Map")],P=(S=qo(A),{tooltipTicks:j=vO(S,!1,!0),orderedTooltipTicks:Lh(j,(function(e){return e.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 t=function(e){function t(e){var n,i,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),$C(DC(o=CC(this,t,[e])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),$C(DC(o),"accessibilityManager",new yC),$C(DC(o),"handleLegendBBoxUpdate",(function(e){if(e){var t=o.state,r=t.dataStartIndex,n=t.dataEndIndex,i=t.updateId;o.setState(zC({legendBBox:e},h({props:o.props,dataStartIndex:r,dataEndIndex:n,updateId:i},zC(zC({},o.state),{},{legendBBox:e}))))}})),$C(DC(o),"handleReceiveSyncEvent",(function(e,t,r){if(o.props.syncId===e){if(r===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(t)}})),$C(DC(o),"handleBrushChange",(function(e){var t=e.startIndex,r=e.endIndex;if(t!==o.state.dataStartIndex||r!==o.state.dataEndIndex){var n=o.state.updateId;o.setState((function(){return zC({dataStartIndex:t,dataEndIndex:r},h({props:o.props,dataStartIndex:t,dataEndIndex:r,updateId:n},o.state))})),o.triggerSyncEvent({dataStartIndex:t,dataEndIndex:r})}})),$C(DC(o),"handleMouseEnter",(function(e){var t=o.getMouseInfo(e);if(t){var r=zC(zC({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseEnter;Mn(n)&&n(r,e)}})),$C(DC(o),"triggeredAfterMouseMove",(function(e){var t=o.getMouseInfo(e),r=t?zC(zC({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseMove;Mn(n)&&n(r,e)})),$C(DC(o),"handleItemMouseEnter",(function(e){o.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))})),$C(DC(o),"handleItemMouseLeave",(function(){o.setState((function(){return{isTooltipActive:!1}}))})),$C(DC(o),"handleMouseMove",(function(e){e.persist(),o.throttleTriggeredAfterMouseMove(e)})),$C(DC(o),"handleMouseLeave",(function(e){o.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};o.setState(t),o.triggerSyncEvent(t);var r=o.props.onMouseLeave;Mn(r)&&r(t,e)})),$C(DC(o),"handleOuterEvent",(function(e){var t,r=function(e){var t=e&&e.type;return t&&aa[t]?aa[t]:null}(e),n=wo(o.props,"".concat(r));r&&Mn(n)&&n(null!==(t=/.*touch.*/i.test(r)?o.getMouseInfo(e.changedTouches[0]):o.getMouseInfo(e))&&void 0!==t?t:{},e)})),$C(DC(o),"handleClick",(function(e){var t=o.getMouseInfo(e);if(t){var r=zC(zC({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onClick;Mn(n)&&n(r,e)}})),$C(DC(o),"handleMouseDown",(function(e){var t=o.props.onMouseDown;Mn(t)&&t(o.getMouseInfo(e),e)})),$C(DC(o),"handleMouseUp",(function(e){var t=o.props.onMouseUp;Mn(t)&&t(o.getMouseInfo(e),e)})),$C(DC(o),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(e.changedTouches[0])})),$C(DC(o),"handleTouchStart",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseDown(e.changedTouches[0])})),$C(DC(o),"handleTouchEnd",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseUp(e.changedTouches[0])})),$C(DC(o),"triggerSyncEvent",(function(e){void 0!==o.props.syncId&&uC.emit(sC,o.props.syncId,e,o.eventEmitterSymbol)})),$C(DC(o),"applySyncEvent",(function(e){var t=o.props,r=t.layout,n=t.syncMethod,i=o.state.updateId,a=e.dataStartIndex,c=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)o.setState(zC({dataStartIndex:a,dataEndIndex:c},h({props:o.props,dataStartIndex:a,dataEndIndex:c,updateId:i},o.state)));else if(void 0!==e.activeTooltipIndex){var l=e.chartX,u=e.chartY,s=e.activeTooltipIndex,f=o.state,p=f.offset,d=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(d,e);else if("value"===n){s=-1;for(var y=0;y<d.length;y++)if(d[y].value===e.activeLabel){s=y;break}}var v=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({},e),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else o.setState(e)})),$C(DC(o),"renderCursor",(function(e){var t,n=o.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,l=n.offset,u=n.activeTooltipIndex,s=n.tooltipAxisBandSize,f=o.getTooltipEventType(),p=null!==(t=e.props.active)&&void 0!==t?t:i,h=o.props.layout,d=e.key||"_recharts-cursor";return G.createElement(OC,{key:d,activeCoordinate:a,activePayload:c,activeTooltipIndex:u,chartName:r,element:e,isActive:p,layout:h,offset:l,tooltipAxisBandSize:s,tooltipEventType:f})})),$C(DC(o),"renderPolarAxis",(function(e,t,r){var n=wo(e,"type.axisType"),i=wo(o.state,"".concat(n,"Map")),a=i&&i[e.props["".concat(n,"Id")]];return ce(e,zC(zC({},a),{},{className:n,key:e.key||"".concat(t,"-").concat(r),ticks:vO(a,!0)}))})),$C(DC(o),"renderPolarGrid",(function(e){var t=e.props,r=t.radialLines,n=t.polarAngles,i=t.polarRadius,a=o.state,c=a.radiusAxisMap,l=a.angleAxisMap,u=qo(c),s=qo(l),f=s.cx,p=s.cy,h=s.innerRadius,d=s.outerRadius;return ce(e,{polarAngles:Array.isArray(n)?n:vO(s,!0).map((function(e){return e.coordinate})),polarRadius:Array.isArray(i)?i:vO(u,!0).map((function(e){return e.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:d,key:e.key||"polar-grid",radialLines:r})})),$C(DC(o),"renderLegend",(function(){var e=o.state.formattedGraphicalItems,t=o.props,r=t.children,n=t.width,i=t.height,a=o.props.margin||{},c=n-(a.left||0)-(a.right||0),l=nO({children:r,formattedGraphicalItems:e,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=kC(l,SC);return ce(s,zC(zC({},f),{},{chartWidth:n,chartHeight:i,margin:a,onBBoxUpdate:o.handleLegendBBoxUpdate}))})),$C(DC(o),"renderTooltip",(function(){var e,t=o.props,r=t.children,n=t.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!==(e=i.props.active)&&void 0!==e?e:c;return ce(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(e){var t=o.props,r=t.margin,n=t.data,i=o.state,a=i.offset,c=i.dataStartIndex,l=i.dataEndIndex,u=i.updateId;return ce(e,{key:e.key||"_recharts-brush",onChange:mO(o.handleBrushChange,e.props.onChange),data:n,x:$o(e.props.x)?e.props.x:a.left,y:$o(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:$o(e.props.width)?e.props.width:a.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})})),$C(DC(o),"renderReferenceElement",(function(e,t,r){if(!e)return null;var n=DC(o).clipPathId,i=o.state,a=i.xAxisMap,c=i.yAxisMap,l=i.offset,u=e.props,s=u.xAxisId,f=u.yAxisId;return ce(e,{key:e.key||"".concat(t,"-").concat(r),xAxis:a[s],yAxis:c[f],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:n})})),$C(DC(o),"renderActivePoints",(function(e){var r=e.item,n=e.activePoint,i=e.basePoint,o=e.childIndex,a=e.isRange,c=[],l=r.props.key,u=r.item.props,s=u.activeDot,f=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)),ea(s));return c.push(t.renderActiveDot(s,f)),i?c.push(t.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(e,t,r){var n=o.filterFormatItem(e,t,r);if(!n)return null;var i=o.getTooltipEventType(),a=o.state,c=a.isTooltipActive,l=a.tooltipAxis,u=a.activeTooltipIndex,s=a.activeLabel,f=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,e.props.onClick)}:"axis"!==i&&(O={onMouseLeave:mO(o.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:mO(o.handleItemMouseEnter,e.props.onMouseEnter)});var S=ce(e,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?e:P,k=A.childIndex,E=zC(zC(zC({},n.props),O),{},{activeIndex:k});return[ce(M,E),null,null]}var C,_;if(l.dataKey&&!l.allowDuplicatedCategory){var T="function"==typeof l.dataKey?function(e){return"function"==typeof l.dataKey?l.dataKey(e.payload):null}:"payload.".concat(l.dataKey.toString());C=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!==e.props.activeIndex?e.props.activeIndex:u;return[ce(e,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(e,t,r){return ce(e,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=e.id)&&void 0!==n?n:Fo("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=Wd(o.triggeredAfterMouseMove,null!==(i=e.throttleDelay)&&void 0!==i?i:1e3/60),o.state={},o}var n,i,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&IC(e,t)}(t,fe),n=t,i=[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,r=e.data,n=e.height,i=e.layout,o=pa(t,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(e){return"Scatter"===e.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(e,t){return this.props.accessibilityLayer?(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}}),null):null;var r,n}},{key:"componentDidUpdate",value:function(e){ga([pa(e.children,Sd)],[pa(this.props.children,Sd)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=pa(this.props.children,Sd);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return c.indexOf(t)>=0?t:o}return o}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,r=this.container,n=r.getBoundingClientRect(),i={top:(t=n).top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft},o={chartX:Math.round(e.pageX-i.left),chartY:Math.round(e.pageY-i.top)},a=n.width/r.offsetWidth||1,c=this.inRange(o.chartX,o.chartY,a);if(!c)return null;var l=this.state,u=l.xAxisMap,s=l.yAxisMap;if("axis"!==this.getTooltipEventType()&&u&&s){var f=qo(u).scale,p=qo(s).scale,h=f&&f.invert?f.invert(o.chartX):null,d=p&&p.invert?p.invert(o.chartY):null;return 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(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,i=e/r,o=t/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var c=this.state,l=c.angleAxisMap,u=c.radiusAxisMap;if(l&&u){var s=qo(l);return $O({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),r=pa(e,Sd),n={};return r&&"axis"===t&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),zC(zC({},ea(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(e,t,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===e||a.props.key===e.key||t===ca(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,r=t.left,n=t.top,i=t.height,o=t.width;return G.createElement("defs",null,G.createElement("clipPath",{id:e},G.createElement("rect",{x:r,y:n,height:i,width:o})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=MC(t,2),n=r[0],i=r[1];return zC(zC({},e),{},$C({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=MC(t,2),n=r[0],i=r[1];return zC(zC({},e),{},$C({},n,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,r=t.formattedGraphicalItems,n=t.activeItem;if(r&&r.length)for(var i=0,o=r.length;i<o;i++){var a=r[i],c=a.props,l=a.item,u=ca(l.type);if("Bar"===u){var s=(c.data||[]).find((function(t){return VA(e,t)}));if(s)return{graphicalItem:a,payload:s}}else if("RadialBar"===u){var f=(c.data||[]).find((function(t){return $O(e,t)}));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 e,t=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(e){t.accessibilityManager.keyboardEvent(e)},d.onFocus=function(){t.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(e){t.container=e},role:null!==(e=d.role)&&void 0!==e?e:"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}),t}(),$C(t,"displayName",r),$C(t,"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(t,"getDerivedStateFromProps",(function(e,t){var r=e.dataKey,n=e.data,i=e.children,o=e.width,a=e.height,c=e.layout,l=e.stackOffset,u=e.margin,s=t.dataStartIndex,f=t.dataEndIndex;if(void 0===t.updateId){var p=JC(e);return zC(zC(zC({},p),{},{updateId:0},h(zC(zC({props:e},p),{},{updateId:0}),t)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(r!==t.prevDataKey||n!==t.prevData||o!==t.prevWidth||a!==t.prevHeight||c!==t.prevLayout||l!==t.prevStackOffset||!Xo(u,t.prevMargin)){var d=JC(e),y={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},v=zC(zC({},KC(t,n,c)),{},{updateId:t.updateId+1}),g=zC(zC(zC({},d),y),v);return zC(zC(zC({},g),h(zC({props:e},g),t)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(!ga(i,t.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?t.updateId:t.updateId+1;return zC(zC({updateId:P},h(zC(zC({props:e},t),{},{updateId:P,dataStartIndex:S,dataEndIndex:j}),t)),{},{prevChildren:i,dataStartIndex:S,dataEndIndex:j})}return null})),$C(t,"renderActiveDot",(function(e,t){var r;return r=Z(e)?ce(e,t):Mn(e)?e(t):G.createElement(WA,t),G.createElement(Ma,{className:"recharts-active-dot",key:t.key},r)})),t},r_=t_({chartName:"LineChart",GraphicalChild:RE,axisComponents:[{axisType:"xAxis",AxisComp:rC},{axisType:"yAxis",AxisComp:iC}],formatAxisMap:hk}),n_=t_({chartName:"AreaChart",GraphicalChild:eC,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((e=>({...e,[n]:Number(e[n])||0})))):(g=ur.coolElegance(),v=[{[n]:1},{[n]:1}]);const m={cursor:c&&y?.length?"crosshair":"default",...p};return t(Qd,{width:i,minHeight:o,children:e(n_,{data:v,margin:{top:20,right:0,left:0,bottom:20},style:m,children:[t("defs",{children:e("linearGradient",{id:d,x1:"0",y1:"0",x2:"0",y2:"1",children:[t("stop",{offset:"5%",stopColor:g,stopOpacity:.8}),t("stop",{offset:"95%",stopColor:g,stopOpacity:0})]})}),t(iC,{domain:y?.length?["dataMin","dataMax"]:[0,2],hide:!0}),t(eC,{type:a,dataKey:n,stroke:g,fill:`url(#${d})`,isAnimationActive:l}),y?.length&&c&&t(Sd,{cursor:!1,formatter:u,labelFormatter:s})]})})},o_=()=>{const e=l({ssr:!1});return t(u,{children:t(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:e})})},a_=({children:e,...r})=>t(f,{border:"solid 1px",borderColor:ur.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:e}),c_=({isSelected:e,children:r,...n})=>t(p,{paddingX:"1",fontSize:"sm",color:e?"brand.500":ur.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:e?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),l_=({children:e,...r})=>t(h,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:ur.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:e}),u_=r=>{const{carouselContents:n,isNavVertical:i,...o}=r,[a,c]=ne(0);return n.length>=1&&t(l_,{children:e(d,{gap:10,direction:i?"column":{base:"column",md:"row"},...o,children:[n[a],e(d,{alignItems:"flex-end",justifyContent:"center",gap:6,children:[t(y,{variant:"ghost",isDisabled:0===a,"aria-label":"Previous content",icon:t(be,{}),onClick:()=>{a>0&&a<=n.length-1&&c((e=>e-1))}}),t(y,{variant:"ghost",isDisabled:a===n.length-1,"aria-label":"Next content",icon:t(we,{}),onClick:()=>{a<n.length-1&&c((e=>e+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=t(Se,{}));const O=u?u(l):void 0;return e(v,{as:d,flexDir:"column",isInvalid:Boolean(s),isDisabled:i,isReadOnly:o,isRequired:a,children:[e(d,{onClick:y,w:"full",justifyContent:h?"space-between":"auto",children:["left"===p&&t(g,{fontSize:n,m:"0",mr:"3",children:f}),t(m,{icon:x,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,isInvalid:Boolean(s),size:n,...O,...w}),"right"===p&&t(g,{fontSize:n,m:"0",ml:"3",children:f})]}),t(d,{w:"full",children:s&&t(b,{size:n,children:s})})]})},f_=({children:e,onSubmit:r,...n})=>t(d,{as:"form",onSubmit:e=>{e.preventDefault(),r&&r(e)},noValidate:!0,gap:"6",flexDir:"column",...n,children:e});var p_=function(){return p_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},p_.apply(this,arguments)};function h_(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var d_=function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},y_={k:1e3,m:1e6,b:1e9},v_=function(e){var t=e.value,r=e.groupSeparator,n=void 0===r?",":r,i=e.decimalSeparator,o=void 0===i?".":i,a=e.allowDecimals,c=void 0===a||a,l=e.decimalsLimit,u=void 0===l?2:l,s=e.allowNegativeValue,f=void 0===s||s,p=e.disableAbbreviations,h=void 0!==p&&p,d=e.prefix,y=void 0===d?"":d,v=e.transformRawValue,g=(void 0===v?function(e){return e}:v)(t);if("-"===g)return g;var m=h?[]:["k","m","b"],b=new RegExp("((^|\\D)-\\d)|(-".concat(d_(y),")")).test(g),w=RegExp("(\\d+)-?".concat(d_(y))).exec(t)||[],x=w[0],O=w[1],S=function(e,t){void 0===t&&(t=",");var r=new RegExp(d_(t),"g");return e.replace(r,"")}(y?x?g.replace(x,"").concat(O):g.replace(y,""):g,n),j=function(e,t){var r=d_(t.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return e.replace(n,"")}(S,h_([n,o],m,!0)),A=j;if(!h){if(m.some((function(e){return e===j.toLowerCase().replace(o,"")})))return"";var P=function(e,t){void 0===t&&(t=".");var r=new RegExp("(\\d+(".concat(d_(t),"\\d*)?)([kmb])$"),"i"),n=e.match(r);if(n){var i=n[1],o=n[3],a=y_[o.toLowerCase()];return Number(i.replace(t,"."))*a}}(j,o);P&&(A=String(P))}var M=b&&f?"-":"";if(o&&A.includes(o)){var k=j.split(o),E=k[0],C=k[1],_=u&&C?C.slice(0,u):C,T=c?"".concat(o).concat(_):"";return"".concat(M).concat(E).concat(T)}return"".concat(M).concat(A)},g_=function(e,t){var r=t.groupSeparator,n=void 0===r?",":r,i=t.decimalSeparator,o=void 0===i?".":i,a=new RegExp("\\d([^".concat(d_(n)).concat(d_(o),"0-9]+)")),c=e.match(a);return c?c[1]:void 0},m_=function(e){var t=e.value,r=e.decimalSeparator,n=e.intlConfig,i=e.decimalScale,o=e.prefix,a=void 0===o?"":o,c=e.suffix,l=void 0===c?"":c;if(""===t||void 0===t)return"";if("-"===t)return"-";var u=new RegExp("^\\d?-".concat(a?"".concat(d_(a),"?"):"","\\d")).test(t),s="."!==r?b_(t,r,u):t;r&&"-"!==r&&s.startsWith(r)&&(s="0"+s);var f={minimumFractionDigits:i||0,maximumFractionDigits:20},p=(n?new Intl.NumberFormat(n.locale,n.currency?p_(p_({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),h=w_(p,e),d=g_(h,p_({},e)),y=t.slice(-1)===r?r:"",v=(s.match(RegExp("\\d+\\.(\\d+)"))||[])[1];return void 0===i&&v&&r&&(h=h.includes(r)?h.replace(RegExp("(\\d+)(".concat(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(e,t,r){var n=e;return t&&"."!==t&&(n=n.replace(RegExp(d_(t),"g"),"."),r&&"-"===t&&(n="-".concat(n.slice(1)))),n},w_=function(e,t){var r=t.prefix,n=t.groupSeparator,i=t.decimalSeparator,o=t.decimalScale,a=t.disableGroupSeparators,c=void 0!==a&&a;return e.reduce((function(e,t,a){var l=t.type,u=t.value;return 0===a&&r?"minusSign"===l?[u,r]:"currency"===l?h_(h_([],e,!0),[r],!1):[r,u]:"currency"===l?r?e:h_(h_([],e,!0),[u],!1):"group"===l?c?e:h_(h_([],e,!0),[void 0!==n?n:u],!1):"decimal"===l?void 0!==o&&0===o?e:h_(h_([],e,!0),[void 0!==i?i:u],!1):h_(h_([],e,!0),"fraction"===l?[void 0!==o?u.slice(0,o):u]:[u],!1)}),[""]).join("")},x_={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},O_=function(e){return RegExp(/\d/,"gi").test(e)},S_=ee((function(e,t){var r=e.allowDecimals,n=void 0===r||r,i=e.allowNegativeValue,o=void 0===i||i,a=e.id,c=e.name,l=e.className,u=e.customInput,s=e.decimalsLimit,f=e.defaultValue,p=e.disabled,h=void 0!==p&&p,d=e.maxLength,y=e.value,v=e.onValueChange,g=e.fixedDecimalLength,m=e.placeholder,b=e.decimalScale,w=e.prefix,x=e.suffix,O=e.intlConfig,S=e.step,j=e.min,A=e.max,P=e.disableGroupSeparators,M=void 0!==P&&P,k=e.disableAbbreviations,E=void 0!==k&&k,C=e.decimalSeparator,_=e.groupSeparator,T=e.onChange,D=e.onFocus,I=e.onBlur,N=e.onKeyDown,B=e.onKeyUp,L=e.transformRawValue,R=e.formatValueOnBlur,z=void 0===R||R,$=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(e,["allowDecimals","allowNegativeValue","id","name","className","customInput","decimalsLimit","defaultValue","disabled","maxLength","value","onValueChange","fixedDecimalLength","placeholder","decimalScale","prefix","suffix","intlConfig","step","min","max","disableGroupSeparators","disableAbbreviations","decimalSeparator","groupSeparator","onChange","onFocus","onBlur","onKeyDown","onKeyUp","transformRawValue","formatValueOnBlur"]);if(C&&O_(C))throw new Error("decimalSeparator cannot be a number");if(_&&O_(_))throw new Error("groupSeparator cannot be a number");var H=ae((function(){return function(e){var t=e||{},r=t.locale,n=t.currency;return(r?new Intl.NumberFormat(r,n?{currency:n,style:"currency"}:void 0):new Intl.NumberFormat).formatToParts(1000.1).reduce((function(e,t,r){return"currency"===t.type?p_(p_({},e),0===r?{currencySymbol:t.value,prefix:t.value}:{currencySymbol:t.value,suffix:t.value}):"group"===t.type?p_(p_({},e),{groupSeparator:t.value}):"decimal"===t.type?p_(p_({},e),{decimalSeparator:t.value}):e}),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=ne((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=ne(!1),Z=K[0],J=K[1],Q=ne(0),ee=Q[0],ie=Q[1],ce=ne(0),le=ce[0],ue=ce[1],se=ne(null),fe=se[0],pe=se[1],he=te(null);re(t,(function(){return he.current}));var de=function(e,t){J(!0);var r=function(e){var t=e.selectionStart,r=e.value,n=e.lastKeyStroke,i=e.stateValue,o=e.groupSeparator,a=t,c=r;if(i&&a){var l=r.split("");return"Backspace"===n&&i[a]===o&&(l.splice(a-1,1),a-=1),"Delete"===n&&i[a]===o&&(l.splice(a,1),a+=1),{modifiedValue:c=l.join(""),cursorPosition:a}}return{modifiedValue:c,cursorPosition:t}}({selectionStart:t,value:e,lastKeyStroke:fe,stateValue:Y,groupSeparator:F}),n=r.modifiedValue,i=r.cursorPosition,o=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 ie(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-e.length);s=s<=0?w?w.length:0:s,ie(s),ue(le+1)}if(X(u),v)v(o,c,{float:l,formatted:u,value:o})}};oe((function(){null==y&&null==f&&X("")}),[f,y]),oe((function(){Z&&"-"!==Y&&he.current&&document.activeElement===he.current&&he.current.setSelectionRange(ee,ee)}),[Y,ee,he,Z,le]);var ye=p_({type:"text",inputMode:"decimal",id:a,name:c,className:l,onChange:function(e){var t=e.target,r=t.value,n=t.selectionStart;de(r,n),T&&T(e)},onBlur:function(e){var t=e.target.value,r=v_(p_({value:t},q));if("-"===r||r===V||!r)return X(""),void(I&&I(e));var n=function(e,t,r){if(void 0!==r&&e.length>1){if(0===r)return e.replace(t,"");if(e.includes(t)){var n=e.split(t),i=n[0];if((c=n[1]).length===r)return e;if(c.length>r)return"".concat(i).concat(t).concat(c.slice(0,r))}var o=e.length>r?new RegExp("(\\d+)(\\d{".concat(r,"})")):new RegExp("(\\d)(\\d+)"),a=e.match(o);if(a){i=a[1];var c=a[2];return"".concat(i).concat(t).concat(c)}}return e}(r,V,g),i=function(e,t,r){if(void 0===t&&(t="."),void 0===r||""===e||void 0===e)return e;if(!e.match(/\d/g))return"";var n=e.split(t),i=n[0],o=n[1];if(0===r)return i;var a=o||"";if(a.length<r)for(;a.length<r;)a+="0";else a=a.slice(0,r);return"".concat(i).concat(t).concat(a)}(n,V,void 0!==b?b:g),o=parseFloat(i.replace(V,".")),a=m_(p_(p_({},U),{value:i}));v&&z&&v(i,c,{float:o,formatted:a,value:i}),X(a),I&&I(e)},onFocus:function(e){return D&&D(e),Y?Y.length:0},onKeyDown:function(e){var t=e.key;if(pe(t),S&&("ArrowUp"===t||"ArrowDown"===t)){e.preventDefault(),ie(Y.length);var r=parseFloat(null!=y?String(y).replace(V,"."):v_(p_({value:Y},q)))||0,n="ArrowUp"===t?r+S:r-S;if(void 0!==j&&n<Number(j))return;if(void 0!==A&&n>Number(A))return;var i=String(S).includes(".")?Number(String(S).split(".")[1].length):void 0;de(String(i?n.toFixed(i):n).replace(".",V))}N&&N(e)},onKeyUp:function(e){var t=e.key,r=e.currentTarget.selectionStart;if("ArrowUp"!==t&&"ArrowDown"!==t&&"-"!==Y){var n=g_(Y,{groupSeparator:F,decimalSeparator:V});if(n&&r&&r>Y.length-n.length&&he.current){var i=Y.length-n.length;he.current.setSelectionRange(i,i)}}B&&B(e)},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:he},$);if(u){var ve=u;return G.createElement(ve,p_({},ye))}return G.createElement("input",p_({},ye))}));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",containerCss:E,...C}=r,_=cr(i),T=f?f(u):void 0,D="currency"===k?{as:S_,placeholder:"$0.00",prefix:"$",allowNegative:!1,disableAbbreviations:!0}:{};return e(v,{isInvalid:Boolean(p),isDisabled:o,isReadOnly:a,isRequired:c,sx:E,children:[s&&t(g,{className:"form-label",size:i,children:s}),e(x,{size:i,children:[d&&t(O,{bg:"transparent",children:d}),y&&t(S,{w:"auto",ml:"2",children:y}),t(j,{size:i,spellCheck:l,paddingLeft:y&&"2.25em",paddingRight:w&&"2.25em",type:"currency"===k?"text":k,...T,...D,...C,ref:n||T?.ref}),w&&t(A,{w:"auto",mr:"2",children:w}),m&&t(P,{children:m})]}),p&&t(b,{className:"form-error",size:i,children:p}),h&&t(M,{className:"form-helper-text",fontSize:_,children:h})]})}));var A_=e=>null==e;var P_=e=>!A_(e)&&!Array.isArray(e)&&(e=>"object"==typeof e)(e)&&!(e=>e instanceof Date)(e),M_=e=>{const t=e.constructor&&e.constructor.prototype;return P_(t)&&t.hasOwnProperty("isPrototypeOf")},k_="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function E_(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(k_&&(e instanceof Blob||e instanceof FileList)||!r&&!P_(e))return e;if(t=r?[]:{},r||M_(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=E_(e[r]));else t=e}return t}var C_=e=>Array.isArray(e)?e.filter(Boolean):[],__=e=>void 0===e,T_=(e,t,r)=>{if(!t||!P_(e))return r;const n=C_(t.split(/[,[\].]+?/)).reduce(((e,t)=>A_(e)?e:e[t]),e);return __(n)||n===e?__(e[t])?r:e[t]:n},D_=e=>"boolean"==typeof e;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_=e=>P_(e)&&!Object.keys(e).length,X_=e=>Array.isArray(e)?e:[e];var K_=e=>"string"==typeof e,G_=e=>/^\w*$/.test(e),Z_=e=>C_(e.replace(/["|']|\]/g,"").split(/\.|\[/)),J_=(e,t,r)=>{let n=-1;const i=G_(t)?[t]:Z_(t),o=i.length,a=o-1;for(;++n<o;){const t=i[n];let o=r;if(n!==a){const r=e[t];o=P_(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}e[t]=o,e=e[t]}return e},Q_=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},eT=()=>{const e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(t=>{const r=(16*Math.random()+e)%16|0;return("x"==t?r:3&r|8).toString(16)}))},tT=(e,t,r={})=>r.shouldFocus||__(r.shouldFocus)?r.focusName||`${e}.${__(r.focusIndex)?t:r.focusIndex}.`:"",rT=e=>({isOnSubmit:!e||e===B_,isOnBlur:e===I_,isOnChange:e===N_,isOnAll:e===R_,isOnTouch:e===L_});const nT=(e,t,r,n)=>{for(const i of r||Object.keys(e)){const r=T_(e,i);if(r){const{_f:e,...o}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!n)break;if(e.ref&&t(e.ref,e.name)&&!n)break;nT(o,t)}else P_(o)&&nT(o,t)}}};var iT=(e,t,r)=>{const n=C_(T_(e,r));return J_(n,"root",t[r]),J_(e,r,n),e},oT=e=>K_(e),aT=e=>e instanceof RegExp;const cT={value:!1,isValid:!1},lT={value:!0,isValid:!0};const uT={isValid:!1,value:null};function sT(e,t,r="validate"){if(oT(e)||Array.isArray(e)&&e.every(oT)||D_(e)&&!e)return{type:r,message:oT(e)?e:"",ref:t}}var fT=e=>P_(e)&&!aT(e)?e:{value:e,message:""},pT=async(e,t,r,n,i)=>{const{ref:o,refs:a,required:c,maxLength:l,minLength:u,min:s,max:f,pattern:p,validate:h,name:d,valueAsNumber:y,mount:v,disabled:g}=e._f,m=T_(t,d);if(!v||g)return{};const b=a?a[0]:o,w=e=>{n&&b.reportValidity&&(b.setCustomValidity(D_(e)?"":e||""),b.reportValidity())},x={},O="radio"===o.type;const S=(e=>"checkbox"===e.type)(o),j=O||S,A=(y||(e=>"file"===e.type)(o))&&__(o.value)&&__(m)||(e=>{if(!k_)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)})(o)&&""===o.value||""===m||Array.isArray(m)&&!m.length,P=Q_.bind(null,d,r,x),M=(e,t,r,n=H_,i=V_)=>{const a=e?t:r;x[d]={type:e?n:i,message:a,ref:o,...P(e?n:i,a)}};if(i?!Array.isArray(m)||!m.length:c&&(!j&&(A||A_(m))||D_(m)&&!m||S&&!(e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!__(e[0].attributes.value)?__(e[0].value)||""===e[0].value?lT:{value:e[0].value,isValid:!0}:lT:cT}return cT})(a).isValid||O&&!(k=a,Array.isArray(k)?k.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),uT):uT).isValid)){const{value:e,message:t}=oT(c)?{value:!!c,message:c}:fT(c);if(e&&(x[d]={type:U_,message:t,ref:b,...P(U_,t)},!r))return w(t),x}var k;if(!(A||A_(s)&&A_(f))){let e,t;const n=fT(f),i=fT(s);if(A_(m)||isNaN(m)){const r=o.valueAsDate||new Date(m),a=e=>new Date((new Date).toDateString()+" "+e),c="time"==o.type,l="week"==o.type;K_(n.value)&&m&&(e=c?a(m)>a(n.value):l?m>n.value:r>new Date(n.value)),K_(i.value)&&m&&(t=c?a(m)<a(i.value):l?m<i.value:r<new Date(i.value))}else{const r=o.valueAsNumber||(m?+m:m);A_(n.value)||(e=r>n.value),A_(i.value)||(t=r<i.value)}if((e||t)&&(M(!!e,n.message,i.message,z_,$_),!r))return w(x[d].message),x}if((l||u)&&!A&&(K_(m)||i&&Array.isArray(m))){const e=fT(l),t=fT(u),n=!A_(e.value)&&m.length>+e.value,i=!A_(t.value)&&m.length<+t.value;if((n||i)&&(M(n,e.message,t.message),!r))return w(x[d].message),x}if(p&&!A&&K_(m)){const{value:e,message:t}=fT(p);if(aT(e)&&!m.match(e)&&(x[d]={type:F_,message:t,ref:o,...P(F_,t)},!r))return w(t),x}if(h)if("function"==typeof h){const e=sT(await h(m,t),b);if(e&&(x[d]={...e,...P(q_,e.message)},!r))return w(e.message),x}else if(P_(h)){let e={};for(const n in h){if(!Y_(e)&&!r)break;const i=sT(await h[n](m,t),b,n);i&&(e={...i,...P(n,i.message)},w(i.message),r&&(x[d]=e))}if(!Y_(e)&&(x[d]={ref:b,...e},!r))return x}return w(!0),x},hT=(e,t)=>[...e,...X_(t)],dT=e=>Array.isArray(e)?e.map((()=>{})):void 0;function yT(e,t,r){return[...e.slice(0,t),...X_(r),...e.slice(t)]}var vT=(e,t,r)=>Array.isArray(e)?(__(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],gT=(e,t)=>[...X_(t),...X_(e)];var mT=(e,t)=>__(t)?[]:function(e,t){let r=0;const n=[...e];for(const e of t)n.splice(e-r,1),r++;return C_(n).length?n:[]}(e,X_(t).sort(((e,t)=>e-t))),bT=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function wT(e,t){const r=Array.isArray(t)?t:G_(t)?[t]:Z_(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=__(e)?n++:e[t[n++]];return e}(e,r),i=r.length-1,o=r[i];return n&&delete n[o],0!==i&&(P_(n)&&Y_(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!__(e[t]))return!1;return!0}(n))&&wT(e,r.slice(0,-1)),e}var xT=(e,t,r)=>(e[t]=r,e);function OT(e){const t=G.useContext(W_),{control:r=t.control,name:n,keyName:i="id",shouldUnregister:o}=e,[a,c]=G.useState(r._getFieldArray(n)),l=G.useRef(r._getFieldArray(n).map(eT)),u=G.useRef(a),s=G.useRef(n),f=G.useRef(!1);s.current=n,u.current=a,r._names.array.add(n),e.rules&&r.register(n,e.rules),function(e){const t=G.useRef(e);t.current=e,G.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}({next:({values:e,name:t})=>{if(t===s.current||!t){const t=T_(e,s.current);Array.isArray(t)&&(c(t),l.current=t.map(eT))}},subject:r._subjects.array});const p=G.useCallback((e=>{f.current=!0,r._updateFieldArray(n,e)}),[r,n]);return G.useEffect((()=>{if(r._state.action=!1,((e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))))))(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!rT(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((e=>{const t=T_(e.errors,n),i=T_(r._formState.errors,n);(i?!t&&i.type||t&&(i.type!==t.type||i.message!==t.message):t&&t.type)&&(t?J_(r._formState.errors,n,t):wT(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const e=T_(r._fields,n);!e||!e._f||rT(r._options.reValidateMode).isOnSubmit&&rT(r._options.mode).isOnSubmit||pT(e,r._formValues,r._options.criteriaMode===R_,r._options.shouldUseNativeValidation,!0).then((e=>!Y_(e)&&r._subjects.state.next({errors:iT(r._formState.errors,e,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&nT(r._fields,((e,t)=>{if(r._names.focus&&t.startsWith(r._names.focus)&&e.focus)return e.focus(),1})),r._names.focus="",r._updateValid(),f.current=!1}),[a,n,r]),G.useEffect((()=>(!T_(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||o)&&r.unregister(n)})),[n,r,i,o]),{swap:G.useCallback(((e,t)=>{const i=r._getFieldArray(n);bT(i,e,t),bT(l.current,e,t),p(i),c(i),r._updateFieldArray(n,i,bT,{argA:e,argB:t},!1)}),[p,n,r]),move:G.useCallback(((e,t)=>{const i=r._getFieldArray(n);vT(i,e,t),vT(l.current,e,t),p(i),c(i),r._updateFieldArray(n,i,vT,{argA:e,argB:t},!1)}),[p,n,r]),prepend:G.useCallback(((e,t)=>{const i=X_(E_(e)),o=gT(r._getFieldArray(n),i);r._names.focus=tT(n,0,t),l.current=gT(l.current,i.map(eT)),p(o),c(o),r._updateFieldArray(n,o,gT,{argA:dT(e)})}),[p,n,r]),append:G.useCallback(((e,t)=>{const i=X_(E_(e)),o=hT(r._getFieldArray(n),i);r._names.focus=tT(n,o.length-1,t),l.current=hT(l.current,i.map(eT)),p(o),c(o),r._updateFieldArray(n,o,hT,{argA:dT(e)})}),[p,n,r]),remove:G.useCallback((e=>{const t=mT(r._getFieldArray(n),e);l.current=mT(l.current,e),p(t),c(t),r._updateFieldArray(n,t,mT,{argA:e})}),[p,n,r]),insert:G.useCallback(((e,t,i)=>{const o=X_(E_(t)),a=yT(r._getFieldArray(n),e,o);r._names.focus=tT(n,e,i),l.current=yT(l.current,e,o.map(eT)),p(a),c(a),r._updateFieldArray(n,a,yT,{argA:e,argB:dT(t)})}),[p,n,r]),update:G.useCallback(((e,t)=>{const i=E_(t),o=xT(r._getFieldArray(n),e,i);l.current=[...o].map(((t,r)=>t&&r!==e?l.current[r]:eT())),p(o),c([...o]),r._updateFieldArray(n,o,xT,{argA:e,argB:i},!0,!1)}),[p,n,r]),replace:G.useCallback((e=>{const t=X_(E_(e));l.current=t.map(eT),p([...t]),c([...t]),r._updateFieldArray(n,[...t],(e=>e),{},!0,!1)}),[p,n,r]),fields:G.useMemo((()=>a.map(((e,t)=>({...e,[i]:l.current[t]||eT()})))),[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(((e,t)=>({...e,[t]:o[t]})),{});return e(k,{children:[l.map(((n,o)=>t(k,{children:e(k,{pb:6,position:"relative",children:[Object.keys(n).filter((e=>"id"!==e)).map((e=>t(j_,{label:e,name:`${r}.${o}.${e}`,register:i},`${e}-${n.id}`))),t(E,{label:"Delete",children:t(d,{position:"absolute",top:"0",right:"0",children:t(p,{"aria-label":"Delete",size:"sm",variant:"ghost",onClick:()=>{s(o),c&&c(o)},minW:"2rem",p:"0",children:"X"})})})]})},n.id))),t(d,{children:t(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((e=>({...e,[n]:Number(e[n])||0})))):(v=ur.coolElegance(),y=[{[n]:0},{[n]:0}]);const g={cursor:c&&d?.length?"crosshair":"default",...p};return t(Qd,{width:i,minHeight:o,children:e(r_,{data:y,style:g,children:[t(iC,{domain:["dataMin","dataMax"],hide:!0}),t(RE,{isAnimationActive:l,type:a,dataKey:n,stroke:v,strokeWidth:"2",dot:!1,scale:"threshold"}),d?.length&&c&&t(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})=>e(C,{isOpen:r,onClose:n,isCentered:c,size:l,...p,children:[t(_,{}),e(T,{minWidth:LT,children:[t(D,{children:i}),t(I,{isDisabled:f}),t(N,{minH:u||0,bg:s,children:a}),o&&t(B,{borderTop:"solid 1px",borderColor:ur.coolElegance(),children:o})]})]});var PT,MT={exports:{}};PT=MT,function(e,t){PT.exports=t(G)}(0,(e=>(()=>{var t={703:(e,t,r)=>{var n=r(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},697:(e,t,r)=>{e.exports=r(703)()},414:e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:t=>{t.exports=e}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{n.r(i),n.d(i,{default:()=>w});var e=n(98),t=n.n(e),r=n(697),o=n.n(r);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}var c=function(e){var r=e.pageClassName,n=e.pageLinkClassName,i=e.page,o=e.selected,c=e.activeClassName,l=e.activeLinkClassName,u=e.getEventListener,s=e.pageSelectedHandler,f=e.href,p=e.extraAriaContext,h=e.pageLabelBuilder,d=e.rel,y=e.ariaLabel||"Page "+i+(p?" "+p:""),v=null;return o&&(v="page",y=e.ariaLabel||"Page "+i+" is your current page",r=void 0!==r?r+" "+c:c,void 0!==n?void 0!==l&&(n=n+" "+l):n=l),t().createElement("li",{className:r},t().createElement("a",a({rel:d,role:f?void 0:"button",className:n,href:f,tabIndex:o?"-1":"0","aria-label":y,"aria-current":v,onKeyPress:s},u(s)),h(i)))};c.propTypes={pageSelectedHandler:o().func.isRequired,selected:o().bool.isRequired,pageClassName:o().string,pageLinkClassName:o().string,activeClassName:o().string,activeLinkClassName:o().string,extraAriaContext:o().string,href:o().string,ariaLabel:o().string,page:o().number.isRequired,getEventListener:o().func.isRequired,pageLabelBuilder:o().func.isRequired,rel:o().string};const l=c;function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}var s=function(e){var r=e.breakLabel,n=e.breakAriaLabel,i=e.breakClassName,o=e.breakLinkClassName,a=e.breakHandler,c=e.getEventListener,l=i||"break";return t().createElement("li",{className:l},t().createElement("a",u({className:o,role:"button",tabIndex:"0","aria-label":n,onKeyPress:a},c(a)),r))};s.propTypes={breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabel:o().string,breakClassName:o().string,breakLinkClassName:o().string,breakHandler:o().func.isRequired,getEventListener:o().func.isRequired};const f=s;function p(e){return null!=e?e:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(c,e);var r,n,i,o,a=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(i);if(o){var r=g(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}(this,e)});function c(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),m(v(r=a.call(this,e)),"handlePreviousPage",(function(e){var t=r.state.selected;r.handleClick(e,null,t>0?t-1:void 0,{isPrevious:!0})})),m(v(r),"handleNextPage",(function(e){var t=r.state.selected,n=r.props.pageCount;r.handleClick(e,null,t<n-1?t+1:void 0,{isNext:!0})})),m(v(r),"handlePageSelected",(function(e,t){if(r.state.selected===e)return r.callActiveCallback(e),void r.handleClick(t,null,void 0,{isActive:!0});r.handleClick(t,null,e)})),m(v(r),"handlePageChange",(function(e){r.state.selected!==e&&(r.setState({selected:e}),r.callCallback(e))})),m(v(r),"getEventListener",(function(e){return m({},r.props.eventListener,e)})),m(v(r),"handleClick",(function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.isPrevious,a=void 0!==o&&o,c=i.isNext,l=void 0!==c&&c,u=i.isBreak,s=void 0!==u&&u,f=i.isActive,p=void 0!==f&&f;e.preventDefault?e.preventDefault():e.returnValue=!1;var h=r.state.selected,d=r.props.onClick,y=n;if(d){var v=d({index:t,selected:h,nextSelectedPage:n,event:e,isPrevious:a,isNext:l,isBreak:s,isActive:p});if(!1===v)return;Number.isInteger(v)&&(y=v)}void 0!==y&&r.handlePageChange(y)})),m(v(r),"handleBreakClick",(function(e,t){var n=r.state.selected;r.handleClick(t,e,n<e?r.getForwardJump():r.getBackwardJump(),{isBreak:!0})})),m(v(r),"callCallback",(function(e){void 0!==r.props.onPageChange&&"function"==typeof r.props.onPageChange&&r.props.onPageChange({selected:e})})),m(v(r),"callActiveCallback",(function(e){void 0!==r.props.onPageActive&&"function"==typeof r.props.onPageActive&&r.props.onPageActive({selected:e})})),m(v(r),"getElementPageRel",(function(e){var t=r.state.selected,n=r.props,i=n.nextPageRel,o=n.prevPageRel,a=n.selectedPageRel;return t-1===e?o:t===e?a:t+1===e?i:void 0})),m(v(r),"pagination",(function(){var e=[],n=r.props,i=n.pageRangeDisplayed,o=n.pageCount,a=n.marginPagesDisplayed,c=n.breakLabel,l=n.breakClassName,u=n.breakLinkClassName,s=n.breakAriaLabels,p=r.state.selected;if(o<=i)for(var h=0;h<o;h++)e.push(r.getPageElement(h));else{var d=i/2,y=i-d;p>o-i/2?d=i-(y=o-p):p<i/2&&(y=i-(d=p));var v,g,m=function(e){return r.getPageElement(e)},b=[];for(v=0;v<o;v++){var w=v+1;if(w<=a)b.push({type:"page",index:v,display:m(v)});else if(w>o-a)b.push({type:"page",index:v,display:m(v)});else if(v>=p-d&&v<=p+(0===p&&i>1?y-1:y))b.push({type:"page",index:v,display:m(v)});else if(c&&b.length>0&&b[b.length-1].display!==g&&(i>0||a>0)){var x=v<p?s.backward:s.forward;g=t().createElement(f,{key:v,breakAriaLabel:x,breakLabel:c,breakClassName:l,breakLinkClassName:u,breakHandler:r.handleBreakClick.bind(null,v),getEventListener:r.getEventListener}),b.push({type:"break",index:v,display:g})}}b.forEach((function(t,r){var n=t;"break"===t.type&&b[r-1]&&"page"===b[r-1].type&&b[r+1]&&"page"===b[r+1].type&&b[r+1].index-b[r-1].index<=2&&(n={type:"page",index:t.index,display:m(t.index)}),e.push(n.display)}))}return e})),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),n=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,r.state={selected:n},r}return r=c,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialPage,r=e.disableInitialCallback,n=e.extraAriaContext,i=e.pageCount,o=e.forcePage;void 0===t||r||this.callCallback(t),n&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(i)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(i,"). Did you forget a Math.ceil()?")),void 0!==t&&t>i-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(t," > ").concat(i-1,").")),void 0!==o&&o>i-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(o," > ").concat(i-1,")."))}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage})),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var e=this.state.selected,t=this.props,r=t.pageCount,n=e+t.pageRangeDisplayed;return n>=r?r-1:n}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"getElementHref",value:function(e){var t=this.props,r=t.hrefBuilder,n=t.pageCount,i=t.hrefAllControls;if(r)return i||e>=0&&e<n?r(e+1,n,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(e){var t=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var r=this.props.ariaLabelBuilder(e+1,t);return this.props.extraAriaContext&&!t&&(r=r+" "+this.props.extraAriaContext),r}}},{key:"getPageElement",value:function(e){var r=this.state.selected,n=this.props,i=n.pageClassName,o=n.pageLinkClassName,a=n.activeClassName,c=n.activeLinkClassName,u=n.extraAriaContext,s=n.pageLabelBuilder;return t().createElement(l,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:r===e,rel:this.getElementPageRel(e),pageClassName:i,pageLinkClassName:o,activeClassName:a,activeLinkClassName:c,extraAriaContext:u,href:this.getElementHref(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:s,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var r=this.props,n=r.disabledClassName,i=r.disabledLinkClassName,o=r.pageCount,a=r.className,c=r.containerClassName,l=r.previousLabel,u=r.previousClassName,s=r.previousLinkClassName,f=r.previousAriaLabel,h=r.prevRel,y=r.nextLabel,v=r.nextClassName,g=r.nextLinkClassName,m=r.nextAriaLabel,b=r.nextRel,w=this.state.selected,x=0===w,O=w===o-1,S="".concat(p(u)).concat(x?" ".concat(p(n)):""),j="".concat(p(v)).concat(O?" ".concat(p(n)):""),A="".concat(p(s)).concat(x?" ".concat(p(i)):""),P="".concat(p(g)).concat(O?" ".concat(p(i)):""),M=x?"true":"false",k=O?"true":"false";return t().createElement("ul",{className:a||c,role:"navigation","aria-label":"Pagination"},t().createElement("li",{className:S},t().createElement("a",d({className:A,href:this.getElementHref(w-1),tabIndex:x?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":M,"aria-label":f,rel:h},this.getEventListener(this.handlePreviousPage)),l)),this.pagination(),t().createElement("li",{className:j},t().createElement("a",d({className:P,href:this.getElementHref(w+1),tabIndex:O?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k,"aria-label":m,rel:b},this.getEventListener(this.handleNextPage)),y)))}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),c}(e.Component);m(b,"propTypes",{pageCount:o().number.isRequired,pageRangeDisplayed:o().number,marginPagesDisplayed:o().number,previousLabel:o().node,previousAriaLabel:o().string,prevPageRel:o().string,prevRel:o().string,nextLabel:o().node,nextAriaLabel:o().string,nextPageRel:o().string,nextRel:o().string,breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabels:o().shape({forward:o().string,backward:o().string}),hrefBuilder:o().func,hrefAllControls:o().bool,onPageChange:o().func,onPageActive:o().func,onClick:o().func,initialPage:o().number,forcePage:o().number,disableInitialCallback:o().bool,containerClassName:o().string,className:o().string,pageClassName:o().string,pageLinkClassName:o().string,pageLabelBuilder:o().func,activeClassName:o().string,activeLinkClassName:o().string,previousClassName:o().string,nextClassName:o().string,previousLinkClassName:o().string,nextLinkClassName:o().string,disabledClassName:o().string,disabledLinkClassName:o().string,breakClassName:o().string,breakLinkClassName:o().string,extraAriaContext:o().string,ariaLabelBuilder:o().func,eventListener:o().string,renderOnZeroPageCount:o().func,selectedPageRel:o().string}),m(b,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",breakAriaLabels:{forward:"Jump forward",backward:"Jump backward"},disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});const w=b})(),i})()));const kT=r(Vt(MT.exports)),ET=({totalRecords:e=0,recordsPerPage:r=10,pageRangeDisplayed:n=3,handlePageClick:i,forcePage:o,...a})=>{const c=Math.ceil(e/r);return t(d,{justifyContent:{base:"center",md:"flex-end"},fontSize:{base:14,md:18},gap:2,w:"full",...a,children:t(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]=ne([]),[u,s]=ne(1);return e(d,{w:"full",justifyContent:"flex-end",alignItems:"center",direction:"row",gap:4,...a,children:[t(p,{onClick:()=>{if(2===u)return i(void 0),l([]),void s((e=>e-1));const e=c.length-1,t=c[e-1];i(t),l((e=>e.slice(0,-1))),s((e=>e-1))},isDisabled:r||1===u,children:"Previous"}),t(p,{onClick:()=>{if(o){const e={lastEvaluatedPKey:o.pKey,lastEvaluatedSKey:o.sKey};i(e),l((t=>[...t,e])),s((e=>e+1))}},isDisabled:r||!n,children:"Next"})]})},_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 e(v,{isInvalid:Boolean(s),isDisabled:o,isReadOnly:a,isRequired:c,children:[p&&t(g,{size:i,children:p}),t(L,{icon:t(me,{}),size:i,...y,...h,children:n}),s&&t(b,{size:i,children:s}),f&&t(M,{fontSize:d,children:f})]})},TT=R({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),DT=({boxSize:e=8,color:r="brand",...n})=>{const i="neutral"===r?ur.sonicSilver():"brand.500";return t(d,{width:"full",justifyContent:"center",alignItems:"center",minHeight:Number.isFinite(Number(e))?3*Number(e):`calc(${e} * 3)`,...n,children:t(d,{width:e,height:e,animation:`${TT} 2000ms infinite linear`,children:t(ct,{boxSize:e,__css:{path:{fill:i}}})})})},IT=r=>{const{label:n,rightIcon:i,leftIcon:o,onClose:a,...c}=r,[l,u]=ne(!0);return l?e(z,{...c,children:[o&&t($,{as:o}),t(H,{children:n}),i&&t(V,{as:i}),a&&t(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=pe;break;case"success":l=Se;break;case"warning":l=Ve,c="yellow";break;case"loading":c="brand",l=K;break;default:c="brand",l=Ve}return e(U,{as:d,colorScheme:c,justifyContent:"space-between",status:a,children:[e(d,{alignItems:"center",mr:"4",children:[t(q,{children:t(l,{size:"sm"})}),e(k,{children:[t(W,{children:n}),t(Y,{children:r})]})]}),o&&t(X,{onClick:i})]})},BT=()=>{const e=l({ssr:!1}),t="base"===e||"sm"===e,r="md"===e,n="lg"===e||"xl"===e||"2xl"===e;return{breakpoint:e,isSmallBreakpoint:t,isMediumBreakpoint:r,isLargeBreakpoint:n,isAboveSmallBreakpoint:r||n,isBelowLargeBreakpoint:r||t}},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,pe as IconAlert,he as IconArrowDown,de as IconArrowUp,ht as IconAvax,ye as IconBank,ve as IconBarChart,dt as IconBch,yt as IconBtc,ge as IconCalendar,me as IconCaretDown,be as IconCaretLeft,we as IconCaretRight,xe as IconCaretUp,Oe as IconCent,Se as IconCheck,je as IconChecking,Ae as IconCircleCheck,Pe as IconClose,Me as IconConnect,ke as IconCopy,Ee as IconDollar,Ce as IconDollarBill,_e as IconDownload,Te as IconEdit,De as IconEnter,Ie as IconEnterInverted,vt as IconEth,Ne as IconExchange,Be as IconFilter,Le as IconHelp,Re as IconHistory,ze as IconHome,$e as IconIndicatorDown,He as IconIndicatorUp,Ve as IconInfo,gt as IconLink,Fe as IconLock,mt as IconLtc,Ue as IconMail,qe as IconMenu,We as IconMore,Ye as IconNotification,Xe as IconOverview,Ke as IconPercent,Ge as IconPieChart,Ze as IconPlus,pt as IconRefresh,Je as IconReports,Qe as IconReservesSuccess,et as IconReservesWarning,tt as IconSearch,rt as IconSettings,nt as IconSettlement,it as IconSignIn,ot as IconSignOut,at as IconSort,ct as IconSpinner,lt as IconSupport,ut as IconTrash,st as IconUpload,ft as IconUser,bt as IconXlm,$t as aggregateAmounts,Ur as coreTheme,RT as dateFormatNoTime,zT as dateFormatWithTime,Gt as dateToTimestamp,Zt 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};
|
|
18
18
|
//# sourceMappingURL=index.js.map
|