OwlCyberSecurity - MANAGER
Edit File: punycode.pyc
� �V~gc�����������@���s��d��Z��d�d�l�Z�d����Z�d����Z�d����Z�d����Z�d����Z�d�Z�d ����Z�d ����Z �d����Z �d����Z�d ����Z�d����Z �d����Z�d�e�j�f�d�������YZ�d�e�j�f�d�������YZ�d�e�j�f�d�������YZ�d�e�e�j�f�d�������YZ�d�e�e�j�f�d�������YZ�d����Z�d�S(���sX��� Codec for the Punicode encoding, as specified in RFC 3492 Written by Martin v. L�wis. i����Nc���������C���s{���g��}�i��}�x:�|��D]2�}�t��|���d�k��r;�|�j�|���q�d�|�|�<q�W|�j����}�|�j����d�j�|���j�d���|�f�S(���s ���3.1 Basic code point segregationi����i���t����t���ascii(���t���ordt���appendt���keyst���sortt���joint���encode(���t���strt���baset���extendedt���c(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt ���segregate���s���� c���������C���s:���d�}�x-�|��D]%�}�t��|���|�k��r �|�d�7}�q �q �W|�S(���s@���Return the length of str, considering only characters below max.i����i���(���R���(���R���t���maxt���resR���(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt ���selective_len���s ���� c���������C���sn���t��|����}�x[�|�d�7}�|�|�k�r)�d�S|��|�}�|�|�k�rM�|�d�|�f�S|�|�k��r�|�d�7}�q�q�Wd�S(���s��Return 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.i���i����N(���i����i����(���t���len(���R���t���chart���indext���post���lR���(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���selective_find ���s���� c���������C���s����d�}�g��}�d�}�x��|�D]��}�d�}�}�t��|���}�t�|��|���} �| �d�|�|�} �xZ�t�|��|�|�|���\�}�}�|�d�k�r��Pn��| �|�|�7} �|�j�| �d���|�}�d�} �qY�W|�}�q�W|�S(���s���3.2 Insertion unsort codingi����i����i���i����(���R���R���R���R���(���R���R ���t���oldchart���resultt���oldindexR���R���R���R���t���curlent���delta(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���insertion_unsort2���s$���� c���������C���s6���d�|��d�|�}�|�d�k��r"�d�S|�d�k�r2�d�S|�S(���Ni$���i���i���(����(���t���jt���biasR���(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���TH���s������t$���abcdefghijklmnopqrstuvwxyz0123456789c���������C���s����g��}�d�}�xq�t��|�|���}�|��|�k��r?�|�j�t�|����|�S|�j�t�|�|��|�d�|���|��|�d�|�}��|�d�7}�q�Wd�S(���s(���3.3 Generalized variable-length integersi����i$���i���N(���R���R���t���digits(���t���NR���R���R���t���t(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���generate_generalized_integerP���s����!c���������C���sr���|�r�|��d�}��n �|��d�}��|��|��|�7}��d�}�x$�|��d�k�rW�|��d�}��|�d�7}�q4�W|�d�|��|��d�}�|�S(���Ni���i���i����i���i#���i$���i&���(����(���R���t���firstt���numcharst ���divisionsR���(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���adapt]���s���� c���������C���sr���g��}�d�}�xV�t��|���D]H�\�}�}�t�|�|���}�|�j�|���t�|�|�d�k�|��|�d���}�q�Wd�j�|���S(���s���3.4 Bias adaptationiH���i����i���R����(���t ���enumerateR#���t���extendR'���R���(���t���baselent���deltasR���R���t���pointsR���t���s(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���generate_integersl���s���� $c���������C���s[���t��|����\�}�}�|�j�d���}�t�|��|���}�t�t�|���|���}�|�rW�|�d�|�S|�S(���NR���t���-(���R���R���R���R.���R���(���t���textR ���R ���R+���(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���punycode_encodew���s����c��� ������C���s<��d�}�d�}�d�}�x#y�t��|��|���}�Wn4�t�k �r_�|�d�k�rQ�t�d���n��|�d�d�f�SX|�d�7}�d�|�k�o��d�k�n�r��|�d�}�nV�d�|�k�o��d�k�n�r��|�d �}�n-�|�d�k�r��t�d �|��|�����n �|�d�f�St�|�|���} �|�|�|�7}�|�| �k��r|�|�f�S|�d�| �}�|�d�7}�q�Wd�S( ���s(���3.3 Generalized variable-length integersi����i���t���stricts���incomplete punicode stringiA���iZ���i0���i9���i���s ���Invalid extended code point '%s'i$���N(���R���t ���IndexErrort���UnicodeErrort���NoneR���( ���R ���t���extposR���t���errorsR���t���wR���R���t���digitR"���(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���decode_generalized_number����s2���� c��� ������C���s��d�}�d�}�d�}�d�}�x��|�t��|���k��rt�|�|�|�|���\�}�}�|�d �k�rX�|��S|�|�d�7}�|�|�t��|����d�7}�|�d�k�r��|�d�k�r��t�d�|���n��t�d ���}�n��|�t��|����d�}�|��|� t�|���|��|�}��t�|�|�d�k�t��|������}�|�}�q�W|��S(���s���3.2 Insertion unsort codingi����i����iH���i����i���i���R2���s���Invalid character U+%xt���?N(���R���R:���R5���R4���R���t���unichrR'���( ���R ���R ���R7���R���R���R���R6���t���newposR���(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���insertion_sort����s(���� c���������C���sp���|��j��d���}�|�d�k�r*�d�}�|��}�n�|��|� }�|��|�d�}�t�|�d�|���}�|�j����}�t�|�|�|���S(���NR/���i����R����i���R���(���t���rfindt���unicodet���upperR>���(���R0���R7���R���R ���R ���(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���punycode_decode����s���� t���Codecc�����������B���s ���e��Z�d��d���Z�d��d���Z�RS(���R2���c���������C���s���t��|���}�|�t�|���f�S(���N(���R1���R���(���t���selft���inputR7���R���(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyR�������s����c���������C���s;���|�d�k�r�t��d�|���n��t�|�|���}�|�t�|���f�S(���NR2���t���replacet���ignores���Unsupported error handling (���R2���RF���RG���(���R4���RB���R���(���RD���RE���R7���R���(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���decode����s����(���t���__name__t ���__module__R���RH���(����(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyRC�������s���t���IncrementalEncoderc�����������B���s���e��Z�e�d����Z�RS(���c���������C���s ���t��|���S(���N(���R1���(���RD���RE���t���final(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyR�������s����(���RI���RJ���t���FalseR���(����(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyRK�������s���t���IncrementalDecoderc�����������B���s���e��Z�e�d����Z�RS(���c���������C���s2���|��j��d�k�r"�t�d�|��j����n��t�|�|��j����S(���NR2���RF���RG���s���Unsupported error handling (���R2���RF���RG���(���R7���R4���RB���(���RD���RE���RL���(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyRH�������s����(���RI���RJ���RM���RH���(����(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyRN�������s���t���StreamWriterc�����������B���s���e��Z�RS(����(���RI���RJ���(����(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyRO�������s���t���StreamReaderc�����������B���s���e��Z�RS(����(���RI���RJ���(����(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyRP�������s���c�����������C���s@���t��j�d�d�d�t����j�d�t����j�d�t�d�t�d�t�d�t���S( ���Nt���namet���punycodeR���RH���t���incrementalencodert���incrementaldecodert���streamwritert���streamreader( ���t���codecst ���CodecInfoRC���R���RH���RK���RN���RO���RP���(����(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���getregentry����s���� (���t���__doc__RW���R���R���R���R���R���R ���R#���R'���R.���R1���R:���R>���RB���RC���RK���RN���RO���RP���RY���(����(����(����s7���/opt/alt/python27/lib64/python2.7/encodings/punycode.pyt���<module>���s(���