import{_ as e}from"./index101.js?v=1753954525509";import{bg as s,m as o}from"./page_layout.js?v=1753954525509";import{z as a}from"./public.js?v=1753954525509";import{k as r,t as m,P as t,r as l,U as i,V as n,Q as c,X as u}from"./vue.js?v=1753954525509";import"./naive.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";const d={class:"h-400px bg-#282c34 rounded-b-4px"},p=r({__name:"index",props:{row:{}},emits:["close"],setup(r,{emit:p}){const _=p,f=m(r,"row"),{t:g}=t(),j=s(),b=l(g("Docker.CloudImage.index_9")+"\n"),{send:x,close:k}=a("/ws_model",{onMessage:(e,s)=>{const{data:a}=s;b.value+=a,a.includes("successful")?(o.success("拉取成功"),j.setRefresh(!0),setTimeout((()=>{_("close")}),1500),k()):a.includes("failed")&&(o.error("拉取失败"),k())}});return x({model_index:"btdocker",mod_name:"image",def_name:"pull_from_some_registry",ws_callback:111,name:"Docker public repository",image:f.value.name}),(s,o)=>{const a=e;return i(),n("div",d,[c(a,{log:u(b)},null,8,["log"])])}}});export{p as default};
