+
    € ’e Ù ã                   ó  € R t RtRtRt^ RIHt ^ RIt^ RIt^ RI	t	^ RI
t
^ RIt^ RIt^ RIt^ RIt^ RIt ^ RIt ^ RIt]]]3t. ReOtRtRt]^,          tRtRt^dt^dt^›tRt Rt!Rt"Rt#Rt$Rt%Rt&Rt'R t(R!t)R"t*R#t+R$t,R%t-R&t.^ t/^t0^t1]1t2] ]!]"]#]&]'](]$]%])]*]+3t3] ]!](]+3t4])]*]+3t5Rft60 Rgmt7R+]8R,]8R(]8R)]9R*]9R']9/t:]Pv                  R-8X  d   R.t<M]Pz                  ! 4       t<R/ t>R0 t?R1 t@^]23R2 ltAR3 tBR]R3R4 ltCRhtDR5 tER6 tF ! R7 R]G4      tH ! R8 R]H4      tI ! R9 R	]H4      tJ ! R: R
]H4      tK ! R; R]H4      tL ! R< R]H4      tM ! R= R>]M4      tN ! R? R@]M4      tO ! RA RB]M4      tP ! RC RD]M4      tQ ! RE RF]M4      tR ! RG RH4      tS ! RI RJ4      tT ! RK RL]U4      tV ! RM RN]U4      tW ! RO RP]	P°                  4      tY ! RQ R]H4      tZ ! RR R]Z4      t[ ! RS R]Z4      t\ ! RT R]Z4      t] ! RU R]Z4      t^ ! RV R]Z4      t_ ! RW R]Z4      t`]Z]]I3taRiRX ltbRY tcRZ tdR[ teR\]cR]]dR^]e/tf]U! 4       tg]PÐ                  ! R_4      ti ! R` R]U4      tj ! Ra R]U4      tkRb tl]kP
                  tRc tm]nRd8X  d
   ]m! 4        R# R#   ] d    Rt EL?i ; i  ] d    Rt ELJi ; i)jz,Read from and write to tar format archives.
z0.9.0u"   Lars GustÃ¤bel (lars@gustaebel.de)u4   Gustavo Niemeyer, Niels GustÃ¤bel, Richard Townsend.)ÚopenNÚTarFileÚTarInfoÚTarErrorÚ	ReadErrorÚCompressionErrorÚStreamErrorÚExtractErrorÚHeaderErrorÚFilterErrorÚAbsoluteLinkErrorÚOutsideDestinationErrorÚSpecialFileErrorÚAbsolutePathErrorÚLinkOutsideDestinationErrorÚLinkFallbackErroró    i   s   ustar   s   ustar 00ó   0ó   1ó   2ó   3ó   4ó   5ó   6ó   7ó   Ló   Kó   Só   xó   gó   XÚsizeÚmtimeÚuidÚgidÚatimeÚctimeÚntúutf-8c                ó�   € V f   \        R4      hV P                  W#4      p V RV V\        V 4      ,
          \        ,          ,           # )z8Convert a string to a null-terminated bytes object.
    Nzmetadata cannot contain None)Ú
ValueErrorÚencodeÚlenÚNUL)ÚsÚlengthÚencodingÚerrorss   &&&&ÚYC:\Users\johnn\AppData\Local\hermes\tools\python-3.14.9+20261021-win32-x64\Lib\tarfile.pyÚstnr3   �   sA   € ð 	‚yÜÐ7Ó8Ð8Ø	�‰�Ó"€AØˆWˆfˆ:˜¤# a£&�¬CÕ/Õ/Ð/ó    c                ó^   € V P                  R4      pVR8w  d   V RV p V P                  W4      # )z8Convert a null-terminated bytes object to a string.
    r   Néÿÿÿÿ)ÚfindÚdecode)r.   r0   r1   Úps   &&& r2   Úntsr:   ¥   s2   € ð 	
�‰ˆu‹€AØˆB„wØˆbˆqˆEˆØ�8‰8�HÓ%Ð%r4   c                ó¢  € V ^ ,          R9   du   ^ p\        \        V 4      ^,
          4       F"  pV^,          pWV^,           ,          ,          pK$  	  V ^ ,          ^ÿ8X  d"   R\        V 4      ^,
          ,          V,
          ) pV#  \        V RR4      p \        V P	                  4       ;'       g    R^4      pV#   \
         d    \        R4      hi ; i)z/Convert a number field to a python number.
    é   ÚasciiÚstrictÚ0úinvalid header)é€   éÿ   )Úranger,   r:   ÚintÚstripr*   ÚInvalidHeaderError)r.   ÚnÚis   &  r2   ÚntirI   ­   sÃ   € ð
 	ˆ…tˆ~ÔØˆÜ”s˜1“v •zÖ"ˆAØ�!�GˆAØ�1�q•5•�MŠAñ #ð ˆQ�4�5Œ=Øœ#˜a›& 1�*Õ%¨Õ)Ð*ˆAð €Hð	7Ü�A�w Ó)ˆAÜ�A—G‘G“I×$Ð$  aÓ(ˆAð €Høô ô 	7Ü$Ð%5Ó6Ð6ð	7ús   Â(B7 Â-B7 Â7Cc                ó  € T p\        V 4      p ^ T u;8:  d   ^V^,
          ,          8  d-   M M)\        RV^,
          V 3,          R4      \        ,           pV# V\        8X  d�   RV^,
          ,          ) T u;8:  d   RV^,
          ,          8  dq   M MmV ^ 8¼  d   \	        ^€.4      pM\	        ^ÿ.4      pRV,          V ,           p \        V^,
          4       F%  pVP                  ^V ^ÿ,          4       V ^,          p K'  	  V# \        R4      h)z/Convert a python number to a number field.
    z%0*or=   r<   zoverflow in number field)rD   Úbytesr-   Ú
GNU_FORMATÚ	bytearrayrC   Úinsertr*   )rG   ÚdigitsÚformatÚ
original_nr.   rH   s   &&&   r2   ÚitnrR   Á   sè   € ð €JÜˆA‹€AØˆAÖ!��f˜q•jÕ!×!Ü�&˜F Q�J¨˜?Õ*¨GÓ4´sÕ:ˆð €Hð 
”:Ô	 3¨6°A­:Õ#6Ð"6¸!Ö"Q¸cÀfÈqÅjÕ>Q×"QØ�Œ6Ü˜5˜'Ó"‰Aä˜5˜'Ó"ˆAØ�v• Õ!ˆAä�v •zÖ"ˆAØ�H‰H�Q˜˜E�	Ô"Ø�!�GŠAñ #ð €Hô Ð3Ó4Ð4r4   c                ó¤   € R\        \        P                  ! RV 4      4      ,           pR\        \        P                  ! RV 4      4      ,           pW3# )az  Calculate the checksum for a member's header by summing up all
characters except for the chksum field which is treated as if
it was filled with spaces. According to the GNU tar sources,
some tars (Sun and NeXT) calculate chksum with signed char,
which will be different if there are chars in the buffer with
the high bit set. So we calculate two checksums, unsigned and
signed.
r<   Ú
148B8x356BÚ
148b8x356b)ÚsumÚstructÚunpack_from)ÚbufÚunsigned_chksumÚsigned_chksums   &  r2   Úcalc_chksumsr\   ß   sE   € ð œC¤× 2Ò 2°<ÀÓ EÓFÕF€OØœ#œf×0Ò0°¸sÓCÓDÕD€MØÐ)Ð)r4   c                óž  € T;'       g    RpV^ 8X  d   R# Vf   \         P                  ! WV4       R# \        W$4      w  rV\        V4       F=  pV P	                  V4      p\        V4      V8  d	   V! R4      hVP                  V4       K?  	  V^ 8w  d;   V P	                  V4      p\        V4      V8  d	   V! R4      hVP                  V4       R# )z_Copy length bytes from fileobj src to fileobj dst.
If length is None, copy the entire content.
Núunexpected end of datai @  )ÚshutilÚcopyfileobjÚdivmodrC   Úreadr,   Úwrite)	ÚsrcÚdstr/   Ú	exceptionÚbufsizeÚblocksÚ	remainderÚbrY   s	   &&&&&    r2   r`   r`   ì   s¼   € ð ×"Ð"˜€GØ�„{ÙØ‚~Ü×Ò˜3 WÔ-Ùä˜vÓ/Ñ€FÜ�6Ž]ˆØ�h‰h�wÓˆÜˆs‹8�gÔÙÐ4Ó5Ð5Ø�	‰	�#Žñ	 ð �A„~Ø�h‰h�yÓ!ˆÜˆs‹8�iÔÙÐ4Ó5Ð5Ø�	‰	�#ŒÙ
r4   c                ó  € V\         8:  d   V P                  V4      # . pV^ 8”  dN   V P                  \        V\         4      4      pV'       g   M%VP                  V4       V\	        V4      ,          pKT  RP                  V4      # )a  Read up to *size* bytes from *fileobj* in bounded chunks.

Returns the same bytes as ``fileobj.read(size)`` would (including a short
result at end of file), but limits pre-allocation, so an
oversized size field in a crafted header cannot force a huge allocation.
r4   )Ú_EXTHEADER_READ_CHUNKrb   ÚminÚappendr,   Újoin)Úfileobjr!   ÚchunksÚchunks   &&  r2   Ú
_safe_readrs     sm   € ð Ô$Ô$Ø�|‰|˜DÓ!Ð!Ø€FØ
�Œ(Ø—‘œS Ô'<Ó=Ó>ˆßØØ�‰�eÔØ”�E“
ÕŠØ�8‰8�FÓÐr4   c                 ó    € \        \        P                  R R4      pVe"   V P                  VR4      P	                  V4      p \        V RR7       R# )r0   NÚbackslashreplaceÚ )Úend)ÚgetattrÚsysÚstdoutr+   r8   Úprint)r.   r0   s   & r2   Ú_safe_printr|     s@   € Ü”s—z‘z :¨tÓ4€HØÒØ�H‰H�XÐ1Ó2×9Ñ9¸(ÓCˆÜ	ˆ!�×r4   c                   ó   € ] tR tRtRtRtR# )r   i&  zBase exception.© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r~   r4   r2   r   r   &  s   † ÙÛr4   c                   ó   € ] tR tRtRtRtR# )r	   i)  z%General exception for extract errors.r~   Nr   r~   r4   r2   r	   r	   )  s   † Ù/Ûr4   c                   ó   € ] tR tRtRtRtR# )r   i,  z&Exception for unreadable tar archives.r~   Nr   r~   r4   r2   r   r   ,  s   † Ù0Ûr4   c                   ó   € ] tR tRtRtRtR# )r   i/  z.Exception for unavailable compression methods.r~   Nr   r~   r4   r2   r   r   /  s   † Ù8Ûr4   c                   ó   € ] tR tRtRtRtR# )r   i2  z=Exception for unsupported operations on stream-like TarFiles.r~   Nr   r~   r4   r2   r   r   2  s   † ÙGÛr4   c                   ó   € ] tR tRtRtRtR# )r
   i5  z!Base exception for header errors.r~   Nr   r~   r4   r2   r
   r
   5  s   † Ù+Ûr4   c                   ó   € ] tR tRtRtRtR# )ÚEmptyHeaderErrori8  zException for empty headers.r~   Nr   r~   r4   r2   rŒ   rŒ   8  s   † Ù&Ûr4   rŒ   c                   ó   € ] tR tRtRtRtR# )ÚTruncatedHeaderErrori;  z Exception for truncated headers.r~   Nr   r~   r4   r2   rŽ   rŽ   ;  s   † Ù*Ûr4   rŽ   c                   ó   € ] tR tRtRtRtR# )ÚEOFHeaderErrori>  z"Exception for end of file headers.r~   Nr   r~   r4   r2   r�   r�   >  s   † Ù,Ûr4   r�   c                   ó   € ] tR tRtRtRtR# )rF   iA  zException for invalid headers.r~   Nr   r~   r4   r2   rF   rF   A  s   † Ù(Ûr4   rF   c                   ó   € ] tR tRtRtRtR# )ÚSubsequentHeaderErroriD  z3Exception for missing and invalid extended headers.r~   Nr   r~   r4   r2   r“   r“   D  s   † Ù=Ûr4   r“   c                   ó<   a € ] tR tRt o RtR tR tR tR tRt	V t
R# )	Ú_LowLevelFileiK  zwLow-level file object. Supports reading and writing.
It is used instead of a regular file object for streaming
access.
c                ó>  € R \         P                  R\         P                  \         P                  ,          \         P                  ,          /V,          p\        \         R4      '       d   V\         P                  ,          p\         P                  ! WR4      V n        R# )ÚrÚwÚO_BINARYi¶  N)	ÚosÚO_RDONLYÚO_WRONLYÚO_CREATÚO_TRUNCÚhasattrr™   r   Úfd)ÚselfÚnameÚmodes   &&&r2   Ú__init__Ú_LowLevelFile.__init__Q  sf   € à”—‘Ø”—‘œrŸz™zÕ)¬B¯J©JÕ6ð
ð õˆô ”2�z×"Ò"Ø”B—K‘KÕˆDÜ—'’'˜$ eÓ,ˆŽr4   c                óF   € \         P                  ! V P                  4       R # ©N)rš   Úcloser    ©r¡   s   &r2   r¨   Ú_LowLevelFile.closeZ  s   € Ü
�Š�—‘Ör4   c                óD   € \         P                  ! V P                  V4      # r§   )rš   rb   r    ©r¡   r!   s   &&r2   rb   Ú_LowLevelFile.read]  s   € Ü�wŠw�t—w‘w Ó%Ð%r4   c                óH   € \         P                  ! V P                  V4       R # r§   )rš   rc   r    ©r¡   r.   s   &&r2   rc   Ú_LowLevelFile.write`  s   € Ü
�Š�—‘˜!Ör4   )r    N)r€   r�   r‚   rƒ   r„   r¤   r¨   rb   rc   r…   Ú__classdictcell__©Ú__classdict__s   @r2   r•   r•   K  s#   ø‡ € ñò
-òò&÷ð r4   r•   c                   óp   a € ] tR tRt o RtR tR tR tR tR t	R t
R	 tR
 tRR ltR tR tR tRtV tR# )Ú_Streamic  a™  Class that serves as an adapter between TarFile and
a stream-like object.  The stream-like object only
needs to have a read() or write() method that works with bytes,
and the method is accessed blockwise.
Use of gzip or bzip2 compression is possible.
A stream-like object could be for example: sys.stdin.buffer,
sys.stdout.buffer, a socket, a tape device etc.

_Stream is intended to be used only internally.
c                ó|  € RV n         Vf   \        W4      pRV n         VR8X  d   \        V4      pVP                  4       pVe   \        P
                  ! V4      MRV n        W n        W0n        W@n	        WPn
        RV n        ^ V n        RV n         VR8X  d_    ^ RIpY€n        TP#                  R4      T n        TR	8X  d$   TP&                  T n        T P+                  4        R# T P-                  T4       R# VR
8X  dN    ^ RIp	TR	8X  d*   RT n        T	P3                  4       T n        \6        T n        R# T	P9                  T4      T n        R# VR8X  dU    ^ RIp
TR	8X  d0   RT n        T
P=                  4       T n        T
P>                  T n        R# T
PA                  TR7      T n        R# VR8X  dU    ^ RI!H"p TR	8X  d0   RT n        TPG                  4       T n        TPH                  T n        R# TPK                  4       T n        R# VR8w  d   \!        RV,          4      hR#   \         d    \!        R4      Rhi ; i  \         d    \!        R4      Rhi ; i  \         d    \!        R4      Rhi ; i  \         d    \!        R4      Rhi ; i   T P                   '       g   T P                  PM                  4        RT n        h ; i)z$Construct a _Stream object.
        TNFÚ*Ú r4   Úgzzzlib module is not availabler—   Úbz2úbz2 module is not availableÚxzúlzma module is not available©ÚpresetÚzst)Úzstdú(compression.zstd module is not availableÚtarúunknown compression type %r)'Ú_extfileobjr•   Ú_StreamProxyÚgetcomptyperš   Úfspathr¢   r£   Úcomptyperp   rg   rY   ÚposÚclosedÚzlibÚImportErrorr   Úcrc32ÚcrcÚerrorrf   Ú_init_read_gzÚ_init_write_gzrº   ÚdbufÚBZ2DecompressorÚcmpÚOSErrorÚBZ2CompressorÚlzmaÚLZMADecompressorÚ	LZMAErrorÚLZMACompressorÚcompressionrÁ   ÚZstdDecompressorÚ	ZstdErrorÚZstdCompressorr¨   )r¡   r¢   r£   rÉ   rp   rg   Úcompresslevelr¿   rÌ   rº   rØ   rÁ   s   &&&&&&&&    r2   r¤   Ú_Stream.__init__o  s‘  € ð  ˆÔØŠ?Ü# DÓ/ˆGØ$ˆDÔà�sŒ?ô # 7Ó+ˆGØ×*Ñ*Ó,ˆHà+/Ò+;œŸ	š	 $œÀˆŒ	ØŒ	Ø ŒØŒØŒØˆŒØˆŒØˆŒð7	Ø˜4ÔðUÛð !”	ØŸ:™: c›?�”Ø˜3”;Ø%)§Z¡Z�D”NØ×&Ñ&Ö(à×'Ñ'¨Ö6à˜UÔ"ðTÛð ˜3”;Ø #�D”IØ"×2Ñ2Ó4�D”HÜ%,�D–Nà"×0Ñ0°Ó?�D–Hà˜TÔ!ðUÛð ˜3”;Ø #�D”IØ#×4Ñ4Ó6�D”HØ%)§^¡^�D–Nà#×2Ñ2¸&Ð2ÓA�D–HØ˜UÔ"ðaÝ0ð ˜3”;Ø #�D”IØ#×4Ñ4Ó6�D”HØ%)§^¡^�D–Nà#×2Ñ2Ó4�D–HØ˜UÔ"Ü&Ð'DÀxÕ'OÓPÐPñ #øôY #ô UÜ*Ð+IÓJÐPTÐTðUûô #ô TÜ*Ð+HÓIÈtÐSðTûô #ô UÜ*Ð+IÓJÐPTÐTðUûô #ô aÜ*Ð+UÓVÐ\`Ð`ðaûð	Ø×#×#Ð#Ø—‘×"Ñ"Ô$ØˆDŒKØús�   ÂJ ÂH ÂAJ Ã!J Ã4J Ã<H4 Ä .J Ä0J ÅJ ÅI Å4J Æ
J Æ#J Æ+I* Æ14J Ç'J Ç>J ÈH1È1J È4IÉJ ÉI'É'J É*JÊJ Ê6J;c                óv   € \        V R 4      '       d'   V P                  '       g   V P                  4        R# R# R# )rË   N)rŸ   rË   r¨   r©   s   &r2   Ú__del__Ú_Stream.__del__À  s(   € Ü�4˜×"Ò"¨4¯;¯;¨;Ø�J‰JŽLñ ,7Ñ"r4   c                óÈ  € V P                   P                  VV P                   P                  V P                   P                  ) V P                   P                  ^ 4      V n        \        P                  ! 4       p^ Tu;8:  d   R8  g   M ^ p\        P                  ! R\        V4      4      pV P                  RV,           R,           4       V P                  P                  R4      '       d   V P                  RR	 V n        \        P                  P                  V P                  4      V n        V P                  V P                  P!                  RR4      \"        ,           4       R# )
z6Initialize for writing with gzip compression.
        ú<Ls   ‹s   ÿú.gzNz
