module.exports=[26435,a=>{"use strict";var b=a.i(7997),c=a.i(5072);a.i(70396);var d=a.i(73727);async function e({children:a}){let{sessionClaims:f}=await (0,c.auth)(),g=f?.metadata,h=f?.public_metadata;return g?.role!=="admin"&&h?.role!=="admin"&&(0,d.redirect)("/"),(0,b.jsxs)("div",{className:"flex flex-col w-full min-h-screen bg-background",children:[(0,b.jsxs)("div",{className:"w-full bg-card border-b border-border px-6 py-3 flex items-center justify-between",children:[(0,b.jsx)("span",{className:"font-bold text-primary tracking-tight",children:"Admin Command Center"}),(0,b.jsx)("span",{className:"text-xs text-muted-foreground uppercase tracking-widest font-semibold bg-primary/10 px-2 py-1 rounded",children:"Secure Session"})]}),(0,b.jsx)("main",{className:"flex-1 w-full p-6",children:a})]})}a.s(["default",0,e])},67971,a=>{a.n(a.i(26435))}];

//# sourceMappingURL=app_admin_layout_tsx_0yjsw7q._.js.map