+
    SBiZ1                    4   ^ RI Ht ^ RIt^ RIt^ RIHtHt ^ RIH	t	 ^ RI
Ht ^ RIHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHt ^ RIHt ^ RIHt ^RIHt ^RIHt ^RIHt ^RI H!t! ]PD                  ! R]PF                  4      t$]PD                  ! R]PF                  4      t%]PD                  ! R4      t&]PD                  ! R4      t']! RR^ R7      t(R] 2t)R R lt*R R lt+R R lt, ! R R ]R!7      t- ! R" R#]-4      t. ! R$ R%].4      t/ ! R& R']-4      t0R( R) lt1R# )*    )annotationsN)ABCMetaabstractmethod)defaultdict)Iterator)Message)Parser)EmailPolicy)iglob)Path)dedent)ZipFile)__version__)generate_requirements)	parse_tag)	WheelFilez]
    (?P<name>.+?)-(?P<ver>.+?)
    (-(?P<pyver>py\d\.\d+)
     (-(?P<arch>.+?))?
    )?.egg$zL
    ^(?P<name>.+?)-(?P<ver>.+?)
    (-(?P<pyver>py\d\.\d+)
    )?.egg-info/z>\.(?P<platform>win32|win-amd64)(?:-(?P<pyver>py\d\.\d))?\.exe$z8\.(?P<abi>[a-z0-9]+)-(?P<platform>win32|win_amd64)\.pyd$TF)utf8mangle_from_max_line_lengthzwheel c               $    V ^8  d   QhRRRRRR/# )   requiresstrmetadatar   returnNone )formats   "6/usr/lib/python3.14/site-packages/wheel/cli/convert.py__annotate__r    0   s!     ( (s (g ($ (    c                l   R p\        \        4      pV P                  4        Fi  pVP                  4       pV'       g   K  VP	                  R4      '       d   VP                  R4      '       d   V^R pKR  W2,          P                  V4       Kk  	  \        V4       F  w  rVVP                  WV4       K  	  R # )N[])	r   list
splitlinesstrip
startswithendswithappendr   
add_header)r   r   extrarequirementslinekeyvalues   &&     r   convert_requiresr2   0   s    E0;D0AL##%zz|??3DMM#$6$62JE""4( & ,L9
C' :r!   c                    V ^8  d   QhRRRR/# )r   pkginfor   r   r   r   )r   s   "r   r    r    B   s     7 7c 7W 7r!   c           
     >   \        4       P                  V 4      pVP                  4        F  w  r4VP                  4       pVR 8X  d   K  VR8X  dl   VP	                  4       pRP                  V^ ,          P                  4       \        RP                  VR,          4      4      R34      pVP                  V4       K  VR8X  d   VP                  RRV 24       K  VR8X  d   VP                  RRV 24       K  VP                  W44       K  	  VP                  R	R
