import{S as c,i as d,s as m,n as i,d as r,b as l,r as b,u as p,h,e as f,w as x,k as u,j as v,l as g,y as _}from"../chunks/DfpL3vsM.js";import"../chunks/IHki7fMi.js";import{c as w}from"../chunks/C4PhwnwB.js";import"../chunks/CmyxTY1z.js";import{g as y}from"../chunks/BPIWuEio.js";function k(n){let t,e,s='<header class="bg-base-100 border-base-300 sticky top-0 z-20 border-b"><div class="mx-auto flex max-w-7xl items-center justify-between px-4 py-3"><a class="flex items-center gap-2" href="/"><div class="flex items-center gap-1.5 h-7 w-auto"><span class="text-base-content/80 text-lg font-semibold">Admin</span></div></a> <div></div></div> <nav class="mx-auto max-w-7xl px-4"><div class="tabs tabs-border flex items-center gap-2 overflow-auto"><a href="/admin" data-sveltekit-prefetch="" class="tab font-semibold tab-active">Dashboard</a> <a href="/admin/users" data-sveltekit-prefetch="" class="tab font-semibold">Users</a> <a href="/admin/alliances" data-sveltekit-prefetch="" class="tab font-semibold">Alliances</a></div></nav></header> <main class="mx-auto max-w-7xl px-4 py-4"><div><section class="rounded-box bg-base-100 border-base-300 border p-4 shadow"><h2 class="text-xl font-semibold">Dashboard</h2> <p class="text-base-content/80 mt-1">Admin dashboard content coming soon...</p></section></div></main>';return{c(){t=u(),e=v("div"),e.innerHTML=s,this.h()},l(a){p("svelte-1l26xoh",document.head).forEach(r),t=h(a),e=f(a,"DIV",{class:!0,"data-svelte-h":!0}),x(e)!=="svelte-38hood"&&(e.innerHTML=s),this.h()},h(){document.title="Admin Dashboard - openplace",b(e,"class","bg-base-200 min-h-screen")},m(a,o){l(a,t,o),l(a,e,o)},p:i,i,o:i,d(a){a&&(r(t),r(e))}}}function A(n,t,e){let s;return g(n,w,a=>e(0,s=a)),_(()=>{(!s||s.allianceRole!=="admin")&&y("/")}),[]}class C extends c{constructor(t){super(),d(this,t,A,k,m,{})}}export{C as component};
