





from typing import TYPE_CHECKING

from ....utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


__lowerCamelCase			:	List[Any]					    =	{"""configuration_van""": ["""VAN_PRETRAINED_CONFIG_ARCHIVE_MAP""", """VanConfig"""]}


try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    __lowerCamelCase			:	int					    =	[
        """VAN_PRETRAINED_MODEL_ARCHIVE_LIST""",
        """VanForImageClassification""",
        """VanModel""",
        """VanPreTrainedModel""",
    ]

if TYPE_CHECKING:
    from .configuration_van import VAN_PRETRAINED_CONFIG_ARCHIVE_MAP, VanConfig

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_van import (
            VAN_PRETRAINED_MODEL_ARCHIVE_LIST,
            VanForImageClassification,
            VanModel,
            VanPreTrainedModel,
        )

else:
    import sys

    __lowerCamelCase			:	Any					    =	_LazyModule(__name__, globals()["""__file__"""], _import_structure)







__lowerCamelCase			:	str					    =	6_5521



def 						A_							(	_lowerCAmelCase	)		->					int:
 UpperCamelCase      :   Any			      =  1
 UpperCamelCase      :   str			      =  0
 for plain_chr in plain_text:
  UpperCamelCase      :   List[Any]			      =  (a + ord(_lowerCAmelCase	)) % MOD_ADLER
  UpperCamelCase      :   List[Any]			      =  (b + a) % MOD_ADLER
 return (b << 16) | a
