import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{A5 as t,Dvt as n,Mvt as r,O_t as i,P_t as a,Rft as o,Vft as s,aO as c,hX as l,iO as u,nB as d,rB as f,vX as p,z5 as m}from"./app-initial-BHB6SClA.js";function h(){let e=(0,_.c)(7),{server:t,toolName:n}=m(),r=a(p),i;e[0]!==t||e[1]!==n||e[2]!==r?(i=t==null||n==null?null:r.find(e=>e.server===t&&e.tool.name===n)??null,e[0]=t,e[1]=n,e[2]=r,e[3]=i):i=e[3];let o=i;if(o==null){let t;return e[4]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,v.jsx)(g,{}),e[4]=t):t=e[4],t}let s;return e[5]===o?s=e[6]:(s=(0,v.jsx)(d,{view:o}),e[5]=o,e[6]=s),s}function g(){let e=(0,_.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,v.jsx)(`div`,{className:`flex h-full min-h-0 items-center justify-center`,children:(0,v.jsx)(u,{title:(0,v.jsx)(s,{id:`openaiMcpCapabilities.view.notFound`,defaultMessage:`MCP app view not found`,description:`Title shown when an MCP app view route does not match an available server tool`})})}),e[0]=t):t=e[0],t}var _,v;e((()=>{_=r(),i(),o(),t(),c(),l(),f(),v=n()}))();export{h as McpCapabilityViewPage};
//# sourceMappingURL=mcp-capability-view-page-z4ki2dAF.js.map