import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{d as defineCustomElement$2}from"./sc-icon2.js";const scProvisionalBannerCss=".sc-banner{background-color:var(--sc-color-brand-primary);color:white;display:flex;align-items:center;justify-content:center}.sc-banner>p{font-size:14px;line-height:1;margin:var(--sc-spacing-small)}.sc-banner>p a{color:inherit;font-weight:600;margin-left:10px;display:inline-flex;align-items:center;gap:8px;text-decoration:none;border-bottom:1px solid;padding-bottom:2px}",ScProvisionalBannerStyle0=scProvisionalBannerCss,ScProvisionalBanner$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.claimUrl="",this.expired=!1}render(){return h("div",{key:"5ffbc6a11d3a0b8dbd1d3a6b63314cf3245b318f",class:{"sc-banner":!0}},h("p",{key:"2eaab582408f36f31ac7e4d610a1cbd853e8dbb8"},this.expired?wp.i18n.__("The setup window for your store has expired. Please contact support to complete your setup.","surecart"):wp.i18n.__("Complete your store setup to go live.","surecart"),!this.expired&&h("a",{key:"6230fa630e2e5211e53e40c9c6d1a481e343556f",href:this.claimUrl,target:"_blank",rel:"noopener noreferrer"},wp.i18n.__("Complete Setup","surecart")," ",h("sc-icon",{key:"819971c950aeda94a92036ff25026b83075b1219",name:"arrow-right"}))))}static get style(){return ScProvisionalBannerStyle0}},[1,"sc-provisional-banner",{claimUrl:[1,"claim-url"],expired:[4]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["sc-provisional-banner","sc-icon"].forEach((e=>{switch(e){case"sc-provisional-banner":customElements.get(e)||customElements.define(e,ScProvisionalBanner$1);break;case"sc-icon":customElements.get(e)||defineCustomElement$2()}}))}const ScProvisionalBanner=ScProvisionalBanner$1,defineCustomElement=defineCustomElement$1;export{ScProvisionalBanner,defineCustomElement};