System.register(["./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159"],function(e,t){"use strict";var n,l,o,r,c,u,a,i,s,f,p,d,m,x,y,v,g,b,S,h;return{setters:[function(e){n=e.n,l=e.Q,o=e._},function(e){r=e.c,c=e.r,u=e.w,a=e.q,i=e.v,s=e.x,f=e.z,p=e.C,d=e.D,m=e.A,x=e.I,y=e.J,v=e.y,g=e.e,b=e.B,S=e.n,h=e.G}],execute:function(){var _=["innerHTML"],w={key:1,class:"flex-1 w-full p-0 bg-none whitespace-pre-line text-i text-disabled dark:text-[#ccc]"},H=r({__name:"index",props:{content:{default:""},isHtml:{type:Boolean,default:!1},autoScroll:{type:Boolean,default:!0},fullScreen:{type:[Object,Boolean],default:!1}},setup:function(e,o){var r=o.expose,H=e,k=c(null),B=c(!1),j=function(){S(function(){var e=k.value,t=e.scrollHeight;e.scrollTop=t})};u(function(){return H.content},function(){H.autoScroll&&j()},{immediate:!0});var C=function(e){H.fullScreen&&(B.value=e)},M=function(){return H.content},R=function(){n({title:H.fullScreen.title,area:"100%",showFooter:!1,closeBtn:2,customClass:"full-screen-dialog",component:function(){return l(function(){return t.import("./full-screen-legacy.js?v=1761009159")},void 0,t.meta.url)},compData:{isHtml:H.isHtml,autoScroll:H.autoScroll,onRefresh:H.fullScreen.onRefresh,getContent:M}})};return a(function(){H.autoScroll&&j()}),r({setScrollBottom:j}),function(e,t){var n=h;return i(),s("div",{class:"w-full h-full relative",onMouseover:t[0]||(t[0]=function(e){return C(!0)}),onMouseleave:t[1]||(t[1]=function(e){return C(!1)})},[f("pre",{ref_key:"preRef",ref:k,style:{height:"100%"},class:"w-full flex items-start py-[1rem] px-4 overflow-y-auto bg-[#111] log-box leading-[20px] !rounded-large text-small"},[t[2]||(t[2]=p("\t\t\t",-1)),e.isHtml?(i(),s("code",{key:0,class:"flex-1 w-full p-0 bg-none whitespace-pre-line text-i text-disabled dark:text-[#ccc]",innerHTML:e.content||"暂无日志"},null,8,_)):d("",!0),t[3]||(t[3]=p("\n    \t",-1)),e.isHtml?d("",!0):(i(),s("code",w,m(e.content||"暂无日志"),1)),t[4]||(t[4]=p("\n\t\t",-1))],512),x(g(n,{type:"primary",class:"absolute",style:{top:"1rem",right:"1.5rem"},onClick:R},{default:b(function(){return t[5]||(t[5]=[p(" 全屏展示 ",-1)])}),_:1,__:[5]},512),[[y,v(B)]])],32)}}});e("_",o(H,[["__scopeId","data-v-8e8d2211"]]))}}});
