+
    NV-jC  ã                  óú   € R t ^ RIHt ^ RIt^ RIt^ RIHtHtHt ^ RI	H
t
 ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ R	IHt ]'       d   ^ R
IHtHtHtHtHt ^ RIHt  ! R R4      t ! R R]4      t ! R R]4      tR# )zF
:mod:`pandas.io.formats.xml` is a module for formatting data in XML.
)ÚannotationsN)ÚTYPE_CHECKINGÚAnyÚfinal©ÚAbstractMethodError)Úcache_readonly)Úis_list_like)Úisna)Ú
get_handle)Úget_data_from_filepath)ÚCompressionOptionsÚFilePathÚ
ReadBufferÚStorageOptionsÚWriteBuffer)Ú	DataFramec                  ó  € ] tR t^$tRtRR R lltR R lt]R R l4       t]R	 R
 l4       t	]R R l4       t
]R R l4       tR R lt]R R l4       t]R R l4       t]R R l4       t]R 4       t]R R l4       t]R R l4       tRtR# )Ú_BaseXMLFormattera“
  
Subclass for formatting data in XML.

Parameters
----------
path_or_buffer : str or file-like
    This can be either a string of raw XML, a valid URL,
    file or file-like object.

index : bool
    Whether to include index in xml document.

row_name : str
    Name for root of xml document. Default is 'data'.

root_name : str
    Name for row elements of xml document. Default is 'row'.

na_rep : str
    Missing data representation.

attrs_cols : list
    List of columns to write as attributes in row element.

elem_cols : list
    List of columns to write as children in row element.

namespaces : dict
    The namespaces to define in XML document as dicts with key
    being namespace and value the URI.

prefix : str
    The prefix for each element in XML document including root.

encoding : str
    Encoding of xml object or document.

xml_declaration : bool
    Whether to include xml declaration at top line item in xml.

pretty_print : bool
    Whether to write xml document with line breaks and indentation.

stylesheet : str or file-like
    A URL, file, file-like object, or a raw string containing XSLT.

compression : str or dict, default 'infer'
    For on-the-fly compression of the output data. If 'infer' and 'path_or_buffer'
    is path-like, then detect compression from the following extensions: '.gz',
    '.bz2', '.zip', '.xz', '.zst', '.tar', '.tar.gz', '.tar.xz' or '.tar.bz2'
    (otherwise no compression).
    Set to ``None`` for no compression.
    Can also be a dict with key ``'method'`` set
    to one of {``'zip'``, ``'gzip'``, ``'bz2'``, ``'zstd'``, ``'xz'``, ``'tar'``}
    and other key-value pairs are forwarded to
    ``zipfile.ZipFile``, ``gzip.GzipFile``,
    ``bz2.BZ2File``, ``zstandard.ZstdCompressor``, ``lzma.LZMAFile`` or
    ``tarfile.TarFile``, respectively.
    As an example, the following could be passed for faster compression and to
    create a reproducible gzip archive:
    ``compression={'method': 'gzip', 'compresslevel': 1, 'mtime': 1}``.

storage_options : dict, optional
    Extra options that make sense for a particular storage connection, e.g.
    host, port, username, password, etc. For HTTP(S) URLs the key-value pairs
    are forwarded to ``urllib.request.Request`` as header options. For other
    URLs (e.g. starting with "s3://", and "gcs://") the key-value pairs are
    forwarded to ``fsspec.open``. Please see ``fsspec`` and ``urllib`` for more
    details, and for more examples on storage options refer `here
    <https://pandas.pydata.org/docs/user_guide/io.html?
    highlight=storage_options#reading-writing-remote-files>`_.

See also
--------
pandas.io.formats.xml.EtreeXMLFormatter
pandas.io.formats.xml.LxmlXMLFormatter

Nc          "     ó\   € V ^8„  d   QhRRRRRRRRR	RR
RRRRRRRRRRRRRRRRRRRRRRR/# )é   Úframer   Úpath_or_bufferz7FilePath | WriteBuffer[bytes] | WriteBuffer[str] | NoneÚindexÚboolÚ	root_nameú
str | NoneÚrow_nameÚna_repÚ	attr_colszlist[str] | NoneÚ	elem_colsÚ
namespaceszdict[str | None, str] | NoneÚprefixÚencodingÚstrÚxml_declarationzbool | NoneÚpretty_printÚ
stylesheetz5FilePath | ReadBuffer[str] | ReadBuffer[bytes] | NoneÚcompressionr   Ústorage_optionszStorageOptions | NoneÚreturnÚNone© )Úformats   "Úf/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/pandas/io/formats/xml.pyÚ__annotate__Ú_BaseXMLFormatter.__annotate__t   s¶   € ÷ *ñ *àð*ð Pð*ð ð	*ð
 ð*ð ð*ð ð*ð $ð*ð $ð*ð 1ð*ð ð*ð ð*ð %ð*ð "ð*ð Jð*ð  (ð!*ð" /ð#*ð$ 
