Ë
    òT•jò  ã                   óF   — d Z g d¢ZddlmZ ddlmZ d„ Zd„ Z	d„ Z
d„ Zd	„ Zy
)z Encodings and related functions.)Úencode_7or8bitÚencode_base64Úencode_noopÚencode_quoprié    )Úencodebytes)Úencodestringc                 ó@   — t        | d¬«      }|j                  dd«      S )NT)Ú	quotetabsó    s   =20)Ú_encodestringÚreplace)ÚsÚencs     ú%/usr/lib/python3.12/email/encoders.pyÚ_qencoder      s   € Ü
˜ TÔ
*€Cà�;‰;�t˜VÓ$Ð$ó    c                 ó~   — | j                  d¬«      }t        t        |«      d«      }| j                  |«       d| d<   y)zlEncode the message's payload in Base64.

    Also, add an appropriate Content-Transfer-Encoding header.
    T©ÚdecodeÚasciiÚbase64úContent-Transfer-EncodingN)Úget_payloadÚstrÚ_bencodeÚset_payload©ÚmsgÚorigÚencdatas      r   r   r      s;   € ð
 �?‰? $ˆ?Ó'€DÜ”(˜4“. 'Ó*€GØ‡O�O�GÔØ'/€CÐ#Ò$r   c                 ój   — | j                  d¬«      }t        |«      }| j                  |«       d| d<   y)zvEncode the message's payload in quoted-printable.

    Also, add an appropriate Content-Transfer-Encoding header.
    Tr   zquoted-printabler   N)r   r   r   r   s      r   r   r   $   s4   € ð
 �?‰? $ˆ?Ó'€DÜ�t‹n€GØ‡O�O�GÔØ'9€CÐ#Ò$r   c                 óŽ   — | j                  d¬«      }|€d| d<   y	 |j                  d«       d| d<   y# t        $ r d| d<   Y yw xY w)z9Set the Content-Transfer-Encoding header to 7bit or 8bit.Tr   NÚ7bitr   r   Ú8bit)r   r   ÚUnicodeError)r   r   s     r   r   r   /   s_   € à�?‰? $ˆ?Ó'€DØ€|à+1ˆÐ'Ñ(Øð2Ø�‰�GÔð ,2ˆÐ'Ò(øô ò 2Ø+1ˆÐ'Ó(ð2ús   œ3 ³AÁAc                  ó   — y)zDo nothing.N© )r   s    r   r   r   @   s   � r   N)Ú__doc__Ú__all__r   r   r   Úquoprir   r   r   r   r   r   r   r'   r   r   ú<module>r+      s2   ðñ
 'ò€õ +Ý 0ò%ò0ò:ò2ó"r   