iso-8859-1Úreplacel        éýÿÿÿ)rÌ   ÚcompressobjÚDEFLATEDÚ	MAX_WBITSÚDEF_MEM_LEVELrÕ   ÚtimerW   ÚpackrD   Ú_Stream__writer¢   Úendswithrš   ÚpathÚbasenamer+   r-   )r¡   rà   r"   Ú	timestamps   &&  r2   rÒ   Ú_Stream._init_write_gzÄ  s÷   € ð —9‘9×(Ñ(¨Ø)-¯©×);Ñ);Ø*.¯)©)×*=Ñ*=Ð)=Ø)-¯©×)@Ñ)@Ø)*ó	,ˆŒô
 —	’	“ˆð �EÖ!˜EÖ!ØˆEÜ—K’K ¤c¨%£jÓ1ˆ	Ø�‰Ð(¨9Õ4°{ÕBÔCØ�9‰9×Ñ˜e×$Ò$ØŸ	™	 # 2˜ˆDŒIä—G‘G×$Ñ$ T§Y¡YÓ/ˆŒ	à�‰�T—Y‘Y×%Ñ% l°IÓ>ÄÕDÖEr4   c                ó:  € V P                   R8X  d+   V P                  P                  WP                  4      V n        V ;P                  \        V4      ,          un        V P                   R8w  d   V P                  P                  V4      pV P                  V4       R# )z&Write string s to the stream.
        r¹   rÃ   N)	rÉ   rÌ   rÎ   rÏ   rÊ   r,   rÕ   Úcompressrð   r¯   s   &&r2   rc   Ú_Stream.writeÚ  se   € ð �=‰=˜DÔ Ø—y‘y—‘ q¯(©(Ó3ˆDŒHØ�Š”C˜“FÕ�Ø�=‰=˜EÔ!Ø—‘×!Ñ! !Ó$ˆAØ�‰�QŽr4   c                ó$  € V ;P                   V,          un         \        V P                   4      V P                  8”  dS   V P                  P	                  V P                   RV P                   4       V P                   V P                  R V n         Kv  R# )zJWrite string s to the stream if a whole new block
is ready to be written.
N)rY   r,   rg   rp   rc   r¯   s   &&r2   Ú__writeÚ_Stream.__writeä  sa   € ð 	�Š�A��Ü�$—(‘(‹m˜dŸl™lÔ*Ø�L‰L×Ñ˜tŸx™x¨¨¯©Ð6Ô7Ø—x‘x §¡ Ð.ˆDŽHñ +r4   c                óZ  € V P                   '       d   R# RV n          V P                  R8X  dC   V P                  R8w  d2   V ;P                  V P                  P                  4       ,          un        V P                  R8X  dË   V P                  '       d¹   V P                  P                  V P                  4       RV n        V P                  R8X  d|   V P                  P                  \        P                  ! RV P                  4      4       V P                  P                  \        P                  ! RV P                  R,          4      4       V P                  '       g   V P                  P                  4        R# R#   T P                  '       g   T P                  P                  4        i i ; i)	zHClose the _Stream object. No operation should be
done on it afterwards.
NTr˜   rÃ   r4   r¹   ræ   l   ÿÿ )rË   r£   rÉ   rY   rÕ   Úflushrp   rc   rW   rï   rÏ   rÊ   rÅ   r¨   r©   s   &r2   r¨   Ú_Stream.closeí  s  € ð �;�;ˆ;ÙàˆŒð	%Ø�y‰y˜CÔ D§M¡M°UÔ$:Ø—’˜DŸH™HŸN™NÓ,Õ,•à�y‰y˜CÔ D§H§H HØ—‘×"Ñ" 4§8¡8Ô,Ø�”Ø—=‘= DÔ(Ø—L‘L×&Ñ&¤v§{¢{°4¸¿¹Ó'BÔCØ—L‘L×&Ñ&¤v§{¢{°4¸¿¹ÀJÕ9NÓ'OÔPà×#×#Ð#Ø—‘×"Ñ"Ö$ñ $ø�4×#×#Ð#Ø—‘×"Ñ"Õ$ð $ús   �A5E; ÂB8E; Å;/F*c                ó8  € V P                   P                  V P                   P                  ) 4      V n        RV n        V P                  ^4      R8w  d   \        R4      hV P                  ^4      R8w  d   \        R4      h\        V P                  ^4      4      pV P                  ^4       V^,          '       dR   \        V P                  ^4      4      R\        V P                  ^4      4      ,          ,           pV P                  V4       V^,          '       d)    V P                  ^4      pV'       d   V\        8X  g   K'   V^,          '       d)    V P                  ^4      pV'       d   V\        8X  g   K'   V^,          '       d   V P                  ^4       R# R# )z:Initialize for reading a gzip compressed fileobj.
        r4   s   ‹únot a gzip fileó   zunsupported compression methodr<   N)
rÌ   Údecompressobjrì   rÕ   rÓ   Ú_Stream__readr   r   Úordr-   )r¡   ÚflagÚxlenr.   s   &   r2   rÑ   Ú_Stream._init_read_gz  s&  € ð —9‘9×*Ñ*¨D¯I©I×,?Ñ,?Ð+?Ó@ˆŒØˆŒ	ð �;‰;�q‹>˜[Ô(ÜÐ-Ó.Ð.Ø�;‰;�q‹>˜WÔ$Ü"Ð#CÓDÐDä�4—;‘;˜q“>Ó"ˆØ�‰�AŒà�!�8Œ8Ü�t—{‘{ 1“~Ó&¨¬s°4·;±;¸q³>Ó/BÕ)BÕBˆDØ�K‰K˜ÔØ�!�8Œ8ØØ—K‘K “N�ß˜A¤žHØØ�"�9Œ9ØØ—K‘K “N�ß˜A¤žHØØ�!�8Œ8Ø�K‰K˜ŽNñ r4   c                ó   € V P                   # )z3Return the stream's file pointer position.
        )rÊ   r©   s   &r2   ÚtellÚ_Stream.tell"  s   € ð �x‰xˆr4   c                ó>  € WP                   ,
          ^ 8¼  d}   \        WP                   ,
          V P                  4      w  r#\        V4       F(  pV P	                  V P                  4      pV'       d   K(   M	  V P	                  V4       V P                   # \        R4      h)zESet the stream's file pointer to pos. Negative seeking
is forbidden.
z seeking backwards is not allowed)rÊ   ra   rg   rC   rb   r   )r¡   rÊ   rh   ri   rH   Údatas   &&    r2   ÚseekÚ_Stream.seek'  sz   € ð —‘�>˜QÔÜ & s¯X©X¥~°t·|±|Ó DÑˆFÜ˜6–]�Ø—y‘y §¡Ó.�ß‘tÙñ #ð �I‰I�iÔ ð �x‰xˆô Ð@ÓAÐAr4   c                óx   € Vf   Q hV P                  V4      pV ;P                  \        V4      ,          un        V# )z5Return the next size number of bytes from the stream.)Ú_readrÊ   r,   )r¡   r!   rY   s   && r2   rb   Ú_Stream.read6  s3   € àÒÐÐØ�j‰j˜ÓˆØ�Š”C˜“HÕ�Øˆ
r4   c                óH  € V P                   R8X  d   V P                  V4      # \        V P                  4      pV P                  .pW!8  d–   V P                  '       d   V P                  pRV n        M.V P
                  P                  V P                  4      pV'       g   MA V P                  P                  V4      pTP                  T4       T\        T4      ,          pK›  RP                  V4      pW1R V n        VRV #   T P                   d   p\        R4      ThRp?ii ; i)z+Return size bytes from the stream.
        rÃ   r4   zinvalid compressed dataN)rÉ   r  r,   rÓ   rY   rp   rb   rg   rÕ   Ú
decompressrf   r   rn   ro   )r¡   r!   ÚcÚtrY   Úes   &&    r2   r  Ú_Stream._read=  sð   € ð �=‰=˜EÔ!Ø—;‘;˜tÓ$Ð$ä�—	‘	‹NˆØ�Y‰YˆKˆØŒhà�x�xˆxØ—h‘h�Ø�•à—l‘l×'Ñ'¨¯©Ó5�ßØðBØ—h‘h×)Ñ)¨#Ó.�ð �H‰H�SŒMØ”�S“�MŠAØ�H‰H�Q‹KˆØ�e�HˆŒ	Ø��$ˆxˆøð —>‘>ô BÜÐ 9Ó:ÀÐAûðBús   Â C? Ã?D!ÄDÄD!c                ó6  € \        V P                  4      pV P                  .pW!8  dT   V P                  P                  V P                  4      pV'       g   M%VP                  V4       V\        V4      ,          pKY  RP                  V4      pW1R V n        VRV # )z`Return size bytes from stream. If internal buffer is empty,
read another block from the stream.
r4   N)r,   rY   rp   rb   rg   rn   ro   )r¡   r!   r  r  rY   s   &&   r2   Ú__readÚ_Stream.__readX  sz   € ô �—‘‹MˆØ�X‰XˆJˆØŒhØ—,‘,×#Ñ# D§L¡LÓ1ˆCßØØ�H‰H�SŒMØ”�S“�MŠAØ�H‰H�Q‹KˆØ�U�8ˆŒØ��$ˆxˆr4   )rÅ   rY   rg   rË   rÕ   rÉ   rÏ   rÓ   rf   rp   r£   r¢   rÊ   rÌ   N)é    )r€   r�   r‚   rƒ   r„   r¤   rã   rÒ   rc   rð   r¨   rÑ   r	  r  rb   r  r  r…   r±   r²   s   @r2   rµ   rµ   c  sN   ø‡ € ñ	òOòbòFò,ò/ò%ò,ò>ô
òò÷6ð r4   rµ   c                   ó<   a € ] tR tRt o RtR tR tR tR tRt	V t
R# )	rÆ   ii  zhSmall proxy class that enables transparent compression
detection for the Stream interface (mode 'r|*').
c                óZ   € Wn         V P                   P                  \        4      V n        R # r§   )rp   rb   Ú	BLOCKSIZErY   )r¡   rp   s   &&r2   r¤   Ú_StreamProxy.__init__n  s   € ØŒØ—<‘<×$Ñ$¤YÓ/ˆŽr4   c                óP   € V P                   P                  V n        V P                  # r§   )rp   rb   rY   r¬   s   &&r2   rb   Ú_StreamProxy.readr  s   € Ø—L‘L×%Ñ%ˆŒ	Ø�x‰xˆr4   c                ó<  € V P                   P                  R 4      '       d   R# V P                   R,          R8X  d   V P                   R,          R8X  d   R# V P                   P                  R4      '       d   R# V P                   P                  R4      '       d   R	# R
# )s   ‹r¹   :r  é   Ns   BZh:é   é
   Ns   1AY&SYrº   r¼   s   (µ/ýrÀ   rÃ   )s   ]  €s   ý7zXZ)rY   Ú
startswithr©   s   &r2   rÇ   Ú_StreamProxy.getcomptypev  sq   € Ø�8‰8×Ñ˜×/Ò/ÙØ�X‰X�c�]˜fÔ$¨¯©°$­¸9Ô)DÙØ�X‰X× Ñ Ð!C×DÒDÙØ�X‰X× Ñ Ð!4×5Ò5Ùár4   c                ó:   € V P                   P                  4        R # r§   )rp   r¨   r©   s   &r2   r¨   Ú_StreamProxy.close‚  s   € Ø�‰×ÑÖr4   )rY   rp   rb   N)r€   r�   r‚   rƒ   r„   r¤   rb   rÇ   r¨   r…   r±   r²   s   @r2   rÆ   rÆ   i  s#   ø‡ € ñò0òò
÷ð r4   rÆ   c                   ó’   a € ] tR tRt o RtRR ltR t]R 4       tR t	R t
R	 tR
 t]P                  3R ltRR ltR tR tRtV tR# )Ú_FileInFilei‰  zmA thin wrapper around an existing file object that
provides a part of its data as an individual file
object.
Nc                óØ  € Wn         W n        W0n        ^ V n        W@n        RV n        Vf   ^ V3.p^ V n        . V n        ^ pV P                  pV F^  w  r#W&8”  d   V P                  P                  RWbR34       V P                  P                  RW"V,           V34       Ws,          pW#,           pK`  	  W`P                  8  d+   V P                  P                  RW`P                  R34       R# R# )r  FNT)	rp   Úoffsetr!   Úpositionr¢   rË   Ú	map_indexÚmaprn   )r¡   rp   r-  r!   r¢   Ú	blockinfoÚlastposÚrealposs   &&&&&&  r2   r¤   Ú_FileInFile.__init__�  sÑ   € ØŒØŒØŒ	ØˆŒØŒ	ØˆŒàÒØ˜T˜˜ˆIð ˆŒØˆŒØˆØ—+‘+ˆÛ%‰LˆFØÔØ—‘—‘ ¨¸Ð >Ô?Ø�H‰H�O‰O˜T 6°D­=¸'ÐBÔCØ�OˆGØ•mŠGñ &ð —Y‘YÔØ�H‰H�O‰O˜U G¯Y©Y¸Ð=Ö>ñ r4   c                ó   € R # r§   r~   r©   s   &r2   rý   Ú_FileInFile.flush¨  s   € Ùr4   c                ó   € R # )Úrbr~   r©   s   &r2   r£   Ú_FileInFile.mode«  s   € ár4   c                ó   € R # ©Tr~   r©   s   &r2   ÚreadableÚ_FileInFile.readable¯  s   € Ùr4   c                ó   € R # )Fr~   r©   s   &r2   ÚwritableÚ_FileInFile.writable²  s   € Ùr4   c                ó6   € V P                   P                  4       # r§   )rp   Úseekabler©   s   &r2   rB  Ú_FileInFile.seekableµ  s   € Ø�|‰|×$Ñ$Ó&Ð&r4   c                ó   € V P                   # )z*Return the current file position.
        )r.  r©   s   &r2   r	  Ú_FileInFile.tell¸  ó   € ð �}‰}Ðr4   c                óX  € V\         P                  8X  d2   \        \        V^ 4      V P                  4      V n        V P
                  # V\         P                  8X  do   V^ 8  d/   \        V P
                  V,           ^ 4      V n        V P
                  # \        V P
                  V,           V P                  4      V n         V P
                  # V\         P                  8X  dC   \        \        V P                  V,           V P                  4      ^ 4      V n        V P
                  # \        R4      h)z(Seek to a position in the file.
        zInvalid argument)	ÚioÚSEEK_SETrm   Úmaxr!   r.  ÚSEEK_CURÚSEEK_ENDr*   )r¡   r.  Úwhences   &&&r2   r  Ú_FileInFile.seek½  sà   € ð ”R—[‘[Ô Ü¤ H¨aÓ 0°$·)±)Ó<ˆDŒMð �}‰}Ðð ”r—{‘{Ô"Ø˜!Œ|Ü # D§M¡M°HÕ$<¸aÓ @�”ð �}‰}Ðô !$ D§M¡M°HÕ$<¸d¿i¹iÓ H�•ð
 �}‰}Ðð	 ”r—{‘{Ô"Ü¤ D§I¡I°Õ$8¸$¿)¹)Ó DÀaÓHˆDŒMð �}‰}Ðô Ð/Ó0Ð0r4   c                óN  € Vf   V P                   V P                  ,
          pM&\        WP                   V P                  ,
          4      pRpV^ 8”  EdS    V P                  V P                  ,          w  r4rVW@P                  u;8:  d   V8  d   M MMHV ;P                  ^,          un        V P                  \        V P                  4      8X  g   K|  ^ V n        K…  \        WV P                  ,
          4      pV'       dr   V P                  P                  W`P                  V,
          ,           4       V P                  P                  V4      p\        V4      V8w  d   \        R4      hW(,          pMV\        V,          ,          pW,          pV ;P                  V,          un        EKZ  V# )z!Read data from the file.
        r4   r^   )r!   r.  rm   r0  r/  r,   rp   r  rb   r   r-   )	r¡   r!   rY   r  ÚstartÚstopr-  r/   rj   s	   &&       r2   rb   Ú_FileInFile.readÍ  s$  € ð Š<Ø—9‘9˜tŸ}™}Õ,‰Dä�tŸY™Y¨¯©Õ6Ó7ˆDàˆØ�Q�hØØ,0¯H©H°T·^±^Õ,DÑ)�˜TØŸM™MÖ0¨D×0Øà—N’N aÕ'•NØ—~‘~¬¨T¯X©X«Ö6Ø)*˜žÜ˜ d§m¡mÕ3Ó4ˆFßØ—‘×!Ñ! &¯M©M¸EÕ,AÕ"BÔCØ—L‘L×%Ñ% fÓ-�Ü�q“6˜VÔ#Ü#Ð$<Ó=Ð=Ø•‘à”s˜V•|Õ#�Ø�NˆDØ�MŠM˜VÕ#�MˆMØˆ
r4   c                óf   € V P                  \        V4      4      pW!R \        V4      % \        V4      # r§   )rb   r,   )r¡   rj   rY   s   && r2   ÚreadintoÚ_FileInFile.readintoì  s*   € Ø�i‰iœ˜A›ÓˆØˆ)Œ3ˆs‹8ˆÜ�3‹xˆr4   c                ó   € R V n         R# )TN)rË   r©   s   &r2   r¨   Ú_FileInFile.closeñ  s	   € ØˆŽr4   )rË   rp   r0  r/  r¢   r-  r.  r!   r§   )r€   r�   r‚   rƒ   r„   r¤   rý   Úpropertyr£   r<  r?  rB  r	  rH  rI  r  rb   rT  r¨   r…   r±   r²   s   @r2   r+  r+  ‰  s^   ø‡ € ñô
?ò2ð ñó ðòòò'òð
 %'§K¡Kô ô ò>÷
ð r4   r+  c                   ó2   a a€ ] tR tRt oV 3R ltRtVtV ;t# )ÚExFileObjectiõ  c                ó¨   <€ \        VP                  VP                  VP                  VP                  VP
                  4      p\        SV `  V4       R # r§   )r+  rp   Úoffset_datar!   r¢   ÚsparseÚsuperr¤   )r¡   ÚtarfileÚtarinforp   Ú	__class__s   &&& €r2   r¤   ÚExFileObject.__init__÷  s;   ø€ Ü˜gŸo™o¨w×/BÑ/BØ—‘˜gŸl™l¨G¯N©Nó<ˆä‰Ñ˜Ö!r4   r~   ©r€   r�   r‚   rƒ   r¤   r…   r±   Ú__classcell__©ra  r³   s   @@r2   rZ  rZ  õ  s   ù‡ € ÷"õ "r4   rZ  c                   ó   € ] tR tRtRtR# )r   i  r~   N)r€   r�   r‚   rƒ   r…   r~   r4   r2   r   r     s   † Ûr4   c                   ó2   a a€ ] tR tRt oV 3R ltRtVtV ;t# )r   i  c                óP   <€ Wn         \        SV `	  R VP                  : R24       R# )zmember z has an absolute pathN©r`  r^  r¤   r¢   ©r¡   r`  ra  s   &&€r2   r¤   ÚAbsolutePathError.__init__  s$   ø€ ØŒÜ‰Ñ˜7 7§<¡<Ñ"2Ð2GÐHÖIr4   ©r`  rc  re  s   @@r2   r   r     s   ù‡ € ÷Jõ Jr4   c                   ó2   a a€ ] tR tRt oV 3R ltRtVtV ;t# )r   i
  c                óp   <€ Wn         W n        \        SV `  VP                  : R V: R2R,           4       R# )z would be extracted to ú, ú which is outside the destinationN©r`  Ú_pathr^  r¤   r¢   ©r¡   r`  rò   ra  s   &&&€r2   r¤   Ú OutsideDestinationError.__init__  s7   ø€ ØŒØŒ
Ü‰Ñ˜GŸL™LÑ+Ð+BÀ4Á(È"ÐMØ=õ>ö 	?r4   ©rr  r`  rc  re  s   @@r2   r   r   
  ó   ù‡ € ÷?õ ?r4   c                   ó2   a a€ ] tR tRt oV 3R ltRtVtV ;t# )r   i  c                óN   <€ Wn         \        SV `	  VP                  : R 24       R# )z is a special fileNri  rj  s   &&€r2   r¤   ÚSpecialFileError.__init__  s"   ø€ ØŒÜ‰Ñ˜GŸL™LÑ+Ð+=Ð>Ö?r4   rl  rc  re  s   @@r2   r   r     s   ù‡ € ÷@õ @r4   c                   ó2   a a€ ] tR tRt oV 3R ltRtVtV ;t# )r   i  c                óN   <€ Wn         \        SV `	  VP                  : R 24       R# )z is a link to an absolute pathNri  rj  s   &&€r2   r¤   ÚAbsoluteLinkError.__init__  s"   ø€ ØŒÜ‰Ñ˜GŸL™LÑ+Ð+IÐJÖKr4   rl  rc  re  s   @@r2   r   r     s   ù‡ € ÷Lõ Lr4   c                   ó2   a a€ ] tR tRt oV 3R ltRtVtV ;t# )r   i  c                óp   <€ Wn         W n        \        SV `  VP                  : R V: R2R,           4       R# )z would link to ro  rp  Nrq  rs  s   &&&€r2   r¤   Ú$LinkOutsideDestinationError.__init__  s6   ø€ ØŒØŒ
