import{r as a,j as t}from"./vendor-react-wBh_31cN.js";import{e as n}from"./index-DlAh4Ixf.js";import{aq as c}from"./index-dNe6i2rS.js";import{u as f}from"./useTitle-DQo_L6Ox.js";import{J as u}from"./JobOverviewContent-bAwAs5zn.js";import{c as d}from"./vendor-router-D1GqFWiT.js";import"./utils-C3tzOLw4.js";import"./index-dHd2aGu6.js";import"./time-utils-CQYZ5msB.js";import"./addDays-Cdit4yPz.js";import"./always-oSAuSdys.js";import"./init-Dq_gEBi9.js";import"./concat-CTXo1gGM.js";import"./formatDistance-B6o-SXVU.js";import"./join-oazOKFfj.js";import"./includes-ucXR_9jq.js";import"./add-SI0q72Q7.js";import"./lensPath-D2xKReso.js";import"./mergeRight-D1nsCm60.js";import"./vendor-redux-CJZrIb6x.js";import"./vendor-utils-OeoE2qq_.js";import"./vendor-icons-BUUmD6ht.js";import"./vendor-radix-BRyWS4bQ.js";import"./vendor-grid-CeFlDWv4.js";import"./useNotifier-BGMn6HaH.js";import"./notifications-5miqOdlG.js";import"./toast-wiGcevcF.js";import"./useProjectNavigate-BM67yKhl.js";import"./LinkInProject-C8CkeI6P.js";import"./file-utils-B4k-DQmp.js";import"./converge-D7u3m7i4.js";import"./ifElse-D151OpR6.js";import"./length-DKJxdznt.js";import"./_isNumber-DRgbAj-F.js";import"./inc-BMMaAqPC.js";import"./append-DQbPxMil.js";import"./PopupWithTitle-DxbkhXOh.js";import"./icon-button-BZeFL7T7.js";import"./tooltip-DFFgUYh6.js";import"./Panel-D_anPZvo.js";import"./MissingMandatoryTagsWarning-BHZy5VlV.js";import"./badge-UCnweWGd.js";import"./combobox-QqI9aNup.js";import"./input-group-gxy3DSmS.js";import"./input-DFI7JniT.js";import"./label-gPWmc6ow.js";import"./textarea-BJVuSob1.js";import"./vendor-recharts-DmJlpLaF.js";import"./list-page-header-Fc18Qd7m.js";import"./animated-progress-DY4TkPAt.js";import"./separator-CxqNNMXg.js";import"./value-7N0Keti9.js";import"./metadata-field-Uf1PM1Ss.js";import"./CardActionButton-9dnJFRFw.js";import"./Deprecated-DEh1iT37.js";import"./uniqBy-6oWnYXMs.js";import"./sort-qlseijG5.js";import"./ascend-DedmOJV5.js";import"./Anchors-BmGDL6V7.js";import"./useProjectRole-DpUIGfh9.js";import"./index-DURBtSjL.js";import"./project-eQY1xQe-.js";import"./card-BeQtvmcJ.js";import"./card-link-4kqDd55h.js";import"./confirmation-dialog-C7dws5K4.js";import"./useCopyToClipboard-DfzwgDFE.js";import"./dropdown-menu-DCcmtBGI.js";import"./avatar-DDfx1nOU.js";import"./summary-bar-jSb1SQ5o.js";import"./index-BW6CIssf.js";import"./mergeDeepRight-D4YN0FAe.js";import"./CronSchedule-dnzpRHR6.js";import"./index.esm-CAGtek53.js";import"./yup-XkUC3UEH.js";import"./NoData-BtM2pAIA.js";import"./field-grid-EHxmWjaD.js";import"./HumanizedCronExpression-BsPK2pda.js";import"./CronDetails-DOXCedRS.js";import"./checkbox-BlA4MwH9.js";import"./date-picker-K4pHuu1h.js";import"./popover-BzVbz_d3.js";import"./radio-group-CjbLFQxV.js";import"./CronExpression-B_Y2jRUi.js";import"./index--vO3kPD9.js";import"./slicedToArray-BHGdh4W7.js";import"./vendor-markdown-DYw41Xyj.js";import"./not-C0YaysLC.js";import"./callout-BFSXVeMz.js";import"./getPathAndFileName-BId4RGny.js";import"./FileContent-BERXb-dA.js";import"./index-B3Hxcv-8.js";import"./uniq--Ej6WwWR.js";import"./useCurrentProject-CTMLbmkf.js";import"./useProject-BbrP3CX5.js";import"./useDownload-TmtSNiQ3.js";import"./Error-Cui9k53k.js";import"./useLastProject-Du1ajmeV.js";import"./useSortedProjects-DPrT0V3d.js";import"./apply-CIuXDHQi.js";import"./sortBy-COer1Ia5.js";import"./juxt-B5kKHsyp.js";import"./utils-DDC-jqbJ.js";import"./file-size-BIFi_DYK.js";import"./code-input-W_9wcAaJ.js";import"./utils-DcmBw_Qo.js";import"./ButtonWithRole-ruQLmPtQ.js";import"./SvgContent-Wcl_Zmzd.js";import"./LazyMarkdown-pD-5e6Jq.js";import"./purify.es-t2lEkcJL.js";import"./data-table-Mt0DWBPO.js";import"./skeleton-C7BaXix8.js";import"./BlinkingDots-CJK9OJE3.js";import"./LoadMore-Bg-Y-iGB.js";import"./table-a0YeQrHM.js";import"./editable-select-DItn4ZHW.js";import"./search-input-BWz7f2O1.js";import"./has-BFHy-Ez2.js";import"./RunJobButtons-3jsdAUSO.js";import"./button-group-6kgQwyh_.js";import"./getInputValidation-B3ahFDSx.js";import"./NotebookJobArgsCallout-VpWDZ0t_.js";import"./getHopsDoc-B_Rq_F9V.js";import"./ServiceAlertList-BSe7woln.js";import"./jobAlert.selectors-DIpkTg6b.js";import"./DeleteGlobalEventForm-eh21kZMM.js";import"./alertManagerConfUtil-D4yp8Ca8.js";import"./alertUtil-rW93jnda.js";import"./setTypeOfJobs-CMzNjA9U.js";import"./KubernetesProjectView-VD3QNqIh.js";import"./kubernetes-5VIuxY5Z.js";import"./props-ljQIuZvU.js";import"./pathOr-BEQvB_UE.js";import"./OldEnvCallout-DHeFVCSZ.js";const $t=()=>{const{id:i,jobName:m}=d(),{currentData:r,isLoading:p,isFetching:e,refetch:o}=n({pId:`${i}`,jobName:m},{refetchOnFocus:!0});f(r==null?void 0:r.name);const s=a.useCallback(()=>{r&&o()},[r,o]);return p?t.jsx(c,{}):t.jsx("div",{children:r&&t.jsx(u,{data:r,onClickRefresh:s,isFetching:e})})};export{$t as default};
