PageSourceSearch

https://mana.ai/assets/PipelineDetailLandingPage-D2Al96U1.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c

js mana.ai collected 2026-10-05 12:15:10 UTC 7,635 bytes, 1 lines download raw bytes

1import{az as I,j as e,x as O,B as f,q as M,y as D,L as T,F as S,z as F,D as k,E as z,G,eR as B,H as U,eS as q,a as K,b as Q,a7 as $,c as V,d as W,e as X,f as J,a8 as Y,eT as Z,eU as H,r as P,eV as ee,h as ie,s as ne,m as se,bQ as te,P as ae,v as oe,w as le,eW as re,S as _,eX as ce}from"./main-qTUrSfJn.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import{u as pe,R as de}from"./usePublishOpenContext-DQFjBk90.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import{b as N,P as w}from"./PageListShell-BlXDihwz.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import{P as ue}from"./PageToolbar-D4wYfpez.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import{P as me}from"./PageToolbarActions-B4nVW4WU.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import{u as ge,a as fe}from"./useRunPipeline-DbIR_csL.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import{c as xe,m as he}from"./PipelinesTable-MciGXsPv.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import{a as be}from"./PipelineInlineDetail-C1XJUbq4.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./useFloatingChat-CIB5YvtI.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./prefetchPipelineBootstrap-BFrZf1Bu.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./PageListTable-DdJXnVSO.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./WorkflowDAGView-B2BChZ8n.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./style-B7PUgldk.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./value-BH0JElIf.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./HiddenNodesRevealPanel-BETTEDPT.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./scan-DDSaGSYL.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./createLucideIcon-myCTXGWt.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./_commonjs-dynamic-modules-CFlRrD3L.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./pyramid-Bqjt-tSz.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./InboxTable-CPU61NFB.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./DashboardFlatRunRow-DMETy7WW.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./highlightMatch-JQL4NyTb.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./PageListTableScroller-C_e9C0si.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./HorizontalOverflowScrollbar-DcThTz6E.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./runRows-CyhHwJRV.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./AppPageHeader-BpZ4jVVO.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";import"./EntityProjectsSection-BFX_rpP6.js?dpl=27a70693-48ce-4eff-ba3d-7c367d82390c";try{let s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new s.Error().stack;a&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[a]="2c8ecfb0-b6dd-42d1-a0f3-723ff6e6c07d",s._sentryDebugIdIdentifier="sentry-dbid-2c8ecfb0-b6dd-42d1-a0f3-723ff6e6c07d")}catch{}const Pe=({canDeploy:s=!0,canMigrate:a,deploySubscribedCount:y=0,editHref:c,isAdmin:x=!1,isArchiving:g=!1,isDeploying:C=!1,isExportingEvaluationBundle:u=!1,onArchivePipeline:t,onDeploy:o,onExportEvaluationBundle:l,onManageSubscriptions:j,onMigrate:p,pipeline:m})=>{const{runPipeline:h,isRunning:i}=ge(),{resumeTriggers:n,isUpdating:b}=fe(),A=I(m)!=="none",v=xe(m),R=!!(x||a||t);return e.jsxs("div",{className:O,children:[v?e.jsx(f,{disabled:b,isLoading:b,onClick:()=>n(m.id),size:"sm",type:"button",variant:"outline",children:"Resume"}):null,A?e.jsx(f,{className:M(D,"bg-button-primary-bg text-button-primary-text hover:bg-button-primary-bg-hover hover:text-button-primary-text disabled:bg-button-primary-bg-disabled disabled:text-button-primary-text-disabled"),disabled:i,isLoading:i,onClick:()=>h(m.id),size:"sm",type:"button",variant:"dark",children:"Run"}):null,e.jsx(f,{asChild:!0,size:"bare",variant:"ghost",children:e.jsx(T,{className:D,href:c,children:"Edit"})}),R?e.jsxs(S,{children:[e.jsx(F,{asChild:!0,children:e.jsx(f,{"aria-label":"Pipeline actions",className:k,disabled:g,size:"bare",type:"button",variant:"ghost",children:e.jsx(z,{size:16,weight:"bold"})})}),e.jsx(G,{align:"end",side:"bottom",sideOffset:4,children:B({canDeploy:s,canMigrate:a,deploySubscribedCount:y,isAdmin:x,isArchiving:g,isDeploying:C,isExportingEvaluationBundle:u,onArchivePipeline:t,onDeploy:o,onExportEvaluationBundle:l,onManageSubscriptions:j,onMigrate:p}).map(d=>e.jsx(U,{className:"gap-2 disabled:opacity-50",disabled:d.disabled,onClick:d.onSelect,variant:d.danger?"danger":"default",children:e.jsx(q,{entry:d})},d.key))})]}):null]})},Ve=()=>{const{id:s}=K(),a=Q(),y=$(),c=V(),{authHeaders:x}
1=W(),g=X(),C=J(),{setScrollContainer:u,setHeaderHidden:t,setHeaderBorderHidden:o,setShellPageToolbarSuppressed:l,toolbarCenter:j}=C??{},{data:p,isLoading:m}=Y(s),{data:h=[]}=Z("active",{staleTime:30*1e3});H(s,{notifyOnChangeProps:[]});const i=P.useMemo(()=>{if(!p)return;const r=h.find(L=>L.id===p.id);return r?he(p,r):p},[h,p]),n=ee(i,{onArchived:()=>{a(c("/pipelines"))}}),b=ie(m,i);pe(i?{pipeline:{pipelineId:i.id,pipelineName:i.name}}:{});const E=P.useCallback(r=>{u==null||u(r??null)},[u]);P.useLayoutEffect(()=>{ne({title:"Pipeline | Mana",description:"View pipeline details",robots:"noindex, nofollow"})},[]),P.useLayoutEffect(()=>(l==null||l(!0),t==null||t(!0),o==null||o(!0),()=>{l==null||l(!1),t==null||t(!1),o==null||o(!1)}),[l,t,o]);const{mutate:A,isPending:v}=se({mutationFn:async r=>{if(!s)throw new Error("No pipeline ID");return await te.updatePipeline(r,{headers:x,params:{pipeline_id:s}})},onSuccess:()=>{g.invalidateQueries({queryKey:["pipeline",s]}),g.invalidateQueries({queryKey:["pipelines"]})}}),R=i?e.jsx(Pe,{canDeploy:n.canDeploy,canMigrate:n.canMigrate,deploySubscribedCount:n.deploySubscribedCount,editHref:c(`/pipelines/${i.id}/edit`),isAdmin:n.isAdmin,isArchiving:n.isArchiving,isDeploying:n.isDeploying,isExportingEvaluationBundle:n.isExportingEvaluationBundle,onArchivePipeline:n.onArchivePipeline,onDeploy:n.handleDeploy,onExportEvaluationBundle:n.onExportEvaluationBundle,onManageSubscriptions:n.onManageSubscriptions,onMigrate:n.onMigrate,pipeline:i}):null,d=e.jsxs("h1",{className:M(le,"flex min-w-0 items-center"),children:[e.jsx(T,{className:ae,href:c("/pipelines"),children:"Pipelines"}),i!=null&&i.name?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:oe,children:" / "}),e.jsx("span",{className:"min-w-0 truncate",children:i.name})]}):null]});return b||i?e.jsxs(e.Fragment,{children:[e.jsx(de,{id:y.pathname,children:e.jsxs("div",{className:"flex min-h-0 min-w-0 flex-1 flex-col",children:[e.jsx(ue,{className:"border-light border-b",headerCenter:j,headerTitle:d,horizontalPaddingClass:"px-5",trailingActions:e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex items-center",children:e.jsx(me,{})}),R]}),trailingActionsFlush:!0}),e.jsx(N,{ref:E,children:e.jsx(w,{children:i?e.jsx(be,{canDeploy:n.canDeploy,deploySubscribedCount:n.deploySubscribedCount,initialPipeline:i,isRenaming:v,onDeploy:n.handleDeploy,onExpandLogic:()=>a(c(`/pipelines/${i.id}/edit`)),onPipelineRename:r=>A({name:r})}):e.jsxs("div",{className:"flex flex-col gap-4 pt-7",children:[e.jsx(_,{className:"h-8 w-64 bg-light"}),e.jsx(_,{className:"h-40 w-full bg-light"}),e.jsx(_,{className:"h-40 w-5/6 bg-light"})]})})})]})}),e.jsx(ce,{actions:n,pipeline:i})]}):e.jsx(N,{ref:E,children:e.jsx(w,{children:e.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4 py-20",children:[e.jsx(re,{className:"text-prose-tertiary",size:32}),e.jsx("p",{className:"text-prose-secondary",children:"Pipeline not found"}),e.jsx(f,{onClick:()=>a(c("/pipelines")),size:"sm",type:"button",variant:"ghost",children:"Back to pipelines"})]})})})};export{Ve as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.