SEC Filings
{#each tabs as item, i}
changeSECType(i)} class="group relative z-[1] rounded-lg px-6 py-1 border z-30 flex items-center justify-center w-full px-0 py-1 mb-0 border-0 bg-inherit {activeIdx === i ? 'z-0' : ''} " > {#if activeIdx === i}
{/if} {#if item?.title === '8-K'}
{item.title}
{:else if item?.title === '10-K'}
{item.title}
{:else}
{item.title}
{/if}
{/each}
{#if isLoaded} {#if displayList?.length !== 0}
{#each displayList as item}
handleAccordion(item?.year)} class="flex flex-row items-center w-full">
{item?.year}
Total Reports: {item?.totalReports}
{#if accordionOpen[item?.year]} {#each item?.data as entry}
{new Date(entry?.date)?.toLocaleString('en-US', { month: 'short', day: 'numeric', year: 'numeric', daySuffix: '2-digit' })}
Check Report
{/each} {/if}
{/each}
{:else}
No data available
{/if} {:else}
{/if}