System.register(["./page_layout-legacy.js?v=1763625242172","./site-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172"],(function(e,a){"use strict";var t,n,s,l,c,i,o,r,d,u,x,p,y,_,m;return{setters:[e=>{t=e.d_,n=e._},e=>{s=e.bc},null,e=>{l=e.k,c=e.r,i=e.R,o=e.S,r=e.U,d=e.X,u=e.V,x=e.a4,p=e.a3,y=e.j,_=e.aj},e=>{m=e._},null,null],execute:function(){const a={class:"p-24px"},v={class:"flex pl-12px"},f={class:"flex-1 ml-14px pt-8px"},g={class:"text-16px font-bold text-font1 mb-20px"},j={key:0},h={key:1};e("default",l({__name:"index",props:{data:{}},setup(e,{expose:l}){const k=t(),w=e,{rows:b}=w.data,S=c(!1),P=async(e,a=!1)=>{let t={id:e.id,site_name:e.name,remove_path:S.value?1:0};return await s(t,a)};return l({onConfirm:async({hide:e})=>{var a;await(a=e,void b.forEach((async(e,t,n)=>{t===n.length-1?(await P(b[0],!0),k.setRefresh(!0),a?.()):(await P(b[t]),a?.())})))}}),(e,t)=>{const s=n,l=m;return i(),o("div",a,[r("div",v,[d(s,{name:"base-warning",size:"34",color:"#f0a020"}),r("div",f,[r("div",g,[1==u(b).length?(i(),o("div",j,x(e.$t("Site.Proxy.index_15",[u(b)[0].name])),1)):(i(),o("div",h,x(e.$t("Site.Proxy.index_16")),1))]),d(l,{checked:u(S),"onUpdate:checked":t[0]||(t[0]=e=>_(S)?S.value=e:null)},{default:p((()=>[y(x(e.$t("Site.Proxy.index_17")),1)])),_:1},8,["checked"])])])])}}}))}}}));
