Ë
    m]j²  ã                   óä   — d Z ddlZej                  xZZej                  Zej
                  Zej                  Zej                  Zej                  Zedddfd„Z	ej                  Z
ej                  Zy)zCFunctions to compress and decompress data using the Brotli library.é    Né   é   c                 ód   — t        ||||¬«      }|j                  | «      |j                  «       z   S )aÉ  Compress a byte string.

    Args:
      string (bytes): The input data.
      mode (int, optional): The compression mode; value 0 should be used for
        generic input (MODE_GENERIC); value 1 might be beneficial for UTF-8 text
        input (MODE_TEXT); value 2 tunes encoder for WOFF 2.0 data (MODE_FONT).
        Defaults to 0.
      quality (int, optional): Controls the compression-speed vs compression-
        density tradeoff. The higher the quality, the slower the compression.
        Range is 0 to 11. Defaults to 11.
      lgwin (int, optional): Base 2 logarithm of the sliding window size. Range
        is 10 to 24. Defaults to 22.
      lgblock (int, optional): Base 2 logarithm of the maximum input block size.
        Range is 16 to 24. If set to 0, the value will be set based on the
        quality. Defaults to 0.

    Returns:
      The compressed byte string.

    Raises:
      brotli.error: If arguments are invalid, or compressor fails.
    )ÚmodeÚqualityÚlgwinÚlgblock)Ú
CompressorÚprocessÚfinish)Ústringr   r   r   r	   Ú
compressors         ú=/var/www/zogu/zoguvenv/lib/python3.12/site-packages/brotli.pyÚcompressr      s6   € ô0  ¨w¸eØ$+ô-€Jà×Ñ˜fÓ%¨
×(9Ñ(9Ó(;Ñ;Ð;ó    )Ú__doc__Ú_brotliÚ__version__ÚversionÚMODE_GENERICÚ	MODE_TEXTÚ	MODE_FONTr
   ÚDecompressorr   Ú
decompressÚerror© r   r   ú<module>r      s…   ðñ Jã ð  ×+Ñ+Ð +€ˆ+ð ×#Ñ#€Ø×Ñ€	Ø×Ñ€	ð ×Ñ€
ð ×#Ñ#€ð '°¸"Àaó <ð: ×Ñ€
ð 	�‰�r   