Ë ‚Ö¦i1 ã ó„ — d Z ddlZddlZej Z G d„ dej « Z G d„ dej « Zy)z7Internal classes used by the gzip, lzma and bz2 modulesé Nc ó( — e Zd ZdZd„ Zd„ Zd„ Zd„ Zy)Ú BaseStreamzMode-checking helper functions.c ó2 — | j rt d« ‚y )NzI/O operation on closed file)ÚclosedÚ ValueError©Úselfs ú%/usr/lib64/python3.12/_compression.pyÚ_check_not_closedzBaseStream._check_not_closed s € Ø�;Š;ÜÐ;Ó<Ð<ð ó c óN — | j « st j d« ‚y )NzFile not open for reading)ÚreadableÚioÚUnsupportedOperationr s r Ú_check_can_readzBaseStream._check_can_read ó" € Ø�}‰}ŒÜ×)Ñ)Ð*EÓFÐFð r c óN — | j « st j d« ‚y )NzFile not open for writing)Úwritabler r r s r Ú_check_can_writezBaseStream._check_can_write r r c ó˜ — | j « st j d« ‚| j « st j d« ‚y )Nz3Seeking is only supported on files open for readingz3The underlying file object does not support seeking)r r r Úseekabler s r Ú_check_can_seekzBaseStream._check_can_seek sO € Ø�}‰}ŒÜ×)Ñ)ð +Fó Gð Gà�}‰}ŒÜ×)Ñ)ð +Eó Fð Fð r N)Ú__name__Ú __module__Ú__qualname__Ú__doc__r r r r © r r r r s „ Ù)ò=òGòGóFr r c ót ‡ — e Zd ZdZd„ Zdd„Zˆ fd„Zd„ Zd„ Zd d„Z d„ Z d „ Zej fd „Zd„ Zˆ xZS )ÚDecompressReaderz5Adapts the decompressor API to a RawIOBase reader APIc ó — y)NTr r s r r zDecompressReader.readable$ s € Ør c ó¨ — || _ d| _ d| _ d| _ || _ || _ | j di | j ¤Ž| _ || _ y )NFr éÿÿÿÿr )Ú_fpÚ_eofÚ_posÚ_sizeÚ_decomp_factoryÚ_decomp_argsÚ _decompressorÚ_trailing_error)r ÚfpÚdecomp_factoryÚtrailing_errorÚdecomp_argss r Ú__init__zDecompressReader.__init__' sZ € ؈ŒØˆŒ ؈Œ 𠈌 ð .ˆÔØ'ˆÔØ1˜T×1Ñ1ÑF°D×4EÑ4EÑFˆÔð .ˆÕr c ó. •— d | _ t ‰| � « S ©N)r) ÚsuperÚclose)r Ú __class__s €r r3 zDecompressReader.close; s ø€ Ø!ˆÔ܉w‰}‹Ðr c ó6 — | j j « S r1 )r# r r s r r zDecompressReader.seekable? s € Ø�x‰x× Ñ Ó"Ð"r c ó — t |« 5 }|j d« 5 }| j t |« « }||d t |« d d d « d d d « t « S # 1 sw Y ŒxY w# 1 sw Y t « S xY w)NÚB)Ú memoryviewÚcastÚreadÚlen)r ÚbÚviewÚ byte_viewÚdatas r ÚreadintozDecompressReader.readintoB sc € Ü ˜Œ]˜d D§I¡I¨c¤N°iØ—9‘9œS ›^Ó,ˆDØ$(ˆI�j”s˜4“yÐ!÷ %3�]ô �4‹yÐ÷ %3 Nú�]ô �4‹yÐús" ŒA.ž)A"ÁA.Á"A+ Á'A.Á.Bc óÖ — |dk r| j « S |r| j ryd } | j j ry| j j xs | j j t « }|sn£ | j di | j ¤Ž| _ | j j ||« }n`| j j r,| j j t « }|s t d« ‚d}| j j ||« }|rnŒó|sd| _ | j | _ y| xj t! |« z c_ |S # | j $ r Y ŒLw xY w)Nr r TzACompressed file ended before the end-of-stream marker was reachedr )Úreadallr$ r) ÚeofÚunused_datar# r: ÚBUFFER_SIZEr' r( Ú decompressr* Úneeds_inputÚEOFErrorr% r&