(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,778496,e=>{"use strict";var s=e.i(9323),l=e.i(739347),t=e.i(630095),a=e.i(926370);e.i(1650);var i=e.i(511495),r=e.i(425235),o=e.i(928112);e.s(["GlobalChatDrawerClient",0,function(){let e=(0,t.useRouter)(),c=(0,t.usePathname)(),n=(0,l.useCallback)(()=>{e.push("/control-center")},[e]);return(0,s.jsx)(i.BaseDrawer,{open:"/chat"===c,onClose:n,size:"lg",modal:!1,"data-testid":"global-chat-drawer",children:(0,s.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col",children:[(0,s.jsx)("div",{className:"shrink-0 px-4 pt-4 pb-3",children:(0,s.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,s.jsx)("div",{className:"bg-primary/10 flex h-7 w-7 items-center justify-center rounded-full",children:(0,s.jsx)(a.Bot,{className:"text-primary h-4 w-4"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-foreground text-base font-semibold tracking-tight",children:"Shep Assistant"}),(0,s.jsx)("p",{className:"text-muted-foreground text-xs",children:"Global session — controls all repositories"})]})]})}),(0,s.jsx)(r.Separator,{}),(0,s.jsx)("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden",children:(0,s.jsx)(o.ChatTab,{featureId:"global"})})]})})}])}]);