AlkantarClanX12

Your IP : 3.145.103.100


Current Path : /opt/alt/python310/lib64/python3.10/html/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/html/__pycache__/__init__.cpython-310.pyc

o

6��f��@s$dZddlZddlmZddgZdPdd�Zidd�d	d
�dd�d
d�dd�dd�dd�dd�dd�dd�dd�dd�dd �d!d"�d#d$�d%d&�d'd(�id)d*�d+d,�d-d.�d/d0�d1d2�d3d4�d5d6�d7d8�d9d:�d;d<�d=d>�d?d@�dAdB�dCdD�dEdF�dGdH�dIdJ��ZhdK�Z	dLdM�Z
e�dN�ZdOd�Z
dS)Qz*
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)�sZquote�r�4/opt/alt/python310/lib64/python3.10/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Ÿ>~����������������������������i��i��i��i��i��	i���rrrrrrrrrrrrrrr!r"r$r&r'r(r)r*r+r,r-r.r/r0r1r2r4r5i��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�}|ddkrL|ddvrt|dd��d�d�}nt|dd��d��}|tvr1t|Sd|kr;d	ks@n|d
krBdS|tvrHdSt|�S|tvrTt|Stt|�ddd
�D]}|d|�tvrxt|d|�||d�Sq^d|S)Nr6r�#ZxXr7�;rAi�i��rQr����r)	�group�int�rstrip�_invalid_charrefs�_invalid_codepoints�chr�_html5�range�len)rZnum�xrrr
�_replace_charref[s&
 �raz7&(#[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�subra)rrrr
rzs)T)�__doc__�reZ_reZ
html.entitiesrr]�__all__rrZr[ra�compilerbrrrrr
�<module>s�
��������	�
���
������������������� �!�"�%