ñ%*ó    c                	óÎ  € Wn         W n        W0n        W@n        WPn        W`n        Wpn        W€n        W�n        W n	        W°n
        WÀn        WÐn        Wàn        Wðn        VV n        V P                   P                   P#                  4       V n        V P'                  4       V n        V P+                  4        V P-                  4        V P/                  4       V n        V P3                  4        R # ©N)r   r   r   r   r   r   r   r    r!   r"   r#   r%   r&   r'   r(   r)   ÚcolumnsÚtolistÚ	orig_colsÚ_process_dataframeÚframe_dictsÚ_validate_columnsÚ_validate_encodingÚ_get_prefix_uriÚ
prefix_uriÚ_handle_indexes)Úselfr   r   r   r   r   r   r   r    r!   r"   r#   r%   r&   r'   r(   r)   s   &&&&&&&&&&&&&&&&&r.   Ú__init__Ú_BaseXMLFormatter.__init__t   sº   € ð& Œ
Ø,ÔØŒ
Ø"ŒØ ŒØŒØ"ŒØ"ŒØ$ŒØŒØ ŒØ.ÔØ(ÔØ$ŒØ/:ÔØ.ˆÔàŸ™×+Ñ+×2Ñ2Ó4ˆŒØ×2Ñ2Ó4ˆÔà×ÑÔ Ø×ÑÔ!Ø×.Ñ.Ó0ˆŒØ×ÑÖr1   c               ó   € V ^8„  d   QhRR/# ©r   r*   Úbytesr,   )r-   s   "r.   r/   r0       s   € ÷ (ñ (˜Uñ (r1   c                ó   € \        V 4      h)úw
Build tree from  data.

This method initializes the root and builds attributes and elements
with optional namespaces.
r   ©r>   s   &r.   Ú_build_treeÚ_BaseXMLFormatter._build_tree    s   € ô " $Ó'Ð'r1   c               ó   € V ^8„  d   QhRR/# ©r   r*   r+   r,   )r-   s   "r.   r/   r0   ª   s   € ÷ ñ  4ñ r1   c                ój  € V P                   '       dG   \        V P                   4      '       g,   \        \        V P                   4      P                   R24      hV P
                  '       dI   \        V P
                  4      '       g,   \        \        V P
                  4      P                   R24      hR# R# )z¬
Validate elems_cols and attrs_cols.

This method will check if columns is list-like.

Raises
------
ValueError
    * If value is not a list and less then length of nodes.
z" is not a valid type for attr_colsz" is not a valid type for elem_colsN)r   r	   Ú	TypeErrorÚtypeÚ__name__r    rF   s   &r.   r9   Ú#_BaseXMLFormatter._validate_columns©   s‹   € ð �>�>ˆ>¤,¨t¯~©~×">Ò">ÜÜ˜Ÿ™Ó'×0Ñ0Ð1Ð1SÐTóð ð �>�>ˆ>¤,¨t¯~©~×">Ò">ÜÜ˜Ÿ™Ó'×0Ñ0Ð1Ð1SÐTóð ñ #?‰>r1   c               ó   € V ^8„  d   QhRR/# rJ   r,   )r-   s   "r.   r/   r0   À   s   € ÷ %ñ % Dñ %r1   c                óF   € \         P                  ! V P                  4       R# )zŸ
Validate encoding.

This method will check if encoding is among listed under codecs.

Raises
------
LookupError
    * If encoding is not available in codecs.
N)ÚcodecsÚlookupr#   rF   s   &r.   r:   Ú$_BaseXMLFormatter._validate_encoding¿   s   € ô 	�Š�d—m‘mÖ$r1   c               ó   € V ^8„  d   QhRR/# )r   r*   zdict[int | str, dict[str, Any]]r,   )r-   s   "r.   r/   r0   Ï   s   € ÷ *ñ *Ð$Cñ *r1   c                óÔ   € V P                   pV P                  '       d   VP                  4       pV P                  e   VP	                  V P                  4      pVP                  RR7      # )zª
Adjust Data Frame to fit xml output.

This method will adjust underlying data frame for xml output,
including optionally replacing missing values and including indexes.
r   )Úorient)r   r   Úreset_indexr   ÚfillnaÚto_dict)r>   Údfs   & r.   r7   Ú$_BaseXMLFormatter._process_dataframeÎ   sO   € ð �Z‰Zˆà�:�:ˆ:Ø—‘Ó!ˆBà�;‰;Ò"Ø—‘˜4Ÿ;™;Ó'ˆBà�z‰z ˆzÓ)Ð)r1   c               ó   € V ^8„  d   QhRR/# rJ   r,   )r-   s   "r.   r/   r0   â   s   € ÷ 6ñ 6 ñ 6r1   c                ó   € V P                   '       g   R# \        \        V P                  4      4      pV P                  V,          P	                  4        Uu. uF  q"V P
                  9  g   K  VNK  	  ppV P                  '       d   W0P                  ,           V n        V P                  '       d   W0P                  ,           V n        R# R# u upi )zL
Handle indexes.

This method will add indexes into attr_cols or elem_cols.
N)r   ÚnextÚiterr8   Úkeysr6   r   r    )r>   Ú	first_keyÚxÚindexess   &   r.   r=   Ú!_BaseXMLFormatter._handle_indexesá   s›   € ð �z�zˆzÙäœ˜d×.Ñ.Ó/Ó0ˆ	à×'Ñ'¨	Õ2×7Ñ7Ô9ó
Ù9�!ÀdÇnÁnÑ=T�AˆAÑ9ð 	ð 
ð �>�>ˆ>Ø$§~¡~Õ5ˆDŒNà�>�>ˆ>Ø$§~¡~Õ5ˆDŽNñ ùò
s   ÁCÁ-Cc               ó   € V ^8„  d   QhRR/# ©r   r*   r$   r,   )r-   s   "r.   r/   r0   ÷   s   € ÷ (ñ ( ñ (r1   c                ó   € \        V 4      h)zª
Get uri of namespace prefix.

This method retrieves corresponding URI to prefix in namespaces.

Raises
------
KeyError
    *If prefix is not included in namespace dict.
r   rF   s   &r.   r;   Ú!_BaseXMLFormatter._get_prefix_uri÷   s   € ô " $Ó'Ð'r1   c               ó   € V ^8„  d   QhRR/# )r   r*   Údictr,   )r-   s   "r.   r/   r0     s   € ÷ ñ  4ñ r1   c                óÞ   € / pV P                   '       dS   V P                   P                  4        UUu/ uF,  w  r#W0P                  ^R 8w  g   K  RVR8X  d   TMRV 2 2VbK.  	  pppV# u uppi )z›
Define other namespaces.

This method will build dictionary of namespaces attributes
for root element, conditionally with optional namespaces and
prefix.
ÚxmlnsÚ Ú:éÿÿÿÿ)r!   Úitemsr<   )r>   Ú	nmsp_dictÚpÚns   &   r.   Ú_other_namespacesÚ#_BaseXMLFormatter._other_namespaces  s~   € ð %'ˆ	Ø�?�?ˆ?ð !ŸO™O×1Ñ1Ô3ôá3‘D�AØŸ™¨¨"Ð-Ñ-ô 7�%˜Q "œW™¨A¨a¨S¨'Ð2Ð3°QÒ6Ù3ð ñ ð Ðùós   ²A)ÁA)c               ó$   € V ^8„  d   QhRRRRRR/# )r   Údúdict[str, Any]Úelem_rowr   r*   r,   )r-   s   "r.   r/   r0     s!   € ÷ ñ  ð ¸#ð À#ñ r1   c                ó*  € V P                   '       g   V# V P                    FL  pV P                  V4      p \        W,          4      '       g!   \        W,          4      VP                  V&   KL  KN  	  V#   \
         d   p\        RT 24      ThRp?ii ; i)z”
Create attributes of row.

This method adds attributes using attr_cols to row element and
works with tuples for multindex or hierarchical columns.
úno valid column, N)r   Ú_get_flat_col_namer
   r$   ÚattribÚKeyError)r>   rx   rz   ÚcolÚ	attr_nameÚerrs   &&&   r.   Ú_build_attribsÚ _BaseXMLFormatter._build_attribs  sŠ   € ð �~�~ˆ~ØˆOà—>”>ˆCØ×/Ñ/°Ó4ˆIðCÜ˜A�F—|’|Ü14°QµV³�H—O‘O IÓ.ñ $ñ "ð ˆøô ô CÜÐ!2°3°%Ð8Ó9¸sÐBûðCús   ¶5A3Á3BÁ>BÂBc               ó    € V ^8„  d   QhRRRR/# )r   r€   zstr | tupler*   r$   r,   )r-   s   "r.   r/   r0   /  s   € ÷ .ñ . kð .°cñ .r1   c                	óT  € Tp\        V\        4      '       dx   R V9   d9   R P                  V Uu. uF  p\        V4      NK  	  up4      P	                  4       M7RP                  V Uu. uF  p\        V4      NK  	  up4      P	                  4       pV P
                   V 2# u upi u upi )rn   Ú_)Ú
isinstanceÚtupleÚjoinr$   Ústripr<   )r>   r€   Úflat_colÚcs   &&  r.   r}   Ú$_BaseXMLFormatter._get_flat_col_name.  s’   € àˆÜ�cœ5×!Ò!ð ˜”9ð —‘©Ó-© Aœ˜Qž©Ñ-Ó.×4Ñ4Ô6à—X‘X©sÓ3©s¨!œs 1žv©sÑ3Ó4×:Ñ:Ó<ð ð
 —/‘/Ð" 8 *Ð-Ð-ùò	 .ùâ3s   ¯B Á'B%c                	ó   € \        V 4      hr3   r   rF   s   &r.   Ú_sub_element_clsÚ"_BaseXMLFormatter._sub_element_cls9  s   € ä! $Ó'Ð'r1   c               ó$   € V ^8„  d   QhRRRRRR/# )r   rx   ry   rz   r   r*   r+   r,   )r-   s   "r.   r/   r0   >  s&   € ÷ Cñ C˜nð C¸ð CÀñ Cr1   c                óZ  € V P                   pV P                  '       g   R# V P                   FX  pV P                  V4      p \        W,          4      '       g   W,          R8X  d   RM\	        W,          4      pWc! W%4      n        KZ  	  R#   \         d   p\        RT 24      ThRp?ii ; i)zœ
Create child elements of row.

This method adds child elements using elem_cols to row element and
works with tuples for multindex or hierarchical columns.
Nrn   r|   )r�   r    r}   r
   r$   Útextr   )r>   rx   rz   Úsub_element_clsr€   Ú	elem_nameÚvalr‚   s   &&&     r.   Ú_build_elemsÚ_BaseXMLFormatter._build_elems=  s”   € ð ×/Ñ/ˆà�~�~ˆ~Ùà—>”>ˆCØ×/Ñ/°Ó4ˆIðCÜ" 1¥6Ÿlšl¨a­f¸¬l‘dÄÀAÅFÃ�Ø<?� Ó4Ö9ó	 "øô
 ô CÜÐ!2°3°%Ð8Ó9¸sÐBûðCús   ÁABÂB*ÂB%Â%B*c               ó   € V ^8„  d   QhRR/# )r   r*   r   r,   )r-   s   "r.   r/   r0   S  s   € ÷ :ñ :˜jñ :r1   c                	óp  € V P                  4       pV P                  e]   \        V P                  RV P                  V P                  RR7      ;_uu_ 4       pVP
                  P                  V4       R R R 4       R # VP                  V P                  4      P                  4       #   + '       g   i     R # ; i)NÚwbF)r(   r)   Úis_text)
rG   r   r   r(   r)   ÚhandleÚwriteÚdecoder#   Úrstrip)r>   Úxml_docÚhandless   &  r.   Úwrite_outputÚ_BaseXMLFormatter.write_outputR  s™   € à×"Ñ"Ó$ˆà×ÑÒ*ÜØ×#Ñ#ØØ ×,Ñ,Ø $× 4Ñ 4Ø÷õ ð Ø—‘×$Ñ$ WÔ-÷ñ ð —>‘> $§-¡-Ó0×7Ñ7Ó9Ð9÷ö ñ ús   ÁB$Â$B5	)r   r(   r    r#   r   r8   r   r   r!   r6   r   r"   r<   r&   r   r   r)   r'   r%   )NTÚdataÚrowNNNNNzutf-8TTNÚinferN)rN   Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r?   rG   r   r9   r:   r7   r=   r;   ru   rƒ   r}   r   r�   r˜   r¤   Ú__static_attributes__r,   r1   r.   r   r   $   sã   † ñM÷^*õX(ð ôó ðð* ô%ó ð%ð ô*ó ð*ð$ ô6ó ð6õ*(ð ôó ðð& ôó ðð( ô.ó ð.ð ñ(ó ð(ð ôCó ðCð( ô:ó ô:r1   r   c                  óN   € ] tR tRtRtR R ltR R lt]R 4       tR R	 lt	R
t
R# )ÚEtreeXMLFormatterie  úx
Class for formatting data in xml using Python standard library
modules: `xml.etree.ElementTree` and `xml.dom.minidom`.
c               ó   € V ^8„  d   QhRR/# rB   r,   )r-   s   "r.   r/   ÚEtreeXMLFormatter.__annotate__k  ó   € ÷ %ñ %˜Uñ %r1   c                	óü  € ^ RI HpHpHp V! V P                   V P
                   2V P                  4       R7      V n        V P                  P                  4        F¥  pV! V P                  V P                   V P                   24      pV P                  '       gD   V P                  '       g2   \        VP                  4       4      V n        V P                  WE4       Kƒ  V P!                  WE4      pV P                  WE4       K§  	  V! V P                  RV P"                  V P$                  R7      V n        V P(                  '       d   V P+                  4       V n        V P,                  e   \/        R4      hV P&                  # )é    ©ÚElementÚ
SubElementÚtostring)r~   Úxml)Úmethodr#   r%   zBTo use stylesheet, you need lxml installed and selected as parser.)Úxml.etree.ElementTreer·   r¸   r¹   r<   r   ru   Úrootr8   Úvaluesr   r   r    Úlistra   r˜   rƒ   r#   r%   Úout_xmlr&   Ú_prettify_treer'   Ú
ValueError©r>   r·   r¸   r¹   rx   rz   s   &     r.   rG   ÚEtreeXMLFormatter._build_treek  s4  € ÷	
ñ 	
ñ Ø�‰Ð §¡Ð/Ð0¸×9OÑ9OÓ9Qô
ˆŒ	ð ×!Ñ!×(Ñ(Ö*ˆAÙ! $§)¡)°·±Ð/@ÀÇÁÀÐ-PÓQˆHà—>—>�>¨$¯.¯.¨.Ü!% a§f¡f£h£�”Ø×!Ñ! !Ö.ð  ×.Ñ.¨qÓ;�Ø×!Ñ! !Ö.ñ +ñ  Ø�I‰IØØ—]‘]Ø ×0Ñ0ô	
ˆŒð ××ÐØ×.Ñ.Ó0ˆDŒLà�?‰?Ò&ÜØTóð ð �|‰|Ðr1   c               ó   € V ^8„  d   QhRR/# rg   r,   )r-   s   "r.   r/   r²   ’  s   € ÷ ñ  ñ r1   c                	ó  € ^ RI Hp RpV P                  '       d¾   V P                  P                  4        F=  w  r4\	        V\
        4      '       g   K  \	        V\
        4      '       g   K5  V! W44       K?  	  V P                  '       d%    RV P                  V P                  ,           R2pV# RV P                  9   d   RV P                  R,           R2pV# RpV#   \         d   p\        T P                   R24      ThRp?ii ; i)rµ   )Úregister_namespacern   Ú{Ú}ú is not included in namespacesN)r¼   rÇ   r!   rq   rˆ   r$   r"   r   )r>   rÇ   Úurirs   rt   r‚   s   &     r.   r;   Ú!EtreeXMLFormatter._get_prefix_uri’  sê   € Ý<àˆØ�?�?ˆ?ØŸ™×-Ñ-Ö/‘�Ü˜a¤×%Ô%¬*°Q¼×*<Ô*<Ù& qÖ,ñ 0ð �{�{ˆ{ðØ˜tŸ™¨t¯{©{Õ;Ð<¸BÐ?�Cð ˆ
ð �t—‘Ô&Ø˜4Ÿ?™?¨2Õ.Ð/¨rÐ2�ð ˆ
ð �àˆ
øô  ô Ü"ØŸ;™;˜-Ð'EÐFóàðûðús   Â	!C ÃDÃ%C>Ã>Dc                	ó   € ^ RI Hp V# ©rµ   )r¸   )r¼   r¸   ©r>   r¸   s   & r.   r�   Ú"EtreeXMLFormatter._sub_element_cls¨  s   € å4àÐr1   c               ó   € V ^8„  d   QhRR/# rB   r,   )r-   s   "r.   r/   r²   ®  s   € ÷ Dñ D ñ Dr1   c                ól   € ^ RI Hp V! V P                  4      pVP                  RV P                  R7      # )zk
Output tree for pretty print format.

This method will pretty print xml with line breaks and indentation.
)ÚparseStringz  )Úindentr#   )Úxml.dom.minidomrÓ   rÀ   Útoprettyxmlr#   )r>   rÓ   Údoms   &  r.   rÁ   Ú EtreeXMLFormatter._prettify_tree®  s,   € õ 	0á˜$Ÿ,™,Ó'ˆà�‰ d°T·]±]ˆÓCÐCr1   ©r    rÀ   r½   N)rN   r©   rª   r«   r¬   rG   r;   r   r�   rÁ   r­   r,   r1   r.   r¯   r¯   e  s2   † ñõ
%õNð, ñó ð÷
Dñ Dr1   r¯   c                  ór   a € ] tR tRtRtR V 3R lltR R ltR R ltR	 R
 lt]	R 4       t
R R ltRtV ;t# )ÚLxmlXMLFormatteri¼  r°   c               ó   € V ^8„  d   QhRR/# rJ   r,   )r-   s   "r.   r/   ÚLxmlXMLFormatter.__annotate__Â  s   € ÷ &ñ &¨4ñ &r1   c                	óH   <€ \         SV `  ! V/ VB  V P                  4        R # r3   )Úsuperr?   Ú_convert_empty_str_key)r>   ÚargsÚkwargsÚ	__class__s   &*,€r.   r?   ÚLxmlXMLFormatter.__init__Â  s!   ø€ Ü‰Ò˜$Ð) &Ò)à×#Ñ#Ö%r1   c               ó   € V ^8„  d   QhRR/# rB   r,   )r-   s   "r.   r/   rÝ   Ç  r³   r1   c                óÐ  € ^ RI HpHpHp V! V P                   V P
                   2V P                  R7      V n        V P                  P                  4        F¥  pV! V P                  V P                   V P                   24      pV P                  '       gD   V P                  '       g2   \        VP                  4       4      V n        V P                  WE4       Kƒ  V P!                  WE4      pV P                  WE4       K§  	  V! V P                  V P"                  RV P$                  V P&                  R7      V n        V P*                  e   V P-                  4       V n        V P(                  # )rE   r¶   )Únsmaprº   )r&   r»   r#   r%   )Ú
