(()=>{var e={};e.id=8819,e.ids=[8819],e.modules={72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},55315:e=>{"use strict";e.exports=require("path")},17360:e=>{"use strict";e.exports=require("url")},94285:(e,s,r)=>{"use strict";r.r(s),r.d(s,{GlobalError:()=>i.a,__next_app__:()=>m,originalPathname:()=>x,pages:()=>c,routeModule:()=>p,tree:()=>l}),r(29047),r(51347),r(30935),r(26083),r(96560);var t=r(23191),a=r(88716),n=r(37922),i=r.n(n),d=r(95231),o={};for(let e in d)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(o[e]=()=>d[e]);r.d(s,o);let l=["",{children:["systemadmin",{children:["drivers",{children:["ordering",{children:["dashboard",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,29047)),"/Users/ferlando/Desktop/baboon-nextjs/app/systemadmin/drivers/ordering/dashboard/page.tsx"]}]},{}]},{}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,51347)),"/Users/ferlando/Desktop/baboon-nextjs/app/systemadmin/layout.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,24697))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,30935)),"/Users/ferlando/Desktop/baboon-nextjs/app/layout.tsx"],error:[()=>Promise.resolve().then(r.bind(r,26083)),"/Users/ferlando/Desktop/baboon-nextjs/app/error.tsx"],"not-found":[()=>Promise.resolve().then(r.bind(r,96560)),"/Users/ferlando/Desktop/baboon-nextjs/app/not-found.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,24697))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],c=["/Users/ferlando/Desktop/baboon-nextjs/app/systemadmin/drivers/ordering/dashboard/page.tsx"],x="/systemadmin/drivers/ordering/dashboard/page",m={require:r,loadChunk:()=>Promise.resolve()},p=new t.AppPageRouteModule({definition:{kind:a.x.APP_PAGE,page:"/systemadmin/drivers/ordering/dashboard/page",pathname:"/systemadmin/drivers/ordering/dashboard",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:l}})},94930:(e,s,r)=>{Promise.resolve().then(r.bind(r,3717))},35303:()=>{},3717:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>n});var t=r(10326),a=r(17577);function n(){let[e,s]=(0,a.useState)({pending:0,active:0,completed:0}),[r,n]=(0,a.useState)(!0);return r?t.jsx("div",{className:"text-gray-500",children:"Loading..."}):(0,t.jsxs)("div",{children:[t.jsx("h1",{className:"text-2xl font-bold mb-6",children:"Ordering Dashboard"}),(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-4 mb-8",children:[(0,t.jsxs)("div",{className:"bg-yellow-50 rounded-xl p-6 text-center",children:[t.jsx("p",{className:"text-3xl font-bold text-yellow-600",children:e.pending}),t.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Pending"})]}),(0,t.jsxs)("div",{className:"bg-blue-50 rounded-xl p-6 text-center",children:[t.jsx("p",{className:"text-3xl font-bold text-blue-600",children:e.active}),t.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Active"})]}),(0,t.jsxs)("div",{className:"bg-green-50 rounded-xl p-6 text-center",children:[t.jsx("p",{className:"text-3xl font-bold text-green-600",children:e.completed}),t.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Completed"})]})]})]})}},29047:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>t});let t=(0,r(68570).createProxy)(String.raw`/Users/ferlando/Desktop/baboon-nextjs/app/systemadmin/drivers/ordering/dashboard/page.tsx#default`)},51347:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>a});var t=r(19510);function a({children:e}){return(0,t.jsxs)("div",{className:"min-h-screen bg-gray-100",children:[t.jsx("nav",{className:"bg-gray-800 text-white",children:(0,t.jsxs)("div",{className:"container mx-auto px-4 py-3 flex items-center justify-between",children:[t.jsx("a",{href:"/systemadmin",className:"text-lg font-bold",children:"Baboon Admin"}),(0,t.jsxs)("div",{className:"flex items-center gap-4 text-sm",children:[t.jsx("a",{href:"/systemadmin",className:"hover:text-orange-400",children:"Dashboard"}),t.jsx("a",{href:"/systemadmin/drivers",className:"hover:text-orange-400",children:"Drivers"}),t.jsx("a",{href:"/systemadmin/restaurants",className:"hover:text-orange-400",children:"Restaurants"}),t.jsx("a",{href:"/systemadmin/users",className:"hover:text-orange-400",children:"Users"}),t.jsx("a",{href:"/systemadmin/couriers",className:"hover:text-orange-400",children:"Couriers"})]})]})}),t.jsx("main",{className:"container mx-auto px-4 py-6",children:e})]})}}};var s=require("../../../../../webpack-runtime.js");s.C(e);var r=e=>s(s.s=e),t=s.X(0,[8948,3314,9929,5099],()=>r(94285));module.exports=t})();