@php $event = $event ?? null; $categoryOptions = $categories->mapWithKeys(fn ($category) => [$category->id => $category->name])->all(); $countryOptions = $countries->mapWithKeys(fn ($country) => [$country->id => $country->name])->all(); $statusOptions = collect($statuses)->mapWithKeys(fn ($status) => [$status => ucfirst($status)])->all(); @endphp