






"""simple docstring"""



from typing import TYPE_CHECKING

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


A_    =							{
    '''configuration_encodec''': [
        '''ENCODEC_PRETRAINED_CONFIG_ARCHIVE_MAP''',
        '''EncodecConfig''',
    ],
    '''feature_extraction_encodec''': ['''EncodecFeatureExtractor'''],
}

try:
						if not is_torch_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						A_    =							[
						    '''ENCODEC_PRETRAINED_MODEL_ARCHIVE_LIST''',
						    '''EncodecModel''',
						    '''EncodecPreTrainedModel''',
						]

if TYPE_CHECKING:
						from .configuration_encodec import (
						    ENCODEC_PRETRAINED_CONFIG_ARCHIVE_MAP,
						    EncodecConfig,
						)
						from .feature_extraction_encodec import EncodecFeatureExtractor

						try:
												if not is_torch_available():
																		raise OptionalDependencyNotAvailable()
						except OptionalDependencyNotAvailable:
												pass
						else:
												from .modeling_encodec import (
												    ENCODEC_PRETRAINED_MODEL_ARCHIVE_LIST,
												    EncodecModel,
												    EncodecPreTrainedModel,
												)

else:
						import sys

						A_    =							_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)














"""simple docstring"""



import baseaa




def      _lowerCAmelCase		(							UpperCAmelCase__       :					str      )		->bytes:
						return baseaa.baaencode(string.encode("""utf-8"""      )      )




def      _lowerCAmelCase		(							UpperCAmelCase__       :					bytes      )		->str:
						return baseaa.baadecode(UpperCAmelCase__      ).decode("""utf-8"""      )


if __name__ == "__main__":
						A_    =							'''Hello World!'''
						A_    =							baseaa_encode(test)
						print(encoded)

						A_    =							baseaa_decode(encoded)
						print(decoded)






