Your IP : 3.133.140.47


Current Path : /opt/alt/python313/lib64/python3.13/html/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib64/python3.13/html/__pycache__/__init__.cpython-313.pyc

�

1}g���:�SrSSKrSSKJr SS/rSNSjr0SS_SS	_S
S_SS
_SS_SS_SS_SS_SS_SS_SS_SS_SS_S S!_S"S#_S$S%_S&S'_0S(S)_S*S+_S,S-_S.S/_S0S1_S2S3_S4S5_S6S7_S8S9_S:S;_S<S=_S>S?_S@SA_SBSC_SDSE_SFSG_SHSI_Er1SJkr	SKr
\R"SL5rSMr
g)Oz*
General functions for HTML manipulation.
�N)�html5�escape�unescapec���URSS5nURSS5nURSS5nU(a$URSS5nURS	S
5nU$)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�quotes  �4/opt/alt/python313/lib64/python3.13/html/__init__.pyrrs\��	
�	�	�#�w��A�	�	�	�#�v��A�	�	�	�#�v��A��
�I�I�c�8�$��
�I�I�d�H�%���H����
�
�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Ÿ>~����������������������������rrrrrrrrrrrr r!r"r$r%r'r)r*r+r,r-r.r/r0r1r2r3r4r5r7r8��������������������������������������������������������������������������	�
���
�������������	�
���
���c���URS5nUSS:Xa�USS;a[USSRS5S5nO[USSRS55nU[;a	[U$SUs=::aS	::dO US
:�agU[;ag[U5$U[;a	[U$[[U5S-
SS
5H#nUSU[;dM[USUXS-s $ SU-$)Nr9r�#�xXr:�;rDi�i��r�r����r)	�group�int�rstrip�_invalid_charrefs�_invalid_codepoints�chr�_html5�range�len)r
�num�xs   r�_replace_charrefr�[s���	����
�A���t�s�{��Q�4�4�<��a���e�l�l�3�'��,�C��a���e�l�l�3�'�(�C��#�#�$�S�)�)��S�"�F�"�c�H�n���%�%���3�x��
��;��!�9���s�1�v�a�x��B�'�A���!�u����a���e�}�q��u�,�,�(���7�Nrz7&(#[0-9]+;?|#[xX][0-9a-fA-F]+;?|[^\t\n\f <&#;]{1,32};?)c�F�SU;aU$[R[U5$)aF
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�subr�)r
s rrrzs"���!�|����<�<�(�!�,�,r)T)�__doc__�re�_re�
html.entitiesrr��__all__rr�r�r��compiler�r�rr�<module>r�s�����)��Z�
 ��

�$#��(�#��$�#�	�(�#�	�&�	#�
	�(�#�	�(�
#�	�(�#�	�(�#�	�(�#�	�(�#�	�(�#�	�(�#�	�(�#�	�(�#�	�(�#� 	�&�!#�"	�(�##�$	�&�%#�&	�&�'#�(	�(�)#�*	�(�+#�,	�(�-#�.	�(�/#�0	�(�1#�2	�(�3#�4	�(�5#�6	�(�7#�8	�(�9#�:	�(�;#�<	�(�=#�>	�(�?#�@	�&�A#�B	�(�C#�D	�(�E#��J��0�6�;�;�3�4��
-r

?>