import{h as i,r as o,j as s,aJ as n,I as e}from"./index-f9c70843.js";import{P as f}from"./index-b46c96fb.js";import{S as m}from"./index-76bfb770.js";import"./index-e5253f5c.js";import"./popover-6c4eec5c.js";import"./index-d8909728.js";import"./tabs-d59cdba9.js";import"./index-49516451.js";import"./input-ae70f3cc.js";import"./textarea-2b2c5564.js";import"./checkbox-5461a929.js";import"./shortcuts-faa601b8.js";import"./index-879843fd.js";function S(){const t=location.pathname,a=i(l=>l.setCurrentFlowId);o.useEffect(()=>{a("")},[t]);const r=[{title:"General",href:"/settings/general",icon:s.jsx(e,{name:"SlidersHorizontal",className:"w-4 flex-shrink-0 justify-start stroke-[1.5]"})},{title:"Global Variables",href:"/settings/global-variables",icon:s.jsx(e,{name:"Globe",className:"w-4 flex-shrink-0 justify-start stroke-[1.5]"})},{title:"Langflow API",href:"/settings/api-keys",icon:s.jsx(e,{name:"Key",className:"w-4 flex-shrink-0 justify-start stroke-[1.5]"})},{title:"Shortcuts",href:"/settings/shortcuts",icon:s.jsx(e,{name:"Keyboard",className:"w-4 flex-shrink-0 justify-start stroke-[1.5]"})},{title:"Messages",href:"/settings/messages",icon:s.jsx(e,{name:"MessagesSquare",className:"w-4 flex-shrink-0 justify-start stroke-[1.5]"})}];return s.jsx(f,{title:"Settings",description:"Manage the general settings for Langflow.",children:s.jsxs("div",{className:"flex h-full w-full space-y-8 lg:flex-row lg:space-x-8 lg:space-y-0",children:[s.jsx("aside",{className:"flex h-full shrink-0 flex-col space-y-6 lg:w-[20vw]",children:s.jsx(m,{items:r})}),s.jsx("div",{className:"flex h-full w-full flex-1 flex-col",children:s.jsx("div",{className:"flex-1 pb-8",children:s.jsx(n,{})})})]})})}export{S as default};
