import{h}from"@stencil/core";import{__}from"@wordpress/i18n";export class ScProvisionalBanner{constructor(){this.claimUrl="",this.expired=!1}render(){return h("div",{key:"24cec943cc2c5dad337542be2a2b6393c1b98d1e",class:{"sc-banner":!0}},h("p",{key:"78e76cd7344867630ac7d032bcd1ecc351c94524"},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:"06efe82da95dddb64931b6496c43d5b73deb4c1b",href:this.claimUrl,target:"_blank",rel:"noopener noreferrer"},__("Complete Setup","surecart")," ",h("sc-icon",{key:"f170c5ef4a95feab6c554aa99ce7883e140124c7",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"}}}}