\n ${e}
\n Abonements automātiski atjaunojas ${formatDate(t.current_period_end)}\n `;if(("active"===t.status||"past_due"===t.status)&&t.cancel_at_period_end)return`\n ${a}
\n ${e}
\n Abonements neatjaunojas, beidzas ${formatDate(t.current_period_end)}\n `}return t.status.toUpperCase()},isAutoRenew=t=>("active"===t.status||"past_due"===t.status)&&!t.cancel_at_period_end,isNoAutoRenew=t=>("active"===t.status||"past_due"===t.status)&&t.cancel_at_period_end,renderSubscriptionCard=t=>{const a="manual"===t.id,e=a?`Līdz ${formatDate(t.current_period_end)}`:`No ${formatDate(t.current_period_start)} līdz ${formatDate(t.current_period_end)}`,n=a?"":`\n ${isAutoRenew(t)?``:""}\n ${isNoAutoRenew(t)?``:""}\n `;return`\n