System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BWPgT9-g.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./index-legacy-CHm18dY8.js?v=1773287522785","./index-legacy-PSe5LpyC.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BQ2Kqzbl.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785"],(function(e,t){"use strict";var a,l,s,n,i,u,c,d,o,_,r,g,y,p,x,m,f,h,j,v,k,b,w,P,S,R,W;return{setters:[e=>{a=e.h,l=e.n,s=e.p,n=e.P},e=>{i=e._},e=>{u=e._},e=>{c=e._},e=>{d=e.u},e=>{o=e.u},e=>{_=e.E,r=e.F},e=>{g=e.u},e=>{y=e.k,p=e.B},e=>{x=e.k,m=e.R,f=e.$,h=e.Z,j=e.a0,v=e.a9,k=e._,b=e.aa,w=e.S,P=e.X,S=e.j,R=e.ak,W=e.a3},null,null,null],execute:function(){const $={class:"p-20px"},L={key:0};e("default",x({__name:"index",setup(e){const{t:x}=m(),T=g(),{keys:C,table:D,columns:O}=o([{type:"selection",width:40},{key:"name",title:x("Site.TableRow.index_2"),ellipsis:{tooltip:{width:"trigger"}}},{key:"path",title:x("Site.DelSite.index_2")}]),A=async()=>{a({title:x("WP.index_27"),content:x("WP.index_28"),onConfirm:async({hide:e})=>{const{message:a}=await _({sites_list:JSON.stringify(C.value)});l(a)&&s({title:x("Public.Table.Result"),width:480,data:{message:a},component:W((()=>n((()=>t.import("./result-legacy-COk9BPJC.js?v=1773287522785")),void 0)))}),F(),T.setRefresh(!0),e()}})},{loading:B,setLoading:E}=d(),F=async()=>{try{E(!0);const{message:e}=await r();l(e)&&(D.data=e)}finally{C.value=[],E(!1)}};return F(),(e,t)=>{const a=p,l=y,s=c,n=u,d=i;return f(),h("div",$,[j(d,null,{toolsLeft:v((()=>[j(l,{class:"flex-nowrap!","items-center":""},{default:v((()=>[j(a,{type:"primary",disabled:!w(C).length,onClick:A},{default:v((()=>[S(b(e.$t("Site.TableOP.index_8")),1)])),_:1},8,["disabled"]),w(D).data.length?R("",!0):(f(),h("span",L,b(e.$t("WP.index_30")),1))])),_:1}),j(s,null,{default:v((()=>[k("span",null,b(e.$t("WP.index_31")),1)])),_:1})])),table:v((()=>[j(n,{"checked-row-keys":w(C),"onUpdate:checkedRowKeys":t[0]||(t[0]=e=>P(C)?C.value=e:null),loading:w(B),"loading-num":3,"max-height":340,data:w(D).data,columns:w(O)},null,8,["checked-row-keys","loading","data","columns"])])),pageLeft:v((()=>[j(s,null,{default:v((()=>[k("li",null,b(e.$t("WP.index_29")),1),t[1]||(t[1]=k("li",null,"After migration, the backup data of the original website will be lost. Please save it carefully.",-1))])),_:1,__:[1]})])),_:1})])}}}))}}}));
