+
    Žf©jÅ9  ã                  ó  € 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
Ht ^ RI	Ht ^ RIHt ^ RIHtHtHtHt ^ RIHt ]P,                  ! ]4      t]],           t ^ RIt]],          t ^ RIt]],          tR
 R ltR R ltR R lt RR/R R llt!R R lt"R R lt#R R lt$R$R R llt%R R lt&R R lt'R  R! lt(R%R" R# llt)R#   ] d    ]P9                  R4        Lzi ; i  ] d    ]P9                  R	4        LŠi ; i)&zUtilities related archives.)ÚannotationsN)ÚIterable)ÚZipInfo)ÚInstallationError)ÚBZ2_EXTENSIONSÚTAR_EXTENSIONSÚXZ_EXTENSIONSÚZIP_EXTENSIONS)Ú
ensure_dirzbz2 module is not availablezlzma module is not availablec               ó   € V ^8„  d   QhRR/# ©é   ÚreturnÚint© )Úformats   "ÚX/var/www/html/bestweb/venv/lib/python3.14/site-packages/pip/_internal/utils/unpacking.pyÚ__annotate__r   -   s   € ÷ ñ �sñ ó    c                 ó^   € \         P                  ! ^ 4      p \         P                  ! V 4       V # )zBGet the current umask which involves having to set it temporarily.)ÚosÚumask)Úmasks    r   Úcurrent_umaskr   -   s   € ä�8Š8�A‹;€DÜ‡H‚HˆT„NØ€Kr   c               ó    € V ^8„  d   QhRRRR/# )r   ÚpathÚstrr   z	list[str]r   )r   s   "r   r   r   4   s   € ÷ 	ñ 	˜Cð 	 Iñ 	r   c                ó  € V P                  R 4      P                  R4      p R V 9   dF   RV 9   d&   V P                  R 4      V P                  R4      8  g   RV 9  d   V P                  R ^4      # RV 9   d   V P                  R^4      # V R.# )Ú/Ú\Ú )ÚlstripÚfindÚsplit©r   s   &r   Úsplit_leading_dirr%   4   sz   € Ø�;‰;�sÓ×"Ñ" 4Ó(€DØ
ˆd„{Ø	�Œ˜$Ÿ)™) C›.¨4¯9©9°T«?Ô:¸tÈ4Ô?Oà�z‰z˜#˜qÓ!Ð!Ø	�ŒØ�z‰z˜$ Ó"Ð"à�bˆzÐr   c               ó    € V ^8„  d   QhRRRR/# )r   ÚpathszIterable[str]r   Úboolr   )r   s   "r   r   r   @   s   € ÷ ñ ˜=ð ¨Tñ r   c                ón   € RpV  F,  p\        V4      w  r4V'       g    R# Vf   TpK#  W18w  g   K+   R# 	  R# )zuReturns true if all the paths have the same leading path name
(i.e., everything is in one subdirectory in an archive)NFT)r%   )r'   Úcommon_prefixr   ÚprefixÚrests   &    r   Úhas_leading_dirr-   @   s>   € ð €MÛˆÜ(¨Ó.‰ˆßÚØÒ"Ø"ŠMØÖ$Úñ ñ r   Úresolve_symlinksFc               ó(   € V ^8„  d   QhRRRRRRRR/# )r   Ú	directoryr   Útargetr.   r(   r   r   )r   s   "r   r   r   O   s2   € ÷ Xñ XØðXØðXØ6:ðXà	ñXr   c               óp  € V'       d@   \         P                  P                  V 4      p\         P                  P                  V4      pM>\         P                  P                  V 4      p\         P                  P                  V4      pWC8H  ;'       g'    VP	                  V\         P
                  ,           4      # )a  
Return true if the absolute path of target is within the directory
(including when target is equal to the directory).