Ü‰Ñ˜GŸL™LÑ+¨?¸4¹(À"ÐEØ=õ>ö 	?r4   ru  rc  re  s   @@r2   r   r     rv  r4   c                   ó2   a a€ ] tR tRt oV 3R ltRtVtV ;t# )r   i"  c                ót   <€ Wn         W n        \        SV `  R VP                  : R2RV: R2,           4       R# )zlink z would be extracted as a zcopy of z, which was rejectedNrq  rs  s   &&&€r2   r¤   ÚLinkFallbackError.__init__#  s?   ø€ ØŒØŒ
Ü‰Ñ˜5 §¡Ñ 0Ð0IÐJØ% d¡XÐ-AÐBõCö 	Dr4   ru  rc  re  s   @@r2   r   r   "  s   ù‡ € ÷Dõ Dr4   c                 ó	  € / pV P                   p\        P                  P                  V\        P                  P                  R 7      pVP                  R\        P                  34      '       d5   V P                  P                  R\        P                  ,           4      ;qCR&   \        P                  P                  V4      '       d   \        V 4      hRVP                  \        P                  R4      P                  R4      9   d,   \        P                  P                  V4      pWT8w  d   T;qCR&   \        P                  P                  \        P                  P                  W4      \        P                  P                  R 7      p\        P                  P                  Wa.4      V8w  d   \        W4      hV P                   pVe®   VR,          pV'       d‰   V P#                  4       '       g   V P%                  4       '       d#   V^@,          '       g
   VR,          pVR,          pM:V P'                  4       '       g   V P)                  4       '       d   RpM\+        V 4      hWpP                   8w  d   WsR&   V'       Ed   V P,                  e   RVR&   V P.                  e   RVR	&   V P0                  e   RVR
&   V P2                  e   RVR&   V P%                  4       '       g   V P)                  4       '       Ed‹   \        P                  P                  V P4                  4      '       d   \7        V 4      hWa8X  d   \        W4      h\        P                  P                  V P4                  4      pWPP4                  8w  d   WSR&   V P)                  4       '       de   \        P                  P9                  VP;                  R\        P                  ,           4      4      p\        P                  P                  WV4      pM\        P                  P                  W4      p\        P                  P                  V\        P                  P                  R 7      p\        P                  P                  Wa.4      V8w  d   \=        W4      hV# ))r>   Ú/r¢   z..Nií  é€  r£   r#   r$   ÚunameÚgnameÚlinknamei¶ÿÿÿ)r¢   rš   rò   ÚrealpathÚALLOW_MISSINGr&  ÚsepÚlstripÚisabsr   rè   ÚsplitÚnormpathro   Ú
commonpathr   r£   ÚisregÚislnkÚisdirÚissymr   r#   r$   r†  r‡  rˆ  r   ÚdirnameÚrstripr   )	ÚmemberÚ	dest_pathÚfor_dataÚ	new_attrsr¢   Ú
normalizedÚtarget_pathr£   Úlink_dirs	   &&&      r2   Ú_get_filtered_attrsrž  .  s-  € Ø€IØ�;‰;€DÜ—‘× Ñ  ´2·7±7×3HÑ3HÐ ÓI€Ið ‡�˜œRŸV™V�}×%Ò%Ø#)§;¡;×#5Ñ#5°c¼B¿F¹FµlÓ#CÐCˆ˜Ñ Ü	‡w�w‡}�}�T×Òô   Ó'Ð'àˆt�|‰|œBŸF™F CÓ(×.Ñ.¨sÓ3Ô3ô —W‘W×%Ñ% dÓ+ˆ
ØÔØ'1Ð1ˆD˜VÑ$Ü—'‘'×"Ñ"¤2§7¡7§<¡<°	Ó#@Ü*,¯'©'×*?Ñ*?ð #ó A€Kä	‡w�w×Ñ˜;Ð2Ó3°yÔ@Ü% fÓ:Ð:à�;‰;€DØÒà�e�|ˆßà�|‰|�~Š~ §¡§¢Ø˜e—|”|à˜F•N�Dà˜•‘Ø—‘—’ 6§<¡<§>¢>à‘ô ' vÓ.Ð.Ø—;‘;ÔØ $�fÑß€xà�:‰:Ò!Ø#ˆI�eÑØ�:‰:Ò!Ø#ˆI�eÑØ�<‰<Ò#Ø!%ˆI�gÑØ�<‰<Ò#Ø!%ˆI�gÑà�<‰<�>Š>˜VŸ\™\Ÿ^›^Ü�w‰w�}‰}˜VŸ_™_×-Ò-Ü'¨Ó/Ð/ð Ô'Ü-¨fÓBÐBÜŸ™×)Ñ)¨&¯/©/Ó:ˆJØŸ_™_Ô,Ø(2˜*Ñ%Ø�|‰|�~Š~ô Ÿ7™7Ÿ?™?¨4¯;©;°s¼R¿V¹Vµ|Ó+DÓE�Ü Ÿg™gŸl™l¨9À
ÓK‘ä Ÿg™gŸl™l¨9ÓA�ÜŸ'™'×*Ñ*¨;Ü24·'±'×2GÑ2Gð +ó IˆKä�w‰w×!Ñ! ;Ð":Ó;¸yÔHÜ1°&ÓFÐFØÐr4   c                 ó   € V # r§   r~   )r—  r˜  s   &&r2   Úfully_trusted_filterr     s   € Ø€Mr4   c                 óZ   € \        WR 4      pV'       d   V P                  ! R/ VBRR /B # V # )FÚdeepr~   ©rž  rè   ©r—  r˜  rš  s   && r2   Ú
tar_filterr¥  ‚  s-   € Ü# F°uÓ=€IßØ�~Š~Ñ6 	Ñ6°Ò6Ð6Ø€Mr4   c                 óZ   € \        WR 4      pV'       d   V P                  ! R/ VBRR/B # V # )Tr¢  Fr~   r£  r¤  s   && r2   Údata_filterr§  ˆ  s-   € Ü# F°tÓ<€IßØ�~Š~Ñ6 	Ñ6°Ò6Ð6Ø€Mr4   Úfully_trustedrÃ   r  s   ([0-9]{1,20}) c                   óÒ  a € ] tR tRt o Rt]! R\/ RRbRRbRRbR	R
bRRbRRbRRbRRbRRbRRbRRbRRbRRbRRbRR bR!R"bR#R$bR%R&bR'R&bR(R&b tR]R) lt]R* 4       t	]	P                  R+ 4       t	]R, 4       t]P                  R- 4       t]R. 4       t]P                  R/ 4       tR0 tR]R]R]R]R]R	]R]R]R1R2R3]/
R4 ltR5 t]]R63R7 ltR8 tR9 tR: t]R; 4       tR< t]R= 4       t]R> 4       t]R? 4       t]R@ 4       t]RA 4       t]RBR2/RC l4       t ]RD 4       t!]RBR2/RE l4       t"RF t#RG t$RH t%RI t&RJ t'RK t(RL t)RM t*RN t+RO t,RP t-RQ t.RR t/RS t0RT t1RU t2RV t3RW t4RX t5RY t6RZ t7R[t8V t9R&# )^r   iž  zèInformational class which holds the details about an
archive member given by a tar header block.
TarInfo objects are returned by TarFile.getmember(),
TarFile.getmembers() and TarFile.gettarinfo() and are
usually created internally.
r¢   zName of the archive member.r£   zPermission bits.r#   z6User ID of the user who originally stored this member.r$   z7Group ID of the user who originally stored this member.r!   zSize in bytes.r"   zTime of last modification.ÚchksumzHeader checksum.Útypez—File type.  type is usually one of these constants: REGTYPE,
AREGTYPE, LNKTYPE, SYMTYPE, DIRTYPE, FIFOTYPE, CONTTYPE, CHRTYPE,
BLKTYPE, GNUTYPE_SPARSE.rˆ  zcName of the target file name, which is only present in TarInfo
objects of type LNKTYPE and SYMTYPE.r†  z
User name.r‡  zGroup name.ÚdevmajorzDevice major number.ÚdevminorzDevice minor number.r-  zThe tar header starts here.r\  zThe file's data starts here.Úpax_headerszMA dictionary containing key-value pairs of an associated pax
extended header.r]  zSparse member information.Ú_tarfileNÚ_sparse_structsÚ_link_targetc                óú   € Wn         RV n        ^ V n        ^ V n        ^ V n        ^ V n        ^ V n        \        V n        RV n	        RV n
        RV n        ^ V n        ^ V n        ^ V n        ^ V n        RV n        / V n        R# )zEConstruct a TarInfo object. name is the optional name
of the member.
i¤  r¸   N)r¢   r£   r#   r$   r!   r"   rª  ÚREGTYPEr«  rˆ  r†  r‡  r¬  r­  r-  r\  r]  r®  ©r¡   r¢   s   &&r2   r¤   ÚTarInfo.__init__Å  s{   € ð Œ	ØˆŒ	ØˆŒØˆŒØˆŒ	ØˆŒ
ØˆŒÜˆŒ	ØˆŒØˆŒ
ØˆŒ
ØˆŒØˆŒàˆŒØˆÔàˆŒØˆÖr4   c                óR   € ^ RI pVP                  R\        ^R7       V P                  # ©r  N)Ú
stacklevelzhThe undocumented "tarfile" attribute of TarInfo objects is deprecated and will be removed in Python 3.16©ÚwarningsÚwarnÚDeprecationWarningr¯  )r¡   rº  s   & r2   r_  ÚTarInfo.tarfileÝ  s-   € ãØ�‰ðAä¨1ð 	ô 	.ð �}‰}Ðr4   c                óJ   € ^ RI pVP                  R\        ^R7       Wn        R# r·  r¹  )r¡   r_  rº  s   && r2   r_  r½  æ  s(   € ãØ�‰ðAä¨1ð 	ô 	.ð  Žr4   c                ó   € V P                   # )z(In pax headers, "name" is called "path".©r¢   r©   s   &r2   rò   ÚTarInfo.pathï  s   € ð �y‰yÐr4   c                ó   € Wn         R # r§   rÀ  r´  s   &&r2   rò   rÁ  ô  s   € àŽ	r4   c                ó   € V P                   # )z0In pax headers, "linkname" is called "linkpath".©rˆ  r©   s   &r2   ÚlinkpathÚTarInfo.linkpathø  rF  r4   c                ó   € Wn         R # r§   rÄ  )r¡   rˆ  s   &&r2   rÅ  rÆ  ý  s   € à Žr4   c                óh   € R V P                   P                  V P                  \        V 4      3,          # )z<%s %r at %#x>)ra  r€   r¢   Úidr©   s   &r2   Ú__repr__ÚTarInfo.__repr__  s&   € Ø 4§>¡>×#:Ñ#:¸4¿9¹9ÄRÈÃXÐ"NÕNÐNr4   r¢  TÚ_KEEPc       
        ó   € V	'       d   \         P                  ! V 4      pM\         P                   ! V 4      pWJd   Wn        W*Jd   W+n        W:Jd   W;n        WJJd   WKn        WZJd   W[n        WjJd   Wkn        WzJd   W{n        WŠJd   W‹n	        V# )zGReturn a deep copy of self with the given attributes replaced.
        )
ÚcopyÚdeepcopyr¢   r"   r£   rˆ  r#   r$   r†  r‡  )r¡   r¢   r"   r£   rˆ  r#   r$   r†  r‡  r¢  rÌ  Úresults   &$$$$$$$$$$ r2   rè   ÚTarInfo.replace  s   € ÷ Ü—]’] 4Ó(‰Fä—Y’Y˜t“_ˆFØÓØŒKØÓØ ŒLØÓØŒKØÓ Ø&ŒOØÓØŒJØÓØŒJØÓØ ŒLØÓØ ŒLØˆr4   c                ó   € V P                   f   RpMV P                   R,          pRV P                  RVRV P                  RV P                  RV P                  RV P
                  R	V P                  R
V P                  RV P                  RV P                  RV P                  RV P                  RV P                  /pVR
,          \        8X  d4   VR,          P                  R4      '       g   VR;;,          R,          uu&   V# )z9Return the TarInfo's attributes as a dictionary.
        Néÿ  r¢   r£   r#   r$   r!   r"   rª  r«  rˆ  r†  r‡  r¬  r­  r„  )r£   r¢   r#   r$   r!   r"   rª  r«  rˆ  r†  r‡  r¬  r­  ÚDIRTYPErñ   )r¡   r£   Úinfos   &  r2   Úget_infoÚTarInfo.get_info   sÎ   € ð �9‰9ÒØ‰Dà—9‘9˜vÕ%ˆDà˜Ÿ	™	Ø˜Ø˜Ÿ™Ø˜Ÿ™Ø˜Ÿ	™	Ø˜Ÿ
™
Ø˜Ÿ™Ø˜Ÿ	™	Ø˜Ÿ™Ø˜Ÿ
™
Ø˜Ÿ
™
Ø˜Ÿ™Ø˜Ÿ™ð
ˆð  ��<œ7Ô"¨4°­<×+@Ñ+@À×+EÒ+EØ��L˜CÕ‹Làˆr4   Úsurrogateescapec                óB  € V P                  4       pVP                  4        F  w  rVVe   K  \        RV,          4      h	  V\        8X  d   V P	                  WBV4      # V\
        8X  d   V P                  WBV4      # V\        8X  d   V P                  WB4      # \        R4      h)z<Return a tar header as a string of 512 byte blocks.
        z%s may not be Nonezinvalid format)	rÖ  Úitemsr*   ÚUSTAR_FORMATÚcreate_ustar_headerrL   Úcreate_gnu_headerÚ
PAX_FORMATÚcreate_pax_header)r¡   rP   r0   r1   rÕ  r¢   Úvalues   &&&&   r2   ÚtobufÚTarInfo.tobuf<  s”   € ð �}‰}‹ˆØŸ:™:ž<‰KˆDØŒ}Ü Ð!5¸Õ!<Ó=Ð=ñ (ð ”\Ô!Ø×+Ñ+¨D¸FÓCÐCØ”zÔ!Ø×)Ñ)¨$¸&ÓAÐAØ”zÔ!Ø×)Ñ)¨$Ó9Ð9äÐ-Ó.Ð.r4   c                óD  € \         VR&   \        VR,          P                  W#4      4      \        8”  d   \	        R4      h\        VR,          P                  W#4      4      \
        8”  d#   V P                  VR,          W#4      w  VR&   VR&   V P                  V\        W#4      # )z3Return the object as a ustar header block.
        Úmagicrˆ  zlinkname is too longr¢   Úprefix)	ÚPOSIX_MAGICr,   r+   ÚLENGTH_LINKr*   ÚLENGTH_NAMEÚ_posix_split_nameÚ_create_headerrÛ  )r¡   rÕ  r0   r1   s   &&&&r2   rÜ  ÚTarInfo.create_ustar_headerM  s‹   € ô $ˆˆW‰äˆt�JÕ×&Ñ& xÓ8Ó9¼KÔGÜÐ3Ó4Ð4äˆt�F�|×"Ñ" 8Ó4Ó5¼ÔCØ+/×+AÑ+AÀ$ÀvÅ,ÐPXÓ+aÑ(ˆD�‰N˜D ™Là×"Ñ" 4¬°xÓHÐHr4   c                óŠ  € \         VR&   Rp\        VR,          P                  W#4      4      \        8”  d%   W@P	                  VR,          \
        W#4      ,          p\        VR,          P                  W#4      4      \        8”  d%   W@P	                  VR,          \        W#4      ,          pW@P                  V\        W#4      ,           # )z:Return the object as a GNU header block sequence.
        rä  r4   rˆ  r¢   )
Ú	GNU_MAGICr,   r+   rç  Ú_create_gnu_long_headerÚGNUTYPE_LONGLINKrè  ÚGNUTYPE_LONGNAMErê  rL   )r¡   rÕ  r0   r1   rY   s   &&&& r2   rÝ  ÚTarInfo.create_gnu_headerZ  sž   € ô "ˆˆW‰àˆÜˆt�JÕ×&Ñ& xÓ8Ó9¼KÔGØ×/Ñ/°°ZÕ0@ÔBRÐT\ÓeÕeˆCäˆt�F�|×"Ñ" 8Ó4Ó5¼ÔCØ×/Ñ/°°VµÔ>NÐPXÓaÕaˆCà×(Ñ(¨¬z¸8ÓLÕLÐLr4   c                óÞ  € \         VR&   V P                  P                  4       pRR\        3RR\        3RR3 FI  w  rEpWS9   d   K   W,          P                  RR4       \        Y,          4      T8”  g   K?  Y,          Y5&   KK  	  R F‡  w  rGRpW,          p	\        V	\        4      p
V
'       d   \        V	4      MT	p^ Tu;8:  d   ^V^,
          ,          8  g
   M ^ W&   R	pMV
'       d   W±V&   R	pV'       g   Kr  WC9  g   Kz  \        V	4      W4&   K‰  	  V'       d   V P                  V\        V4      pMR
pWÀP                  V\        RR4      ,           #   \         d    Y,          Y5&    EK3  i ; i)z•Return the object as a ustar header block. If it cannot be
represented this way, prepend a pax extended header sequence
with supplement information.
rä  r¢   rò   rˆ  rÅ  r=   r>   FTr4   rè   )r†  r†  é    )r‡  r‡  ró  ))r#   é   )r$   rô  )r!   é   )r"   rõ  )ræ  r®  rÎ  rè  rç  r+   ÚUnicodeEncodeErrorr,   Ú
isinstanceÚfloatÚroundÚstrÚ_create_pax_generic_headerÚXHDTYPErê  rÛ  )r¡   rÕ  r0   r®  r¢   Úhnamer/   rO   Ú	needs_paxÚvalÚval_is_floatÚval_intrY   s   &&&          r2   rß  ÚTarInfo.create_pax_headerh  sb  € ô
 $ˆˆW‰Ø×&Ñ&×+Ñ+Ó-ˆð
 ˜¤Ð-°
¸JÌÐ/TØ&Ð(>ó$@ÑˆD˜ð Ô#áðØ•
×!Ñ! '¨8Ô4ô
 �4•:‹ Ö'Ø%)¥Z�Ó"ñ!$@ó( R‰LˆDØˆIà•*ˆCÜ% c¬5Ó1ˆLß$0”e˜C”j°cˆGØ˜Ö3 !¨°­
Õ"3Ö3à�‘
Ø ‘	ßð %�T‘
Ø �	÷ ‰y˜TÖ4Ü$'¨£H�Ó!ñ% R÷* Ø×1Ñ1°+¼wÈÓQ‰CàˆCà×(Ñ(¨¬|¸WÀiÓPÕPÐPøôG &ô Ø%)¥Z�Ñ"Ûðús   ÁEÅE,Å+E,c                ó0   € V P                  V\        R4      # )zAReturn the object as a pax global header block sequence.
        r(   )rû  ÚXGLTYPE)Úclsr®  s   &&r2   Úcreate_pax_global_headerÚ TarInfo.create_pax_global_header¢  s   € ð ×-Ñ-¨k¼7ÀGÓLÐLr4   c                óX  € VP                  R4      p\        ^\        V4      4       Fv  pRP                  VRV 4      pRP                  WER 4      p\        VP	                  W#4      4      \
        8:  g   KO  \        VP	                  W#4      4      \        8:  g   Kt   Wa3# 	  \        R4      h)zBSplit a name longer than 100 chars into a prefix
and a name part.
r„  Nzname is too long)rŽ  rC   r,   ro   r+   ÚLENGTH_PREFIXrè  r*   )r¡   r¢   r0   r1   Ú
componentsrH   rå  s   &&&&   r2   ré  ÚTarInfo._posix_split_name¨  s“   € ð —Z‘Z “_ˆ
Ü�qœ#˜j›/Ö*ˆAØ—X‘X˜j¨¨!˜nÓ-ˆFØ—8‘8˜J r˜NÓ+ˆDÜ�6—=‘= Ó2Ó3´}ÖDÜ˜Ÿ™ HÓ5Ó6¼+ÖEØð ˆ|Ðñ +ô Ð/Ó0Ð0r4   c                óž  € V P                  R4      \        \        39   pV'       d<   \        V P                  R^ 4      ^V4      p\        V P                  R^ 4      ^V4      pM\	        R^W#4      p\	        R^W#4      pV P                  R\
        4      pVf   \        R4      h\	        V P                  RR4      ^dW#4      \        V P                  R^ 4      R	,          ^V4      \        V P                  R
^ 4      ^V4      \        V P                  R^ 4      ^V4      \        V P                  R^ 4      ^V4      \        V P                  R^ 4      ^V4      RV\	        V P                  RR4      ^dW#4      V P                  R\        4      \	        V P                  RR4      ^ W#4      \	        V P                  RR4      ^ W#4      VV\	        V P                  RR4      ^›W#4      .p\        P                  ! R\        ,          RP                  V4      4      p	\        V	\        ) R 4      ^ ,          p
V	RR \        RV
,          R4      ,           V	RR ,           p	V	# )zqReturn a header block. info is a dictionary with file
information, format must be one of the *_FORMAT constants.
r«  r¬  r­  r¸   NzTarInfo.type must not be Noner¢   r£   rÓ  r#   r$   r!   r"   s           rˆ  rä  r†  r‡  rå  z%dsr4   z%06o r=   i”þÿÿi›þÿÿ)ÚgetÚCHRTYPEÚBLKTYPErR   r3   r³  r*   ræ  rW   rï   r  ro   r\   rK   )rÕ  rP   r0   r1   Úhas_device_fieldsr¬  r­  ÚfiletypeÚpartsrY   rª  s   &&&&       r2   rê  ÚTarInfo._create_header¸  s  € ð
 !ŸH™H VÓ,´¼'Ð0BÑBÐßÜ˜4Ÿ8™8 J°Ó2°A°vÓ>ˆHÜ˜4Ÿ8™8 J°Ó2°A°vÓ>‰Hä˜2˜q (Ó3ˆHÜ˜2˜q (Ó3ˆHð —8‘8˜F¤GÓ,ˆØÒÜÐ<Ó=Ð=ô �—‘˜ Ó$ c¨8Ó<Ü�—‘˜ Ó# fÕ,¨a°Ó8Ü�—‘˜ Ó" A vÓ.Ü�—‘˜ Ó" A vÓ.Ü�—‘˜ Ó# R¨Ó0Ü�—‘˜ !Ó$ b¨&Ó1ØØÜ�—‘˜ RÓ(¨#¨xÓ@Ø�H‰H�WœkÓ*Ü�—‘˜ "Ó% r¨8Ó<Ü�—‘˜ "Ó% r¨8Ó<ØØÜ�—‘˜ 2Ó&¨¨XÓ>ð
ˆô$ �kŠk˜%¤)Õ+¨S¯X©X°e«_Ó=ˆÜ˜c¤9 * +Ð.Ó/°Õ2ˆØ�%�4ˆjœ5 ¨FÕ!2°GÓ<Õ<¸sÀ4À5¸zÕIˆØˆ
r4   c                óˆ   € \        \        V 4      \        4      w  rV^ 8”  d    V \        V,
          \        ,          ,          p V # )zQReturn the string payload filled with zero bytes
up to the next 512 byte border.
)ra   r,   r  r-   )Úpayloadrh   ri   s   &  r2   Ú_create_payloadÚTarInfo._create_payloadâ  s7   € ô
 #¤3 w£<´Ó;ÑˆØ�qŒ=Øœ	 IÕ-´Õ4Õ4ˆGØˆr4   c                óØ   € VP                  W44      \        ,           p/ pRVR&   W%R&   \        V4      VR&   \        VR&   V P	                  V\
        W44      V P                  V4      ,           # )zAReturn a GNUTYPE_LONGNAME or GNUTYPE_LONGLINK sequence
for name.
z././@LongLinkr¢   r«  r!   rä  )r+   r-   r,   rí  rê  rÛ  r  )r  r¢   r«  r0   r1   rÕ  s   &&&&& r2   rî  ÚTarInfo._create_gnu_long_headerì  sn   € ð
 �{‰{˜8Ó,¬sÕ2ˆàˆØ&ˆˆV‰ØˆV‰Ü˜4“yˆˆV‰Ü!ˆˆW‰ð ×!Ñ! $¬°hÓGØ×#Ñ# DÓ)õ*ð 	*r4   c                ó  € RpVP                  4        F  w  rV VP                  RR4       K  	  RpV'       d
   VR,          pVP                  4        FÍ  w  rVVP                  R4      pV'       d   VP                  VR4      pMVP                  R4      p\        V4      \        V4      ,           ^,           p^ ;rš V\        \	        V
4      4      ,           p	Wš8X  d   MT	p
K'  V\        \	        V
4      R4      R	,           V,           R
,           V,           R,           ,          pKÏ  	  / pRVR&   W+R&   \        V4      VR&   \        VR&   V P                  V\        RR4      V P                  V4      ,           #   \         d	    Rp  EKV  i ; i)zƒReturn a POSIX.1-2008 extended or global header sequence
that contains a list of keyword, value pairs. The values
must be strings.
Fr(   r>   Tr4   s   21 hdrcharset=BINARY
rØ  r=   ó    ó   =ó   
z././@PaxHeaderr¢   r«  r!   rä  rè   )
rÚ  r+   rö  r,   rú  rK   ræ  rê  rÛ  r  )r  r®  r«  r0   ÚbinaryÚkeywordrà  ÚrecordsÚlrG   r9   rÕ  s   &&&&        r2   rû  Ú"TarInfo._create_pax_generic_headerý  sp  € ð ˆØ)×/Ñ/Ö1‰NˆGðØ—‘˜W hÖ/ñ 2ð ˆßàÐ0Õ0ˆGà)×/Ñ/Ö1‰NˆGØ—n‘n WÓ-ˆGßð Ÿ™ XÐ/@ÓA‘àŸ™ WÓ-�ä�G“œs 5›zÕ)¨AÕ-ˆAØˆIˆAØØœœC ›F›•O�Ø”6ØØ’Ø”uœS ›V WÓ-°Õ4°wÕ>ÀÕEÈÕMÐPUÕUÕUŠGñ! 2ð( ˆØ'ˆˆV‰ØˆV‰Ü˜7“|ˆˆV‰Ü#ˆˆW‰ð ×!Ñ! $¬°g¸yÓIØ×#Ñ# GÓ,õ-ð 	-øôI &ô Ø�Üðús   ™E3Å3FÆFc                ó&   € V P                  WV4      # )zªConstruct a TarInfo object from a 512 byte bytes object.

To support the old v7 tar format AREGTYPE headers are
transformed to DIRTYPE headers if their name ends in '/'.
)Ú_frombuf)r  rY   r0   r1   s   &&&&r2   ÚfrombufÚTarInfo.frombuf0  s   € ð �|‰|˜C¨6Ó2Ð2r4   Údircheckc               óf  € \        V4      ^ 8X  d   \        R4      h\        V4      \        8w  d   \        R4      hVP	                  \
        4      \        8X  d   \        R4      h\        VR,          4      pV\        V4      9  d   \        R4      hV ! 4       p\        VR,          W#4      Vn        \        VR,          4      Vn        \        VR,          4      Vn        \        VR	,          4      Vn        \        VR
,          4      Vn        \        VR,          4      Vn        WVn        VR,          Vn        \        VR,          W#4      Vn        \        VR,          W#4      Vn        \        VR,          W#4      Vn        \        VR,          4      Vn        \        VR,          4      Vn        \        VR,          W#4      pV'       dB   VP$                  \0        8X  d-   VP                  P3                  R4      '       d   \4        Vn        VP$                  \6        8X  d�   Rp. p	\9        ^4       FN  p
 \        WV^,            4      p\        W^,           V^,            4      pT	P=                  Y¼34       T^,          pKP  	  \?        VR,          4      p\        VR,          4      pW�V3Vn         VPC                  4       '       d!   VP                  PE                  R4      Vn        V'       d5   VP$                  \F        9  d    VR,           VP                  ,           Vn        V#   \:         d      K°  i ; i)a4  Construct a TarInfo object from a 512 byte bytes object.

If ``dircheck`` is set to ``True`` then ``AREGTYPE`` headers will
be normalized to ``DIRTYPE`` if the name ends in a trailing slash.
``dircheck`` must be set to ``False`` if this function is called
on a follow-up header such as ``GNUTYPE_LONGNAME``.
zempty headerztruncated headerzend of file header:é”   éœ   Nzbad checksum:r  éd   N:r+  él   N:r,  ét   N:r-  é|   N:r.  éˆ   N:r/  r)  N:r*  é�   N:r0  i  N:i	  i)  N:i)  iI  N:iI  iQ  N:iQ  iY  N:iY  iô  Nr„  i‚  iâ  :iã  iï  N)$r,   rŒ   r  rŽ   Úcountr-   r�   rI   r\   rF   r:   r¢   r£   r#   r$   r!   r"   rª  r«  rˆ  r†  r‡  r¬  r­  ÚAREGTYPErñ   rÔ  ÚGNUTYPE_SPARSErC   r*   rn   Úboolr°  r“  r–  Ú	GNU_TYPES)r  rY   r0   r1   r'  rª  Úobjrå  rÊ   ÚstructsrH   r-  ÚnumbytesÚ
isextendedÚorigsizes   &&&&$          r2   r$  ÚTarInfo._frombuf9  su  € ô ˆs‹8�qŒ=Ü" >Ó2Ð2Üˆs‹8”yÔ Ü&Ð'9Ó:Ð:Ø�9‰9”S‹>œYÔ&Ü Ð!5Ó6Ð6ä�S˜•\Ó"ˆØœ cÓ*Ô*Ü$ ^Ó4Ð4á‹eˆÜ�s˜5•z 8Ó4ˆŒÜ�s˜7•|Ó$ˆŒÜ�c˜'•lÓ#ˆŒÜ�c˜'•lÓ#ˆŒÜ�s˜7•|Ó$ˆŒÜ˜˜G�Ó%ˆŒ	ØŒ
Ø�w•<ˆŒÜ˜3˜w�<¨Ó:ˆŒÜ˜˜G� hÓ7ˆŒ	Ü˜˜G� hÓ7ˆŒ	Ü˜3˜w�<Ó(ˆŒÜ˜3˜w�<Ó(ˆŒÜ�S˜•\ 8Ó4ˆ÷ ˜Ÿ™¤HÔ,°·±×1BÑ1BÀ3×1GÒ1GÜˆCŒHð
 �8‰8”~Ô%ØˆCØˆGÜ˜1–X�ðÜ  ¨¨r­Ð!2Ó3�FÜ" 3¨R¥x°°bµÐ#9Ó:�Hð —‘ Ð1Ô2Ø�r•	’ñ ô ˜c #�h›ˆJÜ˜3˜w�<Ó(ˆHØ#*¸Ð"AˆCÔð �9‰9�;Š;Ø—x‘x—‘ sÓ+ˆCŒH÷ �c—h‘h¤iÔ/Ø •| c§h¡hÕ.ˆCŒHØˆ
øô "ô Ûðús   È1/L Ì L0Ì/L0c                ó$   € V P                  V4      # )z<Return the next TarInfo object from TarFile object
tarfile.
)Ú_fromtarfile)r  r_  s   &&r2   ÚfromtarfileÚTarInfo.fromtarfile}  s   € ð
 ×Ñ Ó(Ð(r4   c               ó  € VP                   P                  \        4      pV P                  W1P                  VP
                  VR7      pVP                   P                  4       \        ,
          Vn        VP                  V4      # )z+
See dircheck documentation in _frombuf().
©r'  )	rp   rb   r  r$  r0   r1   r	  r-  Ú_proc_member)r  r_  r'  rY   r6  s   &&$  r2   r=  ÚTarInfo._fromtarfile„  s`   € ð
 �o‰o×"Ñ"¤9Ó-ˆØ�l‰l˜3× 0Ñ 0°'·.±.È8ˆlÓTˆØ—_‘_×)Ñ)Ó+¬iÕ7ˆŒ
Ø×Ñ Ó(Ð(r4   c                ó*  € V P                   \        \        39   d   V P                  V4      # V P                   \        8X  d   V P                  V4      # V P                   \        \        \        39   d   V P                  V4      # V P                  V4      # )zFChoose the right processing method depending on
the type and call it.
)r«  rð  rï  Ú_proc_gnulongr3  Ú_proc_sparserü  r  ÚSOLARIS_XHDTYPEÚ	_proc_paxÚ_proc_builtin)r¡   r_  s   &&r2   rB  ÚTarInfo._proc_member™  sx   € ð �9‰9Ô)Ô+;Ð<Ô<Ø×%Ñ% gÓ.Ð.Ø�Y‰Yœ.Ô(Ø×$Ñ$ WÓ-Ð-Ø�Y‰Yœ7¤G¬_Ð=Ô=Ø—>‘> 'Ó*Ð*à×%Ñ% gÓ.Ð.r4   c                óÎ  € VP                   P                  4       V n        V P                  pV P                  4       '       g   V P                  \
        9  d"   W P                  V P                  4      ,          pW!n        V P                  VP                  VP                  VP                  4       V P                  4       '       d!   V P                  P                  R4      V n        V # )zSProcess a builtin type or an unknown type which
will be treated as a regular file.
r„  )rp   r	  r\  r‘  r«  ÚSUPPORTED_TYPESÚ_blockr!   r-  Ú_apply_pax_infor®  r0   r1   r“  r¢   r–  )r¡   r_  r-  s   && r2   rI  ÚTarInfo._proc_builtin¦  s    € ð #Ÿ?™?×/Ñ/Ó1ˆÔØ×!Ñ!ˆØ�:‰:�<Š<˜4Ÿ9™9¬OÔ;à—k‘k $§)¡)Ó,Õ,ˆFØŒð 	×Ñ˜W×0Ñ0°'×2BÑ2BÀGÇNÁNÔSð �:‰:�<Š<ØŸ	™	×(Ñ(¨Ó-ˆDŒIàˆr4   c                óT  € \        VP                  V P                  V P                  4      4      p V P	                  VRR7      pT P                  Tn        T P                  \        8X  d'   \        Y!P                  TP                  4      Tn        M:T P                  \        8X  d&   \        Y!P                  TP                  4      Tn        TP#                  4       '       d!   TP                  P%                  R4      Tn        T#   \
         d   p\        \        T4      4      RhRp?ii ; i)z@Process the blocks that hold a GNU longname
