@if (!(prices$ | async)) { } @else { @let prices = prices$ | async;

{{ "billingPlanLabel" | i18n }}

@for (discount of cartDiscounts(); track discount) { }
{{ "annual" | i18n }} - {{ prices.annually | currency: "$" }} /{{ "yr" | i18n }}
@if (prices.monthly) {
{{ "monthly" | i18n }} - {{ prices.monthly | currency: "$" }} /{{ "monthAbbr" | i18n }}
}

{{ "paymentType" | i18n }}

@if (trial().length === 0) { @let label = trial().product === "passwordManager" ? "passwordManagerPlanPrice" : "secretsManagerPlanPrice";
@let selectionTaxAmounts = selectionCosts$ | async;
{{ label | i18n }}: {{ selectionPrice$ | async | currency: "USD $" }}
{{ "estimatedTax" | i18n }}: {{ selectionTaxAmounts.tax | currency: "USD $" }}

{{ "total" | i18n }}: @let interval = formGroup.value.cadence === "annually" ? "year" : "month"; {{ selectionTaxAmounts.total | currency: "USD $" }}/{{ interval | i18n }}

}
} {{ "loading" | i18n }}