emitter()->addListener('onEntriesCreate', static function (): void {

    $visibility = [
        'draft' => 'draft',
        'hidden' => 'hidden',