import{r as i,j as e,t as n,T as m}from"./main-239552ae.js";import{u as p,R as l,A as d,V as x}from"./admin-routes-cb411577.js";import{D as c}from"./user-profile-link-0c8224d9.js";import"./section-helper-79a95256.js";import"./OpenInNew-32d7773a.js";function f(){const[s,a]=i.useState(()=>c[2].getRangeValue()),{isLoading:o,data:t}=p({dateRange:s}),r=e.jsx(m,{message:"Visitors report"});return e.jsxs("div",{className:"min-h-full gap-12 overflow-x-hidden p-12 md:gap-18 md:p-18",children:[e.jsxs("div",{className:"mb-24 items-center justify-between gap-24 md:flex",children:[e.jsx(n,{children:r}),e.jsx("h1",{className:"mb-24 text-3xl font-light md:mb-0",children:r}),e.jsx(l,{value:s,onChange:a})]}),e.jsx(d,{report:t==null?void 0:t.headerReport}),e.jsx(x,{report:t==null?void 0:t.visitorsReport,isLoading:o})]})}export{f as default};
//# sourceMappingURL=admin-report-page-632b991d.js.map
