PageSourceSearch

https://app.superbio.ai/_next/static/chunks/pages/jobs-e1fd8beac917f8e7.js

js superbio.ai collected 2026-09-25 19:50:25 UTC 40,367 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1086,5232,6907],{2008:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(37876),l=a(39200),r=a.n(l);a(22222);var n=a(12778),i=a.n(n);let o=e=>{let{label:t,date:a,bigPadding:l,onChange:n}=e;return(0,s.jsxs)("div",{className:`${i().datePickerWrapper} ${l?i().bigPadding:""}`,children:[t&&(0,s.jsx)("label",{children:t}),(0,s.jsx)(r(),{selected:a,onChange:n,dateFormat:"dd/MM/yyyy",placeholderText:"dd/mm/yyyy"})]})}},7822:e=>{e.exports={bulgeLeft:"Tabs_bulgeLeft__IibMr",bulgeRight:"Tabs_bulgeRight__naVs_",withScroll:"Tabs_withScroll__GBHYM",tabTitle:"Tabs_tabTitle__jObsZ",capitalize:"Tabs_capitalize__eJM4_",tabsWrapper:"Tabs_tabsWrapper__TjUBf",moreTab:"Tabs_moreTab__gG9kf"}},7888:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var s=a(37876),l=a(14232),r=a(97460),n=a(11041),i=a(4e4);a(27005);var o=a(7822),c=a.n(o);let d="More",p=e=>{let{tabs:t,overFlowTabs:a,postOverflowTabs:o,headerElement:p,selectedIndex:u,narrow:m,capitalize:h,extraCls:_,withScroll:b,tabsBarClassName:j,onActiveTabChange:v}=e,[x,f]=(0,l.useState)(u||0),[g,k]=(0,l.useState)(!1),[w,y]=(0,l.useState)(d),N=(0,l.useRef)(null),M=e=>{f(e),v&&v(e),y(d)};return(0,l.useEffect)(()=>{void 0!==u&&f(u)},[u]),(0,l.useEffect)(()=>{let e=e=>{N.current&&!N.current.contains(e.target)&&k(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,i.Pu)(),(0,s.jsxs)(i.tU,{forceRenderTabPanel:!0,className:`${_} ${m?"narrow":""} ${b?c().withScroll:""}`,selectedIndex:x,onSelect:M,children:[(0,s.jsxs)("div",{className:`${c().tabsWrapper} ${j}`,children:[(0,s.jsxs)(i.wb,{children:[t.map((e,t)=>{let{name:a,disabled:l}=e;return(0,s.jsx)(i.oz,{disabled:l,children:(0,s.jsx)("span",{className:`${c().tabTitle} ${h&&c().capitalize}`,children:a})},t)}),a&&a.length>0&&(0,s.jsxs)("div",{className:`${c().tabTitle} ${c().moreTab}`,ref:N,children:[(0,s.jsxs)("span",{className:`react-tabs__tab ${x>=t.length?"react-tabs__tab--selected":""}`,onClick:()=>k(!g),children:[w,(0,s.jsx)(r.g,{color:"#262f34",icon:n.Jt$})]}),g&&(0,s.jsx)("ul",{className:"actions-menu",children:a.map((e,a)=>(0,s.jsx)("li",{onClick:()=>{e.component&&(M(t.length+a),y(e.name)),k(!1)},children:e.name},a))})]}),o&&o.length>0&&o.map((e,t)=>(0,s.jsx)(i.oz,{disabled:e.disabled,children:(0,s.jsx)("span",{className:`${c().tabTitle} ${h&&c().capitalize}`,children:e.name})},t))]}),p]}),[...t,...a||[],...o||[]].map((e,t)=>{let{component:a}=e;return(0,s.jsx)(i.Kp,{children:a},t)})]})}},12778:e=>{e.exports={datePickerWrapper:"DatePicker_datePickerWrapper__4cFRr",bigPadding:"DatePicker_bigPadding__aqOEN"}},40265:e=>{e.exports={page:"Jobs_page__tTBHg",pageHeader:"Jobs_pageHeader__h_IKw",pageTitleGroup:"Jobs_pageTitleGroup__5izkq",pageTitle:"Jobs_pageTitle__qQ8AN",pageSubtitle:"Jobs_pageSubtitle__wzLXy",toggleSidebar:"Jobs_toggleSidebar__3DZDV",rotate:"Jobs_rotate___qE_X",content:"Jobs_content__hvjji",jobs:"Jobs_jobs__DIVJQ",title:"Jobs_title__NDyO0",completed:"Jobs_completed__6iQF0",status:"Jobs_status__W_mgn",jobLogTitle:"Jobs_jobLogTitle__UIBpv",statusText:"Jobs_statusText__iLGgW",dot:"Jobs_dot__OmdG2",inProgress:"Jobs_inProgress__Q58g6",failed:"Jobs_failed__d7M9J",loaderImg:"Jobs_loaderImg__0IVLa",action:"Jobs_action__iiDXg",demoLabel:"Jobs_demoLabel__CRZy_",sidebar:"Jobs_sidebar__lAUSb",labelWrapper:"Jobs_labelWrapper__xTfe_",clearButton:"Jobs_clearButton__NdTkB",additionalFilterWrapper:"Jobs_additionalFilterWrapper__ywY1X",parametersWrapper:"Jobs_parametersWrapper___bD2I",filesSection:"Jobs_filesSection__RHvUW",parametersRow:"Jobs_parametersRow__0oE4A",parameterTitle:"Jobs_parameterTitle__IziDR",parameterValue:"Jobs_parameterValue__g9cIo",parameterFile:"Jobs_parameterFile__7JvgA",parameterFileSource:"Jobs_parameterFileSource__jH512",noParameters:"Jobs_noParameters__tNI61",dateWrapper:"Jobs_dateWrapper__TDpdK",tableContainer:"Jobs_tableContainer__qXV1a",noData:"Jobs_noData__HpM53",searchWrapper:"Jobs_searchWrapper__csoPc",searchInput:"Jobs_searchInput__CuoR7",countWrapper:"Jobs_countWrapper__yfhM4",tableWrapper:"Jobs_tableWrapper__QSX01",actionIcon:"Jobs_actionIcon__IAKc0",active:"Jobs_active__YS
1B2b",modal:"Jobs_modal__rYHgm",modalSlim:"Jobs_modalSlim__g4ZDZ"}},55120:e=>{e.exports={searchInput:"SearchInput_searchInput__xl1Qk",searchIcon:"SearchInput_searchIcon__yMrRH",disabled:"SearchInput_disabled__CpDz_",sendButton:"SearchInput_sendButton__OuzjN",searchInputInner:"SearchInput_searchInputInner___yhKA"}},57174:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>ek});var s,l,r,n,i,o,c,d=a(37876),p=a(6835),u=a(89099),m=a(14232),h=a(44501),_=a(39648),b=a(68898),j=a(85190),v=a(57078),x=a(71165),f=a(8972),g=a(64987),k=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];a(98477),a(97);var w=(0,m.forwardRef)(function(e,t){var a,s,l,r,n,i,o,c,d,p,u,w,y,N,M,C,A,E,S,J,T,I,W,F,O,B,P,Z,L,R,D,$,H,V,z,U,X,q,G,K,Y,Q,ee,et,ea,es,el,er,en,ei,eo,ec=(s=void 0!==(a=e.defaultOptions)&&a,r=void 0!==(l=e.cacheOptions)&&l,n=e.loadOptions,e.options,i=e.isLoading,o=e.onInputChange,c=e.filterOption,p=(d=(0,f.A)(e,k)).inputValue,u=(0,m.useRef)(void 0),w=(0,m.useRef)(!1),y=(0,m.useState)(Array.isArray(s)?s:void 0),M=(N=(0,x.A)(y,2))[0],C=N[1],A=(0,m.useState)(void 0!==p?p:""),S=(E=(0,x.A)(A,2))[0],J=E[1],T=(0,m.useState)(!0===s),W=(I=(0,x.A)(T,2))[0],F=I[1],O=(0,m.useState)(void 0),P=(B=(0,x.A)(O,2))[0],Z=B[1],L=(0,m.useState)([]),D=(R=(0,x.A)(L,2))[0],$=R[1],H=(0,m.useState)(!1),z=(V=(0,x.A)(H,2))[0],U=V[1],X=(0,m.useState)({}),G=(q=(0,x.A)(X,2))[0],K=q[1],Y=(0,m.useState)(void 0),ee=(Q=(0,x.A)(Y,2))[0],et=Q[1],ea=(0,m.useState)(void 0),el=(es=(0,x.A)(ea,2))[0],er=es[1],r!==el&&(K({}),er(r)),s!==ee&&(C(Array.isArray(s)?s:void 0),et(s)),(0,m.useEffect)(function(){return w.current=!0,function(){w.current=!1}},[]),en=(0,m.useCallback)(function(e,t){if(!n)return t();var a=n(e,t);a&&"function"==typeof a.then&&a.then(t,function(){return t()})},[n]),(0,m.useEffect)(function(){!0===s&&en(S,function(e){w.current&&(C(e||[]),F(!!u.current))})},[]),ei=(0,m.useCallback)(function(e,t){var a=(0,g.L)(e,t,o);if(!a){u.current=void 0,J(""),Z(""),$([]),F(!1),U(!1);return}if(r&&G[a])J(a),Z(a),$(G[a]),F(!1),U(!1);else{var s=u.current={};J(a),F(!0),U(!P),en(a,function(e){w&&s===u.current&&(u.current=void 0,F(!1),Z(a),$(e||[]),U(!1),K(e?(0,v.A)((0,v.A)({},G),{},(0,j.A)({},a,e)):G))})}},[r,en,P,G,o]),eo=z?[]:S&&P?D:M||[],(0,v.A)((0,v.A)({},d),{},{options:eo,isLoading:W||void 0!==i&&i,onInputChange:ei,filterOption:void 0===c?null:c})),ed=(0,b.u)(ec);return m.createElement(_.S,(0,h.A)({ref:t},ed))}),y=a(2827),N=a(48230),M=a.n(N),C=a(4917),A=a.n(C),E=a(49830),S=a(16786),J=a(70522),T=a(54278),I=a(35573),W=a(5361),F=a(57739),O=a(71782),B=a(12873),P=a(68742),Z=a(2008),L=a(80512),R=a.n(L);let D=e=>{let{titleElement:t,linkElement:a}=e,[s,l]=(0,m.useState)([]);return(0,m.useEffect)(()=>{(async()=>{let{data:{hits:e}}=await (0,J.Dk)({order_by:"random",hits_per_page:2,tags:[]});l(e)})()},[]),s.length>0?(0,d.jsxs)("div",{className:R().noData,children:[t,s.slice(0,2).map(e=>{let{id:t,name:a,beautiful_url:s}=e;return(0,d.jsx)("div",{children:(0,d.jsx)(M(),{href:`/apps/${s||t}`,children:a})},t)}),a]}):(0,d.jsx)("div",{})};var $=a(74472),H=a(95814),V=a(7888),z=a(71086);function U(){return(U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}let X=e=>m.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19 23"},e),s||(s=m.createElement("g",{"data-name":"Group 34231",opacity:.5,fill:"red"},m.createElement("path",{"data-name":"Ellipse 920",d:"M9.5 3.5a8 8 0 1 0 8 8 8.009 8.009 0 0 0-8-8m0-1.5A9.5 9.5 0 1 1 0 11.5 9.5 9.5 0 0 1 9.5 2Z"}),m.createElement("text",{transform:"translate(7 17)",fontSize:16,fontFamily:"Poppins-Regular, Poppins"},m.createElement("tspan",{x:0,y:0},"!")))));function q(){return(q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}let G=e=>m.createElement("svg",q({viewBox:"0 0 310 322",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l||(l=m.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m182.694 218.016-.127.074a79.997 79.997 0 0 1 8.338-.434c35.451 0 64.189 23.203 64.189 51.826 0 28.622-28.738 51.825-64.189 51.825-35.45 0-64.189-23.203-64.189-51.825 0-8.255 2.39-16.058 6.642-22.985l-25.231 14.566a48.723 48.723 0 0 1-2.615 1.517v
1-.018l-.297.157a57.383 57.383 0 0 1-27.08 6.766c-31.773 0-57.546-25.755-57.546-57.545 0-20.594 10.846-38.66 27.116-48.826l23.91-13.816c-5.338-7.828-8.46-17.296-8.46-27.499v-.007c0-2.693.218-5.335.638-7.909 2.304-14.14 10.68-26.232 22.362-33.534l36.236-20.943 35.103-20.273 27.064-15.638.003.005c7.724-5.126 17.07-8.055 27.043-8.055h.091c17.127.032 32.188 8.863 40.877 22.238a48.62 48.62 0 0 1 7.876 26.606 48.923 48.923 0 0 1-22.395 41.172c6.953 7.643 11.875 17.165 13.917 27.717a35.97 35.97 0 0 1 6.629-3.596 36.488 36.488 0 0 1 14.107-2.808c20.316 0 36.795 16.462 36.795 36.794 0 20.316-16.479 36.794-36.795 36.794a36.65 36.65 0 0 1-23.366-8.37 36.956 36.956 0 0 1-9.241-11.367 57.534 57.534 0 0 1-18.939 15.187l-38.466 22.204Z",fill:"#000"})),r||(r=m.createElement("g",{clipPath:"url(#a)"},m.createElement("path",{d:"M130.402 150.212c.75-.401 1.5-.837 2.215-1.273l95.943-55.4-48.844-84.61-98.384 56.848c-13.811 8.632-23.018 23.96-23.018 41.45 0 26.977 21.867 48.844 48.843 48.844 8.318 0 16.13-2.075 22.983-5.737l.262-.122Z",fill:"#239167",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"m228.56 93.55-62.567 36.114c14.09-8.562 23.523-24.082 23.523-41.782 0-26.976-21.884-48.843-48.843-48.843-8.44 0-16.374 2.127-23.28 5.894L179.716 8.94c7.725-5.144 17.072-8.074 27.047-8.074 26.976 0 48.843 21.867 48.843 48.844a48.917 48.917 0 0 1-27.046 43.821v.018Z",fill:"#BCBFC0",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M250.375 27.704c-7.952-5.597-17.63-8.876-28.093-8.876-10.462 0-19.303 2.93-27.046 8.057l-19.112 11.038-43.211 24.953c.105-.052.227-.104.331-.174l-36.393 21.03c-13.81 8.632-23.018 23.977-23.018 41.468 0 7.916 1.884 15.397 5.25 22.006-12.556-8.823-20.77-23.436-20.77-39.985 0-17.49 9.19-32.818 23.001-41.45l36.236-20.943 43.054-24.866 19.112-11.038c7.725-5.127 17.072-8.057 27.047-8.057 19.059 0 35.573 10.899 43.612 26.837Z",fill:"#62EB9A"}),m.createElement("path",{d:"M250.375 27.704c-7.952-5.597-17.63-8.876-28.093-8.876-10.462 0-19.303 2.93-27.046 8.057l-19.112 11.038-12.137 7.01a48.712 48.712 0 0 0-23.314-5.912c-8.44 0-16.252 2.093-23.123 5.807l43.055-24.866 19.111-11.038c7.725-5.127 17.072-8.057 27.047-8.057.819 0 1.639.018 2.441.07h.14c.645.035 1.29.07 1.935.14.244.017.506.052.75.07.593.069 1.168.139 1.744.226.314.035.628.087.941.14a52.28 52.28 0 0 1 1.622.296c.994.192 1.971.418 2.912.68.611.14 1.221.314 1.814.506.157.034.314.087.453.14.611.19 1.203.383 1.796.61.715.244 1.413.523 2.093.802.331.14.645.279.959.418 1.761.767 3.47 1.64 5.109 2.598.349.192.68.401 1.012.61a48.855 48.855 0 0 1 6.835 5.127c.297.262.611.541.907.82.227.21.453.419.663.645.279.262.54.54.819.82.733.75 1.43 1.517 2.11 2.302.07.07.122.14.175.209.348.4.68.802.994 1.22.348.419.68.855 1.011 1.308.732.977 1.43 1.988 2.075 3.017.227.366.471.75.698 1.134a59.63 59.63 0 0 1 1.604 2.93Z",fill:"#fff"}),m.createElement("path",{d:"m165.993 129.676 62.567-36.114a48.917 48.917 0 0 0 27.046-43.822c0-7.917-1.9-15.397-5.248-22.006-.035-.07-.07-.123-.105-.192a45.788 45.788 0 0 0-1.413-2.564c-.052-.07-.087-.157-.139-.244a51.312 51.312 0 0 0-1.674-2.615c-.087-.14-.192-.262-.279-.401a44.06 44.06 0 0 0-1.517-2.04c-.157-.193-.297-.384-.454-.576a58.225 58.225 0 0 0-1.918-2.25c-.07-.07-.139-.14-.192-.209a47.478 47.478 0 0 0-1.848-1.9c-.209-.21-.436-.42-.645-.628a71.75 71.75 0 0 0-1.727-1.552c-.174-.14-.331-.297-.505-.436a56.283 56.283 0 0 0-2.25-1.762c-.226-.174-.471-.33-.715-.505a41.453 41.453 0 0 0-1.813-1.22 28.917 28.917 0 0 0-.75-.472 44.138 44.138 0 0 0-2.494-1.447l-.523-.262a50 50 0 0 0-2.18-1.063c-.279-.122-.54-.245-.819-.367a41.96 41.96 0 0 0-2.442-.994 2.745 2.745 0 0 1-.331-.14 42.057 42.057 0 0 0-2.86-.94c-.244-.07-.505-.14-.749-.21a38.133 38.133 0 0 0-2.424-.61c-.21-.053-.419-.105-.646-.14a58.638 58.638 0 0 0-3.051-.558 5.334 5.334 0 0 1-.523-.07c-.89-.122-1.779-.209-2.686-.279l-.75-.052a48.895 48.895 0 0 0-3.226-.122c-5.545 0-10.881.942-15.868 2.616-3.976 1.342-7.743 3.156-11.178 5.44L160.552 20.01l-15.241 8.806-27.987 16.147.104-.052-36.166 20.908c-13.81 8.632-23 23.96-23 41.45 0 16.549 8.213 31.162 20.768 39.985-3.366-6.609-5.249-14.09-5.249-22.007",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M186.064 306.737c35.45 0 64.189-23.203 64.189-51.826 0-28.622-28.739-51.825-64.189-51.825-35.451 0-64.189 23.203-64.189 51.825 0 28.623 28.738 51.826 64.189 51.826Z",fill:"#BCBFC0",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M121.857 239.602v15.293h128.396v-13.34l-128.396-1.953Z",fill:"#222A2F",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M250.253 241.324v.244c0 26.924-25.425 49.035-57.946 51.581a82.381 82.381 0 0 1-6.261.244c-2.11 0-4.202-.087-6.26-.244-32.522-2.546-57.929-24.657-57.929-51.581v-.244c.157-28.511 28.843-51.582 64.189-51.582 35.347 0 64.05 23.071 64.207 51.582Z",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M250.253 241.324v.244H121.857v-.244a42.434 42.434 0 0 1 1.204-9.783c5.772-23.82 31.789-41.799 62.985-41.799 2.913 0 5.79.157 8.597.471 10.568 1.133 20.316 4.342 28.599 9.12 16.269 9.347 26.924 24.657 27.011 41.991Z",fill:"#62EB9A",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M250.253 241.328v.244c0 26.924-25.425 49.036-57.946 51.582h-12.521c-26.331-2.058-47.989-16.933-55.278-36.812a42.598 42.598 0 0 1-2.651-14.77v-.244h128.396Z",fill:"#F0F0F0",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M304.659 148.997c0 20.315-16.479 36.794-36.794 36.794a36.647 36.647 0 0 1-23.367-8.37c-8.195-6.749-13.427-16.985-13.427-28.424 0-12.119 5.859
1-22.878 14.892-29.557a36.145 36.145 0 0 1 7.795-4.429 36.488 36.488 0 0 1 14.107-2.808c20.315 0 36.794 16.462 36.794 36.794Z",fill:"#239167",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M253.06 147.129c0 11.09-3.121 21.483-8.562 30.29-8.195-6.749-13.427-16.985-13.427-28.424 0-12.12 5.859-22.879 14.892-29.557a57.282 57.282 0 0 1 7.097 27.691Z",fill:"#222A2F",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M23.141 84.826c12.299 0 22.269-9.97 22.269-22.269 0-12.298-9.97-22.268-22.269-22.268C10.843 40.29.873 50.26.873 62.557c0 12.299 9.97 22.269 22.268 22.269Z",fill:"#434F56",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M73.293 254.903c31.781 0 57.545-25.764 57.545-57.545 0-31.782-25.764-57.546-57.545-57.546-31.782 0-57.545 25.764-57.545 57.546 0 31.781 25.764 57.545 57.545 57.545ZM190.633 187.137c31.781 0 57.545-25.764 57.545-57.545 0-31.781-25.764-57.545-57.545-57.545-31.782 0-57.546 25.764-57.546 57.545 0 31.781 25.764 57.545 57.546 57.545Z",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"m223.242 199.323-67.782 39.131-4.952 2.86-.419.244-25.581 14.77a42.598 42.598 0 0 1-2.651-14.77v-.244a42.44 42.44 0 0 1 1.204-9.783l22.808-13.166 48.774-28.162c10.568 1.134 20.316 4.342 28.599 9.12Z",fill:"#222A2F"}),m.createElement("path",{d:"M100.67 248.015a47.71 47.71 0 0 0 2.616-1.517l113.033-65.253-57.545-99.675-115.91 66.979c-16.27 10.167-27.116 28.232-27.116 48.827 0 31.789 25.773 57.545 57.545 57.545a57.396 57.396 0 0 0 27.081-6.766l.296-.157v.017Z",fill:"#62EB9A",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M247.062 129.606a57.638 57.638 0 0 1-31.859 51.634l-73.71 42.549-39.323 22.704a47.581 47.581 0 0 1-2.616 1.499l-.296.157a57.384 57.384 0 0 1-27.081 6.766c-26.872 0-49.437-18.432-55.767-43.316 10.48 14.09 27.273 23.228 46.176 23.228 9.8 0 19.007-2.459 27.081-6.766l.297-.157c.889-.471 1.76-.977 2.615-1.5l39.323-22.704 73.71-42.548a57.638 57.638 0 0 0 31.859-51.634c0-4.935-.628-9.73-1.796-14.3a57.364 57.364 0 0 1 11.387 34.388Z",fill:"#239167"}),m.createElement("path",{d:"M26.995 49.416c1.29 3.017-1.15 4.952-5.632 6.87-4.482 1.919-9.312 3.087-10.585.07-1.273-3.017.296-7.533 4.778-9.434 4.482-1.9 10.166-.505 11.457 2.511l-.018-.017Z",fill:"#BCBFC0",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"m228.56 93.55-62.567 36.114c14.09-8.562 23.524-24.082 23.524-41.781 0-26.977-21.885-48.844-48.844-48.844-8.44 0-16.374 2.127-23.279 5.894",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M276.305 122.945c.541 3.226-2.302 4.534-7.115 5.319-4.812.784-11.177 1.098-12.38-1.954-1.535-3.906 3.731-7.934 8.963-8.544 4.847-.558 9.992 1.936 10.532 5.162v.017Z",fill:"#62EB9A"}),m.createElement("path",{d:"M158.773 81.55a56.189 56.189 0 0 1 14.945-7.027c5.353-1.622 11.038-2.476 16.915-2.476 31.789 0 57.545 25.756 57.545 57.545a57.638 57.638 0 0 1-31.859 51.634l-73.711 42.548c16.601-10.096 27.709-28.371 27.709-49.227 0-31.772-25.773-57.545-57.545-57.545-9.643 0-18.71 2.354-26.68 6.557",fill:"#F0F0F0"}),m.createElement("path",{d:"M158.773 81.55a56.189 56.189 0 0 1 14.945-7.027c5.353-1.622 11.038-2.476 16.915-2.476 31.789 0 57.545 25.756 57.545 57.545a57.638 57.638 0 0 1-31.859 51.634l-73.711 42.548c16.601-10.096 27.709-28.371 27.709-49.227 0-31.772-25.773-57.545-57.545-57.545-9.643 0-18.71 2.354-26.68 6.557",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M142.626 114.422s-.157-.123-.227-.175c-5.353-4.011-4.97-12.119.82-15.467 9.416-5.44 20.489-11.823 26.61-15.363 5.04-2.912 11.16-3.68 16.549-1.5.61.244 1.185.523 1.761.82 6.993 3.697 6.993 13.758.157 17.717-7.638 4.412-18.118 10.462-26.087 15.066-6.156 3.557-13.898 3.226-19.566-1.081l-.017-.017Z",fill:"#fff"}),m.createElement("path",{d:"m158.774 81.57-72.682 42.008-43.228 24.971a57.832 57.832 0 0 0-19.653 20.507c-4.76 8.353-7.463 18.014-7.463 28.32 0 31.789 25.773 57.545 57.545 57.545 9.8 0 19.007-2.442 27.081-6.766l.296-.14c.89-.488 1.762-.994 2.616-1.517l39.323-22.704 73.71-42.549",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M84.011 177.292c14.861-3.999 25.002-14.327 22.65-23.069-2.352-8.742-16.307-12.587-31.168-8.588-14.861 3.998-25.002 14.327-22.65 23.069 2.352 8.742 16.307 12.587 31.168 8.588Z",fill:"#222A2F"}),m.createElement("path",{d:"M247.062 129.606a57.638 57.638 0 0 1-31.859 51.634l-67.049 38.695c11.701-9.12 19.774-22.687 21.71-38.154l35.748-20.629a57.638 57.638 0 0 0 31.859-51.634c0-4.935-.628-9.73-1.796-14.3a57.364 57.364 0 0 1 11.387 34.388Z",fill:"#BCBFC0"}),m.createElement("path",{d:"M247.062 129.606a57.638 57.638 0 0 1-31.859 51.634l-67.049 38.695c11.701-9.12 19.774-22.687 21.71-38.154l35.748-20.629a57.638 57.638 0 0 0 31.859-51.634c0-4.935-.628-9.73-1.796-14.3a57.364 57.364 0 0 1 11.387 34.388Z",fill:"#BCBFC0"}),m.createElement("path",{d:"M158.773 81.55a56.189 56.189 0 0 1 14.945-7.027c5.353-1.622 11.038-2.476 16.915-2.476 31.789 0 57.545 25.756 57.545 57.545a57.638 57.638 0 0 1-31.859 51.634l-73.711 42.548c16.601-10.096 27.709-28.371 27.709-49.227 0-31.772-25.773-57.545-57.545-57.545-9.643 0-18.71 2.354-26.68 6.557",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M66.998 167.566c15.322 0 27.743-12.422 27.743-27.744 0-15.323-12.42-27.744-27.743-27.744-15.323 0-27.744 12.421-27.744 27.744 0 15.322 12.421 27.744 27.744 27.744Z",fill:"#F0F0F0",stroke:"#222A2F",strokeWidth:1.744,strokeMiterlimit:10}),m.createElement("path",{d:"M73.485 122.887c1.883 4.395-1.692 7.237-8.248 10.027-6.557 2.79-13.602 4.499-15.485.105-1.884-4.395.436-11.004 6.975-13.794 6.556-2.79 14.857-.732 16.74 3.662h.018Z",fill:"#fff"}))),n||(n=m.createElement("defs",null,m.createElement("clipPath",{id:"a"},m.createElement("path",{fill:"#fff",transform:"translate(.002 -.008)",d:"M0 0h305.53v307.605H0z"})))));function K(){return(K=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}let Y=e=>m.createElement("svg",K({viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=m.createElement("path",{d:"M11.135 1.898v8.15h6.985L8.806 22.854v-8.15H1.821l9.314-12.806Z",stroke:"#2CE678",strokeWidth:2.096,strokeLinecap:"round",strokeLinejoin:"round"})));function Q(){return(Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}let ee=e=>m.createElement("svg",Q({viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),o||(o=m.createElement("path",{d:"M17.956 15.345a2.329 2.329 0 1 1-2.329 2.329m2.329-2.329a2.329 2.329 0 0 0-2.329 2.329m2.329-2.329V6.032m-2.329 11.642H6.314m0 0a2.329 2.329 0 0 0-2.329-2.329m2.329 2.329a2.328 2.328 0 1 1-2.329-2.329m0 0V6.032m2.329-2.329a2.328 2.328 0 1 0-2.329 2.329m2.329-2.329a2.328 2.328 0 0 1-2.329 2.329m2.329-2.329h9.313m0 0a2.329 2.329 0 1 1 2.329 2.329m-2.329-2.329a2.329 2.329 0 0 0 2.329 2.329M5.732 5.45l10.477 10.478m-10.477 0L16.209 5.45",stroke:"#2CE678",strokeWidth:2.096,strokeLinecap:"round",strokeLinejoin:"round"})));var et=a(91145);function ea(){return(ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}let es=e=>m.createElement("svg",ea({viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),c||(c=m.createElement("path",{d:"M6.5 7.313h11m-5.5 5a6 6 0 0 0-6 6v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-2a6 6 0 0 0-6-6Zm0 0a6 6 0 0 1-6-6v-2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2a6 6 0 0 1-6 6Z",stroke:"#F9F9F7",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})));var el=a(61108),er=a.n(el);let en=e=>{let{isOpen:t,setIsOpen:a,isFreeTier:s}=e,l=async()=>{let{data:e}=await (0,J.fw)({tier:"boost"});window.location.href=e};return(0,d.jsx)(H.A,{showCloseIcon:!0,isOpen:t,setIsOpen:e=>{a(e)},children:(0,d.jsx)("div",{className:er().lowBalanceModal,children:s?(0,d.jsx)("div",{className:er().freeTier,children:(0,d.jsxs)("div",{className:er().detailsContainer,children:[(0,d.jsxs)("div",{className:er().column1,children:[(0,d.jsxs)("div",{className:er().heading,children:["Your balance is low- ",(0,d.jsx)("br",{}),(0,d.jsxs)("span",{onClick:()=>l(),children:["Boost",(0,d.jsx)(et.A,{})]}),"\xa0 your research now!"]}),(0,d.jsx)("div",{className:er().subTitle,children:(0,d.jsx)("div",{className:er().text,children:"Dive deeper into your projects, run more computations, and accelerate your breakthroughs:"})}),(0,d.jsxs)("div",{className:er().bulletPointContainer,children:[(0,d.jsx)(es,{}),"20 hours of computing or 300 runs a month"]}),(0,d.jsxs)("div",{className:er().bulletPointContainer,children:[(0,d.jsx)(Y,{}),"Running multiple jobs at once"]}),(0,d.jsxs)("div",{className:er().bulletPointContainer,children:[(0,d.jsx)(ee,{}),"Fine-tuning and retraining"]}),(0,d.jsxs)("div",{className:er().buttonContainer,children:[(0,d.jsx)("button",{className:"btn-secondary",onClick:()=>a(!1),children:"Reject free trial"}),(0,d.jsx)("button",{className:"btn-primary",onClick:()=>l(),children:"Start free trial"})]})]}),(0,d.jsx)("div",{className:er().column2,children:(0,d.jsx)(G,{})})]})}):(0,d.jsxs)("div",{className:er().paidTier,children:[(0,d.jsx)(X,{}),(0,d.jsx)("div",{className:er().heading,children:"Your balance is running low"}),(0,d.jsx)("b",{className:er().text,children:"When the current job completes you will have ran out of jobs to run!"}),(0,d.jsx)("div",{className:er().text,children:"Email [email protected] to request more resources. "}),(0,d.jsx)("div",{className:er().buttonContainer,children:(0,d.jsx)("button",{className:"btn-secondary",onClick:()=>a(!1),children:"Understood"})})]})})})};var ei=a(64323),eo=a(91922),ec=a(99595),ed=a(81291),ep=a.n(ed);let eu=e=>{let{isOpen:t,setIsOpen:a,initialName:s,onSubmit:l}=e;return(0,d.jsx)(H.A,{isOpen:t,setIsOpen:a,children:(0,d.jsxs)("div",{className:ep().editJobTitleModal,children:[(0,d.jsx)("div",{className:ep().heading,children:"Edit job title"}),(0,d.jsx)(ei.l1,{initialValues:{name:s},validationSchema:ec.v,onSubmit:l,children:()=>(0,d.jsx)(ei.lV,{children:(0,d.jsxs)("div",{className:ep().form,children:[(0,d.jsx)(eo.pd,{type:"text",name:"name",id:"name",label:"Enter job name"}),(0,d.jsxs)("div",{className:ep().buttonContainer,children:[(0,d.jsx)("button",{className:"btn-secondary",type:"button",onClick:()=>a(!1),children:"Cancel"}),(0,d.jsx)("button",{className:"btn-primary",type:"submit",children:"Edit"})]})]})})})]})})};var em=a(85663),eh=a(81607),e_=a(61623),eb=a(40265),ej=a.n(eb);let ev=[{value:"recent",label:"Recent"},{value:"parameters",label:"Parameters"}],ex=[{value:"allJobs",label:"All jobs"},{value:"myJobs",label:"My jobs"},{value:"institutionJobs",label:"Jobs shared with Institution"},{value:"sharedWithMeJobs",label:"Jobs shared with me"}],ef={datahub:"Data Hub",remote:"Remote",open_data:"Open Data",local:"Local"},eg=e=>{let{userInfo:t}=e,a=(0,u.useRouter)(),[s,l]=(0,S.pn)(),[r]=(0,S.eq)(t),{state:n,dispatch:i}=(0,m.useContext)(I._),{state:o}=(0,m.useContext)(W.cy),{uploadWorkers:c}=(0,m.useContext)(F.K),p=(0,m.useRef)(),[h,_]=(0,m.useState)([]),[b,j]=(0,m.useState)(!1),[v,x]=(0,m.useState)(""),[f,g]=(0,m.useState)(!1),[k,N]=(0,m.useState)(1),[C,L]=(0,m.useState)(null),[R,U]=(0,m.useState)(null),[X,q]=(0,m.useState)(0),[G,K]=(0,m.useState)(null),[Y,Q]=(0,m.useState)(""),[ee,et]=(0,m.useState)("recent"),[ea,es]=(0,m.useState)("allJobs"),[el,er]=(0,m.useState)(""),[ei,eo]=(0,m.useState)(!1),[ec,ed]=(0,m.useState)(!1),[ep,eb]=(0,m.useState)(null),[eg,ek]=(0,m.useState)(""),[ew,ey]=(0,m.useState)(!1),[eN,eM]=(0,m.useState)(""),[eC,eA]=(0,m.useState)(!1),[eE,eS]=(0,m.useState)(!1),eJ=(0,m.useMemo)(()=>{let e={head:["","Title","Status","Start Time","Duration",""],keys:["shared","title","status","start_time","duration","action"]};return o.isAdmin?(e.head.splice(2,0,""),e.keys.splice(2,0,"job_log")):(e.head.splice(2,0,""),e.keys.splice(2,0,"error_message")),e},[o]),eT=(0,m.useMemo)(()=>t?.institution_id?ex:ex.filter(e=>{let{value:t}=e;return"institutionJobs"!==t}),[t]),eI=(0,m.useCallback)(e=>
1{p.current&&p.current.disconnect(),p.current=new IntersectionObserver(e=>{e[0].isIntersecting&&f&&N(e=>e+1)}),e&&p.current.observe(e)},[f]),eW=(0,m.useCallback)(async e=>{let t="fetch-jobs";try{s(t);let a={page:e?1:k,hits_per_page:e?10*e:10,search_string:el||Y,...C&&{date_from:(0,T.po)((0,T.HE)(C))},...R&&{date_to:(0,T.po)((0,T.HE)(R))},added_by_me:"myJobs"===ea||"allJobs"===ea,shared_with_me_directly:"sharedWithMeJobs"===ea||"allJobs"===ea,shared_with_me_through_institution:"institutionJobs"===ea||"allJobs"===ea},{data:{hits:l,hits_per_page:r,total:n}}=await (0,J.SX)(a);if(l){let t=l.map(e=>({...e,start_time:(0,T.MK)(+e.start_time),duration:(0,T.YR)(parseFloat(e.duration))})),s=Math.ceil(n/r);q(n),e?_(e=>e.map(e=>t.find(t=>{let{id:a}=t;return e.id===a})||e)):1===a.page?_(t):_(e=>[...e,...t]),g(l.length===r&&s>k)}}catch(e){(0,T.jU)(e)}finally{l(t)}},[k,Y,el,ea,C,R,s,l]),eF=(0,m.useCallback)(async e=>{let t="deleteJob";try{s(t),await (0,J.XX)(e),_(t=>t.filter(t=>t.id!==e)),j(!1)}catch(e){(0,T.jU)(e)}finally{l(t)}},[s,l]),eO=(0,m.useCallback)(async(e,t)=>{let a="renameJob";try{s(a),await (0,J.gK)(e,{new_name:t}),_(a=>a.map(a=>a.id===e?{...a,title:t}:a)),eS(!1)}catch(e){(0,T.jU)(e)}finally{l(a)}},[s,l]),eB=(0,m.useMemo)(()=>h.map((e,t)=>{let{app_id:r,id:n,status:i,start_time:o,title:c,message:p="",duration:u,shared_with_institution:m,shared_with_me:_,error_fix_suggestion:b,...v}=e,f=i===E.Im.Completed,g=i===E.Im.Failed,k=i===E.Im.UploadFailed,w=i===E.Im.NotEnoughCredits;return{shared:m?(0,d.jsx)(eh.A,{}):_?(0,d.jsx)(e_.A,{}):null,title:(0,d.jsx)(M(),{href:`/apps/${r}/results?id=${n}`,className:`${ej().title} ${f?ej().completed:""}`,children:(0,d.jsx)("span",{"data-test":"job-title",ref:t+1===h.length?eI:null,children:c})}),error_message:g&&b?(0,d.jsx)("div",{className:ej().jobLogTitle,onClick:()=>{ey(!0),eM(b)},children:"Error message"}):"",job_log:f||g?(0,d.jsx)("div",{className:ej().jobLogTitle,onClick:async()=>{let e="load-job-log";try{s(e);let{data:{job_log:t}}=await (0,J.sp)(n);eM(t),ey(!0),l(e)}catch(e){(0,T.jU)(e)}finally{l(e)}},children:"Job log"}):"",status:(0,d.jsx)("div",{"data-test":"job-status",className:ej().status,children:(0,d.jsxs)("span",{className:`${ej().statusText} ${f?ej().completed:g||k||w?ej().failed:ej().inProgress}`,children:[i,!(f||g)&&(0,d.jsx)(B.A,{tooltip:p})]})}),action:(e=>{let{app_id:t,id:s,config:l,status:r,shared_with_me:n,shared_with_institution:i,user_emails_shared_with:o,...c}=e,{input_files:p,...u}=l||{},m=r===E.Im.Completed;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:ej().actionIcon,children:(0,d.jsx)(em.A,{})}),(0,d.jsxs)("ul",{className:"actions-menu",children:[m&&(0,d.jsx)("li",{onClick:()=>{a.push(`/apps/${t}/results?id=${s}`)},children:"View results"}),m&&(0,d.jsx)("li",{onClick:()=>{eb({app_id:t,id:s,config:l,status:r,shared_with_me:n,user_emails_shared_with:o,shared_with_institution:i,...c}),eS(!0)},children:"Edit job title"}),!n&&m&&(0,d.jsx)("li",{onClick:()=>{eb({app_id:t,id:s,config:l,status:r,shared_with_me:n,user_emails_shared_with:o,shared_with_institution:i,...c}),ed(!0)},children:"Share Results"}),(0,d.jsx)("li",{onClick:()=>{a.push({pathname:`/apps/${t}`,query:u})},children:"Reopen app"}),!n&&(0,d.jsx)("li",{onClick:()=>{j(!0),ek(o?.length||i?"Are you sure? This cannot be undone and will be removed from any workspace you have shared it with":"Are you sure? This cannot be undone"),x(s)},children:"Delete job"})]})]})})({app_id:r,id:n,status:i,start_time:o,title:c,message:p,duration:u,shared_with_me:_,shared_with_institution:m,error_fix_suggestion:b,...v}),start_time:o,duration:u}}),[h]),eP=async e=>{let{data:{hits:t}}=await (0,J.Dk)({mode:"minimal",tags:[],search_string:e});return t.map(e=>{let{name:t}=e;return{label:t,value:t}})},eZ=A()((e,t)=>{eP(e).then(t)},500),{jobConfig:{input_files:eL,...eR},appConfig:{parameters:eD}}=G||{jobConfig:{},appConfig:{}};return(0,m.useEffect)(()=>{i({title:"Analyze and download your results"})},[i]),(0,m.useEffect)(()=>{(0,J.dG)()&&eW()},[eW]),(0,m.useEffect)(()=>{(0,J.dG)()&&0===c&&setTimeout(()=>{eW(1)},3e3)},[c]),(0,m.useEffect)(()=>{let e,t=h.reduce((e,t,a)=>{let{status:s}=t;return s!==E.Im.Completed&&s!==E.Im.Failed&&e.push(Math.ceil(a/10)),e},[]);return(0,J.dG)()&&t.length&&(e=setTimeout(()=>{eW(Math.max(...t,1))},2e4)),()=>{null!=e&&clearTimeout(e)}},[h,eW]),(0,m.useEffect)(()=>{a.query.finalRun&&eA(!0),window.history.replaceState(window.history.state,"",window.location.origin+window.location.pathname)},[]),(0,d.jsxs)("div",{className:ej().page,children:[(0,d.jsx)("header",{className:ej().pageHeader,children:(0,d.jsxs)("div",{className:ej().pageTitleGroup,children:[(0,d.jsx)("h1",{className:ej().pageTitle,children:"Jobs"}),n.title?(0,d.jsx)("span",{className:ej().pageSubtitle,children:n.title}):null]})}),(0,d.jsx)("div",{className:ej().content,children:(0,d.jsxs)("div",{className:ej().jobs,children:[(0,d.jsx)(en,{isOpen:eC,setIsOpen:eA,isFreeTier:(0,T.Bd)(o)}),(0,d.jsx)(eu,{isOpen:eE,setIsOpen:eS,initialName:ep?.title||"",onSubmit:e=>{let{name:t}=e;eO(ep.id,t)}}),ep&&(0,d.jsx)($.A,{isOpen:ec,setIsOpen:ed,jobInfo:ep,institutionId:r.institution_id,onUpdate:()=>{}}),(0,d.jsx)(P.A,{id:v,text:"Delete Job",cancelButtonText:"Cancel",confirmButtonText:"Delete",subText:eg,isOpen:b,setIsOpen:j,onConfirm:eF}),(0,d.jsx)(H.A,{isOpen:ew,setIsOpen:ey,children:(0,d.jsx)("div",{className:o.isAdmin?ej().modal:ej().modalSlim,children:(0,d.jsx)(V.A,{narrow:!0,tabs:[{name:o.isAdmin?"Job log":"Error message",component:(0,d.jsxs)("div",{className:o.isAdmin?"log-text":"log-text--slim",children:[eN,!o.isAdmin&&(0,d.jsxs)("p",{children:[(0,d.jsx)("b",{children:"We strongly recommend"})," reading the About section and parameter tooltips on the app page. Please note, the above response is AI-generated and may contain inaccuracies. Please reach out to [email protected] if you still need assistance."]})]})}]})})}),(0,d.jsxs)("div",{className:ej().sidebar,children:[(0,d.jsxs)("div",{className:"inputWrapper",children:[(0,d.jsx)("label",{children:"Jobs Workspace"}),(0,d.jsx)(y.Ay,{id:"workspace",instanceId:"workspace",value:eT.find(e=>{let{value:t}=e;return t===ea}),isSearchable:!1,classNamePrefix:"single-select",options:eT,onChange:e=>{N(1),es(e.value)}})]}),(0,d.jsxs)("div",{className:"inputWrapper",children:[(0,d.jsx)("label",{children:"Sort by"}),(0,d.jsx)(y.Ay,{id:"sortBy",instanceId:"sortBy",value:ev.find(e=>{let{value:t}=e;return t===ee}),isSearchable:!1,classNamePrefix:"single-select",options:ev,onChange:e=>{et(e.value)}})]}),"parameters"===ee&&(0,d.jsx)("div",{className:ej().additionalFilterWrapper,children:(0,d.jsxs)("div",{className:"inputWrapper",children:[(0,d.jsxs)("div",{className:ej().labelWrapper,children:[(0,d.jsx)("label",{children:"App"}),(0,d.jsx)("div",{className:ej().clearButton,onClick:()=>{N(1),er(""),eo(!1)},children:"Clear"})]}),(0,d.jsx)(w,{isSearchable:!0,id:"appName",instanceId:"appName",controlShouldRenderValue:ei,placeholder:"Start typing app name",classNamePrefix:"single-select",loadOptions:eZ,onMenuOpen:()=>eo(!1),onMenuClose:()=>eo(!0),onChange:async e=>{e&&(N(1),er(e.value))}})]})}),(0,d.jsxs)("div",{className:"inputWrapper",children:[(0,d.jsxs)("div",{className:ej().labelWrapper,children:[(0,d.jsx)("label",{children:"Date"}),(0,d.jsx)("div",{className:ej().clearButton,onClick:()=>{N(1),L(null),U(new Date)},children:"Clear"})]}),(0,d.jsxs)("div",{className:ej().dateWrapper,children:[(0,d.jsx)(Z.A,{label:"from",date:C,onChange:e=>{N(1),L(e)}}),(0,d.jsx)(Z.A,{label:"to",date:R,onChange:e=>{N(1),U(e)}})]})]}),(0,d.jsxs)("div",{className:"inputWrapper",children:[(0,d.jsx)("label",{children:"Parameters"}),(0,d.jsx)("div",{className:ej().parametersWrapper,children:G?eL||Object.entries(eR).length>0?(0,d.jsxs)(d.Fragment,{children:[o.isAdmin?(0,d.jsxs)("div",{className:ej().parametersRow,children:[(0,d.jsx)("div",{className:ej().parameterTitle,children:"Job id:"}),(0,d.jsx)("div",{className:ej().parameterValue,children:G.id})]}):(0,d.jsxs)("div",{className:ej().parametersRow,children:[(0,d.jsx)("div",{className:ej().parameterTitle,children:"Job title:"}),(0,d.jsx)("div",{className:ej().parameterValue,children:G.title})]}),eL&&(0,d.jsx)("div",{className:ej().filesSection,children:Object.entries(eL).map(e=>
1{let[t,a]=e;return(0,d.jsxs)("div",{className:ej().parametersRow,children:[(0,d.jsxs)("div",{className:ej().parameterTitle,children:[t.split("_").join(" "),":"]}),(0,d.jsx)("div",{className:ej().parameterValue,children:a.map(e=>{let{additional_info:{source:t,is_organisation:a},path:s}=e;return t?(0,d.jsxs)("div",{className:ej().parameterFile,children:[(0,d.jsx)("span",{className:ej().parameterFileSource,children:ef[t]}),(0,d.jsx)("span",{children:((e,t,a)=>{if("datahub"!==e)return t.split("/").pop();{let e="results"===t.split("/")[4];return a?`${o.user?.institution_name}/${t.split("/").slice(3).join("/")}`:e?`My Results/${t.split("/").slice(3).join("/")}`:`My Data/${t.split("/").slice(3).join("/")}`}})(t,s,a)})]},s||t):s?.split("/").pop()})})]},t)})}),Object.entries(eR).map(e=>{let[t,a]=e;return(0,d.jsxs)("div",{className:ej().parametersRow,children:[(0,d.jsxs)("div",{className:ej().parameterTitle,children:[eD?.parameters?.find(e=>e.field_name===t)?.title??t,":"]}),(0,d.jsx)("div",{className:ej().parameterValue,children:Array.isArray(a)?a.map(e=>JSON.stringify(e)).join(", "):a?.toString()})]},t)})]}):(0,d.jsx)("div",{className:ej().noParameters,children:"No parameters found for this job"}):(0,d.jsx)("div",{className:ej().noParameters,children:"Hover over a job and view the job's parameters here"})})]})]}),(0,d.jsxs)("div",{className:ej().tableContainer,children:[(0,d.jsxs)("div",{className:ej().searchWrapper,children:[(0,d.jsx)(z.default,{extraCls:ej().searchInput,placeholder:"Search by job name or app name ",onSearch:e=>{N(1),Q(e)}}),(0,d.jsxs)("div",{className:ej().countWrapper,children:[(0,d.jsx)("span",{children:"jobs:"}),X]})]}),0===eB.length?(0,d.jsx)("div",{className:ej().noData,children:(0,d.jsx)(D,{titleElement:(0,d.jsx)("p",{children:"This list will be filled with your trained AI models generated from apps. Why not try one of these?"})})}):(0,d.jsx)(O.A,{hideBar:!0,hasActionMenu:!0,hideScroll:!0,maxHeight:"45rem",data:eB,extraCls:ej().tableWrapper,head:eJ.head,keys:eJ.keys,onRowHover:e=>{K({id:h[e].id,title:h[e].title,jobConfig:h[e].config||{},appConfig:h[e].app_config?.settingsConfig||{}})}})]})]})})]})};eg.getLayout=function(e){return(0,d.jsx)(p.A,{withoutPadding:!0,children:e})};let ek=eg},61108:e=>{e.exports={lowBalanceModal:"LowBalanceModal_lowBalanceModal__dfxQ6",heading:"LowBalanceModal_heading__ifyqP",buttonContainer:"LowBalanceModal_buttonContainer__IZ_6M",freeTier:"LowBalanceModal_freeTier__U8MGS",text:"LowBalanceModal_text__PsZbD",detailsContainer:"LowBalanceModal_detailsContainer__kSAqJ",column1:"LowBalanceModal_column1__CK_TM",subTitle:"LowBalanceModal_subTitle__hEyZp",bulletPointContainer:"LowBalanceModal_bulletPointContainer____gqO",column2:"LowBalanceModal_column2__Sn37T",paidTier:"LowBalanceModal_paidTier__ZpyJc"}},71086:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>p});var s=a(37876),l=a(14232),r=a(97460),n=a(4917),i=a.n(n),o=a(16865),c=a(55120),d=a.n(c);let p=(0,l.memo)(e=>{let{value:t="",allowClear:a=!0,defaultValue:n="",extraCls:c="",placeholder:p="Search Here",showBtn:u,immediateSearch:m=!1,resetSearch:h=!0,sendButtonElement:_,onChange:b,onSearch:j}=e,[v,x]=(0,l.useState)(n||t),f=(0,l.useMemo)(()=>i()(j,500),[j]);return(0,l.useEffect)(()=>{x(t)},[t]),(0,s.jsxs)("div",{className:`${d().searchInput} ${c}`,children:[(0,s.jsxs)("div",{className:d().searchInputInner,children:[(0,s.jsx)("div",{className:`${d().searchIcon} ${u?d().disabled:void 0}`,children:(0,s.jsx)(o.A,{})}),(0,s.jsx)("input",{"data-test":"search-input",type:"text",placeholder:p,value:v,onChange:e=>{x(e.target.value),b&&b(e.target.value),m&&f(e.target.value)},onKeyUp:e=>{let{key:t}=e;"Enter"===t&&j(v)}}),a&&v?(0,s.jsx)(r.g,{icon:"close",onClick:()=>{x(""),b&&b(""),h&&j("")}}):null,_&&(0,s.jsx)("div",{className:d().sendButton,onClick:()=>{u||j(v)},children:_})]}),u?(0,s.jsx)("button",{type:"button",className:"btn-primary",onClick:()=>j(v),children:"Search"}):null]})})},80512:e=>{e.exports={noData:"RandomApps_noData___Wavu"}},81291:e=>{e.exports={editJobTitleModal:"RenameJobModal_editJobTitleModal__X1DXP",heading:"RenameJobModal_heading__l6Mgn",text:"RenameJobModal_text___lnf8",buttonContainer:"RenameJobModal_buttonContainer__D_YS0"}},91145:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s,l=a(14232);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}let n=e=>l.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 14",fill:"none"},e),s||(s=l.createElement("path",{d:"M10.516 7.083 7.749 6.064 6.731 3.295a.853.853 0 0 0-1.602 0l-1.02 2.766-2.77 1.019a.854.854 0 0 0 0 1.602l2.766 1.025 1.019 2.767a.853.853 0 0 0 1.602 0l1.018-2.767 2.77-1.018a.853.853 0 0 0 0-1.602l.002-.004ZM7.644 2.308a.429.429 0 0 1 .428-.429h.858v-.857a.429.429 0 0 1 .858 0v.857h.858a.429.429 0 0 1 0 .858h-.858v.858a.429.429 0 0 1-.858 0v-.858h-.858a.429.429 0 0 1-.428-.429Zm5.575 2.574a.429.429 0 0 1-.429.429h-.429v.428a.429.429 0 0 1-.857 0v-.428h-.43a.429.429 0 1 1 0-.858h.43v-.43a.429.429 0 1 1 .857 0v.43h.43a.429.429 0 0 1 .428.429Z",fill:"#262F34"})))},96199:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/jobs",function(){return a(57174)}])}},e=>{e.O(0,[1215,9221,2263,8230,3835,673,6238,5100,9836,8522,4547,7367,636,6593,8792],()=>e(e.s=96199)),_N_E=e.O()}]);

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.