import{r,h as e,H as l,g as a}from"./p-76ab1744.js";const i=class{constructor(e){r(this,e),this.size="md",this.variant="primary",this.fullWidth=!1,this.emptySlot=!1,this.dataTrackingId="telia-cta-link"}componentWillLoad(){this.emptySlot=""!==this.host.innerHTML}render(){return e(l,null,e("a",{class:{"telia-cta-link":!0,[`telia-cta-link--${this.variant}`]:!!this.variant,"telia-cta-link--full-width":this.fullWidth,[`telia-cta-link--${this.size}`]:!0,"telia-cta-link--icon-only":!this.emptySlot},href:this.href,target:this.target,download:this.download,"referrer-policy":this.referrerPolicy,title:this.linkTitle},this.emptySlot&&e("slot",null),e("telia-icon",Object.assign({},this.allyLabel?{allyTitle:this.allyLabel}:{},{name:"arrow-right",size:"sm"}))),e("telia-vst",{dataTrackingId:this.dataTrackingId}))}get host(){return a(this)}};i.style='.telia-cta-link{border-radius:calc(99.9rem * var(--voca-rem-multiplier));font-size:calc(1.6rem * var(--voca-rem-multiplier));font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:500;align-items:center;color:inherit;cursor:pointer;display:inline-flex;gap:calc(0.8rem * var(--voca-rem-multiplier));justify-content:center;line-height:calc(1.6rem * var(--voca-rem-multiplier));outline:0;padding:calc(calc(1.6rem * var(--voca-rem-multiplier)) - calc(0.1rem * var(--voca-rem-multiplier))) calc(calc(2.4rem * var(--voca-rem-multiplier)) - calc(0.1rem * var(--voca-rem-multiplier)));position:relative;text-decoration:none;transition:all 150ms ease}@media screen and (min-width: 37.5em){.telia-cta-link{width:auto}}.telia-cta-link:focus{outline:solid calc(0.3rem * var(--voca-rem-multiplier)) #0099ff;outline-offset:calc(0.2rem * var(--voca-rem-multiplier))}.telia-cta-link:focus:not(:focus-visible){outline:0}.telia-cta-link--primary{background-color:#29003e;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #29003e;color:#ffffff}.telia-cta-link--primary:hover{background-color:#5e0092;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #5e0092;color:#ffffff}.telia-cta-link--primary:active{background-color:#7800b4;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #7800b4;color:#ffffff}.telia-cta-link--secondary{background-color:transparent;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #29003e;color:#29003e}.telia-cta-link--secondary:hover{background-color:#29003e;color:#ffffff}.telia-cta-link--secondary:active{background-color:#5e0092;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #5e0092;color:#ffffff}.telia-cta-link--expressive{background-color:#990ae3;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #990ae3;color:#ffffff}.telia-cta-link--expressive:hover{background-color:#7800b4;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #7800b4}.telia-cta-link--expressive:active{background-color:#5e0092;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #5e0092}.telia-cta-link--primary-white{background-color:#fbf0ff;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #fbf0ff;color:#29003e}.telia-cta-link--primary-white:hover{background-color:#edc8ff;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #edc8ff}.telia-cta-link--primary-white:active{background-color:#de99ff;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #de99ff}.telia-cta-link--secondary-white{background-color:transparent;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #fbf0ff;color:#fbf0ff}.telia-cta-link--secondary-white:hover{background-color:#fbf0ff;color:#29003e}.telia-cta-link--secondary-white:active{background-color:#edc8ff;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #edc8ff;color:#29003e}.telia-cta-link--expressive-white{background-color:#990ae3;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #990ae3;color:#ffffff}.telia-cta-link--expressive-white:hover{background-color:#de99ff;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #de99ff;color:#29003e}.telia-cta-link--expressive-white:active{background-color:#edc8ff;border:calc(0.1rem * var(--voca-rem-multiplier)) solid #edc8ff;color:#29003e}.telia-cta-link.telia-cta-link--icon-only{padding:calc(calc(1.6rem * var(--voca-rem-multiplier)) - calc(0.1rem * var(--voca-rem-multiplier)))}.telia-cta-link--sm{padding:calc(calc(1.2rem * var(--voca-rem-multiplier)) - calc(0.1rem * var(--voca-rem-multiplier))) calc(calc(2rem * var(--voca-rem-multiplier)) - calc(0.1rem * var(--voca-rem-multiplier)))}.telia-cta-link--sm.telia-cta-link--icon-only{padding:calc(calc(1.2rem * var(--voca-rem-multiplier)) - calc(0.1rem * var(--voca-rem-multiplier)))}.telia-cta-link--lg{padding:calc(calc(2rem * var(--voca-rem-multiplier)) - calc(0.1rem * var(--voca-rem-multiplier))) calc(calc(3.2rem * var(--voca-rem-multiplier)) - calc(0.1rem * var(--voca-rem-multiplier)))}.telia-cta-link--lg.telia-cta-link--icon-only{padding:calc(calc(2rem * var(--voca-rem-multiplier)) - calc(0.1rem * var(--voca-rem-multiplier)))}.telia-cta-link--full-width{box-sizing:border-box;width:100%}';export{i as telia_cta_link}