System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy2.js?v=1763625242172","./public-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172","./index-legacy98.js?v=1763625242172"],(function(e,a){"use strict";var s,l,r,t,d,o,n,p,i,u,c,_,w,x,g,f,v,y,P,m,j,h,b,k,C,$;return{setters:[e=>{s=e._},e=>{l=e.N,r=e.O,t=e.P,d=e.Q,o=e.o},e=>{n=e._},e=>{p=e.a},e=>{i=e.dl,u=e.dP,c=e.au,_=e.aC},e=>{w=e.k,x=e.P,g=e.r,f=e.e,v=e.R,y=e.S,P=e.U,m=e.a4,j=e.X,h=e.a3,b=e.V,k=e.j,C=e.ab,$=e.F},null,null,null],execute:function(){const a={class:"flex-center flex-col pt-8%"},E={class:"pt-44px"},U={class:"mb-24px text-center text-20px text-dark"},R={class:"flex justify-end mt-16px"};e("default",w({__name:"index",setup(e){const{t:w}=x(),S=g(null),T=f({password1:"",password2:""}),z={password1:{trigger:["blur","input"],validator:()=>i(T.password1)?new Error(w("Config.Panel.index_67")):!(T.password1.length<6)||new Error(w("Password.index_6"))},password2:{trigger:["blur","input"],validator:()=>i(T.password2)?new Error(w("Config.Panel.index_69")):T.password1===T.password2||new Error(w("Config.Panel.index_70"))}},F=async()=>{await(S.value?.validate()),await l({password1:r(T.password1),password2:r(T.password2)}),t("/login?dologin=True",1500)},H=()=>{p({title:w("Password.index_7"),content:()=>j($,null,[j(C,{tag:"div",scope:"global",keypath:"Password.index_8"},{text_1:()=>j("span",{class:"text-error"},[w("Password.index_9")])})]),onConfirm:async()=>{await d(),t("/login?dologin=True",1500)}})};return(e,l)=>{const r=n,t=u,d=c,p=_,i=o,w=s;return v(),y("div",a,[P("div",E,[P("h3",U,m(e.$t("Password.index_1")),1)]),j(w,{ref_key:"formRef",ref:S,model:b(T),rules:z,size:"large",class:"w-500px p-32px pt-0"},{default:h((()=>[j(t,{path:"password1"},{default:h((()=>[j(r,{value:b(T).password1,"onUpdate:value":l[0]||(l[0]=e=>b(T).password1=e),length:10,default:!1,placeholder:e.$t("Password.index_2")},null,8,["value","placeholder"])])),_:1}),j(t,{path:"password2"},{default:h((()=>[j(d,{value:b(T).password2,"onUpdate:value":l[1]||(l[1]=e=>b(T).password2=e),placeholder:e.$t("Password.index_3")},null,8,["value","placeholder"])])),_:1}),j(t,{"show-feedback":!1},{default:h((()=>[j(p,{type:"primary",block:"",onClick:F},{default:h((()=>[k(m(e.$t("Password.index_4")),1)])),_:1})])),_:1}),P("div",R,[j(i,{onClick:H},{default:h((()=>[k(m(e.$t("Password.index_5")),1)])),_:1})])])),_:1},8,["model"])])}}}))}}}));
