import{r as t}from"./p-9add63ef.js";import{s as o}from"./p-1282ed4a.js";import"./p-2b28ea49.js";import"./p-dd24e53c.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";const a=":host{display:block}.total-amount{display:inline-block}";const s=a;const i={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,a;const s=this.checkout||(o===null||o===void 0?void 0:o.checkout);if(!(s===null||s===void 0?void 0:s.currency))return;if(!((a=(t=s===null||s===void 0?void 0:s.line_items)===null||t===void 0?void 0:t.data)===null||a===void 0?void 0:a.length))return;return(s===null||s===void 0?void 0:s[i[this.total]])||""}};d.style=s;export{d as sc_total};
//# sourceMappingURL=p-67a6a618.entry.js.map