When ``resolve_symlinks`` is true, resolve symlinks before comparing so
traversal through a symlink (e.g. "link/../file") is also caught.
)r   r   ÚrealpathÚabspathÚ
startswithÚsep)r0   r1   r.   Úabs_directoryÚ
abs_targets   &&$  r   Úis_within_directoryr9   O   s{   € ÷ ÜŸ™×(Ñ(¨Ó3ˆÜ—W‘W×%Ñ% fÓ-‰
äŸ™Ÿ™¨	Ó2ˆÜ—W‘W—_‘_ VÓ,ˆ
àÑ&×WÐW¨*×*?Ñ*?ÀÔPR×PVÑPVÕ@VÓ*WÐWr   c               ó   € V ^8„  d   QhRR/# r   r   )r   s   "r   r   r   c   s   € ÷ ,ñ ,¨3ñ ,r   c                 ó4   € R \        4       ( ,          ^I,          # )iÿ  )r   r   r   r   Ú!_get_default_mode_plus_executabler<   c   s   € Ø”M“OÐ#Õ# eÕ+Ð+r   c               ó    € V ^8„  d   QhRRRR/# )r   r   r   r   ÚNoner   )r   s   "r   r   r   g   s   € ÷ 8ñ 8¸Sð 8ÀTñ 8r   c                óD   € \         P                  ! V \        4       4       R# )zl
Make file present at path have execute for user/group/world
(chmod +x) is no-op on windows per python docs
N)r   Úchmodr<   r$   s   &r   Ú2set_extracted_file_to_default_mode_plus_executablerA   g   s   € ô
 ‡H‚HˆTÔ4Ó6Ö7r   c               ó    € V ^8„  d   QhRRRR/# )r   Úinfor   r   r(   r   )r   s   "r   r   r   o   s   € ÷ >ñ > ð >¨Tñ >r   c                óœ   € V P                   ^,	          p\        T;'       d(    \        P                  ! V4      ;'       d
    V^I,          4      # )é   )Úexternal_attrr(   ÚstatÚS_ISREG)rC   Úmodes   & r   Úzip_item_is_executablerJ   o   s<   € Ø×Ñ Õ#€Dô �×<Ð<œŸš dÓ+×<Ð<°°uµÓ=Ð=r   c               ó(   € V ^8„  d   QhRRRRRRRR/# )r   Úfilenamer   ÚlocationÚflattenr(   r   r>   r   )r   s   "r   r   r   v   s(   € ÷ +ñ +˜ð +¨ð +°dð +Àdñ +r   c                ó   € \        V4       \        V R4      p \        P                  ! VRR7      p\	        VP                  4       4      ;'       d    TpVP                  4        EF;  pVP                  pTpV'       d   \        V4      ^,          p\        P                  P                  W4      p\        P                  P                  V4      p	\        W4      '       g   Rp
\        V
P                  WV4      4      hVP!                  R4      '       d   \        V4       K¼  \        V	4       VP                  V4      p \        VR4      ;_uu_ 4       p\"        P$                  ! W¼4       RRR4       VP'                  4        \)        V4      '       d   \+        V4       EK;  EK>  	  VP'                  4        R#   + '       g   i     LV; i  TP'                  4        \)        T4      '       d   \+        T4       i i ; i  TP'                  4        i ; i)aƒ  
Unzip the file (with path `filename`) to the destination `location`.  All
files are written based on system defaults and umask (i.e. permissions are
not preserved), except that regular file members with any execute
permissions (user, group, or world) have "chmod +x" applied after being
written. Note that for windows, any execute changes using os.chmod are
no-ops per the python docs.
ÚrbT)Ú
allowZip64zQThe zip file ({}) has a file ({}) trying to install outside target directory ({})ÚwbN)r   r   )r
   ÚopenÚzipfileÚZipFiler-   ÚnamelistÚinfolistrL   r%   r   r   ÚjoinÚdirnamer9   r   r   ÚendswithÚshutilÚcopyfileobjÚcloserJ   rA   )rL   rM   rN   ÚzipfpÚzipÚleadingrC   ÚnameÚfnÚdirÚmessageÚfpÚdestfps   &&&          r   Ú
unzip_filerg   v   s~  € ô ˆxÔÜ�˜4Ó €Eð Ü�oŠo˜e°Ô5ˆÜ! #§,¡,£.Ó1×=Ð=°gˆØ—L‘L—NˆDØ—=‘=ˆDØˆBßÜ& tÓ,¨QÕ/�Ü—‘—‘˜hÓ+ˆBÜ—'‘'—/‘/ "Ó%ˆCÜ& x×4Ò4ð4ð ô (¨¯©°xÀXÓ(NÓOÐOØ�{‰{˜;×'Ò'ä˜2–ä˜3”ð —X‘X˜d“^�ðOÜ˜b $Ÿœ¨6Ü×*Ò*¨2Ô6÷ (ð —H‘H”JÜ-¨d×3Ò3ÜJÈ2×Nò 4ñ5 #ð: 	�‰Ž÷ (Ÿûð —H‘H”JÜ-¨d×3Ò3ÜJÈ2ÕNð 4ûð 	�‰�ús<   ™D#G; Ä=G	ÅF6Å(G	Å04G; Æ6GÇG	Ç	/G8Ç8G; Ç;Hc               ó$   € V ^8„  d   QhRRRRRR/# )r   rL   r   rM   r   r>   r   )r   s   "r   r   r   ¤   s&   € ÷ ]ñ ]˜ð ]¨ð ]°ñ ]r   c                ó|  a aaa€ \        S4       S P                  4       P                  R4      '       g&   S P                  4       P                  R4      '       d   RpM˜S P                  4       P                  \        4      '       d   RpMlS P                  4       P                  \        4      '       d   RpM@S P                  4       P                  R4      '       d   RpM\
        P                  RS 4       R	p\        P                  ! S VR
