ok

Mini Shell

Direktori : /opt/alt/python311/lib64/python3.11/email/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/email/__pycache__/quoprimime.cpython-311.opt-2.pyc

�

�f�&����	gd�ZddlZddlmZmZmZdZdZdZd�e	d��D��Z
e
dd�Ze
dd�Zd	ej
d
��zej
d
��zD]Zee��ee<�deed��<d
D]Zee��ee<�d�Zd�Zd�Zd�Zdd�Zd�Zd�Zdd�Zedd�ZdD]Zee��ee<�[defd�Zefd�ZeZeZd�Zd�ZdS))
�body_decode�body_encode�body_length�decode�decodestring�
header_decode�
header_encode�
header_length�quote�unquote�N)�
ascii_letters�digits�	hexdigits�
�
�c��g|]}d|z��S)z=%02X�)�.0�cs  �7/opt/alt/python311/lib64/python3.11/email/quoprimime.py�
<listcomp>r7s��/�/�/�q�w��{�/�/�/��s-!*+/�ascii�_� s_ !"#$%&'()*+,-./0123456789:;<>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~	c�@�	t|��t|kS�N)�chr�_QUOPRI_HEADER_MAP��octets r�header_checkr$Js��H��u�:�:�+�E�2�2�2rc�@�	t|��t|kSr)r �_QUOPRI_BODY_MAPr"s r�
body_checkr'Os��F��u�:�:�)�%�0�0�0rc�6�	td�|D����S)Nc3�JK�|]}tt|��V��dSr)�lenr!�rr#s  r�	<genexpr>z header_length.<locals>.<genexpr>^s0����E�E�%�s�%�e�,�-�-�E�E�E�E�E�Er��sum��	bytearrays rr	r	Ts&����E�E�9�E�E�E�E�E�Erc�6�	td�|D����S)Nc3�JK�|]}tt|��V��dSr)r*r&r+s  rr,zbody_length.<locals>.<genexpr>hs0����C�C��s�#�E�*�+�+�C�C�C�C�C�Crr-r/s rrras&����C�C��C�C�C�C�C�Crc�n�t|t��st|��}|s)|�|�����dSt|d��t|��z|kr|dxx||zz
cc<dS|�|�����dS)N���)�
isinstance�strr �append�lstripr*)�L�s�maxlen�extras    r�_max_appendr=ks����a�������F�F����	�������������	�Q�r�U���c�!�f�f�	��	&�	&�	�"�������������	������������rc�N�	tt|dd�d����S)N���)r �int�r:s rrrvs#��N��s�1�Q�q�S�6�2�����rc�6�tt|��Sr)�_QUOPRI_MAP�ord)rs rr
r
{s���s�1�v�v��r�
iso-8859-1c�x�	|sdS|�d���t��}d|�d|�d�S)Nr�latin1z=?z?q?z?=)r�	translater!)�header_bytes�charset�encodeds   rrrsO��	����r��!�!�(�+�+�5�5�6H�I�I�G�G�$�G�G�W�W�W�-�-rs
�Lc�J�	|dkrtd���|s|S|�t��}d|z}|dz
}g}|j}|���D�]}d}t|��dz
|z
}	||	krv||z}
||
dz
dkr||||
dz
���|
dz
}n@||
dz
dkr||||
���|
dz
}n||||
�dz��|
}||	k�v|rm|ddvrc||	z
}|d	krt
|d��}n*|dkr|d|z}n|t
|d��z}|||d�|z����|||d�����|dtvr|d
��|�|��S)N�zmaxlinelen must be at least 4�=r?r�r4z 	r@r)	�
ValueErrorrJ�_QUOPRI_BODY_ENCODE_MAPr7�
splitlinesr*r
�CRLF�join)
�body�
maxlinelen�eol�
soft_break�maxlinelen1�encoded_bodyr7�line�start�	laststart�stop�room�qs
             rrr�s"���$�A�~�~��8�9�9�9������>�>�1�2�2�D��s��J��q�.�K��L�
�
 �F����!�!�!!�!!������I�I��M�J�.�	��y� � ��;�&�D��D�1�H�~��$�$���t�E�$��(�N�+�,�,�,��q�����d�Q�h��3�&�&���t�E�$�J�'�(�(�(��q������t�E�$�J�'�#�-�.�.�.����y� � ��	!�D��H��%�%��9�$�D��q�y�y��$�r�(�O�O���������H�z�)�����t�B�x���0���F�4��b��>�A�%�&�&�&�&��F�4����<� � � � ��B�x�4�����r�
�
�
��8�8�L�!�!�!rc� �	|s|Sd}|���D]�}|���}|s||z
}�d}t|��}||kr�||}|dkr||z
}|dz
}ni|dz|kr|dz
}�.|dz|krG||dztvr5||dztvr#|t	|||dz���z
}|dz
}n
||z
}|dz
}||kr||z
}||k����|ddvr|�|��r
|dd�}|S)	NrrrQr?rRr@r4r)rU�rstripr*rr�endswith)rMrZ�decodedr^�i�nrs       rrr�su��������G��"�"�$�$�����{�{�}�}���	��s�N�G��
����I�I���!�e�e��Q��A��C�x�x��1����Q�����1������Q�����1��q���T�!�A�#�Y�)�3�3��Q�q�S�	�Y�8N�8N��7�4��!�A�#��;�/�/�/���Q�����1����Q����A�v�v��3���)�!�e�e��,�r�{�&� � �W�%5�%5�c�%:�%:� ��#�2�#�,���Nrc�L�	|�d��}t|��S)Nr)�groupr)�matchr:s  r�_unquote_matchrms ��M�
���A���A��1�:�:�rc�~�	|�dd��}tjdt|tj���S)Nrrz=[a-fA-F0-9]{2})�flags)�replace�re�subrm�ASCIIrCs rrr$s8���	
�	�	�#�s���A�
�6�$�n�a�r�x�H�H�H�Hr)r)rG) �__all__rq�stringr
rrrV�NL�EMPTYSTRING�rangerEr!r&�encoderr rFr$r'r	rr=rr
rrTrrrrrmrrrr�<module>rzsE��
�0����
�	�	�	�3�3�3�3�3�3�3�3�3�3�
��	����0�/�E�E�#�J�J�/�/�/�� ����^���q�q�q�>��
�(�M�(��1�1�	1�M�F�M�'�4J�4J�	J�#�#�A��C��F�F��q���"��3�3�s�8�8��.�!�!�A��#�a�&�&��Q���
3�3�3�
1�1�1�

F�
F�
F�D�D�D����� � � �
���.�.�.�.�*+�1�1�1�-��	�(�(�A�!$��Q����A����!#��I"�I"�I"�I"�^�,�,�,�,�`�������I�I�I�I�Ir

Zerion Mini Shell 1.0