lxml.etreer·   r¸   r¹   r<   r   r!   r½   r8   r¾   r   r   r    r¿   ra   r˜   rƒ   r&   r#   r%   rÀ   r'   Ú_transform_docrÃ   s   &     r.   rG   ÚLxmlXMLFormatter._build_treeÇ  s  € ÷	
ñ 	
ñ ˜tŸ™Ð/°·±Ð/?Ð@ÈÏÉÔXˆŒ	à×!Ñ!×(Ñ(Ö*ˆAÙ! $§)¡)°·±Ð/@ÀÇÁÀÐ-PÓQˆHà—>—>�>¨$¯.¯.¨.Ü!% a§f¡f£h£�”Ø×!Ñ! !Ö.ð  ×.Ñ.¨qÓ;�Ø×!Ñ! !Ö.ñ +ñ  Ø�I‰IØ×*Ñ*ØØ—]‘]Ø ×0Ñ0ô
ˆŒð �?‰?Ò&Ø×.Ñ.Ó0ˆDŒLà�|‰|Ðr1   c               ó   € V ^8„  d   QhRR/# rJ   r,   )r-   s   "r.   r/   rÝ   î  s   € ÷ 	Gñ 	G¨ñ 	Gr1   c                óÂ   € V P                   '       dM   RV P                   P                  4       9   d,   V P                   P                  RR4      V P                   R&   R# R# R# )zŸ
Replace zero-length string in `namespaces`.