R7      p \        VP                  4        Uu. uF  qDP                  NK  	  up4      p \        P                  o\        4       oV'       dr   VP                  4        F]  p\        VP                  4      w  rgWtn        VP                  4       '       g   K8  \        VP                   4      w  r‰W†8X  g   KW  W”n        K_  	  R VVV V3R llp
VP#                  SV
R7       VP)                  4        R# u upi   \$         d    \'        S SY54        L1i ; i  TP)                  4        i ; i)a…  
Untar the file (with path `filename`) to the destination `location`.
All files are written based on system defaults and umask (i.e. permissions
are not preserved), except that regular file members with any execute
permissions (user, group, or world) have "chmod +x" applied on top of the
default.  Note that for windows, any execute changes using os.chmod are
no-ops per the python docs.
z.gzz.tgzzr:gzzr:bz2zr:xzz.tarÚrz-Cannot determine compression type for file %szr:*zutf-8)Úencodingc               ó$   € V ^8„  d   QhRRRRRR/# )r   Úmemberútarfile.TarInfor   r   r   r   )r   s   "r   r   Ú untar_file.<locals>.__annotate__×   s!   € ÷ %ñ % ?ð %¸#ð %À/ñ %r   c                ó²  <€ V P                   p  S! V S4      p T P                  4       '       d   T^I,          '       d
   ST n         T # RT n         T #   \        P                   d8    \        P                  R ,          R9   d   \        P
                  ! T S4      p  L�h i ; i  \        P                   d#   pRp\        TP                  ST4      4      hRp?ii ; i):Né   Nz%Invalid member in the tar file {}: {}N>   ©rq   é	   é   ©rq   é
   é   ©rq   é   é   )
rI   ÚtarfileÚLinkOutsideDestinationErrorÚsysÚversion_infoÚ
tar_filterÚTarErrorr   r   Úisfile)	rm   r   Ú	orig_modeÚexcrd   Údata_filterÚdefault_mode_plus_executablerL   rM   s	   &&   €€€€r   Ú
pip_filterÚuntar_file.<locals>.pip_filter×   sÙ   ø€ Ø"ŸK™K�	ðð"Ù!,¨V°XÓ!>˜ð2 —=‘=—?’? y°5×'8Ô'8Ø">�F”Kð �ð #'�F”KØ�øôA #×>Ñ>ô "Ü×+Ñ+¨BÕ/ð 4ô ô &-×%7Ò%7¸ÀÓ%IšFà!ð"ûô ×'Ñ'ô 	ØE�Gô ,ØŸ™Ø$Øóóð ûð		ús0   �	A ÁABÂB ÂBÂB ÂCÂ4CÃC)ÚfilterN)r
   ÚlowerrZ   r   r   ÚloggerÚwarningr{   rS   r-   Ú
getmembersra   r„   r<   r%   ÚislnkÚlinknameÚ
extractallÚAttributeErrorÚ_untar_without_filterr]   )rL   rM   rI   Útarrm   r`   Ú	name_leadÚ	name_restÚlnk_leadÚlnk_restr†   r„   r…   s   ff         @@r   Ú
untar_filer—   ¤   s·  û€ ô ˆxÔØ‡~�~Ó× Ñ  ×'Ò'¨8¯>©>Ó+;×+DÑ+DÀV×+LÒ+LØ‰Ø	�‰Ó	×	"Ñ	"¤>×	2Ò	2Ø‰Ø	�‰Ó	×	"Ñ	"¤=×	1Ò	1Ø‰Ø	�‰Ó	×	"Ñ	" 6×	*Ò	*Ø‰ä�‰Ø;Øô	
ð ˆä
�,Š,�x °Ô
8€CðCÜ!¸S¿^¹^Ô=MÓ"NÑ=M°6§;¤;Ñ=MÑ"NÓOˆð
:	8Ü!×-Ñ-ˆKô ,MÓ+NÐ(çð "Ÿn™nÖ.�FÜ+<¸V¿[¹[Ó+IÑ(�IØ"+”KØ—|‘|—~”~Ü->¸v¿¹Ó-OÑ*˜Ø#Ö0Ø.6žOñ /÷%ó %ðN �N‰N˜8¨JˆNÔ7ð 	�	‰	ŽùòE #Oøô ô 	DÜ! (¨H°cÖCð	Dûðv 	�	‰	�úsO   ÄH) Ä&HÄ:H) ÅH ÅAH) Æ,H) Ç)H) ÈH) ÈH&È#H) È%H&È&H) È)H;c               ó$   € V ^8„  d   QhRRRRRR/# )r   r’   útarfile.TarFileÚtarinforn   r   r(   r   )r   s   "r   r   r     s"   € ÷ ñ  /ð ¸Oð ÐPTñ r   c                óR  € \         P                  P                  \         P                  P                  VP                  4      VP
                  4      p\         P                  P                  V4      pVP                  RR4      p V P                  V4       R#   \         d     R# i ; i)zGCheck if the file pointed to by the symbolic link is in the tar archiver   r   TF)
r   r   rX   rY   ra   rŽ   ÚnormpathÚreplaceÚ	getmemberÚKeyError)r’   rš   rŽ   s   && r   Úis_symlink_target_in_tarr      sy   € ä�w‰w�|‰|œBŸG™GŸO™O¨G¯L©LÓ9¸7×;KÑ;KÓL€Hä�w‰w×Ñ Ó)€HØ×Ñ  cÓ*€HðØ�‰�hÔÙøÜô Úðús   ÂB ÂB&Â%B&c          
     ó,   € V ^8„  d   QhRRRRRRRRRR	/# )
r   rL   r   rM   r’   r™   r`   r(   r   r>   r   )r   s   "r   r   r     sH   € ÷ SIñ SIØðSIàðSIð 
ðSIð ð	SIð
 
