import{c as n,j as r,E as d,r as f,u as x,b as j}from"./index-U8yTDca7.js";import{T as h}from"./tasks-panel-B4G-0MoM.js";import{P as p}from"./index-DBJYDzwg.js";import{B as g,a as b,b as T,c as k}from"./breadcrumb-CuW3e8GL.js";import{i as B}from"./Loading01-BqZPjLUL.js";import{u as S}from"./collapsible-DkKt_ZpX.js";import"./index-6ZQexL02.js";import"./popover-Pw_L4k8Y.js";import"./skeleton-C5Q1NNSv.js";import"./spinner-BoeFGggs.js";import"./tooltip-Az0qqeXN.js";import"./index-Ds-_NbMX.js";import"./constants-DTB7OETZ.js";import"./decopilot-events-BdfKGU-p.js";import"./useQuery-5ZDNJc1s.js";import"./dialog-DrNXXANr.js";import"./X-FdOprCfp.js";import"./form-SmHfTUUT.js";import"./label-Bf0lesTu.js";import"./input-DOiflCWe.js";import"./usage-B8eRkRZY.js";import"./ArrowUp-D8OfF8a6.js";import"./ChevronDown-CG1cCCiw.js";import"./Edit01-DiGe0rMV.js";import"./Lock01-BTWWa9r0.js";import"./Users03--OJjjeuM.js";import"./XCircle-LOOTsunp.js";import"./AlertCircle-Ccl-05Dq.js";import"./select-lvFASMQQ.js";import"./Check-CL49s9Bl.js";import"./tabs-C0RPT9IP.js";import"./localstorage-keys-BqiTN_31.js";import"./useMutation-DytEPkqh.js";import"./ArrowLeft-CUhX3M1p.js";import"./use-copy-BfyNuRvE.js";import"./badge-1CDBdXDs.js";import"./Code01-8Az-svuR.js";import"./integration-icon-CQ1n5ppJ.js";import"./Container-dYTfUn5d.js";import"./use-virtual-mcp-D4i_Ew-J.js";import"./use-collections-CN2TJbh7.js";import"./SearchMd-D3THAFfu.js";import"./use-create-virtual-mcp-D-sLder4.js";import"./use-mcp-resources-CXWxuBPP.js";import"./ChevronRight-CnhF2HVf.js";import"./Copy01-DKWM3-Cd.js";import"./marked.esm-BaswSlok.js";import"./markdown-BLHQULU9.js";import"./mcp-app-renderer-BS-Ag69A.js";import"./types-BmXorGle.js";import"./Eye-HqhkOMp3.js";import"./Globe02-CBOwiEXi.js";import"./LayersTwo01-Df6fe09S.js";import"./XClose-u2UUtB9I.js";import"./collection-search-CMCsOI1D.js";import"./use-connection-iQvUBAn8.js";import"./generate-id-Dyweu44Y.js";import"./Clock-BWIthDHM.js";import"./Trash01-BLyORFpw.js";import"./user-DTHzV6e9.js";import"./avatar-BTrmVIKy.js";import"./format-time-CMKyl-GC.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./CheckCircle-CczOjLOv.js";import"./Plus-7bvNbAWU.js";import"./dropdown-menu-CP9xXuMG.js";import"./use-llm-B5bn7xMr.js";import"./use-binding-CCIfD8Jg.js";import"./binder-DyZqr2VO.js";import"./checkbox-BNXC0Egg.js";import"./AlignLeft-C3D9KrDH.js";import"./Image01-DAO-V3TF.js";import"./RefreshCcw01-CmkuGAui.js";import"./Settings01-ByHBd9Gx.js";import"./useSuspenseInfiniteQuery-WOl5_lsV.js";import"./infiniteQueryObserver-BcF4FR_y.js";function v(){const t=n.c(8),{org:o,project:s}=x(),a=j(),{switchToTask:c}=S();let i;t[0]!==a||t[1]!==o.slug||t[2]!==s.slug||t[3]!==c?(i=async u=>{await c(u),a({to:"/$org/$project",params:{org:o.slug,project:s.slug}})},t[0]=a,t[1]=o.slug,t[2]=s.slug,t[3]=c,t[4]=i):i=t[4];const l=i;let m;t[5]===Symbol.for("react.memo_cache_sentinel")?(m=r.jsx(p.Header,{children:r.jsx(p.Header.Left,{children:r.jsx(g,{children:r.jsx(b,{children:r.jsx(T,{children:r.jsx(k,{children:"Tasks"})})})})})}),t[5]=m):m=t[5];let e;return t[6]!==l?(e=r.jsxs(p,{children:[m,r.jsx(p.Content,{children:r.jsx("div",{className:"h-full flex flex-col overflow-hidden",children:r.jsx(h,{onTaskSelect:l})})})]}),t[6]=l,t[7]=e):e=t[7],e}function Qt(){const t=n.c(1);let o;return t[0]===Symbol.for("react.memo_cache_sentinel")?(o=r.jsx(d,{children:r.jsx(f.Suspense,{fallback:r.jsx("div",{className:"flex h-full items-center justify-center",children:r.jsx(B,{size:32,className:"animate-spin text-muted-foreground"})}),children:r.jsx(v,{})})}),t[0]=o):o=t[0],o}export{Qt as default};
