import{c as o,u as C,g as w,e as T,h as y,i as P,k as S,j as L,w as M,T as x,x as A}from"./index-Bsr9DJ3G.js";import{r}from"./vendor-DJo4KD8w.js";import{T as $}from"./ToolbarPanels-CPoZvoTB.js";import{u as E}from"./i18n-BbpF47i1.js";import"./routing-DCIgrT7s.js";import"./XMarkIcon-KMKD47CF.js";function O(){var a;const{t:l}=E(),e=(i,v)=>l(`AdminSecurity.${i}`,v),c=(a=o(C().activeSession$))==null?void 0:a.client,d=w(),n=T(()=>A(c,d)),u=o(n.browse.activePanel$)??null,m=o(n.providers$)??[],g=o(n.allowedDomains$)??[],f=o(n.isLoading$)??!0,{theme:p,setTheme:s}=y(),{showLineNumbers:D,toggleLineNumbers:t}=P(),h=r.useCallback(({theme:i})=>{s(i)},[s]),b=r.useCallback(()=>{t()},[t]);return S({"settings:theme-changed":h,"settings:line-numbers-toggled":b}),L.jsx(M,{providers:m,allowedDomains:g,isLoading:f,theme:p,showLineNumbers:D,activePanel:u,translations:{title:e("title"),subtitle:e("subtitle"),oauthProviders:e("oauthProviders"),oauthProvidersDescription:e("oauthProvidersDescription"),clientId:e("clientId"),configured:e("configured"),noProvidersConfigured:e("noProvidersConfigured"),allowedDomains:e("allowedDomains"),allowedDomainsDescription:e("allowedDomainsDescription"),noDomainsConfigured:e("noDomainsConfigured"),configManagementTitle:e("configManagementTitle"),configManagementDescription:e("configManagementDescription"),configLocalDev:e("configLocalDev"),configCloudDeploy:e("configCloudDeploy"),configCloudDeployCommand:e("configCloudDeployCommand"),configCloudDeployEnd:e("configCloudDeployEnd"),configAWS:e("configAWS")},ToolbarPanels:$,Toolbar:x})}export{O as default};
//# sourceMappingURL=client-D04WIU14.js.map
