OwlCyberSecurity - MANAGER
Edit File: text_encoding.cpython-311.pyc
� �������h]����������������������������d�Z�ddlZi�Zded<���ded<���ded<���d ed <���ded<���d ed<���d���edd������������D���������������Ze�����������������������������������D�] \��ZZeee<����d���edd������������D���������������d���edd������������D���������������z���d���edd������������D���������������z���Ze�����������������������������������D�] \��ZZeee<����[[de fd�Z �ej��������d������������Zde de fd�ZdS�)zEncoding related utilities.�����Nz\t� ���z\n� ���z\r� ���z\"�"���z\'�'���z\\�\���c������������������,�����g�|�]}t����������|��������������S�����chr��.0�is��� �/builddir/build/BUILD/imunify360-venv-2.5.2/opt/imunify360/venv/lib64/python3.11/site-packages/google/protobuf/text_encoding.py� <listcomp>r���+���s������9�9�9�a�3�q�6�6�9�9�9���������c�����������������������g�|�]}d�|z����S��z\%03or ���r ���s��� r���r���r���0���s������<�<�<�!��A��<�<�<r���� ���c������������������,�����g�|�]}t����������|��������������S�r ���r���r ���s��� r���r���r���1���s������8�8�8�A��Q���8�8�8r�������c�����������������������g�|�]}d�|z����S�r���r ���r ���s��� r���r���r���2���s������?�?�?�!��A��?�?�?r����returnc������������������ �����t����������|�t����������������������}|r|r|����������������������t����������������������S�|rt����������nd���|r!d����������������������fd�|�D���������������������������S�d����������������������fd�|�D���������������������������S�)am��Escape a bytes string for use in an text protocol buffer. Args: text: A byte string to be escaped. as_utf8: Specifies if result may contain non-ASCII characters. In Python 3 this allows unescaped non-ASCII Unicode characters. In Python 2 the return value will be valid UTF-8 rather than only ASCII. Returns: Escaped string (str). c�����������������������|�S��Nr ���)�xs��� r����<lambda>zCEscape.<locals>.<lambda>L���s������q��r�����c��������������3����D����K����|�]}t�������������|���������������������V����d�S�r���)�_cescape_unicode_to_str�r����c�ord_s��� �r���� <genexpr>zCEscape.<locals>.<genexpr>N���s1�����������B�B��*�4�4��7�7�3�B�B�B�B�B�Br���c��������������3����D����K����|�]}t�������������|���������������������V����d�S�r���)�_cescape_byte_to_strr#���s��� �r���r&���zCEscape.<locals>.<genexpr>O���s1�����������=�=�1�%�d�d�1�g�g�.�=�=�=�=�=�=r���)� isinstance�str� translate�_cescape_chr_to_symbol_map�ord�join)�text�as_utf8�text_is_unicoder%���s��� @r����CEscaper2���8���s�������� ��t�S�)�)�/���6���6��>�>�4�5�5�5�� 0���[�[�$���C� �7�7�B�B�B�B�T�B�B�B�B�B�B� ���=�=�=�=��=�=�=� =� =�=r���z"(\\+)x([0-9a-fA-F])(?![0-9a-fA-F])r/���c�����������������������d��}t��������������������������������||�������������}|���������������������d���������������������������������d���������������������������������d������������S�)z�Unescape a text string with C-style escape sequences to UTF-8 bytes. Args: text: The data to parse in a str. Returns: A byte string. c������������������������t����������|����������������������d������������������������dz��r.|����������������������d������������dz���|����������������������d������������z���S�|����������������������d������������S�)N�����x0����r���)�len�group)�ms��� r���� ReplaceHexzCUnescape.<locals>.ReplaceHex^���sU��������1�7�7�1�:�:������,� �W�W�Q�Z�Z�$� ������� +�+��7�7�1�:�:�r���zutf-8�unicode_escape�raw_unicode_escape)�_CUNESCAPE_HEX�sub�encode�decode)r/���r;����results��� r���� CUnescaperC���U���sX���������������j�$�/�/�&� �-�-�� � ��6�"�#�#��6�&�'�'�)r���)�__doc__�rer,����ranger"����items�byte�stringr(���r*���r2����compiler>����bytesrC���r ���r���r����<module>rL������s�����>�"��!�� � � � ���� %���1���!&���2���!&���2���!&���2���!&���2���!&���2����:�9�5�5��C�=�=�9�9�9���.�4�4�6�6��)��)�L�D�&�"(��$����=�<�u�u�Q��|�|�<�<�<�8�8���r�3���8�8�8�9�?�?�u�u�S�#���?�?�?�@����/�4�4�6�6��&��&�L�D�&�%��t����&�>�c��>��>��>��>�4����A�B�B��)�C��)�E��)��)��)��)��)��)r���