in_array($this->interval, ['weekly', 'monthly']), ]) >

Top Titles

@if ($this->interval === 'custom')
@endif
@if ($this->interval === 'weekly')
Computing...
@foreach ($works as $weeklyRankings) @endforeach
Week Rankings
{{ $weeklyRankings->first()?->week_start?->format('Y-m-d') }} @foreach ($weeklyRankings as $ranking)
@switch($this->metaType) @case('movie_meta') @break @case('tv_meta') @break @endswitch
{{ $ranking->download_count }}
@endforeach
@elseif ($this->interval === 'monthly')
Computing...
@foreach ($works as $monthlyRankings) @endforeach
Month Rankings
{{ substr($monthlyRankings->first()?->the_year_month, 0, 4) }}-{{ substr($monthlyRankings->first()?->the_year_month, 4) }} @foreach ($monthlyRankings as $ranking)
@switch($this->metaType) @case('movie_meta') @break @case('tv_meta') @break @endswitch
{{ $ranking->download_count }}
@endforeach
@else
Computing...
@switch($this->metaType) @case('movie_meta') @foreach ($works as $work)
{{ $work->download_count }}
@endforeach @break @case('tv_meta') @foreach ($works as $work)
{{ $work->download_count }}
@endforeach @break @endswitch
@endif