System.register(["./public-legacy.js?v=1764233927359","./vue-legacy.js?v=1764233927359","./page_layout-legacy.js?v=1764233927359","./setting-legacy.js?v=1764233927359","./naive-legacy.js?v=1764233927359","./common-legacy.js?v=1764233927359","./__commonjsHelpers__-legacy.js?v=1764233927359"],function(l,a){"use strict";var e,t,n,i,c,u,s,o,r,g,d,f,m,y,p,_,v,j,x,S,b,h,W,k;return{setters:[l=>{e=l.c,t=l.f,n=l.h,i=l._},l=>{c=l.k,u=l.P,s=l.r,o=l.R,r=l.V,g=l.S,d=l.W,f=l.aj,m=l.ak,y=l.U,p=l.a3,_=l.j,v=l.a4},l=>{j=l.x,x=l.m},l=>{S=l.E,b=l.F,h=l.G},l=>{W=l.au,k=l.aC},null,null],execute:function(){const a={class:"p-20px"},$={class:"flex mb-16px"},w={class:"flex-1 mr-16px"};l("default",c({__name:"config",setup(l){const{t:c}=u(),C=s(""),P=async()=>{""!==C.value.trim()?(await h({url_find:C.value}),C.value="",R()):x.error(c("Waf.Setting.config_81"))},{table:U,columns:B,setLoading:L}=e([{key:"url",title:"URL"},t({width:80,options:l=>[{label:c("Public.Btn.Del"),onClick:async()=>{await S({url_find:l.url}),R()}}]})]),R=async()=>{try{L(!0);const{message:l}=await b();j(l)&&(U.data=l.map(l=>({url:l})))}finally{L(!1)}};return R(),(l,e)=>{const t=W,c=k,u=n,s=i;return r(),o("div",a,[g("div",$,[g("div",w,[d(t,{value:y(C),"onUpdate:value":e[0]||(e[0]=l=>m(C)?C.value=l:null),placeholder:l.$t("Waf.Setting.config_116"),onKeyup:f(P,["enter"])},null,8,["value","placeholder"])]),d(c,{type:"primary",onClick:P},{default:p(()=>[_(v(l.$t("Public.Btn.Add")),1)]),_:1})]),d(u,{"max-height":368,loading:y(U).loading,data:y(U).data,columns:y(B)},null,8,["loading","data","columns"]),d(s,{class:"mt-16px"},{default:p(()=>[g("li",null,v(l.$t("Waf.Setting.config_117")),1),g("li",null,v(l.$t("Waf.Setting.config_118")),1),g("li",null,v(l.$t("Waf.Setting.config_119")),1)]),_:1})])}}}))}}});
