Hacked By AnonymousFox

Current Path : /opt/imunify360/venv/lib/python3.11/site-packages/google/protobuf/internal/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib/python3.11/site-packages/google/protobuf/internal/__pycache__/decoder.cpython-311.pyc

�

h��f����j�dZdZddlZddlZddlmZddlmZddlmZddlm	Z	e	j
Zd�Zd	�Z
ed
e��Ze
de��Zede��Ze
d
e��Zd�Zd�Zd�Zd�Zd�Zd�Z	d.d�Zeeje��Zeeje��Zeeje��Zeeje��Zeejeej��Z eejeej��Z!eej"d��Z#eej$d��Z%eej"d��Z&eej$d��Z'e��Z(e��Z)eejee*��Z+	d.d�Z,	d.d�Z-d�Z.d�Z/ej0dej1��Z2d�Z3d �Z4d!�Z5d"�Z6d#�Z7d$�Z8d%�Z9d&�Z:d/d'�Z;d(�Z<d)�Z=d*�Z>d+�Z?d,�Z@d-�ZAeA��ZBdS)0a�	Code for decoding protocol buffer primitives.

This code is very similar to encoder.py -- read the docs for that module first.

A "decoder" is a function with the signature:
  Decode(buffer, pos, end, message, field_dict)
The arguments are:
  buffer:     The string containing the encoded message.
  pos:        The current position in the string.
  end:        The position in the string where the current message ends.  May be
              less than len(buffer) if we're reading a sub-message.
  message:    The message object into which we're parsing.
  field_dict: message._fields (avoids a hashtable lookup).
The decoder reads the field and stores it into field_dict, returning the new
buffer position.  A decoder for a repeated field may proactively decode all of
the elements of that field, if they appear consecutively.

Note that decoders may throw any of the following:
  IndexError:  Indicates a truncated message.
  struct.error:  Unpacking of a fixed-width field failed.
  message.DecodeError:  Other errors.

Decoders are expected to raise an exception if they are called with pos > end.
This allows callers to be lax about bounds checking:  it's fineto read past
"end" as long as you are sure that someone else will notice and throw an
exception later on.

Something up the call stack is expected to catch IndexError and struct.error
and convert them to message.DecodeError.

Decoders are constructed using decoder constructors with the signature:
  MakeDecoder(field_number, is_repeated, is_packed, key, new_default)
The arguments are:
  field_number:  The field number of the field we want to decode.
  is_repeated:   Is the field a repeated field? (bool)
  is_packed:     Is the field a packed field? (bool)
  key:           The key to use when looking up the field within field_dict.
                 (This is actually the FieldDescriptor but nothing in this
                 file should depend on that.)
  new_default:   A function which takes a message object as a parameter and
                 returns a new instance of the default value for this field.
                 (This is called for repeated fields and sub-messages, when an
                 instance does not already exist.)

