






from typing import TYPE_CHECKING

# rely on isort to merge the imports
from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


a_		:						Tuple             =    {'configuration_focalnet': ['FOCALNET_PRETRAINED_CONFIG_ARCHIVE_MAP', 'FocalNetConfig']}


try:
				if not is_torch_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				a_		:						Optional[Any]             =    [
				    'FOCALNET_PRETRAINED_MODEL_ARCHIVE_LIST',
				    'FocalNetForImageClassification',
				    'FocalNetForMaskedImageModeling',
				    'FocalNetBackbone',
				    'FocalNetModel',
				    'FocalNetPreTrainedModel',
				]

if TYPE_CHECKING:
				from .configuration_focalnet import FOCALNET_PRETRAINED_CONFIG_ARCHIVE_MAP, FocalNetConfig

				try:
								if not is_torch_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .modeling_focalnet import (
								    FOCALNET_PRETRAINED_MODEL_ARCHIVE_LIST,
								    FocalNetBackbone,
								    FocalNetForImageClassification,
								    FocalNetForMaskedImageModeling,
								    FocalNetModel,
								    FocalNetPreTrainedModel,
								)

else:
				import sys

				a_		:						int             =    _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)












a_		:						Tuple             =    {
    'A': '.-', 'B': '-...', 'C': '-.-.', 'D': '-..', 'E': '.', 'F': '..-.', 'G': '--.',
    'H': '....', 'I': '..', 'J': '.---', 'K': '-.-', 'L': '.-..', 'M': '--', 'N': '-.',
    'O': '---', 'P': '.--.', 'Q': '--.-', 'R': '.-.', 'S': '...', 'T': '-', 'U': '..-',
    'V': '...-', 'W': '.--', 'X': '-..-', 'Y': '-.--', 'Z': '--..', '1': '.----',
    '2': '..---', '3': '...--', '4': '....-', '5': '.....', '6': '-....', '7': '--...',
    '8': '---..', '9': '----.', '0': '-----', '&': '.-...', '@': '.--.-.',
    ':': '---...', ',': '--..--', '.': '.-.-.-', '\'': '.----.', '"': '.-..-.',
    '?': '..--..', '/': '-..-.', '=': '-...-', '+': '.-.-.', '-': '-....-',
    '(': '-.--.', ')': '-.--.-', '!': '-.-.--', ' ': '/'
}  # Exclamation mark is not in ITU-R recommendation
# fmt: on
a_		:						List[Any]             =    {value: key for key, value in MORSE_CODE_DICT.items()}






def 				lowerCamelCase__				(_UpperCAmelCase):
			return " ".join(MORSE_CODE_DICT[char] for char in message.upper())






def 				lowerCamelCase__				(_UpperCAmelCase):
			return "".join(REVERSE_DICT[char] for char in message.split())






def 				lowerCamelCase__				():
			SCREAMING_SNAKE_CASE						= 'Morse code here!'
			print(_UpperCAmelCase)
			SCREAMING_SNAKE_CASE						= encrypt(_UpperCAmelCase)
			print(_UpperCAmelCase)
			SCREAMING_SNAKE_CASE						= decrypt(_UpperCAmelCase)
			print(_UpperCAmelCase)


if __name__ == "__main__":
				main()




