import{r as s,h as a,H as l}from"./p-76ab1744.js";const t={PRIMARY:"primary",PRIMARY_SYMBOL:"primary-symbol",SECONDARY:"secondary",SECONDARY_SYMBOL:"secondary-symbol",BLACK:"black",BLACK_SYMBOL:"black-symbol"};Object.values(t);const i=class{constructor(a){s(this,a),this.darkBackground=!1,this.variant=t.PRIMARY,this.componentClass="telia-logo",this.assetServer="https://cdn.voca.teliacompany.com/logo/",this.logoAsset={[t.PRIMARY]:"Telia-primary-default-v2.svg",[t.PRIMARY_SYMBOL]:"Telia-primary-symbol-only-v2.svg",[t.SECONDARY]:"Telia-secondary-default-v2.svg",[t.SECONDARY_SYMBOL]:"Telia-secondary-symbol-only-v2.svg",[t.BLACK]:"Telia-black-default-v2.svg",[t.BLACK_SYMBOL]:"Telia-black-symbol-only-v2.svg"},this.dataTrackingId="telia-logo"}getLogoSource(){let s="";return s=this.darkBackground?this.logoAsset[t.SECONDARY]:this.logoAsset[this.variant],this.assetServer.concat(s)}render(){return a(l,{class:this.componentClass},a("telia-vst",{dataTrackingId:this.dataTrackingId}),a("img",{alt:this.imgAlt,class:this.componentClass.concat("__image"),src:this.getLogoSource(),role:"img"}))}};i.style=".telia-logo{display:block}.telia-logo__image{height:calc(3.2rem * var(--voca-rem-multiplier))}";export{i as telia_logo}