import{r as t}from"./p-e97fde0a.js";import{s as o}from"./p-53e7f7d7.js";import"./p-03631502.js";import"./p-9dbc54d6.js";import"./p-d3366af3.js";import"./p-401e165e.js";import"./p-830ab1a3.js";import"./p-ec182234.js";import"./p-3f6362a4.js";import"./p-95325ec5.js";import"./p-4df6e0c5.js";const s=":host{display:block}.total-amount{display:inline-block}";const i=s;const a={total:"total_display_amount",subtotal:"subtotal_display_amount",amount_due:"amount_due_display_amount"};const d=class{constructor(o){t(this,o);this.order_key={total:"total_display_amount",subtotal:"subtotal_display_amount",amount_due:"amount_due_display_amount"};this.total="amount_due";this.checkout=undefined}render(){var t,s;const i=this.checkout||(o===null||o===void 0?void 0:o.checkout);if(!(i===null||i===void 0?void 0:i.currency))return;if(!((s=(t=i===null||i===void 0?void 0:i.line_items)===null||t===void 0?void 0:t.data)===null||s===void 0?void 0:s.length))return;return(i===null||i===void 0?void 0:i[a[this.total]])||""}};d.style=i;export{d as sc_total};
//# sourceMappingURL=p-961fbbca.entry.js.map