4       R# )UNKNOWNdescription
:   NNz	home-pagezProject-URLz
Homepage, zdownload-urlz
Download, zMetadata-Versionz2.4N)r	   parsestritemslowerr'   joinlstripr   set_payloadr,   replace_header)r4   r   parsed_messager0   r1   	key_lowerdescription_liness   &&     r   convert_pkg_inforD   B   s   X&&w/N$**,
IIK	I% % 0 0 2II%a(//1499%6r%:;<E   '+%E7/CD.(E7/CD+) -, .6r!   c                    V ^8  d   QhRRRR/# )r   namer   r   r   )r   s   "r   r    r    ]   s     B BC BC Br!   c                n    \         P                  ! R RV 4      P                  4       P                  RR4      # )z[-_.]+-_)resubr<   replace)rF   s   &r   	normalizerM   ]   s+    66)S$'--/77SAAr!   c                      ] tR t^at$ R]R&   R]R&   RtR]R&   RtR]R&   RtR]R	&   R
]R&   ]R R l4       t	]
R R l4       tRtR# )ConvertSourcer   rF   versionzpy2.py3pyvernoneabianyplatformr   r   c                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r    ConvertSource.__annotate__j   s     7 7s 7r!   c                	:    V P                    R V P                   R2# )rH   
.dist-inforF   rP   selfs   &r   dist_info_dirConvertSource.dist_info_diri   s    ))Adll^:66r!   c                   V ^8  d   QhRR/# r   r   zIterator[tuple[str, bytes]]r   )r   s   "r   r    rW   n   s      #> r!   c                	    R # Nr   r[   s   &r   generate_contentsConvertSource.generate_contentsm   s    r!   r   N)__name__
__module____qualname____firstlineno____annotations__rQ   rS   rU   propertyr]   r   rc   __static_attributes__r   r!   r   rO   rO   a   sV    
ILE3CHc7 7  r!   rO   )	metaclassc                  .    ] tR t^rtR R ltR R ltRtR# )EggFileSourcec                   V ^8  d   QhRR/# r   pathr   r   )r   s   "r   r    EggFileSource.__annotate__s   s     " "T "r!   c                	   \         P                  VP                  4      ;p'       g   \        R VP                   24      hWn        \        VP                  R4      4      V n        VP                  R4      V n        VP                  R4      ;p'       db   VP                  RR4      V n	        VP                  R4      ;p'       d2   V P                  P                  RR4      V n
        \        V4      V n        \        4       V n        R	# )
