-
-
-
- {#if rawData?.history?.length !== 0}
- {#if !dateDistance}
- {$displayCompanyName} has an annual dividend of
- ${annualDividend}
- per share, with a forward yield of
- {dividendYield}%.
- The dividend is paid every
- {payoutFrequency === 4 ? '3 months' : payoutFrequency === 2 ? '6 months' : payoutFrequency === 1 ? '12 months' : 'n/a'}
- and the last ex-dividend date was
- {new Date(exDividendDate)?.toLocaleString('en-US', { month: 'short', day: 'numeric', year: 'numeric', daySuffix: '2-digit' })}
+
+
+
+
+ {#if rawData?.history?.length !== 0}
+ {#if !dateDistance}
+ {$displayCompanyName} has an annual dividend of
+ ${annualDividend}
+ per share, with a forward yield of
+ {dividendYield}%.
+ The dividend is paid every
+ {payoutFrequency === 4 ? '3 months' : payoutFrequency === 2 ? '6 months' : payoutFrequency === 1 ? '12 months' : 'n/a'}
+ and the last ex-dividend date was
+ {new Date(exDividendDate)?.toLocaleString('en-US', { month: 'short', day: 'numeric', year: 'numeric', daySuffix: '2-digit' })}
+ {:else}
+ {$displayCompanyName} issued its most recent dividend on
+ {new Date(rawData?.history?.at(0)?.date)?.toLocaleString('en-US', { month: 'short', day: 'numeric', year: 'numeric', daySuffix: '2-digit' })}.
+ Since then, the company has not distributed any further dividends for over 12 months.
+ {/if}
+
+
{:else}
- {$displayCompanyName} issued its most recent dividend on
- {new Date(rawData?.history?.at(0)?.date)?.toLocaleString('en-US', { month: 'short', day: 'numeric', year: 'numeric', daySuffix: '2-digit' })}.
- Since then, the company has not distributed any further dividends for over 12 months.
+ No dividend history available for {$displayCompanyName}.
{/if}
-
-
- {:else}
- No dividend history available for {$displayCompanyName}.
- {/if}
-
-