import{a as T}from"./chunk-NMAA4YDW.js";import{y as L}from"./chunk-YI6NKOYD.js";import{a as M}from"./chunk-2HBJZCGQ.js";import{$ as y,F as S,Na as v,Oa as w,Qa as _,hb as D,ib as E,jb as I,n as b,x}from"./chunk-IOUPS7SC.js";import{Bb as m,Dc as c,Ec as g,Fc as u,Pc as h,Tb as s,Uc as f,Vc as C,dc as r,ec as i,gb as l,lb as o,oc as d,rb as p}from"./chunk-2BMUMDG3.js";import"./chunk-2AVGQ2MQ.js";var F=()=>({"minWidth.%":44}),H=(()=>{class n{constructor(e){this.configService=e,this.currentYear=new Date().getFullYear(),this.parabluLogo="",this.crashplanLogo="",this.imageSrc=["assets/brand/crashplan-logo.png","assets/brand/login_logo.png","assets/images/crashplan-logo.png","assets/images/login_logo.png"],this.imageSrc[1]=`/brandings/${e.cloudName}/brandings/login_logo.png`,this.imageSrc[0]=`/brandings/${e.cloudName}/brandings/header_logo.png`,this.parabluLogo=this.imageSrc[0],this.crashplanLogo=this.imageSrc[1]}onImageError(e){let t=e.target;t.src=this.imageSrc[2]}static{this.\u0275fac=function(t){return new(t||n)(p(M))}}static{this.\u0275cmp=m({type:n,selectors:[["app-operationSuccess"]],decls:18,vars:7,consts:[[1,"bg-light","dark:bg-transparent","d-flex","flex-row","align-items-center"],["breakpoint","md"],[1,"justify-content-center"],["lg","10","xl","8"],[1,"text-white","py-5",3,"ngStyle"],[1,"text-center",2,"margin","auto"],[1,"col-lg-12"],["alt","Loaded Image","loading","lazy",1,"d-block","w-100",2,"margin-top","10%",3,"error","src"],[1,"p-4"],[1,"d-flex","justify-content-center",2,"align-items","center"],["xs","12",1,"text-right"],[1,"text-center"],["href","https://www.crashplan.com","target","_blank",2,"color","#062D4D","text-decoration","none"]],template:function(t,a){t&1&&(r(0,"div",0)(1,"c-container",1)(2,"c-row",2)(3,"c-col",3)(4,"c-card-group")(5,"c-card",4)(6,"c-card-body",5)(7,"div",6)(8,"img",7),d("error",function(k){return a.onImageError(k)}),i()()()(),r(9,"c-card",8)(10,"c-card-body",9)(11,"c-col",10)(12,"h4"),c(13),f(14,"translate"),i()()()()()()()()(),r(15,"div",11)(16,"a",12),c(17),i()()),t&2&&(o(5),s("ngStyle",h(6,F)),o(3),s("src",a.parabluLogo,l),o(5),g(C(14,4,"The operation performed was successful.")),o(4),u("\xA9 CrashPlan ",a.currentYear," "))},dependencies:[D,I,E,_,v,w,x,b,L,S,T,y],encapsulation:2})}}return n})();export{H as OperationSuccessComponent};
