Mini Kabibi Habibi

Current Path : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/__pycache__/
Upload File :
Current File : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/__pycache__/quopri.cpython-314.pyc

+
��h����Rt.ROtRt^LtRtRt^RIHtHtRt
RtRRltRR	lt
RR
ltRRltRtR
tRt]R8Xd
]!4R#R# ]	dRtRtLBi;i)zHConversions to/from quoted-printable transport encoding as per RFC 1521.�=s0123456789ABCDEF�)�a2b_qp�b2a_qpNc��\V\4'gQhVR9dV#VR8XdV#V\8H;'gRTu;8*;'dR8*Mu'*#)z�Decide whether a particular byte ordinal needs to be quoted.

The 'quotetabs' flag indicates whether embedded tabs and spaces should be
quoted.  Note that line-ending tabs and spaces are always encoded, as per
RFC 1521.
� 	�_� �~)�
isinstance�bytes�ESCAPE)�c�	quotetabs�headers&&&�BC:\Users\ITO\AppData\Local\Programs\Python\Python314\Lib\quopri.py�needsquotingrsR���a�������F�{����D�y��
���;�1�1�t�q�0�0�D�0�1�1rc���\V\4'd\V4^8XgQh\V4p\\\
V^,,\
V^,,34,#)zQuote a single character.)rr�len�ordr
�HEX�rs&r�quoter"sM���a����C��F�A�I�-�-��A��A��E�3�q�"�u�:�s�1�R�4�y�1�2�2�2rc��\e1VP4p\WBVR7pVPV4R#VR3RlpRpVP4;p'd�.p	Rp
VR
RR8XdVRR
pRp
VF_p\	V34p\W�V4'd\
V4pV'dVR8XdV	PR4KNV	PV4Ka	Ve	V!V4\PV	4p\V4\8�d+V!VR\^,
RR	7V\^,
RpK>TpK�Ve
V!VX
R	7R#R#)abRead 'input', apply quoted-printable encoding, and write to 'output'.

'input' and 'output' are binary file objects. The 'quotetabs' flag
indicates whether embedded tabs and spaces should be quoted. Note that
line-ending tabs and spaces are always encoded, as per RFC 1521.
The 'header' flag indicates whether we are encoding spaces as _ as per RFC
1522.N�rr�
c��V'd;VRRR9d1VPVRR\VRR4,V,4R#VR8Xd$VP\V4V,4R#VPW,4R#)�Nr�.���)�writer)�s�output�lineEnds&&&rr �encode.<locals>.write9sd��
��2�3��6�!��L�L��3�B��%��"�#��-�/�'�9�:�
�$�Y��L�L��q��G�+�,��L�L���%rrr	rs=
)r#r)r�readr �readlinerrr�append�EMPTYSTRING�joinr�MAXLINESIZE)
�inputr"rr�data�odatar �prevline�line�outline�strippedr�thislines
&&&&         r�encoder3*s5�����z�z�|���t��@�����U�����&��H��.�.�"�
"�$�
"��������9������9�D��H��A��q�d��A��A�&�1�1��!�H���!�t�)����t�$����q�!�����(�O��#�#�G�,���(�m�k�)�
�(�>�K��M�*�F�;���A�
��/�H�����
�h��)�rc��\e\WVR7#^RIHpV!V4pV!4p\WEW4VP	4#)Nr��BytesIO)r�ior6r3�getvalue)r!rrr6�infp�outfps&&&   r�encodestringr;es?��
���a�V�<�<���1�:�D��I�E�
�4�	�*��>�>��rc	�\�\e0VP4p\W2R7pVPV4R#RpVP4;p'Ed�^\	V4r�V^8�d>Wh^,
VR8Xd.^q�^,
pV^8�dWh^,
VR9dV^,
pK"M^p	Wx8Ed>WgV^,p
V
R8XdV'dVR,qW^,pK4V
\
8wdWZ,qW^,pKQV^,V8XdV	'g^p	M�V^,V8d3Wg^,V^,\
8XdV\
,qW^,pK�V^,V8dz\
Wg^,V^,4'dY\
Wg^,V^,4'd8V\\Wg^,V^,434,qW^,pEK1WZ,qW^,pEKDV	'dEK�VPVR,4RpEK�V'dVPV4R#R#)z�Read 'input', apply quoted-printable decoding, and write to 'output'.
'input' and 'output' are binary file objects.
If 'header' is true, decode underscore as space (per RFC 1522).N�rrrs 	
rr	)	rr%r r&rr
�ishexr�unhex)r+r"rr,r-�newr/�i�n�partialrs&&&        r�decoderDps���
���z�z�|���t�+�����U���

