
    'j)
                        S r SSKrSSKrSSKrSSKrSSKrSSKJr  / SQr	\R                  " \5      rS\4S jrS\4S jrS\S\4S	 jr\R&                  S
:  a  \R(                  R*                  rO SS\S\S\S\S\\   4
S jjr\R&                  S
:  a  SSKrOSSKJr  \R4                  R7                  S5      =(       d%    \R4                  S:H  =(       a    \R8                  S:H  rg)zKStuff that differs in different Python versions and platform
distributions.    N)IO)get_locale_encodingget_path_uidtomllibWINDOWSreturnc                  >     SS K n g! [         a     Of = fSSKJn  U$ )Nr   T)IS_PYOPENSSL)_sslImportErrorpip._vendor.urllib3.utilr
   )r   r
   s     R/var/www/html/KUNJ/venv/lib/python3.13/site-packages/pip/_internal/utils/compat.pyhas_tlsr      s*      6s    
c                      [         R                  S:  a  [        R                  " 5       $ [        R                  " S5      $ )zReturn the locale encoding.

Uses ``locale.getencoding()`` when available (Python 3.11+) to avoid the
``EncodingWarning`` that ``locale.getpreferredencoding(False)`` raises
under UTF-8 Mode.
      F)sysversion_infolocalegetencodinggetpreferredencoding     r   r   r      s2     7"!!##&&u--r   pathc                    [        [        S5      (       an  [        R                  " U [        R                  [        R                  -  5      n[        R
                  " U5      R                  n[        R                  " U5        U$ [        R                  R                  U 5      (       d"  [        R                  " U 5      R                  nU$ [        U  S35      e)a  
Return path's uid.

Does not follow symlinks:
    https://github.com/pypa/pip/pull/935#discussion_r5307003

Placed this function in compat due to differences on AIX and
Jython, that should eventually go away.

:raises OSError: When path is a symlink or can't be read.

O_NOFOLLOWz/ is a symlink; Will not return uid for symlinks)hasattrosopenO_RDONLYr   fstatst_uidcloser   islinkstatOSError)r   fdfile_uids      r   r   r   +   s     r<  WWT2;;6788B<&&
 O ww~~d##wwt}++H O TF"QRSSr   r   packageresourceencodingerrorsc                 b    [         R                  R                  U 5      U-  R                  SX#S9$ )Nr)r,   r-   )	importlib	resourcesfilesr    )r*   r+   r,   r-   s       r   open_text_resourcer3   L   s8     ##))'2X=CC( D 
 	
r   )tomliwinclint)zutf-8strict)__doc__importlib.resourcesr0   r   loggingr   r   typingr   __all__	getLogger__name__loggerboolr   strr   intr   r   r1   	open_textr3   r   pip._vendorr4   platform
startswithnamer   r   r   r   <module>rI      s      	 
 
G 
		8	$
 

.S 
.s s : g",,66 MU

 #
/2
FI
	C
 w, ,,
!
!%
(
WS\\U-B-VrwwRVr   