import{r as F,c as Ha,g as le,R as P}from"./vendor-ChGFRQAq.js";/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var wg={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Og=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),E=(e,t)=>{const r=F.forwardRef(({color:n="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:u="",children:c,...s},f)=>F.createElement("svg",{ref:f,...wg,width:a,height:a,stroke:n,strokeWidth:o?Number(i)*24/Number(a):i,className:["lucide",`lucide-${Og(e)}`,u].join(" "),...s},[...t.map(([l,h])=>F.createElement(l,h)),...Array.isArray(c)?c:[c]]));return r.displayName=`${e}`,r};/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const H7=E("Activity",[["path",{d:"M22 12h-4l-3 9L9 3l-3 9H2",key:"d5dnw9"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const q7=E("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const K7=E("AlertOctagon",[["polygon",{points:"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2",key:"h1p8hx"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const V7=E("AlertTriangle",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"c3ski4"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const G7=E("AlignLeft",[["line",{x1:"21",x2:"3",y1:"6",y2:"6",key:"1fp77t"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}],["line",{x1:"17",x2:"3",y1:"18",y2:"18",key:"1awlsn"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Y7=E("Aperture",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m14.31 8 5.74 9.94",key:"1y6ab4"}],["path",{d:"M9.69 8h11.48",key:"1wxppr"}],["path",{d:"m7.38 12 5.74-9.94",key:"1grp0k"}],["path",{d:"M9.69 16 3.95 6.06",key:"libnyf"}],["path",{d:"M14.31 16H2.83",key:"x5fava"}],["path",{d:"m16.62 12-5.74 9.94",key:"1vwawt"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const X7=E("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Z7=E("ArrowDownRight",[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const J7=E("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Q7=E("ArrowLeftRight",[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const eB=E("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const tB=E("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const rB=E("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nB=E("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const aB=E("Award",[["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}],["path",{d:"M15.477 12.89 17 22l-5-3-5 3 1.523-9.11",key:"em7aur"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const iB=E("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const oB=E("Banknote",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const uB=E("BarChart2",[["line",{x1:"18",x2:"18",y1:"20",y2:"10",key:"1xfpm4"}],["line",{x1:"12",x2:"12",y1:"20",y2:"4",key:"be30l9"}],["line",{x1:"6",x2:"6",y1:"20",y2:"14",key:"1r4le6"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const cB=E("BarChart3",[["path",{d:"M3 3v18h18",key:"1s2lah"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sB=E("BarChart",[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const lB=E("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const fB=E("BookMarked",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}],["polyline",{points:"10 2 10 10 13 7 16 10 16 2",key:"13o6vz"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const hB=E("BookOpen",[["path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z",key:"vv98re"}],["path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z",key:"1cyq3y"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const pB=E("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const dB=E("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yB=E("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const vB=E("Braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mB=E("Briefcase",[["rect",{width:"20",height:"14",x:"2",y:"7",rx:"2",ry:"2",key:"eto64e"}],["path",{d:"M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"zwj3tp"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const gB=E("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const bB=E("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xB=E("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const wB=E("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const OB=E("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const AB=E("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const PB=E("CheckCircle2",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const SB=E("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _B=E("CheckSquare",[["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}],["path",{d:"M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11",key:"1jnkn4"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $B=E("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const kB=E("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const TB=E("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const EB=E("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const MB=E("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jB=E("CircleDot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const CB=E("CircleUser",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const IB=E("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const DB=E("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const RB=E("ClipboardList",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const NB=E("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const LB=E("Command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const BB=E("Compass",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76",key:"m9r19z"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zB=E("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const FB=E("Cpu",[["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"9",y:"9",width:"6",height:"6",key:"o3kz5p"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const WB=E("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const UB=E("Crop",[["path",{d:"M6 2v14a2 2 0 0 0 2 2h14",key:"ron5a4"}],["path",{d:"M18 22V8a2 2 0 0 0-2-2H2",key:"7s9ehn"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const HB=E("DatabaseZap",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 15 21.84",key:"14ibmq"}],["path",{d:"M21 5V8",key:"1marbg"}],["path",{d:"M21 12L18 17H22L19 22",key:"zafso"}],["path",{d:"M3 12A9 3 0 0 0 14.59 14.87",key:"1y4wr8"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qB=E("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const KB=E("Disc",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const VB=E("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const GB=E("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const YB=E("Droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const XB=E("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ZB=E("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const JB=E("Factory",[["path",{d:"M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"159hny"}],["path",{d:"M17 18h1",key:"uldtlt"}],["path",{d:"M12 18h1",key:"s9uhes"}],["path",{d:"M7 18h1",key:"1neino"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const QB=E("FileImage",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const e9=E("FileMinus",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const t9=E("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const r9=E("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const n9=E("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const a9=E("Fingerprint",[["path",{d:"M2 12C2 6.5 6.5 2 12 2a10 10 0 0 1 8 4",key:"1jc9o5"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12c0-.7.12-1.37.34-2",key:"1mxgy1"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2c0 .47 0 1.17-.02 2",key:"1fgabc"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const i9=E("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const o9=E("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const u9=E("HelpCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const c9=E("Hexagon",[["path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z",key:"yt0hxn"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const s9=E("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const l9=E("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const f9=E("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const h9=E("Inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const p9=E("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const d9=E("Keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const y9=E("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const v9=E("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const m9=E("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const g9=E("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const b9=E("List",[["line",{x1:"8",x2:"21",y1:"6",y2:"6",key:"7ey8pc"}],["line",{x1:"8",x2:"21",y1:"12",y2:"12",key:"rjfblc"}],["line",{x1:"8",x2:"21",y1:"18",y2:"18",key:"c3b1m8"}],["line",{x1:"3",x2:"3.01",y1:"6",y2:"6",key:"1g7gq3"}],["line",{x1:"3",x2:"3.01",y1:"12",y2:"12",key:"1pjlvk"}],["line",{x1:"3",x2:"3.01",y1:"18",y2:"18",key:"28t2mc"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const x9=E("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const w9=E("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const O9=E("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const A9=E("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const P9=E("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const S9=E("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _9=E("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $9=E("Maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const k9=E("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const T9=E("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const E9=E("Minimize",[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const M9=E("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const j9=E("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const C9=E("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const I9=E("MoreHorizontal",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const D9=E("MoreVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const R9=E("PackageCheck",[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const N9=E("PackagePlus",[["path",{d:"M16 16h6",key:"100bgy"}],["path",{d:"M19 13v6",key:"85cyf1"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const L9=E("PackageSearch",[["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}],["circle",{cx:"18.5",cy:"15.5",r:"2.5",key:"b5zd12"}],["path",{d:"M20.27 17.27 22 19",key:"1l4muz"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const B9=E("Package",[["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const z9=E("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const F9=E("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const W9=E("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const U9=E("PanelsTopLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const H9=E("PenTool",[["path",{d:"m12 19 7-7 3 3-7 7-3-3z",key:"rklqx2"}],["path",{d:"m18 13-1.5-7.5L2 2l3.5 14.5L13 18l5-5z",key:"1et58u"}],["path",{d:"m2 2 7.586 7.586",key:"etlp93"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const q9=E("Pen",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const K9=E("Pencil",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const V9=E("Percent",[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const G9=E("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Y9=E("PieChart",[["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}],["path",{d:"M22 12A10 10 0 0 0 12 2v10z",key:"1rfc4y"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const X9=E("Pipette",[["path",{d:"m2 22 1-1h3l9-9",key:"1sre89"}],["path",{d:"M3 21v-3l9-9",key:"hpe2y6"}],["path",{d:"m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z",key:"196du1"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Z9=E("PlayCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const J9=E("Play",[["polygon",{points:"5 3 19 12 5 21 5 3",key:"191637"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Q9=E("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ez=E("PlusCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const tz=E("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const rz=E("Printer",[["polyline",{points:"6 9 6 2 18 2 18 9",key:"1306q4"}],["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["rect",{width:"12",height:"8",x:"6",y:"14",key:"5ipwut"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nz=E("QrCode",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const az=E("Receipt",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const iz=E("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const oz=E("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const uz=E("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const cz=E("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sz=E("Ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const lz=E("Save",[["path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z",key:"1owoqh"}],["polyline",{points:"17 21 17 13 7 13 7 21",key:"1md35c"}],["polyline",{points:"7 3 7 8 15 8",key:"8nz8an"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const fz=E("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const hz=E("Scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const pz=E("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const dz=E("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yz=E("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const vz=E("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mz=E("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const gz=E("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const bz=E("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xz=E("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const wz=E("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Oz=E("Sparkles",[["path",{d:"m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z",key:"17u4zn"}],["path",{d:"M5 3v4",key:"bklmnn"}],["path",{d:"M19 17v4",key:"iiml17"}],["path",{d:"M3 5h4",key:"nem4j1"}],["path",{d:"M17 19h4",key:"lbex7p"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Az=E("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z",key:"1lpok0"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Pz=E("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Sz=E("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _z=E("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $z=E("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const kz=E("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Tz=E("TimerOff",[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M4.6 11a8 8 0 0 0 1.7 8.7 8 8 0 0 0 8.7 1.7",key:"10he05"}],["path",{d:"M7.4 7.4a8 8 0 0 1 10.3 1 8 8 0 0 1 .9 10.2",key:"15f7sh"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M12 12v-2",key:"fwoke6"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ez=E("Timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Mz=E("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jz=E("Trello",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["rect",{width:"3",height:"9",x:"7",y:"7",key:"14n3xi"}],["rect",{width:"3",height:"5",x:"14",y:"7",key:"s4azjd"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Cz=E("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Iz=E("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dz=E("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Rz=E("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Nz=E("Type",[["polyline",{points:"4 7 4 4 20 4 20 7",key:"1nosan"}],["line",{x1:"9",x2:"15",y1:"20",y2:"20",key:"swin9y"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Lz=E("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5v0a5.5 5.5 0 0 1-5.5 5.5H11",key:"llx8ln"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Bz=E("UploadCloud",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M12 12v9",key:"192myk"}],["path",{d:"m16 16-4-4-4 4",key:"119tzi"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zz=E("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Fz=E("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Wz=E("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Uz=E("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Hz=E("Wallet",[["path",{d:"M21 12V7H5a2 2 0 0 1 0-4h14v4",key:"195gfw"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h16v-5",key:"195n9w"}],["path",{d:"M18 12a2 2 0 0 0 0 4h4v-4Z",key:"vllfpd"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qz=E("Warehouse",[["path",{d:"M22 8.35V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8.35A2 2 0 0 1 3.26 6.5l8-3.2a2 2 0 0 1 1.48 0l8 3.2A2 2 0 0 1 22 8.35Z",key:"gksnxg"}],["path",{d:"M6 18h12",key:"9pbo8z"}],["path",{d:"M6 14h12",key:"4cwo0f"}],["rect",{width:"12",height:"12",x:"6",y:"10",key:"apd30q"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Kz=E("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Vz=E("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Gz=E("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Yz=E("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Xz=E("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Zz=E("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Jz=E("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);function Od(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=Od(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Q(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=Od(e))&&(n&&(n+=" "),n+=t);return n}var Ag=Array.isArray,He=Ag,Pg=typeof Ha=="object"&&Ha&&Ha.Object===Object&&Ha,Ad=Pg,Sg=Ad,_g=typeof self=="object"&&self&&self.Object===Object&&self,$g=Sg||_g||Function("return this")(),gt=$g,kg=gt,Tg=kg.Symbol,Ma=Tg,dl=Ma,Pd=Object.prototype,Eg=Pd.hasOwnProperty,Mg=Pd.toString,Mn=dl?dl.toStringTag:void 0;function jg(e){var t=Eg.call(e,Mn),r=e[Mn];try{e[Mn]=void 0;var n=!0}catch{}var a=Mg.call(e);return n&&(t?e[Mn]=r:delete e[Mn]),a}var Cg=jg,Ig=Object.prototype,Dg=Ig.toString;function Rg(e){return Dg.call(e)}var Ng=Rg,yl=Ma,Lg=Cg,Bg=Ng,zg="[object Null]",Fg="[object Undefined]",vl=yl?yl.toStringTag:void 0;function Wg(e){return e==null?e===void 0?Fg:zg:vl&&vl in Object(e)?Lg(e):Bg(e)}var It=Wg;function Ug(e){return e!=null&&typeof e=="object"}var Dt=Ug,Hg=It,qg=Dt,Kg="[object Symbol]";function Vg(e){return typeof e=="symbol"||qg(e)&&Hg(e)==Kg}var vn=Vg,Gg=He,Yg=vn,Xg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zg=/^\w*$/;function Jg(e,t){if(Gg(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Yg(e)?!0:Zg.test(e)||!Xg.test(e)||t!=null&&e in Object(t)}var os=Jg;function Qg(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Kt=Qg;const mn=le(Kt);var e0=It,t0=Kt,r0="[object AsyncFunction]",n0="[object Function]",a0="[object GeneratorFunction]",i0="[object Proxy]";function o0(e){if(!t0(e))return!1;var t=e0(e);return t==n0||t==a0||t==r0||t==i0}var us=o0;const X=le(us);var u0=gt,c0=u0["__core-js_shared__"],s0=c0,Jo=s0,ml=function(){var e=/[^.]+$/.exec(Jo&&Jo.keys&&Jo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function l0(e){return!!ml&&ml in e}var f0=l0,h0=Function.prototype,p0=h0.toString;function d0(e){if(e!=null){try{return p0.call(e)}catch{}try{return e+""}catch{}}return""}var Sd=d0,y0=us,v0=f0,m0=Kt,g0=Sd,b0=/[\\^$.*+?()[\]{}|]/g,x0=/^\[object .+?Constructor\]$/,w0=Function.prototype,O0=Object.prototype,A0=w0.toString,P0=O0.hasOwnProperty,S0=RegExp("^"+A0.call(P0).replace(b0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _0(e){if(!m0(e)||v0(e))return!1;var t=y0(e)?S0:x0;return t.test(g0(e))}var $0=_0;function k0(e,t){return e==null?void 0:e[t]}var T0=k0,E0=$0,M0=T0;function j0(e,t){var r=M0(e,t);return E0(r)?r:void 0}var br=j0,C0=br,I0=C0(Object,"create"),yo=I0,gl=yo;function D0(){this.__data__=gl?gl(null):{},this.size=0}var R0=D0;function N0(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var L0=N0,B0=yo,z0="__lodash_hash_undefined__",F0=Object.prototype,W0=F0.hasOwnProperty;function U0(e){var t=this.__data__;if(B0){var r=t[e];return r===z0?void 0:r}return W0.call(t,e)?t[e]:void 0}var H0=U0,q0=yo,K0=Object.prototype,V0=K0.hasOwnProperty;function G0(e){var t=this.__data__;return q0?t[e]!==void 0:V0.call(t,e)}var Y0=G0,X0=yo,Z0="__lodash_hash_undefined__";function J0(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=X0&&t===void 0?Z0:t,this}var Q0=J0,eb=R0,tb=L0,rb=H0,nb=Y0,ab=Q0;function gn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}gn.prototype.clear=eb;gn.prototype.delete=tb;gn.prototype.get=rb;gn.prototype.has=nb;gn.prototype.set=ab;var ib=gn;function ob(){this.__data__=[],this.size=0}var ub=ob;function cb(e,t){return e===t||e!==e&&t!==t}var cs=cb,sb=cs;function lb(e,t){for(var r=e.length;r--;)if(sb(e[r][0],t))return r;return-1}var vo=lb,fb=vo,hb=Array.prototype,pb=hb.splice;function db(e){var t=this.__data__,r=fb(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():pb.call(t,r,1),--this.size,!0}var yb=db,vb=vo;function mb(e){var t=this.__data__,r=vb(t,e);return r<0?void 0:t[r][1]}var gb=mb,bb=vo;function xb(e){return bb(this.__data__,e)>-1}var wb=xb,Ob=vo;function Ab(e,t){var r=this.__data__,n=Ob(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Pb=Ab,Sb=ub,_b=yb,$b=gb,kb=wb,Tb=Pb;function bn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}bn.prototype.clear=Sb;bn.prototype.delete=_b;bn.prototype.get=$b;bn.prototype.has=kb;bn.prototype.set=Tb;var mo=bn,Eb=br,Mb=gt,jb=Eb(Mb,"Map"),ss=jb,bl=ib,Cb=mo,Ib=ss;function Db(){this.size=0,this.__data__={hash:new bl,map:new(Ib||Cb),string:new bl}}var Rb=Db;function Nb(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Lb=Nb,Bb=Lb;function zb(e,t){var r=e.__data__;return Bb(t)?r[typeof t=="string"?"string":"hash"]:r.map}var go=zb,Fb=go;function Wb(e){var t=Fb(this,e).delete(e);return this.size-=t?1:0,t}var Ub=Wb,Hb=go;function qb(e){return Hb(this,e).get(e)}var Kb=qb,Vb=go;function Gb(e){return Vb(this,e).has(e)}var Yb=Gb,Xb=go;function Zb(e,t){var r=Xb(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var Jb=Zb,Qb=Rb,e1=Ub,t1=Kb,r1=Yb,n1=Jb;function xn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}xn.prototype.clear=Qb;xn.prototype.delete=e1;xn.prototype.get=t1;xn.prototype.has=r1;xn.prototype.set=n1;var ls=xn,_d=ls,a1="Expected a function";function fs(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(a1);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(fs.Cache||_d),r}fs.Cache=_d;var $d=fs;const i1=le($d);var o1=$d,u1=500;function c1(e){var t=o1(e,function(n){return r.size===u1&&r.clear(),n}),r=t.cache;return t}var s1=c1,l1=s1,f1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h1=/\\(\\)?/g,p1=l1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(f1,function(r,n,a,i){t.push(a?i.replace(h1,"$1"):n||r)}),t}),d1=p1;function y1(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var hs=y1,xl=Ma,v1=hs,m1=He,g1=vn,wl=xl?xl.prototype:void 0,Ol=wl?wl.toString:void 0;function kd(e){if(typeof e=="string")return e;if(m1(e))return v1(e,kd)+"";if(g1(e))return Ol?Ol.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var b1=kd,x1=b1;function w1(e){return e==null?"":x1(e)}var Td=w1,O1=He,A1=os,P1=d1,S1=Td;function _1(e,t){return O1(e)?e:A1(e,t)?[e]:P1(S1(e))}var Ed=_1,$1=vn;function k1(e){if(typeof e=="string"||$1(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var bo=k1,T1=Ed,E1=bo;function M1(e,t){t=T1(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[E1(t[r++])];return r&&r==n?e:void 0}var ps=M1,j1=ps;function C1(e,t,r){var n=e==null?void 0:j1(e,t);return n===void 0?r:n}var Md=C1;const Ye=le(Md);function I1(e){return e==null}var D1=I1;const J=le(D1);var R1=It,N1=He,L1=Dt,B1="[object String]";function z1(e){return typeof e=="string"||!N1(e)&&L1(e)&&R1(e)==B1}var F1=z1;const pr=le(F1);var jd={exports:{}},ce={};/**
 * @license React
 * react-is.development.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),o=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),l=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),y=!1,v=!1,d=!1,g=!1,x=!1,w;w=Symbol.for("react.module.reference");function O(H){return!!(typeof H=="string"||typeof H=="function"||H===r||H===a||x||H===n||H===s||H===f||g||H===p||y||v||d||typeof H=="object"&&H!==null&&(H.$$typeof===h||H.$$typeof===l||H.$$typeof===i||H.$$typeof===o||H.$$typeof===c||H.$$typeof===w||H.getModuleId!==void 0))}function m(H){if(typeof H=="object"&&H!==null){var de=H.$$typeof;switch(de){case e:var xe=H.type;switch(xe){case r:case a:case n:case s:case f:return xe;default:var De=xe&&xe.$$typeof;switch(De){case u:case o:case c:case h:case l:case i:return De;default:return de}}case t:return de}}}var b=o,A=i,S=e,$=c,I=r,T=h,M=l,_=t,k=a,j=n,C=s,R=f,B=!1,L=!1;function W(H){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function q(H){return L||(L=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function z(H){return m(H)===o}function K(H){return m(H)===i}function re(H){return typeof H=="object"&&H!==null&&H.$$typeof===e}function ae(H){return m(H)===c}function be(H){return m(H)===r}function it(H){return m(H)===h}function Me(H){return m(H)===l}function V(H){return m(H)===t}function ee(H){return m(H)===a}function te(H){return m(H)===n}function D(H){return m(H)===s}function fe(H){return m(H)===f}ce.ContextConsumer=b,ce.ContextProvider=A,ce.Element=S,ce.ForwardRef=$,ce.Fragment=I,ce.Lazy=T,ce.Memo=M,ce.Portal=_,ce.Profiler=k,ce.StrictMode=j,ce.Suspense=C,ce.SuspenseList=R,ce.isAsyncMode=W,ce.isConcurrentMode=q,ce.isContextConsumer=z,ce.isContextProvider=K,ce.isElement=re,ce.isForwardRef=ae,ce.isFragment=be,ce.isLazy=it,ce.isMemo=Me,ce.isPortal=V,ce.isProfiler=ee,ce.isStrictMode=te,ce.isSuspense=D,ce.isSuspenseList=fe,ce.isValidElementType=O,ce.typeOf=m})();jd.exports=ce;var W1=jd.exports,U1=It,H1=Dt,q1="[object Number]";function K1(e){return typeof e=="number"||H1(e)&&U1(e)==q1}var Cd=K1;const V1=le(Cd);var G1=Cd;function Y1(e){return G1(e)&&e!=+e}var X1=Y1;const wn=le(X1);var ze=function(t){return t===0?0:t>0?1:-1},ir=function(t){return pr(t)&&t.indexOf("%")===t.length-1},U=function(t){return V1(t)&&!wn(t)},Z1=function(t){return J(t)},Te=function(t){return U(t)||pr(t)},J1=0,xr=function(t){var r=++J1;return"".concat(t||"").concat(r)},Fe=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!U(t)&&!pr(t))return n;var i;if(ir(t)){var o=t.indexOf("%");i=r*parseFloat(t.slice(0,o))/100}else i=+t;return wn(i)&&(i=n),a&&i>r&&(i=r),i},Ft=function(t){if(!t)return null;var r=Object.keys(t);return r&&r.length?t[r[0]]:null},Q1=function(t){if(!Array.isArray(t))return!1;for(var r=t.length,n={},a=0;a<r;a++)if(!n[t[a]])n[t[a]]=!0;else return!0;return!1},Oe=function(t,r){return U(t)&&U(r)?function(n){return t+n*(r-t)}:function(){return r}};function ui(e,t,r){return!e||!e.length?null:e.find(function(n){return n&&(typeof t=="function"?t(n):Ye(n,t))===r})}var e2=function(t,r){return U(t)&&U(r)?t-r:pr(t)&&pr(r)?t.localeCompare(r):t instanceof Date&&r instanceof Date?t.getTime()-r.getTime():String(t).localeCompare(String(r))};function Nr(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function ku(e){"@babel/helpers - typeof";return ku=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ku(e)}var t2=["viewBox","children"],r2=["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"],Al=["points","pathLength"],Qo={svg:t2,polygon:Al,polyline:Al},ds=["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"],ci=function(t,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var n=t;if(F.isValidElement(t)&&(n=t.props),!mn(n))return null;var a={};return Object.keys(n).forEach(function(i){ds.includes(i)&&(a[i]=r||function(o){return n[i](n,o)})}),a},n2=function(t,r,n){return function(a){return t(r,n,a),null}},dr=function(t,r,n){if(!mn(t)||ku(t)!=="object")return null;var a=null;return Object.keys(t).forEach(function(i){var o=t[i];ds.includes(i)&&typeof o=="function"&&(a||(a={}),a[i]=n2(o,r,n))}),a},a2=["children"],i2=["children"];function Pl(e,t){if(e==null)return{};var r=o2(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function o2(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Tu(e){"@babel/helpers - typeof";return Tu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tu(e)}var Sl={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},kt=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},_l=null,eu=null,ys=function e(t){if(t===_l&&Array.isArray(eu))return eu;var r=[];return F.Children.forEach(t,function(n){J(n)||(W1.isFragment(n)?r=r.concat(e(n.props.children)):r.push(n))}),eu=r,_l=t,r};function Xe(e,t){var r=[],n=[];return Array.isArray(t)?n=t.map(function(a){return kt(a)}):n=[kt(t)],ys(e).forEach(function(a){var i=Ye(a,"type.displayName")||Ye(a,"type.name");n.indexOf(i)!==-1&&r.push(a)}),r}function Ve(e,t){var r=Xe(e,t);return r&&r[0]}var $l=function(t){if(!t||!t.props)return!1;var r=t.props,n=r.width,a=r.height;return!(!U(n)||n<=0||!U(a)||a<=0)},u2=["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"],c2=function(t){return t&&t.type&&pr(t.type)&&u2.indexOf(t.type)>=0},Id=function(t){return t&&Tu(t)==="object"&&"clipDot"in t},s2=function(t,r,n,a){var i,o=(i=Qo==null?void 0:Qo[a])!==null&&i!==void 0?i:[];return r.startsWith("data-")||!X(t)&&(a&&o.includes(r)||r2.includes(r))||n&&ds.includes(r)},Y=function(t,r,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var a=t;if(F.isValidElement(t)&&(a=t.props),!mn(a))return null;var i={};return Object.keys(a).forEach(function(o){var u;s2((u=a)===null||u===void 0?void 0:u[o],o,r,n)&&(i[o]=a[o])}),i},Eu=function e(t,r){if(t===r)return!0;var n=F.Children.count(t);if(n!==F.Children.count(r))return!1;if(n===0)return!0;if(n===1)return kl(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var a=0;a<n;a++){var i=t[a],o=r[a];if(Array.isArray(i)||Array.isArray(o)){if(!e(i,o))return!1}else if(!kl(i,o))return!1}return!0},kl=function(t,r){if(J(t)&&J(r))return!0;if(!J(t)&&!J(r)){var n=t.props||{},a=n.children,i=Pl(n,a2),o=r.props||{},u=o.children,c=Pl(o,i2);return a&&u?Nr(i,c)&&Eu(a,u):!a&&!u?Nr(i,c):!1}return!1},Tl=function(t,r){var n=[],a={};return ys(t).forEach(function(i,o){if(c2(i))n.push(i);else if(i){var u=kt(i.type),c=r[u]||{},s=c.handler,f=c.once;if(s&&(!f||!a[u])){var l=s(i,u,o);n.push(l),a[u]=!0}}}),n},l2=function(t){var r=t&&t.type;return r&&Sl[r]?Sl[r]:null},f2=function(t,r){return ys(r).indexOf(t)},h2=["children","width","height","viewBox","className","style","title","desc"];function Mu(){return Mu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mu.apply(this,arguments)}function p2(e,t){if(e==null)return{};var r=d2(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function d2(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function ju(e){var t=e.children,r=e.width,n=e.height,a=e.viewBox,i=e.className,o=e.style,u=e.title,c=e.desc,s=p2(e,h2),f=a||{width:r,height:n,x:0,y:0},l=Q("recharts-surface",i);return P.createElement("svg",Mu({},Y(s,!0,"svg"),{className:l,width:r,height:n,style:o,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height)}),P.createElement("title",null,u),P.createElement("desc",null,c),t)}var y2=["children","className"];function Cu(){return Cu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Cu.apply(this,arguments)}function v2(e,t){if(e==null)return{};var r=m2(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function m2(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var ne=P.forwardRef(function(e,t){var r=e.children,n=e.className,a=v2(e,y2),i=Q("recharts-layer",n);return P.createElement("g",Cu({className:i},Y(a,!0),{ref:t}),r)}),lt=function(t,r){for(var n=arguments.length,a=new Array(n>2?n-2:0),i=2;i<n;i++)a[i-2]=arguments[i];if(typeof console<"u"&&console.warn&&(r===void 0&&console.warn("LogUtils requires an error message argument"),!t))if(r===void 0)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(r.replace(/%s/g,function(){return a[o++]}))}};function g2(e,t,r){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),r=r>a?a:r,r<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(a);++n<a;)i[n]=e[n+t];return i}var b2=g2,x2=b2;function w2(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:x2(e,t,r)}var O2=w2,A2="\\ud800-\\udfff",P2="\\u0300-\\u036f",S2="\\ufe20-\\ufe2f",_2="\\u20d0-\\u20ff",$2=P2+S2+_2,k2="\\ufe0e\\ufe0f",T2="\\u200d",E2=RegExp("["+T2+A2+$2+k2+"]");function M2(e){return E2.test(e)}var Dd=M2;function j2(e){return e.split("")}var C2=j2,Rd="\\ud800-\\udfff",I2="\\u0300-\\u036f",D2="\\ufe20-\\ufe2f",R2="\\u20d0-\\u20ff",N2=I2+D2+R2,L2="\\ufe0e\\ufe0f",B2="["+Rd+"]",Iu="["+N2+"]",Du="\\ud83c[\\udffb-\\udfff]",z2="(?:"+Iu+"|"+Du+")",Nd="[^"+Rd+"]",Ld="(?:\\ud83c[\\udde6-\\uddff]){2}",Bd="[\\ud800-\\udbff][\\udc00-\\udfff]",F2="\\u200d",zd=z2+"?",Fd="["+L2+"]?",W2="(?:"+F2+"(?:"+[Nd,Ld,Bd].join("|")+")"+Fd+zd+")*",U2=Fd+zd+W2,H2="(?:"+[Nd+Iu+"?",Iu,Ld,Bd,B2].join("|")+")",q2=RegExp(Du+"(?="+Du+")|"+H2+U2,"g");function K2(e){return e.match(q2)||[]}var V2=K2,G2=C2,Y2=Dd,X2=V2;function Z2(e){return Y2(e)?X2(e):G2(e)}var J2=Z2,Q2=O2,ex=Dd,tx=J2,rx=Td;function nx(e){return function(t){t=rx(t);var r=ex(t)?tx(t):void 0,n=r?r[0]:t.charAt(0),a=r?Q2(r,1).join(""):t.slice(1);return n[e]()+a}}var ax=nx,ix=ax,ox=ix("toUpperCase"),ux=ox;const xo=le(ux);function ve(e){return function(){return e}}const Wd=Math.cos,si=Math.sin,ht=Math.sqrt,li=Math.PI,wo=2*li,Ru=Math.PI,Nu=2*Ru,tr=1e-6,cx=Nu-tr;function Ud(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function sx(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Ud;const r=10**t;return function(n){this._+=n[0];for(let a=1,i=n.length;a<i;++a)this._+=Math.round(arguments[a]*r)/r+n[a]}}class lx{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?Ud:sx(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,a){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+a}`}bezierCurveTo(t,r,n,a,i,o){this._append`C${+t},${+r},${+n},${+a},${this._x1=+i},${this._y1=+o}`}arcTo(t,r,n,a,i){if(t=+t,r=+r,n=+n,a=+a,i=+i,i<0)throw new Error(`negative radius: ${i}`);let o=this._x1,u=this._y1,c=n-t,s=a-r,f=o-t,l=u-r,h=f*f+l*l;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(h>tr)if(!(Math.abs(l*c-s*f)>tr)||!i)this._append`L${this._x1=t},${this._y1=r}`;else{let p=n-o,y=a-u,v=c*c+s*s,d=p*p+y*y,g=Math.sqrt(v),x=Math.sqrt(h),w=i*Math.tan((Ru-Math.acos((v+h-d)/(2*g*x)))/2),O=w/x,m=w/g;Math.abs(O-1)>tr&&this._append`L${t+O*f},${r+O*l}`,this._append`A${i},${i},0,0,${+(l*p>f*y)},${this._x1=t+m*c},${this._y1=r+m*s}`}}arc(t,r,n,a,i,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(a),c=n*Math.sin(a),s=t+u,f=r+c,l=1^o,h=o?a-i:i-a;this._x1===null?this._append`M${s},${f}`:(Math.abs(this._x1-s)>tr||Math.abs(this._y1-f)>tr)&&this._append`L${s},${f}`,n&&(h<0&&(h=h%Nu+Nu),h>cx?this._append`A${n},${n},0,1,${l},${t-u},${r-c}A${n},${n},0,1,${l},${this._x1=s},${this._y1=f}`:h>tr&&this._append`A${n},${n},0,${+(h>=Ru)},${l},${this._x1=t+n*Math.cos(i)},${this._y1=r+n*Math.sin(i)}`)}rect(t,r,n,a){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+a}h${-n}Z`}toString(){return this._}}function vs(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new lx(t)}function ms(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Hd(e){this._context=e}Hd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function Oo(e){return new Hd(e)}function qd(e){return e[0]}function Kd(e){return e[1]}function Vd(e,t){var r=ve(!0),n=null,a=Oo,i=null,o=vs(u);e=typeof e=="function"?e:e===void 0?qd:ve(e),t=typeof t=="function"?t:t===void 0?Kd:ve(t);function u(c){var s,f=(c=ms(c)).length,l,h=!1,p;for(n==null&&(i=a(p=o())),s=0;s<=f;++s)!(s<f&&r(l=c[s],s,c))===h&&((h=!h)?i.lineStart():i.lineEnd()),h&&i.point(+e(l,s,c),+t(l,s,c));if(p)return i=null,p+""||null}return u.x=function(c){return arguments.length?(e=typeof c=="function"?c:ve(+c),u):e},u.y=function(c){return arguments.length?(t=typeof c=="function"?c:ve(+c),u):t},u.defined=function(c){return arguments.length?(r=typeof c=="function"?c:ve(!!c),u):r},u.curve=function(c){return arguments.length?(a=c,n!=null&&(i=a(n)),u):a},u.context=function(c){return arguments.length?(c==null?n=i=null:i=a(n=c),u):n},u}function qa(e,t,r){var n=null,a=ve(!0),i=null,o=Oo,u=null,c=vs(s);e=typeof e=="function"?e:e===void 0?qd:ve(+e),t=typeof t=="function"?t:ve(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?Kd:ve(+r);function s(l){var h,p,y,v=(l=ms(l)).length,d,g=!1,x,w=new Array(v),O=new Array(v);for(i==null&&(u=o(x=c())),h=0;h<=v;++h){if(!(h<v&&a(d=l[h],h,l))===g)if(g=!g)p=h,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),y=h-1;y>=p;--y)u.point(w[y],O[y]);u.lineEnd(),u.areaEnd()}g&&(w[h]=+e(d,h,l),O[h]=+t(d,h,l),u.point(n?+n(d,h,l):w[h],r?+r(d,h,l):O[h]))}if(x)return u=null,x+""||null}function f(){return Vd().defined(a).curve(o).context(i)}return s.x=function(l){return arguments.length?(e=typeof l=="function"?l:ve(+l),n=null,s):e},s.x0=function(l){return arguments.length?(e=typeof l=="function"?l:ve(+l),s):e},s.x1=function(l){return arguments.length?(n=l==null?null:typeof l=="function"?l:ve(+l),s):n},s.y=function(l){return arguments.length?(t=typeof l=="function"?l:ve(+l),r=null,s):t},s.y0=function(l){return arguments.length?(t=typeof l=="function"?l:ve(+l),s):t},s.y1=function(l){return arguments.length?(r=l==null?null:typeof l=="function"?l:ve(+l),s):r},s.lineX0=s.lineY0=function(){return f().x(e).y(t)},s.lineY1=function(){return f().x(e).y(r)},s.lineX1=function(){return f().x(n).y(t)},s.defined=function(l){return arguments.length?(a=typeof l=="function"?l:ve(!!l),s):a},s.curve=function(l){return arguments.length?(o=l,i!=null&&(u=o(i)),s):o},s.context=function(l){return arguments.length?(l==null?i=u=null:u=o(i=l),s):i},s}class Gd{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function fx(e){return new Gd(e,!0)}function hx(e){return new Gd(e,!1)}const gs={draw(e,t){const r=ht(t/li);e.moveTo(r,0),e.arc(0,0,r,0,wo)}},px={draw(e,t){const r=ht(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},Yd=ht(1/3),dx=Yd*2,yx={draw(e,t){const r=ht(t/dx),n=r*Yd;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},vx={draw(e,t){const r=ht(t),n=-r/2;e.rect(n,n,r,r)}},mx=.8908130915292852,Xd=si(li/10)/si(7*li/10),gx=si(wo/10)*Xd,bx=-Wd(wo/10)*Xd,xx={draw(e,t){const r=ht(t*mx),n=gx*r,a=bx*r;e.moveTo(0,-r),e.lineTo(n,a);for(let i=1;i<5;++i){const o=wo*i/5,u=Wd(o),c=si(o);e.lineTo(c*r,-u*r),e.lineTo(u*n-c*a,c*n+u*a)}e.closePath()}},tu=ht(3),wx={draw(e,t){const r=-ht(t/(tu*3));e.moveTo(0,r*2),e.lineTo(-tu*r,-r),e.lineTo(tu*r,-r),e.closePath()}},Ze=-.5,Je=ht(3)/2,Lu=1/ht(12),Ox=(Lu/2+1)*3,Ax={draw(e,t){const r=ht(t/Ox),n=r/2,a=r*Lu,i=n,o=r*Lu+r,u=-i,c=o;e.moveTo(n,a),e.lineTo(i,o),e.lineTo(u,c),e.lineTo(Ze*n-Je*a,Je*n+Ze*a),e.lineTo(Ze*i-Je*o,Je*i+Ze*o),e.lineTo(Ze*u-Je*c,Je*u+Ze*c),e.lineTo(Ze*n+Je*a,Ze*a-Je*n),e.lineTo(Ze*i+Je*o,Ze*o-Je*i),e.lineTo(Ze*u+Je*c,Ze*c-Je*u),e.closePath()}};function Px(e,t){let r=null,n=vs(a);e=typeof e=="function"?e:ve(e||gs),t=typeof t=="function"?t:ve(t===void 0?64:+t);function a(){let i;if(r||(r=i=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),i)return r=null,i+""||null}return a.type=function(i){return arguments.length?(e=typeof i=="function"?i:ve(i),a):e},a.size=function(i){return arguments.length?(t=typeof i=="function"?i:ve(+i),a):t},a.context=function(i){return arguments.length?(r=i??null,a):r},a}function fi(){}function hi(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function Zd(e){this._context=e}Zd.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:hi(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:hi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Sx(e){return new Zd(e)}function Jd(e){this._context=e}Jd.prototype={areaStart:fi,areaEnd:fi,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);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:hi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function _x(e){return new Jd(e)}function Qd(e){this._context=e}Qd.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:hi(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function $x(e){return new Qd(e)}function ey(e){this._context=e}ey.prototype={areaStart:fi,areaEnd:fi,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function kx(e){return new ey(e)}function El(e){return e<0?-1:1}function Ml(e,t,r){var n=e._x1-e._x0,a=t-e._x1,i=(e._y1-e._y0)/(n||a<0&&-0),o=(r-e._y1)/(a||n<0&&-0),u=(i*a+o*n)/(n+a);return(El(i)+El(o))*Math.min(Math.abs(i),Math.abs(o),.5*Math.abs(u))||0}function jl(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function ru(e,t,r){var n=e._x0,a=e._y0,i=e._x1,o=e._y1,u=(i-n)/3;e._context.bezierCurveTo(n+u,a+u*t,i-u,o-u*r,i,o)}function pi(e){this._context=e}pi.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:ru(this,this._t0,jl(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,ru(this,jl(this,r=Ml(this,e,t)),r);break;default:ru(this,this._t0,r=Ml(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function ty(e){this._context=new ry(e)}(ty.prototype=Object.create(pi.prototype)).point=function(e,t){pi.prototype.point.call(this,t,e)};function ry(e){this._context=e}ry.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,a,i){this._context.bezierCurveTo(t,e,n,r,i,a)}};function Tx(e){return new pi(e)}function Ex(e){return new ty(e)}function ny(e){this._context=e}ny.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=Cl(e),a=Cl(t),i=0,o=1;o<r;++i,++o)this._context.bezierCurveTo(n[0][i],a[0][i],n[1][i],a[1][i],e[o],t[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function Cl(e){var t,r=e.length-1,n,a=new Array(r),i=new Array(r),o=new Array(r);for(a[0]=0,i[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)a[t]=1,i[t]=4,o[t]=4*e[t]+2*e[t+1];for(a[r-1]=2,i[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=a[t]/i[t-1],i[t]-=n,o[t]-=n*o[t-1];for(a[r-1]=o[r-1]/i[r-1],t=r-2;t>=0;--t)a[t]=(o[t]-a[t+1])/i[t];for(i[r-1]=(e[r]+a[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-a[t+1];return[a,i]}function Mx(e){return new ny(e)}function Ao(e,t){this._context=e,this._t=t}Ao.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&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function jx(e){return new Ao(e,.5)}function Cx(e){return new Ao(e,0)}function Ix(e){return new Ao(e,1)}function Fr(e,t){if((o=e.length)>1)for(var r=1,n,a,i=e[t[0]],o,u=i.length;r<o;++r)for(a=i,i=e[t[r]],n=0;n<u;++n)i[n][1]+=i[n][0]=isNaN(a[n][1])?a[n][0]:a[n][1]}function Bu(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function Dx(e,t){return e[t]}function Rx(e){const t=[];return t.key=e,t}function Nx(){var e=ve([]),t=Bu,r=Fr,n=Dx;function a(i){var o=Array.from(e.apply(this,arguments),Rx),u,c=o.length,s=-1,f;for(const l of i)for(u=0,++s;u<c;++u)(o[u][s]=[0,+n(l,o[u].key,s,i)]).data=l;for(u=0,f=ms(t(o));u<c;++u)o[f[u]].index=u;return r(o,f),o}return a.keys=function(i){return arguments.length?(e=typeof i=="function"?i:ve(Array.from(i)),a):e},a.value=function(i){return arguments.length?(n=typeof i=="function"?i:ve(+i),a):n},a.order=function(i){return arguments.length?(t=i==null?Bu:typeof i=="function"?i:ve(Array.from(i)),a):t},a.offset=function(i){return arguments.length?(r=i??Fr,a):r},a}function Lx(e,t){if((n=e.length)>0){for(var r,n,a=0,i=e[0].length,o;a<i;++a){for(o=r=0;r<n;++r)o+=e[r][a][1]||0;if(o)for(r=0;r<n;++r)e[r][a][1]/=o}Fr(e,t)}}function Bx(e,t){if((a=e.length)>0){for(var r=0,n=e[t[0]],a,i=n.length;r<i;++r){for(var o=0,u=0;o<a;++o)u+=e[o][r][1]||0;n[r][1]+=n[r][0]=-u/2}Fr(e,t)}}function zx(e,t){if(!(!((o=e.length)>0)||!((i=(a=e[t[0]]).length)>0))){for(var r=0,n=1,a,i,o;n<i;++n){for(var u=0,c=0,s=0;u<o;++u){for(var f=e[t[u]],l=f[n][1]||0,h=f[n-1][1]||0,p=(l-h)/2,y=0;y<u;++y){var v=e[t[y]],d=v[n][1]||0,g=v[n-1][1]||0;p+=d-g}c+=l,s+=p*l}a[n-1][1]+=a[n-1][0]=r,c&&(r-=s/c)}a[n-1][1]+=a[n-1][0]=r,Fr(e,t)}}function Yn(e){"@babel/helpers - typeof";return Yn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yn(e)}var Fx=["type","size","sizeType"];function zu(){return zu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zu.apply(this,arguments)}function Il(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Dl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Il(Object(r),!0).forEach(function(n){Wx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Il(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Wx(e,t,r){return t=Ux(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ux(e){var t=Hx(e,"string");return Yn(t)=="symbol"?t:t+""}function Hx(e,t){if(Yn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Yn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qx(e,t){if(e==null)return{};var r=Kx(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Kx(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var ay={symbolCircle:gs,symbolCross:px,symbolDiamond:yx,symbolSquare:vx,symbolStar:xx,symbolTriangle:wx,symbolWye:Ax},Vx=Math.PI/180,Gx=function(t){var r="symbol".concat(xo(t));return ay[r]||gs},Yx=function(t,r,n){if(r==="area")return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var a=18*Vx;return 1.25*t*t*(Math.tan(a)-Math.tan(a*2)*Math.pow(Math.tan(a),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}},Xx=function(t,r){ay["symbol".concat(xo(t))]=r},bs=function(t){var r=t.type,n=r===void 0?"circle":r,a=t.size,i=a===void 0?64:a,o=t.sizeType,u=o===void 0?"area":o,c=qx(t,Fx),s=Dl(Dl({},c),{},{type:n,size:i,sizeType:u}),f=function(){var d=Gx(n),g=Px().type(d).size(Yx(i,u,n));return g()},l=s.className,h=s.cx,p=s.cy,y=Y(s,!0);return h===+h&&p===+p&&i===+i?P.createElement("path",zu({},y,{className:Q("recharts-symbols",l),transform:"translate(".concat(h,", ").concat(p,")"),d:f()})):null};bs.registerSymbol=Xx;function Wr(e){"@babel/helpers - typeof";return Wr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wr(e)}function Fu(){return Fu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fu.apply(this,arguments)}function Rl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Zx(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Rl(Object(r),!0).forEach(function(n){Xn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rl(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Jx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qx(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,oy(n.key),n)}}function ew(e,t,r){return t&&Qx(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function tw(e,t,r){return t=di(t),rw(e,iy()?Reflect.construct(t,r||[],di(e).constructor):t.apply(e,r))}function rw(e,t){if(t&&(Wr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return nw(e)}function nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(iy=function(){return!!e})()}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},di(e)}function aw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wu(e,t)}function Wu(e,t){return Wu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Wu(e,t)}function Xn(e,t,r){return t=oy(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oy(e){var t=iw(e,"string");return Wr(t)=="symbol"?t:t+""}function iw(e,t){if(Wr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Wr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Qe=32,xs=function(e){function t(){return Jx(this,t),tw(this,t,arguments)}return aw(t,e),ew(t,[{key:"renderIcon",value:function(n){var a=this.props.inactiveColor,i=Qe/2,o=Qe/6,u=Qe/3,c=n.inactive?a:n.color;if(n.type==="plainline")return P.createElement("line",{strokeWidth:4,fill:"none",stroke:c,strokeDasharray:n.payload.strokeDasharray,x1:0,y1:i,x2:Qe,y2:i,className:"recharts-legend-icon"});if(n.type==="line")return P.createElement("path",{strokeWidth:4,fill:"none",stroke:c,d:"M0,".concat(i,"h").concat(u,`
            A`).concat(o,",").concat(o,",0,1,1,").concat(2*u,",").concat(i,`
            H`).concat(Qe,"M").concat(2*u,",").concat(i,`
            A`).concat(o,",").concat(o,",0,1,1,").concat(u,",").concat(i),className:"recharts-legend-icon"});if(n.type==="rect")return P.createElement("path",{stroke:"none",fill:c,d:"M0,".concat(Qe/8,"h").concat(Qe,"v").concat(Qe*3/4,"h").concat(-Qe,"z"),className:"recharts-legend-icon"});if(P.isValidElement(n.legendIcon)){var s=Zx({},n);return delete s.legendIcon,P.cloneElement(n.legendIcon,s)}return P.createElement(bs,{fill:c,cx:i,cy:i,size:Qe,sizeType:"diameter",type:n.type})}},{key:"renderItems",value:function(){var n=this,a=this.props,i=a.payload,o=a.iconSize,u=a.layout,c=a.formatter,s=a.inactiveColor,f={x:0,y:0,width:Qe,height:Qe},l={display:u==="horizontal"?"inline-block":"block",marginRight:10},h={display:"inline-block",verticalAlign:"middle",marginRight:4};return i.map(function(p,y){var v=p.formatter||c,d=Q(Xn(Xn({"recharts-legend-item":!0},"legend-item-".concat(y),!0),"inactive",p.inactive));if(p.type==="none")return null;var g=X(p.value)?null:p.value;lt(!X(p.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 x=p.inactive?s:p.color;return P.createElement("li",Fu({className:d,style:l,key:"legend-item-".concat(y)},dr(n.props,p,y)),P.createElement(ju,{width:o,height:o,viewBox:f,style:h},n.renderIcon(p)),P.createElement("span",{className:"recharts-legend-item-text",style:{color:x}},v?v(g,p,y):g))})}},{key:"render",value:function(){var n=this.props,a=n.payload,i=n.layout,o=n.align;if(!a||!a.length)return null;var u={padding:0,margin:0,textAlign:i==="horizontal"?o:"left"};return P.createElement("ul",{className:"recharts-default-legend",style:u},this.renderItems())}}])}(F.PureComponent);Xn(xs,"displayName","Legend");Xn(xs,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var ow=mo;function uw(){this.__data__=new ow,this.size=0}var cw=uw;function sw(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var lw=sw;function fw(e){return this.__data__.get(e)}var hw=fw;function pw(e){return this.__data__.has(e)}var dw=pw,yw=mo,vw=ss,mw=ls,gw=200;function bw(e,t){var r=this.__data__;if(r instanceof yw){var n=r.__data__;if(!vw||n.length<gw-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new mw(n)}return r.set(e,t),this.size=r.size,this}var xw=bw,ww=mo,Ow=cw,Aw=lw,Pw=hw,Sw=dw,_w=xw;function On(e){var t=this.__data__=new ww(e);this.size=t.size}On.prototype.clear=Ow;On.prototype.delete=Aw;On.prototype.get=Pw;On.prototype.has=Sw;On.prototype.set=_w;var uy=On,$w="__lodash_hash_undefined__";function kw(e){return this.__data__.set(e,$w),this}var Tw=kw;function Ew(e){return this.__data__.has(e)}var Mw=Ew,jw=ls,Cw=Tw,Iw=Mw;function yi(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new jw;++t<r;)this.add(e[t])}yi.prototype.add=yi.prototype.push=Cw;yi.prototype.has=Iw;var cy=yi;function Dw(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var sy=Dw;function Rw(e,t){return e.has(t)}var ly=Rw,Nw=cy,Lw=sy,Bw=ly,zw=1,Fw=2;function Ww(e,t,r,n,a,i){var o=r&zw,u=e.length,c=t.length;if(u!=c&&!(o&&c>u))return!1;var s=i.get(e),f=i.get(t);if(s&&f)return s==t&&f==e;var l=-1,h=!0,p=r&Fw?new Nw:void 0;for(i.set(e,t),i.set(t,e);++l<u;){var y=e[l],v=t[l];if(n)var d=o?n(v,y,l,t,e,i):n(y,v,l,e,t,i);if(d!==void 0){if(d)continue;h=!1;break}if(p){if(!Lw(t,function(g,x){if(!Bw(p,x)&&(y===g||a(y,g,r,n,i)))return p.push(x)})){h=!1;break}}else if(!(y===v||a(y,v,r,n,i))){h=!1;break}}return i.delete(e),i.delete(t),h}var fy=Ww,Uw=gt,Hw=Uw.Uint8Array,qw=Hw;function Kw(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}var Vw=Kw;function Gw(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var ws=Gw,Nl=Ma,Ll=qw,Yw=cs,Xw=fy,Zw=Vw,Jw=ws,Qw=1,eO=2,tO="[object Boolean]",rO="[object Date]",nO="[object Error]",aO="[object Map]",iO="[object Number]",oO="[object RegExp]",uO="[object Set]",cO="[object String]",sO="[object Symbol]",lO="[object ArrayBuffer]",fO="[object DataView]",Bl=Nl?Nl.prototype:void 0,nu=Bl?Bl.valueOf:void 0;function hO(e,t,r,n,a,i,o){switch(r){case fO:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case lO:return!(e.byteLength!=t.byteLength||!i(new Ll(e),new Ll(t)));case tO:case rO:case iO:return Yw(+e,+t);case nO:return e.name==t.name&&e.message==t.message;case oO:case cO:return e==t+"";case aO:var u=Zw;case uO:var c=n&Qw;if(u||(u=Jw),e.size!=t.size&&!c)return!1;var s=o.get(e);if(s)return s==t;n|=eO,o.set(e,t);var f=Xw(u(e),u(t),n,a,i,o);return o.delete(e),f;case sO:if(nu)return nu.call(e)==nu.call(t)}return!1}var pO=hO;function dO(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var hy=dO,yO=hy,vO=He;function mO(e,t,r){var n=t(e);return vO(e)?n:yO(n,r(e))}var gO=mO;function bO(e,t){for(var r=-1,n=e==null?0:e.length,a=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[a++]=o)}return i}var xO=bO;function wO(){return[]}var OO=wO,AO=xO,PO=OO,SO=Object.prototype,_O=SO.propertyIsEnumerable,zl=Object.getOwnPropertySymbols,$O=zl?function(e){return e==null?[]:(e=Object(e),AO(zl(e),function(t){return _O.call(e,t)}))}:PO,kO=$O;function TO(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var EO=TO,MO=It,jO=Dt,CO="[object Arguments]";function IO(e){return jO(e)&&MO(e)==CO}var DO=IO,Fl=DO,RO=Dt,py=Object.prototype,NO=py.hasOwnProperty,LO=py.propertyIsEnumerable,BO=Fl(function(){return arguments}())?Fl:function(e){return RO(e)&&NO.call(e,"callee")&&!LO.call(e,"callee")},Os=BO,vi={exports:{}};function zO(){return!1}var FO=zO;vi.exports;(function(e,t){var r=gt,n=FO,a=t&&!t.nodeType&&t,i=a&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===a,u=o?r.Buffer:void 0,c=u?u.isBuffer:void 0,s=c||n;e.exports=s})(vi,vi.exports);var dy=vi.exports,WO=9007199254740991,UO=/^(?:0|[1-9]\d*)$/;function HO(e,t){var r=typeof e;return t=t??WO,!!t&&(r=="number"||r!="symbol"&&UO.test(e))&&e>-1&&e%1==0&&e<t}var As=HO,qO=9007199254740991;function KO(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=qO}var Ps=KO,VO=It,GO=Ps,YO=Dt,XO="[object Arguments]",ZO="[object Array]",JO="[object Boolean]",QO="[object Date]",eA="[object Error]",tA="[object Function]",rA="[object Map]",nA="[object Number]",aA="[object Object]",iA="[object RegExp]",oA="[object Set]",uA="[object String]",cA="[object WeakMap]",sA="[object ArrayBuffer]",lA="[object DataView]",fA="[object Float32Array]",hA="[object Float64Array]",pA="[object Int8Array]",dA="[object Int16Array]",yA="[object Int32Array]",vA="[object Uint8Array]",mA="[object Uint8ClampedArray]",gA="[object Uint16Array]",bA="[object Uint32Array]",me={};me[fA]=me[hA]=me[pA]=me[dA]=me[yA]=me[vA]=me[mA]=me[gA]=me[bA]=!0;me[XO]=me[ZO]=me[sA]=me[JO]=me[lA]=me[QO]=me[eA]=me[tA]=me[rA]=me[nA]=me[aA]=me[iA]=me[oA]=me[uA]=me[cA]=!1;function xA(e){return YO(e)&&GO(e.length)&&!!me[VO(e)]}var wA=xA;function OA(e){return function(t){return e(t)}}var yy=OA,mi={exports:{}};mi.exports;(function(e,t){var r=Ad,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===n,o=i&&r.process,u=function(){try{var c=a&&a.require&&a.require("util").types;return c||o&&o.binding&&o.binding("util")}catch{}}();e.exports=u})(mi,mi.exports);var AA=mi.exports,PA=wA,SA=yy,Wl=AA,Ul=Wl&&Wl.isTypedArray,_A=Ul?SA(Ul):PA,vy=_A,$A=EO,kA=Os,TA=He,EA=dy,MA=As,jA=vy,CA=Object.prototype,IA=CA.hasOwnProperty;function DA(e,t){var r=TA(e),n=!r&&kA(e),a=!r&&!n&&EA(e),i=!r&&!n&&!a&&jA(e),o=r||n||a||i,u=o?$A(e.length,String):[],c=u.length;for(var s in e)(t||IA.call(e,s))&&!(o&&(s=="length"||a&&(s=="offset"||s=="parent")||i&&(s=="buffer"||s=="byteLength"||s=="byteOffset")||MA(s,c)))&&u.push(s);return u}var RA=DA,NA=Object.prototype;function LA(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||NA;return e===r}var BA=LA;function zA(e,t){return function(r){return e(t(r))}}var my=zA,FA=my,WA=FA(Object.keys,Object),UA=WA,HA=BA,qA=UA,KA=Object.prototype,VA=KA.hasOwnProperty;function GA(e){if(!HA(e))return qA(e);var t=[];for(var r in Object(e))VA.call(e,r)&&r!="constructor"&&t.push(r);return t}var YA=GA,XA=us,ZA=Ps;function JA(e){return e!=null&&ZA(e.length)&&!XA(e)}var ja=JA,QA=RA,eP=YA,tP=ja;function rP(e){return tP(e)?QA(e):eP(e)}var Po=rP,nP=gO,aP=kO,iP=Po;function oP(e){return nP(e,iP,aP)}var uP=oP,Hl=uP,cP=1,sP=Object.prototype,lP=sP.hasOwnProperty;function fP(e,t,r,n,a,i){var o=r&cP,u=Hl(e),c=u.length,s=Hl(t),f=s.length;if(c!=f&&!o)return!1;for(var l=c;l--;){var h=u[l];if(!(o?h in t:lP.call(t,h)))return!1}var p=i.get(e),y=i.get(t);if(p&&y)return p==t&&y==e;var v=!0;i.set(e,t),i.set(t,e);for(var d=o;++l<c;){h=u[l];var g=e[h],x=t[h];if(n)var w=o?n(x,g,h,t,e,i):n(g,x,h,e,t,i);if(!(w===void 0?g===x||a(g,x,r,n,i):w)){v=!1;break}d||(d=h=="constructor")}if(v&&!d){var O=e.constructor,m=t.constructor;O!=m&&"constructor"in e&&"constructor"in t&&!(typeof O=="function"&&O instanceof O&&typeof m=="function"&&m instanceof m)&&(v=!1)}return i.delete(e),i.delete(t),v}var hP=fP,pP=br,dP=gt,yP=pP(dP,"DataView"),vP=yP,mP=br,gP=gt,bP=mP(gP,"Promise"),xP=bP,wP=br,OP=gt,AP=wP(OP,"Set"),gy=AP,PP=br,SP=gt,_P=PP(SP,"WeakMap"),$P=_P,Uu=vP,Hu=ss,qu=xP,Ku=gy,Vu=$P,by=It,An=Sd,ql="[object Map]",kP="[object Object]",Kl="[object Promise]",Vl="[object Set]",Gl="[object WeakMap]",Yl="[object DataView]",TP=An(Uu),EP=An(Hu),MP=An(qu),jP=An(Ku),CP=An(Vu),rr=by;(Uu&&rr(new Uu(new ArrayBuffer(1)))!=Yl||Hu&&rr(new Hu)!=ql||qu&&rr(qu.resolve())!=Kl||Ku&&rr(new Ku)!=Vl||Vu&&rr(new Vu)!=Gl)&&(rr=function(e){var t=by(e),r=t==kP?e.constructor:void 0,n=r?An(r):"";if(n)switch(n){case TP:return Yl;case EP:return ql;case MP:return Kl;case jP:return Vl;case CP:return Gl}return t});var IP=rr,au=uy,DP=fy,RP=pO,NP=hP,Xl=IP,Zl=He,Jl=dy,LP=vy,BP=1,Ql="[object Arguments]",ef="[object Array]",Ka="[object Object]",zP=Object.prototype,tf=zP.hasOwnProperty;function FP(e,t,r,n,a,i){var o=Zl(e),u=Zl(t),c=o?ef:Xl(e),s=u?ef:Xl(t);c=c==Ql?Ka:c,s=s==Ql?Ka:s;var f=c==Ka,l=s==Ka,h=c==s;if(h&&Jl(e)){if(!Jl(t))return!1;o=!0,f=!1}if(h&&!f)return i||(i=new au),o||LP(e)?DP(e,t,r,n,a,i):RP(e,t,c,r,n,a,i);if(!(r&BP)){var p=f&&tf.call(e,"__wrapped__"),y=l&&tf.call(t,"__wrapped__");if(p||y){var v=p?e.value():e,d=y?t.value():t;return i||(i=new au),a(v,d,r,n,i)}}return h?(i||(i=new au),NP(e,t,r,n,a,i)):!1}var WP=FP,UP=WP,rf=Dt;function xy(e,t,r,n,a){return e===t?!0:e==null||t==null||!rf(e)&&!rf(t)?e!==e&&t!==t:UP(e,t,r,n,xy,a)}var Ss=xy,HP=uy,qP=Ss,KP=1,VP=2;function GP(e,t,r,n){var a=r.length,i=a,o=!n;if(e==null)return!i;for(e=Object(e);a--;){var u=r[a];if(o&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<i;){u=r[a];var c=u[0],s=e[c],f=u[1];if(o&&u[2]){if(s===void 0&&!(c in e))return!1}else{var l=new HP;if(n)var h=n(s,f,c,e,t,l);if(!(h===void 0?qP(f,s,KP|VP,n,l):h))return!1}}return!0}var YP=GP,XP=Kt;function ZP(e){return e===e&&!XP(e)}var wy=ZP,JP=wy,QP=Po;function eS(e){for(var t=QP(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,JP(a)]}return t}var tS=eS;function rS(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var Oy=rS,nS=YP,aS=tS,iS=Oy;function oS(e){var t=aS(e);return t.length==1&&t[0][2]?iS(t[0][0],t[0][1]):function(r){return r===e||nS(r,e,t)}}var uS=oS;function cS(e,t){return e!=null&&t in Object(e)}var sS=cS,lS=Ed,fS=Os,hS=He,pS=As,dS=Ps,yS=bo;function vS(e,t,r){t=lS(t,e);for(var n=-1,a=t.length,i=!1;++n<a;){var o=yS(t[n]);if(!(i=e!=null&&r(e,o)))break;e=e[o]}return i||++n!=a?i:(a=e==null?0:e.length,!!a&&dS(a)&&pS(o,a)&&(hS(e)||fS(e)))}var mS=vS,gS=sS,bS=mS;function xS(e,t){return e!=null&&bS(e,t,gS)}var wS=xS,OS=Ss,AS=Md,PS=wS,SS=os,_S=wy,$S=Oy,kS=bo,TS=1,ES=2;function MS(e,t){return SS(e)&&_S(t)?$S(kS(e),t):function(r){var n=AS(r,e);return n===void 0&&n===t?PS(r,e):OS(t,n,TS|ES)}}var jS=MS;function CS(e){return e}var Pn=CS;function IS(e){return function(t){return t==null?void 0:t[e]}}var DS=IS,RS=ps;function NS(e){return function(t){return RS(t,e)}}var LS=NS,BS=DS,zS=LS,FS=os,WS=bo;function US(e){return FS(e)?BS(WS(e)):zS(e)}var HS=US,qS=uS,KS=jS,VS=Pn,GS=He,YS=HS;function XS(e){return typeof e=="function"?e:e==null?VS:typeof e=="object"?GS(e)?KS(e[0],e[1]):qS(e):YS(e)}var bt=XS;function ZS(e,t,r,n){for(var a=e.length,i=r+(n?1:-1);n?i--:++i<a;)if(t(e[i],i,e))return i;return-1}var Ay=ZS;function JS(e){return e!==e}var QS=JS;function e_(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}var t_=e_,r_=Ay,n_=QS,a_=t_;function i_(e,t,r){return t===t?a_(e,t,r):r_(e,n_,r)}var o_=i_,u_=o_;function c_(e,t){var r=e==null?0:e.length;return!!r&&u_(e,t,0)>-1}var s_=c_;function l_(e,t,r){for(var n=-1,a=e==null?0:e.length;++n<a;)if(r(t,e[n]))return!0;return!1}var f_=l_;function h_(){}var p_=h_,iu=gy,d_=p_,y_=ws,v_=1/0,m_=iu&&1/y_(new iu([,-0]))[1]==v_?function(e){return new iu(e)}:d_,g_=m_,b_=cy,x_=s_,w_=f_,O_=ly,A_=g_,P_=ws,S_=200;function __(e,t,r){var n=-1,a=x_,i=e.length,o=!0,u=[],c=u;if(r)o=!1,a=w_;else if(i>=S_){var s=t?null:A_(e);if(s)return P_(s);o=!1,a=O_,c=new b_}else c=t?[]:u;e:for(;++n<i;){var f=e[n],l=t?t(f):f;if(f=r||f!==0?f:0,o&&l===l){for(var h=c.length;h--;)if(c[h]===l)continue e;t&&c.push(l),u.push(f)}else a(c,l,r)||(c!==u&&c.push(l),u.push(f))}return u}var $_=__,k_=bt,T_=$_;function E_(e,t){return e&&e.length?T_(e,k_(t)):[]}var M_=E_;const nf=le(M_);function Py(e,t,r){return t===!0?nf(e,r):X(t)?nf(e,t):e}function Ur(e){"@babel/helpers - typeof";return Ur=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ur(e)}var j_=["ref"];function af(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function wt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?af(Object(r),!0).forEach(function(n){So(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):af(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function C_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function of(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_y(n.key),n)}}function I_(e,t,r){return t&&of(e.prototype,t),r&&of(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function D_(e,t,r){return t=gi(t),R_(e,Sy()?Reflect.construct(t,r||[],gi(e).constructor):t.apply(e,r))}function R_(e,t){if(t&&(Ur(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return N_(e)}function N_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Sy=function(){return!!e})()}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function L_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gu(e,t)}function Gu(e,t){return Gu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Gu(e,t)}function So(e,t,r){return t=_y(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _y(e){var t=B_(e,"string");return Ur(t)=="symbol"?t:t+""}function B_(e,t){if(Ur(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ur(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function z_(e,t){if(e==null)return{};var r=F_(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function F_(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function W_(e){return e.value}function U_(e,t){if(P.isValidElement(e))return P.cloneElement(e,t);if(typeof e=="function")return P.createElement(e,t);t.ref;var r=z_(t,j_);return P.createElement(xs,r)}var uf=1,Lr=function(e){function t(){var r;C_(this,t);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return r=D_(this,t,[].concat(a)),So(r,"lastBoundingBox",{width:-1,height:-1}),r}return L_(t,e),I_(t,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();return n.height=this.wrapperNode.offsetHeight,n.width=this.wrapperNode.offsetWidth,n}return null}},{key:"updateBBox",value:function(){var n=this.props.onBBoxUpdate,a=this.getBBox();a?(Math.abs(a.width-this.lastBoundingBox.width)>uf||Math.abs(a.height-this.lastBoundingBox.height)>uf)&&(this.lastBoundingBox.width=a.width,this.lastBoundingBox.height=a.height,n&&n(a)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,n&&n(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?wt({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(n){var a=this.props,i=a.layout,o=a.align,u=a.verticalAlign,c=a.margin,s=a.chartWidth,f=a.chartHeight,l,h;if(!n||(n.left===void 0||n.left===null)&&(n.right===void 0||n.right===null))if(o==="center"&&i==="vertical"){var p=this.getBBoxSnapshot();l={left:((s||0)-p.width)/2}}else l=o==="right"?{right:c&&c.right||0}:{left:c&&c.left||0};if(!n||(n.top===void 0||n.top===null)&&(n.bottom===void 0||n.bottom===null))if(u==="middle"){var y=this.getBBoxSnapshot();h={top:((f||0)-y.height)/2}}else h=u==="bottom"?{bottom:c&&c.bottom||0}:{top:c&&c.top||0};return wt(wt({},l),h)}},{key:"render",value:function(){var n=this,a=this.props,i=a.content,o=a.width,u=a.height,c=a.wrapperStyle,s=a.payloadUniqBy,f=a.payload,l=wt(wt({position:"absolute",width:o||"auto",height:u||"auto"},this.getDefaultPosition(c)),c);return P.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(p){n.wrapperNode=p}},U_(i,wt(wt({},this.props),{},{payload:Py(f,s,W_)})))}}],[{key:"getWithHeight",value:function(n,a){var i=wt(wt({},this.defaultProps),n.props),o=i.layout;return o==="vertical"&&U(n.props.height)?{height:n.props.height}:o==="horizontal"?{width:n.props.width||a}:null}}])}(F.PureComponent);So(Lr,"displayName","Legend");So(Lr,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var cf=Ma,H_=Os,q_=He,sf=cf?cf.isConcatSpreadable:void 0;function K_(e){return q_(e)||H_(e)||!!(sf&&e&&e[sf])}var V_=K_,G_=hy,Y_=V_;function $y(e,t,r,n,a){var i=-1,o=e.length;for(r||(r=Y_),a||(a=[]);++i<o;){var u=e[i];t>0&&r(u)?t>1?$y(u,t-1,r,n,a):G_(a,u):n||(a[a.length]=u)}return a}var ky=$y;function X_(e){return function(t,r,n){for(var a=-1,i=Object(t),o=n(t),u=o.length;u--;){var c=o[e?u:++a];if(r(i[c],c,i)===!1)break}return t}}var Z_=X_,J_=Z_,Q_=J_(),e$=Q_,t$=e$,r$=Po;function n$(e,t){return e&&t$(e,t,r$)}var Ty=n$,a$=ja;function i$(e,t){return function(r,n){if(r==null)return r;if(!a$(r))return e(r,n);for(var a=r.length,i=t?a:-1,o=Object(r);(t?i--:++i<a)&&n(o[i],i,o)!==!1;);return r}}var o$=i$,u$=Ty,c$=o$,s$=c$(u$),_s=s$,l$=_s,f$=ja;function h$(e,t){var r=-1,n=f$(e)?Array(e.length):[];return l$(e,function(a,i,o){n[++r]=t(a,i,o)}),n}var Ey=h$;function p$(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}var d$=p$,lf=vn;function y$(e,t){if(e!==t){var r=e!==void 0,n=e===null,a=e===e,i=lf(e),o=t!==void 0,u=t===null,c=t===t,s=lf(t);if(!u&&!s&&!i&&e>t||i&&o&&c&&!u&&!s||n&&o&&c||!r&&c||!a)return 1;if(!n&&!i&&!s&&e<t||s&&r&&a&&!n&&!i||u&&r&&a||!o&&a||!c)return-1}return 0}var v$=y$,m$=v$;function g$(e,t,r){for(var n=-1,a=e.criteria,i=t.criteria,o=a.length,u=r.length;++n<o;){var c=m$(a[n],i[n]);if(c){if(n>=u)return c;var s=r[n];return c*(s=="desc"?-1:1)}}return e.index-t.index}var b$=g$,ou=hs,x$=ps,w$=bt,O$=Ey,A$=d$,P$=yy,S$=b$,_$=Pn,$$=He;function k$(e,t,r){t.length?t=ou(t,function(i){return $$(i)?function(o){return x$(o,i.length===1?i[0]:i)}:i}):t=[_$];var n=-1;t=ou(t,P$(w$));var a=O$(e,function(i,o,u){var c=ou(t,function(s){return s(i)});return{criteria:c,index:++n,value:i}});return A$(a,function(i,o){return S$(i,o,r)})}var T$=k$;function E$(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var M$=E$,j$=M$,ff=Math.max;function C$(e,t,r){return t=ff(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=ff(n.length-t,0),o=Array(i);++a<i;)o[a]=n[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=n[a];return u[t]=r(o),j$(e,this,u)}}var I$=C$;function D$(e){return function(){return e}}var R$=D$,N$=br,L$=function(){try{var e=N$(Object,"defineProperty");return e({},"",{}),e}catch{}}(),My=L$,B$=R$,hf=My,z$=Pn,F$=hf?function(e,t){return hf(e,"toString",{configurable:!0,enumerable:!1,value:B$(t),writable:!0})}:z$,W$=F$,U$=800,H$=16,q$=Date.now;function K$(e){var t=0,r=0;return function(){var n=q$(),a=H$-(n-r);if(r=n,a>0){if(++t>=U$)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var V$=K$,G$=W$,Y$=V$,X$=Y$(G$),Z$=X$,J$=Pn,Q$=I$,ek=Z$;function tk(e,t){return ek(Q$(e,t,J$),e+"")}var rk=tk,nk=cs,ak=ja,ik=As,ok=Kt;function uk(e,t,r){if(!ok(r))return!1;var n=typeof t;return(n=="number"?ak(r)&&ik(t,r.length):n=="string"&&t in r)?nk(r[t],e):!1}var _o=uk,ck=ky,sk=T$,lk=rk,pf=_o,fk=lk(function(e,t){if(e==null)return[];var r=t.length;return r>1&&pf(e,t[0],t[1])?t=[]:r>2&&pf(t[0],t[1],t[2])&&(t=[t[0]]),sk(e,ck(t,1),[])}),hk=fk;const $s=le(hk);function Zn(e){"@babel/helpers - typeof";return Zn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zn(e)}function Yu(){return Yu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yu.apply(this,arguments)}function pk(e,t){return mk(e)||vk(e,t)||yk(e,t)||dk()}function dk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yk(e,t){if(e){if(typeof e=="string")return df(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return df(e,t)}}function df(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function vk(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function mk(e){if(Array.isArray(e))return e}function yf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function uu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yf(Object(r),!0).forEach(function(n){gk(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function gk(e,t,r){return t=bk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bk(e){var t=xk(e,"string");return Zn(t)=="symbol"?t:t+""}function xk(e,t){if(Zn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Zn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wk(e){return Array.isArray(e)&&Te(e[0])&&Te(e[1])?e.join(" ~ "):e}var Ok=function(t){var r=t.separator,n=r===void 0?" : ":r,a=t.contentStyle,i=a===void 0?{}:a,o=t.itemStyle,u=o===void 0?{}:o,c=t.labelStyle,s=c===void 0?{}:c,f=t.payload,l=t.formatter,h=t.itemSorter,p=t.wrapperClassName,y=t.labelClassName,v=t.label,d=t.labelFormatter,g=t.accessibilityLayer,x=g===void 0?!1:g,w=function(){if(f&&f.length){var M={padding:0,margin:0},_=(h?$s(f,h):f).map(function(k,j){if(k.type==="none")return null;var C=uu({display:"block",paddingTop:4,paddingBottom:4,color:k.color||"#000"},u),R=k.formatter||l||wk,B=k.value,L=k.name,W=B,q=L;if(R&&W!=null&&q!=null){var z=R(B,L,k,j,f);if(Array.isArray(z)){var K=pk(z,2);W=K[0],q=K[1]}else W=z}return P.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(j),style:C},Te(q)?P.createElement("span",{className:"recharts-tooltip-item-name"},q):null,Te(q)?P.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,P.createElement("span",{className:"recharts-tooltip-item-value"},W),P.createElement("span",{className:"recharts-tooltip-item-unit"},k.unit||""))});return P.createElement("ul",{className:"recharts-tooltip-item-list",style:M},_)}return null},O=uu({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),m=uu({margin:0},s),b=!J(v),A=b?v:"",S=Q("recharts-default-tooltip",p),$=Q("recharts-tooltip-label",y);b&&d&&f!==void 0&&f!==null&&(A=d(v,f));var I=x?{role:"status","aria-live":"assertive"}:{};return P.createElement("div",Yu({className:S,style:O},I),P.createElement("p",{className:$,style:m},P.isValidElement(A)?A:"".concat(A)),w())};function Jn(e){"@babel/helpers - typeof";return Jn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jn(e)}function Va(e,t,r){return t=Ak(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ak(e){var t=Pk(e,"string");return Jn(t)=="symbol"?t:t+""}function Pk(e,t){if(Jn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Jn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var jn="recharts-tooltip-wrapper",Sk={visibility:"hidden"};function _k(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return Q(jn,Va(Va(Va(Va({},"".concat(jn,"-right"),U(r)&&t&&U(t.x)&&r>=t.x),"".concat(jn,"-left"),U(r)&&t&&U(t.x)&&r<t.x),"".concat(jn,"-bottom"),U(n)&&t&&U(t.y)&&n>=t.y),"".concat(jn,"-top"),U(n)&&t&&U(t.y)&&n<t.y))}function vf(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.key,a=e.offsetTopLeft,i=e.position,o=e.reverseDirection,u=e.tooltipDimension,c=e.viewBox,s=e.viewBoxDimension;if(i&&U(i[n]))return i[n];var f=r[n]-u-a,l=r[n]+a;if(t[n])return o[n]?f:l;if(o[n]){var h=f,p=c[n];return h<p?Math.max(l,c[n]):Math.max(f,c[n])}var y=l+u,v=c[n]+s;return y>v?Math.max(f,c[n]):Math.max(l,c[n])}function $k(e){var t=e.translateX,r=e.translateY,n=e.useTranslate3d;return{transform:n?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}function kk(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.offsetTopLeft,a=e.position,i=e.reverseDirection,o=e.tooltipBox,u=e.useTranslate3d,c=e.viewBox,s,f,l;return o.height>0&&o.width>0&&r?(f=vf({allowEscapeViewBox:t,coordinate:r,key:"x",offsetTopLeft:n,position:a,reverseDirection:i,tooltipDimension:o.width,viewBox:c,viewBoxDimension:c.width}),l=vf({allowEscapeViewBox:t,coordinate:r,key:"y",offsetTopLeft:n,position:a,reverseDirection:i,tooltipDimension:o.height,viewBox:c,viewBoxDimension:c.height}),s=$k({translateX:f,translateY:l,useTranslate3d:u})):s=Sk,{cssProperties:s,cssClasses:_k({translateX:f,translateY:l,coordinate:r})}}function Hr(e){"@babel/helpers - typeof";return Hr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hr(e)}function mf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function gf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?mf(Object(r),!0).forEach(function(n){Zu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Tk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ek(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Cy(n.key),n)}}function Mk(e,t,r){return t&&Ek(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function jk(e,t,r){return t=bi(t),Ck(e,jy()?Reflect.construct(t,r||[],bi(e).constructor):t.apply(e,r))}function Ck(e,t){if(t&&(Hr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ik(e)}function Ik(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jy=function(){return!!e})()}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function Dk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xu(e,t)}function Xu(e,t){return Xu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Xu(e,t)}function Zu(e,t,r){return t=Cy(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cy(e){var t=Rk(e,"string");return Hr(t)=="symbol"?t:t+""}function Rk(e,t){if(Hr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Hr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var bf=1,Nk=function(e){function t(){var r;Tk(this,t);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return r=jk(this,t,[].concat(a)),Zu(r,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),Zu(r,"handleKeyDown",function(o){if(o.key==="Escape"){var u,c,s,f;r.setState({dismissed:!0,dismissedAtCoordinate:{x:(u=(c=r.props.coordinate)===null||c===void 0?void 0:c.x)!==null&&u!==void 0?u:0,y:(s=(f=r.props.coordinate)===null||f===void 0?void 0:f.y)!==null&&s!==void 0?s:0}})}}),r}return Dk(t,e),Mk(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-this.state.lastBoundingBox.width)>bf||Math.abs(n.height-this.state.lastBoundingBox.height)>bf)&&this.setState({lastBoundingBox:{width:n.width,height:n.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&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 n,a;this.props.active&&this.updateBBox(),this.state.dismissed&&(((n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==this.state.dismissedAtCoordinate.x||((a=this.props.coordinate)===null||a===void 0?void 0:a.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var n=this,a=this.props,i=a.active,o=a.allowEscapeViewBox,u=a.animationDuration,c=a.animationEasing,s=a.children,f=a.coordinate,l=a.hasPayload,h=a.isAnimationActive,p=a.offset,y=a.position,v=a.reverseDirection,d=a.useTranslate3d,g=a.viewBox,x=a.wrapperStyle,w=kk({allowEscapeViewBox:o,coordinate:f,offsetTopLeft:p,position:y,reverseDirection:v,tooltipBox:this.state.lastBoundingBox,useTranslate3d:d,viewBox:g}),O=w.cssClasses,m=w.cssProperties,b=gf(gf({transition:h&&i?"transform ".concat(u,"ms ").concat(c):void 0},m),{},{pointerEvents:"none",visibility:!this.state.dismissed&&i&&l?"visible":"hidden",position:"absolute",top:0,left:0},x);return P.createElement("div",{tabIndex:-1,className:O,style:b,ref:function(S){n.wrapperNode=S}},s)}}])}(F.PureComponent),Lk=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},Rt={isSsr:Lk()};function qr(e){"@babel/helpers - typeof";return qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qr(e)}function xf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function wf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xf(Object(r),!0).forEach(function(n){ks(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Bk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Dy(n.key),n)}}function Fk(e,t,r){return t&&zk(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Wk(e,t,r){return t=xi(t),Uk(e,Iy()?Reflect.construct(t,r||[],xi(e).constructor):t.apply(e,r))}function Uk(e,t){if(t&&(qr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Hk(e)}function Hk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Iy=function(){return!!e})()}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function qk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ju(e,t)}function Ju(e,t){return Ju=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Ju(e,t)}function ks(e,t,r){return t=Dy(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dy(e){var t=Kk(e,"string");return qr(t)=="symbol"?t:t+""}function Kk(e,t){if(qr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(qr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Vk(e){return e.dataKey}function Gk(e,t){return P.isValidElement(e)?P.cloneElement(e,t):typeof e=="function"?P.createElement(e,t):P.createElement(Ok,t)}var Ot=function(e){function t(){return Bk(this,t),Wk(this,t,arguments)}return qk(t,e),Fk(t,[{key:"render",value:function(){var n=this,a=this.props,i=a.active,o=a.allowEscapeViewBox,u=a.animationDuration,c=a.animationEasing,s=a.content,f=a.coordinate,l=a.filterNull,h=a.isAnimationActive,p=a.offset,y=a.payload,v=a.payloadUniqBy,d=a.position,g=a.reverseDirection,x=a.useTranslate3d,w=a.viewBox,O=a.wrapperStyle,m=y??[];l&&m.length&&(m=Py(y.filter(function(A){return A.value!=null&&(A.hide!==!0||n.props.includeHidden)}),v,Vk));var b=m.length>0;return P.createElement(Nk,{allowEscapeViewBox:o,animationDuration:u,animationEasing:c,isAnimationActive:h,active:i,coordinate:f,hasPayload:b,offset:p,position:d,reverseDirection:g,useTranslate3d:x,viewBox:w,wrapperStyle:O},Gk(s,wf(wf({},this.props),{},{payload:m})))}}])}(F.PureComponent);ks(Ot,"displayName","Tooltip");ks(Ot,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Rt.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 Yk=gt,Xk=function(){return Yk.Date.now()},Zk=Xk,Jk=/\s/;function Qk(e){for(var t=e.length;t--&&Jk.test(e.charAt(t)););return t}var eT=Qk,tT=eT,rT=/^\s+/;function nT(e){return e&&e.slice(0,tT(e)+1).replace(rT,"")}var aT=nT,iT=aT,Of=Kt,oT=vn,Af=NaN,uT=/^[-+]0x[0-9a-f]+$/i,cT=/^0b[01]+$/i,sT=/^0o[0-7]+$/i,lT=parseInt;function fT(e){if(typeof e=="number")return e;if(oT(e))return Af;if(Of(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Of(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=iT(e);var r=cT.test(e);return r||sT.test(e)?lT(e.slice(2),r?2:8):uT.test(e)?Af:+e}var Ry=fT,hT=Kt,cu=Zk,Pf=Ry,pT="Expected a function",dT=Math.max,yT=Math.min;function vT(e,t,r){var n,a,i,o,u,c,s=0,f=!1,l=!1,h=!0;if(typeof e!="function")throw new TypeError(pT);t=Pf(t)||0,hT(r)&&(f=!!r.leading,l="maxWait"in r,i=l?dT(Pf(r.maxWait)||0,t):i,h="trailing"in r?!!r.trailing:h);function p(b){var A=n,S=a;return n=a=void 0,s=b,o=e.apply(S,A),o}function y(b){return s=b,u=setTimeout(g,t),f?p(b):o}function v(b){var A=b-c,S=b-s,$=t-A;return l?yT($,i-S):$}function d(b){var A=b-c,S=b-s;return c===void 0||A>=t||A<0||l&&S>=i}function g(){var b=cu();if(d(b))return x(b);u=setTimeout(g,v(b))}function x(b){return u=void 0,h&&n?p(b):(n=a=void 0,o)}function w(){u!==void 0&&clearTimeout(u),s=0,n=c=a=u=void 0}function O(){return u===void 0?o:x(cu())}function m(){var b=cu(),A=d(b);if(n=arguments,a=this,c=b,A){if(u===void 0)return y(c);if(l)return clearTimeout(u),u=setTimeout(g,t),p(c)}return u===void 0&&(u=setTimeout(g,t)),o}return m.cancel=w,m.flush=O,m}var mT=vT,gT=mT,bT=Kt,xT="Expected a function";function wT(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(xT);return bT(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),gT(e,t,{leading:n,maxWait:t,trailing:a})}var OT=wT;const Ny=le(OT);function Qn(e){"@babel/helpers - typeof";return Qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qn(e)}function Sf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ga(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sf(Object(r),!0).forEach(function(n){AT(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function AT(e,t,r){return t=PT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PT(e){var t=ST(e,"string");return Qn(t)=="symbol"?t:t+""}function ST(e,t){if(Qn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Qn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _T(e,t){return ET(e)||TT(e,t)||kT(e,t)||$T()}function $T(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kT(e,t){if(e){if(typeof e=="string")return _f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _f(e,t)}}function _f(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function TT(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function ET(e){if(Array.isArray(e))return e}var Qz=F.forwardRef(function(e,t){var r=e.aspect,n=e.initialDimension,a=n===void 0?{width:-1,height:-1}:n,i=e.width,o=i===void 0?"100%":i,u=e.height,c=u===void 0?"100%":u,s=e.minWidth,f=s===void 0?0:s,l=e.minHeight,h=e.maxHeight,p=e.children,y=e.debounce,v=y===void 0?0:y,d=e.id,g=e.className,x=e.onResize,w=e.style,O=w===void 0?{}:w,m=F.useRef(null),b=F.useRef();b.current=x,F.useImperativeHandle(t,function(){return Object.defineProperty(m.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),m.current},configurable:!0})});var A=F.useState({containerWidth:a.width,containerHeight:a.height}),S=_T(A,2),$=S[0],I=S[1],T=F.useCallback(function(_,k){I(function(j){var C=Math.round(_),R=Math.round(k);return j.containerWidth===C&&j.containerHeight===R?j:{containerWidth:C,containerHeight:R}})},[]);F.useEffect(function(){var _=function(L){var W,q=L[0].contentRect,z=q.width,K=q.height;T(z,K),(W=b.current)===null||W===void 0||W.call(b,z,K)};v>0&&(_=Ny(_,v,{trailing:!0,leading:!1}));var k=new ResizeObserver(_),j=m.current.getBoundingClientRect(),C=j.width,R=j.height;return T(C,R),k.observe(m.current),function(){k.disconnect()}},[T,v]);var M=F.useMemo(function(){var _=$.containerWidth,k=$.containerHeight;if(_<0||k<0)return null;lt(ir(o)||ir(c),`The width(%s) and height(%s) are both fixed numbers,
       maybe you don't need to use a ResponsiveContainer.`,o,c),lt(!r||r>0,"The aspect(%s) must be greater than zero.",r);var j=ir(o)?_:o,C=ir(c)?k:c;r&&r>0&&(j?C=j/r:C&&(j=C*r),h&&C>h&&(C=h)),lt(j>0||C>0,`The width(%s) and height(%s) of chart should be greater than 0,
       please check the style of container, or the props width(%s) and height(%s),
       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
       height and width.`,j,C,o,c,f,l,r);var R=!Array.isArray(p)&&kt(p.type).endsWith("Chart");return P.Children.map(p,function(B){return P.isValidElement(B)?F.cloneElement(B,Ga({width:j,height:C},R?{style:Ga({height:"100%",width:"100%",maxHeight:C,maxWidth:j},B.props.style)}:{})):B})},[r,p,c,h,l,f,$,o]);return P.createElement("div",{id:d?"".concat(d):void 0,className:Q("recharts-responsive-container",g),style:Ga(Ga({},O),{},{width:o,height:c,minWidth:f,minHeight:l,maxHeight:h}),ref:m},M)}),Ts=function(t){return null};Ts.displayName="Cell";function ea(e){"@babel/helpers - typeof";return ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ea(e)}function $f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Qu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$f(Object(r),!0).forEach(function(n){MT(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$f(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function MT(e,t,r){return t=jT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jT(e){var t=CT(e,"string");return ea(t)=="symbol"?t:t+""}function CT(e,t){if(ea(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ea(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var _r={widthCache:{},cacheCount:0},IT=2e3,DT={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},kf="recharts_measurement_span";function RT(e){var t=Qu({},e);return Object.keys(t).forEach(function(r){t[r]||delete t[r]}),t}var Wn=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||Rt.isSsr)return{width:0,height:0};var n=RT(r),a=JSON.stringify({text:t,copyStyle:n});if(_r.widthCache[a])return _r.widthCache[a];try{var i=document.getElementById(kf);i||(i=document.createElement("span"),i.setAttribute("id",kf),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var o=Qu(Qu({},DT),n);Object.assign(i.style,o),i.textContent="".concat(t);var u=i.getBoundingClientRect(),c={width:u.width,height:u.height};return _r.widthCache[a]=c,++_r.cacheCount>IT&&(_r.cacheCount=0,_r.widthCache={}),c}catch{return{width:0,height:0}}},NT=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function ta(e){"@babel/helpers - typeof";return ta=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ta(e)}function wi(e,t){return FT(e)||zT(e,t)||BT(e,t)||LT()}function LT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BT(e,t){if(e){if(typeof e=="string")return Tf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tf(e,t)}}function Tf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zT(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function FT(e){if(Array.isArray(e))return e}function WT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,HT(n.key),n)}}function UT(e,t,r){return t&&Ef(e.prototype,t),r&&Ef(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function HT(e){var t=qT(e,"string");return ta(t)=="symbol"?t:t+""}function qT(e,t){if(ta(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ta(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Mf=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,jf=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,KT=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,VT=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Ly={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},GT=Object.keys(Ly),jr="NaN";function YT(e,t){return e*Ly[t]}var Ya=function(){function e(t,r){WT(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),r!==""&&!KT.test(r)&&(this.num=NaN,this.unit=""),GT.includes(r)&&(this.num=YT(t,r),this.unit="px")}return UT(e,[{key:"add",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num+r.num,this.unit)}},{key:"subtract",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num-r.num,this.unit)}},{key:"multiply",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num*r.num,this.unit||r.unit)}},{key:"divide",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num/r.num,this.unit||r.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(r){var n,a=(n=VT.exec(r))!==null&&n!==void 0?n:[],i=wi(a,3),o=i[1],u=i[2];return new e(parseFloat(o),u??"")}}])}();function By(e){if(e.includes(jr))return jr;for(var t=e;t.includes("*")||t.includes("/");){var r,n=(r=Mf.exec(t))!==null&&r!==void 0?r:[],a=wi(n,4),i=a[1],o=a[2],u=a[3],c=Ya.parse(i??""),s=Ya.parse(u??""),f=o==="*"?c.multiply(s):c.divide(s);if(f.isNaN())return jr;t=t.replace(Mf,f.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var l,h=(l=jf.exec(t))!==null&&l!==void 0?l:[],p=wi(h,4),y=p[1],v=p[2],d=p[3],g=Ya.parse(y??""),x=Ya.parse(d??""),w=v==="+"?g.add(x):g.subtract(x);if(w.isNaN())return jr;t=t.replace(jf,w.toString())}return t}var Cf=/\(([^()]*)\)/;function XT(e){for(var t=e;t.includes("(");){var r=Cf.exec(t),n=wi(r,2),a=n[1];t=t.replace(Cf,By(a))}return t}function ZT(e){var t=e.replace(/\s+/g,"");return t=XT(t),t=By(t),t}function JT(e){try{return ZT(e)}catch{return jr}}function su(e){var t=JT(e.slice(5,-1));return t===jr?"":t}var QT=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],eE=["dx","dy","angle","className","breakAll"];function ec(){return ec=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ec.apply(this,arguments)}function If(e,t){if(e==null)return{};var r=tE(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function tE(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Df(e,t){return iE(e)||aE(e,t)||nE(e,t)||rE()}function rE(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nE(e,t){if(e){if(typeof e=="string")return Rf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rf(e,t)}}function Rf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function aE(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function iE(e){if(Array.isArray(e))return e}var zy=/[ \f\n\r\t\v\u2028\u2029]+/,Fy=function(t){var r=t.children,n=t.breakAll,a=t.style;try{var i=[];J(r)||(n?i=r.toString().split(""):i=r.toString().split(zy));var o=i.map(function(c){return{word:c,width:Wn(c,a).width}}),u=n?0:Wn(" ",a).width;return{wordsWithComputedWidth:o,spaceWidth:u}}catch{return null}},oE=function(t,r,n,a,i){var o=t.maxLines,u=t.children,c=t.style,s=t.breakAll,f=U(o),l=u,h=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return j.reduce(function(C,R){var B=R.word,L=R.width,W=C[C.length-1];if(W&&(a==null||i||W.width+L+n<Number(a)))W.words.push(B),W.width+=L+n;else{var q={words:[B],width:L};C.push(q)}return C},[])},p=h(r),y=function(j){return j.reduce(function(C,R){return C.width>R.width?C:R})};if(!f)return p;for(var v="…",d=function(j){var C=l.slice(0,j),R=Fy({breakAll:s,style:c,children:C+v}).wordsWithComputedWidth,B=h(R),L=B.length>o||y(B).width>Number(a);return[L,B]},g=0,x=l.length-1,w=0,O;g<=x&&w<=l.length-1;){var m=Math.floor((g+x)/2),b=m-1,A=d(b),S=Df(A,2),$=S[0],I=S[1],T=d(m),M=Df(T,1),_=M[0];if(!$&&!_&&(g=m+1),$&&_&&(x=m-1),!$&&_){O=I;break}w++}return O||p},Nf=function(t){var r=J(t)?[]:t.toString().split(zy);return[{words:r}]},uE=function(t){var r=t.width,n=t.scaleToFit,a=t.children,i=t.style,o=t.breakAll,u=t.maxLines;if((r||n)&&!Rt.isSsr){var c,s,f=Fy({breakAll:o,children:a,style:i});if(f){var l=f.wordsWithComputedWidth,h=f.spaceWidth;c=l,s=h}else return Nf(a);return oE({breakAll:o,children:a,maxLines:u,style:i},c,s,r,n)}return Nf(a)},Lf="#808080",yr=function(t){var r=t.x,n=r===void 0?0:r,a=t.y,i=a===void 0?0:a,o=t.lineHeight,u=o===void 0?"1em":o,c=t.capHeight,s=c===void 0?"0.71em":c,f=t.scaleToFit,l=f===void 0?!1:f,h=t.textAnchor,p=h===void 0?"start":h,y=t.verticalAnchor,v=y===void 0?"end":y,d=t.fill,g=d===void 0?Lf:d,x=If(t,QT),w=F.useMemo(function(){return uE({breakAll:x.breakAll,children:x.children,maxLines:x.maxLines,scaleToFit:l,style:x.style,width:x.width})},[x.breakAll,x.children,x.maxLines,l,x.style,x.width]),O=x.dx,m=x.dy,b=x.angle,A=x.className,S=x.breakAll,$=If(x,eE);if(!Te(n)||!Te(i))return null;var I=n+(U(O)?O:0),T=i+(U(m)?m:0),M;switch(v){case"start":M=su("calc(".concat(s,")"));break;case"middle":M=su("calc(".concat((w.length-1)/2," * -").concat(u," + (").concat(s," / 2))"));break;default:M=su("calc(".concat(w.length-1," * -").concat(u,")"));break}var _=[];if(l){var k=w[0].width,j=x.width;_.push("scale(".concat((U(j)?j/k:1)/k,")"))}return b&&_.push("rotate(".concat(b,", ").concat(I,", ").concat(T,")")),_.length&&($.transform=_.join(" ")),P.createElement("text",ec({},Y($,!0),{x:I,y:T,className:Q("recharts-text",A),textAnchor:p,fill:g.includes("url")?Lf:g}),w.map(function(C,R){var B=C.words.join(S?"":" ");return P.createElement("tspan",{x:I,dy:R===0?M:u,key:"".concat(B,"-").concat(R)},B)}))};function Ht(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function cE(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Es(e){let t,r,n;e.length!==2?(t=Ht,r=(u,c)=>Ht(e(u),c),n=(u,c)=>e(u)-c):(t=e===Ht||e===cE?e:sE,r=e,n=e);function a(u,c,s=0,f=u.length){if(s<f){if(t(c,c)!==0)return f;do{const l=s+f>>>1;r(u[l],c)<0?s=l+1:f=l}while(s<f)}return s}function i(u,c,s=0,f=u.length){if(s<f){if(t(c,c)!==0)return f;do{const l=s+f>>>1;r(u[l],c)<=0?s=l+1:f=l}while(s<f)}return s}function o(u,c,s=0,f=u.length){const l=a(u,c,s,f-1);return l>s&&n(u[l-1],c)>-n(u[l],c)?l-1:l}return{left:a,center:o,right:i}}function sE(){return 0}function Wy(e){return e===null?NaN:+e}function*lE(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const fE=Es(Ht),Ca=fE.right;Es(Wy).center;class Bf extends Map{constructor(t,r=dE){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,a]of t)this.set(n,a)}get(t){return super.get(zf(this,t))}has(t){return super.has(zf(this,t))}set(t,r){return super.set(hE(this,t),r)}delete(t){return super.delete(pE(this,t))}}function zf({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function hE({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function pE({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function dE(e){return e!==null&&typeof e=="object"?e.valueOf():e}function yE(e=Ht){if(e===Ht)return Uy;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function Uy(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const vE=Math.sqrt(50),mE=Math.sqrt(10),gE=Math.sqrt(2);function Oi(e,t,r){const n=(t-e)/Math.max(0,r),a=Math.floor(Math.log10(n)),i=n/Math.pow(10,a),o=i>=vE?10:i>=mE?5:i>=gE?2:1;let u,c,s;return a<0?(s=Math.pow(10,-a)/o,u=Math.round(e*s),c=Math.round(t*s),u/s<e&&++u,c/s>t&&--c,s=-s):(s=Math.pow(10,a)*o,u=Math.round(e/s),c=Math.round(t/s),u*s<e&&++u,c*s>t&&--c),c<u&&.5<=r&&r<2?Oi(e,t,r*2):[u,c,s]}function tc(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[a,i,o]=n?Oi(t,e,r):Oi(e,t,r);if(!(i>=a))return[];const u=i-a+1,c=new Array(u);if(n)if(o<0)for(let s=0;s<u;++s)c[s]=(i-s)/-o;else for(let s=0;s<u;++s)c[s]=(i-s)*o;else if(o<0)for(let s=0;s<u;++s)c[s]=(a+s)/-o;else for(let s=0;s<u;++s)c[s]=(a+s)*o;return c}function rc(e,t,r){return t=+t,e=+e,r=+r,Oi(e,t,r)[2]}function nc(e,t,r){t=+t,e=+e,r=+r;const n=t<e,a=n?rc(t,e,r):rc(e,t,r);return(n?-1:1)*(a<0?1/-a:a)}function Ff(e,t){let r;for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);return r}function Wf(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function Hy(e,t,r=0,n=1/0,a){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(a=a===void 0?Uy:yE(a);n>r;){if(n-r>600){const c=n-r+1,s=t-r+1,f=Math.log(c),l=.5*Math.exp(2*f/3),h=.5*Math.sqrt(f*l*(c-l)/c)*(s-c/2<0?-1:1),p=Math.max(r,Math.floor(t-s*l/c+h)),y=Math.min(n,Math.floor(t+(c-s)*l/c+h));Hy(e,t,p,y,a)}const i=e[t];let o=r,u=n;for(Cn(e,r,t),a(e[n],i)>0&&Cn(e,r,n);o<u;){for(Cn(e,o,u),++o,--u;a(e[o],i)<0;)++o;for(;a(e[u],i)>0;)--u}a(e[r],i)===0?Cn(e,r,u):(++u,Cn(e,u,n)),u<=t&&(r=u+1),t<=u&&(n=u-1)}return e}function Cn(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function bE(e,t,r){if(e=Float64Array.from(lE(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return Wf(e);if(t>=1)return Ff(e);var n,a=(n-1)*t,i=Math.floor(a),o=Ff(Hy(e,i).subarray(0,i+1)),u=Wf(e.subarray(i+1));return o+(u-o)*(a-i)}}function xE(e,t,r=Wy){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,a=(n-1)*t,i=Math.floor(a),o=+r(e[i],i,e),u=+r(e[i+1],i+1,e);return o+(u-o)*(a-i)}}function wE(e,t,r){e=+e,t=+t,r=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+r;for(var n=-1,a=Math.max(0,Math.ceil((t-e)/r))|0,i=new Array(a);++n<a;)i[n]=e+n*r;return i}function at(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function Nt(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const ac=Symbol("implicit");function Ms(){var e=new Bf,t=[],r=[],n=ac;function a(i){let o=e.get(i);if(o===void 0){if(n!==ac)return n;e.set(i,o=t.push(i)-1)}return r[o%r.length]}return a.domain=function(i){if(!arguments.length)return t.slice();t=[],e=new Bf;for(const o of i)e.has(o)||e.set(o,t.push(o)-1);return a},a.range=function(i){return arguments.length?(r=Array.from(i),a):r.slice()},a.unknown=function(i){return arguments.length?(n=i,a):n},a.copy=function(){return Ms(t,r).unknown(n)},at.apply(a,arguments),a}function ra(){var e=Ms().unknown(void 0),t=e.domain,r=e.range,n=0,a=1,i,o,u=!1,c=0,s=0,f=.5;delete e.unknown;function l(){var h=t().length,p=a<n,y=p?a:n,v=p?n:a;i=(v-y)/Math.max(1,h-c+s*2),u&&(i=Math.floor(i)),y+=(v-y-i*(h-c))*f,o=i*(1-c),u&&(y=Math.round(y),o=Math.round(o));var d=wE(h).map(function(g){return y+i*g});return r(p?d.reverse():d)}return e.domain=function(h){return arguments.length?(t(h),l()):t()},e.range=function(h){return arguments.length?([n,a]=h,n=+n,a=+a,l()):[n,a]},e.rangeRound=function(h){return[n,a]=h,n=+n,a=+a,u=!0,l()},e.bandwidth=function(){return o},e.step=function(){return i},e.round=function(h){return arguments.length?(u=!!h,l()):u},e.padding=function(h){return arguments.length?(c=Math.min(1,s=+h),l()):c},e.paddingInner=function(h){return arguments.length?(c=Math.min(1,h),l()):c},e.paddingOuter=function(h){return arguments.length?(s=+h,l()):s},e.align=function(h){return arguments.length?(f=Math.max(0,Math.min(1,h)),l()):f},e.copy=function(){return ra(t(),[n,a]).round(u).paddingInner(c).paddingOuter(s).align(f)},at.apply(l(),arguments)}function qy(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return qy(t())},e}function Un(){return qy(ra.apply(null,arguments).paddingInner(1))}function js(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Ky(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Ia(){}var na=.7,Ai=1/na,Br="\\s*([+-]?\\d+)\\s*",aa="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",yt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",OE=/^#([0-9a-f]{3,8})$/,AE=new RegExp(`^rgb\\(${Br},${Br},${Br}\\)$`),PE=new RegExp(`^rgb\\(${yt},${yt},${yt}\\)$`),SE=new RegExp(`^rgba\\(${Br},${Br},${Br},${aa}\\)$`),_E=new RegExp(`^rgba\\(${yt},${yt},${yt},${aa}\\)$`),$E=new RegExp(`^hsl\\(${aa},${yt},${yt}\\)$`),kE=new RegExp(`^hsla\\(${aa},${yt},${yt},${aa}\\)$`),Uf={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};js(Ia,ia,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Hf,formatHex:Hf,formatHex8:TE,formatHsl:EE,formatRgb:qf,toString:qf});function Hf(){return this.rgb().formatHex()}function TE(){return this.rgb().formatHex8()}function EE(){return Vy(this).formatHsl()}function qf(){return this.rgb().formatRgb()}function ia(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=OE.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?Kf(t):r===3?new Ue(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?Xa(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?Xa(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=AE.exec(e))?new Ue(t[1],t[2],t[3],1):(t=PE.exec(e))?new Ue(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=SE.exec(e))?Xa(t[1],t[2],t[3],t[4]):(t=_E.exec(e))?Xa(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=$E.exec(e))?Yf(t[1],t[2]/100,t[3]/100,1):(t=kE.exec(e))?Yf(t[1],t[2]/100,t[3]/100,t[4]):Uf.hasOwnProperty(e)?Kf(Uf[e]):e==="transparent"?new Ue(NaN,NaN,NaN,0):null}function Kf(e){return new Ue(e>>16&255,e>>8&255,e&255,1)}function Xa(e,t,r,n){return n<=0&&(e=t=r=NaN),new Ue(e,t,r,n)}function ME(e){return e instanceof Ia||(e=ia(e)),e?(e=e.rgb(),new Ue(e.r,e.g,e.b,e.opacity)):new Ue}function ic(e,t,r,n){return arguments.length===1?ME(e):new Ue(e,t,r,n??1)}function Ue(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}js(Ue,ic,Ky(Ia,{brighter(e){return e=e==null?Ai:Math.pow(Ai,e),new Ue(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?na:Math.pow(na,e),new Ue(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ue(lr(this.r),lr(this.g),lr(this.b),Pi(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:Vf,formatHex:Vf,formatHex8:jE,formatRgb:Gf,toString:Gf}));function Vf(){return`#${or(this.r)}${or(this.g)}${or(this.b)}`}function jE(){return`#${or(this.r)}${or(this.g)}${or(this.b)}${or((isNaN(this.opacity)?1:this.opacity)*255)}`}function Gf(){const e=Pi(this.opacity);return`${e===1?"rgb(":"rgba("}${lr(this.r)}, ${lr(this.g)}, ${lr(this.b)}${e===1?")":`, ${e})`}`}function Pi(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function lr(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function or(e){return e=lr(e),(e<16?"0":"")+e.toString(16)}function Yf(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new st(e,t,r,n)}function Vy(e){if(e instanceof st)return new st(e.h,e.s,e.l,e.opacity);if(e instanceof Ia||(e=ia(e)),!e)return new st;if(e instanceof st)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,a=Math.min(t,r,n),i=Math.max(t,r,n),o=NaN,u=i-a,c=(i+a)/2;return u?(t===i?o=(r-n)/u+(r<n)*6:r===i?o=(n-t)/u+2:o=(t-r)/u+4,u/=c<.5?i+a:2-i-a,o*=60):u=c>0&&c<1?0:o,new st(o,u,c,e.opacity)}function CE(e,t,r,n){return arguments.length===1?Vy(e):new st(e,t,r,n??1)}function st(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}js(st,CE,Ky(Ia,{brighter(e){return e=e==null?Ai:Math.pow(Ai,e),new st(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?na:Math.pow(na,e),new st(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,a=2*r-n;return new Ue(lu(e>=240?e-240:e+120,a,n),lu(e,a,n),lu(e<120?e+240:e-120,a,n),this.opacity)},clamp(){return new st(Xf(this.h),Za(this.s),Za(this.l),Pi(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Pi(this.opacity);return`${e===1?"hsl(":"hsla("}${Xf(this.h)}, ${Za(this.s)*100}%, ${Za(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Xf(e){return e=(e||0)%360,e<0?e+360:e}function Za(e){return Math.max(0,Math.min(1,e||0))}function lu(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const Cs=e=>()=>e;function IE(e,t){return function(r){return e+r*t}}function DE(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function RE(e){return(e=+e)==1?Gy:function(t,r){return r-t?DE(t,r,e):Cs(isNaN(t)?r:t)}}function Gy(e,t){var r=t-e;return r?IE(e,r):Cs(isNaN(e)?t:e)}const Zf=function e(t){var r=RE(t);function n(a,i){var o=r((a=ic(a)).r,(i=ic(i)).r),u=r(a.g,i.g),c=r(a.b,i.b),s=Gy(a.opacity,i.opacity);return function(f){return a.r=o(f),a.g=u(f),a.b=c(f),a.opacity=s(f),a+""}}return n.gamma=e,n}(1);function NE(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),a;return function(i){for(a=0;a<r;++a)n[a]=e[a]*(1-i)+t[a]*i;return n}}function LE(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function BE(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,a=new Array(n),i=new Array(r),o;for(o=0;o<n;++o)a[o]=Sn(e[o],t[o]);for(;o<r;++o)i[o]=t[o];return function(u){for(o=0;o<n;++o)i[o]=a[o](u);return i}}function zE(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Si(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function FE(e,t){var r={},n={},a;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(a in t)a in e?r[a]=Sn(e[a],t[a]):n[a]=t[a];return function(i){for(a in r)n[a]=r[a](i);return n}}var oc=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,fu=new RegExp(oc.source,"g");function WE(e){return function(){return e}}function UE(e){return function(t){return e(t)+""}}function HE(e,t){var r=oc.lastIndex=fu.lastIndex=0,n,a,i,o=-1,u=[],c=[];for(e=e+"",t=t+"";(n=oc.exec(e))&&(a=fu.exec(t));)(i=a.index)>r&&(i=t.slice(r,i),u[o]?u[o]+=i:u[++o]=i),(n=n[0])===(a=a[0])?u[o]?u[o]+=a:u[++o]=a:(u[++o]=null,c.push({i:o,x:Si(n,a)})),r=fu.lastIndex;return r<t.length&&(i=t.slice(r),u[o]?u[o]+=i:u[++o]=i),u.length<2?c[0]?UE(c[0].x):WE(t):(t=c.length,function(s){for(var f=0,l;f<t;++f)u[(l=c[f]).i]=l.x(s);return u.join("")})}function Sn(e,t){var r=typeof t,n;return t==null||r==="boolean"?Cs(t):(r==="number"?Si:r==="string"?(n=ia(t))?(t=n,Zf):HE:t instanceof ia?Zf:t instanceof Date?zE:LE(t)?NE:Array.isArray(t)?BE:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?FE:Si)(e,t)}function Is(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function qE(e,t){t===void 0&&(t=e,e=Sn);for(var r=0,n=t.length-1,a=t[0],i=new Array(n<0?0:n);r<n;)i[r]=e(a,a=t[++r]);return function(o){var u=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return i[u](o-u)}}function KE(e){return function(){return e}}function _i(e){return+e}var Jf=[0,1];function We(e){return e}function uc(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:KE(isNaN(t)?NaN:.5)}function VE(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function GE(e,t,r){var n=e[0],a=e[1],i=t[0],o=t[1];return a<n?(n=uc(a,n),i=r(o,i)):(n=uc(n,a),i=r(i,o)),function(u){return i(n(u))}}function YE(e,t,r){var n=Math.min(e.length,t.length)-1,a=new Array(n),i=new Array(n),o=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<n;)a[o]=uc(e[o],e[o+1]),i[o]=r(t[o],t[o+1]);return function(u){var c=Ca(e,u,1,n)-1;return i[c](a[c](u))}}function Da(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function $o(){var e=Jf,t=Jf,r=Sn,n,a,i,o=We,u,c,s;function f(){var h=Math.min(e.length,t.length);return o!==We&&(o=VE(e[0],e[h-1])),u=h>2?YE:GE,c=s=null,l}function l(h){return h==null||isNaN(h=+h)?i:(c||(c=u(e.map(n),t,r)))(n(o(h)))}return l.invert=function(h){return o(a((s||(s=u(t,e.map(n),Si)))(h)))},l.domain=function(h){return arguments.length?(e=Array.from(h,_i),f()):e.slice()},l.range=function(h){return arguments.length?(t=Array.from(h),f()):t.slice()},l.rangeRound=function(h){return t=Array.from(h),r=Is,f()},l.clamp=function(h){return arguments.length?(o=h?!0:We,f()):o!==We},l.interpolate=function(h){return arguments.length?(r=h,f()):r},l.unknown=function(h){return arguments.length?(i=h,l):i},function(h,p){return n=h,a=p,f()}}function Ds(){return $o()(We,We)}function XE(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function $i(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function Kr(e){return e=$i(Math.abs(e)),e?e[1]:NaN}function ZE(e,t){return function(r,n){for(var a=r.length,i=[],o=0,u=e[0],c=0;a>0&&u>0&&(c+u+1>n&&(u=Math.max(1,n-c)),i.push(r.substring(a-=u,a+u)),!((c+=u+1)>n));)u=e[o=(o+1)%e.length];return i.reverse().join(t)}}function JE(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var QE=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function oa(e){if(!(t=QE.exec(e)))throw new Error("invalid format: "+e);var t;return new Rs({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}oa.prototype=Rs.prototype;function Rs(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Rs.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function eM(e){e:for(var t=e.length,r=1,n=-1,a;r<t;++r)switch(e[r]){case".":n=a=r;break;case"0":n===0&&(n=r),a=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(a+1):e}var Yy;function tM(e,t){var r=$i(e,t);if(!r)return e+"";var n=r[0],a=r[1],i=a-(Yy=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,o=n.length;return i===o?n:i>o?n+new Array(i-o+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+$i(e,Math.max(0,t+i-1))[0]}function Qf(e,t){var r=$i(e,t);if(!r)return e+"";var n=r[0],a=r[1];return a<0?"0."+new Array(-a).join("0")+n:n.length>a+1?n.slice(0,a+1)+"."+n.slice(a+1):n+new Array(a-n.length+2).join("0")}const eh={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:XE,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Qf(e*100,t),r:Qf,s:tM,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function th(e){return e}var rh=Array.prototype.map,nh=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function rM(e){var t=e.grouping===void 0||e.thousands===void 0?th:ZE(rh.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",a=e.decimal===void 0?".":e.decimal+"",i=e.numerals===void 0?th:JE(rh.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",u=e.minus===void 0?"−":e.minus+"",c=e.nan===void 0?"NaN":e.nan+"";function s(l){l=oa(l);var h=l.fill,p=l.align,y=l.sign,v=l.symbol,d=l.zero,g=l.width,x=l.comma,w=l.precision,O=l.trim,m=l.type;m==="n"?(x=!0,m="g"):eh[m]||(w===void 0&&(w=12),O=!0,m="g"),(d||h==="0"&&p==="=")&&(d=!0,h="0",p="=");var b=v==="$"?r:v==="#"&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",A=v==="$"?n:/[%p]/.test(m)?o:"",S=eh[m],$=/[defgprs%]/.test(m);w=w===void 0?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function I(T){var M=b,_=A,k,j,C;if(m==="c")_=S(T)+_,T="";else{T=+T;var R=T<0||1/T<0;if(T=isNaN(T)?c:S(Math.abs(T),w),O&&(T=eM(T)),R&&+T==0&&y!=="+"&&(R=!1),M=(R?y==="("?y:u:y==="-"||y==="("?"":y)+M,_=(m==="s"?nh[8+Yy/3]:"")+_+(R&&y==="("?")":""),$){for(k=-1,j=T.length;++k<j;)if(C=T.charCodeAt(k),48>C||C>57){_=(C===46?a+T.slice(k+1):T.slice(k))+_,T=T.slice(0,k);break}}}x&&!d&&(T=t(T,1/0));var B=M.length+T.length+_.length,L=B<g?new Array(g-B+1).join(h):"";switch(x&&d&&(T=t(L+T,L.length?g-_.length:1/0),L=""),p){case"<":T=M+T+_+L;break;case"=":T=M+L+T+_;break;case"^":T=L.slice(0,B=L.length>>1)+M+T+_+L.slice(B);break;default:T=L+M+T+_;break}return i(T)}return I.toString=function(){return l+""},I}function f(l,h){var p=s((l=oa(l),l.type="f",l)),y=Math.max(-8,Math.min(8,Math.floor(Kr(h)/3)))*3,v=Math.pow(10,-y),d=nh[8+y/3];return function(g){return p(v*g)+d}}return{format:s,formatPrefix:f}}var Ja,Ns,Xy;nM({thousands:",",grouping:[3],currency:["$",""]});function nM(e){return Ja=rM(e),Ns=Ja.format,Xy=Ja.formatPrefix,Ja}function aM(e){return Math.max(0,-Kr(Math.abs(e)))}function iM(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Kr(t)/3)))*3-Kr(Math.abs(e)))}function oM(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Kr(t)-Kr(e))+1}function Zy(e,t,r,n){var a=nc(e,t,r),i;switch(n=oa(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(i=iM(a,o))&&(n.precision=i),Xy(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(i=oM(a,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=i-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(i=aM(a))&&(n.precision=i-(n.type==="%")*2);break}}return Ns(n)}function Vt(e){var t=e.domain;return e.ticks=function(r){var n=t();return tc(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var a=t();return Zy(a[0],a[a.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),a=0,i=n.length-1,o=n[a],u=n[i],c,s,f=10;for(u<o&&(s=o,o=u,u=s,s=a,a=i,i=s);f-- >0;){if(s=rc(o,u,r),s===c)return n[a]=o,n[i]=u,t(n);if(s>0)o=Math.floor(o/s)*s,u=Math.ceil(u/s)*s;else if(s<0)o=Math.ceil(o*s)/s,u=Math.floor(u*s)/s;else break;c=s}return e},e}function ki(){var e=Ds();return e.copy=function(){return Da(e,ki())},at.apply(e,arguments),Vt(e)}function Jy(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,_i),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return Jy(e).unknown(t)},e=arguments.length?Array.from(e,_i):[0,1],Vt(r)}function Qy(e,t){e=e.slice();var r=0,n=e.length-1,a=e[r],i=e[n],o;return i<a&&(o=r,r=n,n=o,o=a,a=i,i=o),e[r]=t.floor(a),e[n]=t.ceil(i),e}function ah(e){return Math.log(e)}function ih(e){return Math.exp(e)}function uM(e){return-Math.log(-e)}function cM(e){return-Math.exp(-e)}function sM(e){return isFinite(e)?+("1e"+e):e<0?0:e}function lM(e){return e===10?sM:e===Math.E?Math.exp:t=>Math.pow(e,t)}function fM(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function oh(e){return(t,r)=>-e(-t,r)}function Ls(e){const t=e(ah,ih),r=t.domain;let n=10,a,i;function o(){return a=fM(n),i=lM(n),r()[0]<0?(a=oh(a),i=oh(i),e(uM,cM)):e(ah,ih),t}return t.base=function(u){return arguments.length?(n=+u,o()):n},t.domain=function(u){return arguments.length?(r(u),o()):r()},t.ticks=u=>{const c=r();let s=c[0],f=c[c.length-1];const l=f<s;l&&([s,f]=[f,s]);let h=a(s),p=a(f),y,v;const d=u==null?10:+u;let g=[];if(!(n%1)&&p-h<d){if(h=Math.floor(h),p=Math.ceil(p),s>0){for(;h<=p;++h)for(y=1;y<n;++y)if(v=h<0?y/i(-h):y*i(h),!(v<s)){if(v>f)break;g.push(v)}}else for(;h<=p;++h)for(y=n-1;y>=1;--y)if(v=h>0?y/i(-h):y*i(h),!(v<s)){if(v>f)break;g.push(v)}g.length*2<d&&(g=tc(s,f,d))}else g=tc(h,p,Math.min(p-h,d)).map(i);return l?g.reverse():g},t.tickFormat=(u,c)=>{if(u==null&&(u=10),c==null&&(c=n===10?"s":","),typeof c!="function"&&(!(n%1)&&(c=oa(c)).precision==null&&(c.trim=!0),c=Ns(c)),u===1/0)return c;const s=Math.max(1,n*u/t.ticks().length);return f=>{let l=f/i(Math.round(a(f)));return l*n<n-.5&&(l*=n),l<=s?c(f):""}},t.nice=()=>r(Qy(r(),{floor:u=>i(Math.floor(a(u))),ceil:u=>i(Math.ceil(a(u)))})),t}function ev(){const e=Ls($o()).domain([1,10]);return e.copy=()=>Da(e,ev()).base(e.base()),at.apply(e,arguments),e}function uh(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function ch(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Bs(e){var t=1,r=e(uh(t),ch(t));return r.constant=function(n){return arguments.length?e(uh(t=+n),ch(t)):t},Vt(r)}function tv(){var e=Bs($o());return e.copy=function(){return Da(e,tv()).constant(e.constant())},at.apply(e,arguments)}function sh(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function hM(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function pM(e){return e<0?-e*e:e*e}function zs(e){var t=e(We,We),r=1;function n(){return r===1?e(We,We):r===.5?e(hM,pM):e(sh(r),sh(1/r))}return t.exponent=function(a){return arguments.length?(r=+a,n()):r},Vt(t)}function Fs(){var e=zs($o());return e.copy=function(){return Da(e,Fs()).exponent(e.exponent())},at.apply(e,arguments),e}function dM(){return Fs.apply(null,arguments).exponent(.5)}function lh(e){return Math.sign(e)*e*e}function yM(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function rv(){var e=Ds(),t=[0,1],r=!1,n;function a(i){var o=yM(e(i));return isNaN(o)?n:r?Math.round(o):o}return a.invert=function(i){return e.invert(lh(i))},a.domain=function(i){return arguments.length?(e.domain(i),a):e.domain()},a.range=function(i){return arguments.length?(e.range((t=Array.from(i,_i)).map(lh)),a):t.slice()},a.rangeRound=function(i){return a.range(i).round(!0)},a.round=function(i){return arguments.length?(r=!!i,a):r},a.clamp=function(i){return arguments.length?(e.clamp(i),a):e.clamp()},a.unknown=function(i){return arguments.length?(n=i,a):n},a.copy=function(){return rv(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},at.apply(a,arguments),Vt(a)}function nv(){var e=[],t=[],r=[],n;function a(){var o=0,u=Math.max(1,t.length);for(r=new Array(u-1);++o<u;)r[o-1]=xE(e,o/u);return i}function i(o){return o==null||isNaN(o=+o)?n:t[Ca(r,o)]}return i.invertExtent=function(o){var u=t.indexOf(o);return u<0?[NaN,NaN]:[u>0?r[u-1]:e[0],u<r.length?r[u]:e[e.length-1]]},i.domain=function(o){if(!arguments.length)return e.slice();e=[];for(let u of o)u!=null&&!isNaN(u=+u)&&e.push(u);return e.sort(Ht),a()},i.range=function(o){return arguments.length?(t=Array.from(o),a()):t.slice()},i.unknown=function(o){return arguments.length?(n=o,i):n},i.quantiles=function(){return r.slice()},i.copy=function(){return nv().domain(e).range(t).unknown(n)},at.apply(i,arguments)}function av(){var e=0,t=1,r=1,n=[.5],a=[0,1],i;function o(c){return c!=null&&c<=c?a[Ca(n,c,0,r)]:i}function u(){var c=-1;for(n=new Array(r);++c<r;)n[c]=((c+1)*t-(c-r)*e)/(r+1);return o}return o.domain=function(c){return arguments.length?([e,t]=c,e=+e,t=+t,u()):[e,t]},o.range=function(c){return arguments.length?(r=(a=Array.from(c)).length-1,u()):a.slice()},o.invertExtent=function(c){var s=a.indexOf(c);return s<0?[NaN,NaN]:s<1?[e,n[0]]:s>=r?[n[r-1],t]:[n[s-1],n[s]]},o.unknown=function(c){return arguments.length&&(i=c),o},o.thresholds=function(){return n.slice()},o.copy=function(){return av().domain([e,t]).range(a).unknown(i)},at.apply(Vt(o),arguments)}function iv(){var e=[.5],t=[0,1],r,n=1;function a(i){return i!=null&&i<=i?t[Ca(e,i,0,n)]:r}return a.domain=function(i){return arguments.length?(e=Array.from(i),n=Math.min(e.length,t.length-1),a):e.slice()},a.range=function(i){return arguments.length?(t=Array.from(i),n=Math.min(e.length,t.length-1),a):t.slice()},a.invertExtent=function(i){var o=t.indexOf(i);return[e[o-1],e[o]]},a.unknown=function(i){return arguments.length?(r=i,a):r},a.copy=function(){return iv().domain(e).range(t).unknown(r)},at.apply(a,arguments)}const hu=new Date,pu=new Date;function Ee(e,t,r,n){function a(i){return e(i=arguments.length===0?new Date:new Date(+i)),i}return a.floor=i=>(e(i=new Date(+i)),i),a.ceil=i=>(e(i=new Date(i-1)),t(i,1),e(i),i),a.round=i=>{const o=a(i),u=a.ceil(i);return i-o<u-i?o:u},a.offset=(i,o)=>(t(i=new Date(+i),o==null?1:Math.floor(o)),i),a.range=(i,o,u)=>{const c=[];if(i=a.ceil(i),u=u==null?1:Math.floor(u),!(i<o)||!(u>0))return c;let s;do c.push(s=new Date(+i)),t(i,u),e(i);while(s<i&&i<o);return c},a.filter=i=>Ee(o=>{if(o>=o)for(;e(o),!i(o);)o.setTime(o-1)},(o,u)=>{if(o>=o)if(u<0)for(;++u<=0;)for(;t(o,-1),!i(o););else for(;--u>=0;)for(;t(o,1),!i(o););}),r&&(a.count=(i,o)=>(hu.setTime(+i),pu.setTime(+o),e(hu),e(pu),Math.floor(r(hu,pu))),a.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?a.filter(n?o=>n(o)%i===0:o=>a.count(0,o)%i===0):a)),a}const Ti=Ee(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Ti.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Ee(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):Ti);Ti.range;const St=1e3,tt=St*60,_t=tt*60,Et=_t*24,Ws=Et*7,fh=Et*30,du=Et*365,ur=Ee(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*St)},(e,t)=>(t-e)/St,e=>e.getUTCSeconds());ur.range;const Us=Ee(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*St)},(e,t)=>{e.setTime(+e+t*tt)},(e,t)=>(t-e)/tt,e=>e.getMinutes());Us.range;const Hs=Ee(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*tt)},(e,t)=>(t-e)/tt,e=>e.getUTCMinutes());Hs.range;const qs=Ee(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*St-e.getMinutes()*tt)},(e,t)=>{e.setTime(+e+t*_t)},(e,t)=>(t-e)/_t,e=>e.getHours());qs.range;const Ks=Ee(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*_t)},(e,t)=>(t-e)/_t,e=>e.getUTCHours());Ks.range;const Ra=Ee(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*tt)/Et,e=>e.getDate()-1);Ra.range;const ko=Ee(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Et,e=>e.getUTCDate()-1);ko.range;const ov=Ee(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Et,e=>Math.floor(e/Et));ov.range;function wr(e){return Ee(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*tt)/Ws)}const To=wr(0),Ei=wr(1),vM=wr(2),mM=wr(3),Vr=wr(4),gM=wr(5),bM=wr(6);To.range;Ei.range;vM.range;mM.range;Vr.range;gM.range;bM.range;function Or(e){return Ee(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/Ws)}const Eo=Or(0),Mi=Or(1),xM=Or(2),wM=Or(3),Gr=Or(4),OM=Or(5),AM=Or(6);Eo.range;Mi.range;xM.range;wM.range;Gr.range;OM.range;AM.range;const Vs=Ee(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Vs.range;const Gs=Ee(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());Gs.range;const Mt=Ee(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Mt.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Ee(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});Mt.range;const jt=Ee(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());jt.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Ee(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});jt.range;function uv(e,t,r,n,a,i){const o=[[ur,1,St],[ur,5,5*St],[ur,15,15*St],[ur,30,30*St],[i,1,tt],[i,5,5*tt],[i,15,15*tt],[i,30,30*tt],[a,1,_t],[a,3,3*_t],[a,6,6*_t],[a,12,12*_t],[n,1,Et],[n,2,2*Et],[r,1,Ws],[t,1,fh],[t,3,3*fh],[e,1,du]];function u(s,f,l){const h=f<s;h&&([s,f]=[f,s]);const p=l&&typeof l.range=="function"?l:c(s,f,l),y=p?p.range(s,+f+1):[];return h?y.reverse():y}function c(s,f,l){const h=Math.abs(f-s)/l,p=Es(([,,d])=>d).right(o,h);if(p===o.length)return e.every(nc(s/du,f/du,l));if(p===0)return Ti.every(Math.max(nc(s,f,l),1));const[y,v]=o[h/o[p-1][2]<o[p][2]/h?p-1:p];return y.every(v)}return[u,c]}const[PM,SM]=uv(jt,Gs,Eo,ov,Ks,Hs),[_M,$M]=uv(Mt,Vs,To,Ra,qs,Us);function yu(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function vu(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function In(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function kM(e){var t=e.dateTime,r=e.date,n=e.time,a=e.periods,i=e.days,o=e.shortDays,u=e.months,c=e.shortMonths,s=Dn(a),f=Rn(a),l=Dn(i),h=Rn(i),p=Dn(o),y=Rn(o),v=Dn(u),d=Rn(u),g=Dn(c),x=Rn(c),w={a:R,A:B,b:L,B:W,c:null,d:mh,e:mh,f:ZM,g:uj,G:sj,H:GM,I:YM,j:XM,L:cv,m:JM,M:QM,p:q,q:z,Q:xh,s:wh,S:ej,u:tj,U:rj,V:nj,w:aj,W:ij,x:null,X:null,y:oj,Y:cj,Z:lj,"%":bh},O={a:K,A:re,b:ae,B:be,c:null,d:gh,e:gh,f:dj,g:Pj,G:_j,H:fj,I:hj,j:pj,L:lv,m:yj,M:vj,p:it,q:Me,Q:xh,s:wh,S:mj,u:gj,U:bj,V:xj,w:wj,W:Oj,x:null,X:null,y:Aj,Y:Sj,Z:$j,"%":bh},m={a:I,A:T,b:M,B:_,c:k,d:yh,e:yh,f:HM,g:dh,G:ph,H:vh,I:vh,j:zM,L:UM,m:BM,M:FM,p:$,q:LM,Q:KM,s:VM,S:WM,u:CM,U:IM,V:DM,w:jM,W:RM,x:j,X:C,y:dh,Y:ph,Z:NM,"%":qM};w.x=b(r,w),w.X=b(n,w),w.c=b(t,w),O.x=b(r,O),O.X=b(n,O),O.c=b(t,O);function b(V,ee){return function(te){var D=[],fe=-1,H=0,de=V.length,xe,De,Lt;for(te instanceof Date||(te=new Date(+te));++fe<de;)V.charCodeAt(fe)===37&&(D.push(V.slice(H,fe)),(De=hh[xe=V.charAt(++fe)])!=null?xe=V.charAt(++fe):De=xe==="e"?" ":"0",(Lt=ee[xe])&&(xe=Lt(te,De)),D.push(xe),H=fe+1);return D.push(V.slice(H,fe)),D.join("")}}function A(V,ee){return function(te){var D=In(1900,void 0,1),fe=S(D,V,te+="",0),H,de;if(fe!=te.length)return null;if("Q"in D)return new Date(D.Q);if("s"in D)return new Date(D.s*1e3+("L"in D?D.L:0));if(ee&&!("Z"in D)&&(D.Z=0),"p"in D&&(D.H=D.H%12+D.p*12),D.m===void 0&&(D.m="q"in D?D.q:0),"V"in D){if(D.V<1||D.V>53)return null;"w"in D||(D.w=1),"Z"in D?(H=vu(In(D.y,0,1)),de=H.getUTCDay(),H=de>4||de===0?Mi.ceil(H):Mi(H),H=ko.offset(H,(D.V-1)*7),D.y=H.getUTCFullYear(),D.m=H.getUTCMonth(),D.d=H.getUTCDate()+(D.w+6)%7):(H=yu(In(D.y,0,1)),de=H.getDay(),H=de>4||de===0?Ei.ceil(H):Ei(H),H=Ra.offset(H,(D.V-1)*7),D.y=H.getFullYear(),D.m=H.getMonth(),D.d=H.getDate()+(D.w+6)%7)}else("W"in D||"U"in D)&&("w"in D||(D.w="u"in D?D.u%7:"W"in D?1:0),de="Z"in D?vu(In(D.y,0,1)).getUTCDay():yu(In(D.y,0,1)).getDay(),D.m=0,D.d="W"in D?(D.w+6)%7+D.W*7-(de+5)%7:D.w+D.U*7-(de+6)%7);return"Z"in D?(D.H+=D.Z/100|0,D.M+=D.Z%100,vu(D)):yu(D)}}function S(V,ee,te,D){for(var fe=0,H=ee.length,de=te.length,xe,De;fe<H;){if(D>=de)return-1;if(xe=ee.charCodeAt(fe++),xe===37){if(xe=ee.charAt(fe++),De=m[xe in hh?ee.charAt(fe++):xe],!De||(D=De(V,te,D))<0)return-1}else if(xe!=te.charCodeAt(D++))return-1}return D}function $(V,ee,te){var D=s.exec(ee.slice(te));return D?(V.p=f.get(D[0].toLowerCase()),te+D[0].length):-1}function I(V,ee,te){var D=p.exec(ee.slice(te));return D?(V.w=y.get(D[0].toLowerCase()),te+D[0].length):-1}function T(V,ee,te){var D=l.exec(ee.slice(te));return D?(V.w=h.get(D[0].toLowerCase()),te+D[0].length):-1}function M(V,ee,te){var D=g.exec(ee.slice(te));return D?(V.m=x.get(D[0].toLowerCase()),te+D[0].length):-1}function _(V,ee,te){var D=v.exec(ee.slice(te));return D?(V.m=d.get(D[0].toLowerCase()),te+D[0].length):-1}function k(V,ee,te){return S(V,t,ee,te)}function j(V,ee,te){return S(V,r,ee,te)}function C(V,ee,te){return S(V,n,ee,te)}function R(V){return o[V.getDay()]}function B(V){return i[V.getDay()]}function L(V){return c[V.getMonth()]}function W(V){return u[V.getMonth()]}function q(V){return a[+(V.getHours()>=12)]}function z(V){return 1+~~(V.getMonth()/3)}function K(V){return o[V.getUTCDay()]}function re(V){return i[V.getUTCDay()]}function ae(V){return c[V.getUTCMonth()]}function be(V){return u[V.getUTCMonth()]}function it(V){return a[+(V.getUTCHours()>=12)]}function Me(V){return 1+~~(V.getUTCMonth()/3)}return{format:function(V){var ee=b(V+="",w);return ee.toString=function(){return V},ee},parse:function(V){var ee=A(V+="",!1);return ee.toString=function(){return V},ee},utcFormat:function(V){var ee=b(V+="",O);return ee.toString=function(){return V},ee},utcParse:function(V){var ee=A(V+="",!0);return ee.toString=function(){return V},ee}}}var hh={"-":"",_:" ",0:"0"},Ie=/^\s*\d+/,TM=/^%/,EM=/[\\^$*+?|[\]().{}]/g;function ie(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i<r?new Array(r-i+1).join(t)+a:a)}function MM(e){return e.replace(EM,"\\$&")}function Dn(e){return new RegExp("^(?:"+e.map(MM).join("|")+")","i")}function Rn(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function jM(e,t,r){var n=Ie.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function CM(e,t,r){var n=Ie.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function IM(e,t,r){var n=Ie.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function DM(e,t,r){var n=Ie.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function RM(e,t,r){var n=Ie.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function ph(e,t,r){var n=Ie.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function dh(e,t,r){var n=Ie.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function NM(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function LM(e,t,r){var n=Ie.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function BM(e,t,r){var n=Ie.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function yh(e,t,r){var n=Ie.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function zM(e,t,r){var n=Ie.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function vh(e,t,r){var n=Ie.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function FM(e,t,r){var n=Ie.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function WM(e,t,r){var n=Ie.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function UM(e,t,r){var n=Ie.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function HM(e,t,r){var n=Ie.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function qM(e,t,r){var n=TM.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function KM(e,t,r){var n=Ie.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function VM(e,t,r){var n=Ie.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function mh(e,t){return ie(e.getDate(),t,2)}function GM(e,t){return ie(e.getHours(),t,2)}function YM(e,t){return ie(e.getHours()%12||12,t,2)}function XM(e,t){return ie(1+Ra.count(Mt(e),e),t,3)}function cv(e,t){return ie(e.getMilliseconds(),t,3)}function ZM(e,t){return cv(e,t)+"000"}function JM(e,t){return ie(e.getMonth()+1,t,2)}function QM(e,t){return ie(e.getMinutes(),t,2)}function ej(e,t){return ie(e.getSeconds(),t,2)}function tj(e){var t=e.getDay();return t===0?7:t}function rj(e,t){return ie(To.count(Mt(e)-1,e),t,2)}function sv(e){var t=e.getDay();return t>=4||t===0?Vr(e):Vr.ceil(e)}function nj(e,t){return e=sv(e),ie(Vr.count(Mt(e),e)+(Mt(e).getDay()===4),t,2)}function aj(e){return e.getDay()}function ij(e,t){return ie(Ei.count(Mt(e)-1,e),t,2)}function oj(e,t){return ie(e.getFullYear()%100,t,2)}function uj(e,t){return e=sv(e),ie(e.getFullYear()%100,t,2)}function cj(e,t){return ie(e.getFullYear()%1e4,t,4)}function sj(e,t){var r=e.getDay();return e=r>=4||r===0?Vr(e):Vr.ceil(e),ie(e.getFullYear()%1e4,t,4)}function lj(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ie(t/60|0,"0",2)+ie(t%60,"0",2)}function gh(e,t){return ie(e.getUTCDate(),t,2)}function fj(e,t){return ie(e.getUTCHours(),t,2)}function hj(e,t){return ie(e.getUTCHours()%12||12,t,2)}function pj(e,t){return ie(1+ko.count(jt(e),e),t,3)}function lv(e,t){return ie(e.getUTCMilliseconds(),t,3)}function dj(e,t){return lv(e,t)+"000"}function yj(e,t){return ie(e.getUTCMonth()+1,t,2)}function vj(e,t){return ie(e.getUTCMinutes(),t,2)}function mj(e,t){return ie(e.getUTCSeconds(),t,2)}function gj(e){var t=e.getUTCDay();return t===0?7:t}function bj(e,t){return ie(Eo.count(jt(e)-1,e),t,2)}function fv(e){var t=e.getUTCDay();return t>=4||t===0?Gr(e):Gr.ceil(e)}function xj(e,t){return e=fv(e),ie(Gr.count(jt(e),e)+(jt(e).getUTCDay()===4),t,2)}function wj(e){return e.getUTCDay()}function Oj(e,t){return ie(Mi.count(jt(e)-1,e),t,2)}function Aj(e,t){return ie(e.getUTCFullYear()%100,t,2)}function Pj(e,t){return e=fv(e),ie(e.getUTCFullYear()%100,t,2)}function Sj(e,t){return ie(e.getUTCFullYear()%1e4,t,4)}function _j(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Gr(e):Gr.ceil(e),ie(e.getUTCFullYear()%1e4,t,4)}function $j(){return"+0000"}function bh(){return"%"}function xh(e){return+e}function wh(e){return Math.floor(+e/1e3)}var $r,hv,pv;kj({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"]});function kj(e){return $r=kM(e),hv=$r.format,$r.parse,pv=$r.utcFormat,$r.utcParse,$r}function Tj(e){return new Date(e)}function Ej(e){return e instanceof Date?+e:+new Date(+e)}function Ys(e,t,r,n,a,i,o,u,c,s){var f=Ds(),l=f.invert,h=f.domain,p=s(".%L"),y=s(":%S"),v=s("%I:%M"),d=s("%I %p"),g=s("%a %d"),x=s("%b %d"),w=s("%B"),O=s("%Y");function m(b){return(c(b)<b?p:u(b)<b?y:o(b)<b?v:i(b)<b?d:n(b)<b?a(b)<b?g:x:r(b)<b?w:O)(b)}return f.invert=function(b){return new Date(l(b))},f.domain=function(b){return arguments.length?h(Array.from(b,Ej)):h().map(Tj)},f.ticks=function(b){var A=h();return e(A[0],A[A.length-1],b??10)},f.tickFormat=function(b,A){return A==null?m:s(A)},f.nice=function(b){var A=h();return(!b||typeof b.range!="function")&&(b=t(A[0],A[A.length-1],b??10)),b?h(Qy(A,b)):f},f.copy=function(){return Da(f,Ys(e,t,r,n,a,i,o,u,c,s))},f}function Mj(){return at.apply(Ys(_M,$M,Mt,Vs,To,Ra,qs,Us,ur,hv).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function jj(){return at.apply(Ys(PM,SM,jt,Gs,Eo,ko,Ks,Hs,ur,pv).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Mo(){var e=0,t=1,r,n,a,i,o=We,u=!1,c;function s(l){return l==null||isNaN(l=+l)?c:o(a===0?.5:(l=(i(l)-r)*a,u?Math.max(0,Math.min(1,l)):l))}s.domain=function(l){return arguments.length?([e,t]=l,r=i(e=+e),n=i(t=+t),a=r===n?0:1/(n-r),s):[e,t]},s.clamp=function(l){return arguments.length?(u=!!l,s):u},s.interpolator=function(l){return arguments.length?(o=l,s):o};function f(l){return function(h){var p,y;return arguments.length?([p,y]=h,o=l(p,y),s):[o(0),o(1)]}}return s.range=f(Sn),s.rangeRound=f(Is),s.unknown=function(l){return arguments.length?(c=l,s):c},function(l){return i=l,r=l(e),n=l(t),a=r===n?0:1/(n-r),s}}function Gt(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function dv(){var e=Vt(Mo()(We));return e.copy=function(){return Gt(e,dv())},Nt.apply(e,arguments)}function yv(){var e=Ls(Mo()).domain([1,10]);return e.copy=function(){return Gt(e,yv()).base(e.base())},Nt.apply(e,arguments)}function vv(){var e=Bs(Mo());return e.copy=function(){return Gt(e,vv()).constant(e.constant())},Nt.apply(e,arguments)}function Xs(){var e=zs(Mo());return e.copy=function(){return Gt(e,Xs()).exponent(e.exponent())},Nt.apply(e,arguments)}function Cj(){return Xs.apply(null,arguments).exponent(.5)}function mv(){var e=[],t=We;function r(n){if(n!=null&&!isNaN(n=+n))return t((Ca(e,n,1)-1)/(e.length-1))}return r.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let a of n)a!=null&&!isNaN(a=+a)&&e.push(a);return e.sort(Ht),r},r.interpolator=function(n){return arguments.length?(t=n,r):t},r.range=function(){return e.map((n,a)=>t(a/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(a,i)=>bE(e,i/n))},r.copy=function(){return mv(t).domain(e)},Nt.apply(r,arguments)}function jo(){var e=0,t=.5,r=1,n=1,a,i,o,u,c,s=We,f,l=!1,h;function p(v){return isNaN(v=+v)?h:(v=.5+((v=+f(v))-i)*(n*v<n*i?u:c),s(l?Math.max(0,Math.min(1,v)):v))}p.domain=function(v){return arguments.length?([e,t,r]=v,a=f(e=+e),i=f(t=+t),o=f(r=+r),u=a===i?0:.5/(i-a),c=i===o?0:.5/(o-i),n=i<a?-1:1,p):[e,t,r]},p.clamp=function(v){return arguments.length?(l=!!v,p):l},p.interpolator=function(v){return arguments.length?(s=v,p):s};function y(v){return function(d){var g,x,w;return arguments.length?([g,x,w]=d,s=qE(v,[g,x,w]),p):[s(0),s(.5),s(1)]}}return p.range=y(Sn),p.rangeRound=y(Is),p.unknown=function(v){return arguments.length?(h=v,p):h},function(v){return f=v,a=v(e),i=v(t),o=v(r),u=a===i?0:.5/(i-a),c=i===o?0:.5/(o-i),n=i<a?-1:1,p}}function gv(){var e=Vt(jo()(We));return e.copy=function(){return Gt(e,gv())},Nt.apply(e,arguments)}function bv(){var e=Ls(jo()).domain([.1,1,10]);return e.copy=function(){return Gt(e,bv()).base(e.base())},Nt.apply(e,arguments)}function xv(){var e=Bs(jo());return e.copy=function(){return Gt(e,xv()).constant(e.constant())},Nt.apply(e,arguments)}function Zs(){var e=zs(jo());return e.copy=function(){return Gt(e,Zs()).exponent(e.exponent())},Nt.apply(e,arguments)}function Ij(){return Zs.apply(null,arguments).exponent(.5)}const Oh=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:ra,scaleDiverging:gv,scaleDivergingLog:bv,scaleDivergingPow:Zs,scaleDivergingSqrt:Ij,scaleDivergingSymlog:xv,scaleIdentity:Jy,scaleImplicit:ac,scaleLinear:ki,scaleLog:ev,scaleOrdinal:Ms,scalePoint:Un,scalePow:Fs,scaleQuantile:nv,scaleQuantize:av,scaleRadial:rv,scaleSequential:dv,scaleSequentialLog:yv,scaleSequentialPow:Xs,scaleSequentialQuantile:mv,scaleSequentialSqrt:Cj,scaleSequentialSymlog:vv,scaleSqrt:dM,scaleSymlog:tv,scaleThreshold:iv,scaleTime:Mj,scaleUtc:jj,tickFormat:Zy},Symbol.toStringTag,{value:"Module"}));var Dj=vn;function Rj(e,t,r){for(var n=-1,a=e.length;++n<a;){var i=e[n],o=t(i);if(o!=null&&(u===void 0?o===o&&!Dj(o):r(o,u)))var u=o,c=i}return c}var Co=Rj;function Nj(e,t){return e>t}var wv=Nj,Lj=Co,Bj=wv,zj=Pn;function Fj(e){return e&&e.length?Lj(e,zj,Bj):void 0}var Wj=Fj;const Wt=le(Wj);function Uj(e,t){return e<t}var Ov=Uj,Hj=Co,qj=Ov,Kj=Pn;function Vj(e){return e&&e.length?Hj(e,Kj,qj):void 0}var Gj=Vj;const Io=le(Gj);var Yj=hs,Xj=bt,Zj=Ey,Jj=He;function Qj(e,t){var r=Jj(e)?Yj:Zj;return r(e,Xj(t))}var eC=Qj,tC=ky,rC=eC;function nC(e,t){return tC(rC(e,t),1)}var aC=nC;const iC=le(aC);var oC=Ss;function uC(e,t){return oC(e,t)}var cC=uC;const qt=le(cC);var _n=1e9,sC={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},Qs,we=!0,rt="[DecimalError] ",fr=rt+"Invalid argument: ",Js=rt+"Exponent out of range: ",$n=Math.floor,nr=Math.pow,lC=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Ge,je=1e7,ge=7,Av=9007199254740991,ji=$n(Av/ge),G={};G.absoluteValue=G.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};G.comparedTo=G.cmp=function(e){var t,r,n,a,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(n=i.d.length,a=e.d.length,t=0,r=n<a?n:a;t<r;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return n===a?0:n>a^i.s<0?1:-1};G.decimalPlaces=G.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*ge;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};G.dividedBy=G.div=function(e){return Tt(this,new this.constructor(e))};G.dividedToIntegerBy=G.idiv=function(e){var t=this,r=t.constructor;return pe(Tt(t,new r(e),0,1),r.precision)};G.equals=G.eq=function(e){return!this.cmp(e)};G.exponent=function(){return _e(this)};G.greaterThan=G.gt=function(e){return this.cmp(e)>0};G.greaterThanOrEqualTo=G.gte=function(e){return this.cmp(e)>=0};G.isInteger=G.isint=function(){return this.e>this.d.length-2};G.isNegative=G.isneg=function(){return this.s<0};G.isPositive=G.ispos=function(){return this.s>0};G.isZero=function(){return this.s===0};G.lessThan=G.lt=function(e){return this.cmp(e)<0};G.lessThanOrEqualTo=G.lte=function(e){return this.cmp(e)<1};G.logarithm=G.log=function(e){var t,r=this,n=r.constructor,a=n.precision,i=a+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(Ge))throw Error(rt+"NaN");if(r.s<1)throw Error(rt+(r.s?"NaN":"-Infinity"));return r.eq(Ge)?new n(0):(we=!1,t=Tt(ua(r,i),ua(e,i),i),we=!0,pe(t,a))};G.minus=G.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_v(t,e):Pv(t,(e.s=-e.s,e))};G.modulo=G.mod=function(e){var t,r=this,n=r.constructor,a=n.precision;if(e=new n(e),!e.s)throw Error(rt+"NaN");return r.s?(we=!1,t=Tt(r,e,0,1).times(e),we=!0,r.minus(t)):pe(new n(r),a)};G.naturalExponential=G.exp=function(){return Sv(this)};G.naturalLogarithm=G.ln=function(){return ua(this)};G.negated=G.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};G.plus=G.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Pv(t,e):_v(t,(e.s=-e.s,e))};G.precision=G.sd=function(e){var t,r,n,a=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(fr+e);if(t=_e(a)+1,n=a.d.length-1,r=n*ge+1,n=a.d[n],n){for(;n%10==0;n/=10)r--;for(n=a.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};G.squareRoot=G.sqrt=function(){var e,t,r,n,a,i,o,u=this,c=u.constructor;if(u.s<1){if(!u.s)return new c(0);throw Error(rt+"NaN")}for(e=_e(u),we=!1,a=Math.sqrt(+u),a==0||a==1/0?(t=pt(u.d),(t.length+e)%2==0&&(t+="0"),a=Math.sqrt(t),e=$n((e+1)/2)-(e<0||e%2),a==1/0?t="5e"+e:(t=a.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new c(t)):n=new c(a.toString()),r=c.precision,a=o=r+3;;)if(i=n,n=i.plus(Tt(u,i,o+2)).times(.5),pt(i.d).slice(0,o)===(t=pt(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),a==o&&t=="4999"){if(pe(i,r+1,0),i.times(i).eq(u)){n=i;break}}else if(t!="9999")break;o+=4}return we=!0,pe(n,r)};G.times=G.mul=function(e){var t,r,n,a,i,o,u,c,s,f=this,l=f.constructor,h=f.d,p=(e=new l(e)).d;if(!f.s||!e.s)return new l(0);for(e.s*=f.s,r=f.e+e.e,c=h.length,s=p.length,c<s&&(i=h,h=p,p=i,o=c,c=s,s=o),i=[],o=c+s,n=o;n--;)i.push(0);for(n=s;--n>=0;){for(t=0,a=c+n;a>n;)u=i[a]+p[n]*h[a-n-1]+t,i[a--]=u%je|0,t=u/je|0;i[a]=(i[a]+t)%je|0}for(;!i[--o];)i.pop();return t?++r:i.shift(),e.d=i,e.e=r,we?pe(e,l.precision):e};G.toDecimalPlaces=G.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(mt(e,0,_n),t===void 0?t=n.rounding:mt(t,0,8),pe(r,e+_e(r)+1,t))};G.toExponential=function(e,t){var r,n=this,a=n.constructor;return e===void 0?r=vr(n,!0):(mt(e,0,_n),t===void 0?t=a.rounding:mt(t,0,8),n=pe(new a(n),e+1,t),r=vr(n,!0,e+1)),r};G.toFixed=function(e,t){var r,n,a=this,i=a.constructor;return e===void 0?vr(a):(mt(e,0,_n),t===void 0?t=i.rounding:mt(t,0,8),n=pe(new i(a),e+_e(a)+1,t),r=vr(n.abs(),!1,e+_e(n)+1),a.isneg()&&!a.isZero()?"-"+r:r)};G.toInteger=G.toint=function(){var e=this,t=e.constructor;return pe(new t(e),_e(e)+1,t.rounding)};G.toNumber=function(){return+this};G.toPower=G.pow=function(e){var t,r,n,a,i,o,u=this,c=u.constructor,s=12,f=+(e=new c(e));if(!e.s)return new c(Ge);if(u=new c(u),!u.s){if(e.s<1)throw Error(rt+"Infinity");return u}if(u.eq(Ge))return u;if(n=c.precision,e.eq(Ge))return pe(u,n);if(t=e.e,r=e.d.length-1,o=t>=r,i=u.s,o){if((r=f<0?-f:f)<=Av){for(a=new c(Ge),t=Math.ceil(n/ge+4),we=!1;r%2&&(a=a.times(u),Ph(a.d,t)),r=$n(r/2),r!==0;)u=u.times(u),Ph(u.d,t);return we=!0,e.s<0?new c(Ge).div(a):pe(a,n)}}else if(i<0)throw Error(rt+"NaN");return i=i<0&&e.d[Math.max(t,r)]&1?-1:1,u.s=1,we=!1,a=e.times(ua(u,n+s)),we=!0,a=Sv(a),a.s=i,a};G.toPrecision=function(e,t){var r,n,a=this,i=a.constructor;return e===void 0?(r=_e(a),n=vr(a,r<=i.toExpNeg||r>=i.toExpPos)):(mt(e,1,_n),t===void 0?t=i.rounding:mt(t,0,8),a=pe(new i(a),e,t),r=_e(a),n=vr(a,e<=r||r<=i.toExpNeg,e)),n};G.toSignificantDigits=G.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(mt(e,1,_n),t===void 0?t=n.rounding:mt(t,0,8)),pe(new n(r),e,t)};G.toString=G.valueOf=G.val=G.toJSON=G[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=_e(e),r=e.constructor;return vr(e,t<=r.toExpNeg||t>=r.toExpPos)};function Pv(e,t){var r,n,a,i,o,u,c,s,f=e.constructor,l=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),we?pe(t,l):t;if(c=e.d,s=t.d,o=e.e,a=t.e,c=c.slice(),i=o-a,i){for(i<0?(n=c,i=-i,u=s.length):(n=s,a=o,u=c.length),o=Math.ceil(l/ge),u=o>u?o+1:u+1,i>u&&(i=u,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for(u=c.length,i=s.length,u-i<0&&(i=u,n=s,s=c,c=n),r=0;i;)r=(c[--i]=c[i]+s[i]+r)/je|0,c[i]%=je;for(r&&(c.unshift(r),++a),u=c.length;c[--u]==0;)c.pop();return t.d=c,t.e=a,we?pe(t,l):t}function mt(e,t,r){if(e!==~~e||e<t||e>r)throw Error(fr+e)}function pt(e){var t,r,n,a=e.length-1,i="",o=e[0];if(a>0){for(i+=o,t=1;t<a;t++)n=e[t]+"",r=ge-n.length,r&&(i+=zt(r)),i+=n;o=e[t],n=o+"",r=ge-n.length,r&&(i+=zt(r))}else if(o===0)return"0";for(;o%10===0;)o/=10;return i+o}var Tt=function(){function e(n,a){var i,o=0,u=n.length;for(n=n.slice();u--;)i=n[u]*a+o,n[u]=i%je|0,o=i/je|0;return o&&n.unshift(o),n}function t(n,a,i,o){var u,c;if(i!=o)c=i>o?1:-1;else for(u=c=0;u<i;u++)if(n[u]!=a[u]){c=n[u]>a[u]?1:-1;break}return c}function r(n,a,i){for(var o=0;i--;)n[i]-=o,o=n[i]<a[i]?1:0,n[i]=o*je+n[i]-a[i];for(;!n[0]&&n.length>1;)n.shift()}return function(n,a,i,o){var u,c,s,f,l,h,p,y,v,d,g,x,w,O,m,b,A,S,$=n.constructor,I=n.s==a.s?1:-1,T=n.d,M=a.d;if(!n.s)return new $(n);if(!a.s)throw Error(rt+"Division by zero");for(c=n.e-a.e,A=M.length,m=T.length,p=new $(I),y=p.d=[],s=0;M[s]==(T[s]||0);)++s;if(M[s]>(T[s]||0)&&--c,i==null?x=i=$.precision:o?x=i+(_e(n)-_e(a))+1:x=i,x<0)return new $(0);if(x=x/ge+2|0,s=0,A==1)for(f=0,M=M[0],x++;(s<m||f)&&x--;s++)w=f*je+(T[s]||0),y[s]=w/M|0,f=w%M|0;else{for(f=je/(M[0]+1)|0,f>1&&(M=e(M,f),T=e(T,f),A=M.length,m=T.length),O=A,v=T.slice(0,A),d=v.length;d<A;)v[d++]=0;S=M.slice(),S.unshift(0),b=M[0],M[1]>=je/2&&++b;do f=0,u=t(M,v,A,d),u<0?(g=v[0],A!=d&&(g=g*je+(v[1]||0)),f=g/b|0,f>1?(f>=je&&(f=je-1),l=e(M,f),h=l.length,d=v.length,u=t(l,v,h,d),u==1&&(f--,r(l,A<h?S:M,h))):(f==0&&(u=f=1),l=M.slice()),h=l.length,h<d&&l.unshift(0),r(v,l,d),u==-1&&(d=v.length,u=t(M,v,A,d),u<1&&(f++,r(v,A<d?S:M,d))),d=v.length):u===0&&(f++,v=[0]),y[s++]=f,u&&v[0]?v[d++]=T[O]||0:(v=[T[O]],d=1);while((O++<m||v[0]!==void 0)&&x--)}return y[0]||y.shift(),p.e=c,pe(p,o?i+_e(p)+1:i)}}();function Sv(e,t){var r,n,a,i,o,u,c=0,s=0,f=e.constructor,l=f.precision;if(_e(e)>16)throw Error(Js+_e(e));if(!e.s)return new f(Ge);for(we=!1,u=l,o=new f(.03125);e.abs().gte(.1);)e=e.times(o),s+=5;for(n=Math.log(nr(2,s))/Math.LN10*2+5|0,u+=n,r=a=i=new f(Ge),f.precision=u;;){if(a=pe(a.times(e),u),r=r.times(++c),o=i.plus(Tt(a,r,u)),pt(o.d).slice(0,u)===pt(i.d).slice(0,u)){for(;s--;)i=pe(i.times(i),u);return f.precision=l,t==null?(we=!0,pe(i,l)):i}i=o}}function _e(e){for(var t=e.e*ge,r=e.d[0];r>=10;r/=10)t++;return t}function mu(e,t,r){if(t>e.LN10.sd())throw we=!0,r&&(e.precision=r),Error(rt+"LN10 precision limit exceeded");return pe(new e(e.LN10),t)}function zt(e){for(var t="";e--;)t+="0";return t}function ua(e,t){var r,n,a,i,o,u,c,s,f,l=1,h=10,p=e,y=p.d,v=p.constructor,d=v.precision;if(p.s<1)throw Error(rt+(p.s?"NaN":"-Infinity"));if(p.eq(Ge))return new v(0);if(t==null?(we=!1,s=d):s=t,p.eq(10))return t==null&&(we=!0),mu(v,s);if(s+=h,v.precision=s,r=pt(y),n=r.charAt(0),i=_e(p),Math.abs(i)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)p=p.times(e),r=pt(p.d),n=r.charAt(0),l++;i=_e(p),n>1?(p=new v("0."+r),i++):p=new v(n+"."+r.slice(1))}else return c=mu(v,s+2,d).times(i+""),p=ua(new v(n+"."+r.slice(1)),s-h).plus(c),v.precision=d,t==null?(we=!0,pe(p,d)):p;for(u=o=p=Tt(p.minus(Ge),p.plus(Ge),s),f=pe(p.times(p),s),a=3;;){if(o=pe(o.times(f),s),c=u.plus(Tt(o,new v(a),s)),pt(c.d).slice(0,s)===pt(u.d).slice(0,s))return u=u.times(2),i!==0&&(u=u.plus(mu(v,s+2,d).times(i+""))),u=Tt(u,new v(l),s),v.precision=d,t==null?(we=!0,pe(u,d)):u;u=c,a+=2}}function Ah(e,t){var r,n,a;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(n,a),t){if(a-=n,r=r-n-1,e.e=$n(r/ge),e.d=[],n=(r+1)%ge,r<0&&(n+=ge),n<a){for(n&&e.d.push(+t.slice(0,n)),a-=ge;n<a;)e.d.push(+t.slice(n,n+=ge));t=t.slice(n),n=ge-t.length}else n-=a;for(;n--;)t+="0";if(e.d.push(+t),we&&(e.e>ji||e.e<-ji))throw Error(Js+r)}else e.s=0,e.e=0,e.d=[0];return e}function pe(e,t,r){var n,a,i,o,u,c,s,f,l=e.d;for(o=1,i=l[0];i>=10;i/=10)o++;if(n=t-o,n<0)n+=ge,a=t,s=l[f=0];else{if(f=Math.ceil((n+1)/ge),i=l.length,f>=i)return e;for(s=i=l[f],o=1;i>=10;i/=10)o++;n%=ge,a=n-ge+o}if(r!==void 0&&(i=nr(10,o-a-1),u=s/i%10|0,c=t<0||l[f+1]!==void 0||s%i,c=r<4?(u||c)&&(r==0||r==(e.s<0?3:2)):u>5||u==5&&(r==4||c||r==6&&(n>0?a>0?s/nr(10,o-a):0:l[f-1])%10&1||r==(e.s<0?8:7))),t<1||!l[0])return c?(i=_e(e),l.length=1,t=t-i-1,l[0]=nr(10,(ge-t%ge)%ge),e.e=$n(-t/ge)||0):(l.length=1,l[0]=e.e=e.s=0),e;if(n==0?(l.length=f,i=1,f--):(l.length=f+1,i=nr(10,ge-n),l[f]=a>0?(s/nr(10,o-a)%nr(10,a)|0)*i:0),c)for(;;)if(f==0){(l[0]+=i)==je&&(l[0]=1,++e.e);break}else{if(l[f]+=i,l[f]!=je)break;l[f--]=0,i=1}for(n=l.length;l[--n]===0;)l.pop();if(we&&(e.e>ji||e.e<-ji))throw Error(Js+_e(e));return e}function _v(e,t){var r,n,a,i,o,u,c,s,f,l,h=e.constructor,p=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),we?pe(t,p):t;if(c=e.d,l=t.d,n=t.e,s=e.e,c=c.slice(),o=s-n,o){for(f=o<0,f?(r=c,o=-o,u=l.length):(r=l,n=s,u=c.length),a=Math.max(Math.ceil(p/ge),u)+2,o>a&&(o=a,r.length=1),r.reverse(),a=o;a--;)r.push(0);r.reverse()}else{for(a=c.length,u=l.length,f=a<u,f&&(u=a),a=0;a<u;a++)if(c[a]!=l[a]){f=c[a]<l[a];break}o=0}for(f&&(r=c,c=l,l=r,t.s=-t.s),u=c.length,a=l.length-u;a>0;--a)c[u++]=0;for(a=l.length;a>o;){if(c[--a]<l[a]){for(i=a;i&&c[--i]===0;)c[i]=je-1;--c[i],c[a]+=je}c[a]-=l[a]}for(;c[--u]===0;)c.pop();for(;c[0]===0;c.shift())--n;return c[0]?(t.d=c,t.e=n,we?pe(t,p):t):new h(0)}function vr(e,t,r){var n,a=_e(e),i=pt(e.d),o=i.length;return t?(r&&(n=r-o)>0?i=i.charAt(0)+"."+i.slice(1)+zt(n):o>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(a<0?"e":"e+")+a):a<0?(i="0."+zt(-a-1)+i,r&&(n=r-o)>0&&(i+=zt(n))):a>=o?(i+=zt(a+1-o),r&&(n=r-a-1)>0&&(i=i+"."+zt(n))):((n=a+1)<o&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-o)>0&&(a+1===o&&(i+="."),i+=zt(n))),e.s<0?"-"+i:i}function Ph(e,t){if(e.length>t)return e.length=t,!0}function $v(e){var t,r,n;function a(i){var o=this;if(!(o instanceof a))return new a(i);if(o.constructor=a,i instanceof a){o.s=i.s,o.e=i.e,o.d=(i=i.d)?i.slice():i;return}if(typeof i=="number"){if(i*0!==0)throw Error(fr+i);if(i>0)o.s=1;else if(i<0)i=-i,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(i===~~i&&i<1e7){o.e=0,o.d=[i];return}return Ah(o,i.toString())}else if(typeof i!="string")throw Error(fr+i);if(i.charCodeAt(0)===45?(i=i.slice(1),o.s=-1):o.s=1,lC.test(i))Ah(o,i);else throw Error(fr+i)}if(a.prototype=G,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.clone=$v,a.config=a.set=fC,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return a.config(e),a}function fC(e){if(!e||typeof e!="object")throw Error(rt+"Object expected");var t,r,n,a=["precision",1,_n,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<a.length;t+=3)if((n=e[r=a[t]])!==void 0)if($n(n)===n&&n>=a[t+1]&&n<=a[t+2])this[r]=n;else throw Error(fr+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(fr+r+": "+n);return this}var Qs=$v(sC);Ge=new Qs(1);const he=Qs;function hC(e){return vC(e)||yC(e)||dC(e)||pC()}function pC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dC(e,t){if(e){if(typeof e=="string")return cc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cc(e,t)}}function yC(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function vC(e){if(Array.isArray(e))return cc(e)}function cc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var mC=function(t){return t},kv={},Tv=function(t){return t===kv},Sh=function(t){return function r(){return arguments.length===0||arguments.length===1&&Tv(arguments.length<=0?void 0:arguments[0])?r:t.apply(void 0,arguments)}},gC=function e(t,r){return t===1?r:Sh(function(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];var o=a.filter(function(u){return u!==kv}).length;return o>=t?r.apply(void 0,a):e(t-o,Sh(function(){for(var u=arguments.length,c=new Array(u),s=0;s<u;s++)c[s]=arguments[s];var f=a.map(function(l){return Tv(l)?c.shift():l});return r.apply(void 0,hC(f).concat(c))}))})},Do=function(t){return gC(t.length,t)},sc=function(t,r){for(var n=[],a=t;a<r;++a)n[a-t]=a;return n},bC=Do(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(r){return t[r]}).map(e)}),xC=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!r.length)return mC;var a=r.reverse(),i=a[0],o=a.slice(1);return function(){return o.reduce(function(u,c){return c(u)},i.apply(void 0,arguments))}},lc=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Ev=function(t){var r=null,n=null;return function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return r&&i.every(function(u,c){return u===r[c]})||(r=i,n=t.apply(void 0,i)),n}};function wC(e){var t;return e===0?t=1:t=Math.floor(new he(e).abs().log(10).toNumber())+1,t}function OC(e,t,r){for(var n=new he(e),a=0,i=[];n.lt(t)&&a<1e5;)i.push(n.toNumber()),n=n.add(r),a++;return i}var AC=Do(function(e,t,r){var n=+e,a=+t;return n+r*(a-n)}),PC=Do(function(e,t,r){var n=t-+e;return n=n||1/0,(r-e)/n}),SC=Do(function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))});const Ro={rangeStep:OC,getDigitCount:wC,interpolateNumber:AC,uninterpolateNumber:PC,uninterpolateTruncation:SC};function fc(e){return kC(e)||$C(e)||Mv(e)||_C()}function _C(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $C(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function kC(e){if(Array.isArray(e))return hc(e)}function ca(e,t){return MC(e)||EC(e,t)||Mv(e,t)||TC()}function TC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mv(e,t){if(e){if(typeof e=="string")return hc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hc(e,t)}}function hc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function EC(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),u;!(n=(u=o.next()).done)&&(r.push(u.value),!(t&&r.length===t));n=!0);}catch(c){a=!0,i=c}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function MC(e){if(Array.isArray(e))return e}function jv(e){var t=ca(e,2),r=t[0],n=t[1],a=r,i=n;return r>n&&(a=n,i=r),[a,i]}function Cv(e,t,r){if(e.lte(0))return new he(0);var n=Ro.getDigitCount(e.toNumber()),a=new he(10).pow(n),i=e.div(a),o=n!==1?.05:.1,u=new he(Math.ceil(i.div(o).toNumber())).add(r).mul(o),c=u.mul(a);return t?c:new he(Math.ceil(c))}function jC(e,t,r){var n=1,a=new he(e);if(!a.isint()&&r){var i=Math.abs(e);i<1?(n=new he(10).pow(Ro.getDigitCount(e)-1),a=new he(Math.floor(a.div(n).toNumber())).mul(n)):i>1&&(a=new he(Math.floor(e)))}else e===0?a=new he(Math.floor((t-1)/2)):r||(a=new he(Math.floor(e)));var o=Math.floor((t-1)/2),u=xC(bC(function(c){return a.add(new he(c-o).mul(n)).toNumber()}),sc);return u(0,t)}function Iv(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new he(0),tickMin:new he(0),tickMax:new he(0)};var i=Cv(new he(t).sub(e).div(r-1),n,a),o;e<=0&&t>=0?o=new he(0):(o=new he(e).add(t).div(2),o=o.sub(new he(o).mod(i)));var u=Math.ceil(o.sub(e).div(i).toNumber()),c=Math.ceil(new he(t).sub(o).div(i).toNumber()),s=u+c+1;return s>r?Iv(e,t,r,n,a+1):(s<r&&(c=t>0?c+(r-s):c,u=t>0?u:u+(r-s)),{step:i,tickMin:o.sub(new he(u).mul(i)),tickMax:o.add(new he(c).mul(i))})}function CC(e){var t=ca(e,2),r=t[0],n=t[1],a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Math.max(a,2),u=jv([r,n]),c=ca(u,2),s=c[0],f=c[1];if(s===-1/0||f===1/0){var l=f===1/0?[s].concat(fc(sc(0,a-1).map(function(){return 1/0}))):[].concat(fc(sc(0,a-1).map(function(){return-1/0})),[f]);return r>n?lc(l):l}if(s===f)return jC(s,a,i);var h=Iv(s,f,o,i),p=h.step,y=h.tickMin,v=h.tickMax,d=Ro.rangeStep(y,v.add(new he(.1).mul(p)),p);return r>n?lc(d):d}function IC(e,t){var r=ca(e,2),n=r[0],a=r[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=jv([n,a]),u=ca(o,2),c=u[0],s=u[1];if(c===-1/0||s===1/0)return[n,a];if(c===s)return[c];var f=Math.max(t,2),l=Cv(new he(s).sub(c).div(f-1),i,0),h=[].concat(fc(Ro.rangeStep(new he(c),new he(s).sub(new he(.99).mul(l)),l)),[s]);return n>a?lc(h):h}var DC=Ev(CC),RC=Ev(IC),_h="Invariant failed";function mr(e,t){var r=typeof t=="function"?t():t,n=r?"".concat(_h,": ").concat(r):_h;throw new Error(n)}var NC=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Yr(e){"@babel/helpers - typeof";return Yr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yr(e)}function Ci(){return Ci=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ci.apply(this,arguments)}function LC(e,t){return WC(e)||FC(e,t)||zC(e,t)||BC()}function BC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zC(e,t){if(e){if(typeof e=="string")return $h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $h(e,t)}}function $h(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function FC(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function WC(e){if(Array.isArray(e))return e}function UC(e,t){if(e==null)return{};var r=HC(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function HC(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function qC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Nv(n.key),n)}}function VC(e,t,r){return t&&KC(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function GC(e,t,r){return t=Ii(t),YC(e,Dv()?Reflect.construct(t,r||[],Ii(e).constructor):t.apply(e,r))}function YC(e,t){if(t&&(Yr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return XC(e)}function XC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Dv=function(){return!!e})()}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function ZC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pc(e,t)}function pc(e,t){return pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},pc(e,t)}function Rv(e,t,r){return t=Nv(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nv(e){var t=JC(e,"string");return Yr(t)=="symbol"?t:t+""}function JC(e,t){if(Yr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Yr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Na=function(e){function t(){return qC(this,t),GC(this,t,arguments)}return ZC(t,e),VC(t,[{key:"render",value:function(){var n=this.props,a=n.offset,i=n.layout,o=n.width,u=n.dataKey,c=n.data,s=n.dataPointFormatter,f=n.xAxis,l=n.yAxis,h=UC(n,NC),p=Y(h,!1);this.props.direction==="x"&&f.type!=="number"&&mr(!1,'ErrorBar requires Axis type property to be "number".');var y=c.map(function(v){var d=s(v,u),g=d.x,x=d.y,w=d.value,O=d.errorVal;if(!O)return null;var m=[],b,A;if(Array.isArray(O)){var S=LC(O,2);b=S[0],A=S[1]}else b=A=O;if(i==="vertical"){var $=f.scale,I=x+a,T=I+o,M=I-o,_=$(w-b),k=$(w+A);m.push({x1:k,y1:T,x2:k,y2:M}),m.push({x1:_,y1:I,x2:k,y2:I}),m.push({x1:_,y1:T,x2:_,y2:M})}else if(i==="horizontal"){var j=l.scale,C=g+a,R=C-o,B=C+o,L=j(w-b),W=j(w+A);m.push({x1:R,y1:W,x2:B,y2:W}),m.push({x1:C,y1:L,x2:C,y2:W}),m.push({x1:R,y1:L,x2:B,y2:L})}return P.createElement(ne,Ci({className:"recharts-errorBar",key:"bar-".concat(m.map(function(q){return"".concat(q.x1,"-").concat(q.x2,"-").concat(q.y1,"-").concat(q.y2)}))},p),m.map(function(q){return P.createElement("line",Ci({},q,{key:"line-".concat(q.x1,"-").concat(q.x2,"-").concat(q.y1,"-").concat(q.y2)}))}))});return P.createElement(ne,{className:"recharts-errorBars"},y)}}])}(P.Component);Rv(Na,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});Rv(Na,"displayName","ErrorBar");function sa(e){"@babel/helpers - typeof";return sa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sa(e)}function kh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Jt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?kh(Object(r),!0).forEach(function(n){QC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function QC(e,t,r){return t=eI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eI(e){var t=tI(e,"string");return sa(t)=="symbol"?t:t+""}function tI(e,t){if(sa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(sa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Lv=function(t){var r=t.children,n=t.formattedGraphicalItems,a=t.legendWidth,i=t.legendContent,o=Ve(r,Lr);if(!o)return null;var u=Lr.defaultProps,c=u!==void 0?Jt(Jt({},u),o.props):{},s;return o.props&&o.props.payload?s=o.props&&o.props.payload:i==="children"?s=(n||[]).reduce(function(f,l){var h=l.item,p=l.props,y=p.sectors||p.data||[];return f.concat(y.map(function(v){return{type:o.props.iconType||h.props.legendType,value:v.name,color:v.fill,payload:v}}))},[]):s=(n||[]).map(function(f){var l=f.item,h=l.type.defaultProps,p=h!==void 0?Jt(Jt({},h),l.props):{},y=p.dataKey,v=p.name,d=p.legendType,g=p.hide;return{inactive:g,dataKey:y,type:c.iconType||d||"square",color:el(l),value:v||y,payload:p}}),Jt(Jt(Jt({},c),Lr.getWithHeight(o,a)),{},{payload:s,item:o})};function la(e){"@babel/helpers - typeof";return la=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},la(e)}function Th(e){return iI(e)||aI(e)||nI(e)||rI()}function rI(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nI(e,t){if(e){if(typeof e=="string")return dc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dc(e,t)}}function aI(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function iI(e){if(Array.isArray(e))return dc(e)}function dc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Eh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Pe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Eh(Object(r),!0).forEach(function(n){zr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Eh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function zr(e,t,r){return t=oI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oI(e){var t=uI(e,"string");return la(t)=="symbol"?t:t+""}function uI(e,t){if(la(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(la(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ae(e,t,r){return J(e)||J(t)?r:Te(t)?Ye(e,t,r):X(t)?t(e):r}function Hn(e,t,r,n){var a=iC(e,function(u){return Ae(u,t)});if(r==="number"){var i=a.filter(function(u){return U(u)||parseFloat(u)});return i.length?[Io(i),Wt(i)]:[1/0,-1/0]}var o=n?a.filter(function(u){return!J(u)}):a;return o.map(function(u){return Te(u)||u instanceof Date?u:""})}var cI=function(t){var r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,u=(r=n==null?void 0:n.length)!==null&&r!==void 0?r:0;if(u<=1)return 0;if(i&&i.axisType==="angleAxis"&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var c=i.range,s=0;s<u;s++){var f=s>0?a[s-1].coordinate:a[u-1].coordinate,l=a[s].coordinate,h=s>=u-1?a[0].coordinate:a[s+1].coordinate,p=void 0;if(ze(l-f)!==ze(h-l)){var y=[];if(ze(h-l)===ze(c[1]-c[0])){p=h;var v=l+c[1]-c[0];y[0]=Math.min(v,(v+f)/2),y[1]=Math.max(v,(v+f)/2)}else{p=f;var d=h+c[1]-c[0];y[0]=Math.min(l,(d+l)/2),y[1]=Math.max(l,(d+l)/2)}var g=[Math.min(l,(p+l)/2),Math.max(l,(p+l)/2)];if(t>g[0]&&t<=g[1]||t>=y[0]&&t<=y[1]){o=a[s].index;break}}else{var x=Math.min(f,h),w=Math.max(f,h);if(t>(x+l)/2&&t<=(w+l)/2){o=a[s].index;break}}}else for(var O=0;O<u;O++)if(O===0&&t<=(n[O].coordinate+n[O+1].coordinate)/2||O>0&&O<u-1&&t>(n[O].coordinate+n[O-1].coordinate)/2&&t<=(n[O].coordinate+n[O+1].coordinate)/2||O===u-1&&t>(n[O].coordinate+n[O-1].coordinate)/2){o=n[O].index;break}return o},el=function(t){var r,n=t,a=n.type.displayName,i=(r=t.type)!==null&&r!==void 0&&r.defaultProps?Pe(Pe({},t.type.defaultProps),t.props):t.props,o=i.stroke,u=i.fill,c;switch(a){case"Line":c=o;break;case"Area":case"Radar":c=o&&o!=="none"?o:u;break;default:c=u;break}return c},sI=function(t){var r=t.barSize,n=t.totalSize,a=t.stackGroups,i=a===void 0?{}:a;if(!i)return{};for(var o={},u=Object.keys(i),c=0,s=u.length;c<s;c++)for(var f=i[u[c]].stackGroups,l=Object.keys(f),h=0,p=l.length;h<p;h++){var y=f[l[h]],v=y.items,d=y.cateAxisId,g=v.filter(function(A){return kt(A.type).indexOf("Bar")>=0});if(g&&g.length){var x=g[0].type.defaultProps,w=x!==void 0?Pe(Pe({},x),g[0].props):g[0].props,O=w.barSize,m=w[d];o[m]||(o[m]=[]);var b=J(O)?r:O;o[m].push({item:g[0],stackList:g.slice(1),barSize:J(b)?void 0:Fe(b,n,0)})}}return o},lI=function(t){var r=t.barGap,n=t.barCategoryGap,a=t.bandSize,i=t.sizeList,o=i===void 0?[]:i,u=t.maxBarSize,c=o.length;if(c<1)return null;var s=Fe(r,a,0,!0),f,l=[];if(o[0].barSize===+o[0].barSize){var h=!1,p=a/c,y=o.reduce(function(O,m){return O+m.barSize||0},0);y+=(c-1)*s,y>=a&&(y-=(c-1)*s,s=0),y>=a&&p>0&&(h=!0,p*=.9,y=c*p);var v=(a-y)/2>>0,d={offset:v-s,size:0};f=o.reduce(function(O,m){var b={item:m.item,position:{offset:d.offset+d.size+s,size:h?p:m.barSize}},A=[].concat(Th(O),[b]);return d=A[A.length-1].position,m.stackList&&m.stackList.length&&m.stackList.forEach(function(S){A.push({item:S,position:d})}),A},l)}else{var g=Fe(n,a,0,!0);a-2*g-(c-1)*s<=0&&(s=0);var x=(a-2*g-(c-1)*s)/c;x>1&&(x>>=0);var w=u===+u?Math.min(x,u):x;f=o.reduce(function(O,m,b){var A=[].concat(Th(O),[{item:m.item,position:{offset:g+(x+s)*b+(x-w)/2,size:w}}]);return m.stackList&&m.stackList.length&&m.stackList.forEach(function(S){A.push({item:S,position:A[A.length-1].position})}),A},l)}return f},fI=function(t,r,n,a){var i=n.children,o=n.width,u=n.margin,c=o-(u.left||0)-(u.right||0),s=Lv({children:i,legendWidth:c});if(s){var f=a||{},l=f.width,h=f.height,p=s.align,y=s.verticalAlign,v=s.layout;if((v==="vertical"||v==="horizontal"&&y==="middle")&&p!=="center"&&U(t[p]))return Pe(Pe({},t),{},zr({},p,t[p]+(l||0)));if((v==="horizontal"||v==="vertical"&&p==="center")&&y!=="middle"&&U(t[y]))return Pe(Pe({},t),{},zr({},y,t[y]+(h||0)))}return t},hI=function(t,r,n){return J(r)?!0:t==="horizontal"?r==="yAxis":t==="vertical"||n==="x"?r==="xAxis":n==="y"?r==="yAxis":!0},Bv=function(t,r,n,a,i){var o=r.props.children,u=Xe(o,Na).filter(function(s){return hI(a,i,s.props.direction)});if(u&&u.length){var c=u.map(function(s){return s.props.dataKey});return t.reduce(function(s,f){var l=Ae(f,n);if(J(l))return s;var h=Array.isArray(l)?[Io(l),Wt(l)]:[l,l],p=c.reduce(function(y,v){var d=Ae(f,v,0),g=h[0]-Math.abs(Array.isArray(d)?d[0]:d),x=h[1]+Math.abs(Array.isArray(d)?d[1]:d);return[Math.min(g,y[0]),Math.max(x,y[1])]},[1/0,-1/0]);return[Math.min(p[0],s[0]),Math.max(p[1],s[1])]},[1/0,-1/0])}return null},pI=function(t,r,n,a,i){var o=r.map(function(u){return Bv(t,u,n,i,a)}).filter(function(u){return!J(u)});return o&&o.length?o.reduce(function(u,c){return[Math.min(u[0],c[0]),Math.max(u[1],c[1])]},[1/0,-1/0]):null},zv=function(t,r,n,a,i){var o=r.map(function(c){var s=c.props.dataKey;return n==="number"&&s&&Bv(t,c,s,a)||Hn(t,s,n,i)});if(n==="number")return o.reduce(function(c,s){return[Math.min(c[0],s[0]),Math.max(c[1],s[1])]},[1/0,-1/0]);var u={};return o.reduce(function(c,s){for(var f=0,l=s.length;f<l;f++)u[s[f]]||(u[s[f]]=!0,c.push(s[f]));return c},[])},Fv=function(t,r){return t==="horizontal"&&r==="xAxis"||t==="vertical"&&r==="yAxis"||t==="centric"&&r==="angleAxis"||t==="radial"&&r==="radiusAxis"},Wv=function(t,r,n,a){if(a)return t.map(function(c){return c.coordinate});var i,o,u=t.map(function(c){return c.coordinate===r&&(i=!0),c.coordinate===n&&(o=!0),c.coordinate});return i||u.push(r),o||u.push(n),u},$t=function(t,r,n){if(!t)return null;var a=t.scale,i=t.duplicateDomain,o=t.type,u=t.range,c=t.realScaleType==="scaleBand"?a.bandwidth()/2:2,s=(r||n)&&o==="category"&&a.bandwidth?a.bandwidth()/c:0;if(s=t.axisType==="angleAxis"&&(u==null?void 0:u.length)>=2?ze(u[0]-u[1])*2*s:s,r&&(t.ticks||t.niceTicks)){var f=(t.ticks||t.niceTicks).map(function(l){var h=i?i.indexOf(l):l;return{coordinate:a(h)+s,value:l,offset:s}});return f.filter(function(l){return!wn(l.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(l,h){return{coordinate:a(l)+s,value:l,index:h,offset:s}}):a.ticks&&!n?a.ticks(t.tickCount).map(function(l){return{coordinate:a(l)+s,value:l,offset:s}}):a.domain().map(function(l,h){return{coordinate:a(l)+s,value:i?i[l]:l,index:h,offset:s}})},gu=new WeakMap,Qa=function(t,r){if(typeof r!="function")return t;gu.has(t)||gu.set(t,new WeakMap);var n=gu.get(t);if(n.has(r))return n.get(r);var a=function(){t.apply(void 0,arguments),r.apply(void 0,arguments)};return n.set(r,a),a},Uv=function(t,r,n){var a=t.scale,i=t.type,o=t.layout,u=t.axisType;if(a==="auto")return o==="radial"&&u==="radiusAxis"?{scale:ra(),realScaleType:"band"}:o==="radial"&&u==="angleAxis"?{scale:ki(),realScaleType:"linear"}:i==="category"&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>=0||r.indexOf("ComposedChart")>=0&&!n)?{scale:Un(),realScaleType:"point"}:i==="category"?{scale:ra(),realScaleType:"band"}:{scale:ki(),realScaleType:"linear"};if(pr(a)){var c="scale".concat(xo(a));return{scale:(Oh[c]||Un)(),realScaleType:Oh[c]?c:"point"}}return X(a)?{scale:a}:{scale:Un(),realScaleType:"point"}},Mh=1e-4,Hv=function(t){var r=t.domain();if(!(!r||r.length<=2)){var n=r.length,a=t.range(),i=Math.min(a[0],a[1])-Mh,o=Math.max(a[0],a[1])+Mh,u=t(r[0]),c=t(r[n-1]);(u<i||u>o||c<i||c>o)&&t.domain([r[0],r[n-1]])}},dI=function(t,r){if(!t)return null;for(var n=0,a=t.length;n<a;n++)if(t[n].item===r)return t[n].position;return null},yI=function(t,r){if(!r||r.length!==2||!U(r[0])||!U(r[1]))return t;var n=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]),i=[t[0],t[1]];return(!U(t[0])||t[0]<n)&&(i[0]=n),(!U(t[1])||t[1]>a)&&(i[1]=a),i[0]>a&&(i[0]=a),i[1]<n&&(i[1]=n),i},vI=function(t){var r=t.length;if(!(r<=0))for(var n=0,a=t[0].length;n<a;++n)for(var i=0,o=0,u=0;u<r;++u){var c=wn(t[u][n][1])?t[u][n][0]:t[u][n][1];c>=0?(t[u][n][0]=i,t[u][n][1]=i+c,i=t[u][n][1]):(t[u][n][0]=o,t[u][n][1]=o+c,o=t[u][n][1])}},mI=function(t){var r=t.length;if(!(r<=0))for(var n=0,a=t[0].length;n<a;++n)for(var i=0,o=0;o<r;++o){var u=wn(t[o][n][1])?t[o][n][0]:t[o][n][1];u>=0?(t[o][n][0]=i,t[o][n][1]=i+u,i=t[o][n][1]):(t[o][n][0]=0,t[o][n][1]=0)}},gI={sign:vI,expand:Lx,none:Fr,silhouette:Bx,wiggle:zx,positive:mI},bI=function(t,r,n){var a=r.map(function(u){return u.props.dataKey}),i=gI[n],o=Nx().keys(a).value(function(u,c){return+Ae(u,c,0)}).order(Bu).offset(i);return o(t)},xI=function(t,r,n,a,i,o){if(!t)return null;var u=o?r.reverse():r,c={},s=u.reduce(function(l,h){var p,y=(p=h.type)!==null&&p!==void 0&&p.defaultProps?Pe(Pe({},h.type.defaultProps),h.props):h.props,v=y.stackId,d=y.hide;if(d)return l;var g=y[n],x=l[g]||{hasStack:!1,stackGroups:{}};if(Te(v)){var w=x.stackGroups[v]||{numericAxisId:n,cateAxisId:a,items:[]};w.items.push(h),x.hasStack=!0,x.stackGroups[v]=w}else x.stackGroups[xr("_stackId_")]={numericAxisId:n,cateAxisId:a,items:[h]};return Pe(Pe({},l),{},zr({},g,x))},c),f={};return Object.keys(s).reduce(function(l,h){var p=s[h];if(p.hasStack){var y={};p.stackGroups=Object.keys(p.stackGroups).reduce(function(v,d){var g=p.stackGroups[d];return Pe(Pe({},v),{},zr({},d,{numericAxisId:n,cateAxisId:a,items:g.items,stackedData:bI(t,g.items,i)}))},y)}return Pe(Pe({},l),{},zr({},h,p))},f)},qv=function(t,r){var n=r.realScaleType,a=r.type,i=r.tickCount,o=r.originalDomain,u=r.allowDecimals,c=n||r.scale;if(c!=="auto"&&c!=="linear")return null;if(i&&a==="number"&&o&&(o[0]==="auto"||o[1]==="auto")){var s=t.domain();if(!s.length)return null;var f=DC(s,i,u);return t.domain([Io(f),Wt(f)]),{niceTicks:f}}if(i&&a==="number"){var l=t.domain(),h=RC(l,i,u);return{niceTicks:h}}return null};function Di(e){var t=e.axis,r=e.ticks,n=e.bandSize,a=e.entry,i=e.index,o=e.dataKey;if(t.type==="category"){if(!t.allowDuplicatedCategory&&t.dataKey&&!J(a[t.dataKey])){var u=ui(r,"value",a[t.dataKey]);if(u)return u.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var c=Ae(a,J(o)?t.dataKey:o);return J(c)?null:t.scale(c)}var jh=function(t){var r=t.axis,n=t.ticks,a=t.offset,i=t.bandSize,o=t.entry,u=t.index;if(r.type==="category")return n[u]?n[u].coordinate+a:null;var c=Ae(o,r.dataKey,r.domain[u]);return J(c)?null:r.scale(c)-i/2+a},wI=function(t){var r=t.numericAxis,n=r.scale.domain();if(r.type==="number"){var a=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return a<=0&&i>=0?0:i<0?i:a}return n[0]},OI=function(t,r){var n,a=(n=t.type)!==null&&n!==void 0&&n.defaultProps?Pe(Pe({},t.type.defaultProps),t.props):t.props,i=a.stackId;if(Te(i)){var o=r[i];if(o){var u=o.items.indexOf(t);return u>=0?o.stackedData[u]:null}}return null},AI=function(t){return t.reduce(function(r,n){return[Io(n.concat([r[0]]).filter(U)),Wt(n.concat([r[1]]).filter(U))]},[1/0,-1/0])},Kv=function(t,r,n){return Object.keys(t).reduce(function(a,i){var o=t[i],u=o.stackedData,c=u.reduce(function(s,f){var l=AI(f.slice(r,n+1));return[Math.min(s[0],l[0]),Math.max(s[1],l[1])]},[1/0,-1/0]);return[Math.min(c[0],a[0]),Math.max(c[1],a[1])]},[1/0,-1/0]).map(function(a){return a===1/0||a===-1/0?0:a})},Ch=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Ih=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,yc=function(t,r,n){if(X(t))return t(r,n);if(!Array.isArray(t))return r;var a=[];if(U(t[0]))a[0]=n?t[0]:Math.min(t[0],r[0]);else if(Ch.test(t[0])){var i=+Ch.exec(t[0])[1];a[0]=r[0]-i}else X(t[0])?a[0]=t[0](r[0]):a[0]=r[0];if(U(t[1]))a[1]=n?t[1]:Math.max(t[1],r[1]);else if(Ih.test(t[1])){var o=+Ih.exec(t[1])[1];a[1]=r[1]+o}else X(t[1])?a[1]=t[1](r[1]):a[1]=r[1];return a},Ri=function(t,r,n){if(t&&t.scale&&t.scale.bandwidth){var a=t.scale.bandwidth();if(!n||a>0)return a}if(t&&r&&r.length>=2){for(var i=$s(r,function(l){return l.coordinate}),o=1/0,u=1,c=i.length;u<c;u++){var s=i[u],f=i[u-1];o=Math.min((s.coordinate||0)-(f.coordinate||0),o)}return o===1/0?0:o}return n?void 0:0},Dh=function(t,r,n){return!t||!t.length||qt(t,Ye(n,"type.defaultProps.domain"))?r:t},Vv=function(t,r){var n=t.type.defaultProps?Pe(Pe({},t.type.defaultProps),t.props):t.props,a=n.dataKey,i=n.name,o=n.unit,u=n.formatter,c=n.tooltipType,s=n.chartType,f=n.hide;return Pe(Pe({},Y(t,!1)),{},{dataKey:a,unit:o,formatter:u,name:i||a,color:el(t),value:Ae(r,a),type:c,payload:r,chartType:s,hide:f})};function fa(e){"@babel/helpers - typeof";return fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fa(e)}function Rh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function At(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Rh(Object(r),!0).forEach(function(n){Gv(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Gv(e,t,r){return t=PI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PI(e){var t=SI(e,"string");return fa(t)=="symbol"?t:t+""}function SI(e,t){if(fa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(fa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _I(e,t){return EI(e)||TI(e,t)||kI(e,t)||$I()}function $I(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kI(e,t){if(e){if(typeof e=="string")return Nh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nh(e,t)}}function Nh(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function TI(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function EI(e){if(Array.isArray(e))return e}var Ni=Math.PI/180,MI=function(t){return t*180/Math.PI},oe=function(t,r,n,a){return{x:t+Math.cos(-Ni*a)*n,y:r+Math.sin(-Ni*a)*n}},Yv=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(n.left||0)-(n.right||0)),Math.abs(r-(n.top||0)-(n.bottom||0)))/2},Xv=function(t,r,n,a,i){var o=t.width,u=t.height,c=t.startAngle,s=t.endAngle,f=Fe(t.cx,o,o/2),l=Fe(t.cy,u,u/2),h=Yv(o,u,n),p=Fe(t.innerRadius,h,0),y=Fe(t.outerRadius,h,h*.8),v=Object.keys(r);return v.reduce(function(d,g){var x=r[g],w=x.domain,O=x.reversed,m;if(J(x.range))a==="angleAxis"?m=[c,s]:a==="radiusAxis"&&(m=[p,y]),O&&(m=[m[1],m[0]]);else{m=x.range;var b=m,A=_I(b,2);c=A[0],s=A[1]}var S=Uv(x,i),$=S.realScaleType,I=S.scale;I.domain(w).range(m),Hv(I);var T=qv(I,At(At({},x),{},{realScaleType:$})),M=At(At(At({},x),T),{},{range:m,radius:y,realScaleType:$,scale:I,cx:f,cy:l,innerRadius:p,outerRadius:y,startAngle:c,endAngle:s});return At(At({},d),{},Gv({},g,M))},{})},jI=function(t,r){var n=t.x,a=t.y,i=r.x,o=r.y;return Math.sqrt(Math.pow(n-i,2)+Math.pow(a-o,2))},CI=function(t,r){var n=t.x,a=t.y,i=r.cx,o=r.cy,u=jI({x:n,y:a},{x:i,y:o});if(u<=0)return{radius:u};var c=(n-i)/u,s=Math.acos(c);return a>o&&(s=2*Math.PI-s),{radius:u,angle:MI(s),angleInRadian:s}},II=function(t){var r=t.startAngle,n=t.endAngle,a=Math.floor(r/360),i=Math.floor(n/360),o=Math.min(a,i);return{startAngle:r-o*360,endAngle:n-o*360}},DI=function(t,r){var n=r.startAngle,a=r.endAngle,i=Math.floor(n/360),o=Math.floor(a/360),u=Math.min(i,o);return t+u*360},Lh=function(t,r){var n=t.x,a=t.y,i=CI({x:n,y:a},r),o=i.radius,u=i.angle,c=r.innerRadius,s=r.outerRadius;if(o<c||o>s)return!1;if(o===0)return!0;var f=II(r),l=f.startAngle,h=f.endAngle,p=u,y;if(l<=h){for(;p>h;)p-=360;for(;p<l;)p+=360;y=p>=l&&p<=h}else{for(;p>l;)p-=360;for(;p<h;)p+=360;y=p>=h&&p<=l}return y?At(At({},r),{},{radius:o,angle:DI(p,r)}):null},Zv=function(t){return!F.isValidElement(t)&&!X(t)&&typeof t!="boolean"?t.className:""};function ha(e){"@babel/helpers - typeof";return ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ha(e)}var RI=["offset"];function NI(e){return FI(e)||zI(e)||BI(e)||LI()}function LI(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BI(e,t){if(e){if(typeof e=="string")return vc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return vc(e,t)}}function zI(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function FI(e){if(Array.isArray(e))return vc(e)}function vc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function WI(e,t){if(e==null)return{};var r=UI(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function UI(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Bh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ke(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Bh(Object(r),!0).forEach(function(n){HI(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function HI(e,t,r){return t=qI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qI(e){var t=KI(e,"string");return ha(t)=="symbol"?t:t+""}function KI(e,t){if(ha(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ha(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function pa(){return pa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pa.apply(this,arguments)}var VI=function(t){var r=t.value,n=t.formatter,a=J(t.children)?r:t.children;return X(n)?n(a):a},GI=function(t,r){var n=ze(r-t),a=Math.min(Math.abs(r-t),360);return n*a},YI=function(t,r,n){var a=t.position,i=t.viewBox,o=t.offset,u=t.className,c=i,s=c.cx,f=c.cy,l=c.innerRadius,h=c.outerRadius,p=c.startAngle,y=c.endAngle,v=c.clockWise,d=(l+h)/2,g=GI(p,y),x=g>=0?1:-1,w,O;a==="insideStart"?(w=p+x*o,O=v):a==="insideEnd"?(w=y-x*o,O=!v):a==="end"&&(w=y+x*o,O=v),O=g<=0?O:!O;var m=oe(s,f,d,w),b=oe(s,f,d,w+(O?1:-1)*359),A="M".concat(m.x,",").concat(m.y,`
    A`).concat(d,",").concat(d,",0,1,").concat(O?0:1,`,
    `).concat(b.x,",").concat(b.y),S=J(t.id)?xr("recharts-radial-line-"):t.id;return P.createElement("text",pa({},n,{dominantBaseline:"central",className:Q("recharts-radial-bar-label",u)}),P.createElement("defs",null,P.createElement("path",{id:S,d:A})),P.createElement("textPath",{xlinkHref:"#".concat(S)},r))},XI=function(t){var r=t.viewBox,n=t.offset,a=t.position,i=r,o=i.cx,u=i.cy,c=i.innerRadius,s=i.outerRadius,f=i.startAngle,l=i.endAngle,h=(f+l)/2;if(a==="outside"){var p=oe(o,u,s+n,h),y=p.x,v=p.y;return{x:y,y:v,textAnchor:y>=o?"start":"end",verticalAnchor:"middle"}}if(a==="center")return{x:o,y:u,textAnchor:"middle",verticalAnchor:"middle"};if(a==="centerTop")return{x:o,y:u,textAnchor:"middle",verticalAnchor:"start"};if(a==="centerBottom")return{x:o,y:u,textAnchor:"middle",verticalAnchor:"end"};var d=(c+s)/2,g=oe(o,u,d,h),x=g.x,w=g.y;return{x,y:w,textAnchor:"middle",verticalAnchor:"middle"}},ZI=function(t){var r=t.viewBox,n=t.parentViewBox,a=t.offset,i=t.position,o=r,u=o.x,c=o.y,s=o.width,f=o.height,l=f>=0?1:-1,h=l*a,p=l>0?"end":"start",y=l>0?"start":"end",v=s>=0?1:-1,d=v*a,g=v>0?"end":"start",x=v>0?"start":"end";if(i==="top"){var w={x:u+s/2,y:c-l*a,textAnchor:"middle",verticalAnchor:p};return ke(ke({},w),n?{height:Math.max(c-n.y,0),width:s}:{})}if(i==="bottom"){var O={x:u+s/2,y:c+f+h,textAnchor:"middle",verticalAnchor:y};return ke(ke({},O),n?{height:Math.max(n.y+n.height-(c+f),0),width:s}:{})}if(i==="left"){var m={x:u-d,y:c+f/2,textAnchor:g,verticalAnchor:"middle"};return ke(ke({},m),n?{width:Math.max(m.x-n.x,0),height:f}:{})}if(i==="right"){var b={x:u+s+d,y:c+f/2,textAnchor:x,verticalAnchor:"middle"};return ke(ke({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:f}:{})}var A=n?{width:s,height:f}:{};return i==="insideLeft"?ke({x:u+d,y:c+f/2,textAnchor:x,verticalAnchor:"middle"},A):i==="insideRight"?ke({x:u+s-d,y:c+f/2,textAnchor:g,verticalAnchor:"middle"},A):i==="insideTop"?ke({x:u+s/2,y:c+h,textAnchor:"middle",verticalAnchor:y},A):i==="insideBottom"?ke({x:u+s/2,y:c+f-h,textAnchor:"middle",verticalAnchor:p},A):i==="insideTopLeft"?ke({x:u+d,y:c+h,textAnchor:x,verticalAnchor:y},A):i==="insideTopRight"?ke({x:u+s-d,y:c+h,textAnchor:g,verticalAnchor:y},A):i==="insideBottomLeft"?ke({x:u+d,y:c+f-h,textAnchor:x,verticalAnchor:p},A):i==="insideBottomRight"?ke({x:u+s-d,y:c+f-h,textAnchor:g,verticalAnchor:p},A):mn(i)&&(U(i.x)||ir(i.x))&&(U(i.y)||ir(i.y))?ke({x:u+Fe(i.x,s),y:c+Fe(i.y,f),textAnchor:"end",verticalAnchor:"end"},A):ke({x:u+s/2,y:c+f/2,textAnchor:"middle",verticalAnchor:"middle"},A)},JI=function(t){return"cx"in t&&U(t.cx)};function Ce(e){var t=e.offset,r=t===void 0?5:t,n=WI(e,RI),a=ke({offset:r},n),i=a.viewBox,o=a.position,u=a.value,c=a.children,s=a.content,f=a.className,l=f===void 0?"":f,h=a.textBreakAll;if(!i||J(u)&&J(c)&&!F.isValidElement(s)&&!X(s))return null;if(F.isValidElement(s))return F.cloneElement(s,a);var p;if(X(s)){if(p=F.createElement(s,a),F.isValidElement(p))return p}else p=VI(a);var y=JI(i),v=Y(a,!0);if(y&&(o==="insideStart"||o==="insideEnd"||o==="end"))return YI(a,p,v);var d=y?XI(a):ZI(a);return P.createElement(yr,pa({className:Q("recharts-label",l)},v,d,{breakAll:h}),p)}Ce.displayName="Label";var Jv=function(t){var r=t.cx,n=t.cy,a=t.angle,i=t.startAngle,o=t.endAngle,u=t.r,c=t.radius,s=t.innerRadius,f=t.outerRadius,l=t.x,h=t.y,p=t.top,y=t.left,v=t.width,d=t.height,g=t.clockWise,x=t.labelViewBox;if(x)return x;if(U(v)&&U(d)){if(U(l)&&U(h))return{x:l,y:h,width:v,height:d};if(U(p)&&U(y))return{x:p,y,width:v,height:d}}return U(l)&&U(h)?{x:l,y:h,width:0,height:0}:U(r)&&U(n)?{cx:r,cy:n,startAngle:i||a||0,endAngle:o||a||0,innerRadius:s||0,outerRadius:f||c||u||0,clockWise:g}:t.viewBox?t.viewBox:{}},QI=function(t,r){return t?t===!0?P.createElement(Ce,{key:"label-implicit",viewBox:r}):Te(t)?P.createElement(Ce,{key:"label-implicit",viewBox:r,value:t}):F.isValidElement(t)?t.type===Ce?F.cloneElement(t,{key:"label-implicit",viewBox:r}):P.createElement(Ce,{key:"label-implicit",content:t,viewBox:r}):X(t)?P.createElement(Ce,{key:"label-implicit",content:t,viewBox:r}):mn(t)?P.createElement(Ce,pa({viewBox:r},t,{key:"label-implicit"})):null:null},e3=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&n&&!t.label)return null;var a=t.children,i=Jv(t),o=Xe(a,Ce).map(function(c,s){return F.cloneElement(c,{viewBox:r||i,key:"label-".concat(s)})});if(!n)return o;var u=QI(t.label,r||i);return[u].concat(NI(o))};Ce.parseViewBox=Jv;Ce.renderCallByParent=e3;function t3(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var r3=t3;const Qv=le(r3);function da(e){"@babel/helpers - typeof";return da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},da(e)}var n3=["valueAccessor"],a3=["data","dataKey","clockWise","id","textBreakAll"];function i3(e){return s3(e)||c3(e)||u3(e)||o3()}function o3(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u3(e,t){if(e){if(typeof e=="string")return mc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return mc(e,t)}}function c3(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function s3(e){if(Array.isArray(e))return mc(e)}function mc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Li(){return Li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Li.apply(this,arguments)}function zh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Fh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zh(Object(r),!0).forEach(function(n){l3(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function l3(e,t,r){return t=f3(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f3(e){var t=h3(e,"string");return da(t)=="symbol"?t:t+""}function h3(e,t){if(da(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(da(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wh(e,t){if(e==null)return{};var r=p3(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function p3(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var d3=function(t){return Array.isArray(t.value)?Qv(t.value):t.value};function ft(e){var t=e.valueAccessor,r=t===void 0?d3:t,n=Wh(e,n3),a=n.data,i=n.dataKey,o=n.clockWise,u=n.id,c=n.textBreakAll,s=Wh(n,a3);return!a||!a.length?null:P.createElement(ne,{className:"recharts-label-list"},a.map(function(f,l){var h=J(i)?r(f,l):Ae(f&&f.payload,i),p=J(u)?{}:{id:"".concat(u,"-").concat(l)};return P.createElement(Ce,Li({},Y(f,!0),s,p,{parentViewBox:f.parentViewBox,value:h,textBreakAll:c,viewBox:Ce.parseViewBox(J(o)?f:Fh(Fh({},f),{},{clockWise:o})),key:"label-".concat(l),index:l}))}))}ft.displayName="LabelList";function y3(e,t){return e?e===!0?P.createElement(ft,{key:"labelList-implicit",data:t}):P.isValidElement(e)||X(e)?P.createElement(ft,{key:"labelList-implicit",data:t,content:e}):mn(e)?P.createElement(ft,Li({data:t},e,{key:"labelList-implicit"})):null:null}function v3(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&r&&!e.label)return null;var n=e.children,a=Xe(n,ft).map(function(o,u){return F.cloneElement(o,{data:t,key:"labelList-".concat(u)})});if(!r)return a;var i=y3(e.label,t);return[i].concat(i3(a))}ft.renderCallByParent=v3;function ya(e){"@babel/helpers - typeof";return ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ya(e)}function gc(){return gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gc.apply(this,arguments)}function Uh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Hh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Uh(Object(r),!0).forEach(function(n){m3(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Uh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function m3(e,t,r){return t=g3(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g3(e){var t=b3(e,"string");return ya(t)=="symbol"?t:t+""}function b3(e,t){if(ya(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ya(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var x3=function(t,r){var n=ze(r-t),a=Math.min(Math.abs(r-t),359.999);return n*a},ei=function(t){var r=t.cx,n=t.cy,a=t.radius,i=t.angle,o=t.sign,u=t.isExternal,c=t.cornerRadius,s=t.cornerIsExternal,f=c*(u?1:-1)+a,l=Math.asin(c/f)/Ni,h=s?i:i+o*l,p=oe(r,n,f,h),y=oe(r,n,a,h),v=s?i-o*l:i,d=oe(r,n,f*Math.cos(l*Ni),v);return{center:p,circleTangency:y,lineTangency:d,theta:l}},em=function(t){var r=t.cx,n=t.cy,a=t.innerRadius,i=t.outerRadius,o=t.startAngle,u=t.endAngle,c=x3(o,u),s=o+c,f=oe(r,n,i,o),l=oe(r,n,i,s),h="M ".concat(f.x,",").concat(f.y,`
    A `).concat(i,",").concat(i,`,0,
    `).concat(+(Math.abs(c)>180),",").concat(+(o>s),`,
    `).concat(l.x,",").concat(l.y,`
  `);if(a>0){var p=oe(r,n,a,o),y=oe(r,n,a,s);h+="L ".concat(y.x,",").concat(y.y,`
            A `).concat(a,",").concat(a,`,0,
            `).concat(+(Math.abs(c)>180),",").concat(+(o<=s),`,
            `).concat(p.x,",").concat(p.y," Z")}else h+="L ".concat(r,",").concat(n," Z");return h},w3=function(t){var r=t.cx,n=t.cy,a=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,u=t.forceCornerRadius,c=t.cornerIsExternal,s=t.startAngle,f=t.endAngle,l=ze(f-s),h=ei({cx:r,cy:n,radius:i,angle:s,sign:l,cornerRadius:o,cornerIsExternal:c}),p=h.circleTangency,y=h.lineTangency,v=h.theta,d=ei({cx:r,cy:n,radius:i,angle:f,sign:-l,cornerRadius:o,cornerIsExternal:c}),g=d.circleTangency,x=d.lineTangency,w=d.theta,O=c?Math.abs(s-f):Math.abs(s-f)-v-w;if(O<0)return u?"M ".concat(y.x,",").concat(y.y,`
        a`).concat(o,",").concat(o,",0,0,1,").concat(o*2,`,0
        a`).concat(o,",").concat(o,",0,0,1,").concat(-o*2,`,0
      `):em({cx:r,cy:n,innerRadius:a,outerRadius:i,startAngle:s,endAngle:f});var m="M ".concat(y.x,",").concat(y.y,`
    A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(p.x,",").concat(p.y,`
    A`).concat(i,",").concat(i,",0,").concat(+(O>180),",").concat(+(l<0),",").concat(g.x,",").concat(g.y,`
    A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(x.x,",").concat(x.y,`
  `);if(a>0){var b=ei({cx:r,cy:n,radius:a,angle:s,sign:l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),A=b.circleTangency,S=b.lineTangency,$=b.theta,I=ei({cx:r,cy:n,radius:a,angle:f,sign:-l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),T=I.circleTangency,M=I.lineTangency,_=I.theta,k=c?Math.abs(s-f):Math.abs(s-f)-$-_;if(k<0&&o===0)return"".concat(m,"L").concat(r,",").concat(n,"Z");m+="L".concat(M.x,",").concat(M.y,`
      A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(T.x,",").concat(T.y,`
      A`).concat(a,",").concat(a,",0,").concat(+(k>180),",").concat(+(l>0),",").concat(A.x,",").concat(A.y,`
      A`).concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(S.x,",").concat(S.y,"Z")}else m+="L".concat(r,",").concat(n,"Z");return m},O3={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},tm=function(t){var r=Hh(Hh({},O3),t),n=r.cx,a=r.cy,i=r.innerRadius,o=r.outerRadius,u=r.cornerRadius,c=r.forceCornerRadius,s=r.cornerIsExternal,f=r.startAngle,l=r.endAngle,h=r.className;if(o<i||f===l)return null;var p=Q("recharts-sector",h),y=o-i,v=Fe(u,y,0,!0),d;return v>0&&Math.abs(f-l)<360?d=w3({cx:n,cy:a,innerRadius:i,outerRadius:o,cornerRadius:Math.min(v,y/2),forceCornerRadius:c,cornerIsExternal:s,startAngle:f,endAngle:l}):d=em({cx:n,cy:a,innerRadius:i,outerRadius:o,startAngle:f,endAngle:l}),P.createElement("path",gc({},Y(r,!0),{className:p,d,role:"img"}))};function va(e){"@babel/helpers - typeof";return va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},va(e)}function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bc.apply(this,arguments)}function qh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Kh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qh(Object(r),!0).forEach(function(n){A3(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function A3(e,t,r){return t=P3(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P3(e){var t=S3(e,"string");return va(t)=="symbol"?t:t+""}function S3(e,t){if(va(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(va(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Vh={curveBasisClosed:_x,curveBasisOpen:$x,curveBasis:Sx,curveBumpX:fx,curveBumpY:hx,curveLinearClosed:kx,curveLinear:Oo,curveMonotoneX:Tx,curveMonotoneY:Ex,curveNatural:Mx,curveStep:jx,curveStepAfter:Ix,curveStepBefore:Cx},ti=function(t){return t.x===+t.x&&t.y===+t.y},Nn=function(t){return t.x},Ln=function(t){return t.y},_3=function(t,r){if(X(t))return t;var n="curve".concat(xo(t));return(n==="curveMonotone"||n==="curveBump")&&r?Vh["".concat(n).concat(r==="vertical"?"Y":"X")]:Vh[n]||Oo},$3=function(t){var r=t.type,n=r===void 0?"linear":r,a=t.points,i=a===void 0?[]:a,o=t.baseLine,u=t.layout,c=t.connectNulls,s=c===void 0?!1:c,f=_3(n,u),l=s?i.filter(function(v){return ti(v)}):i,h;if(Array.isArray(o)){var p=s?o.filter(function(v){return ti(v)}):o,y=l.map(function(v,d){return Kh(Kh({},v),{},{base:p[d]})});return u==="vertical"?h=qa().y(Ln).x1(Nn).x0(function(v){return v.base.x}):h=qa().x(Nn).y1(Ln).y0(function(v){return v.base.y}),h.defined(ti).curve(f),h(y)}return u==="vertical"&&U(o)?h=qa().y(Ln).x1(Nn).x0(o):U(o)?h=qa().x(Nn).y1(Ln).y0(o):h=Vd().x(Nn).y(Ln),h.defined(ti).curve(f),h(l)},hr=function(t){var r=t.className,n=t.points,a=t.path,i=t.pathRef;if((!n||!n.length)&&!a)return null;var o=n&&n.length?$3(t):a;return F.createElement("path",bc({},Y(t,!1),ci(t),{className:Q("recharts-curve",r),d:o,ref:i}))},rm={exports:{}},nm={exports:{}},se={};/** @license React v16.13.1
 * react-is.development.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,l=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,d=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function w(D){return typeof D=="string"||typeof D=="function"||D===n||D===s||D===i||D===a||D===l||D===h||typeof D=="object"&&D!==null&&(D.$$typeof===y||D.$$typeof===p||D.$$typeof===o||D.$$typeof===u||D.$$typeof===f||D.$$typeof===d||D.$$typeof===g||D.$$typeof===x||D.$$typeof===v)}function O(D){if(typeof D=="object"&&D!==null){var fe=D.$$typeof;switch(fe){case t:var H=D.type;switch(H){case c:case s:case n:case i:case a:case l:return H;default:var de=H&&H.$$typeof;switch(de){case u:case f:case y:case p:case o:return de;default:return fe}}case r:return fe}}}var m=c,b=s,A=u,S=o,$=t,I=f,T=n,M=y,_=p,k=r,j=i,C=a,R=l,B=!1;function L(D){return B||(B=!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.")),W(D)||O(D)===c}function W(D){return O(D)===s}function q(D){return O(D)===u}function z(D){return O(D)===o}function K(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function re(D){return O(D)===f}function ae(D){return O(D)===n}function be(D){return O(D)===y}function it(D){return O(D)===p}function Me(D){return O(D)===r}function V(D){return O(D)===i}function ee(D){return O(D)===a}function te(D){return O(D)===l}se.AsyncMode=m,se.ConcurrentMode=b,se.ContextConsumer=A,se.ContextProvider=S,se.Element=$,se.ForwardRef=I,se.Fragment=T,se.Lazy=M,se.Memo=_,se.Portal=k,se.Profiler=j,se.StrictMode=C,se.Suspense=R,se.isAsyncMode=L,se.isConcurrentMode=W,se.isContextConsumer=q,se.isContextProvider=z,se.isElement=K,se.isForwardRef=re,se.isFragment=ae,se.isLazy=be,se.isMemo=it,se.isPortal=Me,se.isProfiler=V,se.isStrictMode=ee,se.isSuspense=te,se.isValidElementType=w,se.typeOf=O})();nm.exports=se;var am=nm.exports;/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var Gh=Object.getOwnPropertySymbols,k3=Object.prototype.hasOwnProperty,T3=Object.prototype.propertyIsEnumerable;function E3(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function M3(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(n.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(i){a[i]=i}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var j3=M3()?Object.assign:function(e,t){for(var r,n=E3(e),a,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var o in r)k3.call(r,o)&&(n[o]=r[o]);if(Gh){a=Gh(r);for(var u=0;u<a.length;u++)T3.call(r,a[u])&&(n[a[u]]=r[a[u]])}}return n},C3="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",im=C3,om=Function.call.bind(Object.prototype.hasOwnProperty),xc=function(){};{var I3=im,wc={},D3=om;xc=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function um(e,t,r,n,a){for(var i in e)if(D3(e,i)){var o;try{if(typeof e[i]!="function"){var u=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}o=e[i](t,i,n,r,null,I3)}catch(s){o=s}if(o&&!(o instanceof Error)&&xc((n||"React class")+": type specification of "+r+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),o instanceof Error&&!(o.message in wc)){wc[o.message]=!0;var c=a?a():"";xc("Failed "+r+" type: "+o.message+(c??""))}}}um.resetWarningCache=function(){wc={}};var R3=um,N3=am,L3=j3,kr=im,bu=om,Yh=R3,Mr=function(){};Mr=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}};function ri(){return null}var B3=function(e,t){var r=typeof Symbol=="function"&&Symbol.iterator,n="@@iterator";function a(_){var k=_&&(r&&_[r]||_[n]);if(typeof k=="function")return k}var i="<<anonymous>>",o={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:l(),arrayOf:h,element:p(),elementType:y(),instanceOf:v,node:w(),objectOf:g,oneOf:d,oneOfType:x,shape:m,exact:b};function u(_,k){return _===k?_!==0||1/_===1/k:_!==_&&k!==k}function c(_,k){this.message=_,this.data=k&&typeof k=="object"?k:{},this.stack=""}c.prototype=Error.prototype;function s(_){var k={},j=0;function C(B,L,W,q,z,K,re){if(q=q||i,K=K||W,re!==kr){if(t){var ae=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 ae.name="Invariant Violation",ae}else if(typeof console<"u"){var be=q+":"+W;!k[be]&&j<3&&(Mr("You are manually calling a React.PropTypes validation function for the `"+K+"` prop on `"+q+"`. 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."),k[be]=!0,j++)}}return L[W]==null?B?L[W]===null?new c("The "+z+" `"+K+"` is marked as required "+("in `"+q+"`, but its value is `null`.")):new c("The "+z+" `"+K+"` is marked as required in "+("`"+q+"`, but its value is `undefined`.")):null:_(L,W,q,z,K)}var R=C.bind(null,!1);return R.isRequired=C.bind(null,!0),R}function f(_){function k(j,C,R,B,L,W){var q=j[C],z=$(q);if(z!==_){var K=I(q);return new c("Invalid "+B+" `"+L+"` of type "+("`"+K+"` supplied to `"+R+"`, expected ")+("`"+_+"`."),{expectedType:_})}return null}return s(k)}function l(){return s(ri)}function h(_){function k(j,C,R,B,L){if(typeof _!="function")return new c("Property `"+L+"` of component `"+R+"` has invalid PropType notation inside arrayOf.");var W=j[C];if(!Array.isArray(W)){var q=$(W);return new c("Invalid "+B+" `"+L+"` of type "+("`"+q+"` supplied to `"+R+"`, expected an array."))}for(var z=0;z<W.length;z++){var K=_(W,z,R,B,L+"["+z+"]",kr);if(K instanceof Error)return K}return null}return s(k)}function p(){function _(k,j,C,R,B){var L=k[j];if(!e(L)){var W=$(L);return new c("Invalid "+R+" `"+B+"` of type "+("`"+W+"` supplied to `"+C+"`, expected a single ReactElement."))}return null}return s(_)}function y(){function _(k,j,C,R,B){var L=k[j];if(!N3.isValidElementType(L)){var W=$(L);return new c("Invalid "+R+" `"+B+"` of type "+("`"+W+"` supplied to `"+C+"`, expected a single ReactElement type."))}return null}return s(_)}function v(_){function k(j,C,R,B,L){if(!(j[C]instanceof _)){var W=_.name||i,q=M(j[C]);return new c("Invalid "+B+" `"+L+"` of type "+("`"+q+"` supplied to `"+R+"`, expected ")+("instance of `"+W+"`."))}return null}return s(k)}function d(_){if(!Array.isArray(_))return arguments.length>1?Mr("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])."):Mr("Invalid argument supplied to oneOf, expected an array."),ri;function k(j,C,R,B,L){for(var W=j[C],q=0;q<_.length;q++)if(u(W,_[q]))return null;var z=JSON.stringify(_,function(re,ae){var be=I(ae);return be==="symbol"?String(ae):ae});return new c("Invalid "+B+" `"+L+"` of value `"+String(W)+"` "+("supplied to `"+R+"`, expected one of "+z+"."))}return s(k)}function g(_){function k(j,C,R,B,L){if(typeof _!="function")return new c("Property `"+L+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var W=j[C],q=$(W);if(q!=="object")return new c("Invalid "+B+" `"+L+"` of type "+("`"+q+"` supplied to `"+R+"`, expected an object."));for(var z in W)if(bu(W,z)){var K=_(W,z,R,B,L+"."+z,kr);if(K instanceof Error)return K}return null}return s(k)}function x(_){if(!Array.isArray(_))return Mr("Invalid argument supplied to oneOfType, expected an instance of array."),ri;for(var k=0;k<_.length;k++){var j=_[k];if(typeof j!="function")return Mr("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+T(j)+" at index "+k+"."),ri}function C(R,B,L,W,q){for(var z=[],K=0;K<_.length;K++){var re=_[K],ae=re(R,B,L,W,q,kr);if(ae==null)return null;ae.data&&bu(ae.data,"expectedType")&&z.push(ae.data.expectedType)}var be=z.length>0?", expected one of type ["+z.join(", ")+"]":"";return new c("Invalid "+W+" `"+q+"` supplied to "+("`"+L+"`"+be+"."))}return s(C)}function w(){function _(k,j,C,R,B){return A(k[j])?null:new c("Invalid "+R+" `"+B+"` supplied to "+("`"+C+"`, expected a ReactNode."))}return s(_)}function O(_,k,j,C,R){return new c((_||"React class")+": "+k+" type `"+j+"."+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+R+"`.")}function m(_){function k(j,C,R,B,L){var W=j[C],q=$(W);if(q!=="object")return new c("Invalid "+B+" `"+L+"` of type `"+q+"` "+("supplied to `"+R+"`, expected `object`."));for(var z in _){var K=_[z];if(typeof K!="function")return O(R,B,L,z,I(K));var re=K(W,z,R,B,L+"."+z,kr);if(re)return re}return null}return s(k)}function b(_){function k(j,C,R,B,L){var W=j[C],q=$(W);if(q!=="object")return new c("Invalid "+B+" `"+L+"` of type `"+q+"` "+("supplied to `"+R+"`, expected `object`."));var z=L3({},j[C],_);for(var K in z){var re=_[K];if(bu(_,K)&&typeof re!="function")return O(R,B,L,K,I(re));if(!re)return new c("Invalid "+B+" `"+L+"` key `"+K+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(j[C],null,"  ")+`
Valid keys: `+JSON.stringify(Object.keys(_),null,"  "));var ae=re(W,K,R,B,L+"."+K,kr);if(ae)return ae}return null}return s(k)}function A(_){switch(typeof _){case"number":case"string":case"undefined":return!0;case"boolean":return!_;case"object":if(Array.isArray(_))return _.every(A);if(_===null||e(_))return!0;var k=a(_);if(k){var j=k.call(_),C;if(k!==_.entries){for(;!(C=j.next()).done;)if(!A(C.value))return!1}else for(;!(C=j.next()).done;){var R=C.value;if(R&&!A(R[1]))return!1}}else return!1;return!0;default:return!1}}function S(_,k){return _==="symbol"?!0:k?k["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&k instanceof Symbol:!1}function $(_){var k=typeof _;return Array.isArray(_)?"array":_ instanceof RegExp?"object":S(k,_)?"symbol":k}function I(_){if(typeof _>"u"||_===null)return""+_;var k=$(_);if(k==="object"){if(_ instanceof Date)return"date";if(_ instanceof RegExp)return"regexp"}return k}function T(_){var k=I(_);switch(k){case"array":case"object":return"an "+k;case"boolean":case"date":case"regexp":return"a "+k;default:return k}}function M(_){return!_.constructor||!_.constructor.name?i:_.constructor.name}return o.checkPropTypes=Yh,o.resetWarningCache=Yh.resetWarningCache,o.PropTypes=o,o};{var z3=am,F3=!0;rm.exports=B3(z3.isElement,F3)}var W3=rm.exports;const ue=le(W3),{getOwnPropertyNames:U3,getOwnPropertySymbols:H3}=Object,{hasOwnProperty:q3}=Object.prototype;function xu(e,t){return function(n,a,i){return e(n,a,i)&&t(n,a,i)}}function ni(e){return function(r,n,a){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,a);const{cache:i}=a,o=i.get(r),u=i.get(n);if(o&&u)return o===n&&u===r;i.set(r,n),i.set(n,r);const c=e(r,n,a);return i.delete(r),i.delete(n),c}}function K3(e){return e!=null?e[Symbol.toStringTag]:void 0}function Xh(e){return U3(e).concat(H3(e))}const V3=Object.hasOwn||((e,t)=>q3.call(e,t));function Ar(e,t){return e===t||!e&&!t&&e!==e&&t!==t}const G3="__v",Y3="__o",X3="_owner",{getOwnPropertyDescriptor:Zh,keys:Jh}=Object;function Z3(e,t){return e.byteLength===t.byteLength&&Bi(new Uint8Array(e),new Uint8Array(t))}function J3(e,t,r){let n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function Q3(e,t){return e.byteLength===t.byteLength&&Bi(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function eD(e,t){return Ar(e.getTime(),t.getTime())}function tD(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function rD(e,t){return e===t}function Qh(e,t,r){const n=e.size;if(n!==t.size)return!1;if(!n)return!0;const a=new Array(n),i=e.entries();let o,u,c=0;for(;(o=i.next())&&!o.done;){const s=t.entries();let f=!1,l=0;for(;(u=s.next())&&!u.done;){if(a[l]){l++;continue}const h=o.value,p=u.value;if(r.equals(h[0],p[0],c,l,e,t,r)&&r.equals(h[1],p[1],h[0],p[0],e,t,r)){f=a[l]=!0;break}l++}if(!f)return!1;c++}return!0}const nD=Ar;function aD(e,t,r){const n=Jh(e);let a=n.length;if(Jh(t).length!==a)return!1;for(;a-- >0;)if(!cm(e,t,r,n[a]))return!1;return!0}function Bn(e,t,r){const n=Xh(e);let a=n.length;if(Xh(t).length!==a)return!1;let i,o,u;for(;a-- >0;)if(i=n[a],!cm(e,t,r,i)||(o=Zh(e,i),u=Zh(t,i),(o||u)&&(!o||!u||o.configurable!==u.configurable||o.enumerable!==u.enumerable||o.writable!==u.writable)))return!1;return!0}function iD(e,t){return Ar(e.valueOf(),t.valueOf())}function oD(e,t){return e.source===t.source&&e.flags===t.flags}function ep(e,t,r){const n=e.size;if(n!==t.size)return!1;if(!n)return!0;const a=new Array(n),i=e.values();let o,u;for(;(o=i.next())&&!o.done;){const c=t.values();let s=!1,f=0;for(;(u=c.next())&&!u.done;){if(!a[f]&&r.equals(o.value,u.value,o.value,u.value,e,t,r)){s=a[f]=!0;break}f++}if(!s)return!1}return!0}function Bi(e,t){let r=e.byteLength;if(t.byteLength!==r||e.byteOffset!==t.byteOffset)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function uD(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function cm(e,t,r,n){return(n===X3||n===Y3||n===G3)&&(e.$$typeof||t.$$typeof)?!0:V3(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}const cD="[object ArrayBuffer]",sD="[object Arguments]",lD="[object Boolean]",fD="[object DataView]",hD="[object Date]",pD="[object Error]",dD="[object Map]",yD="[object Number]",vD="[object Object]",mD="[object RegExp]",gD="[object Set]",bD="[object String]",xD={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},wD="[object URL]",OD=Object.prototype.toString;function AD({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:a,areFunctionsEqual:i,areMapsEqual:o,areNumbersEqual:u,areObjectsEqual:c,arePrimitiveWrappersEqual:s,areRegExpsEqual:f,areSetsEqual:l,areTypedArraysEqual:h,areUrlsEqual:p,unknownTagComparators:y}){return function(d,g,x){if(d===g)return!0;if(d==null||g==null)return!1;const w=typeof d;if(w!==typeof g)return!1;if(w!=="object")return w==="number"?u(d,g,x):w==="function"?i(d,g,x):!1;const O=d.constructor;if(O!==g.constructor)return!1;if(O===Object)return c(d,g,x);if(Array.isArray(d))return t(d,g,x);if(O===Date)return n(d,g,x);if(O===RegExp)return f(d,g,x);if(O===Map)return o(d,g,x);if(O===Set)return l(d,g,x);const m=OD.call(d);if(m===hD)return n(d,g,x);if(m===mD)return f(d,g,x);if(m===dD)return o(d,g,x);if(m===gD)return l(d,g,x);if(m===vD)return typeof d.then!="function"&&typeof g.then!="function"&&c(d,g,x);if(m===wD)return p(d,g,x);if(m===pD)return a(d,g,x);if(m===sD)return c(d,g,x);if(xD[m])return h(d,g,x);if(m===cD)return e(d,g,x);if(m===fD)return r(d,g,x);if(m===lD||m===yD||m===bD)return s(d,g,x);if(y){let b=y[m];if(!b){const A=K3(d);A&&(b=y[A])}if(b)return b(d,g,x)}return!1}}function PD({circular:e,createCustomConfig:t,strict:r}){let n={areArrayBuffersEqual:Z3,areArraysEqual:r?Bn:J3,areDataViewsEqual:Q3,areDatesEqual:eD,areErrorsEqual:tD,areFunctionsEqual:rD,areMapsEqual:r?xu(Qh,Bn):Qh,areNumbersEqual:nD,areObjectsEqual:r?Bn:aD,arePrimitiveWrappersEqual:iD,areRegExpsEqual:oD,areSetsEqual:r?xu(ep,Bn):ep,areTypedArraysEqual:r?xu(Bi,Bn):Bi,areUrlsEqual:uD,unknownTagComparators:void 0};if(t&&(n=Object.assign({},n,t(n))),e){const a=ni(n.areArraysEqual),i=ni(n.areMapsEqual),o=ni(n.areObjectsEqual),u=ni(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:a,areMapsEqual:i,areObjectsEqual:o,areSetsEqual:u})}return n}function SD(e){return function(t,r,n,a,i,o,u){return e(t,r,u)}}function _D({circular:e,comparator:t,createState:r,equals:n,strict:a}){if(r)return function(u,c){const{cache:s=e?new WeakMap:void 0,meta:f}=r();return t(u,c,{cache:s,equals:n,meta:f,strict:a})};if(e)return function(u,c){return t(u,c,{cache:new WeakMap,equals:n,meta:void 0,strict:a})};const i={cache:void 0,equals:n,meta:void 0,strict:a};return function(u,c){return t(u,c,i)}}const $D=Yt();Yt({strict:!0});Yt({circular:!0});Yt({circular:!0,strict:!0});Yt({createInternalComparator:()=>Ar});Yt({strict:!0,createInternalComparator:()=>Ar});Yt({circular:!0,createInternalComparator:()=>Ar});Yt({circular:!0,createInternalComparator:()=>Ar,strict:!0});function Yt(e={}){const{circular:t=!1,createInternalComparator:r,createState:n,strict:a=!1}=e,i=PD(e),o=AD(i),u=r?r(o):SD(o);return _D({circular:t,comparator:o,createState:n,equals:u,strict:a})}function kD(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function tp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=-1,n=function a(i){r<0&&(r=i),i-r>t?(e(i),r=-1):kD(a)};requestAnimationFrame(n)}function Oc(e){"@babel/helpers - typeof";return Oc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oc(e)}function TD(e){return CD(e)||jD(e)||MD(e)||ED()}function ED(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function MD(e,t){if(e){if(typeof e=="string")return rp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rp(e,t)}}function rp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function jD(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function CD(e){if(Array.isArray(e))return e}function ID(){var e={},t=function(){return null},r=!1,n=function a(i){if(!r){if(Array.isArray(i)){if(!i.length)return;var o=i,u=TD(o),c=u[0],s=u.slice(1);if(typeof c=="number"){tp(a.bind(null,s),c);return}a(c),tp(a.bind(null,s));return}Oc(i)==="object"&&(e=i,t(e)),typeof i=="function"&&i()}};return{stop:function(){r=!0},start:function(i){r=!1,n(i)},subscribe:function(i){return t=i,function(){t=function(){return null}}}}}function ma(e){"@babel/helpers - typeof";return ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ma(e)}function np(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ap(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?np(Object(r),!0).forEach(function(n){sm(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):np(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function sm(e,t,r){return t=DD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DD(e){var t=RD(e,"string");return ma(t)==="symbol"?t:String(t)}function RD(e,t){if(ma(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ma(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ND=function(t,r){return[Object.keys(t),Object.keys(r)].reduce(function(n,a){return n.filter(function(i){return a.includes(i)})})},LD=function(t){return t},BD=function(t){return t.replace(/([A-Z])/g,function(r){return"-".concat(r.toLowerCase())})},qn=function(t,r){return Object.keys(r).reduce(function(n,a){return ap(ap({},n),{},sm({},a,t(a,r[a])))},{})},ip=function(t,r,n){return t.map(function(a){return"".concat(BD(a)," ").concat(r,"ms ").concat(n)}).join(",")},zi=function(t,r,n,a,i,o,u,c){if(typeof console<"u"&&console.warn&&(r===void 0&&console.warn("LogUtils requires an error message argument"),!t))if(r===void 0)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,a,i,o,u,c],f=0;console.warn(r.replace(/%s/g,function(){return s[f++]}))}};function zD(e,t){return UD(e)||WD(e,t)||lm(e,t)||FD()}function FD(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WD(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function UD(e){if(Array.isArray(e))return e}function HD(e){return VD(e)||KD(e)||lm(e)||qD()}function qD(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lm(e,t){if(e){if(typeof e=="string")return Ac(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ac(e,t)}}function KD(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VD(e){if(Array.isArray(e))return Ac(e)}function Ac(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Fi=1e-4,fm=function(t,r){return[0,3*t,3*r-6*t,3*t-3*r+1]},hm=function(t,r){return t.map(function(n,a){return n*Math.pow(r,a)}).reduce(function(n,a){return n+a})},op=function(t,r){return function(n){var a=fm(t,r);return hm(a,n)}},GD=function(t,r){return function(n){var a=fm(t,r),i=[].concat(HD(a.map(function(o,u){return o*u}).slice(1)),[0]);return hm(i,n)}},up=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r[0],i=r[1],o=r[2],u=r[3];if(r.length===1)switch(r[0]){case"linear":a=0,i=0,o=1,u=1;break;case"ease":a=.25,i=.1,o=.25,u=1;break;case"ease-in":a=.42,i=0,o=1,u=1;break;case"ease-out":a=.42,i=0,o=.58,u=1;break;case"ease-in-out":a=0,i=0,o=.58,u=1;break;default:{var c=r[0].split("(");if(c[0]==="cubic-bezier"&&c[1].split(")")[0].split(",").length===4){var s=c[1].split(")")[0].split(",").map(function(d){return parseFloat(d)}),f=zD(s,4);a=f[0],i=f[1],o=f[2],u=f[3]}else zi(!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",r)}}zi([a,o,i,u].every(function(d){return typeof d=="number"&&d>=0&&d<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",r);var l=op(a,o),h=op(i,u),p=GD(a,o),y=function(g){return g>1?1:g<0?0:g},v=function(g){for(var x=g>1?1:g,w=x,O=0;O<8;++O){var m=l(w)-x,b=p(w);if(Math.abs(m-x)<Fi||b<Fi)return h(w);w=y(w-m/b)}return h(w)};return v.isStepper=!1,v},YD=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.stiff,n=r===void 0?100:r,a=t.damping,i=a===void 0?8:a,o=t.dt,u=o===void 0?17:o,c=function(f,l,h){var p=-(f-l)*n,y=h*i,v=h+(p-y)*u/1e3,d=h*u/1e3+f;return Math.abs(d-l)<Fi&&Math.abs(v)<Fi?[l,0]:[d,v]};return c.isStepper=!0,c.dt=u,c},XD=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r[0];if(typeof a=="string")switch(a){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return up(a);case"spring":return YD();default:if(a.split("(")[0]==="cubic-bezier")return up(a);zi(!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",r)}return typeof a=="function"?a:(zi(!1,"[configEasing]: first argument type should be function or string, instead received %s",r),null)};function ga(e){"@babel/helpers - typeof";return ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ga(e)}function cp(e){return QD(e)||JD(e)||pm(e)||ZD()}function ZD(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function JD(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function QD(e){if(Array.isArray(e))return Sc(e)}function sp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Re(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?sp(Object(r),!0).forEach(function(n){Pc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Pc(e,t,r){return t=e4(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e4(e){var t=t4(e,"string");return ga(t)==="symbol"?t:String(t)}function t4(e,t){if(ga(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ga(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function r4(e,t){return i4(e)||a4(e,t)||pm(e,t)||n4()}function n4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pm(e,t){if(e){if(typeof e=="string")return Sc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sc(e,t)}}function Sc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function i4(e){if(Array.isArray(e))return e}var Wi=function(t,r,n){return t+(r-t)*n},_c=function(t){var r=t.from,n=t.to;return r!==n},o4=function e(t,r,n){var a=qn(function(i,o){if(_c(o)){var u=t(o.from,o.to,o.velocity),c=r4(u,2),s=c[0],f=c[1];return Re(Re({},o),{},{from:s,velocity:f})}return o},r);return n<1?qn(function(i,o){return _c(o)?Re(Re({},o),{},{velocity:Wi(o.velocity,a[i].velocity,n),from:Wi(o.from,a[i].from,n)}):o},r):e(t,a,n-1)};const u4=function(e,t,r,n,a){var i=ND(e,t),o=i.reduce(function(d,g){return Re(Re({},d),{},Pc({},g,[e[g],t[g]]))},{}),u=i.reduce(function(d,g){return Re(Re({},d),{},Pc({},g,{from:e[g],velocity:0,to:t[g]}))},{}),c=-1,s,f,l=function(){return null},h=function(){return qn(function(g,x){return x.from},u)},p=function(){return!Object.values(u).filter(_c).length},y=function(g){s||(s=g);var x=g-s,w=x/r.dt;u=o4(r,u,w),a(Re(Re(Re({},e),t),h())),s=g,p()||(c=requestAnimationFrame(l))},v=function(g){f||(f=g);var x=(g-f)/n,w=qn(function(m,b){return Wi.apply(void 0,cp(b).concat([r(x)]))},o);if(a(Re(Re(Re({},e),t),w)),x<1)c=requestAnimationFrame(l);else{var O=qn(function(m,b){return Wi.apply(void 0,cp(b).concat([r(1)]))},o);a(Re(Re(Re({},e),t),O))}};return l=r.isStepper?y:v,function(){return requestAnimationFrame(l),function(){cancelAnimationFrame(c)}}};function Xr(e){"@babel/helpers - typeof";return Xr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xr(e)}var c4=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function s4(e,t){if(e==null)return{};var r=l4(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l4(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function wu(e){return d4(e)||p4(e)||h4(e)||f4()}function f4(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h4(e,t){if(e){if(typeof e=="string")return $c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $c(e,t)}}function p4(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function d4(e){if(Array.isArray(e))return $c(e)}function $c(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function lp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ot(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lp(Object(r),!0).forEach(function(n){Fn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Fn(e,t,r){return t=dm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v4(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,dm(n.key),n)}}function m4(e,t,r){return t&&v4(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function dm(e){var t=g4(e,"string");return Xr(t)==="symbol"?t:String(t)}function g4(e,t){if(Xr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Xr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function b4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kc(e,t)}function kc(e,t){return kc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},kc(e,t)}function x4(e){var t=w4();return function(){var n=Ui(e),a;if(t){var i=Ui(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Tc(this,a)}}function Tc(e,t){if(t&&(Xr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ec(e)}function Ec(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w4(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}var nt=function(e){b4(r,e);var t=x4(r);function r(n,a){var i;y4(this,r),i=t.call(this,n,a);var o=i.props,u=o.isActive,c=o.attributeName,s=o.from,f=o.to,l=o.steps,h=o.children,p=o.duration;if(i.handleStyleChange=i.handleStyleChange.bind(Ec(i)),i.changeStyle=i.changeStyle.bind(Ec(i)),!u||p<=0)return i.state={style:{}},typeof h=="function"&&(i.state={style:f}),Tc(i);if(l&&l.length)i.state={style:l[0].style};else if(s){if(typeof h=="function")return i.state={style:s},Tc(i);i.state={style:c?Fn({},c,s):s}}else i.state={style:{}};return i}return m4(r,[{key:"componentDidMount",value:function(){var a=this.props,i=a.isActive,o=a.canBegin;this.mounted=!0,!(!i||!o)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(a){var i=this.props,o=i.isActive,u=i.canBegin,c=i.attributeName,s=i.shouldReAnimate,f=i.to,l=i.from,h=this.state.style;if(u){if(!o){var p={style:c?Fn({},c,f):f};this.state&&h&&(c&&h[c]!==f||!c&&h!==f)&&this.setState(p);return}if(!($D(a.to,f)&&a.canBegin&&a.isActive)){var y=!a.canBegin||!a.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var v=y||s?l:a.to;if(this.state&&h){var d={style:c?Fn({},c,v):v};(c&&h[c]!==v||!c&&h!==v)&&this.setState(d)}this.runAnimation(ot(ot({},this.props),{},{from:v,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var a=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),a&&a()}},{key:"handleStyleChange",value:function(a){this.changeStyle(a)}},{key:"changeStyle",value:function(a){this.mounted&&this.setState({style:a})}},{key:"runJSAnimation",value:function(a){var i=this,o=a.from,u=a.to,c=a.duration,s=a.easing,f=a.begin,l=a.onAnimationEnd,h=a.onAnimationStart,p=u4(o,u,XD(s),c,this.changeStyle),y=function(){i.stopJSAnimation=p()};this.manager.start([h,f,y,c,l])}},{key:"runStepAnimation",value:function(a){var i=this,o=a.steps,u=a.begin,c=a.onAnimationStart,s=o[0],f=s.style,l=s.duration,h=l===void 0?0:l,p=function(v,d,g){if(g===0)return v;var x=d.duration,w=d.easing,O=w===void 0?"ease":w,m=d.style,b=d.properties,A=d.onAnimationEnd,S=g>0?o[g-1]:d,$=b||Object.keys(m);if(typeof O=="function"||O==="spring")return[].concat(wu(v),[i.runJSAnimation.bind(i,{from:S.style,to:m,duration:x,easing:O}),x]);var I=ip($,x,O),T=ot(ot(ot({},S.style),m),{},{transition:I});return[].concat(wu(v),[T,x,A]).filter(LD)};return this.manager.start([c].concat(wu(o.reduce(p,[f,Math.max(h,u)])),[a.onAnimationEnd]))}},{key:"runAnimation",value:function(a){this.manager||(this.manager=ID());var i=a.begin,o=a.duration,u=a.attributeName,c=a.to,s=a.easing,f=a.onAnimationStart,l=a.onAnimationEnd,h=a.steps,p=a.children,y=this.manager;if(this.unSubscribe=y.subscribe(this.handleStyleChange),typeof s=="function"||typeof p=="function"||s==="spring"){this.runJSAnimation(a);return}if(h.length>1){this.runStepAnimation(a);return}var v=u?Fn({},u,c):c,d=ip(Object.keys(v),o,s);y.start([f,i,ot(ot({},v),{},{transition:d}),o,l])}},{key:"render",value:function(){var a=this.props,i=a.children;a.begin;var o=a.duration;a.attributeName,a.easing;var u=a.isActive;a.steps,a.from,a.to,a.canBegin,a.onAnimationEnd,a.shouldReAnimate,a.onAnimationReStart;var c=s4(a,c4),s=F.Children.count(i),f=this.state.style;if(typeof i=="function")return i(f);if(!u||s===0||o<=0)return i;var l=function(p){var y=p.props,v=y.style,d=v===void 0?{}:v,g=y.className,x=F.cloneElement(p,ot(ot({},c),{},{style:ot(ot({},d),f),className:g}));return x};return s===1?l(F.Children.only(i)):P.createElement("div",null,F.Children.map(i,function(h){return l(h)}))}}]),r}(F.PureComponent);nt.displayName="Animate";nt.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};nt.propTypes={from:ue.oneOfType([ue.object,ue.string]),to:ue.oneOfType([ue.object,ue.string]),attributeName:ue.string,duration:ue.number,begin:ue.number,easing:ue.oneOfType([ue.string,ue.func]),steps:ue.arrayOf(ue.shape({duration:ue.number.isRequired,style:ue.object.isRequired,easing:ue.oneOfType([ue.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),ue.func]),properties:ue.arrayOf("string"),onAnimationEnd:ue.func})),children:ue.oneOfType([ue.node,ue.func]),isActive:ue.bool,canBegin:ue.bool,onAnimationEnd:ue.func,shouldReAnimate:ue.bool,onAnimationStart:ue.func,onAnimationReStart:ue.func};function fp(){return fp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fp.apply(null,arguments)}function eF(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function hp(e,t){return hp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},hp(e,t)}function tF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ba(e){"@babel/helpers - typeof";return ba=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ba(e)}function Hi(){return Hi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hi.apply(this,arguments)}function O4(e,t){return _4(e)||S4(e,t)||P4(e,t)||A4()}function A4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function P4(e,t){if(e){if(typeof e=="string")return pp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pp(e,t)}}function pp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function S4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function _4(e){if(Array.isArray(e))return e}function dp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function yp(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dp(Object(r),!0).forEach(function(n){$4(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function $4(e,t,r){return t=k4(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k4(e){var t=T4(e,"string");return ba(t)=="symbol"?t:t+""}function T4(e,t){if(ba(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ba(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var vp=function(t,r,n,a,i){var o=Math.min(Math.abs(n)/2,Math.abs(a)/2),u=a>=0?1:-1,c=n>=0?1:-1,s=a>=0&&n>=0||a<0&&n<0?1:0,f;if(o>0&&i instanceof Array){for(var l=[0,0,0,0],h=0,p=4;h<p;h++)l[h]=i[h]>o?o:i[h];f="M".concat(t,",").concat(r+u*l[0]),l[0]>0&&(f+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(s,",").concat(t+c*l[0],",").concat(r)),f+="L ".concat(t+n-c*l[1],",").concat(r),l[1]>0&&(f+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(s,`,
        `).concat(t+n,",").concat(r+u*l[1])),f+="L ".concat(t+n,",").concat(r+a-u*l[2]),l[2]>0&&(f+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(s,`,
        `).concat(t+n-c*l[2],",").concat(r+a)),f+="L ".concat(t+c*l[3],",").concat(r+a),l[3]>0&&(f+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(s,`,
        `).concat(t,",").concat(r+a-u*l[3])),f+="Z"}else if(o>0&&i===+i&&i>0){var y=Math.min(o,i);f="M ".concat(t,",").concat(r+u*y,`
            A `).concat(y,",").concat(y,",0,0,").concat(s,",").concat(t+c*y,",").concat(r,`
            L `).concat(t+n-c*y,",").concat(r,`
            A `).concat(y,",").concat(y,",0,0,").concat(s,",").concat(t+n,",").concat(r+u*y,`
            L `).concat(t+n,",").concat(r+a-u*y,`
            A `).concat(y,",").concat(y,",0,0,").concat(s,",").concat(t+n-c*y,",").concat(r+a,`
            L `).concat(t+c*y,",").concat(r+a,`
            A `).concat(y,",").concat(y,",0,0,").concat(s,",").concat(t,",").concat(r+a-u*y," Z")}else f="M ".concat(t,",").concat(r," h ").concat(n," v ").concat(a," h ").concat(-n," Z");return f},E4=function(t,r){if(!t||!r)return!1;var n=t.x,a=t.y,i=r.x,o=r.y,u=r.width,c=r.height;if(Math.abs(u)>0&&Math.abs(c)>0){var s=Math.min(i,i+u),f=Math.max(i,i+u),l=Math.min(o,o+c),h=Math.max(o,o+c);return n>=s&&n<=f&&a>=l&&a<=h}return!1},M4={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},tl=function(t){var r=yp(yp({},M4),t),n=F.useRef(),a=F.useState(-1),i=O4(a,2),o=i[0],u=i[1];F.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var O=n.current.getTotalLength();O&&u(O)}catch{}},[]);var c=r.x,s=r.y,f=r.width,l=r.height,h=r.radius,p=r.className,y=r.animationEasing,v=r.animationDuration,d=r.animationBegin,g=r.isAnimationActive,x=r.isUpdateAnimationActive;if(c!==+c||s!==+s||f!==+f||l!==+l||f===0||l===0)return null;var w=Q("recharts-rectangle",p);return x?P.createElement(nt,{canBegin:o>0,from:{width:f,height:l,x:c,y:s},to:{width:f,height:l,x:c,y:s},duration:v,animationEasing:y,isActive:x},function(O){var m=O.width,b=O.height,A=O.x,S=O.y;return P.createElement(nt,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:v,isActive:g,easing:y},P.createElement("path",Hi({},Y(r,!0),{className:w,d:vp(A,S,m,b,h),ref:n})))}):P.createElement("path",Hi({},Y(r,!0),{className:w,d:vp(c,s,f,l,h)}))},j4=["points","className","baseLinePoints","connectNulls"];function Cr(){return Cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Cr.apply(this,arguments)}function C4(e,t){if(e==null)return{};var r=I4(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function I4(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function mp(e){return L4(e)||N4(e)||R4(e)||D4()}function D4(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function R4(e,t){if(e){if(typeof e=="string")return Mc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Mc(e,t)}}function N4(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function L4(e){if(Array.isArray(e))return Mc(e)}function Mc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var gp=function(t){return t&&t.x===+t.x&&t.y===+t.y},B4=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=[[]];return t.forEach(function(n){gp(n)?r[r.length-1].push(n):r[r.length-1].length>0&&r.push([])}),gp(t[0])&&r[r.length-1].push(t[0]),r[r.length-1].length<=0&&(r=r.slice(0,-1)),r},Kn=function(t,r){var n=B4(t);r&&(n=[n.reduce(function(i,o){return[].concat(mp(i),mp(o))},[])]);var a=n.map(function(i){return i.reduce(function(o,u,c){return"".concat(o).concat(c===0?"M":"L").concat(u.x,",").concat(u.y)},"")}).join("");return n.length===1?"".concat(a,"Z"):a},z4=function(t,r,n){var a=Kn(t,n);return"".concat(a.slice(-1)==="Z"?a.slice(0,-1):a,"L").concat(Kn(r.reverse(),n).slice(1))},ym=function(t){var r=t.points,n=t.className,a=t.baseLinePoints,i=t.connectNulls,o=C4(t,j4);if(!r||!r.length)return null;var u=Q("recharts-polygon",n);if(a&&a.length){var c=o.stroke&&o.stroke!=="none",s=z4(r,a,i);return P.createElement("g",{className:u},P.createElement("path",Cr({},Y(o,!0),{fill:s.slice(-1)==="Z"?o.fill:"none",stroke:"none",d:s})),c?P.createElement("path",Cr({},Y(o,!0),{fill:"none",d:Kn(r,i)})):null,c?P.createElement("path",Cr({},Y(o,!0),{fill:"none",d:Kn(a,i)})):null)}var f=Kn(r,i);return P.createElement("path",Cr({},Y(o,!0),{fill:f.slice(-1)==="Z"?o.fill:"none",className:u,d:f}))};function jc(){return jc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jc.apply(this,arguments)}var kn=function(t){var r=t.cx,n=t.cy,a=t.r,i=t.className,o=Q("recharts-dot",i);return r===+r&&n===+n&&a===+a?F.createElement("circle",jc({},Y(t,!1),ci(t),{className:o,cx:r,cy:n,r:a})):null};function xa(e){"@babel/helpers - typeof";return xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xa(e)}var F4=["x","y","top","left","width","height","className"];function Cc(){return Cc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Cc.apply(this,arguments)}function bp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function W4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?bp(Object(r),!0).forEach(function(n){U4(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function U4(e,t,r){return t=H4(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H4(e){var t=q4(e,"string");return xa(t)=="symbol"?t:t+""}function q4(e,t){if(xa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(xa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function K4(e,t){if(e==null)return{};var r=V4(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function V4(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var G4=function(t,r,n,a,i,o){return"M".concat(t,",").concat(i,"v").concat(a,"M").concat(o,",").concat(r,"h").concat(n)},Y4=function(t){var r=t.x,n=r===void 0?0:r,a=t.y,i=a===void 0?0:a,o=t.top,u=o===void 0?0:o,c=t.left,s=c===void 0?0:c,f=t.width,l=f===void 0?0:f,h=t.height,p=h===void 0?0:h,y=t.className,v=K4(t,F4),d=W4({x:n,y:i,top:u,left:s,width:l,height:p},v);return!U(n)||!U(i)||!U(l)||!U(p)||!U(u)||!U(s)?null:P.createElement("path",Cc({},Y(d,!0),{className:Q("recharts-cross",y),d:G4(n,i,l,p,u,s)}))},X4=["cx","cy","innerRadius","outerRadius","gridType","radialLines"];function wa(e){"@babel/helpers - typeof";return wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wa(e)}function Z4(e,t){if(e==null)return{};var r=J4(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function J4(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ct.apply(this,arguments)}function xp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Oa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xp(Object(r),!0).forEach(function(n){Q4(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Q4(e,t,r){return t=e5(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e5(e){var t=t5(e,"string");return wa(t)=="symbol"?t:t+""}function t5(e,t){if(wa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(wa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var r5=function(t,r,n,a){var i="";return a.forEach(function(o,u){var c=oe(r,n,t,o);u?i+="L ".concat(c.x,",").concat(c.y):i+="M ".concat(c.x,",").concat(c.y)}),i+="Z",i},n5=function(t){var r=t.cx,n=t.cy,a=t.innerRadius,i=t.outerRadius,o=t.polarAngles,u=t.radialLines;if(!o||!o.length||!u)return null;var c=Oa({stroke:"#ccc"},Y(t,!1));return P.createElement("g",{className:"recharts-polar-grid-angle"},o.map(function(s){var f=oe(r,n,a,s),l=oe(r,n,i,s);return P.createElement("line",Ct({},c,{key:"line-".concat(s),x1:f.x,y1:f.y,x2:l.x,y2:l.y}))}))},a5=function(t){var r=t.cx,n=t.cy,a=t.radius,i=t.index,o=Oa(Oa({stroke:"#ccc"},Y(t,!1)),{},{fill:"none"});return P.createElement("circle",Ct({},o,{className:Q("recharts-polar-grid-concentric-circle",t.className),key:"circle-".concat(i),cx:r,cy:n,r:a}))},i5=function(t){var r=t.radius,n=t.index,a=Oa(Oa({stroke:"#ccc"},Y(t,!1)),{},{fill:"none"});return P.createElement("path",Ct({},a,{className:Q("recharts-polar-grid-concentric-polygon",t.className),key:"path-".concat(n),d:r5(r,t.cx,t.cy,t.polarAngles)}))},o5=function(t){var r=t.polarRadius,n=t.gridType;return!r||!r.length?null:P.createElement("g",{className:"recharts-polar-grid-concentric"},r.map(function(a,i){var o=i;return n==="circle"?P.createElement(a5,Ct({key:o},t,{radius:a,index:i})):P.createElement(i5,Ct({key:o},t,{radius:a,index:i}))}))},u5=function(t){var r=t.cx,n=r===void 0?0:r,a=t.cy,i=a===void 0?0:a,o=t.innerRadius,u=o===void 0?0:o,c=t.outerRadius,s=c===void 0?0:c,f=t.gridType,l=f===void 0?"polygon":f,h=t.radialLines,p=h===void 0?!0:h,y=Z4(t,X4);return s<=0?null:P.createElement("g",{className:"recharts-polar-grid"},P.createElement(n5,Ct({cx:n,cy:i,innerRadius:u,outerRadius:s,gridType:l,radialLines:p},y)),P.createElement(o5,Ct({cx:n,cy:i,innerRadius:u,outerRadius:s,gridType:l,radialLines:p},y)))};u5.displayName="PolarGrid";var c5=Co,s5=wv,l5=bt;function f5(e,t){return e&&e.length?c5(e,l5(t),s5):void 0}var h5=f5;const p5=le(h5);var d5=Co,y5=bt,v5=Ov;function m5(e,t){return e&&e.length?d5(e,y5(t),v5):void 0}var g5=m5;const b5=le(g5);var x5=["cx","cy","angle","ticks","axisLine"],w5=["ticks","tick","angle","tickFormatter","stroke"];function Zr(e){"@babel/helpers - typeof";return Zr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zr(e)}function Vn(){return Vn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vn.apply(this,arguments)}function wp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Qt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wp(Object(r),!0).forEach(function(n){No(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Op(e,t){if(e==null)return{};var r=O5(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function O5(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function A5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ap(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,mm(n.key),n)}}function P5(e,t,r){return t&&Ap(e.prototype,t),r&&Ap(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function S5(e,t,r){return t=qi(t),_5(e,vm()?Reflect.construct(t,r||[],qi(e).constructor):t.apply(e,r))}function _5(e,t){if(t&&(Zr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $5(e)}function $5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(vm=function(){return!!e})()}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(e)}function k5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ic(e,t)}function Ic(e,t){return Ic=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Ic(e,t)}function No(e,t,r){return t=mm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mm(e){var t=T5(e,"string");return Zr(t)=="symbol"?t:t+""}function T5(e,t){if(Zr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Zr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var La=function(e){function t(){return A5(this,t),S5(this,t,arguments)}return k5(t,e),P5(t,[{key:"getTickValueCoord",value:function(n){var a=n.coordinate,i=this.props,o=i.angle,u=i.cx,c=i.cy;return oe(u,c,a,o)}},{key:"getTickTextAnchor",value:function(){var n=this.props.orientation,a;switch(n){case"left":a="end";break;case"right":a="start";break;default:a="middle";break}return a}},{key:"getViewBox",value:function(){var n=this.props,a=n.cx,i=n.cy,o=n.angle,u=n.ticks,c=p5(u,function(f){return f.coordinate||0}),s=b5(u,function(f){return f.coordinate||0});return{cx:a,cy:i,startAngle:o,endAngle:o,innerRadius:s.coordinate||0,outerRadius:c.coordinate||0}}},{key:"renderAxisLine",value:function(){var n=this.props,a=n.cx,i=n.cy,o=n.angle,u=n.ticks,c=n.axisLine,s=Op(n,x5),f=u.reduce(function(y,v){return[Math.min(y[0],v.coordinate),Math.max(y[1],v.coordinate)]},[1/0,-1/0]),l=oe(a,i,f[0],o),h=oe(a,i,f[1],o),p=Qt(Qt(Qt({},Y(s,!1)),{},{fill:"none"},Y(c,!1)),{},{x1:l.x,y1:l.y,x2:h.x,y2:h.y});return P.createElement("line",Vn({className:"recharts-polar-radius-axis-line"},p))}},{key:"renderTicks",value:function(){var n=this,a=this.props,i=a.ticks,o=a.tick,u=a.angle,c=a.tickFormatter,s=a.stroke,f=Op(a,w5),l=this.getTickTextAnchor(),h=Y(f,!1),p=Y(o,!1),y=i.map(function(v,d){var g=n.getTickValueCoord(v),x=Qt(Qt(Qt(Qt({textAnchor:l,transform:"rotate(".concat(90-u,", ").concat(g.x,", ").concat(g.y,")")},h),{},{stroke:"none",fill:s},p),{},{index:d},g),{},{payload:v});return P.createElement(ne,Vn({className:Q("recharts-polar-radius-axis-tick",Zv(o)),key:"tick-".concat(v.coordinate)},dr(n.props,v,d)),t.renderTickItem(o,x,c?c(v.value,d):v.value))});return P.createElement(ne,{className:"recharts-polar-radius-axis-ticks"},y)}},{key:"render",value:function(){var n=this.props,a=n.ticks,i=n.axisLine,o=n.tick;return!a||!a.length?null:P.createElement(ne,{className:Q("recharts-polar-radius-axis",this.props.className)},i&&this.renderAxisLine(),o&&this.renderTicks(),Ce.renderCallByParent(this.props,this.getViewBox()))}}],[{key:"renderTickItem",value:function(n,a,i){var o;return P.isValidElement(n)?o=P.cloneElement(n,a):X(n)?o=n(a):o=P.createElement(yr,Vn({},a,{className:"recharts-polar-radius-axis-tick-value"}),i),o}}])}(F.PureComponent);No(La,"displayName","PolarRadiusAxis");No(La,"axisType","radiusAxis");No(La,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});function Jr(e){"@babel/helpers - typeof";return Jr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jr(e)}function ar(){return ar=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ar.apply(this,arguments)}function Pp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function er(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Pp(Object(r),!0).forEach(function(n){Lo(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function E5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,bm(n.key),n)}}function M5(e,t,r){return t&&Sp(e.prototype,t),r&&Sp(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function j5(e,t,r){return t=Ki(t),C5(e,gm()?Reflect.construct(t,r||[],Ki(e).constructor):t.apply(e,r))}function C5(e,t){if(t&&(Jr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return I5(e)}function I5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(gm=function(){return!!e})()}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function D5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dc(e,t)}function Dc(e,t){return Dc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Dc(e,t)}function Lo(e,t,r){return t=bm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bm(e){var t=R5(e,"string");return Jr(t)=="symbol"?t:t+""}function R5(e,t){if(Jr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Jr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var N5=Math.PI/180,_p=1e-5,Ba=function(e){function t(){return E5(this,t),j5(this,t,arguments)}return D5(t,e),M5(t,[{key:"getTickLineCoord",value:function(n){var a=this.props,i=a.cx,o=a.cy,u=a.radius,c=a.orientation,s=a.tickSize,f=s||8,l=oe(i,o,u,n.coordinate),h=oe(i,o,u+(c==="inner"?-1:1)*f,n.coordinate);return{x1:l.x,y1:l.y,x2:h.x,y2:h.y}}},{key:"getTickTextAnchor",value:function(n){var a=this.props.orientation,i=Math.cos(-n.coordinate*N5),o;return i>_p?o=a==="outer"?"start":"end":i<-_p?o=a==="outer"?"end":"start":o="middle",o}},{key:"renderAxisLine",value:function(){var n=this.props,a=n.cx,i=n.cy,o=n.radius,u=n.axisLine,c=n.axisLineType,s=er(er({},Y(this.props,!1)),{},{fill:"none"},Y(u,!1));if(c==="circle")return P.createElement(kn,ar({className:"recharts-polar-angle-axis-line"},s,{cx:a,cy:i,r:o}));var f=this.props.ticks,l=f.map(function(h){return oe(a,i,o,h.coordinate)});return P.createElement(ym,ar({className:"recharts-polar-angle-axis-line"},s,{points:l}))}},{key:"renderTicks",value:function(){var n=this,a=this.props,i=a.ticks,o=a.tick,u=a.tickLine,c=a.tickFormatter,s=a.stroke,f=Y(this.props,!1),l=Y(o,!1),h=er(er({},f),{},{fill:"none"},Y(u,!1)),p=i.map(function(y,v){var d=n.getTickLineCoord(y),g=n.getTickTextAnchor(y),x=er(er(er({textAnchor:g},f),{},{stroke:"none",fill:s},l),{},{index:v,payload:y,x:d.x2,y:d.y2});return P.createElement(ne,ar({className:Q("recharts-polar-angle-axis-tick",Zv(o)),key:"tick-".concat(y.coordinate)},dr(n.props,y,v)),u&&P.createElement("line",ar({className:"recharts-polar-angle-axis-tick-line"},h,d)),o&&t.renderTickItem(o,x,c?c(y.value,v):y.value))});return P.createElement(ne,{className:"recharts-polar-angle-axis-ticks"},p)}},{key:"render",value:function(){var n=this.props,a=n.ticks,i=n.radius,o=n.axisLine;return i<=0||!a||!a.length?null:P.createElement(ne,{className:Q("recharts-polar-angle-axis",this.props.className)},o&&this.renderAxisLine(),this.renderTicks())}}],[{key:"renderTickItem",value:function(n,a,i){var o;return P.isValidElement(n)?o=P.cloneElement(n,a):X(n)?o=n(a):o=P.createElement(yr,ar({},a,{className:"recharts-polar-angle-axis-tick-value"}),i),o}}])}(F.PureComponent);Lo(Ba,"displayName","PolarAngleAxis");Lo(Ba,"axisType","angleAxis");Lo(Ba,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var L5=my,B5=L5(Object.getPrototypeOf,Object),z5=B5,F5=It,W5=z5,U5=Dt,H5="[object Object]",q5=Function.prototype,K5=Object.prototype,xm=q5.toString,V5=K5.hasOwnProperty,G5=xm.call(Object);function Y5(e){if(!U5(e)||F5(e)!=H5)return!1;var t=W5(e);if(t===null)return!0;var r=V5.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&xm.call(r)==G5}var X5=Y5;const Z5=le(X5);var J5=It,Q5=Dt,e8="[object Boolean]";function t8(e){return e===!0||e===!1||Q5(e)&&J5(e)==e8}var r8=t8;const n8=le(r8);function Aa(e){"@babel/helpers - typeof";return Aa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Aa(e)}function Vi(){return Vi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vi.apply(this,arguments)}function a8(e,t){return c8(e)||u8(e,t)||o8(e,t)||i8()}function i8(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o8(e,t){if(e){if(typeof e=="string")return $p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $p(e,t)}}function $p(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u8(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function c8(e){if(Array.isArray(e))return e}function kp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Tp(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?kp(Object(r),!0).forEach(function(n){s8(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function s8(e,t,r){return t=l8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l8(e){var t=f8(e,"string");return Aa(t)=="symbol"?t:t+""}function f8(e,t){if(Aa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Aa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ep=function(t,r,n,a,i){var o=n-a,u;return u="M ".concat(t,",").concat(r),u+="L ".concat(t+n,",").concat(r),u+="L ".concat(t+n-o/2,",").concat(r+i),u+="L ".concat(t+n-o/2-a,",").concat(r+i),u+="L ".concat(t,",").concat(r," Z"),u},h8={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},p8=function(t){var r=Tp(Tp({},h8),t),n=F.useRef(),a=F.useState(-1),i=a8(a,2),o=i[0],u=i[1];F.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var w=n.current.getTotalLength();w&&u(w)}catch{}},[]);var c=r.x,s=r.y,f=r.upperWidth,l=r.lowerWidth,h=r.height,p=r.className,y=r.animationEasing,v=r.animationDuration,d=r.animationBegin,g=r.isUpdateAnimationActive;if(c!==+c||s!==+s||f!==+f||l!==+l||h!==+h||f===0&&l===0||h===0)return null;var x=Q("recharts-trapezoid",p);return g?P.createElement(nt,{canBegin:o>0,from:{upperWidth:0,lowerWidth:0,height:h,x:c,y:s},to:{upperWidth:f,lowerWidth:l,height:h,x:c,y:s},duration:v,animationEasing:y,isActive:g},function(w){var O=w.upperWidth,m=w.lowerWidth,b=w.height,A=w.x,S=w.y;return P.createElement(nt,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:v,easing:y},P.createElement("path",Vi({},Y(r,!0),{className:x,d:Ep(A,S,O,m,b),ref:n})))}):P.createElement("g",null,P.createElement("path",Vi({},Y(r,!0),{className:x,d:Ep(c,s,f,l,h)})))},d8=["option","shapeType","propTransformer","activeClassName","isActive"];function Pa(e){"@babel/helpers - typeof";return Pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pa(e)}function y8(e,t){if(e==null)return{};var r=v8(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function v8(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Mp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Gi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Mp(Object(r),!0).forEach(function(n){m8(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function m8(e,t,r){return t=g8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g8(e){var t=b8(e,"string");return Pa(t)=="symbol"?t:t+""}function b8(e,t){if(Pa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Pa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function x8(e,t){return Gi(Gi({},t),e)}function w8(e,t){return e==="symbols"}function jp(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return P.createElement(tl,r);case"trapezoid":return P.createElement(p8,r);case"sector":return P.createElement(tm,r);case"symbols":if(w8(t))return P.createElement(bs,r);break;default:return null}}function O8(e){return F.isValidElement(e)?e.props:e}function wm(e){var t=e.option,r=e.shapeType,n=e.propTransformer,a=n===void 0?x8:n,i=e.activeClassName,o=i===void 0?"recharts-active-shape":i,u=e.isActive,c=y8(e,d8),s;if(F.isValidElement(t))s=F.cloneElement(t,Gi(Gi({},c),O8(t)));else if(X(t))s=t(c);else if(Z5(t)&&!n8(t)){var f=a(t,c);s=P.createElement(jp,{shapeType:r,elementProps:f})}else{var l=c;s=P.createElement(jp,{shapeType:r,elementProps:l})}return u?P.createElement(ne,{className:o},s):s}function Bo(e,t){return t!=null&&"trapezoids"in e.props}function zo(e,t){return t!=null&&"sectors"in e.props}function Sa(e,t){return t!=null&&"points"in e.props}function A8(e,t){var r,n,a=e.x===(t==null||(r=t.labelViewBox)===null||r===void 0?void 0:r.x)||e.x===t.x,i=e.y===(t==null||(n=t.labelViewBox)===null||n===void 0?void 0:n.y)||e.y===t.y;return a&&i}function P8(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function S8(e,t){var r=e.x===t.x,n=e.y===t.y,a=e.z===t.z;return r&&n&&a}function _8(e,t){var r;return Bo(e,t)?r=A8:zo(e,t)?r=P8:Sa(e,t)&&(r=S8),r}function $8(e,t){var r;return Bo(e,t)?r="trapezoids":zo(e,t)?r="sectors":Sa(e,t)&&(r="points"),r}function k8(e,t){if(Bo(e,t)){var r;return(r=t.tooltipPayload)===null||r===void 0||(r=r[0])===null||r===void 0||(r=r.payload)===null||r===void 0?void 0:r.payload}if(zo(e,t)){var n;return(n=t.tooltipPayload)===null||n===void 0||(n=n[0])===null||n===void 0||(n=n.payload)===null||n===void 0?void 0:n.payload}return Sa(e,t)?t.payload:{}}function T8(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,a=$8(r,t),i=k8(r,t),o=n.filter(function(c,s){var f=qt(i,c),l=r.props[a].filter(function(y){var v=_8(r,t);return v(y,t)}),h=r.props[a].indexOf(l[l.length-1]),p=s===h;return f&&p}),u=n.indexOf(o[o.length-1]);return u}var oi;function Qr(e){"@babel/helpers - typeof";return Qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qr(e)}function Ir(){return Ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ir.apply(this,arguments)}function Cp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ye(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Cp(Object(r),!0).forEach(function(n){et(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function E8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ip(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Am(n.key),n)}}function M8(e,t,r){return t&&Ip(e.prototype,t),r&&Ip(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function j8(e,t,r){return t=Yi(t),C8(e,Om()?Reflect.construct(t,r||[],Yi(e).constructor):t.apply(e,r))}function C8(e,t){if(t&&(Qr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return I8(e)}function I8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Om(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Om=function(){return!!e})()}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function D8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rc(e,t)}function Rc(e,t){return Rc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Rc(e,t)}function et(e,t,r){return t=Am(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Am(e){var t=R8(e,"string");return Qr(t)=="symbol"?t:t+""}function R8(e,t){if(Qr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Qr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Xt=function(e){function t(r){var n;return E8(this,t),n=j8(this,t,[r]),et(n,"pieRef",null),et(n,"sectorRefs",[]),et(n,"id",xr("recharts-pie-")),et(n,"handleAnimationEnd",function(){var a=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),X(a)&&a()}),et(n,"handleAnimationStart",function(){var a=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),X(a)&&a()}),n.state={isAnimationFinished:!r.isAnimationActive,prevIsAnimationActive:r.isAnimationActive,prevAnimationId:r.animationId,sectorToFocus:0},n}return D8(t,e),M8(t,[{key:"isActiveIndex",value:function(n){var a=this.props.activeIndex;return Array.isArray(a)?a.indexOf(n)!==-1:n===a}},{key:"hasActiveIndex",value:function(){var n=this.props.activeIndex;return Array.isArray(n)?n.length!==0:n||n===0}},{key:"renderLabels",value:function(n){var a=this.props.isAnimationActive;if(a&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.label,u=i.labelLine,c=i.dataKey,s=i.valueKey,f=Y(this.props,!1),l=Y(o,!1),h=Y(u,!1),p=o&&o.offsetRadius||20,y=n.map(function(v,d){var g=(v.startAngle+v.endAngle)/2,x=oe(v.cx,v.cy,v.outerRadius+p,g),w=ye(ye(ye(ye({},f),v),{},{stroke:"none"},l),{},{index:d,textAnchor:t.getTextAnchor(x.x,v.cx)},x),O=ye(ye(ye(ye({},f),v),{},{fill:"none",stroke:v.fill},h),{},{index:d,points:[oe(v.cx,v.cy,v.outerRadius,g),x]}),m=c;return J(c)&&J(s)?m="value":J(c)&&(m=s),P.createElement(ne,{key:"label-".concat(v.startAngle,"-").concat(v.endAngle,"-").concat(v.midAngle,"-").concat(d)},u&&t.renderLabelLineItem(u,O,"line"),t.renderLabelItem(o,w,Ae(v,m)))});return P.createElement(ne,{className:"recharts-pie-labels"},y)}},{key:"renderSectorsStatically",value:function(n){var a=this,i=this.props,o=i.activeShape,u=i.blendStroke,c=i.inactiveShape;return n.map(function(s,f){if((s==null?void 0:s.startAngle)===0&&(s==null?void 0:s.endAngle)===0&&n.length!==1)return null;var l=a.isActiveIndex(f),h=c&&a.hasActiveIndex()?c:null,p=l?o:h,y=ye(ye({},s),{},{stroke:u?s.fill:s.stroke,tabIndex:-1});return P.createElement(ne,Ir({ref:function(d){d&&!a.sectorRefs.includes(d)&&a.sectorRefs.push(d)},tabIndex:-1,className:"recharts-pie-sector"},dr(a.props,s,f),{key:"sector-".concat(s==null?void 0:s.startAngle,"-").concat(s==null?void 0:s.endAngle,"-").concat(s.midAngle,"-").concat(f)}),P.createElement(wm,Ir({option:p,isActive:l,shapeType:"sector"},y)))})}},{key:"renderSectorsWithAnimation",value:function(){var n=this,a=this.props,i=a.sectors,o=a.isAnimationActive,u=a.animationBegin,c=a.animationDuration,s=a.animationEasing,f=a.animationId,l=this.state,h=l.prevSectors,p=l.prevIsAnimationActive;return P.createElement(nt,{begin:u,duration:c,isActive:o,easing:s,from:{t:0},to:{t:1},key:"pie-".concat(f,"-").concat(p),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(y){var v=y.t,d=[],g=i&&i[0],x=g.startAngle;return i.forEach(function(w,O){var m=h&&h[O],b=O>0?Ye(w,"paddingAngle",0):0;if(m){var A=Oe(m.endAngle-m.startAngle,w.endAngle-w.startAngle),S=ye(ye({},w),{},{startAngle:x+b,endAngle:x+A(v)+b});d.push(S),x=S.endAngle}else{var $=w.endAngle,I=w.startAngle,T=Oe(0,$-I),M=T(v),_=ye(ye({},w),{},{startAngle:x+b,endAngle:x+M+b});d.push(_),x=_.endAngle}}),P.createElement(ne,null,n.renderSectorsStatically(d))})}},{key:"attachKeyboardHandlers",value:function(n){var a=this;n.onkeydown=function(i){if(!i.altKey)switch(i.key){case"ArrowLeft":{var o=++a.state.sectorToFocus%a.sectorRefs.length;a.sectorRefs[o].focus(),a.setState({sectorToFocus:o});break}case"ArrowRight":{var u=--a.state.sectorToFocus<0?a.sectorRefs.length-1:a.state.sectorToFocus%a.sectorRefs.length;a.sectorRefs[u].focus(),a.setState({sectorToFocus:u});break}case"Escape":{a.sectorRefs[a.state.sectorToFocus].blur(),a.setState({sectorToFocus:0});break}}}}},{key:"renderSectors",value:function(){var n=this.props,a=n.sectors,i=n.isAnimationActive,o=this.state.prevSectors;return i&&a&&a.length&&(!o||!qt(o,a))?this.renderSectorsWithAnimation():this.renderSectorsStatically(a)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var n=this,a=this.props,i=a.hide,o=a.sectors,u=a.className,c=a.label,s=a.cx,f=a.cy,l=a.innerRadius,h=a.outerRadius,p=a.isAnimationActive,y=this.state.isAnimationFinished;if(i||!o||!o.length||!U(s)||!U(f)||!U(l)||!U(h))return null;var v=Q("recharts-pie",u);return P.createElement(ne,{tabIndex:this.props.rootTabIndex,className:v,ref:function(g){n.pieRef=g}},this.renderSectors(),c&&this.renderLabels(o),Ce.renderCallByParent(this.props,null,!1),(!p||y)&&ft.renderCallByParent(this.props,o,!1))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return a.prevIsAnimationActive!==n.isAnimationActive?{prevIsAnimationActive:n.isAnimationActive,prevAnimationId:n.animationId,curSectors:n.sectors,prevSectors:[],isAnimationFinished:!0}:n.isAnimationActive&&n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curSectors:n.sectors,prevSectors:a.curSectors,isAnimationFinished:!0}:n.sectors!==a.curSectors?{curSectors:n.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(n,a){return n>a?"start":n<a?"end":"middle"}},{key:"renderLabelLineItem",value:function(n,a,i){if(P.isValidElement(n))return P.cloneElement(n,a);if(X(n))return n(a);var o=Q("recharts-pie-label-line",typeof n!="boolean"?n.className:"");return P.createElement(hr,Ir({},a,{key:i,type:"linear",className:o}))}},{key:"renderLabelItem",value:function(n,a,i){if(P.isValidElement(n))return P.cloneElement(n,a);var o=i;if(X(n)&&(o=n(a),P.isValidElement(o)))return o;var u=Q("recharts-pie-label-text",typeof n!="boolean"&&!X(n)?n.className:"");return P.createElement(yr,Ir({},a,{alignmentBaseline:"middle",className:u}),o)}}])}(F.PureComponent);oi=Xt;et(Xt,"displayName","Pie");et(Xt,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!Rt.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0});et(Xt,"parseDeltaAngle",function(e,t){var r=ze(t-e),n=Math.min(Math.abs(t-e),360);return r*n});et(Xt,"getRealPieData",function(e){var t=e.data,r=e.children,n=Y(e,!1),a=Xe(r,Ts);return t&&t.length?t.map(function(i,o){return ye(ye(ye({payload:i},n),i),a&&a[o]&&a[o].props)}):a&&a.length?a.map(function(i){return ye(ye({},n),i.props)}):[]});et(Xt,"parseCoordinateOfPie",function(e,t){var r=t.top,n=t.left,a=t.width,i=t.height,o=Yv(a,i),u=n+Fe(e.cx,a,a/2),c=r+Fe(e.cy,i,i/2),s=Fe(e.innerRadius,o,0),f=Fe(e.outerRadius,o,o*.8),l=e.maxRadius||Math.sqrt(a*a+i*i)/2;return{cx:u,cy:c,innerRadius:s,outerRadius:f,maxRadius:l}});et(Xt,"getComposedData",function(e){var t=e.item,r=e.offset,n=t.type.defaultProps!==void 0?ye(ye({},t.type.defaultProps),t.props):t.props,a=oi.getRealPieData(n);if(!a||!a.length)return null;var i=n.cornerRadius,o=n.startAngle,u=n.endAngle,c=n.paddingAngle,s=n.dataKey,f=n.nameKey,l=n.valueKey,h=n.tooltipType,p=Math.abs(n.minAngle),y=oi.parseCoordinateOfPie(n,r),v=oi.parseDeltaAngle(o,u),d=Math.abs(v),g=s;J(s)&&J(l)?(lt(!1,`Use "dataKey" to specify the value of pie,
      the props "valueKey" will be deprecated in 1.1.0`),g="value"):J(s)&&(lt(!1,`Use "dataKey" to specify the value of pie,
      the props "valueKey" will be deprecated in 1.1.0`),g=l);var x=a.filter(function(S){return Ae(S,g,0)!==0}).length,w=(d>=360?x:x-1)*c,O=d-x*p-w,m=a.reduce(function(S,$){var I=Ae($,g,0);return S+(U(I)?I:0)},0),b;if(m>0){var A;b=a.map(function(S,$){var I=Ae(S,g,0),T=Ae(S,f,$),M=(U(I)?I:0)/m,_;$?_=A.endAngle+ze(v)*c*(I!==0?1:0):_=o;var k=_+ze(v)*((I!==0?p:0)+M*O),j=(_+k)/2,C=(y.innerRadius+y.outerRadius)/2,R=[{name:T,value:I,payload:S,dataKey:g,type:h}],B=oe(y.cx,y.cy,C,j);return A=ye(ye(ye({percent:M,cornerRadius:i,name:T,tooltipPayload:R,midAngle:j,middleRadius:C,tooltipPosition:B},S),y),{},{value:Ae(S,g),startAngle:_,endAngle:k,payload:S,paddingAngle:ze(v)*c}),A})}return ye(ye({},y),{},{sectors:b,data:a})});function N8(e){return e&&e.length?e[0]:void 0}var L8=N8,B8=L8;const z8=le(B8);var F8=["key"];function en(e){"@babel/helpers - typeof";return en=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},en(e)}function W8(e,t){if(e==null)return{};var r=U8(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function U8(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Xi(){return Xi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xi.apply(this,arguments)}function Dp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Be(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Dp(Object(r),!0).forEach(function(n){Pt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function H8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Sm(n.key),n)}}function q8(e,t,r){return t&&Rp(e.prototype,t),r&&Rp(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function K8(e,t,r){return t=Zi(t),V8(e,Pm()?Reflect.construct(t,r||[],Zi(e).constructor):t.apply(e,r))}function V8(e,t){if(t&&(en(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return G8(e)}function G8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Pm=function(){return!!e})()}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function Y8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nc(e,t)}function Nc(e,t){return Nc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Nc(e,t)}function Pt(e,t,r){return t=Sm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sm(e){var t=X8(e,"string");return en(t)=="symbol"?t:t+""}function X8(e,t){if(en(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(en(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Fo=function(e){function t(){var r;H8(this,t);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return r=K8(this,t,[].concat(a)),Pt(r,"state",{isAnimationFinished:!1}),Pt(r,"handleAnimationEnd",function(){var o=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),X(o)&&o()}),Pt(r,"handleAnimationStart",function(){var o=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),X(o)&&o()}),Pt(r,"handleMouseEnter",function(o){var u=r.props.onMouseEnter;u&&u(r.props,o)}),Pt(r,"handleMouseLeave",function(o){var u=r.props.onMouseLeave;u&&u(r.props,o)}),r}return Y8(t,e),q8(t,[{key:"renderDots",value:function(n){var a=this.props,i=a.dot,o=a.dataKey,u=Y(this.props,!1),c=Y(i,!0),s=n.map(function(f,l){var h=Be(Be(Be({key:"dot-".concat(l),r:3},u),c),{},{dataKey:o,cx:f.x,cy:f.y,index:l,payload:f});return t.renderDotItem(i,h)});return P.createElement(ne,{className:"recharts-radar-dots"},s)}},{key:"renderPolygonStatically",value:function(n){var a=this.props,i=a.shape,o=a.dot,u=a.isRange,c=a.baseLinePoints,s=a.connectNulls,f;return P.isValidElement(i)?f=P.cloneElement(i,Be(Be({},this.props),{},{points:n})):X(i)?f=i(Be(Be({},this.props),{},{points:n})):f=P.createElement(ym,Xi({},Y(this.props,!0),{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,points:n,baseLinePoints:u?c:null,connectNulls:s})),P.createElement(ne,{className:"recharts-radar-polygon"},f,o?this.renderDots(n):null)}},{key:"renderPolygonWithAnimation",value:function(){var n=this,a=this.props,i=a.points,o=a.isAnimationActive,u=a.animationBegin,c=a.animationDuration,s=a.animationEasing,f=a.animationId,l=this.state.prevPoints;return P.createElement(nt,{begin:u,duration:c,isActive:o,easing:s,from:{t:0},to:{t:1},key:"radar-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(h){var p=h.t,y=l&&l.length/i.length,v=i.map(function(d,g){var x=l&&l[Math.floor(g*y)];if(x){var w=Oe(x.x,d.x),O=Oe(x.y,d.y);return Be(Be({},d),{},{x:w(p),y:O(p)})}var m=Oe(d.cx,d.x),b=Oe(d.cy,d.y);return Be(Be({},d),{},{x:m(p),y:b(p)})});return n.renderPolygonStatically(v)})}},{key:"renderPolygon",value:function(){var n=this.props,a=n.points,i=n.isAnimationActive,o=n.isRange,u=this.state.prevPoints;return i&&a&&a.length&&!o&&(!u||!qt(u,a))?this.renderPolygonWithAnimation():this.renderPolygonStatically(a)}},{key:"render",value:function(){var n=this.props,a=n.hide,i=n.className,o=n.points,u=n.isAnimationActive;if(a||!o||!o.length)return null;var c=this.state.isAnimationFinished,s=Q("recharts-radar",i);return P.createElement(ne,{className:s},this.renderPolygon(),(!u||c)&&ft.renderCallByParent(this.props,o))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curPoints:n.points,prevPoints:a.curPoints}:n.points!==a.curPoints?{curPoints:n.points}:null}},{key:"renderDotItem",value:function(n,a){var i;if(P.isValidElement(n))i=P.cloneElement(n,a);else if(X(n))i=n(a);else{var o=a.key,u=W8(a,F8);i=P.createElement(kn,Xi({},u,{key:o,className:Q("recharts-radar-dot",typeof n!="boolean"?n.className:"")}))}return i}}])}(F.PureComponent);Pt(Fo,"displayName","Radar");Pt(Fo,"defaultProps",{angleAxisId:0,radiusAxisId:0,hide:!1,activeDot:!0,dot:!1,legendType:"rect",isAnimationActive:!Rt.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});Pt(Fo,"getComposedData",function(e){var t=e.radiusAxis,r=e.angleAxis,n=e.displayedData,a=e.dataKey,i=e.bandSize,o=r.cx,u=r.cy,c=!1,s=[],f=r.type!=="number"?i??0:0;n.forEach(function(h,p){var y=Ae(h,r.dataKey,p),v=Ae(h,a),d=r.scale(y)+f,g=Array.isArray(v)?Qv(v):v,x=J(g)?void 0:t.scale(g);Array.isArray(v)&&v.length>=2&&(c=!0),s.push(Be(Be({},oe(o,u,x,d)),{},{name:y,value:v,cx:o,cy:u,radius:x,angle:d,payload:h}))});var l=[];return c&&s.forEach(function(h){if(Array.isArray(h.value)){var p=z8(h.value),y=J(p)?void 0:t.scale(p);l.push(Be(Be({},h),{},{radius:y},oe(o,u,y,h.angle)))}else l.push(h)}),{points:s,isRange:c,baseLinePoints:l}});var Z8=Math.ceil,J8=Math.max;function Q8(e,t,r,n){for(var a=-1,i=J8(Z8((t-e)/(r||1)),0),o=Array(i);i--;)o[n?i:++a]=e,e+=r;return o}var eR=Q8,tR=Ry,Np=1/0,rR=17976931348623157e292;function nR(e){if(!e)return e===0?e:0;if(e=tR(e),e===Np||e===-Np){var t=e<0?-1:1;return t*rR}return e===e?e:0}var _m=nR,aR=eR,iR=_o,Ou=_m;function oR(e){return function(t,r,n){return n&&typeof n!="number"&&iR(t,r,n)&&(r=n=void 0),t=Ou(t),r===void 0?(r=t,t=0):r=Ou(r),n=n===void 0?t<r?1:-1:Ou(n),aR(t,r,n,e)}}var uR=oR,cR=uR,sR=cR(),lR=sR;const Ji=le(lR);function _a(e){"@babel/helpers - typeof";return _a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_a(e)}function Lp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Bp(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Lp(Object(r),!0).forEach(function(n){$m(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function $m(e,t,r){return t=fR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fR(e){var t=hR(e,"string");return _a(t)=="symbol"?t:t+""}function hR(e,t){if(_a(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(_a(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var pR=["Webkit","Moz","O","ms"],dR=function(t,r){var n=t.replace(/(\w)/,function(i){return i.toUpperCase()}),a=pR.reduce(function(i,o){return Bp(Bp({},i),{},$m({},o+n,r))},{});return a[t]=r,a};function tn(e){"@babel/helpers - typeof";return tn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tn(e)}function Qi(){return Qi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qi.apply(this,arguments)}function zp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Au(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zp(Object(r),!0).forEach(function(n){Ke(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function yR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Tm(n.key),n)}}function vR(e,t,r){return t&&Fp(e.prototype,t),r&&Fp(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function mR(e,t,r){return t=eo(t),gR(e,km()?Reflect.construct(t,r||[],eo(e).constructor):t.apply(e,r))}function gR(e,t){if(t&&(tn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return bR(e)}function bR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function km(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(km=function(){return!!e})()}function eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},eo(e)}function xR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lc(e,t)}function Lc(e,t){return Lc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Lc(e,t)}function Ke(e,t,r){return t=Tm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tm(e){var t=wR(e,"string");return tn(t)=="symbol"?t:t+""}function wR(e,t){if(tn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(tn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var OR=function(t){var r=t.data,n=t.startIndex,a=t.endIndex,i=t.x,o=t.width,u=t.travellerWidth;if(!r||!r.length)return{};var c=r.length,s=Un().domain(Ji(0,c)).range([i,i+o-u]),f=s.domain().map(function(l){return s(l)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:s(n),endX:s(a),scale:s,scaleValues:f}},Wp=function(t){return t.changedTouches&&!!t.changedTouches.length},rn=function(e){function t(r){var n;return yR(this,t),n=mR(this,t,[r]),Ke(n,"handleDrag",function(a){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(a):n.state.isSlideMoving&&n.handleSlideDrag(a)}),Ke(n,"handleTouchMove",function(a){a.changedTouches!=null&&a.changedTouches.length>0&&n.handleDrag(a.changedTouches[0])}),Ke(n,"handleDragEnd",function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var a=n.props,i=a.endIndex,o=a.onDragEnd,u=a.startIndex;o==null||o({endIndex:i,startIndex:u})}),n.detachDragEndListener()}),Ke(n,"handleLeaveWrapper",function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),Ke(n,"handleEnterSlideOrTraveller",function(){n.setState({isTextActive:!0})}),Ke(n,"handleLeaveSlideOrTraveller",function(){n.setState({isTextActive:!1})}),Ke(n,"handleSlideDragStart",function(a){var i=Wp(a)?a.changedTouches[0]:a;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:i.pageX}),n.attachDragEndListener()}),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(n,"startX"),endX:n.handleTravellerDragStart.bind(n,"endX")},n.state={},n}return xR(t,e),vR(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(n){var a=n.startX,i=n.endX,o=this.state.scaleValues,u=this.props,c=u.gap,s=u.data,f=s.length-1,l=Math.min(a,i),h=Math.max(a,i),p=t.getIndexInRange(o,l),y=t.getIndexInRange(o,h);return{startIndex:p-p%c,endIndex:y===f?f:y-y%c}}},{key:"getTextOfTick",value:function(n){var a=this.props,i=a.data,o=a.tickFormatter,u=a.dataKey,c=Ae(i[n],u,n);return X(o)?o(c,n):c}},{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(n){var a=this.state,i=a.slideMoveStartX,o=a.startX,u=a.endX,c=this.props,s=c.x,f=c.width,l=c.travellerWidth,h=c.startIndex,p=c.endIndex,y=c.onChange,v=n.pageX-i;v>0?v=Math.min(v,s+f-l-u,s+f-l-o):v<0&&(v=Math.max(v,s-o,s-u));var d=this.getIndex({startX:o+v,endX:u+v});(d.startIndex!==h||d.endIndex!==p)&&y&&y(d),this.setState({startX:o+v,endX:u+v,slideMoveStartX:n.pageX})}},{key:"handleTravellerDragStart",value:function(n,a){var i=Wp(a)?a.changedTouches[0]:a;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:n,brushMoveStartX:i.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(n){var a=this.state,i=a.brushMoveStartX,o=a.movingTravellerId,u=a.endX,c=a.startX,s=this.state[o],f=this.props,l=f.x,h=f.width,p=f.travellerWidth,y=f.onChange,v=f.gap,d=f.data,g={startX:this.state.startX,endX:this.state.endX},x=n.pageX-i;x>0?x=Math.min(x,l+h-p-s):x<0&&(x=Math.max(x,l-s)),g[o]=s+x;var w=this.getIndex(g),O=w.startIndex,m=w.endIndex,b=function(){var S=d.length-1;return o==="startX"&&(u>c?O%v===0:m%v===0)||u<c&&m===S||o==="endX"&&(u>c?m%v===0:O%v===0)||u>c&&m===S};this.setState(Ke(Ke({},o,s+x),"brushMoveStartX",n.pageX),function(){y&&b()&&y(w)})}},{key:"handleTravellerMoveKeyboard",value:function(n,a){var i=this,o=this.state,u=o.scaleValues,c=o.startX,s=o.endX,f=this.state[a],l=u.indexOf(f);if(l!==-1){var h=l+n;if(!(h===-1||h>=u.length)){var p=u[h];a==="startX"&&p>=s||a==="endX"&&p<=c||this.setState(Ke({},a,p),function(){i.props.onChange(i.getIndex({startX:i.state.startX,endX:i.state.endX}))})}}}},{key:"renderBackground",value:function(){var n=this.props,a=n.x,i=n.y,o=n.width,u=n.height,c=n.fill,s=n.stroke;return P.createElement("rect",{stroke:s,fill:c,x:a,y:i,width:o,height:u})}},{key:"renderPanorama",value:function(){var n=this.props,a=n.x,i=n.y,o=n.width,u=n.height,c=n.data,s=n.children,f=n.padding,l=F.Children.only(s);return l?P.cloneElement(l,{x:a,y:i,width:o,height:u,margin:f,compact:!0,data:c}):null}},{key:"renderTravellerLayer",value:function(n,a){var i,o,u=this,c=this.props,s=c.y,f=c.travellerWidth,l=c.height,h=c.traveller,p=c.ariaLabel,y=c.data,v=c.startIndex,d=c.endIndex,g=Math.max(n,this.props.x),x=Au(Au({},Y(this.props,!1)),{},{x:g,y:s,width:f,height:l}),w=p||"Min value: ".concat((i=y[v])===null||i===void 0?void 0:i.name,", Max value: ").concat((o=y[d])===null||o===void 0?void 0:o.name);return P.createElement(ne,{tabIndex:0,role:"slider","aria-label":w,"aria-valuenow":n,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[a],onTouchStart:this.travellerDragStartHandlers[a],onKeyDown:function(m){["ArrowLeft","ArrowRight"].includes(m.key)&&(m.preventDefault(),m.stopPropagation(),u.handleTravellerMoveKeyboard(m.key==="ArrowRight"?1:-1,a))},onFocus:function(){u.setState({isTravellerFocused:!0})},onBlur:function(){u.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(h,x))}},{key:"renderSlide",value:function(n,a){var i=this.props,o=i.y,u=i.height,c=i.stroke,s=i.travellerWidth,f=Math.min(n,a)+s,l=Math.max(Math.abs(a-n)-s,0);return P.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:c,fillOpacity:.2,x:f,y:o,width:l,height:u})}},{key:"renderText",value:function(){var n=this.props,a=n.startIndex,i=n.endIndex,o=n.y,u=n.height,c=n.travellerWidth,s=n.stroke,f=this.state,l=f.startX,h=f.endX,p=5,y={pointerEvents:"none",fill:s};return P.createElement(ne,{className:"recharts-brush-texts"},P.createElement(yr,Qi({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,h)-p,y:o+u/2},y),this.getTextOfTick(a)),P.createElement(yr,Qi({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,h)+c+p,y:o+u/2},y),this.getTextOfTick(i)))}},{key:"render",value:function(){var n=this.props,a=n.data,i=n.className,o=n.children,u=n.x,c=n.y,s=n.width,f=n.height,l=n.alwaysShowText,h=this.state,p=h.startX,y=h.endX,v=h.isTextActive,d=h.isSlideMoving,g=h.isTravellerMoving,x=h.isTravellerFocused;if(!a||!a.length||!U(u)||!U(c)||!U(s)||!U(f)||s<=0||f<=0)return null;var w=Q("recharts-brush",i),O=P.Children.count(o)===1,m=dR("userSelect","none");return P.createElement(ne,{className:w,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:m},this.renderBackground(),O&&this.renderPanorama(),this.renderSlide(p,y),this.renderTravellerLayer(p,"startX"),this.renderTravellerLayer(y,"endX"),(v||d||g||x||l)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(n){var a=n.x,i=n.y,o=n.width,u=n.height,c=n.stroke,s=Math.floor(i+u/2)-1;return P.createElement(P.Fragment,null,P.createElement("rect",{x:a,y:i,width:o,height:u,fill:c,stroke:"none"}),P.createElement("line",{x1:a+1,y1:s,x2:a+o-1,y2:s,fill:"none",stroke:"#fff"}),P.createElement("line",{x1:a+1,y1:s+2,x2:a+o-1,y2:s+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(n,a){var i;return P.isValidElement(n)?i=P.cloneElement(n,a):X(n)?i=n(a):i=t.renderDefaultTraveller(a),i}},{key:"getDerivedStateFromProps",value:function(n,a){var i=n.data,o=n.width,u=n.x,c=n.travellerWidth,s=n.updateId,f=n.startIndex,l=n.endIndex;if(i!==a.prevData||s!==a.prevUpdateId)return Au({prevData:i,prevTravellerWidth:c,prevUpdateId:s,prevX:u,prevWidth:o},i&&i.length?OR({data:i,width:o,x:u,travellerWidth:c,startIndex:f,endIndex:l}):{scale:null,scaleValues:null});if(a.scale&&(o!==a.prevWidth||u!==a.prevX||c!==a.prevTravellerWidth)){a.scale.range([u,u+o-c]);var h=a.scale.domain().map(function(p){return a.scale(p)});return{prevData:i,prevTravellerWidth:c,prevUpdateId:s,prevX:u,prevWidth:o,startX:a.scale(n.startIndex),endX:a.scale(n.endIndex),scaleValues:h}}return null}},{key:"getIndexInRange",value:function(n,a){for(var i=n.length,o=0,u=i-1;u-o>1;){var c=Math.floor((o+u)/2);n[c]>a?u=c:o=c}return a>=n[u]?u:o}}])}(F.PureComponent);Ke(rn,"displayName","Brush");Ke(rn,"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 AR=_s;function PR(e,t){var r;return AR(e,function(n,a,i){return r=t(n,a,i),!r}),!!r}var SR=PR,_R=sy,$R=bt,kR=SR,TR=He,ER=_o;function MR(e,t,r){var n=TR(e)?_R:kR;return r&&ER(e,t,r)&&(t=void 0),n(e,$R(t))}var jR=MR;const CR=le(jR);var vt=function(t,r){var n=t.alwaysShow,a=t.ifOverflow;return n&&(a="extendDomain"),a===r},Up=My;function IR(e,t,r){t=="__proto__"&&Up?Up(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var DR=IR,RR=DR,NR=Ty,LR=bt;function BR(e,t){var r={};return t=LR(t),NR(e,function(n,a,i){RR(r,a,t(n,a,i))}),r}var zR=BR;const FR=le(zR);function WR(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}var UR=WR,HR=_s;function qR(e,t){var r=!0;return HR(e,function(n,a,i){return r=!!t(n,a,i),r}),r}var KR=qR,VR=UR,GR=KR,YR=bt,XR=He,ZR=_o;function JR(e,t,r){var n=XR(e)?VR:GR;return r&&ZR(e,t,r)&&(t=void 0),n(e,YR(t))}var QR=JR;const Em=le(QR);var e6=["x","y"];function nn(e){"@babel/helpers - typeof";return nn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nn(e)}function Bc(){return Bc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bc.apply(this,arguments)}function Hp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function zn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Hp(Object(r),!0).forEach(function(n){t6(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function t6(e,t,r){return t=r6(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r6(e){var t=n6(e,"string");return nn(t)=="symbol"?t:t+""}function n6(e,t){if(nn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(nn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function a6(e,t){if(e==null)return{};var r=i6(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function i6(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function o6(e,t){var r=e.x,n=e.y,a=a6(e,e6),i="".concat(r),o=parseInt(i,10),u="".concat(n),c=parseInt(u,10),s="".concat(t.height||a.height),f=parseInt(s,10),l="".concat(t.width||a.width),h=parseInt(l,10);return zn(zn(zn(zn(zn({},t),a),o?{x:o}:{}),c?{y:c}:{}),{},{height:f,width:h,name:t.name,radius:t.radius})}function qp(e){return P.createElement(wm,Bc({shapeType:"rectangle",propTransformer:o6,activeClassName:"recharts-active-bar"},e))}var u6=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(n,a){if(typeof t=="number")return t;var i=U(n)||Z1(n);return i?t(n,a):(i||mr(!1,"minPointSize callback function received a value with type of ".concat(nn(n),". Currently only numbers or null/undefined are supported.")),r)}},c6=["value","background"],Mm;function an(e){"@babel/helpers - typeof";return an=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},an(e)}function s6(e,t){if(e==null)return{};var r=l6(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l6(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function to(){return to=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},to.apply(this,arguments)}function Kp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Se(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Kp(Object(r),!0).forEach(function(n){Ut(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function f6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Cm(n.key),n)}}function h6(e,t,r){return t&&Vp(e.prototype,t),r&&Vp(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function p6(e,t,r){return t=ro(t),d6(e,jm()?Reflect.construct(t,r||[],ro(e).constructor):t.apply(e,r))}function d6(e,t){if(t&&(an(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y6(e)}function y6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jm=function(){return!!e})()}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(e)}function v6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zc(e,t)}function zc(e,t){return zc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},zc(e,t)}function Ut(e,t,r){return t=Cm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cm(e){var t=m6(e,"string");return an(t)=="symbol"?t:t+""}function m6(e,t){if(an(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(an(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Tn=function(e){function t(){var r;f6(this,t);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return r=p6(this,t,[].concat(a)),Ut(r,"state",{isAnimationFinished:!1}),Ut(r,"id",xr("recharts-bar-")),Ut(r,"handleAnimationEnd",function(){var o=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),o&&o()}),Ut(r,"handleAnimationStart",function(){var o=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),o&&o()}),r}return v6(t,e),h6(t,[{key:"renderRectanglesStatically",value:function(n){var a=this,i=this.props,o=i.shape,u=i.dataKey,c=i.activeIndex,s=i.activeBar,f=Y(this.props,!1);return n&&n.map(function(l,h){var p=h===c,y=p?s:o,v=Se(Se(Se({},f),l),{},{isActive:p,option:y,index:h,dataKey:u,onAnimationStart:a.handleAnimationStart,onAnimationEnd:a.handleAnimationEnd});return P.createElement(ne,to({className:"recharts-bar-rectangle"},dr(a.props,l,h),{key:"rectangle-".concat(l==null?void 0:l.x,"-").concat(l==null?void 0:l.y,"-").concat(l==null?void 0:l.value,"-").concat(h)}),P.createElement(qp,v))})}},{key:"renderRectanglesWithAnimation",value:function(){var n=this,a=this.props,i=a.data,o=a.layout,u=a.isAnimationActive,c=a.animationBegin,s=a.animationDuration,f=a.animationEasing,l=a.animationId,h=this.state.prevData;return P.createElement(nt,{begin:c,duration:s,isActive:u,easing:f,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(p){var y=p.t,v=i.map(function(d,g){var x=h&&h[g];if(x){var w=Oe(x.x,d.x),O=Oe(x.y,d.y),m=Oe(x.width,d.width),b=Oe(x.height,d.height);return Se(Se({},d),{},{x:w(y),y:O(y),width:m(y),height:b(y)})}if(o==="horizontal"){var A=Oe(0,d.height),S=A(y);return Se(Se({},d),{},{y:d.y+d.height-S,height:S})}var $=Oe(0,d.width),I=$(y);return Se(Se({},d),{},{width:I})});return P.createElement(ne,null,n.renderRectanglesStatically(v))})}},{key:"renderRectangles",value:function(){var n=this.props,a=n.data,i=n.isAnimationActive,o=this.state.prevData;return i&&a&&a.length&&(!o||!qt(o,a))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(a)}},{key:"renderBackground",value:function(){var n=this,a=this.props,i=a.data,o=a.dataKey,u=a.activeIndex,c=Y(this.props.background,!1);return i.map(function(s,f){s.value;var l=s.background,h=s6(s,c6);if(!l)return null;var p=Se(Se(Se(Se(Se({},h),{},{fill:"#eee"},l),c),dr(n.props,s,f)),{},{onAnimationStart:n.handleAnimationStart,onAnimationEnd:n.handleAnimationEnd,dataKey:o,index:f,className:"recharts-bar-background-rectangle"});return P.createElement(qp,to({key:"background-bar-".concat(f),option:n.props.background,isActive:f===u},p))})}},{key:"renderErrorBar",value:function(n,a){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.data,u=i.xAxis,c=i.yAxis,s=i.layout,f=i.children,l=Xe(f,Na);if(!l)return null;var h=s==="vertical"?o[0].height/2:o[0].width/2,p=function(d,g){var x=Array.isArray(d.value)?d.value[1]:d.value;return{x:d.x,y:d.y,value:x,errorVal:Ae(d,g)}},y={clipPath:n?"url(#clipPath-".concat(a,")"):null};return P.createElement(ne,y,l.map(function(v){return P.cloneElement(v,{key:"error-bar-".concat(a,"-").concat(v.props.dataKey),data:o,xAxis:u,yAxis:c,layout:s,offset:h,dataPointFormatter:p})}))}},{key:"render",value:function(){var n=this.props,a=n.hide,i=n.data,o=n.className,u=n.xAxis,c=n.yAxis,s=n.left,f=n.top,l=n.width,h=n.height,p=n.isAnimationActive,y=n.background,v=n.id;if(a||!i||!i.length)return null;var d=this.state.isAnimationFinished,g=Q("recharts-bar",o),x=u&&u.allowDataOverflow,w=c&&c.allowDataOverflow,O=x||w,m=J(v)?this.id:v;return P.createElement(ne,{className:g},x||w?P.createElement("defs",null,P.createElement("clipPath",{id:"clipPath-".concat(m)},P.createElement("rect",{x:x?s:s-l/2,y:w?f:f-h/2,width:x?l:l*2,height:w?h:h*2}))):null,P.createElement(ne,{className:"recharts-bar-rectangles",clipPath:O?"url(#clipPath-".concat(m,")"):null},y?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(O,m),(!p||d)&&ft.renderCallByParent(this.props,i))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curData:n.data,prevData:a.curData}:n.data!==a.curData?{curData:n.data}:null}}])}(F.PureComponent);Mm=Tn;Ut(Tn,"displayName","Bar");Ut(Tn,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!Rt.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});Ut(Tn,"getComposedData",function(e){var t=e.props,r=e.item,n=e.barPosition,a=e.bandSize,i=e.xAxis,o=e.yAxis,u=e.xAxisTicks,c=e.yAxisTicks,s=e.stackedData,f=e.dataStartIndex,l=e.displayedData,h=e.offset,p=dI(n,r);if(!p)return null;var y=t.layout,v=r.type.defaultProps,d=v!==void 0?Se(Se({},v),r.props):r.props,g=d.dataKey,x=d.children,w=d.minPointSize,O=y==="horizontal"?o:i,m=s?O.scale.domain():null,b=wI({numericAxis:O}),A=Xe(x,Ts),S=l.map(function($,I){var T,M,_,k,j,C;s?T=yI(s[f+I],m):(T=Ae($,g),Array.isArray(T)||(T=[b,T]));var R=u6(w,Mm.defaultProps.minPointSize)(T[1],I);if(y==="horizontal"){var B,L=[o.scale(T[0]),o.scale(T[1])],W=L[0],q=L[1];M=jh({axis:i,ticks:u,bandSize:a,offset:p.offset,entry:$,index:I}),_=(B=q??W)!==null&&B!==void 0?B:void 0,k=p.size;var z=W-q;if(j=Number.isNaN(z)?0:z,C={x:M,y:o.y,width:k,height:o.height},Math.abs(R)>0&&Math.abs(j)<Math.abs(R)){var K=ze(j||R)*(Math.abs(R)-Math.abs(j));_-=K,j+=K}}else{var re=[i.scale(T[0]),i.scale(T[1])],ae=re[0],be=re[1];if(M=ae,_=jh({axis:o,ticks:c,bandSize:a,offset:p.offset,entry:$,index:I}),k=be-ae,j=p.size,C={x:i.x,y:_,width:i.width,height:j},Math.abs(R)>0&&Math.abs(k)<Math.abs(R)){var it=ze(k||R)*(Math.abs(R)-Math.abs(k));k+=it}}return Se(Se(Se({},$),{},{x:M,y:_,width:k,height:j,value:s?T:T[1],payload:$,background:C},A&&A[I]&&A[I].props),{},{tooltipPayload:[Vv(r,$)],tooltipPosition:{x:M+k/2,y:_+j/2}})});return Se({data:S,layout:y},h)});function $a(e){"@babel/helpers - typeof";return $a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$a(e)}function g6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Im(n.key),n)}}function b6(e,t,r){return t&&Gp(e.prototype,t),r&&Gp(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Yp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ut(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Yp(Object(r),!0).forEach(function(n){Wo(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Wo(e,t,r){return t=Im(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Im(e){var t=x6(e,"string");return $a(t)=="symbol"?t:t+""}function x6(e,t){if($a(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if($a(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var rl=function(t,r,n,a,i){var o=t.width,u=t.height,c=t.layout,s=t.children,f=Object.keys(r),l={left:n.left,leftMirror:n.left,right:o-n.right,rightMirror:o-n.right,top:n.top,topMirror:n.top,bottom:u-n.bottom,bottomMirror:u-n.bottom},h=!!Ve(s,Tn);return f.reduce(function(p,y){var v=r[y],d=v.orientation,g=v.domain,x=v.padding,w=x===void 0?{}:x,O=v.mirror,m=v.reversed,b="".concat(d).concat(O?"Mirror":""),A,S,$,I,T;if(v.type==="number"&&(v.padding==="gap"||v.padding==="no-gap")){var M=g[1]-g[0],_=1/0,k=v.categoricalDomain.sort(e2);if(k.forEach(function(re,ae){ae>0&&(_=Math.min((re||0)-(k[ae-1]||0),_))}),Number.isFinite(_)){var j=_/M,C=v.layout==="vertical"?n.height:n.width;if(v.padding==="gap"&&(A=j*C/2),v.padding==="no-gap"){var R=Fe(t.barCategoryGap,j*C),B=j*C/2;A=B-R-(B-R)/C*R}}}a==="xAxis"?S=[n.left+(w.left||0)+(A||0),n.left+n.width-(w.right||0)-(A||0)]:a==="yAxis"?S=c==="horizontal"?[n.top+n.height-(w.bottom||0),n.top+(w.top||0)]:[n.top+(w.top||0)+(A||0),n.top+n.height-(w.bottom||0)-(A||0)]:S=v.range,m&&(S=[S[1],S[0]]);var L=Uv(v,i,h),W=L.scale,q=L.realScaleType;W.domain(g).range(S),Hv(W);var z=qv(W,ut(ut({},v),{},{realScaleType:q}));a==="xAxis"?(T=d==="top"&&!O||d==="bottom"&&O,$=n.left,I=l[b]-T*v.height):a==="yAxis"&&(T=d==="left"&&!O||d==="right"&&O,$=l[b]-T*v.width,I=n.top);var K=ut(ut(ut({},v),z),{},{realScaleType:q,x:$,y:I,scale:W,width:a==="xAxis"?n.width:v.width,height:a==="yAxis"?n.height:v.height});return K.bandSize=Ri(K,z),!v.hide&&a==="xAxis"?l[b]+=(T?-1:1)*K.height:v.hide||(l[b]+=(T?-1:1)*K.width),ut(ut({},p),{},Wo({},y,K))},{})},Dm=function(t,r){var n=t.x,a=t.y,i=r.x,o=r.y;return{x:Math.min(n,i),y:Math.min(a,o),width:Math.abs(i-n),height:Math.abs(o-a)}},w6=function(t){var r=t.x1,n=t.y1,a=t.x2,i=t.y2;return Dm({x:r,y:n},{x:a,y:i})},Rm=function(){function e(t){g6(this,e),this.scale=t}return b6(e,[{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(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.bandAware,i=n.position;if(r!==void 0){if(i)switch(i){case"start":return this.scale(r);case"middle":{var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+o}case"end":{var u=this.bandwidth?this.bandwidth():0;return this.scale(r)+u}default:return this.scale(r)}if(a){var c=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+c}return this.scale(r)}}},{key:"isInRange",value:function(r){var n=this.range(),a=n[0],i=n[n.length-1];return a<=i?r>=a&&r<=i:r>=i&&r<=a}}],[{key:"create",value:function(r){return new e(r)}}])}();Wo(Rm,"EPS",1e-4);var nl=function(t){var r=Object.keys(t).reduce(function(n,a){return ut(ut({},n),{},Wo({},a,Rm.create(t[a])))},{});return ut(ut({},r),{},{apply:function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=i.bandAware,u=i.position;return FR(a,function(c,s){return r[s].apply(c,{bandAware:o,position:u})})},isInRange:function(a){return Em(a,function(i,o){return r[o].isInRange(i)})}})};function O6(e){return(e%180+180)%180}var A6=function(t){var r=t.width,n=t.height,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=O6(a),o=i*Math.PI/180,u=Math.atan(n/r),c=o>u&&o<Math.PI-u?n/Math.sin(o):r/Math.cos(o);return Math.abs(c)},P6=bt,S6=ja,_6=Po;function $6(e){return function(t,r,n){var a=Object(t);if(!S6(t)){var i=P6(r);t=_6(t),r=function(u){return i(a[u],u,a)}}var o=e(t,r,n);return o>-1?a[i?t[o]:o]:void 0}}var k6=$6,T6=_m;function E6(e){var t=T6(e),r=t%1;return t===t?r?t-r:t:0}var M6=E6,j6=Ay,C6=bt,I6=M6,D6=Math.max;function R6(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var a=r==null?0:I6(r);return a<0&&(a=D6(n+a,0)),j6(e,C6(t),a)}var N6=R6,L6=k6,B6=N6,z6=L6(B6),F6=z6;const W6=le(F6);var U6=i1(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")});function no(e){"@babel/helpers - typeof";return no=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},no(e)}var al=F.createContext(void 0),il=F.createContext(void 0),Nm=F.createContext(void 0),Lm=F.createContext({}),Bm=F.createContext(void 0),zm=F.createContext(0),Fm=F.createContext(0),Xp=function(t){var r=t.state,n=r.xAxisMap,a=r.yAxisMap,i=r.offset,o=t.clipPathId,u=t.children,c=t.width,s=t.height,f=U6(i);return P.createElement(al.Provider,{value:n},P.createElement(il.Provider,{value:a},P.createElement(Lm.Provider,{value:i},P.createElement(Nm.Provider,{value:f},P.createElement(Bm.Provider,{value:o},P.createElement(zm.Provider,{value:s},P.createElement(Fm.Provider,{value:c},u)))))))},H6=function(){return F.useContext(Bm)};function Wm(e){var t=Object.keys(e);return t.length===0?"There are no available ids.":"Available ids are: ".concat(t,".")}var Um=function(t){var r=F.useContext(al);r==null&&mr(!1,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?");var n=r[t];return n==null&&mr(!1,'Could not find xAxis by id "'.concat(t,'" [').concat(no(t),"]. ").concat(Wm(r))),n},q6=function(){var t=F.useContext(al);return Ft(t)},K6=function(){var t=F.useContext(il),r=W6(t,function(n){return Em(n.domain,Number.isFinite)});return r||Ft(t)},Hm=function(t){var r=F.useContext(il);r==null&&mr(!1,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?");var n=r[t];return n==null&&mr(!1,'Could not find yAxis by id "'.concat(t,'" [').concat(no(t),"]. ").concat(Wm(r))),n},V6=function(){var t=F.useContext(Nm);return t},G6=function(){return F.useContext(Lm)},ol=function(){return F.useContext(Fm)},ul=function(){return F.useContext(zm)};function on(e){"@babel/helpers - typeof";return on=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},on(e)}function Y6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X6(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Km(n.key),n)}}function Z6(e,t,r){return t&&X6(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function J6(e,t,r){return t=ao(t),Q6(e,qm()?Reflect.construct(t,r||[],ao(e).constructor):t.apply(e,r))}function Q6(e,t){if(t&&(on(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return eN(e)}function eN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(qm=function(){return!!e})()}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(e)}function tN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fc(e,t)}function Fc(e,t){return Fc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Fc(e,t)}function Zp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Jp(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Zp(Object(r),!0).forEach(function(n){cl(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function cl(e,t,r){return t=Km(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Km(e){var t=rN(e,"string");return on(t)=="symbol"?t:t+""}function rN(e,t){if(on(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(on(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function nN(e,t){return uN(e)||oN(e,t)||iN(e,t)||aN()}function aN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function iN(e,t){if(e){if(typeof e=="string")return Qp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qp(e,t)}}function Qp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function oN(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function uN(e){if(Array.isArray(e))return e}function Wc(){return Wc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wc.apply(this,arguments)}var cN=function(t,r){var n;return P.isValidElement(t)?n=P.cloneElement(t,r):X(t)?n=t(r):n=P.createElement("line",Wc({},r,{className:"recharts-reference-line-line"})),n},sN=function(t,r,n,a,i,o,u,c,s){var f=i.x,l=i.y,h=i.width,p=i.height;if(n){var y=s.y,v=t.y.apply(y,{position:o});if(vt(s,"discard")&&!t.y.isInRange(v))return null;var d=[{x:f+h,y:v},{x:f,y:v}];return c==="left"?d.reverse():d}if(r){var g=s.x,x=t.x.apply(g,{position:o});if(vt(s,"discard")&&!t.x.isInRange(x))return null;var w=[{x,y:l+p},{x,y:l}];return u==="top"?w.reverse():w}if(a){var O=s.segment,m=O.map(function(b){return t.apply(b,{position:o})});return vt(s,"discard")&&CR(m,function(b){return!t.isInRange(b)})?null:m}return null};function lN(e){var t=e.x,r=e.y,n=e.segment,a=e.xAxisId,i=e.yAxisId,o=e.shape,u=e.className,c=e.alwaysShow,s=H6(),f=Um(a),l=Hm(i),h=V6();if(!s||!h)return null;lt(c===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var p=nl({x:f.scale,y:l.scale}),y=Te(t),v=Te(r),d=n&&n.length===2,g=sN(p,y,v,d,h,e.position,f.orientation,l.orientation,e);if(!g)return null;var x=nN(g,2),w=x[0],O=w.x,m=w.y,b=x[1],A=b.x,S=b.y,$=vt(e,"hidden")?"url(#".concat(s,")"):void 0,I=Jp(Jp({clipPath:$},Y(e,!0)),{},{x1:O,y1:m,x2:A,y2:S});return P.createElement(ne,{className:Q("recharts-reference-line",u)},cN(o,I),Ce.renderCallByParent(e,w6({x1:O,y1:m,x2:A,y2:S})))}var sl=function(e){function t(){return Y6(this,t),J6(this,t,arguments)}return tN(t,e),Z6(t,[{key:"render",value:function(){return P.createElement(lN,this.props)}}])}(P.Component);cl(sl,"displayName","ReferenceLine");cl(sl,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function Uc(){return Uc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Uc.apply(this,arguments)}function un(e){"@babel/helpers - typeof";return un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},un(e)}function ed(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function td(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ed(Object(r),!0).forEach(function(n){Uo(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ed(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function fN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Gm(n.key),n)}}function pN(e,t,r){return t&&hN(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function dN(e,t,r){return t=io(t),yN(e,Vm()?Reflect.construct(t,r||[],io(e).constructor):t.apply(e,r))}function yN(e,t){if(t&&(un(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vN(e)}function vN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Vm=function(){return!!e})()}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},io(e)}function mN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hc(e,t)}function Hc(e,t){return Hc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Hc(e,t)}function Uo(e,t,r){return t=Gm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gm(e){var t=gN(e,"string");return un(t)=="symbol"?t:t+""}function gN(e,t){if(un(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(un(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var bN=function(t){var r=t.x,n=t.y,a=t.xAxis,i=t.yAxis,o=nl({x:a.scale,y:i.scale}),u=o.apply({x:r,y:n},{bandAware:!0});return vt(t,"discard")&&!o.isInRange(u)?null:u},Ho=function(e){function t(){return fN(this,t),dN(this,t,arguments)}return mN(t,e),pN(t,[{key:"render",value:function(){var n=this.props,a=n.x,i=n.y,o=n.r,u=n.alwaysShow,c=n.clipPathId,s=Te(a),f=Te(i);if(lt(u===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!s||!f)return null;var l=bN(this.props);if(!l)return null;var h=l.x,p=l.y,y=this.props,v=y.shape,d=y.className,g=vt(this.props,"hidden")?"url(#".concat(c,")"):void 0,x=td(td({clipPath:g},Y(this.props,!0)),{},{cx:h,cy:p});return P.createElement(ne,{className:Q("recharts-reference-dot",d)},t.renderDot(v,x),Ce.renderCallByParent(this.props,{x:h-o,y:p-o,width:2*o,height:2*o}))}}])}(P.Component);Uo(Ho,"displayName","ReferenceDot");Uo(Ho,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});Uo(Ho,"renderDot",function(e,t){var r;return P.isValidElement(e)?r=P.cloneElement(e,t):X(e)?r=e(t):r=P.createElement(kn,Uc({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"})),r});function qc(){return qc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qc.apply(this,arguments)}function cn(e){"@babel/helpers - typeof";return cn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cn(e)}function rd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function nd(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rd(Object(r),!0).forEach(function(n){qo(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function xN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Xm(n.key),n)}}function ON(e,t,r){return t&&wN(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function AN(e,t,r){return t=oo(t),PN(e,Ym()?Reflect.construct(t,r||[],oo(e).constructor):t.apply(e,r))}function PN(e,t){if(t&&(cn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return SN(e)}function SN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ym(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ym=function(){return!!e})()}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function _N(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kc(e,t)}function Kc(e,t){return Kc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Kc(e,t)}function qo(e,t,r){return t=Xm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xm(e){var t=$N(e,"string");return cn(t)=="symbol"?t:t+""}function $N(e,t){if(cn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(cn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var kN=function(t,r,n,a,i){var o=i.x1,u=i.x2,c=i.y1,s=i.y2,f=i.xAxis,l=i.yAxis;if(!f||!l)return null;var h=nl({x:f.scale,y:l.scale}),p={x:t?h.x.apply(o,{position:"start"}):h.x.rangeMin,y:n?h.y.apply(c,{position:"start"}):h.y.rangeMin},y={x:r?h.x.apply(u,{position:"end"}):h.x.rangeMax,y:a?h.y.apply(s,{position:"end"}):h.y.rangeMax};return vt(i,"discard")&&(!h.isInRange(p)||!h.isInRange(y))?null:Dm(p,y)},Ko=function(e){function t(){return xN(this,t),AN(this,t,arguments)}return _N(t,e),ON(t,[{key:"render",value:function(){var n=this.props,a=n.x1,i=n.x2,o=n.y1,u=n.y2,c=n.className,s=n.alwaysShow,f=n.clipPathId;lt(s===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=Te(a),h=Te(i),p=Te(o),y=Te(u),v=this.props.shape;if(!l&&!h&&!p&&!y&&!v)return null;var d=kN(l,h,p,y,this.props);if(!d&&!v)return null;var g=vt(this.props,"hidden")?"url(#".concat(f,")"):void 0;return P.createElement(ne,{className:Q("recharts-reference-area",c)},t.renderRect(v,nd(nd({clipPath:g},Y(this.props,!0)),d)),Ce.renderCallByParent(this.props,d))}}])}(P.Component);qo(Ko,"displayName","ReferenceArea");qo(Ko,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});qo(Ko,"renderRect",function(e,t){var r;return P.isValidElement(e)?r=P.cloneElement(e,t):X(e)?r=e(t):r=P.createElement(tl,qc({},t,{className:"recharts-reference-area-rect"})),r});function Zm(e,t,r){if(t<1)return[];if(t===1&&r===void 0)return e;for(var n=[],a=0;a<e.length;a+=t)n.push(e[a]);return n}function TN(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return A6(n,r)}function EN(e,t,r){var n=r==="width",a=e.x,i=e.y,o=e.width,u=e.height;return t===1?{start:n?a:i,end:n?a+o:i+u}:{start:n?a+o:i+u,end:n?a:i}}function uo(e,t,r,n,a){if(e*t<e*n||e*t>e*a)return!1;var i=r();return e*(t-e*i/2-n)>=0&&e*(t+e*i/2-a)<=0}function MN(e,t){return Zm(e,t+1)}function jN(e,t,r,n,a){for(var i=(n||[]).slice(),o=t.start,u=t.end,c=0,s=1,f=o,l=function(){var y=n==null?void 0:n[c];if(y===void 0)return{v:Zm(n,s)};var v=c,d,g=function(){return d===void 0&&(d=r(y,v)),d},x=y.coordinate,w=c===0||uo(e,x,g,f,u);w||(c=0,f=o,s+=1),w&&(f=x+e*(g()/2+a),c+=s)},h;s<=i.length;)if(h=l(),h)return h.v;return[]}function ka(e){"@babel/helpers - typeof";return ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ka(e)}function ad(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ad(Object(r),!0).forEach(function(n){CN(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ad(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function CN(e,t,r){return t=IN(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IN(e){var t=DN(e,"string");return ka(t)=="symbol"?t:t+""}function DN(e,t){if(ka(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ka(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function RN(e,t,r,n,a){for(var i=(n||[]).slice(),o=i.length,u=t.start,c=t.end,s=function(h){var p=i[h],y,v=function(){return y===void 0&&(y=r(p,h)),y};if(h===o-1){var d=e*(p.coordinate+e*v()/2-c);i[h]=p=Ne(Ne({},p),{},{tickCoord:d>0?p.coordinate-d*e:p.coordinate})}else i[h]=p=Ne(Ne({},p),{},{tickCoord:p.coordinate});var g=uo(e,p.tickCoord,v,u,c);g&&(c=p.tickCoord-e*(v()/2+a),i[h]=Ne(Ne({},p),{},{isShow:!0}))},f=o-1;f>=0;f--)s(f);return i}function NN(e,t,r,n,a,i){var o=(n||[]).slice(),u=o.length,c=t.start,s=t.end;if(i){var f=n[u-1],l=r(f,u-1),h=e*(f.coordinate+e*l/2-s);o[u-1]=f=Ne(Ne({},f),{},{tickCoord:h>0?f.coordinate-h*e:f.coordinate});var p=uo(e,f.tickCoord,function(){return l},c,s);p&&(s=f.tickCoord-e*(l/2+a),o[u-1]=Ne(Ne({},f),{},{isShow:!0}))}for(var y=i?u-1:u,v=function(x){var w=o[x],O,m=function(){return O===void 0&&(O=r(w,x)),O};if(x===0){var b=e*(w.coordinate-e*m()/2-c);o[x]=w=Ne(Ne({},w),{},{tickCoord:b<0?w.coordinate-b*e:w.coordinate})}else o[x]=w=Ne(Ne({},w),{},{tickCoord:w.coordinate});var A=uo(e,w.tickCoord,m,c,s);A&&(c=w.tickCoord+e*(m()/2+a),o[x]=Ne(Ne({},w),{},{isShow:!0}))},d=0;d<y;d++)v(d);return o}function ll(e,t,r){var n=e.tick,a=e.ticks,i=e.viewBox,o=e.minTickGap,u=e.orientation,c=e.interval,s=e.tickFormatter,f=e.unit,l=e.angle;if(!a||!a.length||!n)return[];if(U(c)||Rt.isSsr)return MN(a,typeof c=="number"&&U(c)?c:0);var h=[],p=u==="top"||u==="bottom"?"width":"height",y=f&&p==="width"?Wn(f,{fontSize:t,letterSpacing:r}):{width:0,height:0},v=function(w,O){var m=X(s)?s(w.value,O):w.value;return p==="width"?TN(Wn(m,{fontSize:t,letterSpacing:r}),y,l):Wn(m,{fontSize:t,letterSpacing:r})[p]},d=a.length>=2?ze(a[1].coordinate-a[0].coordinate):1,g=EN(i,d,p);return c==="equidistantPreserveStart"?jN(d,g,v,a,o):(c==="preserveStart"||c==="preserveStartEnd"?h=NN(d,g,v,a,o,c==="preserveStartEnd"):h=RN(d,g,v,a,o),h.filter(function(x){return x.isShow}))}var LN=["viewBox"],BN=["viewBox"],zN=["ticks"];function sn(e){"@babel/helpers - typeof";return sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sn(e)}function Dr(){return Dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Dr.apply(this,arguments)}function id(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function $e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?id(Object(r),!0).forEach(function(n){fl(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):id(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Pu(e,t){if(e==null)return{};var r=FN(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function FN(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function WN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function od(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Qm(n.key),n)}}function UN(e,t,r){return t&&od(e.prototype,t),r&&od(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function HN(e,t,r){return t=co(t),qN(e,Jm()?Reflect.construct(t,r||[],co(e).constructor):t.apply(e,r))}function qN(e,t){if(t&&(sn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return KN(e)}function KN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Jm=function(){return!!e})()}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},co(e)}function VN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vc(e,t)}function Vc(e,t){return Vc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Vc(e,t)}function fl(e,t,r){return t=Qm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qm(e){var t=GN(e,"string");return sn(t)=="symbol"?t:t+""}function GN(e,t){if(sn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(sn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var En=function(e){function t(r){var n;return WN(this,t),n=HN(this,t,[r]),n.state={fontSize:"",letterSpacing:""},n}return VN(t,e),UN(t,[{key:"shouldComponentUpdate",value:function(n,a){var i=n.viewBox,o=Pu(n,LN),u=this.props,c=u.viewBox,s=Pu(u,BN);return!Nr(i,c)||!Nr(o,s)||!Nr(a,this.state)}},{key:"componentDidMount",value:function(){var n=this.layerReference;if(n){var a=n.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];a&&this.setState({fontSize:window.getComputedStyle(a).fontSize,letterSpacing:window.getComputedStyle(a).letterSpacing})}}},{key:"getTickLineCoord",value:function(n){var a=this.props,i=a.x,o=a.y,u=a.width,c=a.height,s=a.orientation,f=a.tickSize,l=a.mirror,h=a.tickMargin,p,y,v,d,g,x,w=l?-1:1,O=n.tickSize||f,m=U(n.tickCoord)?n.tickCoord:n.coordinate;switch(s){case"top":p=y=n.coordinate,d=o+ +!l*c,v=d-w*O,x=v-w*h,g=m;break;case"left":v=d=n.coordinate,y=i+ +!l*u,p=y-w*O,g=p-w*h,x=m;break;case"right":v=d=n.coordinate,y=i+ +l*u,p=y+w*O,g=p+w*h,x=m;break;default:p=y=n.coordinate,d=o+ +l*c,v=d+w*O,x=v+w*h,g=m;break}return{line:{x1:p,y1:v,x2:y,y2:d},tick:{x:g,y:x}}}},{key:"getTickTextAnchor",value:function(){var n=this.props,a=n.orientation,i=n.mirror,o;switch(a){case"left":o=i?"start":"end";break;case"right":o=i?"end":"start";break;default:o="middle";break}return o}},{key:"getTickVerticalAnchor",value:function(){var n=this.props,a=n.orientation,i=n.mirror,o="end";switch(a){case"left":case"right":o="middle";break;case"top":o=i?"start":"end";break;default:o=i?"end":"start";break}return o}},{key:"renderAxisLine",value:function(){var n=this.props,a=n.x,i=n.y,o=n.width,u=n.height,c=n.orientation,s=n.mirror,f=n.axisLine,l=$e($e($e({},Y(this.props,!1)),Y(f,!1)),{},{fill:"none"});if(c==="top"||c==="bottom"){var h=+(c==="top"&&!s||c==="bottom"&&s);l=$e($e({},l),{},{x1:a,y1:i+h*u,x2:a+o,y2:i+h*u})}else{var p=+(c==="left"&&!s||c==="right"&&s);l=$e($e({},l),{},{x1:a+p*o,y1:i,x2:a+p*o,y2:i+u})}return P.createElement("line",Dr({},l,{className:Q("recharts-cartesian-axis-line",Ye(f,"className"))}))}},{key:"renderTicks",value:function(n,a,i){var o=this,u=this.props,c=u.tickLine,s=u.stroke,f=u.tick,l=u.tickFormatter,h=u.unit,p=ll($e($e({},this.props),{},{ticks:n}),a,i),y=this.getTickTextAnchor(),v=this.getTickVerticalAnchor(),d=Y(this.props,!1),g=Y(f,!1),x=$e($e({},d),{},{fill:"none"},Y(c,!1)),w=p.map(function(O,m){var b=o.getTickLineCoord(O),A=b.line,S=b.tick,$=$e($e($e($e({textAnchor:y,verticalAnchor:v},d),{},{stroke:"none",fill:s},g),S),{},{index:m,payload:O,visibleTicksCount:p.length,tickFormatter:l});return P.createElement(ne,Dr({className:"recharts-cartesian-axis-tick",key:"tick-".concat(O.value,"-").concat(O.coordinate,"-").concat(O.tickCoord)},dr(o.props,O,m)),c&&P.createElement("line",Dr({},x,A,{className:Q("recharts-cartesian-axis-tick-line",Ye(c,"className"))})),f&&t.renderTickItem(f,$,"".concat(X(l)?l(O.value,m):O.value).concat(h||"")))});return P.createElement("g",{className:"recharts-cartesian-axis-ticks"},w)}},{key:"render",value:function(){var n=this,a=this.props,i=a.axisLine,o=a.width,u=a.height,c=a.ticksGenerator,s=a.className,f=a.hide;if(f)return null;var l=this.props,h=l.ticks,p=Pu(l,zN),y=h;return X(c)&&(y=h&&h.length>0?c(this.props):c(p)),o<=0||u<=0||!y||!y.length?null:P.createElement(ne,{className:Q("recharts-cartesian-axis",s),ref:function(d){n.layerReference=d}},i&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),Ce.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(n,a,i){var o,u=Q(a.className,"recharts-cartesian-axis-tick-value");return P.isValidElement(n)?o=P.cloneElement(n,$e($e({},a),{},{className:u})):X(n)?o=n($e($e({},a),{},{className:u})):o=P.createElement(yr,Dr({},a,{className:"recharts-cartesian-axis-tick-value"}),i),o}}])}(F.Component);fl(En,"displayName","CartesianAxis");fl(En,"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 YN=["x1","y1","x2","y2","key"],XN=["offset"];function gr(e){"@babel/helpers - typeof";return gr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gr(e)}function ud(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ud(Object(r),!0).forEach(function(n){ZN(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ud(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ZN(e,t,r){return t=JN(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function JN(e){var t=QN(e,"string");return gr(t)=="symbol"?t:t+""}function QN(e,t){if(gr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(gr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cr(){return cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},cr.apply(this,arguments)}function cd(e,t){if(e==null)return{};var r=eL(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function eL(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var tL=function(t){var r=t.fill;if(!r||r==="none")return null;var n=t.fillOpacity,a=t.x,i=t.y,o=t.width,u=t.height,c=t.ry;return P.createElement("rect",{x:a,y:i,ry:c,width:o,height:u,stroke:"none",fill:r,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function eg(e,t){var r;if(P.isValidElement(e))r=P.cloneElement(e,t);else if(X(e))r=e(t);else{var n=t.x1,a=t.y1,i=t.x2,o=t.y2,u=t.key,c=cd(t,YN),s=Y(c,!1);s.offset;var f=cd(s,XN);r=P.createElement("line",cr({},f,{x1:n,y1:a,x2:i,y2:o,fill:"none",key:u}))}return r}function rL(e){var t=e.x,r=e.width,n=e.horizontal,a=n===void 0?!0:n,i=e.horizontalPoints;if(!a||!i||!i.length)return null;var o=i.map(function(u,c){var s=Le(Le({},e),{},{x1:t,y1:u,x2:t+r,y2:u,key:"line-".concat(c),index:c});return eg(a,s)});return P.createElement("g",{className:"recharts-cartesian-grid-horizontal"},o)}function nL(e){var t=e.y,r=e.height,n=e.vertical,a=n===void 0?!0:n,i=e.verticalPoints;if(!a||!i||!i.length)return null;var o=i.map(function(u,c){var s=Le(Le({},e),{},{x1:u,y1:t,x2:u,y2:t+r,key:"line-".concat(c),index:c});return eg(a,s)});return P.createElement("g",{className:"recharts-cartesian-grid-vertical"},o)}function aL(e){var t=e.horizontalFill,r=e.fillOpacity,n=e.x,a=e.y,i=e.width,o=e.height,u=e.horizontalPoints,c=e.horizontal,s=c===void 0?!0:c;if(!s||!t||!t.length)return null;var f=u.map(function(h){return Math.round(h+a-a)}).sort(function(h,p){return h-p});a!==f[0]&&f.unshift(0);var l=f.map(function(h,p){var y=!f[p+1],v=y?a+o-h:f[p+1]-h;if(v<=0)return null;var d=p%t.length;return P.createElement("rect",{key:"react-".concat(p),y:h,x:n,height:v,width:i,stroke:"none",fill:t[d],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return P.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},l)}function iL(e){var t=e.vertical,r=t===void 0?!0:t,n=e.verticalFill,a=e.fillOpacity,i=e.x,o=e.y,u=e.width,c=e.height,s=e.verticalPoints;if(!r||!n||!n.length)return null;var f=s.map(function(h){return Math.round(h+i-i)}).sort(function(h,p){return h-p});i!==f[0]&&f.unshift(0);var l=f.map(function(h,p){var y=!f[p+1],v=y?i+u-h:f[p+1]-h;if(v<=0)return null;var d=p%n.length;return P.createElement("rect",{key:"react-".concat(p),x:h,y:o,width:v,height:c,stroke:"none",fill:n[d],fillOpacity:a,className:"recharts-cartesian-grid-bg"})});return P.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},l)}var oL=function(t,r){var n=t.xAxis,a=t.width,i=t.height,o=t.offset;return Wv(ll(Le(Le(Le({},En.defaultProps),n),{},{ticks:$t(n,!0),viewBox:{x:0,y:0,width:a,height:i}})),o.left,o.left+o.width,r)},uL=function(t,r){var n=t.yAxis,a=t.width,i=t.height,o=t.offset;return Wv(ll(Le(Le(Le({},En.defaultProps),n),{},{ticks:$t(n,!0),viewBox:{x:0,y:0,width:a,height:i}})),o.top,o.top+o.height,r)},Tr={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function cL(e){var t,r,n,a,i,o,u=ol(),c=ul(),s=G6(),f=Le(Le({},e),{},{stroke:(t=e.stroke)!==null&&t!==void 0?t:Tr.stroke,fill:(r=e.fill)!==null&&r!==void 0?r:Tr.fill,horizontal:(n=e.horizontal)!==null&&n!==void 0?n:Tr.horizontal,horizontalFill:(a=e.horizontalFill)!==null&&a!==void 0?a:Tr.horizontalFill,vertical:(i=e.vertical)!==null&&i!==void 0?i:Tr.vertical,verticalFill:(o=e.verticalFill)!==null&&o!==void 0?o:Tr.verticalFill,x:U(e.x)?e.x:s.left,y:U(e.y)?e.y:s.top,width:U(e.width)?e.width:s.width,height:U(e.height)?e.height:s.height}),l=f.x,h=f.y,p=f.width,y=f.height,v=f.syncWithTicks,d=f.horizontalValues,g=f.verticalValues,x=q6(),w=K6();if(!U(p)||p<=0||!U(y)||y<=0||!U(l)||l!==+l||!U(h)||h!==+h)return null;var O=f.verticalCoordinatesGenerator||oL,m=f.horizontalCoordinatesGenerator||uL,b=f.horizontalPoints,A=f.verticalPoints;if((!b||!b.length)&&X(m)){var S=d&&d.length,$=m({yAxis:w?Le(Le({},w),{},{ticks:S?d:w.ticks}):void 0,width:u,height:c,offset:s},S?!0:v);lt(Array.isArray($),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(gr($),"]")),Array.isArray($)&&(b=$)}if((!A||!A.length)&&X(O)){var I=g&&g.length,T=O({xAxis:x?Le(Le({},x),{},{ticks:I?g:x.ticks}):void 0,width:u,height:c,offset:s},I?!0:v);lt(Array.isArray(T),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(gr(T),"]")),Array.isArray(T)&&(A=T)}return P.createElement("g",{className:"recharts-cartesian-grid"},P.createElement(tL,{fill:f.fill,fillOpacity:f.fillOpacity,x:f.x,y:f.y,width:f.width,height:f.height,ry:f.ry}),P.createElement(rL,cr({},f,{offset:s,horizontalPoints:b,xAxis:x,yAxis:w})),P.createElement(nL,cr({},f,{offset:s,verticalPoints:A,xAxis:x,yAxis:w})),P.createElement(aL,cr({},f,{horizontalPoints:b})),P.createElement(iL,cr({},f,{verticalPoints:A})))}cL.displayName="CartesianGrid";var sL=["type","layout","connectNulls","ref"],lL=["key"];function ln(e){"@babel/helpers - typeof";return ln=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ln(e)}function sd(e,t){if(e==null)return{};var r=fL(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function fL(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Gn(){return Gn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gn.apply(this,arguments)}function ld(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function qe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ld(Object(r),!0).forEach(function(n){ct(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ld(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Er(e){return yL(e)||dL(e)||pL(e)||hL()}function hL(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pL(e,t){if(e){if(typeof e=="string")return Gc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gc(e,t)}}function dL(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yL(e){if(Array.isArray(e))return Gc(e)}function Gc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function vL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,rg(n.key),n)}}function mL(e,t,r){return t&&fd(e.prototype,t),r&&fd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function gL(e,t,r){return t=so(t),bL(e,tg()?Reflect.construct(t,r||[],so(e).constructor):t.apply(e,r))}function bL(e,t){if(t&&(ln(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xL(e)}function xL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(tg=function(){return!!e})()}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},so(e)}function wL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yc(e,t)}function Yc(e,t){return Yc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Yc(e,t)}function ct(e,t,r){return t=rg(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rg(e){var t=OL(e,"string");return ln(t)=="symbol"?t:t+""}function OL(e,t){if(ln(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ln(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Vo=function(e){function t(){var r;vL(this,t);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return r=gL(this,t,[].concat(a)),ct(r,"state",{isAnimationFinished:!0,totalLength:0}),ct(r,"generateSimpleStrokeDasharray",function(o,u){return"".concat(u,"px ").concat(o-u,"px")}),ct(r,"getStrokeDasharray",function(o,u,c){var s=c.reduce(function(g,x){return g+x});if(!s)return r.generateSimpleStrokeDasharray(u,o);for(var f=Math.floor(o/s),l=o%s,h=u-o,p=[],y=0,v=0;y<c.length;v+=c[y],++y)if(v+c[y]>l){p=[].concat(Er(c.slice(0,y)),[l-v]);break}var d=p.length%2===0?[0,h]:[h];return[].concat(Er(t.repeat(c,f)),Er(p),d).map(function(g){return"".concat(g,"px")}).join(", ")}),ct(r,"id",xr("recharts-line-")),ct(r,"pathRef",function(o){r.mainCurve=o}),ct(r,"handleAnimationEnd",function(){r.setState({isAnimationFinished:!0}),r.props.onAnimationEnd&&r.props.onAnimationEnd()}),ct(r,"handleAnimationStart",function(){r.setState({isAnimationFinished:!1}),r.props.onAnimationStart&&r.props.onAnimationStart()}),r}return wL(t,e),mL(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var n=this.getTotalLength();this.setState({totalLength:n})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var n=this.getTotalLength();n!==this.state.totalLength&&this.setState({totalLength:n})}}},{key:"getTotalLength",value:function(){var n=this.mainCurve;try{return n&&n.getTotalLength&&n.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(n,a){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.points,u=i.xAxis,c=i.yAxis,s=i.layout,f=i.children,l=Xe(f,Na);if(!l)return null;var h=function(v,d){return{x:v.x,y:v.y,value:v.value,errorVal:Ae(v.payload,d)}},p={clipPath:n?"url(#clipPath-".concat(a,")"):null};return P.createElement(ne,p,l.map(function(y){return P.cloneElement(y,{key:"bar-".concat(y.props.dataKey),data:o,xAxis:u,yAxis:c,layout:s,dataPointFormatter:h})}))}},{key:"renderDots",value:function(n,a,i){var o=this.props.isAnimationActive;if(o&&!this.state.isAnimationFinished)return null;var u=this.props,c=u.dot,s=u.points,f=u.dataKey,l=Y(this.props,!1),h=Y(c,!0),p=s.map(function(v,d){var g=qe(qe(qe({key:"dot-".concat(d),r:3},l),h),{},{index:d,cx:v.x,cy:v.y,value:v.value,dataKey:f,payload:v.payload,points:s});return t.renderDotItem(c,g)}),y={clipPath:n?"url(#clipPath-".concat(a?"":"dots-").concat(i,")"):null};return P.createElement(ne,Gn({className:"recharts-line-dots",key:"dots"},y),p)}},{key:"renderCurveStatically",value:function(n,a,i,o){var u=this.props,c=u.type,s=u.layout,f=u.connectNulls;u.ref;var l=sd(u,sL),h=qe(qe(qe({},Y(l,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:a?"url(#clipPath-".concat(i,")"):null,points:n},o),{},{type:c,layout:s,connectNulls:f});return P.createElement(hr,Gn({},h,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(n,a){var i=this,o=this.props,u=o.points,c=o.strokeDasharray,s=o.isAnimationActive,f=o.animationBegin,l=o.animationDuration,h=o.animationEasing,p=o.animationId,y=o.animateNewValues,v=o.width,d=o.height,g=this.state,x=g.prevPoints,w=g.totalLength;return P.createElement(nt,{begin:f,duration:l,isActive:s,easing:h,from:{t:0},to:{t:1},key:"line-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(O){var m=O.t;if(x){var b=x.length/u.length,A=u.map(function(M,_){var k=Math.floor(_*b);if(x[k]){var j=x[k],C=Oe(j.x,M.x),R=Oe(j.y,M.y);return qe(qe({},M),{},{x:C(m),y:R(m)})}if(y){var B=Oe(v*2,M.x),L=Oe(d/2,M.y);return qe(qe({},M),{},{x:B(m),y:L(m)})}return qe(qe({},M),{},{x:M.x,y:M.y})});return i.renderCurveStatically(A,n,a)}var S=Oe(0,w),$=S(m),I;if(c){var T="".concat(c).split(/[,\s]+/gim).map(function(M){return parseFloat(M)});I=i.getStrokeDasharray($,w,T)}else I=i.generateSimpleStrokeDasharray(w,$);return i.renderCurveStatically(u,n,a,{strokeDasharray:I})})}},{key:"renderCurve",value:function(n,a){var i=this.props,o=i.points,u=i.isAnimationActive,c=this.state,s=c.prevPoints,f=c.totalLength;return u&&o&&o.length&&(!s&&f>0||!qt(s,o))?this.renderCurveWithAnimation(n,a):this.renderCurveStatically(o,n,a)}},{key:"render",value:function(){var n,a=this.props,i=a.hide,o=a.dot,u=a.points,c=a.className,s=a.xAxis,f=a.yAxis,l=a.top,h=a.left,p=a.width,y=a.height,v=a.isAnimationActive,d=a.id;if(i||!u||!u.length)return null;var g=this.state.isAnimationFinished,x=u.length===1,w=Q("recharts-line",c),O=s&&s.allowDataOverflow,m=f&&f.allowDataOverflow,b=O||m,A=J(d)?this.id:d,S=(n=Y(o,!1))!==null&&n!==void 0?n:{r:3,strokeWidth:2},$=S.r,I=$===void 0?3:$,T=S.strokeWidth,M=T===void 0?2:T,_=Id(o)?o:{},k=_.clipDot,j=k===void 0?!0:k,C=I*2+M;return P.createElement(ne,{className:w},O||m?P.createElement("defs",null,P.createElement("clipPath",{id:"clipPath-".concat(A)},P.createElement("rect",{x:O?h:h-p/2,y:m?l:l-y/2,width:O?p:p*2,height:m?y:y*2})),!j&&P.createElement("clipPath",{id:"clipPath-dots-".concat(A)},P.createElement("rect",{x:h-C/2,y:l-C/2,width:p+C,height:y+C}))):null,!x&&this.renderCurve(b,A),this.renderErrorBar(b,A),(x||o)&&this.renderDots(b,j,A),(!v||g)&&ft.renderCallByParent(this.props,u))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curPoints:n.points,prevPoints:a.curPoints}:n.points!==a.curPoints?{curPoints:n.points}:null}},{key:"repeat",value:function(n,a){for(var i=n.length%2!==0?[].concat(Er(n),[0]):n,o=[],u=0;u<a;++u)o=[].concat(Er(o),Er(i));return o}},{key:"renderDotItem",value:function(n,a){var i;if(P.isValidElement(n))i=P.cloneElement(n,a);else if(X(n))i=n(a);else{var o=a.key,u=sd(a,lL),c=Q("recharts-line-dot",typeof n!="boolean"?n.className:"");i=P.createElement(kn,Gn({key:o},u,{className:c}))}return i}}])}(F.PureComponent);ct(Vo,"displayName","Line");ct(Vo,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!Rt.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1});ct(Vo,"getComposedData",function(e){var t=e.props,r=e.xAxis,n=e.yAxis,a=e.xAxisTicks,i=e.yAxisTicks,o=e.dataKey,u=e.bandSize,c=e.displayedData,s=e.offset,f=t.layout,l=c.map(function(h,p){var y=Ae(h,o);return f==="horizontal"?{x:Di({axis:r,ticks:a,bandSize:u,entry:h,index:p}),y:J(y)?null:n.scale(y),value:y,payload:h}:{x:J(y)?null:r.scale(y),y:Di({axis:n,ticks:i,bandSize:u,entry:h,index:p}),value:y,payload:h}});return qe({points:l,layout:f},s)});var AL=["layout","type","stroke","connectNulls","isRange","ref"],PL=["key"],ng;function fn(e){"@babel/helpers - typeof";return fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fn(e)}function ag(e,t){if(e==null)return{};var r=SL(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function SL(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function sr(){return sr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sr.apply(this,arguments)}function hd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Bt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hd(Object(r),!0).forEach(function(n){dt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function _L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,og(n.key),n)}}function $L(e,t,r){return t&&pd(e.prototype,t),r&&pd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function kL(e,t,r){return t=lo(t),TL(e,ig()?Reflect.construct(t,r||[],lo(e).constructor):t.apply(e,r))}function TL(e,t){if(t&&(fn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return EL(e)}function EL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ig(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ig=function(){return!!e})()}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(e)}function ML(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xc(e,t)}function Xc(e,t){return Xc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Xc(e,t)}function dt(e,t,r){return t=og(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function og(e){var t=jL(e,"string");return fn(t)=="symbol"?t:t+""}function jL(e,t){if(fn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(fn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Pr=function(e){function t(){var r;_L(this,t);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return r=kL(this,t,[].concat(a)),dt(r,"state",{isAnimationFinished:!0}),dt(r,"id",xr("recharts-area-")),dt(r,"handleAnimationEnd",function(){var o=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),X(o)&&o()}),dt(r,"handleAnimationStart",function(){var o=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),X(o)&&o()}),r}return ML(t,e),$L(t,[{key:"renderDots",value:function(n,a,i){var o=this.props.isAnimationActive,u=this.state.isAnimationFinished;if(o&&!u)return null;var c=this.props,s=c.dot,f=c.points,l=c.dataKey,h=Y(this.props,!1),p=Y(s,!0),y=f.map(function(d,g){var x=Bt(Bt(Bt({key:"dot-".concat(g),r:3},h),p),{},{index:g,cx:d.x,cy:d.y,dataKey:l,value:d.value,payload:d.payload,points:f});return t.renderDotItem(s,x)}),v={clipPath:n?"url(#clipPath-".concat(a?"":"dots-").concat(i,")"):null};return P.createElement(ne,sr({className:"recharts-area-dots"},v),y)}},{key:"renderHorizontalRect",value:function(n){var a=this.props,i=a.baseLine,o=a.points,u=a.strokeWidth,c=o[0].x,s=o[o.length-1].x,f=n*Math.abs(c-s),l=Wt(o.map(function(h){return h.y||0}));return U(i)&&typeof i=="number"?l=Math.max(i,l):i&&Array.isArray(i)&&i.length&&(l=Math.max(Wt(i.map(function(h){return h.y||0})),l)),U(l)?P.createElement("rect",{x:c<s?c:c-f,y:0,width:f,height:Math.floor(l+(u?parseInt("".concat(u),10):1))}):null}},{key:"renderVerticalRect",value:function(n){var a=this.props,i=a.baseLine,o=a.points,u=a.strokeWidth,c=o[0].y,s=o[o.length-1].y,f=n*Math.abs(c-s),l=Wt(o.map(function(h){return h.x||0}));return U(i)&&typeof i=="number"?l=Math.max(i,l):i&&Array.isArray(i)&&i.length&&(l=Math.max(Wt(i.map(function(h){return h.x||0})),l)),U(l)?P.createElement("rect",{x:0,y:c<s?c:c-f,width:l+(u?parseInt("".concat(u),10):1),height:Math.floor(f)}):null}},{key:"renderClipRect",value:function(n){var a=this.props.layout;return a==="vertical"?this.renderVerticalRect(n):this.renderHorizontalRect(n)}},{key:"renderAreaStatically",value:function(n,a,i,o){var u=this.props,c=u.layout,s=u.type,f=u.stroke,l=u.connectNulls,h=u.isRange;u.ref;var p=ag(u,AL);return P.createElement(ne,{clipPath:i?"url(#clipPath-".concat(o,")"):null},P.createElement(hr,sr({},Y(p,!0),{points:n,connectNulls:l,type:s,baseLine:a,layout:c,stroke:"none",className:"recharts-area-area"})),f!=="none"&&P.createElement(hr,sr({},Y(this.props,!1),{className:"recharts-area-curve",layout:c,type:s,connectNulls:l,fill:"none",points:n})),f!=="none"&&h&&P.createElement(hr,sr({},Y(this.props,!1),{className:"recharts-area-curve",layout:c,type:s,connectNulls:l,fill:"none",points:a})))}},{key:"renderAreaWithAnimation",value:function(n,a){var i=this,o=this.props,u=o.points,c=o.baseLine,s=o.isAnimationActive,f=o.animationBegin,l=o.animationDuration,h=o.animationEasing,p=o.animationId,y=this.state,v=y.prevPoints,d=y.prevBaseLine;return P.createElement(nt,{begin:f,duration:l,isActive:s,easing:h,from:{t:0},to:{t:1},key:"area-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(g){var x=g.t;if(v){var w=v.length/u.length,O=u.map(function(S,$){var I=Math.floor($*w);if(v[I]){var T=v[I],M=Oe(T.x,S.x),_=Oe(T.y,S.y);return Bt(Bt({},S),{},{x:M(x),y:_(x)})}return S}),m;if(U(c)&&typeof c=="number"){var b=Oe(d,c);m=b(x)}else if(J(c)||wn(c)){var A=Oe(d,0);m=A(x)}else m=c.map(function(S,$){var I=Math.floor($*w);if(d[I]){var T=d[I],M=Oe(T.x,S.x),_=Oe(T.y,S.y);return Bt(Bt({},S),{},{x:M(x),y:_(x)})}return S});return i.renderAreaStatically(O,m,n,a)}return P.createElement(ne,null,P.createElement("defs",null,P.createElement("clipPath",{id:"animationClipPath-".concat(a)},i.renderClipRect(x))),P.createElement(ne,{clipPath:"url(#animationClipPath-".concat(a,")")},i.renderAreaStatically(u,c,n,a)))})}},{key:"renderArea",value:function(n,a){var i=this.props,o=i.points,u=i.baseLine,c=i.isAnimationActive,s=this.state,f=s.prevPoints,l=s.prevBaseLine,h=s.totalLength;return c&&o&&o.length&&(!f&&h>0||!qt(f,o)||!qt(l,u))?this.renderAreaWithAnimation(n,a):this.renderAreaStatically(o,u,n,a)}},{key:"render",value:function(){var n,a=this.props,i=a.hide,o=a.dot,u=a.points,c=a.className,s=a.top,f=a.left,l=a.xAxis,h=a.yAxis,p=a.width,y=a.height,v=a.isAnimationActive,d=a.id;if(i||!u||!u.length)return null;var g=this.state.isAnimationFinished,x=u.length===1,w=Q("recharts-area",c),O=l&&l.allowDataOverflow,m=h&&h.allowDataOverflow,b=O||m,A=J(d)?this.id:d,S=(n=Y(o,!1))!==null&&n!==void 0?n:{r:3,strokeWidth:2},$=S.r,I=$===void 0?3:$,T=S.strokeWidth,M=T===void 0?2:T,_=Id(o)?o:{},k=_.clipDot,j=k===void 0?!0:k,C=I*2+M;return P.createElement(ne,{className:w},O||m?P.createElement("defs",null,P.createElement("clipPath",{id:"clipPath-".concat(A)},P.createElement("rect",{x:O?f:f-p/2,y:m?s:s-y/2,width:O?p:p*2,height:m?y:y*2})),!j&&P.createElement("clipPath",{id:"clipPath-dots-".concat(A)},P.createElement("rect",{x:f-C/2,y:s-C/2,width:p+C,height:y+C}))):null,x?null:this.renderArea(b,A),(o||x)&&this.renderDots(b,j,A),(!v||g)&&ft.renderCallByParent(this.props,u))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curPoints:n.points,curBaseLine:n.baseLine,prevPoints:a.curPoints,prevBaseLine:a.curBaseLine}:n.points!==a.curPoints||n.baseLine!==a.curBaseLine?{curPoints:n.points,curBaseLine:n.baseLine}:null}}])}(F.PureComponent);ng=Pr;dt(Pr,"displayName","Area");dt(Pr,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!Rt.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});dt(Pr,"getBaseValue",function(e,t,r,n){var a=e.layout,i=e.baseValue,o=t.props.baseValue,u=o??i;if(U(u)&&typeof u=="number")return u;var c=a==="horizontal"?n:r,s=c.scale.domain();if(c.type==="number"){var f=Math.max(s[0],s[1]),l=Math.min(s[0],s[1]);return u==="dataMin"?l:u==="dataMax"||f<0?f:Math.max(Math.min(s[0],s[1]),0)}return u==="dataMin"?s[0]:u==="dataMax"?s[1]:s[0]});dt(Pr,"getComposedData",function(e){var t=e.props,r=e.item,n=e.xAxis,a=e.yAxis,i=e.xAxisTicks,o=e.yAxisTicks,u=e.bandSize,c=e.dataKey,s=e.stackedData,f=e.dataStartIndex,l=e.displayedData,h=e.offset,p=t.layout,y=s&&s.length,v=ng.getBaseValue(t,r,n,a),d=p==="horizontal",g=!1,x=l.map(function(O,m){var b;y?b=s[f+m]:(b=Ae(O,c),Array.isArray(b)?g=!0:b=[v,b]);var A=b[1]==null||y&&Ae(O,c)==null;return d?{x:Di({axis:n,ticks:i,bandSize:u,entry:O,index:m}),y:A?null:a.scale(b[1]),value:b,payload:O}:{x:A?null:n.scale(b[1]),y:Di({axis:a,ticks:o,bandSize:u,entry:O,index:m}),value:b,payload:O}}),w;return y||g?w=x.map(function(O){var m=Array.isArray(O.value)?O.value[0]:null;return d?{x:O.x,y:m!=null&&O.y!=null?a.scale(m):null}:{x:m!=null?n.scale(m):null,y:O.y}}):w=d?a.scale(v):n.scale(v),Bt({points:x,baseLine:w,layout:p,isRange:g},h)});dt(Pr,"renderDotItem",function(e,t){var r;if(P.isValidElement(e))r=P.cloneElement(e,t);else if(X(e))r=e(t);else{var n=Q("recharts-area-dot",typeof e!="boolean"?e.className:""),a=t.key,i=ag(t,PL);r=P.createElement(kn,sr({},i,{key:a,className:n}))}return r});function hn(e){"@babel/helpers - typeof";return hn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hn(e)}function CL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,sg(n.key),n)}}function DL(e,t,r){return t&&IL(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function RL(e,t,r){return t=fo(t),NL(e,ug()?Reflect.construct(t,r||[],fo(e).constructor):t.apply(e,r))}function NL(e,t){if(t&&(hn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return LL(e)}function LL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ug(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ug=function(){return!!e})()}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(e)}function BL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zc(e,t)}function Zc(e,t){return Zc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Zc(e,t)}function cg(e,t,r){return t=sg(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sg(e){var t=zL(e,"string");return hn(t)=="symbol"?t:t+""}function zL(e,t){if(hn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(hn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Jc(){return Jc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jc.apply(this,arguments)}function FL(e){var t=e.xAxisId,r=ol(),n=ul(),a=Um(t);return a==null?null:F.createElement(En,Jc({},a,{className:Q("recharts-".concat(a.axisType," ").concat(a.axisType),a.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(o){return $t(o,!0)}}))}var za=function(e){function t(){return CL(this,t),RL(this,t,arguments)}return BL(t,e),DL(t,[{key:"render",value:function(){return F.createElement(FL,this.props)}}])}(F.Component);cg(za,"displayName","XAxis");cg(za,"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});function pn(e){"@babel/helpers - typeof";return pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pn(e)}function WL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,hg(n.key),n)}}function HL(e,t,r){return t&&UL(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function qL(e,t,r){return t=ho(t),KL(e,lg()?Reflect.construct(t,r||[],ho(e).constructor):t.apply(e,r))}function KL(e,t){if(t&&(pn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return VL(e)}function VL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(lg=function(){return!!e})()}function ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(e)}function GL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qc(e,t)}function Qc(e,t){return Qc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Qc(e,t)}function fg(e,t,r){return t=hg(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hg(e){var t=YL(e,"string");return pn(t)=="symbol"?t:t+""}function YL(e,t){if(pn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(pn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function es(){return es=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},es.apply(this,arguments)}var XL=function(t){var r=t.yAxisId,n=ol(),a=ul(),i=Hm(r);return i==null?null:F.createElement(En,es({},i,{className:Q("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:n,height:a},ticksGenerator:function(u){return $t(u,!0)}}))},Fa=function(e){function t(){return WL(this,t),qL(this,t,arguments)}return GL(t,e),HL(t,[{key:"render",value:function(){return F.createElement(XL,this.props)}}])}(F.Component);fg(Fa,"displayName","YAxis");fg(Fa,"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});function dd(e){return e7(e)||QL(e)||JL(e)||ZL()}function ZL(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function JL(e,t){if(e){if(typeof e=="string")return ts(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ts(e,t)}}function QL(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function e7(e){if(Array.isArray(e))return ts(e)}function ts(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var rs=function(t,r,n,a,i){var o=Xe(t,sl),u=Xe(t,Ho),c=[].concat(dd(o),dd(u)),s=Xe(t,Ko),f="".concat(a,"Id"),l=a[0],h=r;if(c.length&&(h=c.reduce(function(v,d){if(d.props[f]===n&&vt(d.props,"extendDomain")&&U(d.props[l])){var g=d.props[l];return[Math.min(v[0],g),Math.max(v[1],g)]}return v},h)),s.length){var p="".concat(l,"1"),y="".concat(l,"2");h=s.reduce(function(v,d){if(d.props[f]===n&&vt(d.props,"extendDomain")&&U(d.props[p])&&U(d.props[y])){var g=d.props[p],x=d.props[y];return[Math.min(v[0],g,x),Math.max(v[1],g,x)]}return v},h)}return i&&i.length&&(h=i.reduce(function(v,d){return U(d)?[Math.min(v[0],d),Math.max(v[1],d)]:v},h)),h},pg={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function a(c,s,f){this.fn=c,this.context=s,this.once=f||!1}function i(c,s,f,l,h){if(typeof f!="function")throw new TypeError("The listener must be a function");var p=new a(f,l||c,h),y=r?r+s:s;return c._events[y]?c._events[y].fn?c._events[y]=[c._events[y],p]:c._events[y].push(p):(c._events[y]=p,c._eventsCount++),c}function o(c,s){--c._eventsCount===0?c._events=new n:delete c._events[s]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var s=[],f,l;if(this._eventsCount===0)return s;for(l in f=this._events)t.call(f,l)&&s.push(r?l.slice(1):l);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(f)):s},u.prototype.listeners=function(s){var f=r?r+s:s,l=this._events[f];if(!l)return[];if(l.fn)return[l.fn];for(var h=0,p=l.length,y=new Array(p);h<p;h++)y[h]=l[h].fn;return y},u.prototype.listenerCount=function(s){var f=r?r+s:s,l=this._events[f];return l?l.fn?1:l.length:0},u.prototype.emit=function(s,f,l,h,p,y){var v=r?r+s:s;if(!this._events[v])return!1;var d=this._events[v],g=arguments.length,x,w;if(d.fn){switch(d.once&&this.removeListener(s,d.fn,void 0,!0),g){case 1:return d.fn.call(d.context),!0;case 2:return d.fn.call(d.context,f),!0;case 3:return d.fn.call(d.context,f,l),!0;case 4:return d.fn.call(d.context,f,l,h),!0;case 5:return d.fn.call(d.context,f,l,h,p),!0;case 6:return d.fn.call(d.context,f,l,h,p,y),!0}for(w=1,x=new Array(g-1);w<g;w++)x[w-1]=arguments[w];d.fn.apply(d.context,x)}else{var O=d.length,m;for(w=0;w<O;w++)switch(d[w].once&&this.removeListener(s,d[w].fn,void 0,!0),g){case 1:d[w].fn.call(d[w].context);break;case 2:d[w].fn.call(d[w].context,f);break;case 3:d[w].fn.call(d[w].context,f,l);break;case 4:d[w].fn.call(d[w].context,f,l,h);break;default:if(!x)for(m=1,x=new Array(g-1);m<g;m++)x[m-1]=arguments[m];d[w].fn.apply(d[w].context,x)}}return!0},u.prototype.on=function(s,f,l){return i(this,s,f,l,!1)},u.prototype.once=function(s,f,l){return i(this,s,f,l,!0)},u.prototype.removeListener=function(s,f,l,h){var p=r?r+s:s;if(!this._events[p])return this;if(!f)return o(this,p),this;var y=this._events[p];if(y.fn)y.fn===f&&(!h||y.once)&&(!l||y.context===l)&&o(this,p);else{for(var v=0,d=[],g=y.length;v<g;v++)(y[v].fn!==f||h&&!y[v].once||l&&y[v].context!==l)&&d.push(y[v]);d.length?this._events[p]=d.length===1?d[0]:d:o(this,p)}return this},u.prototype.removeAllListeners=function(s){var f;return s?(f=r?r+s:s,this._events[f]&&o(this,f)):(this._events=new n,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=r,u.EventEmitter=u,e.exports=u})(pg);var t7=pg.exports;const r7=le(t7);var Su=new r7,_u="recharts.syncMouseEvents";function Ta(e){"@babel/helpers - typeof";return Ta=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ta(e)}function n7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a7(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,dg(n.key),n)}}function i7(e,t,r){return t&&a7(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function $u(e,t,r){return t=dg(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dg(e){var t=o7(e,"string");return Ta(t)=="symbol"?t:t+""}function o7(e,t){if(Ta(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ta(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var u7=function(){function e(){n7(this,e),$u(this,"activeIndex",0),$u(this,"coordinateList",[]),$u(this,"layout","horizontal")}return i7(e,[{key:"setDetails",value:function(r){var n,a=r.coordinateList,i=a===void 0?null:a,o=r.container,u=o===void 0?null:o,c=r.layout,s=c===void 0?null:c,f=r.offset,l=f===void 0?null:f,h=r.mouseHandlerCallback,p=h===void 0?null:h;this.coordinateList=(n=i??this.coordinateList)!==null&&n!==void 0?n:[],this.container=u??this.container,this.layout=s??this.layout,this.offset=l??this.offset,this.mouseHandlerCallback=p??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(r){if(this.coordinateList.length!==0)switch(r.key){case"ArrowRight":{if(this.layout!=="horizontal")return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break}case"ArrowLeft":{if(this.layout!=="horizontal")return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break}}}},{key:"setIndex",value:function(r){this.activeIndex=r}},{key:"spoofMouse",value:function(){var r,n;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var a=this.container.getBoundingClientRect(),i=a.x,o=a.y,u=a.height,c=this.coordinateList[this.activeIndex].coordinate,s=((r=window)===null||r===void 0?void 0:r.scrollX)||0,f=((n=window)===null||n===void 0?void 0:n.scrollY)||0,l=i+c+s,h=o+this.offset.top+u/2+f;this.mouseHandlerCallback({pageX:l,pageY:h})}}}])}();function c7(e,t,r){if(r==="number"&&t===!0&&Array.isArray(e)){var n=e==null?void 0:e[0],a=e==null?void 0:e[1];if(n&&a&&U(n)&&U(a))return!0}return!1}function s7(e,t,r,n){var a=n/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-a:r.left+.5,y:e==="horizontal"?r.top+.5:t.y-a,width:e==="horizontal"?n:r.width-1,height:e==="horizontal"?r.height-1:n}}function yg(e){var t=e.cx,r=e.cy,n=e.radius,a=e.startAngle,i=e.endAngle,o=oe(t,r,n,a),u=oe(t,r,n,i);return{points:[o,u],cx:t,cy:r,radius:n,startAngle:a,endAngle:i}}function l7(e,t,r){var n,a,i,o;if(e==="horizontal")n=t.x,i=n,a=r.top,o=r.top+r.height;else if(e==="vertical")a=t.y,o=a,n=r.left,i=r.left+r.width;else if(t.cx!=null&&t.cy!=null)if(e==="centric"){var u=t.cx,c=t.cy,s=t.innerRadius,f=t.outerRadius,l=t.angle,h=oe(u,c,s,l),p=oe(u,c,f,l);n=h.x,a=h.y,i=p.x,o=p.y}else return yg(t);return[{x:n,y:a},{x:i,y:o}]}function Ea(e){"@babel/helpers - typeof";return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ea(e)}function yd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ai(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yd(Object(r),!0).forEach(function(n){f7(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function f7(e,t,r){return t=h7(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h7(e){var t=p7(e,"string");return Ea(t)=="symbol"?t:t+""}function p7(e,t){if(Ea(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ea(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function d7(e){var t,r,n=e.element,a=e.tooltipEventType,i=e.isActive,o=e.activeCoordinate,u=e.activePayload,c=e.offset,s=e.activeTooltipIndex,f=e.tooltipAxisBandSize,l=e.layout,h=e.chartName,p=(t=n.props.cursor)!==null&&t!==void 0?t:(r=n.type.defaultProps)===null||r===void 0?void 0:r.cursor;if(!n||!p||!i||!o||h!=="ScatterChart"&&a!=="axis")return null;var y,v=hr;if(h==="ScatterChart")y=o,v=Y4;else if(h==="BarChart")y=s7(l,o,c,f),v=tl;else if(l==="radial"){var d=yg(o),g=d.cx,x=d.cy,w=d.radius,O=d.startAngle,m=d.endAngle;y={cx:g,cy:x,startAngle:O,endAngle:m,innerRadius:w,outerRadius:w},v=tm}else y={points:l7(l,o,c)},v=hr;var b=ai(ai(ai(ai({stroke:"#ccc",pointerEvents:"none"},c),y),Y(p,!1)),{},{payload:u,payloadIndex:s,className:Q("recharts-tooltip-cursor",p.className)});return F.isValidElement(p)?F.cloneElement(p,b):F.createElement(v,b)}var y7=["item"],v7=["children","className","width","height","style","compact","title","desc"];function dn(e){"@babel/helpers - typeof";return dn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dn(e)}function Rr(){return Rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rr.apply(this,arguments)}function vd(e,t){return b7(e)||g7(e,t)||mg(e,t)||m7()}function m7(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g7(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,u=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(f){s=!0,a=f}finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(s)throw a}}return u}}function b7(e){if(Array.isArray(e))return e}function md(e,t){if(e==null)return{};var r=x7(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function x7(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function w7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O7(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,gg(n.key),n)}}function A7(e,t,r){return t&&O7(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function P7(e,t,r){return t=po(t),S7(e,vg()?Reflect.construct(t,r||[],po(e).constructor):t.apply(e,r))}function S7(e,t){if(t&&(dn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _7(e)}function _7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(vg=function(){return!!e})()}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},po(e)}function $7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ns(e,t)}function ns(e,t){return ns=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},ns(e,t)}function yn(e){return E7(e)||T7(e)||mg(e)||k7()}function k7(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mg(e,t){if(e){if(typeof e=="string")return as(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return as(e,t)}}function T7(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function E7(e){if(Array.isArray(e))return as(e)}function as(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function gd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gd(Object(r),!0).forEach(function(n){Z(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Z(e,t,r){return t=gg(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gg(e){var t=M7(e,"string");return dn(t)=="symbol"?t:t+""}function M7(e,t){if(dn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(dn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var j7={xAxis:["bottom","top"],yAxis:["left","right"]},C7={width:"100%",height:"100%"},bg={x:0,y:0};function ii(e){return e}var I7=function(t,r){return r==="horizontal"?t.x:r==="vertical"?t.y:r==="centric"?t.angle:t.radius},D7=function(t,r,n,a){var i=r.find(function(f){return f&&f.index===n});if(i){if(t==="horizontal")return{x:i.coordinate,y:a.y};if(t==="vertical")return{x:a.x,y:i.coordinate};if(t==="centric"){var o=i.coordinate,u=a.radius;return N(N(N({},a),oe(a.cx,a.cy,u,o)),{},{angle:o,radius:u})}var c=i.coordinate,s=a.angle;return N(N(N({},a),oe(a.cx,a.cy,c,s)),{},{angle:s,radius:c})}return bg},Go=function(t,r){var n=r.graphicalItems,a=r.dataStartIndex,i=r.dataEndIndex,o=(n??[]).reduce(function(u,c){var s=c.props.data;return s&&s.length?[].concat(yn(u),yn(s)):u},[]);return o.length>0?o:t&&t.length&&U(a)&&U(i)?t.slice(a,i+1):[]};function xg(e){return e==="number"?[0,"auto"]:void 0}var is=function(t,r,n,a){var i=t.graphicalItems,o=t.tooltipAxis,u=Go(r,t);return n<0||!i||!i.length||n>=u.length?null:i.reduce(function(c,s){var f,l=(f=s.props.data)!==null&&f!==void 0?f:r;l&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=n&&(l=l.slice(t.dataStartIndex,t.dataEndIndex+1));var h;if(o.dataKey&&!o.allowDuplicatedCategory){var p=l===void 0?u:l;h=ui(p,o.dataKey,a)}else h=l&&l[n]||u[n];return h?[].concat(yn(c),[Vv(s,h)]):c},[])},bd=function(t,r,n,a){var i=a||{x:t.chartX,y:t.chartY},o=I7(i,n),u=t.orderedTooltipTicks,c=t.tooltipAxis,s=t.tooltipTicks,f=cI(o,u,s,c);if(f>=0&&s){var l=s[f]&&s[f].value,h=is(t,r,f,l),p=D7(n,u,f,i);return{activeTooltipIndex:f,activeLabel:l,activePayload:h,activeCoordinate:p}}return null},R7=function(t,r){var n=r.axes,a=r.graphicalItems,i=r.axisType,o=r.axisIdKey,u=r.stackGroups,c=r.dataStartIndex,s=r.dataEndIndex,f=t.layout,l=t.children,h=t.stackOffset,p=Fv(f,i);return n.reduce(function(y,v){var d,g=v.type.defaultProps!==void 0?N(N({},v.type.defaultProps),v.props):v.props,x=g.type,w=g.dataKey,O=g.allowDataOverflow,m=g.allowDuplicatedCategory,b=g.scale,A=g.ticks,S=g.includeHidden,$=g[o];if(y[$])return y;var I=Go(t.data,{graphicalItems:a.filter(function(z){var K,re=o in z.props?z.props[o]:(K=z.type.defaultProps)===null||K===void 0?void 0:K[o];return re===$}),dataStartIndex:c,dataEndIndex:s}),T=I.length,M,_,k;c7(g.domain,O,x)&&(M=yc(g.domain,null,O),p&&(x==="number"||b!=="auto")&&(k=Hn(I,w,"category")));var j=xg(x);if(!M||M.length===0){var C,R=(C=g.domain)!==null&&C!==void 0?C:j;if(w){if(M=Hn(I,w,x),x==="category"&&p){var B=Q1(M);m&&B?(_=M,M=Ji(0,T)):m||(M=Dh(R,M,v).reduce(function(z,K){return z.indexOf(K)>=0?z:[].concat(yn(z),[K])},[]))}else if(x==="category")m?M=M.filter(function(z){return z!==""&&!J(z)}):M=Dh(R,M,v).reduce(function(z,K){return z.indexOf(K)>=0||K===""||J(K)?z:[].concat(yn(z),[K])},[]);else if(x==="number"){var L=pI(I,a.filter(function(z){var K,re,ae=o in z.props?z.props[o]:(K=z.type.defaultProps)===null||K===void 0?void 0:K[o],be="hide"in z.props?z.props.hide:(re=z.type.defaultProps)===null||re===void 0?void 0:re.hide;return ae===$&&(S||!be)}),w,i,f);L&&(M=L)}p&&(x==="number"||b!=="auto")&&(k=Hn(I,w,"category"))}else p?M=Ji(0,T):u&&u[$]&&u[$].hasStack&&x==="number"?M=h==="expand"?[0,1]:Kv(u[$].stackGroups,c,s):M=zv(I,a.filter(function(z){var K=o in z.props?z.props[o]:z.type.defaultProps[o],re="hide"in z.props?z.props.hide:z.type.defaultProps.hide;return K===$&&(S||!re)}),x,f,!0);if(x==="number")M=rs(l,M,$,i,A),R&&(M=yc(R,M,O));else if(x==="category"&&R){var W=R,q=M.every(function(z){return W.indexOf(z)>=0});q&&(M=W)}}return N(N({},y),{},Z({},$,N(N({},g),{},{axisType:i,domain:M,categoricalDomain:k,duplicateDomain:_,originalDomain:(d=g.domain)!==null&&d!==void 0?d:j,isCategorical:p,layout:f})))},{})},N7=function(t,r){var n=r.graphicalItems,a=r.Axis,i=r.axisType,o=r.axisIdKey,u=r.stackGroups,c=r.dataStartIndex,s=r.dataEndIndex,f=t.layout,l=t.children,h=Go(t.data,{graphicalItems:n,dataStartIndex:c,dataEndIndex:s}),p=h.length,y=Fv(f,i),v=-1;return n.reduce(function(d,g){var x=g.type.defaultProps!==void 0?N(N({},g.type.defaultProps),g.props):g.props,w=x[o],O=xg("number");if(!d[w]){v++;var m;return y?m=Ji(0,p):u&&u[w]&&u[w].hasStack?(m=Kv(u[w].stackGroups,c,s),m=rs(l,m,w,i)):(m=yc(O,zv(h,n.filter(function(b){var A,S,$=o in b.props?b.props[o]:(A=b.type.defaultProps)===null||A===void 0?void 0:A[o],I="hide"in b.props?b.props.hide:(S=b.type.defaultProps)===null||S===void 0?void 0:S.hide;return $===w&&!I}),"number",f),a.defaultProps.allowDataOverflow),m=rs(l,m,w,i)),N(N({},d),{},Z({},w,N(N({axisType:i},a.defaultProps),{},{hide:!0,orientation:Ye(j7,"".concat(i,".").concat(v%2),null),domain:m,originalDomain:O,isCategorical:y,layout:f})))}return d},{})},L7=function(t,r){var n=r.axisType,a=n===void 0?"xAxis":n,i=r.AxisComp,o=r.graphicalItems,u=r.stackGroups,c=r.dataStartIndex,s=r.dataEndIndex,f=t.children,l="".concat(a,"Id"),h=Xe(f,i),p={};return h&&h.length?p=R7(t,{axes:h,graphicalItems:o,axisType:a,axisIdKey:l,stackGroups:u,dataStartIndex:c,dataEndIndex:s}):o&&o.length&&(p=N7(t,{Axis:i,graphicalItems:o,axisType:a,axisIdKey:l,stackGroups:u,dataStartIndex:c,dataEndIndex:s})),p},B7=function(t){var r=Ft(t),n=$t(r,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:$s(n,function(a){return a.coordinate}),tooltipAxis:r,tooltipAxisBandSize:Ri(r,n)}},xd=function(t){var r=t.children,n=t.defaultShowTooltip,a=Ve(r,rn),i=0,o=0;return t.data&&t.data.length!==0&&(o=t.data.length-1),a&&a.props&&(a.props.startIndex>=0&&(i=a.props.startIndex),a.props.endIndex>=0&&(o=a.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!n}},z7=function(t){return!t||!t.length?!1:t.some(function(r){var n=kt(r&&r.type);return n&&n.indexOf("Bar")>=0})},wd=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},F7=function(t,r){var n=t.props,a=t.graphicalItems,i=t.xAxisMap,o=i===void 0?{}:i,u=t.yAxisMap,c=u===void 0?{}:u,s=n.width,f=n.height,l=n.children,h=n.margin||{},p=Ve(l,rn),y=Ve(l,Lr),v=Object.keys(c).reduce(function(m,b){var A=c[b],S=A.orientation;return!A.mirror&&!A.hide?N(N({},m),{},Z({},S,m[S]+A.width)):m},{left:h.left||0,right:h.right||0}),d=Object.keys(o).reduce(function(m,b){var A=o[b],S=A.orientation;return!A.mirror&&!A.hide?N(N({},m),{},Z({},S,Ye(m,"".concat(S))+A.height)):m},{top:h.top||0,bottom:h.bottom||0}),g=N(N({},d),v),x=g.bottom;p&&(g.bottom+=p.props.height||rn.defaultProps.height),y&&r&&(g=fI(g,a,n,r));var w=s-g.left-g.right,O=f-g.top-g.bottom;return N(N({brushBottom:x},g),{},{width:Math.max(w,0),height:Math.max(O,0)})},W7=function(t,r){if(r==="xAxis")return t[r].width;if(r==="yAxis")return t[r].height},Wa=function(t){var r=t.chartName,n=t.GraphicalChild,a=t.defaultTooltipEventType,i=a===void 0?"axis":a,o=t.validateTooltipEventTypes,u=o===void 0?["axis"]:o,c=t.axisComponents,s=t.legendContent,f=t.formatAxisMap,l=t.defaultProps,h=function(g,x){var w=x.graphicalItems,O=x.stackGroups,m=x.offset,b=x.updateId,A=x.dataStartIndex,S=x.dataEndIndex,$=g.barSize,I=g.layout,T=g.barGap,M=g.barCategoryGap,_=g.maxBarSize,k=wd(I),j=k.numericAxisName,C=k.cateAxisName,R=z7(w),B=[];return w.forEach(function(L,W){var q=Go(g.data,{graphicalItems:[L],dataStartIndex:A,dataEndIndex:S}),z=L.type.defaultProps!==void 0?N(N({},L.type.defaultProps),L.props):L.props,K=z.dataKey,re=z.maxBarSize,ae=z["".concat(j,"Id")],be=z["".concat(C,"Id")],it={},Me=c.reduce(function(Zt,xt){var Yo,Xo,Zo=x["".concat(xt.axisType,"Map")],hl=z["".concat(xt.axisType,"Id")];Zo&&Zo[hl]||xt.axisType==="zAxis"||mr(!1,"Specifying a(n) ".concat(xt.axisType,"Id requires a corresponding ").concat(xt.axisType,"Id on the targeted graphical component ").concat((Yo=L==null||(Xo=L.type)===null||Xo===void 0?void 0:Xo.displayName)!==null&&Yo!==void 0?Yo:""));var pl=Zo[hl];return N(N({},Zt),{},Z(Z({},xt.axisType,pl),"".concat(xt.axisType,"Ticks"),$t(pl)))},it),V=Me[C],ee=Me["".concat(C,"Ticks")],te=O&&O[ae]&&O[ae].hasStack&&OI(L,O[ae].stackGroups),D=kt(L.type).indexOf("Bar")>=0,fe=Ri(V,ee),H=[],de=R&&sI({barSize:$,stackGroups:O,totalSize:W7(Me,C)});if(D){var xe,De,Lt=J(re)?_:re,Sr=(xe=(De=Ri(V,ee,!0))!==null&&De!==void 0?De:Lt)!==null&&xe!==void 0?xe:0;H=lI({barGap:T,barCategoryGap:M,bandSize:Sr!==fe?Sr:fe,sizeList:de[be],maxBarSize:Lt}),Sr!==fe&&(H=H.map(function(Zt){return N(N({},Zt),{},{position:N(N({},Zt.position),{},{offset:Zt.position.offset-Sr/2})})}))}var Ua=L&&L.type&&L.type.getComposedData;Ua&&B.push({props:N(N({},Ua(N(N({},Me),{},{displayedData:q,props:g,dataKey:K,item:L,bandSize:fe,barPosition:H,offset:m,stackedData:te,layout:I,dataStartIndex:A,dataEndIndex:S}))),{},Z(Z(Z({key:L.key||"item-".concat(W)},j,Me[j]),C,Me[C]),"animationId",b)),childIndex:f2(L,g.children),item:L})}),B},p=function(g,x){var w=g.props,O=g.dataStartIndex,m=g.dataEndIndex,b=g.updateId;if(!$l({props:w}))return null;var A=w.children,S=w.layout,$=w.stackOffset,I=w.data,T=w.reverseStackOrder,M=wd(S),_=M.numericAxisName,k=M.cateAxisName,j=Xe(A,n),C=xI(I,j,"".concat(_,"Id"),"".concat(k,"Id"),$,T),R=c.reduce(function(z,K){var re="".concat(K.axisType,"Map");return N(N({},z),{},Z({},re,L7(w,N(N({},K),{},{graphicalItems:j,stackGroups:K.axisType===_&&C,dataStartIndex:O,dataEndIndex:m}))))},{}),B=F7(N(N({},R),{},{props:w,graphicalItems:j}),x==null?void 0:x.legendBBox);Object.keys(R).forEach(function(z){R[z]=f(w,R[z],B,z.replace("Map",""),r)});var L=R["".concat(k,"Map")],W=B7(L),q=h(w,N(N({},R),{},{dataStartIndex:O,dataEndIndex:m,updateId:b,graphicalItems:j,stackGroups:C,offset:B}));return N(N({formattedGraphicalItems:q,graphicalItems:j,offset:B,stackGroups:C},W),R)},y=function(d){function g(x){var w,O,m;return w7(this,g),m=P7(this,g,[x]),Z(m,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),Z(m,"accessibilityManager",new u7),Z(m,"handleLegendBBoxUpdate",function(b){if(b){var A=m.state,S=A.dataStartIndex,$=A.dataEndIndex,I=A.updateId;m.setState(N({legendBBox:b},p({props:m.props,dataStartIndex:S,dataEndIndex:$,updateId:I},N(N({},m.state),{},{legendBBox:b}))))}}),Z(m,"handleReceiveSyncEvent",function(b,A,S){if(m.props.syncId===b){if(S===m.eventEmitterSymbol&&typeof m.props.syncMethod!="function")return;m.applySyncEvent(A)}}),Z(m,"handleBrushChange",function(b){var A=b.startIndex,S=b.endIndex;if(A!==m.state.dataStartIndex||S!==m.state.dataEndIndex){var $=m.state.updateId;m.setState(function(){return N({dataStartIndex:A,dataEndIndex:S},p({props:m.props,dataStartIndex:A,dataEndIndex:S,updateId:$},m.state))}),m.triggerSyncEvent({dataStartIndex:A,dataEndIndex:S})}}),Z(m,"handleMouseEnter",function(b){var A=m.getMouseInfo(b);if(A){var S=N(N({},A),{},{isTooltipActive:!0});m.setState(S),m.triggerSyncEvent(S);var $=m.props.onMouseEnter;X($)&&$(S,b)}}),Z(m,"triggeredAfterMouseMove",function(b){var A=m.getMouseInfo(b),S=A?N(N({},A),{},{isTooltipActive:!0}):{isTooltipActive:!1};m.setState(S),m.triggerSyncEvent(S);var $=m.props.onMouseMove;X($)&&$(S,b)}),Z(m,"handleItemMouseEnter",function(b){m.setState(function(){return{isTooltipActive:!0,activeItem:b,activePayload:b.tooltipPayload,activeCoordinate:b.tooltipPosition||{x:b.cx,y:b.cy}}})}),Z(m,"handleItemMouseLeave",function(){m.setState(function(){return{isTooltipActive:!1}})}),Z(m,"handleMouseMove",function(b){b.persist(),m.throttleTriggeredAfterMouseMove(b)}),Z(m,"handleMouseLeave",function(b){m.throttleTriggeredAfterMouseMove.cancel();var A={isTooltipActive:!1};m.setState(A),m.triggerSyncEvent(A);var S=m.props.onMouseLeave;X(S)&&S(A,b)}),Z(m,"handleOuterEvent",function(b){var A=l2(b),S=Ye(m.props,"".concat(A));if(A&&X(S)){var $,I;/.*touch.*/i.test(A)?I=m.getMouseInfo(b.changedTouches[0]):I=m.getMouseInfo(b),S(($=I)!==null&&$!==void 0?$:{},b)}}),Z(m,"handleClick",function(b){var A=m.getMouseInfo(b);if(A){var S=N(N({},A),{},{isTooltipActive:!0});m.setState(S),m.triggerSyncEvent(S);var $=m.props.onClick;X($)&&$(S,b)}}),Z(m,"handleMouseDown",function(b){var A=m.props.onMouseDown;if(X(A)){var S=m.getMouseInfo(b);A(S,b)}}),Z(m,"handleMouseUp",function(b){var A=m.props.onMouseUp;if(X(A)){var S=m.getMouseInfo(b);A(S,b)}}),Z(m,"handleTouchMove",function(b){b.changedTouches!=null&&b.changedTouches.length>0&&m.throttleTriggeredAfterMouseMove(b.changedTouches[0])}),Z(m,"handleTouchStart",function(b){b.changedTouches!=null&&b.changedTouches.length>0&&m.handleMouseDown(b.changedTouches[0])}),Z(m,"handleTouchEnd",function(b){b.changedTouches!=null&&b.changedTouches.length>0&&m.handleMouseUp(b.changedTouches[0])}),Z(m,"handleDoubleClick",function(b){var A=m.props.onDoubleClick;if(X(A)){var S=m.getMouseInfo(b);A(S,b)}}),Z(m,"handleContextMenu",function(b){var A=m.props.onContextMenu;if(X(A)){var S=m.getMouseInfo(b);A(S,b)}}),Z(m,"triggerSyncEvent",function(b){m.props.syncId!==void 0&&Su.emit(_u,m.props.syncId,b,m.eventEmitterSymbol)}),Z(m,"applySyncEvent",function(b){var A=m.props,S=A.layout,$=A.syncMethod,I=m.state.updateId,T=b.dataStartIndex,M=b.dataEndIndex;if(b.dataStartIndex!==void 0||b.dataEndIndex!==void 0)m.setState(N({dataStartIndex:T,dataEndIndex:M},p({props:m.props,dataStartIndex:T,dataEndIndex:M,updateId:I},m.state)));else if(b.activeTooltipIndex!==void 0){var _=b.chartX,k=b.chartY,j=b.activeTooltipIndex,C=m.state,R=C.offset,B=C.tooltipTicks;if(!R)return;if(typeof $=="function")j=$(B,b);else if($==="value"){j=-1;for(var L=0;L<B.length;L++)if(B[L].value===b.activeLabel){j=L;break}}var W=N(N({},R),{},{x:R.left,y:R.top}),q=Math.min(_,W.x+W.width),z=Math.min(k,W.y+W.height),K=B[j]&&B[j].value,re=is(m.state,m.props.data,j),ae=B[j]?{x:S==="horizontal"?B[j].coordinate:q,y:S==="horizontal"?z:B[j].coordinate}:bg;m.setState(N(N({},b),{},{activeLabel:K,activeCoordinate:ae,activePayload:re,activeTooltipIndex:j}))}else m.setState(b)}),Z(m,"renderCursor",function(b){var A,S=m.state,$=S.isTooltipActive,I=S.activeCoordinate,T=S.activePayload,M=S.offset,_=S.activeTooltipIndex,k=S.tooltipAxisBandSize,j=m.getTooltipEventType(),C=(A=b.props.active)!==null&&A!==void 0?A:$,R=m.props.layout,B=b.key||"_recharts-cursor";return P.createElement(d7,{key:B,activeCoordinate:I,activePayload:T,activeTooltipIndex:_,chartName:r,element:b,isActive:C,layout:R,offset:M,tooltipAxisBandSize:k,tooltipEventType:j})}),Z(m,"renderPolarAxis",function(b,A,S){var $=Ye(b,"type.axisType"),I=Ye(m.state,"".concat($,"Map")),T=b.type.defaultProps,M=T!==void 0?N(N({},T),b.props):b.props,_=I&&I[M["".concat($,"Id")]];return F.cloneElement(b,N(N({},_),{},{className:Q($,_.className),key:b.key||"".concat(A,"-").concat(S),ticks:$t(_,!0)}))}),Z(m,"renderPolarGrid",function(b){var A=b.props,S=A.radialLines,$=A.polarAngles,I=A.polarRadius,T=m.state,M=T.radiusAxisMap,_=T.angleAxisMap,k=Ft(M),j=Ft(_),C=j.cx,R=j.cy,B=j.innerRadius,L=j.outerRadius;return F.cloneElement(b,{polarAngles:Array.isArray($)?$:$t(j,!0).map(function(W){return W.coordinate}),polarRadius:Array.isArray(I)?I:$t(k,!0).map(function(W){return W.coordinate}),cx:C,cy:R,innerRadius:B,outerRadius:L,key:b.key||"polar-grid",radialLines:S})}),Z(m,"renderLegend",function(){var b=m.state.formattedGraphicalItems,A=m.props,S=A.children,$=A.width,I=A.height,T=m.props.margin||{},M=$-(T.left||0)-(T.right||0),_=Lv({children:S,formattedGraphicalItems:b,legendWidth:M,legendContent:s});if(!_)return null;var k=_.item,j=md(_,y7);return F.cloneElement(k,N(N({},j),{},{chartWidth:$,chartHeight:I,margin:T,onBBoxUpdate:m.handleLegendBBoxUpdate}))}),Z(m,"renderTooltip",function(){var b,A=m.props,S=A.children,$=A.accessibilityLayer,I=Ve(S,Ot);if(!I)return null;var T=m.state,M=T.isTooltipActive,_=T.activeCoordinate,k=T.activePayload,j=T.activeLabel,C=T.offset,R=(b=I.props.active)!==null&&b!==void 0?b:M;return F.cloneElement(I,{viewBox:N(N({},C),{},{x:C.left,y:C.top}),active:R,label:j,payload:R?k:[],coordinate:_,accessibilityLayer:$})}),Z(m,"renderBrush",function(b){var A=m.props,S=A.margin,$=A.data,I=m.state,T=I.offset,M=I.dataStartIndex,_=I.dataEndIndex,k=I.updateId;return F.cloneElement(b,{key:b.key||"_recharts-brush",onChange:Qa(m.handleBrushChange,b.props.onChange),data:$,x:U(b.props.x)?b.props.x:T.left,y:U(b.props.y)?b.props.y:T.top+T.height+T.brushBottom-(S.bottom||0),width:U(b.props.width)?b.props.width:T.width,startIndex:M,endIndex:_,updateId:"brush-".concat(k)})}),Z(m,"renderReferenceElement",function(b,A,S){if(!b)return null;var $=m,I=$.clipPathId,T=m.state,M=T.xAxisMap,_=T.yAxisMap,k=T.offset,j=b.type.defaultProps||{},C=b.props,R=C.xAxisId,B=R===void 0?j.xAxisId:R,L=C.yAxisId,W=L===void 0?j.yAxisId:L;return F.cloneElement(b,{key:b.key||"".concat(A,"-").concat(S),xAxis:M[B],yAxis:_[W],viewBox:{x:k.left,y:k.top,width:k.width,height:k.height},clipPathId:I})}),Z(m,"renderActivePoints",function(b){var A=b.item,S=b.activePoint,$=b.basePoint,I=b.childIndex,T=b.isRange,M=[],_=A.props.key,k=A.item.type.defaultProps!==void 0?N(N({},A.item.type.defaultProps),A.item.props):A.item.props,j=k.activeDot,C=k.dataKey,R=N(N({index:I,dataKey:C,cx:S.x,cy:S.y,r:4,fill:el(A.item),strokeWidth:2,stroke:"#fff",payload:S.payload,value:S.value},Y(j,!1)),ci(j));return M.push(g.renderActiveDot(j,R,"".concat(_,"-activePoint-").concat(I))),$?M.push(g.renderActiveDot(j,N(N({},R),{},{cx:$.x,cy:$.y}),"".concat(_,"-basePoint-").concat(I))):T&&M.push(null),M}),Z(m,"renderGraphicChild",function(b,A,S){var $=m.filterFormatItem(b,A,S);if(!$)return null;var I=m.getTooltipEventType(),T=m.state,M=T.isTooltipActive,_=T.tooltipAxis,k=T.activeTooltipIndex,j=T.activeLabel,C=m.props.children,R=Ve(C,Ot),B=$.props,L=B.points,W=B.isRange,q=B.baseLine,z=$.item.type.defaultProps!==void 0?N(N({},$.item.type.defaultProps),$.item.props):$.item.props,K=z.activeDot,re=z.hide,ae=z.activeBar,be=z.activeShape,it=!!(!re&&M&&R&&(K||ae||be)),Me={};I!=="axis"&&R&&R.props.trigger==="click"?Me={onClick:Qa(m.handleItemMouseEnter,b.props.onClick)}:I!=="axis"&&(Me={onMouseLeave:Qa(m.handleItemMouseLeave,b.props.onMouseLeave),onMouseEnter:Qa(m.handleItemMouseEnter,b.props.onMouseEnter)});var V=F.cloneElement(b,N(N({},$.props),Me));function ee(xt){return typeof _.dataKey=="function"?_.dataKey(xt.payload):null}if(it)if(k>=0){var te,D;if(_.dataKey&&!_.allowDuplicatedCategory){var fe=typeof _.dataKey=="function"?ee:"payload.".concat(_.dataKey.toString());te=ui(L,fe,j),D=W&&q&&ui(q,fe,j)}else te=L==null?void 0:L[k],D=W&&q&&q[k];if(be||ae){var H=b.props.activeIndex!==void 0?b.props.activeIndex:k;return[F.cloneElement(b,N(N(N({},$.props),Me),{},{activeIndex:H})),null,null]}if(!J(te))return[V].concat(yn(m.renderActivePoints({item:$,activePoint:te,basePoint:D,childIndex:k,isRange:W})))}else{var de,xe=(de=m.getItemByXY(m.state.activeCoordinate))!==null&&de!==void 0?de:{graphicalItem:V},De=xe.graphicalItem,Lt=De.item,Sr=Lt===void 0?b:Lt,Ua=De.childIndex,Zt=N(N(N({},$.props),Me),{},{activeIndex:Ua});return[F.cloneElement(Sr,Zt),null,null]}return W?[V,null,null]:[V,null]}),Z(m,"renderCustomized",function(b,A,S){return F.cloneElement(b,N(N({key:"recharts-customized-".concat(S)},m.props),m.state))}),Z(m,"renderMap",{CartesianGrid:{handler:ii,once:!0},ReferenceArea:{handler:m.renderReferenceElement},ReferenceLine:{handler:ii},ReferenceDot:{handler:m.renderReferenceElement},XAxis:{handler:ii},YAxis:{handler:ii},Brush:{handler:m.renderBrush,once:!0},Bar:{handler:m.renderGraphicChild},Line:{handler:m.renderGraphicChild},Area:{handler:m.renderGraphicChild},Radar:{handler:m.renderGraphicChild},RadialBar:{handler:m.renderGraphicChild},Scatter:{handler:m.renderGraphicChild},Pie:{handler:m.renderGraphicChild},Funnel:{handler:m.renderGraphicChild},Tooltip:{handler:m.renderCursor,once:!0},PolarGrid:{handler:m.renderPolarGrid,once:!0},PolarAngleAxis:{handler:m.renderPolarAxis},PolarRadiusAxis:{handler:m.renderPolarAxis},Customized:{handler:m.renderCustomized}}),m.clipPathId="".concat((w=x.id)!==null&&w!==void 0?w:xr("recharts"),"-clip"),m.throttleTriggeredAfterMouseMove=Ny(m.triggeredAfterMouseMove,(O=x.throttleDelay)!==null&&O!==void 0?O:1e3/60),m.state={},m}return $7(g,d),A7(g,[{key:"componentDidMount",value:function(){var w,O;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(w=this.props.margin.left)!==null&&w!==void 0?w:0,top:(O=this.props.margin.top)!==null&&O!==void 0?O:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var w=this.props,O=w.children,m=w.data,b=w.height,A=w.layout,S=Ve(O,Ot);if(S){var $=S.props.defaultIndex;if(!(typeof $!="number"||$<0||$>this.state.tooltipTicks.length-1)){var I=this.state.tooltipTicks[$]&&this.state.tooltipTicks[$].value,T=is(this.state,m,$,I),M=this.state.tooltipTicks[$].coordinate,_=(this.state.offset.top+b)/2,k=A==="horizontal",j=k?{x:M,y:_}:{y:M,x:_},C=this.state.formattedGraphicalItems.find(function(B){var L=B.item;return L.type.name==="Scatter"});C&&(j=N(N({},j),C.props.points[$].tooltipPosition),T=C.props.points[$].tooltipPayload);var R={activeTooltipIndex:$,isTooltipActive:!0,activeLabel:I,activePayload:T,activeCoordinate:j};this.setState(R),this.renderCursor(S),this.accessibilityManager.setIndex($)}}}},{key:"getSnapshotBeforeUpdate",value:function(w,O){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==O.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==w.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==w.margin){var m,b;this.accessibilityManager.setDetails({offset:{left:(m=this.props.margin.left)!==null&&m!==void 0?m:0,top:(b=this.props.margin.top)!==null&&b!==void 0?b:0}})}return null}},{key:"componentDidUpdate",value:function(w){Eu([Ve(w.children,Ot)],[Ve(this.props.children,Ot)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var w=Ve(this.props.children,Ot);if(w&&typeof w.props.shared=="boolean"){var O=w.props.shared?"axis":"item";return u.indexOf(O)>=0?O:i}return i}},{key:"getMouseInfo",value:function(w){if(!this.container)return null;var O=this.container,m=O.getBoundingClientRect(),b=NT(m),A={chartX:Math.round(w.pageX-b.left),chartY:Math.round(w.pageY-b.top)},S=m.width/O.offsetWidth||1,$=this.inRange(A.chartX,A.chartY,S);if(!$)return null;var I=this.state,T=I.xAxisMap,M=I.yAxisMap,_=this.getTooltipEventType(),k=bd(this.state,this.props.data,this.props.layout,$);if(_!=="axis"&&T&&M){var j=Ft(T).scale,C=Ft(M).scale,R=j&&j.invert?j.invert(A.chartX):null,B=C&&C.invert?C.invert(A.chartY):null;return N(N({},A),{},{xValue:R,yValue:B},k)}return k?N(N({},A),k):null}},{key:"inRange",value:function(w,O){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,b=this.props.layout,A=w/m,S=O/m;if(b==="horizontal"||b==="vertical"){var $=this.state.offset,I=A>=$.left&&A<=$.left+$.width&&S>=$.top&&S<=$.top+$.height;return I?{x:A,y:S}:null}var T=this.state,M=T.angleAxisMap,_=T.radiusAxisMap;if(M&&_){var k=Ft(M);return Lh({x:A,y:S},k)}return null}},{key:"parseEventsOfWrapper",value:function(){var w=this.props.children,O=this.getTooltipEventType(),m=Ve(w,Ot),b={};m&&O==="axis"&&(m.props.trigger==="click"?b={onClick:this.handleClick}:b={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var A=ci(this.props,this.handleOuterEvent);return N(N({},A),b)}},{key:"addListener",value:function(){Su.on(_u,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Su.removeListener(_u,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(w,O,m){for(var b=this.state.formattedGraphicalItems,A=0,S=b.length;A<S;A++){var $=b[A];if($.item===w||$.props.key===w.key||O===kt($.item.type)&&m===$.childIndex)return $}return null}},{key:"renderClipPath",value:function(){var w=this.clipPathId,O=this.state.offset,m=O.left,b=O.top,A=O.height,S=O.width;return P.createElement("defs",null,P.createElement("clipPath",{id:w},P.createElement("rect",{x:m,y:b,height:A,width:S})))}},{key:"getXScales",value:function(){var w=this.state.xAxisMap;return w?Object.entries(w).reduce(function(O,m){var b=vd(m,2),A=b[0],S=b[1];return N(N({},O),{},Z({},A,S.scale))},{}):null}},{key:"getYScales",value:function(){var w=this.state.yAxisMap;return w?Object.entries(w).reduce(function(O,m){var b=vd(m,2),A=b[0],S=b[1];return N(N({},O),{},Z({},A,S.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(w){var O;return(O=this.state.xAxisMap)===null||O===void 0||(O=O[w])===null||O===void 0?void 0:O.scale}},{key:"getYScaleByAxisId",value:function(w){var O;return(O=this.state.yAxisMap)===null||O===void 0||(O=O[w])===null||O===void 0?void 0:O.scale}},{key:"getItemByXY",value:function(w){var O=this.state,m=O.formattedGraphicalItems,b=O.activeItem;if(m&&m.length)for(var A=0,S=m.length;A<S;A++){var $=m[A],I=$.props,T=$.item,M=T.type.defaultProps!==void 0?N(N({},T.type.defaultProps),T.props):T.props,_=kt(T.type);if(_==="Bar"){var k=(I.data||[]).find(function(B){return E4(w,B)});if(k)return{graphicalItem:$,payload:k}}else if(_==="RadialBar"){var j=(I.data||[]).find(function(B){return Lh(w,B)});if(j)return{graphicalItem:$,payload:j}}else if(Bo($,b)||zo($,b)||Sa($,b)){var C=T8({graphicalItem:$,activeTooltipItem:b,itemData:M.data}),R=M.activeIndex===void 0?C:M.activeIndex;return{graphicalItem:N(N({},$),{},{childIndex:R}),payload:Sa($,b)?M.data[C]:$.props.data[C]}}}return null}},{key:"render",value:function(){var w=this;if(!$l(this))return null;var O=this.props,m=O.children,b=O.className,A=O.width,S=O.height,$=O.style,I=O.compact,T=O.title,M=O.desc,_=md(O,v7),k=Y(_,!1);if(I)return P.createElement(Xp,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},P.createElement(ju,Rr({},k,{width:A,height:S,title:T,desc:M}),this.renderClipPath(),Tl(m,this.renderMap)));if(this.props.accessibilityLayer){var j,C;k.tabIndex=(j=this.props.tabIndex)!==null&&j!==void 0?j:0,k.role=(C=this.props.role)!==null&&C!==void 0?C:"application",k.onKeyDown=function(B){w.accessibilityManager.keyboardEvent(B)},k.onFocus=function(){w.accessibilityManager.focus()}}var R=this.parseEventsOfWrapper();return P.createElement(Xp,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},P.createElement("div",Rr({className:Q("recharts-wrapper",b),style:N({position:"relative",cursor:"default",width:A,height:S},$)},R,{ref:function(L){w.container=L}}),P.createElement(ju,Rr({},k,{width:A,height:S,title:T,desc:M,style:C7}),this.renderClipPath(),Tl(m,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])}(F.Component);Z(y,"displayName",r),Z(y,"defaultProps",N({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},l)),Z(y,"getDerivedStateFromProps",function(d,g){var x=d.dataKey,w=d.data,O=d.children,m=d.width,b=d.height,A=d.layout,S=d.stackOffset,$=d.margin,I=g.dataStartIndex,T=g.dataEndIndex;if(g.updateId===void 0){var M=xd(d);return N(N(N({},M),{},{updateId:0},p(N(N({props:d},M),{},{updateId:0}),g)),{},{prevDataKey:x,prevData:w,prevWidth:m,prevHeight:b,prevLayout:A,prevStackOffset:S,prevMargin:$,prevChildren:O})}if(x!==g.prevDataKey||w!==g.prevData||m!==g.prevWidth||b!==g.prevHeight||A!==g.prevLayout||S!==g.prevStackOffset||!Nr($,g.prevMargin)){var _=xd(d),k={chartX:g.chartX,chartY:g.chartY,isTooltipActive:g.isTooltipActive},j=N(N({},bd(g,w,A)),{},{updateId:g.updateId+1}),C=N(N(N({},_),k),j);return N(N(N({},C),p(N({props:d},C),g)),{},{prevDataKey:x,prevData:w,prevWidth:m,prevHeight:b,prevLayout:A,prevStackOffset:S,prevMargin:$,prevChildren:O})}if(!Eu(O,g.prevChildren)){var R,B,L,W,q=Ve(O,rn),z=q&&(R=(B=q.props)===null||B===void 0?void 0:B.startIndex)!==null&&R!==void 0?R:I,K=q&&(L=(W=q.props)===null||W===void 0?void 0:W.endIndex)!==null&&L!==void 0?L:T,re=z!==I||K!==T,ae=!J(w),be=ae&&!re?g.updateId:g.updateId+1;return N(N({updateId:be},p(N(N({props:d},g),{},{updateId:be,dataStartIndex:z,dataEndIndex:K}),g)),{},{prevChildren:O,dataStartIndex:z,dataEndIndex:K})}return null}),Z(y,"renderActiveDot",function(d,g,x){var w;return F.isValidElement(d)?w=F.cloneElement(d,g):X(d)?w=d(g):w=P.createElement(kn,g),P.createElement(ne,{className:"recharts-active-dot",key:x},w)});var v=F.forwardRef(function(g,x){return P.createElement(y,Rr({},g,{ref:x}))});return v.displayName=y.displayName,v},rF=Wa({chartName:"LineChart",GraphicalChild:Vo,axisComponents:[{axisType:"xAxis",AxisComp:za},{axisType:"yAxis",AxisComp:Fa}],formatAxisMap:rl}),nF=Wa({chartName:"BarChart",GraphicalChild:Tn,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:za},{axisType:"yAxis",AxisComp:Fa}],formatAxisMap:rl}),aF=Wa({chartName:"PieChart",GraphicalChild:Xt,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:Ba},{axisType:"radiusAxis",AxisComp:La}],formatAxisMap:Xv,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),iF=Wa({chartName:"RadarChart",GraphicalChild:Fo,axisComponents:[{axisType:"angleAxis",AxisComp:Ba},{axisType:"radiusAxis",AxisComp:La}],formatAxisMap:Xv,defaultProps:{layout:"centric",startAngle:90,endAngle:-270,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),oF=Wa({chartName:"AreaChart",GraphicalChild:Pr,axisComponents:[{axisType:"xAxis",AxisComp:za},{axisType:"yAxis",AxisComp:Fa}],formatAxisMap:rl});export{pz as $,q7 as A,bB as B,SB as C,VB as D,ZB as E,t9 as F,mB as G,o9 as H,p9 as I,V9 as J,cB as K,x9 as L,j9 as M,pB as N,Uz as O,z9 as P,nz as Q,iz as R,_z as S,$z as T,zz as U,Iz as V,Vz as W,Yz as X,gz as Y,rz as Z,hp as _,tF as a,aB as a$,EB as a0,A9 as a1,L9 as a2,FB as a3,ez as a4,tz as a5,I9 as a6,TB as a7,lB as a8,u9 as a9,Mz as aA,K7 as aB,xz as aC,hB as aD,GB as aE,G9 as aF,iB as aG,Tz as aH,J9 as aI,PB as aJ,Gz as aK,az as aL,Hz as aM,y9 as aN,Oz as aO,wz as aP,U9 as aQ,dB as aR,s9 as aS,g9 as aT,XB as aU,T9 as aV,Xz as aW,b9 as aX,h9 as aY,Pz as aZ,d9 as a_,UB as aa,W9 as ab,F9 as ac,k9 as ad,Wz as ae,w9 as af,E9 as ag,$9 as ah,S9 as ai,O9 as aj,JB as ak,P9 as al,NB as am,Qz as an,oF as ao,cL as ap,za as aq,Fa as ar,Ot as as,Pr as at,aF as au,Xt as av,Ts as aw,qB as ax,N9 as ay,K9 as az,V7 as b,Fo as b$,nF as b0,Tn as b1,Az as b2,rF as b3,Vo as b4,fz as b5,e9 as b6,rB as b7,Z7 as b8,D9 as b9,oz as bA,YB as bB,Q9 as bC,zB as bD,qz as bE,q9 as bF,gB as bG,Q7 as bH,jB as bI,IB as bJ,jz as bK,M9 as bL,R9 as bM,Lz as bN,KB as bO,CB as bP,sz as bQ,BB as bR,MB as bS,W3 as bT,bz as bU,yz as bV,RB as bW,Z9 as bX,iF as bY,u5 as bZ,Ba as b_,n9 as ba,kz as bb,Fz as bc,wB as bd,Lr as be,Y9 as bf,Cz as bg,uz as bh,QB as bi,fB as bj,Jz as bk,Zz as bl,Dz as bm,_9 as bn,cz as bo,f9 as bp,hz as bq,Kz as br,HB as bs,mz as bt,LB as bu,i9 as bv,Sz as bw,Y7 as bx,c9 as by,H9 as bz,nB as c,uB as c0,eF as c1,fp as c2,ue as c3,dz as c4,_B as c5,Bz as c6,Nz as c7,vB as c8,DB as c9,sB as ca,r9 as cb,G7 as cc,Ez as cd,J7 as d,$B as e,C9 as f,X9 as g,tB as h,eB as i,vz as j,kB as k,AB as l,OB as m,lz as n,oB as o,l9 as p,B9 as q,v9 as r,m9 as s,H7 as t,yB as u,X7 as v,a9 as w,xB as x,Rz as y,WB as z};
