



from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_flax_available,
    is_tf_available,
    is_torch_available,
)


UpperCAmelCase   :							List[Any]							 ={
    """configuration_vision_text_dual_encoder""": ["""VisionTextDualEncoderConfig"""],
    """processing_vision_text_dual_encoder""": ["""VisionTextDualEncoderProcessor"""],
}


try:
	if not is_torch_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	UpperCAmelCase   :							Optional[int]							 =["""VisionTextDualEncoderModel"""]


try:
	if not is_flax_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	UpperCAmelCase   :							Tuple							 =["""FlaxVisionTextDualEncoderModel"""]

try:
	if not is_tf_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	UpperCAmelCase   :							Dict							 =["""TFVisionTextDualEncoderModel"""]


if TYPE_CHECKING:
	from .configuration_vision_text_dual_encoder import VisionTextDualEncoderConfig
	from .processing_vision_text_dual_encoder import VisionTextDualEncoderProcessor

	try:
		if not is_torch_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_vision_text_dual_encoder import VisionTextDualEncoderModel

	try:
		if not is_flax_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_flax_vision_text_dual_encoder import FlaxVisionTextDualEncoderModel

	try:
		if not is_tf_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_tf_vision_text_dual_encoder import TFVisionTextDualEncoderModel


else:
	import sys

	UpperCAmelCase   :							Union[str, Any]							 =_LazyModule(__name__, globals()["""__file__"""], _import_structure)





def    _lowerCAmelCase    (_lowerCAmelCase = 60_08_51_47_51_43):

					try:
										UpperCamelCase_		  =   int(_lowerCAmelCase)
					except (TypeError, ValueError):
										raise TypeError("Parameter n must be int or castable to int.")
					if n <= 0:
										raise ValueError("Parameter n must be greater than or equal to one.")
					UpperCamelCase_		  =   1
					UpperCamelCase_		  =   2
					while i * i <= n:
										while n % i == 0:
															UpperCamelCase_		  =   i
															n //= i
										i += 1
					if n > 1:
										UpperCamelCase_		  =   n
					return int(_lowerCAmelCase)


if __name__ == "__main__":
	print(F"{solution() = }")
