| High |
{#each computeGrowthSingleList(highDataList, avgDataList) as item, index}
{#if index !== 0}
{#if userTier !== "Pro" && index >= highDataList?.length - 2}
Pro
{:else}
0
? "text-[#00FC50] before:content-['+']"
: item?.growth < 0
? "text-[#FF2F1F]"
: "text-white"}
>
{item?.growth !== null && Math.abs(item?.growth - 0) > 0
? abbreviateNumber(item?.growth) + "%"
: "-"}
{/if}
{/if}
|
{/each}
| Avg |
{#each avgGrowthList?.filter((item) => item.FY >= 24) as item, index}
{#if index !== 0}
{#if userTier !== "Pro" && index >= avgDataList?.length - 2}
Pro
{:else}
0
? "text-[#00FC50] before:content-['+']"
: item?.growth < 0
? "text-[#FF2F1F]"
: "text-white"}
>
{item?.growth !== null && Math.abs(item?.growth - 0) > 0
? abbreviateNumber(item?.growth) + "%"
: "-"}
{/if}
{/if}
|
{/each}
| Low |
{#each computeGrowthSingleList(lowDataList, avgDataList) as item, index}
{#if index !== 0}
{#if userTier !== "Pro" && index >= lowDataList?.length - 2}
Pro
{:else}
0
? "text-[#00FC50] before:content-['+']"
: item?.growth < 0
? "text-[#FF2F1F]"
: "text-white"}
>
{item?.growth !== null && Math.abs(item?.growth - 0) > 0
? abbreviateNumber(item?.growth) + "%"
: "-"}
{/if}
{/if}
|
{/each}