import{b_ as s}from"./utils-lib.js?v=20260328163632";import{B as e}from"./index118.js?v=20260328163632";import{k as o,r as n,o as t,J as a,V as l,_ as r,Y as m}from"./base-lib.js?v=20260328163632";import"./naive-ui.js?v=20260328163632";import"./__commonjsHelpers__.js?v=20260328163632";import"./env-lib.js?v=20260328163632";const u=o({__name:"deploy-log",setup(o){const u=n("");let i=null;const p=async(s,e)=>{const o=JSON.parse(e.data);o.msg&&(u.value+=o.msg+"\n")};return t((()=>{i=s({route:"/ws/setup_deployment",onMessage:p})})),a((()=>{u.value="",null==i||i.close()})),(s,o)=>(l(),r(e,{class:"h-full !rounded-none",content:m(u)},null,8,["content"]))}});export{u as default};
