



'''simple docstring'''





import warnings

from ...utils import logging
from .image_processing_imagegpt import ImageGPTImageProcessor


_lowerCAmelCase      						=	logging.get_logger(__name__)






class        lowerCAmelCase_(				lowerCamelCase_     ):
  '''simple docstring'''




  def __init__(    self  ,*__UpperCAmelCase  ,**__UpperCAmelCase      )    ->		Optional[Any]:
      warnings.warn(
          """The class ImageGPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
          """ Please use ImageGPTImageProcessor instead."""  ,_lowercase  ,)
      super().__init__(*_lowercase  ,**_lowercase      )



__lowerCamelCase			: List[Any]							   =		6_5521



def 	__SCREAMING_SNAKE_CASE  (					__UpperCamelCase    :       str	)							->					int:







  """simple docstring"""





  SCREAMING_SNAKE_CASE__										=      1
  SCREAMING_SNAKE_CASE__										=      0
  for plain_chr in plain_text:
    SCREAMING_SNAKE_CASE__										=      (a + ord(__UpperCamelCase	)) % MOD_ADLER
    SCREAMING_SNAKE_CASE__										=      (b + a) % MOD_ADLER
  return (b << 16) | a