As with encoders, we define a decoder constructor for every type of field.
Then, for every field of every message class we construct an actual decoder.
That decoder goes into a dict indexed by tag, so when we decode a message
we repeatedly read a tag, look up the corresponding decoder, and invoke it.
z kenton@google.com (Kenton Varda)�N)�
containers)�encoder)�wire_format)�messagec������fd�}|S)a�Return an encoder for a basic varint value (does not include tag).

  Decoded values will be bitwise-anded with the given mask before being
  returned, e.g. to limit them to 32 bits.  The returned decoder does not
  take the usual "end" parameter -- the caller is expected to do bounds checking
  after the fact (often the caller can defer such checking until later).  The
  decoder returns a (value, new_pos) pair.
  c���d}d}	||}||dz|zz}|dz
}|dzs|�z}�|��}||fS|dz
}|dkrtd����L�Nr�����@z$Too many bytes when decoding varint.��_DecodeError)�buffer�pos�result�shift�b�mask�result_types     ����/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib64/python3.11/site-packages/google/protobuf/internal/decoder.py�DecodeVarintz$_VarintDecoder.<locals>.DecodeVarintks����
�F�
�E�
C�
��+�a��!�d�(�u�$�%�f�	�Q�h�c��$�h���$�����V�$�$����}���q�j�e�	�"����A�B�B�B�
C��)rrrs`` r�_VarintDecoderras0����
C�
C�
C�
C�
C�
C�
�rc�:����d|dz
z�d|zdz
����fd�}|S)z0Like _VarintDecoder() but decodes signed values.r
c���d}d}	||}||dz|zz}|dz
}|dzs|�z}|�z�z
}�|��}||fS|dz
}|dkrtd����Tr	r)rrrrrrr�signbits     ���rrz*_SignedVarintDecoder.<locals>.DecodeVarint�s����
�F�
�E�C�
��+�a��!�d�(�u�$�%�f�	�Q�h�c��$�h���$����7�"�g�-����V�$�$����}���q�j�e�	�"����A�B�B�B�Crr)�bitsrrrrs ` @@r�_SignedVarintDecoderr!|sS�����
�$��(�O�'�
�t�)�q��$�C�C�C�C�C�C�C�
�rl����rl��� c��|}||dzr|dz
}||dz�|dz
}|||����}||fS)a�Read a tag from the memoryview, and return a (tag_bytes, new_pos) tuple.

  We return the raw bytes of the tag rather than decoding them.  The raw
  bytes can then be used to look up the proper decoder.  This effectively allows
  us to trade some work that would be done in pure-python (decoding a varint)
  for work that is done in C (searching for a byte string in a hash table).
  In a low-level language it would be much cheaper to decode the varint and
  use that, but not in Python.

  Args:
    buffer: memoryview object of the encoded bytes
    pos: int of the current position to start from

  Returns:
    Tuple[bytes, int] of the tag data and new position.
  rr
)�tobytes)rr�start�	tag_bytess    r�ReadTagr'�sc��"�%��s��d��
��1�H�C�	�s��d��
���(�#��U�3�Y��'�'�)�)�)�	�C��rc����	d��fd�	}|S)z�Return a constructor for a decoder for fields of a particular type.

  Args:
      wire_type:  The field's wire type.
      decode_value:  A function which decodes an individual value, e.g.
        _DecodeVarint()
  Fc������	�
��|rt�	���	�fd�}|S|r/tj|�
���
t�
�������
�fd�}|S���fd�}|S)Nc�V��|��	��}|�|��	�|����}�
||��\}}||z
}||krtd���||kr*�||��\}}|�|��||k�*||kr|d=td���|S)N�Truncated message.����Packed element was truncated.��get�
setdefaultr�append)rr�endr�
field_dict�value�endpoint�element�decode_value�key�local_DecodeVarint�new_defaults        ����r�DecodePackedFieldzB_SimpleDecoder.<locals>.SpecificDecoder.<locals>.DecodePackedField�s�������s�#�#���=��'�'��[�[��-A�-A�B�B�%�,�,�V�S�9�9���3��C����c�>�>��1�2�2�
2��H�n�n�'�<���4�4�.�7�C�
�,�,�w�
�
�
��H�n�n���>�>��B�i��<�=�=�
=��
rc���|��	��}|�|��	�
|����}	�||��\}}|�|��|�z}|||��ks||kr||krtd���|S�U)Nr
r+)r/r0r1r)
rrr2rr3r4r6�new_posr7r8r:r&�tag_lens
        �����r�DecodeRepeatedFieldzD_SimpleDecoder.<locals>.SpecificDecoder.<locals>.DecodeRepeatedField�s�������s�#�#���=��'�'��[�[��-A�-A�B�B�%�
	�+�|�F�C�8�8�
�7�G�
�,�,�w�
�
�
��'�!�#�
�G�C�K�
 �I�
-�
-��C�����}�}� �!5�6�6�6��N�
	rc����||��\}}||krtd����r|s|��d��n||�<|S)Nr+�r�pop)	rrr2rr3�	new_value�clear_if_defaultr7r8s	      ���r�DecodeFieldz<_SimpleDecoder.<locals>.SpecificDecoder.<locals>.DecodeField�se���'�<���4�4���C���9�9��1�2�2�
2��	&�I�	&�
�.�.��d�
#�
#�
#�
#�%�*�S�/��
r)�
_DecodeVarintr�TagBytes�len)�field_number�is_repeated�	is_packedr8r:rDr;r?rEr9r&r>r7�	wire_types   ```   @@@��r�SpecificDecoderz'_SimpleDecoder.<locals>.SpecificDecoder�s�����������/�(������������	���"�<��;�;�i��I���g����������!� ���������r�Fr)rLr7rMs`` r�_SimpleDecoderrO�s5����(-�1�1�1�1�1�1�1�f
�rc�2�����fd�}t||��S)z�Like SimpleDecoder but additionally invokes modify_value on every value
  before storing it.  Usually modify_value is ZigZagDecode.
  c�<���||��\}}�|��|fS�Nr)rrrr=r7�modify_values    ��r�InnerDecodez%_ModifiedDecoder.<locals>.InnerDecodes.���$��V�S�1�1��V�W��L�� � �'�*�*r)rO)rLr7rSrTs `` r�_ModifiedDecoderrU�s4����+�+�+�+�+�+�
