!function(){function n(n,e,t,r,u,o,a){try{var i=n[o](a),c=i.value}catch(s){return void t(s)}i.done?e(c):Promise.resolve(c).then(r,u)}System.register(["./index-legacy.90883ee8.js","./vendor-legacy.bbc7855f.js","./index-legacy.f25f109a.js"],(function(e){"use strict";var t,r,u,o,a,i,c,s,l,f,d;return{setters:[function(n){t=n.l},function(n){r=n.d,u=n.U,o=n.L,a=n.u,i=n.r,c=n.c,s=n.F,l=n.I,f=n.B,d=n.b},function(){}],execute:function(){e("default",r({name:"app",components:{UserOutlined:u,LockOutlined:o},setup:function(){var e=a(),r=i({username:"",password:"",password2:""}),p=function(n){console.log(n,r)},m=function(n){console.log(n)},v=function(){var u,o=(u=regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t(r);case 2:n.sent.isHandleSuccess&&e.replace("/home");case 4:case"end":return n.stop()}}),n)})),function(){var e=this,t=arguments;return new Promise((function(r,o){var a=u.apply(e,t);function i(e){n(a,r,o,i,c,"next",e)}function c(e){n(a,r,o,i,c,"throw",e)}i(void 0)}))});return function(){return o.apply(this,arguments)}}();return function(){return c("div",{class:"login"},[c(s,{layout:"vertical",model:r,onFinish:p,onFinishFailed:m},{default:function(){return[c(s.Item,null,{default:function(){return[c(l,{value:r.username,"onUpdate:value":function(n){return r.username=n},placeholder:"Username"},{prefix:function(){return c(u,{style:"color: rgba(0, 0, 0, 0.25)"},null)}})]}}),c(s.Item,null,{default:function(){return[c(l,{value:r.password,"onUpdate:value":function(n){return r.password=n},type:"password",placeholder:"Password"},{prefix:function(){return c(o,{style:"color: rgba(0, 0, 0, 0.25)"},null)}})]}}),c(s.Item,null,{default:function(){return[c(f,{type:"primary","html-type":"submit",disabled:""===r.username||""===r.password,onClick:v},{default:function(){return[d("Log in")]}})]}})]}})])}}}))}}}))}();