zInvalid egg file name: rF   verrQ   . archpycpN)egg_filename_rematchrF   
ValueErrorrq   rM   grouprP   rL   rQ   rS   rU   r   r   )r\   rq   r{   rQ   rw   s   &&   r   __init__EggFileSource.__init__s   s    (..tyy9996tyykBCC 	ekk&12	{{5)KK((5(sB/DJ{{6**t*::--dD9 )$	r!   c                   V ^8  d   QhRR/# r`   r   )r   s   "r   r    rr      s     8 8#> 8r!   c              #  	  "   \        V P                  R 4      ;_uu_ 4       p\        VP                  4       4       F  pVP	                  R4      '       d   K  VP                  R4      '       d   VR8X  d7   VP                  V4      P                  R4      p\        W0P                  4       MfVR8X  d7   VP                  V4      P                  R4      p\        W@P                  4       M)VR8X  d#   V P                   R2VP                  V4      3x  K  W!P                  V4      3x  K  	  RRR4       R#   + '       g   i     R# ; i5i)	r/z	EGG-INFO/zEGG-INFO/requires.txtutf-8zEGG-INFO/PKG-INFOzEGG-INFO/entry_points.txt/entry_points.txtN)r   rq   sortednamelistr*   r)   readdecoder2   r   rD   r]   )r\   zip_filefilenamer   r4   s   &    r   rc   EggFileSource.generate_contents   s    TYY$$"8#4#4#67$$S)) &&{33#::#+==#:#A#A'#J(==A!%88"*--"9"@"@"I(--@!%@@#1122CD$MM(3 
  h 777/ 8 %$$$s$   E	AD5.B=D5+
E	5E	 	E	rS   r   rF   rq   rU   rQ   rP   N)re   rf   rg   rh   r~   rc   rk   r   r!   r   rn   rn   r   s    " 8 8r!   rn   c                  "    ] tR t^tR R ltRtR# )EggDirectorySourcec                   V ^8  d   QhRR/# r`   r   )r   s   "r   r    EggDirectorySource.__annotate__   s     J J#> Jr!   c              #  	J  "   \         P                  ! V P                  4       EFy  w  rp\        V4       EFb  p\	        W4      pVP
                  P                  R 8X  Ed   VP                  R8X  d(   VP                  R4      p\        W`P                  4       MVP                  R8X  d   VP                  R4      p\        WpP                  4       V P                  P                  R4      ;p'       d   \        V4      V n        V P                  P                  R4      ;p	'       d   Wn        M2VP                  R8X  d"   V P                   R2VP                  4       3x  EK,  \!        VP#                  V P                  4      4      VP                  4       3x  EKe  	  EK|  	  R# 5i)	zEGG-INFOrequires.txtr   PKG-INFONameVersionentry_points.txtr   N)oswalkrq   r   r   parentrF   	read_textr2   r   rD   getrM   rP   r]   
read_bytesr   relative_to)
r\   dirpathrI   	filenamesr   rq   r   r4   rF   rP   s
   &         r   rc   $EggDirectorySource.generate_contents   s=    %'WWTYY%7!G	"9-G.;;##z1yyN2#'>>'#:(==Aj0"&.."9(--@#'==#4#4V#<<4<(1$DI&*mm&7&7	&BB7B+2L&88#1122CD OO- 
  $**499568III/ . &8s   D"F#%A>F#rZ   N)re   rf   rg   rh   rc   rk   r   r!   r   r   r      s    J Jr!   r   c                  2    ] tR t^tRtR R ltR R ltRtR# )WininstFileSourcea  
Handles distributions created with ``bdist_wininst``.

The egginfo filename has the format::

    name-ver(-pyver)(-arch).egg-info

The installer filename has the format::

    name-ver.arch(-pyver).exe

Some things to note:

1. The installer filename is not definitive. An installer can be renamed
   and work perfectly well as an installer. So more reliable data should
   be used whenever possible.
2. The egg-info data should be preferred for the name and version, because
   these come straight from the distutils metadata, and are mandatory.
3. The pyver from the egg-info data should be ignored, as it is
   constructed from the version of Python used to build the installer,
   which is irrelevant - the installer filename is correct here (even to
   the point that when it's not there, any version is implied).
4. The architecture must be taken from the installer filename, as it is
   not included in the egg-info data.
5. Architecture-neutral installers still have an architecture because the
   installer format itself (being executable) is architecture-specific. We
   should therefore ignore the architecture if the content is pure-python.
c                   V ^8  d   QhRR/# rp   r   )r   s   "r   r    WininstFileSource.__annotate__   s      T r!   c                	   Wn         \        4       V n        \        P	                  VP
                  4      ;p'       dP   \        VP                  R 4      4      V n        VP                  R4      ;p'       d   VP                  RR4      V n
        R;rE\        V P                   4      ;_uu_ 4       pVP                  4        EF  pVP                  R^4      w  rV'       g   \        P                  V4      ;p'       di   Rp\        VP                  R4      4      V n        VP                  R4      V n        VP                  R4      ;p'       d   VP                  RR4      V n
        MSV'       gL   \"        P	                  V4      ;p'       d/   RpVP                  R	4      V n        VP                  R 4      V n        V'       g   EK  V'       g   EK   M	  R
R
R
4       R
#   + '       g   i     R
# ; i)rU   rQ   ru   rv   Fr   TrF   rt   rS   N)rq   r   r   
wininst_researchrF   rM   r}   rU   rL   rQ   r   r   splitegg_info_rer{   rP   pyd_rerS   )	r\   rq   r{   rQ   egg_info_found	pyd_foundr   r   prefixs	   &&       r   r~   WininstFileSource.__init__   sg   		 %%dii0050%ekk*&=>DMG,,u,"]]33
 &+*TYY8$--/#+>>#q#9 %K4E4Eh4O+O5+O%)N )%++f*= >DI#(;;u#5DL %G 44u4%*]]3%;
"x1H(H(H $I${{51DH$)KK
$;DM!>ii 0  s,   ,AG:A/G*G3G GGG*	c                   V ^8  d   QhRR/# r`   r   )r   s   "r   r    r      s     ? ?#> ?r!   c              #  	v  "   V P                    R V P                   R2pV P                    R V P                   R2p\        V P                  R4      ;_uu_ 4       p\	        VP                  4       4       EF#  pVP                  R4      '       d   K  VP                  R^4      w  rV\        P                  V4      '       d   VP                  R^4      R,          pVR8X  d7   VP                  V4      P                  R4      p\        WP                  4       M\VR8X  d7   VP                  V4      P                  R4      p	\        WP                  4       MVR8X  d   V R	2VP                  V4      3x  EK  VR
8X  d   V RV 2pWcP                  V4      3x  EK&  	  RRR4       R#   + '       g   i     R# ; i5i)rH   rY   z.datar   r   r   r   r   r   r   SCRIPTSz	/scripts/Nr%   )rF   rP   r   rq   r   r   r*   r   r   r   rsplitr   r   r2   r   rD   )
r\   r]   data_dirr   r   r   target_filenamebasenamer   r4   s
   &         r   rc   #WininstFileSource.generate_contents   sy    99+Qt||nJ?ii[$,,u5TYY$$"8#4#4#67$$S)) +3..a*@'%%o66.55c1=bAH>1#+==#:#A#A'#J(==A!Z/"*--"9"@"@"I(--@!%77,o->?$MM(3 
 y()1
)O;L&MO &}}X'>>>7 8 %$$$s   AF9EF%
F9%F6	0	F9r   N)re   rf   rg   rh   __doc__r~   rc   rk   r   r!   r   r   r      s    :<? ?r!   r   c               (    V ^8  d   QhRRRRRRRR/# )	r   filesz	list[str]dest_dirr   verboseboolr   r   r   )r   s   "r   r    r      s(     2 29 2 2d 2t 2r!   c                T   V  EF  p\        V4       EFy  p\        V4      pVP                  R 8X  d/   VP                  4       '       d   \	        V4      pM\        V4      pM\        V4      pV'       d   \        V R2RRR7       \        V4      VP                   RVP                   RVP                   RVP                   RVP                   R2
,          p\        VR4      ;_uu_ 4       pVP                  4        F  w  rVP                  W4       K  	  VP                  VP                    R2VP"                  P%                  \&        R	7      P)                  R
4      4       \+        4       pVP-                  RR4       VP-                  R\.        4       VP-                  R\1        VP                  R8H  4      P3                  4       4       \5        VP                   RVP                   RVP                   24      p\7        VR R7       F  pVP-                  R\1        V4      4       K   	  VP                  VP                    R2VP%                  \&        R	7      P)                  R
4      4       RRR4       V'       g   EKn  \        R4       EK|  	  EK  	  R#   + '       g   i     L2; i)z.eggz...Trv   )flushendrH   z.whlwz	/METADATA)policyr   zWheel-Versionz1.0	GeneratorzRoot-Is-PurelibrT   c                    V P                   # rb   )interpreter)tags   &r   <lambda>convert.<locals>.<lambda>A  s    r!   )r0   Tagz/WHEELNOK)r   r   suffixis_dirr   rn   r   printrF   rP   rQ   rS   rU   r   rc   writestrr]   r   	as_stringserialization_policyencoder   r,   	GENERATORr   r<   r   r   )r   r   r   patarchiverq   source	dest_path	wheelfilename_or_zinfocontentswheel_messagetagsr   s   &&&           r   convertr     s3   SzG=D{{f$;;==,>t,DF*40F*40	oTr:X;;-q 0&,,qFOO$D*I 9c**i/5/G/G/I+M&&}? 0J ""++,I6OO--5I-JQQ !(	((%@((i@((%s6??e+C'D'J'J'L !FLL>6::,a?P!QR!$,GHC!,,UCH= I ""++,F3!++3G+HOO/ +< wda " $ +*s   +FJ	J')2
__future__r   os.pathr   rJ   abcr   r   collectionsr   collections.abcr   email.messager   email.parserr	   email.policyr
   globr   pathlibr   textwrapr   zipfiler   rv   r   r   r   vendored.packaging.tagsr   r   r   compileVERBOSErz   r   r   r   r   r   r2   rD   rM   rO   rn   r   r   r   r   r!   r   <module>r      s   "  	 ' # $ !  $      , / !**
 JJ jj JJ ZZE
 
O	P"	 
 [M"	($76Bg "*8M *8ZJ J:[? [?|2r!   