System.register(["./xterm-legacy-UzqSqzXt.js?v=1773287522785","./xterm-addon-canvas-legacy-Tys2uZOF.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,t){"use strict";var n,o,s,a,l,r,d,i,u,c,m,f,p;return{setters:[e=>{n=e.x,o=e.a,s=e.b},e=>{a=e.x},e=>{l=e.i,r=e.m},e=>{d=e.k,i=e.r,u=e.o,c=e.b,m=e.$,f=e.Z,p=e._},null,null],execute:function(){var t=document.createElement("style");t.textContent=".drawer{display:none}.xterm{height:100%;padding:12px}.xterm .xterm-viewport{overflow:auto!important}\n/*$vite$:1*/",document.head.appendChild(t);const g={class:"h-full"};e("default",d({__name:"index",props:{status:{},setProjectStatus:{}},setup(e){const t=e,d=i(null);let v,x;const w=()=>{v.loadAddon(x),v.loadAddon(new a.CanvasAddon),v.loadAddon(new s.WebLinksAddon),d.value&&v.open(d.value)},y=()=>{x.fit()};return u((()=>{v=new n.Terminal({cursorBlink:!0,fontSize:12,lineHeight:1.26,fontFamily:"Monaco, Menlo, Consolas, 'Courier New', monospace",theme:{background:"#333",foreground:"#ececec"}}),x=new o.FitAddon,w(),y(),t.setProjectStatus(t.status,(e=>{l(e)&&(-1===e.data&&r.success(e.msg),v.write(e.msg))}))})),c((()=>{v.dispose()})),(e,t)=>(m(),f("div",g,[p("div",{ref_key:"terminalRef",ref:d,class:"w-full h-full overflow-hidden rounded-b-4px"},null,512)]))}}))}}}));
