§
    (¶Õi:  ã                   óþ  — d Z ddlmZ ddlmZmZ ddlmZmZm	Z	m
Z
mZ  e¦   «         fd„Z e¦   «         fd„ZdgZdZerdd	lZdd	lZdd	lZej        j        s)d
ej        v r ej        d
                              d¦  «        Z[dZej        d	d…         dk    rGej                             e¦  «        r-ej                             e¦  «                             d¦  «        Zdd„Zej        d	d…         dk    rd„ Znd„ Z[d	S )aÛ  Simple API for XML (SAX) implementation for Python.

This module provides an implementation of the SAX 2 interface;
information about the Java version of the interface can be found at
http://www.megginson.com/SAX/.  The Python version of the interface is
documented at <...>.

This package contains the following modules:

handler -- Base classes and constants which define the SAX 2 API for
           the 'client-side' of SAX for Python.

saxutils -- Implementation of the convenience classes commonly used to
            work with SAX.

xmlreader -- Base classes and constants which define the SAX 2 API for
             the parsers used with SAX for Python.

expatreader -- Driver that allows use of the Expat parser with SAX.
é   )ÚInputSource)ÚContentHandlerÚErrorHandler)ÚSAXExceptionÚSAXNotRecognizedExceptionÚSAXParseExceptionÚSAXNotSupportedExceptionÚSAXReaderNotAvailablec                 ó    — t          ¦   «         }|                     |¦  «         |                     |¦  «         |                     | ¦  «         d S )N)Úmake_parserÚsetContentHandlerÚsetErrorHandlerÚparse)ÚsourceÚhandlerÚerrorHandlerÚparsers       ú'/usr/lib/python3.11/xml/sax/__init__.pyr   r      sK   € Ý‰]Œ]€FØ
×Ò˜WÑ%Ô%Ð%Ø
×Ò˜<Ñ(Ô(Ð(Ø
‡L‚L�ÑÔÐÐÐó    c                 ó°  — dd l }|€t          ¦   «         }t          ¦   «         }|                     |¦  «         |                     |¦  «         t          ¦   «         }t          | t          ¦  «        r)|                     | 	                    | ¦  «        ¦  «         n(| 
                    |                     | ¦  «        ¦  «         |                     |¦  «         d S )Né    )Úior   r   r   r   r   Ú
isinstanceÚstrÚsetCharacterStreamÚStringIOÚsetByteStreamÚBytesIOr   )Ústringr   r   r   r   Úinpsrcs         r   ÚparseStringr!   #   sÁ   € Ø€I€I€IØÐÝ#‘~”~ˆÝ‰]Œ]€FØ
×Ò˜WÑ%Ô%Ð%Ø
×Ò˜<Ñ(Ô(Ð(å‰]Œ]€FÝ�&�#ÑÔð 1Ø×!Ò! "§+¢+¨fÑ"5Ô"5Ñ6Ô6Ð6Ð6à×Ò˜RŸZšZ¨Ñ/Ô/Ñ0Ô0Ð0Ø
‡L‚L�ÑÔÐÐÐr   zxml.sax.expatreaderr   NÚPY_SAX_PARSERú,zpython.xml.sax.parseré   Újava© c                 óÊ   — t          | ¦  «        t          z   D ]<}	 t          |¦  «        c S # t          $ r ddl}||j        v r‚ Y Œ.t          $ r Y Œ9w xY wt          dd¦  «        ‚)a3  Creates and returns a SAX parser.

    Creates the first parser it is able to instantiate of the ones
    given in the iterable created by chaining parser_list and
    default_parser_list.  The iterables must contain the names of Python
    modules containing both a SAX parser and a create_parser function.r   NzNo parsers found)ÚlistÚdefault_parser_listÚ_create_parserÚImportErrorÚsysÚmodulesr
   )Úparser_listÚparser_namer,   s      r   r   r   F   s¦   € õ ˜KÑ(Ô(Õ+>Ñ>ð ð ˆð	Ý! +Ñ.Ô.Ð.Ð.Ð.øÝð 	ð 	ð 	ØˆJˆJˆJØ˜cœkÐ)Ð)ð ð *Ð)õ %ð 	ð 	ð 	ð ˆDð	øøøõ
  Ð 2°DÑ
9Ô
9Ð9s   ›,¬AÁ	AÁAc                 ó|   — ddl m} |                     | dt          ¦   «         ¦  «        }|                     ¦   «         S )Nr   )Úimp)Úorg.python.corer1   Ú
importNameÚglobalsÚcreate_parser)r/   r1   Ú
drv_modules      r   r*   r*   a   s?   € Ø'Ð'Ð'Ð'Ð'Ð'Ø—^’^ K°µG±I´IÑ>Ô>ˆ
Ø×'Ò'Ñ)Ô)Ð)r   c                 óP   — t          | i i dg¦  «        }|                     ¦   «         S )Nr5   )Ú
__import__r5   )r/   r6   s     r   r*   r*   g   s*   € Ý ¨B¨r°?Ð2CÑDÔDˆ
Ø×'Ò'Ñ)Ô)Ð)r   )r&   )Ú__doc__Ú	xmlreaderr   r   r   r   Ú_exceptionsr   r   r   r	   r
   r   r!   r)   Ú_falseÚxml.sax.expatreaderÚxmlÚosr,   ÚflagsÚignore_environmentÚenvironÚsplitÚ_keyÚplatformÚregistryÚcontainsKeyÚgetPropertyr   r*   r&   r   r   ú<module>rI      sÚ  ððð ð* #Ð "Ð "Ð "Ð "Ð "Ø 1Ð 1Ð 1Ð 1Ð 1Ð 1Ð 1Ð 1ð.ð .ð .ð .ð .ð .ð .ð .ð .ð .ð .ð .ð .ð .ð
 )5¨©¬ð ð ð ð ð /;¨l©n¬nð ð ð ð ð$ -Ð-Ð ð 
€Ø	ð ØÐÐÐà €€€€€€€Ø
„yÔ#ð A¨¸2¼:Ð(EÐ(EØœ* _Ô5×;Ò;¸CÑ@Ô@ÐØà€Ø„<���Ô�vÒÐ #¤,×":Ò":¸4Ñ"@Ô"@ÐØœ,×2Ò2°4Ñ8Ô8×>Ò>¸sÑCÔCÐð:ð :ð :ð :ð4 „<��1�Ô˜ÒÐð*ð *ð *ð *ð*ð *ð *ð €C€Cr   