<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
U
    e5d                  ~   @   s  d Z ddlZddlmZ ddgZdddZdd	d
dddddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*"Zd+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddddddddddddddddddddddddddddddddddddddh~Z	dd Z
edZdd ZdS )z*
General functions for HTML manipulation.
    N)html5escapeunescapeTc                 C   sD   |  dd} |  dd} |  dd} |r@|  dd} |  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)sZquote r   %/usr/lib64/python3.8/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                                                                                                                                                                                       r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   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 i i i i i i i  c                 C   s   |  d} | d dkr| d dkr<t| dd  dd}nt| dd  d}|tkrbt| S d|  krvd	ksn |d
krdS |tkrdS t|S | tkrt|  S tt| d ddD ]4}| d | tkrt| d |  | |d     S qd|  S d S )Nr6   r   #ZxXr7   ;r@   i   i  rR   r    r   )	groupintrstrip_invalid_charrefs_invalid_codepointschr_html5rangelen)r   Znumxr   r   r   _replace_charref[   s$    
"ra   z7&(#[0-9]+;?|#[xX][0-9a-fA-F]+;?|[^\t\n\f <&#;]{1,32};?)c                 C   s   d| kr| S t 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   )r   r   r   r   r   z   s    )T)__doc__reZ_reZhtml.entitiesr   r]   __all__r   rZ   r[   ra   compilerb   r   r   r   r   r   <module>   sR  
'                                                                                                               
