import{h}from"@stencil/core";import{__}from"@wordpress/i18n";export class ScProvisionalBanner{constructor(){this.claimUrl="",this.expired=!1}render(){return h("div",{key:"5ffbc6a11d3a0b8dbd1d3a6b63314cf3245b318f",class:{"sc-banner":!0}},h("p",{key:"2eaab582408f36f31ac7e4d610a1cbd853e8dbb8"},this.expired?__("The setup window for your store has expired. Please contact support to complete your setup.","surecart"):__("Complete your store setup to go live.","surecart"),!this.expired&&h("a",{key:"6230fa630e2e5211e53e40c9c6d1a481e343556f",href:this.claimUrl,target:"_blank",rel:"noopener noreferrer"},__("Complete Setup","surecart")," ",h("sc-icon",{key:"819971c950aeda94a92036ff25026b83075b1219",name:"arrow-right"}))))}static get is(){return"sc-provisional-banner"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-provisional-banner.scss"]}}static get styleUrls(){return{$:["sc-provisional-banner.css"]}}static get properties(){return{claimUrl:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:"Claim URL."},attribute:"claim-url",reflect:!1,defaultValue:"''"},expired:{type:"boolean",mutable:!1,complexType:{original:"boolean",resolved:"boolean",references:{}},required:!1,optional:!1,docs:{tags:[],text:"Whether the claim window has expired."},attribute:"expired",reflect:!1,defaultValue:"false"}}}}