1import{j as s,C as a,e as i,b as c,d as n,o as r,s as j,B as t,L as l,p as o,q as d,X as h}from"./index-CuSEeJFb.js";function u(){const m=[{title:"Analytics Overview",description:"Comprehensive system analytics and insights",path:"/admin/analytics/admin-analytics",icon:s.jsx(h,{className:"h-6 w-6"}),status:"active",priority:"high"},{title:"AI Usage Analytics",description:"Monitor AI usage, costs, and performance metrics",path:"/admin/analytics/ai-usage",icon:s.jsx(d,{className:"h-6 w-6"}),status:"active",priority:"high"}],x=[{label:"Active Users",value:"1,234",change:"+5.2%"},{label:"AI Requests",value:"45.2K",change:"+12.1%"},{label:"System Uptime",value:"99.9%",change:"0%"}];return s.jsxs("div",{className:"space-y-6",children:[s.jsx("div",{className:"grid gap-4 md:grid-cols-3",children:x.map(e=>s.jsx(a,{children:s.jsx(i,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-medium text-gray-600 dark:text-gray-400",children:e.label}),s.jsx("p",{className:"text-2xl font-bold text-gray-900 dark:text-white",children:e.value})]}),s.jsx("div",{className:"text-sm",children:s.jsx("span",{className:`${e.change.startsWith("+")?"text-green-600":e.change==="0%"?"text-gray-500":"text-red-600"}`,children:e.change})})]})})},e.label))}),s.jsxs("div",{children:[s.jsx("div",{className:"mb-4 flex items-center justify-between",children:s.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:"Analytics Tools"})}),s.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:m.map(e=>s.jsxs(a,{className:"hover:shadow-md transition-shadow",children:[s.jsx(c,{children:s.jsxs("div",{className:"flex items-start justify-between",children:[s.jsxs("div",{className:"flex items-center space-x-3",children:[s.jsx("div",{className:"p-2 bg-orange-100 dark:bg-orange-900/20 rounded-lg",children:e.icon}),s.jsxs("div",{children:[s.jsx(n,{className:"text-base",children:e.title}),s.jsx(r,{className:"text-sm mt-1",children:e.description})]})]}),e.priority==="high"&&s.jsx(j,{variant:"default",className:"bg-orange-500",children:"Essential"})]})}),s.jsx(i,{className:"pt-0",children:s.jsx(t,{asChild:!0,className:"w-full","data-testid":`button-${e.title.toLowerCase().replace(/\s+/g,"-")}`,children:s.jsxs(l,{href:e.path,children:["Open ",e.title,s.jsx(o,{className:"h-4 w-4 ml-2"})]})})})]},e.path))})]}),s.jsxs(a,{children:[s.jsxs(c,{children:[s.jsx(n,{className:"text-base",children:"Recently Accessed"}),s.jsx(r,{children:"Quick access to your frequently used analytics tools"})]}),s.jsx(i,{children:s.jsxs("div",{className:"space-y-2",children:[s.jsx(t,{variant:"ghost",asChild:!0,className:"w-full justify-start","data-testid":"button-recent-ai-usage",children:s.jsxs(l,{href:"/admin/analytics/ai-usage",children:[s.jsx(d,{className:"h-4 w-4 mr-2"}),"AI Usage Analytics"]})}),s.jsx(t,{variant:"ghost",asChild:!0,className:"w-full justify-start","data-testid":"button-recent-overview",children:s.jsxs(l,{href:"/admin/analytics/admin-analytics",children:[s.jsx(h,{className:"h-4 w-4 mr-2"}),"Analytics Overview"]})})]})})]})]})}export{u as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.