ñSIr   c                ó  € VP                  4        EF`  pVP                  pV'       d   \        V4      ^,          p\        P                  P                  W4      p\        W4      '       d   \        WRR7      '       g   Rp\        VP                  WV4      4      hVP                  4       '       d   \        V4       K­  VP                  4       '       dã   \        P                  P                  \        P                  P                  V4      VP                  4      p\        WRR7      '       g2   Rp\        VP                  WP                  VP                  4      4      h\        W$4      '       g2   Rp\        VP                  WP                  VP                  4      4      h VP                  WF4       EK¥   VP'                  V4      p
\        \        P                  P                  T4      4       T
f   Q h\-        TR4      ;_uu_ 4       p\.        P0                  ! Y«4       RRR4       T
P3                  4        TP5                  YF4       TP6                  ^I,          '       g   EKU  \9        T4       EKc  	  R#   \          d/   p	\"        P%                  RT TP                  T	4        Rp	?	EK›  Rp	?	ii ; i  \(        \*        3 d/   p	\"        P%                  RT TP                  T	4        Rp	?	EKÝ  Rp	?	ii ; i  + '       g   i     LÝ; i)z/Fallback for Python without tarfile.data_filterT)r.   zQThe tar file ({}) has a file ({}) trying to install outside target directory ({})z/In the tar file %s the member %s is invalid: %sNrR   )rŒ   ra   r%   r   r   rX   r9   r   r   Úisdirr
   ÚissymrY   rŽ   r    Ú_extract_memberÚ	ExceptionrŠ   r‹   ÚextractfilerŸ   r�   rS   r[   r\   r]   ÚutimerI   rA   )rL   rM   r’   r`   rm   rb   r   rd   r1   rƒ   re   rf   s   &&&&        r   r‘   r‘     sN  € ð —.‘.×"ˆØ�[‰[ˆßÜ" 2Ó& qÕ)ˆBÜ�w‰w�|‰|˜HÓ)ˆô
 # 8×2Ò2Ô:MØ¨T÷;
