HEX
Server: LiteSpeed
System: Linux cluster02.load-balancer.x2.network 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64
User: kbdhpghp (1098)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //lib/python3.8/site-packages/setuptools/__pycache__/unicode_utils.cpython-38.opt-1.pyc
U

�Qab��@s8ddlZddlZddlmZdd�Zdd�Zdd�ZdS)	�N)�sixcCsVt|tj�rt�d|�Sz$|�d�}t�d|�}|�d�}Wntk
rPYnX|S)NZNFD�utf-8)�
isinstancer�	text_type�unicodedataZ	normalize�decode�encode�UnicodeError)�path�r�</usr/lib/python3.8/site-packages/setuptools/unicode_utils.py�	decomposes
r
c	Cs\t|tj�r|St��pd}|df}|D].}z|�|�WStk
rTYq(Yq(Xq(dS)zY
    Ensure that the given path is decoded,
    NONE when no expected encoding works
    rN)rrr�sys�getfilesystemencodingr�UnicodeDecodeError)r
Zfs_encZ
candidates�encrrr�filesys_decodesrcCs(z|�|�WStk
r"YdSXdS)z/turn unicode encoding into a functional routineN)r�UnicodeEncodeError)�stringrrrr�
try_encode'sr)rrZsetuptools.externrr
rrrrrr�<module>s