HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/alt/python38/lib/python3.8/site-packages/click/__pycache__/_unicodefun.cpython-38.pyc
U

��W��@sVddlZddlZddlZddlmZeje�dd�dZdd�Z	dd�Z
d	d
�ZdS)�N�)�PY2�.cCs^ddl}t�d�}d}|dk	rZ|j�dd��d�rB|j}|d7}q|jj|j	j
@rZ|SqZqdS)Nrr�__name__�zclick.)�
__future__�sys�	_getframe�	f_globals�get�
startswith�f_back�f_code�co_flags�unicode_literals�
compiler_flag)rZfrm�idx�r�B/opt/alt/python38/lib/python3.8/site-packages/click/_unicodefun.py�_find_unicode_literals_frames

rcCs@tr
tjrdSt�}|dkr dSddlm}|td�|d�dS)Nr)�warnaClick detected the use of the unicode_literals __future__ import.  This is heavily discouraged because it can introduce subtle bugs in your code.  You should instead use explicit u"" literals for your unicode strings.  For more information see http://click.pocoo.org/python3/)�
stacklevel)r�clickZ disable_unicode_literals_warningr�warningsr�Warning)Z	bad_framerrrr�_check_for_unicode_literalss
�rc	Cs�trdSzddl}t�|���j}Wntk
r<d}YnX|dkrJdSd}tjdk�r�ddl}|j	ddg|j
|j
d���d}t�}d	}t
|t�r�|�dd
�}|��D]4}|��}|���d�r�|�|�|��dkr�d
}q�|d7}|s�|d7}n&|�r|d7}n|dd�t|��7}d}tj�d�tj�d�fD]0}|�rV|���d��rV|}|dk	�r8�qj�q8|dk	�r�|d|7}td|��dS)z=Ensures that the environment is good for unicode on Python 3.Nr�asciir�posix�localez-a)�stdout�stderrF�replace)z.utf-8z.utf8)zc.utf8zc.utf-8Tz

z�Additional information: on this system no suitable UTF-8
locales were discovered.  This most likely requires resolving
by reconfiguring the locale system.z�This system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the
following environment variables:

    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8z�This system lists a couple of UTF-8 supporting locales that
you can pick from.  The following suitable locales where
discovered: %sz, �LC_ALL�LANGz�

Click discovered that you exported a UTF-8 locale
but the locale system could not pick up from it because
it does not exist.  The exported locale is "%s" but it
is not supportedz�Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment.  Either run this under Python 2 or consult http://click.pocoo.org/python3/ for mitigation steps.)rr�codecs�lookup�getpreferredencoding�name�	Exception�os�
subprocess�Popen�PIPE�communicate�set�
isinstance�bytes�decode�
splitlines�strip�lower�endswith�add�join�sorted�environr�RuntimeError)	rZfs_enc�extrar*�rvZgood_localesZ
has_c_utf8�lineZ
bad_localerrr�_verify_python3_env0sl
��

���


��r>)r)rr$�_compatr�modulesr�rsplitrrrr>rrrr�<module>s