@php
$session_location = session()->get('location');
$session_country = $session_location && array_key_exists('country', $session_location) ? $session_location['country'] : '-';
$session_exact_location = $session_location && array_key_exists('exact_location', $session_location) ? $session_location['exact_location'] : '-';
$company_country = $user->company->country;
$company_exact_location = $user->company->exact_location;
@endphp
@else
@livewire('country-state-city')
@error('location')
{{ $message }}
@enderror