import{c as n,j as r,E as d,r as f,u as x,b as j}from"./index-DAmbTOxS.js";import{T as h}from"./tasks-panel-xhzWg28a.js";import{P as p}from"./index-DG2fU15Y.js";import{B as g,a as b,b as T,c as k}from"./breadcrumb-CdWsOBPt.js";import{i as B}from"./Loading01-CjjE3eBW.js";import{u as S}from"./collapsible-Bp_YQ1BM.js";import"./index-CQVVuedh.js";import"./popover-Cmi_uUkW.js";import"./skeleton-RkOo2TsK.js";import"./spinner-vnsl-KUj.js";import"./tooltip-BH1aeIjU.js";import"./index-CR1W-IZC.js";import"./constants-xmw1fMHh.js";import"./decopilot-events-0xLoQDoX.js";import"./useQuery-B4nMPmUe.js";import"./dialog-BzNDvgYI.js";import"./X-DID3bf3T.js";import"./form-Cy3Jwk-Q.js";import"./label-CZMyG7OM.js";import"./input-PH_B9jsb.js";import"./usage-B8eRkRZY.js";import"./ArrowUp-CQq_iQrI.js";import"./ChevronDown-C60hOPCP.js";import"./Edit01-CE3Lg5ZM.js";import"./Users03-CoKOCw50.js";import"./XCircle-AltdUevh.js";import"./AlertCircle-DNgqx8KI.js";import"./select-IzFKXHyx.js";import"./Check-BvMJM-Sw.js";import"./tabs-DK-xG_j5.js";import"./localstorage-keys-Dd8wt3F6.js";import"./useMutation-CD3w4aw8.js";import"./ArrowLeft-UNV7B-AG.js";import"./use-copy-BGu1WqOT.js";import"./badge-BAP-lcs5.js";import"./Code01-Db51N7Ml.js";import"./integration-icon-C_X_mJPp.js";import"./Container-B8DmhgZQ.js";import"./use-virtual-mcp-BzckzJP9.js";import"./use-collections-6zQXOG_F.js";import"./SearchMd-C_1lW0Ah.js";import"./use-create-virtual-mcp-DerbEulf.js";import"./use-mcp-resources-D8ui0z-w.js";import"./ChevronRight-Sru8EpEz.js";import"./Copy01-Dd1E3TCJ.js";import"./marked.esm-BaswSlok.js";import"./markdown-B3R8LeLR.js";import"./mcp-app-renderer--eX10QZ5.js";import"./types-tRNNwmgc.js";import"./Eye-CCXNKQ3i.js";import"./Globe02-BHELIlHY.js";import"./LayersTwo01-DbxVUzP3.js";import"./XClose-DUBNCpe4.js";import"./collection-search-D8yWk6Rw.js";import"./use-connection-DE-37ZRw.js";import"./generate-id-Dyweu44Y.js";import"./Clock-Dfwp-ruh.js";import"./Trash01-DGY6Zmte.js";import"./user-v5BJSUZP.js";import"./avatar-DR86yZfU.js";import"./format-time-CMKyl-GC.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./CheckCircle-NPrGj804.js";import"./Plus-4XunsH-w.js";import"./use-llm-G4Pt8Suw.js";import"./use-binding-DJJU0pVY.js";import"./binder-CFsqRWyE.js";import"./checkbox-B-1-mid3.js";import"./AlignLeft-D2gIcSDq.js";import"./Image01-hprGlSB4.js";import"./RefreshCcw01-DIjgBTR_.js";import"./Settings01-LKv7FQos.js";import"./useSuspenseInfiniteQuery-9BwyFrU-.js";import"./infiniteQueryObserver-B0HPJqVy.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 Mt(){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{Mt as default};
