e.stopPropagation()}
in:fly={isVertical
? (barPosition === "left" ? { x: -8, duration: 160, easing: cubicOut } : { x: 8, duration: 160, easing: cubicOut })
: { y: -6, duration: 160, easing: cubicOut }}
out:fly={isVertical
? (barPosition === "left" ? { x: -8, duration: 120, easing: cubicIn } : { x: 8, duration: 120, easing: cubicIn })
: { y: -6, duration: 120, easing: cubicIn }}
>
{/if}
{#if readerState.dlOpen && readerState.activeChapter}
{@const chapter = readerState.activeChapter}