�	�;�	/�	/�/rc�v����tj����tj����fd�}t||��S)z�Return a constructor for a decoder for a fixed-width field.

  Args:
      wire_type:  The field's wire type.
      format:  The format string to pass to struct.unpack().
  c�J��|�z}��|||���d}||fS)Nrr)rrr=r�format�local_unpack�
value_sizes    ���rrTz'_StructPackDecoder.<locals>.InnerDecodes7����J��G�
�\�&�&��W��"5�
6�
6�q�
9�F��G��r)�struct�calcsize�unpackrO)rLrXrTrYrZs ` @@r�_StructPackDecoderr^sR�������v�&�&�*���,��������
�	�;�	/�	/�/rc�Z��tj��fd�}ttj|��S)z�Returns a decoder for a float field.

  This code works around a bug in struct.unpack for non-finite 32-bit
  floating-point values.
  c�4��|dz}|||����}|dd�dvrU|dd�dkrG|dd�dkrtj|fS|dd�dkrtj|fStj|fS�d	|��d}||fS)
a#Decode serialized float to a float and new position.

    Args:
      buffer: memoryview of the serialized bytes
      pos: int, position in the memory view to start at.

    Returns:
      Tuple[float, int] of the deserialized float value and new position
      in the serialized data.
    �������rs���z<f)r$�math�nan�inf)rrr=�float_bytesrrYs     �rrTz"_FloatDecoder.<locals>.InnerDecode(s�����A�g�G���W��%�-�-�/�/�K�
	�A�a�C��K�'�'�K��!��,<��,G�,G�	�Q�q�S�	�_�	,�	,���'�"�"�	�Q�q�S�	�W�	$�	$���	�7�#�#��h��
 � �
�\�$��
,�
,�Q�
/�F��G��r)r[r]rOr�WIRETYPE_FIXED32�rTrYs @r�
_FloatDecoderrms;�����,� � � � � �B
��4�k�	B�	B�Brc�Z��tj��fd�}ttj|��S)zkReturns a decoder for a double field.

  This code works around a bug in struct.unpack for not-a-number.
  c����|dz}|||����}|dd�dvr*|dd�dkr|dd�dkrtj|fS�d|��d}||fS)	a"Decode serialized double to a double and new position.

    Args:
      buffer: memoryview of the serialized bytes.
      pos: int, position in the memory view to start at.

    Returns:
      Tuple[float, int] of the decoded double value and new position
      in the serialized data.
    �r
rc���rs�z<d)r$rgrh)rrr=�double_bytesrrYs     �rrTz#_DoubleDecoder.<locals>.InnerDecodeTs�����A�g�G��#�g�+�&�.�.�0�0�L�

�a��c�	�k�	)�	)�
�!�A�#�
�'�
)�
)�
�!�A�#�
�"A�
A�
A��h��
 � �
�\�$��
-�
-�a�
0�F��G��r)r[r]rOr�WIRETYPE_FIXED64rls @r�_DoubleDecoderruLs:�����,������:
��4�k�	B�	B�BrFc�������	�
����j�	|rt�
�	���
�fd�}|S|r:tj�tj���t
�����	�����fd�}|S��	��fd�}|S)z!Returns a decoder for enum field.c���|����}|�|���|����}�
||��\}}||z
}||krtd���||kr�|}t||��\}}|�
jvr|�|��n�|jsg|_tj�tj
��}	|j�|	|||����f��|j�tj��|_|j��tj
|��||k��||kr1|�
jvr|d=n|jd=|jjd=td���|S)a�Decode serialized packed enum to its value and a new position.

      Args:
        buffer: memoryview of the serialized bytes.
        pos: int, position in the memory view to start at.
        end: int, end position of serialized data
        message: Message object to store unknown fields in
        field_dict: Map[Descriptor, Any] to store decoded values in.

      Returns:
        int, new position in serialized data.
      Nr+r,r-)r/r0r�_DecodeSignedVarint32�values_by_numberr1�_unknown_fieldsrrGr�WIRETYPE_VARINTr$�_unknown_field_setr�UnknownFieldSet�_add�_values)rrr2rr3r4r5�value_start_posr6r&�	enum_typerIr8r9r:s          �����rr;z&EnumDecoder.<locals>.DecodePackedFieldzs�����n�n�S�!�!�e�	���%�%�c�;�;�w�+?�+?�@�@��*�*�6�3�7�7�o�x���#�o�h�	�C����/�0�0�0��(�N�N���.�v�s�;�;���#��i�0�0�0�
�,�,�w�
�
�
�
��(�)�&(�G�#��&�|�'2�'B�D�D�)��
!�
(�
(��&���!4�5�=�=�?�?�@�B�B�B�
�
'�
/�)3�)C�)E�)E�G�&�
�
$�
)�
)��K�7��B�B�B�!
�(�N�N�&

�x����i�0�0�0��B�i�i��%�b�)��(�0��4��:�;�;�;�
�jrc�J��|��
��}|�|��
�|����}	t||��\}}|�jvr|�|��n�|jsg|_|j��|||����f��|j�tj	��|_|j�
�	tj|��|�
z}|||��ks||kr||krtd���|S��)�Decode serialized repeated enum to its value and a new position.

      Args:
        buffer: memoryview of the serialized bytes.
        pos: int, position in the memory view to start at.
        end: int, end position of serialized data
        message: Message object to store unknown fields in
        field_dict: Map[Descriptor, Any] to store decoded values in.

      Returns:
        int, new position in serialized data.
      Nr
r+)r/r0rxryr1rzr$r|rr}r~rr{r)rrr2rr3r4r6r=r�rIr8r:r&r>s        ������rr?z(EnumDecoder.<locals>.DecodeRepeatedField�sM����n�n�S�!�!�e�	���%�%�c�;�;�w�+?�+?�@�@���2�6�3�?�?���'��i�0�0�0�
�,�,�w�
�
�
�
��(�)�&(�G�#�
�
!�
(�
(��&��W��-�5�5�7�7�8�:�:�:�
�
'�
/�)3�)C�)E�)E�G�&�
�
$�
)�
)��K�7��B�B�B�
�����'�#�+��)�+�+�w�#�~�~�
�s�]�]��3�4�4�4��.�-rc���|}t||��\}}||krtd����r|s|��d��|S|�	jvr||�<n�|jsg|_tj�
tj��}|j�	||||��
��f��|j�tj
��|_|j��
tj|��|S)r�r+N)rxrrBryrzrrGrr{r1r$r|rr}r~)rrr2rr3r��
enum_valuer&rDr�rIr8s        ����rrEz EnumDecoder.<locals>.DecodeField�s+����o�/���<�<��z�3�	�s����/�0�0�0�	��*�����s�D�!�!�!��
�	�y�1�	1�	1�$�
�3����&�	'�$&�'�
!��$�\�%0�%@�B�B�	���&�&�
���s�2�3�;�;�=�=�>�	@�	@�	@��%�-�'1�'A�'C�'C�'�
$��"�'�'��+�5�z�	C�	C�	C��jr)r�rFrrGrr{rH)
rIrJrKr8r:rDr;r?rEr�r9r&r>s
`  ```   @@@@r�EnumDecoderr�ts������������m�)��D�&��0�0�0�0�0�0�0�0�0�b���P�� ��{�/J�K�K�I��)�n�n�G�&�&�&�&�&�&�&�&�&�&�N��#�#�#�#�#�#�#�#�H�r�<I�<Qz<iz<qc������	�
��t�	�fd��|rJ�|r:tj|tj���
t�
������	��
�fd�}|S����	fd�}|S)z%Returns a decoder for a string field.c���|���}	t|d��}n$#t$r}|�d�j��|_�d}~wwxYw|S)zConvert byte to unicode.zutf-8z in field: N)r$�str�UnicodeDecodeError�	full_name�reason)�memview�byte_strr4�er8s    �r�_ConvertToUnicodez(StringDecoder.<locals>._ConvertToUnicode%se������ � �H���(�G�$�$�e�e������&'�a�a����7�a�h����������
�Ls�(�
A	�A�A	c�H��|��	��}|�|��	�|����}	�
||��\}}||z}||krtd���|��|||�����|�
z}|||��ks||kr|S�k�Nr
�Truncated string.r.)rrr2rr3r4�sizer=r�r8r9r:r&r>s        ������rr?z*StringDecoder.<locals>.DecodeRepeatedField6s�����n�n�S�!�!�e�	���%�%�c�;�;�w�+?�+?�@�@��
�(�(���5�5���s���*���S�=�=��0�1�1�
1�
���&�&�v�c�'�k�':�;�;�<�<�<������'�#�+��)�+�+�w�#�~�~��.�
rc����
||��\}}||z}||krtd����r|s|��	d��n�|||���|�	<|S�Nr�rA)rrr2rr3r�r=r�rDr8r9s       ����rrEz"StringDecoder.<locals>.DecodeFieldGs����&�&�v�s�3�3�k�t�S��d�
�g�	�3����.�/�/�/�	�A�$�A����s�D�!�!�!�!�+�+�F�3�w�;�,?�@�@�
�3��
�nr�rFrrGr�WIRETYPE_LENGTH_DELIMITEDrH)rIrJrKr8r:rDr?rEr�r9r&r>s   ```  @@@@r�
StringDecoderr�s����������%��
�
�
�
�
�������� ��!,�!F�H�H�I��)�n�n�G�������������	�	�	�	�	�	�	�	��rc������	�
�t�|rJ�|r9tj|tj���	t�	���
����	�
fd�}|S���fd�}|S)z$Returns a decoder for a bytes field.c�Z��|����}|�|���
|����}	�	||��\}}||z}||krtd���|�|||������|�z}|||��ks||kr|S�tr�)r/r0rr1r$�
rrr2rr3r4r�r=r8r9r:r&r>s
        �����rr?z)BytesDecoder.<locals>.DecodeRepeatedField_s�����n�n�S�!�!�e�	���%�%�c�;�;�w�+?�+?�@�@��
