handleCalendarDateClick(calendarDate)}\n on:mouseenter={() => handleHoverCalendarDate(calendarDate)}\n on:mousedown={() => handleCalendarDateDown(calendarDate)}\n on:mouseup={() => handleCalendarDateUp(calendarDate)}\n role=\"button\"\n >\n
7}\n >\n
{calendarDate.day}\n\n {#if Array.isArray(events[calendarDateSql])}\n {@const applyOffsets = events[calendarDateSql].length > 3}\n\n
\n {#each events[calendarDateSql] as event, index (event.id)}\n
dispatch(\"event\", {event})}\n >\n \n
\n {#if index === 3}\n
\n {/if}\n {/each}\n
\n {/if}\n