import{_ as p}from"./vendor-pdf-b2a5d8b1.js";import{j as e}from"./vendor-mui-69397583.js";import{M as d,S as c,U as u,s as x,a as f,H as j}from"./ClassicLayout-7d09e5ac.js";import{V as g}from"./Views-74429e81.js";import{c as s,r as a}from"./vendor-react-ece1c85f.js";import{u as b,a as h,P as y,b as v}from"./index-c62ac197.js";import{L as E}from"./Logo-3f3c9ee6.js";import"./SidePanelContent-6b13836f.js";import"./Switcher-c8648037.js";import"./index-ec2010d2.js";import"./index-6b6d0f06.js";import"./useControllableState-d0909575.js";import"./DoubleSidedImage-ae98733b.js";import"./Drawer-949c18c6.js";import"./index-c2088808.js";import"./useDidUpdate-25c4d4ed.js";import"./Alert-7dfbd254.js";import"./FormContainer-91c2b0e4.js";import"./index-36228db5.js";import"./Upload-fb34ce03.js";import"./vendor-devex-33a39e11.js";import"./index-aaad94c2.js";import"./index-e4c6057f.js";import"./index-f6be0390.js";import"./vendor-i18n-2fcb1983.js";import"./index-ea125a16.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-eccea5d1.js";const S=s.lazy(()=>p(()=>import("./AiCa-9c1b25b2.js"),["assets/AiCa-9c1b25b2.js","assets/vendor-mui-69397583.js","assets/vendor-react-ece1c85f.js","assets/index-c62ac197.js","assets/vendor-redux-a1f00e6b.js","assets/vendor-pdf-b2a5d8b1.js","assets/vendor-devex-33a39e11.js","assets/vendor-i18n-2fcb1983.js","assets/vendor-msal-9caa1ed1.js","assets/vendor-charts-eccea5d1.js","assets/index-8c229076.css","assets/MessageInput-6dc83761.js","assets/index-42e65911.js","assets/useDeviceCheck-920641a5.js","assets/Alert-7dfbd254.js","assets/index-6b6d0f06.js","assets/useControllableState-d0909575.js","assets/index-c2088808.js","assets/useDidUpdate-25c4d4ed.js","assets/Drawer-949c18c6.js","assets/FormContainer-91c2b0e4.js","assets/Switcher-c8648037.js","assets/index-36228db5.js","assets/Upload-fb34ce03.js","assets/BrainServices-a4bb698e.js","assets/index-f6be0390.js"])),_=s.memo(r=>{const{menus:o}=r;return e.jsxs(e.Fragment,{children:[e.jsx(E,{type:"streamline",imgClass:"mx-auto mobile-only"}),e.jsx(d,{menus:o}),e.jsx(c,{})]})}),M=s.memo(()=>e.jsxs(e.Fragment,{children:[e.jsx(a.Suspense,{fallback:null,children:e.jsx(S,{})}),e.jsx(u,{hoverable:!1})]})),N=()=>{const[r,o]=a.useState([]);b(),h(),a.useEffect(()=>{n()},[]);const n=async()=>{var m;const i=localStorage.getItem(y);if(i){const t=await v(i,"default");let l=x((m=t==null?void 0:t.data)==null?void 0:m.$values);o(l??[])}else o([])};return e.jsx("div",{className:"app-layout-modern flex flex-auto flex-col",children:e.jsxs("div",{className:"flex flex-auto min-w-0",children:[e.jsx(f,{menus:r}),e.jsxs("div",{className:"flex flex-col flex-auto min-h-screen min-w-0 relative w-full bg-white dark:bg-gray-800 border-l border-gray-200 dark:border-gray-700",children:[e.jsx(j,{className:"border-b border-gray-200 dark:border-gray-700",headerEnd:e.jsx(M,{}),headerStart:e.jsx(_,{menus:r})}),e.jsx(g,{})]})]})})},oe=s.memo(N);export{oe as default};