�(�(���5�5���s���*���S�=�=��0�1�1�
1�
���V�C��K�(�0�0�2�2�3�3�3������'�#�+��)�+�+�w�#�~�~��.�
rc�����	||��\}}||z}||krtd����r|s|��d��n|||����|�<|Sr�)rrBr$)
rrr2rr3r�r=rDr8r9s
       ���rrEz!BytesDecoder.<locals>.DecodeFieldps����&�&�v�s�3�3�k�t�S��d�
�g�	�3����.�/�/�/�	�8�$�8����s�D�!�!�!�!� ��W��-�5�5�7�7�
�3��
�nrr�)rIrJrKr8r:rDr?rEr9r&r>s   ```  @@@r�BytesDecoderr�Ts���������%��
������� ��!,�!F�H�H�I��)�n�n�G������������	�	�	�	�	�	�	��rc������	�
�tj|tj���t	����|rJ�|r:tj|tj���	t	�	���
�����	�
fd�}|S����fd�}|S)z$Returns a decoder for a group field.c���|��	��}|�|��	�
|����}	|��	��}|�|��	�
|����}|����|||��}|�z}|||��ks||krt	d���|�z}|||��ks||kr|S��)Nr
�Missing group end tag.)r/r0�add�_InternalParser)
rrr2rr3r4r=�
end_tag_bytes�end_tag_lenr8r:r&r>s
       ������rr?z)GroupDecoder.<locals>.DecodeRepeatedField�s�����n�n�S�!�!�e�	���%�%�c�;�;�w�+?�+?�@�@������s�#�#���=��'�'��[�[��-A�-A�B�B�%��i�i�k�k�(�(���c�:�:���k�/���#�g�+��-�/�/�7�S�=�=��5�6�6�
6������'�#�+��)�+�+�w�#�~�~��.�rc����|��	��}|�|��	�
|����}|�|||��}|�z}|||��ks||krtd���|S)Nr�)r/r0r�r)rrr2rr3r4r=r�r�r8r:s       ����rrEz!GroupDecoder.<locals>.DecodeField�s�����n�n�S�!�!�e�	���%�%�c�;�;�w�+?�+?�@�@��� � ���c�2�2�c��K��g�	��G��	�
�	-�	-��3����3�4�4�4�
�nr)rrGr�WIRETYPE_END_GROUPrH�WIRETYPE_START_GROUP)rIrJrKr8r:r?rEr�r�r&r>s   ``  @@@@r�GroupDecoderr�}s����������"�<�#.�#A�C�C�-��M�"�"�+�
�����$�� ��!,�!A�C�C�I��)�n�n�G�����������&��
�
�
�
�
�
�
�
��rc������	�t�|rJ�|r9tj|tj���t����	�����	fd�}|S���fd�}|S)z&Returns a decoder for a message field.c�t��|����}|�|���
|����}	�	||��\}}||z}||krtd���|����|||��|krtd���|�z}|||��ks||kr|S���Nr
r+�Unexpected end-group tag.)r/r0rr�r�r�s
        �����rr?z+MessageDecoder.<locals>.DecodeRepeatedField�s�����n�n�S�!�!�e�	���%�%�c�;�;�w�+?�+?�@�@���(�(���5�5���s���*���S�=�=��1�2�2�
2��9�9�;�;�%�%�f�c�7�;�;�w�F�F��8�9�9�
9������'�#�+��)�+�+�w�#�~�~��.�rc���|����}|�|���
|����}�	||��\}}||z}||krtd���|�|||��|krtd���|S)Nr+r�)r/r0rr�)rrr2rr3r4r�r=r8r9r:s        ���rrEz#MessageDecoder.<locals>.DecodeField�s�����n�n�S�!�!�e�	���%�%�c�;�;�w�+?�+?�@�@��&�&�v�s�3�3�k�t�S��d�
�g�	�3����/�0�0�0�	�	�	�f�c�7�	3�	3�w�	>�	>��6�7�7�7�
�nrr�)
rIrJrKr8r:r?rEr9r&r>s
   ``  @@@r�MessageDecoderr��s��������%��
�����)�� ��!,�!F�H�H�I��)�n�n�G����������(����������rr
c�������tjdtj���tjdtj���tjdtj���t�t�t}�����fd�}|S)aReturns a decoder for a MessageSet item.

  The parameter is the message Descriptor.

  The message set message looks like this:
    message MessageSet {
      repeated group Item = 1 {
        required int32 type_id = 2;
        required string message = 3;
      }
    }
  rdrbr
c�8��|}d}d}d}	�||��\}	}|	�kr�||��\}}nK|	�kr�||��\}
}||
zx}}n.|	�krn(t||||	��}|dkrtd����q||krtd���|dkrtd���|dkrtd���|j�|��}|��|�|��}|�Y|j}
t
|
d��st�|
��|�	||
�
����}|�|||��|krtd	���n�|jsg|_|j�
t|||����f��|j�t#j��|_|j�|t(j|||������|S)
a�Decode serialized message set to its value and new position.

    Args:
      buffer: memoryview of the serialized bytes.
      pos: int, position in the memory view to start at.
      end: int, end position of serialized data
      message: Message object to store unknown fields in
      field_dict: Map[Descriptor, Any] to store decoded values in.

    Returns:
      int, new position in serialized data.
    r,r
r�r+� MessageSet item missing type_id.� MessageSet item missing message.N�_concrete_classr�)�	SkipFieldr�
Extensions�_FindExtensionByNumberr/�message_type�hasattr�message_factory�GetMessageClassr0r�r�rzr1�MESSAGE_SET_ITEM_TAGr$r|rr}r~rr�)rrr2rr3�message_set_item_start�type_id�
message_start�message_endr&r��	extensionr4r��item_end_tag_bytesr9�
local_ReadTag�message_tag_bytes�type_id_tag_bytess              �����r�
DecodeItemz)MessageSetItemDecoder.<locals>.DecodeItem�s����!���G��M��K�7�&��v�s�3�3��y�#�	�'�	'�	'�+�+�F�C�8�8���#�#��)�)�)� 2� 2�6�3� ?� ?���}�)�D�0�0��k�k��*�*�*�
����S�)�4�4���"�9�9��5�6�6�
6�7��S�y�y��-�.�.�.��"�}�}��;�<�<�<������;�<�<�<��"�9�9�'�B�B�I����n�n�Y�'�'�e�	�� �-���|�%6�7�7�	8�
�
)�
)�,�
7�
7�
7��%�%��|�3�3�5�5�7�7��	�	�	�f�m�K�	@�	@�K�	O�	O��6�7�7�7�
P�
�
$�%�"$���
��$�$���(>�s�(B�!C�!K�!K�!M�!M�
N�P�P�P�	�	#�	+�%/�%?�%A�%A��"�
� �%�%�
�
�
/�
��{�*�
+�
3�
3�
5�
5�7�7�7��Jr)	rrGrr{r�r�r'rFr�)�
descriptor�local_SkipFieldr�r�r9r�r�r�s   @@@@@r�MessageSetItemDecoderr��s���������&�q�+�*E�F�F���&�q�+�*O�P�P���'��;�+I�J�J���-�$���/�E�E�E�E�E�E�E�E�E�N
�rc������tjdtj���tjdtj���tjdtj������fd�}|S)z0Returns a decoder for a Unknown MessageSet item.rdrbr
c����d}t|��}d}d}	t||��\}}|�
krt||��\}}nO|�	krt||��\}}||zx}}n.|�krn(t||||��}|dkrt	d����}||krt	d���|dkrt	d���|dkrt	d���||||����fS)Nrr,r
r�r+r�r�)rHr'rFr�rr$)rrr2r�r�r&r�r�r�r�r�s        ���r�DecodeUnknownItemz7UnknownMessageSetItemDecoder.<locals>.DecodeUnknownItemIs4���
�C�

�f�+�+�C��M��K�7� ���-�-��y�#�	�'�	'�	'�&�v�s�3�3���#�#��)�)�)� -�f�c� :� :���}�)�D�0�0��k�k��*�*�*�
����S�)�4�4���"�9�9��5�6�6�
6�7��S�y�y��-�.�.�.��"�}�}��;�<�<�<������;�<�<�<��V�M�+�5�6�>�>�@�@�A�Ar)rrGrr{r�r�)r�r�r�r�s @@@r�UnknownMessageSetItemDecoderr�Bs{������&�q�+�*E�F�F���&�q�+�*O�P�P���'��;�+I�J�J��B�B�B�B�B�B�B�:
�rc���������|�tj|jtj���t����t�|j��������fd�}|S)z"Returns a decoder for a map field.c�������}|��
��}|�|��
�
|����}	�||��\}}||z}||krtd���|���|�|||��|krtd����	r&||j�|j��n|j||j<|�z}|||��ks||kr|S��r�)	r�r/r0r�Clearr�r8�CopyFromr4)rrr2rr3�submsgr4r�r=�is_message_mapr8r9r�r:r&r>s         �������r�	DecodeMapzMapDecoder.<locals>.DecodeMapus(���
�
)�
)�
+�
+�F��N�N�3���E��}��#�#�C���W�)=�)=�>�>�e��&�&�v�s�3�3�k�t�S��d�
�g�	�3����/�0�0�0��l�l�n�n�n�	�	�	�v�s�G�	4�	4��	?�	?��6�7�7�7�	�)�
�f�j��"�"�6�<�0�0�0�0�"�L��f�j��
�g��c�	����	�	�	)�	)�W��^�^���-r)rrG�numberrr�rHrFr�)	�field_descriptorr:r�r�r8r9r�r&r>s	 `` @@@@@r�
MapDecoderr�js����������	�#���/�6�*�D�F�F�)��	�N�N�'�$��!�.�,������������:
�rc��t|||dz������dzr4|dz
}t|||dz������dz�4|dz
}||krtd���|S)z/Skip a varint value.  Returns the new position.r
rr+)�ordr$r�rrr2s   r�_SkipVarintr��s���
	�F�3�s�1�u�9��%�%�'�'�(�(�4�/�
��1�H�C�	�F�3�s�1�u�9��%�%�'�'�(�(�4�/�
���(�#��3�Y�Y�
�+�
,�
,�,�	�*rc�:�|dz
}||krtd���|S)z0Skip a fixed64 value.  Returns the new position.rpr+rr�s   r�_SkipFixed64r���*����(�#��3�Y�Y�
�+�
,�
,�,�	�*rc�V�|dz}tjd|||���d|fS)zDecode a fixed64.rpr�r�r[r]�rrr=s   r�_DecodeFixed64r��s0���!�G�'�
�-��f�S��[�1�
2�
2�1�
5�w�	?�?rc�`�t||��\}}||z
}||krtd���|S)z9Skip a length-delimited value.  Returns the new position.r+)rFr)rrr2r�s    r�_SkipLengthDelimitedr��s=���f�c�*�*�+�4����+�#��3�Y�Y�
�+�
,�
,�,�	�*rc�d�	t||��\}}t||||��}|dkr|S|}�0)z*Skip sub-group.  Returns the new position.r
r,)r'r�)rrr2r&r=s     r�
_SkipGroupr��sF����v�s�+�+��Y�����S�)�4�4�G��"�}�}�
�j�
�C�rc�B�tj��}|�||kr�t||��\}}t|d��\}}t	j|��\}}|tjkrn3t|||��\}	}|�|||	��|�{||k��||fS)zFDecode UnknownFieldSet.  Returns the UnknownFieldSet and new position.Nr)	rr}r'rFr�	UnpackTagr��_DecodeUnknownFieldr~)
rr�end_pos�unknown_field_setr&�tag�_rIrL�datas
          r�_DecodeUnknownFieldSetr��s���!�0�2�2����3��=�=��v�s�+�+��Y���Y��*�*�H�S�!�)�3�C�8�8��L�)��K�2�2�2��%�f�c�9�=�=�K�T�3����<��D�9�9�9�	��3��=�=��S�	!�!rc��|tjkrt||��\}}n�|tjkrt	||��\}}n�|tjkrt
