HEX
Server: LiteSpeed
System: Linux sarajevo.maychu.cloud 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
User: inqua407 (1189)
PHP: 8.3.17
Disabled: exec,execl,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,ini_alter,proc_open,dl,popen,show_source,posix_getpwuid,getpwuid,posix_geteuid,posix_getegid,posix_getgrgid,open_basedir,safe_mode_include_dir,pcntl_exec,pcntl_fork,proc_get_status,proc_nice,proc_terminate,pclose,virtual,openlog,popen,pclose,virtual,openlog,escapeshellcmd,escapeshellarg,dl,show_source,symlink,mail
Upload Files
File: //lib64/python3.9/html/__pycache__/__init__.cpython-39.pyc
a

�DOg��#@s�dZddlZddlmZddgZd0dd�Zdd	d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*�"Zhd+�Z	d,d-�Z
e�d.�Zd/d�Z
dS)1z*
General functions for HTML manipulation.
�N)�html5�escape�unescapeTcCsD|�dd�}|�dd�}|�dd�}|r@|�dd�}|�d	d
�}|S)z�
    Replace special characters "&", "<" and ">" to HTML-safe sequences.
    If the optional flag quote is true (the default), the quotation mark
    characters, both double quote (") and single quote (') characters are also
    translated.
    �&z&amp;�<z&lt;�>z&gt;�"z&quot;�'z&#x27;)�replace)�s�quote�r
�%/usr/lib64/python3.9/html/__init__.pyrs���
u€�u‚uƒu„u…u†u‡uˆu‰uŠu‹uŒ�uŽ��u‘u’u“u”u•u–u—u˜u™ušu›uœ�užuŸ)"r�
��������������������������������>~����������������������������i��i��i��i��i��	i���rrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6i��i��i��i��i��i��i��i��i��i��
i��i��i��i��i��i��i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i�i��i�i�i�i�i�i�i�i�i�i��i��i��i��
i��i��
i��	i��i��
i��cCs�|�d�}|ddkr�|ddvr<t|dd��d�d�}nt|dd��d��}|tvrbt|Sd|krvd	ks�n|d
kr�dS|tvr�dSt|�S|tvr�t|Stt|�ddd
�D]4}|d|�tvr�t|d|�||d�Sq�d|SdS)Nr7r�#ZxXr8�;rBi�i��rRr����r)	�group�int�rstrip�_invalid_charrefs�_invalid_codepoints�chr�_html5�range�len)r�num�xr
r
r�_replace_charref[s$
"rcz7&(#[0-9]+;?|#[xX][0-9a-fA-F]+;?|[^\t\n\f <&#;]{1,32};?)cCsd|vr|St�t|�S)a^
    Convert all named and numeric character references (e.g. &gt;, &#62;,
    &x3e;) in the string s to the corresponding unicode characters.
    This function uses the rules defined by the HTML 5 standard
    for both valid and invalid character references, and the list of
    HTML 5 named character references defined in html.entities.html5.
    r)�_charref�subrc)rr
r
rrzs)T)�__doc__�re�_reZ
html.entitiesrr^�__all__rr[r\rc�compilerdrr
r
r
r�<module>sV
�%