or longlink member.
FrA  Nr„  )rs   rp   rM  r!   r=  r
   r“   rú  r-  r«  rð  r:   r0   r1   r¢   rï  rˆ  r“  Úremovesuffix)r¡   r_  rY   Únextr  s   &&   r2   rE  ÚTarInfo._proc_gnulong¼  sÝ   € ô ˜Ÿ™¨$¯+©+°d·i±iÓ*@ÓAˆð	:Ø×$Ñ$ W°uÐ$Ó=ˆDð —k‘kˆŒØ�9‰9Ô(Ô(Ü˜C×!1Ñ!1°7·>±>ÓBˆD�IØ�Y‰YÔ*Ô*Ü ×%5Ñ%5°w·~±~ÓFˆDŒMð �:‰:�<Š<ØŸ	™	×.Ñ.¨sÓ3ˆDŒIàˆøô! ô 	:Ü'¬¨A«Ó/°TÐ9ûð	:ús   ±D ÄD'ÄD"Ä"D'c                óZ  € V P                   w  r#pV = V'       d£   VP                  P                  \        4      p^ p\	        ^4       F^  p \        WVV^,            4      p\        WV^,           V^,            4      p	T'       d   T	'       d   TP                  Y‰34       T^,          pK`  	  \        VR,          4      pKª  W n	        VP                  P                  4       V n        V P                  V P                  V P                  4      ,           Vn        W@n        V #   \         d      K�  i ; i)z8Process a GNU sparse header plus extra headers.
        iø  )r°  rp   rb   r  rC   rI   r*   rn   r4  r]  r	  r\  rM  r!   r-  )
r¡   r_  r7  r9  r:  rY   rÊ   rH   r-  r8  s
   &&        r2   rF  ÚTarInfo._proc_sparse×  sú   € ð )-×(<Ñ(<Ñ%ˆ˜XØÐ ÷ Ø—/‘/×&Ñ&¤yÓ1ˆCØˆCÜ˜2–Y�ðÜ  ¨¨r­Ð!2Ó3�FÜ" 3¨R¥x°°bµÐ#9Ó:�H÷ ŸhØ—N‘N FÐ#5Ô6Ø�r•	’ñ ô ˜c #�h›ŠJØŒà"Ÿ?™?×/Ñ/Ó1ˆÔØ×)Ñ)¨D¯K©K¸¿	¹	Ó,BÕBˆŒØŒ	Øˆøô "ô Ûðús   Á
/DÄD*Ä)D*c                óâ  € \        VP                  V P                  V P                  4      4      pV P                  \
        8X  d   VP                  pMVP                  P                  4       p^ pRp. p\        V4      V8”  Ed8   W$,          ^ 8w  Ed*   \        P                  W$4      ;p'       g   \        R4      h \        VP                  ^4      4      pT^8  d   \        R4      hYH,           \        T4      8”  d   \        R4      hTP                  ^4      T,           ^,
          p	Y'P!                  ^4      ^,           T	 p
T
P#                  R4      w  r¼pT'       d   TR8w  g   Y),          ^
8w  d   \        R4      hTP%                  Y‹T34       TR8X  d   Tf   TR8X  d   TP&                  pMRpYH,          pEKH  Vf   RpV Fy  w  r‹pV P)                  VRRVP*                  4      pV\,        9   d)   V P)                  WÕVP&                  VP*                  4      pMV P)                  VRRVP*                  4      pWóV&   K{  	   V P/                  VRR7      pR	T9   d   T P7                  TT4       MXR
T9   d   T P9                  TT4       M>TP;                  R4      R8X  d)   TP;                  R4      R8X  d   T P=                  TY14       T P                  \>        \@        39   d»   TPC                  Y1P&                  TP*                  4       RT9   d}   TPD                  \F        ,           pTPI                  4       '       g   TP                  \J        9  d4    \L        R,          ! TR,          4      pTTP                  T4      ,          pTTn"        T PD                  Tn"        T#   \         d    \        R4      hi ; i  \0         d   p\3        \5        T4      4      RhRp?ii ; i  \         d    ^ p Lƒi ; i)zCProcess an extended or global header as described in
POSIX.1-2008.
Nr@   r  s
   hdrcharsets   BINARYr(   FrA  úGNU.sparse.mapúGNU.sparse.sizezGNU.sparse.majorÚ1zGNU.sparse.minorr?   r!   )'rs   rp   rM  r!   r«  r  r®  rÎ  r,   Ú_header_length_prefix_reÚmatchrF   rD   Úgroupr*   rP  rw   Ú	partitionrn   r0   Ú_decode_pax_fieldr1   ÚPAX_NAME_FIELDSr=  r
   r“   rú  Ú_proc_gnusparse_01Ú_proc_gnusparse_00r  Ú_proc_gnusparse_10rü  rG  rN  r-  r  r‘  rL  ÚPAX_NUMBER_FIELDS)r¡   r_  rY   r®  rÊ   r0   Úraw_headersr[  r/   Úheader_value_end_offsetÚkeyword_and_valueÚraw_keywordÚequalsÚ	raw_valuer  rà  rR  r  r-  r!   s   &&                  r2   rH  ÚTarInfo._proc_paxó  s‡  € ô
 ˜Ÿ™¨$¯+©+°d·i±iÓ*@ÓAˆð
 �9‰9œÔØ!×-Ñ-‰Kà!×-Ñ-×2Ñ2Ó4ˆKð ˆØˆØˆÜ�#‹h˜�n ¥¨TÕ!1Ü5×;Ñ;¸CÓEÐE�EÖEÜ(Ð)9Ó:Ð:ð;Ü˜UŸ[™[¨›^Ó,�ð
 ˜ŒzÜ(Ð)9Ó:Ð:Ø�|œc #›hÔ&Ü(Ð)9Ó:Ð:à&+§k¡k°!£n°vÕ&=ÀÕ&AÐ#Ø #§I¡I¨a£L°1Õ$4Ð5LÐ MÐØ->×-HÑ-HÈÓ-NÑ*ˆK ÷  &¨D¤.°CÕ4PÐTXÔ4XÜ(Ð)9Ó:Ð:Ø×Ñ °YÐ?Ô@ð ˜mÔ+°Ò0@Ø 	Ô)Ø&×/Ñ/‘Hà&�Hà�M‹Cð ÒØˆHó /:Ñ*ˆF ð ×,Ñ,¨[¸'À7Ø—N‘Nó$ˆGàœ/Ô)Ø×.Ñ.¨yÀG×DTÑDTØŸ™ó(‘ð ×.Ñ.¨y¸'À7ØŸ™ó(�ð $)˜Ó ñ# /:ð(	:Ø×$Ñ$ W°uÐ$Ó=ˆDð
 ˜{Ô*à×#Ñ# D¨+Õ6à +Ô-à×#Ñ# D¨+Õ6à�_‰_Ð/Ó0°CÔ7¸K¿O¹OÐL^Ó<_ÐcfÔ<fà×#Ñ# D¨+Ô?à�9‰9œ¤/Ð2Ô2à× Ñ  ×.>Ñ.>ÀÇÁÔOà˜Ô$ð Ÿ™¤yÕ0�Ø—:‘:—<’< 4§9¡9´OÔ#Cð!Ü0°Ö8¸ÀVÕ9LÓM˜ð ˜dŸk™k¨$Ó/Õ/�FØ!'�”àŸ+™+ˆDŒKàˆøôC ô ;Ü(Ð)9Ó:Ð:ð;ûô| ô 	:Ü'¬¨A«Ó/°TÐ9ûð	:ûô8 &ô !Ø šð!ús6   Â:N É N6 ÍO ÎN3Î6OÏOÏOÏO.Ï-O.c                óˆ  € . p. pV Fj  w  rVpVR8X  d,    VP                  \        VP                  4       4      4       K8  VR8X  g   KA   VP                  \        VP                  4       4      4       Kl  	  \        \        W44      4      Vn        R#   \         d    \	        R4      hi ; i  \         d    \	        R4      hi ; i)z?Process a GNU tar extended sparse header, version 0.0.
        s   GNU.sparse.offsetr@   s   GNU.sparse.numbytesN)rn   rD   r8   r*   rF   ÚlistÚzipr]  )r¡   rR  rd  Úoffsetsr8  Ú_r  rà  s   &&&     r2   ra  ÚTarInfo._proc_gnusparse_00q  sµ   € ð ˆØˆÛ!,ÑˆA˜ØÐ.Ô.ð?Ø—N‘N¤3 u§|¡|£~Ó#6Ö7ð Ð2Ö2ð?Ø—O‘O¤C¨¯©«Ó$7Ö8ñ "-ô œ3˜wÓ1Ó2ˆŽøô "ô ?Ü,Ð-=Ó>Ð>ð?ûô "ô ?Ü,Ð-=Ó>Ð>ð?ús   •(BÁ	(B*ÂB'Â*Cc                óÀ   € VR,          P                  R4       Uu. uF  p\        V4      NK  	  pp\        \        VR,          VR,          4      4      Vn        R# u upi )z?Process a GNU tar extended sparse header, version 0.1.
        rW  Ú,ºNNé   ºé   Nrt  N)rŽ  rD   rl  rm  r]  )r¡   rR  r®  Úxr]  s   &&&  r2   r`  ÚTarInfo._proc_gnusparse_01…  sP   € ð #.Ð.>Õ"?×"EÑ"EÀcÔ"JÓKÑ"J˜Q”#�a–&Ñ"JˆÐKÜœ3˜v c�{¨F°4­LÓ9Ó:ˆŽùò Ls   ›Ac                óþ  € Rp. pVP                   P                  \        4      pVP                  R^4      w  rF\	        V4      p\        V4      V^,          8  d]   RV9  d&   WcP                   P                  \        4      ,          pVP                  R^4      w  rvVP                  \	        V4      4       Ks  VP                   P                  4       Vn        \        \        VR,          VR,          4      4      Vn        R# )z?Process a GNU tar extended sparse header, version 1.0.
        Nr  rs  ru  )rp   rb   r  rŽ  rD   r,   rn   r	  r\  rl  rm  r]  )r¡   rR  r®  r_  Úfieldsr]  rY   Únumbers   &&&&    r2   rb  ÚTarInfo._proc_gnusparse_10‹  s¾   € ð ˆØˆØ�o‰o×"Ñ"¤9Ó-ˆØ—i‘i  qÓ)‰ˆÜ�V“ˆÜ�&‹k˜F Q�JÔ&Ø˜CÔØ—‘×+Ñ+¬IÓ6Õ6�ØŸ)™) E¨1Ó-‰KˆFØ�M‰Mœ#˜f›+Ö&Ø"Ÿ?™?×/Ñ/Ó1ˆÔÜœ3˜v c�{¨F°4­LÓ9Ó:ˆŽr4   c                óÐ  € VP                  4        F©  w  rEVR8X  d   \        V RV4       K  VR8X  d   \        V R\        V4      4       K:  VR8X  d   \        V R\        V4      4       KY  V\        9   g   Kf  V\        9   d    \        V,          ! V4      pVR8X  d   VP                  R4      p\        WV4       K«  	  VP                  4       V n        R#   \
         d    ^ p LNi ; i)z\Replace fields with supplemental information from a previous