||��\}}n�|tjkr8t||��\}}||||z����}||z
}nE|tj	krt||��\}}n!|tjkrdStd���||fS)zCDecode a unknown field.  Returns the UnknownField and new position.)rr,zWrong wire type in tag.)
rr{rFrtr�rk�_DecodeFixed32r�r$r�r�r�r)rrrLr�r�s     rr�r��s���+�-�-�-����,�,�K�T�3�3��K�0�0�0� ���-�-�K�T�3�3��K�0�0�0� ���-�-�K�T�3�3��K�9�9�9����,�,�K�T�3��#�c�$�h�,��'�'�)�)�D��4�K�C�C��K�4�4�4�(���5�5�K�T�3�3��K�2�2�2��7�
�0�
1�
1�1�
���rc��dS)zFSkipping an END_GROUP tag returns -1 to tell the parent loop to break.r,rr�s   r�	_EndGroupr��s	��
�rc�:�|dz
}||krtd���|S)z0Skip a fixed32 value.  Returns the new position.rar+rr�s   r�_SkipFixed32r��r�rc�V�|dz}tjd|||���d|fS)zDecode a fixed32.rar�rr�r�s   rr�r��s2��
�!�G�'�
�-��f�S��[�1�
2�
2�1�
5�w�	?�?rc� �td���)z;Skip function for unknown wire types.  Raises an exception.zTag had invalid wire type.rr�s   r�_RaiseInvalidWireTyper�s��	�1�2�2�2rc����tttttt
ttg�tj���fd�}|S)z"Constructs the SkipField function.c�^��t|dd����z}�||||��S)aSkips a field with the specified tag.

    |pos| should point to the byte immediately after the tag.

    Returns:
        The new position (after the tag value), or -1 if the tag is an end-group
        tag (in which case the calling loop should break).
    rr
)r�)rrr2r&rL�WIRETYPE_TO_SKIPPER�
wiretype_masks     ��rr�z _FieldSkipper.<locals>.SkipFields9����I�a��c�N�#�#�m�3�I�)��y�)�&�#�s�;�;�;r)	r�r�r�r�r�r�r�r�
TAG_TYPE_MASK)r�r�r�s @@r�
_FieldSkipperrsV������������	���+�-�<�<�<�<�<�<�
�rrNrR)C�__doc__�
__author__rgr[�google.protobuf.internalrrr�google.protobufr�DecodeErrorrrr!�intrF�_DecodeSignedVarint�_DecodeVarint32rxr'rOrUr^rmrur�r{�Int32Decoder�Int64Decoder�
UInt32Decoder�
UInt64Decoder�ZigZagDecode�
SInt32Decoder�
SInt64Decoderrk�Fixed32Decoderrt�Fixed64Decoder�SFixed32Decoder�SFixed64Decoder�FloatDecoder�
DoubleDecoder�bool�BoolDecoderr�r�r�r�rGr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rr�rrr�<module>rs��>0�0�d0�
�����
�
�
�
�/�/�/�/�/�/�,�,�,�,�,�,�0�0�0�0�0�0�#�#�#�#�#�#�
�"�����6���0��}�c�2�2�
�*�*�2�s�3�3��!�.���4�4��,�,�R��5�5�����:<�<�<�~0�0�0�0�0�0�2*C�*C�*C�Z%C�%C�%C�R"'�H�H�H�H�\�~���!6�8�8���~���!4�6�6����{�:�O�L�L�
���{�:�M�J�J�
� � ����+�2J�L�L�
� � �����0H�J�J�
�%�$�[�%A�4�H�H��$�$�[�%A�4�H�H��$�$�[�%A�4�H�H��$�$�[�%A�4�H�H���}������ � �
�������6�6��
$)�2�2�2�2�l#(�&�&�&�&�R,�,�,�^/�/�/�h(�w�'��;�+K�L�L��]�]�]�@$�$�$�P(�(�(�\

�

�

�
�
�
�@�@�@�
�
�
����"�"�"�"�"���.���
�
�
�@�@�@�3�3�3�
���@
�M�O�O�	�	�	r

Hacked By AnonymousFox1.0, Coded By AnonymousFox