This method will replace '' with None to align to `lxml`
requirement that empty string prefixes are not allowed.
rn   ÚdefaultN)r!   ra   ÚpoprF   s   &r.   rà   Ú'LxmlXMLFormatter._convert_empty_str_keyî  sG   € ð �?�?ˆ?˜r T§_¡_×%9Ñ%9Ó%;Ô;Ø$(§O¡O×$7Ñ$7¸¸IÓ$FˆD�O‰O˜DÓ!ñ  <‰?r1   c               ó   € V ^8„  d   QhRR/# rg   r,   )r-   s   "r.   r/   rÝ   ù  s   € ÷ ñ  ñ r1   c                	óJ  € R pV P                   '       dc   V P                  '       d%    RV P                   V P                  ,           R2pV# R V P                   9   d   RV P                   R ,           R2pV# R pV#   \         d   p\        T P                   R24      ThRp?ii ; i)rn   rÈ   rÉ   rÊ   N)r!   r"   r   )r>   rË   r‚   s   &  r.   r;   Ú LxmlXMLFormatter._get_prefix_uriù  s«   € ØˆØ�?�?ˆ?Ø�{�{ˆ{ðØ˜tŸ™¨t¯{©{Õ;Ð<¸BÐ?�Cð ˆ
ð �t—‘Ô&Ø˜4Ÿ?™?¨2Õ.Ð/¨rÐ2�ð ˆ
ð �àˆ
øô  ô Ü"ØŸ;™;˜-Ð'EÐFóàðûðús   ¨!A9 Á9B"ÂBÂB"c                	ó   € ^ RI Hp V# rÎ   )rè   r¸   rÏ   s   & r.   r�   Ú!LxmlXMLFormatter._sub_element_cls
  s   € å)àÐr1   c               ó   € V ^8„  d   QhRR/# rB   r,   )r-   s   "r.   r/   rÝ     s   € ÷ &ñ & ñ &r1   c                ó
  € ^ RI HpHpHpHp V P
                  pVf   Q h\        VV P                  V P                  V P                  R7      pT;_uu_ 4       pV! V P                  R7      p\        V\        P                  4      '       d3   V! VP                  4       P                  V P                  4      VR7      p	M	V! WxR7      p	RRR4       V! X	4      p
