python (3.11.7)

(root)/
lib/
python3.11/
json/
__pycache__/
decoder.cpython-311.pyc

e0	dZddlZddlmZ	ddlmZn
#e$rdZYnwxYwddgZej	ej
zejzZe
dZe
dZe
d	ZGd
deZeeedZejdeZd
ddddddddZdZdeejfdZepeZejdeZdZdejefdZejefdZGddeZdS)zImplementation of JSONDecoder
N)scanner)
scanstringJSONDecoderJSONDecodeErrornaninfz-infceZdZdZdZdZdS)ra Subclass of ValueError with the following additional properties:

    msg: The unformatted error message
    doc: The JSON document being parsed
    pos: The start index of doc where parsing failed
    lineno: The line corresponding to pos
    colno: The column corresponding to pos

    c|dd|dz}||dd|z
}d||||fz}t||||_||_||_||_||_dS)N
rz%s: line %d column %d (char %d))	countrfind
ValueError__init__msgdocposlinenocolno)selfrrrrrerrmsgs       @/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/json/decoder.pyrzJSONDecodeError.__init__s4C((1,ciia---2c65#5NND&)))


c8|j|j|j|jffS)N)	__class__rrr)rs r
__reduce__zJSONDecodeError.__reduce__*s~$(DH===rN)__name__
__module____qualname____doc__rrrrrrs<			>>>>>r)z	-InfinityInfinityNaNz(.*?)(["\\\x00-\x1f])"\/r
	)r$r%r&bfnrtc||dz|dz}t|dkr+|ddvr!	t|dS#t$rYnwxYwd}t|||)NrxXzInvalid \uXXXX escape)lenintrr)srescrs    r
_decode_uXXXXr9;s
C!GC!GO
C
3xx1}}Qt++	sB<<			D	
"C
#q#
&
&&s?
AATc~g}|j}|dz
}	|||}|td|||}|\}	}
|	r||	|
dkrn9|
dkr4|r&d|
}t|||||
	||}n #t
$rtd||dwxYw|dkrD	||}
n4#t$r'd|}t|||wxYw|dz
}n~t||}|d	z
}d
|cxkrdkrMnnJ|||dzd
kr9t||dz}d|cxkrdkrnnd|d
z
dz|dz
zz}|dz
}t|}
||
d	||fS)aScan 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.rNzUnterminated string starting atr$r%z"Invalid control character {0!r} atuzInvalid \escape: {0!r}r1iiz\uiii
)
appendrendgroupsformat
IndexErrorKeyErrorr9chrjoin)r7rAstrict_b_mchunks_appendbeginchunkcontent
terminatorrr8charuniuni2s                r
py_scanstringrTEsgFmG!GE+1c

=!"CQNNNiikk#llnn	GG
4


:AA*MM%c1c222
###	6C&CC	6	6	6!"C"#U,,15
6	6#::
3#w
3
3
3/66s;;%c1c222
3
1HCC3''C1HC&&&&&&&&&1Sq[>U+B+B$Qa00T++++V+++++!sV|&:tf}%MNC1HCs88D


W+X776??Cs*B33CC##1Dz
[ \t\n\r]*z 	

