Ë
    ��h`  ã                   óP   — d Z ddlmZ ddlmZmZ  G d„ de«      Z G d„ de«      Zy	)
zO
requests.structures
~~~~~~~~~~~~~~~~~~~

Data structures that power Requests.
é    )ÚOrderedDicté   )ÚMappingÚMutableMappingc                   óN   — 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y)Ú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                 óP   — t        «       | _        |€i } | j                  |fi |¤Ž y ©N)r   Ú_storeÚupdate)ÚselfÚdataÚkwargss      ú]/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/pip/_vendor/requests/structures.pyÚ__init__zCaseInsensitiveDict.__init__(   s(   € Ü!“mˆŒØˆ<ØˆDØˆ�‰�DÑ#˜FÓ#ó    c                 óB   — ||f| j                   |j                  «       <   y r
   ©r   Úlower)r   ÚkeyÚvalues      r   Ú__setitem__zCaseInsensitiveDict.__setitem__.   s   € ð %(¨ <ˆ�‰�C—I‘I“KÒ r   c                 óB   — | j                   |j                  «          d   S )Nr   r   ©r   r   s     r   Ú__getitem__zCaseInsensitiveDict.__getitem__3   s   € Ø�{‰{˜3Ÿ9™9›;Ñ'¨Ñ*Ð*r   c                 ó:   — | j                   |j                  «       = y r
   r   r   s     r   Ú__delitem__zCaseInsensitiveDict.__delitem__6   s   € Ø�K‰K˜Ÿ	™	›Ñ$r   c                 óD   — d„ | j                   j                  «       D «       S )Nc              3   ó&   K  — | ]	  \  }}|–— Œ y ­wr
   © )Ú.0ÚcasedkeyÚmappedvalues      r   ú	<genexpr>z/CaseInsensitiveDict.__iter__.<locals>.<genexpr>:   s   è ø€ ÒKÑ2˜X {”ÑKùs   ‚)r   Úvalues©r   s    r   Ú__iter__zCaseInsensitiveDict.__iter__9   s   € ÙK°d·k±k×6HÑ6HÓ6JÔKÐKr   c                 ó,   — t        | j                  «      S r
   )Úlenr   r&   s    r   Ú__len__zCaseInsensitiveDict.__len__<   s   € Ü�4—;‘;ÓÐr   c                 óD   — d„ | j                   j                  «       D «       S )z.Like iteritems(), but with all lowercase keys.c              3   ó0   K  — | ]  \  }}||d    f–— Œ y­w)r   Nr    )r!   ÚlowerkeyÚkeyvals      r   r$   z2CaseInsensitiveDict.lower_items.<locals>.<genexpr>A   s   è ø€ ÒTÑ*<¨8°V�˜6 !™9Ô%ÑTùs   ‚)r   Úitemsr&   s    r   Úlower_itemszCaseInsensitiveDict.lower_items?   s   € áTÀÇÁ×@QÑ@QÓ@SÔTÐTr   c                 ó¬   — t        |t        «      rt        |«      }nt        S t	        | j                  «       «      t	        |j                  «       «      k(  S r
   )Ú
isinstancer   r   ÚNotImplementedÚdictr0   )r   Úothers     r   Ú__eq__zCaseInsensitiveDict.__eq__C   sC   € Ü�eœWÔ%Ü'¨Ó.‰Eä!Ð!ä�D×$Ñ$Ó&Ó'¬4°×0AÑ0AÓ0CÓ+DÑDÐDr   c                 óH   — t        | j                  j                  «       «      S r
   )r   r   r%   r&   s    r   ÚcopyzCaseInsensitiveDict.copyL   s   € Ü" 4§;¡;×#5Ñ#5Ó#7Ó8Ð8r   c                 óF   — t        t        | j                  «       «      «      S r
   )Ústrr4   r/   r&   s    r   Ú__repr__zCaseInsensitiveDict.__repr__O   s   € Ü”4˜Ÿ
™
›Ó%Ó&Ð&r   r
   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r'   r*   r0   r6   r8   r;   r    r   r   r   r      s<   „ ñó4$ò0ò
+ò%òLò òUòEò9ó'r   r   c                   ó8   ‡ — e Zd ZdZdˆ fd„	Zd„ Zd„ Zdd„Zˆ xZS )Ú
LookupDictzDictionary lookup object.c                 ó0   •— || _         t        ‰| �	  «        y r
   )ÚnameÚsuperr   )r   rC   Ú	__class__s     €r   r   zLookupDict.__init__V   s   ø€ ØˆŒ	Ü‰ÑÕr   c                 ó"   — d| j                   › d�S )Nz	<lookup 'z'>)rC   r&   s    r   r;   zLookupDict.__repr__Z   s   € Ø˜4Ÿ9™9˜+ RÐ(Ð(r   c                 ó:   — | j                   j                  |d «      S r
   ©Ú__dict__Úgetr   s     r   r   zLookupDict.__getitem__]   s   € ð �}‰}× Ñ   dÓ+Ð+r   c                 ó:   — | j                   j                  ||«      S r
   rH   )r   r   Údefaults      r   rJ   zLookupDict.getb   s   € Ø�}‰}× Ñ   gÓ.Ð.r   r
   )	r<   r=   r>   r?   r   r;   r   rJ   Ú__classcell__)rE   s   @r   rA   rA   S   s   ø„ Ù#õò)ò,÷
/r   rA   N)	r?   Úcollectionsr   Úcompatr   r   r   r4   rA   r    r   r   ú<module>rP      s-   ðñõ $ç +ôC'˜.ô C'ôL/�õ /r   