{{ 'DAILY_CHALLENGE_LONG' | translate }}

@if (loading()) {
{{ 'LOADING' | translate }}
} @else if (entry(); as today) {
@if (preview(); as previewSVG) { } {{ today.layout.name }}

{{ dateLabel() }}

{{ challengeName(today.challenge) | translate }}

{{ challengeName(today.challenge) + '_DESC' | translate }}

@if (timeLimitRange(); as time) {
{{ 'CHALLENGE_TIME_LEFT' | translate }}
{{ time.min | duration }} @if (time.max !== time.min) { - {{ time.max | duration }} }
} @if (info()?.matchTarget; as matchTarget) {
{{ 'CHALLENGE_MATCHES' | translate }}
{{ matchTarget }}
} @if (info()?.scoreTarget; as scoreTarget) {
{{ 'CHALLENGE_TARGET' | translate }}
{{ scoreTarget }}
} @if (today.result; as result) {
{{ 'DAILY_ATTEMPTS' | translate:{ count: result.attempts } }} @if (result.won && result.firstTry) { {{ 'DAILY_FIRST_TRY' | translate }} }
@if (result.won) {
{{ 'DAILY_COMPLETED' | translate }}
@if (result.playTime) { {{ result.playTime | duration }} } } @else { {{ 'DAILY_NOT_COMPLETED' | translate }} }
}
}

{{ 'STATS' | translate }}

{{ daily.streak() }} {{ 'DAILY_STREAK' | translate }}
{{ daily.bestStreak() }} {{ 'DAILY_STREAK_BEST' | translate }}
{{ daily.won() }} / {{ daily.played() }} {{ 'DAILY_WON_PLAYED' | translate }}
@if (daily.calendar(); as calendar) {
{{ monthLabel() }}
@for (weekday of weekdays(); track weekday.long) { } @for (blank of blanks(); track blank) { } @for (day of calendar.days; track day.dayKey) { {{ day.day }} }
}

{{ 'DAILY_BEST_SCORES' | translate }}

@if (!hasScores()) {

{{ 'DAILY_BEST_SCORES_EMPTY' | translate }}

}
@if (scoringInfo()) {
} @if (challengeDetails(); as details) {
}