import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{s as state}from"./mutations2.js";const scInvoiceDetailsCss=":host{display:block}::slotted(*){margin:4px 0 !important}::slotted(sc-divider){margin:16px 0 !important}",ScInvoiceDetailsStyle0=scInvoiceDetailsCss,ScInvoiceDetails=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){var e;return h(Host,{key:"829f6d656bf4afe04e3c90c6fbc7f26d3db6f2be",style:{...(null===(e=null==state?void 0:state.checkout)||void 0===e?void 0:e.invoice)?{}:{display:"none"}}},h("div",{key:"cb94d94d7317e603f03eca74cc6ce1fc66182d5d",class:"invoice-details"},h("slot",{key:"08ea2b0d9a281f66b992f8def0f28e13818e35f0"})))}static get style(){return ScInvoiceDetailsStyle0}},[1,"sc-invoice-details"]);function defineCustomElement(){"undefined"!=typeof customElements&&["sc-invoice-details"].forEach((e=>{"sc-invoice-details"===e&&(customElements.get(e)||customElements.define(e,ScInvoiceDetails))}))}export{ScInvoiceDetails as S,defineCustomElement as d};