System.register(["./page_layout-legacy.js?v=1764233927359","./vue-legacy.js?v=1764233927359","./naive-legacy.js?v=1764233927359","./common-legacy.js?v=1764233927359","./__commonjsHelpers__-legacy.js?v=1764233927359","./public-legacy.js?v=1764233927359"],function(e,l){"use strict";var a,t,r,s,n,c,i,u,o,g,p;return{setters:[e=>{a=e.g_,t=e.d,r=e.m},e=>{s=e.k,n=e.r,c=e.o,i=e.G,u=e.R,o=e.V,g=e.S,p=e.U},null,null,null,null],execute:function(){const l={class:"h-300px"},d=["innerHTML"];e("default",s({__name:"log",props:{data:{}},setup(e){const s=e,m=n("None"),v=async()=>{if(!s.data.path)return;const{message:e}=await a({filename:s.data.path});if(t(e)){m.value=e.result.replace(/\n/g,"<br/>");const l=m.value.includes("FireWall Migrate Service Finish"),a=m.value.includes("FireWall Migrate Error");(l||a)&&(f&&(clearInterval(f),f=null),l?(r.success("Firewall data migrated successfully"),setTimeout(()=>{window.location.reload()},2e3)):r.error("Firewall data migration failed"))}};v();let f=null;return c(()=>{f=setInterval(()=>{v()},1e3)}),i(()=>{f&&clearInterval(f)}),(e,a)=>(o(),u("div",l,[g("pre",{innerHTML:p(m),class:"h-full overflow-auto bg-black text-white p-10px whitespace-pre-wrap"},null,8,d)]))}}))}}});
