/opt/imunify360/venv/lib/python3.11/site-packages/simplejson/__pycache__
Edit: /opt/imunify360/venv/lib/python3.11/site-packages/simplejson/__pycache__/decoder.cpython-311.pyc (17479B)
§
žW:ϾñPÓã ó — d Z ddlmZ ddlZddlZddlmZmZ ddlm Z m
Z
d„ Z e¦ « ZdgZ
ej ej z ej z Zd „ Z e¦ « \ ZZZeeed
œZ ej de¦ « Zdd
dddddddœZdZ eed¦ « reZnd#d„Z ej d¦ « j fd„Zddeej dj eej! efd„Z"epe"Z# ej de¦ « Z$dZ%de$j e%fd „Z&de$j e%fd!„Z' G d"„ de(¦ « Z)dS )$zImplementation of JSONDecoder
é )Úabsolute_importNé )ÚPY3Úunichr)Úmake_scannerÚJSONDecodeErrorc ó6 — ddl m} | S # t $ r Y d S w xY w)Nr ©Ú
scanstring)Ú _speedupsr ÚImportErrorr
s út/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib64/python3.11/site-packages/simplejson/decoder.pyÚ_import_c_scanstringr
sA € ðØ)Ð)Ð)Ð)Ð)Ð)ØÐøÝð ð ð Øˆtˆtðøøøs ‚
Š
—ÚJSONDecoderc óZ — t d¦ « t d¦ « t d¦ « fS )NÚnanÚinfz-inf)Úfloat© ó r Ú_floatconstantsr s! € Ý�‰<Œ<�˜u™œ¥u¨V¡}¤}Ð4Ð4r )z -InfinityÚInfinityÚNaNz(.*?)(["\\\x00-\x1f])ú"ú\ú/úúú
ú
ú )r r r ÚbÚfÚnÚrÚtzutf-8Úget_int_max_str_digitséÌ c óŒ — t | ¦ « |k r#t d|›dt | ¦ « ›d�¦ « ‚t | ¦ « S )z�Backport of the integer string length conversion limitation
https://docs.python.org/3/library/stdtypes.html#int-max-str-digits
zExceeds the limit (z+) for integer string conversion: value has z digits)ÚlenÚ
ValueErrorÚint)ÚsÚINT_MAX_STR_DIGITSs r Úbounded_intr/ . sq € õ
ˆq‰6Œ6Ð&Ò&Ð&Ý�*Ðl~Ðl~Ðl~õ ADð EFñ AGô AGð AGð AGð Hñ Iô Ið
IÝ�1‰vŒvˆ
r z^[0-9a-fA-F]{4}$c óÎ — d}| ||dz … } ||¦ « st || |dz
¦ « ‚ t |d¦ « |dz fS # t $ r t || |dz
¦ « ‚w xY w)z5Scan a four digit hex number from s[end:end + 4]
zInvalid \uXXXX escape sequenceé é é )r r, r+ )r- ÚendÚ_mÚmsgÚescs r Úscan_four_digit_hexr8 8 s� € ð ,€CØ
ˆC��a‘ˆKŒ.€CØ
ˆ2ˆc‰7Œ7ð /ݘc 1 c¨A¡gÑ.Ô.Ð.ð/Ý�3˜‰|Œ|˜S 1™WÐ$Ð$øÝð /ð /ð /ݘc 1 c¨A¡gÑ.Ô.Ð.ð/øøøs °A ÁA$TÚ c
ób — |€t }g }
|
j }|dz
} || |¦ « }
|
€t d| |¦ « ‚|}|
¦ « }|
¦ « \ }}|r2|s%t |t ¦ « st
||¦ « } ||¦ « |dk r�n|dk r!|rd}t || |¦ « ‚ ||¦ « Œ° | | }n# t $ r t d| |¦ « ‚w xY w|dk r1 || }n!# t $ r d}t || |¦ « ‚w xY w|dz
}no | | |dz ¦ « \ }}|d k rH|d
z dk r?| ||dz … d
k r. | | |dz ¦ « \ }}|d
z dk rd|dz
dz |dz
z z }|}t |¦ « } ||¦ « �Œ‹ ||
¦ « |fS )a® Scan the string s for a JSON string. End is the index of the
character in s after the quote that started the JSON string.
Unescapes all valid JSON string escape sequences and raises ValueError
on attempt to decode an invalid string. If strict is False then literal
control characters are allowed in the string.
Returns a tuple of the decoded string and the index of the character in s
after the end quote.Nr zUnterminated string starting atr r zInvalid control character %r atÚuzInvalid \X escape sequence %riÿÿ i ü i Ø r2 z\ui Ü i é
)
ÚDEFAULT_ENCODINGÚappendr r4 ÚgroupsÚ
isinstanceÚunicodeÚ
IndexErrorÚKeyErrorr )r- r4 ÚencodingÚstrictÚ_br5 Ú_joinÚ_PY3Ú_maxunicodeÚ_scan_four_digit_hexÚchunksÚ_appendÚbeginÚchunkÚprev_endÚcontentÚ
terminatorr6 r7 ÚcharÚuniÚuni2Úend2s r Ú
py_scanstringrV D sw € ð ÐÝ#ˆØ
€FØŒm€GØ�!‰G€Eð5Ø��1�c‘
”
ˆØˆ=Ý!Ø1°1°eñ=ô =ð
=àˆØ�iŠi‰kŒkˆØ#Ÿlšl™nœnш�àð Øð
5¥
¨7µGÑ <Ô <ð
5Ý! '¨8Ñ4Ô4�؈G�GÑÔÐð ˜ÒÐÙØ
˜4Ò
Ð
Øð
Ø7�Ý% c¨1¨hÑ7Ô7Ð7à�˜
Ñ#Ô#Ð#Øð =Ø�C”&ˆCˆCøÝð =ð =ð =Ý!Ø1°1°eñ=ô =ð
=ð =øøøð �#Š:ˆ:ð
3ؘ#”w��øÝð
3ð
3ð
3Ø6�Ý% c¨1¨cÑ2Ô2Ð2ð
3øøøð
�1‰HˆCˆCð ,Ð+¨A¨s°Q©wÑ7Ô7‰HˆC�ð ˜eÒ#Ð#Ø�f‘ Ò&Ð&Ø�#�c˜A‘g�+” %Ò'Ð'Ø1Ð1°!°S¸1±WÑ=Ô=‘
��dؘ&‘= FÒ*Ð*Ø! s¨V¡|¸Ñ&:Ø)-°©ñ&8ñ 9�Cà�Cݘ#‘;”;ˆDàˆ�‰
Œ
ˆ
ñk5ðl ˆ5�‰=Œ=˜#ÐÐs à C ÃC.Ã8D ÄDz
[ \t\n\r]*z
c ó€ — | \ } }
|€i }|j }g }| |
|
dz … }
|
dk rv|
|v r+ || |
¦ « ¦ « }
| |
|
dz … }
|
dk r*|� ||¦ « }||
dz fS i }|� ||¦ « }||
dz fS |
dk rt d| |
¦ « ‚|
dz
}
t | |
||¦ « \ }}
|||¦ « }| |
|
dz … dk r@ || |
¦ « ¦ « }
| |
|
dz … dk rt d| |
¦ « ‚|
dz
}
| |
|v r0|
dz
}
| |
|v r! || |
dz ¦ « ¦ « }
n# t $ r Y nw xY w || |
¦ « \ }}
| ||f¦ « | |
}
|
|v r) || |
dz ¦ « ¦ « }
| |
}
n# t $ r d}
Y nw xY w|
dz
}
|
dk rn¯|
d k rt d
| |
dz
¦ « ‚ | |
}
|
|v r:|
dz
}
| |
}
|
|v r) || |
dz ¦ « ¦ « }
| |
}
n# t $ r d}
Y nw xY w|
dz
}
|
dk r.|
dk rt d| |
dz
¦ « ‚t d| |
dz
¦ « ‚�Œí|� ||¦ « }||
fS t
|¦ « }|� ||¦ « }||
fS )
Nr r Ú}z8Expecting property name enclosed in double quotes or '}'Tú:zExpecting ':' delimiterr9 ú,zExpecting ',' delimiter or '}'z+Illegal trailing comma before end of objectz1Expecting property name enclosed in double quotes)Ú
setdefaultr4 r r rB r> Údict)ÚstaterD rE Ú scan_onceÚobject_hookÚobject_pairs_hookÚmemoÚ_wÚ_wsr- r4 Úmemo_getÚpairsÚnextcharÚresultÚkeyÚvalues r Ú
JSONObjectrj ” sâ € ð �H€Qˆà€|؈،€HØ€Eð ��S˜1‘W�Œ~€Hà�3‚€Ø�sˆ?ˆ?Ø�"�Q˜‘*”*—.’.Ñ"Ô"ˆCؘ˜S 1™W˜”~ˆHà�sŠ?ˆ?Ø Ð,Ø*Ð*¨5Ñ1Ô1�ؘs Q™w�Ð&؈EØÐ&Ø#˜ EÑ*Ô*�ؘ# ™'�>Ð!Ø
˜Š_ˆ_Ý!ØJØ�3ñô ð
ð ˆ1�H€Cð9ݘa h°Ñ7Ô7‰ˆˆS؈h�s˜CÑ Ô ˆð
ˆS��q‘ˆ[Œ>˜SÒ Ð Ø�"�Q˜‘*”*—.’.Ñ"Ô"ˆCØ��S˜1‘W�Œ~ Ò$Ð$Ý%Ð&?ÀÀCÑHÔHÐHàˆq‰ˆð Ø�Œv˜ˆ}ˆ}Ø�q‘�Ø�S”6˜S�=�=ؘ"˜Q a¡™.œ.×,Ò,Ñ.Ô.�CøøÝð ð ð ØˆDð øøøð �Y˜q #Ñ&Ô&‰
ˆˆsØ
�Š�c˜5�\Ñ"Ô"Ð"ð Ø˜”vˆHؘ3ˆˆØ�b˜˜C !™G‘n”n×(Ò(Ñ*Ô*�ؘSœ6�øøÝð ð ð ØˆHˆHˆHð øøøàˆq‰ˆà�sŠ?ˆ?ØØ
˜Š_ˆ_Ý!Ð"BÀAÀsÈQÁwÑOÔOÐOð Ø˜”vˆHؘ3ˆˆØ�q‘�ؘSœ6�ؘs�?�?ؘ"˜Q a¡™.œ.×,Ò,Ñ.Ô.�CØ œv�HøøÝð ð ð ØˆHˆHˆHð øøøð ˆq‰ˆØ�sŠ?ˆ?ؘ3ŠˆÝ%ØAØ�s˜Q‘wñ ô ð õ "ØCØ�3˜‘7ñô ð
ño9ðv Ð$Ø"Ð" 5Ñ)Ô)ˆØ�sˆ{ÐÝ�‰KŒK€EØÐØ�˜EÑ"Ô"ˆØ�#ˆ:Ðs7 Ä:E Å
E"Å!E"Æ5G ÇGÇGÇ;AI ÉIÉIc ó — | \ }}g }|||dz … }||v r. |||dz ¦ « ¦ « }|||dz … }|dk r|� ||¦ « }||dz fS |dk rt d||¦ « ‚|j } |||¦ « \ }
} | |
¦ « |||dz … }||v r. |||dz ¦ « ¦ « }|||dz … }|dz
}|dk rnŒ|dk rt d||dz
¦ « ‚ || |v r0|dz
}|| |v r! |||dz ¦ « ¦ « }n# t $ r Y nw xY w|||dz … dk rt d||dz
¦ « ‚Œñ|� ||¦ « }||fS ) Nr ú]r9 zExpecting value or ']'TrZ zExpecting ',' delimiter or ']'z*Illegal trailing comma before end of array)r4 r r> rB )r] r^ Ú
array_hookrb rc r- r4 Úvaluesrf rL ri s r Ú JSONArrayro ö s € à�H€QˆØ
€FØ��S˜1‘W�Œ~€HØ�3€€Øˆb��C˜!‘G‰nŒn× Ò Ñ"Ô"ˆØ�S˜˜q™�[”>ˆà�3‚€ØÐ!Ø�Z Ñ'Ô'ˆFØ�s˜Q‘wˆÐØ �RŠˆÝÐ6¸¸3Ñ?Ô?Ð?ØŒm€GðØ�Y˜q #Ñ&Ô&‰
ˆˆs؈�‰ŒˆØ�S˜˜q™�[”>ˆØ�sˆ?ˆ?Ø�"�Q˜˜a™‘.”.×$Ò$Ñ&Ô&ˆCؘ˜S 1™W˜”~ˆH؈q‰ˆØ�sŠ?ˆ?ØØ
˜Š_ˆ_Ý!Ð"BÀAÀsÈQÁwÑOÔOÐOð Ø�Œv˜ˆ}ˆ}Ø�q‘�Ø�S”6˜S�=�=ؘ"˜Q a¡™.œ.×,Ò,Ñ.Ô.�CøøÝð ð ð ØˆDð øøøð
ˆS��q‘ˆ[Œ>˜SÒ Ð Ý!Ø<Ø�3˜‘7ñô ð
ð-ð4 ÐØ�˜FÑ#Ô#ˆØ�3ˆ;Ðs Ä :D; Ä;
EÅEc óP — e Zd ZdZ d d„Zej efd„Zdej efd„Z dS )
r a3 Simple JSON
decoder
Performs the following translations in decoding by default:
+---------------+-------------------+
| JSON | Python |
+===============+===================+
| object | dict |
+---------------+-------------------+
| array | list |
+---------------+-------------------+
| string | str, unicode |
+---------------+-------------------+
| number (int) | int, long |
+---------------+-------------------+
| number (real) | float |
+---------------+-------------------+
| true | True |
+---------------+-------------------+
| false | False |
+---------------+-------------------+
| null | None |
+---------------+-------------------+
When allow_nan=True, it also understands
``NaN``, ``Infinity``, and ``-Infinity`` as
their corresponding ``float`` values, which is outside the JSON spec.
NTFc
óB — |€t }|| _ || _ || _ |pt | _ |pt | _ |p|rt j pd| _
|| _ | | _ t | _ t | _ t" | _ i | _ t) | ¦ « | _ dS )a¾
*encoding* determines the encoding used to interpret any
:class:`str` objects decoded by this instance (``'utf-8'`` by
default). It has no effect when decoding :class:`unicode` objects.
Note that currently only encodings that are a superset of ASCII work,
strings of other encodings should be passed in as :class:`unicode`.
*object_hook*, if specified, will be called with the result of every
JSON object decoded and its return value will be used in place of the
given :class:`dict`. This can be used to provide custom
deserializations (e.g. to support JSON-RPC class hinting).
*object_pairs_hook* is an optional function that will be called with
the result of any object literal decode with an ordered list of pairs.
The return value of *object_pairs_hook* will be used instead of the
:class:`dict`. This feature can be used to implement custom decoders
that rely on the order that the key and value pairs are decoded (for
example, :func:`collections.OrderedDict` will remember the order of
insertion). If *object_hook* is also defined, the *object_pairs_hook*
takes priority.
*parse_float*, if specified, will be called with the string of every
JSON float to be decoded. By default, this is equivalent to
``float(num_str)``. This can be used to use another datatype or parser
for JSON floats (e.g. :class:`decimal.Decimal`).
*parse_int*, if specified, will be called with the string of every
JSON int to be decoded. By default, this is equivalent to
``int(num_str)``. This can be used to use another datatype or parser
for JSON integers (e.g. :class:`float`).
*allow_nan*, if True (default false), will allow the parser to
accept the non-standard floats ``NaN``, ``Infinity``, and ``-Infinity``.
*parse_constant*, if specified, will be
called with one of the following strings: ``'-Infinity'``,
``'Infinity'``, ``'NaN'``. It is not recommended to use this feature,
as it is rare to parse non-compliant JSON containing these values.
*strict* controls the parser's behavior when it encounters an
invalid control character in a string. The default setting of
``True`` means that unescaped control characters are parse errors, if
``False`` then control characters will be allowed in strings.
N)r= rD r_ r` r Úparse_floatr/ Ú parse_intÚ
_CONSTANTSÚ__getitem__Úparse_constantrE rm rj Úparse_objectro Úparse_arrayr Úparse_stringra r r^ )
ÚselfrD r_ rr rs rv rE r` Ú allow_nanrm s
r Ú__init__zJSONDecoder.__init__C s› € ðd ÐÝ'ˆHØ ˆŒ
Ø&ˆÔØ!2ˆÔØ&Ð/%ˆÔØ"Ð1¥kˆŒØ,Ð^°Ð1U½zÔ?UÐ1]ÐY]ˆÔ؈ŒØ$ˆŒÝ&ˆÔÝ$ˆÔÝ&ˆÔ؈Œ Ý% dÑ+Ô+ˆŒˆˆr c ó. — |r*t |t ¦ « rt || j ¦ « }| |¦ « \ }} |||¦ « ¦ « }|t
|¦ « k rt d||t
|¦ « ¦ « ‚|S )zzReturn the Python representation of ``s`` (a ``str`` or ``unicode``
instance containing a JSON document)
z
Extra data)r@ ÚbytesÚstrrD Ú
raw_decoder4 r* r )rz r- rb rH Úobjr4 s r ÚdecodezJSONDecoder.decode… sŠ € ð
ð &•J˜q¥%Ñ(Ô(ð &Ý�A�t”}Ñ%Ô%ˆAØ—?’? 1Ñ%Ô%‰ˆˆS؈b��C‰jŒj�nŠnÑԈؕ#�a‘&”&Š=ˆ=Ý! ,°°3½¸A¹¼Ñ?Ô?Ð?؈
r r c ó‚ — |dk rt d||¦ « ‚|r$t |t ¦ « st d¦ « ‚t |¦ « |k r=t || ¦ « }|dk r|dz
}n|dk r|||dz … dk r|dz
}| | |||¦ « ¦ « ¬ ¦ « S )
aº Decode a JSON document from ``s`` (a ``str`` or ``unicode``
beginning with a JSON document) and return a 2-tuple of the Python
representation and the index in ``s`` where the document ended.
Optionally, ``idx`` can be used to specify an offset in ``s`` where
the JSON document begins.
This can be used to decode a JSON document from a string that may
have extraneous data at the end.
r zExpecting valuez$Input string must be text, not bytesiÿþ r éï é u )Úidx)r r@ r Ú TypeErrorr* Úordr^ r4 )rz r- r† rb rH Úord0s r r€ zJSONDecoder.raw_decode’ sÐ € ð �Š7ˆ7õ "Ð"3°Q¸Ñ<Ô<Ð<Øð D�
1¥cÑ*Ô*ð DÝÐBÑCÔCÐCåˆq‰6Œ6�CŠ<ˆ<Ý�q˜”v‘;”;ˆDØ�vŠ~ˆ~Ø�q‘��ؘ’� ! C¨¨a© K¤.°NÒ"BÐ"BØ�q‘�Ø�~Š~˜a R R¨¨3¡Z¤Z§^¢^Ñ%5Ô%5ˆ~Ñ6Ô6Ð6r ) NNNNNTNFN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r| Ú
WHITESPACEÚmatchr r‚ r€ r r r r r $ s… € € € € € ðð ð<