public function scopeCanViewRouteQuery(Builder $query, string $route): Builder 	{ 		return $query->where(function (Builder $query) use ($route): void { 			$query->where('mode', RoleMode::White)->whereHas('routes', function (object $query) use ($route): void { 				$query->where('route', $route); 			}); 		}) 		->orWhere(function (Builder $query) use ($route): void { 			$query->where('mode', RoleMode::Black)->whereDoesntHave('routes', function (object $query) use ($route): void { 				$query->where('route', $route); 			}); 		}); 	}