import{r as o}from"./p-e97fde0a.js";import{s as t}from"./p-f09ee70b.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-88aed607.js";const i=":host{display:block}.total-amount{display:inline-block}";const a=i;const s={total:"total_display_amount",subtotal:"subtotal_display_amount",amount_due:"amount_due_display_amount"};const l=class{constructor(t){o(this,t);this.order_key={total:"total_display_amount",subtotal:"subtotal_display_amount",amount_due:"amount_due_display_amount"};this.total="amount_due"}render(){var o,i,a,l,d;if(!((o=t===null||t===void 0?void 0:t.checkout)===null||o===void 0?void 0:o.currency))return;if(!((l=(a=(i=t===null||t===void 0?void 0:t.checkout)===null||i===void 0?void 0:i.line_items)===null||a===void 0?void 0:a.data)===null||l===void 0?void 0:l.length))return;return((d=t===null||t===void 0?void 0:t.checkout)===null||d===void 0?void 0:d[s[this.total]])||""}};l.style=a;export{l as sc_total};
//# sourceMappingURL=p-580e43b9.entry.js.map