@cryptofi/core-ui 1.4.2 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{jsxs as t,jsx as e,Fragment as r}from"react/jsx-runtime";import{chakra as n,createMultiStyleConfigHelpers as i,defineStyle as o,defineStyleConfig as a,extendTheme as c,withDefaultColorScheme as l,useBreakpoint as u,Portal as s,Tooltip as f,Text as p,ButtonGroup as h,Button as d,Card as y,Flex as v,IconButton as g,FormControl as m,FormLabel as b,Checkbox as w,FormErrorMessage as x,forwardRef as O,InputGroup as S,InputLeftAddon as j,InputLeftElement as A,Input as P,InputRightElement as M,InputRightAddon as k,FormHelperText as E,Box as C,Modal as _,ModalOverlay as T,ModalContent as D,ModalHeader as I,ModalCloseButton as N,ModalBody as L,ModalFooter as B,Link as R,Select as z,Tag as $,TagLeftIcon as H,TagLabel as V,TagRightIcon as F,TagCloseButton as U,Alert as W,AlertIcon as q,AlertTitle as Y,AlertDescription as X,CloseButton as K,Spinner as G}from"@chakra-ui/react";import Z from"crypto";import J,{isValidElement as Q,Children as tt,PureComponent as et,forwardRef as rt,useRef as nt,useImperativeHandle as it,useState as ot,useCallback as at,useEffect as ct,useMemo as lt,cloneElement as ut,createElement as st,useContext as ft,createContext as pt,Component as ht}from"react";import{css as dt,keyframes as yt}from"@emotion/react";const vt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#3c397803)",children:[e("path",{d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10"}),e("path",{d:"M12 5.5a1 1 0 0 0-1 1v8a1 1 0 1 0 2 0v-8a1 1 0 0 0-1-1M13 18.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0"})]}),e("defs",{children:e("clipPath",{id:"3c397803",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),gt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#c9a7d4d8)",children:e("path",{fill:"#000",d:"m14.563 9.22-.915.947-3.02-3.125a2.54 2.54 0 0 0-1.785-.74c-.666 0-1.305.265-1.786.74l-.146.15a.85.85 0 0 1-.596.248.85.85 0 0 1-.595-.248L1.448 2.766A.84.84 0 0 0 .849 2.5a.82.82 0 0 0-.602.255A.87.87 0 0 0 0 3.38.9.9 0 0 0 .257 4l4.271 4.42c.482.476 1.121.741 1.787.741S7.62 8.895 8.1 8.42l.145-.151a.85.85 0 0 1 .596-.247c.222 0 .435.088.595.247l3.02 3.13-.914.947a.9.9 0 0 0-.183.95c.064.159.172.295.31.39a.82.82 0 0 0 .468.147h2.599c.335 0 .656-.137.893-.383a1.33 1.33 0 0 0 .37-.924V9.831a.9.9 0 0 0-.144-.482.85.85 0 0 0-.379-.319.82.82 0 0 0-.915.19"})}),e("defs",{children:e("clipPath",{id:"c9a7d4d8",children:e("path",{fill:"#fff",d:"M0 .5h16v16H0z"})})})]}))),mt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#6f1ccf07)",children:e("path",{fill:"#000",d:"M14.738 2H12.14a.82.82 0 0 0-.467.147.87.87 0 0 0-.31.39.9.9 0 0 0 .182.949l.914.945-3.018 3.121a.85.85 0 0 1-.595.247.85.85 0 0 1-.595-.247l-.144-.149a2.54 2.54 0 0 0-1.785-.74c-.665 0-1.304.265-1.785.74l-4.292 4.44a.9.9 0 0 0-.246.618c0 .232.09.454.248.617a.83.83 0 0 0 .598.255.83.83 0 0 0 .596-.256l4.292-4.44a.85.85 0 0 1 .595-.247c.222 0 .435.088.596.247l.143.149a2.54 2.54 0 0 0 1.785.74 2.54 2.54 0 0 0 1.785-.74l3.018-3.122.913.945a.815.815 0 0 0 .913.182.85.85 0 0 0 .376-.319.9.9 0 0 0 .142-.48V3.306a1.33 1.33 0 0 0-.37-.924A1.24 1.24 0 0 0 14.738 2"})}),e("defs",{children:e("clipPath",{id:"6f1ccf07",children:e("path",{d:"M0 0h16v16H0z"})})})]}))),bt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#9491b547)",children:e("path",{fill:"#000",d:"M24 23.5a1 1 0 0 1-1 1H1a1 1 0 0 1 0-2h22a1 1 0 0 1 1 1M.291 9.052a2.44 2.44 0 0 1 .153-2.566c.427-.627 1-1.141 1.668-1.5l7.501-3.904a5.17 5.17 0 0 1 4.774 0l7.5 3.907c.669.359 1.24.873 1.668 1.5a2.44 2.44 0 0 1 .153 2.566 2.71 2.71 0 0 1-2.416 1.445H21v8h1a1 1 0 1 1 0 2H2a1 1 0 0 1 0-2h1v-8h-.292A2.71 2.71 0 0 1 .291 9.052m4.71 9.448h3v-8H5zm5-8v8h4v-8zm9 0h-3v8h3zM2.062 8.125a.72.72 0 0 0 .645.375h18.584a.72.72 0 0 0 .645-.375.45.45 0 0 0-.024-.5 2.7 2.7 0 0 0-.949-.864l-7.5-3.907a3.18 3.18 0 0 0-2.926 0l-7.5 3.907a2.7 2.7 0 0 0-.949.865.45.45 0 0 0-.026.5"})}),e("defs",{children:e("clipPath",{id:"9491b547",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),wt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#fafc2088)",children:[e("path",{d:"M5 23h18a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5V2a1 1 0 0 1 2 0v18a3 3 0 0 0 3 3"}),e("path",{d:"M6.707 20.707A1 1 0 0 1 5 20v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-.293.707M10 11v9a1 1 0 1 0 2 0v-9a1 1 0 0 0-2 0M15 20v-6a1 1 0 0 1 2 0v6a1 1 0 1 1-2 0M20 10v10a1 1 0 1 0 2 0V10a1 1 0 0 0-2 0M6.707 9.707a1 1 0 1 1-1.414-1.414l3.586-3.586a3 3 0 0 1 4.242 0l2.172 2.17a1 1 0 0 0 1.414 0l5.586-5.584a1 1 0 0 1 1.414 1.414L18.12 8.293a3 3 0 0 1-4.242 0L11.707 6.12a1.025 1.025 0 0 0-1.414 0z"})]}),e("defs",{children:e("clipPath",{id:"fafc2088",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),xt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 82 80","aria-hidden":"true",...r,children:[e("path",{fill:"#000",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M51.94 8.444 36.904 23.48a1.515 1.515 0 0 1-1.664.332 1.5 1.5 0 0 1-.495-.332l-5.136-5.144a1.513 1.513 0 0 0-1.664-.332 1.54 1.54 0 0 0-.827.828 1.51 1.51 0 0 0 0 1.169c.077.185.189.353.331.495l5.139 5.137a4.58 4.58 0 0 0 6.47 0l15.036-15.031a1.517 1.517 0 0 0 0-2.154 1.514 1.514 0 0 0-1.664-.332z"}),e("path",{fill:"#000",fillRule:"evenodd",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M16.983 52 6.179 66.45c3.976-1.603 8.914-3.063 14.034-3.612 7.169-.768 14.89.228 20.787 5.401 5.898-5.173 13.618-6.169 20.787-5.4 5.12.548 10.058 2.008 14.034 3.61L65.017 52c-2.188-2.235-5.98-4.913-10.229-5.694-4.241-.78-8.906.326-12.984 5.637L41 52.99l-.804-1.047c-4.078-5.31-8.743-6.417-12.984-5.637-4.249.782-8.04 3.46-10.23 5.694ZM41 48.743c-4.49-5.241-9.57-6.324-14.102-5.49-4.76.875-8.95 3.86-11.38 6.365l-.06.06L1 69.017l1.245 2.52c4.087-2.2 10.946-4.853 18.153-5.626 7.236-.775 14.613.368 19.932 5.45L41 72l.67-.64c5.32-5.082 12.696-6.225 19.932-5.45 7.207.773 14.066 3.427 18.153 5.626L81 69.016 66.541 49.679l-.059-.061c-2.43-2.506-6.62-5.49-11.38-6.366-4.532-.833-9.612.25-14.102 5.49Z",clipRule:"evenodd"}),e("path",{fill:"url(#e4ad4261)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M51.94 8.444 36.904 23.48a1.515 1.515 0 0 1-1.664.332 1.5 1.5 0 0 1-.495-.332l-5.136-5.144a1.513 1.513 0 0 0-1.664-.332 1.54 1.54 0 0 0-.827.828 1.51 1.51 0 0 0 0 1.169c.077.185.189.353.331.495l5.139 5.137a4.58 4.58 0 0 0 6.47 0l15.036-15.031a1.517 1.517 0 0 0 0-2.154 1.514 1.514 0 0 0-1.664-.332z"}),e("path",{fill:"url(#65cb314b)",fillRule:"evenodd",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M16.983 52 6.179 66.45c3.976-1.603 8.914-3.063 14.034-3.612 7.169-.768 14.89.228 20.787 5.401 5.898-5.173 13.618-6.169 20.787-5.4 5.12.548 10.058 2.008 14.034 3.61L65.017 52c-2.188-2.235-5.98-4.913-10.229-5.694-4.241-.78-8.906.326-12.984 5.637L41 52.99l-.804-1.047c-4.078-5.31-8.743-6.417-12.984-5.637-4.249.782-8.04 3.46-10.23 5.694ZM41 48.743c-4.49-5.241-9.57-6.324-14.102-5.49-4.76.875-8.95 3.86-11.38 6.365l-.06.06L1 69.017l1.245 2.52c4.087-2.2 10.946-4.853 18.153-5.626 7.236-.775 14.613.368 19.932 5.45L41 72l.67-.64c5.32-5.082 12.696-6.225 19.932-5.45 7.207.773 14.066 3.427 18.153 5.626L81 69.016 66.541 49.679l-.059-.061c-2.43-2.506-6.62-5.49-11.38-6.366-4.532-.833-9.612.25-14.102 5.49Z",clipRule:"evenodd"}),t("defs",{children:[t("linearGradient",{id:"e4ad4261",x1:27.581,x2:55.057,y1:16.74,y2:16.74,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})]}),t("linearGradient",{id:"65cb314b",x1:2.688,x2:82.498,y1:56.36,y2:56.36,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})]})]})]}))),Ot=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#4bbcc7d4)",children:[e("path",{d:"M13.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M7 16.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M18.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),e("path",{fillRule:"evenodd",d:"M18 2h1a5.006 5.006 0 0 1 5 5v12a5.006 5.006 0 0 1-5 5H5a5.006 5.006 0 0 1-5-5V7a5.006 5.006 0 0 1 5-5h1V1a1 1 0 0 1 2 0v1h8V1a1 1 0 0 1 2 0zM2.879 4.879A3 3 0 0 0 2 7v1h20V7a3 3 0 0 0-3-3H5a3 3 0 0 0-2.121.879m0 16.242A3 3 0 0 0 5 22h14a3 3 0 0 0 3-3v-9H2v9a3 3 0 0 0 .879 2.121",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"4bbcc7d4",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),St=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#53ee7faa)",children:e("path",{fill:"#000",d:"m.292 7.861 8.17 8.17a5 5 0 0 0 7.08 0l8.17-8.17a1.004 1.004 0 1 0-1.42-1.42l-8.17 8.17a3 3 0 0 1-4.24 0l-8.17-8.17a1 1 0 0 0-1.42 0 1 1 0 0 0 0 1.42"})}),e("defs",{children:e("clipPath",{id:"53ee7faa",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),jt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#64af8551)",children:e("path",{fill:"#000",d:"M17.17 24.5a1 1 0 0 1-.71-.29l-8.17-8.17a5 5 0 0 1 0-7.08L16.46.79a1.004 1.004 0 1 1 1.42 1.42l-8.17 8.17a3 3 0 0 0 0 4.24l8.17 8.17a1 1 0 0 1-.71 1.71"})}),e("defs",{children:e("clipPath",{id:"64af8551",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),At=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#a0a0cf84)",children:e("path",{fill:"#000",d:"M7 24.5a1 1 0 0 1-.71-1.71l8.17-8.17a3 3 0 0 0 0-4.24L6.29 2.21A1.004 1.004 0 0 1 7.71.79l8.17 8.17a5 5 0 0 1 0 7.08l-8.17 8.17a1 1 0 0 1-.71.29"})}),e("defs",{children:e("clipPath",{id:"a0a0cf84",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Pt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#c735ab99)",children:e("path",{fill:"#000",d:"m23.71 16.79-8.17-8.17a5 5 0 0 0-7.08 0L.29 16.79a1.004 1.004 0 1 0 1.42 1.42l8.17-8.17a3 3 0 0 1 4.24 0l8.17 8.17a1.002 1.002 0 0 0 1.64-.325 1 1 0 0 0-.22-1.095"})}),e("defs",{children:e("clipPath",{id:"c735ab99",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Mt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#bc5773b5)",children:[e("path",{d:"M11.033 5.145a.968.968 0 0 1 1.935 0v.944a6.5 6.5 0 0 1 3.618 1.827.968.968 0 0 1-1.37 1.369 4.55 4.55 0 0 0-3.215-1.332A4.534 4.534 0 0 0 7.452 12.5 4.534 4.534 0 0 0 12 17.05a4.55 4.55 0 0 0 3.209-1.339.967.967 0 0 1 1.372 1.367 6.5 6.5 0 0 1-3.612 1.833v.946a.967.967 0 1 1-1.935 0v-.944c-3.114-.47-5.516-3.17-5.516-6.41S7.92 6.56 11.033 6.09z"}),e("path",{fillRule:"evenodd",d:"M12 .5C5.384.5 0 5.884 0 12.5s5.384 12 12 12 12-5.384 12-12-5.384-12-12-12m0 1.936A10.05 10.05 0 0 1 22.064 12.5 10.05 10.05 0 0 1 12 22.564 10.05 10.05 0 0 1 1.936 12.5 10.05 10.05 0 0 1 12 2.436",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"bc5773b5",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),kt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#9c399fd1)",children:e("path",{fill:"#000",d:"M22.319 4.931 8.499 18.75a1 1 0 0 1-1.416 0L1.739 13.4a1 1 0 0 0-1.417 0 1 1 0 0 0 0 1.417l5.346 5.345a3.01 3.01 0 0 0 4.25 0L23.736 6.347a1 1 0 0 0-.709-1.71 1 1 0 0 0-.708.294"})}),e("defs",{children:e("clipPath",{id:"9c399fd1",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Et=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#0d4ad2be)",children:e("path",{fill:"#000",d:"M19 3.5h-6.528a1 1 0 0 1-.447-.1L8.869 1.816A3 3 0 0 0 7.528 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-10a5.006 5.006 0 0 0-5-5m-14 0h2.528c.155 0 .308.033.447.1l3.156 1.58c.416.208.875.318 1.341.32H19a3 3 0 0 1 2.779 1.882L2 7.494V6.5a3 3 0 0 1 3-3m14 18H5a3 3 0 0 1-3-3V9.494l20-.113v9.12a3 3 0 0 1-3 3"})}),e("defs",{children:e("clipPath",{id:"0d4ad2be",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ct=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:25,fill:"none",viewBox:"0 0 80 80","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#e82ea890)",children:[e("path",{fill:"#000",d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881m0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095"}),e("path",{fill:"url(#59bc3f76)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881Zm0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095Z"})]}),t("defs",{children:[t("linearGradient",{id:"59bc3f76",x1:.095,x2:79.905,y1:40.001,y2:40.001,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"e82ea890",children:e("path",{fill:"#fff",d:"M0 0h80v80H0z"})})]})]}))),_t=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#e1eeb89c)",children:e("path",{fill:"#000",d:"M23.707.793a1 1 0 0 0-1.414 0L12 11.086 1.707.793a1 1 0 0 0-1.414 0 1 1 0 0 0 0 1.414L10.586 12.5.293 22.793a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.914l10.293 10.293a1 1 0 0 0 1.414-1.414L13.414 12.5 23.707 2.207a1 1 0 0 0 0-1.414"})}),e("defs",{children:e("clipPath",{id:"e1eeb89c",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Tt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#78978fe1)",children:e("path",{fill:"#000",d:"M21.736 16.9A5.01 5.01 0 0 0 17 13.5h-4v-1.084a6 6 0 1 0-2 0V13.5H7a5.01 5.01 0 0 0-4.736 3.4 4 4 0 1 0 2.447-.334A3 3 0 0 1 7 15.5h4v1.127a4 4 0 1 0 2 0V15.5h4a3 3 0 0 1 2.289 1.063 4 4 0 1 0 2.447.334zM8 6.5a4 4 0 1 1 8 0 4 4 0 0 1-8 0m-2 14a2 2 0 1 1-4 0 2 2 0 0 1 4 0m8 0a2 2 0 1 1-4.001 0 2 2 0 0 1 4 0m6 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})}),e("defs",{children:e("clipPath",{id:"78978fe1",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Dt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#3fccef48)",children:e("path",{fill:"#000",d:"M13 20.5a5.006 5.006 0 0 0 5-5V6.743a3.97 3.97 0 0 0-1.172-2.829l-2.242-2.242A3.97 3.97 0 0 0 11.757.5H7a5.006 5.006 0 0 0-5 5v10a5.006 5.006 0 0 0 5 5zm-9-5v-10a3 3 0 0 1 3-3s4.92.014 5 .024V4.5a2 2 0 0 0 2 2h1.976c.01.081.024 9 .024 9a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3m18-7v11a5.005 5.005 0 0 1-5 5H8a1 1 0 0 1 0-2h9a3 3 0 0 0 3-3v-11a1 1 0 0 1 2 0"})}),e("defs",{children:e("clipPath",{id:"3fccef48",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),It=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#7bd92f01)",children:e("path",{fill:"#000",d:"M13.932 4.5A3.07 3.07 0 0 1 17 7.568a1 1 0 0 0 2 0v-.123A5.073 5.073 0 0 0 13.932 2.5H13v-1a1 1 0 1 0-2 0v1h-.932a5.068 5.068 0 0 0-1.6 9.875L11 13.22v7.28h-.932A3.07 3.07 0 0 1 7 17.432a1 1 0 1 0-2 0v.123a5.073 5.073 0 0 0 5.068 4.945H11v1a1 1 0 0 0 2 0v-1h.932a5.068 5.068 0 0 0 1.6-9.875L13 11.78V4.5zm.97 10.021a3.068 3.068 0 0 1-.97 5.979H13v-6.613zM11 11.113l-1.9-.634a3.068 3.068 0 0 1 .968-5.979H11z"})}),e("defs",{children:e("clipPath",{id:"7bd92f01",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Nt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 80 60","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#8acc34e3)",children:[e("path",{fill:"#000",d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69m-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867m9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388M21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387"}),e("path",{fill:"url(#19added0)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69Zm-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262v8.948Zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867Zm9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388ZM21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387Z"})]}),t("defs",{children:[t("linearGradient",{id:"19added0",x1:.069,x2:79.931,y1:29.999,y2:29.999,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"8acc34e3",children:e("path",{fill:"#fff",d:"M0 .395h80v59.21H0z"})})]})]}))),Lt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#213e37ae)",children:[e("path",{d:"M10.852 19.273a3 3 0 0 1-.974-.651l-3.21-3.207A1 1 0 0 1 8.08 14l2.91 2.908.01-15.408a1 1 0 0 1 2 0l-.008 15.427L15.92 14a1 1 0 0 1 1.414 1.411l-3.21 3.211a3 3 0 0 1-3.271.65"}),e("path",{d:"M22.293 16.793A1 1 0 0 1 24 17.5v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 1 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-4a1 1 0 0 1 .293-.707"})]}),e("defs",{children:e("clipPath",{id:"213e37ae",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Bt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#2de5b65b)",children:[e("path",{fillRule:"evenodd",d:"M18.67 1.387 6.469 13.602a4.97 4.97 0 0 0-1.465 3.541v1.346a1 1 0 0 0 1 1.002H7.35a4.96 4.96 0 0 0 3.537-1.467l12.2-12.215a3.133 3.133 0 0 0 0-4.422 3.195 3.195 0 0 0-4.416 0m.18 5.83-9.379 9.39a3.02 3.02 0 0 1-2.122.88h-.344v-.344c.002-.796.318-1.56.879-2.125l9.378-9.39zm1.415-1.416 1.407-1.409a1.126 1.126 0 0 0 0-1.589 1.15 1.15 0 0 0-1.587 0l-1.407 1.409z",clipRule:"evenodd"}),e("path",{d:"M0 23.498c0-.553.373-1.002.834-1.002H19.18c.46 0 .834.449.834 1.002s-.373 1.002-.834 1.002H.834c-.46 0-.834-.449-.834-1.002"})]}),e("defs",{children:e("clipPath",{id:"2de5b65b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Rt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M20.914 17.62a5 5 0 0 0 1.621-1.084A4.97 4.97 0 0 0 24 12.996V2a1 1 0 0 0-2 0v10.997a3 3 0 0 1-3 2.999H2.788L7.1 11.688a1.001 1.001 0 1 0-1.418-1.414l-4.95 4.95a2.5 2.5 0 0 0 0 3.534l4.95 4.948A1 1 0 0 0 7.1 22.294l-4.3-4.299H19a5 5 0 0 0 1.914-.376"})}))),zt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M3.086 17.62a5 5 0 0 1-1.621-1.084A4.97 4.97 0 0 1 0 12.996V2a1 1 0 0 1 2 0v10.997a3 3 0 0 0 3 2.999h16.212L16.9 11.688a1.003 1.003 0 0 1 .002-1.416 1 1 0 0 1 1.416.002l4.95 4.95a2.5 2.5 0 0 1 0 3.534l-4.95 4.948a1 1 0 0 1-1.418-1.412l4.3-4.299H5a5 5 0 0 1-1.914-.376"})}))),$t=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#1d876006)",children:e("path",{d:"M23.41 5.094c.373.372.585.875.59 1.401a2 2 0 0 1-.59 1.412l-4.29 4.303a1 1 0 1 1-1.41-1.421L21 7.496H11a1 1 0 0 1 0-2.001h10l-3.29-3.283A1.002 1.002 0 0 1 19.12.791zM3 17.504h10a1 1 0 0 1 .707 1.708 1 1 0 0 1-.707.294H3l3.29 3.282a1.002 1.002 0 0 1-1.41 1.421L.59 19.906A2 2 0 0 1 0 18.505c.002-.53.214-1.038.59-1.411l4.29-4.304a1 1 0 0 1 1.629 1.096 1 1 0 0 1-.219.325z"})}),e("defs",{children:e("clipPath",{id:"1d876006",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ht=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#06771c5d)",children:e("path",{fill:"#000",d:"M14 24.5a1 1 0 0 1-.6-.2l-4-3a1 1 0 0 1-.4-.8v-5.62L1.984 6.987A3.9 3.9 0 0 1 4.9.5h14.2a3.9 3.9 0 0 1 2.913 6.488L15 14.88v8.62a1 1 0 0 1-1 1M11 20l2 1.5v-7a1 1 0 0 1 .253-.664l7.268-8.177A1.9 1.9 0 0 0 19.1 2.5H4.9a1.9 1.9 0 0 0-1.421 3.158l7.269 8.178A1 1 0 0 1 11 14.5z"})}),e("defs",{children:e("clipPath",{id:"06771c5d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Vt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#513f5486)",children:[e("path",{d:"M12.717 5.563A4 4 0 0 0 8 9.5a1 1 0 1 0 2 0 2.002 2.002 0 0 1 2.371-1.967 2.02 2.02 0 0 1 1.6 1.595 2 2 0 0 1-1 2.125 3.95 3.95 0 0 0-1.97 3.504v.743a1 1 0 0 0 2 0v-.743a1.98 1.98 0 0 1 .93-1.752 4 4 0 0 0-1.214-7.442M12 17.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2"}),e("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"513f5486",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ft=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#dbd56355)",children:e("path",{fill:"#000",fillRule:"evenodd",d:"M22.293 11.793A1 1 0 0 1 24 12.5a11.994 11.994 0 1 1-4-8.935V1.5a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3h-3a1 1 0 1 1 0-2h3a1 1 0 0 0 .1-.021A10.034 10.034 0 1 0 22 12.5a1 1 0 0 1 .293-.707m-11-5A1 1 0 0 1 13 7.5v4.586l2.707 2.707a1 1 0 0 1-1.414 1.414l-3-3A1 1 0 0 1 11 12.5v-5a1 1 0 0 1 .293-.707",clipRule:"evenodd"})}),e("defs",{children:e("clipPath",{id:"dbd56355",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ut=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#b05ae72a)",children:e("path",{fill:"#000",d:"m23.121 9.569-7.585-7.586a5.01 5.01 0 0 0-7.072 0L.88 9.569A2.98 2.98 0 0 0 0 11.689v9.818a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3V11.69a2.98 2.98 0 0 0-.879-2.121m-8.12 12.938H9v-3.934a3 3 0 0 1 6 0zm7-1a1 1 0 0 1-1 1h-4v-3.934a5 5 0 0 0-10 0v3.934H3a1 1 0 0 1-1-1V11.69c0-.265.105-.52.292-.707L9.878 3.4a3.01 3.01 0 0 1 4.244 0l7.585 7.586c.186.187.291.44.293.704z"})}),e("defs",{children:e("clipPath",{id:"b05ae72a",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Wt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M6.41 9.5h11.18a1 1 0 0 1 .7 1.71l-5.58 5.58a1 1 0 0 1-1.42 0l-5.58-5.58a1 1 0 0 1 .7-1.71"})}))),qt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"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"})}))),Yt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#dab7ab78)",children:[e("path",{d:"M12 10.5h-1a1 1 0 0 0 0 2h1v6a1 1 0 1 0 2 0v-6a2 2 0 0 0-2-2M13.5 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),e("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"dab7ab78",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Xt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 62 80","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#4e3573e8)",children:[e("path",{fill:"#000",d:"M12.25 79.917C5.541 79.917.082 74.46.082 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.639 8.558 20.112.083 30.528.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.557 12.15v25.734c0 6.708-5.459 12.167-12.167 12.167H12.25zm0-46.574c-4.782 0-8.673 3.891-8.673 8.673V67.75c0 4.78 3.891 8.672 8.673 8.672h36.558c4.782 0 8.673-3.891 8.673-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.675-3.494V18.972c0-8.49-6.907-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.528 63.463c-4.731 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.581-8.582s8.581 3.85 8.581 8.581c0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.087 5.088 5.094 5.094 0 0 0 5.087 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),e("path",{fill:"#CDCFD1",d:"M30.528.166c10.37 0 18.808 8.437 18.808 18.808v10.973c6.418.278 11.555 5.585 11.555 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.25c-6.663 0-12.084-5.42-12.084-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.722 8.603 20.16.166 30.528.166m-15.48 29.766h30.959v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.25c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.812 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.811-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.065 0 11.554 8.511 11.554 18.974v10.814a12.2 12.2 0 0 0-8.139 3.75A12.2 12.2 0 0 0 0 42.016V67.75C0 74.505 5.495 80 12.25 80h36.558c6.755 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.213-6.184-3.417-8.478a12.2 12.2 0 0 0-8.14-3.75V18.974C49.502 8.51 40.992 0 30.529 0M15.214 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.248 76.34c-4.737 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.853-8.59 8.59-8.59h36.559c4.736 0 8.589 3.853 8.589 8.59V67.75c0 4.736-3.853 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664 8.665-3.886 8.665-8.664-3.887-8.664-8.665-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"}),e("path",{fill:"url(#b40a6a1b)",d:"M12.21 79.917C5.502 79.917.044 74.458.044 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.598 8.558 20.073.083 30.489.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.556 12.15v25.734c0 6.708-5.458 12.167-12.166 12.167H12.21zm0-46.574c-4.781 0-8.672 3.891-8.672 8.673V67.75c0 4.78 3.891 8.672 8.672 8.672h36.56c4.78 0 8.672-3.891 8.672-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.676-3.494V18.972c0-8.49-6.908-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.489 63.463c-4.732 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.58-8.582 4.732 0 8.582 3.85 8.582 8.581 0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.088 5.088 5.094 5.094 0 0 0 5.088 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),e("path",{fill:"#CDCFD1",d:"M30.489.166c10.37 0 18.807 8.437 18.807 18.808v10.973c6.419.278 11.556 5.585 11.556 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.21c-6.663 0-12.083-5.42-12.083-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.683 8.604 20.119.166 30.49.166M15.01 29.932h30.958v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.21c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.811 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.812-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.025 0 11.513 8.511 11.513 18.974v10.814a12.2 12.2 0 0 0-8.138 3.75 12.18 12.18 0 0 0-3.417 8.478V67.75C-.042 74.505 5.453 80 12.207 80h36.559c6.754 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.214-6.184-3.418-8.478a12.2 12.2 0 0 0-8.139-3.75V18.974C49.46 8.51 40.95 0 30.486 0zM15.173 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.207 76.34c-4.736 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.854-8.59 8.59-8.59h36.559c4.736 0 8.59 3.853 8.59 8.59V67.75c0 4.736-3.854 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664c4.779 0 8.665-3.886 8.665-8.664s-3.886-8.664-8.664-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"})]}),t("defs",{children:[t("linearGradient",{id:"b40a6a1b",x1:2.67,x2:58.264,y1:75.561,y2:19.931,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"4e3573e8",children:e("path",{fill:"#fff",d:"M0 0h61.058v80H0z"})})]})]}))),Kt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#705555a7)",children:e("path",{fill:"#000",d:"M19 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-12a5.006 5.006 0 0 0-5-5m-14 2h14a3 3 0 0 1 2.78 1.887l-7.658 7.659a3.007 3.007 0 0 1-4.244 0L2.22 5.386A3 3 0 0 1 5 3.5m14 18H5a3 3 0 0 1-3-3V8l6.464 6.46a5.007 5.007 0 0 0 7.072 0L22 8v10.5a3 3 0 0 1-3 3"})}),e("defs",{children:e("clipPath",{id:"705555a7",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Gt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M23 4.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M23 11.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M1 18.5h22a1 1 0 1 1 0 2H1a1 1 0 1 1 0-2"})}))),Zt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M.293 11.293A1 1 0 0 1 1 11h22a1 1 0 0 1 0 2H1a1 1 0 0 1-.707-1.707"})}))),Jt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#752c60ff)",children:e("path",{d:"M2 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M12 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M24 12.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})}),e("defs",{children:e("clipPath",{id:"752c60ff",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Qt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#251a2feb)",children:e("path",{fill:"#000",d:"m22.555 14.162-1.9-6.836A9.321 9.321 0 0 0 2.576 7.8l-1.471 6.615A5 5 0 0 0 5.986 20.5H7.1a5 5 0 0 0 9.8 0h.838a5 5 0 0 0 4.818-6.338zM12 22.5a3 3 0 0 1-2.816-2h5.632a3 3 0 0 1-2.816 2m8.126-5.185a2.98 2.98 0 0 1-2.389 1.185H5.986a3 3 0 0 1-2.928-3.651l1.47-6.616a7.321 7.321 0 0 1 14.2-.372l1.9 6.836a2.98 2.98 0 0 1-.502 2.618"})}),e("defs",{children:e("clipPath",{id:"251a2feb",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),te=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#66b9637d)",children:e("path",{fill:"#000",d:"M23.9 11.946a12 12 0 0 0-4.279-7.717 12.006 12.006 0 0 0-16.385 1.07A11.99 11.99 0 0 0 0 13.508a11.86 11.86 0 0 0 3.759 8.705A4.84 4.84 0 0 0 7.113 23.5h9.767a5 5 0 0 0 3.509-1.428 11.93 11.93 0 0 0 3.51-10.126m-4.91 8.693a3 3 0 0 1-2.11.862H7.113c-.73.015-1.44-.25-1.981-.74A9.9 9.9 0 0 1 2 13.508a10 10 0 0 1 3.338-7.451 9.89 9.89 0 0 1 6.648-2.541q.588 0 1.174.065a10 10 0 0 1 8.305 6.693 9.98 9.98 0 0 1-2.474 10.37zm-11.183-2.85a1 1 0 1 1-1.4 1.429 7.992 7.992 0 0 1 6.736-13.623 1 1 0 0 1 .72 1.502.99.99 0 0 1-1.006.477 6 6 0 0 0-6.228 3.28 5.99 5.99 0 0 0 1.178 6.935m12.112-5.424q.08.568.08 1.143a7.92 7.92 0 0 1-2.407 5.711 1.002 1.002 0 0 1-1.4-1.43 5.97 5.97 0 0 0 1.744-5.138 1 1 0 0 1 1.59-.944 1 1 0 0 1 .39.659zm-5.993.631a2.03 2.03 0 0 1-2.22 2.559 2.033 2.033 0 0 1-1.495-3.039 2.03 2.03 0 0 1 2.3-.933l3.782-3.778a1 1 0 1 1 1.414 1.413z"})}),e("defs",{children:e("clipPath",{id:"66b9637d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ee=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("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"})]}))),re=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#e60de322)",clipRule:"evenodd",children:[e("path",{d:"M21.057 3.47a10.1 10.1 0 0 1 2.594 4.476 2.01 2.01 0 0 1-1.913 2.554H17.02a3 3 0 0 1-3-3V2.8a2 2 0 0 1 2.02-2 2 2 0 0 1 .543.072 10.1 10.1 0 0 1 4.475 2.598M17.015 8.5h4.72a8.07 8.07 0 0 0-5.677-5.702h-.026a.05.05 0 0 0-.025.01l.008 4.692a1 1 0 0 0 1 1"}),e("path",{d:"M14 12.5h4.713a3.06 3.06 0 0 1 2.394 1.172 2.88 2.88 0 0 1 .533 2.485A11 11 0 0 1 8.906 24.27a10.969 10.969 0 0 1-.553-21.414 2.87 2.87 0 0 1 2.48.534A3 3 0 0 1 12 5.774V10.5a2 2 0 0 0 2 2m3.425 7.26a8.97 8.97 0 0 0 2.276-4.092.88.88 0 0 0-.167-.768 1.04 1.04 0 0 0-.816-.4h-4.712a4 4 0 0 1-4-4V5.778a1.02 1.02 0 0 0-.4-.806.87.87 0 0 0-.764-.172 8.97 8.97 0 1 0 8.583 14.96"})]}),e("defs",{children:e("clipPath",{id:"e60de322",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ne=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#ce50361f)",children:e("path",{fill:"#000",d:"M23 11.5H13v-10a1 1 0 0 0-1-1 1 1 0 0 0-1 1v10H1a1 1 0 0 0-1 1 1 1 0 0 0 1 1h10v10a1 1 0 0 0 2 0v-10h10a1 1 0 0 0 0-2"})}),e("defs",{children:e("clipPath",{id:"ce50361f",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ie=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#7ecfa412)",children:e("path",{fill:"#000",d:"M19 3.522V1.5a1 1 0 0 0-2 0v1.1a5 5 0 0 0-1-.1h-1v-1a1 1 0 0 0-2 0v1h-2v-1a1 1 0 0 0-2 0v1H8a5 5 0 0 0-1 .1V1.5a1 1 0 0 0-2 0v2.022A4.98 4.98 0 0 0 3 7.5v12a5.006 5.006 0 0 0 5 5h8a5.006 5.006 0 0 0 5-5v-12a4.98 4.98 0 0 0-2-3.978M19 19.5a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3v-12a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3zm-2-11a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m0 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m-4 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h4a1 1 0 0 1 1 1"})}),e("defs",{children:e("clipPath",{id:"7ecfa412",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),oe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#ef775233)",children:e("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.265 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743m-1.863 7.577-4.272 4.272a1.87 1.87 0 0 1-1.335.553h-.033a1.87 1.87 0 0 1-1.345-.6l-2.306-2.4a1 1 0 1 1 1.441-1.382L11.112 13 15.3 8.8a1 1 0 0 1 1.414 1.414z"})}),e("defs",{children:e("clipPath",{id:"ef775233",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ae=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#57d1947f)",children:e("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.266 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743M12 19.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2m1-5a1 1 0 1 1-2 0v-8a1 1 0 0 1 2 0z"})}),e("defs",{children:e("clipPath",{id:"57d1947f",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ce=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#1259f37d)",children:e("path",{fill:"#000",d:"m23.707 22.794-5.97-5.97a10.016 10.016 0 1 0-1.413 1.415l5.969 5.969a1 1 0 0 0 1.414-1.414M10 18.5a8 8 0 1 1 8-8 8.01 8.01 0 0 1-8 8"})}),e("defs",{children:e("clipPath",{id:"1259f37d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),le=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#5df29195)",clipRule:"evenodd",children:[e("path",{d:"M9.778 9.175a4 4 0 1 1 4.444 6.652 4 4 0 0 1-4.444-6.652m1.11 4.989a2 2 0 1 0 2.223-3.325 2 2 0 0 0-2.222 3.325"}),e("path",{d:"m20.85 14.144.444.256.001-.001a3.002 3.002 0 1 1-3 5.2l-.447-.258A9 9 0 0 1 15 20.987v.513a3 3 0 1 1-6 0v-.513a9 9 0 0 1-2.85-1.642l-.445.257a3.002 3.002 0 0 1-3-5.2l.444-.256a9.1 9.1 0 0 1 0-3.29l-.444-.256a3.002 3.002 0 1 1 3-5.2l.447.259A9 9 0 0 1 9 4.013V3.5a3 3 0 1 1 6 0v.513a9 9 0 0 1 2.849 1.642l.445-.257a3.002 3.002 0 0 1 3 5.2l-.444.256a9.1 9.1 0 0 1 0 3.29m-2.104.23a7.05 7.05 0 0 0 0-3.75v.001a1 1 0 0 1 .463-1.129l1.084-.626a1 1 0 1 0-1-1.732l-1.084.627a1 1 0 0 1-1.215-.165 7 7 0 0 0-3.243-1.879A1 1 0 0 1 13 4.752V3.5a1 1 0 1 0-2 0v1.252a1 1 0 0 1-.751.973A7 7 0 0 0 7.006 7.6a1 1 0 0 1-1.214.161l-1.086-.628a1 1 0 1 0-1 1.733l1.084.626a1 1 0 0 1 .465 1.129 7.05 7.05 0 0 0 0 3.75 1 1 0 0 1-.464 1.133l-1.084.626a1 1 0 1 0 1 1.732l1.084-.627a1 1 0 0 1 1.215.165c.89.91 2.01 1.56 3.242 1.879a1 1 0 0 1 .751.969V21.5a1 1 0 0 0 2 0v-1.253a1 1 0 0 1 .751-.969 7 7 0 0 0 3.243-1.875 1 1 0 0 1 1.215-.165l1.086.628a1 1 0 0 0 1-1.733l-1.084-.626a1 1 0 0 1-.464-1.133"})]}),e("defs",{children:e("clipPath",{id:"5df29195",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ue=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#2b650bda)",children:e("path",{fill:"#000",d:"M4 7.483a2.98 2.98 0 0 1-2.121-.88L.335 5.228a1.002 1.002 0 0 1 1.332-1.496l1.585 1.416a1 1 0 0 0 1.456.04l3.604-3.435a1 1 0 0 1 1.378 1.45L6.1 6.62a2.96 2.96 0 0 1-2.1.863m20-2.002a1 1 0 0 0-1-1H13a1 1 0 0 0-.706 1.708 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1M6.1 14.63l3.59-3.418a1 1 0 1 0-1.378-1.45l-3.6 3.435a1.02 1.02 0 0 1-1.414 0l-1.59-1.586a1 1 0 0 0-1.695.711c-.002.263.099.515.28.704l1.586 1.587a3 3 0 0 0 4.226.017zm17.9-1.14a1 1 0 0 0-1-1H13a1 1 0 0 0-1 1 1 1 0 0 0 1 1.002h10a1 1 0 0 0 1-1.001M6.1 22.638l3.586-3.417a1.001 1.001 0 1 0-1.378-1.45l-3.6 3.435a1 1 0 0 1-1.456-.04l-1.585-1.416a1 1 0 0 0-1.665.805c.015.266.135.514.333.69l1.544 1.376a3 3 0 0 0 4.226.017zM24 21.498a1 1 0 0 0-1-1.001H13a1 1 0 0 0-.706 1.709 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1.001"})}),e("defs",{children:e("clipPath",{id:"2b650bda",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),se=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#91038c87)",children:[e("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),e("path",{d:"M7.223 11.532 23 11.5a1 1 0 0 1 0 2l-15.744.032q.123.209.29.382l3.88 3.88a1 1 0 1 1-1.414 1.413l-3.88-3.879a4 4 0 0 1 0-5.656l3.882-3.879a1 1 0 1 1 1.414 1.414l-3.88 3.88a2 2 0 0 0-.325.445"})]}),e("defs",{children:e("clipPath",{id:"91038c87",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),fe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#57cfec12)",children:[e("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),e("path",{d:"m18.95 5.792 3.879 3.88h-.004a4 4 0 0 1 0 5.655l-3.88 3.88a1 1 0 1 1-1.413-1.415l3.879-3.879q.2-.207.334-.462-.019.003-.036.008a.1.1 0 0 1-.042.008L5.989 13.5a1 1 0 0 1 0-2l15.684-.032q.01 0 .02.004l.022.004a2 2 0 0 0-.3-.39l-3.88-3.879a1 1 0 0 1 1.415-1.414"})]}),e("defs",{children:e("clipPath",{id:"57cfec12",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),pe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#8ca63799)",children:e("path",{d:"M6.365 6.416a.5.5 0 0 1-.278.084H4.294v12h1.793a.5.5 0 0 1 .353.854L4 21.794a1 1 0 0 1-1.414 0l-2.44-2.44A.5.5 0 0 1 .5 18.5h1.794v-12H.5a.5.5 0 0 1-.353-.854l2.439-2.439a1 1 0 0 1 1.414 0l2.44 2.44a.5.5 0 0 1-.075.769M23 6.5H10a1 1 0 0 1 0-2h13a1 1 0 1 1 0 2M10 11.5h13a1 1 0 0 1 0 2H10a1 1 0 0 1 0-2M23 18.5H10a1 1 0 0 0 0 2h13a1 1 0 1 0 0-2"})}),e("defs",{children:e("clipPath",{id:"8ca63799",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),he=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M13 1v2a1 1 0 0 1-2 0V1a1 1 0 0 1 2 0m-1 19a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0v-2a1 1 0 0 0-1-1m-8-8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h2a1 1 0 0 0 1-1m19-1h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2m-4.982-9.382a1 1 0 0 0-1.367.364l-1 1.731a1 1 0 0 0 1.731 1.001l1-1.731a1 1 0 0 0-.364-1.365M7.987 18.921a1 1 0 0 0-1.366.364l-1 1.731a1 1 0 1 0 1.731 1.001l1-1.731a1 1 0 0 0-.365-1.365m-3.272-12.3-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 0 0 1-1.731m17.3 10.03-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 1 0 1-1.731M7.349 1.982a1 1 0 0 0-1.731 1l1 1.731a1 1 0 1 0 1.731-1.001zm10.03 17.3a1 1 0 0 0-1.731 1l1 1.731a1 1 0 0 0 1.731-1zm2.408-10.8a1 1 0 0 0 .5-.134l1.731-1a1 1 0 0 0-1-1.731l-1.731 1a1 1 0 0 0 .5 1.865M3.713 15.648l-1.731 1a1 1 0 1 0 1 1.731l1.731-1a1 1 0 0 0-1-1.731"})}))),de=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M21 12.924V11.5a9 9 0 0 0-18 0v1.424A5 5 0 0 0 5 22.5a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2v-1a7 7 0 0 1 14 0v1a2 2 0 0 0-2 2v6h-3a1 1 0 0 0 0 2h5a5 5 0 0 0 2-9.576M5 20.5a3 3 0 1 1 0-6zm14 0v-6a3 3 0 0 1 0 6"})}))),ye=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#705b35d7)",children:[e("path",{d:"M10 18.5a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1M14.707 18.207A1 1 0 0 1 13 17.499v-6a1 1 0 1 1 2 0v6a1 1 0 0 1-.293.707"}),e("path",{fillRule:"evenodd",d:"M21 4.5h-3.1a5.01 5.01 0 0 0-4.9-4h-2a5.01 5.01 0 0 0-4.9 4H3a1 1 0 0 0 0 2h1v13a5.006 5.006 0 0 0 5 5h6a5.006 5.006 0 0 0 5-5v-13h1a1 1 0 1 0 0-2m-10-2h2a3.01 3.01 0 0 1 2.829 2H8.171A3.01 3.01 0 0 1 11 2.5m7 17a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3v-13h12z",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"705b35d7",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ve=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#c1bea85b)",children:[e("path",{d:"m11 18.516.007-15.438L8.08 6.005a1 1 0 0 1-1.414-1.414l3.21-3.212a3 3 0 0 1 4.245 0l3.21 3.215a1 1 0 0 1-1.413 1.414l-2.912-2.913L13 18.516a1 1 0 1 1-2 0"}),e("path",{d:"M22 21.5v-4a1 1 0 0 1 2 0v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 0 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1"})]}),e("defs",{children:e("clipPath",{id:"c1bea85b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ge=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#5ab9665d)",children:e("path",{d:"M12 13a6 6 0 1 0 0-12 6 6 0 0 0 0 12m0-10a4 4 0 1 1 0 8 4 4 0 0 1 0-8M12 15a9.01 9.01 0 0 0-9 9 1 1 0 0 0 2 0 7 7 0 1 1 14 0 1 1 0 0 0 2 0 9.01 9.01 0 0 0-9-9"})}),e("defs",{children:e("clipPath",{id:"5ab9665d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),me=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M7.986 1.833a6.71 6.71 0 0 1 4.758 2h-2.086a.67.67 0 0 0-.668.667.666.666 0 0 0 .668.667h2.768a1.24 1.24 0 0 0 1.24-1.238V1.167A.666.666 0 0 0 14 .5a.67.67 0 0 0-.668.667v1.385a8.01 8.01 0 0 0-8.278-1.5 8 8 0 0 0-3.48 2.641 8 8 0 0 0-1.57 4.074.67.67 0 0 0 .668.733.657.657 0 0 0 .66-.585 6.67 6.67 0 0 1 2.146-4.329 6.7 6.7 0 0 1 4.51-1.753M15.33 8.5a.657.657 0 0 0-.661.585 6.65 6.65 0 0 1-1.362 3.488 6.684 6.684 0 0 1-10.05.593h2.085a.67.67 0 0 0 .668-.666.666.666 0 0 0-.668-.667H2.574a1.24 1.24 0 0 0-1.146.764c-.063.15-.095.312-.095.474v2.762a.666.666 0 0 0 .668.667.67.67 0 0 0 .668-.667v-1.385a8.01 8.01 0 0 0 8.278 1.5 8 8 0 0 0 3.48-2.641 8 8 0 0 0 1.57-4.074.67.67 0 0 0-.668-.733"})}))),be=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 113 113.4","aria-hidden":"true",...t,children:e("path",{d:"M19.6 113.4 36 85l16.4-28.3 16.3-28.4 2.7-4.5 1.2 4.5 5 18.7-5.6 9.7L55.6 85l-16.3 28.4h19.6L75.3 85l8.5-14.7 4 14.7 7.6 28.4H113L105.4 85l-7.6-28.3-2-7.3L108 28.3H90.2l-.6-2.1L83.4 3l-.8-3H65.5l-.4.6-16 27.7-16.4 28.4L16.4 85 0 113.4z"})}))),we=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1503 1504","aria-hidden":"true",...r,children:[e("path",{fill:"#fff",d:"M287 258h928v844H287z"}),e("path",{fill:"#E84142",fillRule:"evenodd",d:"M1502.5 752c0 414.77-336.23 751-751 751-414.766 0-751-336.23-751-751C.5 337.234 336.734 1 751.5 1c414.77 0 751 336.234 751 751m-963.812 298.86H392.94c-30.626 0-45.754 0-54.978-5.9-9.963-6.46-16.051-17.16-16.789-28.97-.554-10.88 7.011-24.168 22.139-50.735l359.87-634.32c15.313-26.936 23.061-40.404 32.839-45.385 10.516-5.35 23.062-5.35 33.578 0 9.778 4.981 17.527 18.449 32.839 45.385l73.982 129.144.377.659c16.539 28.897 24.926 43.551 28.588 58.931a109.56 109.56 0 0 1 0 51.289c-3.69 15.497-11.992 30.257-28.781 59.591L687.573 964.702l-.489.856c-16.648 29.135-25.085 43.902-36.778 55.042-12.73 12.18-28.043 21.03-44.832 26.02-15.313 4.24-32.47 4.24-66.786 4.24m368.062 0h208.84c30.81 0 46.31 0 55.54-6.08 9.96-6.46 16.23-17.35 16.79-29.15.53-10.53-6.87-23.3-21.37-48.323-.5-.852-1-1.719-1.51-2.601L1060.43 785.75l-1.19-2.015c-14.7-24.858-22.12-37.411-31.65-42.263a36.73 36.73 0 0 0-33.391 0c-9.594 4.981-17.342 18.08-32.655 44.462L857.306 964.891l-.357.616c-15.259 26.34-22.885 39.503-22.335 50.303.738 11.81 6.826 22.69 16.788 29.15 9.041 5.9 24.538 5.9 55.348 5.9",clipRule:"evenodd"})]}))),xe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 788 788","aria-hidden":"true",...r,children:[e("circle",{cx:394,cy:394,r:394,style:{fill:"#0ac18e"}}),e("path",{d:"M516.9 261.7c-19.8-44.9-65.3-54.5-121-45.2L378 147.1 335.8 158l17.6 69.2c-11.1 2.8-22.5 5.2-33.8 8.4L302 166.8l-42.2 10.9 17.9 69.4c-9.1 2.6-85.2 22.1-85.2 22.1l11.6 45.2s31-8.7 30.7-8c17.2-4.5 25.3 4.1 29.1 12.2l49.2 190.2c.6 5.5-.4 14.9-12.2 18.1.7.4-30.7 7.9-30.7 7.9l4.6 52.7s75.4-19.3 85.3-21.8l18.1 70.2 42.2-10.9-18.1-70.7q17.4-4.05 33.9-8.4l18 70.3 42.2-10.9-18.1-70.1c65-15.8 110.9-56.8 101.5-119.5-6-37.8-47.3-68.8-81.6-72.3 21.1-18.7 31.8-46 18.7-81.7m-20.3 165.5c8.4 62.1-77.9 69.7-106.4 77.2l-24.8-92.9c28.6-7.5 117-39 131.2 15.7m-52-126.5c8.9 55.2-64.9 61.6-88.7 67.7l-22.6-84.3c23.9-5.9 93.2-34.5 111.3 16.6",style:{fill:"#fff"}})]}))),Oe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 4091.27 4091.73","aria-hidden":"true",...r,children:t("g",{fillRule:"nonzero",children:[e("path",{fill:"#F7931A",d:"M4030.06 2540.77C3756.82 3636.78 2646.74 4303.79 1550.6 4030.48 454.92 3757.24-212.09 2647.09 61.27 1551.17c273.12-1096.13 1383.2-1763.19 2479-1489.95C3636.33 334.46 4303.3 1444.73 4030.03 2540.79l.02-.02z"}),e("path",{fill:"#fff",d:"M2947.77 1754.38c40.72-272.26-166.56-418.61-450-516.24l91.95-368.8-224.5-55.94-89.51 359.09c-59.02-14.72-119.63-28.59-179.87-42.34L2186 768.69l-224.36-55.94-92 368.68c-48.84-11.12-96.81-22.11-143.35-33.69l.26-1.16-309.59-77.31-59.72 239.78s166.56 38.18 163.05 40.53c90.91 22.69 107.35 82.87 104.62 130.57l-104.74 420.15c6.26 1.59 14.38 3.89 23.34 7.49-7.49-1.86-15.46-3.89-23.73-5.87l-146.81 588.57c-11.11 27.62-39.31 69.07-102.87 53.33 2.25 3.26-163.17-40.72-163.17-40.72l-111.46 256.98 292.15 72.83c54.35 13.63 107.61 27.89 160.06 41.3l-92.9 373.03 224.24 55.94 92-369.07c61.26 16.63 120.71 31.97 178.91 46.43l-91.69 367.33 224.51 55.94 92.89-372.33c382.82 72.45 670.67 43.24 791.83-303.02 97.63-278.78-4.86-439.58-206.26-544.44 146.69-33.83 257.18-130.31 286.64-329.61l-.07-.05zm-512.93 719.26c-69.38 278.78-538.76 128.08-690.94 90.29l123.28-494.2c152.17 37.99 640.17 113.17 567.67 403.91zm69.43-723.3c-63.29 253.58-453.96 124.75-580.69 93.16l111.77-448.21c126.73 31.59 534.85 90.55 468.94 355.05z"})]})}))),Se=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 784.37 1277.39","aria-hidden":"true",...r,children:t("g",{fillRule:"nonzero",children:[e("path",{fill:"#343434",d:"m392.07 0-8.57 29.11v844.63l8.57 8.55 392.06-231.75z"}),e("path",{fill:"#8C8C8C",d:"M392.07 0 0 650.54l392.07 231.75V472.33z"}),e("path",{fill:"#3C3C3B",d:"m392.07 956.52-4.83 5.89v300.87l4.83 14.1 392.3-552.49z"}),e("path",{fill:"#8C8C8C",d:"M392.07 1277.38V956.52L0 724.89z"}),e("path",{fill:"#141414",d:"m392.07 882.29 392.06-231.75-392.06-178.21z"}),e("path",{fill:"#393939",d:"m0 650.54 392.07 231.75V472.33z"})]})}))),je=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37.8 43.6","aria-hidden":"true",...t,children:e("g",{"data-name":"Layer 2",children:e("path",{d:"m18.9 0-4 2.3L4 8.6l-4 2.3v21.8L4 35l11 6.3 4 2.3 4-2.3L33.8 35l4-2.3V10.9l-4-2.3-10.9-6.3ZM8 28.1V15.5l10.9-6.3 10.9 6.3v12.6l-10.9 6.3Z","data-name":"Layer 1",style:{fill:"#2a5ada"}})})}))),Ae=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 82.6 82.6","aria-hidden":"true",...r,children:[e("circle",{cx:41.3,cy:41.3,r:36.83,style:{fill:"#fff"}}),e("path",{d:"M41.3 0a41.3 41.3 0 1 0 41.3 41.3A41.18 41.18 0 0 0 41.54 0Zm.7 42.7-4.3 14.5h23a1.16 1.16 0 0 1 1.2 1.12v.38l-2 6.9a1.49 1.49 0 0 1-1.5 1.1H23.2l5.9-20.1-6.6 2L24 44l6.6-2 8.3-28.2a1.51 1.51 0 0 1 1.5-1.1h8.9a1.16 1.16 0 0 1 1.2 1.12v.38l-7 23.8 6.6-2-1.4 4.8Z",style:{fill:"#345d9d"}})]}))),Pe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 600","aria-hidden":"true",...r,children:[e("defs",{children:t("linearGradient",{id:"a",x1:300,x2:300,y1:602,y2:2,gradientTransform:"matrix(1 0 0 -1 0 602)",gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:0,stopColor:"#4fa89b"}),e("stop",{offset:1,stopColor:"#6acebb"})]})}),e("g",{"data-name":"Layer 2",children:t("g",{"data-name":"Layer 1",children:[e("circle",{cx:300,cy:300,r:300,style:{fill:"url(#a)"}}),e("path",{d:"M152.34 390V248.8l107.08 80.59V390h27.33v-66.3a15.94 15.94 0 0 0-6.35-12.7l-129.86-97.77A16 16 0 0 0 125 226v164Zm296.14 0V248.8L341.4 329.39V390h-27.33v-66.3a15.94 15.94 0 0 1 6.35-12.7l129.86-97.73A16 16 0 0 1 475.82 226v164Z",style:{fill:"#fff"}})]})})]}))),Me=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 236.36 200","aria-hidden":"true",...t,children:e("g",{"data-name":"Layer 2",children:e("g",{"data-name":"Layer 1",children:e("path",{d:"m203 26.16-28.46 14.5-137.43 70a82.5 82.5 0 0 1-.7-10.69A81.87 81.87 0 0 1 158.2 28.6l16.29-8.3 2.43-1.24A100 100 0 0 0 18.18 100q0 3.82.29 7.61a18.19 18.19 0 0 1-9.88 17.58L0 129.57V150l25.29-12.89 8.19-4.18 8.07-4.11L186.43 55l16.28-8.29 33.65-17.15V9.14ZM236.36 50 49.78 145l-16.28 8.31L0 170.38v20.41l33.27-16.95 28.46-14.5 137.57-70.1A83.5 83.5 0 0 1 200 100a81.87 81.87 0 0 1-121.91 71.36l-1 .53-17.66 9A100 100 0 0 0 218.18 100c0-2.57-.1-5.14-.29-7.68a18.2 18.2 0 0 1 9.87-17.58l8.6-4.38Z"})})})}))),ke=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 424","aria-hidden":"true",...r,children:[e("defs",{children:e("style",{children:".cls-1{fill:#23292f}"})}),e("g",{id:"Layer_2","data-name":"Layer 2",children:e("g",{id:"Layer_1-2","data-name":"Layer 1",children:e("path",{d:"M437 0h74L357 152.48c-55.77 55.19-146.19 55.19-202 0L.94 0H75l117 115.83a91.11 91.11 0 0 0 127.91 0ZM74.05 424H0l155-153.42c55.77-55.19 146.19-55.19 202 0L512 424h-74L320 307.23a91.11 91.11 0 0 0-127.91 0Z",className:"cls-1"})})})]})));function Ee(t,e={}){let r=!1;function n(e){const r=`chakra-${(["container","root"].includes(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 Ee(t,e)},toPart:n,extend:function(...r){for(const t of r)t in e||(e[t]=n(t));return Ee(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:{}}}const Ce=Ee("accordion").parts("root","container","button","panel","icon"),_e=Ee("alert").parts("title","description","container","icon","spinner");Ee("avatar").parts("label","badge","container","excessLabel","group"),Ee("breadcrumb").parts("link","item","container","separator"),Ee("button").parts();const Te=Ee("checkbox").parts("control","icon","container","label");Ee("progress").parts("track","filledTrack","label"),Ee("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Ee("editable").parts("preview","input","textarea"),Ee("form").parts("container","requiredIndicator","helperText"),Ee("formError").parts("text","icon");const De=Ee("input").parts("addon","field","element","group");Ee("list").parts("container","item","icon"),Ee("menu").parts("button","list","item","groupTitle","icon","command","divider"),Ee("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Ee("numberinput").parts("root","field","stepperGroup","stepper"),Ee("pininput").parts("field"),Ee("popover").parts("content","header","body","footer","popper","arrow","closeButton"),Ee("progress").parts("label","filledTrack","track"),Ee("radio").parts("container","control","label");const Ie=Ee("select").parts("field","icon");Ee("slider").parts("container","track","thumb","filledTrack","mark"),Ee("stat").parts("container","label","helpText","number","icon"),Ee("switch").parts("container","track","thumb","label"),Ee("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Ee("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");const Ne=Ee("tag").parts("container","label","closeButton");Ee("card").parts("container","header","body","footer"),Ee("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Le=1e6,Be=1e6,Re="[big.js] ",ze=Re+"Invalid ",$e=ze+"decimal places",He=ze+"rounding mode",Ve=Re+"Division by zero",Fe={},Ue=void 0,We=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function qe(t,e,r,n){var i=t.c;if(r===Ue&&(r=t.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error(He);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]!==Ue))),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]!==Ue||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 Ye(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}Fe.abs=function(){var t=new this.constructor(this);return t.s=1,t},Fe.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},Fe.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>Le)throw Error($e);if(!i[0])throw Error(Ve);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]!==Ue)&&o--);return m[0]||1==b||(m.shift(),g.e--,w--),b>w&&qe(g,w,r.RM,y[0]!==Ue),g},Fe.eq=function(t){return 0===this.cmp(t)},Fe.gt=function(t){return this.cmp(t)>0},Fe.gte=function(t){return this.cmp(t)>-1},Fe.lt=function(t){return this.cmp(t)<0},Fe.lte=function(t){return this.cmp(t)<1},Fe.minus=Fe.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},Fe.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(Ve);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)))},Fe.neg=function(){var t=new this.constructor(this);return t.s=-t.s,t},Fe.plus=Fe.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},Fe.pow=function(t){var e=this,r=new e.constructor("1"),n=r,i=t<0;if(t!==~~t||t<-1e6||t>Be)throw Error(ze+"exponent");for(i&&(t=-t);1&t&&(n=n.times(e)),t>>=1;)e=e.times(e);return i?r.div(n):n},Fe.prec=function(t,e){if(t!==~~t||t<1||t>Le)throw Error(ze+"precision");return qe(new this.constructor(this),t,e)},Fe.round=function(t,e){if(t===Ue)t=0;else if(t!==~~t||t<-Le||t>Le)throw Error($e);return qe(new this.constructor(this),t+this.e+1,e)},Fe.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(Re+"No square root");0===(o=Math.sqrt(+Ye(n,!0,!0)))||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 qe(t,(i.DP-=4)+t.e+1,i.RM)},Fe.times=Fe.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},Fe.toExponential=function(t,e){var r=this,n=r.c[0];if(t!==Ue){if(t!==~~t||t<0||t>Le)throw Error($e);for(r=qe(new r.constructor(r),++t,e);r.c.length<t;)r.c.push(0)}return Ye(r,!0,!!n)},Fe.toFixed=function(t,e){var r=this,n=r.c[0];if(t!==Ue){if(t!==~~t||t<0||t>Le)throw Error($e);for(t=t+(r=qe(new r.constructor(r),t+r.e+1,e)).e+1;r.c.length<t;)r.c.push(0)}return Ye(r,!1,!!n)},Fe[Symbol.for("nodejs.util.inspect.custom")]=Fe.toJSON=Fe.toString=function(){var t=this,e=t.constructor;return Ye(t,t.e<=e.NE||t.e>=e.PE,!!t.c[0])},Fe.toNumber=function(){var t=+Ye(this,!0,!0);if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error(Re+"Imprecise conversion");return t},Fe.toPrecision=function(t,e){var r=this,n=r.constructor,i=r.c[0];if(t!==Ue){if(t!==~~t||t<1||t>Le)throw Error(ze+"precision");for(r=qe(new n(r),t,e);r.c.length<t;)r.c.push(0)}return Ye(r,t<=r.e||r.e<=n.NE||r.e>=n.PE,!!i)},Fe.valueOf=function(){var t=this,e=t.constructor;if(!0===e.strict)throw Error(Re+"valueOf disallowed");return Ye(t,t.e<=e.NE||t.e>=e.PE,!0)};var Xe=function t(){function e(r){var n=this;if(!(n instanceof e))return r===Ue?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(ze+"value");r=0===r&&1/r<0?"-0":String(r)}!function(t,e){var r,n,i;if(!We.test(e))throw Error(ze+"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=Fe,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 Ke=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 Xe(0)).toNumber()};var Ge="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ze(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Je={exports:{}};Je.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 Qe,tr,er,rr=Ze(Je.exports),nr={exports:{}};nr.exports=(Qe="minute",tr=/[+-]\d\d(?::?\d\d)?/g,er=/([+-]|\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(),Qe):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(tr);if(!e)return null;var r=(""+e[0]).match(er)||["-",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,Qe)).$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 ir=Ze(nr.exports);rr.extend(ir);const or=({timeString:t,toEndDate:e})=>""===t?"":e?rr(`${t}T23:59:59`).utc().unix().toString():rr(t).utc().unix().toString(),ar=({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:Xe(n).div(100).toNumber())};
1
+ import{jsxs as t,jsx as e,Fragment as r}from"react/jsx-runtime";import{chakra as n,createMultiStyleConfigHelpers as o,defineStyle as i,defineStyleConfig as a,extendTheme as c,withDefaultColorScheme as u,useBreakpoint as l,Portal as s,Tooltip as f,Text as p,ButtonGroup as d,Button as h,Card as y,Flex as v,IconButton as m,FormControl as g,FormLabel as b,Checkbox as w,FormErrorMessage as x,forwardRef as O,InputGroup as S,InputLeftAddon as j,InputLeftElement as P,Input as A,InputRightElement as M,InputRightAddon as k,FormHelperText as E,Box as C,Modal as _,ModalOverlay as T,ModalContent as D,ModalHeader as I,ModalCloseButton as N,ModalBody as L,ModalFooter as B,Link as R,Select as $,Tag as z,TagLeftIcon as H,TagLabel as F,TagRightIcon as V,TagCloseButton as U,Alert as W,AlertIcon as q,AlertTitle as Y,AlertDescription as X,CloseButton as K,Spinner as G}from"@chakra-ui/react";import Z from"crypto";import J,{isValidElement as Q,Children as tt,PureComponent as et,forwardRef as rt,useRef as nt,useImperativeHandle as ot,useState as it,useCallback as at,useEffect as ct,useMemo as ut,cloneElement as lt,createElement as st,useContext as ft,createContext as pt,Component as dt}from"react";import{css as ht,keyframes as yt}from"@emotion/react";const vt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#3c397803)",children:[e("path",{d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10"}),e("path",{d:"M12 5.5a1 1 0 0 0-1 1v8a1 1 0 1 0 2 0v-8a1 1 0 0 0-1-1M13 18.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0"})]}),e("defs",{children:e("clipPath",{id:"3c397803",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),mt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#c9a7d4d8)",children:e("path",{fill:"#000",d:"m14.563 9.22-.915.947-3.02-3.125a2.54 2.54 0 0 0-1.785-.74c-.666 0-1.305.265-1.786.74l-.146.15a.85.85 0 0 1-.596.248.85.85 0 0 1-.595-.248L1.448 2.766A.84.84 0 0 0 .849 2.5a.82.82 0 0 0-.602.255A.87.87 0 0 0 0 3.38.9.9 0 0 0 .257 4l4.271 4.42c.482.476 1.121.741 1.787.741S7.62 8.895 8.1 8.42l.145-.151a.85.85 0 0 1 .596-.247c.222 0 .435.088.595.247l3.02 3.13-.914.947a.9.9 0 0 0-.183.95c.064.159.172.295.31.39a.82.82 0 0 0 .468.147h2.599c.335 0 .656-.137.893-.383a1.33 1.33 0 0 0 .37-.924V9.831a.9.9 0 0 0-.144-.482.85.85 0 0 0-.379-.319.82.82 0 0 0-.915.19"})}),e("defs",{children:e("clipPath",{id:"c9a7d4d8",children:e("path",{fill:"#fff",d:"M0 .5h16v16H0z"})})})]}))),gt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#6f1ccf07)",children:e("path",{fill:"#000",d:"M14.738 2H12.14a.82.82 0 0 0-.467.147.87.87 0 0 0-.31.39.9.9 0 0 0 .182.949l.914.945-3.018 3.121a.85.85 0 0 1-.595.247.85.85 0 0 1-.595-.247l-.144-.149a2.54 2.54 0 0 0-1.785-.74c-.665 0-1.304.265-1.785.74l-4.292 4.44a.9.9 0 0 0-.246.618c0 .232.09.454.248.617a.83.83 0 0 0 .598.255.83.83 0 0 0 .596-.256l4.292-4.44a.85.85 0 0 1 .595-.247c.222 0 .435.088.596.247l.143.149a2.54 2.54 0 0 0 1.785.74 2.54 2.54 0 0 0 1.785-.74l3.018-3.122.913.945a.815.815 0 0 0 .913.182.85.85 0 0 0 .376-.319.9.9 0 0 0 .142-.48V3.306a1.33 1.33 0 0 0-.37-.924A1.24 1.24 0 0 0 14.738 2"})}),e("defs",{children:e("clipPath",{id:"6f1ccf07",children:e("path",{d:"M0 0h16v16H0z"})})})]}))),bt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#9491b547)",children:e("path",{fill:"#000",d:"M24 23.5a1 1 0 0 1-1 1H1a1 1 0 0 1 0-2h22a1 1 0 0 1 1 1M.291 9.052a2.44 2.44 0 0 1 .153-2.566c.427-.627 1-1.141 1.668-1.5l7.501-3.904a5.17 5.17 0 0 1 4.774 0l7.5 3.907c.669.359 1.24.873 1.668 1.5a2.44 2.44 0 0 1 .153 2.566 2.71 2.71 0 0 1-2.416 1.445H21v8h1a1 1 0 1 1 0 2H2a1 1 0 0 1 0-2h1v-8h-.292A2.71 2.71 0 0 1 .291 9.052m4.71 9.448h3v-8H5zm5-8v8h4v-8zm9 0h-3v8h3zM2.062 8.125a.72.72 0 0 0 .645.375h18.584a.72.72 0 0 0 .645-.375.45.45 0 0 0-.024-.5 2.7 2.7 0 0 0-.949-.864l-7.5-3.907a3.18 3.18 0 0 0-2.926 0l-7.5 3.907a2.7 2.7 0 0 0-.949.865.45.45 0 0 0-.026.5"})}),e("defs",{children:e("clipPath",{id:"9491b547",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),wt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#fafc2088)",children:[e("path",{d:"M5 23h18a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5V2a1 1 0 0 1 2 0v18a3 3 0 0 0 3 3"}),e("path",{d:"M6.707 20.707A1 1 0 0 1 5 20v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-.293.707M10 11v9a1 1 0 1 0 2 0v-9a1 1 0 0 0-2 0M15 20v-6a1 1 0 0 1 2 0v6a1 1 0 1 1-2 0M20 10v10a1 1 0 1 0 2 0V10a1 1 0 0 0-2 0M6.707 9.707a1 1 0 1 1-1.414-1.414l3.586-3.586a3 3 0 0 1 4.242 0l2.172 2.17a1 1 0 0 0 1.414 0l5.586-5.584a1 1 0 0 1 1.414 1.414L18.12 8.293a3 3 0 0 1-4.242 0L11.707 6.12a1.025 1.025 0 0 0-1.414 0z"})]}),e("defs",{children:e("clipPath",{id:"fafc2088",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),xt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 82 80","aria-hidden":"true",...r,children:[e("path",{fill:"#000",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M51.94 8.444 36.904 23.48a1.515 1.515 0 0 1-1.664.332 1.5 1.5 0 0 1-.495-.332l-5.136-5.144a1.513 1.513 0 0 0-1.664-.332 1.54 1.54 0 0 0-.827.828 1.51 1.51 0 0 0 0 1.169c.077.185.189.353.331.495l5.139 5.137a4.58 4.58 0 0 0 6.47 0l15.036-15.031a1.517 1.517 0 0 0 0-2.154 1.514 1.514 0 0 0-1.664-.332z"}),e("path",{fill:"#000",fillRule:"evenodd",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M16.983 52 6.179 66.45c3.976-1.603 8.914-3.063 14.034-3.612 7.169-.768 14.89.228 20.787 5.401 5.898-5.173 13.618-6.169 20.787-5.4 5.12.548 10.058 2.008 14.034 3.61L65.017 52c-2.188-2.235-5.98-4.913-10.229-5.694-4.241-.78-8.906.326-12.984 5.637L41 52.99l-.804-1.047c-4.078-5.31-8.743-6.417-12.984-5.637-4.249.782-8.04 3.46-10.23 5.694ZM41 48.743c-4.49-5.241-9.57-6.324-14.102-5.49-4.76.875-8.95 3.86-11.38 6.365l-.06.06L1 69.017l1.245 2.52c4.087-2.2 10.946-4.853 18.153-5.626 7.236-.775 14.613.368 19.932 5.45L41 72l.67-.64c5.32-5.082 12.696-6.225 19.932-5.45 7.207.773 14.066 3.427 18.153 5.626L81 69.016 66.541 49.679l-.059-.061c-2.43-2.506-6.62-5.49-11.38-6.366-4.532-.833-9.612.25-14.102 5.49Z",clipRule:"evenodd"}),e("path",{fill:"url(#e4ad4261)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M51.94 8.444 36.904 23.48a1.515 1.515 0 0 1-1.664.332 1.5 1.5 0 0 1-.495-.332l-5.136-5.144a1.513 1.513 0 0 0-1.664-.332 1.54 1.54 0 0 0-.827.828 1.51 1.51 0 0 0 0 1.169c.077.185.189.353.331.495l5.139 5.137a4.58 4.58 0 0 0 6.47 0l15.036-15.031a1.517 1.517 0 0 0 0-2.154 1.514 1.514 0 0 0-1.664-.332z"}),e("path",{fill:"url(#65cb314b)",fillRule:"evenodd",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M16.983 52 6.179 66.45c3.976-1.603 8.914-3.063 14.034-3.612 7.169-.768 14.89.228 20.787 5.401 5.898-5.173 13.618-6.169 20.787-5.4 5.12.548 10.058 2.008 14.034 3.61L65.017 52c-2.188-2.235-5.98-4.913-10.229-5.694-4.241-.78-8.906.326-12.984 5.637L41 52.99l-.804-1.047c-4.078-5.31-8.743-6.417-12.984-5.637-4.249.782-8.04 3.46-10.23 5.694ZM41 48.743c-4.49-5.241-9.57-6.324-14.102-5.49-4.76.875-8.95 3.86-11.38 6.365l-.06.06L1 69.017l1.245 2.52c4.087-2.2 10.946-4.853 18.153-5.626 7.236-.775 14.613.368 19.932 5.45L41 72l.67-.64c5.32-5.082 12.696-6.225 19.932-5.45 7.207.773 14.066 3.427 18.153 5.626L81 69.016 66.541 49.679l-.059-.061c-2.43-2.506-6.62-5.49-11.38-6.366-4.532-.833-9.612.25-14.102 5.49Z",clipRule:"evenodd"}),t("defs",{children:[t("linearGradient",{id:"e4ad4261",x1:27.581,x2:55.057,y1:16.74,y2:16.74,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})]}),t("linearGradient",{id:"65cb314b",x1:2.688,x2:82.498,y1:56.36,y2:56.36,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})]})]})]}))),Ot=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#4bbcc7d4)",children:[e("path",{d:"M13.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M7 16.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M18.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),e("path",{fillRule:"evenodd",d:"M18 2h1a5.006 5.006 0 0 1 5 5v12a5.006 5.006 0 0 1-5 5H5a5.006 5.006 0 0 1-5-5V7a5.006 5.006 0 0 1 5-5h1V1a1 1 0 0 1 2 0v1h8V1a1 1 0 0 1 2 0zM2.879 4.879A3 3 0 0 0 2 7v1h20V7a3 3 0 0 0-3-3H5a3 3 0 0 0-2.121.879m0 16.242A3 3 0 0 0 5 22h14a3 3 0 0 0 3-3v-9H2v9a3 3 0 0 0 .879 2.121",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"4bbcc7d4",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),St=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#53ee7faa)",children:e("path",{fill:"#000",d:"m.292 7.861 8.17 8.17a5 5 0 0 0 7.08 0l8.17-8.17a1.004 1.004 0 1 0-1.42-1.42l-8.17 8.17a3 3 0 0 1-4.24 0l-8.17-8.17a1 1 0 0 0-1.42 0 1 1 0 0 0 0 1.42"})}),e("defs",{children:e("clipPath",{id:"53ee7faa",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),jt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#64af8551)",children:e("path",{fill:"#000",d:"M17.17 24.5a1 1 0 0 1-.71-.29l-8.17-8.17a5 5 0 0 1 0-7.08L16.46.79a1.004 1.004 0 1 1 1.42 1.42l-8.17 8.17a3 3 0 0 0 0 4.24l8.17 8.17a1 1 0 0 1-.71 1.71"})}),e("defs",{children:e("clipPath",{id:"64af8551",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Pt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#a0a0cf84)",children:e("path",{fill:"#000",d:"M7 24.5a1 1 0 0 1-.71-1.71l8.17-8.17a3 3 0 0 0 0-4.24L6.29 2.21A1.004 1.004 0 0 1 7.71.79l8.17 8.17a5 5 0 0 1 0 7.08l-8.17 8.17a1 1 0 0 1-.71.29"})}),e("defs",{children:e("clipPath",{id:"a0a0cf84",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),At=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#c735ab99)",children:e("path",{fill:"#000",d:"m23.71 16.79-8.17-8.17a5 5 0 0 0-7.08 0L.29 16.79a1.004 1.004 0 1 0 1.42 1.42l8.17-8.17a3 3 0 0 1 4.24 0l8.17 8.17a1.002 1.002 0 0 0 1.64-.325 1 1 0 0 0-.22-1.095"})}),e("defs",{children:e("clipPath",{id:"c735ab99",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Mt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#bc5773b5)",children:[e("path",{d:"M11.033 5.145a.968.968 0 0 1 1.935 0v.944a6.5 6.5 0 0 1 3.618 1.827.968.968 0 0 1-1.37 1.369 4.55 4.55 0 0 0-3.215-1.332A4.534 4.534 0 0 0 7.452 12.5 4.534 4.534 0 0 0 12 17.05a4.55 4.55 0 0 0 3.209-1.339.967.967 0 0 1 1.372 1.367 6.5 6.5 0 0 1-3.612 1.833v.946a.967.967 0 1 1-1.935 0v-.944c-3.114-.47-5.516-3.17-5.516-6.41S7.92 6.56 11.033 6.09z"}),e("path",{fillRule:"evenodd",d:"M12 .5C5.384.5 0 5.884 0 12.5s5.384 12 12 12 12-5.384 12-12-5.384-12-12-12m0 1.936A10.05 10.05 0 0 1 22.064 12.5 10.05 10.05 0 0 1 12 22.564 10.05 10.05 0 0 1 1.936 12.5 10.05 10.05 0 0 1 12 2.436",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"bc5773b5",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),kt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#9c399fd1)",children:e("path",{fill:"#000",d:"M22.319 4.931 8.499 18.75a1 1 0 0 1-1.416 0L1.739 13.4a1 1 0 0 0-1.417 0 1 1 0 0 0 0 1.417l5.346 5.345a3.01 3.01 0 0 0 4.25 0L23.736 6.347a1 1 0 0 0-.709-1.71 1 1 0 0 0-.708.294"})}),e("defs",{children:e("clipPath",{id:"9c399fd1",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Et=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#0d4ad2be)",children:e("path",{fill:"#000",d:"M19 3.5h-6.528a1 1 0 0 1-.447-.1L8.869 1.816A3 3 0 0 0 7.528 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-10a5.006 5.006 0 0 0-5-5m-14 0h2.528c.155 0 .308.033.447.1l3.156 1.58c.416.208.875.318 1.341.32H19a3 3 0 0 1 2.779 1.882L2 7.494V6.5a3 3 0 0 1 3-3m14 18H5a3 3 0 0 1-3-3V9.494l20-.113v9.12a3 3 0 0 1-3 3"})}),e("defs",{children:e("clipPath",{id:"0d4ad2be",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ct=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:25,fill:"none",viewBox:"0 0 80 80","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#e82ea890)",children:[e("path",{fill:"#000",d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881m0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095"}),e("path",{fill:"url(#59bc3f76)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881Zm0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095Z"})]}),t("defs",{children:[t("linearGradient",{id:"59bc3f76",x1:.095,x2:79.905,y1:40.001,y2:40.001,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"e82ea890",children:e("path",{fill:"#fff",d:"M0 0h80v80H0z"})})]})]}))),_t=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#e1eeb89c)",children:e("path",{fill:"#000",d:"M23.707.793a1 1 0 0 0-1.414 0L12 11.086 1.707.793a1 1 0 0 0-1.414 0 1 1 0 0 0 0 1.414L10.586 12.5.293 22.793a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.914l10.293 10.293a1 1 0 0 0 1.414-1.414L13.414 12.5 23.707 2.207a1 1 0 0 0 0-1.414"})}),e("defs",{children:e("clipPath",{id:"e1eeb89c",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Tt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#78978fe1)",children:e("path",{fill:"#000",d:"M21.736 16.9A5.01 5.01 0 0 0 17 13.5h-4v-1.084a6 6 0 1 0-2 0V13.5H7a5.01 5.01 0 0 0-4.736 3.4 4 4 0 1 0 2.447-.334A3 3 0 0 1 7 15.5h4v1.127a4 4 0 1 0 2 0V15.5h4a3 3 0 0 1 2.289 1.063 4 4 0 1 0 2.447.334zM8 6.5a4 4 0 1 1 8 0 4 4 0 0 1-8 0m-2 14a2 2 0 1 1-4 0 2 2 0 0 1 4 0m8 0a2 2 0 1 1-4.001 0 2 2 0 0 1 4 0m6 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})}),e("defs",{children:e("clipPath",{id:"78978fe1",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Dt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#3fccef48)",children:e("path",{fill:"#000",d:"M13 20.5a5.006 5.006 0 0 0 5-5V6.743a3.97 3.97 0 0 0-1.172-2.829l-2.242-2.242A3.97 3.97 0 0 0 11.757.5H7a5.006 5.006 0 0 0-5 5v10a5.006 5.006 0 0 0 5 5zm-9-5v-10a3 3 0 0 1 3-3s4.92.014 5 .024V4.5a2 2 0 0 0 2 2h1.976c.01.081.024 9 .024 9a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3m18-7v11a5.005 5.005 0 0 1-5 5H8a1 1 0 0 1 0-2h9a3 3 0 0 0 3-3v-11a1 1 0 0 1 2 0"})}),e("defs",{children:e("clipPath",{id:"3fccef48",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),It=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#7bd92f01)",children:e("path",{fill:"#000",d:"M13.932 4.5A3.07 3.07 0 0 1 17 7.568a1 1 0 0 0 2 0v-.123A5.073 5.073 0 0 0 13.932 2.5H13v-1a1 1 0 1 0-2 0v1h-.932a5.068 5.068 0 0 0-1.6 9.875L11 13.22v7.28h-.932A3.07 3.07 0 0 1 7 17.432a1 1 0 1 0-2 0v.123a5.073 5.073 0 0 0 5.068 4.945H11v1a1 1 0 0 0 2 0v-1h.932a5.068 5.068 0 0 0 1.6-9.875L13 11.78V4.5zm.97 10.021a3.068 3.068 0 0 1-.97 5.979H13v-6.613zM11 11.113l-1.9-.634a3.068 3.068 0 0 1 .968-5.979H11z"})}),e("defs",{children:e("clipPath",{id:"7bd92f01",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Nt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 80 60","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#8acc34e3)",children:[e("path",{fill:"#000",d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69m-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867m9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388M21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387"}),e("path",{fill:"url(#19added0)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69Zm-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262v8.948Zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867Zm9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388ZM21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387Z"})]}),t("defs",{children:[t("linearGradient",{id:"19added0",x1:.069,x2:79.931,y1:29.999,y2:29.999,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"8acc34e3",children:e("path",{fill:"#fff",d:"M0 .395h80v59.21H0z"})})]})]}))),Lt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#213e37ae)",children:[e("path",{d:"M10.852 19.273a3 3 0 0 1-.974-.651l-3.21-3.207A1 1 0 0 1 8.08 14l2.91 2.908.01-15.408a1 1 0 0 1 2 0l-.008 15.427L15.92 14a1 1 0 0 1 1.414 1.411l-3.21 3.211a3 3 0 0 1-3.271.65"}),e("path",{d:"M22.293 16.793A1 1 0 0 1 24 17.5v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 1 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-4a1 1 0 0 1 .293-.707"})]}),e("defs",{children:e("clipPath",{id:"213e37ae",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Bt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#2de5b65b)",children:[e("path",{fillRule:"evenodd",d:"M18.67 1.387 6.469 13.602a4.97 4.97 0 0 0-1.465 3.541v1.346a1 1 0 0 0 1 1.002H7.35a4.96 4.96 0 0 0 3.537-1.467l12.2-12.215a3.133 3.133 0 0 0 0-4.422 3.195 3.195 0 0 0-4.416 0m.18 5.83-9.379 9.39a3.02 3.02 0 0 1-2.122.88h-.344v-.344c.002-.796.318-1.56.879-2.125l9.378-9.39zm1.415-1.416 1.407-1.409a1.126 1.126 0 0 0 0-1.589 1.15 1.15 0 0 0-1.587 0l-1.407 1.409z",clipRule:"evenodd"}),e("path",{d:"M0 23.498c0-.553.373-1.002.834-1.002H19.18c.46 0 .834.449.834 1.002s-.373 1.002-.834 1.002H.834c-.46 0-.834-.449-.834-1.002"})]}),e("defs",{children:e("clipPath",{id:"2de5b65b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Rt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M20.914 17.62a5 5 0 0 0 1.621-1.084A4.97 4.97 0 0 0 24 12.996V2a1 1 0 0 0-2 0v10.997a3 3 0 0 1-3 2.999H2.788L7.1 11.688a1.001 1.001 0 1 0-1.418-1.414l-4.95 4.95a2.5 2.5 0 0 0 0 3.534l4.95 4.948A1 1 0 0 0 7.1 22.294l-4.3-4.299H19a5 5 0 0 0 1.914-.376"})}))),$t=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M3.086 17.62a5 5 0 0 1-1.621-1.084A4.97 4.97 0 0 1 0 12.996V2a1 1 0 0 1 2 0v10.997a3 3 0 0 0 3 2.999h16.212L16.9 11.688a1.003 1.003 0 0 1 .002-1.416 1 1 0 0 1 1.416.002l4.95 4.95a2.5 2.5 0 0 1 0 3.534l-4.95 4.948a1 1 0 0 1-1.418-1.412l4.3-4.299H5a5 5 0 0 1-1.914-.376"})}))),zt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#1d876006)",children:e("path",{d:"M23.41 5.094c.373.372.585.875.59 1.401a2 2 0 0 1-.59 1.412l-4.29 4.303a1 1 0 1 1-1.41-1.421L21 7.496H11a1 1 0 0 1 0-2.001h10l-3.29-3.283A1.002 1.002 0 0 1 19.12.791zM3 17.504h10a1 1 0 0 1 .707 1.708 1 1 0 0 1-.707.294H3l3.29 3.282a1.002 1.002 0 0 1-1.41 1.421L.59 19.906A2 2 0 0 1 0 18.505c.002-.53.214-1.038.59-1.411l4.29-4.304a1 1 0 0 1 1.629 1.096 1 1 0 0 1-.219.325z"})}),e("defs",{children:e("clipPath",{id:"1d876006",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ht=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#06771c5d)",children:e("path",{fill:"#000",d:"M14 24.5a1 1 0 0 1-.6-.2l-4-3a1 1 0 0 1-.4-.8v-5.62L1.984 6.987A3.9 3.9 0 0 1 4.9.5h14.2a3.9 3.9 0 0 1 2.913 6.488L15 14.88v8.62a1 1 0 0 1-1 1M11 20l2 1.5v-7a1 1 0 0 1 .253-.664l7.268-8.177A1.9 1.9 0 0 0 19.1 2.5H4.9a1.9 1.9 0 0 0-1.421 3.158l7.269 8.178A1 1 0 0 1 11 14.5z"})}),e("defs",{children:e("clipPath",{id:"06771c5d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ft=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#513f5486)",children:[e("path",{d:"M12.717 5.563A4 4 0 0 0 8 9.5a1 1 0 1 0 2 0 2.002 2.002 0 0 1 2.371-1.967 2.02 2.02 0 0 1 1.6 1.595 2 2 0 0 1-1 2.125 3.95 3.95 0 0 0-1.97 3.504v.743a1 1 0 0 0 2 0v-.743a1.98 1.98 0 0 1 .93-1.752 4 4 0 0 0-1.214-7.442M12 17.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2"}),e("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"513f5486",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Vt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#dbd56355)",children:e("path",{fill:"#000",fillRule:"evenodd",d:"M22.293 11.793A1 1 0 0 1 24 12.5a11.994 11.994 0 1 1-4-8.935V1.5a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3h-3a1 1 0 1 1 0-2h3a1 1 0 0 0 .1-.021A10.034 10.034 0 1 0 22 12.5a1 1 0 0 1 .293-.707m-11-5A1 1 0 0 1 13 7.5v4.586l2.707 2.707a1 1 0 0 1-1.414 1.414l-3-3A1 1 0 0 1 11 12.5v-5a1 1 0 0 1 .293-.707",clipRule:"evenodd"})}),e("defs",{children:e("clipPath",{id:"dbd56355",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ut=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#b05ae72a)",children:e("path",{fill:"#000",d:"m23.121 9.569-7.585-7.586a5.01 5.01 0 0 0-7.072 0L.88 9.569A2.98 2.98 0 0 0 0 11.689v9.818a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3V11.69a2.98 2.98 0 0 0-.879-2.121m-8.12 12.938H9v-3.934a3 3 0 0 1 6 0zm7-1a1 1 0 0 1-1 1h-4v-3.934a5 5 0 0 0-10 0v3.934H3a1 1 0 0 1-1-1V11.69c0-.265.105-.52.292-.707L9.878 3.4a3.01 3.01 0 0 1 4.244 0l7.585 7.586c.186.187.291.44.293.704z"})}),e("defs",{children:e("clipPath",{id:"b05ae72a",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Wt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M6.41 9.5h11.18a1 1 0 0 1 .7 1.71l-5.58 5.58a1 1 0 0 1-1.42 0l-5.58-5.58a1 1 0 0 1 .7-1.71"})}))),qt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"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"})}))),Yt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#dab7ab78)",children:[e("path",{d:"M12 10.5h-1a1 1 0 0 0 0 2h1v6a1 1 0 1 0 2 0v-6a2 2 0 0 0-2-2M13.5 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),e("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"dab7ab78",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Xt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 62 80","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#4e3573e8)",children:[e("path",{fill:"#000",d:"M12.25 79.917C5.541 79.917.082 74.46.082 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.639 8.558 20.112.083 30.528.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.557 12.15v25.734c0 6.708-5.459 12.167-12.167 12.167H12.25zm0-46.574c-4.782 0-8.673 3.891-8.673 8.673V67.75c0 4.78 3.891 8.672 8.673 8.672h36.558c4.782 0 8.673-3.891 8.673-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.675-3.494V18.972c0-8.49-6.907-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.528 63.463c-4.731 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.581-8.582s8.581 3.85 8.581 8.581c0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.087 5.088 5.094 5.094 0 0 0 5.087 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),e("path",{fill:"#CDCFD1",d:"M30.528.166c10.37 0 18.808 8.437 18.808 18.808v10.973c6.418.278 11.555 5.585 11.555 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.25c-6.663 0-12.084-5.42-12.084-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.722 8.603 20.16.166 30.528.166m-15.48 29.766h30.959v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.25c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.812 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.811-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.065 0 11.554 8.511 11.554 18.974v10.814a12.2 12.2 0 0 0-8.139 3.75A12.2 12.2 0 0 0 0 42.016V67.75C0 74.505 5.495 80 12.25 80h36.558c6.755 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.213-6.184-3.417-8.478a12.2 12.2 0 0 0-8.14-3.75V18.974C49.502 8.51 40.992 0 30.529 0M15.214 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.248 76.34c-4.737 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.853-8.59 8.59-8.59h36.559c4.736 0 8.589 3.853 8.589 8.59V67.75c0 4.736-3.853 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664 8.665-3.886 8.665-8.664-3.887-8.664-8.665-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"}),e("path",{fill:"url(#b40a6a1b)",d:"M12.21 79.917C5.502 79.917.044 74.458.044 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.598 8.558 20.073.083 30.489.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.556 12.15v25.734c0 6.708-5.458 12.167-12.166 12.167H12.21zm0-46.574c-4.781 0-8.672 3.891-8.672 8.673V67.75c0 4.78 3.891 8.672 8.672 8.672h36.56c4.78 0 8.672-3.891 8.672-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.676-3.494V18.972c0-8.49-6.908-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.489 63.463c-4.732 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.58-8.582 4.732 0 8.582 3.85 8.582 8.581 0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.088 5.088 5.094 5.094 0 0 0 5.088 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),e("path",{fill:"#CDCFD1",d:"M30.489.166c10.37 0 18.807 8.437 18.807 18.808v10.973c6.419.278 11.556 5.585 11.556 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.21c-6.663 0-12.083-5.42-12.083-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.683 8.604 20.119.166 30.49.166M15.01 29.932h30.958v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.21c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.811 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.812-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.025 0 11.513 8.511 11.513 18.974v10.814a12.2 12.2 0 0 0-8.138 3.75 12.18 12.18 0 0 0-3.417 8.478V67.75C-.042 74.505 5.453 80 12.207 80h36.559c6.754 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.214-6.184-3.418-8.478a12.2 12.2 0 0 0-8.139-3.75V18.974C49.46 8.51 40.95 0 30.486 0zM15.173 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.207 76.34c-4.736 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.854-8.59 8.59-8.59h36.559c4.736 0 8.59 3.853 8.59 8.59V67.75c0 4.736-3.854 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664c4.779 0 8.665-3.886 8.665-8.664s-3.886-8.664-8.664-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"})]}),t("defs",{children:[t("linearGradient",{id:"b40a6a1b",x1:2.67,x2:58.264,y1:75.561,y2:19.931,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"4e3573e8",children:e("path",{fill:"#fff",d:"M0 0h61.058v80H0z"})})]})]}))),Kt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#705555a7)",children:e("path",{fill:"#000",d:"M19 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-12a5.006 5.006 0 0 0-5-5m-14 2h14a3 3 0 0 1 2.78 1.887l-7.658 7.659a3.007 3.007 0 0 1-4.244 0L2.22 5.386A3 3 0 0 1 5 3.5m14 18H5a3 3 0 0 1-3-3V8l6.464 6.46a5.007 5.007 0 0 0 7.072 0L22 8v10.5a3 3 0 0 1-3 3"})}),e("defs",{children:e("clipPath",{id:"705555a7",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Gt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M23 4.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M23 11.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M1 18.5h22a1 1 0 1 1 0 2H1a1 1 0 1 1 0-2"})}))),Zt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M.293 11.293A1 1 0 0 1 1 11h22a1 1 0 0 1 0 2H1a1 1 0 0 1-.707-1.707"})}))),Jt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#752c60ff)",children:e("path",{d:"M2 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M12 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M24 12.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})}),e("defs",{children:e("clipPath",{id:"752c60ff",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Qt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#251a2feb)",children:e("path",{fill:"#000",d:"m22.555 14.162-1.9-6.836A9.321 9.321 0 0 0 2.576 7.8l-1.471 6.615A5 5 0 0 0 5.986 20.5H7.1a5 5 0 0 0 9.8 0h.838a5 5 0 0 0 4.818-6.338zM12 22.5a3 3 0 0 1-2.816-2h5.632a3 3 0 0 1-2.816 2m8.126-5.185a2.98 2.98 0 0 1-2.389 1.185H5.986a3 3 0 0 1-2.928-3.651l1.47-6.616a7.321 7.321 0 0 1 14.2-.372l1.9 6.836a2.98 2.98 0 0 1-.502 2.618"})}),e("defs",{children:e("clipPath",{id:"251a2feb",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),te=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#66b9637d)",children:e("path",{fill:"#000",d:"M23.9 11.946a12 12 0 0 0-4.279-7.717 12.006 12.006 0 0 0-16.385 1.07A11.99 11.99 0 0 0 0 13.508a11.86 11.86 0 0 0 3.759 8.705A4.84 4.84 0 0 0 7.113 23.5h9.767a5 5 0 0 0 3.509-1.428 11.93 11.93 0 0 0 3.51-10.126m-4.91 8.693a3 3 0 0 1-2.11.862H7.113c-.73.015-1.44-.25-1.981-.74A9.9 9.9 0 0 1 2 13.508a10 10 0 0 1 3.338-7.451 9.89 9.89 0 0 1 6.648-2.541q.588 0 1.174.065a10 10 0 0 1 8.305 6.693 9.98 9.98 0 0 1-2.474 10.37zm-11.183-2.85a1 1 0 1 1-1.4 1.429 7.992 7.992 0 0 1 6.736-13.623 1 1 0 0 1 .72 1.502.99.99 0 0 1-1.006.477 6 6 0 0 0-6.228 3.28 5.99 5.99 0 0 0 1.178 6.935m12.112-5.424q.08.568.08 1.143a7.92 7.92 0 0 1-2.407 5.711 1.002 1.002 0 0 1-1.4-1.43 5.97 5.97 0 0 0 1.744-5.138 1 1 0 0 1 1.59-.944 1 1 0 0 1 .39.659zm-5.993.631a2.03 2.03 0 0 1-2.22 2.559 2.033 2.033 0 0 1-1.495-3.039 2.03 2.03 0 0 1 2.3-.933l3.782-3.778a1 1 0 1 1 1.414 1.413z"})}),e("defs",{children:e("clipPath",{id:"66b9637d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ee=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("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"})]}))),re=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#e60de322)",clipRule:"evenodd",children:[e("path",{d:"M21.057 3.47a10.1 10.1 0 0 1 2.594 4.476 2.01 2.01 0 0 1-1.913 2.554H17.02a3 3 0 0 1-3-3V2.8a2 2 0 0 1 2.02-2 2 2 0 0 1 .543.072 10.1 10.1 0 0 1 4.475 2.598M17.015 8.5h4.72a8.07 8.07 0 0 0-5.677-5.702h-.026a.05.05 0 0 0-.025.01l.008 4.692a1 1 0 0 0 1 1"}),e("path",{d:"M14 12.5h4.713a3.06 3.06 0 0 1 2.394 1.172 2.88 2.88 0 0 1 .533 2.485A11 11 0 0 1 8.906 24.27a10.969 10.969 0 0 1-.553-21.414 2.87 2.87 0 0 1 2.48.534A3 3 0 0 1 12 5.774V10.5a2 2 0 0 0 2 2m3.425 7.26a8.97 8.97 0 0 0 2.276-4.092.88.88 0 0 0-.167-.768 1.04 1.04 0 0 0-.816-.4h-4.712a4 4 0 0 1-4-4V5.778a1.02 1.02 0 0 0-.4-.806.87.87 0 0 0-.764-.172 8.97 8.97 0 1 0 8.583 14.96"})]}),e("defs",{children:e("clipPath",{id:"e60de322",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ne=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#ce50361f)",children:e("path",{fill:"#000",d:"M23 11.5H13v-10a1 1 0 0 0-1-1 1 1 0 0 0-1 1v10H1a1 1 0 0 0-1 1 1 1 0 0 0 1 1h10v10a1 1 0 0 0 2 0v-10h10a1 1 0 0 0 0-2"})}),e("defs",{children:e("clipPath",{id:"ce50361f",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),oe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#7ecfa412)",children:e("path",{fill:"#000",d:"M19 3.522V1.5a1 1 0 0 0-2 0v1.1a5 5 0 0 0-1-.1h-1v-1a1 1 0 0 0-2 0v1h-2v-1a1 1 0 0 0-2 0v1H8a5 5 0 0 0-1 .1V1.5a1 1 0 0 0-2 0v2.022A4.98 4.98 0 0 0 3 7.5v12a5.006 5.006 0 0 0 5 5h8a5.006 5.006 0 0 0 5-5v-12a4.98 4.98 0 0 0-2-3.978M19 19.5a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3v-12a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3zm-2-11a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m0 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m-4 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h4a1 1 0 0 1 1 1"})}),e("defs",{children:e("clipPath",{id:"7ecfa412",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ie=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#ef775233)",children:e("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.265 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743m-1.863 7.577-4.272 4.272a1.87 1.87 0 0 1-1.335.553h-.033a1.87 1.87 0 0 1-1.345-.6l-2.306-2.4a1 1 0 1 1 1.441-1.382L11.112 13 15.3 8.8a1 1 0 0 1 1.414 1.414z"})}),e("defs",{children:e("clipPath",{id:"ef775233",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ae=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#57d1947f)",children:e("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.266 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743M12 19.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2m1-5a1 1 0 1 1-2 0v-8a1 1 0 0 1 2 0z"})}),e("defs",{children:e("clipPath",{id:"57d1947f",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ce=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#1259f37d)",children:e("path",{fill:"#000",d:"m23.707 22.794-5.97-5.97a10.016 10.016 0 1 0-1.413 1.415l5.969 5.969a1 1 0 0 0 1.414-1.414M10 18.5a8 8 0 1 1 8-8 8.01 8.01 0 0 1-8 8"})}),e("defs",{children:e("clipPath",{id:"1259f37d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ue=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#5df29195)",clipRule:"evenodd",children:[e("path",{d:"M9.778 9.175a4 4 0 1 1 4.444 6.652 4 4 0 0 1-4.444-6.652m1.11 4.989a2 2 0 1 0 2.223-3.325 2 2 0 0 0-2.222 3.325"}),e("path",{d:"m20.85 14.144.444.256.001-.001a3.002 3.002 0 1 1-3 5.2l-.447-.258A9 9 0 0 1 15 20.987v.513a3 3 0 1 1-6 0v-.513a9 9 0 0 1-2.85-1.642l-.445.257a3.002 3.002 0 0 1-3-5.2l.444-.256a9.1 9.1 0 0 1 0-3.29l-.444-.256a3.002 3.002 0 1 1 3-5.2l.447.259A9 9 0 0 1 9 4.013V3.5a3 3 0 1 1 6 0v.513a9 9 0 0 1 2.849 1.642l.445-.257a3.002 3.002 0 0 1 3 5.2l-.444.256a9.1 9.1 0 0 1 0 3.29m-2.104.23a7.05 7.05 0 0 0 0-3.75v.001a1 1 0 0 1 .463-1.129l1.084-.626a1 1 0 1 0-1-1.732l-1.084.627a1 1 0 0 1-1.215-.165 7 7 0 0 0-3.243-1.879A1 1 0 0 1 13 4.752V3.5a1 1 0 1 0-2 0v1.252a1 1 0 0 1-.751.973A7 7 0 0 0 7.006 7.6a1 1 0 0 1-1.214.161l-1.086-.628a1 1 0 1 0-1 1.733l1.084.626a1 1 0 0 1 .465 1.129 7.05 7.05 0 0 0 0 3.75 1 1 0 0 1-.464 1.133l-1.084.626a1 1 0 1 0 1 1.732l1.084-.627a1 1 0 0 1 1.215.165c.89.91 2.01 1.56 3.242 1.879a1 1 0 0 1 .751.969V21.5a1 1 0 0 0 2 0v-1.253a1 1 0 0 1 .751-.969 7 7 0 0 0 3.243-1.875 1 1 0 0 1 1.215-.165l1.086.628a1 1 0 0 0 1-1.733l-1.084-.626a1 1 0 0 1-.464-1.133"})]}),e("defs",{children:e("clipPath",{id:"5df29195",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),le=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#2b650bda)",children:e("path",{fill:"#000",d:"M4 7.483a2.98 2.98 0 0 1-2.121-.88L.335 5.228a1.002 1.002 0 0 1 1.332-1.496l1.585 1.416a1 1 0 0 0 1.456.04l3.604-3.435a1 1 0 0 1 1.378 1.45L6.1 6.62a2.96 2.96 0 0 1-2.1.863m20-2.002a1 1 0 0 0-1-1H13a1 1 0 0 0-.706 1.708 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1M6.1 14.63l3.59-3.418a1 1 0 1 0-1.378-1.45l-3.6 3.435a1.02 1.02 0 0 1-1.414 0l-1.59-1.586a1 1 0 0 0-1.695.711c-.002.263.099.515.28.704l1.586 1.587a3 3 0 0 0 4.226.017zm17.9-1.14a1 1 0 0 0-1-1H13a1 1 0 0 0-1 1 1 1 0 0 0 1 1.002h10a1 1 0 0 0 1-1.001M6.1 22.638l3.586-3.417a1.001 1.001 0 1 0-1.378-1.45l-3.6 3.435a1 1 0 0 1-1.456-.04l-1.585-1.416a1 1 0 0 0-1.665.805c.015.266.135.514.333.69l1.544 1.376a3 3 0 0 0 4.226.017zM24 21.498a1 1 0 0 0-1-1.001H13a1 1 0 0 0-.706 1.709 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1.001"})}),e("defs",{children:e("clipPath",{id:"2b650bda",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),se=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#91038c87)",children:[e("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),e("path",{d:"M7.223 11.532 23 11.5a1 1 0 0 1 0 2l-15.744.032q.123.209.29.382l3.88 3.88a1 1 0 1 1-1.414 1.413l-3.88-3.879a4 4 0 0 1 0-5.656l3.882-3.879a1 1 0 1 1 1.414 1.414l-3.88 3.88a2 2 0 0 0-.325.445"})]}),e("defs",{children:e("clipPath",{id:"91038c87",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),fe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#57cfec12)",children:[e("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),e("path",{d:"m18.95 5.792 3.879 3.88h-.004a4 4 0 0 1 0 5.655l-3.88 3.88a1 1 0 1 1-1.413-1.415l3.879-3.879q.2-.207.334-.462-.019.003-.036.008a.1.1 0 0 1-.042.008L5.989 13.5a1 1 0 0 1 0-2l15.684-.032q.01 0 .02.004l.022.004a2 2 0 0 0-.3-.39l-3.88-3.879a1 1 0 0 1 1.415-1.414"})]}),e("defs",{children:e("clipPath",{id:"57cfec12",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),pe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#8ca63799)",children:e("path",{d:"M6.365 6.416a.5.5 0 0 1-.278.084H4.294v12h1.793a.5.5 0 0 1 .353.854L4 21.794a1 1 0 0 1-1.414 0l-2.44-2.44A.5.5 0 0 1 .5 18.5h1.794v-12H.5a.5.5 0 0 1-.353-.854l2.439-2.439a1 1 0 0 1 1.414 0l2.44 2.44a.5.5 0 0 1-.075.769M23 6.5H10a1 1 0 0 1 0-2h13a1 1 0 1 1 0 2M10 11.5h13a1 1 0 0 1 0 2H10a1 1 0 0 1 0-2M23 18.5H10a1 1 0 0 0 0 2h13a1 1 0 1 0 0-2"})}),e("defs",{children:e("clipPath",{id:"8ca63799",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),de=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M13 1v2a1 1 0 0 1-2 0V1a1 1 0 0 1 2 0m-1 19a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0v-2a1 1 0 0 0-1-1m-8-8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h2a1 1 0 0 0 1-1m19-1h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2m-4.982-9.382a1 1 0 0 0-1.367.364l-1 1.731a1 1 0 0 0 1.731 1.001l1-1.731a1 1 0 0 0-.364-1.365M7.987 18.921a1 1 0 0 0-1.366.364l-1 1.731a1 1 0 1 0 1.731 1.001l1-1.731a1 1 0 0 0-.365-1.365m-3.272-12.3-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 0 0 1-1.731m17.3 10.03-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 1 0 1-1.731M7.349 1.982a1 1 0 0 0-1.731 1l1 1.731a1 1 0 1 0 1.731-1.001zm10.03 17.3a1 1 0 0 0-1.731 1l1 1.731a1 1 0 0 0 1.731-1zm2.408-10.8a1 1 0 0 0 .5-.134l1.731-1a1 1 0 0 0-1-1.731l-1.731 1a1 1 0 0 0 .5 1.865M3.713 15.648l-1.731 1a1 1 0 1 0 1 1.731l1.731-1a1 1 0 0 0-1-1.731"})}))),he=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M21 12.924V11.5a9 9 0 0 0-18 0v1.424A5 5 0 0 0 5 22.5a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2v-1a7 7 0 0 1 14 0v1a2 2 0 0 0-2 2v6h-3a1 1 0 0 0 0 2h5a5 5 0 0 0 2-9.576M5 20.5a3 3 0 1 1 0-6zm14 0v-6a3 3 0 0 1 0 6"})}))),ye=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#705b35d7)",children:[e("path",{d:"M10 18.5a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1M14.707 18.207A1 1 0 0 1 13 17.499v-6a1 1 0 1 1 2 0v6a1 1 0 0 1-.293.707"}),e("path",{fillRule:"evenodd",d:"M21 4.5h-3.1a5.01 5.01 0 0 0-4.9-4h-2a5.01 5.01 0 0 0-4.9 4H3a1 1 0 0 0 0 2h1v13a5.006 5.006 0 0 0 5 5h6a5.006 5.006 0 0 0 5-5v-13h1a1 1 0 1 0 0-2m-10-2h2a3.01 3.01 0 0 1 2.829 2H8.171A3.01 3.01 0 0 1 11 2.5m7 17a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3v-13h12z",clipRule:"evenodd"})]}),e("defs",{children:e("clipPath",{id:"705b35d7",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ve=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#c1bea85b)",children:[e("path",{d:"m11 18.516.007-15.438L8.08 6.005a1 1 0 0 1-1.414-1.414l3.21-3.212a3 3 0 0 1 4.245 0l3.21 3.215a1 1 0 0 1-1.413 1.414l-2.912-2.913L13 18.516a1 1 0 1 1-2 0"}),e("path",{d:"M22 21.5v-4a1 1 0 0 1 2 0v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 0 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1"})]}),e("defs",{children:e("clipPath",{id:"c1bea85b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),me=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#5ab9665d)",children:e("path",{d:"M12 13a6 6 0 1 0 0-12 6 6 0 0 0 0 12m0-10a4 4 0 1 1 0 8 4 4 0 0 1 0-8M12 15a9.01 9.01 0 0 0-9 9 1 1 0 0 0 2 0 7 7 0 1 1 14 0 1 1 0 0 0 2 0 9.01 9.01 0 0 0-9-9"})}),e("defs",{children:e("clipPath",{id:"5ab9665d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ge=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...t,children:e("path",{fill:"#000",d:"M7.986 1.833a6.71 6.71 0 0 1 4.758 2h-2.086a.67.67 0 0 0-.668.667.666.666 0 0 0 .668.667h2.768a1.24 1.24 0 0 0 1.24-1.238V1.167A.666.666 0 0 0 14 .5a.67.67 0 0 0-.668.667v1.385a8.01 8.01 0 0 0-8.278-1.5 8 8 0 0 0-3.48 2.641 8 8 0 0 0-1.57 4.074.67.67 0 0 0 .668.733.657.657 0 0 0 .66-.585 6.67 6.67 0 0 1 2.146-4.329 6.7 6.7 0 0 1 4.51-1.753M15.33 8.5a.657.657 0 0 0-.661.585 6.65 6.65 0 0 1-1.362 3.488 6.684 6.684 0 0 1-10.05.593h2.085a.67.67 0 0 0 .668-.666.666.666 0 0 0-.668-.667H2.574a1.24 1.24 0 0 0-1.146.764c-.063.15-.095.312-.095.474v2.762a.666.666 0 0 0 .668.667.67.67 0 0 0 .668-.667v-1.385a8.01 8.01 0 0 0 8.278 1.5 8 8 0 0 0 3.48-2.641 8 8 0 0 0 1.57-4.074.67.67 0 0 0-.668-.733"})}))),be=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 113 113.4","aria-hidden":"true",...t,children:e("path",{d:"M19.6 113.4 36 85l16.4-28.3 16.3-28.4 2.7-4.5 1.2 4.5 5 18.7-5.6 9.7L55.6 85l-16.3 28.4h19.6L75.3 85l8.5-14.7 4 14.7 7.6 28.4H113L105.4 85l-7.6-28.3-2-7.3L108 28.3H90.2l-.6-2.1L83.4 3l-.8-3H65.5l-.4.6-16 27.7-16.4 28.4L16.4 85 0 113.4z"})}))),we=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1503 1504","aria-hidden":"true",...r,children:[e("path",{fill:"#fff",d:"M287 258h928v844H287z"}),e("path",{fill:"#E84142",fillRule:"evenodd",d:"M1502.5 752c0 414.77-336.23 751-751 751-414.766 0-751-336.23-751-751C.5 337.234 336.734 1 751.5 1c414.77 0 751 336.234 751 751m-963.812 298.86H392.94c-30.626 0-45.754 0-54.978-5.9-9.963-6.46-16.051-17.16-16.789-28.97-.554-10.88 7.011-24.168 22.139-50.735l359.87-634.32c15.313-26.936 23.061-40.404 32.839-45.385 10.516-5.35 23.062-5.35 33.578 0 9.778 4.981 17.527 18.449 32.839 45.385l73.982 129.144.377.659c16.539 28.897 24.926 43.551 28.588 58.931a109.56 109.56 0 0 1 0 51.289c-3.69 15.497-11.992 30.257-28.781 59.591L687.573 964.702l-.489.856c-16.648 29.135-25.085 43.902-36.778 55.042-12.73 12.18-28.043 21.03-44.832 26.02-15.313 4.24-32.47 4.24-66.786 4.24m368.062 0h208.84c30.81 0 46.31 0 55.54-6.08 9.96-6.46 16.23-17.35 16.79-29.15.53-10.53-6.87-23.3-21.37-48.323-.5-.852-1-1.719-1.51-2.601L1060.43 785.75l-1.19-2.015c-14.7-24.858-22.12-37.411-31.65-42.263a36.73 36.73 0 0 0-33.391 0c-9.594 4.981-17.342 18.08-32.655 44.462L857.306 964.891l-.357.616c-15.259 26.34-22.885 39.503-22.335 50.303.738 11.81 6.826 22.69 16.788 29.15 9.041 5.9 24.538 5.9 55.348 5.9",clipRule:"evenodd"})]}))),xe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 788 788","aria-hidden":"true",...r,children:[e("circle",{cx:394,cy:394,r:394,style:{fill:"#0ac18e"}}),e("path",{d:"M516.9 261.7c-19.8-44.9-65.3-54.5-121-45.2L378 147.1 335.8 158l17.6 69.2c-11.1 2.8-22.5 5.2-33.8 8.4L302 166.8l-42.2 10.9 17.9 69.4c-9.1 2.6-85.2 22.1-85.2 22.1l11.6 45.2s31-8.7 30.7-8c17.2-4.5 25.3 4.1 29.1 12.2l49.2 190.2c.6 5.5-.4 14.9-12.2 18.1.7.4-30.7 7.9-30.7 7.9l4.6 52.7s75.4-19.3 85.3-21.8l18.1 70.2 42.2-10.9-18.1-70.7q17.4-4.05 33.9-8.4l18 70.3 42.2-10.9-18.1-70.1c65-15.8 110.9-56.8 101.5-119.5-6-37.8-47.3-68.8-81.6-72.3 21.1-18.7 31.8-46 18.7-81.7m-20.3 165.5c8.4 62.1-77.9 69.7-106.4 77.2l-24.8-92.9c28.6-7.5 117-39 131.2 15.7m-52-126.5c8.9 55.2-64.9 61.6-88.7 67.7l-22.6-84.3c23.9-5.9 93.2-34.5 111.3 16.6",style:{fill:"#fff"}})]}))),Oe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 4091.27 4091.73","aria-hidden":"true",...r,children:t("g",{fillRule:"nonzero",children:[e("path",{fill:"#F7931A",d:"M4030.06 2540.77C3756.82 3636.78 2646.74 4303.79 1550.6 4030.48 454.92 3757.24-212.09 2647.09 61.27 1551.17c273.12-1096.13 1383.2-1763.19 2479-1489.95C3636.33 334.46 4303.3 1444.73 4030.03 2540.79l.02-.02z"}),e("path",{fill:"#fff",d:"M2947.77 1754.38c40.72-272.26-166.56-418.61-450-516.24l91.95-368.8-224.5-55.94-89.51 359.09c-59.02-14.72-119.63-28.59-179.87-42.34L2186 768.69l-224.36-55.94-92 368.68c-48.84-11.12-96.81-22.11-143.35-33.69l.26-1.16-309.59-77.31-59.72 239.78s166.56 38.18 163.05 40.53c90.91 22.69 107.35 82.87 104.62 130.57l-104.74 420.15c6.26 1.59 14.38 3.89 23.34 7.49-7.49-1.86-15.46-3.89-23.73-5.87l-146.81 588.57c-11.11 27.62-39.31 69.07-102.87 53.33 2.25 3.26-163.17-40.72-163.17-40.72l-111.46 256.98 292.15 72.83c54.35 13.63 107.61 27.89 160.06 41.3l-92.9 373.03 224.24 55.94 92-369.07c61.26 16.63 120.71 31.97 178.91 46.43l-91.69 367.33 224.51 55.94 92.89-372.33c382.82 72.45 670.67 43.24 791.83-303.02 97.63-278.78-4.86-439.58-206.26-544.44 146.69-33.83 257.18-130.31 286.64-329.61l-.07-.05zm-512.93 719.26c-69.38 278.78-538.76 128.08-690.94 90.29l123.28-494.2c152.17 37.99 640.17 113.17 567.67 403.91zm69.43-723.3c-63.29 253.58-453.96 124.75-580.69 93.16l111.77-448.21c126.73 31.59 534.85 90.55 468.94 355.05z"})]})}))),Se=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 784.37 1277.39","aria-hidden":"true",...r,children:t("g",{fillRule:"nonzero",children:[e("path",{fill:"#343434",d:"m392.07 0-8.57 29.11v844.63l8.57 8.55 392.06-231.75z"}),e("path",{fill:"#8C8C8C",d:"M392.07 0 0 650.54l392.07 231.75V472.33z"}),e("path",{fill:"#3C3C3B",d:"m392.07 956.52-4.83 5.89v300.87l4.83 14.1 392.3-552.49z"}),e("path",{fill:"#8C8C8C",d:"M392.07 1277.38V956.52L0 724.89z"}),e("path",{fill:"#141414",d:"m392.07 882.29 392.06-231.75-392.06-178.21z"}),e("path",{fill:"#393939",d:"m0 650.54 392.07 231.75V472.33z"})]})}))),je=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37.8 43.6","aria-hidden":"true",...t,children:e("g",{"data-name":"Layer 2",children:e("path",{d:"m18.9 0-4 2.3L4 8.6l-4 2.3v21.8L4 35l11 6.3 4 2.3 4-2.3L33.8 35l4-2.3V10.9l-4-2.3-10.9-6.3ZM8 28.1V15.5l10.9-6.3 10.9 6.3v12.6l-10.9 6.3Z","data-name":"Layer 1",style:{fill:"#2a5ada"}})})}))),Pe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 82.6 82.6","aria-hidden":"true",...r,children:[e("circle",{cx:41.3,cy:41.3,r:36.83,style:{fill:"#fff"}}),e("path",{d:"M41.3 0a41.3 41.3 0 1 0 41.3 41.3A41.18 41.18 0 0 0 41.54 0Zm.7 42.7-4.3 14.5h23a1.16 1.16 0 0 1 1.2 1.12v.38l-2 6.9a1.49 1.49 0 0 1-1.5 1.1H23.2l5.9-20.1-6.6 2L24 44l6.6-2 8.3-28.2a1.51 1.51 0 0 1 1.5-1.1h8.9a1.16 1.16 0 0 1 1.2 1.12v.38l-7 23.8 6.6-2-1.4 4.8Z",style:{fill:"#345d9d"}})]}))),Ae=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 600","aria-hidden":"true",...r,children:[e("defs",{children:t("linearGradient",{id:"a",x1:300,x2:300,y1:602,y2:2,gradientTransform:"matrix(1 0 0 -1 0 602)",gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:0,stopColor:"#4fa89b"}),e("stop",{offset:1,stopColor:"#6acebb"})]})}),e("g",{"data-name":"Layer 2",children:t("g",{"data-name":"Layer 1",children:[e("circle",{cx:300,cy:300,r:300,style:{fill:"url(#a)"}}),e("path",{d:"M152.34 390V248.8l107.08 80.59V390h27.33v-66.3a15.94 15.94 0 0 0-6.35-12.7l-129.86-97.77A16 16 0 0 0 125 226v164Zm296.14 0V248.8L341.4 329.39V390h-27.33v-66.3a15.94 15.94 0 0 1 6.35-12.7l129.86-97.73A16 16 0 0 1 475.82 226v164Z",style:{fill:"#fff"}})]})})]}))),Me=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 236.36 200","aria-hidden":"true",...t,children:e("g",{"data-name":"Layer 2",children:e("g",{"data-name":"Layer 1",children:e("path",{d:"m203 26.16-28.46 14.5-137.43 70a82.5 82.5 0 0 1-.7-10.69A81.87 81.87 0 0 1 158.2 28.6l16.29-8.3 2.43-1.24A100 100 0 0 0 18.18 100q0 3.82.29 7.61a18.19 18.19 0 0 1-9.88 17.58L0 129.57V150l25.29-12.89 8.19-4.18 8.07-4.11L186.43 55l16.28-8.29 33.65-17.15V9.14ZM236.36 50 49.78 145l-16.28 8.31L0 170.38v20.41l33.27-16.95 28.46-14.5 137.57-70.1A83.5 83.5 0 0 1 200 100a81.87 81.87 0 0 1-121.91 71.36l-1 .53-17.66 9A100 100 0 0 0 218.18 100c0-2.57-.1-5.14-.29-7.68a18.2 18.2 0 0 1 9.87-17.58l8.6-4.38Z"})})})}))),ke=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 424","aria-hidden":"true",...r,children:[e("defs",{children:e("style",{children:".cls-1{fill:#23292f}"})}),e("g",{id:"Layer_2","data-name":"Layer 2",children:e("g",{id:"Layer_1-2","data-name":"Layer 1",children:e("path",{d:"M437 0h74L357 152.48c-55.77 55.19-146.19 55.19-202 0L.94 0H75l117 115.83a91.11 91.11 0 0 0 127.91 0ZM74.05 424H0l155-153.42c55.77-55.19 146.19-55.19 202 0L512 424h-74L320 307.23a91.11 91.11 0 0 0-127.91 0Z",className:"cls-1"})})})]})));function Ee(t,e={}){let r=!1;function n(e){const r=`chakra-${(["container","root"].includes(e??"")?[t]:[t,e]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>e}}return{parts:function(...o){!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 o)e[t]=n(t);return Ee(t,e)},toPart:n,extend:function(...r){for(const t of r)t in e||(e[t]=n(t));return Ee(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:{}}}const Ce=Ee("accordion").parts("root","container","button","panel","icon"),_e=Ee("alert").parts("title","description","container","icon","spinner");Ee("avatar").parts("label","badge","container","excessLabel","group"),Ee("breadcrumb").parts("link","item","container","separator"),Ee("button").parts();const Te=Ee("checkbox").parts("control","icon","container","label");Ee("progress").parts("track","filledTrack","label"),Ee("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Ee("editable").parts("preview","input","textarea"),Ee("form").parts("container","requiredIndicator","helperText"),Ee("formError").parts("text","icon");const De=Ee("input").parts("addon","field","element","group");Ee("list").parts("container","item","icon"),Ee("menu").parts("button","list","item","groupTitle","icon","command","divider"),Ee("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Ee("numberinput").parts("root","field","stepperGroup","stepper"),Ee("pininput").parts("field"),Ee("popover").parts("content","header","body","footer","popper","arrow","closeButton"),Ee("progress").parts("label","filledTrack","track"),Ee("radio").parts("container","control","label");const Ie=Ee("select").parts("field","icon");Ee("slider").parts("container","track","thumb","filledTrack","mark"),Ee("stat").parts("container","label","helpText","number","icon"),Ee("switch").parts("container","track","thumb","label"),Ee("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Ee("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");const Ne=Ee("tag").parts("container","label","closeButton");Ee("card").parts("container","header","body","footer"),Ee("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Le=1e6,Be=1e6,Re="[big.js] ",$e=Re+"Invalid ",ze=$e+"decimal places",He=$e+"rounding mode",Fe=Re+"Division by zero",Ve={},Ue=void 0,We=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function qe(t,e,r,n){var o=t.c;if(r===Ue&&(r=t.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error(He);if(e<1)n=3===r&&(n||!!o[0])||0===e&&(1===r&&o[0]>=5||2===r&&(o[0]>5||5===o[0]&&(n||o[1]!==Ue))),o.length=1,n?(t.e=t.e-e+1,o[0]=1):o[0]=t.e=0;else if(e<o.length){if(n=1===r&&o[e]>=5||2===r&&(o[e]>5||5===o[e]&&(n||o[e+1]!==Ue||1&o[e-1]))||3===r&&(n||!!o[0]),o.length=e,n)for(;++o[--e]>9;)if(o[e]=0,0===e){++t.e,o.unshift(1);break}for(e=o.length;!o[--e];)o.pop()}return t}function Ye(t,e,r){var n=t.e,o=t.c.join(""),i=o.length;if(e)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)o="0"+o;o="0."+o}else if(n>0)if(++n>i)for(n-=i;n--;)o+="0";else n<i&&(o=o.slice(0,n)+"."+o.slice(n));else i>1&&(o=o.charAt(0)+"."+o.slice(1));return t.s<0&&r?"-"+o:o}Ve.abs=function(){var t=new this.constructor(this);return t.s=1,t},Ve.cmp=function(t){var e,r=this,n=r.c,o=(t=new r.constructor(t)).c,i=r.s,a=t.s,c=r.e,u=t.e;if(!n[0]||!o[0])return n[0]?i:o[0]?-a:0;if(i!=a)return i;if(e=i<0,c!=u)return c>u^e?1:-1;for(a=(c=n.length)<(u=o.length)?c:u,i=-1;++i<a;)if(n[i]!=o[i])return n[i]>o[i]^e?1:-1;return c==u?0:c>u^e?1:-1},Ve.div=function(t){var e=this,r=e.constructor,n=e.c,o=(t=new r(t)).c,i=e.s==t.s?1:-1,a=r.DP;if(a!==~~a||a<0||a>Le)throw Error(ze);if(!o[0])throw Error(Fe);if(!n[0])return t.s=i,t.c=[t.e=0],t;var c,u,l,s,f,p=o.slice(),d=c=o.length,h=n.length,y=n.slice(0,c),v=y.length,m=t,g=m.c=[],b=0,w=a+(m.e=e.e-t.e)+1;for(m.s=i,i=w<0?0:w,p.unshift(0);v++<c;)y.push(0);do{for(l=0;l<10;l++){if(c!=(v=y.length))s=c>v?1:-1;else for(f=-1,s=0;++f<c;)if(o[f]!=y[f]){s=o[f]>y[f]?1:-1;break}if(!(s<0))break;for(u=v==c?o:p;v;){if(y[--v]<u[v]){for(f=v;f&&!y[--f];)y[f]=9;--y[f],y[v]+=10}y[v]-=u[v]}for(;!y[0];)y.shift()}g[b++]=s?l:++l,y[0]&&s?y[v]=n[d]||0:y=[n[d]]}while((d++<h||y[0]!==Ue)&&i--);return g[0]||1==b||(g.shift(),m.e--,w--),b>w&&qe(m,w,r.RM,y[0]!==Ue),m},Ve.eq=function(t){return 0===this.cmp(t)},Ve.gt=function(t){return this.cmp(t)>0},Ve.gte=function(t){return this.cmp(t)>-1},Ve.lt=function(t){return this.cmp(t)<0},Ve.lte=function(t){return this.cmp(t)<1},Ve.minus=Ve.sub=function(t){var e,r,n,o,i=this,a=i.constructor,c=i.s,u=(t=new a(t)).s;if(c!=u)return t.s=-u,i.plus(t);var l=i.c.slice(),s=i.e,f=t.c,p=t.e;if(!l[0]||!f[0])return f[0]?t.s=-u:l[0]?t=new a(i):t.s=1,t;if(c=s-p){for((o=c<0)?(c=-c,n=l):(p=s,n=f),n.reverse(),u=c;u--;)n.push(0);n.reverse()}else for(r=((o=l.length<f.length)?l:f).length,c=u=0;u<r;u++)if(l[u]!=f[u]){o=l[u]<f[u];break}if(o&&(n=l,l=f,f=n,t.s=-t.s),(u=(r=f.length)-(e=l.length))>0)for(;u--;)l[e++]=0;for(u=e;r>c;){if(l[--r]<f[r]){for(e=r;e&&!l[--e];)l[e]=9;--l[e],l[r]+=10}l[r]-=f[r]}for(;0===l[--u];)l.pop();for(;0===l[0];)l.shift(),--p;return l[0]||(t.s=1,l=[p=0]),t.c=l,t.e=p,t},Ve.mod=function(t){var e,r=this,n=r.constructor,o=r.s,i=(t=new n(t)).s;if(!t.c[0])throw Error(Fe);return r.s=t.s=1,e=1==t.cmp(r),r.s=o,t.s=i,e?new n(r):(o=n.DP,i=n.RM,n.DP=n.RM=0,r=r.div(t),n.DP=o,n.RM=i,this.minus(r.times(t)))},Ve.neg=function(){var t=new this.constructor(this);return t.s=-t.s,t},Ve.plus=Ve.add=function(t){var e,r,n,o=this,i=o.constructor;if(t=new i(t),o.s!=t.s)return t.s=-t.s,o.minus(t);var a=o.e,c=o.c,u=t.e,l=t.c;if(!c[0]||!l[0])return l[0]||(c[0]?t=new i(o):t.s=o.s),t;if(c=c.slice(),e=a-u){for(e>0?(u=a,n=l):(e=-e,n=c),n.reverse();e--;)n.push(0);n.reverse()}for(c.length-l.length<0&&(n=l,l=c,c=n),e=l.length,r=0;e;c[e]%=10)r=(c[--e]=c[e]+l[e]+r)/10|0;for(r&&(c.unshift(r),++u),e=c.length;0===c[--e];)c.pop();return t.c=c,t.e=u,t},Ve.pow=function(t){var e=this,r=new e.constructor("1"),n=r,o=t<0;if(t!==~~t||t<-1e6||t>Be)throw Error($e+"exponent");for(o&&(t=-t);1&t&&(n=n.times(e)),t>>=1;)e=e.times(e);return o?r.div(n):n},Ve.prec=function(t,e){if(t!==~~t||t<1||t>Le)throw Error($e+"precision");return qe(new this.constructor(this),t,e)},Ve.round=function(t,e){if(t===Ue)t=0;else if(t!==~~t||t<-Le||t>Le)throw Error(ze);return qe(new this.constructor(this),t+this.e+1,e)},Ve.sqrt=function(){var t,e,r,n=this,o=n.constructor,i=n.s,a=n.e,c=new o("0.5");if(!n.c[0])return new o(n);if(i<0)throw Error(Re+"No square root");0===(i=Math.sqrt(+Ye(n,!0,!0)))||i===1/0?((e=n.c.join("")).length+a&1||(e+="0"),a=((a+1)/2|0)-(a<0||1&a),t=new o(((i=Math.sqrt(e))==1/0?"5e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+a)):t=new o(i+""),a=t.e+(o.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 qe(t,(o.DP-=4)+t.e+1,o.RM)},Ve.times=Ve.mul=function(t){var e,r=this,n=r.constructor,o=r.c,i=(t=new n(t)).c,a=o.length,c=i.length,u=r.e,l=t.e;if(t.s=r.s==t.s?1:-1,!o[0]||!i[0])return t.c=[t.e=0],t;for(t.e=u+l,a<c&&(e=o,o=i,i=e,l=a,a=c,c=l),e=new Array(l=a+c);l--;)e[l]=0;for(u=c;u--;){for(c=0,l=a+u;l>u;)c=e[l]+i[u]*o[l-u-1]+c,e[l--]=c%10,c=c/10|0;e[l]=c}for(c?++t.e:e.shift(),u=e.length;!e[--u];)e.pop();return t.c=e,t},Ve.toExponential=function(t,e){var r=this,n=r.c[0];if(t!==Ue){if(t!==~~t||t<0||t>Le)throw Error(ze);for(r=qe(new r.constructor(r),++t,e);r.c.length<t;)r.c.push(0)}return Ye(r,!0,!!n)},Ve.toFixed=function(t,e){var r=this,n=r.c[0];if(t!==Ue){if(t!==~~t||t<0||t>Le)throw Error(ze);for(t=t+(r=qe(new r.constructor(r),t+r.e+1,e)).e+1;r.c.length<t;)r.c.push(0)}return Ye(r,!1,!!n)},Ve[Symbol.for("nodejs.util.inspect.custom")]=Ve.toJSON=Ve.toString=function(){var t=this,e=t.constructor;return Ye(t,t.e<=e.NE||t.e>=e.PE,!!t.c[0])},Ve.toNumber=function(){var t=+Ye(this,!0,!0);if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error(Re+"Imprecise conversion");return t},Ve.toPrecision=function(t,e){var r=this,n=r.constructor,o=r.c[0];if(t!==Ue){if(t!==~~t||t<1||t>Le)throw Error($e+"precision");for(r=qe(new n(r),t,e);r.c.length<t;)r.c.push(0)}return Ye(r,t<=r.e||r.e<=n.NE||r.e>=n.PE,!!o)},Ve.valueOf=function(){var t=this,e=t.constructor;if(!0===e.strict)throw Error(Re+"valueOf disallowed");return Ye(t,t.e<=e.NE||t.e>=e.PE,!0)};var Xe=function t(){function e(r){var n=this;if(!(n instanceof e))return r===Ue?t():new e(r);if(r instanceof e)n.s=r.s,n.e=r.e,n.c=r.c.slice();else{if("string"!=typeof r){if(!0===e.strict&&"bigint"!=typeof r)throw TypeError($e+"value");r=0===r&&1/r<0?"-0":String(r)}!function(t,e){var r,n,o;if(!We.test(e))throw Error($e+"number");t.s="-"==e.charAt(0)?(e=e.slice(1),-1):1,(r=e.indexOf("."))>-1&&(e=e.replace(".",""));(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length);for(o=e.length,n=0;n<o&&"0"==e.charAt(n);)++n;if(n==o)t.c=[t.e=0];else{for(;o>0&&"0"==e.charAt(--o););for(t.e=r-n-1,t.c=[],r=0;n<=o;)t.c[r++]=+e.charAt(n++)}}(n,r)}n.constructor=e}return e.prototype=Ve,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 Ke=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 Xe(0)).toNumber()};var Ge="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ze(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Je,Qe={exports:{}};var tr,er=(Je||(Je=1,Qe.exports=function(){var t=1e3,e=6e4,r=36e5,n="millisecond",o="second",i="minute",a="hour",c="day",u="week",l="month",s="quarter",f="year",p="date",d="Invalid Date",h=/^(\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])+"]"}},m=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},g={s:m,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),o=r%60;return(e<=0?"+":"-")+m(n,2,"0")+":"+m(o,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()),o=e.clone().add(n,l),i=r-o<0,a=e.clone().add(n+(i?-1:1),l);return+(-(n+(r-o)/(i?o-a:a-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:l,y:f,w:u,d:c,D:p,h:a,m:i,s:o,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 A||!(!t||!t[x])},S=function t(e,r,n){var o;if(!e)return b;if("string"==typeof e){var i=e.toLowerCase();w[i]&&(o=i),r&&(w[i]=r,o=i);var a=e.split("-");if(!o&&a.length>1)return t(a[0])}else{var c=e.name;w[c]=e,o=c}return!n&&o&&(b=o),o||!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 A(r)},P=g;P.l=S,P.i=O,P.w=function(t,e){return j(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var A=function(){function v(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[x]=!0}var m=v.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(P.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(h);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(e)}(t),this.init()},m.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()},m.$utils=function(){return P},m.isValid=function(){return!(this.$d.toString()===d)},m.isSame=function(t,e){var r=j(t);return this.startOf(e)<=r&&r<=this.endOf(e)},m.isAfter=function(t,e){return j(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<j(t)},m.$g=function(t,e,r){return P.u(t)?this[e]:this.set(r,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var r=this,n=!!P.u(e)||e,s=P.p(t),d=function(t,e){var o=P.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?o:o.endOf(c)},h=function(t,e){return P.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,m=this.$D,g="set"+(this.$u?"UTC":"");switch(s){case f:return n?d(1,0):d(31,11);case l:return n?d(1,v):d(0,v+1);case u:var b=this.$locale().weekStart||0,w=(y<b?y+7:y)-b;return d(n?m-w:m+(6-w),v);case c:case p:return h(g+"Hours",0);case a:return h(g+"Minutes",1);case i:return h(g+"Seconds",2);case o:return h(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var r,u=P.p(t),s="set"+(this.$u?"UTC":""),d=(r={},r[c]=s+"Date",r[p]=s+"Date",r[l]=s+"Month",r[f]=s+"FullYear",r[a]=s+"Hours",r[i]=s+"Minutes",r[o]=s+"Seconds",r[n]=s+"Milliseconds",r)[u],h=u===c?this.$D+(e-this.$W):e;if(u===l||u===f){var y=this.clone().set(p,1);y.$d[d](h),y.init(),this.$d=y.set(p,Math.min(this.$D,y.daysInMonth())).$d}else d&&this.$d[d](h);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[P.p(t)]()},m.add=function(n,s){var p,d=this;n=Number(n);var h=P.p(s),y=function(t){var e=j(d);return P.w(e.date(e.date()+Math.round(t*n)),d)};if(h===l)return this.set(l,this.$M+n);if(h===f)return this.set(f,this.$y+n);if(h===c)return y(1);if(h===u)return y(7);var v=(p={},p[i]=e,p[a]=r,p[o]=t,p)[h]||1,m=this.$d.getTime()+n*v;return P.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var n=t||"YYYY-MM-DDTHH:mm:ssZ",o=P.z(this),i=this.$H,a=this.$m,c=this.$M,u=r.weekdays,l=r.months,s=r.meridiem,f=function(t,r,o,i){return t&&(t[r]||t(e,n))||o[r].slice(0,i)},p=function(t){return P.s(i%12||12,t,"0")},h=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 P.s(e.$y,4,"0");case"M":return c+1;case"MM":return P.s(c+1,2,"0");case"MMM":return f(r.monthsShort,c,l,3);case"MMMM":return f(l,c);case"D":return e.$D;case"DD":return P.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(r.weekdaysMin,e.$W,u,2);case"ddd":return f(r.weekdaysShort,e.$W,u,3);case"dddd":return u[e.$W];case"H":return String(i);case"HH":return P.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return P.s(a,2,"0");case"s":return String(e.$s);case"ss":return P.s(e.$s,2,"0");case"SSS":return P.s(e.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(n,p,d){var h,y=this,v=P.p(p),m=j(n),g=(m.utcOffset()-this.utcOffset())*e,b=this-m,w=function(){return P.m(y,m)};switch(v){case f:h=w()/12;break;case l:h=w();break;case s:h=w()/3;break;case u:h=(b-g)/6048e5;break;case c:h=(b-g)/864e5;break;case a:h=b/r;break;case i:h=b/e;break;case o:h=b/t;break;default:h=b}return d?h:P.a(h)},m.daysInMonth=function(){return this.endOf(l).$D},m.$locale=function(){return w[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=S(t,e,!0);return n&&(r.$L=n),r},m.clone=function(){return P.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},v}(),M=A.prototype;return j.prototype=M,[["$ms",n],["$s",o],["$m",i],["$H",a],["$W",c],["$M",l],["$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,A,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}()),Qe.exports),rr=Ze(er),nr={exports:{}};var or,ir,ar,cr=(tr||(tr=1,nr.exports=(or="minute",ir=/[+-]\d\d(?::?\d\d)?/g,ar=/([+-]|\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(),or):e},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var o=n.parse;n.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var i=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 i.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(ir);if(!e)return null;var r=(""+e[0]).match(ar)||["-",0,0],n=r[0],o=60*+r[1]+ +r[2];return 0===o?0:"+"===n?o:-o}(t),null===t))return this;var n=Math.abs(t)<=16?60*t:t,o=this;if(e)return o.$offset=n,o.$u=0===t,o;if(0!==t){var i=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(n+i,or)).$offset=n,o.$x.$localOffset=i}else o=this.utc();return o};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 u=n.toDate;n.toDate=function(t){return"s"===t&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():u.call(this)};var l=n.diff;n.diff=function(t,e,n){if(t&&this.$u===t.$u)return l.call(this,t,e,n);var o=this.local(),i=r(t).local();return l.call(o,i,e,n)}})),nr.exports),ur=Ze(cr);rr.extend(ur);const lr=({timeString:t,toEndDate:e})=>""===t?"":e?rr(`${t}T23:59:59`).utc().unix().toString():rr(t).utc().unix().toString(),sr=({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:Xe(n).div(100).toNumber())};
2
2
  /*!
3
3
  * currency.js - v2.0.4
4
4
  * http://scurker.github.io/currency.js
@@ -6,7 +6,16 @@ import{jsxs as t,jsx as e,Fragment as r}from"react/jsx-runtime";import{chakra as
6
6
  * Copyright (c) 2021 Jason Wilson
7
7
  * Released under MIT license
8
8
  */
9
- var cr={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},lr=function(t){return Math.round(t)},ur=function(t){return Math.pow(10,t)},sr=/(\d)(?=(\d{3})+\b)/g,fr=/(\d)(?=(\d\d)+\d\b)/g;function pr(t,e){var r=this;if(!(r instanceof pr))return new pr(t,e);var n=Object.assign({},cr,e),i=ur(n.precision),o=hr(t,n);r.intValue=o,r.value=o/i,n.increment=n.increment||1/i,n.useVedic?n.groups=fr:n.groups=sr,this.s=n,this.p=i}function hr(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=ur(a),u="number"==typeof t,s=t instanceof pr;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?lr(n):n}pr.prototype={add:function(t){var e=this.intValue,r=this.s,n=this.p;return pr((e+=hr(t,r))/(r.fromCents?1:n),r)},subtract:function(t){var e=this.intValue,r=this.s,n=this.p;return pr((e-=hr(t,r))/(r.fromCents?1:n),r)},multiply:function(t){var e=this.intValue,r=this.s;return pr((e*=t)/(r.fromCents?1:ur(r.precision)),r)},divide:function(t){var e=this.intValue,r=this.s;return pr(e/=hr(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=pr(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,lr(t/e)*e).toFixed(i.precision)},toJSON:function(){return this.value}};const dr=({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=pr(i,{precision:e&&i>-1&&i<1&&0!==i?5:r}).format();return n&&i>0?`+${o}`:o},yr=({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 Xe(r),o=new Xe(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)}},vr=t=>{let e;return["sm","xs"].includes(t)&&(e="xs"),e},gr=t=>Array.from(t).reverse(),mr=({arr:t,n:e})=>{const r=gr(t);return gr(r.filter(((t,r)=>r%e==0)))},br=t=>t.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([A-Z])([A-Z][a-z])/g,"$1 $2").trim(),wr={redRemains:(t=1)=>xr({rgb:"rgb(255, 223, 223)",alpha:t}),heroicRed:(t=1)=>xr({rgb:"rgb(210, 25, 25)",alpha:t}),aijiroWhite:(t=1)=>xr({rgb:"rgb(238, 248, 247)",alpha:t}),mint:(t=1)=>xr({rgb:"rgb(64, 178, 136)",alpha:t}),white:(t=1)=>xr({rgb:"rgb(255, 255, 255)",alpha:t,enabledAlphaValues:[.2]}),lighthouse:(t=1)=>xr({rgb:"rgb(244, 244, 244)",alpha:t}),coolElegance:(t=1)=>xr({rgb:"rgb(205, 207, 209)",alpha:t}),sonicSilver:(t=1)=>xr({rgb:"rgb(117, 117, 117)",alpha:t}),black:(t=1)=>xr({rgb:"rgb(0, 0, 0)",alpha:t,enabledAlphaValues:[.08]})},xr=({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})`},Or=({usd:t,precision:e=2,autoPrecision:r})=>{const n=pr(t).value;return pr(t,{precision:r&&n>-1&&n<1&&0!==n?5:e}).value},Sr="22rem",jr={dateOnly:"MM/DD/YY",dateWithTime:"MM/DD/YYYY h:mm A",shortDateWithTime:"MMM D, h:mm A",shortDateWithYear:"MMM D, YYYY"};rr.extend(ir);const Ar=({dateFormat:t=jr.dateOnly,timeString:e})=>rr.utc(e).local().format(t),{definePartsStyle:Pr,defineMultiStyleConfig:Mr}=i(Ce.keys),kr=Mr({baseStyle:Pr({root:{display:"flex",flexDirection:"column",gap:2},container:{borderRadius:"lg",borderWidth:"1px",borderStyle:"solid",borderColor:"gray.300",bg:"gray.100",color:wr.black(),overflow:"hidden",'&:has(button[aria-expanded="true"])':{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"}},button:{px:4,py:4,bg:wr.white(),fontSize:"md",_hover:{bg:wr.lighthouse()}},panel:{borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"gray.300",fontSize:"sm",bg:wr.lighthouse(),py:"4",px:"4"}}),variants:{spacious:Pr({container:{borderRadius:"lg"},button:{py:8,px:6,fontSize:"md"},panel:{fontSize:"sm",bg:wr.lighthouse(),p:"8"}})}}),{definePartsStyle:Er,defineMultiStyleConfig:Cr}=i(_e.keys),_r=Cr({baseStyle:Er((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"}}),Tr=o({borderColor:"red.700",color:"red.700",border:"solid 2px",":hover, :focus":{backgroundColor:"gray.200"},svg:{path:{fill:"red.700"}}}),Dr=o({":hover, :focus":{background:"brand.600"}}),Ir={color:"brand.700 !important",bg:"brand.50 !important",opacity:"0.6 !important",filter:"grayscale() !important"},Nr=o({background:"brand.50",color:"brand.500",svg:{path:{fill:"brand.500"}},":hover, :focus":{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}},_disabled:{...Ir},":hover[disabled], :focus[disabled]":{...Ir},_active:{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}}}),Lr=o({border:"solid 2px",borderColor:"brand.600",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Br=o({boxShadow:"none",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Rr=a({baseStyle:{boxShadow:"0px 8px 16px 0px rgba(0,0,0,0.08)",svg:{width:"1em",height:"1em",path:{fill:"white"}}},sizes:{xs:o({lineHeight:1})},variants:{alert:Tr,outline:Lr,ghost:Br,secondary:Nr,solid:Dr}}),{definePartsStyle:zr,defineMultiStyleConfig:$r}=i(Te.keys),Hr=$r({baseStyle:zr({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"}}}}}),Vr=a({baseStyle:{helperText:{fontSize:"sm"}}}),Fr=a({sizes:{sm:{text:{fontSize:"xs"}},xs:{text:{fontSize:"xs"}}}}),Ur=a({baseStyle:{color:wr.sonicSilver(),fontFamily:"heading",fontSize:"sm",_disabled:{opacity:1}},sizes:{sm:{fontSize:"sm"},xs:{fontSize:"xs"}}}),Wr=a({sizes:{xl:o({fontSize:"4xl"}),lg:o({fontSize:"3xl"}),md:o({fontSize:"2xl"}),sm:o({fontSize:"xl"}),xs:o({fontSize:"md"})}}),{definePartsStyle:qr,defineMultiStyleConfig:Yr}=i(De.keys),Xr=Yr({baseStyle:qr({group:{"svg:not(.asset-logo)":{width:"1em",height:"1em"}},field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:qr({field:{fontSize:"md"}})},variants:{outline:{group:{"svg:not(.asset-logo)":{path:{fill:wr.sonicSilver()}},_groupFocus:{"svg:not(.asset-logo)":{path:{fill:wr.black()}}},_groupDisabled:{"svg:not(.asset-logo)":{path:{fill:wr.coolElegance()}}}},field:{border:"solid 1px",borderRadius:"lg",borderColor:wr.coolElegance(),color:wr.sonicSilver(),":focus":{color:wr.black(),borderColor:wr.black()},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:wr.sonicSilver(),opacity:1,bg:wr.lighthouse(),":focus, :hover":{borderColor:wr.coolElegance(),bg:wr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},addon:{bg:"white",border:"solid 1px",borderRadius:"lg",borderColor:wr.coolElegance(),color:wr.black(),":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},":focus":{borderColor:wr.black()},_disabled:{color:wr.sonicSilver(),opacity:1,bg:wr.lighthouse(),":focus, :hover":{borderColor:wr.coolElegance(),bg:wr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}}}},defaultProps:{size:"lg",variant:"outline"}}),{definePartsStyle:Kr,defineMultiStyleConfig:Gr}=i(Ie.keys),Zr=Gr({baseStyle:Kr({field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:Kr({field:{fontSize:"md"}})},variants:{outline:{field:{border:"solid 1px",borderColor:wr.coolElegance(),borderRadius:"lg",color:wr.sonicSilver(),pr:10,_focus:{color:wr.black(),borderColor:wr.black(),"+.chakra-select__icon-wrapper":{svg:{color:wr.black(),path:{fill:wr.black()}}}},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:wr.sonicSilver(),opacity:1,bg:wr.lighthouse(),":focus, :hover":{borderColor:wr.coolElegance(),bg:wr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},icon:{width:"1em",height:"1em",fontSize:"1em",mr:2,path:{fill:wr.sonicSilver()},_disabled:{opacity:1,path:{fill:wr.coolElegance()}}}}},defaultProps:{size:"lg",variant:"outline"}}),Jr=a({variants:{simple:{th:{borderColor:wr.coolElegance()},td:{borderColor:wr.coolElegance()},tr:{_last:{td:{border:"none"}}}},grayHeader:{th:{background:wr.lighthouse(),color:wr.sonicSilver(),borderBottom:"1px solid",borderColor:wr.coolElegance()},td:{borderBottom:"1px solid",borderColor:wr.coolElegance()},tr:{_last:{td:{border:"none"}}}}}}),{definePartsStyle:Qr,defineMultiStyleConfig:tn}=i(Ne.keys),en=Qr({container:{color:"blackAlpha.900",fontWeight:"bold",borderRadius:"full",svg:{path:{fill:"blackAlpha.900"}}}}),rn=Qr({container:{bg:"red.100",borderWidth:1,borderColor:"red.500"}}),nn=Qr({container:{bg:"yellow.100",borderColor:"yellow.500",borderWidth:1}});var on=c({colors:{brand:{50:"#fcf2fe",100:"#f0c4f9",200:"#eaacf7",300:"#e495f4",400:"#de7ef2",500:"#d250ed",600:"#c622e8",700:"#b816da",800:"#a514c3",900:"#7e0f95"}},components:{Accordion:kr,Alert:_r,Button:Rr,Checkbox:Hr,Input:Xr,Heading:Wr,Form:Vr,FormLabel:Ur,FormError:Fr,Select:Zr,Table:Jr,Tag:tn({baseStyle:en,defaultProps:{variant:"outline"},variants:{error:rn,success:Qr({container:{bg:"green.100",borderColor:"green.500",borderWidth:1}}),warning:nn,outline:{container:{boxShadow:"none",borderColor:"brand.500",borderWidth:1}}},sizes:{sm:{container:{px:4,py:0}},md:{container:{px:6,py:1}},lg:{container:{px:6,py:1}}}})},styles:{global:{"[data-focus], :focus":{boxShadow:"none !important"},"::placeholder":{color:"gray.500"},"input[type=date]:invalid::-webkit-datetime-edit":{color:"gray.500"},"::-webkit-calendar-picker-indicator":{cursor:"pointer",filter:"opacity(40%)"},".recharts-surface":{overflow:"visible !important"},".recharts-surface .shadow":{filter:"drop-shadow(0 3px 5px rgba(0, 0, 0, 0.075))"}}}},l({colorScheme:"brand"}));const an={components:on.components,styles:on.styles},cn=t=>{const e=String(t).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return e?`(${e[1]}) ${e[2]}-${e[3]}`:t};let ln,un,sn=(t=21)=>{var e;e=t-=0,!ln||ln.length<e?(ln=Buffer.allocUnsafe(128*e),Z.randomFillSync(ln),un=0):un+e>ln.length&&(Z.randomFillSync(ln),un=0),un+=e;let r="";for(let e=un-t;e<un;e++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&ln[e]];return r};function fn(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=fn(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function pn(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=fn(t))&&(n&&(n+=" "),n+=e);return n}var hn=Array.isArray,dn="object"==typeof Ge&&Ge&&Ge.Object===Object&&Ge,yn=dn,vn="object"==typeof self&&self&&self.Object===Object&&self,gn=yn||vn||Function("return this")(),mn=gn.Symbol,bn=mn,wn=Object.prototype,xn=wn.hasOwnProperty,On=wn.toString,Sn=bn?bn.toStringTag:void 0;var jn=function(t){var e=xn.call(t,Sn),r=t[Sn];try{t[Sn]=void 0;var n=!0}catch(t){}var i=On.call(t);return n&&(e?t[Sn]=r:delete t[Sn]),i},An=Object.prototype.toString;var Pn=jn,Mn=function(t){return An.call(t)},kn=mn?mn.toStringTag:void 0;var En=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":kn&&kn in Object(t)?Pn(t):Mn(t)};var Cn=function(t){return null!=t&&"object"==typeof t},_n=En,Tn=Cn;var Dn=function(t){return"symbol"==typeof t||Tn(t)&&"[object Symbol]"==_n(t)},In=hn,Nn=Dn,Ln=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Bn=/^\w*$/;var Rn=function(t,e){if(In(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!Nn(t))||(Bn.test(t)||!Ln.test(t)||null!=e&&t in Object(e))};var zn=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},$n=Ze(zn),Hn=En,Vn=zn;var Fn,Un=function(t){if(!Vn(t))return!1;var e=Hn(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},Wn=Ze(Un),qn=gn["__core-js_shared__"],Yn=(Fn=/[^.]+$/.exec(qn&&qn.keys&&qn.keys.IE_PROTO||""))?"Symbol(src)_1."+Fn:"";var Xn=function(t){return!!Yn&&Yn in t},Kn=Function.prototype.toString;var Gn=function(t){if(null!=t){try{return Kn.call(t)}catch(t){}try{return t+""}catch(t){}}return""},Zn=Un,Jn=Xn,Qn=zn,ti=Gn,ei=/^\[object .+?Constructor\]$/,ri=Function.prototype,ni=Object.prototype,ii=ri.toString,oi=ni.hasOwnProperty,ai=RegExp("^"+ii.call(oi).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ci=function(t,e){return null==t?void 0:t[e]},li=function(t){return!(!Qn(t)||Jn(t))&&(Zn(t)?ai:ei).test(ti(t))},ui=ci;var si=function(t,e){var r=ui(t,e);return li(r)?r:void 0},fi=si(Object,"create"),pi=fi;var hi=function(){this.__data__=pi?pi(null):{},this.size=0};var di=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},yi=fi,vi=Object.prototype.hasOwnProperty;var gi=function(t){var e=this.__data__;if(yi){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return vi.call(e,t)?e[t]:void 0},mi=fi,bi=Object.prototype.hasOwnProperty;var wi=fi;var xi=hi,Oi=di,Si=gi,ji=function(t){var e=this.__data__;return mi?void 0!==e[t]:bi.call(e,t)},Ai=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=wi&&void 0===e?"__lodash_hash_undefined__":e,this};function Pi(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])}}Pi.prototype.clear=xi,Pi.prototype.delete=Oi,Pi.prototype.get=Si,Pi.prototype.has=ji,Pi.prototype.set=Ai;var Mi=Pi;var ki=function(){this.__data__=[],this.size=0};var Ei=function(t,e){return t===e||t!=t&&e!=e},Ci=Ei;var _i=function(t,e){for(var r=t.length;r--;)if(Ci(t[r][0],e))return r;return-1},Ti=_i,Di=Array.prototype.splice;var Ii=_i;var Ni=_i;var Li=_i;var Bi=ki,Ri=function(t){var e=this.__data__,r=Ti(e,t);return!(r<0)&&(r==e.length-1?e.pop():Di.call(e,r,1),--this.size,!0)},zi=function(t){var e=this.__data__,r=Ii(e,t);return r<0?void 0:e[r][1]},$i=function(t){return Ni(this.__data__,t)>-1},Hi=function(t,e){var r=this.__data__,n=Li(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function Vi(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Vi.prototype.clear=Bi,Vi.prototype.delete=Ri,Vi.prototype.get=zi,Vi.prototype.has=$i,Vi.prototype.set=Hi;var Fi=Vi,Ui=si(gn,"Map"),Wi=Mi,qi=Fi,Yi=Ui;var Xi=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var Ki=function(t,e){var r=t.__data__;return Xi(e)?r["string"==typeof e?"string":"hash"]:r.map},Gi=Ki;var Zi=Ki;var Ji=Ki;var Qi=Ki;var to=function(){this.size=0,this.__data__={hash:new Wi,map:new(Yi||qi),string:new Wi}},eo=function(t){var e=Gi(this,t).delete(t);return this.size-=e?1:0,e},ro=function(t){return Zi(this,t).get(t)},no=function(t){return Ji(this,t).has(t)},io=function(t,e){var r=Qi(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function oo(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])}}oo.prototype.clear=to,oo.prototype.delete=eo,oo.prototype.get=ro,oo.prototype.has=no,oo.prototype.set=io;var ao=oo,co=ao;function lo(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(lo.Cache||co),r}lo.Cache=co;var uo=lo,so=Ze(uo),fo=uo;var po=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ho=/\\(\\)?/g,yo=function(t){var e=fo(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(po,(function(t,r,n,i){e.push(n?i.replace(ho,"$1"):r||t)})),e})),vo=yo;var go=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},mo=go,bo=hn,wo=Dn,xo=mn?mn.prototype:void 0,Oo=xo?xo.toString:void 0;var So=function t(e){if("string"==typeof e)return e;if(bo(e))return mo(e,t)+"";if(wo(e))return Oo?Oo.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r},jo=So;var Ao=function(t){return null==t?"":jo(t)},Po=hn,Mo=Rn,ko=vo,Eo=Ao;var Co=function(t,e){return Po(t)?t:Mo(t,e)?[t]:ko(Eo(t))},_o=Dn;var To=function(t){if("string"==typeof t||_o(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e},Do=Co,Io=To;var No=function(t,e){for(var r=0,n=(e=Do(e,t)).length;null!=t&&r<n;)t=t[Io(e[r++])];return r&&r==n?t:void 0},Lo=No;var Bo=function(t,e,r){var n=null==t?void 0:Lo(t,e);return void 0===n?r:n},Ro=Ze(Bo);var zo=Ze((function(t){return null==t})),$o=En,Ho=hn,Vo=Cn;var Fo,Uo=Ze((function(t){return"string"==typeof t||!Ho(t)&&Vo(t)&&"[object String]"==$o(t)})),Wo={exports:{}},qo={};var Yo,Xo={};
9
+ var fr={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(t,e){var r=e.pattern,n=e.negativePattern,o=e.symbol,i=e.separator,a=e.decimal,c=e.groups,u=(""+t).replace(/^-/,"").split("."),l=u[0],s=u[1];return(t.value>=0?r:n).replace("!",o).replace("#",l.replace(c,"$1"+i)+(s?a+s:""))},fromCents:!1},pr=function(t){return Math.round(t)},dr=function(t){return Math.pow(10,t)},hr=/(\d)(?=(\d{3})+\b)/g,yr=/(\d)(?=(\d\d)+\d\b)/g;function vr(t,e){var r=this;if(!(r instanceof vr))return new vr(t,e);var n=Object.assign({},fr,e),o=dr(n.precision),i=mr(t,n);r.intValue=i,r.value=i/o,n.increment=n.increment||1/o,n.useVedic?n.groups=yr:n.groups=hr,this.s=n,this.p=o}function mr(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=0,o=e.decimal,i=e.errorOnInvalid,a=e.precision,c=e.fromCents,u=dr(a),l="number"==typeof t,s=t instanceof vr;if(s&&c)return t.intValue;if(l||s)n=s?t.value:t;else if("string"==typeof t){var f=new RegExp("[^-\\d"+o+"]","g"),p=new RegExp("\\"+o,"g");n=(n=t.replace(/\((.*)\)/,"-$1").replace(f,"").replace(p,"."))||0}else{if(i)throw Error("Invalid Input");n=0}return c||(n=(n*=u).toFixed(4)),r?pr(n):n}vr.prototype={add:function(t){var e=this.intValue,r=this.s,n=this.p;return vr((e+=mr(t,r))/(r.fromCents?1:n),r)},subtract:function(t){var e=this.intValue,r=this.s,n=this.p;return vr((e-=mr(t,r))/(r.fromCents?1:n),r)},multiply:function(t){var e=this.intValue,r=this.s;return vr((e*=t)/(r.fromCents?1:dr(r.precision)),r)},divide:function(t){var e=this.intValue,r=this.s;return vr(e/=mr(t,r,!1),r)},distribute:function(t){for(var e=this.intValue,r=this.p,n=this.s,o=[],i=Math[e>=0?"floor":"ceil"](e/t),a=Math.abs(e-i*t),c=n.fromCents?1:r;0!==t;t--){var u=vr(i/c,n);a-- >0&&(u=u[e>=0?"add":"subtract"](1/c)),o.push(u)}return o},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,o=this.s;return(t=r/n,e=o.increment,pr(t/e)*e).toFixed(o.precision)},toJSON:function(){return this.value}};const gr=({amount:t,autoPrecision:e,precision:r=2,signDisplay:n=!1})=>{const o=Number(t);if(!Number.isFinite(o))return console.log(`Amount is not a finite number. (amount: ${o}, method: formatUsd)`),t;const i=vr(o,{precision:e&&o>-1&&o<1&&0!==o?5:r}).format();return n&&o>0?`+${i}`:i},br=({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 o=new Xe(r),i=new Xe(n),a=i.minus(o);return{startingAmount:r,endingAmount:n,delta:a.toNumber(),percentChange:0===o.toNumber()?0:a.div(o).mul(100).toNumber(),isNetGain:i.gt(o)}},wr=t=>{let e;return["sm","xs"].includes(t)&&(e="xs"),e},xr=()=>{try{return window.self!==window.top}catch(t){return!0}},Or=t=>Array.from(t).reverse(),Sr=({arr:t,n:e})=>{const r=Or(t);return Or(r.filter(((t,r)=>r%e==0)))},jr=t=>t.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([A-Z])([A-Z][a-z])/g,"$1 $2").trim(),Pr={redRemains:(t=1)=>Ar({rgb:"rgb(255, 223, 223)",alpha:t}),heroicRed:(t=1)=>Ar({rgb:"rgb(210, 25, 25)",alpha:t}),aijiroWhite:(t=1)=>Ar({rgb:"rgb(238, 248, 247)",alpha:t}),mint:(t=1)=>Ar({rgb:"rgb(64, 178, 136)",alpha:t}),white:(t=1)=>Ar({rgb:"rgb(255, 255, 255)",alpha:t,enabledAlphaValues:[.2]}),lighthouse:(t=1)=>Ar({rgb:"rgb(244, 244, 244)",alpha:t}),coolElegance:(t=1)=>Ar({rgb:"rgb(205, 207, 209)",alpha:t}),sonicSilver:(t=1)=>Ar({rgb:"rgb(117, 117, 117)",alpha:t}),black:(t=1)=>Ar({rgb:"rgb(0, 0, 0)",alpha:t,enabledAlphaValues:[.08]})},Ar=({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,o,i]=t.replace(/[^\d,]/g,"").split(",");return`rgba(${n}, ${o}, ${i}, ${e})`},Mr=({usd:t,precision:e=2,autoPrecision:r})=>{const n=vr(t).value;return vr(t,{precision:r&&n>-1&&n<1&&0!==n?5:e}).value},kr="22rem",Er={dateOnly:"MM/DD/YY",dateWithTime:"MM/DD/YYYY h:mm A",shortDateWithTime:"MMM D, h:mm A",shortDateWithYear:"MMM D, YYYY"};rr.extend(ur);const Cr=({dateFormat:t=Er.dateOnly,timeString:e})=>rr.utc(e).local().format(t),{definePartsStyle:_r,defineMultiStyleConfig:Tr}=o(Ce.keys),Dr=Tr({baseStyle:_r({root:{display:"flex",flexDirection:"column",gap:2},container:{borderRadius:"lg",borderWidth:"1px",borderStyle:"solid",borderColor:"gray.300",bg:"gray.100",color:Pr.black(),overflow:"hidden",'&:has(button[aria-expanded="true"])':{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"}},button:{px:4,py:4,bg:Pr.white(),fontSize:"md",_hover:{bg:Pr.lighthouse()}},panel:{borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"gray.300",fontSize:"sm",bg:Pr.lighthouse(),py:"4",px:"4"}}),variants:{spacious:_r({container:{borderRadius:"lg"},button:{py:8,px:6,fontSize:"md"},panel:{fontSize:"sm",bg:Pr.lighthouse(),p:"8"}})}}),{definePartsStyle:Ir,defineMultiStyleConfig:Nr}=o(_e.keys),Lr=Nr({baseStyle:Ir((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"}}}),Rr=i({":hover, :focus":{background:"brand.600"}}),$r={color:"brand.700 !important",bg:"brand.50 !important",opacity:"0.6 !important",filter:"grayscale() !important"},zr=i({background:"brand.50",color:"brand.500",svg:{path:{fill:"brand.500"}},":hover, :focus":{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}},_disabled:{...$r},":hover[disabled], :focus[disabled]":{...$r},_active:{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}}}),Hr=i({border:"solid 2px",borderColor:"brand.600",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Fr=i({boxShadow:"none",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Vr=a({baseStyle:{boxShadow:"0px 8px 16px 0px rgba(0,0,0,0.08)",svg:{width:"1em",height:"1em",path:{fill:"white"}}},sizes:{xs:i({lineHeight:1})},variants:{alert:Br,outline:Hr,ghost:Fr,secondary:zr,solid:Rr}}),{definePartsStyle:Ur,defineMultiStyleConfig:Wr}=o(Te.keys),qr=Wr({baseStyle:Ur({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"}}}}}),Yr=a({baseStyle:{helperText:{fontSize:"sm"}}}),Xr=a({sizes:{sm:{text:{fontSize:"xs"}},xs:{text:{fontSize:"xs"}}}}),Kr=a({baseStyle:{color:Pr.sonicSilver(),fontFamily:"heading",fontSize:"sm",_disabled:{opacity:1}},sizes:{sm:{fontSize:"sm"},xs:{fontSize:"xs"}}}),Gr=a({sizes:{xl:i({fontSize:"4xl"}),lg:i({fontSize:"3xl"}),md:i({fontSize:"2xl"}),sm:i({fontSize:"xl"}),xs:i({fontSize:"md"})}}),{definePartsStyle:Zr,defineMultiStyleConfig:Jr}=o(De.keys),Qr=Jr({baseStyle:Zr({group:{"svg:not(.asset-logo)":{width:"1em",height:"1em"}},field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:Zr({field:{fontSize:"md"}})},variants:{outline:{group:{"svg:not(.asset-logo)":{path:{fill:Pr.sonicSilver()}},_groupFocus:{"svg:not(.asset-logo)":{path:{fill:Pr.black()}}},_groupDisabled:{"svg:not(.asset-logo)":{path:{fill:Pr.coolElegance()}}}},field:{border:"solid 1px",borderRadius:"lg",borderColor:Pr.coolElegance(),color:Pr.sonicSilver(),":focus":{color:Pr.black(),borderColor:Pr.black()},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:Pr.sonicSilver(),opacity:1,bg:Pr.lighthouse(),":focus, :hover":{borderColor:Pr.coolElegance(),bg:Pr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},addon:{bg:"white",border:"solid 1px",borderRadius:"lg",borderColor:Pr.coolElegance(),color:Pr.black(),":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},":focus":{borderColor:Pr.black()},_disabled:{color:Pr.sonicSilver(),opacity:1,bg:Pr.lighthouse(),":focus, :hover":{borderColor:Pr.coolElegance(),bg:Pr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}}}},defaultProps:{size:"lg",variant:"outline"}}),{definePartsStyle:tn,defineMultiStyleConfig:en}=o(Ie.keys),rn=en({baseStyle:tn({field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:tn({field:{fontSize:"md"}})},variants:{outline:{field:{border:"solid 1px",borderColor:Pr.coolElegance(),borderRadius:"lg",color:Pr.sonicSilver(),pr:10,_focus:{color:Pr.black(),borderColor:Pr.black(),"+.chakra-select__icon-wrapper":{svg:{color:Pr.black(),path:{fill:Pr.black()}}}},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:Pr.sonicSilver(),opacity:1,bg:Pr.lighthouse(),":focus, :hover":{borderColor:Pr.coolElegance(),bg:Pr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},icon:{width:"1em",height:"1em",fontSize:"1em",mr:2,path:{fill:Pr.sonicSilver()},_disabled:{opacity:1,path:{fill:Pr.coolElegance()}}}}},defaultProps:{size:"lg",variant:"outline"}}),nn=a({variants:{simple:{th:{borderColor:Pr.coolElegance()},td:{borderColor:Pr.coolElegance()},tr:{_last:{td:{border:"none"}}}},grayHeader:{th:{background:Pr.lighthouse(),color:Pr.sonicSilver(),borderBottom:"1px solid",borderColor:Pr.coolElegance()},td:{borderBottom:"1px solid",borderColor:Pr.coolElegance()},tr:{_last:{td:{border:"none"}}}}}}),{definePartsStyle:on,defineMultiStyleConfig:an}=o(Ne.keys),cn=on({container:{color:"blackAlpha.900",fontWeight:"bold",borderRadius:"full",svg:{path:{fill:"blackAlpha.900"}}}}),un=on({container:{bg:"red.100",borderWidth:1,borderColor:"red.500"}}),ln=on({container:{bg:"yellow.100",borderColor:"yellow.500",borderWidth:1}});var sn=c({colors:{brand:{50:"#fcf2fe",100:"#f0c4f9",200:"#eaacf7",300:"#e495f4",400:"#de7ef2",500:"#d250ed",600:"#c622e8",700:"#b816da",800:"#a514c3",900:"#7e0f95"}},components:{Accordion:Dr,Alert:Lr,Button:Vr,Checkbox:qr,Input:Qr,Heading:Gr,Form:Yr,FormLabel:Kr,FormError:Xr,Select:rn,Table:nn,Tag:an({baseStyle:cn,defaultProps:{variant:"outline"},variants:{error:un,success:on({container:{bg:"green.100",borderColor:"green.500",borderWidth:1}}),warning:ln,outline:{container:{boxShadow:"none",borderColor:"brand.500",borderWidth:1}}},sizes:{sm:{container:{px:4,py:0}},md:{container:{px:6,py:1}},lg:{container:{px:6,py:1}}}})},styles:{global:{"[data-focus], :focus":{boxShadow:"none !important"},"::placeholder":{color:"gray.500"},"input[type=date]:invalid::-webkit-datetime-edit":{color:"gray.500"},"::-webkit-calendar-picker-indicator":{cursor:"pointer",filter:"opacity(40%)"},".recharts-surface":{overflow:"visible !important"},".recharts-surface .shadow":{filter:"drop-shadow(0 3px 5px rgba(0, 0, 0, 0.075))"}}}},u({colorScheme:"brand"}));const fn={components:sn.components,styles:sn.styles},pn=t=>{const e=String(t).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return e?`(${e[1]}) ${e[2]}-${e[3]}`:t};let dn,hn,yn=(t=21)=>{var e;e=t-=0,!dn||dn.length<e?(dn=Buffer.allocUnsafe(128*e),Z.randomFillSync(dn),hn=0):hn+e>dn.length&&(Z.randomFillSync(dn),hn=0),hn+=e;let r="";for(let e=hn-t;e<hn;e++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&dn[e]];return r};function vn(t){var e,r,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(r=vn(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function mn(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=vn(t))&&(n&&(n+=" "),n+=e);return n}var gn,bn,wn,xn,On,Sn,jn,Pn,An,Mn,kn,En,Cn,_n,Tn,Dn,In,Nn,Ln,Bn,Rn,$n,zn,Hn,Fn,Vn,Un,Wn,qn,Yn,Xn,Kn,Gn,Zn,Jn,Qn,to,eo,ro,no,oo,io,ao,co,uo,lo,so,fo,po,ho,yo,vo,mo,go,bo,wo,xo,Oo,So,jo,Po,Ao,Mo,ko,Eo,Co,_o,To,Do,Io,No,Lo,Bo,Ro,$o,zo,Ho,Fo,Vo,Uo,Wo,qo,Yo,Xo,Ko,Go,Zo,Jo,Qo,ti,ei,ri,ni,oi,ii,ai,ci,ui,li,si,fi,pi,di,hi;function yi(){if(bn)return gn;bn=1;var t=Array.isArray;return gn=t}function vi(){if(xn)return wn;xn=1;var t="object"==typeof Ge&&Ge&&Ge.Object===Object&&Ge;return wn=t}function mi(){if(Sn)return On;Sn=1;var t=vi(),e="object"==typeof self&&self&&self.Object===Object&&self,r=t||e||Function("return this")();return On=r}function gi(){if(Pn)return jn;Pn=1;var t=mi().Symbol;return jn=t}function bi(){if(_n)return Cn;_n=1;var t=gi(),e=function(){if(Mn)return An;Mn=1;var t=gi(),e=Object.prototype,r=e.hasOwnProperty,n=e.toString,o=t?t.toStringTag:void 0;return An=function(t){var e=r.call(t,o),i=t[o];try{t[o]=void 0;var a=!0}catch(t){}var c=n.call(t);return a&&(e?t[o]=i:delete t[o]),c}}(),r=function(){if(En)return kn;En=1;var t=Object.prototype.toString;return kn=function(e){return t.call(e)}}(),n=t?t.toStringTag:void 0;return Cn=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":n&&n in Object(t)?e(t):r(t)}}function wi(){if(Dn)return Tn;return Dn=1,Tn=function(t){return null!=t&&"object"==typeof t}}function xi(){if(Nn)return In;Nn=1;var t=bi(),e=wi();return In=function(r){return"symbol"==typeof r||e(r)&&"[object Symbol]"==t(r)}}function Oi(){if(Bn)return Ln;Bn=1;var t=yi(),e=xi(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;return Ln=function(o,i){if(t(o))return!1;var a=typeof o;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=o&&!e(o))||(n.test(o)||!r.test(o)||null!=i&&o in Object(i))},Ln}function Si(){if($n)return Rn;return $n=1,Rn=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}}function ji(){if(Hn)return zn;Hn=1;var t=bi(),e=Si();return zn=function(r){if(!e(r))return!1;var n=t(r);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}}function Pi(){if(Wn)return Un;Wn=1;var t,e=function(){if(Vn)return Fn;Vn=1;var t=mi()["__core-js_shared__"];return Fn=t}(),r=(t=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";return Un=function(t){return!!r&&r in t}}function Ai(){if(Yn)return qn;Yn=1;var t=Function.prototype.toString;return qn=function(e){if(null!=e){try{return t.call(e)}catch(t){}try{return e+""}catch(t){}}return""}}function Mi(){if(Qn)return Jn;Qn=1;var t=function(){if(Kn)return Xn;Kn=1;var t=ji(),e=Pi(),r=Si(),n=Ai(),o=/^\[object .+?Constructor\]$/,i=Function.prototype,a=Object.prototype,c=i.toString,u=a.hasOwnProperty,l=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Xn=function(i){return!(!r(i)||e(i))&&(t(i)?l:o).test(n(i))}}(),e=(Zn||(Zn=1,Gn=function(t,e){return null==t?void 0:t[e]}),Gn);return Jn=function(r,n){var o=e(r,n);return t(o)?o:void 0},Jn}function ki(){if(eo)return to;eo=1;var t=Mi()(Object,"create");return to=t}function Ei(){if(ho)return po;ho=1;var t=function(){if(no)return ro;no=1;var t=ki();return ro=function(){this.__data__=t?t(null):{},this.size=0}}(),e=io?oo:(io=1,oo=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}),r=function(){if(co)return ao;co=1;var t=ki(),e=Object.prototype.hasOwnProperty;return ao=function(r){var n=this.__data__;if(t){var o=n[r];return"__lodash_hash_undefined__"===o?void 0:o}return e.call(n,r)?n[r]:void 0}}(),n=function(){if(lo)return uo;lo=1;var t=ki(),e=Object.prototype.hasOwnProperty;return uo=function(r){var n=this.__data__;return t?void 0!==n[r]:e.call(n,r)}}(),o=function(){if(fo)return so;fo=1;var t=ki();return so=function(e,r){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=t&&void 0===r?"__lodash_hash_undefined__":r,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,po=i}function Ci(){if(go)return mo;return go=1,mo=function(t,e){return t===e||t!=t&&e!=e}}function _i(){if(wo)return bo;wo=1;var t=Ci();return bo=function(e,r){for(var n=e.length;n--;)if(t(e[n][0],r))return n;return-1},bo}function Ti(){if(Co)return Eo;Co=1;var t=vo?yo:(vo=1,yo=function(){this.__data__=[],this.size=0}),e=function(){if(Oo)return xo;Oo=1;var t=_i(),e=Array.prototype.splice;return xo=function(r){var n=this.__data__,o=t(n,r);return!(o<0||(o==n.length-1?n.pop():e.call(n,o,1),--this.size,0))}}(),r=function(){if(jo)return So;jo=1;var t=_i();return So=function(e){var r=this.__data__,n=t(r,e);return n<0?void 0:r[n][1]}}(),n=function(){if(Ao)return Po;Ao=1;var t=_i();return Po=function(e){return t(this.__data__,e)>-1}}(),o=function(){if(ko)return Mo;ko=1;var t=_i();return Mo=function(e,r){var n=this.__data__,o=t(n,e);return o<0?(++this.size,n.push([e,r])):n[o][1]=r,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,Eo=i}function Di(){if(To)return _o;To=1;var t=Mi()(mi(),"Map");return _o=t}function Ii(){if(Ro)return Bo;Ro=1;var t=Lo?No:(Lo=1,No=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t});return Bo=function(e,r){var n=e.__data__;return t(r)?n["string"==typeof r?"string":"hash"]:n.map},Bo}function Ni(){if(Xo)return Yo;Xo=1;var t=function(){if(Io)return Do;Io=1;var t=Ei(),e=Ti(),r=Di();return Do=function(){this.size=0,this.__data__={hash:new t,map:new(r||e),string:new t}}}(),e=function(){if(zo)return $o;zo=1;var t=Ii();return $o=function(e){var r=t(this,e).delete(e);return this.size-=r?1:0,r}}(),r=function(){if(Fo)return Ho;Fo=1;var t=Ii();return Ho=function(e){return t(this,e).get(e)}}(),n=function(){if(Uo)return Vo;Uo=1;var t=Ii();return Vo=function(e){return t(this,e).has(e)}}(),o=function(){if(qo)return Wo;qo=1;var t=Ii();return Wo=function(e,r){var n=t(this,e),o=n.size;return n.set(e,r),this.size+=n.size==o?0:1,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,Yo=i}function Li(){if(Go)return Ko;Go=1;var t=Ni();function e(r,n){if("function"!=typeof r||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var o=function(){var t=arguments,e=n?n.apply(this,t):t[0],i=o.cache;if(i.has(e))return i.get(e);var a=r.apply(this,t);return o.cache=i.set(e,a)||i,a};return o.cache=new(e.Cache||t),o}return e.Cache=t,Ko=e}function Bi(){if(ti)return Qo;ti=1;var t=function(){if(Jo)return Zo;Jo=1;var t=Li();return Zo=function(e){var r=t(e,(function(t){return 500===n.size&&n.clear(),t})),n=r.cache;return r}}(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=t((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(e,(function(t,e,o,i){n.push(o?i.replace(r,"$1"):e||t)})),n}));return Qo=n}function Ri(){if(ri)return ei;return ri=1,ei=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},ei}function $i(){if(ai)return ii;ai=1;var t=function(){if(oi)return ni;oi=1;var t=gi(),e=Ri(),r=yi(),n=xi(),o=t?t.prototype:void 0,i=o?o.toString:void 0;return ni=function t(o){if("string"==typeof o)return o;if(r(o))return e(o,t)+"";if(n(o))return i?i.call(o):"";var a=o+"";return"0"==a&&1/o==-1/0?"-0":a},ni}();return ii=function(e){return null==e?"":t(e)}}function zi(){if(ui)return ci;ui=1;var t=yi(),e=Oi(),r=Bi(),n=$i();return ci=function(o,i){return t(o)?o:e(o,i)?[o]:r(n(o))},ci}function Hi(){if(si)return li;si=1;var t=xi();return li=function(e){if("string"==typeof e||t(e))return e;var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}}function Fi(){if(pi)return fi;pi=1;var t=zi(),e=Hi();return fi=function(r,n){for(var o=0,i=(n=t(n,r)).length;null!=r&&o<i;)r=r[e(n[o++])];return o&&o==i?r:void 0},fi}function Vi(){if(hi)return di;hi=1;var t=Fi();return di=function(e,r,n){var o=null==e?void 0:t(e,r);return void 0===o?n:o},di}var Ui,Wi,qi=Ze(Vi());var Yi,Xi,Ki=Ze(Wi?Ui:(Wi=1,Ui=function(t){return null==t}));var Gi,Zi=function(){if(Xi)return Yi;Xi=1;var t=bi(),e=yi(),r=wi();return Yi=function(n){return"string"==typeof n||!e(n)&&r(n)&&"[object String]"==t(n)}}(),Ji=Ze(Zi),Qi=Ze(ji()),ta=Ze(Si()),ea={exports:{}},ra={};var na,oa,ia={};
10
+ /**
11
+ * @license React
12
+ * react-is.development.js
13
+ *
14
+ * Copyright (c) Facebook, Inc. and its affiliates.
15
+ *
16
+ * This source code is licensed under the MIT license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ */var aa,ca,ua,la,sa=(oa||(oa=1,"production"===process.env.NODE_ENV?ea.exports=function(){if(Gi)return ra;Gi=1;var t,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function y(t){if("object"==typeof t&&null!==t){var h=t.$$typeof;switch(h){case e:switch(t=t.type){case n:case i:case o:case s:case f:return t;default:switch(t=t&&t.$$typeof){case u:case c:case l:case d:case p:case a:return t;default:return h}}case r:return h}}}return t=Symbol.for("react.module.reference"),ra.ContextConsumer=c,ra.ContextProvider=a,ra.Element=e,ra.ForwardRef=l,ra.Fragment=n,ra.Lazy=d,ra.Memo=p,ra.Portal=r,ra.Profiler=i,ra.StrictMode=o,ra.Suspense=s,ra.SuspenseList=f,ra.isAsyncMode=function(){return!1},ra.isConcurrentMode=function(){return!1},ra.isContextConsumer=function(t){return y(t)===c},ra.isContextProvider=function(t){return y(t)===a},ra.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},ra.isForwardRef=function(t){return y(t)===l},ra.isFragment=function(t){return y(t)===n},ra.isLazy=function(t){return y(t)===d},ra.isMemo=function(t){return y(t)===p},ra.isPortal=function(t){return y(t)===r},ra.isProfiler=function(t){return y(t)===i},ra.isStrictMode=function(t){return y(t)===o},ra.isSuspense=function(t){return y(t)===s},ra.isSuspenseList=function(t){return y(t)===f},ra.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===o||e===s||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===a||e.$$typeof===c||e.$$typeof===l||e.$$typeof===t||void 0!==e.getModuleId)},ra.typeOf=y,ra}():ea.exports=(na||(na=1,"production"!==process.env.NODE_ENV&&function(){var t,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function y(t){if("object"==typeof t&&null!==t){var h=t.$$typeof;switch(h){case e:var y=t.type;switch(y){case n:case i:case o:case s:case f:return y;default:var v=y&&y.$$typeof;switch(v){case u:case c:case l:case d:case p:case a:return v;default:return h}}case r:return h}}}t=Symbol.for("react.module.reference");var v=c,m=a,g=e,b=l,w=n,x=d,O=p,S=r,j=i,P=o,A=s,M=f,k=!1,E=!1;ia.ContextConsumer=v,ia.ContextProvider=m,ia.Element=g,ia.ForwardRef=b,ia.Fragment=w,ia.Lazy=x,ia.Memo=O,ia.Portal=S,ia.Profiler=j,ia.StrictMode=P,ia.Suspense=A,ia.SuspenseList=M,ia.isAsyncMode=function(t){return k||(k=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},ia.isConcurrentMode=function(t){return E||(E=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},ia.isContextConsumer=function(t){return y(t)===c},ia.isContextProvider=function(t){return y(t)===a},ia.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},ia.isForwardRef=function(t){return y(t)===l},ia.isFragment=function(t){return y(t)===n},ia.isLazy=function(t){return y(t)===d},ia.isMemo=function(t){return y(t)===p},ia.isPortal=function(t){return y(t)===r},ia.isProfiler=function(t){return y(t)===i},ia.isStrictMode=function(t){return y(t)===o},ia.isSuspense=function(t){return y(t)===s},ia.isSuspenseList=function(t){return y(t)===f},ia.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===o||e===s||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===a||e.$$typeof===c||e.$$typeof===l||e.$$typeof===t||void 0!==e.getModuleId)},ia.typeOf=y}()),ia)),ea.exports);function fa(){if(ca)return aa;ca=1;var t=bi(),e=wi();return aa=function(r){return"number"==typeof r||e(r)&&"[object Number]"==t(r)}}var pa=function(){if(la)return ua;la=1;var t=fa();return ua=function(e){return t(e)&&e!=+e}}(),da=Ze(pa),ha=Ze(fa()),ya=function(t){return 0===t?0:t>0?1:-1},va=function(t){return Ji(t)&&t.indexOf("%")===t.length-1},ma=function(t){return ha(t)&&!da(t)},ga=function(t){return ma(t)||Ji(t)},ba=0,wa=function(t){var e=++ba;return"".concat(t||"").concat(e)},xa=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!ma(t)&&!Ji(t))return n;if(va(t)){var i=t.indexOf("%");r=e*parseFloat(t.slice(0,i))/100}else r=+t;return da(r)&&(r=n),o&&r>e&&(r=e),r},Oa=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},Sa=function(t,e){return ma(t)&&ma(e)?function(r){return t+r*(e-t)}:function(){return e}};function ja(t,e,r){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):qi(t,e))===r})):null}function Pa(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 Aa(t){return Aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Aa(t)}var Ma=["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"],ka=["points","pathLength"],Ea={svg:["viewBox","children"],polygon:ka,polyline:ka},Ca=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],_a=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if(Q(t)&&(r=t.props),!ta(r))return null;var n={};return Object.keys(r).forEach((function(t){Ca.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})})),n},Ta=function(t,e,r){if(!ta(t)||"object"!==Aa(t))return null;var n=null;return Object.keys(t).forEach((function(o){var i=t[o];Ca.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t,e,r){return function(n){return t(e,r,n),null}}(i,e,r))})),n},Da=["children"],Ia=["children"];function Na(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function La(t){return La="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},La(t)}var Ba={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},Ra=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},$a=null,za=null,Ha=function t(e){if(e===$a&&Array.isArray(za))return za;var r=[];return tt.forEach(e,(function(e){Ki(e)||(sa.isFragment(e)?r=r.concat(t(e.props.children)):r.push(e))})),za=r,$a=e,r};function Fa(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map((function(t){return Ra(t)})):[Ra(e)],Ha(t).forEach((function(t){var e=qi(t,"type.displayName")||qi(t,"type.name");-1!==n.indexOf(e)&&r.push(t)})),r}function Va(t,e){var r=Fa(t,e);return r&&r[0]}var Ua=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!ma(r)||r<=0||!ma(n)||n<=0)},Wa=["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"],qa=function(t){return t&&"object"===La(t)&&"clipDot"in t},Ya=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if(Q(t)&&(n=t.props),!ta(n))return null;var o={};return Object.keys(n).forEach((function(t){var i;(function(t,e,r,n){var o,i=null!==(o=null==Ea?void 0:Ea[n])&&void 0!==o?o:[];return!Qi(t)&&(n&&i.includes(e)||Ma.includes(e))||r&&Ca.includes(e)})(null===(i=n)||void 0===i?void 0:i[t],t,e,r)&&(o[t]=n[t])})),o},Xa=function t(e,r){if(e===r)return!0;var n=tt.count(e);if(n!==tt.count(r))return!1;if(0===n)return!0;if(1===n)return Ka(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var o=0;o<n;o++){var i=e[o],a=r[o];if(Array.isArray(i)||Array.isArray(a)){if(!t(i,a))return!1}else if(!Ka(i,a))return!1}return!0},Ka=function(t,e){if(Ki(t)&&Ki(e))return!0;if(!Ki(t)&&!Ki(e)){var r=t.props||{},n=r.children,o=Na(r,Da),i=e.props||{},a=i.children,c=Na(i,Ia);return n&&a?Pa(o,c)&&Xa(n,a):!n&&!a&&Pa(o,c)}return!1},Ga=function(t,e){var r=[],n={};return Ha(t).forEach((function(t,o){if(function(t){return t&&t.type&&Ji(t.type)&&Wa.indexOf(t.type)>=0}(t))r.push(t);else if(t){var i=Ra(t.type),a=e[i]||{},c=a.handler,u=a.once;if(c&&(!u||!n[i])){var l=c(t,i,o);r.push(l),n[i]=!0}}})),r},Za=["children","width","height","viewBox","className","style","title","desc"];function Ja(){return Ja=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ja.apply(this,arguments)}function Qa(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function tc(t){var e=t.children,r=t.width,n=t.height,o=t.viewBox,i=t.className,a=t.style,c=t.title,u=t.desc,l=Qa(t,Za),s=o||{width:r,height:n,x:0,y:0},f=mn("recharts-surface",i);return J.createElement("svg",Ja({},Ya(l,!0,"svg"),{className:f,width:r,height:n,style:a,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height)}),J.createElement("title",null,c),J.createElement("desc",null,u),e)}var ec=["children","className"];function rc(){return rc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},rc.apply(this,arguments)}function nc(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var oc,ic,ac,cc,uc,lc,sc,fc,pc,dc,hc,yc,vc,mc,gc,bc,wc=J.forwardRef((function(t,e){var r=t.children,n=t.className,o=nc(t,ec),i=mn("recharts-layer",n);return J.createElement("g",rc({className:i},Ya(o,!0),{ref:e}),r)})),xc="production"!==process.env.NODE_ENV,Oc=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];if(xc&&"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 i=0;console.warn(e.replace(/%s/g,(function(){return n[i++]})))}};function Sc(){if(cc)return ac;cc=1;var t=(ic||(ic=1,oc=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}),oc);return ac=function(e,r,n){var o=e.length;return n=void 0===n?o:n,!r&&n>=o?e:t(e,r,n)},ac}function jc(){if(lc)return uc;lc=1;var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return uc=function(e){return t.test(e)},uc}function Pc(){if(yc)return hc;yc=1;var t=(fc||(fc=1,sc=function(t){return t.split("")}),sc),e=jc(),r=function(){if(dc)return pc;dc=1;var t="\\ud800-\\udfff",e="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+n+")?",u="[\\ufe0e\\ufe0f]?",l=u+c+"(?:\\u200d(?:"+[o,i,a].join("|")+")"+u+c+")*",s="(?:"+[o+r+"?",r,i,a,e].join("|")+")",f=RegExp(n+"(?="+n+")|"+s+l,"g");return pc=function(t){return t.match(f)||[]},pc}();return hc=function(n){return e(n)?r(n):t(n)},hc}var Ac=function(){if(bc)return gc;bc=1;var t=function(){if(mc)return vc;mc=1;var t=Sc(),e=jc(),r=Pc(),n=$i();return vc=function(o){return function(i){i=n(i);var a=e(i)?r(i):void 0,c=a?a[0]:i.charAt(0),u=a?t(a,1).join(""):i.slice(1);return c[o]()+u}},vc}(),e=t("toUpperCase");return gc=e}(),Mc=Ze(Ac);function kc(t){return function(){return t}}const Ec=Math.cos,Cc=Math.sin,_c=Math.sqrt,Tc=Math.PI,Dc=2*Tc,Ic=Math.PI,Nc=2*Ic,Lc=1e-6,Bc=Nc-Lc;function Rc(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class $c{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?Rc:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Rc;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,o,i){this._append`C${+t},${+e},${+r},${+n},${this._x1=+o},${this._y1=+i}`}arcTo(t,e,r,n,o){if(t=+t,e=+e,r=+r,n=+n,(o=+o)<0)throw new Error(`negative radius: ${o}`);let i=this._x1,a=this._y1,c=r-t,u=n-e,l=i-t,s=a-e,f=l*l+s*s;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(f>Lc)if(Math.abs(s*c-u*l)>Lc&&o){let p=r-i,d=n-a,h=c*c+u*u,y=p*p+d*d,v=Math.sqrt(h),m=Math.sqrt(f),g=o*Math.tan((Ic-Math.acos((h+f-y)/(2*v*m)))/2),b=g/m,w=g/v;Math.abs(b-1)>Lc&&this._append`L${t+b*l},${e+b*s}`,this._append`A${o},${o},0,0,${+(s*p>l*d)},${this._x1=t+w*c},${this._y1=e+w*u}`}else this._append`L${this._x1=t},${this._y1=e}`;else;}arc(t,e,r,n,o,i){if(t=+t,e=+e,i=!!i,(r=+r)<0)throw new Error(`negative radius: ${r}`);let a=r*Math.cos(n),c=r*Math.sin(n),u=t+a,l=e+c,s=1^i,f=i?n-o:o-n;null===this._x1?this._append`M${u},${l}`:(Math.abs(this._x1-u)>Lc||Math.abs(this._y1-l)>Lc)&&this._append`L${u},${l}`,r&&(f<0&&(f=f%Nc+Nc),f>Bc?this._append`A${r},${r},0,1,${s},${t-a},${e-c}A${r},${r},0,1,${s},${this._x1=u},${this._y1=l}`:f>Lc&&this._append`A${r},${r},0,${+(f>=Ic)},${s},${this._x1=t+r*Math.cos(o)},${this._y1=e+r*Math.sin(o)}`)}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 zc(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 $c(e)}function Hc(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Fc(t){this._context=t}function Vc(t){return new Fc(t)}function Uc(t){return t[0]}function Wc(t){return t[1]}function qc(t,e){var r=kc(!0),n=null,o=Vc,i=null,a=zc(c);function c(c){var u,l,s,f=(c=Hc(c)).length,p=!1;for(null==n&&(i=o(s=a())),u=0;u<=f;++u)!(u<f&&r(l=c[u],u,c))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+t(l,u,c),+e(l,u,c));if(s)return i=null,s+""||null}return t="function"==typeof t?t:void 0===t?Uc:kc(t),e="function"==typeof e?e:void 0===e?Wc:kc(e),c.x=function(e){return arguments.length?(t="function"==typeof e?e:kc(+e),c):t},c.y=function(t){return arguments.length?(e="function"==typeof t?t:kc(+t),c):e},c.defined=function(t){return arguments.length?(r="function"==typeof t?t:kc(!!t),c):r},c.curve=function(t){return arguments.length?(o=t,null!=n&&(i=o(n)),c):o},c.context=function(t){return arguments.length?(null==t?n=i=null:i=o(n=t),c):n},c}function Yc(t,e,r){var n=null,o=kc(!0),i=null,a=Vc,c=null,u=zc(l);function l(l){var s,f,p,d,h,y=(l=Hc(l)).length,v=!1,m=new Array(y),g=new Array(y);for(null==i&&(c=a(h=u())),s=0;s<=y;++s){if(!(s<y&&o(d=l[s],s,l))===v)if(v=!v)f=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),p=s-1;p>=f;--p)c.point(m[p],g[p]);c.lineEnd(),c.areaEnd()}v&&(m[s]=+t(d,s,l),g[s]=+e(d,s,l),c.point(n?+n(d,s,l):m[s],r?+r(d,s,l):g[s]))}if(h)return c=null,h+""||null}function s(){return qc().defined(o).curve(a).context(i)}return t="function"==typeof t?t:void 0===t?Uc:kc(+t),e="function"==typeof e?e:kc(void 0===e?0:+e),r="function"==typeof r?r:void 0===r?Wc:kc(+r),l.x=function(e){return arguments.length?(t="function"==typeof e?e:kc(+e),n=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:kc(+e),l):t},l.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:kc(+t),l):n},l.y=function(t){return arguments.length?(e="function"==typeof t?t:kc(+t),r=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:kc(+t),l):e},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:kc(+t),l):r},l.lineX0=l.lineY0=function(){return s().x(t).y(e)},l.lineY1=function(){return s().x(t).y(r)},l.lineX1=function(){return s().x(n).y(e)},l.defined=function(t){return arguments.length?(o="function"==typeof t?t:kc(!!t),l):o},l.curve=function(t){return arguments.length?(a=t,null!=i&&(c=a(i)),l):a},l.context=function(t){return arguments.length?(null==t?i=c=null:c=a(i=t),l):i},l}Fc.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 Xc{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 Kc={draw(t,e){const r=_c(e/Tc);t.moveTo(r,0),t.arc(0,0,r,0,Dc)}},Gc={draw(t,e){const r=_c(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 Zc=_c(1/3),Jc=2*Zc;var Qc={draw(t,e){const r=_c(e/Jc),n=r*Zc;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},tu={draw(t,e){const r=_c(e),n=-r/2;t.rect(n,n,r,r)}};const eu=Cc(Tc/10)/Cc(7*Tc/10),ru=Cc(Dc/10)*eu,nu=-Ec(Dc/10)*eu;var ou={draw(t,e){const r=_c(.8908130915292852*e),n=ru*r,o=nu*r;t.moveTo(0,-r),t.lineTo(n,o);for(let e=1;e<5;++e){const i=Dc*e/5,a=Ec(i),c=Cc(i);t.lineTo(c*r,-a*r),t.lineTo(a*n-c*o,c*n+a*o)}t.closePath()}};const iu=_c(3);var au={draw(t,e){const r=-_c(e/(3*iu));t.moveTo(0,2*r),t.lineTo(-iu*r,-r),t.lineTo(iu*r,-r),t.closePath()}};const cu=-.5,uu=_c(3)/2,lu=1/_c(12),su=3*(lu/2+1);var fu={draw(t,e){const r=_c(e/su),n=r/2,o=r*lu,i=n,a=r*lu+r,c=-i,u=a;t.moveTo(n,o),t.lineTo(i,a),t.lineTo(c,u),t.lineTo(cu*n-uu*o,uu*n+cu*o),t.lineTo(cu*i-uu*a,uu*i+cu*a),t.lineTo(cu*c-uu*u,uu*c+cu*u),t.lineTo(cu*n+uu*o,cu*o-uu*n),t.lineTo(cu*i+uu*a,cu*a-uu*i),t.lineTo(cu*c+uu*u,cu*u-uu*c),t.closePath()}};function pu(){}function du(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 hu(t){this._context=t}function yu(t){this._context=t}function vu(t){this._context=t}function mu(t){this._context=t}function gu(t){return t<0?-1:1}function bu(t,e,r){var n=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(n||o<0&&-0),a=(r-t._y1)/(o||n<0&&-0),c=(i*o+a*n)/(n+o);return(gu(i)+gu(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(c))||0}function wu(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function xu(t,e,r){var n=t._x0,o=t._y0,i=t._x1,a=t._y1,c=(i-n)/3;t._context.bezierCurveTo(n+c,o+c*e,i-c,a-c*r,i,a)}function Ou(t){this._context=t}function Su(t){this._context=new ju(t)}function ju(t){this._context=t}function Pu(t){this._context=t}function Au(t){var e,r,n=t.length-1,o=new Array(n),i=new Array(n),a=new Array(n);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[n-1]=2,i[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=o[e]/i[e-1],i[e]-=r,a[e]-=r*a[e-1];for(o[n-1]=a[n-1]/i[n-1],e=n-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(i[n-1]=(t[n]+o[n-1])/2,e=0;e<n-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}function Mu(t,e){this._context=t,this._t=e}function ku(t,e){if((o=t.length)>1)for(var r,n,o,i=1,a=t[e[0]],c=a.length;i<o;++i)for(n=a,a=t[e[i]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function Eu(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function Cu(t,e){return t[e]}function _u(t){const e=[];return e.key=t,e}function Tu(t){return Tu="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},Tu(t)}hu.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:du(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:du(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},yu.prototype={areaStart:pu,areaEnd:pu,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:du(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},vu.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:du(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},mu.prototype={areaStart:pu,areaEnd:pu,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))}},Ou.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:xu(this,this._t0,wu(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,xu(this,wu(this,r=bu(this,t,e)),r);break;default:xu(this,this._t0,r=bu(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(Su.prototype=Object.create(Ou.prototype)).point=function(t,e){Ou.prototype.point.call(this,e,t)},ju.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,o,i){this._context.bezierCurveTo(e,t,n,r,i,o)}},Pu.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=Au(t),o=Au(e),i=0,a=1;a<r;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],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)}},Mu.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 Du=["type","size","sizeType"];function Iu(){return Iu=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},Iu.apply(this,arguments)}function Nu(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 Lu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Nu(Object(r),!0).forEach((function(e){Bu(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Nu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Bu(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Tu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Tu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Tu(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ru(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var $u={symbolCircle:Kc,symbolCross:Gc,symbolDiamond:Qc,symbolSquare:tu,symbolStar:ou,symbolTriangle:au,symbolWye:fu},zu=Math.PI/180,Hu=function(t){var e,r,n=t.type,o=void 0===n?"circle":n,i=t.size,a=void 0===i?64:i,c=t.sizeType,u=void 0===c?"area":c,l=Lu(Lu({},Ru(t,Du)),{},{type:o,size:a,sizeType:u}),s=l.className,f=l.cx,p=l.cy,d=Ya(l,!0);return f===+f&&p===+p&&a===+a?J.createElement("path",Iu({},d,{className:mn("recharts-symbols",s),transform:"translate(".concat(f,", ").concat(p,")"),d:(e=function(t){var e="symbol".concat(Mc(t));return $u[e]||Kc}(o),r=function(t,e){let r=null,n=zc(o);function o(){let o;if(r||(r=o=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),o)return r=null,o+""||null}return t="function"==typeof t?t:kc(t||Kc),e="function"==typeof e?e:kc(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"==typeof e?e:kc(e),o):t},o.size=function(t){return arguments.length?(e="function"==typeof t?t:kc(+t),o):e},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o}().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*zu;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,u,o)),r())})):null};function Fu(t){return Fu="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},Fu(t)}function Vu(){return Vu=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},Vu.apply(this,arguments)}function Uu(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 Wu(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Zu(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function qu(t,e,r){return e=Xu(e),function(t,e){if(e&&("object"===Fu(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,Yu()?Reflect.construct(e,r||[],Xu(t).constructor):e.apply(t,r))}function Yu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Yu=function(){return!!t})()}function Xu(t){return Xu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xu(t)}function Ku(t,e){return Ku=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ku(t,e)}function Gu(t,e,r){return(e=Zu(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zu(t){var e=function(t,e){if("object"!=Fu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Fu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Fu(e)?e:e+""}Hu.registerSymbol=function(t,e){$u["symbol".concat(Mc(t))]=e};var Ju,Qu,tl,el,rl,nl,ol,il,al,cl,ul,ll,sl,fl,pl,dl,hl,yl,vl,ml,gl,bl,wl,xl,Ol,Sl,jl,Pl,Al,Ml,kl,El,Cl,_l,Tl,Dl,Il,Nl,Ll,Bl,Rl,$l,zl,Hl,Fl,Vl,Ul,Wl,ql=32,Yl=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),qu(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ku(t,e)}(e,et),Wu(e,[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=16,n=ql/6,o=ql/3,i=t.inactive?e:t.color;if("plainline"===t.type)return J.createElement("line",{strokeWidth:4,fill:"none",stroke:i,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:r,x2:ql,y2:r,className:"recharts-legend-icon"});if("line"===t.type)return J.createElement("path",{strokeWidth:4,fill:"none",stroke:i,d:"M0,".concat(r,"h").concat(o,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*o,",").concat(r,"\n H").concat(ql,"M").concat(2*o,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(o,",").concat(r),className:"recharts-legend-icon"});if("rect"===t.type)return J.createElement("path",{stroke:"none",fill:i,d:"M0,".concat(4,"h").concat(ql,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(J.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Uu(Object(r),!0).forEach((function(e){Gu(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Uu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return delete a.legendIcon,J.cloneElement(t.legendIcon,a)}return J.createElement(Hu,{fill:i,cx:r,cy:r,size:ql,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,o=e.layout,i=e.formatter,a=e.inactiveColor,c={x:0,y:0,width:ql,height:ql},u={display:"horizontal"===o?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(e,r){var o=e.formatter||i,s=mn(Gu(Gu({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var f=Qi(e.value)?null:e.value;Oc(!Qi(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 J.createElement("li",Vu({className:s,style:u,key:"legend-item-".concat(r)},Ta(t.props,e,r)),J.createElement(tc,{width:n,height:n,viewBox:c,style:l},t.renderIcon(e)),J.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},o?o(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 o={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return J.createElement("ul",{className:"recharts-default-legend",style:o},this.renderItems())}}])}();function Xl(){if(ll)return ul;ll=1;var t=Ti(),e=function(){if(Qu)return Ju;Qu=1;var t=Ti();return Ju=function(){this.__data__=new t,this.size=0}}(),r=el?tl:(el=1,tl=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}),n=nl?rl:(nl=1,rl=function(t){return this.__data__.get(t)}),o=il?ol:(il=1,ol=function(t){return this.__data__.has(t)}),i=function(){if(cl)return al;cl=1;var t=Ti(),e=Di(),r=Ni();return al=function(n,o){var i=this.__data__;if(i instanceof t){var a=i.__data__;if(!e||a.length<199)return a.push([n,o]),this.size=++i.size,this;i=this.__data__=new r(a)}return i.set(n,o),this.size=i.size,this}}();function a(e){var r=this.__data__=new t(e);this.size=r.size}return a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=n,a.prototype.has=o,a.prototype.set=i,ul=a}function Kl(){if(yl)return hl;yl=1;var t=Ni(),e=fl?sl:(fl=1,sl=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}),r=dl?pl:(dl=1,pl=function(t){return this.__data__.has(t)});function n(e){var r=-1,n=null==e?0:e.length;for(this.__data__=new t;++r<n;)this.add(e[r])}return n.prototype.add=n.prototype.push=e,n.prototype.has=r,hl=n}function Gl(){if(ml)return vl;return ml=1,vl=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},vl}function Zl(){if(bl)return gl;return bl=1,gl=function(t,e){return t.has(e)}}function Jl(){if(xl)return wl;xl=1;var t=Kl(),e=Gl(),r=Zl();return wl=function(n,o,i,a,c,u){var l=1&i,s=n.length,f=o.length;if(s!=f&&!(l&&f>s))return!1;var p=u.get(n),d=u.get(o);if(p&&d)return p==o&&d==n;var h=-1,y=!0,v=2&i?new t:void 0;for(u.set(n,o),u.set(o,n);++h<s;){var m=n[h],g=o[h];if(a)var b=l?a(g,m,h,o,n,u):a(m,g,h,n,o,u);if(void 0!==b){if(b)continue;y=!1;break}if(v){if(!e(o,(function(t,e){if(!r(v,e)&&(m===t||c(m,t,i,a,u)))return v.push(e)}))){y=!1;break}}else if(m!==g&&!c(m,g,i,a,u)){y=!1;break}}return u.delete(n),u.delete(o),y},wl}function Ql(){if(Ml)return Al;return Ml=1,Al=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r},Al}function ts(){if(El)return kl;El=1;var t=gi(),e=function(){if(Sl)return Ol;Sl=1;var t=mi().Uint8Array;return Ol=t}(),r=Ci(),n=Jl(),o=(Pl||(Pl=1,jl=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}),jl),i=Ql(),a=t?t.prototype:void 0,c=a?a.valueOf:void 0;return kl=function(t,a,u,l,s,f,p){switch(u){case"[object DataView]":if(t.byteLength!=a.byteLength||t.byteOffset!=a.byteOffset)return!1;t=t.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=a.byteLength||!f(new e(t),new e(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+a);case"[object Error]":return t.name==a.name&&t.message==a.message;case"[object RegExp]":case"[object String]":return t==a+"";case"[object Map]":var d=o;case"[object Set]":var h=1&l;if(d||(d=i),t.size!=a.size&&!h)return!1;var y=p.get(t);if(y)return y==a;l|=2,p.set(t,a);var v=n(d(t),d(a),l,s,f,p);return p.delete(t),v;case"[object Symbol]":if(c)return c.call(t)==c.call(a)}return!1},kl}function es(){if(_l)return Cl;return _l=1,Cl=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t},Cl}function rs(){if($l)return Rl;$l=1;var t=(Nl||(Nl=1,Il=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}),Il),e=Bl?Ll:(Bl=1,Ll=function(){return[]}),r=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,o=n?function(e){return null==e?[]:(e=Object(e),t(n(e),(function(t){return r.call(e,t)})))}:e;return Rl=o}function ns(){if(Wl)return Ul;Wl=1;var t=function(){if(Vl)return Fl;Vl=1;var t=bi(),e=wi();return Fl=function(r){return e(r)&&"[object Arguments]"==t(r)}}(),e=wi(),r=Object.prototype,n=r.hasOwnProperty,o=r.propertyIsEnumerable,i=t(function(){return arguments}())?t:function(t){return e(t)&&n.call(t,"callee")&&!o.call(t,"callee")};return Ul=i}Gu(Yl,"displayName","Legend"),Gu(Yl,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var os,is,as,cs,us,ls,ss,fs,ps,ds,hs,ys={exports:{}};function vs(){return as||(as=1,function(t,e){var r=mi(),n=is?os:(is=1,os=function(){return!1}),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||n;t.exports=c}(ys,ys.exports)),ys.exports}function ms(){if(us)return cs;us=1;var t=/^(?:0|[1-9]\d*)$/;return cs=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}}function gs(){if(ss)return ls;ss=1;return ls=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}}function bs(){if(hs)return ds;return hs=1,ds=function(t){return function(e){return t(e)}}}ys.exports;var ws,xs,Os,Ss,js,Ps,As,Ms,ks,Es,Cs,_s,Ts,Ds,Is,Ns,Ls,Bs,Rs,$s,zs,Hs,Fs,Vs,Us,Ws,qs,Ys,Xs,Ks,Gs,Zs,Js,Qs,tf,ef,rf,nf,of,af,cf,uf,lf,sf,ff,pf,df,hf,yf,vf,mf,gf,bf,wf,xf,Of,Sf,jf,Pf,Af,Mf,kf,Ef,Cf,_f,Tf,Df,If,Nf,Lf,Bf,Rf,$f,zf,Hf,Ff,Vf,Uf,Wf,qf,Yf,Xf,Kf,Gf={exports:{}};function Zf(){if(Os)return xs;Os=1;var t=function(){if(ps)return fs;ps=1;var t=bi(),e=gs(),r=wi(),n={};return n["[object Float32Array]"]=n["[object Float64Array]"]=n["[object Int8Array]"]=n["[object Int16Array]"]=n["[object Int32Array]"]=n["[object Uint8Array]"]=n["[object Uint8ClampedArray]"]=n["[object Uint16Array]"]=n["[object Uint32Array]"]=!0,n["[object Arguments]"]=n["[object Array]"]=n["[object ArrayBuffer]"]=n["[object Boolean]"]=n["[object DataView]"]=n["[object Date]"]=n["[object Error]"]=n["[object Function]"]=n["[object Map]"]=n["[object Number]"]=n["[object Object]"]=n["[object RegExp]"]=n["[object Set]"]=n["[object String]"]=n["[object WeakMap]"]=!1,fs=function(o){return r(o)&&e(o.length)&&!!n[t(o)]}}(),e=bs(),r=function(){return ws||(ws=1,t=Gf,e=Gf.exports,r=vi(),n=e&&!e.nodeType&&e,o=n&&t&&!t.nodeType&&t,i=o&&o.exports===n&&r.process,a=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(t){}}(),t.exports=a),Gf.exports;var t,e,r,n,o,i,a}(),n=r&&r.isTypedArray,o=n?e(n):t;return xs=o}function Jf(){if(js)return Ss;js=1;var t=Hl?zl:(Hl=1,zl=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}),e=ns(),r=yi(),n=vs(),o=ms(),i=Zf(),a=Object.prototype.hasOwnProperty;return Ss=function(c,u){var l=r(c),s=!l&&e(c),f=!l&&!s&&n(c),p=!l&&!s&&!f&&i(c),d=l||s||f||p,h=d?t(c.length,String):[],y=h.length;for(var v in c)!u&&!a.call(c,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||o(v,y))||h.push(v);return h}}function Qf(){if(ks)return Ms;return ks=1,Ms=function(t,e){return function(r){return t(e(r))}}}function tp(){if(Ts)return _s;Ts=1;var t=function(){if(As)return Ps;As=1;var t=Object.prototype;return Ps=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}}(),e=function(){if(Cs)return Es;Cs=1;var t=Qf()(Object.keys,Object);return Es=t}(),r=Object.prototype.hasOwnProperty;return _s=function(n){if(!t(n))return e(n);var o=[];for(var i in Object(n))r.call(n,i)&&"constructor"!=i&&o.push(i);return o},_s}function ep(){if(Is)return Ds;Is=1;var t=ji(),e=gs();return Ds=function(r){return null!=r&&e(r.length)&&!t(r)}}function rp(){if(Ls)return Ns;Ls=1;var t=Jf(),e=tp(),r=ep();return Ns=function(n){return r(n)?t(n):e(n)},Ns}function np(){if(Rs)return Bs;Rs=1;var t=function(){if(Dl)return Tl;Dl=1;var t=es(),e=yi();return Tl=function(r,n,o){var i=n(r);return e(r)?i:t(i,o(r))},Tl}(),e=rs(),r=rp();return Bs=function(n){return t(n,r,e)},Bs}function op(){if(qs)return Ws;qs=1;var t=Mi()(mi(),"Set");return Ws=t}function ip(){if(Gs)return Ks;Gs=1;var t=function(){if(Fs)return Hs;Fs=1;var t=Mi()(mi(),"DataView");return Hs=t}(),e=Di(),r=function(){if(Us)return Vs;Us=1;var t=Mi()(mi(),"Promise");return Vs=t}(),n=op(),o=function(){if(Xs)return Ys;Xs=1;var t=Mi()(mi(),"WeakMap");return Ys=t}(),i=bi(),a=Ai(),c="[object Map]",u="[object Promise]",l="[object Set]",s="[object WeakMap]",f="[object DataView]",p=a(t),d=a(e),h=a(r),y=a(n),v=a(o),m=i;return(t&&m(new t(new ArrayBuffer(1)))!=f||e&&m(new e)!=c||r&&m(r.resolve())!=u||n&&m(new n)!=l||o&&m(new o)!=s)&&(m=function(t){var e=i(t),r="[object Object]"==e?t.constructor:void 0,n=r?a(r):"";if(n)switch(n){case p:return f;case d:return c;case h:return u;case y:return l;case v:return s}return e}),Ks=m}function ap(){if(Js)return Zs;Js=1;var t=Xl(),e=Jl(),r=ts(),n=function(){if(zs)return $s;zs=1;var t=np(),e=Object.prototype.hasOwnProperty;return $s=function(r,n,o,i,a,c){var u=1&o,l=t(r),s=l.length;if(s!=t(n).length&&!u)return!1;for(var f=s;f--;){var p=l[f];if(!(u?p in n:e.call(n,p)))return!1}var d=c.get(r),h=c.get(n);if(d&&h)return d==n&&h==r;var y=!0;c.set(r,n),c.set(n,r);for(var v=u;++f<s;){var m=r[p=l[f]],g=n[p];if(i)var b=u?i(g,m,p,n,r,c):i(m,g,p,r,n,c);if(!(void 0===b?m===g||a(m,g,o,i,c):b)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var w=r.constructor,x=n.constructor;w==x||!("constructor"in r)||!("constructor"in n)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(y=!1)}return c.delete(r),c.delete(n),y},$s}(),o=ip(),i=yi(),a=vs(),c=Zf(),u="[object Arguments]",l="[object Array]",s="[object Object]",f=Object.prototype.hasOwnProperty;return Zs=function(p,d,h,y,v,m){var g=i(p),b=i(d),w=g?l:o(p),x=b?l:o(d),O=(w=w==u?s:w)==s,S=(x=x==u?s:x)==s,j=w==x;if(j&&a(p)){if(!a(d))return!1;g=!0,O=!1}if(j&&!O)return m||(m=new t),g||c(p)?e(p,d,h,y,v,m):r(p,d,w,h,y,v,m);if(!(1&h)){var P=O&&f.call(p,"__wrapped__"),A=S&&f.call(d,"__wrapped__");if(P||A){var M=P?p.value():p,k=A?d.value():d;return m||(m=new t),v(M,k,h,y,m)}}return!!j&&(m||(m=new t),n(p,d,h,y,v,m))},Zs}function cp(){if(tf)return Qs;tf=1;var t=ap(),e=wi();return Qs=function r(n,o,i,a,c){return n===o||(null==n||null==o||!e(n)&&!e(o)?n!=n&&o!=o:t(n,o,i,a,r,c))},Qs}function up(){if(of)return nf;of=1;var t=Si();return nf=function(e){return e==e&&!t(e)}}function lp(){if(lf)return uf;return lf=1,uf=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}},uf}function sp(){if(ff)return sf;ff=1;var t=function(){if(rf)return ef;rf=1;var t=Xl(),e=cp();return ef=function(r,n,o,i){var a=o.length,c=a,u=!i;if(null==r)return!c;for(r=Object(r);a--;){var l=o[a];if(u&&l[2]?l[1]!==r[l[0]]:!(l[0]in r))return!1}for(;++a<c;){var s=(l=o[a])[0],f=r[s],p=l[1];if(u&&l[2]){if(void 0===f&&!(s in r))return!1}else{var d=new t;if(i)var h=i(f,p,s,r,n,d);if(!(void 0===h?e(p,f,3,i,d):h))return!1}}return!0},ef}(),e=function(){if(cf)return af;cf=1;var t=up(),e=rp();return af=function(r){for(var n=e(r),o=n.length;o--;){var i=n[o],a=r[i];n[o]=[i,a,t(a)]}return n},af}(),r=lp();return sf=function(n){var o=e(n);return 1==o.length&&o[0][2]?r(o[0][0],o[0][1]):function(e){return e===n||t(e,n,o)}},sf}function fp(){if(mf)return vf;mf=1;var t=(df||(df=1,pf=function(t,e){return null!=t&&e in Object(t)}),pf),e=function(){if(yf)return hf;yf=1;var t=zi(),e=ns(),r=yi(),n=ms(),o=gs(),i=Hi();return hf=function(a,c,u){for(var l=-1,s=(c=t(c,a)).length,f=!1;++l<s;){var p=i(c[l]);if(!(f=null!=a&&u(a,p)))break;a=a[p]}return f||++l!=s?f:!!(s=null==a?0:a.length)&&o(s)&&n(p,s)&&(r(a)||e(a))},hf}();return vf=function(r,n){return null!=r&&e(r,n,t)},vf}function pp(){if(xf)return wf;return xf=1,wf=function(t){return t}}function dp(){if(Mf)return Af;Mf=1;var t=(Sf||(Sf=1,Of=function(t){return function(e){return null==e?void 0:e[t]}}),Of),e=function(){if(Pf)return jf;Pf=1;var t=Fi();return jf=function(e){return function(r){return t(r,e)}},jf}(),r=Oi(),n=Hi();return Af=function(o){return r(o)?t(n(o)):e(o)}}function hp(){if(Ef)return kf;Ef=1;var t=sp(),e=function(){if(bf)return gf;bf=1;var t=cp(),e=Vi(),r=fp(),n=Oi(),o=up(),i=lp(),a=Hi();return gf=function(c,u){return n(c)&&o(u)?i(a(c),u):function(n){var o=e(n,c);return void 0===o&&o===u?r(n,c):t(u,o,3)}},gf}(),r=pp(),n=yi(),o=dp();return kf=function(i){return"function"==typeof i?i:null==i?r:"object"==typeof i?n(i)?e(i[0],i[1]):t(i):o(i)}}function yp(){if(_f)return Cf;return _f=1,Cf=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return-1},Cf}function vp(){if(Bf)return Lf;Bf=1;var t=yp(),e=Df?Tf:(Df=1,Tf=function(t){return t!=t}),r=(Nf||(Nf=1,If=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}),If);return Lf=function(n,o,i){return o==o?r(n,o,i):t(n,e,i)},Lf}function mp(){if(Wf)return Uf;Wf=1;var t=op(),e=Vf?Ff:(Vf=1,Ff=function(){}),r=Ql(),n=t&&1/r(new t([,-0]))[1]==1/0?function(e){return new t(e)}:e;return Uf=n}function gp(){if(Yf)return qf;Yf=1;var t=Kl(),e=function(){if($f)return Rf;$f=1;var t=vp();return Rf=function(e,r){return!(null==e||!e.length)&&t(e,r,0)>-1},Rf}(),r=(Hf||(Hf=1,zf=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}),zf),n=Zl(),o=mp(),i=Ql();return qf=function(a,c,u){var l=-1,s=e,f=a.length,p=!0,d=[],h=d;if(u)p=!1,s=r;else if(f>=200){var y=c?null:o(a);if(y)return i(y);p=!1,s=n,h=new t}else h=c?[]:d;t:for(;++l<f;){var v=a[l],m=c?c(v):v;if(v=u||0!==v?v:0,p&&m==m){for(var g=h.length;g--;)if(h[g]===m)continue t;c&&h.push(m),d.push(v)}else s(h,m,u)||(h!==d&&h.push(m),d.push(v))}return d},qf}Gf.exports;var bp=function(){if(Kf)return Xf;Kf=1;var t=hp(),e=gp();return Xf=function(r,n){return r&&r.length?e(r,t(n,2)):[]},Xf}(),wp=Ze(bp);function xp(t,e,r){return!0===e?wp(t,r):Qi(e)?wp(t,e):t}function Op(t){return Op="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},Op(t)}var Sp=["ref"];function jp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Pp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?jp(Object(r),!0).forEach((function(e){_p(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ap(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,Tp(n.key),n)}}function Mp(t,e,r){return e=Ep(e),function(t,e){if(e&&("object"===Op(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,kp()?Reflect.construct(e,r||[],Ep(t).constructor):e.apply(t,r))}function kp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(kp=function(){return!!t})()}function Ep(t){return Ep=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ep(t)}function Cp(t,e){return Cp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Cp(t,e)}function _p(t,e,r){return(e=Tp(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Tp(t){var e=function(t,e){if("object"!=Op(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Op(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Op(e)?e:e+""}function Dp(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Ip(t){return t.value}var Np,Lp,Bp,Rp,$p,zp,Hp,Fp,Vp,Up,Wp,qp,Yp,Xp,Kp,Gp,Zp,Jp,Qp,td,ed,rd,nd,od,id,ad,cd,ud,ld,sd,fd,pd,dd,hd,yd,vd,md,gd,bd,wd,xd,Od,Sd,jd,Pd=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),o=0;o<r;o++)n[o]=arguments[o];return _p(t=Mp(this,e,[].concat(n)),"lastBoundingBox",{width:-1,height:-1}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Cp(t,e)}(e,et),r=e,o=[{key:"getWithHeight",value:function(t,e){var r=Pp(Pp({},this.defaultProps),t.props).layout;return"vertical"===r&&ma(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Pp({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,o=n.layout,i=n.align,a=n.verticalAlign,c=n.margin,u=n.chartWidth,l=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===i&&"vertical"===o?{left:((u||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right: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:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Pp(Pp({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,o=e.height,i=e.wrapperStyle,a=e.payloadUniqBy,c=e.payload,u=Pp(Pp({position:"absolute",width:n||"auto",height:o||"auto"},this.getDefaultPosition(i)),i);return J.createElement("div",{className:"recharts-legend-wrapper",style:u,ref:function(e){t.wrapperNode=e}},function(t,e){if(J.isValidElement(t))return J.cloneElement(t,e);if("function"==typeof t)return J.createElement(t,e);e.ref;var r=Dp(e,Sp);return J.createElement(Yl,r)}(r,Pp(Pp({},this.props),{},{payload:xp(c,a,Ip)})))}}])&&Ap(r.prototype,n),o&&Ap(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();function Ad(){if(Rp)return Bp;Rp=1;var t=es(),e=function(){if(Lp)return Np;Lp=1;var t=gi(),e=ns(),r=yi(),n=t?t.isConcatSpreadable:void 0;return Np=function(t){return r(t)||e(t)||!!(n&&t&&t[n])}}();return Bp=function r(n,o,i,a,c){var u=-1,l=n.length;for(i||(i=e),c||(c=[]);++u<l;){var s=n[u];o>0&&i(s)?o>1?r(s,o-1,i,a,c):t(c,s):a||(c[c.length]=s)}return c},Bp}function Md(){if(Fp)return Hp;Fp=1;var t=(zp||(zp=1,$p=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),c=a.length;c--;){var u=a[t?c:++o];if(!1===r(i[u],u,i))break}return e}}),$p),e=t();return Hp=e}function kd(){if(Up)return Vp;Up=1;var t=Md(),e=rp();return Vp=function(r,n){return r&&t(r,n,e)},Vp}function Ed(){if(Xp)return Yp;Xp=1;var t=kd(),e=function(){if(qp)return Wp;qp=1;var t=ep();return Wp=function(e,r){return function(n,o){if(null==n)return n;if(!t(n))return e(n,o);for(var i=n.length,a=r?i:-1,c=Object(n);(r?a--:++a<i)&&!1!==o(c[a],a,c););return n}}}()(t);return Yp=e}function Cd(){if(Gp)return Kp;Gp=1;var t=Ed(),e=ep();return Kp=function(r,n){var o=-1,i=e(r)?Array(r.length):[];return t(r,(function(t,e,r){i[++o]=n(t,e,r)})),i}}function _d(){if(rd)return ed;rd=1;var t=function(){if(td)return Qp;td=1;var t=xi();return Qp=function(e,r){if(e!==r){var n=void 0!==e,o=null===e,i=e==e,a=t(e),c=void 0!==r,u=null===r,l=r==r,s=t(r);if(!u&&!s&&!a&&e>r||a&&c&&l&&!u&&!s||o&&c&&l||!n&&l||!i)return 1;if(!o&&!a&&!s&&e<r||s&&n&&i&&!o&&!a||u&&n&&i||!c&&i||!l)return-1}return 0}}();return ed=function(e,r,n){for(var o=-1,i=e.criteria,a=r.criteria,c=i.length,u=n.length;++o<c;){var l=t(i[o],a[o]);if(l)return o>=u?l:l*("desc"==n[o]?-1:1)}return e.index-r.index},ed}function Td(){if(od)return nd;od=1;var t=Ri(),e=Fi(),r=hp(),n=Cd(),o=(Jp||(Jp=1,Zp=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}),Zp),i=bs(),a=_d(),c=pp(),u=yi();return nd=function(l,s,f){s=s.length?t(s,(function(t){return u(t)?function(r){return e(r,1===t.length?t[0]:t)}:t})):[c];var p=-1;s=t(s,i(r));var d=n(l,(function(e,r,n){return{criteria:t(s,(function(t){return t(e)})),index:++p,value:e}}));return o(d,(function(t,e){return a(t,e,f)}))},nd}function Dd(){if(ud)return cd;ud=1;var t=ad?id:(ad=1,id=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)}),e=Math.max;return cd=function(r,n,o){return n=e(void 0===n?r.length-1:n,0),function(){for(var i=arguments,a=-1,c=e(i.length-n,0),u=Array(c);++a<c;)u[a]=i[n+a];a=-1;for(var l=Array(n+1);++a<n;)l[a]=i[a];return l[n]=o(u),t(r,this,l)}},cd}function Id(){if(pd)return fd;pd=1;var t=Mi(),e=function(){try{var e=t(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();return fd=e}function Nd(){if(hd)return dd;hd=1;var t=sd?ld:(sd=1,ld=function(t){return function(){return t}}),e=Id(),r=pp(),n=e?function(r,n){return e(r,"toString",{configurable:!0,enumerable:!1,value:t(n),writable:!0})}:r;return dd=n}function Ld(){if(gd)return md;gd=1;var t=Nd(),e=function(){if(vd)return yd;vd=1;var t=Date.now;return yd=function(e){var r=0,n=0;return function(){var o=t(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}},yd}(),r=e(t);return md=r}function Bd(){if(Od)return xd;Od=1;var t=Ci(),e=ep(),r=ms(),n=Si();return xd=function(o,i,a){if(!n(a))return!1;var c=typeof i;return!!("number"==c?e(a)&&r(i,a.length):"string"==c&&i in a)&&t(a[i],o)},xd}_p(Pd,"displayName","Legend"),_p(Pd,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Rd=function(){if(jd)return Sd;jd=1;var t=Ad(),e=Td(),r=function(){if(wd)return bd;wd=1;var t=pp(),e=Dd(),r=Ld();return bd=function(n,o){return r(e(n,o,t),n+"")}}(),n=Bd(),o=r((function(r,o){if(null==r)return[];var i=o.length;return i>1&&n(r,o[0],o[1])?o=[]:i>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),e(r,t(o,1),[])}));return Sd=o}(),$d=Ze(Rd);function zd(t){return zd="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},zd(t)}function Hd(){return Hd=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},Hd.apply(this,arguments)}function Fd(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,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Vd(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 Vd(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 Vd(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 Ud(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 Wd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ud(Object(r),!0).forEach((function(e){qd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ud(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qd(t,e,r){return e=function(t){var e=function(t,e){if("object"!=zd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=zd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==zd(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Yd(t){return Array.isArray(t)&&ga(t[0])&&ga(t[1])?t.join(" ~ "):t}var Xd=function(t){var e=t.separator,r=void 0===e?" : ":e,n=t.contentStyle,o=void 0===n?{}:n,i=t.itemStyle,a=void 0===i?{}:i,c=t.labelStyle,u=void 0===c?{}:c,l=t.payload,s=t.formatter,f=t.itemSorter,p=t.wrapperClassName,d=t.labelClassName,h=t.label,y=t.labelFormatter,v=t.accessibilityLayer,m=void 0!==v&&v,g=Wd({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),b=Wd({margin:0},u),w=!Ki(h),x=w?h:"",O=mn("recharts-default-tooltip",p),S=mn("recharts-tooltip-label",d);w&&y&&null!=l&&(x=y(h,l));var j=m?{role:"status","aria-live":"assertive"}:{};return J.createElement("div",Hd({className:O,style:g},j),J.createElement("p",{className:S,style:b},J.isValidElement(x)?x:"".concat(x)),function(){if(l&&l.length){var t=(f?$d(l,f):l).map((function(t,e){if("none"===t.type)return null;var n=Wd({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},a),o=t.formatter||s||Yd,i=t.value,c=t.name,u=i,f=c;if(o&&null!=u&&null!=f){var p=o(i,c,t,e,l);if(Array.isArray(p)){var d=Fd(p,2);u=d[0],f=d[1]}else u=p}return J.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},ga(f)?J.createElement("span",{className:"recharts-tooltip-item-name"},f):null,ga(f)?J.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,J.createElement("span",{className:"recharts-tooltip-item-value"},u),J.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return J.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function Kd(t){return Kd="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},Kd(t)}function Gd(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Kd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Kd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Kd(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Zd="recharts-tooltip-wrapper",Jd={visibility:"hidden"};function Qd(t){var e=t.coordinate,r=t.translateX,n=t.translateY;return mn(Zd,Gd(Gd(Gd(Gd({},"".concat(Zd,"-right"),ma(r)&&e&&ma(e.x)&&r>=e.x),"".concat(Zd,"-left"),ma(r)&&e&&ma(e.x)&&r<e.x),"".concat(Zd,"-bottom"),ma(n)&&e&&ma(e.y)&&n>=e.y),"".concat(Zd,"-top"),ma(n)&&e&&ma(e.y)&&n<e.y))}function th(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,o=t.offsetTopLeft,i=t.position,a=t.reverseDirection,c=t.tooltipDimension,u=t.viewBox,l=t.viewBoxDimension;if(i&&ma(i[n]))return i[n];var s=r[n]-c-o,f=r[n]+o;return e[n]?a[n]?s:f:a[n]?s<u[n]?Math.max(f,u[n]):Math.max(s,u[n]):f+c>u[n]+l?Math.max(s,u[n]):Math.max(f,u[n])}function eh(t){return eh="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},eh(t)}function rh(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 nh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rh(Object(r),!0).forEach((function(e){lh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function oh(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,sh(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function ih(t,e,r){return e=ch(e),function(t,e){if(e&&("object"===eh(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,ah()?Reflect.construct(e,r||[],ch(t).constructor):e.apply(t,r))}function ah(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ah=function(){return!!t})()}function ch(t){return ch=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ch(t)}function uh(t,e){return uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},uh(t,e)}function lh(t,e,r){return(e=sh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sh(t){var e=function(t,e){if("object"!=eh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eh(e)?e:e+""}var fh=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),o=0;o<r;o++)n[o]=arguments[o];return lh(t=ih(this,e,[].concat(n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),lh(t,"handleKeyDown",(function(e){var r,n,o,i;"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!==(o=null===(i=t.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&uh(t,e)}(e,et),oh(e,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(t=this.props.coordinate)||void 0===t?void 0:t.x)===this.state.dismissedAtCoordinate.x&&(null===(e=this.props.coordinate)||void 0===e?void 0:e.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,o=e.animationDuration,i=e.animationEasing,a=e.children,c=e.coordinate,u=e.hasPayload,l=e.isAnimationActive,s=e.offset,f=e.position,p=e.reverseDirection,d=e.useTranslate3d,h=e.viewBox,y=e.wrapperStyle,v=function(t){var e,r,n=t.allowEscapeViewBox,o=t.coordinate,i=t.offsetTopLeft,a=t.position,c=t.reverseDirection,u=t.tooltipBox,l=t.useTranslate3d,s=t.viewBox;return{cssProperties:u.height>0&&u.width>0&&o?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=th({allowEscapeViewBox:n,coordinate:o,key:"x",offsetTopLeft:i,position:a,reverseDirection:c,tooltipDimension:u.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=th({allowEscapeViewBox:n,coordinate:o,key:"y",offsetTopLeft:i,position:a,reverseDirection:c,tooltipDimension:u.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:l}):Jd,cssClasses:Qd({translateX:e,translateY:r,coordinate:o})}}({allowEscapeViewBox:n,coordinate:c,offsetTopLeft:s,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:d,viewBox:h}),m=v.cssClasses,g=v.cssProperties,b=nh(nh({transition:l&&r?"transform ".concat(o,"ms ").concat(i):void 0},g),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&u?"visible":"hidden",position:"absolute",top:0,left:0},y);return J.createElement("div",{tabIndex:-1,className:m,style:b,ref:function(e){t.wrapperNode=e}},a)}}])}(),ph={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return ph[t]},set:function(t,e){if("string"==typeof t)ph[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach((function(e){ph[e]=t[e]}))}}};function dh(t){return dh="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},dh(t)}function hh(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 yh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hh(Object(r),!0).forEach((function(e){xh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function vh(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Oh(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function mh(t,e,r){return e=bh(e),function(t,e){if(e&&("object"===dh(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,gh()?Reflect.construct(e,r||[],bh(t).constructor):e.apply(t,r))}function gh(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(gh=function(){return!!t})()}function bh(t){return bh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},bh(t)}function wh(t,e){return wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},wh(t,e)}function xh(t,e,r){return(e=Oh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Oh(t){var e=function(t,e){if("object"!=dh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dh(e)?e:e+""}function Sh(t){return t.dataKey}var jh,Ph,Ah,Mh,kh,Eh,Ch,_h,Th,Dh,Ih,Nh,Lh=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),mh(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&wh(t,e)}(e,et),vh(e,[{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,o=e.animationDuration,i=e.animationEasing,a=e.content,c=e.coordinate,u=e.filterNull,l=e.isAnimationActive,s=e.offset,f=e.payload,p=e.payloadUniqBy,d=e.position,h=e.reverseDirection,y=e.useTranslate3d,v=e.viewBox,m=e.wrapperStyle,g=null!=f?f:[];u&&g.length&&(g=xp(f.filter((function(e){return null!=e.value&&(!0!==e.hide||t.props.includeHidden)})),p,Sh));var b=g.length>0;return J.createElement(fh,{allowEscapeViewBox:n,animationDuration:o,animationEasing:i,isAnimationActive:l,active:r,coordinate:c,hasPayload:b,offset:s,position:d,reverseDirection:h,useTranslate3d:y,viewBox:v,wrapperStyle:m},function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):"function"==typeof t?J.createElement(t,e):J.createElement(Xd,e)}(a,yh(yh({},this.props),{},{payload:g})))}}])}();function Bh(){if(Eh)return kh;Eh=1;var t=function(){if(Mh)return Ah;Mh=1;var t=/\s/;return Ah=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r},Ah}(),e=/^\s+/;return kh=function(r){return r?r.slice(0,t(r)+1).replace(e,""):r},kh}function Rh(){if(_h)return Ch;_h=1;var t=Bh(),e=Si(),r=xi(),n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt;return Ch=function(c){if("number"==typeof c)return c;if(r(c))return NaN;if(e(c)){var u="function"==typeof c.valueOf?c.valueOf():c;c=e(u)?u+"":u}if("string"!=typeof c)return 0===c?c:+c;c=t(c);var l=o.test(c);return l||i.test(c)?a(c.slice(2),l?2:8):n.test(c)?NaN:+c}}function $h(){if(Dh)return Th;Dh=1;var t=Si(),e=function(){if(Ph)return jh;Ph=1;var t=mi();return jh=function(){return t.Date.now()}}(),r=Rh(),n=Math.max,o=Math.min;return Th=function(i,a,c){var u,l,s,f,p,d,h=0,y=!1,v=!1,m=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function g(t){var e=u,r=l;return u=l=void 0,h=t,f=i.apply(r,e)}function b(t){var e=t-d;return void 0===d||e>=a||e<0||v&&t-h>=s}function w(){var t=e();if(b(t))return x(t);p=setTimeout(w,function(t){var e=a-(t-d);return v?o(e,s-(t-h)):e}(t))}function x(t){return p=void 0,m&&u?g(t):(u=l=void 0,f)}function O(){var t=e(),r=b(t);if(u=arguments,l=this,d=t,r){if(void 0===p)return function(t){return h=t,p=setTimeout(w,a),y?g(t):f}(d);if(v)return clearTimeout(p),p=setTimeout(w,a),g(d)}return void 0===p&&(p=setTimeout(w,a)),f}return a=r(a)||0,t(c)&&(y=!!c.leading,s=(v="maxWait"in c)?n(r(c.maxWait)||0,a):s,m="trailing"in c?!!c.trailing:m),O.cancel=function(){void 0!==p&&clearTimeout(p),h=0,u=d=l=p=void 0},O.flush=function(){return void 0===p?f:x(e())},O},Th}xh(Lh,"displayName","Tooltip"),xh(Lh,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!ph.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 zh=function(){if(Nh)return Ih;Nh=1;var t=$h(),e=Si();return Ih=function(r,n,o){var i=!0,a=!0;if("function"!=typeof r)throw new TypeError("Expected a function");return e(o)&&(i="leading"in o?!!o.leading:i,a="trailing"in o?!!o.trailing:a),t(r,n,{leading:i,maxWait:n,trailing:a})}}(),Hh=Ze(zh);function Fh(t){return Fh="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},Fh(t)}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 Uh(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){Wh(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 Wh(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Fh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Fh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Fh(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qh(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,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Yh(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 Yh(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 Yh(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 Xh=rt((function(t,e){var r=t.aspect,n=t.initialDimension,o=void 0===n?{width:-1,height:-1}:n,i=t.width,a=void 0===i?"100%":i,c=t.height,u=void 0===c?"100%":c,l=t.minWidth,s=void 0===l?0:l,f=t.minHeight,p=t.maxHeight,d=t.children,h=t.debounce,y=void 0===h?0:h,v=t.id,m=t.className,g=t.onResize,b=t.style,w=void 0===b?{}:b,x=nt(null),O=nt();O.current=g,ot(e,(function(){return Object.defineProperty(x.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),x.current},configurable:!0})}));var S=qh(it({containerWidth:o.width,containerHeight:o.height}),2),j=S[0],P=S[1],A=at((function(t,e){P((function(r){var n=Math.round(t),o=Math.round(e);return r.containerWidth===n&&r.containerHeight===o?r:{containerWidth:n,containerHeight:o}}))}),[]);ct((function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,o=r.height;A(n,o),null===(e=O.current)||void 0===e||e.call(O,n,o)};y>0&&(t=Hh(t,y,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=x.current.getBoundingClientRect(),n=r.width,o=r.height;return A(n,o),e.observe(x.current),function(){e.disconnect()}}),[A,y]);var M=ut((function(){var t=j.containerWidth,e=j.containerHeight;if(t<0||e<0)return null;Oc(va(a)||va(u),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,u),Oc(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=va(a)?t:a,o=va(u)?e:u;r&&r>0&&(n?o=n/r:o&&(n=o*r),p&&o>p&&(o=p)),Oc(n>0||o>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,o,a,u,s,f,r);var i=!Array.isArray(d)&&Ra(d.type).endsWith("Chart");return J.Children.map(d,(function(t){return sa.isElement(t)?lt(t,Uh({width:n,height:o},i?{style:Uh({height:"100%",width:"100%",maxHeight:o,maxWidth:n},t.props.style)}:{})):t}))}),[r,d,u,p,f,s,j,a]);return J.createElement("div",{id:v?"".concat(v):void 0,className:mn("recharts-responsive-container",m),style:Uh(Uh({},w),{},{width:a,height:u,minWidth:s,minHeight:f,maxHeight:p}),ref:x},M)})),Kh=function(t){return null};function Gh(t){return Gh="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},Gh(t)}function Zh(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 Jh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Zh(Object(r),!0).forEach((function(e){Qh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Zh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Qh(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Gh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Gh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Gh(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Kh.displayName="Cell";var ty={widthCache:{},cacheCount:0},ey={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},ry="recharts_measurement_span";var ny=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||ph.isSsr)return{width:0,height:0};var r,n=(r=Jh({},e),Object.keys(r).forEach((function(t){r[t]||delete r[t]})),r),o=JSON.stringify({text:t,copyStyle:n});if(ty.widthCache[o])return ty.widthCache[o];try{var i=document.getElementById(ry);i||((i=document.createElement("span")).setAttribute("id",ry),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var a=Jh(Jh({},ey),n);Object.assign(i.style,a),i.textContent="".concat(t);var c=i.getBoundingClientRect(),u={width:c.width,height:c.height};return ty.widthCache[o]=u,++ty.cacheCount>2e3&&(ty.cacheCount=0,ty.widthCache={}),u}catch(t){return{width:0,height:0}}};function oy(t){return oy="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},oy(t)}function iy(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ay(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 ay(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 ay(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 cy(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,uy(n.key),n)}}function uy(t){var e=function(t,e){if("object"!=oy(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=oy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==oy(e)?e:e+""}var ly=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,sy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,fy=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,py=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,dy={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},hy=Object.keys(dy),yy="NaN";var vy=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||fy.test(r)||(this.num=NaN,this.unit=""),hy.includes(r)&&(this.num=function(t,e){return t*dy[e]}(e,r),this.unit="px")}return e=t,n=[{key:"parse",value:function(e){var r,n=iy(null!==(r=py.exec(e))&&void 0!==r?r:[],3),o=n[1],i=n[2];return new t(parseFloat(o),null!=i?i:"")}}],(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)}}])&&cy(e.prototype,r),n&&cy(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}();function my(t){if(t.includes(yy))return yy;for(var e=t;e.includes("*")||e.includes("/");){var r,n=iy(null!==(r=ly.exec(e))&&void 0!==r?r:[],4),o=n[1],i=n[2],a=n[3],c=vy.parse(null!=o?o:""),u=vy.parse(null!=a?a:""),l="*"===i?c.multiply(u):c.divide(u);if(l.isNaN())return yy;e=e.replace(ly,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=iy(null!==(s=sy.exec(e))&&void 0!==s?s:[],4),p=f[1],d=f[2],h=f[3],y=vy.parse(null!=p?p:""),v=vy.parse(null!=h?h:""),m="+"===d?y.add(v):y.subtract(v);if(m.isNaN())return yy;e=e.replace(sy,m.toString())}return e}var gy=/\(([^()]*)\)/;function by(t){var e=t.replace(/\s+/g,"");return e=function(t){for(var e=t;e.includes("(");){var r=iy(gy.exec(e),2)[1];e=e.replace(gy,my(r))}return e}(e),e=my(e)}function wy(t){var e=function(t){try{return by(t)}catch(t){return yy}}(t.slice(5,-1));return e===yy?"":e}var xy=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],Oy=["dx","dy","angle","className","breakAll"];function Sy(){return Sy=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},Sy.apply(this,arguments)}function jy(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Py(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,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ay(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 Ay(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 Ay(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 My=/[ \f\n\r\t\v\u2028\u2029]+/,ky=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var o=[];return Ki(e)||(o=r?e.toString().split(""):e.toString().split(My)),{wordsWithComputedWidth:o.map((function(t){return{word:t,width:ny(t,n).width}})),spaceWidth:r?0:ny(" ",n).width}}catch(t){return null}},Ey=function(t){return[{words:Ki(t)?[]:t.toString().split(My)}]},Cy=function(t){var e=t.width,r=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||r)&&!ph.isSsr){var c=ky({breakAll:i,children:n,style:o});return c?function(t,e,r,n,o){var i=t.maxLines,a=t.children,c=t.style,u=t.breakAll,l=ma(i),s=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(t,e){var i=e.word,a=e.width,c=t[t.length-1];if(c&&(null==n||o||c.width+a+r<Number(n)))c.words.push(i),c.width+=a+r;else{var u={words:[i],width:a};t.push(u)}return t}),[])},p=f(e);if(!l)return p;for(var d,h=function(t){var e=s.slice(0,t),r=ky({breakAll:u,style:c,children:e+"…"}).wordsWithComputedWidth,o=f(r),a=o.length>i||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(o).width>Number(n);return[a,o]},y=0,v=s.length-1,m=0;y<=v&&m<=s.length-1;){var g=Math.floor((y+v)/2),b=Py(h(g-1),2),w=b[0],x=b[1],O=Py(h(g),1)[0];if(w||O||(y=g+1),w&&O&&(v=g-1),!w&&O){d=x;break}m++}return d||p}({breakAll:i,children:n,maxLines:a,style:o},c.wordsWithComputedWidth,c.spaceWidth,e,r):Ey(n)}return Ey(n)},_y="#808080",Ty=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,o=void 0===n?0:n,i=t.lineHeight,a=void 0===i?"1em":i,c=t.capHeight,u=void 0===c?"0.71em":c,l=t.scaleToFit,s=void 0!==l&&l,f=t.textAnchor,p=void 0===f?"start":f,d=t.verticalAnchor,h=void 0===d?"end":d,y=t.fill,v=void 0===y?_y:y,m=jy(t,xy),g=ut((function(){return Cy({breakAll:m.breakAll,children:m.children,maxLines:m.maxLines,scaleToFit:s,style:m.style,width:m.width})}),[m.breakAll,m.children,m.maxLines,s,m.style,m.width]),b=m.dx,w=m.dy,x=m.angle,O=m.className,S=m.breakAll,j=jy(m,Oy);if(!ga(r)||!ga(o))return null;var P,A=r+(ma(b)?b:0),M=o+(ma(w)?w:0);switch(h){case"start":P=wy("calc(".concat(u,")"));break;case"middle":P=wy("calc(".concat((g.length-1)/2," * -").concat(a," + (").concat(u," / 2))"));break;default:P=wy("calc(".concat(g.length-1," * -").concat(a,")"))}var k=[];if(s){var E=g[0].width,C=m.width;k.push("scale(".concat((ma(C)?C/E:1)/E,")"))}return x&&k.push("rotate(".concat(x,", ").concat(A,", ").concat(M,")")),k.length&&(j.transform=k.join(" ")),J.createElement("text",Sy({},Ya(j,!0),{x:A,y:M,className:mn("recharts-text",O),textAnchor:p,fill:v.includes("url")?_y:v}),g.map((function(t,e){var r=t.words.join(S?"":" ");return J.createElement("tspan",{x:A,dy:0===e?P:a,key:"".concat(r,"-").concat(e)},r)})))};function Dy(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Iy(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ny(t){let e,r,n;function o(t,n,o=0,i=t.length){if(o<i){if(0!==e(n,n))return i;do{const e=o+i>>>1;r(t[e],n)<0?o=e+1:i=e}while(o<i)}return o}return 2!==t.length?(e=Dy,r=(e,r)=>Dy(t(e),r),n=(e,r)=>t(e)-r):(e=t===Dy||t===Iy?t:Ly,r=t,n=t),{left:o,center:function(t,e,r=0,i=t.length){const a=o(t,e,r,i-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,o=0,i=t.length){if(o<i){if(0!==e(n,n))return i;do{const e=o+i>>>1;r(t[e],n)<=0?o=e+1:i=e}while(o<i)}return o}}}function Ly(){return 0}function By(t){return null===t?NaN:+t}const Ry=Ny(Dy).right;Ny(By).center;class $y extends Map{constructor(t,e=Hy){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(zy(this,t))}has(t){return super.has(zy(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 zy({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function Hy(t){return null!==t&&"object"==typeof t?t.valueOf():t}function Fy(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}const Vy=Math.sqrt(50),Uy=Math.sqrt(10),Wy=Math.sqrt(2);function qy(t,e,r){const n=(e-t)/Math.max(0,r),o=Math.floor(Math.log10(n)),i=n/Math.pow(10,o),a=i>=Vy?10:i>=Uy?5:i>=Wy?2:1;let c,u,l;return o<0?(l=Math.pow(10,-o)/a,c=Math.round(t*l),u=Math.round(e*l),c/l<t&&++c,u/l>e&&--u,l=-l):(l=Math.pow(10,o)*a,c=Math.round(t/l),u=Math.round(e/l),c*l<t&&++c,u*l>e&&--u),u<c&&.5<=r&&r<2?qy(t,e,2*r):[c,u,l]}function Yy(t,e,r){if(!((r=+r)>0))return[];if((t=+t)===(e=+e))return[t];const n=e<t,[o,i,a]=n?qy(e,t,r):qy(t,e,r);if(!(i>=o))return[];const c=i-o+1,u=new Array(c);if(n)if(a<0)for(let t=0;t<c;++t)u[t]=(i-t)/-a;else for(let t=0;t<c;++t)u[t]=(i-t)*a;else if(a<0)for(let t=0;t<c;++t)u[t]=(o+t)/-a;else for(let t=0;t<c;++t)u[t]=(o+t)*a;return u}function Xy(t,e,r){return qy(t=+t,e=+e,r=+r)[2]}function Ky(t,e,r){r=+r;const n=(e=+e)<(t=+t),o=n?Xy(e,t,r):Xy(t,e,r);return(n?-1:1)*(o<0?1/-o:o)}function Gy(t,e){let r;for(const e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);return r}function Zy(t,e){let r;for(const e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);return r}function Jy(t,e,r=0,n=1/0,o){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(o=void 0===o?Fy:function(t=Dy){if(t===Dy)return Fy;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))}}(o);n>r;){if(n-r>600){const i=n-r+1,a=e-r+1,c=Math.log(i),u=.5*Math.exp(2*c/3),l=.5*Math.sqrt(c*u*(i-u)/i)*(a-i/2<0?-1:1);Jy(t,e,Math.max(r,Math.floor(e-a*u/i+l)),Math.min(n,Math.floor(e+(i-a)*u/i+l)),o)}const i=t[e];let a=r,c=n;for(Qy(t,r,e),o(t[n],i)>0&&Qy(t,r,n);a<c;){for(Qy(t,a,c),++a,--c;o(t[a],i)<0;)++a;for(;o(t[c],i)>0;)--c}0===o(t[r],i)?Qy(t,r,c):(++c,Qy(t,c,n)),c<=e&&(r=c+1),e<=c&&(n=c-1)}return t}function Qy(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function tv(t,e,r=By){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,o=(n-1)*e,i=Math.floor(o),a=+r(t[i],i,t);return a+(+r(t[i+1],i+1,t)-a)*(o-i)}}function ev(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function rv(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 nv=Symbol("implicit");function ov(){var t=new $y,e=[],r=[],n=nv;function o(o){let i=t.get(o);if(void 0===i){if(n!==nv)return n;t.set(o,i=e.push(o)-1)}return r[i%r.length]}return o.domain=function(r){if(!arguments.length)return e.slice();e=[],t=new $y;for(const n of r)t.has(n)||t.set(n,e.push(n)-1);return o},o.range=function(t){return arguments.length?(r=Array.from(t),o):r.slice()},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return ov(e,r).unknown(n)},ev.apply(o,arguments),o}function iv(){var t,e,r=ov().unknown(void 0),n=r.domain,o=r.range,i=0,a=1,c=!1,u=0,l=0,s=.5;function f(){var r=n().length,f=a<i,p=f?a:i,d=f?i:a;t=(d-p)/Math.max(1,r-u+2*l),c&&(t=Math.floor(t)),p+=(d-p-t*(r-u))*s,e=t*(1-u),c&&(p=Math.round(p),e=Math.round(e));var h=function(t,e,r){t=+t,e=+e,r=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+r;for(var n=-1,o=0|Math.max(0,Math.ceil((e-t)/r)),i=new Array(o);++n<o;)i[n]=t+n*r;return i}(r).map((function(e){return p+t*e}));return o(f?h.reverse():h)}return delete r.unknown,r.domain=function(t){return arguments.length?(n(t),f()):n()},r.range=function(t){return arguments.length?([i,a]=t,i=+i,a=+a,f()):[i,a]},r.rangeRound=function(t){return[i,a]=t,i=+i,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?(u=Math.min(1,l=+t),f()):u},r.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),f()):u},r.paddingOuter=function(t){return arguments.length?(l=+t,f()):l},r.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},r.copy=function(){return iv(n(),[i,a]).round(c).paddingInner(u).paddingOuter(l).align(s)},ev.apply(f(),arguments)}function av(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return av(e())},t}function cv(){return av(iv.apply(null,arguments).paddingInner(1))}function uv(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function lv(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function sv(){}var fv=.7,pv=1/fv,dv="\\s*([+-]?\\d+)\\s*",hv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",yv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",vv=/^#([0-9a-f]{3,8})$/,mv=new RegExp(`^rgb\\(${dv},${dv},${dv}\\)$`),gv=new RegExp(`^rgb\\(${yv},${yv},${yv}\\)$`),bv=new RegExp(`^rgba\\(${dv},${dv},${dv},${hv}\\)$`),wv=new RegExp(`^rgba\\(${yv},${yv},${yv},${hv}\\)$`),xv=new RegExp(`^hsl\\(${hv},${yv},${yv}\\)$`),Ov=new RegExp(`^hsla\\(${hv},${yv},${yv},${hv}\\)$`),Sv={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 jv(){return this.rgb().formatHex()}function Pv(){return this.rgb().formatRgb()}function Av(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=vv.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?Mv(e):3===r?new Cv(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?kv(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?kv(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=mv.exec(t))?new Cv(e[1],e[2],e[3],1):(e=gv.exec(t))?new Cv(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=bv.exec(t))?kv(e[1],e[2],e[3],e[4]):(e=wv.exec(t))?kv(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=xv.exec(t))?Lv(e[1],e[2]/100,e[3]/100,1):(e=Ov.exec(t))?Lv(e[1],e[2]/100,e[3]/100,e[4]):Sv.hasOwnProperty(t)?Mv(Sv[t]):"transparent"===t?new Cv(NaN,NaN,NaN,0):null}function Mv(t){return new Cv(t>>16&255,t>>8&255,255&t,1)}function kv(t,e,r,n){return n<=0&&(t=e=r=NaN),new Cv(t,e,r,n)}function Ev(t,e,r,n){return 1===arguments.length?((o=t)instanceof sv||(o=Av(o)),o?new Cv((o=o.rgb()).r,o.g,o.b,o.opacity):new Cv):new Cv(t,e,r,null==n?1:n);var o}function Cv(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function _v(){return`#${Nv(this.r)}${Nv(this.g)}${Nv(this.b)}`}function Tv(){const t=Dv(this.opacity);return`${1===t?"rgb(":"rgba("}${Iv(this.r)}, ${Iv(this.g)}, ${Iv(this.b)}${1===t?")":`, ${t})`}`}function Dv(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Iv(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Nv(t){return((t=Iv(t))<16?"0":"")+t.toString(16)}function Lv(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Rv(t,e,r,n)}function Bv(t){if(t instanceof Rv)return new Rv(t.h,t.s,t.l,t.opacity);if(t instanceof sv||(t=Av(t)),!t)return new Rv;if(t instanceof Rv)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),i=Math.max(e,r,n),a=NaN,c=i-o,u=(i+o)/2;return c?(a=e===i?(r-n)/c+6*(r<n):r===i?(n-e)/c+2:(e-r)/c+4,c/=u<.5?i+o:2-i-o,a*=60):c=u>0&&u<1?0:a,new Rv(a,c,u,t.opacity)}function Rv(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function $v(t){return(t=(t||0)%360)<0?t+360:t}function zv(t){return Math.max(0,Math.min(1,t||0))}function Hv(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}uv(sv,Av,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:jv,formatHex:jv,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Bv(this).formatHsl()},formatRgb:Pv,toString:Pv}),uv(Cv,Ev,lv(sv,{brighter(t){return t=null==t?pv:Math.pow(pv,t),new Cv(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?fv:Math.pow(fv,t),new Cv(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Cv(Iv(this.r),Iv(this.g),Iv(this.b),Dv(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:_v,formatHex:_v,formatHex8:function(){return`#${Nv(this.r)}${Nv(this.g)}${Nv(this.b)}${Nv(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Tv,toString:Tv})),uv(Rv,(function(t,e,r,n){return 1===arguments.length?Bv(t):new Rv(t,e,r,null==n?1:n)}),lv(sv,{brighter(t){return t=null==t?pv:Math.pow(pv,t),new Rv(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?fv:Math.pow(fv,t),new Rv(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,o=2*r-n;return new Cv(Hv(t>=240?t-240:t+120,o,n),Hv(t,o,n),Hv(t<120?t+240:t-120,o,n),this.opacity)},clamp(){return new Rv($v(this.h),zv(this.s),zv(this.l),Dv(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=Dv(this.opacity);return`${1===t?"hsl(":"hsla("}${$v(this.h)}, ${100*zv(this.s)}%, ${100*zv(this.l)}%${1===t?")":`, ${t})`}`}}));var Fv=t=>()=>t;function Vv(t){return 1==(t=+t)?Uv: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):Fv(isNaN(e)?r:e)}}function Uv(t,e){var r=e-t;return r?function(t,e){return function(r){return t+r*e}}(t,r):Fv(isNaN(t)?e:t)}var Wv=function t(e){var r=Vv(e);function n(t,e){var n=r((t=Ev(t)).r,(e=Ev(e)).r),o=r(t.g,e.g),i=r(t.b,e.b),a=Uv(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return n.gamma=t,n}(1);function qv(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(r=0;r<n;++r)o[r]=t[r]*(1-i)+e[r]*i;return o}}function Yv(t,e){var r,n=e?e.length:0,o=t?Math.min(n,t.length):0,i=new Array(o),a=new Array(n);for(r=0;r<o;++r)i[r]=tm(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<o;++r)a[r]=i[r](t);return a}}function Xv(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function Kv(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function Gv(t,e){var r,n={},o={};for(r in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)r in t?n[r]=tm(t[r],e[r]):o[r]=e[r];return function(t){for(r in n)o[r]=n[r](t);return o}}var Zv=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Jv=new RegExp(Zv.source,"g");function Qv(t,e){var r,n,o,i=Zv.lastIndex=Jv.lastIndex=0,a=-1,c=[],u=[];for(t+="",e+="";(r=Zv.exec(t))&&(n=Jv.exec(e));)(o=n.index)>i&&(o=e.slice(i,o),c[a]?c[a]+=o:c[++a]=o),(r=r[0])===(n=n[0])?c[a]?c[a]+=n:c[++a]=n:(c[++a]=null,u.push({i:a,x:Kv(r,n)})),i=Jv.lastIndex;return i<e.length&&(o=e.slice(i),c[a]?c[a]+=o:c[++a]=o),c.length<2?u[0]?function(t){return function(e){return t(e)+""}}(u[0].x):function(t){return function(){return t}}(e):(e=u.length,function(t){for(var r,n=0;n<e;++n)c[(r=u[n]).i]=r.x(t);return c.join("")})}function tm(t,e){var r,n=typeof e;return null==e||"boolean"===n?Fv(e):("number"===n?Kv:"string"===n?(r=Av(e))?(e=r,Wv):Qv:e instanceof Av?Wv:e instanceof Date?Xv:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(e)?qv:Array.isArray(e)?Yv:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Gv:Kv)(t,e)}function em(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function rm(t,e){void 0===e&&(e=t,t=tm);for(var r=0,n=e.length-1,o=e[0],i=new Array(n<0?0:n);r<n;)i[r]=t(o,o=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return i[e](t-e)}}function nm(t){return+t}var om=[0,1];function im(t){return t}function am(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:function(t){return function(){return t}}(isNaN(e)?NaN:.5)}function cm(t,e,r){var n=t[0],o=t[1],i=e[0],a=e[1];return o<n?(n=am(o,n),i=r(a,i)):(n=am(n,o),i=r(i,a)),function(t){return i(n(t))}}function um(t,e,r){var n=Math.min(t.length,e.length)-1,o=new Array(n),i=new Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)o[a]=am(t[a],t[a+1]),i[a]=r(e[a],e[a+1]);return function(e){var r=Ry(t,e,1,n)-1;return i[r](o[r](e))}}function lm(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function sm(){var t,e,r,n,o,i,a=om,c=om,u=tm,l=im;function s(){var t=Math.min(a.length,c.length);return l!==im&&(l=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?um:cm,o=i=null,f}function f(e){return null==e||isNaN(e=+e)?r:(o||(o=n(a.map(t),c,u)))(t(l(e)))}return f.invert=function(r){return l(e((i||(i=n(c,a.map(t),Kv)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,nm),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),u=em,s()},f.clamp=function(t){return arguments.length?(l=!!t||im,s()):l!==im},f.interpolate=function(t){return arguments.length?(u=t,s()):u},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,s()}}function fm(){return sm()(im,im)}function pm(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 dm(t){return(t=pm(Math.abs(t)))?t[1]:NaN}var hm,ym=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function vm(t){if(!(e=ym.exec(t)))throw new Error("invalid format: "+t);var e;return new mm({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 mm(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 gm(t,e){var r=pm(t,e);if(!r)return t+"";var n=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}vm.prototype=mm.prototype,mm.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 bm={"%":(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)=>gm(100*t,e),r:gm,s:function(t,e){var r=pm(t,e);if(!r)return t+"";var n=r[0],o=r[1],i=o-(hm=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=n.length;return i===a?n:i>a?n+new Array(i-a+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+pm(t,Math.max(0,e+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function wm(t){return t}var xm,Om,Sm,jm=Array.prototype.map,Pm=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Am(t){var e,r,n=void 0===t.grouping||void 0===t.thousands?wm:(e=jm.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var o=t.length,i=[],a=0,c=e[0],u=0;o>0&&c>0&&(u+c+1>n&&(c=Math.max(1,n-u)),i.push(t.substring(o-=c,o+c)),!((u+=c+1)>n));)c=e[a=(a+1)%e.length];return i.reverse().join(r)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?wm:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(jm.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=vm(t)).fill,r=t.align,f=t.sign,p=t.symbol,d=t.zero,h=t.width,y=t.comma,v=t.precision,m=t.trim,g=t.type;"n"===g?(y=!0,g="g"):bm[g]||(void 0===v&&(v=12),m=!0,g="g"),(d||"0"===e&&"="===r)&&(d=!0,e="0",r="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===p?i:/[%p]/.test(g)?u:"",x=bm[g],O=/[defgprs%]/.test(g);function S(t){var o,i,u,p=b,S=w;if("c"===g)S=x(t)+S,t="";else{var j=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:x(Math.abs(t),v),m&&(t=function(t){t:for(var e,r=t.length,n=1,o=-1;n<r;++n)switch(t[n]){case".":o=e=n;break;case"0":0===o&&(o=n),e=n;break;default:if(!+t[n])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),j&&0==+t&&"+"!==f&&(j=!1),p=(j?"("===f?f:l:"-"===f||"("===f?"":f)+p,S=("s"===g?Pm[8+hm/3]:"")+S+(j&&"("===f?")":""),O)for(o=-1,i=t.length;++o<i;)if(48>(u=t.charCodeAt(o))||u>57){S=(46===u?a+t.slice(o+1):t.slice(o))+S,t=t.slice(0,o);break}}y&&!d&&(t=n(t,1/0));var P=p.length+t.length+S.length,A=P<h?new Array(h-P+1).join(e):"";switch(y&&d&&(t=n(A+t,A.length?h-S.length:1/0),A=""),r){case"<":t=p+t+S+A;break;case"=":t=p+A+t+S;break;case"^":t=A.slice(0,P=A.length>>1)+p+t+S+A.slice(P);break;default:t=A+p+t+S}return c(t)}return v=void 0===v?6:/[gprs]/.test(g)?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=vm(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(dm(e)/3))),o=Math.pow(10,-n),i=Pm[8+n/3];return function(t){return r(o*t)+i}}}}function Mm(t,e,r,n){var o,i=Ky(t,e,r);switch((n=vm(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(o=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(dm(e)/3)))-dm(Math.abs(t)))}(i,a))||(n.precision=o),Sm(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(o=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,dm(e)-dm(t))+1}(i,Math.max(Math.abs(t),Math.abs(e))))||(n.precision=o-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(o=function(t){return Math.max(0,-dm(Math.abs(t)))}(i))||(n.precision=o-2*("%"===n.type))}return Om(n)}function km(t){var e=t.domain;return t.ticks=function(t){var r=e();return Yy(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return Mm(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,o,i=e(),a=0,c=i.length-1,u=i[a],l=i[c],s=10;for(l<u&&(o=u,u=l,l=o,o=a,a=c,c=o);s-- >0;){if((o=Xy(u,l,r))===n)return i[a]=u,i[c]=l,e(i);if(o>0)u=Math.floor(u/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,l=Math.floor(l*o)/o}n=o}return t},t}function Em(){var t=fm();return t.copy=function(){return lm(t,Em())},ev.apply(t,arguments),km(t)}function Cm(t,e){var r,n=0,o=(t=t.slice()).length-1,i=t[n],a=t[o];return a<i&&(r=n,n=o,o=r,r=i,i=a,a=r),t[n]=e.floor(i),t[o]=e.ceil(a),t}function _m(t){return Math.log(t)}function Tm(t){return Math.exp(t)}function Dm(t){return-Math.log(-t)}function Im(t){return-Math.exp(-t)}function Nm(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Lm(t){return(e,r)=>-t(-e,r)}function Bm(t){const e=t(_m,Tm),r=e.domain;let n,o,i=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)}(i),o=function(t){return 10===t?Nm:t===Math.E?Math.exp:e=>Math.pow(t,e)}(i),r()[0]<0?(n=Lm(n),o=Lm(o),t(Dm,Im)):t(_m,Tm),e}return e.base=function(t){return arguments.length?(i=+t,a()):i},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 u=c<a;u&&([a,c]=[c,a]);let l,s,f=n(a),p=n(c);const d=null==t?10:+t;let h=[];if(!(i%1)&&p-f<d){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(l=1;l<i;++l)if(s=f<0?l/o(-f):l*o(f),!(s<a)){if(s>c)break;h.push(s)}}else for(;f<=p;++f)for(l=i-1;l>=1;--l)if(s=f>0?l/o(-f):l*o(f),!(s<a)){if(s>c)break;h.push(s)}2*h.length<d&&(h=Yy(a,c,d))}else h=Yy(f,p,Math.min(p-f,d)).map(o);return u?h.reverse():h},e.tickFormat=(t,r)=>{if(null==t&&(t=10),null==r&&(r=10===i?"s":","),"function"!=typeof r&&(i%1||null!=(r=vm(r)).precision||(r.trim=!0),r=Om(r)),t===1/0)return r;const a=Math.max(1,i*t/e.ticks().length);return t=>{let e=t/o(Math.round(n(t)));return e*i<i-.5&&(e*=i),e<=a?r(t):""}},e.nice=()=>r(Cm(r(),{floor:t=>o(Math.floor(n(t))),ceil:t=>o(Math.ceil(n(t)))})),e}function Rm(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function $m(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function zm(t){var e=1,r=t(Rm(e),$m(e));return r.constant=function(r){return arguments.length?t(Rm(e=+r),$m(e)):e},km(r)}function Hm(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function Fm(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Vm(t){return t<0?-t*t:t*t}function Um(t){var e=t(im,im),r=1;return e.exponent=function(e){return arguments.length?1===(r=+e)?t(im,im):.5===r?t(Fm,Vm):t(Hm(r),Hm(1/r)):r},km(e)}function Wm(){var t=Um(sm());return t.copy=function(){return lm(t,Wm()).exponent(t.exponent())},ev.apply(t,arguments),t}function qm(t){return Math.sign(t)*t*t}xm=Am({thousands:",",grouping:[3],currency:["$",""]}),Om=xm.format,Sm=xm.formatPrefix;const Ym=new Date,Xm=new Date;function Km(t,e,r,n){function o(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return o.floor=e=>(t(e=new Date(+e)),e),o.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),o.round=t=>{const e=o(t),r=o.ceil(t);return t-e<r-t?e:r},o.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),o.range=(r,n,i)=>{const a=[];if(r=o.ceil(r),i=null==i?1:Math.floor(i),!(r<n&&i>0))return a;let c;do{a.push(c=new Date(+r)),e(r,i),t(r)}while(c<r&&r<n);return a},o.filter=r=>Km((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&&(o.count=(e,n)=>(Ym.setTime(+e),Xm.setTime(+n),t(Ym),t(Xm),Math.floor(r(Ym,Xm))),o.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(n?e=>n(e)%t==0:e=>o.count(0,e)%t==0):o:null)),o}const Gm=Km((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));Gm.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?Km((e=>{e.setTime(Math.floor(e/t)*t)}),((e,r)=>{e.setTime(+e+r*t)}),((e,r)=>(r-e)/t)):Gm:null),Gm.range;const Zm=1e3,Jm=6e4,Qm=36e5,tg=864e5,eg=6048e5,rg=2592e6,ng=31536e6,og=Km((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*Zm)}),((t,e)=>(e-t)/Zm),(t=>t.getUTCSeconds()));og.range;const ig=Km((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Zm)}),((t,e)=>{t.setTime(+t+e*Jm)}),((t,e)=>(e-t)/Jm),(t=>t.getMinutes()));ig.range;const ag=Km((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*Jm)}),((t,e)=>(e-t)/Jm),(t=>t.getUTCMinutes()));ag.range;const cg=Km((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Zm-t.getMinutes()*Jm)}),((t,e)=>{t.setTime(+t+e*Qm)}),((t,e)=>(e-t)/Qm),(t=>t.getHours()));cg.range;const ug=Km((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*Qm)}),((t,e)=>(e-t)/Qm),(t=>t.getUTCHours()));ug.range;const lg=Km((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Jm)/tg),(t=>t.getDate()-1));lg.range;const sg=Km((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/tg),(t=>t.getUTCDate()-1));sg.range;const fg=Km((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/tg),(t=>Math.floor(t/tg)));function pg(t){return Km((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())*Jm)/eg))}fg.range;const dg=pg(0),hg=pg(1),yg=pg(2),vg=pg(3),mg=pg(4),gg=pg(5),bg=pg(6);function wg(t){return Km((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)/eg))}dg.range,hg.range,yg.range,vg.range,mg.range,gg.range,bg.range;const xg=wg(0),Og=wg(1),Sg=wg(2),jg=wg(3),Pg=wg(4),Ag=wg(5),Mg=wg(6);xg.range,Og.range,Sg.range,jg.range,Pg.range,Ag.range,Mg.range;const kg=Km((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()));kg.range;const Eg=Km((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()));Eg.range;const Cg=Km((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()));Cg.every=t=>isFinite(t=Math.floor(t))&&t>0?Km((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,Cg.range;const _g=Km((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 Tg(t,e,r,n,o,i){const a=[[og,1,Zm],[og,5,5e3],[og,15,15e3],[og,30,3e4],[i,1,Jm],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,Qm],[o,3,108e5],[o,6,216e5],[o,12,432e5],[n,1,tg],[n,2,1728e5],[r,1,eg],[e,1,rg],[e,3,7776e6],[t,1,ng]];function c(e,r,n){const o=Math.abs(r-e)/n,i=Ny((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(Ky(e/ng,r/ng,n));if(0===i)return Gm.every(Math.max(Ky(e,r,n),1));const[c,u]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return c.every(u)}return[function(t,e,r){const n=e<t;n&&([t,e]=[e,t]);const o=r&&"function"==typeof r.range?r:c(t,e,r),i=o?o.range(t,+e+1):[];return n?i.reverse():i},c]}_g.every=t=>isFinite(t=Math.floor(t))&&t>0?Km((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,_g.range;const[Dg,Ig]=Tg(_g,Eg,xg,fg,ug,ag),[Ng,Lg]=Tg(Cg,kg,dg,lg,cg,ig);function Bg(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 Rg(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 $g(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var zg,Hg,Fg,Vg={"-":"",_:" ",0:"0"},Ug=/^\s*\d+/,Wg=/^%/,qg=/[\\^$*+?|[\]().{}]/g;function Yg(t,e,r){var n=t<0?"-":"",o=(n?-t:t)+"",i=o.length;return n+(i<r?new Array(r-i+1).join(e)+o:o)}function Xg(t){return t.replace(qg,"\\$&")}function Kg(t){return new RegExp("^(?:"+t.map(Xg).join("|")+")","i")}function Gg(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function Zg(t,e,r){var n=Ug.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function Jg(t,e,r){var n=Ug.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function Qg(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function tb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function eb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function rb(t,e,r){var n=Ug.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function nb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function ob(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 ib(t,e,r){var n=Ug.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function ab(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function cb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function ub(t,e,r){var n=Ug.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function lb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function sb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function fb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function pb(t,e,r){var n=Ug.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function db(t,e,r){var n=Ug.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function hb(t,e,r){var n=Wg.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function yb(t,e,r){var n=Ug.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function vb(t,e,r){var n=Ug.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function mb(t,e){return Yg(t.getDate(),e,2)}function gb(t,e){return Yg(t.getHours(),e,2)}function bb(t,e){return Yg(t.getHours()%12||12,e,2)}function wb(t,e){return Yg(1+lg.count(Cg(t),t),e,3)}function xb(t,e){return Yg(t.getMilliseconds(),e,3)}function Ob(t,e){return xb(t,e)+"000"}function Sb(t,e){return Yg(t.getMonth()+1,e,2)}function jb(t,e){return Yg(t.getMinutes(),e,2)}function Pb(t,e){return Yg(t.getSeconds(),e,2)}function Ab(t){var e=t.getDay();return 0===e?7:e}function Mb(t,e){return Yg(dg.count(Cg(t)-1,t),e,2)}function kb(t){var e=t.getDay();return e>=4||0===e?mg(t):mg.ceil(t)}function Eb(t,e){return t=kb(t),Yg(mg.count(Cg(t),t)+(4===Cg(t).getDay()),e,2)}function Cb(t){return t.getDay()}function _b(t,e){return Yg(hg.count(Cg(t)-1,t),e,2)}function Tb(t,e){return Yg(t.getFullYear()%100,e,2)}function Db(t,e){return Yg((t=kb(t)).getFullYear()%100,e,2)}function Ib(t,e){return Yg(t.getFullYear()%1e4,e,4)}function Nb(t,e){var r=t.getDay();return Yg((t=r>=4||0===r?mg(t):mg.ceil(t)).getFullYear()%1e4,e,4)}function Lb(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Yg(e/60|0,"0",2)+Yg(e%60,"0",2)}function Bb(t,e){return Yg(t.getUTCDate(),e,2)}function Rb(t,e){return Yg(t.getUTCHours(),e,2)}function $b(t,e){return Yg(t.getUTCHours()%12||12,e,2)}function zb(t,e){return Yg(1+sg.count(_g(t),t),e,3)}function Hb(t,e){return Yg(t.getUTCMilliseconds(),e,3)}function Fb(t,e){return Hb(t,e)+"000"}function Vb(t,e){return Yg(t.getUTCMonth()+1,e,2)}function Ub(t,e){return Yg(t.getUTCMinutes(),e,2)}function Wb(t,e){return Yg(t.getUTCSeconds(),e,2)}function qb(t){var e=t.getUTCDay();return 0===e?7:e}function Yb(t,e){return Yg(xg.count(_g(t)-1,t),e,2)}function Xb(t){var e=t.getUTCDay();return e>=4||0===e?Pg(t):Pg.ceil(t)}function Kb(t,e){return t=Xb(t),Yg(Pg.count(_g(t),t)+(4===_g(t).getUTCDay()),e,2)}function Gb(t){return t.getUTCDay()}function Zb(t,e){return Yg(Og.count(_g(t)-1,t),e,2)}function Jb(t,e){return Yg(t.getUTCFullYear()%100,e,2)}function Qb(t,e){return Yg((t=Xb(t)).getUTCFullYear()%100,e,2)}function tw(t,e){return Yg(t.getUTCFullYear()%1e4,e,4)}function ew(t,e){var r=t.getUTCDay();return Yg((t=r>=4||0===r?Pg(t):Pg.ceil(t)).getUTCFullYear()%1e4,e,4)}function rw(){return"+0000"}function nw(){return"%"}function ow(t){return+t}function iw(t){return Math.floor(+t/1e3)}function aw(t){return new Date(t)}function cw(t){return t instanceof Date?+t:+new Date(+t)}function uw(t,e,r,n,o,i,a,c,u,l){var s=fm(),f=s.invert,p=s.domain,d=l(".%L"),h=l(":%S"),y=l("%I:%M"),v=l("%I %p"),m=l("%a %d"),g=l("%b %d"),b=l("%B"),w=l("%Y");function x(t){return(u(t)<t?d:c(t)<t?h:a(t)<t?y:i(t)<t?v:n(t)<t?o(t)<t?m:g: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,cw)):p().map(aw)},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:l(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(Cm(r,t)):s},s.copy=function(){return lm(s,uw(t,e,r,n,o,i,a,c,u,l))},s}function lw(){var t,e,r,n,o,i=0,a=1,c=im,u=!1;function l(e){return null==e||isNaN(e=+e)?o:c(0===r?.5:(e=(n(e)-t)*r,u?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),l):[c(0),c(1)]}}return l.domain=function(o){return arguments.length?([i,a]=o,t=n(i=+i),e=n(a=+a),r=t===e?0:1/(e-t),l):[i,a]},l.clamp=function(t){return arguments.length?(u=!!t,l):u},l.interpolator=function(t){return arguments.length?(c=t,l):c},l.range=s(tm),l.rangeRound=s(em),l.unknown=function(t){return arguments.length?(o=t,l):o},function(o){return n=o,t=o(i),e=o(a),r=t===e?0:1/(e-t),l}}function sw(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function fw(){var t=Um(lw());return t.copy=function(){return sw(t,fw()).exponent(t.exponent())},rv.apply(t,arguments)}function pw(){var t,e,r,n,o,i,a,c=0,u=.5,l=1,s=1,f=im,p=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-e)*(s*t<s*e?n:o),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(e){var r,n,o;return arguments.length?([r,n,o]=e,f=rm(t,[r,n,o]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([c,u,l]=a,t=i(c=+c),e=i(u=+u),r=i(l=+l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,d):[c,u,l]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(tm),d.rangeRound=h(em),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return i=a,t=a(c),e=a(u),r=a(l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,d}}function dw(){var t=Um(pw());return t.copy=function(){return sw(t,dw()).exponent(t.exponent())},rv.apply(t,arguments)}!function(t){zg=function(t){var e=t.dateTime,r=t.date,n=t.time,o=t.periods,i=t.days,a=t.shortDays,c=t.months,u=t.shortMonths,l=Kg(o),s=Gg(o),f=Kg(i),p=Gg(i),d=Kg(a),h=Gg(a),y=Kg(c),v=Gg(c),m=Kg(u),g=Gg(u),b={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return c[t.getMonth()]},c:null,d:mb,e:mb,f:Ob,g:Db,G:Nb,H:gb,I:bb,j:wb,L:xb,m:Sb,M:jb,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:ow,s:iw,S:Pb,u:Ab,U:Mb,V:Eb,w:Cb,W:_b,x:null,X:null,y:Tb,Y:Ib,Z:Lb,"%":nw},w={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return c[t.getUTCMonth()]},c:null,d:Bb,e:Bb,f:Fb,g:Qb,G:ew,H:Rb,I:$b,j:zb,L:Hb,m:Vb,M:Ub,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:ow,s:iw,S:Wb,u:qb,U:Yb,V:Kb,w:Gb,W:Zb,x:null,X:null,y:Jb,Y:tw,Z:rw,"%":nw},x={a:function(t,e,r){var n=d.exec(e.slice(r));return n?(t.w=h.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=m.exec(e.slice(r));return n?(t.m=g.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:cb,e:cb,f:db,g:nb,G:rb,H:lb,I:lb,j:ub,L:pb,m:ab,M:sb,p:function(t,e,r){var n=l.exec(e.slice(r));return n?(t.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:ib,Q:yb,s:vb,S:fb,u:Jg,U:Qg,V:tb,w:Zg,W:eb,x:function(t,e,n){return j(t,r,e,n)},X:function(t,e,r){return j(t,n,e,r)},y:nb,Y:rb,Z:ob,"%":hb};function O(t,e){return function(r){var n,o,i,a=[],c=-1,u=0,l=t.length;for(r instanceof Date||(r=new Date(+r));++c<l;)37===t.charCodeAt(c)&&(a.push(t.slice(u,c)),null!=(o=Vg[n=t.charAt(++c)])?n=t.charAt(++c):o="e"===n?" ":"0",(i=e[n])&&(n=i(r,o)),a.push(n),u=c+1);return a.push(t.slice(u,c)),a.join("")}}function S(t,e){return function(r){var n,o,i=$g(1900,void 0,1);if(j(i,t,r+="",0)!=r.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(e&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(n=Rg($g(i.y,0,1))).getUTCDay(),n=o>4||0===o?Og.ceil(n):Og(n),n=sg.offset(n,7*(i.V-1)),i.y=n.getUTCFullYear(),i.m=n.getUTCMonth(),i.d=n.getUTCDate()+(i.w+6)%7):(o=(n=Bg($g(i.y,0,1))).getDay(),n=o>4||0===o?hg.ceil(n):hg(n),n=lg.offset(n,7*(i.V-1)),i.y=n.getFullYear(),i.m=n.getMonth(),i.d=n.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?Rg($g(i.y,0,1)).getUTCDay():Bg($g(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Rg(i)):Bg(i)}}function j(t,e,r,n){for(var o,i,a=0,c=e.length,u=r.length;a<c;){if(n>=u)return-1;if(37===(o=e.charCodeAt(a++))){if(o=e.charAt(a++),!(i=x[o in Vg?e.charAt(a++):o])||(n=i(t,r,n))<0)return-1}else if(o!=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),Hg=zg.format,zg.parse,Fg=zg.utcFormat,zg.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 hw,yw,vw,mw,gw,bw,ww=Object.freeze({__proto__:null,scaleBand:iv,scaleDiverging:function t(){var e=km(pw()(im));return e.copy=function(){return sw(e,t())},rv.apply(e,arguments)},scaleDivergingLog:function t(){var e=Bm(pw()).domain([.1,1,10]);return e.copy=function(){return sw(e,t()).base(e.base())},rv.apply(e,arguments)},scaleDivergingPow:dw,scaleDivergingSqrt:function(){return dw.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function t(){var e=zm(pw());return e.copy=function(){return sw(e,t()).constant(e.constant())},rv.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,nm),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,nm):[0,1],km(n)},scaleImplicit:nv,scaleLinear:Em,scaleLog:function t(){const e=Bm(sm()).domain([1,10]);return e.copy=()=>lm(e,t()).base(e.base()),ev.apply(e,arguments),e},scaleOrdinal:ov,scalePoint:cv,scalePow:Wm,scaleQuantile:function t(){var e,r=[],n=[],o=[];function i(){var t=0,e=Math.max(1,n.length);for(o=new Array(e-1);++t<e;)o[t-1]=tv(r,t/e);return a}function a(t){return null==t||isNaN(t=+t)?e:n[Ry(o,t)]}return a.invertExtent=function(t){var e=n.indexOf(t);return e<0?[NaN,NaN]:[e>0?o[e-1]:r[0],e<o.length?o[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(Dy),i()},a.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},a.unknown=function(t){return arguments.length?(e=t,a):e},a.quantiles=function(){return o.slice()},a.copy=function(){return t().domain(r).range(n).unknown(e)},ev.apply(a,arguments)},scaleQuantize:function t(){var e,r=0,n=1,o=1,i=[.5],a=[0,1];function c(t){return null!=t&&t<=t?a[Ry(i,t,0,o)]:e}function u(){var t=-1;for(i=new Array(o);++t<o;)i[t]=((t+1)*n-(t-o)*r)/(o+1);return c}return c.domain=function(t){return arguments.length?([r,n]=t,r=+r,n=+n,u()):[r,n]},c.range=function(t){return arguments.length?(o=(a=Array.from(t)).length-1,u()):a.slice()},c.invertExtent=function(t){var e=a.indexOf(t);return e<0?[NaN,NaN]:e<1?[r,i[0]]:e>=o?[i[o-1],n]:[i[e-1],i[e]]},c.unknown=function(t){return arguments.length?(e=t,c):c},c.thresholds=function(){return i.slice()},c.copy=function(){return t().domain([r,n]).range(a).unknown(e)},ev.apply(km(c),arguments)},scaleRadial:function t(){var e,r=fm(),n=[0,1],o=!1;function i(t){var n=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(r(t));return isNaN(n)?e:o?Math.round(n):n}return i.invert=function(t){return r.invert(qm(t))},i.domain=function(t){return arguments.length?(r.domain(t),i):r.domain()},i.range=function(t){return arguments.length?(r.range((n=Array.from(t,nm)).map(qm)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(o=!!t,i):o},i.clamp=function(t){return arguments.length?(r.clamp(t),i):r.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t(r.domain(),n).round(o).clamp(r.clamp()).unknown(e)},ev.apply(i,arguments),km(i)},scaleSequential:function t(){var e=km(lw()(im));return e.copy=function(){return sw(e,t())},rv.apply(e,arguments)},scaleSequentialLog:function t(){var e=Bm(lw()).domain([1,10]);return e.copy=function(){return sw(e,t()).base(e.base())},rv.apply(e,arguments)},scaleSequentialPow:fw,scaleSequentialQuantile:function t(){var e=[],r=im;function n(t){if(null!=t&&!isNaN(t=+t))return r((Ry(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(Dy),n},n.interpolator=function(t){return arguments.length?(r=t,n):r},n.range=function(){return e.map(((t,n)=>r(n/(e.length-1))))},n.quantiles=function(t){return Array.from({length:t+1},((r,n)=>function(t,e,r){if((n=(t=Float64Array.from(function*(t,e){for(let e of t)null!=e&&(e=+e)>=e&&(yield e)}(t))).length)&&!isNaN(e=+e)){if(e<=0||n<2)return Zy(t);if(e>=1)return Gy(t);var n,o=(n-1)*e,i=Math.floor(o),a=Gy(Jy(t,i).subarray(0,i+1));return a+(Zy(t.subarray(i+1))-a)*(o-i)}}(e,n/t)))},n.copy=function(){return t(r).domain(e)},rv.apply(n,arguments)},scaleSequentialSqrt:function(){return fw.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function t(){var e=zm(lw());return e.copy=function(){return sw(e,t()).constant(e.constant())},rv.apply(e,arguments)},scaleSqrt:function(){return Wm.apply(null,arguments).exponent(.5)},scaleSymlog:function t(){var e=zm(sm());return e.copy=function(){return lm(e,t()).constant(e.constant())},ev.apply(e,arguments)},scaleThreshold:function t(){var e,r=[.5],n=[0,1],o=1;function i(t){return null!=t&&t<=t?n[Ry(r,t,0,o)]:e}return i.domain=function(t){return arguments.length?(r=Array.from(t),o=Math.min(r.length,n.length-1),i):r.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),o=Math.min(r.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var e=n.indexOf(t);return[r[e-1],r[e]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t().domain(r).range(n).unknown(e)},ev.apply(i,arguments)},scaleTime:function(){return ev.apply(uw(Ng,Lg,Cg,kg,dg,lg,cg,ig,og,Hg).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return ev.apply(uw(Dg,Ig,_g,Eg,xg,sg,ug,ag,og,Fg).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:Mm});function xw(){if(yw)return hw;yw=1;var t=xi();return hw=function(e,r,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],c=r(a);if(null!=c&&(void 0===u?c==c&&!t(c):n(c,u)))var u=c,l=a}return l},hw}var Ow,Sw,jw,Pw,Aw=function(){if(bw)return gw;bw=1;var t=xw(),e=mw?vw:(mw=1,vw=function(t,e){return t>e}),r=pp();return gw=function(n){return n&&n.length?t(n,r,e):void 0},gw}(),Mw=Ze(Aw);var kw,Ew,Cw,_w,Tw=function(){if(Pw)return jw;Pw=1;var t=xw(),e=Sw?Ow:(Sw=1,Ow=function(t,e){return t<e}),r=pp();return jw=function(n){return n&&n.length?t(n,r,e):void 0},jw}(),Dw=Ze(Tw);var Iw,Nw,Lw=function(){if(_w)return Cw;_w=1;var t=Ad(),e=function(){if(Ew)return kw;Ew=1;var t=Ri(),e=hp(),r=Cd(),n=yi();return kw=function(o,i){return(n(o)?t:r)(o,e(i,3))}}();return Cw=function(r,n){return t(e(r,n),1)}}(),Bw=Ze(Lw);var Rw,$w=Ze(function(){if(Nw)return Iw;Nw=1;var t=cp();return Iw=function(e,r){return t(e,r)}}()),zw=1e9,Hw=!0,Fw="[DecimalError] ",Vw=Fw+"Invalid argument: ",Uw=Fw+"Exponent out of range: ",Ww=Math.floor,qw=Math.pow,Yw=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Xw=1e7,Kw=7,Gw=9007199254740991,Zw=Ww(Gw/Kw),Jw={};function Qw(t,e){var r,n,o,i,a,c,u,l,s=t.constructor,f=s.precision;if(!t.s||!e.s)return e.s||(e=new s(t)),Hw?lx(e,f):e;if(u=t.d,l=e.d,a=t.e,o=e.e,u=u.slice(),i=a-o){for(i<0?(n=u,i=-i,c=l.length):(n=l,o=a,c=u.length),i>(c=(a=Math.ceil(f/Kw))>c?a+1:c+1)&&(i=c,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((c=u.length)-(i=l.length)<0&&(i=c,n=l,l=u,u=n),r=0;i;)r=(u[--i]=u[i]+l[i]+r)/Xw|0,u[i]%=Xw;for(r&&(u.unshift(r),++o),c=u.length;0==u[--c];)u.pop();return e.d=u,e.e=o,Hw?lx(e,f):e}function tx(t,e,r){if(t!==~~t||t<e||t>r)throw Error(Vw+t)}function ex(t){var e,r,n,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;e<o;e++)n=t[e]+"",(r=Kw-n.length)&&(i+=ax(r)),i+=n;a=t[e],(r=Kw-(n=a+"").length)&&(i+=ax(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}Jw.absoluteValue=Jw.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},Jw.comparedTo=Jw.cmp=function(t){var e,r,n,o,i=this;if(t=new i.constructor(t),i.s!==t.s)return i.s||-t.s;if(i.e!==t.e)return i.e>t.e^i.s<0?1:-1;for(e=0,r=(n=i.d.length)<(o=t.d.length)?n:o;e<r;++e)if(i.d[e]!==t.d[e])return i.d[e]>t.d[e]^i.s<0?1:-1;return n===o?0:n>o^i.s<0?1:-1},Jw.decimalPlaces=Jw.dp=function(){var t=this,e=t.d.length-1,r=(e-t.e)*Kw;if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},Jw.dividedBy=Jw.div=function(t){return rx(this,new this.constructor(t))},Jw.dividedToIntegerBy=Jw.idiv=function(t){var e=this.constructor;return lx(rx(this,new e(t),0,1),e.precision)},Jw.equals=Jw.eq=function(t){return!this.cmp(t)},Jw.exponent=function(){return ox(this)},Jw.greaterThan=Jw.gt=function(t){return this.cmp(t)>0},Jw.greaterThanOrEqualTo=Jw.gte=function(t){return this.cmp(t)>=0},Jw.isInteger=Jw.isint=function(){return this.e>this.d.length-2},Jw.isNegative=Jw.isneg=function(){return this.s<0},Jw.isPositive=Jw.ispos=function(){return this.s>0},Jw.isZero=function(){return 0===this.s},Jw.lessThan=Jw.lt=function(t){return this.cmp(t)<0},Jw.lessThanOrEqualTo=Jw.lte=function(t){return this.cmp(t)<1},Jw.logarithm=Jw.log=function(t){var e,r=this,n=r.constructor,o=n.precision,i=o+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq(Rw))throw Error(Fw+"NaN");if(r.s<1)throw Error(Fw+(r.s?"NaN":"-Infinity"));return r.eq(Rw)?new n(0):(Hw=!1,e=rx(cx(r,i),cx(t,i),i),Hw=!0,lx(e,o))},Jw.minus=Jw.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?sx(e,t):Qw(e,(t.s=-t.s,t))},Jw.modulo=Jw.mod=function(t){var e,r=this,n=r.constructor,o=n.precision;if(!(t=new n(t)).s)throw Error(Fw+"NaN");return r.s?(Hw=!1,e=rx(r,t,0,1).times(t),Hw=!0,r.minus(e)):lx(new n(r),o)},Jw.naturalExponential=Jw.exp=function(){return nx(this)},Jw.naturalLogarithm=Jw.ln=function(){return cx(this)},Jw.negated=Jw.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},Jw.plus=Jw.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?Qw(e,t):sx(e,(t.s=-t.s,t))},Jw.precision=Jw.sd=function(t){var e,r,n,o=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(Vw+t);if(e=ox(o)+1,r=(n=o.d.length-1)*Kw+1,n=o.d[n]){for(;n%10==0;n/=10)r--;for(n=o.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},Jw.squareRoot=Jw.sqrt=function(){var t,e,r,n,o,i,a,c=this,u=c.constructor;if(c.s<1){if(!c.s)return new u(0);throw Error(Fw+"NaN")}for(t=ox(c),Hw=!1,0==(o=Math.sqrt(+c))||o==1/0?(((e=ex(c.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=Ww((t+1)/2)-(t<0||t%2),n=new u(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new u(o.toString()),o=a=(r=u.precision)+3;;)if(n=(i=n).plus(rx(c,i,a+2)).times(.5),ex(i.d).slice(0,a)===(e=ex(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(lx(i,r+1,0),i.times(i).eq(c)){n=i;break}}else if("9999"!=e)break;a+=4}return Hw=!0,lx(n,r)},Jw.times=Jw.mul=function(t){var e,r,n,o,i,a,c,u,l,s=this,f=s.constructor,p=s.d,d=(t=new f(t)).d;if(!s.s||!t.s)return new f(0);for(t.s*=s.s,r=s.e+t.e,(u=p.length)<(l=d.length)&&(i=p,p=d,d=i,a=u,u=l,l=a),i=[],n=a=u+l;n--;)i.push(0);for(n=l;--n>=0;){for(e=0,o=u+n;o>n;)c=i[o]+d[n]*p[o-n-1]+e,i[o--]=c%Xw|0,e=c/Xw|0;i[o]=(i[o]+e)%Xw|0}for(;!i[--a];)i.pop();return e?++r:i.shift(),t.d=i,t.e=r,Hw?lx(t,f.precision):t},Jw.toDecimalPlaces=Jw.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(tx(t,0,zw),void 0===e?e=n.rounding:tx(e,0,8),lx(r,t+ox(r)+1,e))},Jw.toExponential=function(t,e){var r,n=this,o=n.constructor;return void 0===t?r=fx(n,!0):(tx(t,0,zw),void 0===e?e=o.rounding:tx(e,0,8),r=fx(n=lx(new o(n),t+1,e),!0,t+1)),r},Jw.toFixed=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?fx(o):(tx(t,0,zw),void 0===e?e=i.rounding:tx(e,0,8),r=fx((n=lx(new i(o),t+ox(o)+1,e)).abs(),!1,t+ox(n)+1),o.isneg()&&!o.isZero()?"-"+r:r)},Jw.toInteger=Jw.toint=function(){var t=this,e=t.constructor;return lx(new e(t),ox(t)+1,e.rounding)},Jw.toNumber=function(){return+this},Jw.toPower=Jw.pow=function(t){var e,r,n,o,i,a,c=this,u=c.constructor,l=+(t=new u(t));if(!t.s)return new u(Rw);if(!(c=new u(c)).s){if(t.s<1)throw Error(Fw+"Infinity");return c}if(c.eq(Rw))return c;if(n=u.precision,t.eq(Rw))return lx(c,n);if(a=(e=t.e)>=(r=t.d.length-1),i=c.s,a){if((r=l<0?-l:l)<=Gw){for(o=new u(Rw),e=Math.ceil(n/Kw+4),Hw=!1;r%2&&px((o=o.times(c)).d,e),0!==(r=Ww(r/2));)px((c=c.times(c)).d,e);return Hw=!0,t.s<0?new u(Rw).div(o):lx(o,n)}}else if(i<0)throw Error(Fw+"NaN");return i=i<0&&1&t.d[Math.max(e,r)]?-1:1,c.s=1,Hw=!1,o=t.times(cx(c,n+12)),Hw=!0,(o=nx(o)).s=i,o},Jw.toPrecision=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?n=fx(o,(r=ox(o))<=i.toExpNeg||r>=i.toExpPos):(tx(t,1,zw),void 0===e?e=i.rounding:tx(e,0,8),n=fx(o=lx(new i(o),t,e),t<=(r=ox(o))||r<=i.toExpNeg,t)),n},Jw.toSignificantDigits=Jw.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(tx(t,1,zw),void 0===e?e=r.rounding:tx(e,0,8)),lx(new r(this),t,e)},Jw.toString=Jw.valueOf=Jw.val=Jw.toJSON=Jw[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=ox(t),r=t.constructor;return fx(t,e<=r.toExpNeg||e>=r.toExpPos)};var rx=function(){function t(t,e){var r,n=0,o=t.length;for(t=t.slice();o--;)r=t[o]*e+n,t[o]=r%Xw|0,n=r/Xw|0;return n&&t.unshift(n),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=t[r]<e[r]?1:0,t[r]=n*Xw+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,o,i,a){var c,u,l,s,f,p,d,h,y,v,m,g,b,w,x,O,S,j,P=n.constructor,A=n.s==o.s?1:-1,M=n.d,k=o.d;if(!n.s)return new P(n);if(!o.s)throw Error(Fw+"Division by zero");for(u=n.e-o.e,S=k.length,x=M.length,h=(d=new P(A)).d=[],l=0;k[l]==(M[l]||0);)++l;if(k[l]>(M[l]||0)&&--u,(g=null==i?i=P.precision:a?i+(ox(n)-ox(o))+1:i)<0)return new P(0);if(g=g/Kw+2|0,l=0,1==S)for(s=0,k=k[0],g++;(l<x||s)&&g--;l++)b=s*Xw+(M[l]||0),h[l]=b/k|0,s=b%k|0;else{for((s=Xw/(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]>=Xw/2&&++O;do{s=0,(c=e(k,y,S,v))<0?(m=y[0],S!=v&&(m=m*Xw+(y[1]||0)),(s=m/O|0)>1?(s>=Xw&&(s=Xw-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]),h[l++]=s,c&&y[0]?y[v++]=M[w]||0:(y=[M[w]],v=1)}while((w++<x||void 0!==y[0])&&g--)}return h[0]||h.shift(),d.e=u,lx(d,a?i+ox(d)+1:i)}}();function nx(t,e){var r,n,o,i,a,c=0,u=0,l=t.constructor,s=l.precision;if(ox(t)>16)throw Error(Uw+ox(t));if(!t.s)return new l(Rw);for(null==e?(Hw=!1,a=s):a=e,i=new l(.03125);t.abs().gte(.1);)t=t.times(i),u+=5;for(a+=Math.log(qw(2,u))/Math.LN10*2+5|0,r=n=o=new l(Rw),l.precision=a;;){if(n=lx(n.times(t),a),r=r.times(++c),ex((i=o.plus(rx(n,r,a))).d).slice(0,a)===ex(o.d).slice(0,a)){for(;u--;)o=lx(o.times(o),a);return l.precision=s,null==e?(Hw=!0,lx(o,s)):o}o=i}}function ox(t){for(var e=t.e*Kw,r=t.d[0];r>=10;r/=10)e++;return e}function ix(t,e,r){if(e>t.LN10.sd())throw Hw=!0,r&&(t.precision=r),Error(Fw+"LN10 precision limit exceeded");return lx(new t(t.LN10),e)}function ax(t){for(var e="";t--;)e+="0";return e}function cx(t,e){var r,n,o,i,a,c,u,l,s,f=1,p=t,d=p.d,h=p.constructor,y=h.precision;if(p.s<1)throw Error(Fw+(p.s?"NaN":"-Infinity"));if(p.eq(Rw))return new h(0);if(null==e?(Hw=!1,l=y):l=e,p.eq(10))return null==e&&(Hw=!0),ix(h,l);if(l+=10,h.precision=l,n=(r=ex(d)).charAt(0),i=ox(p),!(Math.abs(i)<15e14))return u=ix(h,l+2,y).times(i+""),p=cx(new h(n+"."+r.slice(1)),l-10).plus(u),h.precision=y,null==e?(Hw=!0,lx(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=ex((p=p.times(t)).d)).charAt(0),f++;for(i=ox(p),n>1?(p=new h("0."+r),i++):p=new h(n+"."+r.slice(1)),c=a=p=rx(p.minus(Rw),p.plus(Rw),l),s=lx(p.times(p),l),o=3;;){if(a=lx(a.times(s),l),ex((u=c.plus(rx(a,new h(o),l))).d).slice(0,l)===ex(c.d).slice(0,l))return c=c.times(2),0!==i&&(c=c.plus(ix(h,l+2,y).times(i+""))),c=rx(c,new h(f),l),h.precision=y,null==e?(Hw=!0,lx(c,y)):c;c=u,o+=2}}function ux(t,e){var r,n,o;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(o=e.length;48===e.charCodeAt(o-1);)--o;if(e=e.slice(n,o)){if(o-=n,r=r-n-1,t.e=Ww(r/Kw),t.d=[],n=(r+1)%Kw,r<0&&(n+=Kw),n<o){for(n&&t.d.push(+e.slice(0,n)),o-=Kw;n<o;)t.d.push(+e.slice(n,n+=Kw));e=e.slice(n),n=Kw-e.length}else n-=o;for(;n--;)e+="0";if(t.d.push(+e),Hw&&(t.e>Zw||t.e<-Zw))throw Error(Uw+r)}else t.s=0,t.e=0,t.d=[0];return t}function lx(t,e,r){var n,o,i,a,c,u,l,s,f=t.d;for(a=1,i=f[0];i>=10;i/=10)a++;if((n=e-a)<0)n+=Kw,o=e,l=f[s=0];else{if((s=Math.ceil((n+1)/Kw))>=(i=f.length))return t;for(l=i=f[s],a=1;i>=10;i/=10)a++;o=(n%=Kw)-Kw+a}if(void 0!==r&&(c=l/(i=qw(10,a-o-1))%10|0,u=e<0||void 0!==f[s+1]||l%i,u=r<4?(c||u)&&(0==r||r==(t.s<0?3:2)):c>5||5==c&&(4==r||u||6==r&&(n>0?o>0?l/qw(10,a-o):0:f[s-1])%10&1||r==(t.s<0?8:7))),e<1||!f[0])return u?(i=ox(t),f.length=1,e=e-i-1,f[0]=qw(10,(Kw-e%Kw)%Kw),t.e=Ww(-e/Kw)||0):(f.length=1,f[0]=t.e=t.s=0),t;if(0==n?(f.length=s,i=1,s--):(f.length=s+1,i=qw(10,Kw-n),f[s]=o>0?(l/qw(10,a-o)%qw(10,o)|0)*i:0),u)for(;;){if(0==s){(f[0]+=i)==Xw&&(f[0]=1,++t.e);break}if(f[s]+=i,f[s]!=Xw)break;f[s--]=0,i=1}for(n=f.length;0===f[--n];)f.pop();if(Hw&&(t.e>Zw||t.e<-Zw))throw Error(Uw+ox(t));return t}function sx(t,e){var r,n,o,i,a,c,u,l,s,f,p=t.constructor,d=p.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new p(t),Hw?lx(e,d):e;if(u=t.d,f=e.d,n=e.e,l=t.e,u=u.slice(),a=l-n){for((s=a<0)?(r=u,a=-a,c=f.length):(r=f,n=l,c=u.length),a>(o=Math.max(Math.ceil(d/Kw),c)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((s=(o=u.length)<(c=f.length))&&(c=o),o=0;o<c;o++)if(u[o]!=f[o]){s=u[o]<f[o];break}a=0}for(s&&(r=u,u=f,f=r,e.s=-e.s),c=u.length,o=f.length-c;o>0;--o)u[c++]=0;for(o=f.length;o>a;){if(u[--o]<f[o]){for(i=o;i&&0===u[--i];)u[i]=Xw-1;--u[i],u[o]+=Xw}u[o]-=f[o]}for(;0===u[--c];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=n,Hw?lx(e,d):e):new p(0)}function fx(t,e,r){var n,o=ox(t),i=ex(t.d),a=i.length;return e?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+ax(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+ax(-o-1)+i,r&&(n=r-a)>0&&(i+=ax(n))):o>=a?(i+=ax(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+ax(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=ax(n))),t.s<0?"-"+i:i}function px(t,e){if(t.length>e)return t.length=e,!0}function dx(t){if(!t||"object"!=typeof t)throw Error(Fw+"Object expected");var e,r,n,o=["precision",1,zw,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<o.length;e+=3)if(void 0!==(n=t[r=o[e]])){if(!(Ww(n)===n&&n>=o[e+1]&&n<=o[e+2]))throw Error(Vw+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(Vw+r+": "+n);this[r]=new this(n)}return this}var hx=function t(e){var r,n,o;function i(t){var e=this;if(!(e instanceof i))return new i(t);if(e.constructor=i,t instanceof i)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"==typeof t){if(0*t!=0)throw Error(Vw+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])):ux(e,t.toString())}if("string"!=typeof t)throw Error(Vw+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!Yw.test(t))throw Error(Vw+t);ux(e,t)}if(i.prototype=Jw,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=t,i.config=i.set=dx,void 0===e&&(e={}),e)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<o.length;)e.hasOwnProperty(n=o[r++])||(e[n]=this[n]);return i.config(e),i}({precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"});Rw=new hx(1);var yx=hx;function vx(t){return function(t){if(Array.isArray(t))return mx(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 mx(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 mx(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 mx(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 gx=function(t){return t},bx={"@@functional/placeholder":!0},wx=function(t){return t===bx},xx=function(t){return function e(){return 0===arguments.length||1===arguments.length&&wx(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},Ox=function t(e,r){return 1===e?r:xx((function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.filter((function(t){return t!==bx})).length;return a>=e?r.apply(void 0,o):t(e-a,xx((function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=o.map((function(t){return wx(t)?e.shift():t}));return r.apply(void 0,vx(i).concat(e))})))}))},Sx=function(t){return Ox(t.length,t)},jx=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},Px=Sx((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),Ax=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return gx;var n=e.reverse(),o=n[0],i=n.slice(1);return function(){return i.reduce((function(t,e){return e(t)}),o.apply(void 0,arguments))}},Mx=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},kx=function(t){var e=null,r=null;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e&&o.every((function(t,r){return t===e[r]}))?r:(e=o,r=t.apply(void 0,o))}};var Ex=Sx((function(t,e,r){var n=+t;return n+r*(+e-n)})),Cx=Sx((function(t,e,r){var n=e-+t;return(r-t)/(n=n||1/0)})),_x=Sx((function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))})),Tx={rangeStep:function(t,e,r){for(var n=new yx(t),o=0,i=[];n.lt(e)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i},getDigitCount:function(t){return 0===t?1:Math.floor(new yx(t).abs().log(10).toNumber())+1},interpolateNumber:Ex,uninterpolateNumber:Cx,uninterpolateTruncation:_x};function Dx(t){return function(t){if(Array.isArray(t))return Lx(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Nx(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 Ix(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,o=!1,i=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){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(t,e)||Nx(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 Nx(t,e){if(t){if("string"==typeof t)return Lx(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)?Lx(t,e):void 0}}function Lx(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 Bx(t){var e=Ix(t,2),r=e[0],n=e[1],o=r,i=n;return r>n&&(o=n,i=r),[o,i]}function Rx(t,e,r){if(t.lte(0))return new yx(0);var n=Tx.getDigitCount(t.toNumber()),o=new yx(10).pow(n),i=t.div(o),a=1!==n?.05:.1,c=new yx(Math.ceil(i.div(a).toNumber())).add(r).mul(a).mul(o);return e?c:new yx(Math.ceil(c))}function $x(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(r-1)))return{step:new yx(0),tickMin:new yx(0),tickMax:new yx(0)};var i,a=Rx(new yx(e).sub(t).div(r-1),n,o);i=t<=0&&e>=0?new yx(0):(i=new yx(t).add(e).div(2)).sub(new yx(i).mod(a));var c=Math.ceil(i.sub(t).div(a).toNumber()),u=Math.ceil(new yx(e).sub(i).div(a).toNumber()),l=c+u+1;return l>r?$x(t,e,r,n,o+1):(l<r&&(u=e>0?u+(r-l):u,c=e>0?c:c+(r-l)),{step:a,tickMin:i.sub(new yx(c).mul(a)),tickMax:i.add(new yx(u).mul(a))})}var zx=kx((function(t){var e=Ix(t,2),r=e[0],n=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),c=Ix(Bx([r,n]),2),u=c[0],l=c[1];if(u===-1/0||l===1/0){var s=l===1/0?[u].concat(Dx(jx(0,o-1).map((function(){return 1/0})))):[].concat(Dx(jx(0,o-1).map((function(){return-1/0}))),[l]);return r>n?Mx(s):s}if(u===l)return function(t,e,r){var n=1,o=new yx(t);if(!o.isint()&&r){var i=Math.abs(t);i<1?(n=new yx(10).pow(Tx.getDigitCount(t)-1),o=new yx(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new yx(Math.floor(t)))}else 0===t?o=new yx(Math.floor((e-1)/2)):r||(o=new yx(Math.floor(t)));var a=Math.floor((e-1)/2);return Ax(Px((function(t){return o.add(new yx(t-a).mul(n)).toNumber()})),jx)(0,e)}(u,o,i);var f=$x(u,l,a,i),p=f.step,d=f.tickMin,h=f.tickMax,y=Tx.rangeStep(d,h.add(new yx(.1).mul(p)),p);return r>n?Mx(y):y})),Hx=kx((function(t,e){var r=Ix(t,2),n=r[0],o=r[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Ix(Bx([n,o]),2),c=a[0],u=a[1];if(c===-1/0||u===1/0)return[n,o];if(c===u)return[c];var l=Math.max(e,2),s=Rx(new yx(u).sub(c).div(l-1),i,0),f=[].concat(Dx(Tx.rangeStep(new yx(c),new yx(u).sub(new yx(.99).mul(s)),s)),[u]);return n>o?Mx(f):f})),Fx="production"===process.env.NODE_ENV,Vx="Invariant failed";function Ux(t,e){if(Fx)throw new Error(Vx);var r="function"==typeof e?e():e,n=r?"".concat(Vx,": ").concat(r):Vx;throw new Error(n)}var Wx=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];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 Yx(){return Yx=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},Yx.apply(this,arguments)}function Xx(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,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Kx(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 Kx(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 Kx(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 Gx(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Zx(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,nO(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Jx(t,e,r){return e=tO(e),function(t,e){if(e&&("object"===qx(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,Qx()?Reflect.construct(e,r||[],tO(t).constructor):e.apply(t,r))}function Qx(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Qx=function(){return!!t})()}function tO(t){return tO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},tO(t)}function eO(t,e){return eO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},eO(t,e)}function rO(t,e,r){return(e=nO(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nO(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:e+""}var oO=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Jx(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&eO(t,e)}(e,J.Component),Zx(e,[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,n=t.width,o=t.dataKey,i=t.data,a=t.dataPointFormatter,c=t.xAxis,u=t.yAxis,l=Gx(t,Wx),s=Ya(l,!1);"x"===this.props.direction&&"number"!==c.type&&("production"!==process.env.NODE_ENV?Ux(0,'ErrorBar requires Axis type property to be "number".'):Ux());var f=i.map((function(t){var i=a(t,o),l=i.x,f=i.y,p=i.value,d=i.errorVal;if(!d)return null;var h,y,v=[];if(Array.isArray(d)){var m=Xx(d,2);h=m[0],y=m[1]}else h=y=d;if("vertical"===r){var g=c.scale,b=f+e,w=b+n,x=b-n,O=g(p-h),S=g(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=u.scale,P=l+e,A=P-n,M=P+n,k=j(p-h),E=j(p+y);v.push({x1:A,y1:E,x2:M,y2:E}),v.push({x1:P,y1:k,x2:P,y2:E}),v.push({x1:A,y1:k,x2:M,y2:k})}return J.createElement(wc,Yx({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 J.createElement("line",Yx({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))})))}));return J.createElement(wc,{className:"recharts-errorBars"},f)}}])}();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 aO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function cO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?aO(Object(r),!0).forEach((function(e){uO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function uO(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:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}rO(oO,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),rO(oO,"displayName","ErrorBar");var lO=function(t){var e=t.children,r=t.formattedGraphicalItems,n=t.legendWidth,o=t.legendContent,i=Va(e,Pd);if(!i)return null;var a,c=Pd.defaultProps,u=void 0!==c?cO(cO({},c),i.props):{};return a=i.props&&i.props.payload?i.props&&i.props.payload:"children"===o?(r||[]).reduce((function(t,e){var r=e.item,n=e.props,o=n.sectors||n.data||[];return t.concat(o.map((function(t){return{type:i.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(r||[]).map((function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?cO(cO({},r),e.props):{},o=n.dataKey,i=n.name,a=n.legendType;return{inactive:n.hide,dataKey:o,type:u.iconType||a||"square",color:gO(e),value:i||o,payload:n}})),cO(cO(cO({},u),Pd.getWithHeight(i,n)),{},{payload:a,item:i})};function sO(t){return sO="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},sO(t)}function fO(t){return function(t){if(Array.isArray(t))return pO(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 pO(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 pO(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 pO(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 dO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function hO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dO(Object(r),!0).forEach((function(e){yO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=sO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sO(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vO(t,e,r){return Ki(t)||Ki(e)?r:ga(e)?qi(t,e,r):Qi(e)?e(t):r}function mO(t,e,r,n){var o=Bw(t,(function(t){return vO(t,e)}));if("number"===r){var i=o.filter((function(t){return ma(t)||parseFloat(t)}));return i.length?[Dw(i),Mw(i)]:[1/0,-1/0]}return(n?o.filter((function(t){return!Ki(t)})):o).map((function(t){return ga(t)||t instanceof Date?t:""}))}var gO=function(t){var e,r,n=t.type.displayName,o=null!==(e=t.type)&&void 0!==e&&e.defaultProps?hO(hO({},t.type.defaultProps),t.props):t.props,i=o.stroke,a=o.fill;switch(n){case"Line":r=i;break;case"Area":case"Radar":r=i&&"none"!==i?i:a;break;default:r=a}return r},bO=function(t,e,r,n,o){var i=Fa(e.props.children,oO).filter((function(t){return function(t,e,r){return!!Ki(e)||("horizontal"===t?"yAxis"===e:"vertical"===t||"x"===r?"xAxis"===e:"y"!==r||"yAxis"===e)}(n,o,t.props.direction)}));if(i&&i.length){var a=i.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var n=vO(e,r);if(Ki(n))return t;var o=Array.isArray(n)?[Dw(n),Mw(n)]:[n,n],i=a.reduce((function(t,r){var n=vO(e,r,0),i=o[0]-Math.abs(Array.isArray(n)?n[0]:n),a=o[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]}),[1/0,-1/0])}return null},wO=function(t,e,r,n,o){var i=e.map((function(e){var i=e.props.dataKey;return"number"===r&&i&&bO(t,e,i,n)||mO(t,i,r,o)}));if("number"===r)return i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var a={};return i.reduce((function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t}),[])},xO=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},OO=function(t,e,r){if(!t)return null;var n=t.scale,o=t.duplicateDomain,i=t.type,a=t.range,c="scaleBand"===t.realScaleType?n.bandwidth()/2:2,u=(e||r)&&"category"===i&&n.bandwidth?n.bandwidth()/c:0;return u="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*ya(a[0]-a[1])*u:u,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=o?o.indexOf(t):t;return{coordinate:n(e)+u,value:t,offset:u}})).filter((function(t){return!da(t.coordinate)})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:n(t)+u,value:t,index:e,offset:u}})):n.ticks&&!r?n.ticks(t.tickCount).map((function(t){return{coordinate:n(t)+u,value:t,offset:u}})):n.domain().map((function(t,e){return{coordinate:n(t)+u,value:o?o[t]:t,index:e,offset:u}}))},SO=new WeakMap,jO=function(t,e){if("function"!=typeof e)return t;SO.has(t)||SO.set(t,new WeakMap);var r=SO.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},PO=1e-4,AO={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0,a=0;a<e;++a){var c=da(t[a][r][1])?t[a][r][0]:t[a][r][1];c>=0?(t[a][r][0]=o,t[a][r][1]=o+c,o=t[a][r][1]):(t[a][r][0]=i,t[a][r][1]=i+c,i=t[a][r][1])}},expand:function(t,e){if((n=t.length)>0){for(var r,n,o,i=0,a=t[0].length;i<a;++i){for(o=r=0;r<n;++r)o+=t[r][i][1]||0;if(o)for(r=0;r<n;++r)t[r][i][1]/=o}ku(t,e)}},none:ku,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,o=t[e[0]],i=o.length;n<i;++n){for(var a=0,c=0;a<r;++a)c+=t[a][n][1]||0;o[n][1]+=o[n][0]=-c/2}ku(t,e)}},wiggle:function(t,e){if((o=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,o,i=0,a=1;a<n;++a){for(var c=0,u=0,l=0;c<o;++c){for(var s=t[e[c]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,d=0;d<c;++d){var h=t[e[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}u+=f,l+=p*f}r[a-1][1]+=r[a-1][0]=i,u&&(i-=l/u)}r[a-1][1]+=r[a-1][0]=i,ku(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 o=0,i=0;i<e;++i){var a=da(t[i][r][1])?t[i][r][0]:t[i][r][1];a>=0?(t[i][r][0]=o,t[i][r][1]=o+a,o=t[i][r][1]):(t[i][r][0]=0,t[i][r][1]=0)}}},MO=function(t,e,r){var n=e.map((function(t){return t.props.dataKey})),o=AO[r],i=function(){var t=kc([]),e=Eu,r=ku,n=Cu;function o(o){var i,a,c=Array.from(t.apply(this,arguments),_u),u=c.length,l=-1;for(const t of o)for(i=0,++l;i<u;++i)(c[i][l]=[0,+n(t,c[i].key,l,o)]).data=t;for(i=0,a=Hc(e(c));i<u;++i)c[a[i]].index=i;return r(c,a),c}return o.keys=function(e){return arguments.length?(t="function"==typeof e?e:kc(Array.from(e)),o):t},o.value=function(t){return arguments.length?(n="function"==typeof t?t:kc(+t),o):n},o.order=function(t){return arguments.length?(e=null==t?Eu:"function"==typeof t?t:kc(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(r=null==t?ku:t,o):r},o}().keys(n).value((function(t,e){return+vO(t,e,0)})).order(Eu).offset(o);return i(t)};function kO(t){var e=t.axis,r=t.ticks,n=t.bandSize,o=t.entry,i=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!Ki(o[e.dataKey])){var c=ja(r,"value",o[e.dataKey]);if(c)return c.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var u=vO(o,Ki(a)?e.dataKey:a);return Ki(u)?null:e.scale(u)}var EO=function(t){var e=t.axis,r=t.ticks,n=t.offset,o=t.bandSize,i=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var c=vO(i,e.dataKey,e.domain[a]);return Ki(c)?null:e.scale(c)-o/2+n},CO=function(t,e,r){return Object.keys(t).reduce((function(n,o){var i=t[o].stackedData.reduce((function(t,n){var o=n.slice(e,r+1).reduce((function(t,e){return[Dw(e.concat([t[0]]).filter(ma)),Mw(e.concat([t[1]]).filter(ma))]}),[1/0,-1/0]);return[Math.min(t[0],o[0]),Math.max(t[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],n[0]),Math.max(i[1],n[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},_O=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,TO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,DO=function(t,e,r){if(Qi(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if(ma(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(_O.test(t[0])){var o=+_O.exec(t[0])[1];n[0]=e[0]-o}else Qi(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if(ma(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(TO.test(t[1])){var i=+TO.exec(t[1])[1];n[1]=e[1]+i}else Qi(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},IO=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var o=$d(e,(function(t){return t.coordinate})),i=1/0,a=1,c=o.length;a<c;a++){var u=o[a],l=o[a-1];i=Math.min((u.coordinate||0)-(l.coordinate||0),i)}return i===1/0?0:i}return r?void 0:0},NO=function(t,e,r){return t&&t.length?$w(t,qi(r,"type.defaultProps.domain"))?e:t:e},LO=function(t,e){var r=t.type.defaultProps?hO(hO({},t.type.defaultProps),t.props):t.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,c=r.tooltipType,u=r.chartType,l=r.hide;return hO(hO({},Ya(t,!1)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:gO(t),value:vO(e,n),type:c,payload:e,chartType:u,hide:l})};function BO(t){return BO="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},BO(t)}function RO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?RO(Object(r),!0).forEach((function(e){zO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):RO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function zO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=BO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=BO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==BO(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var HO=Math.PI/180,FO=function(t){return 180*t/Math.PI},VO=function(t,e,r,n){return{x:t+Math.cos(-HO*n)*r,y:e+Math.sin(-HO*n)*r}},UO=function(t,e){var r=t.x,n=t.y,o=e.cx,i=e.cy,a=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return Math.sqrt(Math.pow(r-o,2)+Math.pow(n-i,2))}({x:r,y:n},{x:o,y:i});if(a<=0)return{radius:a};var c=(r-o)/a,u=Math.acos(c);return n>i&&(u=2*Math.PI-u),{radius:a,angle:FO(u),angleInRadian:u}},WO=function(t,e){var r=e.startAngle,n=e.endAngle,o=Math.floor(r/360),i=Math.floor(n/360);return t+360*Math.min(o,i)},qO=function(t,e){var r=t.x,n=t.y,o=UO({x:r,y:n},e),i=o.radius,a=o.angle,c=e.innerRadius,u=e.outerRadius;if(i<c||i>u)return!1;if(0===i)return!0;var l,s=function(t){var e=t.startAngle,r=t.endAngle,n=Math.floor(e/360),o=Math.floor(r/360),i=Math.min(n,o);return{startAngle:e-360*i,endAngle:r-360*i}}(e),f=s.startAngle,p=s.endAngle,d=a;if(f<=p){for(;d>p;)d-=360;for(;d<f;)d+=360;l=d>=f&&d<=p}else{for(;d>f;)d-=360;for(;d<p;)d+=360;l=d>=p&&d<=f}return l?$O($O({},e),{},{radius:i,angle:WO(d,e)}):null};function YO(t){return YO="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},YO(t)}var XO=["offset"];function KO(t){return function(t){if(Array.isArray(t))return GO(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 GO(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 GO(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 GO(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 ZO(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function JO(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 QO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?JO(Object(r),!0).forEach((function(e){tS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):JO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function tS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=YO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=YO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==YO(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function eS(){return eS=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},eS.apply(this,arguments)}var rS=function(t){var e=t.value,r=t.formatter,n=Ki(t.children)?e:t.children;return Qi(r)?r(n):n},nS=function(t,e,r){var n,o,i=t.position,a=t.viewBox,c=t.offset,u=t.className,l=a,s=l.cx,f=l.cy,p=l.innerRadius,d=l.outerRadius,h=l.startAngle,y=l.endAngle,v=l.clockWise,m=(p+d)/2,g=function(t,e){return ya(e-t)*Math.min(Math.abs(e-t),360)}(h,y),b=g>=0?1:-1;"insideStart"===i?(n=h+b*c,o=v):"insideEnd"===i?(n=y-b*c,o=!v):"end"===i&&(n=y+b*c,o=v),o=g<=0?o:!o;var w=VO(s,f,m,n),x=VO(s,f,m,n+359*(o?1:-1)),O="M".concat(w.x,",").concat(w.y,"\n A").concat(m,",").concat(m,",0,1,").concat(o?0:1,",\n ").concat(x.x,",").concat(x.y),S=Ki(t.id)?wa("recharts-radial-line-"):t.id;return J.createElement("text",eS({},r,{dominantBaseline:"central",className:mn("recharts-radial-bar-label",u)}),J.createElement("defs",null,J.createElement("path",{id:S,d:O})),J.createElement("textPath",{xlinkHref:"#".concat(S)},e))},oS=function(t){var e=t.viewBox,r=t.offset,n=t.position,o=e,i=o.cx,a=o.cy,c=o.innerRadius,u=o.outerRadius,l=(o.startAngle+o.endAngle)/2;if("outside"===n){var s=VO(i,a,u+r,l),f=s.x;return{x:f,y:s.y,textAnchor:f>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=VO(i,a,(c+u)/2,l);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},iS=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,i=e,a=i.x,c=i.y,u=i.width,l=i.height,s=l>=0?1:-1,f=s*n,p=s>0?"end":"start",d=s>0?"start":"end",h=u>=0?1:-1,y=h*n,v=h>0?"end":"start",m=h>0?"start":"end";if("top"===o)return QO(QO({},{x:a+u/2,y:c-s*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(c-r.y,0),width:u}:{});if("bottom"===o)return QO(QO({},{x:a+u/2,y:c+l+f,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(r.y+r.height-(c+l),0),width:u}:{});if("left"===o){var g={x:a-y,y:c+l/2,textAnchor:v,verticalAnchor:"middle"};return QO(QO({},g),r?{width:Math.max(g.x-r.x,0),height:l}:{})}if("right"===o){var b={x:a+u+y,y:c+l/2,textAnchor:m,verticalAnchor:"middle"};return QO(QO({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:l}:{})}var w=r?{width:u,height:l}:{};return"insideLeft"===o?QO({x:a+y,y:c+l/2,textAnchor:m,verticalAnchor:"middle"},w):"insideRight"===o?QO({x:a+u-y,y:c+l/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===o?QO({x:a+u/2,y:c+f,textAnchor:"middle",verticalAnchor:d},w):"insideBottom"===o?QO({x:a+u/2,y:c+l-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===o?QO({x:a+y,y:c+f,textAnchor:m,verticalAnchor:d},w):"insideTopRight"===o?QO({x:a+u-y,y:c+f,textAnchor:v,verticalAnchor:d},w):"insideBottomLeft"===o?QO({x:a+y,y:c+l-f,textAnchor:m,verticalAnchor:p},w):"insideBottomRight"===o?QO({x:a+u-y,y:c+l-f,textAnchor:v,verticalAnchor:p},w):ta(o)&&(ma(o.x)||va(o.x))&&(ma(o.y)||va(o.y))?QO({x:a+xa(o.x,u),y:c+xa(o.y,l),textAnchor:"end",verticalAnchor:"end"},w):QO({x:a+u/2,y:c+l/2,textAnchor:"middle",verticalAnchor:"middle"},w)},aS=function(t){return"cx"in t&&ma(t.cx)};function cS(t){var e,r=t.offset,n=QO({offset:void 0===r?5:r},ZO(t,XO)),o=n.viewBox,i=n.position,a=n.value,c=n.children,u=n.content,l=n.className,s=void 0===l?"":l,f=n.textBreakAll;if(!o||Ki(a)&&Ki(c)&&!Q(u)&&!Qi(u))return null;if(Q(u))return lt(u,n);if(Qi(u)){if(Q(e=st(u,n)))return e}else e=rS(n);var p=aS(o),d=Ya(n,!0);if(p&&("insideStart"===i||"insideEnd"===i||"end"===i))return nS(n,e,d);var h=p?oS(n):iS(n);return J.createElement(Ty,eS({className:mn("recharts-label",s)},d,h,{breakAll:f}),e)}cS.displayName="Label";var uS,lS,sS=function(t){var e=t.cx,r=t.cy,n=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,c=t.radius,u=t.innerRadius,l=t.outerRadius,s=t.x,f=t.y,p=t.top,d=t.left,h=t.width,y=t.height,v=t.clockWise,m=t.labelViewBox;if(m)return m;if(ma(h)&&ma(y)){if(ma(s)&&ma(f))return{x:s,y:f,width:h,height:y};if(ma(p)&&ma(d))return{x:p,y:d,width:h,height:y}}return ma(s)&&ma(f)?{x:s,y:f,width:0,height:0}:ma(e)&&ma(r)?{cx:e,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:u||0,outerRadius:l||c||a||0,clockWise:v}:t.viewBox?t.viewBox:{}};cS.parseViewBox=sS,cS.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,o=sS(t),i=Fa(n,cS).map((function(t,r){return lt(t,{viewBox:e||o,key:"label-".concat(r)})}));if(!r)return i;var a=function(t,e){return t?!0===t?J.createElement(cS,{key:"label-implicit",viewBox:e}):ga(t)?J.createElement(cS,{key:"label-implicit",viewBox:e,value:t}):Q(t)?t.type===cS?lt(t,{key:"label-implicit",viewBox:e}):J.createElement(cS,{key:"label-implicit",content:t,viewBox:e}):Qi(t)?J.createElement(cS,{key:"label-implicit",content:t,viewBox:e}):ta(t)?J.createElement(cS,eS({viewBox:e},t,{key:"label-implicit"})):null:null}(t.label,e||o);return[a].concat(KO(i))};var fS=(lS||(lS=1,uS=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}),uS),pS=Ze(fS);function dS(t){return dS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dS(t)}var hS=["valueAccessor"],yS=["data","dataKey","clockWise","id","textBreakAll"];function vS(t){return function(t){if(Array.isArray(t))return mS(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 mS(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 mS(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 mS(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function gS(){return gS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},gS.apply(this,arguments)}function 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"!=dS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dS(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function OS(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var SS=function(t){return Array.isArray(t.value)?pS(t.value):t.value};function jS(t){var e=t.valueAccessor,r=void 0===e?SS:e,n=OS(t,hS),o=n.data,i=n.dataKey,a=n.clockWise,c=n.id,u=n.textBreakAll,l=OS(n,yS);return o&&o.length?J.createElement(wc,{className:"recharts-label-list"},o.map((function(t,e){var n=Ki(i)?r(t,e):vO(t&&t.payload,i),o=Ki(c)?{}:{id:"".concat(c,"-").concat(e)};return J.createElement(cS,gS({},Ya(t,!0),l,o,{parentViewBox:t.parentViewBox,value:n,textBreakAll:u,viewBox:cS.parseViewBox(Ki(a)?t:wS(wS({},t),{},{clockWise:a})),key:"label-".concat(e),index:e}))}))):null}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 AS(){return AS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},AS.apply(this,arguments)}function MS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function kS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?MS(Object(r),!0).forEach((function(e){ES(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ES(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:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}jS.displayName="LabelList",jS.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,jS).map((function(t,r){return lt(t,{data:e,key:"labelList-".concat(r)})}));return r?[function(t,e){return t?!0===t?J.createElement(jS,{key:"labelList-implicit",data:e}):J.isValidElement(t)||Qi(t)?J.createElement(jS,{key:"labelList-implicit",data:e,content:t}):ta(t)?J.createElement(jS,gS({data:e},t,{key:"labelList-implicit"})):null:null}(t.label,e)].concat(vS(n)):n};var CS=function(t){var e=t.cx,r=t.cy,n=t.radius,o=t.angle,i=t.sign,a=t.isExternal,c=t.cornerRadius,u=t.cornerIsExternal,l=c*(a?1:-1)+n,s=Math.asin(c/l)/HO,f=u?o:o+i*s,p=u?o-i*s:o;return{center:VO(e,r,l,f),circleTangency:VO(e,r,n,f),lineTangency:VO(e,r,l*Math.cos(s*HO),p),theta:s}},_S=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=function(t,e){return ya(e-t)*Math.min(Math.abs(e-t),359.999)}(i,t.endAngle),c=i+a,u=VO(e,r,o,i),l=VO(e,r,o,c),s="M ".concat(u.x,",").concat(u.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i>c),",\n ").concat(l.x,",").concat(l.y,"\n ");if(n>0){var f=VO(e,r,n,i),p=VO(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(+(i<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else s+="L ".concat(e,",").concat(r," Z");return s},TS={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},DS=function(t){var e=kS(kS({},TS),t),r=e.cx,n=e.cy,o=e.innerRadius,i=e.outerRadius,a=e.cornerRadius,c=e.forceCornerRadius,u=e.cornerIsExternal,l=e.startAngle,s=e.endAngle,f=e.className;if(i<o||l===s)return null;var p,d=mn("recharts-sector",f),h=i-o,y=xa(a,h,0,!0);return p=y>0&&Math.abs(l-s)<360?function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,l=t.endAngle,s=ya(l-u),f=CS({cx:e,cy:r,radius:o,angle:u,sign:s,cornerRadius:i,cornerIsExternal:c}),p=f.circleTangency,d=f.lineTangency,h=f.theta,y=CS({cx:e,cy:r,radius:o,angle:l,sign:-s,cornerRadius:i,cornerIsExternal:c}),v=y.circleTangency,m=y.lineTangency,g=y.theta,b=c?Math.abs(u-l):Math.abs(u-l)-h-g;if(b<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n "):_S({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:u,endAngle:l});var w="M ".concat(d.x,",").concat(d.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n A").concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(s<0),",").concat(v.x,",").concat(v.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(m.x,",").concat(m.y,"\n ");if(n>0){var x=CS({cx:e,cy:r,radius:n,angle:u,sign:s,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),O=x.circleTangency,S=x.lineTangency,j=x.theta,P=CS({cx:e,cy:r,radius:n,angle:l,sign:-s,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),A=P.circleTangency,M=P.lineTangency,k=P.theta,E=c?Math.abs(u-l):Math.abs(u-l)-j-k;if(E<0&&0===i)return"".concat(w,"L").concat(e,",").concat(r,"Z");w+="L".concat(M.x,",").concat(M.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(A.x,",").concat(A.y,"\n A").concat(n,",").concat(n,",0,").concat(+(E>180),",").concat(+(s>0),",").concat(O.x,",").concat(O.y,"\n A").concat(i,",").concat(i,",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:o,outerRadius:i,cornerRadius:Math.min(y,h/2),forceCornerRadius:c,cornerIsExternal:u,startAngle:l,endAngle:s}):_S({cx:r,cy:n,innerRadius:o,outerRadius:i,startAngle:l,endAngle:s}),J.createElement("path",AS({},Ya(e,!0),{className:d,d:p,role:"img"}))};function IS(t){return IS="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},IS(t)}function NS(){return NS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},NS.apply(this,arguments)}function LS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function BS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?LS(Object(r),!0).forEach((function(e){RS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):LS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function RS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=IS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=IS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==IS(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $S,zS={curveBasisClosed:function(t){return new yu(t)},curveBasisOpen:function(t){return new vu(t)},curveBasis:function(t){return new hu(t)},curveBumpX:function(t){return new Xc(t,!0)},curveBumpY:function(t){return new Xc(t,!1)},curveLinearClosed:function(t){return new mu(t)},curveLinear:Vc,curveMonotoneX:function(t){return new Ou(t)},curveMonotoneY:function(t){return new Su(t)},curveNatural:function(t){return new Pu(t)},curveStep:function(t){return new Mu(t,.5)},curveStepAfter:function(t){return new Mu(t,1)},curveStepBefore:function(t){return new Mu(t,0)}},HS=function(t){return t.x===+t.x&&t.y===+t.y},FS=function(t){return t.x},VS=function(t){return t.y},US=function(t){var e,r=t.type,n=void 0===r?"linear":r,o=t.points,i=void 0===o?[]:o,a=t.baseLine,c=t.layout,u=t.connectNulls,l=void 0!==u&&u,s=function(t,e){if(Qi(t))return t;var r="curve".concat(Mc(t));return"curveMonotone"!==r&&"curveBump"!==r||!e?zS[r]||Vc:zS["".concat(r).concat("vertical"===e?"Y":"X")]}(n,c),f=l?i.filter((function(t){return HS(t)})):i;if(Array.isArray(a)){var p=l?a.filter((function(t){return HS(t)})):a,d=f.map((function(t,e){return BS(BS({},t),{},{base:p[e]})}));return(e="vertical"===c?Yc().y(VS).x1(FS).x0((function(t){return t.base.x})):Yc().x(FS).y1(VS).y0((function(t){return t.base.y}))).defined(HS).curve(s),e(d)}return(e="vertical"===c&&ma(a)?Yc().y(VS).x1(FS).x0(a):ma(a)?Yc().x(FS).y1(VS).y0(a):qc().x(FS).y(VS)).defined(HS).curve(s),e(f)},WS=function(t){var e=t.className,r=t.points,n=t.path,o=t.pathRef;if(!(r&&r.length||n))return null;var i=r&&r.length?US(t):n;return J.createElement("path",NS({},Ya(t,!1),_a(t),{className:mn("recharts-curve",e),d:i,ref:o}))},qS={exports:{}},YS={exports:{}},XS={};var KS,GS,ZS,JS,QS,tj,ej,rj,nj,oj,ij,aj,cj,uj,lj,sj={};
10
19
  /** @license React v16.13.1
11
20
  * react-is.development.js
12
21
  *
@@ -14,8 +23,13 @@ var cr={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,patte
14
23
  *
15
24
  * This source code is licensed under the MIT license found in the
16
25
  * LICENSE file in the root directory of this source tree.
17
- */"production"===process.env.NODE_ENV?Wo.exports=function(){if(Fo)return qo;Fo=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 qo.AsyncMode=l,qo.ConcurrentMode=u,qo.ContextConsumer=c,qo.ContextProvider=a,qo.Element=e,qo.ForwardRef=s,qo.Fragment=n,qo.Lazy=d,qo.Memo=h,qo.Portal=r,qo.Profiler=o,qo.StrictMode=i,qo.Suspense=f,qo.isAsyncMode=function(t){return w(t)||b(t)===l},qo.isConcurrentMode=w,qo.isContextConsumer=function(t){return b(t)===c},qo.isContextProvider=function(t){return b(t)===a},qo.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},qo.isForwardRef=function(t){return b(t)===s},qo.isFragment=function(t){return b(t)===n},qo.isLazy=function(t){return b(t)===d},qo.isMemo=function(t){return b(t)===h},qo.isPortal=function(t){return b(t)===r},qo.isProfiler=function(t){return b(t)===o},qo.isStrictMode=function(t){return b(t)===i},qo.isSuspense=function(t){return b(t)===f},qo.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)},qo.typeOf=b,qo}():Wo.exports=(Yo||(Yo=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}Xo.AsyncMode=w,Xo.ConcurrentMode=x,Xo.ContextConsumer=O,Xo.ContextProvider=S,Xo.Element=j,Xo.ForwardRef=A,Xo.Fragment=P,Xo.Lazy=M,Xo.Memo=k,Xo.Portal=E,Xo.Profiler=C,Xo.StrictMode=_,Xo.Suspense=T,Xo.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},Xo.isConcurrentMode=I,Xo.isContextConsumer=function(t){return b(t)===c},Xo.isContextProvider=function(t){return b(t)===a},Xo.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},Xo.isForwardRef=function(t){return b(t)===s},Xo.isFragment=function(t){return b(t)===n},Xo.isLazy=function(t){return b(t)===d},Xo.isMemo=function(t){return b(t)===h},Xo.isPortal=function(t){return b(t)===r},Xo.isProfiler=function(t){return b(t)===o},Xo.isStrictMode=function(t){return b(t)===i},Xo.isSuspense=function(t){return b(t)===f},Xo.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)},Xo.typeOf=b}()),Xo);var Ko=Wo.exports,Go=En,Zo=Cn;var Jo=function(t){return"number"==typeof t||Zo(t)&&"[object Number]"==Go(t)},Qo=Ze(Jo),ta=Jo;var ea=Ze((function(t){return ta(t)&&t!=+t})),ra=function(t){return 0===t?0:t>0?1:-1},na=function(t){return Uo(t)&&t.indexOf("%")===t.length-1},ia=function(t){return Qo(t)&&!ea(t)},oa=function(t){return ia(t)||Uo(t)},aa=0,ca=function(t){var e=++aa;return"".concat(t||"").concat(e)},la=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(!ia(t)&&!Uo(t))return n;if(na(t)){var o=t.indexOf("%");r=e*parseFloat(t.slice(0,o))/100}else r=+t;return ea(r)&&(r=n),i&&r>e&&(r=e),r},ua=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},sa=function(t,e){return ia(t)&&ia(e)?function(r){return t+r*(e-t)}:function(){return e}};function fa(t,e,r){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):Ro(t,e))===r})):null}function pa(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 ha(t){return ha="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ha(t)}var da=["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"],ya=["points","pathLength"],va={svg:["viewBox","children"],polygon:ya,polyline:ya},ga=["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"],ma=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if(Q(t)&&(r=t.props),!$n(r))return null;var n={};return Object.keys(r).forEach((function(t){ga.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})})),n},ba=function(t,e,r){if(!$n(t)||"object"!==ha(t))return null;var n=null;return Object.keys(t).forEach((function(i){var o=t[i];ga.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},wa=["children"],xa=["children"];function Oa(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function Sa(t){return Sa="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},Sa(t)}var ja={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},Aa=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},Pa=null,Ma=null,ka=function t(e){if(e===Pa&&Array.isArray(Ma))return Ma;var r=[];return tt.forEach(e,(function(e){zo(e)||(Ko.isFragment(e)?r=r.concat(t(e.props.children)):r.push(e))})),Ma=r,Pa=e,r};function Ea(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map((function(t){return Aa(t)})):[Aa(e)],ka(t).forEach((function(t){var e=Ro(t,"type.displayName")||Ro(t,"type.name");-1!==n.indexOf(e)&&r.push(t)})),r}function Ca(t,e){var r=Ea(t,e);return r&&r[0]}var _a=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!ia(r)||r<=0||!ia(n)||n<=0)},Ta=["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"],Da=function(t){return t&&"object"===Sa(t)&&"cx"in t&&"cy"in t&&"r"in t},Ia=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if(Q(t)&&(n=t.props),!$n(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==va?void 0:va[n])&&void 0!==i?i:[];return!Wn(t)&&(n&&o.includes(e)||da.includes(e))||r&&ga.includes(e)})(null===(o=n)||void 0===o?void 0:o[t],t,e,r)&&(i[t]=n[t])})),i},Na=function t(e,r){if(e===r)return!0;var n=tt.count(e);if(n!==tt.count(r))return!1;if(0===n)return!0;if(1===n)return La(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(!La(o,a))return!1}return!0},La=function(t,e){if(zo(t)&&zo(e))return!0;if(!zo(t)&&!zo(e)){var r=t.props||{},n=r.children,i=Oa(r,wa),o=e.props||{},a=o.children,c=Oa(o,xa);return n&&a?pa(i,c)&&Na(n,a):!n&&!a&&pa(i,c)}return!1},Ba=function(t,e){var r=[],n={};return ka(t).forEach((function(t,i){if(function(t){return t&&t.type&&Uo(t.type)&&Ta.indexOf(t.type)>=0}(t))r.push(t);else if(t){var o=Aa(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},Ra=["children","width","height","viewBox","className","style","title","desc"];function za(){return za=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},za.apply(this,arguments)}function $a(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 Ha(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=$a(t,Ra),s=i||{width:r,height:n,x:0,y:0},f=pn("recharts-surface",o);return J.createElement("svg",za({},Ia(u,!0,"svg"),{className:f,width:r,height:n,style:a,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height)}),J.createElement("title",null,c),J.createElement("desc",null,l),e)}var Va=["children","className"];function Fa(){return Fa=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},Fa.apply(this,arguments)}function Ua(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 Wa=J.forwardRef((function(t,e){var r=t.children,n=t.className,i=Ua(t,Va),o=pn("recharts-layer",n);return J.createElement("g",Fa({className:o},Ia(i,!0),{ref:e}),r)})),qa="production"!==process.env.NODE_ENV,Ya=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(qa&&"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 Xa=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},Ka=Xa;var Ga=function(t,e,r){var n=t.length;return r=void 0===r?n:r,!e&&r>=n?t:Ka(t,e,r)},Za=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Ja=function(t){return Za.test(t)};var Qa=function(t){return t.split("")},tc="\\ud800-\\udfff",ec="["+tc+"]",rc="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",nc="\\ud83c[\\udffb-\\udfff]",ic="[^"+tc+"]",oc="(?:\\ud83c[\\udde6-\\uddff]){2}",ac="[\\ud800-\\udbff][\\udc00-\\udfff]",cc="(?:"+rc+"|"+nc+")"+"?",lc="[\\ufe0e\\ufe0f]?",uc=lc+cc+("(?:\\u200d(?:"+[ic,oc,ac].join("|")+")"+lc+cc+")*"),sc="(?:"+[ic+rc+"?",rc,oc,ac,ec].join("|")+")",fc=RegExp(nc+"(?="+nc+")|"+sc+uc,"g");var pc=function(t){return t.match(fc)||[]},hc=Qa,dc=Ja,yc=pc;var vc=function(t){return dc(t)?yc(t):hc(t)},gc=Ga,mc=Ja,bc=vc,wc=Ao;var xc=function(t){return function(e){e=wc(e);var r=mc(e)?bc(e):void 0,n=r?r[0]:e.charAt(0),i=r?gc(r,1).join(""):e.slice(1);return n[t]()+i}},Oc=Ze(xc("toUpperCase"));function Sc(t){return function(){return t}}const jc=Math.cos,Ac=Math.sin,Pc=Math.sqrt,Mc=Math.PI,kc=2*Mc,Ec=Math.PI,Cc=2*Ec,_c=1e-6,Tc=Cc-_c;function Dc(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class Ic{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?Dc:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Dc;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>_c)if(Math.abs(s*c-l*u)>_c&&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((Ec-Math.acos((d+f-y)/(2*v*g)))/2),b=m/g,w=m/v;Math.abs(b-1)>_c&&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)>_c||Math.abs(this._y1-u)>_c)&&this._append`L${l},${u}`,r&&(f<0&&(f=f%Cc+Cc),f>Tc?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>_c&&this._append`A${r},${r},0,${+(f>=Ec)},${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 Nc(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 Ic(e)}function Lc(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Bc(t){this._context=t}function Rc(t){return new Bc(t)}function zc(t){return t[0]}function $c(t){return t[1]}function Hc(t,e){var r=Sc(!0),n=null,i=Rc,o=null,a=Nc(c);function c(c){var l,u,s,f=(c=Lc(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?zc:Sc(t),e="function"==typeof e?e:void 0===e?$c:Sc(e),c.x=function(e){return arguments.length?(t="function"==typeof e?e:Sc(+e),c):t},c.y=function(t){return arguments.length?(e="function"==typeof t?t:Sc(+t),c):e},c.defined=function(t){return arguments.length?(r="function"==typeof t?t:Sc(!!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 Vc(t,e,r){var n=null,i=Sc(!0),o=null,a=Rc,c=null,l=Nc(u);function u(u){var s,f,p,h,d,y=(u=Lc(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 Hc().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?zc:Sc(+t),e="function"==typeof e?e:Sc(void 0===e?0:+e),r="function"==typeof r?r:void 0===r?$c:Sc(+r),u.x=function(e){return arguments.length?(t="function"==typeof e?e:Sc(+e),n=null,u):t},u.x0=function(e){return arguments.length?(t="function"==typeof e?e:Sc(+e),u):t},u.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Sc(+t),u):n},u.y=function(t){return arguments.length?(e="function"==typeof t?t:Sc(+t),r=null,u):e},u.y0=function(t){return arguments.length?(e="function"==typeof t?t:Sc(+t),u):e},u.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Sc(+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:Sc(!!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 Fc{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 Uc={draw(t,e){const r=Pc(e/Mc);t.moveTo(r,0),t.arc(0,0,r,0,kc)}},Wc={draw(t,e){const r=Pc(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 qc=Pc(1/3),Yc=2*qc;var Xc={draw(t,e){const r=Pc(e/Yc),n=r*qc;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},Kc={draw(t,e){const r=Pc(e),n=-r/2;t.rect(n,n,r,r)}};const Gc=Ac(Mc/10)/Ac(7*Mc/10),Zc=Ac(kc/10)*Gc,Jc=-jc(kc/10)*Gc;var Qc={draw(t,e){const r=Pc(.8908130915292852*e),n=Zc*r,i=Jc*r;t.moveTo(0,-r),t.lineTo(n,i);for(let e=1;e<5;++e){const o=kc*e/5,a=jc(o),c=Ac(o);t.lineTo(c*r,-a*r),t.lineTo(a*n-c*i,c*n+a*i)}t.closePath()}};const tl=Pc(3);var el={draw(t,e){const r=-Pc(e/(3*tl));t.moveTo(0,2*r),t.lineTo(-tl*r,-r),t.lineTo(tl*r,-r),t.closePath()}};const rl=-.5,nl=Pc(3)/2,il=1/Pc(12),ol=3*(il/2+1);var al={draw(t,e){const r=Pc(e/ol),n=r/2,i=r*il,o=n,a=r*il+r,c=-o,l=a;t.moveTo(n,i),t.lineTo(o,a),t.lineTo(c,l),t.lineTo(rl*n-nl*i,nl*n+rl*i),t.lineTo(rl*o-nl*a,nl*o+rl*a),t.lineTo(rl*c-nl*l,nl*c+rl*l),t.lineTo(rl*n+nl*i,rl*i-nl*n),t.lineTo(rl*o+nl*a,rl*a-nl*o),t.lineTo(rl*c+nl*l,rl*l-nl*c),t.closePath()}};function cl(){}function ll(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 ul(t){this._context=t}function sl(t){this._context=t}function fl(t){this._context=t}function pl(t){this._context=t}function hl(t){return t<0?-1:1}function dl(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(hl(o)+hl(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function yl(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function vl(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 gl(t){this._context=t}function ml(t){this._context=new bl(t)}function bl(t){this._context=t}function wl(t){this._context=t}function xl(t){var e,r,n=t.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/o[e-1],o[e]-=r,a[e]-=r*a[e-1];for(i[n-1]=a[n-1]/o[n-1],e=n-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function Ol(t,e){this._context=t,this._t=e}function Sl(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 jl(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function Al(t,e){return t[e]}function Pl(t){const e=[];return e.key=t,e}function Ml(t){return Ml="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},Ml(t)}ul.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:ll(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:ll(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},sl.prototype={areaStart:cl,areaEnd:cl,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:ll(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},fl.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:ll(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},pl.prototype={areaStart:cl,areaEnd:cl,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))}},gl.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:vl(this,this._t0,yl(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,vl(this,yl(this,r=dl(this,t,e)),r);break;default:vl(this,this._t0,r=dl(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(ml.prototype=Object.create(gl.prototype)).point=function(t,e){gl.prototype.point.call(this,e,t)},bl.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)}},wl.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=xl(t),i=xl(e),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},Ol.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var kl=["type","size","sizeType"];function El(){return El=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},El.apply(this,arguments)}function Cl(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 _l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Cl(Object(r),!0).forEach((function(e){Tl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Cl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Tl(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Ml(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ml(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ml(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 Dl(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 Il={symbolCircle:Uc,symbolCross:Wc,symbolDiamond:Xc,symbolSquare:Kc,symbolStar:Qc,symbolTriangle:el,symbolWye:al},Nl=Math.PI/180,Ll=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=_l(_l({},Dl(t,kl)),{},{type:i,size:a,sizeType:l}),s=u.className,f=u.cx,p=u.cy,h=Ia(u,!0);return f===+f&&p===+p&&a===+a?J.createElement("path",El({},h,{className:pn("recharts-symbols",s),transform:"translate(".concat(f,", ").concat(p,")"),d:(e=function(t){var e="symbol".concat(Oc(t));return Il[e]||Uc}(i),r=function(t,e){let r=null,n=Nc(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:Sc(t||Uc),e="function"==typeof e?e:Sc(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:Sc(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:Sc(+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*Nl;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 Rl(){return Rl=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},Rl.apply(this,arguments)}function zl(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 $l(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ql(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Hl(t,e,r){return e=Fl(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,Vl()?Reflect.construct(e,r||[],Fl(t).constructor):e.apply(t,r))}function Vl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Vl=function(){return!!t})()}function Fl(t){return Fl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Fl(t)}function Ul(t,e){return Ul=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ul(t,e)}function Wl(t,e,r){return(e=ql(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ql(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)}Ll.registerSymbol=function(t,e){Il["symbol".concat(Oc(t))]=e};var Yl=32,Xl=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Hl(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ul(t,e)}(e,et),$l(e,[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=16,n=Yl/6,i=Yl/3,o=t.inactive?e:t.color;if("plainline"===t.type)return J.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:r,x2:Yl,y2:r,className:"recharts-legend-icon"});if("line"===t.type)return J.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(Yl,"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 J.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(Yl,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(J.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zl(Object(r),!0).forEach((function(e){Wl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return delete a.legendIcon,J.cloneElement(t.legendIcon,a)}return J.createElement(Ll,{fill:o,cx:r,cy:r,size:Yl,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:Yl,height:Yl},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=pn(Wl(Wl({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var f=Wn(e.value)?null:e.value;Ya(!Wn(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 J.createElement("li",Rl({className:s,style:l,key:"legend-item-".concat(r)},ba(t.props,e,r)),J.createElement(Ha,{width:n,height:n,viewBox:c,style:u},t.renderIcon(e)),J.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 J.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}]),e}();Wl(Xl,"displayName","Legend"),Wl(Xl,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Kl=Fi;var Gl=Fi,Zl=Ui,Jl=ao;var Ql=Fi,tu=function(){this.__data__=new Kl,this.size=0},eu=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},ru=function(t){return this.__data__.get(t)},nu=function(t){return this.__data__.has(t)},iu=function(t,e){var r=this.__data__;if(r instanceof Gl){var n=r.__data__;if(!Zl||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Jl(n)}return r.set(t,e),this.size=r.size,this};function ou(t){var e=this.__data__=new Ql(t);this.size=e.size}ou.prototype.clear=tu,ou.prototype.delete=eu,ou.prototype.get=ru,ou.prototype.has=nu,ou.prototype.set=iu;var au=ou;var cu=ao,lu=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},uu=function(t){return this.__data__.has(t)};function su(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new cu;++e<r;)this.add(t[e])}su.prototype.add=su.prototype.push=lu,su.prototype.has=uu;var fu=su;var pu=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 hu=function(t,e){return t.has(e)},du=fu,yu=pu,vu=hu;var gu=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 du: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(!yu(e,(function(t,e){if(!vu(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 mu=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r};var bu=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r},wu=gn.Uint8Array,xu=Ei,Ou=gu,Su=mu,ju=bu,Au=mn?mn.prototype:void 0,Pu=Au?Au.valueOf:void 0;var Mu=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 wu(t),new wu(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return xu(+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=Su;case"[object Set]":var l=1&n;if(c||(c=ju),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;n|=2,a.set(t,e);var s=Ou(c(t),c(e),n,i,o,a);return a.delete(t),s;case"[object Symbol]":if(Pu)return Pu.call(t)==Pu.call(e)}return!1};var ku=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t},Eu=ku,Cu=hn;var _u=function(t,e,r){var n=e(t);return Cu(t)?n:Eu(n,r(t))};var Tu=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 Du=Tu,Iu=function(){return[]},Nu=Object.prototype.propertyIsEnumerable,Lu=Object.getOwnPropertySymbols,Bu=Lu?function(t){return null==t?[]:(t=Object(t),Du(Lu(t),(function(e){return Nu.call(t,e)})))}:Iu,Ru=Bu;var zu=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n},$u=En,Hu=Cn;var Vu=function(t){return Hu(t)&&"[object Arguments]"==$u(t)},Fu=Cn,Uu=Object.prototype,Wu=Uu.hasOwnProperty,qu=Uu.propertyIsEnumerable,Yu=Vu(function(){return arguments}())?Vu:function(t){return Fu(t)&&Wu.call(t,"callee")&&!qu.call(t,"callee")},Xu={exports:{}};var Ku=function(){return!1};!function(t,e){var r=gn,n=Ku,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}(Xu,Xu.exports);var Gu=Xu.exports,Zu=/^(?:0|[1-9]\d*)$/;var Ju=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&Zu.test(t))&&t>-1&&t%1==0&&t<e};var Qu=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},ts=En,es=Qu,rs=Cn,ns={};ns["[object Float32Array]"]=ns["[object Float64Array]"]=ns["[object Int8Array]"]=ns["[object Int16Array]"]=ns["[object Int32Array]"]=ns["[object Uint8Array]"]=ns["[object Uint8ClampedArray]"]=ns["[object Uint16Array]"]=ns["[object Uint32Array]"]=!0,ns["[object Arguments]"]=ns["[object Array]"]=ns["[object ArrayBuffer]"]=ns["[object Boolean]"]=ns["[object DataView]"]=ns["[object Date]"]=ns["[object Error]"]=ns["[object Function]"]=ns["[object Map]"]=ns["[object Number]"]=ns["[object Object]"]=ns["[object RegExp]"]=ns["[object Set]"]=ns["[object String]"]=ns["[object WeakMap]"]=!1;var is=function(t){return rs(t)&&es(t.length)&&!!ns[ts(t)]};var os=function(t){return function(e){return t(e)}},as={exports:{}};!function(t,e){var r=dn,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}(as,as.exports);var cs=as.exports,ls=is,us=os,ss=cs&&cs.isTypedArray,fs=ss?us(ss):ls,ps=zu,hs=Yu,ds=hn,ys=Gu,vs=Ju,gs=fs,ms=Object.prototype.hasOwnProperty;var bs=function(t,e){var r=ds(t),n=!r&&hs(t),i=!r&&!n&&ys(t),o=!r&&!n&&!i&&gs(t),a=r||n||i||o,c=a?ps(t.length,String):[],l=c.length;for(var u in t)!e&&!ms.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||vs(u,l))||c.push(u);return c},ws=Object.prototype;var xs=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ws)};var Os=function(t,e){return function(r){return t(e(r))}},Ss=Os(Object.keys,Object),js=xs,As=Ss,Ps=Object.prototype.hasOwnProperty;var Ms=function(t){if(!js(t))return As(t);var e=[];for(var r in Object(t))Ps.call(t,r)&&"constructor"!=r&&e.push(r);return e},ks=Un,Es=Qu;var Cs=function(t){return null!=t&&Es(t.length)&&!ks(t)},_s=bs,Ts=Ms,Ds=Cs;var Is=function(t){return Ds(t)?_s(t):Ts(t)},Ns=_u,Ls=Ru,Bs=Is;var Rs=function(t){return Ns(t,Bs,Ls)},zs=Rs,$s=Object.prototype.hasOwnProperty;var Hs=function(t,e,r,n,i,o){var a=1&r,c=zs(t),l=c.length;if(l!=zs(e).length&&!a)return!1;for(var u=l;u--;){var s=c[u];if(!(a?s in e:$s.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},Vs=si(gn,"DataView"),Fs=si(gn,"Promise"),Us=si(gn,"Set"),Ws=Vs,qs=Ui,Ys=Fs,Xs=Us,Ks=si(gn,"WeakMap"),Gs=En,Zs=Gn,Js="[object Map]",Qs="[object Promise]",tf="[object Set]",ef="[object WeakMap]",rf="[object DataView]",nf=Zs(Ws),of=Zs(qs),af=Zs(Ys),cf=Zs(Xs),lf=Zs(Ks),uf=Gs;(Ws&&uf(new Ws(new ArrayBuffer(1)))!=rf||qs&&uf(new qs)!=Js||Ys&&uf(Ys.resolve())!=Qs||Xs&&uf(new Xs)!=tf||Ks&&uf(new Ks)!=ef)&&(uf=function(t){var e=Gs(t),r="[object Object]"==e?t.constructor:void 0,n=r?Zs(r):"";if(n)switch(n){case nf:return rf;case of:return Js;case af:return Qs;case cf:return tf;case lf:return ef}return e});var sf=au,ff=gu,pf=Mu,hf=Hs,df=uf,yf=hn,vf=Gu,gf=fs,mf="[object Arguments]",bf="[object Array]",wf="[object Object]",xf=Object.prototype.hasOwnProperty;var Of=function(t,e,r,n,i,o){var a=yf(t),c=yf(e),l=a?bf:df(t),u=c?bf:df(e),s=(l=l==mf?wf:l)==wf,f=(u=u==mf?wf:u)==wf,p=l==u;if(p&&vf(t)){if(!vf(e))return!1;a=!0,s=!1}if(p&&!s)return o||(o=new sf),a||gf(t)?ff(t,e,r,n,i,o):pf(t,e,l,r,n,i,o);if(!(1&r)){var h=s&&xf.call(t,"__wrapped__"),d=f&&xf.call(e,"__wrapped__");if(h||d){var y=h?t.value():t,v=d?e.value():e;return o||(o=new sf),i(y,v,r,n,o)}}return!!p&&(o||(o=new sf),hf(t,e,r,n,i,o))},Sf=Of,jf=Cn;var Af=function t(e,r,n,i,o){return e===r||(null==e||null==r||!jf(e)&&!jf(r)?e!=e&&r!=r:Sf(e,r,n,i,t,o))},Pf=au,Mf=Af;var kf=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 Pf;if(n)var p=n(u,s,l,t,e,f);if(!(void 0===p?Mf(s,u,3,n,f):p))return!1}}return!0},Ef=zn;var Cf=function(t){return t==t&&!Ef(t)},_f=Cf,Tf=Is;var Df=function(t){for(var e=Tf(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,_f(i)]}return e};var If=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}},Nf=kf,Lf=Df,Bf=If;var Rf=function(t){var e=Lf(t);return 1==e.length&&e[0][2]?Bf(e[0][0],e[0][1]):function(r){return r===t||Nf(r,t,e)}};var zf=function(t,e){return null!=t&&e in Object(t)},$f=Co,Hf=Yu,Vf=hn,Ff=Ju,Uf=Qu,Wf=To;var qf=function(t,e,r){for(var n=-1,i=(e=$f(e,t)).length,o=!1;++n<i;){var a=Wf(e[n]);if(!(o=null!=t&&r(t,a)))break;t=t[a]}return o||++n!=i?o:!!(i=null==t?0:t.length)&&Uf(i)&&Ff(a,i)&&(Vf(t)||Hf(t))},Yf=zf,Xf=qf;var Kf=function(t,e){return null!=t&&Xf(t,e,Yf)},Gf=Af,Zf=Bo,Jf=Kf,Qf=Rn,tp=Cf,ep=If,rp=To;var np=function(t,e){return Qf(t)&&tp(e)?ep(rp(t),e):function(r){var n=Zf(r,t);return void 0===n&&n===e?Jf(r,t):Gf(e,n,3)}};var ip=function(t){return t};var op=function(t){return function(e){return null==e?void 0:e[t]}},ap=No;var cp=function(t){return function(e){return ap(e,t)}},lp=op,up=cp,sp=Rn,fp=To;var pp=Rf,hp=np,dp=ip,yp=hn,vp=function(t){return sp(t)?lp(fp(t)):up(t)};var gp=function(t){return"function"==typeof t?t:null==t?dp:"object"==typeof t?yp(t)?hp(t[0],t[1]):pp(t):vp(t)};var mp=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 bp=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1},wp=mp,xp=function(t){return t!=t},Op=bp;var Sp=function(t,e,r){return e==e?Op(t,e,r):wp(t,xp,r)},jp=Sp;var Ap=function(t,e){return!!(null==t?0:t.length)&&jp(t,e,0)>-1};var Pp=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 Mp=Us,kp=function(){},Ep=Mp&&1/bu(new Mp([,-0]))[1]==1/0?function(t){return new Mp(t)}:kp,Cp=fu,_p=Ap,Tp=Pp,Dp=hu,Ip=Ep,Np=bu;var Lp=function(t,e,r){var n=-1,i=_p,o=t.length,a=!0,c=[],l=c;if(r)a=!1,i=Tp;else if(o>=200){var u=e?null:Ip(t);if(u)return Np(u);a=!1,i=Dp,l=new Cp}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=gp,Rp=Lp;var zp=function(t,e){return t&&t.length?Rp(t,Bp(e)):[]},$p=Ze(zp);function Hp(t,e,r){return!0===e?$p(t,r):Wn(e)?$p(t,e):t}function Vp(t){return Vp="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},Vp(t)}var Fp=["ref"];function Up(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Up(Object(r),!0).forEach((function(e){Jp(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Up(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qp(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,Qp(n.key),n)}}function Yp(t,e,r){return e=Kp(e),function(t,e){if(e&&("object"===Vp(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Gp(t)}(t,Xp()?Reflect.construct(e,r||[],Kp(t).constructor):e.apply(t,r))}function Xp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Xp=function(){return!!t})()}function Kp(t){return Kp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Kp(t)}function Gp(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zp(t,e){return Zp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Zp(t,e)}function Jp(t,e,r){return(e=Qp(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Qp(t){var e=function(t,e){if("object"!=Vp(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Vp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Vp(e)?e:String(e)}function th(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 eh(t){return t.value}var rh=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 Jp(Gp(t=Yp(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&&Zp(t,e)}(e,et),r=e,i=[{key:"getWithHeight",value:function(t,e){var r=t.props.layout;return"vertical"===r&&ia(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Wp({},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}),Wp(Wp({},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=Wp(Wp({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(o)),o);return J.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(J.isValidElement(t))return J.cloneElement(t,e);if("function"==typeof t)return J.createElement(t,e);e.ref;var r=th(e,Fp);return J.createElement(Xl,r)}(r,Wp(Wp({},this.props),{},{payload:Hp(c,a,eh)})))}}])&&qp(r.prototype,n),i&&qp(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();Jp(rh,"displayName","Legend"),Jp(rh,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var nh=Yu,ih=hn,oh=mn?mn.isConcatSpreadable:void 0;var ah=ku,ch=function(t){return ih(t)||nh(t)||!!(oh&&t&&t[oh])};var lh=function t(e,r,n,i,o){var a=-1,c=e.length;for(n||(n=ch),o||(o=[]);++a<c;){var l=e[a];r>0&&n(l)?r>1?t(l,r-1,n,i,o):ah(o,l):i||(o[o.length]=l)}return o};var uh=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}},sh=uh(),fh=Is;var ph=function(t,e){return t&&sh(t,e,fh)},hh=Cs;var dh=function(t,e){return function(r,n){if(null==r)return r;if(!hh(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}}(ph),yh=dh,vh=Cs;var gh=function(t,e){var r=-1,n=vh(t)?Array(t.length):[];return yh(t,(function(t,i,o){n[++r]=e(t,i,o)})),n};var mh=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t},bh=Dn;var wh=function(t,e){if(t!==e){var r=void 0!==t,n=null===t,i=t==t,o=bh(t),a=void 0!==e,c=null===e,l=e==e,u=bh(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 xh=function(t,e,r){for(var n=-1,i=t.criteria,o=e.criteria,a=i.length,c=r.length;++n<a;){var l=wh(i[n],o[n]);if(l)return n>=c?l:l*("desc"==r[n]?-1:1)}return t.index-e.index},Oh=go,Sh=No,jh=gp,Ah=gh,Ph=mh,Mh=os,kh=xh,Eh=ip,Ch=hn;var _h=function(t,e,r){e=e.length?Oh(e,(function(t){return Ch(t)?function(e){return Sh(e,1===t.length?t[0]:t)}:t})):[Eh];var n=-1;e=Oh(e,Mh(jh));var i=Ah(t,(function(t,r,i){return{criteria:Oh(e,(function(e){return e(t)})),index:++n,value:t}}));return Ph(i,(function(t,e){return kh(t,e,r)}))};var Th=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)},Dh=Math.max;var Ih=function(t,e,r){return e=Dh(void 0===e?t.length-1:e,0),function(){for(var n=arguments,i=-1,o=Dh(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),Th(t,this,c)}};var Nh=function(t){return function(){return t}},Lh=si,Bh=function(){try{var t=Lh(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Rh=Nh,zh=Bh,$h=zh?function(t,e){return zh(t,"toString",{configurable:!0,enumerable:!1,value:Rh(e),writable:!0})}:ip,Hh=$h,Vh=Date.now;var Fh=function(t){var e=0,r=0;return function(){var n=Vh(),i=16-(n-r);if(r=n,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(Hh),Uh=ip,Wh=Ih,qh=Fh;var Yh=Ei,Xh=Cs,Kh=Ju,Gh=zn;var Zh=function(t,e,r){if(!Gh(r))return!1;var n=typeof e;return!!("number"==n?Xh(r)&&Kh(e,r.length):"string"==n&&e in r)&&Yh(r[e],t)},Jh=lh,Qh=_h,td=Zh,ed=Ze(function(t,e){return qh(Wh(t,e,Uh),t+"")}((function(t,e){if(null==t)return[];var r=e.length;return r>1&&td(t,e[0],e[1])?e=[]:r>2&&td(e[0],e[1],e[2])&&(e=[e[0]]),Qh(t,Jh(e,1),[])})));function rd(t){return rd="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},rd(t)}function nd(){return nd=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},nd.apply(this,arguments)}function id(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return od(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 od(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 od(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 ad(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 cd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ad(Object(r),!0).forEach((function(e){ld(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ad(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ld(t,e,r){return e=function(t){var e=function(t,e){if("object"!=rd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=rd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==rd(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 ud(t){return Array.isArray(t)&&oa(t[0])&&oa(t[1])?t.join(" ~ "):t}var sd=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=cd({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),b=cd({margin:0},l),w=!zo(d),x=w?d:"",O=pn("recharts-default-tooltip",p),S=pn("recharts-tooltip-label",h);w&&y&&null!=u&&(x=y(d,u));var j=g?{role:"status","aria-live":"assertive"}:{};return J.createElement("div",nd({className:O,style:m},j),J.createElement("p",{className:S,style:b},J.isValidElement(x)?x:"".concat(x)),function(){if(u&&u.length){var t=(f?ed(u,f):u).map((function(t,e){if("none"===t.type)return null;var n=cd({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},a),i=t.formatter||s||ud,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=id(p,2);l=h[0],f=h[1]}else l=p}return J.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},oa(f)?J.createElement("span",{className:"recharts-tooltip-item-name"},f):null,oa(f)?J.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,J.createElement("span",{className:"recharts-tooltip-item-value"},l),J.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return J.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function fd(t){return fd="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},fd(t)}function pd(t,e,r){return e=function(t){var e=function(t,e){if("object"!=fd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fd(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 hd="recharts-tooltip-wrapper",dd={visibility:"hidden"};function yd(t){var e=t.coordinate,r=t.translateX,n=t.translateY;return pn(hd,pd(pd(pd(pd({},"".concat(hd,"-right"),ia(r)&&e&&ia(e.x)&&r>=e.x),"".concat(hd,"-left"),ia(r)&&e&&ia(e.x)&&r<e.x),"".concat(hd,"-bottom"),ia(n)&&e&&ia(e.y)&&n>=e.y),"".concat(hd,"-top"),ia(n)&&e&&ia(e.y)&&n<e.y))}function vd(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&&ia(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 gd(t){return gd="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},gd(t)}function md(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 bd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?md(Object(r),!0).forEach((function(e){Pd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):md(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function wd(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Md(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function xd(t,e,r){return e=Sd(e),function(t,e){if(e&&("object"===gd(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return jd(t)}(t,Od()?Reflect.construct(e,r||[],Sd(t).constructor):e.apply(t,r))}function Od(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Od=function(){return!!t})()}function Sd(t){return Sd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Sd(t)}function jd(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ad(t,e){return Ad=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ad(t,e)}function Pd(t,e,r){return(e=Md(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Md(t){var e=function(t,e){if("object"!=gd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=gd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==gd(e)?e:String(e)}var kd=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 Pd(jd(t=xd(this,e,[].concat(n))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),Pd(jd(t),"handleKeyDown",(function(e){var r,n,i,o;"Escape"===e.key&&t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(r=null===(n=t.props.coordinate)||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(i=null===(o=t.props.coordinate)||void 0===o?void 0:o.y)&&void 0!==i?i:0}})})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ad(t,e)}(e,et),wd(e,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(t=this.props.coordinate)||void 0===t?void 0:t.x)===this.state.dismissedAtCoordinate.x&&(null===(e=this.props.coordinate)||void 0===e?void 0:e.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,i=e.animationDuration,o=e.animationEasing,a=e.children,c=e.coordinate,l=e.hasPayload,u=e.isAnimationActive,s=e.offset,f=e.position,p=e.reverseDirection,h=e.useTranslate3d,d=e.viewBox,y=e.wrapperStyle,v=function(t){var e,r,n=t.allowEscapeViewBox,i=t.coordinate,o=t.offsetTopLeft,a=t.position,c=t.reverseDirection,l=t.tooltipBox,u=t.useTranslate3d,s=t.viewBox;return{cssProperties:l.height>0&&l.width>0&&i?function(t){var e=t.translateX,r=t.translateY;return{transform:t.useTranslate3d?"translate3d(".concat(e,"px, ").concat(r,"px, 0)"):"translate(".concat(e,"px, ").concat(r,"px)")}}({translateX:e=vd({allowEscapeViewBox:n,coordinate:i,key:"x",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=vd({allowEscapeViewBox:n,coordinate:i,key:"y",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:u}):dd,cssClasses:yd({translateX:e,translateY:r,coordinate:i})}}({allowEscapeViewBox:n,coordinate:c,offsetTopLeft:s,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:h,viewBox:d}),g=v.cssClasses,m=v.cssProperties,b=bd(bd({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 J.createElement("div",{tabIndex:-1,className:g,style:b,ref:function(e){t.wrapperNode=e}},a)}}]),e}(),Ed={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return Ed[t]},set:function(t,e){if("string"==typeof t)Ed[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach((function(e){Ed[e]=t[e]}))}}};function Cd(t){return Cd="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},Cd(t)}function _d(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 Td(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_d(Object(r),!0).forEach((function(e){Rd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Dd(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,zd(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Id(t,e,r){return e=Ld(e),function(t,e){if(e&&("object"===Cd(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,Nd()?Reflect.construct(e,r||[],Ld(t).constructor):e.apply(t,r))}function Nd(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Nd=function(){return!!t})()}function Ld(t){return Ld=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ld(t)}function Bd(t,e){return Bd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Bd(t,e)}function Rd(t,e,r){return(e=zd(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function zd(t){var e=function(t,e){if("object"!=Cd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Cd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Cd(e)?e:String(e)}function $d(t){return t.dataKey}var Hd=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Id(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Bd(t,e)}(e,et),Dd(e,[{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,i=e.animationDuration,o=e.animationEasing,a=e.content,c=e.coordinate,l=e.filterNull,u=e.isAnimationActive,s=e.offset,f=e.payload,p=e.payloadUniqBy,h=e.position,d=e.reverseDirection,y=e.useTranslate3d,v=e.viewBox,g=e.wrapperStyle,m=null!=f?f:[];l&&m.length&&(m=Hp(f.filter((function(e){return null!=e.value&&(!0!==e.hide||t.props.includeHidden)})),p,$d));var b=m.length>0;return J.createElement(kd,{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 J.isValidElement(t)?J.cloneElement(t,e):"function"==typeof t?J.createElement(t,e):J.createElement(sd,e)}(a,Td(Td({},this.props),{},{payload:m})))}}]),e}();Rd(Hd,"displayName","Tooltip"),Rd(Hd,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Ed.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 Vd=gn,Fd=/\s/;var Ud=function(t){for(var e=t.length;e--&&Fd.test(t.charAt(e)););return e},Wd=Ud,qd=/^\s+/;var Yd=function(t){return t?t.slice(0,Wd(t)+1).replace(qd,""):t},Xd=Yd,Kd=zn,Gd=Dn,Zd=/^[-+]0x[0-9a-f]+$/i,Jd=/^0b[01]+$/i,Qd=/^0o[0-7]+$/i,ty=parseInt;var ey=function(t){if("number"==typeof t)return t;if(Gd(t))return NaN;if(Kd(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Kd(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Xd(t);var r=Jd.test(t);return r||Qd.test(t)?ty(t.slice(2),r?2:8):Zd.test(t)?NaN:+t},ry=zn,ny=function(){return Vd.Date.now()},iy=ey,oy=Math.max,ay=Math.min;var cy=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=ny();if(d(t))return v(t);c=setTimeout(y,function(t){var r=e-(t-l);return f?ay(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=ny(),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=iy(e)||0,ry(r)&&(s=!!r.leading,o=(f="maxWait"in r)?oy(iy(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(ny())},g},ly=cy,uy=zn;var sy=Ze((function(t,e,r){var n=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return uy(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),ly(t,e,{leading:n,maxWait:e,trailing:i})}));function fy(t){return fy="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},fy(t)}function py(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 hy(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?py(Object(r),!0).forEach((function(e){dy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):py(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function dy(t,e,r){return e=function(t){var e=function(t,e){if("object"!=fy(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fy(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 yy(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return vy(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 vy(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 vy(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 gy=rt((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=nt(null),O=nt();O.current=m,it(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=yy(ot({containerWidth:i.width,containerHeight:i.height}),2),j=S[0],A=S[1],P=at((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}}))}),[]);ct((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=sy(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=lt((function(){var t=j.containerWidth,e=j.containerHeight;if(t<0||e<0)return null;Ya(na(a)||na(l),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,l),Ya(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=na(a)?t:a,i=na(l)?e:l;r&&r>0&&(n?i=n/r:i&&(n=i*r),p&&i>p&&(i=p)),Ya(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)&&Ko.isElement(h)&&Aa(h.type).endsWith("Chart");return J.Children.map(h,(function(t){return Ko.isElement(t)?ut(t,hy({width:n,height:i},o?{style:hy({height:"100%",width:"100%",maxHeight:i,maxWidth:n},t.props.style)}:{})):t}))}),[r,h,l,p,f,s,j,a]);return J.createElement("div",{id:v?"".concat(v):void 0,className:pn("recharts-responsive-container",g),style:hy(hy({},w),{},{width:a,height:l,minWidth:s,minHeight:f,maxHeight:p}),ref:x},M)})),my=function(t){return null};function by(t){return by="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},by(t)}function wy(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 xy(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wy(Object(r),!0).forEach((function(e){Oy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wy(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Oy(t,e,r){return e=function(t){var e=function(t,e){if("object"!=by(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=by(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==by(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}my.displayName="Cell";var Sy={widthCache:{},cacheCount:0},jy={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},Ay="recharts_measurement_span";var Py=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||Ed.isSsr)return{width:0,height:0};var r,n=(r=xy({},e),Object.keys(r).forEach((function(t){r[t]||delete r[t]})),r),i=JSON.stringify({text:t,copyStyle:n});if(Sy.widthCache[i])return Sy.widthCache[i];try{var o=document.getElementById(Ay);o||((o=document.createElement("span")).setAttribute("id",Ay),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=xy(xy({},jy),n);Object.assign(o.style,a),o.textContent="".concat(t);var c=o.getBoundingClientRect(),l={width:c.width,height:c.height};return Sy.widthCache[i]=l,++Sy.cacheCount>2e3&&(Sy.cacheCount=0,Sy.widthCache={}),l}catch(t){return{width:0,height:0}}};function My(t){return My="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},My(t)}function ky(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 Ey(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 Ey(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 Ey(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 Cy(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,_y(n.key),n)}}function _y(t){var e=function(t,e){if("object"!=My(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=My(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==My(e)?e:String(e)}var Ty=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Dy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Iy=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,Ny=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Ly={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},By=Object.keys(Ly),Ry="NaN";var zy=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||Iy.test(r)||(this.num=NaN,this.unit=""),By.includes(r)&&(this.num=function(t,e){return t*Ly[e]}(e,r),this.unit="px")}var e,r,n;return e=t,n=[{key:"parse",value:function(e){var r,n=ky(null!==(r=Ny.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)}}])&&Cy(e.prototype,r),n&&Cy(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function $y(t){if(t.includes(Ry))return Ry;for(var e=t;e.includes("*")||e.includes("/");){var r,n=ky(null!==(r=Ty.exec(e))&&void 0!==r?r:[],4),i=n[1],o=n[2],a=n[3],c=zy.parse(null!=i?i:""),l=zy.parse(null!=a?a:""),u="*"===o?c.multiply(l):c.divide(l);if(u.isNaN())return Ry;e=e.replace(Ty,u.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=ky(null!==(s=Dy.exec(e))&&void 0!==s?s:[],4),p=f[1],h=f[2],d=f[3],y=zy.parse(null!=p?p:""),v=zy.parse(null!=d?d:""),g="+"===h?y.add(v):y.subtract(v);if(g.isNaN())return Ry;e=e.replace(Dy,g.toString())}return e}var Hy=/\(([^()]*)\)/;function Vy(t){var e=t.replace(/\s+/g,"");return e=function(t){for(var e=t;e.includes("(");){var r=ky(Hy.exec(e),2)[1];e=e.replace(Hy,$y(r))}return e}(e),e=$y(e)}function Fy(t){var e=function(t){try{return Vy(t)}catch(t){return Ry}}(t.slice(5,-1));return e===Ry?"":e}var Uy=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],Wy=["dx","dy","angle","className","breakAll"];function qy(){return qy=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},qy.apply(this,arguments)}function Yy(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 Xy(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 Ky(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 Ky(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 Ky(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 Gy=/[ \f\n\r\t\v\u2028\u2029]+/,Zy=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var i=[];return zo(e)||(i=r?e.toString().split(""):e.toString().split(Gy)),{wordsWithComputedWidth:i.map((function(t){return{word:t,width:Py(t,n).width}})),spaceWidth:r?0:Py(" ",n).width}}catch(t){return null}},Jy=function(t){return[{words:zo(t)?[]:t.toString().split(Gy)}]},Qy=function(t){var e=t.width,r=t.scaleToFit,n=t.children,i=t.style,o=t.breakAll,a=t.maxLines;if((e||r)&&!Ed.isSsr){var c=Zy({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=ia(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=Zy({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=Xy(d(m-1),2),w=b[0],x=b[1],O=Xy(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):Jy(n)}return Jy(n)},tv="#808080",ev=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?tv:y,g=Yy(t,Uy),m=lt((function(){return Qy({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=Yy(g,Wy);if(!oa(r)||!oa(i))return null;var A,P=r+(ia(b)?b:0),M=i+(ia(w)?w:0);switch(d){case"start":A=Fy("calc(".concat(l,")"));break;case"middle":A=Fy("calc(".concat((m.length-1)/2," * -").concat(a," + (").concat(l," / 2))"));break;default:A=Fy("calc(".concat(m.length-1," * -").concat(a,")"))}var k=[];if(s){var E=m[0].width,C=g.width;k.push("scale(".concat((ia(C)?C/E:1)/E,")"))}return x&&k.push("rotate(".concat(x,", ").concat(P,", ").concat(M,")")),k.length&&(j.transform=k.join(" ")),J.createElement("text",qy({},Ia(j,!0),{x:P,y:M,className:pn("recharts-text",O),textAnchor:p,fill:v.includes("url")?tv:v}),m.map((function(t,e){var r=t.words.join(S?"":" ");return J.createElement("tspan",{x:P,dy:0===e?A:a,key:r},r)})))};function rv(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function nv(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function iv(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=rv,r=(e,r)=>rv(t(e),r),n=(e,r)=>t(e)-r):(e=t===rv||t===nv?t:ov,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 ov(){return 0}function av(t){return null===t?NaN:+t}const cv=iv(rv).right;iv(av).center;class lv extends Map{constructor(t,e=sv){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(uv(this,t))}has(t){return super.has(uv(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 uv({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function sv(t){return null!==t&&"object"==typeof t?t.valueOf():t}function fv(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}const pv=Math.sqrt(50),hv=Math.sqrt(10),dv=Math.sqrt(2);function yv(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>=pv?10:o>=hv?5:o>=dv?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?yv(t,e,2*r):[c,l,u]}function vv(t,e,r){if(!((r=+r)>0))return[];if((t=+t)===(e=+e))return[t];const n=e<t,[i,o,a]=n?yv(e,t,r):yv(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 gv(t,e,r){return yv(t=+t,e=+e,r=+r)[2]}function mv(t,e,r){r=+r;const n=(e=+e)<(t=+t),i=n?gv(e,t,r):gv(t,e,r);return(n?-1:1)*(i<0?1/-i:i)}function bv(t,e){let r;for(const e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);return r}function wv(t,e){let r;for(const e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);return r}function xv(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?fv:function(t=rv){if(t===rv)return fv;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);xv(t,e,Math.max(r,Math.floor(e-a*l/o+u)),Math.min(n,Math.floor(e+(o-a)*l/o+u)),i)}const o=t[e];let a=r,c=n;for(Ov(t,r,e),i(t[n],o)>0&&Ov(t,r,n);a<c;){for(Ov(t,a,c),++a,--c;i(t[a],o)<0;)++a;for(;i(t[c],o)>0;)--c}0===i(t[r],o)?Ov(t,r,c):(++c,Ov(t,c,n)),c<=e&&(r=c+1),e<=c&&(n=c-1)}return t}function Ov(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function Sv(t,e,r=av){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 jv(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function Av(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 Pv=Symbol("implicit");function Mv(){var t=new lv,e=[],r=[],n=Pv;function i(i){let o=t.get(i);if(void 0===o){if(n!==Pv)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 lv;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 Mv(e,r).unknown(n)},jv.apply(i,arguments),i}function kv(){var t,e,r=Mv().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 kv(n(),[o,a]).round(c).paddingInner(l).paddingOuter(u).align(s)},jv.apply(f(),arguments)}function Ev(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Ev(e())},t}function Cv(){return Ev(kv.apply(null,arguments).paddingInner(1))}function _v(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function Tv(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function Dv(){}var Iv=.7,Nv=1/Iv,Lv="\\s*([+-]?\\d+)\\s*",Bv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Rv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",zv=/^#([0-9a-f]{3,8})$/,$v=new RegExp(`^rgb\\(${Lv},${Lv},${Lv}\\)$`),Hv=new RegExp(`^rgb\\(${Rv},${Rv},${Rv}\\)$`),Vv=new RegExp(`^rgba\\(${Lv},${Lv},${Lv},${Bv}\\)$`),Fv=new RegExp(`^rgba\\(${Rv},${Rv},${Rv},${Bv}\\)$`),Uv=new RegExp(`^hsl\\(${Bv},${Rv},${Rv}\\)$`),Wv=new RegExp(`^hsla\\(${Bv},${Rv},${Rv},${Bv}\\)$`),qv={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 Yv(){return this.rgb().formatHex()}function Xv(){return this.rgb().formatRgb()}function Kv(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=zv.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?Gv(e):3===r?new Qv(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?Zv(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?Zv(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=$v.exec(t))?new Qv(e[1],e[2],e[3],1):(e=Hv.exec(t))?new Qv(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Vv.exec(t))?Zv(e[1],e[2],e[3],e[4]):(e=Fv.exec(t))?Zv(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Uv.exec(t))?og(e[1],e[2]/100,e[3]/100,1):(e=Wv.exec(t))?og(e[1],e[2]/100,e[3]/100,e[4]):qv.hasOwnProperty(t)?Gv(qv[t]):"transparent"===t?new Qv(NaN,NaN,NaN,0):null}function Gv(t){return new Qv(t>>16&255,t>>8&255,255&t,1)}function Zv(t,e,r,n){return n<=0&&(t=e=r=NaN),new Qv(t,e,r,n)}function Jv(t,e,r,n){return 1===arguments.length?((i=t)instanceof Dv||(i=Kv(i)),i?new Qv((i=i.rgb()).r,i.g,i.b,i.opacity):new Qv):new Qv(t,e,r,null==n?1:n);var i}function Qv(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function tg(){return`#${ig(this.r)}${ig(this.g)}${ig(this.b)}`}function eg(){const t=rg(this.opacity);return`${1===t?"rgb(":"rgba("}${ng(this.r)}, ${ng(this.g)}, ${ng(this.b)}${1===t?")":`, ${t})`}`}function rg(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ng(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function ig(t){return((t=ng(t))<16?"0":"")+t.toString(16)}function og(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new cg(t,e,r,n)}function ag(t){if(t instanceof cg)return new cg(t.h,t.s,t.l,t.opacity);if(t instanceof Dv||(t=Kv(t)),!t)return new cg;if(t instanceof cg)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 cg(a,c,l,t.opacity)}function cg(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function lg(t){return(t=(t||0)%360)<0?t+360:t}function ug(t){return Math.max(0,Math.min(1,t||0))}function sg(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}_v(Dv,Kv,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Yv,formatHex:Yv,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ag(this).formatHsl()},formatRgb:Xv,toString:Xv}),_v(Qv,Jv,Tv(Dv,{brighter(t){return t=null==t?Nv:Math.pow(Nv,t),new Qv(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Iv:Math.pow(Iv,t),new Qv(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Qv(ng(this.r),ng(this.g),ng(this.b),rg(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:tg,formatHex:tg,formatHex8:function(){return`#${ig(this.r)}${ig(this.g)}${ig(this.b)}${ig(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:eg,toString:eg})),_v(cg,(function(t,e,r,n){return 1===arguments.length?ag(t):new cg(t,e,r,null==n?1:n)}),Tv(Dv,{brighter(t){return t=null==t?Nv:Math.pow(Nv,t),new cg(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Iv:Math.pow(Iv,t),new cg(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 Qv(sg(t>=240?t-240:t+120,i,n),sg(t,i,n),sg(t<120?t+240:t-120,i,n),this.opacity)},clamp(){return new cg(lg(this.h),ug(this.s),ug(this.l),rg(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=rg(this.opacity);return`${1===t?"hsl(":"hsla("}${lg(this.h)}, ${100*ug(this.s)}%, ${100*ug(this.l)}%${1===t?")":`, ${t})`}`}}));var fg=t=>()=>t;function pg(t){return 1==(t=+t)?hg: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):fg(isNaN(e)?r:e)}}function hg(t,e){var r=e-t;return r?function(t,e){return function(r){return t+r*e}}(t,r):fg(isNaN(t)?e:t)}var dg=function t(e){var r=pg(e);function n(t,e){var n=r((t=Jv(t)).r,(e=Jv(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),a=hg(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 yg(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 vg(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]=Sg(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 gg(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function mg(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function bg(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]=Sg(t[r],e[r]):i[r]=e[r];return function(t){for(r in n)i[r]=n[r](t);return i}}var wg=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,xg=new RegExp(wg.source,"g");function Og(t,e){var r,n,i,o=wg.lastIndex=xg.lastIndex=0,a=-1,c=[],l=[];for(t+="",e+="";(r=wg.exec(t))&&(n=xg.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:mg(r,n)})),o=xg.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 Sg(t,e){var r,n=typeof e;return null==e||"boolean"===n?fg(e):("number"===n?mg:"string"===n?(r=Kv(e))?(e=r,dg):Og:e instanceof Kv?dg:e instanceof Date?gg:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(e)?yg:Array.isArray(e)?vg:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?bg:mg)(t,e)}function jg(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function Ag(t,e){void 0===e&&(e=t,t=Sg);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 Pg(t){return+t}var Mg=[0,1];function kg(t){return t}function Eg(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:function(t){return function(){return t}}(isNaN(e)?NaN:.5)}function Cg(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1];return i<n?(n=Eg(i,n),o=r(a,o)):(n=Eg(n,i),o=r(o,a)),function(t){return o(n(t))}}function _g(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]=Eg(t[a],t[a+1]),o[a]=r(e[a],e[a+1]);return function(e){var r=cv(t,e,1,n)-1;return o[r](i[r](e))}}function Tg(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Dg(){var t,e,r,n,i,o,a=Mg,c=Mg,l=Sg,u=kg;function s(){var t=Math.min(a.length,c.length);return u!==kg&&(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?_g:Cg,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),mg)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,Pg),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=jg,s()},f.clamp=function(t){return arguments.length?(u=!!t||kg,s()):u!==kg},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 Ig(){return Dg()(kg,kg)}function Ng(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 Lg(t){return(t=Ng(Math.abs(t)))?t[1]:NaN}var Bg,Rg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function zg(t){if(!(e=Rg.exec(t)))throw new Error("invalid format: "+t);var e;return new $g({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 $g(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 Hg(t,e){var r=Ng(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")}zg.prototype=$g.prototype,$g.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 Vg={"%":(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)=>Hg(100*t,e),r:Hg,s:function(t,e){var r=Ng(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")+Ng(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Fg(t){return t}var Ug,Wg,qg,Yg=Array.prototype.map,Xg=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Kg(t){var e,r,n=void 0===t.grouping||void 0===t.thousands?Fg:(e=Yg.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?Fg:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Yg.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=zg(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"):Vg[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=Vg[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?Xg[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=zg(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(Lg(e)/3))),i=Math.pow(10,-n),o=Xg[8+n/3];return function(t){return r(i*t)+o}}}}function Gg(t,e,r,n){var i,o=mv(t,e,r);switch((n=zg(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(Lg(e)/3)))-Lg(Math.abs(t)))}(o,a))||(n.precision=i),qg(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,Lg(e)-Lg(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,-Lg(Math.abs(t)))}(o))||(n.precision=i-2*("%"===n.type))}return Wg(n)}function Zg(t){var e=t.domain;return t.ticks=function(t){var r=e();return vv(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return Gg(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=gv(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 Jg(){var t=Ig();return t.copy=function(){return Tg(t,Jg())},jv.apply(t,arguments),Zg(t)}function Qg(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 tm(t){return Math.log(t)}function em(t){return Math.exp(t)}function rm(t){return-Math.log(-t)}function nm(t){return-Math.exp(-t)}function im(t){return isFinite(t)?+("1e"+t):t<0?0:t}function om(t){return(e,r)=>-t(-e,r)}function am(t){const e=t(tm,em),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?im:t===Math.E?Math.exp:e=>Math.pow(t,e)}(o),r()[0]<0?(n=om(n),i=om(i),t(rm,nm)):t(tm,em),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=vv(a,c,h))}else d=vv(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=zg(r)).precision||(r.trim=!0),r=Wg(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(Qg(r(),{floor:t=>i(Math.floor(n(t))),ceil:t=>i(Math.ceil(n(t)))})),e}function cm(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function lm(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function um(t){var e=1,r=t(cm(e),lm(e));return r.constant=function(r){return arguments.length?t(cm(e=+r),lm(e)):e},Zg(r)}function sm(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function fm(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function pm(t){return t<0?-t*t:t*t}function hm(t){var e=t(kg,kg),r=1;return e.exponent=function(e){return arguments.length?1===(r=+e)?t(kg,kg):.5===r?t(fm,pm):t(sm(r),sm(1/r)):r},Zg(e)}function dm(){var t=hm(Dg());return t.copy=function(){return Tg(t,dm()).exponent(t.exponent())},jv.apply(t,arguments),t}function ym(t){return Math.sign(t)*t*t}Ug=Kg({thousands:",",grouping:[3],currency:["$",""]}),Wg=Ug.format,qg=Ug.formatPrefix;const vm=new Date,gm=new Date;function mm(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=>mm((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)=>(vm.setTime(+e),gm.setTime(+n),t(vm),t(gm),Math.floor(r(vm,gm))),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 bm=mm((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));bm.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?mm((e=>{e.setTime(Math.floor(e/t)*t)}),((e,r)=>{e.setTime(+e+r*t)}),((e,r)=>(r-e)/t)):bm:null),bm.range;const wm=1e3,xm=6e4,Om=36e5,Sm=864e5,jm=6048e5,Am=2592e6,Pm=31536e6,Mm=mm((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*wm)}),((t,e)=>(e-t)/wm),(t=>t.getUTCSeconds()));Mm.range;const km=mm((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*wm)}),((t,e)=>{t.setTime(+t+e*xm)}),((t,e)=>(e-t)/xm),(t=>t.getMinutes()));km.range;const Em=mm((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*xm)}),((t,e)=>(e-t)/xm),(t=>t.getUTCMinutes()));Em.range;const Cm=mm((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*wm-t.getMinutes()*xm)}),((t,e)=>{t.setTime(+t+e*Om)}),((t,e)=>(e-t)/Om),(t=>t.getHours()));Cm.range;const _m=mm((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*Om)}),((t,e)=>(e-t)/Om),(t=>t.getUTCHours()));_m.range;const Tm=mm((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*xm)/Sm),(t=>t.getDate()-1));Tm.range;const Dm=mm((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/Sm),(t=>t.getUTCDate()-1));Dm.range;const Im=mm((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/Sm),(t=>Math.floor(t/Sm)));function Nm(t){return mm((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())*xm)/jm))}Im.range;const Lm=Nm(0),Bm=Nm(1),Rm=Nm(2),zm=Nm(3),$m=Nm(4),Hm=Nm(5),Vm=Nm(6);function Fm(t){return mm((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)/jm))}Lm.range,Bm.range,Rm.range,zm.range,$m.range,Hm.range,Vm.range;const Um=Fm(0),Wm=Fm(1),qm=Fm(2),Ym=Fm(3),Xm=Fm(4),Km=Fm(5),Gm=Fm(6);Um.range,Wm.range,qm.range,Ym.range,Xm.range,Km.range,Gm.range;const Zm=mm((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()));Zm.range;const Jm=mm((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()));Jm.range;const Qm=mm((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()));Qm.every=t=>isFinite(t=Math.floor(t))&&t>0?mm((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,Qm.range;const tb=mm((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 eb(t,e,r,n,i,o){const a=[[Mm,1,wm],[Mm,5,5e3],[Mm,15,15e3],[Mm,30,3e4],[o,1,xm],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Om],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,Sm],[n,2,1728e5],[r,1,jm],[e,1,Am],[e,3,7776e6],[t,1,Pm]];function c(e,r,n){const i=Math.abs(r-e)/n,o=iv((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(mv(e/Pm,r/Pm,n));if(0===o)return bm.every(Math.max(mv(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]}tb.every=t=>isFinite(t=Math.floor(t))&&t>0?mm((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,tb.range;const[rb,nb]=eb(tb,Jm,Um,Im,_m,Em),[ib,ob]=eb(Qm,Zm,Lm,Tm,Cm,km);function ab(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 cb(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 lb(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var ub,sb,fb,pb={"-":"",_:" ",0:"0"},hb=/^\s*\d+/,db=/^%/,yb=/[\\^$*+?|[\]().{}]/g;function vb(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 gb(t){return t.replace(yb,"\\$&")}function mb(t){return new RegExp("^(?:"+t.map(gb).join("|")+")","i")}function bb(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function wb(t,e,r){var n=hb.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function xb(t,e,r){var n=hb.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function Ob(t,e,r){var n=hb.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function Sb(t,e,r){var n=hb.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function jb(t,e,r){var n=hb.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function Ab(t,e,r){var n=hb.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function Pb(t,e,r){var n=hb.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Mb(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 kb(t,e,r){var n=hb.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function Eb(t,e,r){var n=hb.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function Cb(t,e,r){var n=hb.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function _b(t,e,r){var n=hb.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function Tb(t,e,r){var n=hb.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function Db(t,e,r){var n=hb.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function Ib(t,e,r){var n=hb.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function Nb(t,e,r){var n=hb.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function Lb(t,e,r){var n=hb.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=db.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function Rb(t,e,r){var n=hb.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function zb(t,e,r){var n=hb.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function $b(t,e){return vb(t.getDate(),e,2)}function Hb(t,e){return vb(t.getHours(),e,2)}function Vb(t,e){return vb(t.getHours()%12||12,e,2)}function Fb(t,e){return vb(1+Tm.count(Qm(t),t),e,3)}function Ub(t,e){return vb(t.getMilliseconds(),e,3)}function Wb(t,e){return Ub(t,e)+"000"}function qb(t,e){return vb(t.getMonth()+1,e,2)}function Yb(t,e){return vb(t.getMinutes(),e,2)}function Xb(t,e){return vb(t.getSeconds(),e,2)}function Kb(t){var e=t.getDay();return 0===e?7:e}function Gb(t,e){return vb(Lm.count(Qm(t)-1,t),e,2)}function Zb(t){var e=t.getDay();return e>=4||0===e?$m(t):$m.ceil(t)}function Jb(t,e){return t=Zb(t),vb($m.count(Qm(t),t)+(4===Qm(t).getDay()),e,2)}function Qb(t){return t.getDay()}function tw(t,e){return vb(Bm.count(Qm(t)-1,t),e,2)}function ew(t,e){return vb(t.getFullYear()%100,e,2)}function rw(t,e){return vb((t=Zb(t)).getFullYear()%100,e,2)}function nw(t,e){return vb(t.getFullYear()%1e4,e,4)}function iw(t,e){var r=t.getDay();return vb((t=r>=4||0===r?$m(t):$m.ceil(t)).getFullYear()%1e4,e,4)}function ow(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+vb(e/60|0,"0",2)+vb(e%60,"0",2)}function aw(t,e){return vb(t.getUTCDate(),e,2)}function cw(t,e){return vb(t.getUTCHours(),e,2)}function lw(t,e){return vb(t.getUTCHours()%12||12,e,2)}function uw(t,e){return vb(1+Dm.count(tb(t),t),e,3)}function sw(t,e){return vb(t.getUTCMilliseconds(),e,3)}function fw(t,e){return sw(t,e)+"000"}function pw(t,e){return vb(t.getUTCMonth()+1,e,2)}function hw(t,e){return vb(t.getUTCMinutes(),e,2)}function dw(t,e){return vb(t.getUTCSeconds(),e,2)}function yw(t){var e=t.getUTCDay();return 0===e?7:e}function vw(t,e){return vb(Um.count(tb(t)-1,t),e,2)}function gw(t){var e=t.getUTCDay();return e>=4||0===e?Xm(t):Xm.ceil(t)}function mw(t,e){return t=gw(t),vb(Xm.count(tb(t),t)+(4===tb(t).getUTCDay()),e,2)}function bw(t){return t.getUTCDay()}function ww(t,e){return vb(Wm.count(tb(t)-1,t),e,2)}function xw(t,e){return vb(t.getUTCFullYear()%100,e,2)}function Ow(t,e){return vb((t=gw(t)).getUTCFullYear()%100,e,2)}function Sw(t,e){return vb(t.getUTCFullYear()%1e4,e,4)}function jw(t,e){var r=t.getUTCDay();return vb((t=r>=4||0===r?Xm(t):Xm.ceil(t)).getUTCFullYear()%1e4,e,4)}function Aw(){return"+0000"}function Pw(){return"%"}function Mw(t){return+t}function kw(t){return Math.floor(+t/1e3)}function Ew(t){return new Date(t)}function Cw(t){return t instanceof Date?+t:+new Date(+t)}function _w(t,e,r,n,i,o,a,c,l,u){var s=Ig(),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,Cw)):p().map(Ew)},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(Qg(r,t)):s},s.copy=function(){return Tg(s,_w(t,e,r,n,i,o,a,c,l,u))},s}function Tw(){var t,e,r,n,i,o=0,a=1,c=kg,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(Sg),u.rangeRound=s(jg),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 Dw(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Iw(){var t=hm(Tw());return t.copy=function(){return Dw(t,Iw()).exponent(t.exponent())},Av.apply(t,arguments)}function Nw(){var t,e,r,n,i,o,a,c=0,l=.5,u=1,s=1,f=kg,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=Ag(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(Sg),h.rangeRound=d(jg),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 Lw(){var t=hm(Nw());return t.copy=function(){return Dw(t,Lw()).exponent(t.exponent())},Av.apply(t,arguments)}!function(t){ub=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=mb(i),s=bb(i),f=mb(o),p=bb(o),h=mb(a),d=bb(a),y=mb(c),v=bb(c),g=mb(l),m=bb(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:$b,e:$b,f:Wb,g:rw,G:iw,H:Hb,I:Vb,j:Fb,L:Ub,m:qb,M:Yb,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Mw,s:kw,S:Xb,u:Kb,U:Gb,V:Jb,w:Qb,W:tw,x:null,X:null,y:ew,Y:nw,Z:ow,"%":Pw},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:aw,e:aw,f:fw,g:Ow,G:jw,H:cw,I:lw,j:uw,L:sw,m:pw,M:hw,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Mw,s:kw,S:dw,u:yw,U:vw,V:mw,w:bw,W:ww,x:null,X:null,y:xw,Y:Sw,Z:Aw,"%":Pw},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:Cb,e:Cb,f:Lb,g:Pb,G:Ab,H:Tb,I:Tb,j:_b,L:Nb,m:Eb,M:Db,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:kb,Q:Rb,s:zb,S:Ib,u:xb,U:Ob,V:Sb,w:wb,W:jb,x:function(t,e,n){return j(t,r,e,n)},X:function(t,e,r){return j(t,n,e,r)},y:Pb,Y:Ab,Z:Mb,"%":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=pb[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=lb(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=cb(lb(o.y,0,1))).getUTCDay(),n=i>4||0===i?Wm.ceil(n):Wm(n),n=Dm.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=ab(lb(o.y,0,1))).getDay(),n=i>4||0===i?Bm.ceil(n):Bm(n),n=Tm.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?cb(lb(o.y,0,1)).getUTCDay():ab(lb(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,cb(o)):ab(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 pb?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),sb=ub.format,ub.parse,fb=ub.utcFormat,ub.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:kv,scaleDiverging:function t(){var e=Zg(Nw()(kg));return e.copy=function(){return Dw(e,t())},Av.apply(e,arguments)},scaleDivergingLog:function t(){var e=am(Nw()).domain([.1,1,10]);return e.copy=function(){return Dw(e,t()).base(e.base())},Av.apply(e,arguments)},scaleDivergingPow:Lw,scaleDivergingSqrt:function(){return Lw.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function t(){var e=um(Nw());return e.copy=function(){return Dw(e,t()).constant(e.constant())},Av.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,Pg),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,Pg):[0,1],Zg(n)},scaleImplicit:Pv,scaleLinear:Jg,scaleLog:function t(){const e=am(Dg()).domain([1,10]);return e.copy=()=>Tg(e,t()).base(e.base()),jv.apply(e,arguments),e},scaleOrdinal:Mv,scalePoint:Cv,scalePow:dm,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]=Sv(r,t/e);return a}function a(t){return null==t||isNaN(t=+t)?e:n[cv(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(rv),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)},jv.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[cv(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)},jv.apply(Zg(c),arguments)},scaleRadial:function t(){var e,r=Ig(),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(ym(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,Pg)).map(ym)),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)},jv.apply(o,arguments),Zg(o)},scaleSequential:function t(){var e=Zg(Tw()(kg));return e.copy=function(){return Dw(e,t())},Av.apply(e,arguments)},scaleSequentialLog:function t(){var e=am(Tw()).domain([1,10]);return e.copy=function(){return Dw(e,t()).base(e.base())},Av.apply(e,arguments)},scaleSequentialPow:Iw,scaleSequentialQuantile:function t(){var e=[],r=kg;function n(t){if(null!=t&&!isNaN(t=+t))return r((cv(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(rv),n},n.interpolator=function(t){return arguments.length?(r=t,n):r},n.range=function(){return e.map(((t,n)=>r(n/(e.length-1))))},n.quantiles=function(t){return Array.from({length:t+1},((r,n)=>function(t,e,r){if((n=(t=Float64Array.from(function*(t,e){for(let e of t)null!=e&&(e=+e)>=e&&(yield e)}(t))).length)&&!isNaN(e=+e)){if(e<=0||n<2)return wv(t);if(e>=1)return bv(t);var n,i=(n-1)*e,o=Math.floor(i),a=bv(xv(t,o).subarray(0,o+1));return a+(wv(t.subarray(o+1))-a)*(i-o)}}(e,n/t)))},n.copy=function(){return t(r).domain(e)},Av.apply(n,arguments)},scaleSequentialSqrt:function(){return Iw.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function t(){var e=um(Tw());return e.copy=function(){return Dw(e,t()).constant(e.constant())},Av.apply(e,arguments)},scaleSqrt:function(){return dm.apply(null,arguments).exponent(.5)},scaleSymlog:function t(){var e=um(Dg());return e.copy=function(){return Tg(e,t()).constant(e.constant())},jv.apply(e,arguments)},scaleThreshold:function t(){var e,r=[.5],n=[0,1],i=1;function o(t){return null!=t&&t<=t?n[cv(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)},jv.apply(o,arguments)},scaleTime:function(){return jv.apply(_w(ib,ob,Qm,Zm,Lm,Tm,Cm,km,Mm,sb).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return jv.apply(_w(rb,nb,tb,Jm,Um,Dm,_m,Em,Mm,fb).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:Gg}),Rw=Dn;var zw=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&&!Rw(a):r(a,c)))var c=a,l=o}return l};var $w=zw,Hw=function(t,e){return t>e},Vw=ip;var Fw=function(t){return t&&t.length?$w(t,Vw,Hw):void 0},Uw=Ze(Fw);var Ww=zw,qw=function(t,e){return t<e},Yw=ip;var Xw=function(t){return t&&t.length?Ww(t,Yw,qw):void 0},Kw=Ze(Xw),Gw=go,Zw=gp,Jw=gh,Qw=hn;var tx=lh,ex=function(t,e){return(Qw(t)?Gw:Jw)(t,Zw(e))};var rx=Ze((function(t,e){return tx(ex(t,e),1)})),nx=Af;var ix,ox=Ze((function(t,e){return nx(t,e)})),ax=1e9,cx=!0,lx="[DecimalError] ",ux=lx+"Invalid argument: ",sx=lx+"Exponent out of range: ",fx=Math.floor,px=Math.pow,hx=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,dx=1e7,yx=7,vx=9007199254740991,gx=fx(vx/yx),mx={};function bx(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)),cx?Ex(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/yx))>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)/dx|0,l[o]%=dx;for(r&&(l.unshift(r),++i),c=l.length;0==l[--c];)l.pop();return e.d=l,e.e=i,cx?Ex(e,f):e}function wx(t,e,r){if(t!==~~t||t<e||t>r)throw Error(ux+t)}function xx(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=yx-n.length)&&(o+=Px(r)),o+=n;a=t[e],(r=yx-(n=a+"").length)&&(o+=Px(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}mx.absoluteValue=mx.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},mx.comparedTo=mx.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},mx.decimalPlaces=mx.dp=function(){var t=this,e=t.d.length-1,r=(e-t.e)*yx;if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},mx.dividedBy=mx.div=function(t){return Ox(this,new this.constructor(t))},mx.dividedToIntegerBy=mx.idiv=function(t){var e=this.constructor;return Ex(Ox(this,new e(t),0,1),e.precision)},mx.equals=mx.eq=function(t){return!this.cmp(t)},mx.exponent=function(){return jx(this)},mx.greaterThan=mx.gt=function(t){return this.cmp(t)>0},mx.greaterThanOrEqualTo=mx.gte=function(t){return this.cmp(t)>=0},mx.isInteger=mx.isint=function(){return this.e>this.d.length-2},mx.isNegative=mx.isneg=function(){return this.s<0},mx.isPositive=mx.ispos=function(){return this.s>0},mx.isZero=function(){return 0===this.s},mx.lessThan=mx.lt=function(t){return this.cmp(t)<0},mx.lessThanOrEqualTo=mx.lte=function(t){return this.cmp(t)<1},mx.logarithm=mx.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(ix))throw Error(lx+"NaN");if(r.s<1)throw Error(lx+(r.s?"NaN":"-Infinity"));return r.eq(ix)?new n(0):(cx=!1,e=Ox(Mx(r,o),Mx(t,o),o),cx=!0,Ex(e,i))},mx.minus=mx.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?Cx(e,t):bx(e,(t.s=-t.s,t))},mx.modulo=mx.mod=function(t){var e,r=this,n=r.constructor,i=n.precision;if(!(t=new n(t)).s)throw Error(lx+"NaN");return r.s?(cx=!1,e=Ox(r,t,0,1).times(t),cx=!0,r.minus(e)):Ex(new n(r),i)},mx.naturalExponential=mx.exp=function(){return Sx(this)},mx.naturalLogarithm=mx.ln=function(){return Mx(this)},mx.negated=mx.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},mx.plus=mx.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?bx(e,t):Cx(e,(t.s=-t.s,t))},mx.precision=mx.sd=function(t){var e,r,n,i=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(ux+t);if(e=jx(i)+1,r=(n=i.d.length-1)*yx+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},mx.squareRoot=mx.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(lx+"NaN")}for(t=jx(c),cx=!1,0==(i=Math.sqrt(+c))||i==1/0?(((e=xx(c.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=fx((t+1)/2)-(t<0||t%2),n=new l(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(Ox(c,o,a+2)).times(.5),xx(o.d).slice(0,a)===(e=xx(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(Ex(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=e)break;a+=4}return cx=!0,Ex(n,r)},mx.times=mx.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%dx|0,e=c/dx|0;o[i]=(o[i]+e)%dx|0}for(;!o[--a];)o.pop();return e?++r:o.shift(),t.d=o,t.e=r,cx?Ex(t,f.precision):t},mx.toDecimalPlaces=mx.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(wx(t,0,ax),void 0===e?e=n.rounding:wx(e,0,8),Ex(r,t+jx(r)+1,e))},mx.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=_x(n,!0):(wx(t,0,ax),void 0===e?e=i.rounding:wx(e,0,8),r=_x(n=Ex(new i(n),t+1,e),!0,t+1)),r},mx.toFixed=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?_x(i):(wx(t,0,ax),void 0===e?e=o.rounding:wx(e,0,8),r=_x((n=Ex(new o(i),t+jx(i)+1,e)).abs(),!1,t+jx(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},mx.toInteger=mx.toint=function(){var t=this,e=t.constructor;return Ex(new e(t),jx(t)+1,e.rounding)},mx.toNumber=function(){return+this},mx.toPower=mx.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(ix);if(!(c=new l(c)).s){if(t.s<1)throw Error(lx+"Infinity");return c}if(c.eq(ix))return c;if(n=l.precision,t.eq(ix))return Ex(c,n);if(a=(e=t.e)>=(r=t.d.length-1),o=c.s,a){if((r=u<0?-u:u)<=vx){for(i=new l(ix),e=Math.ceil(n/yx+4),cx=!1;r%2&&Tx((i=i.times(c)).d,e),0!==(r=fx(r/2));)Tx((c=c.times(c)).d,e);return cx=!0,t.s<0?new l(ix).div(i):Ex(i,n)}}else if(o<0)throw Error(lx+"NaN");return o=o<0&&1&t.d[Math.max(e,r)]?-1:1,c.s=1,cx=!1,i=t.times(Mx(c,n+12)),cx=!0,(i=Sx(i)).s=o,i},mx.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?n=_x(i,(r=jx(i))<=o.toExpNeg||r>=o.toExpPos):(wx(t,1,ax),void 0===e?e=o.rounding:wx(e,0,8),n=_x(i=Ex(new o(i),t,e),t<=(r=jx(i))||r<=o.toExpNeg,t)),n},mx.toSignificantDigits=mx.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(wx(t,1,ax),void 0===e?e=r.rounding:wx(e,0,8)),Ex(new r(this),t,e)},mx.toString=mx.valueOf=mx.val=mx.toJSON=mx[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=jx(t),r=t.constructor;return _x(t,e<=r.toExpNeg||e>=r.toExpPos)};var Ox=function(){function t(t,e){var r,n=0,i=t.length;for(t=t.slice();i--;)r=t[i]*e+n,t[i]=r%dx|0,n=r/dx|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*dx+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(lx+"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+(jx(n)-jx(i))+1:o)<0)return new A(0);if(m=m/yx+2|0,u=0,1==S)for(s=0,k=k[0],m++;(u<x||s)&&m--;u++)b=s*dx+(M[u]||0),d[u]=b/k|0,s=b%k|0;else{for((s=dx/(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]>=dx/2&&++O;do{s=0,(c=e(k,y,S,v))<0?(g=y[0],S!=v&&(g=g*dx+(y[1]||0)),(s=g/O|0)>1?(s>=dx&&(s=dx-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,Ex(h,a?o+jx(h)+1:o)}}();function Sx(t,e){var r,n,i,o,a,c=0,l=0,u=t.constructor,s=u.precision;if(jx(t)>16)throw Error(sx+jx(t));if(!t.s)return new u(ix);for(null==e?(cx=!1,a=s):a=e,o=new u(.03125);t.abs().gte(.1);)t=t.times(o),l+=5;for(a+=Math.log(px(2,l))/Math.LN10*2+5|0,r=n=i=new u(ix),u.precision=a;;){if(n=Ex(n.times(t),a),r=r.times(++c),xx((o=i.plus(Ox(n,r,a))).d).slice(0,a)===xx(i.d).slice(0,a)){for(;l--;)i=Ex(i.times(i),a);return u.precision=s,null==e?(cx=!0,Ex(i,s)):i}i=o}}function jx(t){for(var e=t.e*yx,r=t.d[0];r>=10;r/=10)e++;return e}function Ax(t,e,r){if(e>t.LN10.sd())throw cx=!0,r&&(t.precision=r),Error(lx+"LN10 precision limit exceeded");return Ex(new t(t.LN10),e)}function Px(t){for(var e="";t--;)e+="0";return e}function Mx(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(lx+(p.s?"NaN":"-Infinity"));if(p.eq(ix))return new d(0);if(null==e?(cx=!1,u=y):u=e,p.eq(10))return null==e&&(cx=!0),Ax(d,u);if(u+=10,d.precision=u,n=(r=xx(h)).charAt(0),o=jx(p),!(Math.abs(o)<15e14))return l=Ax(d,u+2,y).times(o+""),p=Mx(new d(n+"."+r.slice(1)),u-10).plus(l),d.precision=y,null==e?(cx=!0,Ex(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=xx((p=p.times(t)).d)).charAt(0),f++;for(o=jx(p),n>1?(p=new d("0."+r),o++):p=new d(n+"."+r.slice(1)),c=a=p=Ox(p.minus(ix),p.plus(ix),u),s=Ex(p.times(p),u),i=3;;){if(a=Ex(a.times(s),u),xx((l=c.plus(Ox(a,new d(i),u))).d).slice(0,u)===xx(c.d).slice(0,u))return c=c.times(2),0!==o&&(c=c.plus(Ax(d,u+2,y).times(o+""))),c=Ox(c,new d(f),u),d.precision=y,null==e?(cx=!0,Ex(c,y)):c;c=l,i+=2}}function kx(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=fx(r/yx),t.d=[],n=(r+1)%yx,r<0&&(n+=yx),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=yx;n<i;)t.d.push(+e.slice(n,n+=yx));e=e.slice(n),n=yx-e.length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),cx&&(t.e>gx||t.e<-gx))throw Error(sx+r)}else t.s=0,t.e=0,t.d=[0];return t}function Ex(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+=yx,i=e,u=f[s=0];else{if((s=Math.ceil((n+1)/yx))>=(o=f.length))return t;for(u=o=f[s],a=1;o>=10;o/=10)a++;i=(n%=yx)-yx+a}if(void 0!==r&&(c=u/(o=px(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/px(10,a-i):0:f[s-1])%10&1||r==(t.s<0?8:7))),e<1||!f[0])return l?(o=jx(t),f.length=1,e=e-o-1,f[0]=px(10,(yx-e%yx)%yx),t.e=fx(-e/yx)||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=px(10,yx-n),f[s]=i>0?(u/px(10,a-i)%px(10,i)|0)*o:0),l)for(;;){if(0==s){(f[0]+=o)==dx&&(f[0]=1,++t.e);break}if(f[s]+=o,f[s]!=dx)break;f[s--]=0,o=1}for(n=f.length;0===f[--n];)f.pop();if(cx&&(t.e>gx||t.e<-gx))throw Error(sx+jx(t));return t}function Cx(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),cx?Ex(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/yx),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]=dx-1;--l[o],l[i]+=dx}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,cx?Ex(e,h):e):new p(0)}function _x(t,e,r){var n,i=jx(t),o=xx(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+Px(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+Px(-i-1)+o,r&&(n=r-a)>0&&(o+=Px(n))):i>=a?(o+=Px(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+Px(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=Px(n))),t.s<0?"-"+o:o}function Tx(t,e){if(t.length>e)return t.length=e,!0}function Dx(t){if(!t||"object"!=typeof t)throw Error(lx+"Object expected");var e,r,n,i=["precision",1,ax,"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(!(fx(n)===n&&n>=i[e+1]&&n<=i[e+2]))throw Error(ux+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(ux+r+": "+n);this[r]=new this(n)}return this}var Ix=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(ux+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])):kx(e,t.toString())}if("string"!=typeof t)throw Error(ux+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!hx.test(t))throw Error(ux+t);kx(e,t)}if(o.prototype=mx,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=Dx,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"});ix=new Ix(1);var Nx=Ix;function Lx(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 Rx=function(t){return t},zx={"@@functional/placeholder":!0},$x=function(t){return t===zx},Hx=function(t){return function e(){return 0===arguments.length||1===arguments.length&&$x(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},Vx=function t(e,r){return 1===e?r:Hx((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!==zx})).length;return a>=e?r.apply(void 0,i):t(e-a,Hx((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 $x(t)?e.shift():t}));return r.apply(void 0,Lx(o).concat(e))})))}))},Fx=function(t){return Vx(t.length,t)},Ux=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},Wx=Fx((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),qx=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return Rx;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))}},Yx=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Xx=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 Kx=Fx((function(t,e,r){var n=+t;return n+r*(+e-n)})),Gx=Fx((function(t,e,r){var n=e-+t;return(r-t)/(n=n||1/0)})),Zx=Fx((function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))})),Jx={rangeStep:function(t,e,r){for(var n=new Nx(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 Nx(t).abs().log(10).toNumber())+1},interpolateNumber:Kx,uninterpolateNumber:Gx,uninterpolateTruncation:Zx};function Qx(t){return function(t){if(Array.isArray(t))return rO(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||eO(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 tO(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)||eO(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 eO(t,e){if(t){if("string"==typeof t)return rO(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)?rO(t,e):void 0}}function rO(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 nO(t){var e=tO(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function iO(t,e,r){if(t.lte(0))return new Nx(0);var n=Jx.getDigitCount(t.toNumber()),i=new Nx(10).pow(n),o=t.div(i),a=1!==n?.05:.1,c=new Nx(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?c:new Nx(Math.ceil(c))}function oO(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 Nx(0),tickMin:new Nx(0),tickMax:new Nx(0)};var o,a=iO(new Nx(e).sub(t).div(r-1),n,i);o=t<=0&&e>=0?new Nx(0):(o=new Nx(t).add(e).div(2)).sub(new Nx(o).mod(a));var c=Math.ceil(o.sub(t).div(a).toNumber()),l=Math.ceil(new Nx(e).sub(o).div(a).toNumber()),u=c+l+1;return u>r?oO(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 Nx(c).mul(a)),tickMax:o.add(new Nx(l).mul(a))})}var aO=Xx((function(t){var e=tO(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=tO(nO([r,n]),2),l=c[0],u=c[1];if(l===-1/0||u===1/0){var s=u===1/0?[l].concat(Qx(Ux(0,i-1).map((function(){return 1/0})))):[].concat(Qx(Ux(0,i-1).map((function(){return-1/0}))),[u]);return r>n?Yx(s):s}if(l===u)return function(t,e,r){var n=1,i=new Nx(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new Nx(10).pow(Jx.getDigitCount(t)-1),i=new Nx(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new Nx(Math.floor(t)))}else 0===t?i=new Nx(Math.floor((e-1)/2)):r||(i=new Nx(Math.floor(t)));var a=Math.floor((e-1)/2);return qx(Wx((function(t){return i.add(new Nx(t-a).mul(n)).toNumber()})),Ux)(0,e)}(l,i,o);var f=oO(l,u,a,o),p=f.step,h=f.tickMin,d=f.tickMax,y=Jx.rangeStep(h,d.add(new Nx(.1).mul(p)),p);return r>n?Yx(y):y})),cO=Xx((function(t,e){var r=tO(t,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=tO(nO([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=iO(new Nx(l).sub(c).div(u-1),o,0),f=[].concat(Qx(Jx.rangeStep(new Nx(c),new Nx(l).sub(new Nx(.99).mul(s)),s)),[l]);return n>i?Yx(f):f})),lO="production"===process.env.NODE_ENV,uO="Invariant failed";function sO(t,e){if(lO)throw new Error(uO);var r="function"==typeof e?e():e,n=r?"".concat(uO,": ").concat(r):uO;throw new Error(n)}var fO=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function pO(){return pO=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},pO.apply(this,arguments)}function hO(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return dO(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 dO(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 dO(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 yO(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 vO(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=yO(t,fO),s=Ia(u,!1);"x"===t.direction&&"number"!==c.type&&("production"!==process.env.NODE_ENV?sO(0,'ErrorBar requires Axis type property to be "number".'):sO());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=hO(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 J.createElement(Wa,pO({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 J.createElement("line",pO({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))})))}));return J.createElement(Wa,{className:"recharts-errorBars"},f)}function gO(t){return gO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gO(t)}function mO(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 bO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?mO(Object(r),!0).forEach((function(e){wO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function wO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=gO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=gO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==gO(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}vO.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},vO.displayName="ErrorBar";var xO=function(t){var e,r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=Ca(r,rh);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:CO(e),value:i||n,payload:e.props}})),bO(bO(bO({},a.props),rh.getWithHeight(a,i)),{},{payload:e,item:a})):null};function OO(t){return OO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},OO(t)}function SO(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 jO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?SO(Object(r),!0).forEach((function(e){AO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):SO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function AO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=OO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=OO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==OO(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function PO(t){return function(t){if(Array.isArray(t))return MO(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 MO(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 MO(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 MO(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 kO(t,e,r){return zo(t)||zo(e)?r:oa(e)?Ro(t,e,r):Wn(e)?e(t):r}function EO(t,e,r,n){var i=rx(t,(function(t){return kO(t,e)}));if("number"===r){var o=i.filter((function(t){return ia(t)||parseFloat(t)}));return o.length?[Kw(o),Uw(o)]:[1/0,-1/0]}return(n?i.filter((function(t){return!zo(t)})):i).map((function(t){return oa(t)||t instanceof Date?t:""}))}var CO=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},_O=function(t,e,r,n,i){var o=Ea(e.props.children,vO).filter((function(t){return function(t,e,r){return!!zo(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=kO(e,r);if(zo(n))return t;var i=Array.isArray(n)?[Kw(n),Uw(n)]:[n,n],o=a.reduce((function(t,r){var n=kO(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},TO=function(t,e,r,n,i){var o=e.map((function(e){var o=e.props.dataKey;return"number"===r&&o&&_O(t,e,o,n)||EO(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}),[])},DO=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},IO=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*ra(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!ea(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}}))},NO=new WeakMap,LO=function(t,e){if("function"!=typeof e)return t;NO.has(t)||NO.set(t,new WeakMap);var r=NO.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,RO={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=ea(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}Sl(t,e)}},none:Sl,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}Sl(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,Sl(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=ea(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)}}},zO=function(t,e,r){var n=e.map((function(t){return t.props.dataKey})),i=RO[r],o=function(){var t=Sc([]),e=jl,r=Sl,n=Al;function i(i){var o,a,c=Array.from(t.apply(this,arguments),Pl),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=Lc(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:Sc(Array.from(e)),i):t},i.value=function(t){return arguments.length?(n="function"==typeof t?t:Sc(+t),i):n},i.order=function(t){return arguments.length?(e=null==t?jl:"function"==typeof t?t:Sc(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(r=null==t?Sl:t,i):r},i}().keys(n).value((function(t,e){return+kO(t,e,0)})).order(jl).offset(i);return o(t)};function $O(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&&!zo(i[e.dataKey])){var c=fa(r,"value",i[e.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var l=kO(i,zo(a)?e.dataKey:a);return zo(l)?null:e.scale(l)}var HO=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=kO(o,e.dataKey,e.domain[a]);return zo(c)?null:e.scale(c)-i/2+n},VO=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[Kw(e.concat([t[0]]).filter(ia)),Uw(e.concat([t[1]]).filter(ia))]}),[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}))},FO=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,UO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,WO=function(t,e,r){if(Wn(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if(ia(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(FO.test(t[0])){var i=+FO.exec(t[0])[1];n[0]=e[0]-i}else Wn(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if(ia(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(UO.test(t[1])){var o=+UO.exec(t[1])[1];n[1]=e[1]+o}else Wn(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},qO=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=ed(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},YO=function(t,e,r){return t&&t.length?ox(t,Ro(r,"type.defaultProps.domain"))?e:t:e},XO=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 jO(jO({},Ia(t,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:CO(t),value:kO(e,n),type:c,payload:e,chartType:l,hide:u})};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)}function GO(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 ZO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?GO(Object(r),!0).forEach((function(e){JO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):GO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function JO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=KO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=KO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==KO(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 QO=Math.PI/180,tS=function(t){return 180*t/Math.PI},eS=function(t,e,r,n){return{x:t+Math.cos(-QO*n)*r,y:e+Math.sin(-QO*n)*r}},rS=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:tS(l),angleInRadian:l}},nS=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)},iS=function(t,e){var r=t.x,n=t.y,i=rS({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?ZO(ZO({},e),{},{radius:o,angle:nS(h,e)}):null};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=["offset"];function cS(t){return function(t){if(Array.isArray(t))return lS(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 lS(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 lS(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 lS(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 uS(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 sS(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 fS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sS(Object(r),!0).forEach((function(e){pS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function pS(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 hS(){return hS=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},hS.apply(this,arguments)}var dS=function(t){var e=t.value,r=t.formatter,n=zo(t.children)?e:t.children;return Wn(r)?r(n):n},yS=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 ra(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=eS(s,f,g,n),x=eS(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=zo(t.id)?ca("recharts-radial-line-"):t.id;return J.createElement("text",hS({},r,{dominantBaseline:"central",className:pn("recharts-radial-bar-label",l)}),J.createElement("defs",null,J.createElement("path",{id:S,d:O})),J.createElement("textPath",{xlinkHref:"#".concat(S)},e))},vS=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=eS(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=eS(o,a,(c+l)/2,u);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},gS=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 fS(fS({},{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 fS(fS({},{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 fS(fS({},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 fS(fS({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:u}:{})}var w=r?{width:l,height:u}:{};return"insideLeft"===i?fS({x:a+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"},w):"insideRight"===i?fS({x:a+l-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?fS({x:a+l/2,y:c+f,textAnchor:"middle",verticalAnchor:h},w):"insideBottom"===i?fS({x:a+l/2,y:c+u-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?fS({x:a+y,y:c+f,textAnchor:g,verticalAnchor:h},w):"insideTopRight"===i?fS({x:a+l-y,y:c+f,textAnchor:v,verticalAnchor:h},w):"insideBottomLeft"===i?fS({x:a+y,y:c+u-f,textAnchor:g,verticalAnchor:p},w):"insideBottomRight"===i?fS({x:a+l-y,y:c+u-f,textAnchor:v,verticalAnchor:p},w):$n(i)&&(ia(i.x)||na(i.x))&&(ia(i.y)||na(i.y))?fS({x:a+la(i.x,l),y:c+la(i.y,u),textAnchor:"end",verticalAnchor:"end"},w):fS({x:a+l/2,y:c+u/2,textAnchor:"middle",verticalAnchor:"middle"},w)},mS=function(t){return"cx"in t&&ia(t.cx)};function bS(t){var e,r=t.offset,n=fS({offset:void 0===r?5:r},uS(t,aS)),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||zo(a)&&zo(c)&&!Q(l)&&!Wn(l))return null;if(Q(l))return ut(l,n);if(Wn(l)){if(Q(e=st(l,n)))return e}else e=dS(n);var p=mS(i),h=Ia(n,!0);if(p&&("insideStart"===o||"insideEnd"===o||"end"===o))return yS(n,e,h);var d=p?vS(n):gS(n);return J.createElement(ev,hS({className:pn("recharts-label",s)},h,d,{breakAll:f}),e)}bS.displayName="Label";var wS=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(ia(d)&&ia(y)){if(ia(s)&&ia(f))return{x:s,y:f,width:d,height:y};if(ia(p)&&ia(h))return{x:p,y:h,width:d,height:y}}return ia(s)&&ia(f)?{x:s,y:f,width:0,height:0}:ia(e)&&ia(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:{}};bS.parseViewBox=wS,bS.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=wS(t),o=Ea(n,bS).map((function(t,r){return ut(t,{viewBox:e||i,key:"label-".concat(r)})}));if(!r)return o;var a=function(t,e){return t?!0===t?J.createElement(bS,{key:"label-implicit",viewBox:e}):oa(t)?J.createElement(bS,{key:"label-implicit",viewBox:e,value:t}):Q(t)?t.type===bS?ut(t,{key:"label-implicit",viewBox:e}):J.createElement(bS,{key:"label-implicit",content:t,viewBox:e}):Wn(t)?J.createElement(bS,{key:"label-implicit",content:t,viewBox:e}):$n(t)?J.createElement(bS,hS({viewBox:e},t,{key:"label-implicit"})):null:null}(t.label,e||i);return[a].concat(cS(o))};var xS=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0},OS=Ze(xS);function SS(t){return SS="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},SS(t)}var jS=["valueAccessor"],AS=["data","dataKey","clockWise","id","textBreakAll"];function PS(t){return function(t){if(Array.isArray(t))return MS(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 MS(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 MS(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 MS(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 kS(){return kS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},kS.apply(this,arguments)}function ES(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function CS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ES(Object(r),!0).forEach((function(e){_S(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ES(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _S(t,e,r){return e=function(t){var e=function(t,e){if("object"!=SS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=SS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==SS(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 TS(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 DS=function(t){return Array.isArray(t.value)?OS(t.value):t.value};function IS(t){var e=t.valueAccessor,r=void 0===e?DS:e,n=TS(t,jS),i=n.data,o=n.dataKey,a=n.clockWise,c=n.id,l=n.textBreakAll,u=TS(n,AS);return i&&i.length?J.createElement(Wa,{className:"recharts-label-list"},i.map((function(t,e){var n=zo(o)?r(t,e):kO(t&&t.payload,o),i=zo(c)?{}:{id:"".concat(c,"-").concat(e)};return J.createElement(bS,kS({},Ia(t,!0),u,i,{parentViewBox:t.parentViewBox,value:n,textBreakAll:l,viewBox:bS.parseViewBox(zo(a)?t:CS(CS({},t),{},{clockWise:a})),key:"label-".concat(e),index:e}))}))):null}function NS(t){return NS="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},NS(t)}function LS(){return LS=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},LS.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 RS(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){zS(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 zS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=NS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=NS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==NS(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}IS.displayName="LabelList",IS.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=Ea(t.children,IS).map((function(t,r){return ut(t,{data:e,key:"labelList-".concat(r)})}));return r?[function(t,e){return t?!0===t?J.createElement(IS,{key:"labelList-implicit",data:e}):J.isValidElement(t)||Wn(t)?J.createElement(IS,{key:"labelList-implicit",data:e,content:t}):$n(t)?J.createElement(IS,kS({data:e},t,{key:"labelList-implicit"})):null:null}(t.label,e)].concat(PS(n)):n};var $S=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)/QO,f=l?i:i+o*s,p=l?i-o*s:i;return{center:eS(e,r,u,f),circleTangency:eS(e,r,n,f),lineTangency:eS(e,r,u*Math.cos(s*QO),p),theta:s}},HS=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=function(t,e){return ra(e-t)*Math.min(Math.abs(e-t),359.999)}(o,t.endAngle),c=o+a,l=eS(e,r,i,o),u=eS(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=eS(e,r,n,o),p=eS(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},VS={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},FS=function(t){var e=RS(RS({},VS),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=pn("recharts-sector",f),d=o-i,y=la(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=ra(u-l),f=$S({cx:e,cy:r,radius:i,angle:l,sign:s,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=$S({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 "):HS({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=$S({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=$S({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}):HS({cx:r,cy:n,innerRadius:i,outerRadius:o,startAngle:u,endAngle:s}),J.createElement("path",LS({},Ia(e,!0),{className:h,d:p,role:"img"}))};function US(t){return US="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},US(t)}function WS(){return WS=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},WS.apply(this,arguments)}function qS(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 YS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?qS(Object(r),!0).forEach((function(e){XS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qS(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"!=US(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=US(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==US(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 KS,GS,ZS,JS,QS,tj,ej,rj,nj,ij,oj,aj,cj={curveBasisClosed:function(t){return new sl(t)},curveBasisOpen:function(t){return new fl(t)},curveBasis:function(t){return new ul(t)},curveBumpX:function(t){return new Fc(t,!0)},curveBumpY:function(t){return new Fc(t,!1)},curveLinearClosed:function(t){return new pl(t)},curveLinear:Rc,curveMonotoneX:function(t){return new gl(t)},curveMonotoneY:function(t){return new ml(t)},curveNatural:function(t){return new wl(t)},curveStep:function(t){return new Ol(t,.5)},curveStepAfter:function(t){return new Ol(t,1)},curveStepBefore:function(t){return new Ol(t,0)}},lj=function(t){return t.x===+t.x&&t.y===+t.y},uj=function(t){return t.x},sj=function(t){return t.y},fj=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(Wn(t))return t;var r="curve".concat(Oc(t));return"curveMonotone"!==r&&"curveBump"!==r||!e?cj[r]||Rc:cj["".concat(r).concat("vertical"===e?"Y":"X")]}(n,c),f=u?o.filter((function(t){return lj(t)})):o;if(Array.isArray(a)){var p=u?a.filter((function(t){return lj(t)})):a,h=f.map((function(t,e){return YS(YS({},t),{},{base:p[e]})}));return(e="vertical"===c?Vc().y(sj).x1(uj).x0((function(t){return t.base.x})):Vc().x(uj).y1(sj).y0((function(t){return t.base.y}))).defined(lj).curve(s),e(h)}return(e="vertical"===c&&ia(a)?Vc().y(sj).x1(uj).x0(a):ia(a)?Vc().x(uj).y1(sj).y0(a):Hc().x(uj).y(sj)).defined(lj).curve(s),e(f)},pj=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?fj(t):n;return J.createElement("path",WS({},Ia(t,!1),ma(t),{className:pn("recharts-curve",e),d:o,ref:i}))},hj={exports:{}};function dj(){if(GS)return KS;GS=1;var t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return KS=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},KS}function yj(){if(JS)return ZS;JS=1;return ZS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function vj(){return tj?QS:(tj=1,QS=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var gj=Ko;hj.exports=function(){if(ij)return nj;ij=1;var t=Ko,e=dj(),r=yj(),n=vj(),i=function(){if(rj)return ej;rj=1;var t=function(){};if("production"!==process.env.NODE_ENV){var e=yj(),r={},n=vj();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={})},ej=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){}}),nj=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},nj}()(gj.isElement,!0)}else hj.exports=function(){if(aj)return oj;aj=1;var t=yj();function e(){}function r(){}return r.resetWarningCache=e,oj=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 mj=Ze(hj.exports),bj=Object.getOwnPropertyNames,wj=Object.getOwnPropertySymbols,xj=Object.prototype.hasOwnProperty;function Oj(t,e){return function(r,n,i){return t(r,n,i)&&e(r,n,i)}}function Sj(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 jj(t){return bj(t).concat(wj(t))}var Aj=Object.hasOwn||function(t,e){return xj.call(t,e)};function Pj(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var Mj="_owner",kj=Object.getOwnPropertyDescriptor,Ej=Object.keys;function Cj(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 _j(t,e){return Pj(t.getTime(),e.getTime())}function Tj(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 Dj(t,e,r){var n,i=Ej(t),o=i.length;if(Ej(e).length!==o)return!1;for(;o-- >0;){if((n=i[o])===Mj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!Aj(e,n)||!r.equals(t[n],e[n],n,n,t,e,r))return!1}return!0}function Ij(t,e,r){var n,i,o,a=jj(t),c=a.length;if(jj(e).length!==c)return!1;for(;c-- >0;){if((n=a[c])===Mj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!Aj(e,n))return!1;if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;if(i=kj(t,n),o=kj(e,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function Nj(t,e){return Pj(t.valueOf(),e.valueOf())}function Lj(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 Rj(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 zj="[object Arguments]",$j="[object Boolean]",Hj="[object Date]",Vj="[object Map]",Fj="[object Number]",Uj="[object Object]",Wj="[object RegExp]",qj="[object Set]",Yj="[object String]",Xj=Array.isArray,Kj="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,Gj=Object.assign,Zj=Object.prototype.toString.call.bind(Object.prototype.toString);var Jj=Qj();function Qj(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?Ij:Cj,areDatesEqual:_j,areMapsEqual:n?Oj(Tj,Ij):Tj,areObjectsEqual:n?Ij:Dj,arePrimitiveWrappersEqual:Nj,areRegExpsEqual:Lj,areSetsEqual:n?Oj(Bj,Ij):Bj,areTypedArraysEqual:n?Ij:Rj};if(r&&(i=Gj({},i,r(i))),e){var o=Sj(i.areArraysEqual),a=Sj(i.areMapsEqual),c=Sj(i.areObjectsEqual),l=Sj(i.areSetsEqual);i=Gj({},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(Xj(t))return e(t,u,s);if(null!=Kj&&Kj(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=Zj(t);return p===Hj?r(t,u,s):p===Wj?a(t,u,s):p===Vj?n(t,u,s):p===qj?c(t,u,s):p===Uj?"function"!=typeof t.then&&"function"!=typeof u.then&&i(t,u,s):p===zj?i(t,u,s):(p===$j||p===Fj||p===Yj)&&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 tA(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 eA(t){return eA="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},eA(t)}function rA(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 nA(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 nA(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 nA(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 iA(){var t=function(){return null},e=!1,r=function r(n){if(!e){if(Array.isArray(n)){if(!n.length)return;var i=rA(n),o=i[0],a=i.slice(1);return"number"==typeof o?void tA(r.bind(null,a),o):(r(o),void tA(r.bind(null,a)))}"object"===eA(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 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)}function aA(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 cA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?aA(Object(r),!0).forEach((function(e){lA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function lA(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==oA(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==oA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===oA(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Qj({strict:!0}),Qj({circular:!0}),Qj({circular:!0,strict:!0}),Qj({createInternalComparator:function(){return Pj}}),Qj({strict:!0,createInternalComparator:function(){return Pj}}),Qj({circular:!0,createInternalComparator:function(){return Pj}}),Qj({circular:!0,createInternalComparator:function(){return Pj},strict:!0});var uA=function(t){return t},sA=function(t,e){return Object.keys(e).reduce((function(r,n){return cA(cA({},r),{},lA({},n,t(n,e[n])))}),{})},fA=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(",")},pA="production"!==process.env.NODE_ENV,hA=function(t,e,r,n,i,o,a,c){if(pA&&"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 dA(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||vA(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 yA(t){return function(t){if(Array.isArray(t))return gA(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||vA(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 vA(t,e){if(t){if("string"==typeof t)return gA(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)?gA(t,e):void 0}}function gA(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 mA=1e-4,bA=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},wA=function(t,e){return t.map((function(t,r){return t*Math.pow(e,r)})).reduce((function(t,e){return t+e}))},xA=function(t,e){return function(r){var n=bA(t,e);return wA(n,r)}},OA=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],i=e[1],o=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var c=e[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var l=c[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),u=dA(l,4);n=u[0],i=u[1],o=u[2],a=u[3]}else hA(!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)}hA([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=xA(n,o),h=xA(i,a),d=(s=n,f=o,function(t){var e=bA(s,f),r=[].concat(yA(e.map((function(t,e){return t*e})).slice(1)),[0]);return wA(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)<mA||a<mA)return h(n);n=(e=n-o/a)>1?1:e<0?0:e}return h(n)};return y.isStepper=!1,y},SA=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return OA(n);case"spring":return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,i=void 0===n?8:n,o=t.dt,a=void 0===o?17:o,c=function(t,e,n){var o=n+(-(t-e)*r-n*i)*a/1e3,c=n*a/1e3+t;return Math.abs(c-e)<mA&&Math.abs(o)<mA?[e,0]:[c,o]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return OA(n);hA(!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:(hA(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function jA(t){return jA="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},jA(t)}function AA(t){return function(t){if(Array.isArray(t))return _A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||CA(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 PA(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 MA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?PA(Object(r),!0).forEach((function(e){kA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):PA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function kA(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==jA(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==jA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===jA(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function EA(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||CA(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 CA(t,e){if(t){if("string"==typeof t)return _A(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)?_A(t,e):void 0}}function _A(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=function(t,e,r){return t+(e-t)*r},DA=function(t){return t.from!==t.to},IA=function t(e,r,n){var i=sA((function(t,r){if(DA(r)){var n=EA(e(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return MA(MA({},r),{},{from:i,velocity:o})}return r}),r);return n<1?sA((function(t,e){return DA(e)?MA(MA({},e),{},{velocity:TA(e.velocity,i[t].velocity,n),from:TA(e.from,i[t].from,n)}):e}),r):t(e,i,n-1)},NA=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 MA(MA({},r),{},kA({},n,[t[n],e[n]]))}),{}),f=u.reduce((function(r,n){return MA(MA({},r),{},kA({},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=IA(r,f,o),i(MA(MA(MA({},t),e),sA((function(t,e){return e.from}),f))),c=n,Object.values(f).filter(DA).length&&(p=requestAnimationFrame(h))}:function(o){l||(l=o);var a=(o-l)/n,c=sA((function(t,e){return TA.apply(void 0,AA(e).concat([r(a)]))}),s);if(i(MA(MA(MA({},t),e),c)),a<1)p=requestAnimationFrame(h);else{var u=sA((function(t,e){return TA.apply(void 0,AA(e).concat([r(1)]))}),s);i(MA(MA(MA({},t),e),u))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(p)}}};function LA(t){return LA="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},LA(t)}var BA=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function RA(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 zA(t){return function(t){if(Array.isArray(t))return $A(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 $A(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 $A(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 $A(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 HA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function VA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?HA(Object(r),!0).forEach((function(e){FA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):HA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function FA(t,e,r){return(e=WA(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function UA(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,WA(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function WA(t){var e=function(t,e){if("object"!==LA(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==LA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===LA(e)?e:String(e)}function qA(t,e){return qA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},qA(t,e)}function YA(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=GA(t);if(e){var i=GA(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return XA(this,r)}}function XA(t,e){if(e&&("object"===LA(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return KA(t)}function KA(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GA(t){return GA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},GA(t)}var ZA=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&&qA(t,e)}(r,et);var e=YA(r);function r(t,n){var i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r);var o=(i=e.call(this,t,n)).props,a=o.isActive,c=o.attributeName,l=o.from,u=o.to,s=o.steps,f=o.children,p=o.duration;if(i.handleStyleChange=i.handleStyleChange.bind(KA(i)),i.changeStyle=i.changeStyle.bind(KA(i)),!a||p<=0)return i.state={style:{}},"function"==typeof f&&(i.state={style:u}),XA(i);if(s&&s.length)i.state={style:s[0].style};else if(l){if("function"==typeof f)return i.state={style:l},XA(i);i.state={style:c?FA({},c,l):l}}else i.state={style:{}};return i}return UA(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(!(Jj(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?FA({},i,s):s};(i&&l[i]!==s||!i&&l!==s)&&this.setState(f)}this.runAnimation(VA(VA({},this.props),{},{from:s,begin:0}))}}else{var p={style:i?FA({},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=NA(r,n,SA(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(zA(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(zA(t),[e.runJSAnimation.bind(e,{from:f.style,to:l,duration:o,easing:c}),o]);var h=fA(p,o,c),d=VA(VA(VA({},f.style),l),{},{transition:h});return[].concat(zA(t),[d,o,s]).filter(uA)}),[a,Math.max(l,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=iA());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?FA({},n,i):i,p=fA(Object.keys(f),r,o);s.start([a,e,VA(VA({},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=RA(t,BA),o=tt.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 ut(t,VA(VA({},i),{},{style:VA(VA({},n),a),className:o}))};return 1===o?c(tt.only(e)):J.createElement("div",null,tt.map(e,(function(t){return c(t)})))}}]),r}();function JA(t){return JA="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},JA(t)}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)}function tP(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return eP(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 eP(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 eP(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 rP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rP(Object(r),!0).forEach((function(e){iP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function iP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=JA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=JA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==JA(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}ZA.displayName="Animate",ZA.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},ZA.propTypes={from:mj.oneOfType([mj.object,mj.string]),to:mj.oneOfType([mj.object,mj.string]),attributeName:mj.string,duration:mj.number,begin:mj.number,easing:mj.oneOfType([mj.string,mj.func]),steps:mj.arrayOf(mj.shape({duration:mj.number.isRequired,style:mj.object.isRequired,easing:mj.oneOfType([mj.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),mj.func]),properties:mj.arrayOf("string"),onAnimationEnd:mj.func})),children:mj.oneOfType([mj.node,mj.func]),isActive:mj.bool,canBegin:mj.bool,onAnimationEnd:mj.func,shouldReAnimate:mj.bool,onAnimationStart:mj.func,onAnimationReStart:mj.func},mj.object,mj.object,mj.object,mj.element,mj.object,mj.object,mj.object,mj.oneOfType([mj.array,mj.element]),mj.any;var oP=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},aP=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},cP={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},lP=function(t){var e=nP(nP({},cP),t),r=nt(),n=tP(ot(-1),2),i=n[0],o=n[1];ct((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=pn("recharts-rectangle",f);return v?J.createElement(ZA,{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 J.createElement(ZA,{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},J.createElement("path",QA({},Ia(e,!0),{className:g,d:oP(a,c,n,o,s),ref:r})))})):J.createElement("path",QA({},Ia(e,!0),{className:g,d:oP(a,c,l,u,s)}))};function uP(){return uP=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},uP.apply(this,arguments)}var sP=function(t){var e=t.cx,r=t.cy,n=t.r,i=pn("recharts-dot",t.className);return e===+e&&r===+r&&n===+n?J.createElement("circle",uP({},Ia(t,!1),ma(t),{className:i,cx:e,cy:r,r:n})):null};function fP(t){return fP="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},fP(t)}var pP=["x","y","top","left","width","height","className"];function hP(){return hP=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},hP.apply(this,arguments)}function dP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function yP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=fP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fP(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 vP(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 gP=function(t,e,r,n,i,o){return"M".concat(t,",").concat(i,"v").concat(n,"M").concat(o,",").concat(e,"h").concat(r)},mP=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?dP(Object(r),!0).forEach((function(e){yP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({x:r,y:i,top:a,left:l,width:s,height:p},vP(t,pP));return ia(r)&&ia(i)&&ia(s)&&ia(p)&&ia(a)&&ia(l)?J.createElement("path",hP({},Ia(d,!0),{className:pn("recharts-cross",h),d:gP(r,i,s,p,a,l)})):null},bP=Os(Object.getPrototypeOf,Object),wP=En,xP=bP,OP=Cn,SP=Function.prototype,jP=Object.prototype,AP=SP.toString,PP=jP.hasOwnProperty,MP=AP.call(Object);var kP=Ze((function(t){if(!OP(t)||"[object Object]"!=wP(t))return!1;var e=xP(t);if(null===e)return!0;var r=PP.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&AP.call(r)==MP})),EP=En,CP=Cn;var _P=Ze((function(t){return!0===t||!1===t||CP(t)&&"[object Boolean]"==EP(t)}));function TP(t){return TP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},TP(t)}function DP(){return DP=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},DP.apply(this,arguments)}function IP(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return NP(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 NP(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 NP(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 LP(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?LP(Object(r),!0).forEach((function(e){RP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):LP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function RP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=TP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=TP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==TP(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zP=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")},$P={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},HP=function(t){var e=BP(BP({},$P),t),r=nt(),n=IP(ot(-1),2),i=n[0],o=n[1];ct((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=pn("recharts-trapezoid",f);return y?J.createElement(ZA,{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 J.createElement(ZA,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,easing:p},J.createElement("path",DP({},Ia(e,!0),{className:v,d:zP(c,l,n,o,a),ref:r})))})):J.createElement("g",null,J.createElement("path",DP({},Ia(e,!0),{className:v,d:zP(a,c,l,u,s)})))},VP=["option","shapeType","propTransformer","activeClassName","isActive"];function FP(t){return FP="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},FP(t)}function UP(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 WP(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 qP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?WP(Object(r),!0).forEach((function(e){YP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):WP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function YP(t,e,r){return e=function(t){var e=function(t,e){if("object"!=FP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=FP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==FP(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 XP(t,e){return qP(qP({},e),t)}function KP(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return J.createElement(lP,r);case"trapezoid":return J.createElement(HP,r);case"sector":return J.createElement(FS,r);case"symbols":if(function(t,e){return"symbols"===t}(e))return J.createElement(Ll,r);break;default:return null}}function GP(t){var e,r=t.option,n=t.shapeType,i=t.propTransformer,o=void 0===i?XP:i,a=t.activeClassName,c=void 0===a?"recharts-active-shape":a,l=t.isActive,u=UP(t,VP);if(Q(r))e=ut(r,qP(qP({},u),function(t){return Q(t)?t.props:t}(r)));else if(Wn(r))e=r(u);else if(kP(r)&&!_P(r)){var s=o(r,u);e=J.createElement(KP,{shapeType:n,elementProps:s})}else{var f=u;e=J.createElement(KP,{shapeType:n,elementProps:f})}return l?J.createElement(Wa,{className:c},e):e}function ZP(t,e){return null!=e&&"trapezoids"in t.props}function JP(t,e){return null!=e&&"sectors"in t.props}function QP(t,e){return null!=e&&"points"in t.props}function tM(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 eM(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function rM(t,e){var r=t.x===e.x,n=t.y===e.y,i=t.z===e.z;return r&&n&&i}function nM(t){var e=t.activeTooltipItem,r=t.graphicalItem,n=t.itemData,i=function(t,e){var r;return ZP(t,e)?r="trapezoids":JP(t,e)?r="sectors":QP(t,e)&&(r="points"),r}(r,e),o=function(t,e){var r,n;return ZP(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:JP(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:QP(t,e)?e.payload:{}}(r,e),a=n.filter((function(t,n){var a=ox(o,t),c=r.props[i].filter((function(t){var n=function(t,e){var r;return ZP(t,e)?r=tM:JP(t,e)?r=eM:QP(t,e)&&(r=rM),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 iM=Math.ceil,oM=Math.max;var aM=ey,cM=1/0;var lM=function(t,e,r,n){for(var i=-1,o=oM(iM((e-t)/(r||1)),0),a=Array(o);o--;)a[n?o:++i]=t,t+=r;return a},uM=Zh,sM=function(t){return t?(t=aM(t))===cM||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0};var fM=Ze(function(t){return function(e,r,n){return n&&"number"!=typeof n&&uM(e,r,n)&&(r=n=void 0),e=sM(e),void 0===r?(r=e,e=0):r=sM(r),n=void 0===n?e<r?1:-1:sM(n),lM(e,r,n,t)}}());function pM(t){return pM="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},pM(t)}function hM(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 dM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hM(Object(r),!0).forEach((function(e){yM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yM(t,e,r){return e=function(t){var e=function(t,e){if("object"!=pM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pM(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 vM=["Webkit","Moz","O","ms"];function gM(t){return gM="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},gM(t)}function mM(){return mM=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},mM.apply(this,arguments)}function bM(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 wM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?bM(Object(r),!0).forEach((function(e){MM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function xM(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,kM(n.key),n)}}function OM(t,e,r){return e=jM(e),function(t,e){if(e&&("object"===gM(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return AM(t)}(t,SM()?Reflect.construct(e,r||[],jM(t).constructor):e.apply(t,r))}function SM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(SM=function(){return!!t})()}function jM(t){return jM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},jM(t)}function AM(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PM(t,e){return PM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},PM(t,e)}function MM(t,e,r){return(e=kM(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kM(t){var e=function(t,e){if("object"!=gM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=gM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==gM(e)?e:String(e)}var EM=function(t){return t.changedTouches&&!!t.changedTouches.length},CM=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),MM(AM(r=OM(this,e,[t])),"handleDrag",(function(t){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(t):r.state.isSlideMoving&&r.handleSlideDrag(t)})),MM(AM(r),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleDrag(t.changedTouches[0])})),MM(AM(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()})),MM(AM(r),"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),MM(AM(r),"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),MM(AM(r),"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),MM(AM(r),"handleSlideDragStart",(function(t){var e=EM(t)?t.changedTouches[0]:t;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:e.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(AM(r),"startX"),endX:r.handleTravellerDragStart.bind(AM(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&&PM(t,e)}(e,et),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=kO(r[t],i,t);return Wn(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=EM(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(MM(MM({},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(MM({},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 J.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=tt.only(a);return l?J.cloneElement(l,{x:e,y:r,width:n,height:i,margin:c,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(t,r){var n,i,o=this,a=this.props,c=a.y,l=a.travellerWidth,u=a.height,s=a.traveller,f=a.ariaLabel,p=a.data,h=a.startIndex,d=a.endIndex,y=Math.max(t,this.props.x),v=wM(wM({},Ia(this.props,!1)),{},{x:y,y:c,width:l,height:u}),g=f||"Min value: ".concat(null===(n=p[h])||void 0===n?void 0:n.name,", Max value: ").concat(null===(i=p[d])||void 0===i?void 0:i.name);return J.createElement(Wa,{tabIndex:0,role:"slider","aria-label":g,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),o.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,r))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(s,v))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,i=r.height,o=r.stroke,a=r.travellerWidth,c=Math.min(t,e)+a,l=Math.max(Math.abs(e-t)-a,0);return J.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 J.createElement(Wa,{className:"recharts-brush-texts"},J.createElement(ev,mM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:n+i/2},s),this.getTextOfTick(e)),J.createElement(ev,mM({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||!ia(i)||!ia(o)||!ia(a)||!ia(c)||a<=0||c<=0)return null;var v,g,m,b,w=pn("recharts-brush",r),x=1===J.Children.count(n),O=(g="none",m=(v="userSelect").replace(/(\w)/,(function(t){return t.toUpperCase()})),(b=vM.reduce((function(t,e){return dM(dM({},t),{},yM({},e+m,g))}),{}))[v]=g,b);return J.createElement(Wa,{className:w,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:O},this.renderBackground(),x&&this.renderPanorama(),this.renderSlide(s,f),this.renderTravellerLayer(s,"startX"),this.renderTravellerLayer(f,"endX"),(p||h||d||y||l)&&this.renderText())}}],i=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,i=t.height,o=t.stroke,a=Math.floor(r+i/2)-1;return J.createElement(J.Fragment,null,J.createElement("rect",{x:e,y:r,width:n,height:i,fill:o,stroke:"none"}),J.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),J.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 J.isValidElement(t)?J.cloneElement(t,r):Wn(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 wM({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=Cv().domain(fM(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&&xM(r.prototype,n),i&&xM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();MM(CM,"displayName","Brush"),MM(CM,"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 _M=dh;var TM=pu,DM=gp,IM=function(t,e){var r;return _M(t,(function(t,n,i){return!(r=e(t,n,i))})),!!r},NM=hn,LM=Zh;var BM=Ze((function(t,e,r){var n=NM(t)?TM:IM;return r&&LM(t,e,r)&&(e=void 0),n(t,DM(e))})),RM=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},zM=Bh;var $M=function(t,e,r){"__proto__"==e&&zM?zM(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r},HM=$M,VM=ph,FM=gp;var UM=function(t,e){var r={};return e=FM(e),VM(t,(function(t,n,i){HM(r,n,e(t,n,i))})),r},WM=Ze(UM);var qM=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},YM=dh;var XM=qM,KM=function(t,e){var r=!0;return YM(t,(function(t,n,i){return r=!!e(t,n,i)})),r},GM=gp,ZM=hn,JM=Zh;var QM=Ze((function(t,e,r){var n=ZM(t)?XM:KM;return r&&JM(t,e,r)&&(e=void 0),n(t,GM(e))})),tk=["x","y"];function ek(t){return ek="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},ek(t)}function rk(){return rk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},rk.apply(this,arguments)}function nk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ik(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nk(Object(r),!0).forEach((function(e){ok(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ok(t,e,r){return e=function(t){var e=function(t,e){if("object"!=ek(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ek(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ek(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 ak(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 ck(t,e){var r=t.x,n=t.y,i=ak(t,tk),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 ik(ik(ik(ik(ik({},e),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:s,width:p,name:e.name,radius:e.radius})}function lk(t){return J.createElement(GP,rk({shapeType:"rectangle",propTransformer:ck,activeClassName:"recharts-active-bar"},t))}var uk,sk=["value","background"];function fk(t){return fk="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},fk(t)}function pk(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 hk(){return hk=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},hk.apply(this,arguments)}function dk(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 yk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dk(Object(r),!0).forEach((function(e){Ok(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function vk(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,Sk(n.key),n)}}function gk(t,e,r){return e=bk(e),function(t,e){if(e&&("object"===fk(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return wk(t)}(t,mk()?Reflect.construct(e,r||[],bk(t).constructor):e.apply(t,r))}function mk(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(mk=function(){return!!t})()}function bk(t){return bk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},bk(t)}function wk(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xk(t,e){return xk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},xk(t,e)}function Ok(t,e,r){return(e=Sk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Sk(t){var e=function(t,e){if("object"!=fk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fk(e)?e:String(e)}var jk=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Ok(wk(t=gk(this,e,[].concat(n))),"state",{isAnimationFinished:!1}),Ok(wk(t),"id",ca("recharts-bar-")),Ok(wk(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()})),Ok(wk(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&&xk(t,e)}(e,et),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=Ia(this.props,!1);return t&&t.map((function(t,r){var l=r===o,u=l?a:n,s=yk(yk(yk({},c),t),{},{isActive:l,option:u,index:r,dataKey:i,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return J.createElement(Wa,hk({className:"recharts-bar-rectangle"},ba(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)}),J.createElement(lk,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 J.createElement(ZA,{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=sa(r.x,t.x),a=sa(r.y,t.y),c=sa(r.width,t.width),l=sa(r.height,t.height);return yk(yk({},t),{},{x:o(i),y:a(i),width:c(i),height:l(i)})}if("horizontal"===n){var s=sa(0,t.height)(i);return yk(yk({},t),{},{y:t.y+t.height-s,height:s})}var f=sa(0,t.width)(i);return yk(yk({},t),{},{width:f})}));return J.createElement(Wa,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&&ox(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=Ia(this.props.background,!1);return r.map((function(e,r){e.value;var a=e.background,c=pk(e,sk);if(!a)return null;var l=yk(yk(yk(yk(yk({},c),{},{fill:"#eee"},a),o),ba(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 J.createElement(lk,hk({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=Ea(r.children,vO);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:kO(t,e)}},s={clipPath:t?"url(#clipPath-".concat(e,")"):null};return J.createElement(Wa,s,c.map((function(t){return J.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=pn("recharts-bar",n),y=i&&i.allowDataOverflow,v=o&&o.allowDataOverflow,g=y||v,m=zo(p)?this.id:p;return J.createElement(Wa,{className:d},y||v?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(m)},J.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,J.createElement(Wa,{className:"recharts-bar-rectangles",clipPath:g?"url(#clipPath-".concat(m,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(g,m),(!s||h)&&IS.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&&vk(r.prototype,n),i&&vk(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();function Ak(t){return Ak="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},Ak(t)}function Pk(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,Ck(n.key),n)}}function Mk(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 kk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Mk(Object(r),!0).forEach((function(e){Ek(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ek(t,e,r){return(e=Ck(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ck(t){var e=function(t,e){if("object"!=Ak(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ak(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ak(e)?e:String(e)}uk=jk,Ok(jk,"displayName","Bar"),Ok(jk,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!Ed.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),Ok(jk,"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=Ea(g,my),S=f.map((function(t,e){var n,f,p,y,g,b;u?n=function(t,e){if(!e||2!==e.length||!ia(e[0])||!ia(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(!ia(t[0])||t[0]<r)&&(i[0]=r),(!ia(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=kO(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?sO(0,"minPointSize callback function received a value with type of ".concat(ek(r),". Currently only numbers are supported.")):sO()),e)}}(m,uk.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=HO({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=ra(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=HO({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+=ra(y||S)*(Math.abs(S)-Math.abs(y))}return yk(yk(yk({},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:[XO(r,t)],tooltipPosition:{x:f+y/2,y:p+g/2}})}));return yk({data:S,layout:d},p)}));var _k=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=!!Ca(l,jk);return u.reduce((function(o,a){var l,u,p,h,d,y=e[a],v=y.orientation,g=y.domain,m=y.padding,b=void 0===m?{}:m,w=y.mirror,x=y.reversed,O="".concat(v).concat(w?"Mirror":"");if("number"===y.type&&("gap"===y.padding||"no-gap"===y.padding)){var S=g[1]-g[0],j=1/0,A=y.categoricalDomain.sort();if(A.forEach((function(t,e){e>0&&(j=Math.min((t||0)-(A[e-1]||0),j))})),Number.isFinite(j)){var P=j/S,M="vertical"===y.layout?r.height:r.width;if("gap"===y.padding&&(l=P*M/2),"no-gap"===y.padding){var k=la(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:kv(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:Jg(),realScaleType:"linear"}:"category"===i&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:Cv(),realScaleType:"point"}:"category"===i?{scale:kv(),realScaleType:"band"}:{scale:Jg(),realScaleType:"linear"};if(Uo(n)){var c="scale".concat(Oc(n));return{scale:(Bw[c]||Cv)(),realScaleType:Bw[c]?c:"point"}}return Wn(n)?{scale:n}:{scale:Cv(),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=aO(l,i,a);return t.domain([Kw(u),Uw(u)]),{niceTicks:u}}if(i&&"number"===n){var s=t.domain();return{niceTicks:cO(s,i,a)}}return null}(_,kk(kk({},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=kk(kk(kk({},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=qO(I,D),y.hide||"xAxis"!==n?y.hide||(s[O]+=(d?-1:1)*I.width):s[O]+=(d?-1:1)*I.height,kk(kk({},o),{},Ek({},a,I))}),{})},Tk=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)}},Dk=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&&Pk(e.prototype,r),n&&Pk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();Ek(Dk,"EPS",1e-4);var Ik=function(t){var e=Object.keys(t).reduce((function(e,r){return kk(kk({},e),{},Ek({},r,Dk.create(t[r])))}),{});return kk(kk({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return WM(t,(function(t,r){return e[r].apply(t,{bandAware:n,position:i})}))},isInRange:function(t){return QM(t,(function(t,r){return e[r].isInRange(t)}))}})};var Nk=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)},Lk=so((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 Rk=pt(void 0),zk=pt(void 0),$k=pt(void 0),Hk=pt({}),Vk=pt(void 0),Fk=pt(0),Uk=pt(0),Wk=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=Lk(i);return J.createElement(Rk.Provider,{value:r},J.createElement(zk.Provider,{value:n},J.createElement(Hk.Provider,{value:i},J.createElement($k.Provider,{value:u},J.createElement(Vk.Provider,{value:o},J.createElement(Fk.Provider,{value:l},J.createElement(Uk.Provider,{value:c},a)))))))};function qk(t){var e=Object.keys(t);return 0===e.length?"There are no available ids.":"Available ids are: ".concat(e,".")}var Yk=function(t){var e=ft(Rk);null==e&&("production"!==process.env.NODE_ENV?sO(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):sO());var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?sO(0,'Could not find xAxis by id "'.concat(t,'" [').concat(Bk(t),"]. ").concat(qk(e))):sO()),r},Xk=function(t){var e=ft(zk);null==e&&("production"!==process.env.NODE_ENV?sO(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):sO());var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?sO(0,'Could not find yAxis by id "'.concat(t,'" [').concat(Bk(t),"]. ").concat(qk(e))):sO()),r},Kk=function(){return ft(Uk)},Gk=function(){return ft(Fk)};function Zk(t){return Zk="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},Zk(t)}function Jk(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 Qk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Jk(Object(r),!0).forEach((function(e){tE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function tE(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Zk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Zk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Zk(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 eE(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return rE(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 rE(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 rE(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 nE(){return nE=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},nE.apply(this,arguments)}function iE(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=ft(Vk),s=Yk(i),f=Xk(o),p=ft($k);if(!u||!p)return null;Ya(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(RM(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(RM(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 RM(l,"discard")&&BM(b,(function(e){return!t.isInRange(e)}))?null:b}return null}(Ik({x:s.scale,y:f.scale}),oa(e),oa(r),n&&2===n.length,p,t.position,s.orientation,f.orientation,t);if(!h)return null;var d=eE(h,2),y=d[0],v=y.x,g=y.y,m=d[1],b=m.x,w=m.y,x=Qk(Qk({clipPath:RM(t,"hidden")?"url(#".concat(u,")"):void 0},Ia(t,!0)),{},{x1:v,y1:g,x2:b,y2:w});return J.createElement(Wa,{className:pn("recharts-reference-line",c)},function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):Wn(t)?t(e):J.createElement("line",nE({},e,{className:"recharts-reference-line-line"}))}(a,x),bS.renderCallByParent(t,function(t){var e=t.x1,r=t.y1,n=t.x2,i=t.y2;return Tk({x:e,y:r},{x:n,y:i})}({x1:v,y1:g,x2:b,y2:w})))}function oE(t){return oE="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},oE(t)}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 cE(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 lE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cE(Object(r),!0).forEach((function(e){uE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function uE(t,e,r){return e=function(t){var e=function(t,e){if("object"!=oE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=oE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==oE(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}iE.displayName="ReferenceLine",iE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function sE(t){var e=t.x,r=t.y,n=t.r,i=t.alwaysShow,o=t.clipPathId,a=oa(e),c=oa(r);if(Ya(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=Ik({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return RM(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=lE(lE({clipPath:RM(t,"hidden")?"url(#".concat(o,")"):void 0},Ia(t,!0)),{},{cx:u,cy:s});return J.createElement(Wa,{className:pn("recharts-reference-dot",p)},sE.renderDot(f,h),bS.renderCallByParent(t,{x:u-n,y:s-n,width:2*n,height:2*n}))}function fE(t){return fE="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},fE(t)}function pE(){return pE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},pE.apply(this,arguments)}function hE(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 dE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hE(Object(r),!0).forEach((function(e){yE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yE(t,e,r){return e=function(t){var e=function(t,e){if("object"!=fE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fE(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}sE.displayName="ReferenceDot",sE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},sE.renderDot=function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):Wn(t)?t(e):J.createElement(sP,aE({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};function vE(t){var e=t.x1,r=t.x2,n=t.y1,i=t.y2,o=t.className,a=t.alwaysShow,c=t.clipPathId;Ya(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=oa(e),u=oa(r),s=oa(n),f=oa(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=Ik({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!RM(i,"discard")||f.isInRange(p)&&f.isInRange(h)?Tk(p,h):null}(l,u,s,f,t);if(!h&&!p)return null;var d=RM(t,"hidden")?"url(#".concat(c,")"):void 0;return J.createElement(Wa,{className:pn("recharts-reference-area",o)},vE.renderRect(p,dE(dE({clipPath:d},Ia(t,!0)),h)),bS.renderCallByParent(t,h))}function gE(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],i=0;i<t.length;i+=e)n.push(t[i]);return n}function mE(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 bE(t){return bE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bE(t)}function wE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wE(Object(r),!0).forEach((function(e){OE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function OE(t,e,r){return e=function(t){var e=function(t,e){if("object"!=bE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=bE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==bE(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 SE(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(ia(l)||Ed.isSsr)return function(t,e){return gE(t,e+1)}(i,"number"==typeof l&&ia(l)?l:0);var p=[],h="top"===c||"bottom"===c?"width":"height",d=s&&"width"===h?Py(s,{fontSize:e,letterSpacing:r}):{width:0,height:0},y=function(t,n){var i=Wn(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 Nk(n,r)}(Py(i,{fontSize:e,letterSpacing:r}),d,f):Py(i,{fontSize:e,letterSpacing:r})[h]},v=i.length>=2?ra(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:gE(n,s)};var o,a=u,p=function(){return void 0===o&&(o=r(e,a)),o},h=e.coordinate,d=0===u||mE(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=xE(xE({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),mE(t,s.tickCoord,(function(){return f}),l,u)&&(u=s.tickCoord-t*(f/2+i),a[c-1]=xE(xE({},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=xE(xE({},o),{},{tickCoord:s<0?o.coordinate-s*t:o.coordinate})}else a[e]=o=xE(xE({},o),{},{tickCoord:o.coordinate});mE(t,o.tickCoord,c,l,u)&&(l=o.tickCoord+t*(c()/2+i),a[e]=xE(xE({},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=xE(xE({},u),{},{tickCoord:f>0?u.coordinate-f*t:u.coordinate})}else o[e]=u=xE(xE({},u),{},{tickCoord:u.coordinate});mE(t,u.tickCoord,s,c,l)&&(l=u.tickCoord-t*(s()/2+i),o[e]=xE(xE({},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})))}vE.displayName="ReferenceArea",vE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},vE.renderRect=function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):Wn(t)?t(e):J.createElement(lP,pE({},e,{className:"recharts-reference-area-rect"}))};var jE=["viewBox"],AE=["viewBox"],PE=["ticks"];function ME(t){return ME="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},ME(t)}function kE(){return kE=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},kE.apply(this,arguments)}function EE(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 CE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?EE(Object(r),!0).forEach((function(e){BE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):EE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _E(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function TE(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,RE(n.key),n)}}function DE(t,e,r){return e=NE(e),function(t,e){if(e&&("object"===ME(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,IE()?Reflect.construct(e,r||[],NE(t).constructor):e.apply(t,r))}function IE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(IE=function(){return!!t})()}function NE(t){return NE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},NE(t)}function LE(t,e){return LE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},LE(t,e)}function BE(t,e,r){return(e=RE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function RE(t){var e=function(t,e){if("object"!=ME(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ME(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ME(e)?e:String(e)}var zE=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=DE(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&&LE(t,e)}(e,ht),r=e,n=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=_E(t,jE),i=this.props,o=i.viewBox,a=_E(i,AE);return!pa(r,o)||!pa(n,a)||!pa(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=ia(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=CE(CE(CE({},Ia(this.props,!1)),Ia(c,!1)),{},{fill:"none"});if("top"===o||"bottom"===o){var u=+("top"===o&&!a||"bottom"===o&&a);l=CE(CE({},l),{},{x1:e,y1:r+u*i,x2:e+n,y2:r+u*i})}else{var s=+("left"===o&&!a||"right"===o&&a);l=CE(CE({},l),{},{x1:e+s*n,y1:r,x2:e+s*n,y2:r+i})}return J.createElement("line",kE({},l,{className:pn("recharts-cartesian-axis-line",Ro(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=SE(CE(CE({},this.props),{},{ticks:t}),r,n),p=this.getTickTextAnchor(),h=this.getTickVerticalAnchor(),d=Ia(this.props,!1),y=Ia(l,!1),v=CE(CE({},d),{},{fill:"none"},Ia(a,!1)),g=f.map((function(t,r){var n=i.getTickLineCoord(t),o=n.line,g=n.tick,m=CE(CE(CE(CE({textAnchor:p,verticalAnchor:h},d),{},{stroke:"none",fill:c},y),g),{},{index:r,payload:t,visibleTicksCount:f.length,tickFormatter:u});return J.createElement(Wa,kE({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},ba(i.props,t,r)),a&&J.createElement("line",kE({},v,o,{className:pn("recharts-cartesian-axis-tick-line",Ro(a,"className"))})),l&&e.renderTickItem(l,m,"".concat(Wn(u)?u(t.value,r):t.value).concat(s||"")))}));return J.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=_E(c,PE),s=l;return Wn(o)&&(s=l&&l.length>0?o(this.props):o(u)),n<=0||i<=0||!s||!s.length?null:J.createElement(Wa,{className:pn("recharts-cartesian-axis",a),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),bS.renderCallByParent(this.props))}}],i=[{key:"renderTickItem",value:function(t,e,r){return J.isValidElement(t)?J.cloneElement(t,e):Wn(t)?t(e):J.createElement(ev,kE({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&TE(r.prototype,n),i&&TE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();BE(zE,"displayName","CartesianAxis"),BE(zE,"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 $E=["type","layout","connectNulls","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 WE(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){tC(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 qE(t){return function(t){if(Array.isArray(t))return YE(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 YE(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 YE(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 YE(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 XE(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,eC(n.key),n)}}function KE(t,e,r){return e=ZE(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 JE(t)}(t,GE()?Reflect.construct(e,r||[],ZE(t).constructor):e.apply(t,r))}function GE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(GE=function(){return!!t})()}function ZE(t){return ZE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ZE(t)}function JE(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QE(t,e){return QE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},QE(t,e)}function tC(t,e,r){return(e=eC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function eC(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 rC=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 tC(JE(t=KE(this,e,[].concat(n))),"state",{isAnimationFinished:!0,totalLength:0}),tC(JE(t),"generateSimpleStrokeDasharray",(function(t,e){return"".concat(e,"px ").concat(t-e,"px")})),tC(JE(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(qE(i.slice(0,s)),[c-f]);break}var p=u.length%2==0?[0,l]:[l];return[].concat(qE(e.repeat(i,a)),qE(u),p).map((function(t){return"".concat(t,"px")})).join(", ")})),tC(JE(t),"id",ca("recharts-line-")),tC(JE(t),"pathRef",(function(e){t.mainCurve=e})),tC(JE(t),"handleAnimationEnd",(function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()})),tC(JE(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&&QE(t,e)}(e,et),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=Ea(r.children,vO);if(!c)return null;var l=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:kO(t.payload,e)}},u={clipPath:t?"url(#clipPath-".concat(e,")"):null};return J.createElement(Wa,u,c.map((function(t){return J.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=Ia(this.props,!1),u=Ia(o,!0),s=a.map((function(t,r){var n=WE(WE(WE({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 J.createElement(Wa,FE({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=VE(i,$E),u=WE(WE(WE({},Ia(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 J.createElement(pj,FE({},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 J.createElement(ZA,{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=sa(n.x,t.x),o=sa(n.y,t.y);return WE(WE({},t),{},{x:i(a),y:o(a)})}if(f){var l=sa(2*p,t.x),u=sa(h/2,t.y);return WE(WE({},t),{},{x:l(a),y:u(a)})}return WE(WE({},t),{},{x:t.x,y:t.y})}));return r.renderCurveStatically(l,t,e)}var u,s=sa(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||!ox(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=pn("recharts-line",o),g=a&&a.allowDataOverflow,m=c&&c.allowDataOverflow,b=g||m,w=zo(h)?this.id:h,x=null!==(t=Ia(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=(Da(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return J.createElement(Wa,{className:v},g||m?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(w)},J.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&&J.createElement("clipPath",{id:"clipPath-dots-".concat(w)},J.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)&&IS.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(qE(t),[0]):t,n=[],i=0;i<e;++i)n=[].concat(qE(n),qE(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(J.isValidElement(t))r=J.cloneElement(t,e);else if(Wn(t))r=t(e);else{var n=pn("recharts-line-dot","boolean"!=typeof t?t.className:"");r=J.createElement(sP,FE({},e,{className:n}))}return r}}],n&&XE(r.prototype,n),i&&XE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();tC(rC,"displayName","Line"),tC(rC,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!Ed.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),tC(rC,"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 WE({points:l.map((function(t,e){var l=kO(t,a);return"horizontal"===s?{x:$O({axis:r,ticks:i,bandSize:c,entry:t,index:e}),y:zo(l)?null:n.scale(l),value:l,payload:t}:{x:zo(l)?null:r.scale(l),y:$O({axis:n,ticks:o,bandSize:c,entry:t,index:e}),value:l,payload:t}})),layout:s},u)}));var nC,iC=["layout","type","stroke","connectNulls","isRange","ref"];function oC(t){return oC="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},oC(t)}function aC(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function cC(){return cC=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},cC.apply(this,arguments)}function lC(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 uC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lC(Object(r),!0).forEach((function(e){vC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function sC(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,gC(n.key),n)}}function fC(t,e,r){return e=hC(e),function(t,e){if(e&&("object"===oC(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,pC()?Reflect.construct(e,r||[],hC(t).constructor):e.apply(t,r))}function pC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(pC=function(){return!!t})()}function hC(t){return hC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hC(t)}function dC(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yC(t,e){return yC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},yC(t,e)}function vC(t,e,r){return(e=gC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function gC(t){var e=function(t,e){if("object"!=oC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=oC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==oC(e)?e:String(e)}var mC=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 vC(dC(t=fC(this,e,[].concat(n))),"state",{isAnimationFinished:!0}),vC(dC(t),"id",ca("recharts-area-")),vC(dC(t),"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),Wn(e)&&e()})),vC(dC(t),"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),Wn(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&&yC(t,e)}(e,et),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=Ia(this.props,!1),f=Ia(c,!0),p=l.map((function(t,r){var n=uC(uC(uC({key:"dot-".concat(r),r:3},s),f),{},{index:r,cx:t.x,cy:t.y,dataKey:u,value:t.value,payload:t.payload,points:l});return e.renderDotItem(c,n)})),h={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return J.createElement(Wa,cC({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=Uw(n.map((function(t){return t.y||0})));return ia(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Uw(r.map((function(t){return t.y||0}))),l)),ia(l)?J.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=Uw(n.map((function(t){return t.x||0})));return ia(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Uw(r.map((function(t){return t.x||0}))),l)),ia(l)?J.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=aC(i,iC);return J.createElement(Wa,{clipPath:r?"url(#clipPath-".concat(n,")"):null},J.createElement(pj,cC({},Ia(s,!0),{points:t,connectNulls:l,type:a,baseLine:e,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&J.createElement(pj,cC({},Ia(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:t})),"none"!==c&&u&&J.createElement(pj,cC({},Ia(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 J.createElement(ZA,{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=sa(n.x,t.x),o=sa(n.y,t.y);return uC(uC({},t),{},{x:i(a),y:o(a)})}return t}));return c=ia(o)&&"number"==typeof o?sa(h,o)(a):zo(o)||ea(o)?sa(h,0)(a):o.map((function(t,e){var r=Math.floor(e*l);if(h[r]){var n=h[r],i=sa(n.x,t.x),o=sa(n.y,t.y);return uC(uC({},t),{},{x:i(a),y:o(a)})}return t})),r.renderAreaStatically(u,c,t,e)}return J.createElement(Wa,null,J.createElement("defs",null,J.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(a))),J.createElement(Wa,{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||!ox(c,n)||!ox(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=pn("recharts-area",o),g=l&&l.allowDataOverflow,m=u&&u.allowDataOverflow,b=g||m,w=zo(h)?this.id:h,x=null!==(t=Ia(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=(Da(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return J.createElement(Wa,{className:v},g||m?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(w)},J.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&&J.createElement("clipPath",{id:"clipPath-dots-".concat(w)},J.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)&&IS.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&&sC(r.prototype,n),i&&sC(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}();function bC(){return bC=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},bC.apply(this,arguments)}nC=mC,vC(mC,"displayName","Area"),vC(mC,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!Ed.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),vC(mC,"getBaseValue",(function(t,e,r,n){var i=t.layout,o=t.baseValue,a=e.props.baseValue,c=null!=a?a:o;if(ia(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]})),vC(mC,"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=nC.getBaseValue(r,n,i,o),g="horizontal"===d,m=!1,b=p.map((function(t,e){var r;y?r=s[f+e]:(r=kO(t,u),Array.isArray(r)?m=!0:r=[v,r]);var n=null==r[1]||y&&null==kO(t,u);return g?{x:$O({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:$O({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),uC({points:b,baseLine:e,layout:d,isRange:m},h)})),vC(mC,"renderDotItem",(function(t,e){var r;if(J.isValidElement(t))r=J.cloneElement(t,e);else if(Wn(t))r=t(e);else{var n=pn("recharts-area-dot","boolean"!=typeof t?t.className:"");r=J.createElement(sP,cC({},e,{className:n}))}return r}));var wC=function(t){var e=t.xAxisId,r=Kk(),n=Gk(),i=Yk(e);return null==i?null:J.createElement(zE,bC({},i,{className:pn("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return IO(t,!0)}}))};function xC(){return xC=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},xC.apply(this,arguments)}wC.displayName="XAxis",wC.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0};var OC=function(t){var e=t.yAxisId,r=Kk(),n=Gk(),i=Xk(e);return null==i?null:J.createElement(zE,xC({},i,{className:pn("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return IO(t,!0)}}))};function SC(t){return function(t){if(Array.isArray(t))return jC(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 jC(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 jC(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 jC(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}OC.displayName="YAxis",OC.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1};var AC=function(t,e,r,n,i){var o=Ea(t,iE),a=Ea(t,sE),c=[].concat(SC(o),SC(a)),l=Ea(t,vE),u="".concat(n,"Id"),s=n[0],f=e;if(c.length&&(f=c.reduce((function(t,e){if(e.props[u]===r&&RM(e.props,"extendDomain")&&ia(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&&RM(e.props,"extendDomain")&&ia(e.props[p])&&ia(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 ia(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},PC={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}(PC);var MC=new(Ze(PC.exports)),kC="recharts.syncMouseEvents";function EC(t){return EC="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},EC(t)}function CC(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,TC(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function _C(t,e,r){return(e=TC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function TC(t){var e=function(t,e){if("object"!=EC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=EC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==EC(e)?e:String(e)}var DC=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),_C(this,"activeIndex",0),_C(this,"coordinateList",[]),_C(this,"layout","horizontal")}return CC(t,[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,i=t.container,o=void 0===i?null:i,a=t.layout,c=void 0===a?null:a,l=t.offset,u=void 0===l?null:l,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(e=null!=n?n:this.coordinateList)&&void 0!==e?e:[],this.container=null!=o?o:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=u?u:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(t){if(0!==this.coordinateList.length)switch(t.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){var t,e;if("horizontal"===this.layout&&0!==this.coordinateList.length){var r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(t=window)||void 0===t?void 0:t.scrollX)||0,l=(null===(e=window)||void 0===e?void 0:e.scrollY)||0,u=n+a+c,s=i+this.offset.top+o/2+l;this.mouseHandlerCallback({pageX:u,pageY:s})}}}]),t}();function IC(t){var e=t.cx,r=t.cy,n=t.radius,i=t.startAngle,o=t.endAngle;return{points:[eS(e,r,n,i),eS(e,r,n,o)],cx:e,cy:r,radius:n,startAngle:i,endAngle:o}}function NC(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 IC(e);var c=e.cx,l=e.cy,u=e.innerRadius,s=e.outerRadius,f=e.angle,p=eS(c,l,u,f),h=eS(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 LC(t){return LC="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},LC(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 RC(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){zC(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 zC(t,e,r){return e=function(t){var e=function(t,e){if("object"!=LC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=LC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==LC(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 $C(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=pj;if("ScatterChart"===f)e=o,p=mP;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=lP;else if("radial"===s){var h=IC(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=FS}else e={points:NC(s,o,c)},p=pj;var g=RC(RC(RC(RC({stroke:"#ccc",pointerEvents:"none"},c),e),Ia(r.props.cursor,!1)),{},{payload:a,payloadIndex:l,className:pn("recharts-tooltip-cursor",r.props.cursor.className)});return Q(r.props.cursor)?ut(r.props.cursor,g):st(p,g)}var HC=["item"],VC=["children","className","width","height","style","compact","title","desc"];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 UC(){return UC=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},UC.apply(this,arguments)}function WC(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(t,e)||t_(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 qC(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 YC(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,o_(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function XC(t,e,r){return e=GC(e),function(t,e){if(e&&("object"===FC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ZC(t)}(t,KC()?Reflect.construct(e,r||[],GC(t).constructor):e.apply(t,r))}function KC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(KC=function(){return!!t})()}function GC(t){return GC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},GC(t)}function ZC(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JC(t,e){return JC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},JC(t,e)}function QC(t){return function(t){if(Array.isArray(t))return e_(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||t_(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 t_(t,e){if(t){if("string"==typeof t)return e_(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)?e_(t,e):void 0}}function e_(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 r_(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 n_(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?r_(Object(r),!0).forEach((function(e){i_(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):r_(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i_(t,e,r){return(e=o_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o_(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 a_={xAxis:["bottom","top"],yAxis:["left","right"]},c_={width:"100%",height:"100%"},l_={x:0,y:0};function u_(t){return t}var s_=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(QC(t),QC(r)):t}),[]);return o.length>0?o:t&&t.length&&ia(n)&&ia(i)?t.slice(n,i+1):[]};function f_(t){return"number"===t?[0,"auto"]:void 0}var p_=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=s_(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=fa(void 0===s?a:s,o.dataKey,n):u=s&&s[r]||a[r];return u?[].concat(QC(i),[XO(c,u)]):i}),[])},h_=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(ra(s-u)!==ra(f-s)){var h=[];if(ra(f-s)===ra(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=p_(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 n_(n_(n_({},n),eS(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,l=n.angle;return n_(n_(n_({},n),eS(n.cx,n.cy,c,l)),{},{angle:l,radius:c})}return l_}(r,a,u,i);return{activeTooltipIndex:u,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},d_=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=DO(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=s_(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&&ia(n)&&ia(i))return!0}return!1})(r.props.domain,g,y)&&(S=WO(r.props.domain,null,g),!p||"number"!==y&&"auto"===b||(A=EO(P,v,"category")));var k=f_(y);if(!S||0===S.length){var E,C=null!==(E=r.props.domain)&&void 0!==E?E:k;if(v){if(S=EO(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=fM(0,M)):m||(S=YO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(QC(t),[e])}),[]))}else if("category"===y)S=m?S.filter((function(t){return""!==t&&!zo(t)})):YO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0||""===e||zo(e)?t:[].concat(QC(t),[e])}),[]);else if("number"===y){var T=function(t,e,r,n,i){var o=e.map((function(e){return _O(t,e,r,i,n)})).filter((function(t){return!zo(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=EO(P,v,"category"))}else S=p?fM(0,M):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:VO(a[O].stackGroups,c,l):TO(P,n.filter((function(t){return t.props[o]===O&&(x||!t.props.hide)})),y,u,!0);if("number"===y)S=AC(s,S,O,i,w),C&&(S=WO(C,S,g));else if("category"===y&&C){var D=C;S.every((function(t){return D.indexOf(t)>=0}))&&(S=D)}}return n_(n_({},e),{},i_({},O,n_(n_({},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})))}),{})},y_=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=Ea(u,i),p={};return f&&f.length?p=d_(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=s_(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:l}),p=f.length,h=DO(u,i),d=-1;return r.reduce((function(t,e){var y,v=e.props[o],g=f_("number");return t[v]?t:(d++,h?y=fM(0,p):a&&a[v]&&a[v].hasStack?(y=VO(a[v].stackGroups,c,l),y=AC(s,y,v,i)):(y=WO(g,TO(f,r.filter((function(t){return t.props[o]===v&&!t.props.hide})),"number",u),n.defaultProps.allowDataOverflow),y=AC(s,y,v,i)),n_(n_({},t),{},i_({},v,n_(n_({axisType:i},n.defaultProps),{},{hide:!0,orientation:Ro(a_,"".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},v_=function(t){var e=t.children,r=t.defaultShowTooltip,n=Ca(e,CM),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)}},g_=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"}},m_=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=Ca(u,CM),p=Ca(u,rh),h=Object.keys(a).reduce((function(t,e){var r=a[e],n=r.orientation;return r.mirror||r.hide?t:n_(n_({},t),{},i_({},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:n_(n_({},t),{},i_({},n,Ro(t,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=n_(n_({},d),h),v=y.bottom;f&&(y.bottom+=f.props.height||CM.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=xO({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&&ia(t[p]))return jO(jO({},t),{},AO({},p,t[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&ia(t[h]))return jO(jO({},t),{},AO({},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 n_(n_({brushBottom:v},y),{},{width:Math.max(g,0),height:Math.max(m,0)})},b_=function(t,e){return"xAxis"===e?t[e].width:"yAxis"===e?t[e].height:void 0},w_=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=g_(s),y=d.numericAxisName,v=d.cateAxisName,g=function(t){return!(!t||!t.length)&&t.some((function(t){var e=Aa(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(r),m=[];return r.forEach((function(r,d){var b=s_(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:c}),w=r.props,x=w.dataKey,O=w.maxBarSize,S=r.props["".concat(y,"Id")],j=r.props["".concat(v,"Id")],A=l.reduce((function(t,n){var i,o,a=e["".concat(n.axisType,"Map")],c=r.props["".concat(n.axisType,"Id")];a&&a[c]||"zAxis"===n.axisType||("production"!==process.env.NODE_ENV?sO(0,"Specifying a(n) ".concat(n.axisType,"Id requires a corresponding ").concat(n.axisType,"Id on the targeted graphical component ").concat(null!==(i=null==r||null===(o=r.type)||void 0===o?void 0:o.displayName)&&void 0!==i?i:"")):sO());var l=a[c];return n_(n_({},t),{},i_(i_({},n.axisType,l),"".concat(n.axisType,"Ticks"),IO(l)))}),{}),P=A[v],M=A["".concat(v,"Ticks")],k=n&&n[S]&&n[S].hasStack&&function(t,e){var r=t.props.stackId;if(oa(r)){var n=e[r];if(n){var i=n.items.indexOf(t);return i>=0?n.stackedData[i]:null}}return null}(r,n[S].stackGroups),E=Aa(r.type).indexOf("Bar")>=0,C=qO(P,M),_=[],T=g&&function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,i=void 0===n?{}:n;if(!i)return{};for(var o={},a=Object.keys(i),c=0,l=a.length;c<l;c++)for(var u=i[a[c]].stackGroups,s=Object.keys(u),f=0,p=s.length;f<p;f++){var h=u[s[f]],d=h.items,y=h.cateAxisId,v=d.filter((function(t){return Aa(t.type).indexOf("Bar")>=0}));if(v&&v.length){var g=v[0].props.barSize,m=v[0].props[y];o[m]||(o[m]=[]);var b=zo(g)?e:g;o[m].push({item:v[0],stackList:v.slice(1),barSize:zo(b)?void 0:la(b,r,0)})}}return o}({barSize:u,stackGroups:n,totalSize:b_(A,v)});if(E){var D,I,N=zo(O)?h:O,L=null!==(D=null!==(I=qO(P,M,!0))&&void 0!==I?I:N)&&void 0!==D?D:0;_=function(t){var e=t.barGap,r=t.barCategoryGap,n=t.bandSize,i=t.sizeList,o=void 0===i?[]:i,a=t.maxBarSize,c=o.length;if(c<1)return null;var l,u=la(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(PO(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=la(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(PO(t),[{item:e.item,position:{offset:y+(v+u)*r+(v-g)/2,size:g}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:n[n.length-1].position})})),n}),s)}return l}({barGap:f,barCategoryGap:p,bandSize:L!==C?L:C,sizeList:T[j],maxBarSize:N}),L!==C&&(_=_.map((function(t){return n_(n_({},t),{},{position:n_(n_({},t.position),{},{offset:t.position.offset-L/2})})})))}var B,R,z=r&&r.type&&r.type.getComposedData;z&&m.push({props:n_(n_({},z(n_(n_({},A),{},{displayedData:b,props:t,dataKey:x,item:r,bandSize:C,barPosition:_,offset:i,stackedData:k,layout:s,dataStartIndex:a,dataEndIndex:c}))),{},i_(i_(i_({key:r.key||"item-".concat(d)},y,A[y]),v,A[v]),"animationId",o)),childIndex:(B=r,R=t.children,ka(R).indexOf(B)),item:r})})),m},h=function(t,e){var i=t.props,o=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!_a({props:i}))return null;var u=i.children,f=i.layout,h=i.stackOffset,d=i.data,y=i.reverseStackOrder,v=g_(f),g=v.numericAxisName,m=v.cateAxisName,b=Ea(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(oa(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[ca("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return jO(jO({},t),{},AO({},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 jO(jO({},e),{},AO({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:zO(t,a.items,i)}))}),{})),jO(jO({},e),{},AO({},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 n_(n_({},t),{},i_({},r,y_(i,n_(n_({},e),{},{graphicalItems:b,stackGroups:e.axisType===g&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),O=m_(n_(n_({},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=ua(A),{tooltipTicks:j=IO(S,!1,!0),orderedTooltipTicks:ed(j,(function(t){return t.coordinate})),tooltipAxis:S,tooltipAxisBandSize:qO(S,j)}),M=p(i,n_(n_({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:w,offset:O}));return n_(n_({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),i_(ZC(o=XC(this,e,[t])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),i_(ZC(o),"accessibilityManager",new DC),i_(ZC(o),"handleLegendBBoxUpdate",(function(t){if(t){var e=o.state,r=e.dataStartIndex,n=e.dataEndIndex,i=e.updateId;o.setState(n_({legendBBox:t},h({props:o.props,dataStartIndex:r,dataEndIndex:n,updateId:i},n_(n_({},o.state),{},{legendBBox:t}))))}})),i_(ZC(o),"handleReceiveSyncEvent",(function(t,e,r){if(o.props.syncId===t){if(r===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(e)}})),i_(ZC(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 n_({dataStartIndex:e,dataEndIndex:r},h({props:o.props,dataStartIndex:e,dataEndIndex:r,updateId:n},o.state))})),o.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}})),i_(ZC(o),"handleMouseEnter",(function(t){var e=o.getMouseInfo(t);if(e){var r=n_(n_({},e),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseEnter;Wn(n)&&n(r,t)}})),i_(ZC(o),"triggeredAfterMouseMove",(function(t){var e=o.getMouseInfo(t),r=e?n_(n_({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseMove;Wn(n)&&n(r,t)})),i_(ZC(o),"handleItemMouseEnter",(function(t){o.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))})),i_(ZC(o),"handleItemMouseLeave",(function(){o.setState((function(){return{isTooltipActive:!1}}))})),i_(ZC(o),"handleMouseMove",(function(t){t.persist(),o.throttleTriggeredAfterMouseMove(t)})),i_(ZC(o),"handleMouseLeave",(function(t){o.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};o.setState(e),o.triggerSyncEvent(e);var r=o.props.onMouseLeave;Wn(r)&&r(e,t)})),i_(ZC(o),"handleOuterEvent",(function(t){var e,r=function(t){var e=t&&t.type;return e&&ja[e]?ja[e]:null}(t),n=Ro(o.props,"".concat(r));r&&Wn(n)&&n(null!==(e=/.*touch.*/i.test(r)?o.getMouseInfo(t.changedTouches[0]):o.getMouseInfo(t))&&void 0!==e?e:{},t)})),i_(ZC(o),"handleClick",(function(t){var e=o.getMouseInfo(t);if(e){var r=n_(n_({},e),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onClick;Wn(n)&&n(r,t)}})),i_(ZC(o),"handleMouseDown",(function(t){var e=o.props.onMouseDown;Wn(e)&&e(o.getMouseInfo(t),t)})),i_(ZC(o),"handleMouseUp",(function(t){var e=o.props.onMouseUp;Wn(e)&&e(o.getMouseInfo(t),t)})),i_(ZC(o),"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(t.changedTouches[0])})),i_(ZC(o),"handleTouchStart",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseDown(t.changedTouches[0])})),i_(ZC(o),"handleTouchEnd",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&o.handleMouseUp(t.changedTouches[0])})),i_(ZC(o),"triggerSyncEvent",(function(t){void 0!==o.props.syncId&&MC.emit(kC,o.props.syncId,t,o.eventEmitterSymbol)})),i_(ZC(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(n_({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=n_(n_({},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=p_(o.state,o.props.data,s),x=d[s]?{x:"horizontal"===r?d[s].coordinate:g,y:"horizontal"===r?m:d[s].coordinate}:l_;o.setState(n_(n_({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else o.setState(t)})),i_(ZC(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 J.createElement($C,{key:d,activeCoordinate:a,activePayload:c,activeTooltipIndex:u,chartName:r,element:t,isActive:p,layout:h,offset:l,tooltipAxisBandSize:s,tooltipEventType:f})})),i_(ZC(o),"renderPolarAxis",(function(t,e,r){var n=Ro(t,"type.axisType"),i=Ro(o.state,"".concat(n,"Map")),a=i&&i[t.props["".concat(n,"Id")]];return ut(t,n_(n_({},a),{},{className:pn(n,a.className),key:t.key||"".concat(e,"-").concat(r),ticks:IO(a,!0)}))})),i_(ZC(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=ua(c),s=ua(l),f=s.cx,p=s.cy,h=s.innerRadius,d=s.outerRadius;return ut(t,{polarAngles:Array.isArray(n)?n:IO(s,!0).map((function(t){return t.coordinate})),polarRadius:Array.isArray(i)?i:IO(u,!0).map((function(t){return t.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:d,key:t.key||"polar-grid",radialLines:r})})),i_(ZC(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=xO({children:r,formattedGraphicalItems:t,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=qC(l,HC);return ut(s,n_(n_({},f),{},{chartWidth:n,chartHeight:i,margin:a,onBBoxUpdate:o.handleLegendBBoxUpdate}))})),i_(ZC(o),"renderTooltip",(function(){var t,e=o.props,r=e.children,n=e.accessibilityLayer,i=Ca(r,Hd);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 ut(i,{viewBox:n_(n_({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?u:[],coordinate:l,accessibilityLayer:n})})),i_(ZC(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 ut(t,{key:t.key||"_recharts-brush",onChange:LO(o.handleBrushChange,t.props.onChange),data:n,x:ia(t.props.x)?t.props.x:a.left,y:ia(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:ia(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})})),i_(ZC(o),"renderReferenceElement",(function(t,e,r){if(!t)return null;var n=ZC(o).clipPathId,i=o.state,a=i.xAxisMap,c=i.yAxisMap,l=i.offset,u=t.props,s=u.xAxisId,f=u.yAxisId;return ut(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})})),i_(ZC(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=n_(n_({index:o,dataKey:u.dataKey,cx:n.x,cy:n.y,r:4,fill:CO(r.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(l,"-activePoint-").concat(o)},Ia(s,!1)),ma(s));return c.push(e.renderActiveDot(s,f)),i?c.push(e.renderActiveDot(s,n_(n_({},f),{},{cx:i.x,cy:i.y,key:"".concat(l,"-basePoint-").concat(o)}))):a&&c.push(null),c})),i_(ZC(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=Ca(o.props.children,Hd),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:LO(o.handleItemMouseEnter,t.props.onClick)}:"axis"!==i&&(O={onMouseLeave:LO(o.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:LO(o.handleItemMouseEnter,t.props.onMouseEnter)});var S=ut(t,n_(n_({},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=n_(n_(n_({},n.props),O),{},{activeIndex:k});return[ut(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=fa(h,T,s),_=d&&y&&fa(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[ut(t,n_(n_(n_({},n.props),O),{},{activeIndex:D})),null,null]}if(!zo(C))return[S].concat(QC(o.renderActivePoints({item:n,activePoint:C,basePoint:_,childIndex:u,isRange:d})))}return d?[S,null,null]:[S,null]})),i_(ZC(o),"renderCustomized",(function(t,e,r){return ut(t,n_(n_({key:"recharts-customized-".concat(r)},o.props),o.state))})),i_(ZC(o),"renderMap",{CartesianGrid:{handler:u_,once:!0},ReferenceArea:{handler:o.renderReferenceElement},ReferenceLine:{handler:u_},ReferenceDot:{handler:o.renderReferenceElement},XAxis:{handler:u_},YAxis:{handler:u_},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:ca("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=sy(o.triggeredAfterMouseMove,null!==(i=t.throttleDelay)&&void 0!==i?i:1e3/60),o.state={},o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&JC(t,e)}(e,ht),YC(e,[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(t=this.props.margin.left)&&void 0!==t?t:0,top:null!==(e=this.props.margin.top)&&void 0!==e?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,i=t.layout,o=Ca(e,Hd);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=p_(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=n_(n_({},f),p.props.points[a].tooltipPosition),l=p.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:l,activeCoordinate:f};this.setState(h),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;var r,n;(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin)&&this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}});return null}},{key:"componentDidUpdate",value:function(t){Na([Ca(t.children,Hd)],[Ca(this.props.children,Hd)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=Ca(this.props.children,Hd);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=ua(u).scale,p=ua(s).scale,h=f&&f.invert?f.invert(o.chartX):null,d=p&&p.invert?p.invert(o.chartY):null;return n_(n_({},o),{},{xValue:h,yValue:d})}var y=h_(this.state,this.props.data,this.props.layout,c);return y?n_(n_({},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=ua(l);return iS({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=Ca(t,Hd),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}),n_(n_({},ma(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){MC.on(kC,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){MC.removeListener(kC,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===Aa(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 J.createElement("defs",null,J.createElement("clipPath",{id:t},J.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=WC(e,2),n=r[0],i=r[1];return n_(n_({},t),{},i_({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=WC(e,2),n=r[0],i=r[1];return n_(n_({},t),{},i_({},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=Aa(l.type);if("Bar"===u){var s=(c.data||[]).find((function(e){return aP(t,e)}));if(s)return{graphicalItem:a,payload:s}}else if("RadialBar"===u){var f=(c.data||[]).find((function(e){return iS(t,e)}));if(f)return{graphicalItem:a,payload:f}}else if(ZP(a,n)||JP(a,n)||QP(a,n)){var p=nM({graphicalItem:a,activeTooltipItem:n,itemData:l.props.data}),h=void 0===l.props.activeIndex?p:l.props.activeIndex;return{graphicalItem:n_(n_({},a),{},{childIndex:h}),payload:QP(a,n)?l.props.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var t=this;if(!_a(this))return null;var e,r,n=this.props,i=n.children,o=n.className,a=n.width,c=n.height,l=n.style,u=n.compact,s=n.title,f=n.desc,p=qC(n,VC),h=Ia(p,!1);if(u)return J.createElement(Wk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},J.createElement(Ha,UC({},h,{width:a,height:c,title:s,desc:f}),this.renderClipPath(),Ba(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!==(e=this.props.tabIndex)&&void 0!==e?e:0,h.role=null!==(r=this.props.role)&&void 0!==r?r:"application",h.onKeyDown=function(e){t.accessibilityManager.keyboardEvent(e)},h.onFocus=function(){t.accessibilityManager.focus()});var d=this.parseEventsOfWrapper();return J.createElement(Wk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},J.createElement("div",UC({className:pn("recharts-wrapper",o),style:n_({position:"relative",cursor:"default",width:a,height:c},l)},d,{ref:function(e){t.container=e}}),J.createElement(Ha,UC({},h,{width:a,height:c,title:s,desc:f,style:c_}),this.renderClipPath(),Ba(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}]),e}(),i_(e,"displayName",r),i_(e,"defaultProps",n_({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),i_(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=v_(t);return n_(n_(n_({},p),{},{updateId:0},h(n_(n_({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||!pa(u,e.prevMargin)){var d=v_(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=n_(n_({},h_(e,n,c)),{},{updateId:e.updateId+1}),g=n_(n_(n_({},d),y),v);return n_(n_(n_({},g),h(n_({props:t},g),e)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(!Na(i,e.prevChildren)){var m,b,w,x,O=Ca(i,CM),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=!zo(n)&&!A?e.updateId:e.updateId+1;return n_(n_({updateId:P},h(n_(n_({props:t},e),{},{updateId:P,dataStartIndex:S,dataEndIndex:j}),e)),{},{prevChildren:i,dataStartIndex:S,dataEndIndex:j})}return null})),i_(e,"renderActiveDot",(function(t,e){var r;return r=Q(t)?ut(t,e):Wn(t)?t(e):J.createElement(sP,e),J.createElement(Wa,{className:"recharts-active-dot",key:e.key},r)})),e},x_=w_({chartName:"LineChart",GraphicalChild:rC,axisComponents:[{axisType:"xAxis",AxisComp:wC},{axisType:"yAxis",AxisComp:OC}],formatAxisMap:_k}),O_=w_({chartName:"AreaChart",GraphicalChild:mC,axisComponents:[{axisType:"xAxis",AxisComp:wC},{axisType:"yAxis",AxisComp:OC}],formatAxisMap:_k});const S_=({chartId:n,formatter:i,labelFormatter:o,payload:a,cx:c,cy:l})=>{const u=document.getElementById(n)?.clientWidth||0,s=100;return c<20||u-c<20?e(r,{}):t("svg",{x:c-50,y:l-60,width:s,height:68,viewBox:"0 0 100 68",xmlns:"http://www.w3.org/2000/svg",children:[o&&t(r,{children:[e("rect",{fill:"white",width:"98",height:"45",stroke:wr.coolElegance(),strokeWidth:"1",rx:"7",ry:"7",className:"shadow"}),e("text",{y:"14",x:"50%",fontSize:10,dominantBaseline:"middle",textAnchor:"middle",children:o(0,[{payload:a}])}),e("text",{y:"30",x:"50%",fontSize:11,dominantBaseline:"middle",textAnchor:"middle",fontWeight:"bold",children:i?i(a.value):a.value}),e("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"30",opacity:"0.7",children:e("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:wr.coolElegance(),transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),e("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"28",children:e("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:"white",transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})})]}),e("rect",{x:43,y:"52",width:14,height:14,rx:7,fill:"white",stroke:wr.coolElegance(),strokeWidth:"2"})]})},j_=({data:r,dataKey:n,width:i="100%",height:o="100%",areaType:a="linear",isAnimated:c=!1,formatter:l,labelFormatter:u,sampleRate:s,style:f})=>{const{isNetGain:p}=yr({data:r,dataKey:n}),h=sn(),d=sn(),y=s?mr({arr:r||[],n:s}):r;let v,g;y?.length?(g=p?wr.mint():wr.coolElegance(),v=y?.map((t=>({...t,[n]:Number(t[n])||0})))):(g=wr.coolElegance(),v=[{[n]:1},{[n]:1}]);const m={cursor:y?.length?"crosshair":"default",...f};return e(gy,{width:i,minHeight:o,id:h,children:t(O_,{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(OC,{domain:y?.length?["dataMin","dataMax"]:[0,2],hide:!0}),e(mC,{type:a,dataKey:n,stroke:g,fill:`url(#${d})`,isAnimationActive:c,activeDot:t=>S_({chartId:h,labelFormatter:u,formatter:l,...t}),dot:!1}),y?.length&&e(Hd,{cursor:!1,content:()=>null})]})})},A_=({isCloseable:t,onClick:r})=>{const n=u({ssr:!1});return e(s,{children:e(f,{label:t?"Click to dismiss":null,hasArrow:!0,fontFamily:"mono",fontSize:"12px",children:e(p,{onClick:r,cursor:t?"pointer":"default",bgColor:{base:"rgba(143, 163, 255, 0.9)",sm:"rgba(117, 143, 255, 0.9)",md:"rgba(77, 109, 255, 0.9)",lg:"rgba(24, 74, 201, 0.9)",xl:"rgba(19, 60, 164, 0.9)","2xl":"rgba(15, 47, 128, 0.9)"},color:{base:wr.black(),md:"white"},position:"fixed",top:"0",right:"0",padding:"2",fontSize:"xs",zIndex:"5",width:"10rem",boxShadow:"dark-lg",fontFamily:"mono",children:n})})})},P_=({children:t,...r})=>e(h,{border:"solid 1px",borderColor:wr.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:t}),M_=({isSelected:t,children:r,...n})=>e(d,{variant:"none",paddingX:"1",fontSize:"sm",color:t?"brand.500":wr.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:t?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),k_=({children:t,...r})=>e(y,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:wr.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:t}),E_=r=>{const{carouselContents:n,isNavVertical:i,...o}=r,[a,c]=ot(0);return n.length>=1&&e(k_,{children:t(v,{gap:10,direction:i?"column":{base:"column",md:"row"},...o,children:[n[a],t(v,{alignItems:"flex-end",justifyContent:"center",gap:6,children:[e(g,{variant:"ghost",isDisabled:0===a,"aria-label":"Previous content",icon:e(jt,{}),onClick:()=>{a>0&&a<=n.length-1&&c((t=>t-1))}}),e(g,{variant:"ghost",isDisabled:a===n.length-1,"aria-label":"Next content",icon:e(At,{}),onClick:()=>{a<n.length-1&&c((t=>t+1))}})]})]})})},C_=r=>{const{size:n,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,name:l,register:u,errorMessage:s,label:f,labelPosition:p="left",spaceBetween:h,onClick:d,...y}=r;let g;c||(g=e(kt,{}));const O=u?u(l):void 0;return t(m,{as:v,flexDir:"column",isInvalid:Boolean(s),isDisabled:i,isReadOnly:o,isRequired:a,children:[t(v,{onClick:d,w:"full",justifyContent:h?"space-between":"auto",children:["left"===p&&e(b,{fontSize:n,m:"0",mr:"3",children:f}),e(w,{icon:g,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,isInvalid:Boolean(s),size:n,...O,...y}),"right"===p&&e(b,{fontSize:n,m:"0",ml:"3",children:f})]}),e(v,{w:"full",children:s&&e(x,{size:n,children:s})})]})},__=({children:t,onSubmit:r,...n})=>e(v,{as:"form",onSubmit:t=>{t.preventDefault(),r&&r(t)},noValidate:!0,gap:"6",flexDir:"column",...n,children:t});var T_=function(){return T_=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},T_.apply(this,arguments)};function D_(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 I_=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},N_={k:1e3,m:1e6,b:1e9},L_=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(I_(y),")")).test(g),w=RegExp("(\\d+)-?".concat(I_(y))).exec(e)||[],x=w[0],O=w[1],S=function(t,e){void 0===e&&(e=",");var r=new RegExp(I_(e),"g");return t.replace(r,"")}(y?x?g.replace(x,"").concat(O):g.replace(y,""):g,n),j=function(t,e){var r=I_(e.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return t.replace(n,"")}(S,D_([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(I_(e),"\\d*)?)([kmb])$"),"i"),n=t.match(r);if(n){var i=n[1],o=n[3],a=N_[o.toLowerCase()];return Number(i.replace(e,"."))*a}}(j,o);P&&(A=String(P))}var M=b&&f?"-":"";if(o&&A.includes(o)){var k=j.split(o),E=k[0],C=k[1],_=u&&C?C.slice(0,u):C,T=c?"".concat(o).concat(_):"";return"".concat(M).concat(E).concat(T)}return"".concat(M).concat(A)},B_=function(t,e){var r=e.groupSeparator,n=void 0===r?",":r,i=e.decimalSeparator,o=void 0===i?".":i,a=new RegExp("\\d([^".concat(I_(n)).concat(I_(o),"0-9]+)")),c=t.match(a);return c?c[1]:void 0},R_=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(I_(a),"?"):"","\\d")).test(e),s="."!==r?z_(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?T_(T_({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),h=$_(p,t),d=B_(h,T_({},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(I_(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("")},z_=function(t,e,r){var n=t;return e&&"."!==e&&(n=n.replace(RegExp(I_(e),"g"),"."),r&&"-"===e&&(n="-".concat(n.slice(1)))),n},$_=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?D_(D_([],t,!0),[r],!1):[r,u]:"currency"===l?r?t:D_(D_([],t,!0),[u],!1):"group"===l?c?t:D_(D_([],t,!0),[void 0!==n?n:u],!1):"decimal"===l?void 0!==o&&0===o?t:D_(D_([],t,!0),[void 0!==i?i:u],!1):D_(D_([],t,!0),"fraction"===l?[void 0!==o?u.slice(0,o):u]:[u],!1)}),[""]).join("")},H_={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},V_=function(t){return RegExp(/\d/,"gi").test(t)},F_=rt((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,L=t.onKeyUp,B=t.transformRawValue,R=t.formatValueOnBlur,z=void 0===R||R,$=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}(t,["allowDecimals","allowNegativeValue","id","name","className","customInput","decimalsLimit","defaultValue","disabled","maxLength","value","onValueChange","fixedDecimalLength","placeholder","decimalScale","prefix","suffix","intlConfig","step","min","max","disableGroupSeparators","disableAbbreviations","decimalSeparator","groupSeparator","onChange","onFocus","onBlur","onKeyDown","onKeyUp","transformRawValue","formatValueOnBlur"]);if(C&&V_(C))throw new Error("decimalSeparator cannot be a number");if(_&&V_(_))throw new Error("groupSeparator cannot be a number");var H=lt((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?T_(T_({},t),0===r?{currencySymbol:e.value,prefix:e.value}:{currencySymbol:e.value,suffix:e.value}):"group"===e.type?T_(T_({},t),{groupSeparator:e.value}):"decimal"===e.type?T_(T_({},t),{decimalSeparator:e.value}):t}),H_)}(O)}),[O]),V=C||H.decimalSeparator||"",F=_||H.groupSeparator||"";if(V&&F&&V===F&&!1===M)throw new Error("decimalSeparator cannot be the same as groupSeparator");var U={decimalSeparator:V,groupSeparator:F,disableGroupSeparators:M,intlConfig:O,prefix:w||H.prefix,suffix:x},W={decimalSeparator:V,groupSeparator:F,allowDecimals:n,decimalsLimit:s||g||2,allowNegativeValue:o,disableAbbreviations:E,prefix:w||H.prefix,transformRawValue:B},q=ot((function(){return null!=f?R_(T_(T_({},U),{decimalScale:b,value:String(f)})):null!=y?R_(T_(T_({},U),{decimalScale:b,value:String(y)})):""})),Y=q[0],X=q[1],K=ot(!1),G=K[0],Z=K[1],Q=ot(0),tt=Q[0],et=Q[1],rt=ot(0),at=rt[0],ut=rt[1],st=ot(null),ft=st[0],pt=st[1],ht=nt(null);it(e,(function(){return ht.current}));var dt=function(t,e){Z(!0);var r=function(t){var e=t.selectionStart,r=t.value,n=t.lastKeyStroke,i=t.stateValue,o=t.groupSeparator,a=e,c=r;if(i&&a){var l=r.split("");return"Backspace"===n&&i[a]===o&&(l.splice(a-1,1),a-=1),"Delete"===n&&i[a]===o&&(l.splice(a,1),a+=1),{modifiedValue:c=l.join(""),cursorPosition:a}}return{modifiedValue:c,cursorPosition:e}}({selectionStart:e,value:t,lastKeyStroke:ft,stateValue:Y,groupSeparator:F}),n=r.modifiedValue,i=r.cursorPosition,o=L_(T_({value:n},W));if(!(d&&o.replace(/-/g,"").length>d)){if(""===o||"-"===o||o===V)return v&&v(void 0,c,{float:null,formatted:"",value:""}),X(o),void et(1);var a=V?o.replace(V,"."):o,l=parseFloat(a),u=R_(T_({value:o},U));if(null!=i){var s=i+(u.length-t.length);s=s<=0?w?w.length:0:s,et(s),ut(at+1)}if(X(u),v)v(o,c,{float:l,formatted:u,value:o})}};ct((function(){null==y&&null==f&&X("")}),[f,y]),ct((function(){G&&"-"!==Y&&ht.current&&document.activeElement===ht.current&&ht.current.setSelectionRange(tt,tt)}),[Y,tt,ht,G,at]);var yt=T_({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=L_(T_({value:e},W));if("-"===r||r===V||!r)return X(""),void(I&&I(t));var n=function(t,e,r){if(void 0!==r&&t.length>1){if(0===r)return t.replace(e,"");if(t.includes(e)){var n=t.split(e),i=n[0];if((c=n[1]).length===r)return t;if(c.length>r)return"".concat(i).concat(e).concat(c.slice(0,r))}var o=t.length>r?new RegExp("(\\d+)(\\d{".concat(r,"})")):new RegExp("(\\d)(\\d+)"),a=t.match(o);if(a){i=a[1];var c=a[2];return"".concat(i).concat(e).concat(c)}}return t}(r,V,g),i=function(t,e,r){if(void 0===e&&(e="."),void 0===r||""===t||void 0===t)return t;if(!t.match(/\d/g))return"";var n=t.split(e),i=n[0],o=n[1];if(0===r)return i;var a=o||"";if(a.length<r)for(;a.length<r;)a+="0";else a=a.slice(0,r);return"".concat(i).concat(e).concat(a)}(n,V,void 0!==b?b:g),o=parseFloat(i.replace(V,".")),a=R_(T_(T_({},U),{value:i}));v&&z&&v(i,c,{float:o,formatted:a,value:i}),X(a),I&&I(t)},onFocus:function(t){return D&&D(t),Y?Y.length:0},onKeyDown:function(t){var e=t.key;if(pt(e),S&&("ArrowUp"===e||"ArrowDown"===e)){t.preventDefault(),et(Y.length);var r=parseFloat(null!=y?String(y).replace(V,"."):L_(T_({value:Y},W)))||0,n="ArrowUp"===e?r+S:r-S;if(void 0!==j&&n<Number(j))return;if(void 0!==A&&n>Number(A))return;var i=String(S).includes(".")?Number(String(S).split(".")[1].length):void 0;dt(String(i?n.toFixed(i):n).replace(".",V))}N&&N(t)},onKeyUp:function(t){var e=t.key,r=t.currentTarget.selectionStart;if("ArrowUp"!==e&&"ArrowDown"!==e&&"-"!==Y){var n=B_(Y,{groupSeparator:F,decimalSeparator:V});if(n&&r&&r>Y.length-n.length&&ht.current){var i=Y.length-n.length;ht.current.setSelectionRange(i,i)}}L&&L(t)},placeholder:m,disabled:h,value:null==y||"-"===Y||V&&Y===V?Y:R_(T_(T_({},U),{decimalScale:G?void 0:b,value:String(y)})),ref:ht},$);if(u){var vt=u;return J.createElement(vt,T_({},yt))}return J.createElement("input",T_({},yt))}));F_.displayName="CurrencyInput";const U_=O(((r,n)=>{const{size:i,isDisabled:o,isReadOnly:a,isRequired:c,spellCheck:l=!1,name:u,label:s,register:f,errorMessage:p,helperText:h,leftAddon:d,leftElement:y,rightAddon:v,rightElement:g,type:w="text",containerCss:O,...C}=r,_=vr(i),T=f?f(u):void 0,D="currency"===w?{as:F_,placeholder:"$0.00",prefix:"$",allowNegative:!1,disableAbbreviations:!0}:{};return t(m,{isInvalid:Boolean(p),isDisabled:o,isReadOnly:a,isRequired:c,sx:O,children:[s&&e(b,{className:"cf-form-label",size:i,children:s}),t(S,{size:i,children:[d&&e(j,{children:d}),y&&e(A,{w:"auto",ml:"1em",children:y}),e(P,{size:i,spellCheck:l,paddingLeft:y&&"2.5em",paddingRight:g&&"2.5em",type:"currency"===w?"text":w,...T,...D,...C,ref:n||T?.ref}),g&&e(M,{w:"auto",mr:"1em",children:g}),v&&e(k,{children:v})]}),p&&e(x,{className:"cf-form-error",size:i,children:p}),h&&e(E,{className:"cf-form-helper-text",fontSize:_,children:h})]})}));var W_=t=>null==t;var q_=t=>!W_(t)&&!Array.isArray(t)&&(t=>"object"==typeof t)(t)&&!(t=>t instanceof Date)(t),Y_=t=>{const e=t.constructor&&t.constructor.prototype;return q_(e)&&e.hasOwnProperty("isPrototypeOf")},X_="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function K_(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(X_&&(t instanceof Blob||t instanceof FileList)||!r&&!q_(t))return t;if(e=r?[]:{},r||Y_(t))for(const r in t)t.hasOwnProperty(r)&&(e[r]=K_(t[r]));else e=t}return e}var G_=t=>Array.isArray(t)?t.filter(Boolean):[],Z_=t=>void 0===t,J_=(t,e,r)=>{if(!e||!q_(t))return r;const n=G_(e.split(/[,[\].]+?/)).reduce(((t,e)=>W_(t)?t:t[e]),t);return Z_(n)||n===t?Z_(t[e])?r:t[e]:n},Q_=t=>"boolean"==typeof t,tT=t=>/^\w*$/.test(t),eT=t=>G_(t.replace(/["|']|\]/g,"").split(/\.|\[/)),rT=(t,e,r)=>{let n=-1;const i=tT(e)?[e]:eT(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=q_(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}if("__proto__"===e)return;t[e]=o,t=t[e]}return t};const nT="onBlur",iT="onChange",oT="onSubmit",aT="onTouched",cT="all",lT="max",uT="min",sT="maxLength",fT="minLength",pT="pattern",hT="required",dT="validate",yT=J.createContext(null);var vT=t=>q_(t)&&!Object.keys(t).length,gT=t=>Array.isArray(t)?t:[t];var mT=t=>"string"==typeof t,bT=(t,e,r,n,i)=>e?{...r[t],types:{...r[t]&&r[t].types?r[t].types:{},[n]:i||!0}}:{},wT=()=>{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)}))},xT=(t,e,r={})=>r.shouldFocus||Z_(r.shouldFocus)?r.focusName||`${t}.${Z_(r.focusIndex)?e:r.focusIndex}.`:"",OT=t=>({isOnSubmit:!t||t===oT,isOnBlur:t===nT,isOnChange:t===iT,isOnAll:t===cT,isOnTouch:t===aT});const ST=(t,e,r,n)=>{for(const r of Object.keys(t)){const i=J_(t,r);if(i){const{_f:t,...o}=i;if(t){if(t.refs&&t.refs[0]&&e(t.refs[0],r)&&!n)return!0;if(t.ref&&e(t.ref,t.name)&&!n)return!0;if(ST(o,e))break}else if(q_(o)&&ST(o,e))break}}};var jT=(t,e,r)=>{const n=gT(J_(t,r));return rT(n,"root",e[r]),rT(t,r,n),t},AT=t=>mT(t),PT=t=>t instanceof RegExp;function MT(t,e,r="validate"){if(AT(t)||Array.isArray(t)&&t.every(AT)||Q_(t)&&!t)return{type:r,message:AT(t)?t:"",ref:e}}var kT=t=>q_(t)&&!PT(t)?t:{value:t,message:""},ET=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=J_(e,d);if(!v||g)return{};const b=a?a[0]:o,w=t=>{n&&b.reportValidity&&(b.setCustomValidity(Q_(t)?"":t||""),b.reportValidity())},x={};o.type,(t=>{t.type})(o);const O=(y||(t=>"file"===t.type)(o))&&Z_(o.value)&&Z_(m)||(t=>{if(!X_)return!1;const e=t?t.ownerDocument:0;return t instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)})(o)&&""===o.value||""===m||Array.isArray(m)&&!m.length,S=bT.bind(null,d,r,x),j=(t,e,r,n=sT,i=fT)=>{const a=t?e:r;x[d]={type:t?n:i,message:a,ref:o,...S(t?n:i,a)}};if(!Array.isArray(m)||!m.length){const{value:t,message:e}=AT(c)?{value:!!c,message:c}:kT(c);if(t&&(x[d]={type:hT,message:e,ref:b,...S(hT,e)},!r))return w(e),x}if(!(O||W_(s)&&W_(f))){let t,e;const n=kT(f),i=kT(s);if(W_(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;mT(n.value)&&m&&(t=c?a(m)>a(n.value):l?m>n.value:r>new Date(n.value)),mT(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);W_(n.value)||(t=r>n.value),W_(i.value)||(e=r<i.value)}if((t||e)&&(j(!!t,n.message,i.message,lT,uT),!r))return w(x[d].message),x}if((l||u)&&!O&&(mT(m)||Array.isArray(m))){const t=kT(l),e=kT(u),n=!W_(t.value)&&m.length>+t.value,i=!W_(e.value)&&m.length<+e.value;if((n||i)&&(j(n,t.message,e.message),!r))return w(x[d].message),x}if(p&&!O&&mT(m)){const{value:t,message:e}=kT(p);if(PT(t)&&!m.match(t)&&(x[d]={type:pT,message:e,ref:o,...S(pT,e)},!r))return w(e),x}if(h)if("function"==typeof h){const t=MT(await h(m,e),b);if(t&&(x[d]={...t,...S(dT,t.message)},!r))return w(t.message),x}else if(q_(h)){let t={};for(const n in h){if(!vT(t)&&!r)break;const i=MT(await h[n](m,e),b,n);i&&(t={...i,...S(n,i.message)},w(i.message),r&&(x[d]=t))}if(!vT(t)&&(x[d]={ref:b,...t},!r))return x}return w(!0),x},CT=(t,e)=>[...t,...gT(e)],_T=t=>Array.isArray(t)?t.map((()=>{})):void 0;function TT(t,e,r){return[...t.slice(0,e),...gT(r),...t.slice(e)]}var DT=(t,e,r)=>Array.isArray(t)?(Z_(t[r])&&(t[r]=void 0),t.splice(r,0,t.splice(e,1)[0]),t):[],IT=(t,e)=>[...gT(e),...gT(t)];var NT=(t,e)=>Z_(e)?[]:function(t,e){let r=0;const n=[...t];for(const t of e)n.splice(t-r,1),r++;return G_(n).length?n:[]}(t,gT(e).sort(((t,e)=>t-e))),LT=(t,e,r)=>{[t[e],t[r]]=[t[r],t[e]]};function BT(t,e){const r=Array.isArray(e)?e:tT(e)?[e]:eT(e),n=1===r.length?t:function(t,e){const r=e.slice(0,-1).length;let n=0;for(;n<r;)t=Z_(t)?n++:t[e[n++]];return t}(t,r),i=r.length-1,o=r[i];return n&&delete n[o],0!==i&&(q_(n)&&vT(n)||Array.isArray(n)&&function(t){for(const e in t)if(t.hasOwnProperty(e)&&!Z_(t[e]))return!1;return!0}(n))&&BT(t,r.slice(0,-1)),t}var RT=(t,e,r)=>(t[e]=r,t);function zT(t){const e=J.useContext(yT),{control:r=e.control,name:n,keyName:i="id",shouldUnregister:o}=t,[a,c]=J.useState(r._getFieldArray(n)),l=J.useRef(r._getFieldArray(n).map(wT)),u=J.useRef(a),s=J.useRef(n),f=J.useRef(!1);s.current=n,u.current=a,r._names.array.add(n),t.rules&&r.register(n,t.rules),function(t){const e=J.useRef(t);e.current=t,J.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=J_(t,s.current);Array.isArray(e)&&(c(e),l.current=e.map(wT))}},subject:r._subjects.array});const p=J.useCallback((t=>{f.current=!0,r._updateFieldArray(n,t)}),[r,n]);return J.useEffect((()=>{if(r._state.action=!1,((t,e,r)=>e.watchAll||e.watch.has(t)||[...e.watch].some((e=>t.startsWith(e)&&/^\.\w+/.test(t.slice(e.length)))))(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!OT(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((t=>{const e=J_(t.errors,n),i=J_(r._formState.errors,n);(i?!e&&i.type||e&&(i.type!==e.type||i.message!==e.message):e&&e.type)&&(e?rT(r._formState.errors,n,e):BT(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const t=J_(r._fields,n);!t||!t._f||OT(r._options.reValidateMode).isOnSubmit&&OT(r._options.mode).isOnSubmit||ET(t,r._formValues,r._options.criteriaMode===cT,r._options.shouldUseNativeValidation).then((t=>!vT(t)&&r._subjects.state.next({errors:jT(r._formState.errors,t,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&ST(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]),J.useEffect((()=>(!J_(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||o)&&r.unregister(n)})),[n,r,i,o]),{swap:J.useCallback(((t,e)=>{const i=r._getFieldArray(n);LT(i,t,e),LT(l.current,t,e),p(i),c(i),r._updateFieldArray(n,i,LT,{argA:t,argB:e},!1)}),[p,n,r]),move:J.useCallback(((t,e)=>{const i=r._getFieldArray(n);DT(i,t,e),DT(l.current,t,e),p(i),c(i),r._updateFieldArray(n,i,DT,{argA:t,argB:e},!1)}),[p,n,r]),prepend:J.useCallback(((t,e)=>{const i=gT(K_(t)),o=IT(r._getFieldArray(n),i);r._names.focus=xT(n,0,e),l.current=IT(l.current,i.map(wT)),p(o),c(o),r._updateFieldArray(n,o,IT,{argA:_T(t)})}),[p,n,r]),append:J.useCallback(((t,e)=>{const i=gT(K_(t)),o=CT(r._getFieldArray(n),i);r._names.focus=xT(n,o.length-1,e),l.current=CT(l.current,i.map(wT)),p(o),c(o),r._updateFieldArray(n,o,CT,{argA:_T(t)})}),[p,n,r]),remove:J.useCallback((t=>{const e=NT(r._getFieldArray(n),t);l.current=NT(l.current,t),p(e),c(e),r._updateFieldArray(n,e,NT,{argA:t})}),[p,n,r]),insert:J.useCallback(((t,e,i)=>{const o=gT(K_(e)),a=TT(r._getFieldArray(n),t,o);r._names.focus=xT(n,t,i),l.current=TT(l.current,t,o.map(wT)),p(a),c(a),r._updateFieldArray(n,a,TT,{argA:t,argB:_T(e)})}),[p,n,r]),update:J.useCallback(((t,e)=>{const i=K_(e),o=RT(r._getFieldArray(n),t,i);l.current=[...o].map(((e,r)=>e&&r!==t?l.current[r]:wT())),p(o),c([...o]),r._updateFieldArray(n,o,RT,{argA:t,argB:i},!0,!1)}),[p,n,r]),replace:J.useCallback((t=>{const e=gT(K_(t));l.current=e.map(wT),p([...e]),c([...e]),r._updateFieldArray(n,[...e],(t=>t),{},!0,!1)}),[p,n,r]),fields:J.useMemo((()=>a.map(((t,e)=>({...t,[i]:l.current[e]||wT()})))),[a,i])}}const $T=({name:r,control:n,register:i,defaultValues:o,onArrayAppend:a,onArrayRemove:c})=>{const{fields:l,append:u,remove:s}=zT({control:n,name:r}),p=Object.keys(o).reduce(((t,e)=>({...t,[e]:o[e]})),{});return t(C,{children:[l.map(((n,o)=>e(C,{children:t(C,{pb:6,position:"relative",children:[Object.keys(n).filter((t=>"id"!==t)).map((t=>e(U_,{label:t,name:`${r}.${o}.${t}`,register:i},`${t}-${n.id}`))),e(f,{label:"Delete",children:e(v,{position:"absolute",top:"0",right:"0",children:e(d,{"aria-label":"Delete",size:"sm",variant:"ghost",onClick:()=>{s(o),c&&c(o)},minW:"2rem",p:"0",children:"X"})})})]})},n.id))),e(v,{children:e(d,{size:"sm",onClick:()=>{u(p),a&&a(p)},ml:"auto",children:"+"})})]})},HT=({data:r,dataKey:n,width:i="100%",height:o="100%",lineType:a="linear",isAnimated:c=!1,formatter:l,labelFormatter:u,sampleRate:s,style:f})=>{const{isNetGain:p}=yr({data:r,dataKey:n}),h=sn(),d=s?mr({arr:r||[],n:s}):r;let y,v;d?.length?(v=p?wr.mint():wr.heroicRed(),y=d?.map((t=>({...t,[n]:Number(t[n])||0})))):(v=wr.coolElegance(),y=[{[n]:0},{[n]:0}]);const g={cursor:d?.length?"crosshair":"default",...f};return e(gy,{width:i,minHeight:o,id:h,children:t(x_,{data:y,style:g,children:[e(OC,{domain:["dataMin","dataMax"],hide:!0}),e(rC,{isAnimationActive:c,type:a,dataKey:n,stroke:v,strokeWidth:"2",activeDot:t=>S_({chartId:h,labelFormatter:u,formatter:l,...t}),dot:!1,scale:"threshold"}),d?.length&&e(Hd,{cursor:!1,content:()=>null})]})})},VT=({isOpen:r,onClose:n,headerContent:i=null,footerContent:o=null,children:a,isCentered:c=!0,size:l={base:"md",md:"xl"},isDisabledCloseButton:u,bodyProps:s={},contentProps:f={},...p})=>{const h={maxHeight:"60vh",bg:"transparent",overflow:"scroll",...s},d={...{minWidth:Sr},...f};return t(_,{blockScrollOnMount:!1,scrollBehavior:"inside",isOpen:r,onClose:n,isCentered:c,size:l,...p,children:[e(T,{}),t(D,{...d,children:[e(I,{children:i}),e(N,{isDisabled:u}),e(L,{...h,children:a}),o&&e(B,{borderTop:"solid 1px",borderColor:wr.coolElegance(),children:o})]})]})},FT=t=>{const{isActive:r,children:n,href:i,...o}=t;return e(R,{display:"flex",as:R,borderRadius:"md",border:"solid 1px",bg:r?"brand.50":"transparent",borderColor:r?"brand.200":"transparent",boxShadow:r?`0 8px 16px 0 ${wr.black(.08)}`:"none",href:i,alignItems:"center",lineHeight:"1",position:"relative",padding:"2",zIndex:"3",transition:"border-color 0.25s",_hover:{borderColor:!r&&wr.coolElegance(),textDecoration:"none"},...o,children:n},i)};var UT,WT={exports:{}};UT=WT,function(t,e){UT.exports=e(J)}(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 qT=n(Ze(WT.exports)),YT=({totalRecords:t=0,recordsPerPage:r=10,pageRangeDisplayed:n=3,handlePageClick:i,forcePage:o,...a})=>{const c=Math.ceil(t/r);return e(v,{justifyContent:{base:"center",md:"flex-end"},fontSize:{base:14,md:18},gap:2,w:"full",...a,children:e(qT,{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:wr.white()},".previous-page-button a, .next-page-button a":{minWidth:"2rem",display:"inline-block",textAlign:"center",paddingX:{base:2,lg:2.5}},".pagination-link":{minWidth:"2.5rem",display:"inline-block",textAlign:"center",paddingX:{base:2.5,lg:3}},".active-page a":{backgroundColor:"brand.500"},".disabled-pagination":{backgroundColor:"gray.300 !important",cursor:"not-allowed !important"}}})})},XT=({isLoading:r,hasMore:n,setLastEvaluatedKeyParams:i,lastEvaluatedKey:o,...a})=>{const[c,l]=ot([]),[u,s]=ot(1);return t(v,{w:"full",justifyContent:"flex-end",alignItems:"center",direction:"row",gap:4,...a,children:[e(d,{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(d,{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"})]})},KT=({children:t,isEnabled:r=!0,...n})=>{const i=r?dt`
26
+ */function fj(){return GS||(GS=1,"production"===process.env.NODE_ENV?YS.exports=function(){if($S)return XS;$S=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,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,l=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,d=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,y=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,m=t?Symbol.for("react.responder"):60118,g=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 u:case l:case n:case i:case o:case f:return t;default:switch(t=t&&t.$$typeof){case c:case s:case h:case d:case a:return t;default:return p}}case r:return p}}}function w(t){return b(t)===l}return XS.AsyncMode=u,XS.ConcurrentMode=l,XS.ContextConsumer=c,XS.ContextProvider=a,XS.Element=e,XS.ForwardRef=s,XS.Fragment=n,XS.Lazy=h,XS.Memo=d,XS.Portal=r,XS.Profiler=i,XS.StrictMode=o,XS.Suspense=f,XS.isAsyncMode=function(t){return w(t)||b(t)===u},XS.isConcurrentMode=w,XS.isContextConsumer=function(t){return b(t)===c},XS.isContextProvider=function(t){return b(t)===a},XS.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},XS.isForwardRef=function(t){return b(t)===s},XS.isFragment=function(t){return b(t)===n},XS.isLazy=function(t){return b(t)===h},XS.isMemo=function(t){return b(t)===d},XS.isPortal=function(t){return b(t)===r},XS.isProfiler=function(t){return b(t)===i},XS.isStrictMode=function(t){return b(t)===o},XS.isSuspense=function(t){return b(t)===f},XS.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===l||t===i||t===o||t===f||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===d||t.$$typeof===a||t.$$typeof===c||t.$$typeof===s||t.$$typeof===v||t.$$typeof===m||t.$$typeof===g||t.$$typeof===y)},XS.typeOf=b,XS}():YS.exports=(KS||(KS=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,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,l=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,d=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,y=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,m=t?Symbol.for("react.responder"):60118,g=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 u:case l:case n:case i:case o:case f:return y;default:var v=y&&y.$$typeof;switch(v){case c:case s:case h:case d:case a:return v;default:return p}}case r:return p}}}var w=u,x=l,O=c,S=a,j=e,P=s,A=n,M=h,k=d,E=r,C=i,_=o,T=f,D=!1;function I(t){return b(t)===l}sj.AsyncMode=w,sj.ConcurrentMode=x,sj.ContextConsumer=O,sj.ContextProvider=S,sj.Element=j,sj.ForwardRef=P,sj.Fragment=A,sj.Lazy=M,sj.Memo=k,sj.Portal=E,sj.Profiler=C,sj.StrictMode=_,sj.Suspense=T,sj.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)===u},sj.isConcurrentMode=I,sj.isContextConsumer=function(t){return b(t)===c},sj.isContextProvider=function(t){return b(t)===a},sj.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},sj.isForwardRef=function(t){return b(t)===s},sj.isFragment=function(t){return b(t)===n},sj.isLazy=function(t){return b(t)===h},sj.isMemo=function(t){return b(t)===d},sj.isPortal=function(t){return b(t)===r},sj.isProfiler=function(t){return b(t)===i},sj.isStrictMode=function(t){return b(t)===o},sj.isSuspense=function(t){return b(t)===f},sj.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===l||t===i||t===o||t===f||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===d||t.$$typeof===a||t.$$typeof===c||t.$$typeof===s||t.$$typeof===v||t.$$typeof===m||t.$$typeof===g||t.$$typeof===y)},sj.typeOf=b}()),sj)),YS.exports}
27
+ /*
28
+ object-assign
29
+ (c) Sindre Sorhus
30
+ @license MIT
31
+ */function pj(){if(JS)return ZS;JS=1;var t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return ZS=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,o){for(var i,a,c=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(n),u=1;u<arguments.length;u++){for(var l in i=Object(arguments[u]))e.call(i,l)&&(c[l]=i[l]);if(t){a=t(i);for(var s=0;s<a.length;s++)r.call(i,a[s])&&(c[a[s]]=i[a[s]])}}return c},ZS}function dj(){if(tj)return QS;tj=1;return QS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function hj(){return rj?ej:(rj=1,ej=Function.call.bind(Object.prototype.hasOwnProperty))}function yj(){if(oj)return nj;oj=1;var t=function(){};if("production"!==process.env.NODE_ENV){var e=dj(),r={},n=hj();t=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}}function o(o,i,a,c,u){if("production"!==process.env.NODE_ENV)for(var l in o)if(n(o,l)){var s;try{if("function"!=typeof o[l]){var f=Error((c||"React class")+": "+a+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}s=o[l](i,l,c,a,null,e)}catch(t){s=t}if(!s||s instanceof Error||t((c||"React class")+": type specification of "+a+" `"+l+"` 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=u?u():"";t("Failed "+a+" type: "+s.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},nj=o}function vj(){if(aj)return ij;aj=1;var t=fj(),e=pj(),r=dj(),n=hj(),o=yj(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}),ij=function(c,u){var l="function"==typeof Symbol&&Symbol.iterator,s="@@iterator";var 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,o,i,a){if("function"!=typeof t)return new h("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var c=e[n];if(!Array.isArray(c))return new h("Invalid "+i+" `"+a+"` of type `"+b(c)+"` supplied to `"+o+"`, expected an array.");for(var u=0;u<c.length;u++){var l=t(c,u,o,i,a+"["+u+"]",r);if(l instanceof Error)return l}return null}))},element:y((function(t,e,r,n,o){var i=t[e];return c(i)?null:new h("Invalid "+n+" `"+o+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:y((function(e,r,n,o,i){var a=e[r];return t.isValidElementType(a)?null:new h("Invalid "+o+" `"+i+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(t){return y((function(e,r,n,o,i){if(!(e[r]instanceof t)){var a=t.name||f;return new h("Invalid "+o+" `"+i+"` 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,o){return g(t[e])?null:new h("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(t){return y((function(e,o,i,a,c){if("function"!=typeof t)return new h("Property `"+c+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var u=e[o],l=b(u);if("object"!==l)return new h("Invalid "+a+" `"+c+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var s in u)if(n(u,s)){var f=t(u,s,i,a,c+"."+s,r);if(f instanceof Error)return f}return null}))},oneOf:function(t){if(!Array.isArray(t))return"production"!==process.env.NODE_ENV&&i(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;return y((function(e,r,n,o,i){for(var a=e[r],c=0;c<t.length;c++)if(d(a,t[c]))return null;var u=JSON.stringify(t,(function(t,e){return"symbol"===w(e)?String(e):e}));return new h("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+n+"`, expected one of "+u+".")}))},oneOfType:function(t){if(!Array.isArray(t))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var e=0;e<t.length;e++){var o=t[e];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+e+"."),a}return y((function(e,o,i,a,c){for(var u=[],l=0;l<t.length;l++){var s=(0,t[l])(e,o,i,a,c,r);if(null==s)return null;s.data&&n(s.data,"expectedType")&&u.push(s.data.expectedType)}return new h("Invalid "+a+" `"+c+"` supplied to `"+i+"`"+(u.length>0?", expected one of type ["+u.join(", ")+"]":"")+".")}))},shape:function(t){return y((function(e,n,o,i,a){var c=e[n],u=b(c);if("object"!==u)return new h("Invalid "+i+" `"+a+"` of type `"+u+"` supplied to `"+o+"`, expected `object`.");for(var l in t){var s=t[l];if("function"!=typeof s)return m(o,i,a,l,w(s));var f=s(c,l,o,i,a+"."+l,r);if(f)return f}return null}))},exact:function(t){return y((function(o,i,a,c,u){var l=o[i],s=b(l);if("object"!==s)return new h("Invalid "+c+" `"+u+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");var f=e({},o[i],t);for(var p in f){var d=t[p];if(n(t,p)&&"function"!=typeof d)return m(a,c,u,p,w(d));if(!d)return new h("Invalid "+c+" `"+u+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var y=d(l,p,a,c,u+"."+p,r);if(y)return y}return null}))}};function d(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function h(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 o(o,a,c,l,s,p,d){if(l=l||f,p=p||c,d!==r){if(u){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=l+":"+c;!e[v]&&n<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+l+"`. 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]?o?null===a[c]?new h("The "+s+" `"+p+"` is marked as required in `"+l+"`, but its value is `null`."):new h("The "+s+" `"+p+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:t(a,c,l,s,p)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function v(t){return y((function(e,r,n,o,i,a){var c=e[r];return b(c)!==t?new h("Invalid "+o+" `"+i+"` of type `"+w(c)+"` supplied to `"+n+"`, expected `"+t+"`.",{expectedType:t}):null}))}function m(t,e,r,n,o){return new h((t||"React class")+": "+e+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function g(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(g);if(null===t||c(t))return!0;var e=function(t){var e=t&&(l&&t[l]||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(!g(r.value))return!1}else for(;!(r=n.next()).done;){var o=r.value;if(o&&!g(o[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 h.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},ij}function mj(){if(uj)return cj;uj=1;var t=dj();function e(){}function r(){}return r.resetWarningCache=e,cj=function(){function n(e,r,n,o,i,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 o(){return n}n.isRequired=n;var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:e};return i.PropTypes=i,i}}function gj(){if(lj)return qS.exports;if(lj=1,"production"!==process.env.NODE_ENV){var t=fj();qS.exports=vj()(t.isElement,true)}else qS.exports=mj()();return qS.exports}var bj=Ze(gj()),wj=Object.getOwnPropertyNames,xj=Object.getOwnPropertySymbols,Oj=Object.prototype.hasOwnProperty;function Sj(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function jj(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var o=n.cache,i=o.get(e),a=o.get(r);if(i&&a)return i===r&&a===e;o.set(e,r),o.set(r,e);var c=t(e,r,n);return o.delete(e),o.delete(r),c}}function Pj(t){return wj(t).concat(xj(t))}var Aj=Object.hasOwn||function(t,e){return Oj.call(t,e)};function Mj(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var kj="_owner",Ej=Object.getOwnPropertyDescriptor,Cj=Object.keys;function _j(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 Tj(t,e){return Mj(t.getTime(),e.getTime())}function Dj(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.entries(),c=0;(n=a.next())&&!n.done;){for(var u=e.entries(),l=!1,s=0;(o=u.next())&&!o.done;){var f=n.value,p=f[0],d=f[1],h=o.value,y=h[0],v=h[1];l||i[s]||!(l=r.equals(p,y,c,s,t,e,r)&&r.equals(d,v,p,y,t,e,r))||(i[s]=!0),s++}if(!l)return!1;c++}return!0}function Ij(t,e,r){var n,o=Cj(t),i=o.length;if(Cj(e).length!==i)return!1;for(;i-- >0;){if((n=o[i])===kj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!Aj(e,n)||!r.equals(t[n],e[n],n,n,t,e,r))return!1}return!0}function Nj(t,e,r){var n,o,i,a=Pj(t),c=a.length;if(Pj(e).length!==c)return!1;for(;c-- >0;){if((n=a[c])===kj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!Aj(e,n))return!1;if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;if(o=Ej(t,n),i=Ej(e,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function Lj(t,e){return Mj(t.valueOf(),e.valueOf())}function Bj(t,e){return t.source===e.source&&t.flags===e.flags}function Rj(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.values();(n=a.next())&&!n.done;){for(var c=e.values(),u=!1,l=0;(o=c.next())&&!o.done;)u||i[l]||!(u=r.equals(n.value,o.value,n.value,o.value,t,e,r))||(i[l]=!0),l++;if(!u)return!1}return!0}function $j(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 zj="[object Arguments]",Hj="[object Boolean]",Fj="[object Date]",Vj="[object Map]",Uj="[object Number]",Wj="[object Object]",qj="[object RegExp]",Yj="[object Set]",Xj="[object String]",Kj=Array.isArray,Gj="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,Zj=Object.assign,Jj=Object.prototype.toString.call.bind(Object.prototype.toString);var Qj=tP();function tP(t){void 0===t&&(t={});var e,r=t.circular,n=void 0!==r&&r,o=t.createInternalComparator,i=t.createState,a=t.strict,c=void 0!==a&&a,u=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,o={areArraysEqual:n?Nj:_j,areDatesEqual:Tj,areMapsEqual:n?Sj(Dj,Nj):Dj,areObjectsEqual:n?Nj:Ij,arePrimitiveWrappersEqual:Lj,areRegExpsEqual:Bj,areSetsEqual:n?Sj(Rj,Nj):Rj,areTypedArraysEqual:n?Nj:$j};if(r&&(o=Zj({},o,r(o))),e){var i=jj(o.areArraysEqual),a=jj(o.areMapsEqual),c=jj(o.areObjectsEqual),u=jj(o.areSetsEqual);o=Zj({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:u})}return o}(t),l=function(t){var e=t.areArraysEqual,r=t.areDatesEqual,n=t.areMapsEqual,o=t.areObjectsEqual,i=t.arePrimitiveWrappersEqual,a=t.areRegExpsEqual,c=t.areSetsEqual,u=t.areTypedArraysEqual;return function(t,l,s){if(t===l)return!0;if(null==t||null==l||"object"!=typeof t||"object"!=typeof l)return t!=t&&l!=l;var f=t.constructor;if(f!==l.constructor)return!1;if(f===Object)return o(t,l,s);if(Kj(t))return e(t,l,s);if(null!=Gj&&Gj(t))return u(t,l,s);if(f===Date)return r(t,l,s);if(f===RegExp)return a(t,l,s);if(f===Map)return n(t,l,s);if(f===Set)return c(t,l,s);var p=Jj(t);return p===Fj?r(t,l,s):p===qj?a(t,l,s):p===Vj?n(t,l,s):p===Yj?c(t,l,s):p===Wj?"function"!=typeof t.then&&"function"!=typeof l.then&&o(t,l,s):p===zj?o(t,l,s):(p===Hj||p===Uj||p===Xj)&&i(t,l,s)}}(u),s=o?o(l):(e=l,function(t,r,n,o,i,a,c){return e(t,r,c)});return function(t){var e=t.circular,r=t.comparator,n=t.createState,o=t.equals,i=t.strict;if(n)return function(t,a){var c=n(),u=c.cache,l=void 0===u?e?new WeakMap:void 0:u,s=c.meta;return r(t,a,{cache:l,equals:o,meta:s,strict:i})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(t,e){return r(t,e,a)}}({circular:n,comparator:l,createState:i,equals:s,strict:c})}function eP(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame((function n(o){r<0&&(r=o),o-r>e?(t(o),r=-1):function(t){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(t)}(n)}))}function rP(t){return rP="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},rP(t)}function nP(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 oP(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 oP(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 oP(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 iP(){var t=function(){return null},e=!1,r=function r(n){if(!e){if(Array.isArray(n)){if(!n.length)return;var o=nP(n),i=o[0],a=o.slice(1);return"number"==typeof i?void eP(r.bind(null,a),i):(r(i),void eP(r.bind(null,a)))}"object"===rP(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 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 cP(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 uP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cP(Object(r),!0).forEach((function(e){lP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function lP(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==aP(t)||null===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))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}tP({strict:!0}),tP({circular:!0}),tP({circular:!0,strict:!0}),tP({createInternalComparator:function(){return Mj}}),tP({strict:!0,createInternalComparator:function(){return Mj}}),tP({circular:!0,createInternalComparator:function(){return Mj}}),tP({circular:!0,createInternalComparator:function(){return Mj},strict:!0});var sP=function(t){return t},fP=function(t,e){return Object.keys(e).reduce((function(r,n){return uP(uP({},r),{},lP({},n,t(n,e[n])))}),{})},pP=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(",")},dP="production"!==process.env.NODE_ENV,hP=function(t,e,r,n,o,i,a,c){if(dP&&"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 u=[r,n,o,i,a,c],l=0;console.warn(e.replace(/%s/g,(function(){return u[l++]})))}};function yP(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,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||mP(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 vP(t){return function(t){if(Array.isArray(t))return gP(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||mP(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 mP(t,e){if(t){if("string"==typeof t)return gP(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)?gP(t,e):void 0}}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}var bP=1e-4,wP=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},xP=function(t,e){return t.map((function(t,r){return t*Math.pow(e,r)})).reduce((function(t,e){return t+e}))},OP=function(t,e){return function(r){var n=wP(t,e);return xP(n,r)}},SP=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],o=e[1],i=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":n=0,o=0,i=1,a=1;break;case"ease":n=.25,o=.1,i=.25,a=1;break;case"ease-in":n=.42,o=0,i=1,a=1;break;case"ease-out":n=.42,o=0,i=.58,a=1;break;case"ease-in-out":n=0,o=0,i=.58,a=1;break;default:var c=e[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var u=c[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),l=yP(u,4);n=l[0],o=l[1],i=l[2],a=l[3]}else hP(!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)}hP([n,i,o,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=OP(n,i),d=OP(o,a),h=(s=n,f=i,function(t){var e=wP(s,f),r=[].concat(vP(e.map((function(t,e){return t*e})).slice(1)),[0]);return xP(r,t)}),y=function(t){for(var e,r=t>1?1:t,n=r,o=0;o<8;++o){var i=p(n)-r,a=h(n);if(Math.abs(i-r)<bP||a<bP)return d(n);n=(e=n-i/a)>1?1:e<0?0:e}return d(n)};return y.isStepper=!1,y},jP=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 SP(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,o=void 0===n?8:n,i=t.dt,a=void 0===i?17:i,c=function(t,e,n){var i=n+(-(t-e)*r-n*o)*a/1e3,c=n*a/1e3+t;return Math.abs(c-e)<bP&&Math.abs(i)<bP?[e,0]:[c,i]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return SP(n);hP(!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:(hP(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function PP(t){return PP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},PP(t)}function AP(t){return function(t){if(Array.isArray(t))return TP(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||_P(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 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"!==PP(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==PP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===PP(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function CP(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,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||_P(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 _P(t,e){if(t){if("string"==typeof t)return TP(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)?TP(t,e):void 0}}function TP(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 DP=function(t,e,r){return t+(e-t)*r},IP=function(t){return t.from!==t.to},NP=function t(e,r,n){var o=fP((function(t,r){if(IP(r)){var n=CP(e(r.from,r.to,r.velocity),2),o=n[0],i=n[1];return kP(kP({},r),{},{from:o,velocity:i})}return r}),r);return n<1?fP((function(t,e){return IP(e)?kP(kP({},e),{},{velocity:DP(e.velocity,o[t].velocity,n),from:DP(e.from,o[t].from,n)}):e}),r):t(e,o,n-1)},LP=function(t,e,r,n,o){var i,a,c,u,l=(i=t,a=e,[Object.keys(i),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),s=l.reduce((function(r,n){return kP(kP({},r),{},EP({},n,[t[n],e[n]]))}),{}),f=l.reduce((function(r,n){return kP(kP({},r),{},EP({},n,{from:t[n],velocity:0,to:e[n]}))}),{}),p=-1,d=function(){return null};return d=r.isStepper?function(n){c||(c=n);var i=(n-c)/r.dt;f=NP(r,f,i),o(kP(kP(kP({},t),e),fP((function(t,e){return e.from}),f))),c=n,Object.values(f).filter(IP).length&&(p=requestAnimationFrame(d))}:function(i){u||(u=i);var a=(i-u)/n,c=fP((function(t,e){return DP.apply(void 0,AP(e).concat([r(a)]))}),s);if(o(kP(kP(kP({},t),e),c)),a<1)p=requestAnimationFrame(d);else{var l=fP((function(t,e){return DP.apply(void 0,AP(e).concat([r(1)]))}),s);o(kP(kP(kP({},t),e),l))}},function(){return requestAnimationFrame(d),function(){cancelAnimationFrame(p)}}};function BP(t){return BP="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},BP(t)}var RP=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function $P(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function zP(t){return function(t){if(Array.isArray(t))return HP(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 HP(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 HP(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 HP(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 FP(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 VP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?FP(Object(r),!0).forEach((function(e){UP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):FP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function UP(t,e,r){return(e=qP(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function WP(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,qP(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function qP(t){var e=function(t,e){if("object"!==BP(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==BP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===BP(e)?e:String(e)}function YP(t,e){return YP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},YP(t,e)}function XP(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=ZP(t);if(e){var o=ZP(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return KP(this,r)}}function KP(t,e){if(e&&("object"===BP(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return GP(t)}function GP(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZP(t){return ZP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ZP(t)}var JP=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&&YP(t,e)}(r,et);var e=XP(r);function r(t,n){var o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r);var i=(o=e.call(this,t,n)).props,a=i.isActive,c=i.attributeName,u=i.from,l=i.to,s=i.steps,f=i.children,p=i.duration;if(o.handleStyleChange=o.handleStyleChange.bind(GP(o)),o.changeStyle=o.changeStyle.bind(GP(o)),!a||p<=0)return o.state={style:{}},"function"==typeof f&&(o.state={style:l}),KP(o);if(s&&s.length)o.state={style:s[0].style};else if(u){if("function"==typeof f)return o.state={style:u},KP(o);o.state={style:c?UP({},c,u):u}}else o.state={style:{}};return o}return WP(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,o=e.attributeName,i=e.shouldReAnimate,a=e.to,c=e.from,u=this.state.style;if(n)if(r){if(!(Qj(t.to,a)&&t.canBegin&&t.isActive)){var l=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=l||i?c:t.to;if(this.state&&u){var f={style:o?UP({},o,s):s};(o&&u[o]!==s||!o&&u!==s)&&this.setState(f)}this.runAnimation(VP(VP({},this.props),{},{from:s,begin:0}))}}else{var p={style:o?UP({},o,a):a};this.state&&u&&(o&&u[o]!==a||!o&&u!==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,o=t.duration,i=t.easing,a=t.begin,c=t.onAnimationEnd,u=t.onAnimationStart,l=LP(r,n,jP(i),o,this.changeStyle);this.manager.start([u,a,function(){e.stopJSAnimation=l()},o,c])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,o=t.onAnimationStart,i=r[0],a=i.style,c=i.duration,u=void 0===c?0:c;return this.manager.start([o].concat(zP(r.reduce((function(t,n,o){if(0===o)return t;var i=n.duration,a=n.easing,c=void 0===a?"ease":a,u=n.style,l=n.properties,s=n.onAnimationEnd,f=o>0?r[o-1]:n,p=l||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(zP(t),[e.runJSAnimation.bind(e,{from:f.style,to:u,duration:i,easing:c}),i]);var d=pP(p,i,c),h=VP(VP(VP({},f.style),u),{},{transition:d});return[].concat(zP(t),[h,i,s]).filter(sP)}),[a,Math.max(u,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=iP());var e=t.begin,r=t.duration,n=t.attributeName,o=t.to,i=t.easing,a=t.onAnimationStart,c=t.onAnimationEnd,u=t.steps,l=t.children,s=this.manager;if(this.unSubscribe=s.subscribe(this.handleStyleChange),"function"!=typeof i&&"function"!=typeof l&&"spring"!==i)if(u.length>1)this.runStepAnimation(t);else{var f=n?UP({},n,o):o,p=pP(Object.keys(f),r,i);s.start([a,e,VP(VP({},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 o=$P(t,RP),i=tt.count(e),a=this.state.style;if("function"==typeof e)return e(a);if(!n||0===i||r<=0)return e;var c=function(t){var e=t.props,r=e.style,n=void 0===r?{}:r,i=e.className;return lt(t,VP(VP({},o),{},{style:VP(VP({},n),a),className:i}))};return 1===i?c(tt.only(e)):J.createElement("div",null,tt.map(e,(function(t){return c(t)})))}}]),r}();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 tA(){return tA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},tA.apply(this,arguments)}function eA(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,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return rA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rA(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rA(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function nA(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 oA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nA(Object(r),!0).forEach((function(e){iA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function iA(t,e,r){return e=function(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:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}JP.displayName="Animate",JP.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},JP.propTypes={from:bj.oneOfType([bj.object,bj.string]),to:bj.oneOfType([bj.object,bj.string]),attributeName:bj.string,duration:bj.number,begin:bj.number,easing:bj.oneOfType([bj.string,bj.func]),steps:bj.arrayOf(bj.shape({duration:bj.number.isRequired,style:bj.object.isRequired,easing:bj.oneOfType([bj.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),bj.func]),properties:bj.arrayOf("string"),onAnimationEnd:bj.func})),children:bj.oneOfType([bj.node,bj.func]),isActive:bj.bool,canBegin:bj.bool,onAnimationEnd:bj.func,shouldReAnimate:bj.bool,onAnimationStart:bj.func,onAnimationReStart:bj.func},bj.object,bj.object,bj.object,bj.element,bj.object,bj.object,bj.object,bj.oneOfType([bj.array,bj.element]),bj.any;var aA=function(t,e,r,n,o){var i,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,u=r>=0?1:-1,l=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&o instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=o[f]>a?a:o[f];i="M".concat(t,",").concat(e+c*s[0]),s[0]>0&&(i+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(l,",").concat(t+u*s[0],",").concat(e)),i+="L ".concat(t+r-u*s[1],",").concat(e),s[1]>0&&(i+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(l,",\n ").concat(t+r,",").concat(e+c*s[1])),i+="L ".concat(t+r,",").concat(e+n-c*s[2]),s[2]>0&&(i+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(l,",\n ").concat(t+r-u*s[2],",").concat(e+n)),i+="L ".concat(t+u*s[3],",").concat(e+n),s[3]>0&&(i+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(l,",\n ").concat(t,",").concat(e+n-c*s[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);i="M ".concat(t,",").concat(e+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+u*p,",").concat(e,"\n L ").concat(t+r-u*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").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(l,",").concat(t+r-u*p,",").concat(e+n,"\n L ").concat(t+u*p,",").concat(e+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t,",").concat(e+n-c*p," Z")}else i="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return i},cA=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,o=e.x,i=e.y,a=e.width,c=e.height;if(Math.abs(a)>0&&Math.abs(c)>0){var u=Math.min(o,o+a),l=Math.max(o,o+a),s=Math.min(i,i+c),f=Math.max(i,i+c);return r>=u&&r<=l&&n>=s&&n<=f}return!1},uA={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},lA=function(t){var e=oA(oA({},uA),t),r=nt(),n=eA(it(-1),2),o=n[0],i=n[1];ct((function(){if(r.current&&r.current.getTotalLength)try{var t=r.current.getTotalLength();t&&i(t)}catch(t){}}),[]);var a=e.x,c=e.y,u=e.width,l=e.height,s=e.radius,f=e.className,p=e.animationEasing,d=e.animationDuration,h=e.animationBegin,y=e.isAnimationActive,v=e.isUpdateAnimationActive;if(a!==+a||c!==+c||u!==+u||l!==+l||0===u||0===l)return null;var m=mn("recharts-rectangle",f);return v?J.createElement(JP,{canBegin:o>0,from:{width:u,height:l,x:a,y:c},to:{width:u,height:l,x:a,y:c},duration:d,animationEasing:p,isActive:v},(function(t){var n=t.width,i=t.height,a=t.x,c=t.y;return J.createElement(JP,{canBegin:o>0,from:"0px ".concat(-1===o?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:h,duration:d,isActive:y,easing:p},J.createElement("path",tA({},Ya(e,!0),{className:m,d:aA(a,c,n,i,s),ref:r})))})):J.createElement("path",tA({},Ya(e,!0),{className:m,d:aA(a,c,u,l,s)}))};function sA(){return sA=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},sA.apply(this,arguments)}var fA=function(t){var e=t.cx,r=t.cy,n=t.r,o=mn("recharts-dot",t.className);return e===+e&&r===+r&&n===+n?J.createElement("circle",sA({},Ya(t,!1),_a(t),{className:o,cx:e,cy:r,r:n})):null};function pA(t){return pA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pA(t)}var dA=["x","y","top","left","width","height","className"];function hA(){return hA=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},hA.apply(this,arguments)}function yA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=pA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pA(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mA(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var gA,bA,wA,xA,OA=function(t,e,r,n,o,i){return"M".concat(t,",").concat(o,"v").concat(n,"M").concat(i,",").concat(e,"h").concat(r)},SA=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,o=void 0===n?0:n,i=t.top,a=void 0===i?0:i,c=t.left,u=void 0===c?0:c,l=t.width,s=void 0===l?0:l,f=t.height,p=void 0===f?0:f,d=t.className,h=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yA(Object(r),!0).forEach((function(e){vA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({x:r,y:o,top:a,left:u,width:s,height:p},mA(t,dA));return ma(r)&&ma(o)&&ma(s)&&ma(p)&&ma(a)&&ma(u)?J.createElement("path",hA({},Ya(h,!0),{className:mn("recharts-cross",d),d:OA(r,o,s,p,a,u)})):null};var jA,PA,AA=function(){if(xA)return wA;xA=1;var t=bi(),e=function(){if(bA)return gA;bA=1;var t=Qf()(Object.getPrototypeOf,Object);return gA=t}(),r=wi(),n=Function.prototype,o=Object.prototype,i=n.toString,a=o.hasOwnProperty,c=i.call(Object);return wA=function(n){if(!r(n)||"[object Object]"!=t(n))return!1;var o=e(n);if(null===o)return!0;var u=a.call(o,"constructor")&&o.constructor;return"function"==typeof u&&u instanceof u&&i.call(u)==c}}(),MA=Ze(AA);var kA=Ze(function(){if(PA)return jA;PA=1;var t=bi(),e=wi();return jA=function(r){return!0===r||!1===r||e(r)&&"[object Boolean]"==t(r)}}());function EA(t){return EA="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},EA(t)}function CA(){return CA=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},CA.apply(this,arguments)}function _A(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,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return TA(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 TA(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 TA(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function DA(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 IA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?DA(Object(r),!0).forEach((function(e){NA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):DA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function NA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=EA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=EA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==EA(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var LA,BA,RA,$A,zA,HA,FA,VA,UA=function(t,e,r,n,o){var i,a=r-n;return i="M ".concat(t,",").concat(e),i+="L ".concat(t+r,",").concat(e),i+="L ".concat(t+r-a/2,",").concat(e+o),i+="L ".concat(t+r-a/2-n,",").concat(e+o),i+="L ".concat(t,",").concat(e," Z")},WA={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},qA=function(t){var e=IA(IA({},WA),t),r=nt(),n=_A(it(-1),2),o=n[0],i=n[1];ct((function(){if(r.current&&r.current.getTotalLength)try{var t=r.current.getTotalLength();t&&i(t)}catch(t){}}),[]);var a=e.x,c=e.y,u=e.upperWidth,l=e.lowerWidth,s=e.height,f=e.className,p=e.animationEasing,d=e.animationDuration,h=e.animationBegin,y=e.isUpdateAnimationActive;if(a!==+a||c!==+c||u!==+u||l!==+l||s!==+s||0===u&&0===l||0===s)return null;var v=mn("recharts-trapezoid",f);return y?J.createElement(JP,{canBegin:o>0,from:{upperWidth:0,lowerWidth:0,height:s,x:a,y:c},to:{upperWidth:u,lowerWidth:l,height:s,x:a,y:c},duration:d,animationEasing:p,isActive:y},(function(t){var n=t.upperWidth,i=t.lowerWidth,a=t.height,c=t.x,u=t.y;return J.createElement(JP,{canBegin:o>0,from:"0px ".concat(-1===o?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:h,duration:d,easing:p},J.createElement("path",CA({},Ya(e,!0),{className:v,d:UA(c,u,n,i,a),ref:r})))})):J.createElement("g",null,J.createElement("path",CA({},Ya(e,!0),{className:v,d:UA(a,c,u,l,s)})))},YA=["option","shapeType","propTransformer","activeClassName","isActive"];function XA(t){return XA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},XA(t)}function KA(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}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){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?GA(Object(r),!0).forEach((function(e){JA(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}function JA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=XA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=XA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==XA(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function QA(t,e){return ZA(ZA({},e),t)}function tM(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return J.createElement(lA,r);case"trapezoid":return J.createElement(qA,r);case"sector":return J.createElement(DS,r);case"symbols":if(function(t,e){return"symbols"===t}(e))return J.createElement(Hu,r);break;default:return null}}function eM(t){var e,r=t.option,n=t.shapeType,o=t.propTransformer,i=void 0===o?QA:o,a=t.activeClassName,c=void 0===a?"recharts-active-shape":a,u=t.isActive,l=KA(t,YA);if(Q(r))e=lt(r,ZA(ZA({},l),function(t){return Q(t)?t.props:t}(r)));else if(Qi(r))e=r(l);else if(MA(r)&&!kA(r)){var s=i(r,l);e=J.createElement(tM,{shapeType:n,elementProps:s})}else{var f=l;e=J.createElement(tM,{shapeType:n,elementProps:f})}return u?J.createElement(wc,{className:c},e):e}function rM(t,e){return null!=e&&"trapezoids"in t.props}function nM(t,e){return null!=e&&"sectors"in t.props}function oM(t,e){return null!=e&&"points"in t.props}function iM(t,e){var r,n,o=t.x===(null==e||null===(r=e.labelViewBox)||void 0===r?void 0:r.x)||t.x===e.x,i=t.y===(null==e||null===(n=e.labelViewBox)||void 0===n?void 0:n.y)||t.y===e.y;return o&&i}function aM(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function cM(t,e){var r=t.x===e.x,n=t.y===e.y,o=t.z===e.z;return r&&n&&o}function uM(t){var e=t.activeTooltipItem,r=t.graphicalItem,n=t.itemData,o=function(t,e){var r;return rM(t,e)?r="trapezoids":nM(t,e)?r="sectors":oM(t,e)&&(r="points"),r}(r,e),i=function(t,e){var r,n;return rM(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:nM(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:oM(t,e)?e.payload:{}}(r,e),a=n.filter((function(t,n){var a=$w(i,t),c=r.props[o].filter((function(t){var n=function(t,e){var r;return rM(t,e)?r=iM:nM(t,e)?r=aM:oM(t,e)&&(r=cM),r}(r,e);return n(t,e)})),u=r.props[o].indexOf(c[c.length-1]);return a&&n===u}));return n.indexOf(a[a.length-1])}function lM(){if($A)return RA;$A=1;var t=Rh(),e=1/0;return RA=function(r){return r?(r=t(r))===e||r===-1/0?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}}function sM(){if(HA)return zA;HA=1;var t=function(){if(BA)return LA;BA=1;var t=Math.ceil,e=Math.max;return LA=function(r,n,o,i){for(var a=-1,c=e(t((n-r)/(o||1)),0),u=Array(c);c--;)u[i?c:++a]=r,r+=o;return u}}(),e=Bd(),r=lM();return zA=function(n){return function(o,i,a){return a&&"number"!=typeof a&&e(o,i,a)&&(i=a=void 0),o=r(o),void 0===i?(i=o,o=0):i=r(i),a=void 0===a?o<i?1:-1:r(a),t(o,i,a,n)}}}var fM=function(){if(VA)return FA;VA=1;var t=sM()();return FA=t}(),pM=Ze(fM);function dM(t){return dM="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},dM(t)}function hM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function yM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hM(Object(r),!0).forEach((function(e){vM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function vM(t,e,r){return e=function(t){var e=function(t,e){if("object"!=dM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dM(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var mM=["Webkit","Moz","O","ms"];function gM(t){return gM="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},gM(t)}function bM(){return bM=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},bM.apply(this,arguments)}function wM(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 xM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wM(Object(r),!0).forEach((function(e){MM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function OM(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,kM(n.key),n)}}function SM(t,e,r){return e=PM(e),function(t,e){if(e&&("object"===gM(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,jM()?Reflect.construct(e,r||[],PM(t).constructor):e.apply(t,r))}function jM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(jM=function(){return!!t})()}function PM(t){return PM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},PM(t)}function AM(t,e){return AM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},AM(t,e)}function MM(t,e,r){return(e=kM(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kM(t){var e=function(t,e){if("object"!=gM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=gM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==gM(e)?e:e+""}var EM,CM,_M,TM,DM=function(t){return t.changedTouches&&!!t.changedTouches.length},IM=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),MM(r=SM(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)})),MM(r,"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleDrag(t.changedTouches[0])})),MM(r,"handleDragEnd",(function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var t=r.props,e=t.endIndex,n=t.onDragEnd,o=t.startIndex;null==n||n({endIndex:e,startIndex:o})})),r.detachDragEndListener()})),MM(r,"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),MM(r,"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),MM(r,"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),MM(r,"handleSlideDragStart",(function(t){var e=DM(t)?t.changedTouches[0]:t;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:e.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}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&&AM(t,e)}(e,et),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,o=this.state.scaleValues,i=this.props,a=i.gap,c=i.data.length-1,u=Math.min(r,n),l=Math.max(r,n),s=e.getIndexInRange(o,u),f=e.getIndexInRange(o,l);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,o=e.dataKey,i=vO(r[t],o,t);return Qi(n)?n(i,t):i}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,o=e.endX,i=this.props,a=i.x,c=i.width,u=i.travellerWidth,l=i.startIndex,s=i.endIndex,f=i.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-u-o,a+c-u-n):p<0&&(p=Math.max(p,a-n,a-o));var d=this.getIndex({startX:n+p,endX:o+p});d.startIndex===l&&d.endIndex===s||!f||f(d),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=DM(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,o=e.endX,i=e.startX,a=this.state[n],c=this.props,u=c.x,l=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,d=c.data,h={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,u+l-s-a):y<0&&(y=Math.max(y,u-a)),h[n]=a+y;var v=this.getIndex(h),m=v.startIndex,g=v.endIndex;this.setState(MM(MM({},n,a+y),"brushMoveStartX",t.pageX),(function(){var t;f&&(t=d.length-1,("startX"===n&&(o>i?m%p==0:g%p==0)||o<i&&g===t||"endX"===n&&(o>i?g%p==0:m%p==0)||o>i&&g===t)&&f(v))}))}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,o=n.scaleValues,i=n.startX,a=n.endX,c=this.state[e],u=o.indexOf(c);if(-1!==u){var l=u+t;if(!(-1===l||l>=o.length)){var s=o[l];"startX"===e&&s>=a||"endX"===e&&s<=i||this.setState(MM({},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,o=t.height,i=t.fill,a=t.stroke;return J.createElement("rect",{stroke:a,fill:i,x:e,y:r,width:n,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.data,a=t.children,c=t.padding,u=tt.only(a);return u?J.cloneElement(u,{x:e,y:r,width:n,height:o,margin:c,compact:!0,data:i}):null}},{key:"renderTravellerLayer",value:function(t,r){var n,o,i=this,a=this.props,c=a.y,u=a.travellerWidth,l=a.height,s=a.traveller,f=a.ariaLabel,p=a.data,d=a.startIndex,h=a.endIndex,y=Math.max(t,this.props.x),v=xM(xM({},Ya(this.props,!1)),{},{x:y,y:c,width:u,height:l}),m=f||"Min value: ".concat(null===(n=p[d])||void 0===n?void 0:n.name,", Max value: ").concat(null===(o=p[h])||void 0===o?void 0:o.name);return J.createElement(wc,{tabIndex:0,role:"slider","aria-label":m,"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(),i.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,r))},onFocus:function(){i.setState({isTravellerFocused:!0})},onBlur:function(){i.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(s,v))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,o=r.height,i=r.stroke,a=r.travellerWidth,c=Math.min(t,e)+a,u=Math.max(Math.abs(e-t)-a,0);return J.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:i,fillOpacity:.2,x:c,y:n,width:u,height:o})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,o=t.height,i=t.travellerWidth,a=t.stroke,c=this.state,u=c.startX,l=c.endX,s={pointerEvents:"none",fill:a};return J.createElement(wc,{className:"recharts-brush-texts"},J.createElement(Ty,bM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,l)-5,y:n+o/2},s),this.getTextOfTick(e)),J.createElement(Ty,bM({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,l)+i+5,y:n+o/2},s),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,o=t.x,i=t.y,a=t.width,c=t.height,u=t.alwaysShowText,l=this.state,s=l.startX,f=l.endX,p=l.isTextActive,d=l.isSlideMoving,h=l.isTravellerMoving,y=l.isTravellerFocused;if(!e||!e.length||!ma(o)||!ma(i)||!ma(a)||!ma(c)||a<=0||c<=0)return null;var v,m,g,b,w=mn("recharts-brush",r),x=1===J.Children.count(n),O=(m="none",g=(v="userSelect").replace(/(\w)/,(function(t){return t.toUpperCase()})),(b=mM.reduce((function(t,e){return yM(yM({},t),{},vM({},e+g,m))}),{}))[v]=m,b);return J.createElement(wc,{className:w,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:O},this.renderBackground(),x&&this.renderPanorama(),this.renderSlide(s,f),this.renderTravellerLayer(s,"startX"),this.renderTravellerLayer(f,"endX"),(p||d||h||y||u)&&this.renderText())}}],o=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,o=t.height,i=t.stroke,a=Math.floor(r+o/2)-1;return J.createElement(J.Fragment,null,J.createElement("rect",{x:e,y:r,width:n,height:o,fill:i,stroke:"none"}),J.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),J.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 J.isValidElement(t)?J.cloneElement(t,r):Qi(t)?t(r):e.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,o=t.x,i=t.travellerWidth,a=t.updateId,c=t.startIndex,u=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return xM({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?function(t){var e=t.data,r=t.startIndex,n=t.endIndex,o=t.x,i=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,u=cv().domain(pM(0,c)).range([o,o+i-a]),l=u.domain().map((function(t){return u(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:u(r),endX:u(n),scale:u,scaleValues:l}}({data:r,width:n,x:o,travellerWidth:i,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+n-i]);var l=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=0,n=t.length-1;n-r>1;){var o=Math.floor((r+n)/2);t[o]>e?n=o:r=o}return e>=t[n]?n:r}}],n&&OM(r.prototype,n),o&&OM(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();MM(IM,"displayName","Brush"),MM(IM,"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 NM,LM,BM,RM,$M=function(){if(TM)return _M;TM=1;var t=Gl(),e=hp(),r=function(){if(CM)return EM;CM=1;var t=Ed();return EM=function(e,r){var n;return t(e,(function(t,e,o){return!(n=r(t,e,o))})),!!n}}(),n=yi(),o=Bd();return _M=function(i,a,c){var u=n(i)?t:r;return c&&o(i,a,c)&&(a=void 0),u(i,e(a,3))}}(),zM=Ze($M),HM=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e};var FM,VM,UM,WM,qM,YM,XM=function(){if(RM)return BM;RM=1;var t=function(){if(LM)return NM;LM=1;var t=Id();return NM=function(e,r,n){"__proto__"==r&&t?t(e,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[r]=n},NM}(),e=kd(),r=hp();return BM=function(n,o){var i={};return o=r(o,3),e(n,(function(e,r,n){t(i,r,o(e,r,n))})),i},BM}(),KM=Ze(XM);var GM=function(){if(YM)return qM;YM=1;var t=(VM||(VM=1,FM=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}),FM),e=function(){if(WM)return UM;WM=1;var t=Ed();return UM=function(e,r){var n=!0;return t(e,(function(t,e,o){return n=!!r(t,e,o)})),n}}(),r=hp(),n=yi(),o=Bd();return qM=function(i,a,c){var u=n(i)?t:e;return c&&o(i,a,c)&&(a=void 0),u(i,r(a,3))}}(),ZM=Ze(GM),JM=["x","y"];function QM(t){return QM="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},QM(t)}function tk(){return tk=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},tk.apply(this,arguments)}function ek(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 rk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ek(Object(r),!0).forEach((function(e){nk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ek(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function nk(t,e,r){return e=function(t){var e=function(t,e){if("object"!=QM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=QM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==QM(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ok(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function ik(t,e){var r=t.x,n=t.y,o=ok(t,JM),i="".concat(r),a=parseInt(i,10),c="".concat(n),u=parseInt(c,10),l="".concat(e.height||o.height),s=parseInt(l,10),f="".concat(e.width||o.width),p=parseInt(f,10);return rk(rk(rk(rk(rk({},e),o),a?{x:a}:{}),u?{y:u}:{}),{},{height:s,width:p,name:e.name,radius:e.radius})}function ak(t){return J.createElement(eM,tk({shapeType:"rectangle",propTransformer:ik,activeClassName:"recharts-active-bar"},t))}var ck,uk=["value","background"];function lk(t){return lk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lk(t)}function sk(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function fk(){return fk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},fk.apply(this,arguments)}function pk(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 dk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pk(Object(r),!0).forEach((function(e){bk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function hk(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,wk(n.key),n)}}function yk(t,e,r){return e=mk(e),function(t,e){if(e&&("object"===lk(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,vk()?Reflect.construct(e,r||[],mk(t).constructor):e.apply(t,r))}function vk(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(vk=function(){return!!t})()}function mk(t){return mk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mk(t)}function gk(t,e){return gk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},gk(t,e)}function bk(t,e,r){return(e=wk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function wk(t){var e=function(t,e){if("object"!=lk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=lk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==lk(e)?e:e+""}var xk=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),o=0;o<r;o++)n[o]=arguments[o];return bk(t=yk(this,e,[].concat(n)),"state",{isAnimationFinished:!1}),bk(t,"id",wa("recharts-bar-")),bk(t,"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()})),bk(t,"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&gk(t,e)}(e,et),r=e,n=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.dataKey,i=r.activeIndex,a=r.activeBar,c=Ya(this.props,!1);return t&&t.map((function(t,r){var u=r===i,l=u?a:n,s=dk(dk(dk({},c),t),{},{isActive:u,option:l,index:r,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return J.createElement(wc,fk({className:"recharts-bar-rectangle"},Ta(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)}),J.createElement(ak,s))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,o=e.isAnimationActive,i=e.animationBegin,a=e.animationDuration,c=e.animationEasing,u=e.animationId,l=this.state.prevData;return J.createElement(JP,{begin:i,duration:a,isActive:o,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(u),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var o=e.t,i=r.map((function(t,e){var r=l&&l[e];if(r){var i=Sa(r.x,t.x),a=Sa(r.y,t.y),c=Sa(r.width,t.width),u=Sa(r.height,t.height);return dk(dk({},t),{},{x:i(o),y:a(o),width:c(o),height:u(o)})}if("horizontal"===n){var s=Sa(0,t.height)(o);return dk(dk({},t),{},{y:t.y+t.height-s,height:s})}var f=Sa(0,t.width)(o);return dk(dk({},t),{},{width:f})}));return J.createElement(wc,null,t.renderRectanglesStatically(i))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return!(r&&e&&e.length)||n&&$w(n,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,n=e.dataKey,o=e.activeIndex,i=Ya(this.props.background,!1);return r.map((function(e,r){e.value;var a=e.background,c=sk(e,uk);if(!a)return null;var u=dk(dk(dk(dk(dk({},c),{},{fill:"#eee"},a),i),Ta(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,className:"recharts-bar-background-rectangle"});return J.createElement(ak,fk({key:"background-bar-".concat(r),option:t.props.background,isActive:r===o},u))}))}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,o=r.xAxis,i=r.yAxis,a=r.layout,c=Fa(r.children,oO);if(!c)return null;var u="vertical"===a?n[0].height/2:n[0].width/2,l=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:vO(t,e)}},s={clipPath:t?"url(#clipPath-".concat(e,")"):null};return J.createElement(wc,s,c.map((function(t){return J.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:n,xAxis:o,yAxis:i,layout:a,offset:u,dataPointFormatter:l})})))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.xAxis,i=t.yAxis,a=t.left,c=t.top,u=t.width,l=t.height,s=t.isAnimationActive,f=t.background,p=t.id;if(e||!r||!r.length)return null;var d=this.state.isAnimationFinished,h=mn("recharts-bar",n),y=o&&o.allowDataOverflow,v=i&&i.allowDataOverflow,m=y||v,g=Ki(p)?this.id:p;return J.createElement(wc,{className:h},y||v?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(g)},J.createElement("rect",{x:y?a:a-u/2,y:v?c:c-l/2,width:y?u:2*u,height:v?l:2*l}))):null,J.createElement(wc,{className:"recharts-bar-rectangles",clipPath:m?"url(#clipPath-".concat(g,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(m,g),(!s||d)&&jS.renderCallByParent(this.props,r))}}],o=[{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&&hk(r.prototype,n),o&&hk(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();function Ok(t){return Ok="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},Ok(t)}function Sk(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,Mk(n.key),n)}}function jk(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 Pk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?jk(Object(r),!0).forEach((function(e){Ak(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ak(t,e,r){return(e=Mk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Mk(t){var e=function(t,e){if("object"!=Ok(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ok(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ok(e)?e:e+""}ck=xk,bk(xk,"displayName","Bar"),bk(xk,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!ph.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),bk(xk,"getComposedData",(function(t){var e=t.props,r=t.item,n=t.barPosition,o=t.bandSize,i=t.xAxis,a=t.yAxis,c=t.xAxisTicks,u=t.yAxisTicks,l=t.stackedData,s=t.dataStartIndex,f=t.displayedData,p=t.offset,d=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(!d)return null;var h=e.layout,y=r.type.defaultProps,v=void 0!==y?dk(dk({},y),r.props):r.props,m=v.dataKey,g=v.children,b=v.minPointSize,w="horizontal"===h?a:i,x=l?w.scale.domain():null,O=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return n<=0&&o>=0?0:o<0?o:n}return r[0]}({numericAxis:w}),S=Fa(g,Kh),j=f.map((function(t,e){var n,f,p,y,v,g;l?n=function(t,e){if(!e||2!==e.length||!ma(e[0])||!ma(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),o=[t[0],t[1]];return(!ma(t[0])||t[0]<r)&&(o[0]=r),(!ma(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o}(l[s+e],x):(n=vO(t,m),Array.isArray(n)||(n=[O,n]));var w=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 o="number"==typeof r;return o?t(r,n):(o||("production"!==process.env.NODE_ENV?Ux(0,"minPointSize callback function received a value with type of ".concat(QM(r),". Currently only numbers are supported.")):Ux()),e)}}(b,ck.defaultProps.minPointSize)(n[1],e);if("horizontal"===h){var j,P=[a.scale(n[0]),a.scale(n[1])],A=P[0],M=P[1];f=EO({axis:i,ticks:c,bandSize:o,offset:d.offset,entry:t,index:e}),p=null!==(j=null!=M?M:A)&&void 0!==j?j:void 0,y=d.size;var k=A-M;if(v=Number.isNaN(k)?0:k,g={x:f,y:a.y,width:y,height:a.height},Math.abs(w)>0&&Math.abs(v)<Math.abs(w)){var E=ya(v||w)*(Math.abs(w)-Math.abs(v));p-=E,v+=E}}else{var C=[i.scale(n[0]),i.scale(n[1])],_=C[0],T=C[1];if(f=_,p=EO({axis:a,ticks:u,bandSize:o,offset:d.offset,entry:t,index:e}),y=T-_,v=d.size,g={x:i.x,y:p,width:i.width,height:v},Math.abs(w)>0&&Math.abs(y)<Math.abs(w))y+=ya(y||w)*(Math.abs(w)-Math.abs(y))}return dk(dk(dk({},t),{},{x:f,y:p,width:y,height:v,value:l?n:n[1],payload:t,background:g},S&&S[e]&&S[e].props),{},{tooltipPayload:[LO(r,t)],tooltipPosition:{x:f+y/2,y:p+v/2}})}));return dk({data:j,layout:h},p)}));var kk=function(t,e,r,n,o){var i=t.width,a=t.height,c=t.layout,u=t.children,l=Object.keys(e),s={left:r.left,leftMirror:r.left,right:i-r.right,rightMirror:i-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},f=!!Va(u,xk);return l.reduce((function(i,a){var u,l,p,d,h,y=e[a],v=y.orientation,m=y.domain,g=y.padding,b=void 0===g?{}:g,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=m[1]-m[0],j=1/0,P=y.categoricalDomain.sort();if(P.forEach((function(t,e){e>0&&(j=Math.min((t||0)-(P[e-1]||0),j))})),Number.isFinite(j)){var A=j/S,M="vertical"===y.layout?r.height:r.width;if("gap"===y.padding&&(u=A*M/2),"no-gap"===y.padding){var k=xa(t.barCategoryGap,A*M),E=A*M/2;u=E-k-(E-k)/M*k}}}l="xAxis"===n?[r.left+(b.left||0)+(u||0),r.left+r.width-(b.right||0)-(u||0)]:"yAxis"===n?"horizontal"===c?[r.top+r.height-(b.bottom||0),r.top+(b.top||0)]:[r.top+(b.top||0)+(u||0),r.top+r.height-(b.bottom||0)-(u||0)]:y.range,x&&(l=[l[1],l[0]]);var C=function(t,e,r){var n=t.scale,o=t.type,i=t.layout,a=t.axisType;if("auto"===n)return"radial"===i&&"radiusAxis"===a?{scale:iv(),realScaleType:"band"}:"radial"===i&&"angleAxis"===a?{scale:Em(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:cv(),realScaleType:"point"}:"category"===o?{scale:iv(),realScaleType:"band"}:{scale:Em(),realScaleType:"linear"};if(Ji(n)){var c="scale".concat(Mc(n));return{scale:(ww[c]||cv)(),realScaleType:ww[c]?c:"point"}}return Qi(n)?{scale:n}:{scale:cv(),realScaleType:"point"}}(y,o,f),_=C.scale,T=C.realScaleType;_.domain(m).range(l),function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),o=Math.min(n[0],n[1])-PO,i=Math.max(n[0],n[1])+PO,a=t(e[0]),c=t(e[r-1]);(a<o||a>i||c<o||c>i)&&t.domain([e[0],e[r-1]])}}(_);var D=function(t,e){var r=e.realScaleType,n=e.type,o=e.tickCount,i=e.originalDomain,a=e.allowDecimals,c=r||e.scale;if("auto"!==c&&"linear"!==c)return null;if(o&&"number"===n&&i&&("auto"===i[0]||"auto"===i[1])){var u=t.domain();if(!u.length)return null;var l=zx(u,o,a);return t.domain([Dw(l),Mw(l)]),{niceTicks:l}}if(o&&"number"===n){var s=t.domain();return{niceTicks:Hx(s,o,a)}}return null}(_,Pk(Pk({},y),{},{realScaleType:T}));"xAxis"===n?(h="top"===v&&!w||"bottom"===v&&w,p=r.left,d=s[O]-h*y.height):"yAxis"===n&&(h="left"===v&&!w||"right"===v&&w,p=s[O]-h*y.width,d=r.top);var I=Pk(Pk(Pk({},y),D),{},{realScaleType:T,x:p,y:d,scale:_,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return I.bandSize=IO(I,D),y.hide||"xAxis"!==n?y.hide||(s[O]+=(h?-1:1)*I.width):s[O]+=(h?-1:1)*I.height,Pk(Pk({},i),{},Ak({},a,I))}),{})},Ek=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return{x:Math.min(r,o),y:Math.min(n,i),width:Math.abs(o-r),height:Math.abs(i-n)}},Ck=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}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 o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}if(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&&Sk(e.prototype,r),n&&Sk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}();Ak(Ck,"EPS",1e-4);var _k=function(t){var e=Object.keys(t).reduce((function(e,r){return Pk(Pk({},e),{},Ak({},r,Ck.create(t[r])))}),{});return Pk(Pk({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,o=r.position;return KM(t,(function(t,r){return e[r].apply(t,{bandAware:n,position:o})}))},isInRange:function(t){return ZM(t,(function(t,r){return e[r].isInRange(t)}))}})};var Tk,Dk,Ik,Nk,Lk,Bk,Rk,$k,zk=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),o=n*Math.PI/180,i=Math.atan(r/e),a=o>i&&o<Math.PI-i?r/Math.sin(o):e/Math.cos(o);return Math.abs(a)};function Hk(){if(Bk)return Lk;Bk=1;var t=yp(),e=hp(),r=function(){if(Nk)return Ik;Nk=1;var t=lM();return Ik=function(e){var r=t(e),n=r%1;return r==r?n?r-n:r:0}}(),n=Math.max;return Lk=function(o,i,a){var c=null==o?0:o.length;if(!c)return-1;var u=null==a?0:r(a);return u<0&&(u=n(c+u,0)),t(o,e(i,3),u)},Lk}!function(){if($k)return Rk;$k=1;var t=function(){if(Dk)return Tk;Dk=1;var t=hp(),e=ep(),r=rp();return Tk=function(n){return function(o,i,a){var c=Object(o);if(!e(o)){var u=t(i,3);o=r(o),i=function(t){return u(c[t],t,c)}}var l=n(o,i,a);return l>-1?c[u?o[l]:l]:void 0}}}(),e=t(Hk());Rk=e}();var Fk=Ze(Li())((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 Vk(t){return Vk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vk(t)}var Uk=pt(void 0),Wk=pt(void 0),qk=pt(void 0),Yk=pt({}),Xk=pt(void 0),Kk=pt(0),Gk=pt(0),Zk=function(t){var e=t.state,r=e.xAxisMap,n=e.yAxisMap,o=e.offset,i=t.clipPathId,a=t.children,c=t.width,u=t.height,l=Fk(o);return J.createElement(Uk.Provider,{value:r},J.createElement(Wk.Provider,{value:n},J.createElement(Yk.Provider,{value:o},J.createElement(qk.Provider,{value:l},J.createElement(Xk.Provider,{value:i},J.createElement(Kk.Provider,{value:u},J.createElement(Gk.Provider,{value:c},a)))))))};function Jk(t){var e=Object.keys(t);return 0===e.length?"There are no available ids.":"Available ids are: ".concat(e,".")}var Qk=function(t){var e=ft(Uk);null==e&&("production"!==process.env.NODE_ENV?Ux(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Ux());var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Ux(0,'Could not find xAxis by id "'.concat(t,'" [').concat(Vk(t),"]. ").concat(Jk(e))):Ux()),r},tE=function(t){var e=ft(Wk);null==e&&("production"!==process.env.NODE_ENV?Ux(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Ux());var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Ux(0,'Could not find yAxis by id "'.concat(t,'" [').concat(Vk(t),"]. ").concat(Jk(e))):Ux()),r},eE=function(){return ft(Gk)},rE=function(){return ft(Kk)};function nE(t){return nE="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},nE(t)}function oE(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,pE(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function iE(t,e,r){return e=cE(e),function(t,e){if(e&&("object"===nE(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,aE()?Reflect.construct(e,r||[],cE(t).constructor):e.apply(t,r))}function aE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(aE=function(){return!!t})()}function cE(t){return cE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},cE(t)}function uE(t,e){return uE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},uE(t,e)}function lE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function sE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lE(Object(r),!0).forEach((function(e){fE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function fE(t,e,r){return(e=pE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pE(t){var e=function(t,e){if("object"!=nE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=nE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==nE(e)?e:e+""}function dE(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,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return hE(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 hE(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 hE(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 yE(){return yE=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},yE.apply(this,arguments)}function vE(t){var e=t.x,r=t.y,n=t.segment,o=t.xAxisId,i=t.yAxisId,a=t.shape,c=t.className,u=t.alwaysShow,l=ft(Xk),s=Qk(o),f=tE(i),p=ft(qk);if(!l||!p)return null;Oc(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var d=function(t,e,r,n,o,i,a,c,u){var l=o.x,s=o.y,f=o.width,p=o.height;if(r){var d=u.y,h=t.y.apply(d,{position:i});if(HM(u,"discard")&&!t.y.isInRange(h))return null;var y=[{x:l+f,y:h},{x:l,y:h}];return"left"===c?y.reverse():y}if(e){var v=u.x,m=t.x.apply(v,{position:i});if(HM(u,"discard")&&!t.x.isInRange(m))return null;var g=[{x:m,y:s+p},{x:m,y:s}];return"top"===a?g.reverse():g}if(n){var b=u.segment.map((function(e){return t.apply(e,{position:i})}));return HM(u,"discard")&&zM(b,(function(e){return!t.isInRange(e)}))?null:b}return null}(_k({x:s.scale,y:f.scale}),ga(e),ga(r),n&&2===n.length,p,t.position,s.orientation,f.orientation,t);if(!d)return null;var h=dE(d,2),y=h[0],v=y.x,m=y.y,g=h[1],b=g.x,w=g.y,x=sE(sE({clipPath:HM(t,"hidden")?"url(#".concat(l,")"):void 0},Ya(t,!0)),{},{x1:v,y1:m,x2:b,y2:w});return J.createElement(wc,{className:mn("recharts-reference-line",c)},function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):Qi(t)?t(e):J.createElement("line",yE({},e,{className:"recharts-reference-line-line"}))}(a,x),cS.renderCallByParent(t,function(t){var e=t.x1,r=t.y1,n=t.x2,o=t.y2;return Ek({x:e,y:r},{x:n,y:o})}({x1:v,y1:m,x2:b,y2:w})))}var mE=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),iE(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&uE(t,e)}(e,J.Component),oE(e,[{key:"render",value:function(){return J.createElement(vE,this.props)}}])}();function gE(){return gE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},gE.apply(this,arguments)}function bE(t){return bE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bE(t)}function wE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wE(Object(r),!0).forEach((function(e){ME(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function OE(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,kE(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function SE(t,e,r){return e=PE(e),function(t,e){if(e&&("object"===bE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,jE()?Reflect.construct(e,r||[],PE(t).constructor):e.apply(t,r))}function jE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(jE=function(){return!!t})()}function PE(t){return PE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},PE(t)}function AE(t,e){return AE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},AE(t,e)}function ME(t,e,r){return(e=kE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kE(t){var e=function(t,e){if("object"!=bE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=bE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==bE(e)?e:e+""}fE(mE,"displayName","ReferenceLine"),fE(mE,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});var EE=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),SE(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&AE(t,e)}(e,J.Component),OE(e,[{key:"render",value:function(){var t=this.props,r=t.x,n=t.y,o=t.r,i=t.alwaysShow,a=t.clipPathId,c=ga(r),u=ga(n);if(Oc(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!u)return null;var l=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=_k({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return HM(t,"discard")&&!i.isInRange(a)?null:a}(this.props);if(!l)return null;var s=l.x,f=l.y,p=this.props,d=p.shape,h=p.className,y=xE(xE({clipPath:HM(this.props,"hidden")?"url(#".concat(a,")"):void 0},Ya(this.props,!0)),{},{cx:s,cy:f});return J.createElement(wc,{className:mn("recharts-reference-dot",h)},e.renderDot(d,y),cS.renderCallByParent(this.props,{x:s-o,y:f-o,width:2*o,height:2*o}))}}])}();function CE(){return CE=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},CE.apply(this,arguments)}function _E(t){return _E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_E(t)}function TE(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 DE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?TE(Object(r),!0).forEach((function(e){$E(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):TE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function IE(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,zE(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function NE(t,e,r){return e=BE(e),function(t,e){if(e&&("object"===_E(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,LE()?Reflect.construct(e,r||[],BE(t).constructor):e.apply(t,r))}function LE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(LE=function(){return!!t})()}function BE(t){return BE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},BE(t)}function RE(t,e){return RE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},RE(t,e)}function $E(t,e,r){return(e=zE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function zE(t){var e=function(t,e){if("object"!=_E(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_E(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_E(e)?e:e+""}ME(EE,"displayName","ReferenceDot"),ME(EE,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),ME(EE,"renderDot",(function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):Qi(t)?t(e):J.createElement(fA,gE({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))}));var HE=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),NE(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&RE(t,e)}(e,J.Component),IE(e,[{key:"render",value:function(){var t=this.props,r=t.x1,n=t.x2,o=t.y1,i=t.y2,a=t.className,c=t.alwaysShow,u=t.clipPathId;Oc(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=ga(r),s=ga(n),f=ga(o),p=ga(i),d=this.props.shape;if(!(l||s||f||p||d))return null;var h=function(t,e,r,n,o){var i=o.x1,a=o.x2,c=o.y1,u=o.y2,l=o.xAxis,s=o.yAxis;if(!l||!s)return null;var f=_k({x:l.scale,y:s.scale}),p={x:t?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},d={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!HM(o,"discard")||f.isInRange(p)&&f.isInRange(d)?Ek(p,d):null}(l,s,f,p,this.props);if(!h&&!d)return null;var y=HM(this.props,"hidden")?"url(#".concat(u,")"):void 0;return J.createElement(wc,{className:mn("recharts-reference-area",a)},e.renderRect(d,DE(DE({clipPath:y},Ya(this.props,!0)),h)),cS.renderCallByParent(this.props,h))}}])}();function FE(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],o=0;o<t.length;o+=e)n.push(t[o]);return n}function VE(t,e,r,n,o){if(t*e<t*n||t*e>t*o)return!1;var i=r();return t*(e-t*i/2-n)>=0&&t*(e+t*i/2-o)<=0}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 WE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?WE(Object(r),!0).forEach((function(e){YE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):WE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function YE(t,e,r){return e=function(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:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function XE(t,e,r){var n=t.tick,o=t.ticks,i=t.viewBox,a=t.minTickGap,c=t.orientation,u=t.interval,l=t.tickFormatter,s=t.unit,f=t.angle;if(!o||!o.length||!n)return[];if(ma(u)||ph.isSsr)return function(t,e){return FE(t,e+1)}(o,"number"==typeof u&&ma(u)?u:0);var p=[],d="top"===c||"bottom"===c?"width":"height",h=s&&"width"===d?ny(s,{fontSize:e,letterSpacing:r}):{width:0,height:0},y=function(t,n){var o=Qi(l)?l(t.value,n):t.value;return"width"===d?function(t,e,r){var n={width:t.width+e.width,height:t.height+e.height};return zk(n,r)}(ny(o,{fontSize:e,letterSpacing:r}),h,f):ny(o,{fontSize:e,letterSpacing:r})[d]},v=o.length>=2?ya(o[1].coordinate-o[0].coordinate):1,m=function(t,e,r){var n="width"===r,o=t.x,i=t.y,a=t.width,c=t.height;return 1===e?{start:n?o:i,end:n?o+a:i+c}:{start:n?o+a:i+c,end:n?o:i}}(i,v,d);return"equidistantPreserveStart"===u?function(t,e,r,n,o){for(var i,a=(n||[]).slice(),c=e.start,u=e.end,l=0,s=1,f=c,p=function(){var e=null==n?void 0:n[l];if(void 0===e)return{v:FE(n,s)};var i,a=l,p=function(){return void 0===i&&(i=r(e,a)),i},d=e.coordinate,h=0===l||VE(t,d,p,f,u);h||(l=0,f=c,s+=1),h&&(f=d+t*(p()/2+o),l+=s)};s<=a.length;)if(i=p())return i.v;return[]}(v,m,y,o,a):(p="preserveStart"===u||"preserveStartEnd"===u?function(t,e,r,n,o,i){var a=(n||[]).slice(),c=a.length,u=e.start,l=e.end;if(i){var s=n[c-1],f=r(s,c-1),p=t*(s.coordinate+t*f/2-l);a[c-1]=s=qE(qE({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),VE(t,s.tickCoord,(function(){return f}),u,l)&&(l=s.tickCoord-t*(f/2+o),a[c-1]=qE(qE({},s),{},{isShow:!0}))}for(var d=i?c-1:c,h=function(e){var n,i=a[e],c=function(){return void 0===n&&(n=r(i,e)),n};if(0===e){var s=t*(i.coordinate-t*c()/2-u);a[e]=i=qE(qE({},i),{},{tickCoord:s<0?i.coordinate-s*t:i.coordinate})}else a[e]=i=qE(qE({},i),{},{tickCoord:i.coordinate});VE(t,i.tickCoord,c,u,l)&&(u=i.tickCoord+t*(c()/2+o),a[e]=qE(qE({},i),{},{isShow:!0}))},y=0;y<d;y++)h(y);return a}(v,m,y,o,a,"preserveStartEnd"===u):function(t,e,r,n,o){for(var i=(n||[]).slice(),a=i.length,c=e.start,u=e.end,l=function(e){var n,l=i[e],s=function(){return void 0===n&&(n=r(l,e)),n};if(e===a-1){var f=t*(l.coordinate+t*s()/2-u);i[e]=l=qE(qE({},l),{},{tickCoord:f>0?l.coordinate-f*t:l.coordinate})}else i[e]=l=qE(qE({},l),{},{tickCoord:l.coordinate});VE(t,l.tickCoord,s,c,u)&&(u=l.tickCoord-t*(s()/2+o),i[e]=qE(qE({},l),{},{isShow:!0}))},s=a-1;s>=0;s--)l(s);return i}(v,m,y,o,a),p.filter((function(t){return t.isShow})))}$E(HE,"displayName","ReferenceArea"),$E(HE,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),$E(HE,"renderRect",(function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):Qi(t)?t(e):J.createElement(lA,CE({},e,{className:"recharts-reference-area-rect"}))}));var KE=["viewBox"],GE=["viewBox"],ZE=["ticks"];function JE(t){return JE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},JE(t)}function QE(){return QE=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},QE.apply(this,arguments)}function tC(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 eC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tC(Object(r),!0).forEach((function(e){uC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rC(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function nC(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,lC(n.key),n)}}function oC(t,e,r){return e=aC(e),function(t,e){if(e&&("object"===JE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,iC()?Reflect.construct(e,r||[],aC(t).constructor):e.apply(t,r))}function iC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(iC=function(){return!!t})()}function aC(t){return aC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},aC(t)}function cC(t,e){return cC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},cC(t,e)}function uC(t,e,r){return(e=lC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function lC(t){var e=function(t,e){if("object"!=JE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=JE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==JE(e)?e:e+""}var sC=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=oC(this,e,[t])).state={fontSize:"",letterSpacing:""},r}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&&cC(t,e)}(e,dt),r=e,n=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=rC(t,KE),o=this.props,i=o.viewBox,a=rC(o,GE);return!Pa(r,i)||!Pa(n,a)||!Pa(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,o,i,a,c=this.props,u=c.x,l=c.y,s=c.width,f=c.height,p=c.orientation,d=c.tickSize,h=c.mirror,y=c.tickMargin,v=h?-1:1,m=t.tickSize||d,g=ma(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=l+ +!h*f)-v*m)-v*y,i=g;break;case"left":n=o=t.coordinate,i=(e=(r=u+ +!h*s)-v*m)-v*y,a=g;break;case"right":n=o=t.coordinate,i=(e=(r=u+ +h*s)+v*m)+v*y,a=g;break;default:e=r=t.coordinate,a=(n=(o=l+ +h*f)+v*m)+v*y,i=g}return{line:{x1:e,y1:n,x2:r,y2:o},tick:{x:i,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,o=t.height,i=t.orientation,a=t.mirror,c=t.axisLine,u=eC(eC(eC({},Ya(this.props,!1)),Ya(c,!1)),{},{fill:"none"});if("top"===i||"bottom"===i){var l=+("top"===i&&!a||"bottom"===i&&a);u=eC(eC({},u),{},{x1:e,y1:r+l*o,x2:e+n,y2:r+l*o})}else{var s=+("left"===i&&!a||"right"===i&&a);u=eC(eC({},u),{},{x1:e+s*n,y1:r,x2:e+s*n,y2:r+o})}return J.createElement("line",QE({},u,{className:mn("recharts-cartesian-axis-line",qi(c,"className"))}))}},{key:"renderTicks",value:function(t,r,n){var o=this,i=this.props,a=i.tickLine,c=i.stroke,u=i.tick,l=i.tickFormatter,s=i.unit,f=XE(eC(eC({},this.props),{},{ticks:t}),r,n),p=this.getTickTextAnchor(),d=this.getTickVerticalAnchor(),h=Ya(this.props,!1),y=Ya(u,!1),v=eC(eC({},h),{},{fill:"none"},Ya(a,!1)),m=f.map((function(t,r){var n=o.getTickLineCoord(t),i=n.line,m=n.tick,g=eC(eC(eC(eC({textAnchor:p,verticalAnchor:d},h),{},{stroke:"none",fill:c},y),m),{},{index:r,payload:t,visibleTicksCount:f.length,tickFormatter:l});return J.createElement(wc,QE({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},Ta(o.props,t,r)),a&&J.createElement("line",QE({},v,i,{className:mn("recharts-cartesian-axis-tick-line",qi(a,"className"))})),u&&e.renderTickItem(u,g,"".concat(Qi(l)?l(t.value,r):t.value).concat(s||"")))}));return J.createElement("g",{className:"recharts-cartesian-axis-ticks"},m)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,n=e.width,o=e.height,i=e.ticksGenerator,a=e.className;if(e.hide)return null;var c=this.props,u=c.ticks,l=rC(c,ZE),s=u;return Qi(i)&&(s=u&&u.length>0?i(this.props):i(l)),n<=0||o<=0||!s||!s.length?null:J.createElement(wc,{className:mn("recharts-cartesian-axis",a),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),cS.renderCallByParent(this.props))}}],o=[{key:"renderTickItem",value:function(t,e,r){return J.isValidElement(t)?J.cloneElement(t,e):Qi(t)?t(e):J.createElement(Ty,QE({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&nC(r.prototype,n),o&&nC(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();uC(sC,"displayName","CartesianAxis"),uC(sC,"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 fC=["type","layout","connectNulls","ref"],pC=["key"];function dC(t){return dC="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},dC(t)}function hC(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function yC(){return yC=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},yC.apply(this,arguments)}function vC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function mC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vC(Object(r),!0).forEach((function(e){PC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function gC(t){return function(t){if(Array.isArray(t))return bC(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 bC(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 bC(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 bC(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function wC(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,AC(n.key),n)}}function xC(t,e,r){return e=SC(e),function(t,e){if(e&&("object"===dC(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,OC()?Reflect.construct(e,r||[],SC(t).constructor):e.apply(t,r))}function OC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(OC=function(){return!!t})()}function SC(t){return SC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},SC(t)}function jC(t,e){return jC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},jC(t,e)}function PC(t,e,r){return(e=AC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function AC(t){var e=function(t,e){if("object"!=dC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dC(e)?e:e+""}var MC=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),o=0;o<r;o++)n[o]=arguments[o];return PC(t=xC(this,e,[].concat(n)),"state",{isAnimationFinished:!0,totalLength:0}),PC(t,"generateSimpleStrokeDasharray",(function(t,e){return"".concat(e,"px ").concat(t-e,"px")})),PC(t,"getStrokeDasharray",(function(r,n,o){var i=o.reduce((function(t,e){return t+e}));if(!i)return t.generateSimpleStrokeDasharray(n,r);for(var a=Math.floor(r/i),c=r%i,u=n-r,l=[],s=0,f=0;s<o.length;f+=o[s],++s)if(f+o[s]>c){l=[].concat(gC(o.slice(0,s)),[c-f]);break}var p=l.length%2==0?[0,u]:[u];return[].concat(gC(e.repeat(o,a)),gC(l),p).map((function(t){return"".concat(t,"px")})).join(", ")})),PC(t,"id",wa("recharts-line-")),PC(t,"pathRef",(function(e){t.mainCurve=e})),PC(t,"handleAnimationEnd",(function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()})),PC(t,"handleAnimationStart",(function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&jC(t,e)}(e,et),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,o=r.xAxis,i=r.yAxis,a=r.layout,c=Fa(r.children,oO);if(!c)return null;var u=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:vO(t.payload,e)}},l={clipPath:t?"url(#clipPath-".concat(e,")"):null};return J.createElement(wc,l,c.map((function(t){return J.cloneElement(t,{key:"bar-".concat(t.props.dataKey),data:n,xAxis:o,yAxis:i,layout:a,dataPointFormatter:u})})))}},{key:"renderDots",value:function(t,r,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,i=o.dot,a=o.points,c=o.dataKey,u=Ya(this.props,!1),l=Ya(i,!0),s=a.map((function(t,r){var n=mC(mC(mC({key:"dot-".concat(r),r:3},u),l),{},{value:t.value,dataKey:c,cx:t.x,cy:t.y,index:r,payload:t.payload});return e.renderDotItem(i,n)})),f={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return J.createElement(wc,yC({className:"recharts-line-dots",key:"dots"},f),s)}},{key:"renderCurveStatically",value:function(t,e,r,n){var o=this.props,i=o.type,a=o.layout,c=o.connectNulls;o.ref;var u=hC(o,fC),l=mC(mC(mC({},Ya(u,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:e?"url(#clipPath-".concat(r,")"):null,points:t},n),{},{type:i,layout:a,connectNulls:c});return J.createElement(WS,yC({},l,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,i=n.strokeDasharray,a=n.isAnimationActive,c=n.animationBegin,u=n.animationDuration,l=n.animationEasing,s=n.animationId,f=n.animateNewValues,p=n.width,d=n.height,h=this.state,y=h.prevPoints,v=h.totalLength;return J.createElement(JP,{begin:c,duration:u,isActive:a,easing:l,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/o.length,u=o.map((function(t,e){var r=Math.floor(e*c);if(y[r]){var n=y[r],o=Sa(n.x,t.x),i=Sa(n.y,t.y);return mC(mC({},t),{},{x:o(a),y:i(a)})}if(f){var u=Sa(2*p,t.x),l=Sa(d/2,t.y);return mC(mC({},t),{},{x:u(a),y:l(a)})}return mC(mC({},t),{},{x:t.x,y:t.y})}));return r.renderCurveStatically(u,t,e)}var l,s=Sa(0,v)(a);if(i){var h="".concat(i).split(/[,\s]+/gim).map((function(t){return parseFloat(t)}));l=r.getStrokeDasharray(s,v,h)}else l=r.generateSimpleStrokeDasharray(v,s);return r.renderCurveStatically(o,t,e,{strokeDasharray:l})}))}},{key:"renderCurve",value:function(t,e){var r=this.props,n=r.points,o=r.isAnimationActive,i=this.state,a=i.prevPoints,c=i.totalLength;return o&&n&&n.length&&(!a&&c>0||!$w(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,o=e.points,i=e.className,a=e.xAxis,c=e.yAxis,u=e.top,l=e.left,s=e.width,f=e.height,p=e.isAnimationActive,d=e.id;if(r||!o||!o.length)return null;var h=this.state.isAnimationFinished,y=1===o.length,v=mn("recharts-line",i),m=a&&a.allowDataOverflow,g=c&&c.allowDataOverflow,b=m||g,w=Ki(d)?this.id:d,x=null!==(t=Ya(n,!1))&&void 0!==t?t:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,P=void 0===j?2:j,A=(qa(n)?n:{}).clipDot,M=void 0===A||A,k=2*S+P;return J.createElement(wc,{className:v},m||g?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(w)},J.createElement("rect",{x:m?l:l-s/2,y:g?u:u-f/2,width:m?s:2*s,height:g?f:2*f})),!M&&J.createElement("clipPath",{id:"clipPath-dots-".concat(w)},J.createElement("rect",{x:l-k/2,y:u-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||h)&&jS.renderCallByParent(this.props,o))}}],o=[{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(gC(t),[0]):t,n=[],o=0;o<e;++o)n=[].concat(gC(n),gC(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(J.isValidElement(t))r=J.cloneElement(t,e);else if(Qi(t))r=t(e);else{var n=e.key,o=hC(e,pC),i=mn("recharts-line-dot","boolean"!=typeof t?t.className:"");r=J.createElement(fA,yC({key:n},o,{className:i}))}return r}}],n&&wC(r.prototype,n),o&&wC(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();PC(MC,"displayName","Line"),PC(MC,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!ph.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),PC(MC,"getComposedData",(function(t){var e=t.props,r=t.xAxis,n=t.yAxis,o=t.xAxisTicks,i=t.yAxisTicks,a=t.dataKey,c=t.bandSize,u=t.displayedData,l=t.offset,s=e.layout;return mC({points:u.map((function(t,e){var u=vO(t,a);return"horizontal"===s?{x:kO({axis:r,ticks:o,bandSize:c,entry:t,index:e}),y:Ki(u)?null:n.scale(u),value:u,payload:t}:{x:Ki(u)?null:r.scale(u),y:kO({axis:n,ticks:i,bandSize:c,entry:t,index:e}),value:u,payload:t}})),layout:s},l)}));var kC,EC=["layout","type","stroke","connectNulls","isRange","ref"],CC=["key"];function _C(t){return _C="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},_C(t)}function TC(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function DC(){return DC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},DC.apply(this,arguments)}function IC(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 NC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?IC(Object(r),!0).forEach((function(e){HC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):IC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function LC(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,FC(n.key),n)}}function BC(t,e,r){return e=$C(e),function(t,e){if(e&&("object"===_C(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,RC()?Reflect.construct(e,r||[],$C(t).constructor):e.apply(t,r))}function RC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(RC=function(){return!!t})()}function $C(t){return $C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},$C(t)}function zC(t,e){return zC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},zC(t,e)}function HC(t,e,r){return(e=FC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function FC(t){var e=function(t,e){if("object"!=_C(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_C(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_C(e)?e:e+""}var VC=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),o=0;o<r;o++)n[o]=arguments[o];return HC(t=BC(this,e,[].concat(n)),"state",{isAnimationFinished:!0}),HC(t,"id",wa("recharts-area-")),HC(t,"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),Qi(e)&&e()})),HC(t,"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),Qi(e)&&e()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&zC(t,e)}(e,et),r=e,n=[{key:"renderDots",value:function(t,r,n){var o=this.props.isAnimationActive,i=this.state.isAnimationFinished;if(o&&!i)return null;var a=this.props,c=a.dot,u=a.points,l=a.dataKey,s=Ya(this.props,!1),f=Ya(c,!0),p=u.map((function(t,r){var n=NC(NC(NC({key:"dot-".concat(r),r:3},s),f),{},{index:r,cx:t.x,cy:t.y,dataKey:l,value:t.value,payload:t.payload,points:u});return e.renderDotItem(c,n)})),d={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return J.createElement(wc,DC({className:"recharts-area-dots"},d),p)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,i=n[0].x,a=n[n.length-1].x,c=t*Math.abs(i-a),u=Mw(n.map((function(t){return t.y||0})));return ma(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(Mw(r.map((function(t){return t.y||0}))),u)),ma(u)?J.createElement("rect",{x:i<a?i:i-c,y:0,width:c,height:Math.floor(u+(o?parseInt("".concat(o),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,i=n[0].y,a=n[n.length-1].y,c=t*Math.abs(i-a),u=Mw(n.map((function(t){return t.x||0})));return ma(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(Mw(r.map((function(t){return t.x||0}))),u)),ma(u)?J.createElement("rect",{x:0,y:i<a?i:i-c,width:u+(o?parseInt("".concat(o),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 o=this.props,i=o.layout,a=o.type,c=o.stroke,u=o.connectNulls,l=o.isRange;o.ref;var s=TC(o,EC);return J.createElement(wc,{clipPath:r?"url(#clipPath-".concat(n,")"):null},J.createElement(WS,DC({},Ya(s,!0),{points:t,connectNulls:u,type:a,baseLine:e,layout:i,stroke:"none",className:"recharts-area-area"})),"none"!==c&&J.createElement(WS,DC({},Ya(this.props,!1),{className:"recharts-area-curve",layout:i,type:a,connectNulls:u,fill:"none",points:t})),"none"!==c&&l&&J.createElement(WS,DC({},Ya(this.props,!1),{className:"recharts-area-curve",layout:i,type:a,connectNulls:u,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,i=n.baseLine,a=n.isAnimationActive,c=n.animationBegin,u=n.animationDuration,l=n.animationEasing,s=n.animationId,f=this.state,p=f.prevPoints,d=f.prevBaseLine;return J.createElement(JP,{begin:c,duration:u,isActive:a,easing:l,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,u=p.length/o.length,l=o.map((function(t,e){var r=Math.floor(e*u);if(p[r]){var n=p[r],o=Sa(n.x,t.x),i=Sa(n.y,t.y);return NC(NC({},t),{},{x:o(a),y:i(a)})}return t}));return c=ma(i)&&"number"==typeof i?Sa(d,i)(a):Ki(i)||da(i)?Sa(d,0)(a):i.map((function(t,e){var r=Math.floor(e*u);if(d[r]){var n=d[r],o=Sa(n.x,t.x),i=Sa(n.y,t.y);return NC(NC({},t),{},{x:o(a),y:i(a)})}return t})),r.renderAreaStatically(l,c,t,e)}return J.createElement(wc,null,J.createElement("defs",null,J.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(a))),J.createElement(wc,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(o,i,t,e)))}))}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,o=r.baseLine,i=r.isAnimationActive,a=this.state,c=a.prevPoints,u=a.prevBaseLine,l=a.totalLength;return i&&n&&n.length&&(!c&&l>0||!$w(c,n)||!$w(u,o))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,o,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,o=e.points,i=e.className,a=e.top,c=e.left,u=e.xAxis,l=e.yAxis,s=e.width,f=e.height,p=e.isAnimationActive,d=e.id;if(r||!o||!o.length)return null;var h=this.state.isAnimationFinished,y=1===o.length,v=mn("recharts-area",i),m=u&&u.allowDataOverflow,g=l&&l.allowDataOverflow,b=m||g,w=Ki(d)?this.id:d,x=null!==(t=Ya(n,!1))&&void 0!==t?t:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,P=void 0===j?2:j,A=(qa(n)?n:{}).clipDot,M=void 0===A||A,k=2*S+P;return J.createElement(wc,{className:v},m||g?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(w)},J.createElement("rect",{x:m?c:c-s/2,y:g?a:a-f/2,width:m?s:2*s,height:g?f:2*f})),!M&&J.createElement("clipPath",{id:"clipPath-dots-".concat(w)},J.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||h)&&jS.renderCallByParent(this.props,o))}}],o=[{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&&LC(r.prototype,n),o&&LC(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();function UC(t){return UC="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},UC(t)}function WC(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ZC(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function qC(t,e,r){return e=XC(e),function(t,e){if(e&&("object"===UC(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,YC()?Reflect.construct(e,r||[],XC(t).constructor):e.apply(t,r))}function YC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(YC=function(){return!!t})()}function XC(t){return XC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},XC(t)}function KC(t,e){return KC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},KC(t,e)}function GC(t,e,r){return(e=ZC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ZC(t){var e=function(t,e){if("object"!=UC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=UC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==UC(e)?e:e+""}function JC(){return JC=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},JC.apply(this,arguments)}function QC(t){var e=t.xAxisId,r=eE(),n=rE(),o=Qk(e);return null==o?null:J.createElement(sC,JC({},o,{className:mn("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return OO(t,!0)}}))}kC=VC,HC(VC,"displayName","Area"),HC(VC,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!ph.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),HC(VC,"getBaseValue",(function(t,e,r,n){var o=t.layout,i=t.baseValue,a=e.props.baseValue,c=null!=a?a:i;if(ma(c)&&"number"==typeof c)return c;var u="horizontal"===o?n:r,l=u.scale.domain();if("number"===u.type){var s=Math.max(l[0],l[1]),f=Math.min(l[0],l[1]);return"dataMin"===c?f:"dataMax"===c||s<0?s:Math.max(Math.min(l[0],l[1]),0)}return"dataMin"===c?l[0]:"dataMax"===c?l[1]:l[0]})),HC(VC,"getComposedData",(function(t){var e,r=t.props,n=t.item,o=t.xAxis,i=t.yAxis,a=t.xAxisTicks,c=t.yAxisTicks,u=t.bandSize,l=t.dataKey,s=t.stackedData,f=t.dataStartIndex,p=t.displayedData,d=t.offset,h=r.layout,y=s&&s.length,v=kC.getBaseValue(r,n,o,i),m="horizontal"===h,g=!1,b=p.map((function(t,e){var r;y?r=s[f+e]:(r=vO(t,l),Array.isArray(r)?g=!0:r=[v,r]);var n=null==r[1]||y&&null==vO(t,l);return m?{x:kO({axis:o,ticks:a,bandSize:u,entry:t,index:e}),y:n?null:i.scale(r[1]),value:r,payload:t}:{x:n?null:o.scale(r[1]),y:kO({axis:i,ticks:c,bandSize:u,entry:t,index:e}),value:r,payload:t}}));return e=y||g?b.map((function(t){var e=Array.isArray(t.value)?t.value[0]:null;return m?{x:t.x,y:null!=e&&null!=t.y?i.scale(e):null}:{x:null!=e?o.scale(e):null,y:t.y}})):m?i.scale(v):o.scale(v),NC({points:b,baseLine:e,layout:h,isRange:g},d)})),HC(VC,"renderDotItem",(function(t,e){var r;if(J.isValidElement(t))r=J.cloneElement(t,e);else if(Qi(t))r=t(e);else{var n=mn("recharts-area-dot","boolean"!=typeof t?t.className:""),o=e.key,i=TC(e,CC);r=J.createElement(fA,DC({},i,{key:o,className:n}))}return r}));var t_=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),qC(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&KC(t,e)}(e,J.Component),WC(e,[{key:"render",value:function(){return J.createElement(QC,this.props)}}])}();function e_(t){return e_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e_(t)}function r_(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u_(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function n_(t,e,r){return e=i_(e),function(t,e){if(e&&("object"===e_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,o_()?Reflect.construct(e,r||[],i_(t).constructor):e.apply(t,r))}function o_(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(o_=function(){return!!t})()}function i_(t){return i_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i_(t)}function a_(t,e){return a_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a_(t,e)}function c_(t,e,r){return(e=u_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u_(t){var e=function(t,e){if("object"!=e_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=e_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==e_(e)?e:e+""}function l_(){return l_=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},l_.apply(this,arguments)}GC(t_,"displayName","XAxis"),GC(t_,"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 s_=function(t){var e=t.yAxisId,r=eE(),n=rE(),o=tE(e);return null==o?null:J.createElement(sC,l_({},o,{className:mn("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return OO(t,!0)}}))},f_=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n_(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a_(t,e)}(e,J.Component),r_(e,[{key:"render",value:function(){return J.createElement(s_,this.props)}}])}();function p_(t){return function(t){if(Array.isArray(t))return d_(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 d_(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 d_(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 d_(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}c_(f_,"displayName","YAxis"),c_(f_,"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 h_,y_=function(t,e,r,n,o){var i=Fa(t,mE),a=Fa(t,EE),c=[].concat(p_(i),p_(a)),u=Fa(t,HE),l="".concat(n,"Id"),s=n[0],f=e;if(c.length&&(f=c.reduce((function(t,e){if(e.props[l]===r&&HM(e.props,"extendDomain")&&ma(e.props[s])){var n=e.props[s];return[Math.min(t[0],n),Math.max(t[1],n)]}return t}),f)),u.length){var p="".concat(s,"1"),d="".concat(s,"2");f=u.reduce((function(t,e){if(e.props[l]===r&&HM(e.props,"extendDomain")&&ma(e.props[p])&&ma(e.props[d])){var n=e.props[p],o=e.props[d];return[Math.min(t[0],n,o),Math.max(t[1],n,o)]}return t}),f)}return o&&o.length&&(f=o.reduce((function(t,e){return ma(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},v_={exports:{}};var m_=(h_||(h_=1,function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}function o(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function i(t,e,n,i,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var c=new o(n,i||t,a),u=r?r+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],c]:t._events[u].push(c):(t._events[u]=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,o=[];if(0===this._eventsCount)return o;for(n in t=this._events)e.call(t,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},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 o=0,i=n.length,a=new Array(i);o<i;o++)a[o]=n[o].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,o,i,a){var c=r?r+t:t;if(!this._events[c])return!1;var u,l,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,o),!0;case 5:return s.fn.call(s.context,e,n,o,i),!0;case 6:return s.fn.call(s.context,e,n,o,i,a),!0}for(l=1,u=new Array(f-1);l<f;l++)u[l-1]=arguments[l];s.fn.apply(s.context,u)}else{var p,d=s.length;for(l=0;l<d;l++)switch(s[l].once&&this.removeListener(t,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,e);break;case 3:s[l].fn.call(s[l].context,e,n);break;case 4:s[l].fn.call(s[l].context,e,n,o);break;default:if(!u)for(p=1,u=new Array(f-1);p<f;p++)u[p-1]=arguments[p];s[l].fn.apply(s[l].context,u)}}return!0},c.prototype.on=function(t,e,r){return i(this,t,e,r,!1)},c.prototype.once=function(t,e,r){return i(this,t,e,r,!0)},c.prototype.removeListener=function(t,e,n,o){var i=r?r+t:t;if(!this._events[i])return this;if(!e)return a(this,i),this;var c=this._events[i];if(c.fn)c.fn!==e||o&&!c.once||n&&c.context!==n||a(this,i);else{for(var u=0,l=[],s=c.length;u<s;u++)(c[u].fn!==e||o&&!c[u].once||n&&c[u].context!==n)&&l.push(c[u]);l.length?this._events[i]=1===l.length?l[0]:l:a(this,i)}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}(v_)),v_.exports),g_=new(Ze(m_)),b_="recharts.syncMouseEvents";function w_(t){return w_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w_(t)}function x_(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,S_(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function O_(t,e,r){return(e=S_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function S_(t){var e=function(t,e){if("object"!=w_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=w_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==w_(e)?e:e+""}var j_=function(){return x_((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),O_(this,"activeIndex",0),O_(this,"coordinateList",[]),O_(this,"layout","horizontal")}),[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,o=t.container,i=void 0===o?null:o,a=t.layout,c=void 0===a?null:a,u=t.offset,l=void 0===u?null:u,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!=i?i:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=l?l: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,o=r.y,i=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(t=window)||void 0===t?void 0:t.scrollX)||0,u=(null===(e=window)||void 0===e?void 0:e.scrollY)||0,l=n+a+c,s=o+this.offset.top+i/2+u;this.mouseHandlerCallback({pageX:l,pageY:s})}}}])}();function P_(t){var e=t.cx,r=t.cy,n=t.radius,o=t.startAngle,i=t.endAngle;return{points:[VO(e,r,n,o),VO(e,r,n,i)],cx:e,cy:r,radius:n,startAngle:o,endAngle:i}}function A_(t,e,r){var n,o,i,a;if("horizontal"===t)i=n=e.x,o=r.top,a=r.top+r.height;else if("vertical"===t)a=o=e.y,n=r.left,i=r.left+r.width;else if(null!=e.cx&&null!=e.cy){if("centric"!==t)return P_(e);var c=e.cx,u=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=VO(c,u,l,f),d=VO(c,u,s,f);n=p.x,o=p.y,i=d.x,a=d.y}return[{x:n,y:o},{x:i,y:a}]}function M_(t){return M_="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},M_(t)}function k_(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 E_(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k_(Object(r),!0).forEach((function(e){C_(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k_(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function C_(t,e,r){return e=function(t){var e=function(t,e){if("object"!=M_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=M_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==M_(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function __(t){var e,r,n,o=t.element,i=t.tooltipEventType,a=t.isActive,c=t.activeCoordinate,u=t.activePayload,l=t.offset,s=t.activeTooltipIndex,f=t.tooltipAxisBandSize,p=t.layout,d=t.chartName,h=null!==(e=o.props.cursor)&&void 0!==e?e:null===(r=o.type.defaultProps)||void 0===r?void 0:r.cursor;if(!o||!h||!a||!c||"ScatterChart"!==d&&"axis"!==i)return null;var y=WS;if("ScatterChart"===d)n=c,y=SA;else if("BarChart"===d)n=function(t,e,r,n){var o=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?e.x-o:r.left+.5,y:"horizontal"===t?r.top+.5:e.y-o,width:"horizontal"===t?n:r.width-1,height:"horizontal"===t?r.height-1:n}}(p,c,l,f),y=lA;else if("radial"===p){var v=P_(c),m=v.cx,g=v.cy,b=v.radius;n={cx:m,cy:g,startAngle:v.startAngle,endAngle:v.endAngle,innerRadius:b,outerRadius:b},y=DS}else n={points:A_(p,c,l)},y=WS;var w=E_(E_(E_(E_({stroke:"#ccc",pointerEvents:"none"},l),n),Ya(h,!1)),{},{payload:u,payloadIndex:s,className:mn("recharts-tooltip-cursor",h.className)});return Q(h)?lt(h,w):st(y,w)}var T_=["item"],D_=["children","className","width","height","style","compact","title","desc"];function I_(t){return I_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},I_(t)}function N_(){return N_=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},N_.apply(this,arguments)}function L_(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,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||U_(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 B_(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function R_(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,K_(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function $_(t,e,r){return e=H_(e),function(t,e){if(e&&("object"===I_(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,z_()?Reflect.construct(e,r||[],H_(t).constructor):e.apply(t,r))}function z_(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(z_=function(){return!!t})()}function H_(t){return H_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},H_(t)}function F_(t,e){return F_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},F_(t,e)}function V_(t){return function(t){if(Array.isArray(t))return W_(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||U_(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 U_(t,e){if(t){if("string"==typeof t)return W_(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)?W_(t,e):void 0}}function W_(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 q_(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 Y_(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?q_(Object(r),!0).forEach((function(e){X_(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):q_(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function X_(t,e,r){return(e=K_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function K_(t){var e=function(t,e){if("object"!=I_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=I_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==I_(e)?e:e+""}var G_={xAxis:["bottom","top"],yAxis:["left","right"]},Z_={width:"100%",height:"100%"},J_={x:0,y:0};function Q_(t){return t}var tT=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,o=e.dataEndIndex,i=(null!=r?r:[]).reduce((function(t,e){var r=e.props.data;return r&&r.length?[].concat(V_(t),V_(r)):t}),[]);return i.length>0?i:t&&t.length&&ma(n)&&ma(o)?t.slice(n,o+1):[]};function eT(t){return"number"===t?[0,"auto"]:void 0}var rT=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=tT(e,t);return r<0||!o||!o.length||r>=a.length?null:o.reduce((function(o,c){var u,l,s=null!==(u=c.props.data)&&void 0!==u?u:e;(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory)?l=ja(void 0===s?a:s,i.dataKey,n):l=s&&s[r]||a[r];return l?[].concat(V_(o),[LO(c,l)]):o}),[])},nT=function(t,e,r,n){var o=n||{x:t.chartX,y:t.chartY},i=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(o,r),a=t.orderedTooltipTicks,c=t.tooltipAxis,u=t.tooltipTicks,l=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(e=null==r?void 0:r.length)&&void 0!==e?e:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var c=o.range,u=0;u<a;u++){var l=u>0?n[u-1].coordinate:n[a-1].coordinate,s=n[u].coordinate,f=u>=a-1?n[0].coordinate:n[u+1].coordinate,p=void 0;if(ya(s-l)!==ya(f-s)){var d=[];if(ya(f-s)===ya(c[1]-c[0])){p=f;var h=s+c[1]-c[0];d[0]=Math.min(h,(h+l)/2),d[1]=Math.max(h,(h+l)/2)}else{p=l;var y=f+c[1]-c[0];d[0]=Math.min(s,(y+s)/2),d[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>=d[0]&&t<=d[1]){i=n[u].index;break}}else{var m=Math.min(l,f),g=Math.max(l,f);if(t>(m+s)/2&&t<=(g+s)/2){i=n[u].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){i=r[b].index;break}return i}(i,a,u,c);if(l>=0&&u){var s=u[l]&&u[l].value,f=rT(t,e,l,s),p=function(t,e,r,n){var o=e.find((function(t){return t&&t.index===r}));if(o){if("horizontal"===t)return{x:o.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:o.coordinate};if("centric"===t){var i=o.coordinate,a=n.radius;return Y_(Y_(Y_({},n),VO(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var c=o.coordinate,u=n.angle;return Y_(Y_(Y_({},n),VO(n.cx,n.cy,c,u)),{},{angle:u,radius:c})}return J_}(r,a,l,o);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},oT=function(t,e){var r=e.axes,n=e.graphicalItems,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,s=t.children,f=t.stackOffset,p=xO(l,o);return r.reduce((function(e,r){var d,h=void 0!==r.type.defaultProps?Y_(Y_({},r.type.defaultProps),r.props):r.props,y=h.type,v=h.dataKey,m=h.allowDataOverflow,g=h.allowDuplicatedCategory,b=h.scale,w=h.ticks,x=h.includeHidden,O=h[i];if(e[O])return e;var S,j,P,A=tT(t.data,{graphicalItems:n.filter((function(t){var e;return(i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i])===O})),dataStartIndex:c,dataEndIndex:u}),M=A.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],o=null==t?void 0:t[1];if(n&&o&&ma(n)&&ma(o))return!0}return!1})(h.domain,m,y)&&(S=DO(h.domain,null,m),!p||"number"!==y&&"auto"===b||(P=mO(A,v,"category")));var k=eT(y);if(!S||0===S.length){var E,C=null!==(E=h.domain)&&void 0!==E?E:k;if(v){if(S=mO(A,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);g&&_?(j=S,S=pM(0,M)):g||(S=NO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(V_(t),[e])}),[]))}else if("category"===y)S=g?S.filter((function(t){return""!==t&&!Ki(t)})):NO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0||""===e||Ki(e)?t:[].concat(V_(t),[e])}),[]);else if("number"===y){var T=function(t,e,r,n,o){var i=e.map((function(e){return bO(t,e,r,o,n)})).filter((function(t){return!Ki(t)}));return i&&i.length?i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null}(A,n.filter((function(t){var e,r,n=i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i],o="hide"in t.props?t.props.hide:null===(r=t.type.defaultProps)||void 0===r?void 0:r.hide;return n===O&&(x||!o)})),v,o,l);T&&(S=T)}!p||"number"!==y&&"auto"===b||(P=mO(A,v,"category"))}else S=p?pM(0,M):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:CO(a[O].stackGroups,c,u):wO(A,n.filter((function(t){var e=i in t.props?t.props[i]:t.type.defaultProps[i],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===O&&(x||!r)})),y,l,!0);if("number"===y)S=y_(s,S,O,o,w),C&&(S=DO(C,S,m));else if("category"===y&&C){var D=C;S.every((function(t){return D.indexOf(t)>=0}))&&(S=D)}}return Y_(Y_({},e),{},X_({},O,Y_(Y_({},h),{},{axisType:o,domain:S,categoricalDomain:P,duplicateDomain:j,originalDomain:null!==(d=h.domain)&&void 0!==d?d:k,isCategorical:p,layout:l})))}),{})},iT=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,o=e.AxisComp,i=e.graphicalItems,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.children,s="".concat(n,"Id"),f=Fa(l,o),p={};return f&&f.length?p=oT(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):i&&i.length&&(p=function(t,e){var r=e.graphicalItems,n=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,s=t.children,f=tT(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:u}),p=f.length,d=xO(l,o),h=-1;return r.reduce((function(t,e){var y,v=(void 0!==e.type.defaultProps?Y_(Y_({},e.type.defaultProps),e.props):e.props)[i],m=eT("number");return t[v]?t:(h++,d?y=pM(0,p):a&&a[v]&&a[v].hasStack?(y=CO(a[v].stackGroups,c,u),y=y_(s,y,v,o)):(y=DO(m,wO(f,r.filter((function(t){var e,r,n=i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i],o="hide"in t.props?t.props.hide:null===(r=t.type.defaultProps)||void 0===r?void 0:r.hide;return n===v&&!o})),"number",l),n.defaultProps.allowDataOverflow),y=y_(s,y,v,o)),Y_(Y_({},t),{},X_({},v,Y_(Y_({axisType:o},n.defaultProps),{},{hide:!0,orientation:qi(G_,"".concat(o,".").concat(h%2),null),domain:y,originalDomain:m,isCategorical:d,layout:l}))))}),{})}(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},aT=function(t){var e=t.children,r=t.defaultShowTooltip,n=Va(e,IM),o=0,i=0;return t.data&&0!==t.data.length&&(i=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(o=n.props.startIndex),n.props.endIndex>=0&&(i=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:Boolean(r)}},cT=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"}},uT=function(t,e){var r=t.props,n=(t.graphicalItems,t.xAxisMap),o=void 0===n?{}:n,i=t.yAxisMap,a=void 0===i?{}:i,c=r.width,u=r.height,l=r.children,s=r.margin||{},f=Va(l,IM),p=Va(l,Pd),d=Object.keys(a).reduce((function(t,e){var r=a[e],n=r.orientation;return r.mirror||r.hide?t:Y_(Y_({},t),{},X_({},n,t[n]+r.width))}),{left:s.left||0,right:s.right||0}),h=Object.keys(o).reduce((function(t,e){var r=o[e],n=r.orientation;return r.mirror||r.hide?t:Y_(Y_({},t),{},X_({},n,qi(t,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=Y_(Y_({},h),d),v=y.bottom;f&&(y.bottom+=f.props.height||IM.defaultProps.height),p&&e&&(y=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,c=i-(a.left||0)-(a.right||0),u=lO({children:o,legendWidth:c});if(u){var l=n||{},s=l.width,f=l.height,p=u.align,d=u.verticalAlign,h=u.layout;if(("vertical"===h||"horizontal"===h&&"middle"===d)&&"center"!==p&&ma(t[p]))return hO(hO({},t),{},yO({},p,t[p]+(s||0)));if(("horizontal"===h||"vertical"===h&&"center"===p)&&"middle"!==d&&ma(t[d]))return hO(hO({},t),{},yO({},d,t[d]+(f||0)))}return t}(y,0,r,e));var m=c-y.left-y.right,g=u-y.top-y.bottom;return Y_(Y_({brushBottom:v},y),{},{width:Math.max(m,0),height:Math.max(g,0)})},lT=function(t,e){return"xAxis"===e?t[e].width:"yAxis"===e?t[e].height:void 0},sT=function(t){var e=t.chartName,r=t.GraphicalChild,n=t.defaultTooltipEventType,o=void 0===n?"axis":n,i=t.validateTooltipEventTypes,a=void 0===i?["axis"]:i,c=t.axisComponents,u=t.legendContent,l=t.formatAxisMap,s=t.defaultProps,f=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,i=e.updateId,a=e.dataStartIndex,u=e.dataEndIndex,l=t.barSize,s=t.layout,f=t.barGap,p=t.barCategoryGap,d=t.maxBarSize,h=cT(s),y=h.numericAxisName,v=h.cateAxisName,m=function(t){return!(!t||!t.length)&&t.some((function(t){var e=Ra(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(r),g=[];return r.forEach((function(r,h){var b=tT(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:u}),w=void 0!==r.type.defaultProps?Y_(Y_({},r.type.defaultProps),r.props):r.props,x=w.dataKey,O=w.maxBarSize,S=w["".concat(y,"Id")],j=w["".concat(v,"Id")],P=c.reduce((function(t,n){var o,i,a=e["".concat(n.axisType,"Map")],c=w["".concat(n.axisType,"Id")];a&&a[c]||"zAxis"===n.axisType||("production"!==process.env.NODE_ENV?Ux(0,"Specifying a(n) ".concat(n.axisType,"Id requires a corresponding ").concat(n.axisType,"Id on the targeted graphical component ").concat(null!==(o=null==r||null===(i=r.type)||void 0===i?void 0:i.displayName)&&void 0!==o?o:"")):Ux());var u=a[c];return Y_(Y_({},t),{},X_(X_({},n.axisType,u),"".concat(n.axisType,"Ticks"),OO(u)))}),{}),A=P[v],M=P["".concat(v,"Ticks")],k=n&&n[S]&&n[S].hasStack&&function(t,e){var r,n=(null!==(r=t.type)&&void 0!==r&&r.defaultProps?hO(hO({},t.type.defaultProps),t.props):t.props).stackId;if(ga(n)){var o=e[n];if(o){var i=o.items.indexOf(t);return i>=0?o.stackedData[i]:null}}return null}(r,n[S].stackGroups),E=Ra(r.type).indexOf("Bar")>=0,C=IO(A,M),_=[],T=m&&function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,o=void 0===n?{}:n;if(!o)return{};for(var i={},a=Object.keys(o),c=0,u=a.length;c<u;c++)for(var l=o[a[c]].stackGroups,s=Object.keys(l),f=0,p=s.length;f<p;f++){var d=l[s[f]],h=d.items,y=d.cateAxisId,v=h.filter((function(t){return Ra(t.type).indexOf("Bar")>=0}));if(v&&v.length){var m=v[0].type.defaultProps,g=void 0!==m?hO(hO({},m),v[0].props):v[0].props,b=g.barSize,w=g[y];i[w]||(i[w]=[]);var x=Ki(b)?e:b;i[w].push({item:v[0],stackList:v.slice(1),barSize:Ki(x)?void 0:xa(x,r,0)})}}return i}({barSize:l,stackGroups:n,totalSize:lT(P,v)});if(E){var D,I,N=Ki(O)?d:O,L=null!==(D=null!==(I=IO(A,M,!0))&&void 0!==I?I:N)&&void 0!==D?D:0;_=function(t){var e=t.barGap,r=t.barCategoryGap,n=t.bandSize,o=t.sizeList,i=void 0===o?[]:o,a=t.maxBarSize,c=i.length;if(c<1)return null;var u,l=xa(e,n,0,!0),s=[];if(i[0].barSize===+i[0].barSize){var f=!1,p=n/c,d=i.reduce((function(t,e){return t+e.barSize||0}),0);(d+=(c-1)*l)>=n&&(d-=(c-1)*l,l=0),d>=n&&p>0&&(f=!0,d=c*(p*=.9));var h={offset:((n-d)/2|0)-l,size:0};u=i.reduce((function(t,e){var r={item:e.item,position:{offset:h.offset+h.size+l,size:f?p:e.barSize}},n=[].concat(fO(t),[r]);return h=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:h})})),n}),s)}else{var y=xa(r,n,0,!0);n-2*y-(c-1)*l<=0&&(l=0);var v=(n-2*y-(c-1)*l)/c;v>1&&(v>>=0);var m=a===+a?Math.min(v,a):v;u=i.reduce((function(t,e,r){var n=[].concat(fO(t),[{item:e.item,position:{offset:y+(v+l)*r+(v-m)/2,size:m}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:n[n.length-1].position})})),n}),s)}return u}({barGap:f,barCategoryGap:p,bandSize:L!==C?L:C,sizeList:T[j],maxBarSize:N}),L!==C&&(_=_.map((function(t){return Y_(Y_({},t),{},{position:Y_(Y_({},t.position),{},{offset:t.position.offset-L/2})})})))}var B,R,$=r&&r.type&&r.type.getComposedData;$&&g.push({props:Y_(Y_({},$(Y_(Y_({},P),{},{displayedData:b,props:t,dataKey:x,item:r,bandSize:C,barPosition:_,offset:o,stackedData:k,layout:s,dataStartIndex:a,dataEndIndex:u}))),{},X_(X_(X_({key:r.key||"item-".concat(h)},y,P[y]),v,P[v]),"animationId",i)),childIndex:(B=r,R=t.children,Ha(R).indexOf(B)),item:r})})),g},p=function(t,n){var o=t.props,i=t.dataStartIndex,a=t.dataEndIndex,u=t.updateId;if(!Ua({props:o}))return null;var s=o.children,p=o.layout,d=o.stackOffset,h=o.data,y=o.reverseStackOrder,v=cT(p),m=v.numericAxisName,g=v.cateAxisName,b=Fa(s,r),w=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce((function(t,e){var o,i=null!==(o=e.type)&&void 0!==o&&o.defaultProps?hO(hO({},e.type.defaultProps),e.props):e.props,a=i.stackId;if(i.hide)return t;var c=i[r],u=t[c]||{hasStack:!1,stackGroups:{}};if(ga(a)){var l=u.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(e),u.hasStack=!0,u.stackGroups[a]=l}else u.stackGroups[wa("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return hO(hO({},t),{},yO({},c,u))}),{});return Object.keys(a).reduce((function(e,i){var c=a[i];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(e,i){var a=c.stackGroups[i];return hO(hO({},e),{},yO({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:MO(t,a.items,o)}))}),{})),hO(hO({},e),{},yO({},i,c))}),{})}(h,b,"".concat(m,"Id"),"".concat(g,"Id"),d,y),x=c.reduce((function(t,e){var r="".concat(e.axisType,"Map");return Y_(Y_({},t),{},X_({},r,iT(o,Y_(Y_({},e),{},{graphicalItems:b,stackGroups:e.axisType===m&&w,dataStartIndex:i,dataEndIndex:a}))))}),{}),O=uT(Y_(Y_({},x),{},{props:o,graphicalItems:b}),null==n?void 0:n.legendBBox);Object.keys(x).forEach((function(t){x[t]=l(o,x[t],O,t.replace("Map",""),e)}));var S,j,P=x["".concat(g,"Map")],A=(S=Oa(P),{tooltipTicks:j=OO(S,!1,!0),orderedTooltipTicks:$d(j,(function(t){return t.coordinate})),tooltipAxis:S,tooltipAxisBandSize:IO(S,j)}),M=f(o,Y_(Y_({},x),{},{dataStartIndex:i,dataEndIndex:a,updateId:u,graphicalItems:b,stackGroups:w,offset:O}));return Y_(Y_({formattedGraphicalItems:M,graphicalItems:b,offset:O,stackGroups:w},A),x)},d=function(t){function r(t){var n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),X_(i=$_(this,r,[t]),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),X_(i,"accessibilityManager",new j_),X_(i,"handleLegendBBoxUpdate",(function(t){if(t){var e=i.state,r=e.dataStartIndex,n=e.dataEndIndex,o=e.updateId;i.setState(Y_({legendBBox:t},p({props:i.props,dataStartIndex:r,dataEndIndex:n,updateId:o},Y_(Y_({},i.state),{},{legendBBox:t}))))}})),X_(i,"handleReceiveSyncEvent",(function(t,e,r){if(i.props.syncId===t){if(r===i.eventEmitterSymbol&&"function"!=typeof i.props.syncMethod)return;i.applySyncEvent(e)}})),X_(i,"handleBrushChange",(function(t){var e=t.startIndex,r=t.endIndex;if(e!==i.state.dataStartIndex||r!==i.state.dataEndIndex){var n=i.state.updateId;i.setState((function(){return Y_({dataStartIndex:e,dataEndIndex:r},p({props:i.props,dataStartIndex:e,dataEndIndex:r,updateId:n},i.state))})),i.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}})),X_(i,"handleMouseEnter",(function(t){var e=i.getMouseInfo(t);if(e){var r=Y_(Y_({},e),{},{isTooltipActive:!0});i.setState(r),i.triggerSyncEvent(r);var n=i.props.onMouseEnter;Qi(n)&&n(r,t)}})),X_(i,"triggeredAfterMouseMove",(function(t){var e=i.getMouseInfo(t),r=e?Y_(Y_({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};i.setState(r),i.triggerSyncEvent(r);var n=i.props.onMouseMove;Qi(n)&&n(r,t)})),X_(i,"handleItemMouseEnter",(function(t){i.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))})),X_(i,"handleItemMouseLeave",(function(){i.setState((function(){return{isTooltipActive:!1}}))})),X_(i,"handleMouseMove",(function(t){t.persist(),i.throttleTriggeredAfterMouseMove(t)})),X_(i,"handleMouseLeave",(function(t){i.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};i.setState(e),i.triggerSyncEvent(e);var r=i.props.onMouseLeave;Qi(r)&&r(e,t)})),X_(i,"handleOuterEvent",(function(t){var e,r=function(t){var e=t&&t.type;return e&&Ba[e]?Ba[e]:null}(t),n=qi(i.props,"".concat(r));r&&Qi(n)&&n(null!==(e=/.*touch.*/i.test(r)?i.getMouseInfo(t.changedTouches[0]):i.getMouseInfo(t))&&void 0!==e?e:{},t)})),X_(i,"handleClick",(function(t){var e=i.getMouseInfo(t);if(e){var r=Y_(Y_({},e),{},{isTooltipActive:!0});i.setState(r),i.triggerSyncEvent(r);var n=i.props.onClick;Qi(n)&&n(r,t)}})),X_(i,"handleMouseDown",(function(t){var e=i.props.onMouseDown;Qi(e)&&e(i.getMouseInfo(t),t)})),X_(i,"handleMouseUp",(function(t){var e=i.props.onMouseUp;Qi(e)&&e(i.getMouseInfo(t),t)})),X_(i,"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.throttleTriggeredAfterMouseMove(t.changedTouches[0])})),X_(i,"handleTouchStart",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.handleMouseDown(t.changedTouches[0])})),X_(i,"handleTouchEnd",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.handleMouseUp(t.changedTouches[0])})),X_(i,"triggerSyncEvent",(function(t){void 0!==i.props.syncId&&g_.emit(b_,i.props.syncId,t,i.eventEmitterSymbol)})),X_(i,"applySyncEvent",(function(t){var e=i.props,r=e.layout,n=e.syncMethod,o=i.state.updateId,a=t.dataStartIndex,c=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)i.setState(Y_({dataStartIndex:a,dataEndIndex:c},p({props:i.props,dataStartIndex:a,dataEndIndex:c,updateId:o},i.state)));else if(void 0!==t.activeTooltipIndex){var u=t.chartX,l=t.chartY,s=t.activeTooltipIndex,f=i.state,d=f.offset,h=f.tooltipTicks;if(!d)return;if("function"==typeof n)s=n(h,t);else if("value"===n){s=-1;for(var y=0;y<h.length;y++)if(h[y].value===t.activeLabel){s=y;break}}var v=Y_(Y_({},d),{},{x:d.left,y:d.top}),m=Math.min(u,v.x+v.width),g=Math.min(l,v.y+v.height),b=h[s]&&h[s].value,w=rT(i.state,i.props.data,s),x=h[s]?{x:"horizontal"===r?h[s].coordinate:m,y:"horizontal"===r?g:h[s].coordinate}:J_;i.setState(Y_(Y_({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else i.setState(t)})),X_(i,"renderCursor",(function(t){var r,n=i.state,o=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.offset,l=n.activeTooltipIndex,s=n.tooltipAxisBandSize,f=i.getTooltipEventType(),p=null!==(r=t.props.active)&&void 0!==r?r:o,d=i.props.layout,h=t.key||"_recharts-cursor";return J.createElement(__,{key:h,activeCoordinate:a,activePayload:c,activeTooltipIndex:l,chartName:e,element:t,isActive:p,layout:d,offset:u,tooltipAxisBandSize:s,tooltipEventType:f})})),X_(i,"renderPolarAxis",(function(t,e,r){var n=qi(t,"type.axisType"),o=qi(i.state,"".concat(n,"Map")),a=t.type.defaultProps,c=void 0!==a?Y_(Y_({},a),t.props):t.props,u=o&&o[c["".concat(n,"Id")]];return lt(t,Y_(Y_({},u),{},{className:mn(n,u.className),key:t.key||"".concat(e,"-").concat(r),ticks:OO(u,!0)}))})),X_(i,"renderPolarGrid",(function(t){var e=t.props,r=e.radialLines,n=e.polarAngles,o=e.polarRadius,a=i.state,c=a.radiusAxisMap,u=a.angleAxisMap,l=Oa(c),s=Oa(u),f=s.cx,p=s.cy,d=s.innerRadius,h=s.outerRadius;return lt(t,{polarAngles:Array.isArray(n)?n:OO(s,!0).map((function(t){return t.coordinate})),polarRadius:Array.isArray(o)?o:OO(l,!0).map((function(t){return t.coordinate})),cx:f,cy:p,innerRadius:d,outerRadius:h,key:t.key||"polar-grid",radialLines:r})})),X_(i,"renderLegend",(function(){var t=i.state.formattedGraphicalItems,e=i.props,r=e.children,n=e.width,o=e.height,a=i.props.margin||{},c=n-(a.left||0)-(a.right||0),l=lO({children:r,formattedGraphicalItems:t,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=B_(l,T_);return lt(s,Y_(Y_({},f),{},{chartWidth:n,chartHeight:o,margin:a,onBBoxUpdate:i.handleLegendBBoxUpdate}))})),X_(i,"renderTooltip",(function(){var t,e=i.props,r=e.children,n=e.accessibilityLayer,o=Va(r,Lh);if(!o)return null;var a=i.state,c=a.isTooltipActive,u=a.activeCoordinate,l=a.activePayload,s=a.activeLabel,f=a.offset,p=null!==(t=o.props.active)&&void 0!==t?t:c;return lt(o,{viewBox:Y_(Y_({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?l:[],coordinate:u,accessibilityLayer:n})})),X_(i,"renderBrush",(function(t){var e=i.props,r=e.margin,n=e.data,o=i.state,a=o.offset,c=o.dataStartIndex,u=o.dataEndIndex,l=o.updateId;return lt(t,{key:t.key||"_recharts-brush",onChange:jO(i.handleBrushChange,t.props.onChange),data:n,x:ma(t.props.x)?t.props.x:a.left,y:ma(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:ma(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:u,updateId:"brush-".concat(l)})})),X_(i,"renderReferenceElement",(function(t,e,r){if(!t)return null;var n=i.clipPathId,o=i.state,a=o.xAxisMap,c=o.yAxisMap,u=o.offset,l=t.type.defaultProps||{},s=t.props,f=s.xAxisId,p=void 0===f?l.xAxisId:f,d=s.yAxisId,h=void 0===d?l.yAxisId:d;return lt(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[p],yAxis:c[h],viewBox:{x:u.left,y:u.top,width:u.width,height:u.height},clipPathId:n})})),X_(i,"renderActivePoints",(function(t){var e=t.item,n=t.activePoint,o=t.basePoint,i=t.childIndex,a=t.isRange,c=[],u=e.props.key,l=void 0!==e.item.type.defaultProps?Y_(Y_({},e.item.type.defaultProps),e.item.props):e.item.props,s=l.activeDot,f=Y_(Y_({index:i,dataKey:l.dataKey,cx:n.x,cy:n.y,r:4,fill:gO(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value},Ya(s,!1)),_a(s));return c.push(r.renderActiveDot(s,f,"".concat(u,"-activePoint-").concat(i))),o?c.push(r.renderActiveDot(s,Y_(Y_({},f),{},{cx:o.x,cy:o.y}),"".concat(u,"-basePoint-").concat(i))):a&&c.push(null),c})),X_(i,"renderGraphicChild",(function(t,e,r){var n=i.filterFormatItem(t,e,r);if(!n)return null;var o=i.getTooltipEventType(),a=i.state,c=a.isTooltipActive,u=a.tooltipAxis,l=a.activeTooltipIndex,s=a.activeLabel,f=Va(i.props.children,Lh),p=n.props,d=p.points,h=p.isRange,y=p.baseLine,v=void 0!==n.item.type.defaultProps?Y_(Y_({},n.item.type.defaultProps),n.item.props):n.item.props,m=v.activeDot,g=v.hide,b=v.activeBar,w=v.activeShape,x=Boolean(!g&&c&&f&&(m||b||w)),O={};"axis"!==o&&f&&"click"===f.props.trigger?O={onClick:jO(i.handleItemMouseEnter,t.props.onClick)}:"axis"!==o&&(O={onMouseLeave:jO(i.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:jO(i.handleItemMouseEnter,t.props.onMouseEnter)});var S=lt(t,Y_(Y_({},n.props),O));if(x){if(!(l>=0)){var j,P=(null!==(j=i.getItemByXY(i.state.activeCoordinate))&&void 0!==j?j:{graphicalItem:S}).graphicalItem,A=P.item,M=void 0===A?t:A,k=P.childIndex,E=Y_(Y_(Y_({},n.props),O),{},{activeIndex:k});return[lt(M,E),null,null]}var C,_;if(u.dataKey&&!u.allowDuplicatedCategory){var T="function"==typeof u.dataKey?function(t){return"function"==typeof u.dataKey?u.dataKey(t.payload):null}:"payload.".concat(u.dataKey.toString());C=ja(d,T,s),_=h&&y&&ja(y,T,s)}else C=null==d?void 0:d[l],_=h&&y&&y[l];if(w||b){var D=void 0!==t.props.activeIndex?t.props.activeIndex:l;return[lt(t,Y_(Y_(Y_({},n.props),O),{},{activeIndex:D})),null,null]}if(!Ki(C))return[S].concat(V_(i.renderActivePoints({item:n,activePoint:C,basePoint:_,childIndex:l,isRange:h})))}return h?[S,null,null]:[S,null]})),X_(i,"renderCustomized",(function(t,e,r){return lt(t,Y_(Y_({key:"recharts-customized-".concat(r)},i.props),i.state))})),X_(i,"renderMap",{CartesianGrid:{handler:Q_,once:!0},ReferenceArea:{handler:i.renderReferenceElement},ReferenceLine:{handler:Q_},ReferenceDot:{handler:i.renderReferenceElement},XAxis:{handler:Q_},YAxis:{handler:Q_},Brush:{handler:i.renderBrush,once:!0},Bar:{handler:i.renderGraphicChild},Line:{handler:i.renderGraphicChild},Area:{handler:i.renderGraphicChild},Radar:{handler:i.renderGraphicChild},RadialBar:{handler:i.renderGraphicChild},Scatter:{handler:i.renderGraphicChild},Pie:{handler:i.renderGraphicChild},Funnel:{handler:i.renderGraphicChild},Tooltip:{handler:i.renderCursor,once:!0},PolarGrid:{handler:i.renderPolarGrid,once:!0},PolarAngleAxis:{handler:i.renderPolarAxis},PolarRadiusAxis:{handler:i.renderPolarAxis},Customized:{handler:i.renderCustomized}}),i.clipPathId="".concat(null!==(n=t.id)&&void 0!==n?n:wa("recharts"),"-clip"),i.throttleTriggeredAfterMouseMove=Hh(i.triggeredAfterMouseMove,null!==(o=t.throttleDelay)&&void 0!==o?o:1e3/60),i.state={},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&&F_(t,e)}(r,dt),R_(r,[{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,o=t.layout,i=Va(e,Lh);if(i){var a=i.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length-1)){var c=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,u=rT(this.state,r,a,c),l=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===o?{x:l,y:s}:{y:l,x:s},p=this.state.formattedGraphicalItems.find((function(t){return"Scatter"===t.item.type.name}));p&&(f=Y_(Y_({},f),p.props.points[a].tooltipPosition),u=p.props.points[a].tooltipPayload);var d={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:u,activeCoordinate:f};this.setState(d),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;var r,n;(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.margin)&&this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}});return null}},{key:"componentDidUpdate",value:function(t){Xa([Va(t.children,Lh)],[Va(this.props.children,Lh)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=Va(this.props.children,Lh);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return a.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(),o={top:(e=n).top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft},i={chartX:Math.round(t.pageX-o.left),chartY:Math.round(t.pageY-o.top)},a=n.width/r.offsetWidth||1,c=this.inRange(i.chartX,i.chartY,a);if(!c)return null;var u=this.state,l=u.xAxisMap,s=u.yAxisMap;if("axis"!==this.getTooltipEventType()&&l&&s){var f=Oa(l).scale,p=Oa(s).scale,d=f&&f.invert?f.invert(i.chartX):null,h=p&&p.invert?p.invert(i.chartY):null;return Y_(Y_({},i),{},{xValue:d,yValue:h})}var y=nT(this.state,this.props.data,this.props.layout,c);return y?Y_(Y_({},i),y):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,o=t/r,i=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var c=this.state,u=c.angleAxisMap,l=c.radiusAxisMap;if(u&&l){var s=Oa(u);return qO({x:o,y:i},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=Va(t,Lh),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}),Y_(Y_({},_a(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){g_.on(b_,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){g_.removeListener(b_,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,o=0,i=n.length;o<i;o++){var a=n[o];if(a.item===t||a.props.key===t.key||e===Ra(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,o=e.height,i=e.width;return J.createElement("defs",null,J.createElement("clipPath",{id:t},J.createElement("rect",{x:r,y:n,height:o,width:i})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=L_(e,2),n=r[0],o=r[1];return Y_(Y_({},t),{},X_({},n,o.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=L_(e,2),n=r[0],o=r[1];return Y_(Y_({},t),{},X_({},n,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null===(e=this.state.xAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null===(e=this.state.yAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var o=0,i=r.length;o<i;o++){var a=r[o],c=a.props,u=a.item,l=void 0!==u.type.defaultProps?Y_(Y_({},u.type.defaultProps),u.props):u.props,s=Ra(u.type);if("Bar"===s){var f=(c.data||[]).find((function(e){return cA(t,e)}));if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(c.data||[]).find((function(e){return qO(t,e)}));if(p)return{graphicalItem:a,payload:p}}else if(rM(a,n)||nM(a,n)||oM(a,n)){var d=uM({graphicalItem:a,activeTooltipItem:n,itemData:l.data}),h=void 0===l.activeIndex?d:l.activeIndex;return{graphicalItem:Y_(Y_({},a),{},{childIndex:h}),payload:oM(a,n)?l.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var t=this;if(!Ua(this))return null;var e,r,n=this.props,o=n.children,i=n.className,a=n.width,c=n.height,u=n.style,l=n.compact,s=n.title,f=n.desc,p=B_(n,D_),d=Ya(p,!1);if(l)return J.createElement(Zk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},J.createElement(tc,N_({},d,{width:a,height:c,title:s,desc:f}),this.renderClipPath(),Ga(o,this.renderMap)));this.props.accessibilityLayer&&(d.tabIndex=null!==(e=this.props.tabIndex)&&void 0!==e?e:0,d.role=null!==(r=this.props.role)&&void 0!==r?r:"application",d.onKeyDown=function(e){t.accessibilityManager.keyboardEvent(e)},d.onFocus=function(){t.accessibilityManager.focus()});var h=this.parseEventsOfWrapper();return J.createElement(Zk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},J.createElement("div",N_({className:mn("recharts-wrapper",i),style:Y_({position:"relative",cursor:"default",width:a,height:c},u)},h,{ref:function(e){t.container=e}}),J.createElement(tc,N_({},d,{width:a,height:c,title:s,desc:f,style:Z_}),this.renderClipPath(),Ga(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])}();return X_(d,"displayName",e),X_(d,"defaultProps",Y_({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},s)),X_(d,"getDerivedStateFromProps",(function(t,e){var r=t.dataKey,n=t.data,o=t.children,i=t.width,a=t.height,c=t.layout,u=t.stackOffset,l=t.margin,s=e.dataStartIndex,f=e.dataEndIndex;if(void 0===e.updateId){var d=aT(t);return Y_(Y_(Y_({},d),{},{updateId:0},p(Y_(Y_({props:t},d),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:c,prevStackOffset:u,prevMargin:l,prevChildren:o})}if(r!==e.prevDataKey||n!==e.prevData||i!==e.prevWidth||a!==e.prevHeight||c!==e.prevLayout||u!==e.prevStackOffset||!Pa(l,e.prevMargin)){var h=aT(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=Y_(Y_({},nT(e,n,c)),{},{updateId:e.updateId+1}),m=Y_(Y_(Y_({},h),y),v);return Y_(Y_(Y_({},m),p(Y_({props:t},m),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:c,prevStackOffset:u,prevMargin:l,prevChildren:o})}if(!Xa(o,e.prevChildren)){var g,b,w,x,O=Va(o,IM),S=O&&null!==(g=null===(b=O.props)||void 0===b?void 0:b.startIndex)&&void 0!==g?g:s,j=O&&null!==(w=null===(x=O.props)||void 0===x?void 0:x.endIndex)&&void 0!==w?w:f,P=S!==s||j!==f,A=!Ki(n)&&!P?e.updateId:e.updateId+1;return Y_(Y_({updateId:A},p(Y_(Y_({props:t},e),{},{updateId:A,dataStartIndex:S,dataEndIndex:j}),e)),{},{prevChildren:o,dataStartIndex:S,dataEndIndex:j})}return null})),X_(d,"renderActiveDot",(function(t,e,r){var n;return n=Q(t)?lt(t,e):Qi(t)?t(e):J.createElement(fA,e),J.createElement(wc,{className:"recharts-active-dot",key:r},n)})),function(t){return J.createElement(d,t)}},fT=sT({chartName:"LineChart",GraphicalChild:MC,axisComponents:[{axisType:"xAxis",AxisComp:t_},{axisType:"yAxis",AxisComp:f_}],formatAxisMap:kk}),pT=sT({chartName:"AreaChart",GraphicalChild:VC,axisComponents:[{axisType:"xAxis",AxisComp:t_},{axisType:"yAxis",AxisComp:f_}],formatAxisMap:kk});const dT=({chartId:n,formatter:o,labelFormatter:i,payload:a,cx:c,cy:u})=>{const l=document.getElementById(n)?.clientWidth||0,s=100;return c<20||l-c<20?e(r,{}):t("svg",{x:c-50,y:u-60,width:s,height:68,viewBox:"0 0 100 68",xmlns:"http://www.w3.org/2000/svg",children:[i&&t(r,{children:[e("rect",{fill:"white",width:"98",height:"45",stroke:Pr.coolElegance(),strokeWidth:"1",rx:"7",ry:"7",className:"shadow"}),e("text",{y:"14",x:"50%",fontSize:10,dominantBaseline:"middle",textAnchor:"middle",children:i(0,[{payload:a}])}),e("text",{y:"30",x:"50%",fontSize:11,dominantBaseline:"middle",textAnchor:"middle",fontWeight:"bold",children:o?o(a.value):a.value}),e("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"30",opacity:"0.7",children:e("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:Pr.coolElegance(),transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),e("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"28",children:e("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:"white",transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})})]}),e("rect",{x:43,y:"52",width:14,height:14,rx:7,fill:"white",stroke:Pr.coolElegance(),strokeWidth:"2"})]})},hT=({data:r,dataKey:n,width:o="100%",height:i="100%",areaType:a="linear",isAnimated:c=!1,formatter:u,labelFormatter:l,sampleRate:s,style:f})=>{const{isNetGain:p}=br({data:r,dataKey:n}),d=yn(),h=yn(),y=s?Sr({arr:r||[],n:s}):r;let v,m;y?.length?(m=p?Pr.mint():Pr.coolElegance(),v=y?.map((t=>({...t,[n]:Number(t[n])||0})))):(m=Pr.coolElegance(),v=[{[n]:1},{[n]:1}]);const g={cursor:y?.length?"crosshair":"default",...f};return e(Xh,{width:o,minHeight:i,id:d,children:t(pT,{data:v,margin:{top:20,right:0,left:0,bottom:20},style:g,children:[e("defs",{children:t("linearGradient",{id:h,x1:"0",y1:"0",x2:"0",y2:"1",children:[e("stop",{offset:"5%",stopColor:m,stopOpacity:.8}),e("stop",{offset:"95%",stopColor:m,stopOpacity:0})]})}),e(f_,{domain:y?.length?["dataMin","dataMax"]:[0,2],hide:!0}),e(VC,{type:a,dataKey:n,stroke:m,fill:`url(#${h})`,isAnimationActive:c,activeDot:t=>dT({chartId:d,labelFormatter:l,formatter:u,...t}),dot:!1}),y?.length&&e(Lh,{cursor:!1,content:()=>null})]})})},yT=({isCloseable:t,onClick:r})=>{const n=l({ssr:!1});return e(s,{children:e(f,{label:t?"Click to dismiss":null,hasArrow:!0,fontFamily:"mono",fontSize:"12px",children:e(p,{onClick:r,cursor:t?"pointer":"default",bgColor:{base:"rgba(143, 163, 255, 0.9)",sm:"rgba(117, 143, 255, 0.9)",md:"rgba(77, 109, 255, 0.9)",lg:"rgba(24, 74, 201, 0.9)",xl:"rgba(19, 60, 164, 0.9)","2xl":"rgba(15, 47, 128, 0.9)"},color:{base:Pr.black(),md:"white"},position:"fixed",top:"0",right:"0",padding:"2",fontSize:"xs",zIndex:"5",width:"10rem",boxShadow:"dark-lg",fontFamily:"mono",children:n})})})},vT=({children:t,...r})=>e(d,{border:"solid 1px",borderColor:Pr.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:t}),mT=({isSelected:t,children:r,...n})=>e(h,{variant:"none",paddingX:"1",fontSize:"sm",color:t?"brand.500":Pr.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:t?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),gT=({children:t,...r})=>e(y,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:Pr.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:t}),bT=r=>{const{carouselContents:n,isNavVertical:o,...i}=r,[a,c]=it(0);return n.length>=1&&e(gT,{children:t(v,{gap:10,direction:o?"column":{base:"column",md:"row"},...i,children:[n[a],t(v,{alignItems:"flex-end",justifyContent:"center",gap:6,children:[e(m,{variant:"ghost",isDisabled:0===a,"aria-label":"Previous content",icon:e(jt,{}),onClick:()=>{a>0&&a<=n.length-1&&c((t=>t-1))}}),e(m,{variant:"ghost",isDisabled:a===n.length-1,"aria-label":"Next content",icon:e(Pt,{}),onClick:()=>{a<n.length-1&&c((t=>t+1))}})]})]})})},wT=r=>{const{size:n,isDisabled:o,isReadOnly:i,isRequired:a,isIndeterminate:c,name:u,register:l,errorMessage:s,label:f,labelPosition:p="left",spaceBetween:d,onClick:h,...y}=r;let m;c||(m=e(kt,{}));const O=l?l(u):void 0;return t(g,{as:v,flexDir:"column",isInvalid:Boolean(s),isDisabled:o,isReadOnly:i,isRequired:a,children:[t(v,{onClick:h,w:"full",justifyContent:d?"space-between":"auto",children:["left"===p&&e(b,{fontSize:n,m:"0",mr:"3",children:f}),e(w,{icon:m,isDisabled:o,isReadOnly:i,isRequired:a,isIndeterminate:c,isInvalid:Boolean(s),size:n,...O,...y}),"right"===p&&e(b,{fontSize:n,m:"0",ml:"3",children:f})]}),e(v,{w:"full",children:s&&e(x,{size:n,children:s})})]})},xT=({children:t,onSubmit:r,...n})=>e(v,{as:"form",onSubmit:t=>{t.preventDefault(),r&&r(t)},noValidate:!0,gap:"6",flexDir:"column",...n,children:t});var OT=function(){return OT=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},OT.apply(this,arguments)};function ST(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var jT=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},PT={k:1e3,m:1e6,b:1e9},AT=function(t){var e=t.value,r=t.groupSeparator,n=void 0===r?",":r,o=t.decimalSeparator,i=void 0===o?".":o,a=t.allowDecimals,c=void 0===a||a,u=t.decimalsLimit,l=void 0===u?2:u,s=t.allowNegativeValue,f=void 0===s||s,p=t.disableAbbreviations,d=void 0!==p&&p,h=t.prefix,y=void 0===h?"":h,v=t.transformRawValue,m=(void 0===v?function(t){return t}:v)(e);if("-"===m)return m;var g=d?[]:["k","m","b"],b=new RegExp("((^|\\D)-\\d)|(-".concat(jT(y),")")).test(m),w=RegExp("(\\d+)-?".concat(jT(y))).exec(e)||[],x=w[0],O=w[1],S=function(t,e){void 0===e&&(e=",");var r=new RegExp(jT(e),"g");return t.replace(r,"")}(y?x?m.replace(x,"").concat(O):m.replace(y,""):m,n),j=function(t,e){var r=jT(e.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return t.replace(n,"")}(S,ST([n,i],g,!0)),P=j;if(!d){if(g.some((function(t){return t===j.toLowerCase().replace(i,"")})))return"";var A=function(t,e){void 0===e&&(e=".");var r=new RegExp("(\\d+(".concat(jT(e),"\\d*)?)([kmb])$"),"i"),n=t.match(r);if(n){var o=n[1],i=n[3],a=PT[i.toLowerCase()];return Number(o.replace(e,"."))*a}}(j,i);A&&(P=String(A))}var M=b&&f?"-":"";if(i&&P.includes(i)){var k=j.split(i),E=k[0],C=k[1],_=l&&C?C.slice(0,l):C,T=c?"".concat(i).concat(_):"";return"".concat(M).concat(E).concat(T)}return"".concat(M).concat(P)},MT=function(t,e){var r=e.groupSeparator,n=void 0===r?",":r,o=e.decimalSeparator,i=void 0===o?".":o,a=new RegExp("\\d([^".concat(jT(n)).concat(jT(i),"0-9]+)")),c=t.match(a);return c?c[1]:void 0},kT=function(t){var e=t.value,r=t.decimalSeparator,n=t.intlConfig,o=t.decimalScale,i=t.prefix,a=void 0===i?"":i,c=t.suffix,u=void 0===c?"":c;if(""===e||void 0===e)return"";if("-"===e)return"-";var l=new RegExp("^\\d?-".concat(a?"".concat(jT(a),"?"):"","\\d")).test(e),s="."!==r?ET(e,r,l):e;r&&"-"!==r&&s.startsWith(r)&&(s="0"+s);var f={minimumFractionDigits:o||0,maximumFractionDigits:20},p=(n?new Intl.NumberFormat(n.locale,n.currency?OT(OT({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),d=CT(p,t),h=MT(d,OT({},t)),y=e.slice(-1)===r?r:"",v=(s.match(RegExp("\\d+\\.(\\d+)"))||[])[1];return void 0===o&&v&&r&&(d=d.includes(r)?d.replace(RegExp("(\\d+)(".concat(jT(r),")(\\d+)"),"g"),"$1$2".concat(v)):h&&!u?d.replace(h,"".concat(r).concat(v).concat(h)):"".concat(d).concat(r).concat(v)),u&&y?"".concat(d).concat(y).concat(u):h&&y?d.replace(h,"".concat(y).concat(h)):h&&u?d.replace(h,"".concat(y).concat(u)):[d,y,u].join("")},ET=function(t,e,r){var n=t;return e&&"."!==e&&(n=n.replace(RegExp(jT(e),"g"),"."),r&&"-"===e&&(n="-".concat(n.slice(1)))),n},CT=function(t,e){var r=e.prefix,n=e.groupSeparator,o=e.decimalSeparator,i=e.decimalScale,a=e.disableGroupSeparators,c=void 0!==a&&a;return t.reduce((function(t,e,a){var u=e.type,l=e.value;return 0===a&&r?"minusSign"===u?[l,r]:"currency"===u?ST(ST([],t,!0),[r],!1):[r,l]:"currency"===u?r?t:ST(ST([],t,!0),[l],!1):"group"===u?c?t:ST(ST([],t,!0),[void 0!==n?n:l],!1):"decimal"===u?void 0!==i&&0===i?t:ST(ST([],t,!0),[void 0!==o?o:l],!1):ST(ST([],t,!0),"fraction"===u?[void 0!==i?l.slice(0,i):l]:[l],!1)}),[""]).join("")},_T={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},TT=function(t){return RegExp(/\d/,"gi").test(t)},DT=rt((function(t,e){var r=t.allowDecimals,n=void 0===r||r,o=t.allowNegativeValue,i=void 0===o||o,a=t.id,c=t.name,u=t.className,l=t.customInput,s=t.decimalsLimit,f=t.defaultValue,p=t.disabled,d=void 0!==p&&p,h=t.maxLength,y=t.value,v=t.onValueChange,m=t.fixedDecimalLength,g=t.placeholder,b=t.decimalScale,w=t.prefix,x=t.suffix,O=t.intlConfig,S=t.step,j=t.min,P=t.max,A=t.disableGroupSeparators,M=void 0!==A&&A,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,L=t.onKeyUp,B=t.transformRawValue,R=t.formatValueOnBlur,$=void 0===R||R,z=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 o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}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&&TT(C))throw new Error("decimalSeparator cannot be a number");if(_&&TT(_))throw new Error("groupSeparator cannot be a number");var H=ut((function(){return function(t){var e=t||{},r=e.locale,n=e.currency;return(r?new Intl.NumberFormat(r,n?{currency:n,style:"currency"}:void 0):new Intl.NumberFormat).formatToParts(1000.1).reduce((function(t,e,r){return"currency"===e.type?OT(OT({},t),0===r?{currencySymbol:e.value,prefix:e.value}:{currencySymbol:e.value,suffix:e.value}):"group"===e.type?OT(OT({},t),{groupSeparator:e.value}):"decimal"===e.type?OT(OT({},t),{decimalSeparator:e.value}):t}),_T)}(O)}),[O]),F=C||H.decimalSeparator||"",V=_||H.groupSeparator||"";if(F&&V&&F===V&&!1===M)throw new Error("decimalSeparator cannot be the same as groupSeparator");var U={decimalSeparator:F,groupSeparator:V,disableGroupSeparators:M,intlConfig:O,prefix:w||H.prefix,suffix:x},W={decimalSeparator:F,groupSeparator:V,allowDecimals:n,decimalsLimit:s||m||2,allowNegativeValue:i,disableAbbreviations:E,prefix:w||H.prefix,transformRawValue:B},q=it((function(){return null!=f?kT(OT(OT({},U),{decimalScale:b,value:String(f)})):null!=y?kT(OT(OT({},U),{decimalScale:b,value:String(y)})):""})),Y=q[0],X=q[1],K=it(!1),G=K[0],Z=K[1],Q=it(0),tt=Q[0],et=Q[1],rt=it(0),at=rt[0],lt=rt[1],st=it(null),ft=st[0],pt=st[1],dt=nt(null);ot(e,(function(){return dt.current}));var ht=function(t,e){Z(!0);var r=function(t){var e=t.selectionStart,r=t.value,n=t.lastKeyStroke,o=t.stateValue,i=t.groupSeparator,a=e,c=r;if(o&&a){var u=r.split("");return"Backspace"===n&&o[a]===i&&(u.splice(a-1,1),a-=1),"Delete"===n&&o[a]===i&&(u.splice(a,1),a+=1),{modifiedValue:c=u.join(""),cursorPosition:a}}return{modifiedValue:c,cursorPosition:e}}({selectionStart:e,value:t,lastKeyStroke:ft,stateValue:Y,groupSeparator:V}),n=r.modifiedValue,o=r.cursorPosition,i=AT(OT({value:n},W));if(!(h&&i.replace(/-/g,"").length>h)){if(""===i||"-"===i||i===F)return v&&v(void 0,c,{float:null,formatted:"",value:""}),X(i),void et(1);var a=F?i.replace(F,"."):i,u=parseFloat(a),l=kT(OT({value:i},U));if(null!=o){var s=o+(l.length-t.length);s=s<=0?w?w.length:0:s,et(s),lt(at+1)}if(X(l),v)v(i,c,{float:u,formatted:l,value:i})}};ct((function(){null==y&&null==f&&X("")}),[f,y]),ct((function(){G&&"-"!==Y&&dt.current&&document.activeElement===dt.current&&dt.current.setSelectionRange(tt,tt)}),[Y,tt,dt,G,at]);var yt=OT({type:"text",inputMode:"decimal",id:a,name:c,className:u,onChange:function(t){var e=t.target,r=e.value,n=e.selectionStart;ht(r,n),T&&T(t)},onBlur:function(t){var e=t.target.value,r=AT(OT({value:e},W));if("-"===r||r===F||!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),o=n[0];if((c=n[1]).length===r)return t;if(c.length>r)return"".concat(o).concat(e).concat(c.slice(0,r))}var i=t.length>r?new RegExp("(\\d+)(\\d{".concat(r,"})")):new RegExp("(\\d)(\\d+)"),a=t.match(i);if(a){o=a[1];var c=a[2];return"".concat(o).concat(e).concat(c)}}return t}(r,F,m),o=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),o=n[0],i=n[1];if(0===r)return o;var a=i||"";if(a.length<r)for(;a.length<r;)a+="0";else a=a.slice(0,r);return"".concat(o).concat(e).concat(a)}(n,F,void 0!==b?b:m),i=parseFloat(o.replace(F,".")),a=kT(OT(OT({},U),{value:o}));v&&$&&v(o,c,{float:i,formatted:a,value:o}),X(a),I&&I(t)},onFocus:function(t){return D&&D(t),Y?Y.length:0},onKeyDown:function(t){var e=t.key;if(pt(e),S&&("ArrowUp"===e||"ArrowDown"===e)){t.preventDefault(),et(Y.length);var r=parseFloat(null!=y?String(y).replace(F,"."):AT(OT({value:Y},W)))||0,n="ArrowUp"===e?r+S:r-S;if(void 0!==j&&n<Number(j))return;if(void 0!==P&&n>Number(P))return;var o=String(S).includes(".")?Number(String(S).split(".")[1].length):void 0;ht(String(o?n.toFixed(o):n).replace(".",F))}N&&N(t)},onKeyUp:function(t){var e=t.key,r=t.currentTarget.selectionStart;if("ArrowUp"!==e&&"ArrowDown"!==e&&"-"!==Y){var n=MT(Y,{groupSeparator:V,decimalSeparator:F});if(n&&r&&r>Y.length-n.length&&dt.current){var o=Y.length-n.length;dt.current.setSelectionRange(o,o)}}L&&L(t)},placeholder:g,disabled:d,value:null==y||"-"===Y||F&&Y===F?Y:kT(OT(OT({},U),{decimalScale:G?void 0:b,value:String(y)})),ref:dt},z);if(l){var vt=l;return J.createElement(vt,OT({},yt))}return J.createElement("input",OT({},yt))}));DT.displayName="CurrencyInput";const IT=O(((r,n)=>{const{size:o,isDisabled:i,isReadOnly:a,isRequired:c,spellCheck:u=!1,name:l,label:s,register:f,errorMessage:p,helperText:d,leftAddon:h,leftElement:y,rightAddon:v,rightElement:m,type:w="text",containerCss:O,...C}=r,_=wr(o),T=f?f(l):void 0,D="currency"===w?{as:DT,placeholder:"$0.00",prefix:"$",allowNegative:!1,disableAbbreviations:!0}:{};return t(g,{isInvalid:Boolean(p),isDisabled:i,isReadOnly:a,isRequired:c,sx:O,children:[s&&e(b,{className:"cf-form-label",size:o,children:s}),t(S,{size:o,children:[h&&e(j,{children:h}),y&&e(P,{w:"auto",ml:"1em",children:y}),e(A,{size:o,spellCheck:u,paddingLeft:y&&"2.5em",paddingRight:m&&"2.5em",type:"currency"===w?"text":w,...T,...D,...C,ref:n||T?.ref}),m&&e(M,{w:"auto",mr:"1em",children:m}),v&&e(k,{children:v})]}),p&&e(x,{className:"cf-form-error",size:o,children:p}),d&&e(E,{className:"cf-form-helper-text",fontSize:_,children:d})]})}));var NT=t=>null==t;var LT=t=>!NT(t)&&!Array.isArray(t)&&(t=>"object"==typeof t)(t)&&!(t=>t instanceof Date)(t),BT=t=>{const e=t.constructor&&t.constructor.prototype;return LT(e)&&e.hasOwnProperty("isPrototypeOf")},RT="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function $T(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(RT&&(t instanceof Blob||t instanceof FileList)||!r&&!LT(t))return t;if(e=r?[]:{},r||BT(t))for(const r in t)t.hasOwnProperty(r)&&(e[r]=$T(t[r]));else e=t}return e}var zT=t=>Array.isArray(t)?t.filter(Boolean):[],HT=t=>void 0===t,FT=(t,e,r)=>{if(!e||!LT(t))return r;const n=zT(e.split(/[,[\].]+?/)).reduce(((t,e)=>NT(t)?t:t[e]),t);return HT(n)||n===t?HT(t[e])?r:t[e]:n},VT=t=>"boolean"==typeof t,UT=t=>/^\w*$/.test(t),WT=t=>zT(t.replace(/["|']|\]/g,"").split(/\.|\[/)),qT=(t,e,r)=>{let n=-1;const o=UT(e)?[e]:WT(e),i=o.length,a=i-1;for(;++n<i;){const e=o[n];let i=r;if(n!==a){const r=t[e];i=LT(r)||Array.isArray(r)?r:isNaN(+o[n+1])?{}:[]}if("__proto__"===e)return;t[e]=i,t=t[e]}return t};const YT="onBlur",XT="onChange",KT="onSubmit",GT="onTouched",ZT="all",JT="max",QT="min",tD="maxLength",eD="minLength",rD="pattern",nD="required",oD="validate",iD=J.createContext(null);var aD=t=>LT(t)&&!Object.keys(t).length,cD=t=>Array.isArray(t)?t:[t];var uD=t=>"string"==typeof t,lD=(t,e,r,n,o)=>e?{...r[t],types:{...r[t]&&r[t].types?r[t].types:{},[n]:o||!0}}:{},sD=()=>{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)}))},fD=(t,e,r={})=>r.shouldFocus||HT(r.shouldFocus)?r.focusName||`${t}.${HT(r.focusIndex)?e:r.focusIndex}.`:"",pD=t=>({isOnSubmit:!t||t===KT,isOnBlur:t===YT,isOnChange:t===XT,isOnAll:t===ZT,isOnTouch:t===GT});const dD=(t,e,r,n)=>{for(const r of Object.keys(t)){const o=FT(t,r);if(o){const{_f:t,...i}=o;if(t){if(t.refs&&t.refs[0]&&e(t.refs[0],r)&&!n)return!0;if(t.ref&&e(t.ref,t.name)&&!n)return!0;if(dD(i,e))break}else if(LT(i)&&dD(i,e))break}}};var hD=(t,e,r)=>{const n=cD(FT(t,r));return qT(n,"root",e[r]),qT(t,r,n),t},yD=t=>uD(t),vD=t=>t instanceof RegExp;function mD(t,e,r="validate"){if(yD(t)||Array.isArray(t)&&t.every(yD)||VT(t)&&!t)return{type:r,message:yD(t)?t:"",ref:e}}var gD=t=>LT(t)&&!vD(t)?t:{value:t,message:""},bD=async(t,e,r,n,o)=>{const{ref:i,refs:a,required:c,maxLength:u,minLength:l,min:s,max:f,pattern:p,validate:d,name:h,valueAsNumber:y,mount:v,disabled:m}=t._f,g=FT(e,h);if(!v||m)return{};const b=a?a[0]:i,w=t=>{n&&b.reportValidity&&(b.setCustomValidity(VT(t)?"":t||""),b.reportValidity())},x={};i.type,(t=>{t.type})(i);const O=(y||(t=>"file"===t.type)(i))&&HT(i.value)&&HT(g)||(t=>{if(!RT)return!1;const e=t?t.ownerDocument:0;return t instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)})(i)&&""===i.value||""===g||Array.isArray(g)&&!g.length,S=lD.bind(null,h,r,x),j=(t,e,r,n=tD,o=eD)=>{const a=t?e:r;x[h]={type:t?n:o,message:a,ref:i,...S(t?n:o,a)}};if(!Array.isArray(g)||!g.length){const{value:t,message:e}=yD(c)?{value:!!c,message:c}:gD(c);if(t&&(x[h]={type:nD,message:e,ref:b,...S(nD,e)},!r))return w(e),x}if(!(O||NT(s)&&NT(f))){let t,e;const n=gD(f),o=gD(s);if(NT(g)||isNaN(g)){const r=i.valueAsDate||new Date(g),a=t=>new Date((new Date).toDateString()+" "+t),c="time"==i.type,u="week"==i.type;uD(n.value)&&g&&(t=c?a(g)>a(n.value):u?g>n.value:r>new Date(n.value)),uD(o.value)&&g&&(e=c?a(g)<a(o.value):u?g<o.value:r<new Date(o.value))}else{const r=i.valueAsNumber||(g?+g:g);NT(n.value)||(t=r>n.value),NT(o.value)||(e=r<o.value)}if((t||e)&&(j(!!t,n.message,o.message,JT,QT),!r))return w(x[h].message),x}if((u||l)&&!O&&(uD(g)||Array.isArray(g))){const t=gD(u),e=gD(l),n=!NT(t.value)&&g.length>+t.value,o=!NT(e.value)&&g.length<+e.value;if((n||o)&&(j(n,t.message,e.message),!r))return w(x[h].message),x}if(p&&!O&&uD(g)){const{value:t,message:e}=gD(p);if(vD(t)&&!g.match(t)&&(x[h]={type:rD,message:e,ref:i,...S(rD,e)},!r))return w(e),x}if(d)if("function"==typeof d){const t=mD(await d(g,e),b);if(t&&(x[h]={...t,...S(oD,t.message)},!r))return w(t.message),x}else if(LT(d)){let t={};for(const n in d){if(!aD(t)&&!r)break;const o=mD(await d[n](g,e),b,n);o&&(t={...o,...S(n,o.message)},w(o.message),r&&(x[h]=t))}if(!aD(t)&&(x[h]={ref:b,...t},!r))return x}return w(!0),x},wD=(t,e)=>[...t,...cD(e)],xD=t=>Array.isArray(t)?t.map((()=>{})):void 0;function OD(t,e,r){return[...t.slice(0,e),...cD(r),...t.slice(e)]}var SD=(t,e,r)=>Array.isArray(t)?(HT(t[r])&&(t[r]=void 0),t.splice(r,0,t.splice(e,1)[0]),t):[],jD=(t,e)=>[...cD(e),...cD(t)];var PD=(t,e)=>HT(e)?[]:function(t,e){let r=0;const n=[...t];for(const t of e)n.splice(t-r,1),r++;return zT(n).length?n:[]}(t,cD(e).sort(((t,e)=>t-e))),AD=(t,e,r)=>{[t[e],t[r]]=[t[r],t[e]]};function MD(t,e){const r=Array.isArray(e)?e:UT(e)?[e]:WT(e),n=1===r.length?t:function(t,e){const r=e.slice(0,-1).length;let n=0;for(;n<r;)t=HT(t)?n++:t[e[n++]];return t}(t,r),o=r.length-1,i=r[o];return n&&delete n[i],0!==o&&(LT(n)&&aD(n)||Array.isArray(n)&&function(t){for(const e in t)if(t.hasOwnProperty(e)&&!HT(t[e]))return!1;return!0}(n))&&MD(t,r.slice(0,-1)),t}var kD=(t,e,r)=>(t[e]=r,t);function ED(t){const e=J.useContext(iD),{control:r=e.control,name:n,keyName:o="id",shouldUnregister:i}=t,[a,c]=J.useState(r._getFieldArray(n)),u=J.useRef(r._getFieldArray(n).map(sD)),l=J.useRef(a),s=J.useRef(n),f=J.useRef(!1);s.current=n,l.current=a,r._names.array.add(n),t.rules&&r.register(n,t.rules),function(t){const e=J.useRef(t);e.current=t,J.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=FT(t,s.current);Array.isArray(e)&&(c(e),u.current=e.map(sD))}},subject:r._subjects.array});const p=J.useCallback((t=>{f.current=!0,r._updateFieldArray(n,t)}),[r,n]);return J.useEffect((()=>{if(r._state.action=!1,((t,e,r)=>e.watchAll||e.watch.has(t)||[...e.watch].some((e=>t.startsWith(e)&&/^\.\w+/.test(t.slice(e.length)))))(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!pD(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((t=>{const e=FT(t.errors,n),o=FT(r._formState.errors,n);(o?!e&&o.type||e&&(o.type!==e.type||o.message!==e.message):e&&e.type)&&(e?qT(r._formState.errors,n,e):MD(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const t=FT(r._fields,n);!t||!t._f||pD(r._options.reValidateMode).isOnSubmit&&pD(r._options.mode).isOnSubmit||bD(t,r._formValues,r._options.criteriaMode===ZT,r._options.shouldUseNativeValidation).then((t=>!aD(t)&&r._subjects.state.next({errors:hD(r._formState.errors,t,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&dD(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]),J.useEffect((()=>(!FT(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||i)&&r.unregister(n)})),[n,r,o,i]),{swap:J.useCallback(((t,e)=>{const o=r._getFieldArray(n);AD(o,t,e),AD(u.current,t,e),p(o),c(o),r._updateFieldArray(n,o,AD,{argA:t,argB:e},!1)}),[p,n,r]),move:J.useCallback(((t,e)=>{const o=r._getFieldArray(n);SD(o,t,e),SD(u.current,t,e),p(o),c(o),r._updateFieldArray(n,o,SD,{argA:t,argB:e},!1)}),[p,n,r]),prepend:J.useCallback(((t,e)=>{const o=cD($T(t)),i=jD(r._getFieldArray(n),o);r._names.focus=fD(n,0,e),u.current=jD(u.current,o.map(sD)),p(i),c(i),r._updateFieldArray(n,i,jD,{argA:xD(t)})}),[p,n,r]),append:J.useCallback(((t,e)=>{const o=cD($T(t)),i=wD(r._getFieldArray(n),o);r._names.focus=fD(n,i.length-1,e),u.current=wD(u.current,o.map(sD)),p(i),c(i),r._updateFieldArray(n,i,wD,{argA:xD(t)})}),[p,n,r]),remove:J.useCallback((t=>{const e=PD(r._getFieldArray(n),t);u.current=PD(u.current,t),p(e),c(e),r._updateFieldArray(n,e,PD,{argA:t})}),[p,n,r]),insert:J.useCallback(((t,e,o)=>{const i=cD($T(e)),a=OD(r._getFieldArray(n),t,i);r._names.focus=fD(n,t,o),u.current=OD(u.current,t,i.map(sD)),p(a),c(a),r._updateFieldArray(n,a,OD,{argA:t,argB:xD(e)})}),[p,n,r]),update:J.useCallback(((t,e)=>{const o=$T(e),i=kD(r._getFieldArray(n),t,o);u.current=[...i].map(((e,r)=>e&&r!==t?u.current[r]:sD())),p(i),c([...i]),r._updateFieldArray(n,i,kD,{argA:t,argB:o},!0,!1)}),[p,n,r]),replace:J.useCallback((t=>{const e=cD($T(t));u.current=e.map(sD),p([...e]),c([...e]),r._updateFieldArray(n,[...e],(t=>t),{},!0,!1)}),[p,n,r]),fields:J.useMemo((()=>a.map(((t,e)=>({...t,[o]:u.current[e]||sD()})))),[a,o])}}const CD=({name:r,control:n,register:o,defaultValues:i,onArrayAppend:a,onArrayRemove:c})=>{const{fields:u,append:l,remove:s}=ED({control:n,name:r}),p=Object.keys(i).reduce(((t,e)=>({...t,[e]:i[e]})),{});return t(C,{children:[u.map(((n,i)=>e(C,{children:t(C,{pb:6,position:"relative",children:[Object.keys(n).filter((t=>"id"!==t)).map((t=>e(IT,{label:t,name:`${r}.${i}.${t}`,register:o},`${t}-${n.id}`))),e(f,{label:"Delete",children:e(v,{position:"absolute",top:"0",right:"0",children:e(h,{"aria-label":"Delete",size:"sm",variant:"ghost",onClick:()=>{s(i),c&&c(i)},minW:"2rem",p:"0",children:"X"})})})]})},n.id))),e(v,{children:e(h,{size:"sm",onClick:()=>{l(p),a&&a(p)},ml:"auto",children:"+"})})]})},_D=({data:r,dataKey:n,width:o="100%",height:i="100%",lineType:a="linear",isAnimated:c=!1,formatter:u,labelFormatter:l,sampleRate:s,style:f})=>{const{isNetGain:p}=br({data:r,dataKey:n}),d=yn(),h=s?Sr({arr:r||[],n:s}):r;let y,v;h?.length?(v=p?Pr.mint():Pr.heroicRed(),y=h?.map((t=>({...t,[n]:Number(t[n])||0})))):(v=Pr.coolElegance(),y=[{[n]:0},{[n]:0}]);const m={cursor:h?.length?"crosshair":"default",...f};return e(Xh,{width:o,minHeight:i,id:d,children:t(fT,{data:y,style:m,children:[e(f_,{domain:["dataMin","dataMax"],hide:!0}),e(MC,{isAnimationActive:c,type:a,dataKey:n,stroke:v,strokeWidth:"2",activeDot:t=>dT({chartId:d,labelFormatter:l,formatter:u,...t}),dot:!1,scale:"threshold"}),h?.length&&e(Lh,{cursor:!1,content:()=>null})]})})},TD=({isOpen:r,onClose:n,headerContent:o=null,footerContent:i=null,children:a,isCentered:c=!0,size:u={base:"md",md:"xl"},isDisabledCloseButton:l,bodyProps:s={},contentProps:f={},...p})=>{const d={maxHeight:"60vh",bg:"transparent",overflow:"scroll",...s},h={...{minWidth:kr},...f};return t(_,{blockScrollOnMount:!1,scrollBehavior:"inside",isOpen:r,onClose:n,isCentered:c,size:u,trapFocus:!xr(),...p,children:[e(T,{}),t(D,{...h,children:[e(I,{children:o}),e(N,{isDisabled:l}),e(L,{...d,children:a}),i&&e(B,{borderTop:"solid 1px",borderColor:Pr.coolElegance(),children:i})]})]})},DD=t=>{const{isActive:r,children:n,href:o,...i}=t;return e(R,{display:"flex",as:R,borderRadius:"md",border:"solid 1px",bg:r?"brand.50":"transparent",borderColor:r?"brand.200":"transparent",boxShadow:r?`0 8px 16px 0 ${Pr.black(.08)}`:"none",href:o,alignItems:"center",lineHeight:"1",position:"relative",padding:"2",zIndex:"3",transition:"border-color 0.25s",_hover:{borderColor:!r&&Pr.coolElegance(),textDecoration:"none"},...i,children:n},o)};var ID,ND={exports:{}};var LD,BD=(ID||(ID=1,LD=ND,function(t,e){LD.exports=e(J)}(0,(t=>(()=>{var e={703:(t,e,r)=>{var n=r(414);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,r,o,i,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:i,resetWarningCache:o};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 o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.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 o={};return(()=>{n.r(o),n.d(o,{default:()=>w});var t=n(98),e=n.n(t),r=n(697),i=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,o=t.page,i=t.selected,c=t.activeClassName,u=t.activeLinkClassName,l=t.getEventListener,s=t.pageSelectedHandler,f=t.href,p=t.extraAriaContext,d=t.pageLabelBuilder,h=t.rel,y=t.ariaLabel||"Page "+o+(p?" "+p:""),v=null;return i&&(v="page",y=t.ariaLabel||"Page "+o+" is your current page",r=void 0!==r?r+" "+c:c,void 0!==n?void 0!==u&&(n=n+" "+u):n=u),e().createElement("li",{className:r},e().createElement("a",a({rel:h,role:f?void 0:"button",className:n,href:f,tabIndex:i?"-1":"0","aria-label":y,"aria-current":v,onKeyPress:s},l(s)),d(o)))};c.propTypes={pageSelectedHandler:i().func.isRequired,selected:i().bool.isRequired,pageClassName:i().string,pageLinkClassName:i().string,activeClassName:i().string,activeLinkClassName:i().string,extraAriaContext:i().string,href:i().string,ariaLabel:i().string,page:i().number.isRequired,getEventListener:i().func.isRequired,pageLabelBuilder:i().func.isRequired,rel:i().string};const u=c;function l(){return l=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},l.apply(this,arguments)}var s=function(t){var r=t.breakLabel,n=t.breakAriaLabel,o=t.breakClassName,i=t.breakLinkClassName,a=t.breakHandler,c=t.getEventListener,u=o||"break";return e().createElement("li",{className:u},e().createElement("a",l({className:i,role:"button",tabIndex:"0","aria-label":n,onKeyPress:a},c(a)),r))};s.propTypes={breakLabel:i().oneOfType([i().string,i().node]),breakAriaLabel:i().string,breakClassName:i().string,breakLinkClassName:i().string,breakHandler:i().func.isRequired,getEventListener:i().func.isRequired};const f=s;function p(t){return null!=t?t:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}function d(t){return d="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},d(t)}function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},h.apply(this,arguments)}function 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 m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function g(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,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=m(o);if(i){var r=m(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===d(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),g(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})})),g(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})})),g(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)})),g(v(r),"handlePageChange",(function(t){r.state.selected!==t&&(r.setState({selected:t}),r.callCallback(t))})),g(v(r),"getEventListener",(function(t){return g({},r.props.eventListener,t)})),g(v(r),"handleClick",(function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=o.isPrevious,a=void 0!==i&&i,c=o.isNext,u=void 0!==c&&c,l=o.isBreak,s=void 0!==l&&l,f=o.isActive,p=void 0!==f&&f;t.preventDefault?t.preventDefault():t.returnValue=!1;var d=r.state.selected,h=r.props.onClick,y=n;if(h){var v=h({index:e,selected:d,nextSelectedPage:n,event:t,isPrevious:a,isNext:u,isBreak:s,isActive:p});if(!1===v)return;Number.isInteger(v)&&(y=v)}void 0!==y&&r.handlePageChange(y)})),g(v(r),"handleBreakClick",(function(t,e){var n=r.state.selected;r.handleClick(e,t,n<t?r.getForwardJump():r.getBackwardJump(),{isBreak:!0})})),g(v(r),"callCallback",(function(t){void 0!==r.props.onPageChange&&"function"==typeof r.props.onPageChange&&r.props.onPageChange({selected:t})})),g(v(r),"callActiveCallback",(function(t){void 0!==r.props.onPageActive&&"function"==typeof r.props.onPageActive&&r.props.onPageActive({selected:t})})),g(v(r),"getElementPageRel",(function(t){var e=r.state.selected,n=r.props,o=n.nextPageRel,i=n.prevPageRel,a=n.selectedPageRel;return e-1===t?i:e===t?a:e+1===t?o:void 0})),g(v(r),"pagination",(function(){var t=[],n=r.props,o=n.pageRangeDisplayed,i=n.pageCount,a=n.marginPagesDisplayed,c=n.breakLabel,u=n.breakClassName,l=n.breakLinkClassName,s=n.breakAriaLabels,p=r.state.selected;if(i<=o)for(var d=0;d<i;d++)t.push(r.getPageElement(d));else{var h=o/2,y=o-h;p>i-o/2?h=o-(y=i-p):p<o/2&&(y=o-(h=p));var v,m,g=function(t){return r.getPageElement(t)},b=[];for(v=0;v<i;v++){var w=v+1;if(w<=a)b.push({type:"page",index:v,display:g(v)});else if(w>i-a)b.push({type:"page",index:v,display:g(v)});else if(v>=p-h&&v<=p+(0===p&&o>1?y-1:y))b.push({type:"page",index:v,display:g(v)});else if(c&&b.length>0&&b[b.length-1].display!==m&&(o>0||a>0)){var x=v<p?s.backward:s.forward;m=e().createElement(f,{key:v,breakAriaLabel:x,breakLabel:c,breakClassName:u,breakLinkClassName:l,breakHandler:r.handleBreakClick.bind(null,v),getEventListener:r.getEventListener}),b.push({type:"break",index:v,display:m})}}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:g(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,o=t.pageCount,i=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(o)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(o,"). Did you forget a Math.ceil()?")),void 0!==e&&e>o-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(e," > ").concat(o-1,").")),void 0!==i&&i>o-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(i," > ").concat(o-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,o=e.hrefAllControls;if(r)return o||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,o=n.pageClassName,i=n.pageLinkClassName,a=n.activeClassName,c=n.activeLinkClassName,l=n.extraAriaContext,s=n.pageLabelBuilder;return e().createElement(u,{key:t,pageSelectedHandler:this.handlePageSelected.bind(null,t),selected:r===t,rel:this.getElementPageRel(t),pageClassName:o,pageLinkClassName:i,activeClassName:a,activeLinkClassName:c,extraAriaContext:l,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,o=r.disabledLinkClassName,i=r.pageCount,a=r.className,c=r.containerClassName,u=r.previousLabel,l=r.previousClassName,s=r.previousLinkClassName,f=r.previousAriaLabel,d=r.prevRel,y=r.nextLabel,v=r.nextClassName,m=r.nextLinkClassName,g=r.nextAriaLabel,b=r.nextRel,w=this.state.selected,x=0===w,O=w===i-1,S="".concat(p(l)).concat(x?" ".concat(p(n)):""),j="".concat(p(v)).concat(O?" ".concat(p(n)):""),P="".concat(p(s)).concat(x?" ".concat(p(o)):""),A="".concat(p(m)).concat(O?" ".concat(p(o)):""),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",h({className:P,href:this.getElementHref(w-1),tabIndex:x?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":M,"aria-label":f,rel:d},this.getEventListener(this.handlePreviousPage)),u)),this.pagination(),e().createElement("li",{className:j},e().createElement("a",h({className:A,href:this.getElementHref(w+1),tabIndex:O?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k,"aria-label":g,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);g(b,"propTypes",{pageCount:i().number.isRequired,pageRangeDisplayed:i().number,marginPagesDisplayed:i().number,previousLabel:i().node,previousAriaLabel:i().string,prevPageRel:i().string,prevRel:i().string,nextLabel:i().node,nextAriaLabel:i().string,nextPageRel:i().string,nextRel:i().string,breakLabel:i().oneOfType([i().string,i().node]),breakAriaLabels:i().shape({forward:i().string,backward:i().string}),hrefBuilder:i().func,hrefAllControls:i().bool,onPageChange:i().func,onPageActive:i().func,onClick:i().func,initialPage:i().number,forcePage:i().number,disableInitialCallback:i().bool,containerClassName:i().string,className:i().string,pageClassName:i().string,pageLinkClassName:i().string,pageLabelBuilder:i().func,activeClassName:i().string,activeLinkClassName:i().string,previousClassName:i().string,nextClassName:i().string,previousLinkClassName:i().string,nextLinkClassName:i().string,disabledClassName:i().string,disabledLinkClassName:i().string,breakClassName:i().string,breakLinkClassName:i().string,extraAriaContext:i().string,ariaLabelBuilder:i().func,eventListener:i().string,renderOnZeroPageCount:i().func,selectedPageRel:i().string}),g(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})(),o})()))),ND.exports);const RD=n(Ze(BD)),$D=({totalRecords:t=0,recordsPerPage:r=10,pageRangeDisplayed:n=3,handlePageClick:o,forcePage:i,...a})=>{const c=Math.ceil(t/r);return e(v,{justifyContent:{base:"center",md:"flex-end"},fontSize:{base:14,md:18},gap:2,w:"full",...a,children:e(RD,{breakLabel:"...",previousLabel:"<",nextLabel:">",onPageChange:o,pageRangeDisplayed:n,pageCount:c,renderOnZeroPageCount:null,forcePage:i,display:{base:"flex"},alignItems:"center",gap:"inherit",disabledLinkClassName:"disabled-pagination",pageLinkClassName:"pagination-link",activeClassName:"active-page",previousClassName:"previous-page-button",nextClassName:"next-page-button",sx:{listStyleType:"none",".pagination-link:hover":{backgroundColor:"brand.700"},".previous-page-button a, .next-page-button a, .pagination-link":{backgroundColor:"brand.300",borderRadius:4,color:Pr.white()},".previous-page-button a, .next-page-button a":{minWidth:"2rem",display:"inline-block",textAlign:"center",paddingX:{base:2,lg:2.5}},".pagination-link":{minWidth:"2.5rem",display:"inline-block",textAlign:"center",paddingX:{base:2.5,lg:3}},".active-page a":{backgroundColor:"brand.500"},".disabled-pagination":{backgroundColor:"gray.300 !important",cursor:"not-allowed !important"}}})})},zD=({isLoading:r,hasMore:n,setLastEvaluatedKeyParams:o,lastEvaluatedKey:i,...a})=>{const[c,u]=it([]),[l,s]=it(1);return t(v,{w:"full",justifyContent:"flex-end",alignItems:"center",direction:"row",gap:4,...a,children:[e(h,{onClick:()=>{if(2===l)return o(void 0),u([]),void s((t=>t-1));const t=c.length-1,e=c[t-1];o(e),u((t=>t.slice(0,-1))),s((t=>t-1))},isDisabled:r||1===l,children:"Previous"}),e(h,{onClick:()=>{if(i){const t={lastEvaluatedPKey:i.pKey,lastEvaluatedSKey:i.sKey};o(t),u((e=>[...e,t])),s((t=>t+1))}},isDisabled:r||!n,children:"Next"})]})},HD=({children:t,isEnabled:r=!0,...n})=>{const o=r?ht`
18
32
  text-wrap: balance;
19
33
  text-wrap: pretty;
20
- `:void 0;return e(C,{css:i,...n,children:t})},GT=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=vr(i),y=u?u(l):void 0;return t(m,{isInvalid:Boolean(s),isDisabled:o,isReadOnly:a,isRequired:c,children:[p&&e(b,{size:i,children:p}),e(z,{icon:e(St,{}),size:i,...y,...h,children:n}),s&&e(x,{size:i,children:s}),f&&e(E,{fontSize:d,children:f})]})},ZT=yt({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),JT=({boxSize:t=8,color:r="brand",...n})=>{const i="neutral"===r?wr.sonicSilver():"brand.500";return e(v,{width:"full",justifyContent:"center",alignItems:"center",minHeight:Number.isFinite(Number(t))?3*Number(t):`calc(${t} * 3)`,...n,children:e(v,{width:t,height:t,animation:`${ZT} 2000ms infinite linear`,children:e(he,{boxSize:t,__css:{path:{fill:i}}})})})},QT=r=>{const{label:n,rightIcon:i,leftIcon:o,onClose:a,...c}=r,[l,u]=ot(!0);return l?t($,{className:"cf-tag",...c,children:[o&&e(H,{as:o}),e(V,{children:n}),i&&e(F,{as:i}),a&&e(U,{onClick:()=>{a(),u(!1)}})]}):null},tD=({description:r,title:n,onClose:i,isClosable:o,status:a})=>{let c,l;switch(a){case"error":l=vt;break;case"success":l=kt;break;case"warning":l=Yt,c="yellow";break;case"loading":c="brand",l=G;break;default:c="brand",l=Yt}return t(W,{as:v,colorScheme:c,justifyContent:"space-between",status:a,children:[t(v,{alignItems:"center",mr:"4",children:[e(q,{children:e(l,{size:"sm"})}),t(C,{children:[e(Y,{children:n}),e(X,{children:r})]})]}),o&&e(K,{onClick:i})]})},eD=({children:t,label:r})=>{const n=r?e(v,{padding:"1",flexDir:"column",gap:"2",lineHeight:"normal",fontSize:"sm",children:r}):null;return e(f,{label:n,hasArrow:!0,children:t})},rD=()=>{const t=u({ssr:!1}),e="base"===t||"sm"===t,r="md"===t,n="lg"===t||"xl"===t||"2xl"===t;return{breakpoint:t,isSmallBreakpoint:e,isMediumBreakpoint:r,isLargeBreakpoint:n,isAboveSmallBreakpoint:r||n,isBelowLargeBreakpoint:r||e}};export{j_ as CfAreaChart,A_ as CfBreakpointDebugger,P_ as CfButtonGroup,M_ as CfButtonGroupButton,k_ as CfCard,E_ as CfCarousel,C_ as CfCheckbox,__ as CfForm,U_ as CfInput,$T as CfInputArray,HT as CfLineChart,VT as CfModal,FT as CfNavLink,YT as CfOpenSearchPagination,XT as CfPagination,KT as CfPrettyWrap,GT as CfSelect,JT as CfSpinner,QT as CfTag,tD as CfToast,eD as CfTooltip,vt as IconAlert,be as IconAlgo,gt as IconArrowDown,mt as IconArrowUp,we as IconAvax,bt as IconBank,wt as IconBarChart,xe as IconBch,xt as IconBookCheck,Oe as IconBtc,Ot as IconCalendar,St as IconCaretDown,jt as IconCaretLeft,At as IconCaretRight,Pt as IconCaretUp,Mt as IconCent,kt as IconCheck,Et as IconChecking,Ct as IconCircleCheck,_t as IconClose,Tt as IconConnect,Dt as IconCopy,It as IconDollar,Nt as IconDollarBill,Lt as IconDownload,Bt as IconEdit,Rt as IconEnter,zt as IconEnterInverted,Se as IconEth,$t as IconExchange,Ht as IconFilter,Vt as IconHelp,Ft as IconHistory,Ut as IconHome,Wt as IconIndicatorDown,qt as IconIndicatorUp,Yt as IconInfo,je as IconLink,Xt as IconLock,Ae as IconLtc,Kt as IconMail,Gt as IconMenu,Zt as IconMinus,Pe as IconMkr,Jt as IconMore,Qt as IconNotification,te as IconOverview,ee as IconPercent,re as IconPieChart,ne as IconPlus,me as IconRefresh,ie as IconReports,oe as IconReservesSuccess,ae as IconReservesWarning,ce as IconSearch,le as IconSettings,ue as IconSettlement,se as IconSignIn,fe as IconSignOut,pe as IconSort,he as IconSpinner,de as IconSupport,ye as IconTrash,ve as IconUpload,ge as IconUser,Me as IconXlm,ke as IconXrp,Ke as aggregateAmounts,an as coreTheme,jr as dateFormats,or as dateToTimestamp,ar as formatPercentage,cn as formatPhoneNumber,dr as formatUsd,yr as getDelta,Sr as layoutMinWidth,mr as pullFromEnd,br as splitOnCapitals,wr as uiColors,Or as usdToNumber,rD as useCfBreakpoint,Ar as utcDateToLocal};
34
+ `:void 0;return e(C,{css:o,...n,children:t})},FD=r=>{const{children:n,size:o,isDisabled:i,isReadOnly:a,isRequired:c,name:u,register:l,errorMessage:s,helperText:f,label:p,...d}=r,h=wr(o),y=l?l(u):void 0;return t(g,{isInvalid:Boolean(s),isDisabled:i,isReadOnly:a,isRequired:c,children:[p&&e(b,{size:o,children:p}),e($,{icon:e(St,{}),size:o,...y,...d,children:n}),s&&e(x,{size:o,children:s}),f&&e(E,{fontSize:h,children:f})]})},VD=yt({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),UD=({boxSize:t=8,color:r="brand",...n})=>{const o="neutral"===r?Pr.sonicSilver():"brand.500";return e(v,{width:"full",justifyContent:"center",alignItems:"center",minHeight:Number.isFinite(Number(t))?3*Number(t):`calc(${t} * 3)`,...n,children:e(v,{width:t,height:t,animation:`${VD} 2000ms infinite linear`,children:e(de,{boxSize:t,__css:{path:{fill:o}}})})})},WD=r=>{const{label:n,rightIcon:o,leftIcon:i,onClose:a,...c}=r,[u,l]=it(!0);return u?t(z,{className:"cf-tag",...c,children:[i&&e(H,{as:i}),e(F,{children:n}),o&&e(V,{as:o}),a&&e(U,{onClick:()=>{a(),l(!1)}})]}):null},qD=({description:r,title:n,onClose:o,isClosable:i,status:a})=>{let c,u;switch(a){case"error":u=vt;break;case"success":u=kt;break;case"warning":u=Yt,c="yellow";break;case"loading":c="brand",u=G;break;default:c="brand",u=Yt}return t(W,{as:v,colorScheme:c,justifyContent:"space-between",status:a,children:[t(v,{alignItems:"center",mr:"4",children:[e(q,{children:e(u,{size:"sm"})}),t(C,{children:[e(Y,{children:n}),e(X,{children:r})]})]}),i&&e(K,{onClick:o})]})},YD=({children:t,label:r})=>{const n=r?e(v,{padding:"1",flexDir:"column",gap:"2",lineHeight:"normal",fontSize:"sm",children:r}):null;return e(f,{label:n,hasArrow:!0,children:t})},XD=()=>{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}};export{hT as CfAreaChart,yT as CfBreakpointDebugger,vT as CfButtonGroup,mT as CfButtonGroupButton,gT as CfCard,bT as CfCarousel,wT as CfCheckbox,xT as CfForm,IT as CfInput,CD as CfInputArray,_D as CfLineChart,TD as CfModal,DD as CfNavLink,$D as CfOpenSearchPagination,zD as CfPagination,HD as CfPrettyWrap,FD as CfSelect,UD as CfSpinner,WD as CfTag,qD as CfToast,YD as CfTooltip,vt as IconAlert,be as IconAlgo,mt as IconArrowDown,gt as IconArrowUp,we as IconAvax,bt as IconBank,wt as IconBarChart,xe as IconBch,xt as IconBookCheck,Oe as IconBtc,Ot as IconCalendar,St as IconCaretDown,jt as IconCaretLeft,Pt as IconCaretRight,At as IconCaretUp,Mt as IconCent,kt as IconCheck,Et as IconChecking,Ct as IconCircleCheck,_t as IconClose,Tt as IconConnect,Dt as IconCopy,It as IconDollar,Nt as IconDollarBill,Lt as IconDownload,Bt as IconEdit,Rt as IconEnter,$t as IconEnterInverted,Se as IconEth,zt as IconExchange,Ht as IconFilter,Ft as IconHelp,Vt as IconHistory,Ut as IconHome,Wt as IconIndicatorDown,qt as IconIndicatorUp,Yt as IconInfo,je as IconLink,Xt as IconLock,Pe as IconLtc,Kt as IconMail,Gt as IconMenu,Zt as IconMinus,Ae as IconMkr,Jt as IconMore,Qt as IconNotification,te as IconOverview,ee as IconPercent,re as IconPieChart,ne as IconPlus,ge as IconRefresh,oe as IconReports,ie as IconReservesSuccess,ae as IconReservesWarning,ce as IconSearch,ue as IconSettings,le as IconSettlement,se as IconSignIn,fe as IconSignOut,pe as IconSort,de as IconSpinner,he as IconSupport,ye as IconTrash,ve as IconUpload,me as IconUser,Me as IconXlm,ke as IconXrp,Ke as aggregateAmounts,fn as coreTheme,Er as dateFormats,lr as dateToTimestamp,sr as formatPercentage,pn as formatPhoneNumber,gr as formatUsd,br as getDelta,xr as isIframe,kr as layoutMinWidth,Sr as pullFromEnd,jr as splitOnCapitals,Pr as uiColors,Mr as usdToNumber,XD as useCfBreakpoint,Cr as utcDateToLocal};
21
35
  //# sourceMappingURL=index.js.map