import{r,h as e}from"./p-b891c2f1.js";const s=class{constructor(e){r(this,e)}renderLogo(){return["visa","mastercard","amex","discover","diners","jcb","unionpay"].includes(this.brand)?e("sc-icon",{name:this.brand,style:{"--height":"0.63em"}}):e("sc-icon",{name:"credit-card",style:{"--height":"0.63em"}})}render(){return e("div",{class:"cc-logo",part:"base"},this.renderLogo())}};s.style=":host{display:inline-block}.cc-logo{border-radius:var(--sc-cc-border-radius, 4px);line-height:0;overflow:hidden}";export{s as sc_cc_logo}