System.register(["./page_layout-legacy.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"],(function(e,l){"use strict";var a,t,r,s,n,c,i,u,o,g,p;return{setters:[e=>{a=e.gZ,t=e.c,r=e.m},e=>{s=e.k,n=e.r,c=e.o,i=e.G,u=e.R,o=e.S,g=e.U,p=e.V},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)=>(u(),o("div",l,[g("pre",{innerHTML:p(m),class:"h-full overflow-auto bg-black text-white p-10px whitespace-pre-wrap"},null,8,d)]))}}))}}}));
