import{r as s,h as t}from"./p-1dbaaa14.js";const i=class{constructor(t){s(this,t),this.domainName="https://app.synbee.it/it",this.imageBaseUrl="/services/eolo-api-documentsmanaging/api/profile-image/get/",this.name="./assets/img/user.svg",this.src=""}componentWillLoad(){switch(!0){case void 0===this.src:case null===this.src:case""===this.src:return"./assets/img/user.svg";case this.src.includes("http"):case this.src.includes("data:image"):return this.src;default:return this.domainName+this.imageBaseUrl+this.src}}render(){return t("img",{src:this.src})}};i.style=":host{display:block}img{width:40px;height:40px;border-radius:10px}";export{i as synbee_avatar}