"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9819],{9819:(e,s,t)=>{t.r(s),t.d(s,{AdminCharts:()=>u});var r=t(53756),i=t(84270),a=t(45651),n=t(48388),o=t(23999),l=t(4236),d=t(54227),c=t(47490),f=t(16238),x=t(31889);let h=[{name:"Mon",users:400,revenue:2400},{name:"Tue",users:300,revenue:1398},{name:"Wed",users:200,revenue:9800},{name:"Thu",users:278,revenue:3908},{name:"Fri",users:189,revenue:4800},{name:"Sat",users:239,revenue:3800},{name:"Sun",users:349,revenue:4300}];function u(){return(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[(0,r.jsxs)("div",{className:"bg-white p-8 rounded-3xl border border-slate-100 shadow-sm space-y-6",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"text-sm font-black uppercase text-slate-500 tracking-widest",children:"User Growth"}),(0,r.jsxs)("select",{className:"bg-slate-50 border border-slate-100 rounded-lg px-3 py-1 text-[10px] font-black uppercase tracking-widest outline-none text-slate-500",children:[(0,r.jsx)("option",{children:"Last 7 Days"}),(0,r.jsx)("option",{children:"Last 30 Days"})]})]}),(0,r.jsx)("div",{className:"h-[300px] w-full",children:(0,r.jsx)(i.u,{width:"100%",height:"100%",children:(0,r.jsxs)(a.Q,{data:h,children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"colorUsers",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"5%",stopColor:"#2563eb",stopOpacity:.1}),(0,r.jsx)("stop",{offset:"95%",stopColor:"#2563eb",stopOpacity:0})]})}),(0,r.jsx)(n.d,{strokeDasharray:"3 3",stroke:"#f1f5f9",vertical:!1}),(0,r.jsx)(o.W,{dataKey:"name",axisLine:!1,tickLine:!1,tick:{fill:"#94a3b8",fontSize:10,fontWeight:700},dy:10}),(0,r.jsx)(l.h,{axisLine:!1,tickLine:!1,tick:{fill:"#94a3b8",fontSize:10,fontWeight:700}}),(0,r.jsx)(d.m,{contentStyle:{backgroundColor:"#ffffff",border:"1px solid #e2e8f0",borderRadius:"1rem",fontSize:"11px",fontWeight:"700",textTransform:"uppercase"},itemStyle:{color:"#2563eb"}}),(0,r.jsx)(c.Gk,{type:"monotone",dataKey:"users",stroke:"#2563eb",strokeWidth:3,fillOpacity:1,fill:"url(#colorUsers)"})]})})})]}),(0,r.jsxs)("div",{className:"bg-white p-8 rounded-3xl border border-slate-100 shadow-sm space-y-6",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"text-sm font-black uppercase text-slate-500 tracking-widest",children:"Revenue Insights"}),(0,r.jsxs)("select",{className:"bg-slate-50 border border-slate-100 rounded-lg px-3 py-1 text-[10px] font-black uppercase tracking-widest outline-none text-slate-500",children:[(0,r.jsx)("option",{children:"Last 7 Days"}),(0,r.jsx)("option",{children:"Last 30 Days"})]})]}),(0,r.jsx)("div",{className:"h-[300px] w-full",children:(0,r.jsx)(i.u,{width:"100%",height:"100%",children:(0,r.jsxs)(f.b,{data:h,children:[(0,r.jsx)(n.d,{strokeDasharray:"3 3",stroke:"#f1f5f9",vertical:!1}),(0,r.jsx)(o.W,{dataKey:"name",axisLine:!1,tickLine:!1,tick:{fill:"#94a3b8",fontSize:10,fontWeight:700},dy:10}),(0,r.jsx)(l.h,{axisLine:!1,tickLine:!1,tick:{fill:"#94a3b8",fontSize:10,fontWeight:700}}),(0,r.jsx)(d.m,{contentStyle:{backgroundColor:"#ffffff",border:"1px solid #e2e8f0",borderRadius:"1rem",fontSize:"11px",fontWeight:"700",textTransform:"uppercase"},itemStyle:{color:"#059669"}}),(0,r.jsx)(x.N1,{type:"monotone",dataKey:"revenue",stroke:"#059669",strokeWidth:3,dot:{r:4,fill:"#059669",strokeWidth:2,stroke:"#ffffff"},activeDot:{r:6,strokeWidth:0}})]})})})]})]})}}}]);