1import{r as f}from"../chunks/IKQcdn9t.js";import{h as c,l as v,m as y,v as $}from"../chunks/BHaOeUdi.js";import"../chunks/Bzak7iHL.js";import{a_ as S,bu as w,W as m,af as p,z as r,aW as x,T as A,al as j,b3 as z,ai as L,bt as O}from"../chunks/CK5hUeLe.js";import{i as P,s as R,a as T}from"../chunks/2b-3-0EY.js";import{s as W}from"../chunks/L4bQiiuj.js";import{g as k}from"../chunks/BMkAVatk.js";import{A as E}from"../chunks/gsrIP21-.js";import{L as F}from"../chunks/DfTOu0G-.js";import{t as M}from"../chunks/X5IA7BCB.js";const q=!1;async function B(){await c();const e=v();e||f(302,"/login?platform=1"),e.role!=="platform_admin"&&f(302,y(e.role))}const X=Object.freeze(Object.defineProperty({__proto__:null,load:B,ssr:q},Symbol.toStringTag,{value:"Module"}));var C=L('<div class="mx-auto max-w-7xl px-6 py-7"><!></div>');function Y(e,s){S(s,!0);const l=()=>T($,"$session",d),[d,u]=R();w(()=>{l()||(async()=>(await c(),v()||await k("/login?platform=1")))()});var i=m(),h=p(i);{var b=a=>{E(a,{title:"shell.title.platformAdmin",nav:[{href:"/platform/dashboard",label:"nav.tenants"},{href:"/platform/mcp",label:"nav.mcp"},{href:"/platform/settings",label:"nav.tusStorage"},{href:"/platform/email",label:"nav.platformEmail"},{href:"/platform/observability",label:"nav.observability"},{href:"/platform/profile",label:"nav.profile",section:"nav.section.account"},{href:"/platform/help",label:"nav.help"}],children:(o,n)=>{var t=m(),g=p(t);W(g,()=>s.children),r(o,t)},$$slots:{default:!0}})},_=a=>{var o=C(),n=A(o);{let t=O(()=>M("auth.login.redirecting"));F(n,{get label(){return j(t)},rows:3})}z(o),r(a,o)};P(h,a=>{l()?a(b):a(_,-1)})}r(e,i),x(),u()}export{Y as component,X as universal};
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.