+
    ^eòj	  ã                  óú   € R t ^ RIHt ^ RIHtHtHtHt ^ RIH	t	 ^ RI
HtHt ]'       d   ^ RIHt ]	P                  ! 4       t]	P"                  ! RRR7      t]P'                  ]4       R	 R
 ltR R ltRR R lltR# )zXML parser for python-docx.)Úannotations)ÚTYPE_CHECKINGÚDictÚTypeÚcast)Úetree)ÚNamespacePrefixedTagÚnsmap)ÚBaseOxmlElementTF)Úremove_blank_textÚresolve_entitiesc               ó    € V ^8„  d   QhRRRR/# )é   Úxmlzstr | bytesÚreturnz'BaseOxmlElement'© )Úformats   "Ú‡/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/docx/oxml/parser.pyÚ__annotate__r      s   € ÷ Gñ G�;ð GÐ#4ñ Gó    c                óL   € \        R\        P                  ! V \        4      4      # )z«Root lxml element obtained by parsing XML character string `xml`.

The custom parser is used, so custom element classes are produced for elements in
`xml` that have them.
r
   )r   r   Ú
fromstringÚoxml_parser)r   s   &r   Ú	parse_xmlr      s   € ô Ð!¤5×#3Ò#3°C¼Ó#EÓFÐFr   c               ó    € V ^8„  d   QhRRRR/# )r   ÚtagÚstrÚclszType['BaseOxmlElement']r   )r   s   "r   r   r       s   € ÷ 	ñ 	˜cð 	Ð(?ñ 	r   c                ót   € V P                  R4      w  r#\        P                  \        V,          4      pWV&   R# )zãRegister an lxml custom element-class to use for `tag`.

A instance of `cls` to be constructed when the oxml parser encounters an element
with matching `tag`. `tag` is a string of the form `nspfx:tagroot`, e.g.
`'w:document'`.
Ú:N)ÚsplitÚelement_class_lookupÚget_namespacer	   )r   r   ÚnspfxÚtagrootÚ	namespaces   &&   r   Úregister_element_clsr&       s/   € ð —Y‘Y˜s“^�N€EÜ$×2Ñ2´5¸µ<Ó@€IØˆgÓr   Nc               ó(   € V ^8„  d   QhRRRRRRRR/# )r   Ú
nsptag_strr   ÚattrszDict[str, str] | NoneÚnsdeclsr   z BaseOxmlElement | etree._Elementr   )r   s   "r   r   r   ,   s6   € ÷ Sñ SØðSà ðSð #ðSð &ñ	Sr   c                óz   € \        V 4      pVf   VP                  p\        P                  VP                  WR7      # )aL  Return a 'loose' lxml element having the tag specified by `nsptag_str`.

The tag in `nsptag_str` must contain the standard namespace prefix, e.g. `a:tbl`.
The resulting element is an instance of the custom element class for this tag name
if one is defined. A dictionary of attribute values may be provided as `attrs`; they
are set if present. All namespaces defined in the dict `nsdecls` are declared in the
element using the key as the prefix and the value as the namespace name. If
`nsdecls` is not provided, a single namespace declaration is added based on the
prefix on `nsptag_str`.
)Úattribr	   )r   r	   r   ÚmakeelementÚ
clark_name)r(   r)   r*   Únsptags   &&& r   ÚOxmlElementr0   ,   s8   € ô " *Ó-€FØ‚Ø—,‘,ˆÜ×"Ñ" 6×#4Ñ#4¸UÐ"ÓRÐRr   )NN)Ú__doc__Ú
__future__r   Útypingr   r   r   r   Úlxmlr   Údocx.oxml.nsr   r	   Údocx.oxml.xmlchemyr
   ÚElementNamespaceClassLookupr!   Ú	XMLParserr   Úset_element_class_lookupr   r&   r0   r   r   r   Ú<module>r:      sf   ðñ "å "ç 2Ó 2å ç 4çÝ2ð ×8Ò8Ó:Ð Ø�oŠo°ÀuÔM€Ø × $Ñ $Ð%9Ô :õGõ	÷Sñ Sr   