관리-도구
편집 파일: punycode.cpython-311.opt-2.pyc
� c��f� � �$ � d dl Z d� Zd� Zd� Zd� Zd� ZdZd� Zd � Zd � Z d� Z d� Zd � Zd� Z G d� de j � � Z G d� de j � � Z G d� de j � � Z G d� dee j � � Z G d� dee j � � Zd� ZdS )� Nc � � t � � }t � � }| D ]M}t |� � dk r#|� t |� � � � �8|� |� � �Nt |� � }t |� � |fS )N� )� bytearray�set�ord�append�add�sorted�bytes)�str�base�extended�cs �9/opt/alt/python311/lib64/python3.11/encodings/punycode.py� segregater s � �*��;�;�D��u�u�H� � � ���q�6�6�C�<�<��K�K��A��������L�L��O�O�O�O��h���H���;�;�� � � c �F � d}| D ]}t |� � |k r|dz }�|S )Nr � )r )r �max�resr s r � selective_lenr s7 � �J� �C� � � ���q�6�6�C�<�<��1�H�C���Jr c � � t | � � } |dz }||k rdS | | }||k r|dz |fS ||k r|dz }�.)Nr )���r )�len)r �char�index�pos�lr s r �selective_findr sg � �� �C���A���q����!�8�8��8���H����9�9���7�C�<�� ��X�X��Q�J�E�r c � � d}g }d}|D ]t}dx}}t |� � }t | |� � } | dz ||z z } t | |||� � \ }}|dk rn%| ||z z } |� | dz � � |}d} �A|}�u|S )Nr r r r )r r r r )r r �oldchar�result�oldindexr r r r �curlen�deltas r �insertion_unsortr&