AlkantarClanX12

Your IP : 3.147.86.143


Current Path : /proc/self/root/opt/alt/python311/lib64/python3.11/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python311/lib64/python3.11/__pycache__/codecs.cpython-311.opt-2.pyc

�

c��f���R�	ddlZddlZ	ddlTn#e$rZedez���dZ[wwxYwgd�ZdZdxZZ	dxZ
ZdZd	Z
ejd
kre	xZZeZnexZZe
Ze	ZeZeZe
ZGd�de��ZGd
�d��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�d��Z Gd�d��Z!d6d"�Z"d7d#�Z#d$�Z$d%�Z%d&�Z&d'�Z'd(�Z(d)�Z)d8d*�Z*d8d+�Z+d,�Z,d-�Z-	e.d ��Z/e.d.��Z0e.d/��Z1e.d0��Z2e.d1��Z3e.d2��Z4n#e5$rdZ/dZ0dZ1dZ2dZ3dZ4YnwxYwdZ6e6rddl7Z7e8d3kr0e#ej9d4d5��e_9e#ej:d5d4��e_:dSdS)9�N)�*z%Failed to load the builtin codecs: %s),�register�lookup�open�EncodedFile�BOM�BOM_BE�BOM_LE�BOM32_BE�BOM32_LE�BOM64_BE�BOM64_LE�BOM_UTF8�	BOM_UTF16�BOM_UTF16_LE�BOM_UTF16_BE�	BOM_UTF32�BOM_UTF32_LE�BOM_UTF32_BE�	CodecInfo�Codec�IncrementalEncoder�IncrementalDecoder�StreamReader�StreamWriter�StreamReaderWriter�
StreamRecoder�
getencoder�
getdecoder�getincrementalencoder�getincrementaldecoder�	getreader�	getwriter�encode�decode�
iterencode�
iterdecode�
strict_errors�
ignore_errors�replace_errors�xmlcharrefreplace_errors�backslashreplace_errors�namereplace_errors�register_error�lookup_errorss��s��s��s���littlec�,�eZdZ	dZ		ddd�d�Zd�ZdS)rTN)�_is_text_encodingc��t�|||||f��}	||	_||	_||	_||	_||	_||	_||	_|�||	_	|	S�N)
�tuple�__new__�namer$r%�incrementalencoder�incrementaldecoder�streamwriter�streamreaderr2)
�clsr$r%r;r:r8r9r7r2�selfs
          �-/opt/alt/python311/lib64/python3.11/codecs.pyr6zCodecInfo.__new__^sh���}�}�S�6�6�<��"N�O�O����	�������"4���"4���(���(����(�%6�D�"���c�`�d|jj|jj|jt	|��fzS)Nz%<%s.%s object for encoding %s at %#x>)�	__class__�
__module__�__qualname__r7�id�r=s r>�__repr__zCodecInfo.__repr__ms0��6���*�D�N�,G���B�t�H�H�&�&�	&r?)NNNNN)�__name__rBrCr2r6rF�r?r>rrSsU������:���EI�?C�
�!�
�
�
�
�
�&�&�&�&�&r?rc� �eZdZ	dd�Zdd�ZdS)r�strictc��	t�r4��NotImplementedError�r=�input�errorss   r>r$zCodec.encode�s��	�"�!r?c��	t�r4rLrNs   r>r%zCodec.decode�s��	�&"�!r?N�rJ)rGrBrCr$r%rHr?r>rrrsA�������,"�"�"�"�&"�"�"�"�"�"r?rc�2�eZdZ	d	d�Zd
d�Zd�Zd�Zd�ZdS)rrJc�$�	||_d|_dS�N�)rP�buffer�r=rPs  r>�__init__zIncrementalEncoder.__init__�s��	��������r?Fc��	t�r4rL�r=rO�finals   r>r$zIncrementalEncoder.encode����	�"�!r?c��dSr4rHrEs r>�resetzIncrementalEncoder.reset����	�	r?c��	dS�NrrHrEs r>�getstatezIncrementalEncoder.getstate�s��	��qr?c��dSr4rH�r=�states  r>�setstatezIncrementalEncoder.setstate�s��	�	r?NrR�F)rGrBrCrYr$r_rcrgrHr?r>rr�sn�������
	�	�	�	�"�"�"�"����
�������r?rc�8�eZdZ	d
d�Zd�Zdd�Zd�Zd�Zd�Zd	S)�BufferedIncrementalEncoderrJc�J�t�||��d|_dSrU)rrYrWrXs  r>rYz#BufferedIncrementalEncoder.__init__�s#���#�#�D�&�1�1�1�����r?c��t�r4rL�r=rOrPr\s    r>�_buffer_encodez)BufferedIncrementalEncoder._buffer_encode��
��"�!r?Fc�v�|j|z}|�||j|��\}}||d�|_|Sr4)rWrnrP�r=rOr\�data�result�consumeds      r>r$z!BufferedIncrementalEncoder.encode��@���{�U�"��!�0�0��t�{�E�J�J�����8�9�9�o����
r?c�H�t�|��d|_dSrU)rr_rWrEs r>r_z BufferedIncrementalEncoder.reset�s!��� � ��&�&�&�����r?c��|jpdSrb�rWrEs r>rcz#BufferedIncrementalEncoder.getstate�s���{��a�r?c��|pd|_dSrUrxres  r>rgz#BufferedIncrementalEncoder.setstate�s���k�r����r?NrRrh)	rGrBrCrYrnr$r_rcrgrHr?r>rjrj�s}�������
����
"�"�"�
������� � � �"�"�"�"�"r?rjc�2�eZdZ	d	d�Zd
d�Zd�Zd�Zd�ZdS)rrJc��	||_dSr4)rPrXs  r>rYzIncrementalDecoder.__init__s��	�����r?Fc��	t�r4rLr[s   r>r%zIncrementalDecoder.decoder]r?c��dSr4rHrEs r>r_zIncrementalDecoder.resetr`r?c��	dS)N)r?rrHrEs r>rczIncrementalDecoder.getstates��
	��xr?c��dSr4rHres  r>rgzIncrementalDecoder.setstate's��	�	r?NrRrh)rGrBrCrYr%r_rcrgrHr?r>rr�sn�������
