import{j as s}from"./vendor-react-wBh_31cN.js";import{G as a}from"./index-BKr2rJhV.js";import{P as t,a as n,b as i,d as p}from"./popover-DNRIgB96.js";import{X as m}from"./vendor-icons-BUUmD6ht.js";import{F as l}from"./utils-C3tzOLw4.js";const x=({children:r})=>s.jsxs(t,{children:[s.jsx(n,{asChild:!0,children:s.jsxs(a,{variant:"outline",size:"sm",className:"text-xs",children:[s.jsx(m,{className:"mr-1 size-3.5"}),"Env Variables"]})}),s.jsxs(i,{className:"w-auto rounded-md bg-popover text-xs",children:[s.jsx(p,{}),r.map(([e,o])=>s.jsxs("div",{className:"flex justify-between gap-4",children:[s.jsxs("span",{children:[e," :"]}),s.jsx("span",{children:o})]},e))]})]}),h=({jobType:r})=>s.jsx(x,{children:[{value:["$HOME","/home/yarnapp"]},{value:["$PROJECT_PATH","/hopsfs/"],showOnlyForType:[l.PYTHON]}].filter(({showOnlyForType:e})=>e?e.includes(r):!0).map(({value:e})=>e)});export{h as J};
