run(), 'data'); throw_if(is_null($events), ComponentException::class, 'event_fetching_failed'); return collect($events)->first(fn ($event) => $event['slug'] === $slug); } }