�C��.�.�"�
"�$�
"��#�d�)�1��q�5�T�A�#�a�[�E�)��G�q�S���a�%�D�1��Q�K�8�3��a�C����G��e��q��s��A��D�y�V��D�j���c�!��f���g��Q�3�q��1����'���U��1��q��T�A�#�a��c�]�f�4��F�l��!��A��1��q��U�4�!��A�a�C�=�1�1�e�D�1��Q�q�S�M�6J�6J��E�5���c�!�A�#��#7�"9�:�:��!��A��g��Q�3�q��w��L�L��u��%��C�
����S��rc��\e
\WR7#^RIHpV!V4pV!4p\W4VR7VP	4#)Nr=r5)rr7r6rDr8)r!rr6r9r:s&&   r�decodestringrF�s=��
���a�'�'���1�:�D��I�E�
�4�v�&��>�>��rc���\V\4'gQhRTu;8*;'dR8*Mu;'g5RTu;8*;'dR8*Mu;'gRTu;8*;'dR8*#u#)zDReturn true if the byte ordinal 'c' is a hexadecimal digit in ASCII.�0�9�a�f�A�F)rrrs&rr>r>�sX���a�������1�����F�F��� 1� 1�T� 1�F�F�T�Q�5F�5F�$�5F�F�5F�Frc�r�^pVF�p\V34pRTu;8:dR8:dMM\R4pMaRTu;8:dR8:dMM\R4^
,
pM<RTu;8:dR8:dMM\R4^
,
pMQR	\T4,4hV^,\V4V,
,pK�	V#)
z.Get the integer value of a hexadecimal number.rHrI�0rJrK�arLrMznon-hex digit )rr�repr)r!�bitsrrAs&   rr?r?�s����D�
���1�$�K���1�����C��A�
�Q�
�$�
��C����A�
�Q�
�$�
��D�	�"��A�2�*�4��7�2�2�5��B�w�#�a�&�1�*�%����Krc�0�^RIp^RIpVPVPR,R4wr#RpRpXFwrxVR8XdR	pVR
8XgKR	pK	V'd6V'd.VPVn\
R4VP^4X'gR.p^p	VF�p
V
R8XdVPPpM
\V
R
4pV'd!\W�P
P4M \W�P
PV4V
R8wdVP4K�K�	V	'dVPV	4R#R# TPdZpTPTn\
T4\
R4\
R4\
R4TP^4Rp?EL�Rp?ii;i \d2pTPPT
:RT:R24^p	Rp?EKURp?ii;i T
R8wdTP4ii;i)�N:rNN�tdz"usage: quopri [-t | -d] [file] ...z-t: quote tabsz-d: decode; default encodeFz-tTz-dz -t and -d are mutually exclusive�-�rbz: can't open (z)
)�sys�getopt�argv�error�stderr�stdout�print�exit�stdin�buffer�open�OSErrorr rDr3�close)rXrY�opts�args�msg�deco�tabs�orP�sts�file�fps            r�mainrn�s�������]�]�3�8�8�B�<��6�
���D��D������9�T�d���9�T�d�����Z�Z��
�
�0�1����������
�C����3�;����!�!�B�
��$��%��
	���r�:�:�,�,�-��r�:�:�,�,�d�3��s�{����
��!�$�����
���I�<�<���Z�Z��
�
�c�
�
�2�3�
���
�*�+��������
��0�
��
�
� � �D�#�!F�G�����
���s�{����
��sC�%E�F<�
G;�AG;�F9� AF4�4F9�<G8�%G3�3G8�;H�__main__)r3rDr;rF)F)FF)�__doc__�__all__r
r*rr(�binasciirr�ImportErrorrrr3r;rDrFr>r?rn�__name__�rr�<module>rvs���N�?��	
���������'�
2�3�9*�v�'�R�G�
�$*�\�z���F���y��
�F�
�F��s�A
�
A�A