System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy2.js?v=1753954525509","./public-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./index-legacy96.js?v=1753954525509"],(function(e,a){"use strict";var s,l,r,t,o,d,n,p,i,u,c,_,w,x,g,f,v,y,m,P,j,h,k,b,C,$;return{setters:[e=>{s=e._},e=>{l=e.I,r=e.J,t=e.K,o=e.L,d=e.o},e=>{n=e._},e=>{p=e.d},e=>{i=e.c7,u=e.cA,c=e.aq,_=e.ay},e=>{w=e.k,x=e.P,g=e.r,f=e.e,v=e.U,y=e.V,m=e.W,P=e.a3,j=e.Q,h=e.a2,k=e.X,b=e.j,C=e.aa,$=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"},T={class:"flex justify-end mt-16px"};e("default",w({__name:"index",setup(e){const{t:w}=x(),q=g(null),z=f({password1:"",password2:""}),A={password1:{trigger:["blur","input"],validator:()=>i(z.password1)?new Error(w("Config.Panel.index_67")):!(z.password1.length<6)||new Error(w("Password.index_6"))},password2:{trigger:["blur","input"],validator:()=>i(z.password2)?new Error(w("Config.Panel.index_69")):z.password1===z.password2||new Error(w("Config.Panel.index_70"))}},F=async()=>{await(q.value?.validate()),await l({password1:r(z.password1),password2:r(z.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 o(),t("/login?dologin=True",1500)}})};return(e,l)=>{const r=n,t=u,o=c,p=_,i=d,w=s;return v(),y("div",a,[m("div",E,[m("h3",U,P(e.$t("Password.index_1")),1)]),j(w,{ref_key:"formRef",ref:q,model:k(z),rules:A,size:"large",class:"w-500px p-32px pt-0"},{default:h((()=>[j(t,{path:"password1"},{default:h((()=>[j(r,{value:k(z).password1,"onUpdate:value":l[0]||(l[0]=e=>k(z).password1=e),length:10,default:!1,placeholder:e.$t("Password.index_2")},null,8,["value","placeholder"])])),_:1}),j(t,{path:"password2"},{default:h((()=>[j(o,{value:k(z).password2,"onUpdate:value":l[1]||(l[1]=e=>k(z).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((()=>[b(P(e.$t("Password.index_4")),1)])),_:1})])),_:1}),m("div",T,[j(i,{onClick:H},{default:h((()=>[b(P(e.$t("Password.index_5")),1)])),_:1})])])),_:1},8,["model"])])}}}))}}}));
