+
    ª¬‚j¬2  ã                  ó  € 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 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        Lvi ; 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   "ÚZ/Users/cheyod/AIGC/DSH/.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   c               ó$   € V ^8„  d   QhRRRRRR/# )r   Ú	directoryr   Útargetr   r(   r   )r   s   "r   r   r   O   s!   € ÷ #ñ # 3ð #°ð #¸ñ #r   c                óÆ   € \         P                  P                  V 4      p\         P                  P                  V4      p\         P                  P                  W#.4      pWB8H  # )zD
Return true if the absolute path of target is within the directory
)r   r   ÚabspathÚ
commonpath)r/   r0   Úabs_directoryÚ
abs_targetr+   s   &&   r   Úis_within_directoryr6   O   sH   € ô —G‘G—O‘O IÓ.€MÜ—‘—‘ Ó(€Jä�W‰W×Ñ Ð ;Ó<€FØÑ"Ð"r   c               ó   € V ^8„  d   QhRR/# r   r   )r   s   "r   r   r   Z   s   € ÷ ,ñ ,¨3ñ ,r   c                 ó4   € R \        4       ( ,          ^I,          # )iÿ  )r   r   r   r   Ú!_get_default_mode_plus_executabler9   Z   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   ^   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   Úchmodr9   r$   s   &r   Ú2set_extracted_file_to_default_mode_plus_executabler>   ^   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   f   s   € ÷ >ñ > ð >¨Tñ >r   c                óœ   € V P                   ^,	          p\        T;'       d(    \        P                  ! V4      ;'       d
    V^I,          4      # )é   )Úexternal_attrr(   ÚstatÚS_ISREG)r@   Úmodes   & r   Úzip_item_is_executablerG   f   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   m   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ÚinfolistrI   r%   r   r   ÚjoinÚdirnamer6   r   r   ÚendswithÚshutilÚcopyfileobjÚcloserG   r>   )rI   rJ   rK   ÚzipfpÚzipÚleadingr@   ÚnameÚfnÚdirÚmessageÚfpÚdestfps   &&&          r   Ú
unzip_filerd   m   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   rI   r   rJ   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>   ©rn   é	   é   ©rn   é
   é   ©rn   é   é   )
rF   ÚtarfileÚLinkOutsideDestinationErrorÚsysÚversion_infoÚ
tar_filterÚTarErrorr   r   Úisfile)	rj   r   Ú	orig_modeÚexcra   Údata_filterÚdefault_mode_plus_executablerI   rJ   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
   ÚlowerrW   r   r   ÚloggerÚwarningrx   rP   r-   Ú
getmembersr^   r�   r9   r%   ÚislnkÚlinknameÚ
extractallÚAttributeErrorÚ_untar_without_filterrZ   )rI   rJ   rF   Útarrj   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Útarinfork   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   rU   rV   r^   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   rI   r   rJ   r�   r–   r]   r(   r   r;   r   )r   s   "r   r   r   	  sH   € ÷ BIñ BIØðBIàðBIð 
ðBIð ð	BIð
 
ñBIr   c                óÖ  € VP                  4        EFÂ  pVP                  pV'       d   \        V4      ^,          p\        P                  P                  W4      p\        W4      '       g   Rp\        VP                  WV4      4      hVP                  4       '       d   \        V4       Kš  VP                  4       '       dX   \        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K·  \9        T4       EKÅ  	  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_filterzQThe tar file ({}) has a file ({}) trying to install outside target directory ({})z/In the tar file %s the member %s is invalid: %sNrO   )r‰   r^   r%   r   r   rU   r6   r   r   Úisdirr
   Úissymr�   r‹   Ú_extract_memberÚ	Exceptionr‡   rˆ   Úextractfilerœ   r�   rV   rP   rX   rY   rZ   ÚutimerF   r>   )rI   rJ   r�   r]   rj   r_   r   ra   r€   rb   rc   s   &&&&       r   rŽ   rŽ   	  sÔ  € ð —.‘.×"ˆØ�[‰[ˆßÜ" 2Ó& qÕ)ˆBÜ�w‰w�|‰|˜HÓ)ˆÜ" 8×2Ò2ð0ð ô $ G§N¡N°8À8Ó$LÓMÐMØ�<‰<�>Š>Ü�tÖØ�\‰\�^Š^Ü+¨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óq #øô0 ô 	ô —‘ØEØØ—K‘KØô	ö ûð	ûô œnÐ-ô 	ô —‘ØEØØ—K‘KØô	ö ûð	ú÷ "×!ús<   ÄGÄHÅ,IÇHÇ%"HÈHÈIÈ'"IÉIÉI(c               ó(   € V ^8„  d   QhRRRRRRRR/# )r   rI   r   rJ   Úcontent_typez
str | Noner   r;   r   )r   s   "r   r   r   N  s6   € ÷ Rñ RØðRàðRð ðRð 
ñ	Rr   c                óH  € \         P                  P                  V 4      p VR 8X  gF   V P                  4       P	                  \
        4      '       g   \        P                  ! V 4      '       d$   \        WV P	                  R4      '       * R7       R# VR8X  g\   \        P                  ! V 4      '       g@   V P                  4       P	                  \        \        ,           \        ,           4      '       d   \        W4       R# \        P!                  RV VV4       \#        RV 24      h)zapplication/zipz.whl)rK   zapplication/x-gzipzZCannot unpack file %s (downloaded from %s, content-type: %s); cannot detect archive formatz#Cannot determine archive format of N)r   r   Úrealpathr†   rW   r	   rQ   Ú
is_zipfilerd   rx   Ú
is_tarfiler   r   r   r”   r‡   Úcriticalr   )rI   rJ   r§   s   &&&r   Úunpack_filer­   N  s×   € ô
 �w‰w×Ñ Ó)€HàÐ)Ô)Ø�>‰>Ó×$Ñ$¤^×4Ò4Ü×Ò˜h×'Ò'ä�8°8×3DÑ3DÀVÓ3LÔ/L×MàÐ,Ô,Ü×Ò˜h×'Ò'Ø�>‰>Ó×$Ñ$¤^´nÕ%DÄ}Õ%T×UÒUä�8Ö&ô 	�‰ð+àØØô	
ô  Ð"EÀhÀZÐ PÓQÐQr   )T)N)*Ú__doc__Ú
__future__r   Úloggingr   rX   rD   rz   rx   rQ   Ú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-   r6   r9   r>   rG   rd   r”   r�   rŽ   r­   r   r   r   Ú<module>r¼      s   ðÙ !å "ã Û 	Û Û Û 
Û Û Ý $Ý å 6÷ó õ 0à	×	Ò	˜8Ó	$€ð &¨Õ6Ð ð0Ûà˜NÕ*Ðð1ãà˜MÕ)Ðõ
õ	õõ#õ,õ8õ>÷+õ\]õ@õBI÷JRñ Røð[	 ô 0Ø
‡L�LÐ.Ö/ð0ûð ô 1Ø
‡L�LÐ/Ö0ð1ús$   Á%C Á3C, ÃC)Ã(C)Ã,DÄD