Ë
    \Rðiä  ã                  ó`   — d Z ddlmZ ddlmZmZmZ  ed«      Z G d„ deeef   «      Z	d	d„Z
y)
zObjects shared by opc modules.é    )Úannotations)ÚAnyÚDictÚTypeVarÚ_Tc                  ó6   ‡ — e Zd ZdZˆ fd„Zˆ fd„Zˆ fd„Zˆ xZS )ÚCaseInsensitiveDictaL  Mapping type that behaves like dict except that it matches without respect to the
    case of the key.

    E.g. cid['A'] == cid['a']. Note this is not general-purpose, just complete enough to
    satisfy opc package needs. It assumes str keys, and that it is created empty; keys
    passed in constructor are not accounted for
    c                óF   •— t         t        | �  |j                  «       «      S ©N)Úsuperr	   Ú__contains__Úlower©ÚselfÚkeyÚ	__class__s     €úJ/var/www/html/Extract/venv/lib/python3.12/site-packages/docx/opc/shared.pyr   z CaseInsensitiveDict.__contains__   s   ø€ ÜÔ(¨$Ñ<¸S¿Y¹Y»[ÓIÐIó    c                óF   •— t         t        | �  |j                  «       «      S r   )r   r	   Ú__getitem__r   r   s     €r   r   zCaseInsensitiveDict.__getitem__   s   ø€ ÜÔ(¨$Ñ;¸C¿I¹I»KÓHÐHr   c                óH   •— t         t        | �  |j                  «       |«      S r   )r   r	   Ú__setitem__r   )r   r   Úvaluer   s      €r   r   zCaseInsensitiveDict.__setitem__   s   ø€ ÜÔ(¨$Ñ;¸C¿I¹I»KÈÓOÐOr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   Ú__classcell__)r   s   @r   r	   r	   
   s    ø„ ñôJôI÷Pð Pr   r	   c                ó   — t        | |«      S )z,Return method of `cls` having `method_name`.)Úgetattr)ÚclsÚmethod_names     r   Úcls_method_fnr#      s   € ä�3˜Ó$Ð$r   N)r!   Útyper"   Ústr)r   Ú
__future__r   Útypingr   r   r   r   r%   r	   r#   © r   r   ú<module>r)      s5   ðÙ $å "ç %Ñ %áˆTƒ]€ôP˜$˜s C˜x™.ô Pô&%r   