c<|\}}	g}
|
j}|i}|j}||	|	dz}
|
dkrv|
|vr+|||	}	||	|	dz}
|
dkr*|||
}||	dzfSi}
|||
}
|
|	dzfS|
dkrtd||	|	dz
}		t	||	|\}}	|||}||	|	dzdkr@|||	}	||	|	dzdkrtd||	|	dz
}		||	|vr0|	dz
}	||	|vr!|||	dz}	n#t
$rYnwxYw	|||	\}}	n)#t$r}td||jdd}~wwxYw|||f	||	}
|
|vr)|||	dz}	||	}
n#t
$rd	}
YnwxYw|	dz
}	|
dkrnf|
d
krtd||	dz
|||	}	||	|	dz}
|	dz
}	|
dkrtd||	dz
|||
}||	fSt|
}
|||
}
|
|	fS)Nrr$}z1Expecting property name enclosed in double quotesT:zExpecting ':' delimiterExpecting valuer?,Expecting ',' delimiter)	r@
setdefaultrArrrD
StopIterationvaluedict)	s_and_endrH	scan_onceobject_hookobject_pairs_hookmemo_w_wsr7rApairspairs_appendmemo_getnextcharresultkeyr]errs                  r
JSONObjectrms
FAsE<L|HS1W~H3s??"Q**..""CS1W~Hs?? ,**511sQw&E&#E**#'>!
__!CQMM
M1HC*Qaf--ShsC  
Sq[>S  "Q**..""CS1W~$$%&?CHHHq	v}}qS6S=="Qa..,,..C			D		M"1c**JE33	M	M	M!"3Q	BBL	Mc5\"""	vH3bC!Gnn((**S6			HHH	qs??
__!";QaHHHbCjjnnSq[>qs??!CQaQQ
QS*QV$""5))s{KKEE""#:s< :E
E('E(,E<<
F"FF"35G))G87G8c|\}}g}|||dz}||vr.|||dz}|||dz}|dkr||dzfS|j}		|||\}	}n)#t$r}
td||
jdd}
~
wwxYw||	|||dz}||vr.|||dz}|||dz}|dz
}|dkrng|dkrtd||dz
	|||vr0|dz
}|||vr!|||dz}n#t
$rYnwxYw||fS)Nr]TrXrYrZ)rAr@r\rr]rD)r_r`rdrer7rAvaluesrirLr]rls           r	JSONArrayrqs
FAs
FS1W~H3bC!Gnn  ""Sq[>3sQwmG	M"1c**JE33	M	M	M!"3Q	BBL	MSq[>s??"Qa..$$&&CS1W~Hqs??
__!";QaHHH	v}}qS6S=="Qa..,,..C			D	).3;s*A--
B7BB:E
EEcDeZdZdZddddddddZejfdZd	dZdS)
raSimple JSON <https://json.org> decoder

    Performs the following translations in decoding by default:

    +---------------+-------------------+
    | JSON          | Python            |
    +===============+===================+
    | object        | dict              |
    +---------------+-------------------+
    | array         | list              |
    +---------------+-------------------+
    | string        | str               |
    +---------------+-------------------+
    | number (int)  | int               |
    +---------------+-------------------+
    | number (real) | float             |
    +---------------+-------------------+
    | true          | True              |
    +---------------+-------------------+
    | false         | False             |
    +---------------+-------------------+
    | null          | None              |
    +---------------+-------------------+

    It also understands ``NaN``, ``Infinity``, and ``-Infinity`` as
    their corresponding ``float`` values, which is outside the JSON spec.

    NT)raparse_float	parse_intparse_constantrHrbc||_|pt|_|pt|_|pt
j|_||_||_	t|_t|_
t|_i|_t#j||_dS)a``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 ``dict``.  This can be used to provide custom
        deserializations (e.g. to support JSON-RPC class hinting).

        ``object_pairs_hook``, if specified will be called with the result of
        every JSON object decoded with an ordered list of pairs.  The return
        value of ``object_pairs_hook`` will be used instead of the ``dict``.
        This feature can be used to implement custom decoders.
        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. 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. float).

        ``parse_constant``, if specified, will be called with one of the
        following strings: -Infinity, Infinity, NaN.
        This can be used to raise an exception if invalid JSON numbers
        are encountered.

        If ``strict`` is false (true is the default), then control
        characters will be allowed inside strings.  Control characters in
        this context are those with character codes in the 0-31 range,
        including ``'\t'`` (tab), ``'\n'``, ``'\r'`` and ``'\0'``.
        N)rafloatrsr6rt
_CONSTANTS__getitem__rurHrbrmparse_objectrqparse_arrayrparse_stringrcrmake_scannerr`)rrarsrtrurHrbs       rrzJSONDecoder.__init__szF'&/%")c,F
0F!2&$&	 -d33rc||||d\}}|||}|t|krtd|||S)zlReturn the Python representation of ``s`` (a ``str`` instance
        containing a JSON document).

        r)idxz
Extra data)
raw_decoderAr5r)rr7rdobjrAs     rdecodezJSONDecoder.decodeLsn
??1""Q((,,..?99SbCjjnn#a&&==!,3777
rrc	|||\}}n)#t$r}td||jdd}~wwxYw||fS)a=Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.

        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.

        rXN)r`r\rr])rr7rrrArls      rrzJSONDecoder.raw_decodeWsd	M~~a--HC	M	M	M!"3Q	BBL	MCxs
A=A)r)	rrrr r
WHITESPACEmatchrrr!rrrrsy:'+4"-4-4-4-4-4`&+				





r) r rejsonr_jsonrc_scanstringImportError__all__VERBOSE	MULTILINEDOTALLFLAGSrwr#PosInfNegInfrrrxcompileSTRINGCHUNK	BACKSLASHr9rrTrWHITESPACE_STRrmrqobjectrr!rr<module>rs				0000000LLL+
,

R\!BI-eEll	u	v>>>>>j>>>6
bj1599	Ds	
Dt$T

	
'''"&*9 9 9 9 z
*]

RZ
u
-
-
Z->OOOOb(2'7^""""Jfffff&fffffs