System.register(["./index-legacy104.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172"],(function(e,s){"use strict";var l,c,t,n,a,u,o,i,r,d,m,g,_;return{setters:[e=>{l=e._},e=>{c=e.h,t=e.m,n=e.hG},e=>{a=e.C},e=>{u=e.k,o=e.t,i=e.P,r=e.r,d=e.R,m=e.S,g=e.X,_=e.V},null,null,null],execute:function(){const s={class:"h-400px bg-#282c34 rounded-b-4px"};e("default",u({__name:"index",props:{row:{}},emits:["close"],setup(e,{emit:u}){const p=u,y=o(e,"row"),{t:f}=i(),j=r("Start pulling the image...\n"),{send:x,close:v}=a("/ws_model",{onMessage:(e,s)=>{const l=s.data;if(c(l)&&(j.value+=l,l.includes("successful")||l.includes("failed"))){const e={status:l.includes("successful"),msg:l.includes("successful")?f("Docker.Template.index_19"):f("Docker.Template.index_20")};e.status?(t.success(e.msg),p("close")):t.error(e.msg),v()}}});return(async()=>{await n({template_id:y.value.id}),x({model_index:"btdocker",mod_name:"compose",def_name:"get_pull_log",ws_callback:111})})(),(e,c)=>{const t=l;return d(),m("div",s,[g(t,{log:_(j)},null,8,["log"])])}}}))}}}));
