ok

Mini Shell

Direktori : /opt/imunify360/venv/lib64/python3.11/site-packages/idna/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib64/python3.11/site-packages/idna/__pycache__/codec.cpython-311.pyc

�

2�Dg.
��:�ddlmZmZmZmZmZddlZddlZddlm	Z	m
Z
ejd��ZGd�dej
��Z
Gd�d	ej��ZGd
�dej��ZGd�d
e
ej��ZGd�de
ej��Zdejfd�ZdS)�)�encode�decode�alabel�ulabel�	IDNAError�N)�Tuple�Optionalu[.。.。]c	�Z�eZdZddededeeeffd�Zddededeeeffd�ZdS)	�Codec�strict�data�errors�returnc��|dkr"td�|�����|sdSt|��t|��fS)Nr
�Unsupported error handling "{}")�r)r�formatr�len��selfrrs   �j/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/idna/codec.pyrzCodec.encode
sN���X����?�F�F�v�N�N�O�O�O��	��6��d�|�|�S��Y�Y�&�&rc��|dkr"td�|�����|sdSt|��t|��fS)Nr
r��r)rrrrrs   rrzCodec.decodesN���X����?�F�F�v�N�N�O�O�O��	��5��d�|�|�S��Y�Y�&�&rN)r
)	�__name__�
__module__�__qualname__�strr	�bytes�intrr�rrrrs�������'�'�3�'��'�5����;L�'�'�'�'�'�'�5�'�#�'�U�3��8�_�'�'�'�'�'�'rrc
�6�eZdZdedededeeeffd�ZdS)�IncrementalEncoderrr�finalrc��|dkr"td�|�����|sdSt�|��}d}|r|dsd}|d=n	|s|d=|rd}g}d}|D]=}|�t|����|r|dz
}|t
|��z
}�>d�|��|z}	|t
|��z
}|	|fS�	Nr
rrr����.rr)rr�_unicode_dots_re�split�appendrr�join�
rrrr%�labels�trailing_dot�result�size�label�
result_strs
          r�_buffer_encodez!IncrementalEncoder._buffer_encodes���X����?�F�F�v�N�N�O�O�O��	��5�!�'�'��-�-�����	'��"�:�
'�"���2�J�J��
'��2�J��'�#&�L������	�	�E��M�M�&��-�-�(�(�(��
���	���C��J�J��D�D��X�X�f�%�%��4�
���L�!�!�!���4��rN)rrrr�boolr	r!r5r"rrr$r$sM������ �3� �� �D� �U�3�PS�8�_� � � � � � rr$c
�6�eZdZdedededeeeffd�ZdS)�IncrementalDecoderrrr%rc��|dkr"td�|�����|sdSt�|��}d}|r|dsd}|d=n	|s|d=|rd}g}d}|D]=}|�t|����|r|dz
}|t
|��z
}�>d�|��|z}	|t
|��z
}|	|fSr')rrr*r+r,rrr-r.s
          r�_buffer_decodez!IncrementalDecoder._buffer_decode>s���X����?�F�F�v�N�N�O�O�O��	��7�!�'�'��-�-�����	'��"�:�
'�"���2�J�J��
'��2�J��'�#&�L������	�	�E��M�M�&��-�-�(�(�(��
���	���C��J�J��D�D��X�X�f�%�%��4�
���L�!�!�!���D�!�!rN)rrrrr6r	r!r:r"rrr8r8=sM������"�3�"��"�D�"�U�3�PS�8�_�"�"�"�"�"�"rr8c��eZdZdS)�StreamWriterN�rrrr"rrr<r<^��������Drr<c��eZdZdS)�StreamReaderNr=r"rrr@r@br>rr@rc	��tjdt��jt��jt
ttt���S)N�idna)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader)	�codecs�	CodecInforrrr$r8r<r@r"rr�getregentryrJfs=����
��w�w�~��w�w�~�-�-�!�!����r)�corerrrrrrH�re�typingr	r
�compiler*r�BufferedIncrementalEncoderr$�BufferedIncrementalDecoderr8r<r@rIrJr"rr�<module>rQsz��;�;�;�;�;�;�;�;�;�;�;�;�;�;�
�
�
�
�	�	�	�	�"�"�"�"�"�"�"�"��2�:�:�;�;��'�'�'�'�'�F�L�'�'�'�( � � � � ��:� � � �B"�"�"�"�"��:�"�"�"�B	�	�	�	�	�5�&�-�	�	�	�	�	�	�	�	�5�&�-�	�	�	�
�V�%�
�
�
�
�
�
r

Zerion Mini Shell 1.0