pax extended or global header.
zGNU.sparse.namerò   rX  r!   zGNU.sparse.realsizer„  N)	rÚ  ÚsetattrrD   Ú
PAX_FIELDSrc  r*   r–  rÎ  r®  )r¡   r®  r0   r1   r  rà  s   &&&&  r2   rN  ÚTarInfo._apply_pax_info›  sÐ   € ð *×/Ñ/Ö1‰NˆGØÐ+Ô+Ü˜˜f eÖ,ØÐ-Ô-Ü˜˜f¤c¨%£jÖ1ØÐ1Ô1Ü˜˜f¤c¨%£jÖ1ØœJÖ&ØÔ/Ô/ð"Ü 1°'Ö :¸5Ó A˜ð ˜fÔ$Ø!ŸL™L¨Ó-�EÜ˜ uÖ-ñ 2ð" '×+Ñ+Ó-ˆÖøô &ô "Ø !šð"ús   ÂCÃC%Ã$C%c                ól   €  VP                  VR4      #   \         d    TP                  Y44      u # i ; i)z1Decode a single field from a pax record.
        r>   )r8   ÚUnicodeDecodeError)r¡   rà  r0   Úfallback_encodingÚfallback_errorss   &&&&&r2   r^  ÚTarInfo._decode_pax_field²  s:   € ð	DØ—<‘< ¨(Ó3Ð3øÜ!ô 	DØ—<‘<Ð 1ÓCÒCð	Dús   ‚ ”3²3c                ó†   € V^ 8  d   \        R4      h\        V\        4      w  r#V'       d
   V^,          pV\        ,          # )zLRound up a byte count by BLOCKSIZE and return it,
e.g. _block(834) => 1024.
zinvalid offset)rF   ra   r  )r¡   r1  rh   ri   s   &&  r2   rM  ÚTarInfo._blockº  s=   € ð
 �1Œ9Ü$Ð%5Ó6Ð6Ü" 5¬)Ó4ÑˆßØ�a�KˆFØœ	Õ!Ð!r4   c                ó(   € V P                   \        9   # ©z4Return True if the Tarinfo object is a regular file.)r«  ÚREGULAR_TYPESr©   s   &r2   r‘  ÚTarInfo.isregÆ  s   € à�y‰yœMÑ)Ð)r4   c                ó"   € V P                  4       # r‰  )r‘  r©   s   &r2   ÚisfileÚTarInfo.isfileÊ  s   € à�z‰z‹|Ðr4   c                ó(   € V P                   \        8H  # )z!Return True if it is a directory.)r«  rÔ  r©   s   &r2   r“  ÚTarInfo.isdirÎ  ó   € à�y‰yœGÑ#Ð#r4   c                ó(   € V P                   \        8H  # )z%Return True if it is a symbolic link.)r«  ÚSYMTYPEr©   s   &r2   r”  ÚTarInfo.issymÒ  r‘  r4   c                ó(   € V P                   \        8H  # )z!Return True if it is a hard link.)r«  ÚLNKTYPEr©   s   &r2   r’  ÚTarInfo.islnkÖ  r‘  r4   c                ó(   € V P                   \        8H  # )z(Return True if it is a character device.)r«  r  r©   s   &r2   ÚischrÚTarInfo.ischrÚ  r‘  r4   c                ó(   € V P                   \        8H  # )z$Return True if it is a block device.)r«  r  r©   s   &r2   ÚisblkÚTarInfo.isblkÞ  r‘  r4   c                ó(   € V P                   \        8H  # )zReturn True if it is a FIFO.)r«  ÚFIFOTYPEr©   s   &r2   ÚisfifoÚTarInfo.isfifoâ  s   € à�y‰yœHÑ$Ð$r4   c                ó   € V P                   R J# r§   )r]  r©   s   &r2   ÚissparseÚTarInfo.issparseæ  s   € Ø�{‰{ $Ð&Ð&r4   c                ó>   € V P                   \        \        \        39   # )zCReturn True if it is one of character device, block device or FIFO.)r«  r  r  rŸ  r©   s   &r2   ÚisdevÚTarInfo.isdevé  s   € à�y‰yœW¤g¬xÐ8Ñ8Ð8r4   )r¯  rª  r¬  r­  r$   r‡  rˆ  r£   r"   r¢   r-  r\  r®  r!   r]  r«  r#   r†  r~   )r¸   ):r€   r�   r‚   rƒ   r„   ÚdictÚ	__slots__r¤   rX  r_  Úsetterrò   rÅ  rÊ  rÌ  rè   rÖ  ÚDEFAULT_FORMATÚENCODINGrá  rÜ  rÝ  rß  Úclassmethodr  ré  Ústaticmethodrê  r  rî  rû  r%  r$  r>  r=  rB  rI  rE  rF  rH  ra  r`  rb  rN  r^  rM  r‘  r�  r“  r”  r’  r™  rœ  r   r£  r¦  r…   r±   r²   s   @r2   r   r   ž  s+  ø‡ € ññ ò 
Ù,ð
á!ð
ñ Gð
ñ Hð	
ñ
  ð
ñ -ð
ñ $ð
ñ+ð
ñ;ð
ñ  ð!
ñ" ð#
ñ$ *ð%
ñ& *ð'
ñ( /ð)
ñ* 5ð+
ñ,*ð-
ñ2 .ð3
ñ4 ð5
ñ6 ð7
ñ8 ð9
€Iô>ð0 ñó ðð ‡^�^ñ ó ð ð ñó ðð 
‡[�[ñó ðð ñó ðð ‡_�_ñ!ó ð!òOðØðØ"'ðØ.3ðØ>Cðàðà$ðà,1ðà9>ðð ðð "'ôò8ð8 *°HÐEVô /ò"IòMò8Qðt ñMó ðMò
ð  ñ'ó ð'ðR ñó ðð ñ*ó ð*ð  ñ0-ó ð0-ðd ñ3ó ð3ð ðA¸ó Aó ðAðF ñ)ó ð)ð ð)¨tó )ó ð)ò(/òò,ò6ò8|ò|3ò(;ò;ò .ò.Dò
"ò*òò$ò$ò$ò$ò$ò%ò'÷9ð 9r4   c            
       ó(  a € ] tR tRt o Rt^ tRtRt^t]	t
]tRt]t]tRtRBR lt]RRR]3R l4       t]RCR l4       t]RDR	 l4       t]RDR
 l4       t]RER l4       t]RFR l4       tRRRRRRRRRR/tR tR tR tR t RGR lt!RHRR/R llt"RIRR/R llt#RJR  lt$R! t%RKR"RRR/R# llt&R$ t'RLR"RRR/R% llt(R& t)RJR' lt*R( t+R) t,R* t-RMR+RR,R/R- llt.R. t/R/ t0R0 t1R1 t2R2 t3R3 t4R4 t5R5 t6R6 t7R7 t8R8 t9RNR9 lt:R: t;RJR; lt<R< t=R= t>R> t?R? t@R@ tARAtBV tCR# )Or   iî  z=The TarFile Class provides an interface to tar archives.
    FNr—   c                ó®  € RRRRRRRR/pW/9  d   \        R	4      hW n        Wò,          V n        V'       gb   V P                  R8X  d4   \        P                  P                  V4      '       g   RV n        RV n        \        WP                  4      pR
V n        MrVfE   \        VR4      '       d3   \        VP                  \        \        34      '       d   VP                  p\        VR4      '       d   VP                  V n        RV n        V'       d    \        P                  P                  V4      MRV n
        W0n        Wàn        Ve   W@n        Ve   WPn        Ve   W`n        Ve   Wpn        Ve   W€n        W�n        V
e   V P                   \,        8X  d   W n        M/ V n        Ve   W°n        Ve   WÀn        WÐn        R
V n        . V n        R
V n        V P                  P=                  4       V n        / V n         / V n!        / V n"         V P                  R8X  d   RV n#        V PI                  4       V n#        V P                  R8X  d`    V P                  PK                  V P>                  4        V P"                  PM                  V 4      pV P8                  PO                  V4       K_  V P                  R9   dŽ   RV n        V P.                  '       ds   V P"                  PW                  V P.                  PY                  4       4      pV P                  P[                  V4       V ;P>                  \]        V4      ,          un        R# R# R#   \P         d*    T P                  PK                  T P>                  4        KÓ  \R         d   p\U        \        T4      4      RhRp?ii ; i   T P                  '       g   T P                  P_                  4        RT n        h ; i)aŒ  Open an (uncompressed) tar archive 'name'. 'mode' is either 'r' to
read from an existing archive, 'a' to append data to an existing
file or 'w' to create a new file overwriting an existing one. 'mode'
defaults to 'r'.
If 'fileobj' is given, it is used for reading or writing data. If it
can be determined, 'mode' is overridden by 'fileobj's mode.
'fileobj' is not closed, when TarFile is closed.
r—   r8  Úazr+br˜   Úwbrw  Úxbú!mode must be 'r', 'a', 'w' or 'x'FNr¢   r£   T©r±  r˜   rw  )0r*   r£   Ú_moderš   rò   ÚexistsÚ	bltn_openrÅ   rŸ   r÷  r¢   rú  rK   Úabspathrp   ÚstreamrP   r`  ÚdereferenceÚignore_zerosr0   r1   rÞ  r®  ÚdebugÚ
errorlevelÚcopybufsizerË   ÚmembersÚ_loadedr	  r-  ÚinodesÚ_unamesÚ_gnamesÚfirstmemberrR  r  r>  rn   r�   r
   r   r  rÎ  rc   r,   r¨   )r¡   r¢   r£   rp   rP   r`  r»  r¼  r0   r1   r®  r½  r¾  r¿  rº  Úmodesr  rY   s   &&&&&&&&&&&&&&&   r2   r¤   ÚTarFile.__init__
  s  € ð �d˜C ¨¨T°3¸Ð=ˆØÔÜÐ@ÓAÐAØŒ	Ø•[ˆŒ
çØ�y‰y˜CÔ¬¯©¯©°t×(<Ò(<à�”	Ø!�”
Ü §j¡jÓ1ˆGØ$ˆDÕà’¤¨°&×!9Ò!9Ü˜7Ÿ<™<¬#¬u¨×6Ò6Ø—|‘|�Ü�w ×'Ò'Ø$Ÿ\™\�”
Ø#ˆDÔß-1”B—G‘G—O‘O DÔ)°tˆŒ	ØŒàŒð ÒØ ŒKØÒØ"ŒLØÒ"Ø*ÔØÒ#Ø ,ÔØÒØ$ŒMØŒàÒ" t§{¡{´jÔ'@Ø*Õà!ˆDÔàÒØŒJØÒ!Ø(ŒOð 'ÔØˆŒØˆŒØˆŒØ—l‘l×'Ñ'Ó)ˆŒàˆŒàˆŒØˆŒð	Ø�y‰y˜CÔØ#'�Ô Ø#'§9¡9£;�Ô à�y‰y˜CÔð Ø—L‘L×%Ñ% d§k¡kÔ2ð:Ø"&§,¡,×":Ñ":¸4Ó"@˜ØŸ™×+Ñ+¨GÖ4ð �y‰y˜OÔ+Ø#�”à×#×#Ð#ØŸ,™,×?Ñ?À×@PÑ@P×@UÑ@UÓ@WÓX�CØ—L‘L×&Ñ& sÔ+Ø—K’K¤3 s£8Õ+—Kñ $ñ ,øô *ô ØŸ™×)Ñ)¨$¯+©+Ô6ÚÜ&ô :Ü'¬¨A«Ó/°TÐ9ûð:ûð	Ø×#×#Ð#Ø—‘×"Ñ"Ô$ØˆDŒKØúsJ   ÈA$N É,6M Ê"+N ËA0N Í0NÍ4N Í7NÎ NÎNÎNÎN Î6Oc           	     óÔ  a € V'       g   V'       g   \        R4      hVR9   dƒ   V 3R lp. p\        S P                  VR7       F@  p\        S S P                  V,          4      p	Ve   VP	                  4       p
 V	! VRV3/ VB u # 	  RP                  V4      p\        R	V 24      hR
V9   dx   VP                  R
^4      w  rØT;'       g    RpT;'       g    RpVS P                  9   d   \        S S P                  V,          4      p	M\        RV,          4      hV	! WV3/ VB # RV9   d·   VP                  R^4      w  rØT;'       g    RpT;'       g    RpVR9  d   \        R4      hRV9   d   VR9  d   \        R4      hRV9   d   VR9  d   \        R4      hVP                  R^	4      pVP                  RR4      p\        WWƒVWï4      p S ! WV3/ VB pRTn        T# VR9   d   S P                  ! WV3/ VB # \        R4      h  \
        \        3 d:   pTP                  RT RT: 24       Te   TP                  X
4        Rp?EK	  Rp?ii ; i   TP                  4        h ; i)a¤  Open a tar archive for reading, writing or appending. Return
an appropriate TarFile class.

mode:
'r' or 'r:*' open for reading with transparent compression
'r:'         open for reading exclusively uncompressed
'r:gz'       open for reading with gzip compression
'r:bz2'      open for reading with bzip2 compression
'r:xz'       open for reading with lzma compression
'r:zst'      open for reading with zstd compression
'a' or 'a:'  open for appending, creating the file if necessary
'w' or 'w:'  open for writing without compression
'w:gz'       open for writing with gzip compression
'w:bz2'      open for writing with bzip2 compression
'w:xz'       open for writing with lzma compression
'w:zst'      open for writing with zstd compression

'x' or 'x:'  create a tarfile exclusively without compression, raise
             an exception if the file is already created
'x:gz'       create a gzip compressed tarfile, raise an exception
             if the file is already created
'x:bz2'      create a bzip2 compressed tarfile, raise an exception
             if the file is already created
'x:xz'       create an lzma compressed tarfile, raise an exception
             if the file is already created
'x:zst'      create a zstd compressed tarfile, raise an exception
             if the file is already created

'r|*'        open a stream of tar blocks with transparent compression
'r|'         open an uncompressed stream of tar blocks for reading
'r|gz'       open a gzip compressed stream of tar blocks
'r|bz2'      open a bzip2 compressed stream of tar blocks
'r|xz'       open an lzma compressed stream of tar blocks
'r|zst'      open a zstd compressed stream of tar blocks
'w|'         open an uncompressed stream for writing
'w|gz'       open a gzip compressed stream for writing
'w|bz2'      open a bzip2 compressed stream for writing
'w|xz'       open an lzma compressed stream for writing
'w|zst'      open a zstd compressed stream for writing
znothing to openr—   c                 ó0   <€ SP                   V ,          R 8H  # )Útaropen)Ú	OPEN_METH)rÉ   r  s   &€r2   Únot_compressedÚ$TarFile.open.<locals>.not_compressed­  s   ø€ Ø—}‘} XÕ.°)Ñ;Ð;r4   )ÚkeyNz	- method z: Ú
z'file could not be opened successfully:
Ú:rÃ   rÄ   Ú|zmode must be 'r' or 'w'rà   z4compresslevel is only valid for w|gz and w|bz2 modesr¿   z"preset is only valid for w|xz modeFzundiscernible mode)r—   úr:*)r—   r˜   )r¹   rº   )r¼   rµ  )r*   ÚsortedrË  rx   r	  r   r   rn   r  ro   rŽ  Úpoprµ   r¨   rÅ   rÊ  )r  r¢   r£   rp   rg   ÚkwargsrÌ  Ú
error_msgsrÉ   ÚfuncÚ	saved_posr  Úerror_msgs_summaryÚfilemoderà   r¿   rº  r  s   f&&&&,            r2   r   ÚTarFile.open}  s{  ø€ ÷V ŸGÜÐ.Ó/Ð/à�<Ôõ<àˆJÜ" 3§=¡=°n×E�Ü˜s C§M¡M°(Õ$;Ó<�ØÒ&Ø '§¡£�IðÙ  c¨7Ñ=°fÑ=Ò=ñ Fð "&§¡¨:Ó!6ÐÜÐFÐGYÐFZÐ[Ó\Ð\à�DŒ[Ø!%§¡¨C°Ó!3ÑˆHØ—� 3ˆHØ×(Ð( 5ˆHð ˜3Ÿ=™=Ô(Ü˜s C§M¡M°(Õ$;Ó<‘ä&Ð'DÀxÕ'OÓPÐPÙ˜¨Ñ:°6Ñ:Ð:à�DŒ[Ø!%§¡¨C°Ó!3ÑˆHØ—� 3ˆHØ×(Ð( 5ˆHà˜zÔ)Ü Ð!:Ó;Ð;Ø &Ô(¨X¸]Ô-JÜ ØJóð ð ˜6Ô! h°gÔ&=Ü Ð!EÓFÐFà"ŸJ™J ¸Ó:ˆMØ—Z‘Z ¨$Ó/ˆFÜ˜T¨XÀØ*ó4ˆFðÙ˜¨Ñ9°&Ñ9�ð "ˆAŒMØˆHà�_Ô$Ø—;’;˜t¨7Ñ=°fÑ=Ð=äÐ-Ó.Ð.øôe "Ô#3Ð4ô Ø×%Ñ%¨	°(°¸2¸a¹UÐ&CÔDØÒ*ØŸ™ YÔ/Þûð	ûðRØ—‘”Øús$   Á8
HÇ
I ÈIÈ-IÉIÉI'c                ó:   € VR9  d   \        R4      hV ! WV3/ VB # )zCOpen uncompressed tar archive name for reading or writing.
        r´  )r—   r±  r˜   rw  )r*   )r  r¢   r£   rp   rÕ  s   &&&&,r2   rÊ  ÚTarFile.taropenê  s+   € ð Ð+Ô+ÜÐ@ÓAÐAÙ�4˜wÑ1¨&Ñ1Ð1r4   c                ó®  € VR	9  d   \        R4      h ^ RIHp  T! YR,           YC4      p T P                  ! YT3/ TB pRTn	        T#   \         d    \	        R4      Rhi ; i  \
         d   pTe   TR8X  d   \        R4      Thh Rp?ii ; i  \
         d*   pTP                  4        TR8X  d   \        R4      Thh Rp?i TP                  4        h ; i)
zXOpen gzip compressed tar archive name for reading or writing.
Appending is not allowed.
r—   úmode must be 'r', 'w' or 'x')ÚGzipFilezgzip module is not availableNrj   r   F©r—   r˜   rw  )
r*   Úgziprà  rÍ   r   rÖ   r   rÊ  r¨   rÅ   )	r  r¢   r£   rp   rà   rÕ  rà  r  r  s	   &&&&&,   r2   ÚgzopenÚTarFile.gzopenò  së   € ð
 �Ô&ÜÐ;Ó<Ð<ð	MÝ%ð	Ù˜t¨C¥Z°ÓHˆGð		Ø—’˜D¨Ñ:°6Ñ:ˆAð ˆŒØˆøô+ ô 	MÜ"Ð#AÓBÈÐLð	Mûô
 ô 	ØÒ" t¨s¤{ÜÐ 1Ó2¸Ð9Øûð	ûô ô 	Ø�M‰MŒOØ�sŒ{ÜÐ 1Ó2¸Ð9Øûð	Ø�M‰MŒOØús9   ”A	 ›A$ ¬B Á	A!Á$BÁ/BÂBÂCÂ$B>Â>Cc                ój  € VR	9  d   \        R4      h ^ RIHp T! T;'       g    TY$R7      p T P
                  ! YT3/ TB pRTn
        T#   \         d    \	        R4      Rhi ; i  \        \        3 d*   pTP                  4        TR8X  d   \        R4      Thh Rp?i TP                  4        h ; i)
zYOpen bzip2 compressed tar archive name for reading or writing.
Appending is not allowed.
r—   rß  )ÚBZ2Filer»   N)rà   znot a bzip2 fileFrá  )r*   rº   ræ  rÍ   r   rÊ  rÖ   ÚEOFErrorr¨   r   rÅ   )	r  r¢   r£   rp   rà   rÕ  ræ  r  r  s	   &&&&&,   r2   Úbz2openÚTarFile.bz2open  sÁ   € ð
 �Ô&ÜÐ;Ó<Ð<ð	LÝ#ñ ˜'Ÿ/˜/ T¨4ÔMˆð		Ø—’˜D¨Ñ:°6Ñ:ˆAð ˆŒØˆøô! ô 	LÜ"Ð#@ÓAÀtÐKð	Lûô œÐ"ô 	Ø�M‰MŒOØ�sŒ{ÜÐ 2Ó3¸Ð:Øûð	Ø�M‰MŒOØús"   ”A ¯A' ÁA$Á'B2Á8$BÂB2c                óf  € VR	9  d   \        R4      h ^ RIHpHp T! T;'       g    TY$R7      p T P                  ! YT3/ TB pRTn
        T#   \         d    \        R4      Rhi ; i  T\        3 d*   p	TP                  4        TR8X  d   \        R4      T	hh Rp	?	i TP                  4        h ; i)
