import{S as p}from"./index-DhzSj-2g.js?v=1773287522785";import{k as l,e as m,r as i,$ as u,a8 as f,S as d}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./xterm-dpUsuiNl.js?v=1773287522785";import"./useSocket-DTHwGZgK.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./xterm-addon-canvas-DELv9KNm.js?v=1773287522785";const b=l({__name:"index",props:{row:{type:Object,default:()=>({})}},setup(s){const r=s,n=m({pj_name:r.row.name}),e=i(null),c=()=>{var a,t,o;(a=e.value)==null||a.send("cd ".concat(r.row.path,"\r")),(t=e.value)==null||t.send("".concat(r.row.shell_active,"\r")),(o=e.value)==null||o.send("clear\r")};return(a,t)=>(u(),f(p,{ref_key:"terminalRef",ref:e,class:"h-600px",data:d(n),url:"/pyenv_webssh",onSuccess:c},null,8,["data"]))}});export{b as default};
