
    h                    b    S r SSKJr  SSKJrJrJr  \" S5      r " S S\\\4   5      r	S	S jr
g)
zObjects shared by opc modules.    )annotations)AnyDictTypeVar_Tc                  D   ^  \ rS rSrSrU 4S jrU 4S jrU 4S jrSrU =r	$ )CaseInsensitiveDict
   a8  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   > [         [        U ]  UR                  5       5      $ N)superr	   __contains__lowerselfkey	__class__s     A/var/www/html/env/lib/python3.13/site-packages/docx/opc/shared.pyr    CaseInsensitiveDict.__contains__   s    ($<SYY[II    c                F   > [         [        U ]  UR                  5       5      $ r   )r   r	   __getitem__r   r   s     r   r   CaseInsensitiveDict.__getitem__   s    ($;CIIKHHr   c                H   > [         [        U ]  UR                  5       U5      $ r   )r   r	   __setitem__r   )r   r   valuer   s      r   r   CaseInsensitiveDict.__setitem__   s    ($;CIIKOOr    )
__name__
__module____qualname____firstlineno____doc__r   r   r   __static_attributes____classcell__)r   s   @r   r	   r	   
   s     JIP Pr   r	   c                    [        X5      $ )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   r   <module>r/      s5    $ " % %T]P$sCx. P&%r   