����"�"�"�"����
�������r?rc�8�eZdZ	d
d�Zd�Zdd�Zd�Zd�Zd�Zd	S)�BufferedIncrementalDecoderrJc�J�t�||��d|_dS�Nr?)rrYrWrXs  r>rYz#BufferedIncrementalDecoder.__init__5s#���#�#�D�&�1�1�1�����r?c��t�r4rLrms    r>�_buffer_decodez)BufferedIncrementalDecoder._buffer_decode:ror?Fc�v�|j|z}|�||j|��\}}||d�|_|Sr4)rWr�rPrqs      r>r%z!BufferedIncrementalDecoder.decode?rur?c�H�t�|��d|_dSr�)rr_rWrEs r>r_z BufferedIncrementalDecoder.resetGs!��� � ��&�&�&�����r?c��|jdfSrbrxrEs r>rcz#BufferedIncrementalDecoder.getstateKs����Q��r?c� �|d|_dSrbrxres  r>rgz#BufferedIncrementalDecoder.setstateOs���A�h����r?NrRrh)	rGrBrCrYr�r%r_rcrgrHr?r>r�r�/s}�������
����
"�"�"�
������� � � �����r?r�c�L�eZdZd
d�Zd�Zd�Zd�Zdd�Zefd�Z	d	�Z
d
�Zd�ZdS)rrJc�$�	||_||_dSr4)�streamrP�r=r�rPs   r>rYzStreamWriter.__init__\s��	�(�������r?c�x�	|�||j��\}}|j�|��dSr4)r$rPr��write)r=�objectrrrts    r>r�zStreamWriter.writeus<��	����V�T�[�9�9���h�����$�����r?c�X�	|�d�|����dSrU)r��join�r=�lists  r>�
writelineszStreamWriter.writelines|s+��	�	
�
�
�2�7�7�4�=�=�!�!�!�!�!r?c��	dSr4rHrEs r>r_zStreamWriter.reset�s��	�	
�r?rc��|j�||��|dkr|dkr|���dSdSdSrb�r��seekr_�r=�offset�whences   r>r�zStreamWriter.seek�sG��������(�(�(��Q�;�;�6�Q�;�;��J�J�L�L�L�L�L��;�;�;r?c�&�	||j|��Sr4�r��r=r7�getattrs   r>�__getattr__zStreamWriter.__getattr__����	��w�t�{�D�)�)�)r?c��|Sr4rHrEs r>�	__enter__zStreamWriter.__enter__�����r?c�8�|j���dSr4�r��close�r=�type�value�tbs    r>�__exit__zStreamWriter.__exit__������������r?c�:�td|jjz����Nzcan't serialize %s��	TypeErrorrArG�r=�protos  r>�
__reduce_ex__zStreamWriter.__reduce_ex__�����,�t�~�/F�F�G�G�Gr?NrR�r)
rGrBrCrYr�r�r_r�r�r�r�r�r�rHr?r>rrZs�����������2 � � �"�"�"�

�

�

�����$�*�*�*�*�������H�H�H�H�Hr?rc�p�eZdZeZdd�Zdd�Zdd�Zdd	�Zdd
�Z	d�Z
dd
�Zd�Zd�Z
efd�Zd�Zd�Zd�ZdS)rrJc��	||_||_d|_|���|_|j|_d|_dSr�)r�rP�
bytebuffer�charbuffertype�_empty_charbuffer�
charbuffer�
linebufferr�s   r>rYzStreamReader.__init__�sG��	� ���������!%�!4�!4�!6�!6����0�������r?c��t�r4rLrNs   r>r%zStreamReader.decode�s��!�!r?���Fc�,�	|jr+|j�|j��|_d|_|dkr|}	|dkrt	|j��|krn�|dkr|j���}n|j�|��}|j|z}|sn�	|�||j	��\}}np#t$rc}|rV|�|d|j�|j	��\}}|�d���}	t	|	��dkr�n�Yd}~nd}~wwxYw||d�|_|xj|z
c_|sn��|dkr|j}
|j|_n#|jd|�}
|j|d�|_|
S)NrT��keepends�)
r�r�r�r��lenr��readr�r%rP�UnicodeDecodeError�start�
splitlines)r=�size�chars�	firstline�newdatarr�newchars�decodedbytes�exc�linesrss           r>r�zStreamReader.read�s���	�4�?�	#�"�4�9�9�$�/�J�J�D�O�"�D�O��1�9�9��E�	���z�z��t��'�'�5�0�0���a�x�x��+�*�*�,�,����+�*�*�4�0�0���?�W�,�D��
��

�)-���T�4�;�)G�)G�&��,�,��%�
�
�
������D��#�)��$4�d�k�B�B�+�H�l�$�/�/��/�>�>�E��5�z�z�1�}�}��%��%�}�}�}�}�����
����#�<�=�=�1�D�O��O�O�x�'�O�O��
��?	�@�1�9�9��_�F�"�4�D�O�O��_�V�e�V�,�F�"�o�e�f�f�5�D�O��
s�$C�
D0�
AD+�+D0NTc��	|jrf|jd}|jd=t|j��dkr|jd|_d|_|s|�d���d}|S|pd}|j}	|�|d���}|rnt
|t��r|�d��s*t
|t��r/|�d	��r||�dd�
��z
}||z
}|�d���}|r�t|��dkrv|d}|d=t|��dkr$|dxx|jz
cc<||_d|_n|d|jz|_|s|�d���d}n�|d}|d�d���d}||kr7|j�
|dd���|jz|_|r|}n|}n2|r|�!|r|s|�d���d}n
|dkr|d
z}���|S)Nrr�Fr��HT)r��
�
)r�r�r�i@�)r�r�r�r�r�r��
isinstance�str�endswith�bytesr�)	r=r�r��line�readsizerrr��line0withend�line0withoutends	         r>�readlinezStreamReader.readlines���	��?�
	��?�1�%�D����"��4�?�#�#�q�(�(�#'�/�!�"4���"&����
:������6�6�q�9���K��:�2���%��.	��9�9�X��9�6�6�D��
7��t�S�)�)�7�d�m�m�D�.A�.A�7��t�U�+�+�7�04�
�
�e�0D�0D�7��D�I�I�1�A�I�6�6�6�D��D�L�D��O�O�T�O�2�2�E��
��u�:�:��>�>�!��8�D��a���5�z�z�A�~�~��b�	�	�	�T�_�4�	�	�	�*/���*.����+0��(�T�_�*D���#�B�#�����>�>�q�A���$�Q�x��"'��(�"5�"5�u�"5�"E�"E�a�"H���?�2�2�&*�&<�&A�&A�%����)�&L�&L�&*�o�'6�D�O��/�+���.����
�4�+��>��>��?�?�E�?�:�:�1�=�D���$����A�
��].	�^�r?c�V�	|���}|�|��Sr4)r�r�)r=�sizehintr�rrs    r>�	readlineszStreamReader.readlinesas(��		��y�y�{�{�����x�(�(�(r?c�<�	d|_|j|_d|_dSr�)r�r�r�r�rEs r>r_zStreamReader.resetps%��	�����0�������r?rc�f�	|j�||��|���dSr4r�r�s   r>r�zStreamReader.seek}s2��	�	
������(�(�(��
�
�����r?c�B�	|���}|r|St�r4)r��
StopIteration)r=r�s  r>�__next__zStreamReader.__next__�s%��B��}�}�����	��K��r?c��|Sr4rHrEs r>�__iter__zStreamReader.__iter__�r�r?c�&�	||j|��Sr4r�r�s   r>r�zStreamReader.__getattr__�r�r?c��|Sr4rHrEs r>r�zStreamReader.__enter__�r�r?c�8�|j���dSr4r�r�s    r>r�zStreamReader.__exit__�r�r?c�:�td|jjz���r�r�r�s  r>r�zStreamReader.__reduce_ex__�r�r?rR)r�r�F)NTr�)rGrBrCr�r�rYr%r�r�r�r_r�r�r�r�r�r�r�r�rHr?r>rr�s�������N�����2"�"�"�"�N�N�N�N�`I�I�I�I�V
)�
)�
)�
)��������������$�*�*�*�*�������H�H�H�H�Hr?rc�v�eZdZ	dZdd�Zdd�Zdd�Zdd�Zd	�Zd
�Z	d�Z
d�Zd
�Zdd�Z
efd�Zd�Zd�Zd�ZdS)r�unknownrJc�h�	||_|||��|_|||��|_||_dSr4)r��reader�writerrP)r=r��Reader�WriterrPs     r>rYzStreamReaderWriter.__init__�sA��
	�����f�V�V�,�,����f�V�V�,�,�������r?r�c�6�|j�|��Sr4)r�r��r=r�s  r>r�zStreamReaderWriter.read�s���{����%�%�%r?Nc�6�|j�|��Sr4)r�r�r�s  r>r�zStreamReaderWriter.readline�s���{�#�#�D�)�)�)r?c�6�|j�|��Sr4)r�r�)r=r�s  r>r�zStreamReaderWriter.readlines�s���{�$�$�X�.�.�.r?c�,�	t|j��Sr4)�nextr�rEs r>r�zStreamReaderWriter.__next__�s��B��D�K� � � r?c��|Sr4rHrEs r>r�zStreamReaderWriter.__iter__�r�r?c�6�|j�|��Sr4)r�r�)r=rrs  r>r�zStreamReaderWriter.write�s���{� � ��&�&�&r?c�6�|j�|��Sr4)r�r�r�s  r>r�zStreamReaderWriter.writelines�s���{�%�%�d�+�+�+r?c�j�|j���|j���dSr4�r�r_r�rEs r>r_zStreamReaderWriter.reset��0�����������������r?rc��|j�||��|j���|dkr!|dkr|j���dSdSdSrb)r�r�r�r_r�r�s   r>r�zStreamReaderWriter.seek�sd��������(�(�(���������Q�;�;�6�Q�;�;��K���������;�;�;r?c�&�	||j|��Sr4r�r�s   r>r�zStreamReaderWriter.__getattr__�r�r?c��|Sr4rHrEs r>r�zStreamReaderWriter.__enter__�r�r?c�8�|j���dSr4r�r�s    r>r�zStreamReaderWriter.__exit__�r�r?c�:�td|jjz���r�r�r�s  r>r�z StreamReaderWriter.__reduce_ex__�r�r?rR�r�r4r�)rGrBrC�encodingrYr�r�r�r�r�r�r�r_r�r�r�r�r�r�rHr?r>rr�s��������H�����$&�&�&�&�*�*�*�*�/�/�/�/�!�!�!�
���'�'�'�,�,�,����
 � � � �$�*�*�*�*�������H�H�H�H�Hr?rc�|�eZdZ	dZdZ	dd�Zdd�Zdd�Zdd�Zd	�Z	d
�Z
d�Zd�Zd
�Z
dd�Zefd�Zd�Zd�Zd�ZdS)rr�rJc��	||_||_||_|||��|_|||��|_||_dSr4)r�r$r%r�r�rP)r=r�r$r%r�r�rPs       r>rYzStreamRecoder.__init__sO��	�$����������f�V�V�,�,����f�V�V�,�,�������r?r�c�v�|j�|��}|�||j��\}}|Sr4)r�r�r$rP�r=r�rr�bytesencodeds    r>r�zStreamRecoder.read,s6���{����%�%��!�[�[��t�{�;�;���l��r?Nc��|�|j���}n|j�|��}|�||j��\}}|Sr4)r�r�r$rPrs    r>r�zStreamRecoder.readline2sP���<��;�'�'�)�)�D�D��;�'�'��-�-�D�!�[�[��t�{�;�;���l��r?c��|j���}|�||j��\}}|�d���S)NTr�)r�r�r$rPr�)r=r�rrrs    r>r�zStreamRecoder.readlines;sC���{���!�!��!�[�[��t�{�;�;���l������-�-�-r?c�l�	t|j��}|�||j��\}}|Sr4)r�r�r$rP)r=rrrs   r>r�zStreamRecoder.__next__As3��B��D�K� � ��!�[�[��t�{�;�;���l��r?c��|Sr4rHrEs r>r�zStreamRecoder.__iter__Hr�r?c�r�|�||j��\}}|j�|��Sr4)r%rPr�r�)r=rr�bytesdecodeds   r>r�zStreamRecoder.writeKs2��!�[�[��t�{�;�;���l��{� � ��&�&�&r?c��d�|��}|�||j��\}}|j�|��Sr�)r�r%rPr�r�)r=r�rrrs    r>r�zStreamRecoder.writelinesPsA���x�x��~�~��!�[�[��t�{�;�;���l��{� � ��&�&�&r?c�j�|j���|j���dSr4r�rEs r>r_zStreamRecoder.resetVrr?rc�r�|j�||��|j�||��dSr4)r�r�r�r�s   r>r�zStreamRecoder.seek[s:��	
������(�(�(�������(�(�(�(�(r?c�&�	||j|��Sr4r�r�s   r>r�zStreamRecoder.__getattr__ar�r?c��|Sr4rHrEs r>r�zStreamRecoder.__enter__hr�r?c�8�|j���dSr4r�r�s    r>r�zStreamRecoder.__exit__kr�r?c�:�td|jjz���r�r�r�s  r>r�zStreamRecoder.__reduce_ex__nr�r?rRrr4r�)rGrBrC�
data_encoding�
file_encodingrYr�r�r�r�r�r�r�r_r�r�r�r�r�r�rHr?r>rr�s$������
��M��M�!�����8��������.�.�.�.�������'�'�'�
'�'�'����
)�)�)�)�$�*�*�*�*�������H�H�H�H�Hr?r�rrJr�c���	|�	d|vr|dz}tj|||��}|�|S	t|��}t||j|j|��}||_|S#|����xYw)N�b)�builtinsrrrr;r:rr�)�filename�moderrP�	buffering�file�info�srws        r>rrss����:��
�$����c�z���=��4��3�3�D�������h���� ��t�'8�$�:K�V�T�T������
����
�
����
���s�3A�A3c��	|�|}t|��}t|��}t||j|j|j|j|��}||_||_|Sr4)rrr$r%r;r:rr)r#rrrP�	data_info�	file_info�srs       r>rr�so���.��%�
��}�%�%�I��}�%�%�I�	�t�Y�-�y�/?� �-�y�/E�v�
O�
O�B�%�B��$�B��
�Ir?c�,�	t|��jSr4)rr$�rs r>rr������(���"�"r?c�,�	t|��jSr4)rr%r+s r>rr�r,r?c�R�	t|��j}|�t|���|Sr4)rr8�LookupError)r�encoders  r>r r ��1����X���1�G����(�#�#�#��Nr?c�R�	t|��j}|�t|���|Sr4)rr9r/)r�decoders  r>r!r!�r1r?c�,�	t|��jSr4)rr;r+s r>r"r"������(���(�(r?c�,�	t|��jSr4)rr:r+s r>r#r#r5r?c+�K�	t|��|fi|��}|D]}|�|��}|r|V��|�dd��}|r|V�dSdS)NrVT)r r$)�iteratorrrP�kwargsr0rO�outputs       r>r&r&s������.�#�H�-�-�f�?�?��?�?�G���������&�&���	��L�L�L��
�^�^�B��
%�
%�F�
���������r?c+�K�	t|��|fi|��}|D]}|�|��}|r|V��|�dd��}|r|V�dSdS)Nr?T)r!r%)r8rrPr9r3rOr:s       r>r'r' s������.�#�H�-�-�f�?�?��?�?�G���������&�&���	��L�L�L��
�^�^�C��
&�
&�F�
���������r?c��	d�|D��S)Nc��i|]}||��SrHrH)�.0�is  r>�
<dictcomp>z&make_identity_dict.<locals>.<dictcomp><s�����A�A�a���r?rH)�rngs r>�make_identity_dictrB4s���������r?c�^�	i}|���D]\}}||vr|||<�d||<�|Sr4)�items)�decoding_map�m�k�vs    r>�make_encoding_maprI>sQ��
�	�A��!�!�#�#�����!��A�v�v��A�a�D�D��A�a�D�D��Hr?�ignore�replace�xmlcharrefreplace�backslashreplace�namereplace�__main__zlatin-1zutf-8)rNrJr�)NrJrR);r�sys�_codecs�ImportError�why�SystemError�__all__rr
rr	rrr�	byteorderrrrrrrr
r5rrr�rrjrr�rrrrrrrrr r!r"r#r&r'rBrIr/r(r)r*r+r,r-r/�_false�	encodingsrG�stdout�stdinrHr?r>�<module>r[s��������
�
�
�
�E��������E�E�E�
�+�=��C�
D�
D�D�����E����
-�
-�
-��0��$�#���$�#���#��#���=�H���#�"�C�)��I�I�
#�"�C�)��I���������
&�&�&�&�&��&�&�&�>@"�@"�@"�@"�@"�@"�@"�@"�D&�&�&�&�&��&�&�&�P "� "� "� "� "�!3� "� "� "�D/�/�/�/�/��/�/�/�b"�"�"�"�"�!3�"�"�"�VHH�HH�HH�HH�HH�5�HH�HH�HH�XxH�xH�xH�xH�xH�5�xH�xH�xH�xVH�VH�VH�VH�VH�VH�VH�VH�tsH�sH�sH�sH�sH�sH�sH�sH�n/�/�/�/�b"�"�"�"�L#�#�#�#�#�#�������)�)�)�)�)�)�����$����(���
�
�
�.� �L��*�*�M� �L��*�*�M�!�\�)�,�,�N�+�|�,?�@�@��*�l�+=�>�>��%��m�4�4���������M��M��N�#��"����������
��	�������z�����S�Z��G�<�<�C�J���C�I�w�	�:�:�C�I�I�I�
�s#��(�#�(�AE�E&�%E&