import {J,i as S,c as tS,j as Re,l as Qt,w as wo,m as ot,p as Jt,f as QT,u as R,q as qu,g as xy,W as Wu,v as W_,z as vM,A as Iw,B as ky,K as Kg,C as Qu,F as EM}from'./main-WUGO6e7n.js';var I,E=J(()=>{S();tS();Re();Qt();I=(()=>{class t{constructor(r,e){this.authService=r,this.storage=e;}ngOnInit(){this.authService.clearLoginInformationAfterExternalLoginSuccess(),this.storage.removeApplicationStorage("oauth");}static{this.\u0275fac=function(e){return new(e||t)(wo(ot),wo(Jt))};}static{this.\u0275cmp=QT({type:t,selectors:[["dvls-login-success"]],decls:10,vars:7,consts:[[1,"box"],[1,"box__logo"],["alt","Devolutions Server",1,"dvls-home-logo",3,"src"],[1,"box__title"],[1,"box__message"]],template:function(e,P){e&1&&(qu(0,"div")(1,"div",0)(2,"div",1),xy(3,"img",2),Wu(),qu(4,"div",3),W_(5),vM(6,"translate"),Wu(),qu(7,"div",4),W_(8),vM(9,"translate"),Wu()()()),e&2&&(Iw(3),ky("src","assets/images/devolutions-password-server-logo.svg",Kg),Iw(2),Qu(" ",EM(6,3,"lblSuccess")," "),Iw(3),Qu(" ",EM(9,5,"YouCanNowCloseThisPage")," "));},dependencies:[R],styles:[".box[_ngcontent-%COMP%]{color:#424242;text-align:center;width:460px;box-shadow:10px 10px 115px 40px #00336624;border-radius:4px;padding:31px 44px 12px;z-index:1;background-color:#fff;margin-top:10vh;position:fixed;left:50%;transform:translate(-50%)}.box[_ngcontent-%COMP%]   .box__logo[_ngcontent-%COMP%]   .dvls-home-logo[_ngcontent-%COMP%]{box-sizing:border-box;margin:0 auto;max-width:300px;overflow:hidden;padding:25px;position:relative;width:100%}.box[_ngcontent-%COMP%]   .box__title[_ngcontent-%COMP%]{font-size:1.4rem;color:#0068c3;font-weight:700}.box[_ngcontent-%COMP%]   .box__message[_ngcontent-%COMP%]{margin:25px;color:#406900;background-color:#f8fbf4;padding:12px;border-radius:4px;border-left:#78b41b 2px solid}"],changeDetection:1});}}return t})();});E();export{I as LoginSuccessComponent};