§ <ˆj8 ã ó — d dl Z d dlmZmZmZ ddlmZmZmZm Z ddl mZ ddlm Z mZ dedeeeeeef f fd „Z G d „ de ¦ « Z G d„ d e¦ « Z G d„ de¦ « Z G d„ de¦ « ZdS )é N)ÚDictÚOptionalÚUnioné )Ú from_bytesÚfrom_fpÚ from_pathÚ normalize)ÚCHARDET_CORRESPONDENCE)ÚCharsetMatchÚCharsetMatchesÚbyte_strÚreturnc óà — t | t t f¦ « s/t d t | ¦ « ¦ « ¦ « ‚t | t ¦ « rt | ¦ « } t | ¦ « ¦ « }|�|j nd}|�|j dk r|j nd}|� d|j z nd}|�|dk r|j r|dz }|t vr|nt | ||dœS ) a chardet legacy method Detect the encoding of the given byte string. It should be mostly backward-compatible. Encoding name will match Chardet own writing whenever possible. (Not on encoding name unsupported by it) This function is deprecated and should be used to migrate your project easily, consult the documentation for further information. Not planned for removal. :param byte_str: The byte sequence to examine. z4Expected object of type bytes or bytearray, got: {0}NÚUnknownÚ g ð?Úutf_8Ú_sig)ÚencodingÚlanguageÚ confidence) Ú isinstanceÚ bytearrayÚbytesÚ TypeErrorÚformatÚtyper Úbestr r ÚchaosÚbomr )r Úrr r r s úP/opt/cloudlinux/venv/lib64/python3.11/site-packages/charset_normalizer/legacy.pyÚdetectr# s € õ �h¥EÐ 2Ñ3Ô3ð Ýð ß’&�˜h™œÑ(Ô(ñ ô ð õ �(�IÑ&Ô&ð