import{h}from"@stencil/core";export class ScCcLogo{constructor(){this.brand=void 0}renderLogo(){return["visa","mastercard","amex","discover","diners","jcb","unionpay"].includes(this.brand)?h("sc-icon",{name:this.brand,style:{"--height":"0.63em"}}):h("sc-icon",{name:"creditcard",style:{"--height":"0.63em"}})}render(){return h("div",{key:"e9f7f69732dede93cbbfead07c30686bab5dc8bc",class:"cc-logo",part:"base"},this.renderLogo())}static get is(){return"sc-cc-logo"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-cc-logo.css"]}}static get styleUrls(){return{$:["sc-cc-logo.css"]}}static get properties(){return{brand:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"brand",reflect:!1}}}}