1import{a as Ee}from"./chunk-XLQNYZAB.js";import{a as re,b as Fe}from"./chunk-CMCU6XFH.js";import{h as De,m as w,n as Le}from"./chunk-YO4EDRJ7.js";import"./chunk-5KUSON4V.js";import{b as Ae}from"./chunk-7G6VV26I.js";import{b as ie,c as ze}from"./chunk-GIOONPFU.js";import"./chunk-MIK4VLE4.js";import{$ as f,$a as Q,$c as ke,C as pe,Fc as j,Gb as l,Hb as c,Hc as ue,Ic as q,Jc as N,La as P,Lc as xe,Mc as ee,Na as O,O as de,Oc as fe,P as Ce,Pc as te,Qc as U,Ra as S,Sa as o,Ta as r,Tc as ve,Ua as _,Uc as we,V as J,Va as _e,W as K,Wa as be,Xc as Y,Ya as A,Yb as Me,Z as g,_ as u,_a as b,_c as ye,a as E,ad as ne,b as L,db as F,ea as z,eb as T,ec as Pe,ed as oe,fb as V,fd as v,gb as D,gd as Se,i as he,ib as I,jd as Re,lb as s,lc as B,mb as h,mc as Oe,nb as m,oc as $,p as ce,pc as x,qb as G,ra as a,rb as H,rc as me,sb as X,ud as Ie,v as ge,ya as M,za as Z}from"./chunk-UPWIJIG3.js";function W(t){t||(t=g(z));let k=new he(n=>{if(t.destroyed){n.next();return}return t.onDestroy(n.next.bind(n))});return n=>n.pipe(Ce(k))}var Te=(()=>{class t{constructor(){this.http=g(Pe),this.configService=g(Re)}postOAuth(n){return this.http.post(`${this.configService.config.prov}/auth/external/redirect`,n)}postRegistration(n){return this.http.post(`${this.configService.config.prov}/users`,n)}postRequestReset(n){return this.http.post(`${this.configService.config.prov}/users/resetPassword`,n)}postConfirmReset(n){return this.http.post(`${this.configService.config.prov}/users/resetPassword/confirm`,n)}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var y=(()=>{class t{constructor(){this.errorHandlerService=g(Ie),this.authService=g(Ee),this.accountApiService=g(Te),this.autoRegister=!1}handleYandex(){let n={service:"YANDEX"};return this.accountApiService.postOAuth(n)}handleAuth(n){let e=L(E({},n),{grant_type:"password"});if(!(!e.username||!e.password))return this.authService.login(e)}handleRegistration(n){return this.accountApiService.postRegistration(E(E({},n),this.authService.refId&&{refId:this.authService.refId}))}requestReset(n){return this.accountApiService.postRequestReset(n).pipe(ge(e=>e.success),pe(this.errorHandlerService.handleError))}confirmReset(n){let e={code:n};return this.accountApiService.postConfirmReset(e).pipe(ge(i=>i.success),pe(this.errorHandlerService.handleError))}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Be=(()=>{class t{constructor(){this.route=g(B),this.translate=g(oe),this.toastr=g(ne),this.accountService=g(y),this.destroyRef=g(z),this.isLoading=!1}ngOnInit(){this.error=this.route.snapshot.queryParams.error==="",this.resetForm()}submitAuth(){this.loginForm.valid&&(this.isLoading=!0,this.accountService.handleAuth(this.loginForm.value).pipe(W(this.destroyRef)).subscribe(n=>{n||(this.error=!0,this.toastr.error(this.translate.instant("login.error_login"),this.translate.instant("global.error")),this.loginForm.get("password").setValue(""))}).add(()=>setTimeout(()=>this.isLoading=!1,300)))}authYandex(n){n.target.disabled=!0,this.accountService.handleYandex().pipe(W(this.destroyRef)).subscribe(e=>{e.code===200&&(window.location.href=e.data.url)})}resetForm(){this.loginForm=new xe({username:new fe("",[ue.required]),password:new fe("",[ue.required])})}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=M({type:t,selectors:[["app-login"]],standalone:!1,decls:34,vars:26,consts:[["f","ngForm"],["id","formLogin","method","post",3,"ngSubmit","formGroup"],[1,"form-group"],["for","username",1,"col-form-label"],["autocomplete","off","formControlName","username","id","username","name","j_username","placeholder","[email protected]","required","","type","text",1,"form-control",3,"ngModelChange"],[1,"form-group","mt-2"],["for","password",1,"col-form-label"],["autocomplete","off","formControlName","password","id","password","name","j_password","placeholder","********","required","","type","password",1,"form-control",3,"ngModelChange"],[1,"help-block","small"],["id","buttonLogin","type","submit",1,"ladda-button","btn","btn-success","btn-login","btn-block","mt-4",3,"ladda","disabled"],[1,"help-block","small","help-block_label"],["data-auth","REG",1,"btn","btn-block","p-0","mb-4","pb-2",3,"click"],["src","/assets/images/account/yandex.svg","alt","\u0412\u043E\u0439\u0442\u0438 \u0441 \u042F\u043D\u0434\u0435\u043A\u0441 ID",2,"width","100%"],[1,"help-block","align-self-baseline"],["data-action","registerLayer","routerLink","/account/register","type","button",1,"btn","btn-default","btn-block"],["data-action","passwordLayer","routerLink","/account/forgot",1,"forgotPass"]],template:function(e,i){if(e&1){let p=A();
1o(0,"h3"),s(1),l(2,"translate"),r(),o(3,"app-card")(4,"form",1,0),b("ngSubmit",function(){return u(p),f(i.submitAuth())}),o(6,"div",2)(7,"label",3),s(8),l(9,"translate"),r(),o(10,"input",4),b("ngModelChange",function(){return u(p),f(i.error=!1)}),r()(),o(11,"div",5)(12,"label",6),s(13),l(14,"translate"),r(),o(15,"input",7),b("ngModelChange",function(){return u(p),f(i.error=!1)}),r(),o(16,"span",8),s(17),l(18,"translate"),r()(),o(19,"button",9),s(20),l(21,"translate"),r()(),o(22,"span",10),s(23,"\u0418\u041B\u0418"),r(),o(24,"button",11),b("click",function(d){return u(p),f(i.authYandex(d))}),_(25,"img",12),r(),o(26,"span",13),s(27,"\u0415\u0449\u0435 \u043D\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u044B?"),r(),o(28,"button",14),s(29),l(30,"translate"),r(),o(31,"a",15),s(32),l(33,"translate"),r()()}if(e&2){let p=D(5);a(),h(c(2,12,"login.enter")),a(3),I("is-invalid",i.error),S("formGroup",i.loginForm),a(4),m("",c(9,14,"login.user"),":"),a(5),m("",c(14,16,"login.password"),":"),a(4),h(c(18,18,"login.unique_password")),a(2),S("ladda",i.isLoading)("disabled",!p.valid),a(),m(" ",c(21,20,"login.login")," "),a(9),m(" ",c(30,22,"login.register")," "),a(3),m(" ",c(33,24,"login.forgot_password")," ")}},dependencies:[U,j,q,N,Y,ve,we,w,x,re,v],styles:[".modal-header[_ngcontent-%COMP%]{justify-content:space-between!important;align-items:flex-start;gap:20px}.modal-header[_ngcontent-%COMP%] .modal-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.modal-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:12px 0 0;font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;color:#16181d}@media (max-width: 991px){.modal-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:1.3rem}}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .modal
1-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:5px;margin:0}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:flex;width:24px;height:24px;position:relative}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg, .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)} a.link{color:#4898a8!important}h1[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px;font-weight:200;font-size:1.3rem}label[_ngcontent-%COMP%]{display:inline-block;max-width:100%;font-weight:700}input[_ngcontent-%COMP%]::placeholder{color:#aaa}.hpanel[_ngcontent-%COMP%]{border:none;box-shadow:none;margin-top:20px;margin-bottom:25px;text-align:left}.hpanel[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%]{background:#fff;border:1px solid #e4e5e7;border-radius:2px;padding:10px 20px 15px;position:relative}.form-group[_ngcontent-%COMP%]{margin-bottom:5px}.form-control[_ngcontent-%COMP%]{display:block;width:100%;line-height:.9rem;padding:2px 12px;font-size:.8rem;color:#555;background-color:#fff;border:1px solid #e4e5e7;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px #00000013}.control-label[_ngcontent-%COMP%]{margin-bottom:4px}.error-message[_ngcontent-%COMP%]{color:#d80e31!important}.help-block[_ngcontent-%COMP%]{display:block;margin-top:5px;margin-bottom:10px;color:#737373}.help-block_label[_ngcontent-%COMP%]{margin-top:25px;margin-bottom:23px;text-align:center}.btn[_ngcontent-%COMP%]{padding:6px 12px;margin-bottom:0;font-size:1.05rem;font-weight:400;line-height:1.7rem;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:10px}.btn-success[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]:disabled{background-color:#4898a8;border-color:#4898a8;color:#fff}.btn-success[_ngcontent-%COMP%]:hover:not[disabled]{background-color:#397884;border-color:#397884}.btn-block[_ngcontent-%COMP%]{display:block;width:100%}.btn-default[_ngcontent-%COMP%]{background-color:#fff;border-color:#e4e5e7;color:#6a6c6f}.btn-default[_ngcontent-%COMP%]:hover{background-color:#f4f4f4}.btn[_ngcontent-%COMP%]:disabled{cursor:default}.btn[_ngcontent-%COMP%]:not(.btn-login):disabled{background-color:#ccc}.positiveActivate[_ngcontent-%COMP%]{display:block;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;width:54px;height:52px;margin:25px auto 0}.positivetrue[_ngcontent-%COMP%]{background-image:url(/assets/images/account/post.png)}.messageCenterReset[_ngcontent-%COMP%]{text-align:center;margin:15px auto 0;height:64px}app-card[_ngcontent-%COMP%]{padding:10px 25px 20px;gap:5px}@media (max-width: 419px){.form-control[_ngcontent-%COMP%]{width:250px}}form[_ngcontent-%COMP%]{display:inherit;flex-direction:inherit;width:100%;text-align:left;gap:5px}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{width:inherit;display:inherit;flex-direction:inherit;gap:3px;margin:0}form[_ngcontent-%COMP%] .form-group.is-invalid[_ngcontent-%COMP%] label[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group.is-invalid[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%]{color:#a94442}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%]{display:inherit;font-style:normal;font-weight:500;font-size:.9rem;line-height:.9rem;color:#16181d;margin:0;gap:10px}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] a[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;width:22px;height:22px;position:relative;color:#7e889a}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] a[_ngcontent-%COMP%] svg, form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%] a[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-height:50px;padding:14px;font-style:normal;font-weight:400;font-size:.9rem;line-height:.9rem}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] span[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .small[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:.75rem;line-height:.9rem;color:#16181d}",".forgotPass[_ngcontent-%COMP%]{display:block;text-align:center;margin:10px 0 0;color:#4687bd}h3[_ngcontent-%COMP%]{margin-bottom:20px}"]})}}return t})();var Ge=["password"],He=["f"],Xe=["loginForm"];function Je(t,k){t&1&&(o(0,"div",23)(1,"app-card"),_(2,"span",29),o(3,"div",30)(4,"h1"),s(5,"\u0421\u043F\u0430\u0441\u0438\u0431\u043E \u0437\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044E!"),r(),o(6,"p"),s(7,"\u041F\u0430\u0440\u043E\u043B\u044C \u043E\u0442 LeadGenic \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D \u0432\u0430\u043C \u043D\u0430 \u043F\u043E\u0447\u0442\u0443. \u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u043F\u0435\u0440\u0435\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u0441\u0432\u043E\u0439 \u043B\u0438\u0447\u043D\u044B\u0439 \u043A\u0430\u0431\u0438\u043D\u0435\u0442."),r()()()())}
1function Ke(t,k){if(t&1&&(o(0,"div",24)(1,"app-card")(2,"span",29),s(3),l(4,"translate"),r()()()),t&2){let n=Q();a(3),m(" ",n.autoRegisterErrorMessage?n.autoRegisterErrorMessage:c(4,1,"login.error")," ")}}function Ze(t,k){t&1&&(o(0,"div",25)(1,"app-card"),_(2,"app-preloader"),r()())}var je=(()=>{class t{constructor(){this.route=g(B),this.router=g($),this.translate=g(oe),this.toastr=g(ne),this.coreUserService=g(ie),this.accountService=g(y),this.destroyRef=g(z),this.autoRegister=!1,this.autoRegisterPanel=!1,this.autoRegisterLoadingPanel=!1,this.autoRegisterError=!1,this.isLoading=!1,this.invalidLogin=!1,this.invalidPassword=!1,this.registrationEmail="",this.registrationPassword="",this.autoRegisterErrorMessage=""}ngOnInit(){this.autoRegister=this.accountService.autoRegister=this.route.snapshot.queryParams.registrationtype==="autoreg",this.registrationEmail=this.route.snapshot.queryParams.registrationemail,this.autoReg()}reg(n){this.invalidLogin=!1,this.invalidPassword=!1,this.isLoading=!0,this.accountService.handleRegistration(n.value).pipe(W(this.destroyRef),de(e=>{if(e.success){this.coreUserService.user=L(E({},this.coreUserService.user),{id:e.data.id,email:n.value.login});let i={username:n.value.login,password:n.value.password};return this.accountService.handleAuth(i)}else return e.errors.login&&(this.invalidLogin=!0,this.toastr.error(this.translate.instant("login.error_email"),this.translate.instant("global.error"))),e.errors.password&&(this.invalidPassword=!0,this.toastr.error(this.translate.instant("login.error_password"),this.translate.instant("global.error"))),ce})).subscribe(e=>{e&&this.router.navigate(["/account/newuser"])}).add(()=>setTimeout(()=>this.isLoading=!1,300))}regYandex(n){n.target.disabled=!0,this.regYandexSub=this.accountService.handleYandex().subscribe(e=>{e.code===200&&(window.location.href=e.data.url)})}togglePasswordVisibility(n){this.password.nativeElement.setAttribute("type",n)}togglePasswordFocus(n,e){n.target.placeholder=e}autoReg(){if(!this.autoRegister&&this.registrationEmail)this.password.nativeElement.focus();else if(this.autoRegister&&this.registrationEmail){this.autoRegisterLoadingPanel=!0;let n={login:this.registrationEmail};this.accountService.handleRegistration(n).pipe(W(this.destroyRef),de(e=>{if(this.isLoading=!1,e.success){let i={username:n.login,password:e.data.password};return this.coreUserService.user=L(E({},this.coreUserService.user),{id:e.data.id,email:n.login}),this.accountService.handleAuth(i)}else return ce})).subscribe(e=>{e&&this.router.navigate(["/account/newuser"])})}}ngOnDestroy(){this.regYandexSub&&this.regYandexSub.unsubscribe()}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=M({type:t,selectors:[["app-register"]],viewQuery:function(e,i){if(e&1&&(F(Ge,7),F(He,7),F(Xe,5)),e&2){let p;T(p=V())&&(i.password=p.first),T(p=V())&&(i.regForm=p.first),T(p=V())&&(i.loginForm=p.first)}},standalone:!1,decls:54,vars:39,consts:[["f","ngForm"],["password",""],["loginForm",""],["id","registerPanel",1,"hpanel"],["id","formRegister",3,"ngSubmit"],[1,"form-group"],["for","usernameReg",1,"col-form-label"],["autocomplete","off","id","usernameReg","name","login","placeholder","[email protected]","required","","type","email",1,"form-control",3,"ngModelChange","ngModel"],[1,"error-message","small"],[1,"help-block","small"],[1,"form-group","mt-2"],["for","passwordReg",1,"col-form-label"],["autocomplete","off","id","passwordReg","name","password","placeholder","********","required","","type","password",1,"form-control",3,"blur","focus","ngModelChange","ngModel"],["id","showPassLog",1,"help-block","small","help-block-pwds",3,"mouseleave","mouseover"],[1,"pe-7s-look","fa-3x","pointer","showPassLog"],["id","buttonRegister","type","submit",1,"ladda-button","btn","btn-success","btn-register","btn-block",3,"ladda","disabled"],[1,"help-block","small",2,"font-size","61%"],["href","https://leadgenic.ru/oferta_ru/leadgenic_oferta.pdf","target","blank"],[1,"help-block","small","help-block_label"],["data-auth","REG",1,"btn","btn-block","p-0","mb-4","pb-2",3,"click"],["src","/assets/images/account/yandex.svg","alt","\u0412\u043E\u0439\u0442\u0438 \u0441 \u042F\u043D\u0434\u0435\u043A\u0441 ID",2,"width","100%"],[1,"help-block","align-self-baseline","mt-4"],["data-action","loginLayer","routerLink","/account/login","type","button",1,"btn","btn-default","btn-block"],["id","autoRegisterPanel",1,"hpanel"],["id","autoRegisterErrorPanel",1,"hpanel"],["id","autoRegisterLoadingPanel",1,"hpanel"],["action","/account/login","id","formLogin","method","post",1,"valid"],["autocomplete","off","id","username","name","j_username","placeholder","[email protected]","type","text",1,"form-control",3,"ngModelChange","ngModel"],["autocomplete","off","id","password","name","j_password","placeholder","********","type","password",1,"form-control",3,"ngModelChange","ngModel"],[1,"error-message"],[1,"messageCenterReset",2,"height","auto"]],template:function(e,i){if(e&1){let p=A();o(0,"h3"),s(1),l(2,"translate"),r(),o(3,"div",3)(4,"app-card")(5,"form",4,0),b("ngSubmit",function(){u(p);let d=D(6);
1return f(i.reg(d))}),o(7,"div",5)(8,"label",6),s(9),l(10,"translate"),r(),o(11,"input",7),X("ngModelChange",function(d){return u(p),H(i.registrationEmail,d)||(i.registrationEmail=d),f(d)}),b("ngModelChange",function(){return u(p),f(i.invalidLogin=!1)}),r(),o(12,"span",8),s(13),l(14,"translate"),r(),o(15,"span",9),s(16),l(17,"translate"),r()(),o(18,"div",10)(19,"label",11),s(20),l(21,"translate"),r(),o(22,"input",12,1),b("blur",function(d){return u(p),f(i.togglePasswordFocus(d,"********"))})("focus",function(d){return u(p),f(i.togglePasswordFocus(d,""))}),X("ngModelChange",function(d){return u(p),H(i.registrationPassword,d)||(i.registrationPassword=d),f(d)}),b("ngModelChange",function(){return u(p),f(i.invalidPassword=!1)}),r(),o(24,"span",8),s(25),l(26,"translate"),r(),o(27,"span",13),b("mouseleave",function(){return u(p),f(i.togglePasswordVisibility("password"))})("mouseover",function(){return u(p),f(i.togglePasswordVisibility("text"))}),_(28,"i",14),s(29,"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C "),r()(),o(30,"button",15),s(31),l(32,"translate"),r(),o(33,"span",16),s(34,' \u041D\u0430\u0436\u0438\u043C\u0430\u044F "\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F", \u0432\u044B \u0434\u0430\u0435\u0442\u0435 '),o(35,"a",17),s(36,"\u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435"),r(),s(37," \u043D\u0430 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0443 \u0441\u0432\u043E\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445 "),r()(),o(38,"span",18),s(39,"\u0418\u041B\u0418"),r(),o(40,"button",19),b("click",function(d){return u(p),f(i.regYandex(d))}),_(41,"img",20),r(),o(42,"span",21),s(43,"\u0423\u0436\u0435 \u0435\u0441\u0442\u044C \u0430\u043A\u043A\u0430\u0443\u043D\u0442?"),r(),o(44,"button",22),s(45),l(46,"translate"),r()()(),P(47,Je,8,0,"div",23),P(48,Ke,5,3,"div",24),P(49,Ze,3,0,"div",25),o(50,"form",26,2)(52,"input",27),X("ngModelChange",function(d){return u(p),H(i.registrationEmail,d)||(i.registrationEmail=d),f(d)}),r(),o(53,"input",28),X("ngModelChange",function(d){return u(p),H(i.registrationPassword,d)||(i.registrationPassword=d),f(d)}),r()()}if(e&2){let p=D(6);a(),h(c(2,23,"login.register_title")),a(2),I("valid",i.autoRegister),a(6),m("",c(10,25,"login.user"),":"),a(2),G("ngModel",i.registrationEmail),a(),I("valid",!i.invalidLogin),a(),m(" ",c(14,27,"login.error")," "),a(3),h(c(17,29,"login.unique_login")),a(4),m("",c(21,31,"login.password_new"),":"),a(2),G("ngModel",i.registrationPassword),a(2),I("valid",!i.invalidPassword),a(),m(" ",c(26,33,"login.error_password")," "),a(5),S("ladda",i.isLoading)("disabled",!p.valid),a(),m(" ",c(32,35,"login.register")," "),a(14),m(" ",c(46,37,"login.login")," "),a(2),O(i.autoRegister&&i.autoRegisterPanel?47:-1),a(),O(i.autoRegister&&i.autoRegisterError?48:-1),a(),O(i.autoRegister&&i.autoRegisterLoadingPanel?49:-1),a(3),G("ngModel",i.registrationEmail),a(),G("ngModel",i.registrationPassword)}},dependencies:[U,j,q,N,Y,te,ee,De,w,x,re,v],styles:[".modal-header[_ngcontent-%COMP%]{justify-content:space-between!important;align-items:flex-start;gap:20px}.modal-header[_ngcontent-%COMP%] .modal-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.modal-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:12px 0 0;font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;color:#16181d}@media (max-width: 991px){.modal-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:1.3rem}}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .modal
1-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:5px;margin:0}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:flex;width:24px;height:24px;position:relative}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg, .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)} a.link{color:#4898a8!important}h1[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px;font-weight:200;font-size:1.3rem}label[_ngcontent-%COMP%]{display:inline-block;max-width:100%;font-weight:700}input[_ngcontent-%COMP%]::placeholder{color:#aaa}.hpanel[_ngcontent-%COMP%]{border:none;box-shadow:none;margin-top:20px;margin-bottom:25px;text-align:left}.hpanel[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%]{background:#fff;border:1px solid #e4e5e7;border-radius:2px;padding:10px 20px 15px;position:relative}.form-group[_ngcontent-%COMP%]{margin-bottom:5px}.form-control[_ngcontent-%COMP%]{display:block;width:100%;line-height:.9rem;padding:2px 12px;font-size:.8rem;color:#555;background-color:#fff;border:1px solid #e4e5e7;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px #00000013}.control-label[_ngcontent-%COMP%]{margin-bottom:4px}.error-message[_ngcontent-%COMP%]{color:#d80e31!important}.help-block[_ngcontent-%COMP%]{display:block;margin-top:5px;margin-bottom:10px;color:#737373}.help-block_label[_ngcontent-%COMP%]{margin-top:25px;margin-bottom:23px;text-align:center}.btn[_ngcontent-%COMP%]{padding:6px 12px;margin-bottom:0;font-size:1.05rem;font-weight:400;line-height:1.7rem;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:10px}.btn-success[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]:disabled{background-color:#4898a8;border-color:#4898a8;color:#fff}.btn-success[_ngcontent-%COMP%]:hover:not[disabled]{background-color:#397884;border-color:#397884}.btn-block[_ngcontent-%COMP%]{display:block;width:100%}.btn-default[_ngcontent-%COMP%]{background-color:#fff;border-color:#e4e5e7;color:#6a6c6f}.btn-default[_ngcontent-%COMP%]:hover{background-color:#f4f4f4}.btn[_ngcontent-%COMP%]:disabled{cursor:default}.btn[_ngcontent-%COMP%]:not(.btn-login):disabled{background-color:#ccc}.positiveActivate[_ngcontent-%COMP%]{display:block;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;width:54px;height:52px;margin:25px auto 0}.positivetrue[_ngcontent-%COMP%]{background-image:url(/assets/images/account/post.png)}.messageCenterReset[_ngcontent-%COMP%]{text-align:center;margin:15px auto 0;height:64px}app-card[_ngcontent-%COMP%]{padding:10px 25px 20px;gap:5px}@media (max-width: 419px){.form-control[_ngcontent-%COMP%]{width:250px}}form[_ngcontent-%COMP%]{display:inherit;flex-direction:inherit;width:100%;text-align:left;gap:5px}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{width:inherit;display:inherit;flex-direction:inherit;gap:3px;margin:0}form[_ngcontent-%COMP%] .form-group.is-invalid[_ngcontent-%COMP%] label[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group.is-invalid[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%]{color:#a94442}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%]{display:inherit;font-style:normal;font-weight:500;font-size:.9rem;line-height:.9rem;color:#16181d;margin:0;gap:10px}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] a[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;width:22px;height:22px;position:relative;color:#7e889a}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] a[_ngcontent-%COMP%] svg, form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%] a[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-height:50px;padding:14px;font-style:normal;font-weight:400;font-size:.9rem;line-height:.9rem}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] span[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .small[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:.75rem;line-height:.9rem;color:#16181d}","#formRegister[_ngcontent-%COMP%] span.help-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:inherit;text-decoration:underline}#formRegister[_ngcontent-%COMP%] span.help-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.valid[_ngcontent-%COMP%]{display:none}.help-block-pwds[_ngcontent-%COMP%]{height:18px;float:right;text-align:right;margin-right:5px;cursor:pointer}i.showPassLog[_ngcontent-%COMP%]{height:18px;vertical-align:middle;margin-right:6px;font-size:.9rem}#buttonRegister[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:6px}#buttonRegister[_ngcontent-%COMP%]:disabled{border-color:#ddd}.messageCenterReset[_ngcontent-%COMP%]{text-align:center;margin:15px auto 0;height:64px}"]})}}return t})();var $e=["f"];function et(t,k){t&1&&(o(0,"div",1),_(1,"span",3),o(2,"div",4)(3,"h1"),s(4),l(5,"translate"),r()()()),t&2&&(a(4),h(c(5,1,"login.forgot_we_send")))}
1function tt(t,k){if(t&1){let n=A();o(0,"form",5,0),b("ngSubmit",function(){u(n);let i=D(1),p=Q();return f(p.requestReset(i))}),o(2,"div",6)(3,"label",7),s(4,"Email"),r(),_(5,"input",8),o(6,"span",9),s(7),l(8,"translate"),r(),o(9,"span",10),s(10),l(11,"translate"),r()(),o(12,"button",11),s(13),l(14,"translate"),r(),o(15,"span",12),s(16),l(17,"translate"),r(),o(18,"button",13),s(19),l(20,"translate"),r()()}if(t&2){let n=D(1),e=Q();a(6),I("valid",!e.invalidLogin),a(),m(" ",c(8,8,"login.forgot_not_found")," "),a(3),h(c(11,10,"login.forgot_under_input")),a(2),S("disabled",!n.valid||e.loading),a(),m(" ",c(14,12,"login.forgot_send")," "),a(3),h(c(17,14,"login.forgot_remember")),a(3),m(" ",c(20,16,"login.login")," ")}}var qe=(()=>{class t{constructor(){this.accountService=g(y),this.loading=!1,this.resetDone=!1,this.invalidLogin=!1}ngOnInit(){}requestReset(n){this.loading=!0,this.resetDone=!1,this.invalidLogin=!1,this.resetSub=this.accountService.requestReset(n.value).subscribe(e=>{this.loading=!1,e?this.resetDone=!0:this.invalidLogin=!0})}ngOnDestroy(){this.resetSub&&this.resetSub.unsubscribe()}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=M({type:t,selectors:[["app-password-recovery"]],viewQuery:function(e,i){if(e&1&&F($e,5),e&2){let p;T(p=V())&&(i.regForm=p.first)}},standalone:!1,decls:6,vars:5,consts:[["f","ngForm"],[1,"feedbackIfReset"],["id","formPassword",1,"shownIfNoReset"],[1,"positiveActivate","positivetrue"],[1,"messageCenterReset"],["id","formPassword",1,"shownIfNoReset",3,"ngSubmit"],[1,"form-group","mb-3"],["for","emailPass",1,"col-form-label"],["id","emailPass","name","email","ngModel","","placeholder","[email protected]","required","","type","text",1,"form-control"],[1,"error-message","small"],[1,"help-block","small"],["id","buttonPassword","type","submit",1,"btn","btn-success","btn-block","mb-3",3,"disabled"],[1,"help-block"],["data-action","loginLayer","routerLink","/account/login",1,"btn","btn-default","btn-block"]],template:function(e,i){e&1&&(o(0,"h3"),s(1),l(2,"translate"),r(),o(3,"app-card"),P(4,et,6,3,"div",1),P(5,tt,21,18,"form",2),r()),e&2&&(a(),h(c(2,3,"login.forgot")),a(3),O(i.resetDone?4:-1),a(),O(i.resetDone?-1:5))},dependencies:[U,j,q,N,Y,te,ee,w,x,v],styles:[".modal-header[_ngcontent-%COMP%]{justify-content:space-between!important;align-items:flex-start;gap:20px}.modal-header[_ngcontent-%COMP%] .modal-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.modal-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:12px 0 0;font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;color:#16181d}@media (max-width: 991px){.modal-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:1.3rem}}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .modal
1-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:5px;margin:0}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:flex;width:24px;height:24px;position:relative}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg, .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)} a.link{color:#4898a8!important}h1[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px;font-weight:200;font-size:1.3rem}label[_ngcontent-%COMP%]{display:inline-block;max-width:100%;font-weight:700}input[_ngcontent-%COMP%]::placeholder{color:#aaa}.hpanel[_ngcontent-%COMP%]{border:none;box-shadow:none;margin-top:20px;margin-bottom:25px;text-align:left}.hpanel[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%]{background:#fff;border:1px solid #e4e5e7;border-radius:2px;padding:10px 20px 15px;position:relative}.form-group[_ngcontent-%COMP%]{margin-bottom:5px}.form-control[_ngcontent-%COMP%]{display:block;width:100%;line-height:.9rem;padding:2px 12px;font-size:.8rem;color:#555;background-color:#fff;border:1px solid #e4e5e7;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px #00000013}.control-label[_ngcontent-%COMP%]{margin-bottom:4px}.error-message[_ngcontent-%COMP%]{color:#d80e31!important}.help-block[_ngcontent-%COMP%]{display:block;margin-top:5px;margin-bottom:10px;color:#737373}.help-block_label[_ngcontent-%COMP%]{margin-top:25px;margin-bottom:23px;text-align:center}.btn[_ngcontent-%COMP%]{padding:6px 12px;margin-bottom:0;font-size:1.05rem;font-weight:400;line-height:1.7rem;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:10px}.btn-success[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]:disabled{background-color:#4898a8;border-color:#4898a8;color:#fff}.btn-success[_ngcontent-%COMP%]:hover:not[disabled]{background-color:#397884;border-color:#397884}.btn-block[_ngcontent-%COMP%]{display:block;width:100%}.btn-default[_ngcontent-%COMP%]{background-color:#fff;border-color:#e4e5e7;color:#6a6c6f}.btn-default[_ngcontent-%COMP%]:hover{background-color:#f4f4f4}.btn[_ngcontent-%COMP%]:disabled{cursor:default}.btn[_ngcontent-%COMP%]:not(.btn-login):disabled{background-color:#ccc}.positiveActivate[_ngcontent-%COMP%]{display:block;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;width:54px;height:52px;margin:25px auto 0}.positivetrue[_ngcontent-%COMP%]{background-image:url(/assets/images/account/post.png)}.messageCenterReset[_ngcontent-%COMP%]{text-align:center;margin:15px auto 0;height:64px}app-card[_ngcontent-%COMP%]{padding:10px 25px 20px;gap:5px}@media (max-width: 419px){.form-control[_ngcontent-%COMP%]{width:250px}}form[_ngcontent-%COMP%]{display:inherit;flex-direction:inherit;width:100%;text-align:left;gap:5px}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{width:inherit;display:inherit;flex-direction:inherit;gap:3px;margin:0}form[_ngcontent-%COMP%] .form-group.is-invalid[_ngcontent-%COMP%] label[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group.is-invalid[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%]{color:#a94442}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%]{display:inherit;font-style:normal;font-weight:500;font-size:.9rem;line-height:.9rem;color:#16181d;margin:0;gap:10px}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] a[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;width:22px;height:22px;position:relative;color:#7e889a}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] a[_ngcontent-%COMP%] svg, form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%] a[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-height:50px;padding:14px;font-style:normal;font-weight:400;font-size:.9rem;line-height:.9rem}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] span[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .small[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:.75rem;line-height:.9rem;color:#16181d}",".feedbackIfReset[_ngcontent-%COMP%]{margin-bottom:40px}.valid[_ngcontent-%COMP%]{display:none}#buttonPassword[_ngcontent-%COMP%]:disabled{border-color:#ddd}h3[_ngcontent-%COMP%]{margin-bottom:20px}"]})}}return t})();function nt(t,k){t&1&&(o(0,"h1"),s(1),l(2,"translate"),r()),t&2&&(a(),h(c(2,1,"login.resPass.success")))}function ot(t,k){t&1&&(o(0,"h1"),s(1),l(2,"translate"),r()),t&2&&(a(),h(c(2,1,"login.resPass.not_success")))}var Ne=(()=>{class t{constructor(){this.route=g(B),this.accountService=g(y)}
1ngOnInit(){let n=this.route.snapshot.queryParams.code;this.resetSub=this.accountService.confirmReset(n).subscribe(e=>{this.isReset=e})}ngOnDestroy(){this.resetSub&&this.resetSub.unsubscribe()}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=M({type:t,selectors:[["app-password-reset"]],standalone:!1,decls:11,vars:9,consts:[[3,"className"],[1,"messageCenterReset","mb-5"],[1,"help-block","quest-log"],["data-action","loginLayer","routerLink","/account/login",1,"btn","btn-default","btn-block"]],template:function(e,i){e&1&&(o(0,"app-card"),_(1,"span",0),o(2,"div",1),P(3,nt,3,3,"h1"),P(4,ot,3,3,"h1"),r(),o(5,"span",2),s(6),l(7,"translate"),r(),o(8,"button",3),s(9),l(10,"translate"),r()()),e&2&&(a(),S("className","positiveActivate positive"+i.isReset),a(2),O(i.isReset?3:-1),a(),O(i.isReset===!1?4:-1),a(2),h(c(7,5,"login.want_back")),a(3),m(" ",c(10,7,"login.login")," "))},dependencies:[w,x,v],styles:[".modal-header[_ngcontent-%COMP%]{justify-content:space-between!important;align-items:flex-start;gap:20px}.modal-header[_ngcontent-%COMP%] .modal-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.modal-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:12px 0 0;font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;color:#16181d}@media (max-width: 991px){.modal-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:1.3rem}}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .modal
1-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:5px;margin:0}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:flex;width:24px;height:24px;position:relative}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg, .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)} a.link{color:#4898a8!important}h1[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px;font-weight:200;font-size:1.3rem}label[_ngcontent-%COMP%]{display:inline-block;max-width:100%;font-weight:700}input[_ngcontent-%COMP%]::placeholder{color:#aaa}.hpanel[_ngcontent-%COMP%]{border:none;box-shadow:none;margin-top:20px;margin-bottom:25px;text-align:left}.hpanel[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%]{background:#fff;border:1px solid #e4e5e7;border-radius:2px;padding:10px 20px 15px;position:relative}.form-group[_ngcontent-%COMP%]{margin-bottom:5px}.form-control[_ngcontent-%COMP%]{display:block;width:100%;line-height:.9rem;padding:2px 12px;font-size:.8rem;color:#555;background-color:#fff;border:1px solid #e4e5e7;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px #00000013}.control-label[_ngcontent-%COMP%]{margin-bottom:4px}.error-message[_ngcontent-%COMP%]{color:#d80e31!important}.help-block[_ngcontent-%COMP%]{display:block;margin-top:5px;margin-bottom:10px;color:#737373}.help-block_label[_ngcontent-%COMP%]{margin-top:25px;margin-bottom:23px;text-align:center}.btn[_ngcontent-%COMP%]{padding:6px 12px;margin-bottom:0;font-size:1.05rem;font-weight:400;line-height:1.7rem;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:10px}.btn-success[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]:disabled{background-color:#4898a8;border-color:#4898a8;color:#fff}.btn-success[_ngcontent-%COMP%]:hover:not[disabled]{background-color:#397884;border-color:#397884}.btn-block[_ngcontent-%COMP%]{display:block;width:100%}.btn-default[_ngcontent-%COMP%]{background-color:#fff;border-color:#e4e5e7;color:#6a6c6f}.btn-default[_ngcontent-%COMP%]:hover{background-color:#f4f4f4}.btn[_ngcontent-%COMP%]:disabled{cursor:default}.btn[_ngcontent-%COMP%]:not(.btn-login):disabled{background-color:#ccc}.positiveActivate[_ngcontent-%COMP%]{display:block;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;width:54px;height:52px;margin:25px auto 0}.positivetrue[_ngcontent-%COMP%]{background-image:url(/assets/images/account/post.png)}.messageCenterReset[_ngcontent-%COMP%]{text-align:center;margin:15px auto 0;height:64px}app-card[_ngcontent-%COMP%]{padding:10px 25px 20px;gap:5px}@media (max-width: 419px){.form-control[_ngcontent-%COMP%]{width:250px}}form[_ngcontent-%COMP%]{display:inherit;flex-direction:inherit;width:100%;text-align:left;gap:5px}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{width:inherit;display:inherit;flex-direction:inherit;gap:3px;margin:0}form[_ngcontent-%COMP%] .form-group.is-invalid[_ngcontent-%COMP%] label[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group.is-invalid[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%]{color:#a94442}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%]{display:inherit;font-style:normal;font-weight:500;font-size:.9rem;line-height:.9rem;color:#16181d;margin:0;gap:10px}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] a[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;width:22px;height:22px;position:relative;color:#7e889a}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] a[_ngcontent-%COMP%] svg, form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%] a[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-height:50px;padding:14px;font-style:normal;font-weight:400;font-size:.9rem;line-height:.9rem}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] span[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .small[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:.75rem;line-height:.9rem;color:#16181d}",".positivefalse[_ngcontent-%COMP%]{background-image:url(/assets/images/account/negative.png);width:58px}.quest-log[_ngcontent-%COMP%]{text-align:center}app-card[_ngcontent-%COMP%]{margin-top:20px}"]})}}return t})();var Ue=(()=>{class t{constructor(){}ngOnInit(){}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=M({type:t,selectors:[["app-account"]],standalone:!1,decls:4,vars:0,consts:[[1,"account-wrapper"],[1,"login-container"],["routerLink","/",1,"logo-svg__login"]],template:function(e,i){e&1&&(o(0,"div",0)(1,"div",1),_(2,"a",2)(3,"router-outlet"),r()())},dependencies:[Oe,x],styles:[".account-wrapper[_ngcontent-%COMP%]{width:100%;height:100vh;background-color:#edf0f5;overflow:auto}.login-container[_ngcontent-%COMP%]{width:420px;margin:auto;padding-top:4%;text-align:center}.logo-svg__login[_ngcontent-%COMP%]{display:inline-block;padding:0;background-image:url(/assets/images/header/logo_LG_black.svg);background-position:16px center;background-repeat:no-repeat;background-size:140px;width:180px;height:20px}@media (max-width: 419px){.login-container[_ngcontent-%COMP%]{width:320px}}"]})}}return t})();function it(t,k){t&1&&(s(0),l(1,"translate")),t&2&&m(" ",c(1,1,"login.afterregister.autoregister")," ")}var Ye=(()=>{class t{constructor(){this.router=g($),this.coreUserService=g(ie),this.userService=g(Ae),this.analyticsService=g(ze),this.accountService=g(y),this.autoRegister=!1}ngOnInit(){localStorage.getItem("YANDEX_FLOW")?(this.userService.getMeInfo().subscribe(n=>{localStorage.getItem("YANDEX_USER")===n.email?this.router.navigate(["/"]):(localStorage.setItem("YANDEX_USER",n.email),this.coreUserService.user=n,this.analyticsService.sendSignUpEvent(),setTimeout(()=>this.router.navigate(["/"]),3e3))}),localStorage.removeItem("YANDEX_FLOW")):(this.autoRegister=this.accountService.autoRegister,this.analyticsService.sendSignUpEvent(),setTimeout(()=>this.router.navigate(["/"]),3e3))}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=M({type:t,selectors:[["app-newuser"]],standalone:!1,decls:9,vars:7,consts:[[1,"f-2"]],template:function(e,i){e&1&&(o(0,"app-card")(1,"h1"),s(2),l(3,"translate"),r(),o(4,"p",0),P(5,it,2,3),_e(6),s(7),l(8,"translate"),be(),r()()),e&2&&(a(2),h(c(3,3,"login.afterregister.thanks")),a(3),O(i.autoRegister?5:-1),a(2),h(c(8,5,"login.afterregister.redirect")))},dependencies:[w,v],styles:[".modal-header[_ngcontent-%COMP%]{justify-content:space-between!important;align-items:flex-start;gap:20px}
1.modal-header[_ngcontent-%COMP%] .modal-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.modal-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:12px 0 0;font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;color:#16181d}@media (max-width: 991px){.modal-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:1.3rem}}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:5px;margin:0}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:flex;width:24px;height:24px;position:relative}.modal-header[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg, .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)} a.link{color:#4898a8!important}h1[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px;font-weight:200;font-size:1.3rem}label[_ngcontent-%COMP%]{display:inline-block;max-width:100%;font-weight:700}input[_ngcontent-%COMP%]::placeholder{color:#aaa}.hpanel[_ngcontent-%COMP%]{border:none;box-shadow:none;margin-top:20px;margin-bottom:25px;text-align:left}.hpanel[_ngcontent-%COMP%] .panel-body[_ngcontent-%COMP%]{background:#fff;border:1px solid #e4e5e7;border-radius:2px;padding:10px 20px 15px;position:relative}.form-group[_ngcontent-%COMP%]{margin-bottom:5px}.form-control[_ngcontent-%COMP%]{display:block;width:100%;line-height:.9rem;padding:2px 12px;font-size:.8rem;color:#555;background-color:#fff;border:1px solid #e4e5e7;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px #00000013}.control-label[_ngcontent-%COMP%]{margin-bottom:4px}.error-message[_ngcontent-%COMP%]{color:#d80e31!important}.help-block[_ngcontent-%COMP%]{display:block;margin-top:5px;margin-bottom:10px;color:#737373}.help-block_label[_ngcontent-%COMP%]{margin-top:25px;margin-bottom:23px;text-align:center}.btn[_ngcontent-%COMP%]{padding:6px 12px;margin-bottom:0;font-size:1.05rem;font-weight:400;line-height:1.7rem;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:10px}.btn-success[_ngcontent-%COMP%], .btn-login[_ngcontent-%COMP%]:disabled{background-color:#4898a8;border-color:#4898a8;color:#fff}.btn-success[_ngcontent-%COMP%]:hover:not[disabled]{background-color:#397884;border-color:#397884}.btn-block[_ngcontent-%COMP%]{display:block;width:100%}.btn-default[_ngcontent-%COMP%]{background-color:#fff;border-color:#e4e5e7;color:#6a6c6f}.btn-default[_ngcontent-%COMP%]:hover{background-color:#f4f4f4}.btn[_ngcontent-%COMP%]:disabled{cursor:default}.btn[_ngcontent-%COMP%]:not(.btn-login):disabled{background-color:#ccc}.positiveActivate[_ngcontent-%COMP%]{display:block;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;width:54px;height:52px;margin:25px auto 0}.positivetrue[_ngcontent-%COMP%]{background-image:url(/assets/images/account/post.png)}.messageCenterReset[_ngcontent-%COMP%]{text-align:center;margin:15px auto 0;height:64px}app-card[_ngcontent-%COMP%]{padding:10px 25px 20px;gap:5px}@media (max-width: 419px){.form-control[_ngcontent-%COMP%]{width:250px}}form[_ngcontent-%COMP%]{display:inherit;flex-direction:inherit;width:100%;text-align:left;gap:5px}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{width:inherit;display:inherit;flex-direction:inherit;gap:3px;margin:0}form[_ngcontent-%COMP%] .form-group.is-invalid[_ngcontent-%COMP%] label[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group.is-invalid[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%]{color:#a94442}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%]{display:inherit;font-style:normal;font-weight:500;font-size:.9rem;line-height:.9rem;color:#16181d;margin:0;gap:10px}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] a[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;width:22px;height:22px;position:relative;color:#7e889a}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%] a[_ngcontent-%COMP%] svg, form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .control-label[_ngcontent-%COMP%] a[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-height:50px;padding:14px;font-style:normal;font-weight:400;font-size:.9rem;line-height:.9rem}form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] span[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .small[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:.75rem;line-height:.9rem;color:#16181d}","app-card[_ngcontent-%COMP%]{margin-top:20px}"]})}}return t})();var rt=[{path:"",component:Ue,children:[{path:"",redirectTo:"login",pathMatch:"full"},{path:"login",component:Be,title:"login.enter"},{path:"register",component:je,title:"login.register_title"},{path:"newuser",component:Ye,title:"login.afterregister.thanks"},{path:"forgot",component:qe,title:"login.forgot"},{path:"reset",component:Ne,title:"login.forgot"},{path:"**",redirectTo:"login"}]}],We=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=Z({type:t})}static{this.\u0275inj=K({imports:[me.forChild(rt),me]})}}return t})();var Qn=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=Z({type:t})}static{this.\u0275inj=K({imports:[Me,ye,ke,Se,Le,We,Fe.forRoot({style:"zoom-in"})]})}}return t})();export{Qn as AccountModule};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.