import{q as g}from"./chunk-TKVDP62Z.js";import{Bb as l,Db as u,Fa as c,Mb as o,Nb as e,Ob as h,Sd as f,Za as d,Zb as v,eb as s,ib as p,mc as i,oc as m}from"./chunk-GJDGQISV.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";function w(n,a){if(n&1&&(o(0,"h3",5),i(1),e(),o(2,"h3",5),i(3),e()),n&2){let t=v();d(),m("Login ID: ",t.data().Username),d(2),m("Password: ",t.data().Password)}}function b(n,a){n&1&&(o(0,"h3",5),i(1,"Loading..."),e())}var x=class n{constructor(a,t){this.httpService=a;this.activeRoute=t;document.title="Outlet | Reset Password Form";let r=this.activeRoute.snapshot.queryParams;this.httpService.post("/api/login/ResetPassword",r).subscribe(y=>{this.data.set(y)})}data=c(null);ngOnInit(){document.body.classList.add("login-body")}ngOnDestroy(){document.body.classList.remove("login-body")}static \u0275fac=function(t){return new(t||n)(s(g),s(f))};static \u0275cmp=p({type:n,selectors:[["POS-auth-reset-password"]],decls:16,vars:1,consts:[[1,"container-fluid"],[1,"card","mx-auto","bg-primary","text-light"],[1,"card-title"],[1,"text-center"],[1,"card-body"],[1,"fw-normal"],[1,"fixed-bottom"],[1,"d-flex","justify-content-start","mb-11","mx-11","footer-mobile"],["target","_blank","href","http://www.dealpos.com"],["src","https://cdn.dealpos.app/public/logo/dealpos_130.png",1,"ms-3","border-0"]],template:function(t,r){t&1&&(o(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),i(4,"Your New Account Info"),e()(),o(5,"div",4)(6,"div",3),l(7,w,4,2)(8,b,2,0,"h3",5),e()()(),o(9,"div",6)(10,"div",7)(11,"div")(12,"span"),i(13,"powered by :"),e(),h(14,"a",8)(15,"img",9),e()()()()),t&2&&(d(7),u(r.data()?7:8))},styles:[".card[_ngcontent-%COMP%]{width:30%;margin-top:150px;padding:15px}@media screen and (max-width:768px){.footer-mobile[_ngcontent-%COMP%]{display:flex!important;justify-content:center!important}div.vh-100[_ngcontent-%COMP%]{height:40vh!important}.fixed-bottom[_ngcontent-%COMP%]{position:static!important}input[type=submit][_ngcontent-%COMP%]{width:98%}.card[_ngcontent-%COMP%]{border:none;width:85%}}"],changeDetection:0})};export{x as AuthResetPasswordComponent};
