import{h}from"@stencil/core";import{__}from"@wordpress/i18n";export class ScFeatureDemoBanner{constructor(){this.url="https://app.surecart.com/plans",this.buttonText=__("Upgrade Your Plan","surecart")}render(){return h("div",{key:"f31186768239c19cbaa177b4d1edaada77997edd",class:{"sc-banner":!0}},h("p",{key:"e3ef2099105a973cab6e160ec6c70cdf5274b623"},h("slot",{key:"f8d6659b8ad5104423bebcc46c0a5b58b0971732"},__("This is a feature demo. In order to use it, you must upgrade your plan.","surecart")),h("a",{key:"65ddd147c489bdf7ca279d707f62ff56aaaf33a0",href:this.url,target:"_blank"},h("slot",{key:"be953088ddc7da60acfaf8d3be03f3b1d8086675",name:"link"},this.buttonText," ",h("sc-icon",{key:"82ab8137aa51e28c460f63baac0df150732cf9f4",name:"arrow-right"})))))}static get is(){return"sc-feature-demo-banner"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-feature-demo-banner.scss"]}}static get styleUrls(){return{$:["sc-feature-demo-banner.css"]}}static get properties(){return{url:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"url",reflect:!1,defaultValue:"'https://app.surecart.com/plans'"},buttonText:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"button-text",reflect:!1,defaultValue:"__('Upgrade Your Plan', 'surecart')"}}}}