Mini Kabibi Habibi

Current Path : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/html/__pycache__/
Upload File :
Current File : C:/Users/ITO/AppData/Local/Programs/Python/Python314/Lib/html/__pycache__/parser.cpython-314.pyc

+
��h�R����Rt^RIt^RIt^RIHt^RIHtR.t]P!R4t
]P!R4t]P!R4t]P!R4t
]P!R	4t]P!R
4t]P!R4t]P!R4t]P!R
4t]P!R4t]P!R4t]P!R]P*4t]P!R]P*4t]P!R]P*4t]P!R4t]P!R4tRtRt!RR]P:4tR#)zA parser for HTML and XHTML.N)�unescape)�html5�
HTMLParserz[&<]z
&[a-zA-Z#]z%&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]z)&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]z6&(#[0-9]+|#[xX][0-9a-fA-F]+|[a-zA-Z][a-zA-Z0-9]*)[;=]?z	<[a-zA-Z]z
</[a-zA-Z]�>z--!?>z-?>z0([a-zA-Z][^\t\n\r\f />]*)(?:[\t\n\r\f ]|/(?!>))*a{
  (
    (?<=['"\t\n\r\f /])[^\t\n\r\f />][^\t\n\r\f /=>]*  # attribute name
   )
  ([\t\n\r\f ]*=[\t\n\r\f ]*        # value indicator
    ('[^']*'                        # LITA-enclosed value
    |"[^"]*"                        # LIT-enclosed value
    |(?!['"])[^>\t\n\r\f ]*         # bare value
    )
   )?
  (?:[\t\n\r\f ]|/(?!>))*           # possibly followed by a space
a
  [a-zA-Z][^\t\n\r\f />]*           # tag name
  [\t\n\r\f /]*                     # optional whitespace before attribute name
  (?:(?<=['"\t\n\r\f /])[^\t\n\r\f />][^\t\n\r\f /=>]*  # attribute name
    (?:[\t\n\r\f ]*=[\t\n\r\f ]*    # value indicator
      (?:'[^']*'                    # LITA-enclosed value
        |"[^"]*"                    # LIT-enclosed value
        |(?!['"])[^>\t\n\r\f ]*     # bare value
       )
     )?
    [\t\n\r\f /]*                   # possibly followed by a space
   )*
   >?
aF
  <[a-zA-Z][^\t\n\r\f />\x00]*       # tag name
  (?:[\s/]*                          # optional whitespace before attribute name
    (?:(?<=['"\s/])[^\s/>][^\s/=>]*  # attribute name
      (?:\s*=+\s*                    # value indicator
        (?:'[^']*'                   # LITA-enclosed value
          |"[^"]*"                   # LIT-enclosed value
          |(?!['"])[^>\s]*           # bare value
         )
        \s*                          # possibly followed by a space
       )?(?:\s|/(?!>))*
     )*
   )?
  \s*                                # trailing whitespace
z#</\s*([a-zA-Z][-.a-zA-Z0-9:_]*)\s*>c���VP^4pVPR4'd\V4#VPR4'gVR,\9d\V4#V#)��&#�=:�NN)�group�
startswithr�endswith�html5_entities)�match�refs& �GC:\Users\ITO\AppData\Local\Programs\Python\Python314\Lib\html\parser.py�_replace_attr_charrefr\sS��
�+�+�a�.�C�
�~�~�d�����}���<�<�����R��N�!:���}���J�c�6�\P\V4#�N)�attr_charref�subr)�ss&r�_unescape_attrvaluerhs�����1�1�5�5rc�aa�]tRt^ltoRtR"tR#tRR/V3RlltV3RltRt	Rt
RtR	tR
R/Rlt
R
tR$RltRtRtR$RltR%RltRtRtRtRtRtRtRtRtRtRtRtRtRt R t!R!t"Vt#V;t$#)&raFind tags and other markup and call handler functions.

Usage:
    p = HTMLParser()
    p.feed(data)
    ...
    p.close()

Start tags are handled by calling self.handle_starttag() or
self.handle_startendtag(); end tags by self.handle_endtag().  The
data between tags is passed from the parser to the derived class
by calling self.handle_data() with the data as argument (the data
may be split up in arbitrary chunks).  If convert_charrefs is
True the character references are converted automatically to the
corresponding Unicode character (and self.handle_data() is no
longer split in chunks), otherwise they are passed by calling
self.handle_entityref() or self.handle_charref() with the string
containing respectively the named or numeric reference as the
argument.
�convert_charrefsTc�P<�\SV`4WnVP4R#)z�Initialize and reset this instance.

If convert_charrefs is True (the default), all character references
are automatically converted to the corresponding Unicode characters.
N)�super�__init__r�reset)�selfr�	__class__s&$�rr�HTMLParser.__init__�s���	���� 0���
�
�rc�<�RVnRVn\VnRVnRVnRVn\SV`!4R#)z1Reset this instance.  Loses all unprocessed data.�z???NT)	�rawdata�lasttag�interesting_normal�interesting�
cdata_elem�_support_cdata�
_escapablerr)r r!s&�rr�HTMLParser.reset�s8���������-������"������
��
�rc�X�VPV,VnVP^4R#)zyFeed data to the parser.

Call this as often as you want, with as little or as much text
as you want (may include '\n').
N)r%�goahead�r �datas&&r�feed�HTMLParser.feed�s���|�|�d�*������Q�rc�(�VP^4R#)zHandle any buffered data.N)r.�r s&r�close�HTMLParser.close�s
�����Q�rNc��VP#)z)Return full source of start tag: '<...>'.)�_HTMLParser__starttag_textr4s&r�get_starttag_text�HTMLParser.get_starttag_text�s���#�#�#r�	escapableFc��VP4VnW nV'deVP'gS\P
!RVP,\P\P,4VnR#\P
!RVP,\P\P,4VnR#)z&|</%s(?=[\t\n\r\f />])z</%s(?=[\t\n\r\f />])N)	�lowerr)r+r�re�compile�
IGNORECASE�ASCIIr()r �elemr;s&&$r�set_cdata_mode�HTMLParser.set_cdata_mode�s����*�*�,���#���T�2�2�2�!�z�z�*D�t���*V�*,�-�-����*@� B�D�� "�z�z�*B�T�_�_�*T�*,�-�-����*@� B�D�rc�8�\VnRVnRVnR#)NT)r'r(r)r+r4s&r�clear_cdata_mode�HTMLParser.clear_cdata_mode�s��-��������rc��WnR#)a�Enable or disable support of the CDATA sections.
If enabled, "<[CDATA[" starts a CDATA section which ends with "]]>".
If disabled, "<[CDATA[" starts a bogus comments which ends with ">".

This method is not called by default. Its purpose is to be called
in custom handle_starttag() and handle_endtag() methods, with
value that depends on the adjusted current node.
See https://html.spec.whatwg.org/multipage/parsing.html#markup-declaration-open-state
for details.
N)r*)r �flags&&r�_set_support_cdata�HTMLParser._set_support_cdata�s
��#�rc��
�VPp^p\V4pW48EdNVP'd�VP'gsVP	RV4pV^8dYVPR\
W4^",
44pV^8�d.\P!R4PW&4'gEM�TpMJVPPW#4pV'dVP4pMVP'dEMoTpW58dUVP'd0VP'dVP\W#V44MVPW#V4VPW54pW48XdEM�VP pV!RV4'Ed�\"P%W#4'dVP'V4p	M�V!RV4'dVP)V4p	M�V!RV4'dVP+V4p	MuV!RV4'dVP-V4p	MTV!RV4'dVP/V4p	M3V^,V8g	V'dVPR4V^,p	MEM�V	^8Ed�V'gEM�\"P%W#4'dEM�V!RV4'd[V^,V8XdVPR4EMt\0P%W#4'dEMWVP3W#^,R4EM;V!RV4'dYTpRF5p
VP5W�^,4'gK#V\V
4,pM	VP3W#^,V4M�V!R	V4'd.VP6'dVP9W#^,R4M�W#V^	,P;4R
8XdVP=W#^,R4M_V!RV4'dVP3W#^,R4M5V!RV4'dVP?W#^,R4M\AR4hTp	VPW94pEKCV!RV4'd�\BP%W#4pV'dhVPE4^RpVPGV4VPI4p	V!R
V	^,
4'g
V	^,
p	VPW94pEK�R
W#R9d3VPW#V^,4VPW3^,4pEMAV!RV4'Ed+\JP%W#4pV'dfVPE^4pVPMV4VPI4p	V!R
V	^,
4'g
V	^,
p	VPW94pEK�\NP%W#4pV'dQV'dHVPE4W#R8Xd1VPI4p	W�8:dTp	VPW3^,4pMBV^,V8d-VPR4VPW3^,4pEKLMQR4hV'dlW48dfVP'd0VP'dVP\W#V44MVPW#V4VPW44pW#RVnR#)r�<�&z[\t\n\r\f ;]�</�<!--�<?�<!N�	<![CDATA[�	<!doctypezwe should not get here!r�;zinteresting.search() lied)z--!z--�-���)(r%�lenrr)�find�rfind�maxr>r?�searchr(�startr+�handle_datar�	updateposr�starttagopenr�parse_starttag�parse_endtag�
parse_comment�parse_pi�parse_html_declaration�
endtagopen�handle_commentr
r*�unknown_declr=�handle_decl�	handle_pi�AssertionError�charrefr�handle_charref�end�	entityref�handle_entityref�
incomplete)r rnr%�i�n�j�ampposrr�k�suffix�names&&          rr.�HTMLParser.goahead�s{���,�,��
����L���e��$�$�$�T�_�_�_��L�L��a�(���q�5�%�]�]�3��A��t��=�F��!���J�J��7�>�>�w�O�O���A���(�(�/�/��;������
�A�������A��u��(�(�(�T�_�_�_��$�$�X�g��l�%;�<��$�$�W�q�\�2����q�$�A��v�u� �+�+�J��#�q�!�!��%�%�g�1�1��+�+�A�.�A���a�(�(��)�)�!�,�A����*�*��*�*�1�-�A���a�(�(��
�
�a�(�A���a�(�(��3�3�A�6�A��!�e�q�[�C��$�$�S�)��A��A���q�5���#�)�)�'�5�5��#�D�!�,�,��q�5�A�:� �,�,�T�2�'�-�-�g�9�9� �!�/�/��!���
�>�#�F�A�.�.���&8�F�&�/�/��!��<�<� !�S��[� 0�� %�'9��+�+�G�a�C��N�;�#�K��3�3��8K�8K�8K��)�)�'�A�#�$�-�8� �1�Q�3��-�-�/�;�>��(�(��1����7�#�D�!�,�,��+�+�G�a�C�D�M�:�#�D�!�,�,����w��s�t�}�5�,�-F�G�G��A��N�N�1�(���D�!�$�$��
�
�g�1��� �;�;�=��2�.�D��'�'��-��	�	��A�%�c�1�Q�3�/�/���E�����q�,�A���g�b�k�)��(�(��1�Q�3��8� �N�N�1��c�2����C��#�#�!����3��� �;�;�q�>�D��)�)�$�/��	�	��A�%�c�1�Q�3�/�/���E�����q�,�A��"�(�(��4����u�{�{�}����;�!�I�I�K���6� !�A� �N�N�1�!�e�4����!�e�q�[��$�$�S�)����q�a�%�0�A��5�5�5�q��1�5��$�$�$������ � ��'�A�,�!7�8�� � ��1��.����q�$�A��r�{��rc�@�VPpW!V^,R8XgQR4hW!V^,R8XdVPV4#W!V^	,R8XdXVP'dFVPRV^	,4pV^8dR#VP	W!^,V4V^,#W!V^	,P4R8XdFVPRV^	,4pVR8XdR#VP
W!^,V4V^,#VPV4#)	�rRz+unexpected call to parse_html_declaration()rPrSz]]>rTrrW)r%rcr*rYrhr=ri�parse_bogus_comment)r rrr%rt�gtposs&&   rre�!HTMLParser.parse_html_declarationWs���,�,����1��~��%�	D�)C�	D�%��Q�q�S�>�V�#��%�%�a�(�(�
�q��s�^�{�
*�t�/B�/B�/B����U�A�a�C�(�A��1�u��	����g��c�1�o�.��q�5�L�
�q��s�^�
!�
!�
#�{�
2��L�L��a��c�*�E���{��	����W�q�S��/�0���7�N��+�+�A�.�.rc�p�VPpVPRV4'gQR4h\PW1^,4pV'g'\PW1^,4pV'gR#V'd+VP
4pVPW1^,V4VP4#)rPz"unexpected call to parse_comment()rW)	r%r�commentcloser\�commentabruptcloserr]rgrn)r rr�reportr%rrts&&&   rrc�HTMLParser.parse_commentps����,�,���!�!�&�!�,�,�R�.R�R�,��#�#�G�q�S�1���&�,�,�W��c�:�E���	�����
�A�����!��Q��0��y�y�{�rc���VPpW1V^,R9gQR4hVPRV^,4pVR8XdR#V'dVPW1^,V4V^,#)r{z(unexpected call to parse_bogus_comment()r)rRrOrW)r%rYrg)r rrr�r%�poss&&&  rr|�HTMLParser.parse_bogus_commentss���,�,����1��~��-�	I�1H�	I�-��l�l�3��!��$���"�9��I������!��C� 0�1��Q�w�rc��VPpW!V^,R8XgQR4h\PW!^,4pV'gR#VP4pVP	W!^,V4VP4pV#)r{rQzunexpected call to parse_pi()rW)r%�picloser\r]rjrn�r rrr%rrts&&   rrd�HTMLParser.parse_pi�sp���,�,����1��~��%�F�'F�F�%����w�!��,����I��K�K�M�����w��s�A��'��I�I�K���rc�$�RVnVPV4pV^8dV#VPpW1VVn.p\P	W1^,4pV'gQR4hVP4pVP
^4P4;VnpWb8d�\P	W64pV'gM�VP
^^^4wr�pV
'gRpM<VR,Ru;8XdVRR8XgMVR,Ru;8XdVRR8Xd	MMV^RpV'd\V4pVPV	P4V34VP4pK�W6VP4pVR	9dVPW1V4V#VPR4'dVPWt4V#VP!Wt4WpP"9dVP%V4V#WpP&9dVP%VRR7V#)
Nz#unexpected call to parse_starttag():Nr
N�'�"�/>T)r;rW)rr�)r8�check_for_whole_start_tagr%�tagfind_tolerantrrnrr=r&�attrfind_tolerantr�append�stripr^r
�handle_startendtag�handle_starttag�CDATA_CONTENT_ELEMENTSrC�RCDATA_CONTENT_ELEMENTS)
r rr�endposr%�attrsrrv�tag�m�attrname�rest�	attrvaluerns
&&           rra�HTMLParser.parse_starttag�s��� $����/�/��2���A�:��M��,�,��&��0����� �&�&�w�!��4���;�;�;�u��I�I�K��"�[�[��^�1�1�3�3���s��j�!�'�'��3�A���()����1�a�(8�%�H�I�� �	��2��$�8�)�B�C�.�8��2��#�7��2�3��7�%�a��O�	��/�	�:�	��L�L�(�.�.�*�I�6�7�����A����%�%�'���k�!����W�v�.�/��M��<�<�����#�#�C�/��
�
� � ��,��1�1�1��#�#�C�(��
��4�4�4��#�#�C�4�#�8��
rc��VPp\PW!^,4pV'gQhVP4pW$^,
,R8wdR#V#)r
rrW)r%�locatetagendrrnr�s&&   rr��$HTMLParser.check_for_whole_start_tag�sI���,�,���"�"�7�a�C�0����u��I�I�K���Q�3�<�3���I��rc��VPpW!V^,R8XgQR4hVPRV^,4^8dR#\PW!4'g2W!^,V^,R8Xd
V^,#VP	V4#\
PW!^,4pV'gQhVP
4pW$^,
,R8wdR#\PW!^,4pV'gQhVP^4P4pVPV4VP4V#)r{rOzunexpected call to parse_endtagrrW)r%rYrfrr|r�rnr�rr=�
handle_endtagrF)r rrr%rrtr�s&&    rrb�HTMLParser.parse_endtag�s���,�,����1��~��%�H�'H�H�%��<�<��Q�q�S�!�A�%��I�����+�+���s�1�Q�3��3�&���s�
��/�/��2�2��"�"�7�a�C�0����u��I�I�K���Q�3�<�3���I�!�&�&�w�!��4����u��k�k�!�n�"�"�$�����3�������rc�J�VPW4VPV4R#r)r�r��r r�r�s&&&rr��HTMLParser.handle_startendtag�s�����S�(����3�rc��R#r�r�s&&&rr��HTMLParser.handle_starttag����rc��R#rr�)r r�s&&rr��HTMLParser.handle_endtag�r�rc��R#rr��r rxs&&rrm�HTMLParser.handle_charref�r�rc��R#rr�r�s&&rrp�HTMLParser.handle_entityrefr�rc��R#rr�r/s&&rr^�HTMLParser.handle_datar�rc��R#rr�r/s&&rrg�HTMLParser.handle_commentr�rc��R#rr�)r �decls&&rri�HTMLParser.handle_declr�rc��R#rr�r/s&&rrj�HTMLParser.handle_pir�rc��R#rr�r/s&&rrh�HTMLParser.unknown_declr�r)�__starttag_textr+r*r)rr(r&r%)�script�style)�textarea�title)T)r
)%�__name__�
__module__�__qualname__�__firstlineno__�__doc__r�r�rrr1r5r8r9rCrFrJr.rercr|rdrar�rbr�r�r�rmrpr^rgrirjrh�__static_attributes__�__classdictcell__�
__classcell__)r!�
__classdict__s@@rrrls������*1��3���4������O�$�B��B��
#� G#�X/�2�	�	�,�`��< �

�
�
�
�
�
�
�
�
�
r)r�r>�_markupbase�htmlr�
html.entitiesrr�__all__r?r'rqrorlrr`rfr�r�r�r��VERBOSEr�r��locatestarttagend_tolerant�	endendtag�
endtagfindrr�
ParserBaserr�rr�<module>r�sY��"�
���1��.���Z�Z��'��
�Z�Z��
%�
��J�J�>�?�	�
�*�*�@�
A���z�z�S�T���z�z�+�&��
�Z�Z��
%�
�
�*�*�S�/���z�z�(�#���Z�Z��'���:�:�Q�R���J�J� ��Z�Z����z�z�
��Z�Z�
��  �Z�Z�)��Z�Z���
�J�J�s�O�	�
�Z�Z�>�
?�
�
�6�h
��'�'�h
r