



"""simple docstring"""







import math

def  __SCREAMING_SNAKE_CASE		(			lowerCamelCase_:							int ):
						"""simple docstring"""






						assert isinstance(lowerCamelCase_     ,		lowerCamelCase_ ) and (
						    number >= 0
						), "'number' must been an int and positive"

						if 1 < number < 4:
												# 2 and 3 are primes
												return True
						elif number < 2 or not number % 2:
												# Negatives, 0, 1 and all even numbers are not primes
												return False

						snake_case   :			Tuple						    = range(3     ,		int(math.sqrt(lowerCamelCase_ ) + 1 )     ,		2 )
						return not any(not number % i for i in odd_numbers )

def  __SCREAMING_SNAKE_CASE		(			lowerCamelCase_:							Optional[Any]     ,		lowerCamelCase_:							Optional[int]=1     ,		**lowerCamelCase_:							str ):
						"""simple docstring"""






						snake_case   :			Any						    = factor * value
						snake_case   :			List[Any]						    = value

						while not is_prime(lowerCamelCase_ ):
												value += 1 if not ("desc" in kwargs and kwargs["desc"] is True) else -1

						if value == first_value_val:
												return next_prime(value + 1     ,		**lowerCamelCase_ )
						return value








"""simple docstring"""







from ..utils import DummyObject, requires_backends

class       _a  ( metaclass=SCREAMING_SNAKE_CASE__):
			__magic_name__     					=     ["""keras_nlp"""]



			def __init__(			self							:				int   ,	*_lowercase							:				Optional[int]   ,	**_lowercase							:				Dict		)							->					List[Any]:
									requires_backends(self   ,	["keras_nlp"]		)



