
    ,h                    `    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     Q/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/docx/opc/shared.pyr   z CaseInsensitiveDict.__contains__   s    ($<SYY[II    c                F    t         t        |   |j                               S r   )r   r	   __getitem__r   r   s     r   r   zCaseInsensitiveDict.__getitem__   s    ($;CIIKHHr   c                H    t         t        |   |j                         |      S r   )r   r	   __setitem__r   )r   r   valuer   s      r   r   zCaseInsensitiveDict.__setitem__   s    ($;CIIK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$sCx. P&%r   