zXOpen lzma compressed tar archive name for reading or writing.
Appending is not allowed.
r—   rß  )ÚLZMAFilerÚ   r½   Nr¾   znot an lzma fileFrá  )r*   rØ   rë  rÚ   rÍ   r   rÊ  rç  r¨   r   rÅ   )
r  r¢   r£   rp   r¿   rÕ  rë  rÚ   r  r  s
   &&&&&,    r2   ÚxzopenÚTarFile.xzopen/  sÁ   € ð
 �Ô&ÜÐ;Ó<Ð<ð	Mß0ñ ˜7Ÿ?˜? d¨DÔ@ˆð		Ø—’˜D¨Ñ:°6Ñ:ˆAð ˆŒØˆøô! ô 	MÜ"Ð#AÓBÈÐLð	Mûð œ8Ð$ô 	Ø�M‰MŒOØ�sŒ{ÜÐ 2Ó3¸Ð:Øûð	Ø�M‰MŒOØús"   ”A ±A) ÁA&Á)B0Á6$BÂB0c                ó€  € VR	9  d   \        R4      h ^ RIHpHp	 T! T;'       g    TTTTTR7      p T P                  ! YT3/ TB p
RT
n        T
#   \         d    \        R4      Rhi ; i  T	\        3 d*   pTP                  4        TR8X  d   \        R4      Thh Rp?i\         d    TP                  4        h i ; i)
zXOpen zstd compressed tar archive name for reading or writing.
Appending is not allowed.
r—   rß  )ÚZstdFilerÞ   rÂ   N)ÚlevelÚoptionsÚ	zstd_dictznot a zstd fileFrá  )r*   Úcompression.zstdrï  rÞ   rÍ   r   rÊ  rç  r¨   r   Ú	ExceptionrÅ   )r  r¢   r£   rp   rð  rñ  rò  rÕ  rï  rÞ   r  r  s   &&&&&&&,    r2   ÚzstopenÚTarFile.zstopenK  s×   € ð �Ô&ÜÐ;Ó<Ð<ð	Yß<ñ Ø�OˆO�tØØØØô
ˆð		Ø—’˜D¨Ñ:°6Ñ:ˆAð ˆŒØˆøô- ô 	YÜ"Ð#MÓNÐTXÐXð	Yûð œ8Ð$ô 	Ø�M‰MŒOØ�sŒ{ÜÐ 1Ó2¸Ð9ØûÜô 	Ø�M‰MŒOØð	ús(   ”A ´A, ÁA)Á,B=Á9$BÂB=Â*B=rÃ   rÊ  r¹   rã  rº   rè  r¼   rì  rÀ   rõ  c                ór  € V P                   '       d   R# RV n          V P                  R9   dª   V P                  P                  \        \
        ^,          ,          4       V ;P                  \
        ^,          ,          un        \        V P                  \        4      w  rV^ 8”  d2   V P                  P                  \        \        V,
          ,          4       V P                  '       g   V P                  P                  4        R# R#   T P                  '       g   T P                  P                  4        i i ; i)zYClose the TarFile. In write-mode, two finishing zero blocks are
appended to the archive.
NTrµ  )rË   r£   rp   rc   r-   r  r-  ra   Ú
RECORDSIZErÅ   r¨   )r¡   rh   ri   s   &  r2   r¨   ÚTarFile.closez  sÐ   € ð �;�;ˆ;ÙàˆŒð	%Ø�y‰y˜OÔ+Ø—‘×"Ñ"¤3¬)°a­-Õ#8Ô9Ø—’¤	¨A¥Õ.•ô %+¨4¯;©;¼
Ó$CÑ!�Ø˜q”=Ø—L‘L×&Ñ&¤s¬j¸9Õ.DÕ'EÔFà×#×#Ð#Ø—‘×"Ñ"Ö$ñ $ø�4×#×#Ð#Ø—‘×"Ñ"Õ$ð $ús   �B:D Ä/D6c                ór   € V P                  VP                  R4      4      pVf   \        RV,          4      hV# )zÞReturn a TarInfo object for member 'name'. If 'name' can not be
found in the archive, KeyError is raised. If a member occurs more
than once in the archive, its last occurrence is assumed to be the
most up-to-date version.
r„  zfilename %r not found)Ú
_getmemberr–  ÚKeyError)r¡   r¢   r`  s   && r2   Ú	getmemberÚTarFile.getmember�  s6   € ð —/‘/ $§+¡+¨cÓ"2Ó3ˆØŠ?ÜÐ2°TÕ9Ó:Ð:Øˆr4   c                ó~   € V P                  4        V P                  '       g   V P                  4        V P                  # )z{Return the members of the archive as a list of TarInfo objects. The
list has the same order as the members in the archive.
)Ú_checkrÁ  Ú_loadrÀ  r©   s   &r2   Ú
getmembersÚTarFile.getmembersš  s)   € ð 	�‰ŒØ�|�|ˆ|Ø�J‰JŒLà�|‰|Ðr4   c                ó^   € V P                  4        Uu. uF  qP                  NK  	  up# u upi )zxReturn the members of the archive as a list of their names. It has
the same order as the list returned by getmembers().
)r  r¢   )r¡   r`  s   & r2   ÚgetnamesÚTarFile.getnames¤  s'   € ð -1¯O©OÔ,=Ó>Ñ,= —”Ñ,=Ñ>Ð>ùÒ>s   “*c                óÌ	  € V P                  R4       Ve   VP                  pVf   Tp\        P                  P	                  V4      w  rBVP                  \        P                  R4      pVP                  R4      pV P                  4       pWn	        VfA   V P                  '       g   \        P                  ! V4      pM;\        P                  ! V4      pM$\        P                  ! VP                  4       4      pRpVP                  p\        P                   ! V4      '       d¡   VP"                  VP$                  3p	V P                  '       gS   VP&                  ^8”  dB   W�P(                  9   d2   W P(                  V	,          8w  d   \*        p
V P(                  V	,          pMë\,        p
V	^ ,          '       d   W P(                  V	&   MÇ\        P.                  ! V4      '       d   \0        p
M¤\        P2                  ! V4      '       d   \4        p
M�\        P6                  ! V4      '       d   \8        p
\        P:                  ! V4      pMH\        P<                  ! V4      '       d   \>        p
M%\        P@                  ! V4      '       d   \B        p
MR# W%n        W…n"        VPF                  Vn$        VPJ                  Vn&        V
\,        8X  d   VPN                  Vn(        M^ Vn(        VPR                  Vn*        W¥n+        Wun,        \Z        '       d}   VPH                  V P\                  9  d@    \Z        P^                  ! VPH                  4      ^ ,          V P\                  VPH                  &   V P\                  VPH                  ,          Vn1        \d        '       d}   VPL                  V Pf                  9  d@    \d        Ph                  ! VPL                  4      ^ ,          V Pf                  VPL                  &   V Pf                  VPL                  ,          Vn5        V
\>        \B        39   dw   \m        \        R4      '       da   \m        \        R4      '       dK   \        Pn                  ! VPp                  4      Vn9        \        Pt                  ! VPp                  4      Vn;        V#   \`         d    RT P\                  TPH                  &    ELZi ; i  \`         d    RT Pf                  TPL                  &    Lüi ; i)aˆ  Create a TarInfo object from the result of os.stat or equivalent
on an existing file. The file is either named by 'name', or
specified as a file object 'fileobj' with a file descriptor. If
given, 'arcname' specifies an alternative name for the file in the
archive, otherwise, the name is taken from the 'name' attribute of
'fileobj', or the 'name' argument. The name should be a text
string.
ÚawxNr„  r¸   ÚmajorÚminor)<r   r¢   rš   rò   Ú
splitdriverè   r‹  rŒ  r`  r¯  r»  ÚlstatÚstatÚfstatÚfilenoÚst_modeÚS_ISREGÚst_inoÚst_devÚst_nlinkrÂ  r–  r³  ÚS_ISDIRrÔ  ÚS_ISFIFOrŸ  ÚS_ISLNKr“  ÚreadlinkÚS_ISCHRr  ÚS_ISBLKr  r£   Úst_uidr#   Úst_gidr$   Úst_sizer!   Úst_mtimer"   r«  rˆ  ÚpwdrÃ  Úgetpwuidrü  r†  ÚgrprÄ  Úgetgrgidr‡  rŸ   r	  Úst_rdevr¬  r
  r­  )r¡   r¢   Úarcnamerp   Údrvr`  Ústatresrˆ  ÚstmdÚinoder«  s   &&&&       r2   Ú
gettarinfoÚTarFile.gettarinfoª  sX  € ð 	�‰�EÔð ÒØ—<‘<ˆDð
 Š?ØˆGÜ—w‘w×)Ñ)¨'Ó2‰ˆØ—/‘/¤"§&¡&¨#Ó.ˆØ—.‘. Ó%ˆð —,‘,“.ˆØÔð Š?Ø×#×#Ð#ÜŸ(š( 4›.‘äŸ'š' $›-‘ä—h’h˜wŸ~™~Ó/Ó0ˆGØˆà�‰ˆÜ�<Š<˜×ÒØ—^‘^ W§^¡^Ð4ˆEØ×#×#Ð#¨×(8Ñ(8¸1Ô(<ØŸ[™[Ô(¨W¿¹ÀEÕ8JÔ-Jô �ØŸ;™; uÕ-‘ô �Ø˜—8”8Ø)0—K‘K Ñ&øÜ�\Š\˜$×ÒÜ‰DÜ�]Š]˜4× Ò Ü‰DÜ�\Š\˜$×ÒÜˆDÜ—{’{ 4Ó(‰HÜ�\Š\˜$×ÒÜ‰DÜ�\Š\˜$×ÒÜ‰Dáð ŒØŒØ—n‘nˆŒØ—n‘nˆŒØ”7Œ?Ø"Ÿ?™?ˆG�LàˆGŒLØ×(Ñ(ˆŒØŒØ#Ô÷ ‹3Ø�{‰{ $§,¡,Ô.ð3Ü03·²¸W¿[¹[Ó0IÈ!Õ0L�D—L‘L §¡Ñ-ð !ŸL™L¨¯©Õ5ˆGŒMß‹3Ø�{‰{ $§,¡,Ô.ð3Ü03·²¸W¿[¹[Ó0IÈ!Õ0L�D—L‘L §¡Ñ-ð !ŸL™L¨¯©Õ5ˆGŒMà”GœWÐ%Ô%Ü”r˜7×#Ò#¬´°G×(<Ò(<Ü#%§8¢8¨G¯O©OÓ#<�Ô Ü#%§8¢8¨G¯O©OÓ#<�Ô Øˆøô  ô 3Ø02�D—L‘L §¡Ô-ð3ûô  ô 3Ø02�D—L‘L §¡Ó-ð3ús$   Ì >R Î(>R< Ò$R9Ò8R9Ò<$S#Ó"S#rÀ  c               óš  € \         \        P                  \        \        P                  \
        \        P                  \        \        P                  \        \        P                  \        \        P                  /pV P                  4        Vf   T pV EF3  pV'       Ed}   VP                  f   \        R4       MKVP!                  VP"                  ^ 4      p\        \        P$                  ! WTP                  ,          4      4       \        VP&                  ;'       g    VP(                  : RVP*                  ;'       g    VP,                  : 24       VP/                  4       '       g   VP1                  4       '       d1   \        RRVP2                  VP4                  3,          ,          4       M\        RVP6                  ,          4       VP8                  f   \        R4       M7\        R\:        P<                  ! VP8                  4      R	,          ,          4       \        VP>                  VPA                  4       '       d   RMR
,           4       V'       de   VPC                  4       '       d   \        RVPD                  ,           4       VPG                  4       '       d   \        RVPD                  ,           4       \I        4        EK6  	  R# )zñPrint a table of contents to sys.stdout.

If 'verbose' is False, only the names of the members are printed.
If it is True, an 'ls -l'-like output is produced.  'members' is
optional and must be a subset of the list returned by getmembers().
Nz
??????????r„  z%10sz%d,%dz%10dz????-??-?? ??:??:??z%d-%02d-%02d %02d:%02d:%02d:Né   Nr¸   z-> zlink to )%r³  r  ÚS_IFREGr“  ÚS_IFLNKrŸ  ÚS_IFIFOr  ÚS_IFCHRrÔ  ÚS_IFDIRr  ÚS_IFBLKr   r£   r|   r  r«  rÚ  r†  r#   r‡  r$   r™  rœ  r¬  r­  r!   r"   rî   Ú	localtimer¢   r“  r”  rˆ  r’  r{   )r¡   ÚverboserÀ  Ú	type2moder`  Úmodetypes   &&$   r2   rl  ÚTarFile.list	  sÊ  € ô œdŸl™l¬G´T·\±\ÜœtŸ|™|¬W´d·l±lÜœdŸl™l¬G´T·\±\ðCˆ	ð 	�‰ŒàŠ?ØˆGÜˆGßˆwØ—<‘<Ò'Ü Õ-à(Ÿ}™}¨W¯\©\¸1Ó=�HÜ¤§¢¨h¿¹Õ.EÓ FÔGÜ w§}¡}×'CÐ'C¸¿¹Ò'CØ'.§}¡}×'CÐ'C¸¿¹Ñ'CðEô Fà—=‘=—?’? g§m¡m§o¢oÜ Ø$¨×(8Ñ(8¸'×:JÑ:JÐ'KÕKõ!Mõ Nô   ¨¯©Õ 5Ô6Ø—=‘=Ò(ÜÐ 5Õ6äÐ =Ü"&§.¢.°·±Ó"?ÀÕ"Cõ!Dô Eô ˜Ÿ™¨w¯}©}¯ª©ÀBÕGÔHçØ—=‘=—?’?Ü ¨×(8Ñ(8Õ 8Ô9Ø—=‘=—?’?Ü 
¨W×-=Ñ-=Õ =Ô>Ü�Gó7 r4   Úfilterc               óà  € V P                  R4       Vf   TpV P                  eJ   \        P                  P	                  V4      V P                  8X  d   V P                  ^RV,          4       R# V P                  ^V4       V P                  W4      pVf   V P                  ^RV,          4       R# Ve(   V! V4      pVf   V P                  ^RV,          4       R# VP                  4       '       d1   \        VR4      ;_uu_ 4       pV P                  WV4       RRR4       R# VP                  4       '       d’   V P                  V4       V'       dw   \        \        P                  ! V4      4       FQ  pV P                  \        P                  P                  W4      \        P                  P                  W&4      W4R7       KS  	  R# R# V P                  V4       R#   + '       g   i     R# ; i)aÌ  Add the file 'name' to the archive. 'name' may be any type of file
(directory, fifo, symbolic link, etc.). If given, 'arcname'
specifies an alternative name for the file in the archive.
Directories are added recursively by default. This can be avoided by
setting 'recursive' to False. 'filter' is a function
that expects a TarInfo object argument and returns the changed
TarInfo object, if it returns None the TarInfo object will be
excluded from the archive.
r  Nztarfile: Skipped %rztarfile: Unsupported type %rútarfile: Excluded %rr8  )r8  )r   r¢   rš   rò   r¹  Ú_dbgr)  r‘  r¸  Úaddfiler“  rÓ  ÚlistdirÚaddro   )r¡   r¢   r$  Ú	recursiver8  r`  Úfs   &&&&$  r2   r>  ÚTarFile.add@	  sq  € ð 	�‰�EÔàŠ?ØˆGð �9‰9Ò ¤R§W¡W§_¡_°TÓ%:¸d¿i¹iÔ%GØ�I‰I�aÐ.°Õ5Ô6Ùà�	‰	�!�TÔð —/‘/ $Ó0ˆàŠ?Ø�I‰I�aÐ7¸$Õ>Ô?Ùð ÒÙ˜W“oˆGØŠØ—	‘	˜!Ð3°dÕ:Ô;Ùð �=‰=�?Š?Ü˜4 ×&Ô&¨!Ø—‘˜WÔ(÷ 'Ñ&ð �]‰]�_Š_Ø�L‰L˜Ô!ßÜ¤§
¢
¨4Ó 0Ö1�AØ—H‘HœRŸW™WŸ\™\¨$Ó2´B·G±G·L±LÀÓ4LØ%ð ö 6ó 2ñ ð �L‰L˜Ö!÷ '×&Ð&ús   ÄGÇG-	c                ó8  € V P                  R4       Vf3   VP                  4       '       d   VP                  ^ 8w  d   \        R4      h\        P                  ! V4      pVP                  V P                  V P                  V P                  4      pV P                  P                  V4       V ;P                  \        V4      ,          un        V P                  pVe¤   \        W P                  VP                  VR7       \        VP                  \         4      w  rVV^ 8”  d;   V P                  P                  \"        \         V,
          ,          4       V^,          pV ;P                  V\         ,          ,          un        V P$                  P'                  V4       R# )a  Add the TarInfo object 'tarinfo' to the archive.

If 'tarinfo' represents a non zero-size regular file, the 'fileobj'
argument should be a binary file, and tarinfo.size bytes are read
from it and added to the archive. You can create TarInfo objects
directly, or by using gettarinfo().
r  Nz3fileobj not provided for non zero-size regular file)rg   )r   r‘  r!   r*   rÎ  rá  rP   r0   r1   rp   rc   r-  r,   r¿  r`   ra   r  r-   rÀ  rn   )r¡   r`  rp   rY   rg   rh   ri   s   &&&    r2   r<  ÚTarFile.addfiles	  s  € ð 	�‰�EÔàŠ?˜wŸ}™}Ÿš°7·<±<À1Ô3DÜÐRÓSÐSä—)’)˜GÓ$ˆà�m‰m˜DŸK™K¨¯©¸¿¹ÓDˆØ�‰×Ñ˜3ÔØ�Š”s˜3“xÕ�Ø× Ñ ˆàÒÜ˜§¡¨w¯|©|ÀWÕMÜ & w§|¡|´YÓ ?ÑˆFØ˜1Œ}Ø—‘×"Ñ"¤3¬)°iÕ*?Õ#@ÔAØ˜!•�Ø�KŠK˜6¤IÕ-Õ-�Kà�‰×Ñ˜GÖ$r4   c                óþ   € Vf:   V P                   pVf   \        # \        V\        4      '       d   \	        R4      hV# \        V4      '       d   V#  \        V,          #   \         d    \        RT: R24      R hi ; i)Nzfilter z
 not foundzrString names are not supported for TarFile.extraction_filter. Use a function such as tarfile.data_filter directly.)	Úextraction_filterr§  r÷  rú  Ú	TypeErrorÚcallableÚ_NAMED_FILTERSrü  r*   )r¡   r8  s   &&r2   Ú_get_filter_functionÚTarFile._get_filter_function‘	  s‹   € ØŠ>Ø×+Ñ+ˆFØŠ~Ü"Ð"Ü˜&¤#×&Ò&Üð6ó7ð 7ð ˆMÜ�F×ÒØˆMð	GÜ! &Õ)Ð)øÜô 	GÜ˜w v¡j°
Ð;Ó<À$ÐFð	Gús   ÁA ÁA<Únumeric_ownerc          	     ó  € . pV P                  V4      pVf   T pV Fl  pV P                  WvV4      w  r‰Vf   K  VP                  4       '       d   VP                  V	4       V P	                  W�VP                  4       '       * VVR7       Kn  	  VP                  R RR7       V FÔ  p	  V! W‘4      pTf   T P                  T	R4       K%  \        P                  P                  YP                  4      p \        P                  ! T4      p\        P                   ! TP"                  4      '       g   T P                  TR4       KŸ  T P%                  Y‹TR	7       T P'                  Y‹4       T P)                  Y‹4       KÖ  	  R#   \         d(   p
T P                  T	\        T
4      4        Rp
?
EK  Rp
?
ii ; i  \         d    T P                  TR4        EK0  i ; i  \*         d   pT P-                  T4        Rp?EKW  Rp?ii ; i)
a-  Extract all members from the archive to the current working
directory and set owner, modification time and permissions on
directories afterwards. 'path' specifies a different directory
to extract to. 'members' is optional and must be a subset of the
list returned by getmembers(). If 'numeric_owner' is True, only
the numbers for user/group names are used and not the names.

The 'filter' function will be called on each member just
before extraction.
It can return a changed TarInfo or None to skip the member.
String names of common filters are accepted.
N)Ú	set_attrsrK  Úfilter_functionc                 ó   € V P                   # r§   rÀ  )r±  s   &r2   Ú<lambda>Ú$TarFile.extractall.<locals>.<lambda>Æ	  s   €  q§v¢vr4   T)rÎ  Úreversezexcluded by filterÚmissingznot a directory)rK  )rI  Ú_get_extract_tarinfor“  rn   Ú_extract_oneÚsortÚ_FILTER_ERRORSÚ_log_no_directory_fixupÚreprrš   rò   ro   r¢   r  ÚFileNotFoundErrorr  r  r  ÚchownÚutimeÚchmodr	   Ú_handle_nonfatal_error)r¡   rò   rÀ  rK  r8  ÚdirectoriesrN  r—  r`  Ú
unfilteredÚexcÚdirpathr  r  s   &&&$$         r2   Ú
extractallÚTarFile.extractall£	  sÌ  € ð ˆà×3Ñ3°FÓ;ˆØŠ?ØˆGãˆFØ"&×";Ñ";Ø¨ó#/ÑˆGàŠÙØ�}‰}�Šð ×"Ñ" :Ô.Ø×Ñ˜g¸7¿=¹=»?Ô7JØ,9Ø.=ð ö ?ñ ð 	×ÑÑ-°tÐÔ<ó &ˆJð/ðÙ-¨jÓ?�Gð ’?Ø×0Ñ0°Ø1EôGáÜŸ'™'Ÿ,™, t¯\©\Ó:�ðÜŸHšH WÓ-�Eô —|’| E§M¡M×2Ò2ð ×0Ñ0°Ð:KÔLÙØ—
‘
˜7¸=�
ÔIØ—
‘
˜7Ô,Ø—
‘
˜7Ö,ó5 &øô &ô Ø×0Ñ0°¼TÀ#»YÔGÞûðûô )ô Ø×0Ñ0°¸)ÔDÛðûô  ô /Ø×+Ñ+¨A×.Ó.ûð/úsr   Â'E<Â/GÃ)GÃ1F1Ä%GÄ-GÅ5GÅ<F.ÆF)Æ"GÆ)F.Æ.GÆ1GÇGÇGÇGÇG>Ç!G9Ç9G>c                óP   € V P                  ^RVP                  : RV: R24       R# )rt  z!tarfile: Not fixing up directory z (Ú)N)r;  r¢   )r¡   r—  Úreasons   &&&r2   rX  ÚTarFile._log_no_directory_fixupè	  s   € Ø�	‰	‘!Ø—;”;£ð(ö 	)r4   c               ó„   € V P                  V4      pV P                  WV4      w  rxVe   V P                  WrW4VR7       R# R# )aD  Extract a member from the archive to the current working directory,
using its full name. Its file information is extracted as accurately
as possible. 'member' may be a filename or a TarInfo object. You can
specify a different directory using 'path'. File attributes (owner,
mtime, mode) are set unless 'set_attrs' is False. If 'numeric_owner'
is True, only the numbers for user/group names are used and not
the names.

