import{$b as o,Cd as v,Hc as d,Ic as g,Kb as f,Nd as P,Qb as s,Td as u,ic as r,jc as a,kc as m,od as h,sb as p,tc as c,xb as n}from"./chunk-EBMUBP7P.js";u();h();u();function C(e,x){if(e&1&&m(0,"img",3),e&2){let t=c();o("src",t.profilePicture,p)}}function _(e,x){if(e&1&&(r(0,"div",4)(1,"span"),d(2),a()()),e&2){let t=c();n(2),g(t.avatar)}}var O=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=f({type:e,selectors:[["paw-profile-photo"]],inputs:{profilePicture:"profilePicture",avatar:"avatar"},decls:3,vars:2,consts:[[1,"profile-photo-container"],["class","image-circle","alt","Profile photo",3,"src",4,"ngIf"],["class","avatar-circle centered",4,"ngIf"],["alt","Profile photo",1,"image-circle",3,"src"],[1,"avatar-circle","centered"]],template:function(i,l){i&1&&(r(0,"div",0),s(1,C,1,1,"img",1)(2,_,3,1,"div",2),a()),i&2&&(n(),o("ngIf",l.profilePicture),n(),o("ngIf",!l.profilePicture))},dependencies:[P,v],styles:[".profile-photo-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:40px;height:40px}.avatar-circle[_ngcontent-%COMP%]{border-radius:50%;background-color:var(--paw-color-primary);display:flex;align-items:center;justify-content:center}.avatar-circle.centered[_ngcontent-%COMP%]{padding:0}.avatar-circle[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-align:center}"]})}}return e})();export{O as a};
