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:"6131c5d1e084bb8768c4c39b4b00645fefac69e0",class:{"sc-banner":!0}},h("p",{key:"6f9fb06e1cb08024c1928898e5eee8d8d91b7b77"},h("slot",{key:"4a3845d026b769f35438136a63e144d34954295e"},__("This is a feature demo. In order to use it, you must upgrade your plan.","surecart")),h("a",{key:"043b395ce4c93b6d250df56172195334ed62645c",href:this.url,target:"_blank"},h("slot",{key:"9cfabf3fc0e44ffbda609ed9ffcfe14cbd38b014",name:"link"},this.buttonText," ",h("sc-icon",{key:"db79e754559bc4a5fa1f4a769c2afcbfd9dd1495",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')"}}}}