The 'filter' function will be called before extraction.
It can return a changed TarInfo or None to skip the member.
String names of common filters are accepted.
N)rN  )rI  rT  rU  )	r¡   r—  rò   rM  rK  r8  rN  r`  r`  s	   &&&&$$   r2   ÚextractÚTarFile.extractì	  sQ   € ð ×3Ñ3°FÓ;ˆØ"×7Ñ7Ø Tó+ÑˆàÒØ×Ñ˜g¨YØ.=ð ö ?ñ r4   c                ó(  € \        V\        4      '       d   V P                  V4      pMTpRp V! WC4      pVf&   V P                  ^RVP                  ,          4       R# VP                  4       '       dE   \        P                  ! V4      p\        P                  P                  W5P                   4      Vn        WT3#   \        \        \
        3 d   pT P                  T4        Rp?L²Rp?i\         d   pT P                  T4        Rp?LÖRp?ii ; i)zrGet (filtered, unfiltered) TarInfos from *member*

*member* might be a string.

Return (None, None) if not found.
Nr:  )NN)r÷  rú  rý  rÖ   rö  r   Ú_handle_fatal_errorr	   r^  r;  r¢   r’  rÎ  rš   rò   ro   rˆ  r±  )r¡   r—  rN  rò   r`  Úfilteredr  s   &&&&   r2   rT  ÚTarFile._get_extract_tarinfo
  sä   € ô �fœc×"Ò"ØŸ™¨Ó/‰JàˆJàˆð	+Ù& zÓ8ˆHð
 ÒØ�I‰I�aÐ/°*·/±/ÕAÔBØÐð �>‰>×ÒÜ—y’y Ó*ˆHÜ$&§G¡G§L¡L°×7HÑ7HÓ$IˆHÔ!ØÐ#Ð#øô Ô+¬[Ð9ô 	(Ø×$Ñ$ Q×'Ñ'ûÜô 	+Ø×'Ñ'¨×*Ñ*ûð	+ús)   ®B< Â<DÃC(Ã(DÃ5DÃ6DÄDc           	     óP  € V P                  R4        V P                  V\        P                  P	                  W!P
                  4      VVVVR7       R#   \        \        3 d   pT P                  T4        Rp?R# Rp?i\         d   pT P                  T4        Rp?R# Rp?ii ; i)z“Extract from filtered tarinfo to disk.

filter_function is only used when extracting a *different*
member (e.g. as fallback to creating a symlink)
r—   )rM  rK  rN  Úextraction_rootN)r   Ú_extract_memberrš   rò   ro   r¢   rÖ   rö  rm  r	   r^  )r¡   r`  rò   rM  rK  rN  r  s   &&&&&& r2   rU  ÚTarFile._extract_one
  sŒ   € ð 	�‰�CÔð		+Ø× Ñ  ¬"¯'©'¯,©,°t¿\¹\Ó*JØ+4Ø/<Ø1@Ø15ð	 !ö 7øô
 Ô+Ð,ô 	(Ø×$Ñ$ Q×'Ò'ûÜô 	+Ø×'Ñ'¨×*Ò*ûð	+ús)   “>A ÁB%Á$A;Á;B%ÂB%Â	B Â B%c                ó\   € V P                   ^8”  d   h V P                  ^RV,          4       R# )z=Handle non-fatal error (ExtractError) according to errorlevelútarfile: %sN)r¾  r;  ©r¡   r  s   &&r2   r^  ÚTarFile._handle_nonfatal_error3
  s$   € à�?‰?˜QÔØà�I‰I�a˜¨Õ*Ö+r4   c                óv  € V P                   ^ 8”  d   h \        V\        4      '       dd   VP                  f&   V P	                  ^RVP
                  ,          4       R# V P	                  ^RVP
                  : RVP                  : 24       R# V P	                  ^R\        V4      P                  : RV: 24       R# )z1Handle "fatal" error according to self.errorlevelNru  z	tarfile: rv   )r¾  r÷  rÖ   Úfilenamer;  Ústrerrorr«  r€   rv  s   &&r2   rm  ÚTarFile._handle_fatal_error:
  sw   € à�?‰?˜QÔØÜ˜œ7×#Ò#Ø�z‰zÒ!Ø—	‘	˜!˜]¨Q¯Z©ZÕ7Ö8à—	‘	™!°·´¸Q¿Z»ZÐHÖIà�I‰I‘a¬T°!«W×-=Ô-=ºqÐAÖBr4   c                óâ  € V P                  R4       \        V\        4      '       d   V P                  V4      pMTpVP	                  4       '       g   VP
                  \        9  d   V P                  W4      # VP                  4       '       g   VP                  4       '       dL   \        V P                  \        4      '       d   \        R4      hV P                  V P                  V4      4      # R# )a(  Extract a member from the archive as a file object. 'member' may be
a filename or a TarInfo object. If 'member' is a regular file or
a link, an io.BufferedReader object is returned. For all other
existing members, None is returned. If 'member' does not appear
in the archive, KeyError is raised.
r—   z'cannot extract (sym)link as file objectN)r   r÷  rú  rý  r‘  r«  rL  Ú
fileobjectr’  r”  rp   rµ   r   ÚextractfileÚ_find_link_target)r¡   r—  r`  s   && r2   r~  ÚTarFile.extractfileF
  s¬   € ð 	�‰�CÔä�fœc×"Ò"Ø—n‘n VÓ,‰GàˆGà�=‰=�?Š?˜gŸl™l´/ÔAà—?‘? 4Ó1Ð1à�]‰]�_Š_ §¡§¢Ü˜$Ÿ,™,¬×0Ò0ô "Ð"KÓLÐLð ×'Ñ'¨×(>Ñ(>¸wÓ(GÓHÐHñ r4   rN  rq  c               ó(  € VP                  R4      pVP                  R\        P                  4      p\        P                  P                  V4      pV'       d>   \        P                  P                  V4      '       g   \        P                  ! VRR7       VP                  4       '       g   VP                  4       '       d/   V P                  ^VP                  : RVP                  : 24       MV P                  ^VP                  4       VP                  4       '       d   V P                  W4       EMVP                  4       '       d   V P!                  W4       MßVP#                  4       '       d   V P%                  W4       M·VP'                  4       '       g   VP)                  4       '       d   V P+                  W4       MyVP                  4       '       g   VP                  4       '       d   V P-                  WVVR7       M8VP.                  \0        9  d   V P3                  W4       MV P                  W4       V'       dO   V P5                  WV4       VP                  4       '       g%   V P7                  W4       V P9                  W4       R# R# R# )z¾Extract the filtered TarInfo object tarinfo to a physical
file called targetpath.

filter_function is only used when extracting a *different*
member (e.g. as fallback to creating a symlink)
r„  T)Úexist_okz -> ©rN  rq  N)r–  rè   rš   r‹  rò   r•  r·  Úmakedirsr’  r”  r;  r¢   rˆ  r‘  Úmakefiler“  Úmakedirr   Úmakefifor™  rœ  ÚmakedevÚmakelink_with_filterr«  rL  Úmakeunknownr[  r]  r\  )r¡   r`  Ú
targetpathrM  rK  rN  rq  Ú	upperdirss   &&&&&$$ r2   rr  ÚTarFile._extract_memberf
  s¦  € ð  ×&Ñ& sÓ+ˆ
Ø×'Ñ'¨¬R¯V©VÓ4ˆ
ô —G‘G—O‘O JÓ/ˆ	ßœRŸW™WŸ^™^¨I×6Ò6ô �KŠK˜	¨DÕ1à�=‰=�?Š?˜gŸm™mŸošoØ�I‰I�a w§|¤|°W×5EÓ5EÐFÕGà�I‰I�a˜Ÿ™Ô&à�=‰=�?Š?Ø�M‰M˜'Ö.Ø�]‰]�_Š_Ø�L‰L˜Õ-Ø�^‰^×ÒØ�M‰M˜'Õ.Ø�]‰]�_Š_ §¡§¢Ø�L‰L˜Õ-Ø�]‰]�_Š_ §¡§¢Ø×%Ñ%ØØ /Ø /ð &õ 1ð �\‰\¤Ô0Ø×Ñ˜WÕ1à�M‰M˜'Ô.çØ�J‰J�w¨MÔ:Ø—=‘=—?’?Ø—
‘
˜7Ô/Ø—
‘
˜7Ö/ñ #ñ r4   c                óò   €  VP                   f   \        P                  ! V4       R# \        P                  ! VR4       R#   \         d+    \        P                  P                  T4      '       g   h  R# i ; i)z,Make a directory called targetpath.
        NiÀ  )r£   rš   ÚmkdirÚFileExistsErrorrò   r“  ©r¡   r`  r‹  s   &&&r2   r†  ÚTarFile.makedirž
  sW   € ð
	Ø�|‰|Ò#ä—’˜Ö$ô —’˜ UÖ+øÜô 	Ü—7‘7—=‘= ×,Ò,Øò -ð	ús   ‚$A ¨A Á/A6Á1A6Á5A6c           
     óê  € V P                   pVP                  VP                  4       V P                  p\	        VR4      ;_uu_ 4       pVP
                  ee   VP
                   F(  w  rgVP                  V4       \        W5V\        V4       K*  	  VP                  VP                  4       VP                  4        M\        W5VP                  \        V4       RRR4       R#   + '       g   i     R# ; i)z'Make a file called targetpath.
        r²  N)
rp   r  r\  r¿  r¸  r]  r`   r   r!   Útruncate)r¡   r`  r‹  Úsourcerg   Útargetr-  r!   s   &&&     r2   r…  ÚTarFile.makefile­
  sª   € ð —‘ˆØ�‰�G×'Ñ'Ô(Ø×"Ñ"ˆÜ�z 4×(Ô(¨FØ�~‰~Ò)Ø$+§N¤N‘L�FØ—K‘K Ô'Ü °´iÀÖIñ %3ð —‘˜GŸL™LÔ)Ø—‘Õ!ä˜F¨G¯L©L¼)ÀWÔM÷ )×(×(Ò(ús   ÁBC!Ã!C2	c                ón   € V P                  W4       V P                  ^RVP                  ,          4       R# )zFMake a file from a TarInfo object with an unknown type
at targetpath.
z9tarfile: Unknown file type %r, extracted as regular file.N)r…  r;  r«  r‘  s   &&&r2   rŠ  ÚTarFile.makeunknown½
  s1   € ð 	�‰�gÔ*Ø�	‰	�!ð 2Ø4;·L±LõAö 	Br4   c                ót   € \        \        R4      '       d   \        P                  ! V4       R# \        R4      h)z'Make a fifo called targetpath.
        Úmkfifozfifo not supported by systemN)rŸ   rš   r›  r	   r‘  s   &&&r2   r‡  ÚTarFile.makefifoÅ
  s)   € ô ”2�x× Ò Ü�IŠI�jÖ!äÐ=Ó>Ð>r4   c                ó¢  € \        \        R4      '       d   \        \        R4      '       g   \        R4      hVP                  pVf   RpVP	                  4       '       d   V\
        P                  ,          pMV\
        P                  ,          p\        P                  ! W#\        P                  ! VP                  VP                  4      4       R# )z<Make a character or block device called targetpath.
        Úmknodrˆ  z'special devices not supported by systemNr…  )rŸ   rš   r	   r£   rœ  r  r2  r0  rž  rˆ  r¬  r­  )r¡   r`  r‹  r£   s   &&& r2   rˆ  ÚTarFile.makedevÍ
  sŒ   € ô ”r˜7×#Ò#¬7´2°y×+AÒ+AÜÐHÓIÐIà�|‰|ˆØŠ<àˆDØ�=‰=�?Š?Ø”D—L‘LÕ ‰Dà”D—L‘LÕ ˆDä
�Š�Ü—’˜G×,Ñ,¨g×.>Ñ.>Ó?ö	Ar4   c                ó(   € V P                  WR R 4      # r§   )r‰  r‘  s   &&&r2   ÚmakelinkÚTarFile.makelinkß
  s   € Ø×(Ñ(¨¸dÀDÓIÐIr4   c                óô  € Rp VP                  4       '       d_   \        P                  P                  V4      '       d   \        P                  ! V4       \        P
                  ! VP                  V4       R# \        P                  P                  VP                  4      '       d|   \        P                  P                  V4      '       d   \        P                  ! V4       \        P                  ! \        P                  P                  VP                  4      V4       R#   V P                  V4      pTf   TpMBTf   \        R4      h T! TP                  TP                   RR7      T4      pTf   R# T! Yd4      pTe   T P'                  YrTTR7       R# R#   \         d    Rp L†i ; i  \         d    T'       d   \        R4      Rhh i ; i  \"         d   p\%        YP                   4      ThRp?ii ; i)a  Make a (symbolic) link called targetpath. If it cannot be created
(platform limitation), we try to make a copy of the referenced file
instead of a link.

filter_function is only used when extracting a *different*
member (e.g. as fallback to creating a link).
FNTz%unable to resolve link inside archive)r¢   r¢  rƒ  z[makelink_with_filter: if filter_function is not None, extraction_root must also not be None)r”  rš   rò   ÚlexistsÚunlinkÚsymlinkrˆ  r·  r±  Úlinkr‰  Úsymlink_exceptionr  rü  r	   rè   r¢   rW  r   rr  )	r¡   r`  r‹  rN  rq  Úkeyerror_to_extracterrorr`  rn  Úcauses	   &&&&&    r2   r‰  ÚTarFile.makelink_with_filterâ
  s¾  € ð $)Ð ð	,à�}‰}�ŠÜ—7‘7—?‘? :×.Ò.ä—I’I˜jÔ)Ü—
’
˜7×+Ñ+¨ZÔ8Ùä—7‘7—>‘> '×"6Ñ"6×7Ò7Ü—w‘w—‘ z×2Ò2äŸ	š	 *Ô-ô
 —G’GœBŸG™G×,Ñ,¨W×-AÑ-AÓBÀJÔOÙð 8ð	Ø×/Ñ/°Ó8ˆJð Ò"Ø!‰HàÒ&Ü"ð>ó?ð ?ðMÙ*Ø×&Ñ&¨G¯L©L¸uÐ&ÓEØ#ó%�ð Ò#ÙÙ*¨:ÓG�ð ÒØ× Ñ  Ø1@Ø1@ð !ö Bñ  øô9 !ô 	,Ø'+Ò$ð	,ûô
 ô 	ß'Ü"Ø;ó=ØBFðGð ð	ûô* "ô MÜ'¨·±ÓAÀuÐLûðMús^   „F š$F ¿7F Á8.F Â'$F ÃAF Ä$F- Å(G Å6G ÆF*Æ)F*Æ-GÇ GÇG7ÇG2Ç2G7c                ó*  € \        \        R4      '       Ed5   \        P                  ! 4       ^ 8X  Ed   VP                  pVP                  pV'       g�    \
        '       d:   VP                  '       d(   \
        P                  ! VP                  4      ^,          p \        '       d:   TP                  '       d(   \        P                  ! TP                  4      ^,          pVf   RpVf   Rp VP                  4       '       d0   \        \        R4      '       d   \        P                  ! W%V4       R# \        P                  ! W%V4       R# R# R#   \         d     LÂi ; i  \         d     L�i ; i  \        \         3 d   p\#        R4      ThRp?ii ; i)zÇSet owner of targetpath according to tarinfo. If numeric_owner
