import{g as o,a as c,j as e,__tla as h}from"./FontSizeProvider-Cy0K7gvl.js";import{o as p}from"./ProviderIcon-D3tRBvxU.js";import{L as l,O as x}from"./LinkComponent-BNBw6Z6W.js";import{c as s,C as g}from"./trash-2-Dx96Ty-c.js";import{B as f}from"./brain-circuit-E5LTXM_M.js";import{B as d,__tla as y}from"./Layout-DSO4xVx8.js";import{an as u,__tla as j}from"./index-KoiODSx1.js";import{I as k}from"./info-DfLcFogF.js";let n,_=Promise.all([(()=>{try{return h}catch{}})(),(()=>{try{return y}catch{}})(),(()=>{try{return j}catch{}})()]).then(async()=>{const i=s("Combine",[["rect",{width:"8",height:"8",x:"2",y:"2",rx:"2",key:"z1hh3n"}],["path",{d:"M14 2c1.1 0 2 .9 2 2v4c0 1.1-.9 2-2 2",key:"83orz6"}],["path",{d:"M20 2c1.1 0 2 .9 2 2v4c0 1.1-.9 2-2 2",key:"k86dmt"}],["path",{d:"M10 18H5c-1.7 0-3-1.3-3-3v-1",key:"6vokjl"}],["polyline",{points:"7 21 10 18 7 15",key:"1k02g0"}],["rect",{width:"8",height:"8",x:"14",y:"14",rx:"2",key:"1fa9i4"}]]);let r;r=s("Share",[["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["polyline",{points:"16 6 12 2 8 6",key:"m901s6"}],["line",{x1:"12",x2:"12",y1:"2",y2:"15",key:"1p0rca"}]]),n=({children:m})=>{const a=o(),{t}=c(["settings","common","openai"]);return e.jsx("div",{className:"flex min-h-screen  w-full flex-col",children:e.jsx("main",{className:"relative w-full flex-1",children:e.jsx("div",{className:"mx-auto w-full h-full custom-scrollbar overflow-y-auto",children:e.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-x-16 lg:px-24",children:[e.jsx("aside",{className:"sticky lg:mt-0 mt-14 top-0  bg-white dark:bg-[#1a1a1a] border-b dark:border-gray-600 lg:border-0 lg:bg-transparent lg:dark:bg-transparent",children:e.jsx("nav",{className:"w-full overflow-x-auto px-4 py-4 sm:px-6 lg:px-0 lg:py-0 lg:mt-20",children:e.jsxs("ul",{role:"list",className:"flex flex-row lg:flex-col gap-x-3 gap-y-1 min-w-max lg:min-w-0",children:[e.jsx(l,{href:"/settings",name:t("generalSettings.title"),icon:x,current:a.pathname}),e.jsx(l,{href:"/settings/rag",name:t("rag.title"),icon:i,current:a.pathname}),e.jsx(l,{href:"/settings/ollama",name:t("ollamaSettings.title"),icon:p,current:a.pathname}),!1,e.jsx(l,{href:"/settings/openai",name:t("openai:settings"),icon:g,current:a.pathname}),e.jsx(l,{href:"/settings/model",name:t("manageModels.title"),current:a.pathname,icon:f}),e.jsx(l,{href:"/settings/knowledge",name:e.jsx("div",{className:"inline-flex items-center gap-2",children:t("manageKnowledge.title")}),icon:d,current:a.pathname}),e.jsx(l,{href:"/settings/prompt",name:t("managePrompts.title"),icon:u,current:a.pathname}),e.jsx(l,{href:"/settings/share",name:t("manageShare.title"),icon:r,current:a.pathname}),e.jsx(l,{href:"/settings/about",name:t("about.title"),icon:k,current:a.pathname})]})})}),e.jsx("main",{className:"flex-1 px-4 py-8 sm:px-6 lg:px-0 lg:py-20",children:e.jsx("div",{className:"mx-auto max-w-4xl space-y-8 sm:space-y-10",children:m})})]})})})})}});export{n as S,_ as __tla};
