module.exports=[300737,a=>{"use strict";var b=a.i(225526),c=a.i(303406);a.s(["useInitialCollapsedSidebar",0,function(){let{setSidebarOpen:a}=(0,c.useAgentActions)();(0,b.useEffect)(()=>(a({isSidebarSessionOpen:!1}),()=>{a({isSidebarSessionOpen:!0})}),[])}])},257454,a=>{"use strict";var b=a.i(542082),c=a.i(225526),d=a.i(66753);let e=(0,c.createContext)(null);a.s(["CopilotProvider",0,function({children:a}){let[f,g]=(0,c.useState)(!1),[h,i]=(0,c.useState)(!1),j=(0,c.useRef)(null),[k,l]=(0,c.useState)({}),{PUBLIC_INKEEP_COPILOT_APP_ID:m}=(0,d.useRuntimeConfig)(),n=!!m;return n||console.warn("Copilot is not configured."),(0,b.jsx)(e,{value:{isOpen:f,setIsOpen:g,isStreaming:h,setIsStreaming:i,chatFunctionsRef:j,openCopilot:()=>g(!0),dynamicHeaders:k,setDynamicHeaders:l,isCopilotConfigured:n},children:a})},"useCopilotContext",0,function(){let a=(0,c.use)(e);if(!a)throw Error("useCopilotContext must be used within a <CopilotProvider />");return a}])},914073,a=>{"use strict";var b=a.i(542082),c=a.i(379354),d=a.i(257454),e=a.i(300737);a.s(["default",0,({children:a})=>((0,e.useInitialCollapsedSidebar)(),(0,b.jsx)(c.ReactFlowProvider,{children:(0,b.jsx)(d.CopilotProvider,{children:a})}))])}];

//# sourceMappingURL=agents-manage-ui_src_115r0pn._.js.map