is True, use .gid/.uid instead of .gname/.uname. If numeric_owner
is False, fall back to .gid/.uid when the search based on name
fails.
ÚgeteuidNÚlchownzcould not change ownerr6   )rŸ   rš   r­  r$   r#   r!  r‡  Úgetgrnamrü  r  r†  Úgetpwnamr”  r®  r[  rÖ   ÚOverflowErrorr	   )r¡   r`  r‹  rK  ÚgÚur  s   &&&&   r2   r[  ÚTarFile.chown   s)  € ô ”2�y×!Ó!¤b§j¢j£l°aÕ&7à—‘ˆAØ—‘ˆAß ðß“s˜wŸ}Ÿ}˜}ÜŸLšL¨¯©Ó7¸Õ:˜ðß“s˜wŸ}Ÿ}˜}ÜŸLšL¨¯©Ó7¸Õ:˜ð ŠyØ�ØŠyØ�ðDØ—=‘=—?’?¤w¬r°8×'<Ò'<Ü—I’I˜j¨QÖ/ä—H’H˜Z¨AÖ.ñ/ '8Ñ!øô  ô Ùðûô
  ô Ùðûô œ]Ð+ô Dä"Ð#;Ó<À!ÐCûðDús`   ÁE Á E Á2'E ÂE Â&E Â8'E Ã,E0 Ä-E0 Ä1E0 ÅEÅEÅE-Å,E-Å0FÆFÆFc                ó¦   € VP                   f   R#  \        P                  ! W!P                   4       R#   \         d   p\	        R4      ThRp?ii ; i)zASet file permissions of targetpath according to tarinfo.
        Nzcould not change mode)r£   rš   r]  rÖ   r	   )r¡   r`  r‹  r  s   &&& r2   r]  ÚTarFile.chmodB  sD   € ð �<‰<ÒÙð	?Ü�HŠH�Z§¡Ö.øÜô 	?ÜÐ6Ó7¸QÐ>ûð	?ús   ’ 4 ´A¿AÁAc                óÊ   € VP                   pVf   R# \        \        R4      '       g   R#  \        P                  ! W#V34       R#   \         d   p\        R4      ThRp?ii ; i)zBSet modification time of targetpath according to tarinfo.
        Nr\  z"could not change modification time)r"   rŸ   rš   r\  rÖ   r	   )r¡   r`  r‹  r"   r  s   &&&  r2   r\  ÚTarFile.utimeL  s[   € ð —‘ˆØŠ=ÙÜ”r˜7×#Ò#Ùð	LÜ�HŠH�Z¨ Ö0øÜô 	LÜÐCÓDÈ!ÐKûð	Lús   ¬A ÁA"ÁAÁA"c                ó  € V P                  R4       V P                  e   V P                  pRV n        V# V P                  V P                  P	                  4       8w  dl   V P                  ^ 8X  d   R# V P                  P                  V P                  ^,
          4       V P                  P                  ^4      '       g   \        R4      hRp  V P                  P                  V 4      p Te0   T P0                  '       g   T P2                  P5                  T4       T# RT n        T#   \         de   pT P                  '       dI   T P                  ^RT P                  T3,          4       T ;P                  \        ,          un         Rp?K¿   Rp?L§Rp?i\         d�   pT P                  '       dJ   T P                  ^RT P                  T3,          4       T ;P                  \        ,          un         Rp?EK-  T P                  ^ 8X  d   \        \        T4      4      Rh Rp?EL<Rp?i\          d"    T P                  ^ 8X  d   \        R4      Rh ELj\"         d2   pT P                  ^ 8X  d   \        \        T4      4      Rh Rp?EL Rp?i\$         d   p\        \        T4      4      RhRp?i\&         dH   p ^ RIp\+        Y4P,                  4      '       d   \        RT 24      RhTh  \.         d    Thi ; iRp?ii ; i)zŠReturn the next member of the archive as a TarInfo object, when
TarFile is opened for reading. Return None if there is no more
available.
ÚraNr^   Tz0x%X: %sz
empty filezzlib error: )r   rÅ  r-  rp   r	  r  rb   r   r`  r>  r�   r¼  r;  r  rF   rú  rŒ   rŽ   r“   rô  rÌ   r÷  rÐ   rÍ   rº  rÀ  rn   rÁ  )r¡   Úmr`  r  rÌ   s   &    r2   rR  ÚTarFile.nextZ  se  € ð
 	�‰�DÔØ×ÑÒ'Ø× Ñ ˆAØ#ˆDÔØˆHð �;‰;˜$Ÿ,™,×+Ñ+Ó-Ô-Ø�{‰{˜aÔÙØ�L‰L×Ñ˜dŸk™k¨A�oÔ.Ø—<‘<×$Ñ$ Q×'Ò'ÜÐ 8Ó9Ð9ð ˆØðØŸ,™,×2Ñ2°4Ó8�ð< àÒà—;—;�;Ø—‘×#Ñ# GÔ,ð ˆð  ˆDŒLàˆøôM "ô Ø×$×$Ð$Ø—I‘I˜a ¨t¯{©{¸AÐ.>Õ!>Ô?Ø—K’K¤9Õ,•KÝô %ûô &ô 6Ø×$×$Ð$Ø—I‘I˜a ¨t¯{©{¸AÐ.>Õ!>Ô?Ø—K’K¤9Õ,•KÞØ—[‘[ AÔ%Ü#¤C¨£FÓ+°Ð5õ &ûä#ô <Ø—;‘; !Ô#Ü# LÓ1°tÐ;ò $ä'ô 6Ø—;‘; !Ô#Ü#¤C¨£FÓ+°Ð5õ $ûä(ô 2Ü¤ A£Ó'¨TÐ1ûÜô ðÛÜ! !§Z¡Z×0Ò0Ü'¨,°q°cÐ(:Ó;ÀÐEà˜øÜ"ô Ø�Gðþðús€   ÃD% Ä%L Ä0AFÆL ÆL ÆAH$Ç8&H$È$L È1L ÉL ÉL É&JÊL ÊL ÊJ+Ê+L Ê8L Ê:0K*Ë*K8Ë8K;Ë;L c                óü  € V P                  4       pRpVe    VP                  V4      pVRV pV'       d    \        P                  P                  V4      p\        V4       Fr  pV'       d    VP                  VP                  8X  d   RpK*  V'       d+   \        P                  P                  VP                  4      pMVP                  pW8X  g   Kp  Vu # 	  V'       d   \        V4      hR#   \         d    Rp LÌi ; i)zjFind an archive member by name from bottom to top.
If tarinfo is given, it is used as the starting point.
FNT)	r  Úindexr*   rš   rò   r�  Úreversedr-  r¢   )	r¡   r¢   r`  Ú	normalizerÀ  Úskippingr¾  r—  Úmember_names	   &&&&     r2   rû  ÚTarFile._getmember�  sÚ   € ð
 —/‘/Ó#ˆð ˆØÒð*ØŸ™ gÓ.�ð " & 5˜/�çÜ—7‘7×#Ñ# DÓ)ˆDä˜wÖ'ˆFßØ—>‘> V§]¡]Ô2Ø$�HÙßÜ Ÿg™g×.Ñ.¨v¯{©{Ó;‘à$Ÿk™k�àÖ"Ø’ñ (÷ ä˜WÓ%Ð%ñ øô1 ô  ð  ’ð ús   ˜C+ Ã+C;Ã:C;c                ód   € V P                   '       g   V P                  4       e   K  RV n        R# R# )zvRead through the entire archive file and look for readable
members. This should not run if the file is set to stream.
NT)rº  rR  rÁ  r©   s   &r2   r  ÚTarFile._loadÅ  s(   € ð �{�{ˆ{Ø—)‘)“+Ò)ÙØˆDŽLñ r4   c                óÜ   € V P                   '       d'   \        RV P                  P                  ,          4      hVe0   V P                  V9  d   \        RV P                  ,          4      hR# R# )z[Check if TarFile is still open, and if the operation's mode
corresponds to TarFile's mode.
z%s is closedNzbad operation for mode %r)rË   rÖ   ra  r€   r£   )r¡   r£   s   &&r2   r   ÚTarFile._checkÎ  sU   € ð �;�;ˆ;Ü˜.¨4¯>©>×+BÑ+BÕBÓCÐCØÒ §	¡	°Ô 5ÜÐ5¸¿	¹	ÕAÓBÐBñ !6Ñr4   c                óB  € VP                  4       '       dR   RP                  \        R\        P                  P                  VP                  4      VP                  34      4      pRpMVP                  pTpV P                  W#RR7      pVf   \        RV,          4      hV# )zGFind the target member of a symlink or hardlink member in the
archive.
r„  NT)r`  rÀ  zlinkname %r not found)
r”  ro   r8  rš   rò   r•  r¢   rˆ  rû  rü  )r¡   r`  rˆ  Úlimitr—  s   &&   r2   r  ÚTarFile._find_link_target×  s„   € ð �=‰=�?Š?à—x‘x¤ t¬b¯g©g¯o©o¸g¿l¹lÓ.KÈW×M]ÑM]Ð-^Ó _Ó`ˆHØ‰Eð ×'Ñ'ˆHØˆEà—‘ ÀD�ÓIˆØŠ>ÜÐ2°XÕ=Ó>Ð>Øˆr4   c              #  ó   "  € V P                   '       d   V P                   Rj  x€L
  R# ^ pV P                  e   V P                  4       pV^,          pVx €  V\	        V P                  4      8  d   V P                  V,          pM6V P                   '       g#   V P                  4       pV'       g
   RV n         R# MR# V^,          pVx € Kt   L§5i)z$Provide an iterator object.
        NT)rÁ  rÀ  rÅ  rR  r,   )r¡   r¾  r`  s   &  r2   Ú__iter__ÚTarFile.__iter__ê  s®   é € ð �<�<ˆ<Ø—|‘|×#Ð#Ùð ˆð ×ÑÒ'Ø—i‘i“kˆGØ�Q�JˆEØŠMàØ”s˜4Ÿ<™<Ó(Ô(ØŸ,™, uÕ-‘Ø—\—\�\ØŸ)™)›+�ßØ#'�D”LÙð ñ Ø�Q�JˆEØŒMñ3 $ùs   ‚"C¤C¥A3CÂCÂ1Cc                ó`   € WP                   8:  d   \        V\        P                  R7       R# R# )z.Write debugging output to sys.stderr.
        ©ÚfileN)r½  r{   ry   Ústderr)r¡   rð  Úmsgs   &&&r2   r;  ÚTarFile._dbg	  s!   € ð —J‘JÔÜ�#œCŸJ™J×'ñ r4   c                ó&   € V P                  4        V # r§   )r   r©   s   &r2   Ú	__enter__ÚTarFile.__enter__  s   € Ø�‰ŒØˆr4   c                ó˜   € Vf   V P                  4        R # V P                  '       g   V P                  P                  4        RV n        R # ©NT)r¨   rÅ   rp   rË   )r¡   r«  rà  Ú	tracebacks   &&&&r2   Ú__exit__ÚTarFile.__exit__  s5   € ØŠ<Ø�J‰JŽLð ×#×#Ð#Ø—‘×"Ñ"Ô$ØˆDŽKr4   )rÅ   rÄ  rÁ  r¶  rÃ  rË   r¿  r½  r»  r0   r¾  r1   rp   rÅ  rP   r¼  rÂ  rÀ  r£   r¢   r-  r®  rº  r`  )Nr—   NNNNNNrØ  NNNNF)r—   N)r—   Né	   )r—   NN)r—   NNNN)NNNr;  rØ  r§   )Ú.N)r¸   T)TF)NF)Dr€   r�   r‚   rƒ   r„   r½  r»  r¼  r¾  r«  rP   r¬  r0   r1   r   r`  rZ  r}  rE  r¤   r­  rø  r   rÊ  rã  rè  rì  rõ  rË  r¨   rý  r  r  r)  rl  r>  r<  rI  rc  rX  rj  rT  rU  r^  rm  r~  rr  r†  r…  rŠ  r‡  rˆ  r¡  r‰  r[  r]  r\  rR  rû  r  r   r  rÌ  r;  rÕ  rÚ  r…   r±   r²   s   @r2   r   r   î  s  ø‡ € ñð €Eà€Kð €Lð €Jð €Fà€Hà€Fà€Gà€JàÐôfðf Ø #¨t¸Zó j/ó ðj/ðX ó2ó ð2ð óó ðð@ óó ðð6 óó ðð6 ó ó ð ðH 	ˆyØˆxØˆyØˆxØˆyð€Iò%ò*	òò?ôhñT*¨Dõ *ñX1"Àõ 1"ôf%ò<Gñ$C/À%ð C/ØõC/òJ)ñ?Èð ?Øõ?ò*$ô<+ò(,ò
Còñ@10Ø@Dð10à(,õ10òpòNò Bò?òAò$Jò<Bò| DòD?òLò>ôF&&òP ôCòò&ò>(ò÷ð r4   c                óâ   €  \        V R4      '       d/   V P                  4       p\        V R7      pV P                  V4       M\        V 4      pVP	                  4        R#   \
         d     R# i ; i)z’Return True if name points to a tar archive that we
are able to handle, else return False.

'name' should be a string, file, or file-like object.
rb   )rp   TF)rŸ   r	  r   r  r¨   r   )r¢   rÊ   r  s   &  r2   Ú
is_tarfilerß  !  s[   € ð
Ü�4˜× Ò Ø—)‘)“+ˆCÜ˜TÔ"ˆAØ�I‰I�c�Nä�T“
ˆAØ	�‰Œ	ÙøÜô Úðús   ‚AA ÁA.Á-A.c                  óî	  € ^ RI p RpV P                  VRR7      pVP                  RRRRR	R
7       VP                  RR\        RR7       VP	                  RR7      pVP                  RRRRR7       VP                  RRRR<RR7       VP                  RRRR=RR7       VP                  RRRRR7       VP                  4       pVP                  '       d!   VP                  f   VP                  ^R 4       VP                  eÇ   VP                  p\        V4      '       d‡   \        VR!4      ;_uu_ 4       pVP                  4        \        VP                  4       \        P                  R"7       RRR4       VP                   '       d   \        R#P#                  V4      4       R# R# VP                  ^R$P#                  V4      4       R# VP$                  e†   VP$                  p\        V4      '       dF   \&        P                  VR%4      ;_uu_ 4       pVP%                  VP                   R&7       RRR4       R# VP                  ^R$P#                  V4      4       R# VP                  EeK   \)        VP                  4      ^8X  d%   VP                  ^ ,          p\*        P,                  pMI\)        VP                  4      ^8X  d   VP                  w  rXM VP                  ^VP/                  4       4       \        X4      '       d�   \&        P                  VR%4      ;_uu_ 4       pVP1                  XVP                  R'7       RRR4       VP                   '       d8   XR(8X  d   R)P#                  V4      p	MR*P#                  WX4      p	\        V	4       R# R# VP                  ^R$P#                  V4      4       R# VP2                  eæ   VP2                  P5                  ^ 4      p
\*        P6                  P9                  V
4      w  r¼R+R,R-R,R.R/R0R/R1R2R3R2R4R2R5R2R6R7R8R7/
pWÍ9   d   R9WÜ,          ,           MR:pVP2                  p\&        P                  W®4      ;_uu_ 4       pV F  pVP;                  V4       K  	  RRR4       VP                   '       d   \        R;P#                  V
4      4       R# R# R#   + '       g   i     ELE; i  + '       g   i     R# ; i  + '       g   i     ELœ; i  + '       g   i     L~; i)>r  Nz3A simple command-line interface for tarfile module.T)ÚdescriptionÚcolorz-vz	--verboseÚ
store_trueFzVerbose output)ÚactionÚdefaultÚhelpz--filterz<filtername>zFilter for extraction)ÚmetavarÚchoicesræ  )Úrequiredz-lz--listú	<tarfile>zShow listing of a tarfile)rç  ræ  z-ez	--extractÚ+zExtract tarfile into target dir)Únargsrç  ræ  z-cz--createzCreate tarfile from sourcesz-tz--testzTest if a tarfile is validz&--filter is only valid for extraction
r—   rÏ  z{!r} is a tar archive.z{!r} is not a tar archive.
rÒ  )r4  )rò   r8  rÝ  z{!r} file is extracted.z+{!r} file is extracted into {!r} directory.rç   r¹   z.tgzz.xzr¼   z.txzz.bz2rº   z.tbzz.tbz2z.tb2z.zstrÀ   z.tzstzw:r˜   z{!r} file created.)rê  z<output_dir>)z<name>z<file>)ÚargparseÚArgumentParserÚadd_argumentrH  Úadd_mutually_exclusive_groupÚ
parse_argsr8  rj  ÚexitÚtestrß  r   r  r{   ry   rÑ  r4  rP   rl  r   r,   rš   ÚcurdirÚformat_helprc  ÚcreaterÔ  rò   Úsplitextr>  )rí  rá  Úparserr\  Úargsrd   rÃ   Útfrô  rÒ  Útar_namero  ÚextÚcompressionsÚtar_modeÚ	tar_filesÚ	file_names                    r2   Úmainr  6  s  € ÛàG€KØ×$Ñ$°ÀDÐ$ÓI€FØ
×Ñ˜˜k°,ÈØ-ð ô /à
×Ñ˜
¨NÜ .Ø4ð ô 6ð ×/Ñ/¸Ð/Ó>€EØ	×Ñ�t˜X¨{Ø7ð ô 9à	×Ñ�t˜[°Ø<Ø=ð ô ?ð 
×Ñ�t˜Z¨sØ3Ø9ð ô ;ð 
×Ñ�t˜X¨{Ø8ð ô :ð ×ÑÓ€Dà‡{‡{€{�t—|‘|Ò+Ø�‰�AÐ@ÔAà‡y�yÒØ�i‰iˆÜ�c�?Š?Ü�c˜3—” 3Ø—‘Ô Ü�c—n‘nÓ&¬S¯Z©ZÕ8÷  ð �|�|ˆ|ÜÐ.×5Ñ5°cÓ:Ö;ñ ð �K‰K˜Ð9×@Ñ@ÀÓEÖFà	�‰Ò	Ø�i‰iˆÜ�c�?Š?Ü—‘˜c 5×)Ô)¨RØ—‘ §¡�Ô-÷ *Ñ)ð �K‰K˜Ð9×@Ñ@ÀÓEÖFà	�‰Ó	!Üˆt�|‰|Ó Ô!Ø—,‘,˜q•/ˆCÜ—Y‘Y‰FÜ�—‘Ó !Ô#ØŸ,™,‰KˆC�à�K‰K˜˜6×-Ñ-Ó/Ô0ä�c�?Š?Ü—‘˜c 5×)Ô)¨RØ—‘ 6°$·+±+�Ô>÷ *à�|�|ˆ|Ø˜S”=Ø3×:Ñ:¸3Ó?‘Cð2ß39±6¸#Ó3Fð ä�c–
ñ ð �K‰K˜Ð9×@Ñ@ÀÓEÖFà	�‰Ò	 Ø—;‘;—?‘? 1Ó%ˆÜ—‘×!Ñ! (Ó+‰ˆð �4Ø�Dà�4Ø�Dà�EØ�EØ�UØ�Eà�EØ�Uð
ˆð  03Ô/B�4˜,Õ+Ö+ÈˆØ—K‘Kˆ	ä�\‰\˜(×-Ô-°Û&�	Ø—‘�yÖ!ñ '÷ .ð �<�<ˆ<ÜÐ&×-Ñ-¨hÓ7Ö8ñ ñ5 
!÷M  —�ú÷ *×)Ð)ú÷ *×)Ð)ú÷D .×-ús0   Ä2:R(ÈR<ÌSÑS$Ò(R9	Ò<S	ÓS!	Ó$S4	Ú__main__)r   r   rß  r   r   r   r   r	   r
   r¬  rÛ  rL   rÞ  r«  r   r   r§  r¥  r   r   r   r   r   r   r   )rò   rÅ  r!   r"   r#   r$   r†  r‡  >   rò   r‡  r†  rÅ  i   r;  )or„   ÚversionÚ
__author__Ú__credits__Úbuiltinsr   r¸  ry   rš   rH  r_   r  rî   rW   rÎ  Úrer  rÍ   r!  ÚAttributeErrorÚNotImplementedErrorrÖ   r¨  Ú__all__r-   r  rø  rí  ræ  rè  rç  r	  r³  r2  r–  r“  r  r  rÔ  rŸ  ÚCONTTYPErð  rï  r3  rü  r  rG  rÛ  rL   rÞ  r«  rL  rŠ  r5  r  r_  rø  rD   rc  r¢   r¬  Úgetfilesystemencodingr3   r:   rI   rR   r\   r`   rl   rs   r|   rô  r   r	   r   r   r   r
   rŒ   rŽ   r�   rF   r“   r•   rµ   ÚobjectrÆ   r+  ÚBufferedReaderrZ  r   r   r   r   r   r   r   rW  rž  r   r¥  r§  rH  rÌ  ÚcompilerZ  r   r   rß  r  r€   r~   r4   r2   Ú<module>r     sÆ  ðñ8ð €Ø6€
ØH€õ
 'Û 
Û 	Û 	Û Û Û Û Û Û 	ðÛðÛð $Ð%8¸'ÐBÐ ò?€ð €Ø€	Ø˜�^€
Ø€	Ø€à€Ø€Ø€à
€Ø€Ø
€Ø
€Ø
€Ø
€Ø
€Ø€Ø€àÐ ØÐ Ø€à
€Ø
€Ø€à€Ø€
Ø€
Ø€ð ˜H gØ˜G XØ˜W gØ#Ð%5Ø!ð	#€ð ˜(Ø˜>ð+€ð Ð/Øð€	ð.€
ò 9€ð
 ˆUØˆUØˆUØ	ˆ3Ø	ˆ3Ø
ˆCðÐ ð ‡7�7ˆd„?Ø�Hà×(Ò(Ó*€Hò0ò&òð( ˜Nô ò<*ð "&°À$ô ð> $Ð òò$ô	ˆyô 	ô	�8ô 	ô	�ô 	ô	�xô 	ô	�(ô 	ô	�(ô 	ô	�{ô 	ô	˜;ô 	ô	�[ô 	ô	˜ô 	ô	˜Kô 	÷ñ ÷0Cñ CôL�6ô ô@i�&ô iôX"�2×$Ñ$ô "ô	�(ô 	ôJ˜ô Jô
?˜kô ?ô@�{ô @ô
L˜ô Lô
? +ô ?ôD˜ô Dð ˜w¨Ð5€ôOòbòòð Ð)Ø	ˆ:Ø
ˆKð€ñ 	‹€ð Ÿ:š:Ð&8Ó9Ð ôM9ˆfô M9ô`mˆfô mòf)ð$ ‡|�|€ò`9ðD ˆzÔÙ†Fñ øðKc ô Ø
ƒCðûð ô Ø
ƒCðús"   ´I+ ¹I; É+	I8É7I8É;	JÊJ