V
! V P                  4      p\!        V4      #   + '       g   i     L5; i)zÍ
Parse stylesheet from file or buffer and run it.

This method will parse stylesheet object into tree for parsing
conditionally by its specific object type, then transforms
original tree with XSLT script.
)ÚXSLTÚ	XMLParserÚ
fromstringÚparseN)Úfilepath_or_bufferr#   r(   r)   )r#   )Úparser)rè   r÷   rø   rù   rú   r'   r   r#   r(   r)   rˆ   ÚioÚStringIOÚgetvalueÚencoder½   rC   )r>   r÷   rø   rù   rú   Ú	style_docÚhandle_dataÚxml_dataÚcurr_parserÚxsl_docÚtransformerÚnew_docs   &           r.   ré   ÚLxmlXMLFormatter._transform_doc  sÔ   € ÷	
ó 	
ð —O‘Oˆ	ØÒ$Ð$Ð$ä,Ø(Ø—]‘]Ø×(Ñ(Ø ×0Ñ0ô	
ˆ÷ ‰[˜HÙ#¨T¯]©]Ô;ˆKä˜(¤B§K¡K×0Ò0Ù$Ø×%Ñ%Ó'×.Ñ.¨t¯}©}Ó=Àkô‘ñ   Ô=�÷ ñ ˜7“mˆÙ˜dŸi™iÓ(ˆä�W‹~Ð÷ �[ús   ÁA/C2Ã2D	rÙ   )rN   r©   rª   r«   r¬   r?   rG   rà   r;   r   r�   ré   r­   Ú__classcell__)rã   s   @r.   rÛ   rÛ   ¼  sA   ø† ñ÷
&ð &õ
%õN	Gõð" ñó ð÷
&ó &r1   rÛ   ) r¬   Ú
__future__r   rR   rý   Útypingr   r   r   Úpandas.errorsr   Úpandas.util._decoratorsr   Úpandas.core.dtypes.commonr	   Úpandas.core.dtypes.missingr
   Úpandas.io.commonr   Úpandas.io.xmlr   Úpandas._typingr   r   r   r   r   Úpandasr   r   r¯   rÛ   r,   r1   r.   Ú<module>r     ss   ðñõ #ã Û 	÷ñ õ .Ý 2å 2Ý +å 'Ý 0ç÷õ õ !÷~:ñ ~:ôB
TDÐ)ô TDônzÐ(ö zr1   