python (3.12.0)

(root)/
lib/
python3.12/
encodings/
__pycache__/
idna.cpython-312.opt-2.pyc

ˑe%BddlZddlZddlZddlmZej
dZdZdZdZ	dZ
dZGd	d
ejZGddejZGd
dejZGddeej"ZGddeej$ZdZy)N)	ucd_3_2_0u[.。.。]sxn--zxn--cFg}|D]<}tj|r|jtj|>dj	|}tjd|}|D]}tj|stj|stj|stj|sjtj|sUtj|s@tj|s+tj|stj|st!d|z|Dcgc]}tj"|}}t%|r2t%d|Drt!d|dr|dst!d|Scc}w)	NNFKCzInvalid character %rc3FK|]}tj|yw)N)
stringprepin_table_d2).0xs  B/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/encodings/idna.py	<genexpr>znameprep.<locals>.<genexpr>1s8Qz%%a(8s!zViolation of BIDI requirement 2rzViolation of BIDI requirement 3)rin_table_b1appendmap_table_b2joinunicodedata	normalizein_table_c12in_table_c22in_table_c3in_table_c4in_table_c5in_table_c6in_table_c7in_table_c8in_table_c9UnicodeErrorin_table_d1any)labelnewlabelcrRandALs     rnameprepr%sjH
4!!!$
//23	4

GGHE
!!&%0E
;""1%""1%!!!$!!!$!!!$!!!$!!!$!!!$!!!$59::
;27
7Aj$$Q'
7F
7
6{8%88@AA
ayr
@AAL#8sFc	|jd}dt|cxkrdkr|Stdtd#t$rYnwxYwt|}	|jd}dt|cxkrdkr|Stdtd#t$rYnwxYw|j	t
rtd|jd}t|z}dt|cxkrdkr|Stdtd)Nasciir@label empty or too longzLabel starts with ACE prefixpunycode)encodelenrr%
startswithsace_prefix
ace_prefix)r!s rToASCIIr0<s/
6W%
s5zBL455l455


UOE6W%

s5zBL455l455



$9::
LL$E
E	3u:
0
11,0
11s#A	AAB	B%$B%ct|dkDrtdt|trd}n	|j	d}d}|st|}	|j	d}|j
tst|dS|ttd}|jd}t|}t|djt|dk7r
td|||S#t$rd}YwxYw#t$rtdwxYw)	Nizlabel way too longTr'FzInvalid character in IDN labelr*zIDNA does not round-trip)r,r
isinstancebytesr+r%r-r/strdecoder0lower)r!
pure_asciilabel1resultlabel2s     r	ToUnicoder;gs
5zD/00%
	LL)EJ	ALL)EJ'5'""3z?#
$F]]:
&FV_F5'  "c&'&::5ufEEM;	J		A?@@	AsC%C6%C32C36DceZdZddZddZy)CodeccD|dk7rtd|z|sy	|jd}|jd}|ddD]-}dt|cxkrdkrtd	td	t|ddk\rtd
|t|fS#t$rYnwxYwt}tj|}|r|dsd}|d=nd}|D]/}|r|jd|jt|1t||zt|fS)Nstrictunsupported error handling rr'.rrr(r)zlabel too longrB)
rr+splitr,UnicodeEncodeError	bytearraydotsextendr0r3)selfinputerrorsr9labelsr!trailing_dots       rr+zCodec.encodesDX<VCDD	&\\'*F
\\$'F
BCJ++&'@AA,&'@AA
B6":"$"#3443u:%%"		E"&*Lr
L	*E

d#MM'%.)		*
VL()3u:55sB	B$#B$c|dk7rtd|z|syt|tst|}t|vr	|j	dt|fS|jd}|rt|ddk(rd}|d=nd	}g}|D]}|jt|dj||zt|fS#t$rYywxYw)
Nr?Unsupported error handling rrr'rCrr.r)rr2r3r/r5r,UnicodeDecodeErrorrDrr;r)rIrJrKrLrMr9r!s       rr5zCodec.decodesX<VCDD%'%LEU"
||G,c%j88T"c&*o*Lr
L	,EMM)E*+	,xx,c%j88&

sC	CCN)r?)__name__
__module____qualname__r+r5rBrr=r=s
#6J 9rBr=ceZdZdZy)IncrementalEncodercn|dk7rtd|z|sytj|}d}|r|dsd}|d=n	|s|d=|rd}t}d}|D]B}|r|j	d|dz
}|j	t||t
|z
}D||z
}|t
|z
}t||fS)	Nr?r@rArBrrCr)rrGrDrFrHr0r,r3	rIrJrKfinalrLrMr9sizer!s	         r_buffer_encodez!IncrementalEncoder._buffer_encodesX<VCDDE"":#2J2J#'L	E

d#	MM'%.)CJD
		,L!!f
t$$rBN)rSrTrUr^rVrBrrXrXs %rBrXceZdZdZy)IncrementalDecoderc|dk7rtd|z|syt|trtj	|}nt|d}|j	d}d}|r|dsd}|d=n	|s|d=|rd}g}d}|D]1}|jt
||r|d	z
}|t|z
}3dj||z}|t|z
}||fS)
Nr?rOrPr'rQrrrrZ)	rr2r4rGrDrr;r,rr[s	         r_buffer_decodez!IncrementalDecoder._buffer_decodesX<VCDDeS!ZZ&Fw'E[[%F":"2J2J#&L	EMM)E*+	CJD		&!L0L!!~rBN)rSrTrUrbrVrBrr`r`s$rBr`ceZdZy)StreamWriterNrSrTrUrVrBrrdrd,rBrdceZdZy)StreamReaderNrerVrBrrhrh/rfrBrhc	tjdtjtjt
tttS)Nidna)namer+r5incrementalencoderincrementaldecoderstreamwriterstreamreader)	codecs	CodecInfor=r+r5rXr`rdrhrVrBrgetregentryrr4s6
w~~w~~--!!rB)rrerprrcompilerGr/r.r%r0r;r=BufferedIncrementalEncoderrXBufferedIncrementalDecoderr`rdrhrrrVrBr<module>rws0rzz./
,\)2V/fF9FLLF9P!%::!%F%::%N	5,,		5,,	
	rB