@section('site_title', formatTitle([$website->url, __('Continents')]))
@if(isset($first->value))
@if(!empty(explode(':', $first->value)[1])) {{ explode(':', $first->value)[1] }} @else {{ __('Unknown') }} @endif
@else
{{ __('No data') }}
@endif
{{ (isset($first->count) ? number_format($first->count, 0, __('.'), __(',')) : '—') }}
{{ mb_strtolower(__('Most popular')) }}
{{ (isset($first->count) ? number_format((($first->count / $total->count) * 100), 1, __('.'), __(',')).'%' : '—') }}
@if(isset($last->value))
@if(!empty(explode(':', $last->value)[1])) {{ explode(':', $last->value)[1] }} @else {{ __('Unknown') }} @endif
@else
{{ __('No data') }}
@endif
{{ (isset($last->count) ? number_format($last->count, 0, __('.'), __(',')) : '—') }}
{{ mb_strtolower(__('Least popular')) }}
{{ (isset($last->count) ? number_format((($last->count / $total->count) * 100), 1, __('.'), __(',')).'%' : '—') }}
@if(count($continents) == 0)
{{ __('No results found.') }}
@else
@foreach($continents as $continent) @endforeach
{{ __('Name') }} {{ __('Visitors') }} {{ number_format($total->count, 0, __('.'), __(',')) }} ({{ number_format((($total->count / $total->count) * 100), 1, __('.'), __(',')) }}%)
@if(!empty(explode(':', $continent->value)[1])) {{ explode(':', $continent->value)[1] }} @else {{ __('Unknown') }} @endif
{{ number_format($continent->count, 0, __('.'), __(',')) }}
{{ number_format((($continent->count / $total->count) * 100), 1, __('.'), __(',')) }}%
@endif