🪙{mainSeg?.chips ?? 0}
{#each linkedSegs as s (s.source)}
+
{s.chips}
{/each}
{#if activeItems.length > 0}
{t('wallet.active')}
{activeItems.join('. ')}
{/if}
{t('wallet.store')}
{#if tab === 'buy'}
{#if purchaseBlocked}
{t('wallet.iosBlockedPre')}{t('wallet.iosBlockedLink')}{t('wallet.iosBlockedPost')}
{/if}
{#if canReward}
{t('wallet.rewardWatch', { n: wallet?.rewardChips ?? 0 })}
{/if}
{#if gpBuild}
{t('wallet.gpStub')}
{:else}
{#each packs as p (p.productId)}
{p.title}
{formatAmount(p.moneyAmount, p.moneyCurrency)} {currencyLabel(p.moneyCurrency)}
{/each}
{#if packs.length > 0}
{t('wallet.offer')}
{:else if !loading}
{t('wallet.empty')}
{/if}
{/if}
{:else}
{#each values as p (p.productId)}
{p.title}
🪙 {p.chips}
{/each}
{#if !loading && values.length === 0}
{t('wallet.empty')}
{/if}
{/if}
{#if spendProduct}