0}
class:player-hovered={isHovered && mouseInside}
style={isHovered || currentAnimation ? `position: absolute;` : ''}
bind:this={mapCardElement}
tabindex="-1"
role="button"
on:mouseover={() => handleHover(true, true)}
on:mouseout={() => handleHover(false, true)}
on:focus={() => handleHover(true, true)}
on:blur={() => handleHover(false, true)}>
{#if $configStore.mapCards.cinematics}
{:else}
{/if}
navigate(mapLink)} class="header-link" href={mapLink}>
{#if sortValue}
{sortValue}
{/if}
{#if isHovered || currentAnimation}
handleHover(false, true)}
on:keydown={() => handleHover(false, true)}
tabindex="-1"
role="button">
{/if}
{#if !isHovered && !currentAnimation}
{/if}