§
    «}ÅjÍ	  ã                   ó.   — d dl mZ  G d„ de¦  «        ZdS )é    )ÚMutableMappingc                   óV   — e Zd ZdZdd„Zd„ Zd„ Zd„ Zd„ Zd„ Z	d	„ Z
d
„ Zd„ Zd„ Zd„ ZdS )ÚCaseInsensitiveDictaÖ  A case-insensitive ``dict``-like object.

    Implements all methods and operations of
    ``MutableMapping`` as well as dict's ``copy``. Also
    provides ``lower_items``.

    All keys are expected to be strings. The structure remembers the
    case of the last key to be set, and ``iter(instance)``,
    ``keys()``, ``items()``, ``iterkeys()``, and ``iteritems()``
    will contain case-sensitive keys. However, querying and contains
    testing is case insensitive::

        cid = CaseInsensitiveDict()
        cid['Accept'] = 'application/json'
        cid['aCCEPT'] == 'application/json'  # True
        list(cid) == ['Accept']  # True

    For example, ``headers['content-encoding']`` will return the
    value of a ``'Content-Encoding'`` response header, regardless
    of how the header name was originally stored.

    If the constructor, ``.update``, or equality comparison
    operations are given keys that have equal ``.lower()``s, the
    behavior is undefined.
    Nc                 ó8   — i | _         |€i } | j        |fi |¤Ž d S ©N)Ú_storeÚupdate)ÚselfÚdataÚkwargss      úlC:\Projects\Historical\FacebookAutoPoster\venv\Lib\site-packages\playwright_stealth/case_insensitive_dict.pyÚ__init__zCaseInsensitiveDict.__init__    s3   € ØˆŒØˆ<ØˆDØˆŒ�DÐ#Ð#˜FÐ#Ð#Ð#Ð#Ð#ó    c                 óB   — ||f| j         |                     ¦   «         <   d S r   ©r   Úlower)r
   ÚkeyÚvalues      r   Ú__setitem__zCaseInsensitiveDict.__setitem__&   s"   € ð %(¨ <ˆŒ�C—I’I‘K”KÑ Ð Ð r   c                 óL   — | j         |                     ¦   «                  d         S )Né   r   ©r
   r   s     r   Ú__getitem__zCaseInsensitiveDict.__getitem__+   s   € ØŒ{˜3Ÿ9š9™;œ;Ô'¨Ô*Ð*r   c                 ó:   — | j         |                     ¦   «         = d S r   r   r   s     r   Ú__delitem__zCaseInsensitiveDict.__delitem__.   s   € ØŒK˜Ÿ	š	™œÐ$Ð$Ð$r   c                 óH   — d„ | j                              ¦   «         D ¦   «         S )Nc              3   ó    K  — | ]	\  }}|V — Œ
d S r   © )Ú.0ÚcasedkeyÚmappedvalues      r   ú	<genexpr>z/CaseInsensitiveDict.__iter__.<locals>.<genexpr>2   s'   è è € ÐKÐKÑ2˜X {�ÐKÐKÐKÐKÐKÐKr   )r   Úvalues©r
   s    r   Ú__iter__zCaseInsensitiveDict.__iter__1   s$   € ØKÐK°d´k×6HÒ6HÑ6JÔ6JÐKÑKÔKÐKr   c                 ó*   — t          | j        ¦  «        S r   )Úlenr   r$   s    r   Ú__len__zCaseInsensitiveDict.__len__4   s   € Ý�4”;ÑÔÐr   c                 óH   — d„ | j                              ¦   «         D ¦   «         S )z.Like iteritems(), but with all lowercase keys.c              3   ó0   K  — | ]\  }}||d          fV — ŒdS )r   Nr   )r   ÚlowerkeyÚkeyvals      r   r"   z2CaseInsensitiveDict.lower_items.<locals>.<genexpr>9   s0   è è € ÐTÐTÑ*<¨8°V�˜6 !œ9Ð%ÐTÐTÐTÐTÐTÐTr   )r   Úitemsr$   s    r   Úlower_itemszCaseInsensitiveDict.lower_items7   s$   € àTÐTÀÄ×@QÒ@QÑ@SÔ@SÐTÑTÔTÐTr   c                 óä   — ddl m} t          ||¦  «        rt          |¦  «        }nt          S t          |                      ¦   «         ¦  «        t          |                     ¦   «         ¦  «        k    S )Nr   )ÚMapping)Úcollections.abcr0   Ú
isinstancer   ÚNotImplementedÚdictr.   )r
   Úotherr0   s      r   Ú__eq__zCaseInsensitiveDict.__eq__;   sn   € Ø+Ð+Ð+Ð+Ð+Ð+å�e˜WÑ%Ô%ð 	"Ý'¨Ñ.Ô.ˆEˆEå!Ð!å�D×$Ò$Ñ&Ô&Ñ'Ô'­4°×0AÒ0AÑ0CÔ0CÑ+DÔ+DÒDÐDr   c                 óN   — t          | j                             ¦   «         ¦  «        S r   )r   r   r#   r$   s    r   ÚcopyzCaseInsensitiveDict.copyF   s   € Ý" 4¤;×#5Ò#5Ñ#7Ô#7Ñ8Ô8Ð8r   c                 ó^   — t          t          |                      ¦   «         ¦  «        ¦  «        S r   )Ústrr4   r-   r$   s    r   Ú__repr__zCaseInsensitiveDict.__repr__I   s    € Ý•4˜Ÿ
š
™œÑ%Ô%Ñ&Ô&Ð&r   c                 ó   — d S r   r   r$   s    r   r-   zCaseInsensitiveDict.itemsL   s   € Øˆr   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r%   r(   r.   r6   r8   r;   r-   r   r   r   r   r      sÑ   € € € € € ðð ð4$ð $ð $ð $ð0ð 0ð 0ð
+ð +ð +ð%ð %ð %ðLð Lð Lð ð  ð  ðUð Uð UðEð Eð Eð9ð 9ð 9ð'ð 'ð 'ðð ð ð ð r   r   N)r1   r   r   r   r   r   ú<module>rA      sU   ðØ *Ð *Ð *Ð *Ð *Ð *ðHð Hð Hð Hð H˜.ñ Hô Hð Hð Hð Hr   