System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index-legacy-xAbE4LTr.js?v=1773287522785","./config-legacy-DLeSYE-1.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785"],(function(e,t){"use strict";var a,n,i,s,f,l,o,c,r,u,d,g,x,_,m,p,C,y,w;return{setters:[e=>{a=e.ca,n=e.p,i=e.i,s=e.m},e=>{f=e.b,l=e._,o=e.C,c=e.m},e=>{r=e.default},e=>{u=e.k,d=e.R,g=e.al,x=e.$,_=e.Z,m=e.a0,p=e.a9,C=e.j,y=e.aa,w=e._}],execute:function(){const t={class:"p-20px"},S={class:"text-error"},$={class:"text-error"},h={class:"flex items-center justify-between"},v={class:"bt-link",href:"https://www.yakpanel.com/forum/d/357-how-to-use-google-authenticator-in-the-yakpanel",target:"_blank"};e("_",u({__name:"confirm",props:{onRefresh:{type:Function,default:()=>{}}},setup(e,{expose:u}){const{t:b}=d(),{safeConfig:j}=f(),k=e,R=g("riskRef");return u({onConfirm:async()=>{await(R.value?.validate());const{message:e}=await a({act:1});j.value.dynamicPwd=!0,k.onRefresh(),n({title:b("Config.Safe.index_62"),width:600,component:r}),i(e)&&s.success(e.result)}}),(e,a)=>(x(),_("div",t,[m(l,{class:"mb-20px"},{default:p((()=>[C(y(e.$t("Config.Safe.index_47")),1)])),_:1}),m(o,{class:"mb-20px"},{default:p((()=>[w("li",S,y(e.$t("Config.Safe.index_19")),1),w("li",$,y(e.$t("Config.Safe.index_69")),1),w("li",null,y(e.$t("Config.Safe.index_66")),1),w("li",null,y(e.$t("Config.Safe.index_67")),1)])),_:1}),w("div",h,[m(c,{ref_key:"riskRef",ref:R},{default:p((()=>[C(y(e.$t("Config.Safe.index_68")),1)])),_:1},512),w("a",v,y(e.$t("Config.Safe.index_168")),1)])]))}}))}}}));
