System.register(["./index-legacy237.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy22.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./index-legacy.js?v=1753954525509","./index-legacy172.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509"],(function(e,l){"use strict";var a,n,t,s,u,c,i,o,r,d,_,g,y,p,v,f,x,j;return{setters:[e=>{a=e._},e=>{n=e.m,t=e.fo,s=e.w},e=>{u=e._},e=>{c=e.k,i=e.P,o=e.r,r=e.x,d=e.U,_=e.V,g=e.Q,y=e.X,p=e.ah,v=e.W,f=e.a1,x=e.al,j=e.n},null,null,null,null,null,null,null],execute:function(){const l={class:"flex h-full"},m={class:"flex-1 p-16px overflow-hidden"};e("default",c({__name:"index",props:{id:{default:""}},emits:["close"],setup(e,{emit:c}){const k=e,h=c,{t:w}=i(),C=o(k.id),b=r([]),D=o(),P=()=>{j((()=>{D.value?.getContent()}))};return(async()=>{const e=n.loading(w("Public.Api.Load",[w("Docker.Container.log.index_27")]));try{const{message:e}=await t();s(e)&&e.length>0?(b.value=e.map((e=>({key:e.id,label:e.name}))),C.value||(C.value=e[0].id)):(n.error(w("Docker.Container.log.index_28")),h("close"))}finally{e.close()}})(),(e,n)=>{const t=a;return d(),_("div",l,[g(t,{value:y(C),"onUpdate:value":[n[0]||(n[0]=e=>p(C)?C.value=e:null),P],class:"w-auto h-full","pane-padding":"0px",data:y(b),onClickSelf:P},null,8,["value","data"]),v("div",m,[y(C)?(d(),f(u,{key:0,ref_key:"logRef",ref:D,id:y(C)},null,8,["id"])):x("",!0)])])}}}))}}}));
