System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./setting-legacy-DG9cBT-a.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,t){"use strict";var l,a,n,i,c,o,s,u,f,r,g,_,p,v,d,m,y,S;return{setters:[e=>{l=e._},e=>{a=e._},e=>{n=e.H},e=>{i=e.k,c=e.R,o=e.r,s=e.e,u=e.$,f=e.Z,r=e.a0,g=e.a9,_=e.S,p=e._,v=e.aa,d=e.N},e=>{m=e.a1,y=e.a8,S=e._},null,null],execute:function(){const t={class:"p-20px"},x={class:"w-150px"},W={class:"w-150px"};e("default",i({__name:"config",props:{config:{}},emits:["refresh"],setup(e,{expose:i,emit:$}){const b=e,j=$,{t:w}=c(),h=o(null),U=s({open:!0,cycle:60,limit:240}),k={cycle:{validator:()=>!!U.cycle||new Error(w("Waf.Setting.config_154"))},limit:{validator:()=>!!U.limit||new Error(w("Waf.Setting.config_155"))}};return(()=>{const{config:e}=b;U.open=e.open,U.limit=e.limit,U.cycle=e.cycle})(),i({onConfirm:async()=>{await(h.value?.validate()),await n({...d(U),open:U.open?1:0}),j("refresh")}}),(e,n)=>{const i=y,c=m,o=S,s=a,d=l;return u(),f("div",t,[r(s,{ref_key:"formRef",ref:h,model:_(U),rules:k},{default:g((()=>[r(c,{label:e.$t("Waf.Setting.config_148"),path:"open"},{default:g((()=>[r(i,{value:_(U).open,"onUpdate:value":n[0]||(n[0]=e=>_(U).open=e)},null,8,["value"])])),_:1},8,["label"]),r(c,{label:e.$t("Waf.Setting.config_149"),path:"cycle"},{default:g((()=>[p("div",x,[r(o,{value:_(U).cycle,"onUpdate:value":n[1]||(n[1]=e=>_(U).cycle=e),min:1,"show-button":!1},{suffix:g((()=>[p("span",null,v(e.$t("Waf.Setting.config_53")),1)])),_:1},8,["value"])])])),_:1},8,["label"]),r(c,{label:e.$t("Waf.Setting.config_150"),path:"limit"},{default:g((()=>[p("div",W,[r(o,{value:_(U).limit,"onUpdate:value":n[2]||(n[2]=e=>_(U).limit=e),min:1,"show-button":!1},{suffix:g((()=>[p("span",null,v(e.$t("Waf.Setting.config_52")),1)])),_:1},8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"]),r(d,{class:"mt-12px"},{default:g((()=>[p("li",null,v(e.$t("Waf.Setting.config_151")),1),p("li",null,v(e.$t("Waf.Setting.config_152")),1),p("li",null,v(e.$t("Waf.Setting.config_153")),1)])),_:1})])}}}))}}}));
