
    f/                         d dl Z d dlZ e j                  d      Zd e j                  ej
                        z   dz   ZdgZd Zd Z	d Z
y)	    Nz *\n\s*z
(?:^[^\s\dz][^\n]*\n)+speedupc                     |j                  d      }t        j                  d|      }| j                  ||       |j	                         S )Nr   
)groupHARD_LINEBREAK_REsubprocess_textend)inlinemstatetexts       R/var/www/cvtools/html/venv/lib/python3.12/site-packages/mistune/plugins/speedup.py
parse_textr      s<    771:D  t,D
e$557N    c                 f    |j                  d      }|j                  |       |j                         S )Nr   )r   add_paragraphr
   )blockr   r   r   s       r   parse_paragraphr      s(    771:D	557Nr   c                 *   | j                   j                  dt        t               d}d|z   dz   }d| j                  j
                  v r|dz  }| j                  j                  r|dz  }n|dz  }|d	z  }| j                  j                  d
|t               y)z8Increase the speed of parsing paragraph and inline text.	paragraphz\\><!\[_*`~\^\$=z[\s\S]+?(?=[z]|url_linkzhttps?:|z *\n|z {2,}\n|z$)r   N)r   register	PARAGRAPHr   r   rules	hard_wrapr   )mdpunctext_patterns      r   r   r      s    HHk9o>D"T)E1LRYY__$
"	yy #ELIIv|Z8r   )restringcompiler   escapepunctuationr   __all__r   r   r    r   r   <module>r'      s[    	  BJJz*  IBIIf0011NB 

 +9r   