System.register(["./public-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./site-legacy3.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,t){"use strict";var a,l,s,n,i,u,c,o,d,r,m,g,f,y,_,p;return{setters:[e=>{a=e.b,l=e.f,s=e._},e=>{n=e.w},e=>{i=e.n,u=e.o},e=>{c=e.k,o=e.P,d=e.Q,r=e.U,m=e.V,g=e.X,f=e.a2,y=e.W,_=e.a3},e=>{p=e.c5},null,null],execute:function(){const t={class:"p-20px"};e("default",c({__name:"index",props:{name:{default:""},rule:{default:""},siteName:{default:""}},setup(e){const c=e,{t:x}=o(),{table:j,columns:N,setLoading:S}=a([{key:"rule",title:x("Waf.Site.Config.index_66")},{key:"ps",title:x("Waf.Site.Config.index_4"),width:180},{key:"status",title:x("Waf.Site.Config.index_5"),width:60,render:(e,t)=>d(p,{size:"small",value:e.status,onUpdateValue:async a=>{const{siteName:l,rule:s}=c;await i({index:t,siteName:l,ruleName:s}),e.status=a}},null)}]);return(async()=>{try{S(!0);const{siteName:e,rule:t}=c,{message:a}=await u({siteName:e,ruleName:t});n(a)&&(j.data=a.map((([e,t,a])=>({status:!!e,rule:t,ps:a}))))}finally{S(!1)}})(),(e,a)=>{const n=l,i=s;return r(),m("div",t,[d(n,{"max-height":420,loading:g(j).loading,data:g(j).data,columns:g(N)},null,8,["loading","data","columns"]),d(i,{class:"mt-16px"},{default:f((()=>[y("li",null,_(e.$t("Waf.Site.Config.index_71")),1),y("li",null,_(e.$t("Waf.Site.Config.index_72")),1)])),_:1})])}}}))}}}));
