{t("userbox.header.matching")}
{t("settings.cabNotice")}
overlay = true}>{t('userbox.matching.select')}
{#if custom}
{/if}
{t("userbox.header.matching.symbolChat")}
{#await fetchSymbolData() then} {#each {length: 4}, i}
{ts(`userbox.matching.symbolChat`) + ` #${i + 1}`}
{changed = [...changed, `chusanSymbolChat${i}`];}}>
{ts(`userbox.matching.symbolChat.default`)}
{#each Object.entries(allItems.symbolChat).filter((f) => parseInt(f[0]) !== 0) as [id, option]}
{option?.name || `(unknown ${id})`}
{/each}
{#if changed.includes(`chusanSymbolChat${i}`)}
submitSymbol(i)}> {t("settings.profile.save")}
{/if}
{/each} {/await}
{#if overlay}
{t('userbox.header.matching')}
{t('userbox.matching.select.sub')}
{#each CHU3_MATCHINGS as option}
clickOption(option)} role="button" tabindex="0" on:keypress={e => e.key === 'Enter' && clickOption(option)} class:selected={!custom && existingUrl === option.matching}>
{option.name}
{t('userbox.matching.option.ui')}
/
{t('userbox.matching.option.guide')}
{t('userbox.matching.option.collab')}
{#each option.coop as coop}
{coop}
{/each}
{/each}
e.key === 'Enter' && clickCustom()} class:selected={custom}>
{t('userbox.matching.custom.name')}
{t('userbox.matching.custom.sub')}
{/if}