import{r as s,h as e,H as t}from"./p-9add63ef.js";import{g as i}from"./p-64415274.js";import{f as p}from"./p-b51de06c.js";import"./p-fb28f84f.js";import"./p-2b28ea49.js";import"./p-dd24e53c.js";import"./p-b28405ea.js";import"./p-d3366af3.js";import"./p-401e165e.js";import"./p-830ab1a3.js";import"./p-ec182234.js";import"./p-3f6362a4.js";import"./p-31faf2b8.js";import"./p-610295e2.js";import"./p-49fdface.js";const r="sc-express-payment{display:block}";const o=r;const d=class{constructor(e){s(this,e);this.processor=undefined;this.dividerText=undefined;this.debug=undefined;this.hasPaymentOptions=undefined}onPaymentRequestLoaded(){this.hasPaymentOptions=true}renderStripePaymentRequest(){const{processor_data:s}=i("stripe")||{};return e("sc-stripe-payment-request",{debug:this.debug,stripeAccountId:s===null||s===void 0?void 0:s.account_id,publishableKey:s===null||s===void 0?void 0:s.publishable_key})}render(){return e(t,{key:"6908614bce697360d66e04ecd8ef42f7158b265d",class:{"is-empty":!this.hasPaymentOptions&&!this.debug}},this.renderStripePaymentRequest(),(this.hasPaymentOptions||this.debug)&&e("sc-divider",{key:"f9b0bc2de48e292d0c3d1182710487be459d04f4",style:{"--spacing":"calc(var(--sc-form-row-spacing)/2)"}},this.dividerText),!!p()&&e("sc-block-ui",{key:"6a86cffc1c0375372cb5bf0d4918f330c0632e49"}))}};d.style=o;export{d as sc_express_payment};
//# sourceMappingURL=p-d064e307.entry.js.map