ó ;
ð0ð ô $ G§N¡N°8À8Ó$LÓMÐMØ�<‰<�>Š>Ü�tÖØ�\‰\�^Š^ô —W‘W—\‘\¤"§'¡'§/¡/°$Ó"7¸¿¹ÓIˆFÜ& xÈ$×OÓOð4ð ô (Ø—N‘N 8¯[©[¸&¿/¹/ÓJóð ô ,¨C×8Ò8ð4ð ô (Ø—N‘N 8¯[©[¸&¿/¹/ÓJóð ðØ×#Ñ# F×1ðØ—_‘_ VÓ,�ô ”r—w‘w—‘ tÓ,Ô-Ø’>Ð!�>Ü�d˜D×!Ô! VÜ×"Ò" 2Ô.÷ "à�H‰HŒJà�I‰I�fÔ#à�{‰{˜U×"×"ÜBÀ4×HóS #øôR ô 	ô —‘ØEØØ—K‘KØô	ö ûð	ûô œnÐ-ô 	ô —‘ØEØØ—K‘KØô	ö ûð	ú÷ "×!ús<   Æ"I8Æ7J4È
K6É8J1Ê"J,Ê,J1Ê4K3Ë"K.Ë.K3Ë6Lc               ó(   € V ^8„  d   QhRRRRRRRR/# )r   rL   r   rM   Úcontent_typez
str | Noner   r>   r   )r   s   "r   r   r   h  s6   € ÷ /Nñ /NØð/Nàð/Nð ð/Nð 
ñ	/Nr   c                ó  a aa€ \         P                  P                  S 4      o S P                  R4      '       * oR V VV3R llpR V V3R llpVR8X  d   V! 4       # VR8X  d   V! 4       # S P	                  4       P                  \
        4      '       d   V! 4       # S P	                  4       P                  \        \        ,           \        ,           4      '       d   V! 4       # \        P                  ! S 4      p\        P                  ! S 4      pV'       d   V'       g   V! 4       # V'       d   V'       g   V! 4       # V'       d   V'       d   \        P                  RS 4       \        P                  R	S SV4       \!        R
S 24      h)zÁUnpack ``filename`` into ``location``.

Archive format is chosen in order of decreasing reliability:
``content_type``, then filename extension, then magic signature
(unambiguous matches only).
z.whlc               ó   € V ^8„  d   QhRR/# ©r   r   r>   r   )r   s   "r   r   Ú!unpack_file.<locals>.__annotate__v  s   € ÷ <ñ <�Dñ <r   c                 ó$   <€ \        S SSR 7       R# ))rN   N)rg   )rL   rM   Úzip_flattens   €€€r   Ú_unzipÚunpack_file.<locals>._unzipv  s   ø€ Ü�8˜X¨{×;r   c               ó   € V ^8„  d   QhRR/# r­   r   )r   s   "r   r   r®   y  s   € ÷ 'ñ '�Dñ 'r   c                 ó    <€ \        S S4       R # ©N)r—   )rL   rM   s   €€r   Ú_untarÚunpack_file.<locals>._untary  s   ø€ Ü�8˜XÖ&r   zapplication/zipzapplication/x-gzipzAmbiguous file signature in %s.zZCannot unpack file %s (downloaded from %s, content-type: %s); cannot detect archive formatz#Cannot determine archive format of )r   r   r3   rZ   r‰   r	   r   r   r   rT   Ú
is_zipfiler{   Ú
is_tarfilerŠ   ÚerrorÚcriticalr   )rL   rM   rª   r±   r¶   r¸   r¹   r°   s   ff&    @r   Úunpack_filer¼   h  s'  ú€ ô �w‰w×Ñ Ó)€HØ×'Ñ'¨Ó/Ô/€K÷<ò <÷'ñ 'ð Ð(Ô(Ù‹xˆØÐ+Ô+Ù‹xˆà‡~�~Ó× Ñ ¤×0Ò0Ù‹xˆØ‡~�~Ó× Ñ ¤´.Õ!@Ä=Õ!P×QÒQÙ‹xˆô ×#Ò# HÓ-€JÜ×#Ò# HÓ-€JßŸ*Ù‹xˆßŸ*Ù‹xˆß—jÜ�‰Ð6¸ÔAä
‡O�Oð	'àØØôô ÐAÀ(ÀÐLÓ
MÐMr   )Trµ   )*Ú__doc__Ú
__future__r   Úloggingr   r[   rG   r}   r{   rT   Úcollections.abcr   r   Úpip._internal.exceptionsr   Úpip._internal.utils.filetypesr   r   r   r	   Úpip._internal.utils.miscr
   Ú	getLoggerÚ__name__rŠ   ÚSUPPORTED_EXTENSIONSÚbz2ÚImportErrorÚdebugÚlzmar   r%   r-   r9   r<   rA   rJ   rg   r—   r    r‘   r¼   r   r   r   Ú<module>rË      s
  ðÙ !å "ã Û 	Û Û Û 
Û Û Ý $Ý å 6÷ó õ 0à	×	Ò	˜8Ó	$€ð &¨Õ6Ð ð0Ûà˜NÕ*Ðð1ãà˜MÕ)Ðõ
õ	õðXØ=B÷Xõ(,õ8õ>÷+õ\]õ@õSI÷l/Nñ /NøðO
 ô 0Ø
‡L�LÐ.Ö/ð0ûð ô 1Ø
‡L�LÐ/Ö0ð1ús$   Á%C Á3C0 ÃC-Ã,C-Ã0DÄ
D