System.register(["./index-legacy-Cv0QQQJ6.js?v=1773287522785","./index-legacy-BJO1GMTD.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./utils-legacy-D3bAeO-j.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785"],(function(e,a){"use strict";var l,s,t,n,u,o,c,r,i,g,p,d,y,v,_,m,f,j;return{setters:[e=>{l=e._},e=>{s=e._},e=>{t=e.k,n=e.O,u=e.$,o=e.Z,c=e.a0,r=e.S,i=e.R,g=e.r,p=e.c,d=e.a8,y=e.a9,v=e.X},e=>{_=e.I},e=>{m=e.i},e=>{f=e.u},e=>{j=e.a9},null,null],execute:function(){const a={class:"h-500px"},x=t({__name:"log",props:{log:{}},setup(e){const l=e,{log:t}=n(l);return(e,l)=>{const n=s;return u(),o("div",a,[c(n,{log:r(t)},null,8,["log"])])}}});e("default",t({__name:"index",props:{data:{}},setup(e){const{t:a}=i(),s=e,{data:t}=n(s),o=g(""),k=g("backup"),b=g(),h=[{key:"backup",label:a("Config.Backup.index_91"),component:x,data:{log:p((()=>o.value))}},{key:"restore",label:a("Config.Backup.index_92"),component:x,data:{log:p((()=>o.value))},show:0!==t.value.restore_status}],w=()=>{L()},{loading:B,setLoading:C}=f(),L=async()=>{try{C(!0);const{message:e}=await _({timestamp:t.value.timestamp,type:k.value});m(e)&&(o.value=e.result)}finally{C(!1)}};return L(),(e,a)=>{const s=l,t=j;return u(),d(t,{show:r(B)},{default:y((()=>[c(s,{class:"p-16px",value:r(k),"onUpdate:value":[a[0]||(a[0]=e=>v(k)?k.value=e:null),w],ref_key:"tabsRef",ref:b,options:h},null,8,["value"])])),_:1},8,["show"])}}}))}}}));
