+
     hA  c                   sJ    ^ RI t ^ RIt^ RIt^ RIt^RIHt R R ltR R ltR# )i    N)WINDOWSc                0    V ^8  d   QhR\         R\         /# )   pathreturnZstrZformat   "=/usr/lib/python3.14/site-packages/pip/_internal/utils/urls.py__annotate__r	   	   s      c c     c                s    \         P                  P                  \         P                  P                  V 4      4      p \        P
                  P                  R\        P                  P                  V 4      4      pV# )z\
Convert a path to a file: URL.  The path will be made absolute and have
quoted path parts.
zfile://)	osr   ZnormpathZabspathurllibparseZurljoinrequestZpathname2url)r   urls   & r   path_to_urlr   	   sO    
 77BGGOOD12D
,,

y&..*E*Ed*K
LCJr
   c                r   )r   r   r   r   r   r   r   r	   r	      s     $ $S $S $r
   c                s   \         P                  P                  V 4      w  rp pV'       d   VR8X  d   RpM%\        '       d   RV,           pM\	        RV : 24      h\         P
                  P                  W#,           4      p\        '       dZ   V'       gR   \        V4      ^8  dB   V^ ,          R8X  d4   V^,          \        P                  9   d   VR,          R9   d
   VR,          pV# )	z 
Convert a file: URL to a path.
Z	localhostZ z\\z8non-local file URIs are not supported on this platform: Z/:r   i   N:i   NN)Z:z:/)
r   r   Zurlsplitr    Z
ValueErrorr   Zurl2pathnameZlenstringZascii_letters)r   Z_Znetlocr   s   &   r   url_to_pathr      s     #LL11#6AtQV{*	&FsgN
 	
 >>&&v}5D 	INGsNGv+++I$BxKr
   )	r   r   Zurllib.parser   Zurllib.requestZcompatr    r   r   ) r
   r   <module>r      s    	    $r
   