System.register(["./utils-lib-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./index-legacy473.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./site-legacy.js?v=1761009159","./column-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./validator-legacy.js?v=1761009159","./useStore-legacy4.js?v=1761009159"],function(e,t){"use strict";var n,i,l,u,c,a,r,s,o,f,p,y,m,v,d,g,_,j,h,k,b,x,L,B,w,I;return{setters:[function(e){n=e.b2,i=e.l,l=e.ah,u=e.$},function(e){c=e._},function(e){a=e.c,r=e.w,s=e.g,o=e.q,f=e.v,p=e.x,y=e.e,m=e.B,v=e.y,d=e.N,g=e.z,_=e.D},function(e){j=e.p,h=e.q,k=e.r,b=e.u,x=e.v,L=e.h,B=e.w,w=e.x,I=e.T},null,null,null,null,null,null],execute:function(){e("default",a({__name:"ip-list",setup:function(e){r(function(){return L.value.ip_limit},function(e){e?x(e):(B.white=[],B.black=[])},{deep:!0});var t=s(function(){return"ipWhiteList"===j.value?h.value:k.value}),a=n({options:[{type:"button",label:"添加IP".concat("ipBlackList"===j.value?"黑":"白","名单"),active:!0,onClick:b}]}).BtOperation;return o(function(){x(L.value.ip_limit)}),function(e,n){var r=i,s=l,o=c,b=u;return f(),p("div",null,[y(o,null,{"header-left":m(function(){return[y(v(a))]}),content:m(function(){return["ipWhiteList"===v(j)?(f(),d(r,{key:0,ref_key:"ipWhiteListRef",ref:h,data:v(B).white,"max-height":390,column:v(w)},{empty:m(function(){return n[0]||(n[0]=[g("div",{class:"flex items-center justify-center"},"当前列表为空",-1)])}),_:1},8,["data","column"])):_("",!0),"ipBlackList"===v(j)?(f(),d(r,{key:1,ref_key:"ipListRef",ref:k,data:v(B).black,"max-height":390,column:v(w)},{empty:m(function(){return n[1]||(n[1]=[g("div",{class:"flex items-center justify-center"},"当前列表为空",-1)])}),_:1},8,["data","column"])):_("",!0)]}),"footer-left":m(function(){return[y(s,{"table-ref":v(t),options:v(I)},null,8,["table-ref","options"])]}),_:1}),"ipBlackList"!==v(j)?(f(),d(b,{key:0,class:"mt-[2rem] ml-[1.6rem]",options:[{content:"注意：设置IP白名单后会默认禁止除白名单以外的所有IP访问"}]})):_("",!0)])}}}))}}});
