System.register(["./page_layout-legacy.js?v=1753954525509","./index-legacy.js?v=1753954525509","./index-legacy102.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./utils-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./soft-legacy.js?v=1753954525509"],(function(e,a){"use strict";var t,l,u,i,n,s,c,p,o,_,d,f,b,k,r,g,y,m,x,h,v,C,j,B,w,$,D,U;return{setters:[e=>{t=e.n,l=e.V,u=e.W,i=e.a,n=e.c,s=e.O},e=>{c=e._},e=>{p=e._},e=>{o=e.k,_=e.ad,d=e.U,f=e.a1,b=e.a2,k=e.Q,r=e.X,g=e.j,y=e.a3,m=e.P,x=e.r,h=e.c,v=e.ah,C=e.W,j=e._},e=>{B=e.e,w=e.c},e=>{$=e.u,D=e.H},e=>{U=e.ay},null,null,null],execute:function(){const z=o({__name:"detail",props:{backupDetail:{default:()=>({type:"backup",done_time:"-",backup_file_size:"-",backup_file:"-",backup_file_sha256:"-",total_time:"-"})},type:{}},setup(e){const a=e,{backupDetail:i,type:n}=_(a);return(e,a)=>{const s=l,c=u;return d(),f(c,{column:1,bordered:"","label-placement":"left","label-style":{width:"150px"}},{default:b((()=>[k(s,{label:"backup"===r(n)?e.$t("Config.Backup.index_70"):e.$t("Config.Backup.index_71")},{default:b((()=>[g(y(r(i)?.done_time),1)])),_:1},8,["label"]),k(s,{label:"backup"===r(n)?e.$t("Config.Backup.index_72"):e.$t("Config.Backup.index_73")},{default:b((()=>[g(y(r(t)(Number(r(i)?.backup_file_size||0))),1)])),_:1},8,["label"]),k(s,{label:"backup"===r(n)?e.$t("Config.Backup.index_74"):e.$t("Config.Backup.index_75")},{default:b((()=>[g(y(r(i)?.backup_file),1)])),_:1},8,["label"]),k(s,{label:e.$t("Config.Backup.index_63")},{default:b((()=>[g(y(r(i)?.backup_file_sha256),1)])),_:1},8,["label"]),k(s,{label:"backup"===r(n)?e.$t("Config.Backup.index_76"):e.$t("Config.Backup.index_77")},{default:b((()=>[g(y(r(i)?.total_time?"backup"===r(n)?r(i).total_time+" s":r(i).restore_total_time+" s":"-"),1)])),_:1},8,["label"])])),_:1})}}}),H={class:"mt-16px text-right"};e("default",o({__name:"index",props:{data:{}},setup(e){const{t:t}=m(),l=j((()=>i((()=>a.import("./backup-info-legacy.js?v=1753954525509")),void 0))),u=$(),o=e,{data:W}=_(o),L=B(t("Config.Backup.index_89")),N=x({}),O=x("backup"),P=x(),Q=[{key:"backup",label:t("Config.Backup.index_19"),component:z,data:{backupDetail:h((()=>N.value)),type:"backup"}},{key:"restore",label:t("Config.Backup.index_90"),component:z,data:{backupDetail:h((()=>N.value)),type:"restore"},show:0!==W.value.restore_status}],R=()=>{q()},S=()=>{L.show=!0,u.getData(N.value.data_status)},{loading:V,setLoading:X}=w(),q=async()=>{try{X(!0);const{message:e}=await D({timestamp:W.value.timestamp,type:O.value});n(e)&&(N.value=e)}finally{X(!1)}};return q(),(e,a)=>{const u=p,i=U,n=c,o=s;return d(),f(o,{class:"p-16px",show:r(V)},{default:b((()=>[k(u,{value:r(O),"onUpdate:value":[a[0]||(a[0]=e=>v(O)?O.value=e:null),R],ref_key:"tabsRef",ref:P,options:Q},null,8,["value"]),C("div",H,[k(i,{type:"primary",class:"mr-16px",onClick:S},{default:b((()=>[g(y(r(t)("Config.Backup.index_88")),1)])),_:1})]),k(n,{show:r(L).show,"onUpdate:show":a[1]||(a[1]=e=>r(L).show=e),title:r(L).title,data:r(L).data,width:"750","min-height":250},{default:b((()=>[k(r(l),{class:"p-16px"})])),_:1},8,["show","title","data"])])),_:1},8,["show"])}}}))}}}));
