�PNG
IHDR��;���IDATx��ܻn�0���K��
�)(�pA������7�LeG{�� �§㻢|��ذaÆ
6lذaÆ
6lذaÆ
6lom��$^�y���ذag�5bÆ
6lذaÆ
6lذa{����
6lذaÆ
�`����}H�Fkm�,�m����Ӫ���ô�ô!��x�|'ܢ˟;�E:���9�&ᶒ�}�{�v]�n&�6�
�h��_��t�ڠ͵-ҫ���Z;��Z$�.�P���k�ž)�!��o���>}l�eQfJ�T��u і���چ��\��X=8��Rن4`Vw�l�>����n�G�^��i�s��"ms�$�u��i��?w�bs[m�6�K4���O���.�4��%����/����b�C%��t��M�ז� �-l�G6�mrz2���s�%�9��s@���-�k�9�=���)������k�B5����\��+͂�Zsٲ��Rn��~G���R���C������wIcI��n7jJ���hۛNCS|���j0��8y�iHKֶۛ�k�Ɉ+;Sz������L/��F�*\��Ԕ�#"5��m�2��[S��������=�g��n�a�P�e�ғ�L��
lذaÆ
6l�^k��̱aÆ
6lذaÆ
6lذa;����
�_��ذaÆ
6lذaÆ
6lذaÆ
���R���IEND�B`
3
\F!�@s�dZddlZddlZddlZddlZddlmZmZddlm Z ddddd d
ddgZ
ejejd
�j
dd��Zdd�ZGdd�de�Ze�Zdeed�<�dd�Zdd �Zdd�Zdd�Zdd
�Zeed�Zdd�Zeed�Zeed�Zddd�ZdS) z� Routines for manipulating RFC2047 encoded words.
This is currently a package-private API, but will be considered for promotion
to a public API if there is demand.
�N)�
ascii_letters�digits)�errors�decode_q�encode_q�decode_b�encode_b�len_q�len_b�decode�encodes=([a-fA-F0-9]{2})cCstt|jd�d�g�S)N��)�bytes�int�group)�m�r�&/usr/lib64/python3.6/_encoded_words.py�AsrcCs|jdd�}t|�gfS)N�_� )�replace�_q_byte_subber)�encodedrrrrCsc@s,eZdZdejd�ejd�Zdd�ZdS)� _QByteMaps-!*+/�asciicCs.||jkrt|�||<�ndj|�||<�||S)Nz={:02X})�safe�chr�format)�self�keyrrr�__missing__Ms
z_QByteMap.__missing__N)�__name__�
__module__�__qualname__rrrrr"rrrrrIsr�_� cCsdjdd�|D��S)N�css|]}t|VqdS)N)�_q_byte_map)�.0�xrrr� Zszencode_q..)�join)�bstringrrrrYscCstdd�|D��S)Ncss|]}tt|�VqdS)N)�lenr))r*r+rrrr,]szlen_q..)�sum)r.rrrr \scCs�t|�d}|r ddd|�nd}y$tj||dd�|rDtj�gngfStjk
r�ytj|dd�tj�gfStjk
r�y"tj|ddd�tj�tj�gfStjk
r�|tj�gfSXYnXYnXdS)N�s===�T)ZvalidateFs==) r/�base64Z b64decoderZInvalidBase64PaddingDefect�binascii�ErrorZInvalidBase64CharactersDefectZInvalidBase64LengthDefect)rZpad_errZmissing_paddingrrrrds cCstj|�jd�S)Nr)r3Z b64encoder)r.rrrr�scCs&tt|�d�\}}|d|r dndS)N�r1r)�divmodr/)r.Zgroups_of_3Zleftoverrrrr
�s)�q�bc Cs�|jd�\}}}}}|jd�\}}}|j�}|jdd�}t||�\}}y|j|�}Wnvtk
r�|jtj dj
|���|j|d�}YnBtk
r�|jdd�}|j�dkr�|jtjdj
|���YnX||||fS)a�Decode encoded word and return (string, charset, lang, defects) tuple.
An RFC 2047/2243 encoded word has the form:
=?charset*lang?cte?encoded_string?=
where '*lang' may be omitted but the other parts may not be.
This function expects exactly such a string (that is, it does not check the
syntax and may raise errors if the string is not well formed), and returns
the encoded_string decoded first from its Content Transfer Encoding and
then from the resulting bytes into unicode using the specified charset. If
the cte-decoded string does not successfully decode using the specified
character set, a defect is added to the defects list and the unknown octets
are replaced by the unicode 'unknown' character \uFDFF.
The specified charset and language are returned. The default for language,
which is rarely if ever encountered, is the empty string.
�?�*r�surrogateescapez:Encoded word contains bytes not decodable using {} charsetzunknown-8bitzsB$
&+