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