import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{o as openWormhole}from"./consumer.js";import{d as defineCustomElement$e}from"./sc-alert2.js";import{d as defineCustomElement$d}from"./sc-button2.js";import{d as defineCustomElement$c}from"./sc-card2.js";import{d as defineCustomElement$b}from"./sc-customer-details2.js";import{d as defineCustomElement$a}from"./sc-dashboard-module2.js";import{d as defineCustomElement$9}from"./sc-divider2.js";import{d as defineCustomElement$8}from"./sc-empty2.js";import{d as defineCustomElement$7}from"./sc-icon2.js";import{d as defineCustomElement$6}from"./sc-skeleton2.js";import{d as defineCustomElement$5}from"./sc-spinner2.js";import{d as defineCustomElement$4}from"./sc-stacked-list2.js";import{d as defineCustomElement$3}from"./sc-stacked-list-row2.js";import{d as defineCustomElement$2}from"./sc-tag2.js";const scOrderConfirmationCustomerCss=":host{display:block}",ScOrderConfirmationCustomerStyle0=":host{display:block}",ScOrderConfirmationCustomer$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.order=void 0,this.heading=void 0,this.customer=void 0,this.error=void 0,this.loading=void 0}render(){return this.customer?h("sc-customer-details",{customer:this.customer,loading:this.loading,error:this.error},h("span",{slot:"heading"},h("slot",{name:"heading"},this.heading||wp.i18n.__("Billing Details","surecart")))):null}static get style(){return":host{display:block}"}},[1,"sc-order-confirmation-customer",{order:[16],heading:[1],customer:[16],error:[1],loading:[4]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["sc-order-confirmation-customer","sc-alert","sc-button","sc-card","sc-customer-details","sc-dashboard-module","sc-divider","sc-empty","sc-icon","sc-skeleton","sc-spinner","sc-stacked-list","sc-stacked-list-row","sc-tag"].forEach((e=>{switch(e){case"sc-order-confirmation-customer":customElements.get(e)||customElements.define(e,ScOrderConfirmationCustomer$1);break;case"sc-alert":customElements.get(e)||defineCustomElement$e();break;case"sc-button":customElements.get(e)||defineCustomElement$d();break;case"sc-card":customElements.get(e)||defineCustomElement$c();break;case"sc-customer-details":customElements.get(e)||defineCustomElement$b();break;case"sc-dashboard-module":customElements.get(e)||defineCustomElement$a();break;case"sc-divider":customElements.get(e)||defineCustomElement$9();break;case"sc-empty":customElements.get(e)||defineCustomElement$8();break;case"sc-icon":customElements.get(e)||defineCustomElement$7();break;case"sc-skeleton":customElements.get(e)||defineCustomElement$6();break;case"sc-spinner":customElements.get(e)||defineCustomElement$5();break;case"sc-stacked-list":customElements.get(e)||defineCustomElement$4();break;case"sc-stacked-list-row":customElements.get(e)||defineCustomElement$3();break;case"sc-tag":customElements.get(e)||defineCustomElement$2()}}))}openWormhole(ScOrderConfirmationCustomer$1,["order","customer","loading"],!1);const ScOrderConfirmationCustomer=ScOrderConfirmationCustomer$1,defineCustomElement=defineCustomElement$1;export{ScOrderConfirmationCustomer,defineCustomElement};