| Server IP : 172.67.131.151 / Your IP : 104.23.197.87 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/html5lib/__pycache__/ |
Upload File : |
U
63)Z�~ � ! @ s d dl mZmZmZ d dlmZmZ d dlmZm Z d dl
Z
d dlZd dlZddl
mZmZmZmZ ddl
mZ ddlmZ d d lmZ zd d
lmZ W n ek
r� eZY nX edd� eD ��Zed
d� eD ��Zedd� eD ��Zeeddg�B ZdZej�rFed dk�r"e� d�dk�s&t!�e�"edd� e#d� d �Z$n
e�"e�Z$e%dddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4g �Z&e�"d5�Z'i Z(G d6d7� d7e)�Z*d8d9� Z+G d:d;� d;e)�Z,G d<d=� d=e,�Z-G d>d?� d?e.�Z/G d@dA� dAe)�Z0G dBdC� dCe)�Z1dDdE� Z2dS )F� )�absolute_import�division�unicode_literals)� text_type�binary_type)�http_client�urllibN� )�EOF�spaceCharacters�asciiLetters�asciiUppercase)�_ReparseException)�_utils)�StringIO)�BytesIOc C s g | ]}|� d ��qS ��ascii��encode��.0�item� r �7/usr/lib/python3/dist-packages/html5lib/_inputstream.py�
<listcomp> s r c C s g | ]}|� d ��qS r r r r r r r s c C s g | ]}|� d ��qS r r r r r r r s � >� <u� [----]����]z"\uD800-\uDFFF"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�� z[ -
-/:-@\[-`{-~]c @ sH e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dS )�BufferedStreamz�Buffering for streams that do not have buffering of their own
The buffer is implemented as a list of chunks on the assumption that
joining many strings will be slow since it is O(n**2)
c C s || _ g | _ddg| _d S )Nr r )�stream�buffer�position)�selfr! r r r �__init__@ s zBufferedStream.__init__c C s<