System.register(["./index-legacy245.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy21.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./index-legacy.js?v=1763625242172","./index-legacy178.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172"],(function(e,l){"use strict";var a,n,t,s,u,c,i,o,r,d,g,_,y,p,v,x,f,j;return{setters:[e=>{a=e._},e=>{n=e.m,t=e.gj,s=e.x},e=>{u=e._},e=>{c=e.k,i=e.P,o=e.r,r=e.x,d=e.R,g=e.S,_=e.X,y=e.V,p=e.aj,v=e.U,x=e.a2,f=e.an,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:C}=i(),b=o(k.id),w=r([]),S=o(),D=()=>{j((()=>{S.value?.getContent()}))};return(async()=>{const e=n.loading(C("Public.Api.Load",[C("Docker.Container.log.index_27")]));try{const{message:e}=await t();s(e)&&e.length>0?(w.value=e.map((e=>({key:e.id,label:e.name}))),b.value||(b.value=e[0].id)):(n.error(C("Docker.Container.log.index_28")),h("close"))}finally{e.close()}})(),(e,n)=>{const t=a;return d(),g("div",l,[_(t,{value:y(b),"onUpdate:value":[n[0]||(n[0]=e=>p(b)?b.value=e:null),D],class:"w-auto h-full","pane-padding":"0px",data:y(w),onClickSelf:D},null,8,["value","data"]),v("div",m,[y(b)?(d(),x(u,{key:0,ref_key:"logRef",ref:S,id:y(b)},null,8,["id"])):f("",!0)])])}}}))}}}));
