import{g,c as o,h as b,i as f,k as w,j as c,U as C,T as y,u as k,V as D}from"./index-DoPpOINE.js";import{r as s}from"./vendor-DJo4KD8w.js";import{T as M}from"./ToolbarPanels-CjWlSOUC.js";import{u as T}from"./i18n-BbpF47i1.js";import{F as L}from"./CommandLineIcon-Ba4gpk8e.js";import"./routing-o1npPvOW.js";import"./XMarkIcon-KMKD47CF.js";function x({title:t,titleId:e,...n},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":e},n),t?s.createElement("title",{id:e},t):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z"}))}const O=s.forwardRef(x);function S({title:t,titleId:e,...n},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":e},n),t?s.createElement("title",{id:e},t):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 17.25v-.228a4.5 4.5 0 0 0-.12-1.03l-2.268-9.64a3.375 3.375 0 0 0-3.285-2.602H7.923a3.375 3.375 0 0 0-3.285 2.602l-2.268 9.64a4.5 4.5 0 0 0-.12 1.03v.228m19.5 0a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3m19.5 0a3 3 0 0 0-3-3H5.25a3 3 0 0 0-3 3m16.5 0h.008v.008h-.008v-.008Zm-3 0h.008v.008h-.008v-.008Z"}))}const E=s.forwardRef(S);function j(){const t=o(k().activeSession$),n=!!o(t==null?void 0:t.user$);return c.jsx(D,{isFullyAuthenticated:n,isAuthenticated:n,hasValidBackendToken:n})}function B(){const{t}=T(),e=(i,v)=>t(`AdminDevOps.${i}`,v),n=g(),a=o(n.activePanel$)??null,{theme:u,setTheme:r}=b(),{showLineNumbers:m,toggleLineNumbers:l}=f(),d=s.useCallback(({theme:i})=>{r(i)},[r]),p=s.useCallback(()=>{l()},[l]);w({"settings:theme-changed":d,"settings:line-numbers-toggled":p});const h=[{title:e("systemMonitoring"),description:e("systemMonitoringDescription"),icon:O,available:e("systemMonitoringCLI")},{title:e("serviceManagement"),description:e("serviceManagementDescription"),icon:E,available:e("serviceManagementCLI")},{title:e("deploymentControl"),description:e("deploymentControlDescription"),icon:L,available:e("deploymentControlCLI")}];return c.jsx(C,{suggestedFeatures:h,theme:u,showLineNumbers:m,activePanel:a,translations:{title:e("title"),subtitle:e("subtitle"),systemStatus:e("systemStatus"),cliOperations:e("cliOperations"),cliOperationsDescription:e("cliOperationsDescription"),cliTitle:e("cliTitle"),cliDescription:e("cliDescription")},StatusDisplay:j,ToolbarPanels:M,Toolbar:y})}export{B as default};
//# sourceMappingURL=page-D_6K1M4j.js.map
