Ë
    Fü´j‰  ã                  óX   — d Z ddlmZ ddlmZmZ ddlmZmZ erddl	Z	 G d„ dee«      Z
y)z%Represent the :class:`.Trophy` class.é    )Úannotations)ÚTYPE_CHECKINGÚAny)ÚDynamicAttributesÚPRAWBaseNc                  óT   ‡ — e Zd ZU dZded<   d	ˆ fd„Zd
d„Zdˆ fd„Zdd„Zdd„Z	ˆ xZ
S )ÚTrophya;  Represent a trophy.

    End users should not instantiate this class directly. :meth:`.Redditor.trophies` can
    be used to get a list of the redditor's trophies.

    .. include:: ../../typical_attributes.rst

    =============== ===================================================
    Attribute       Description
    =============== ===================================================
    ``award_id``    The ID of the trophy (sometimes ``None``).
    ``description`` The description of the trophy (sometimes ``None``).
    ``icon_40``     The URL of a 41x41 px icon for the trophy.
    ``icon_70``     The URL of a 71x71 px icon for the trophy.
    ``name``        The name of the trophy.
    ``url``         A relevant URL (sometimes ``None``).
    =============== ===================================================

    ÚstrÚnamec                ó€   •— t        || j                  «      r| j                  |j                  k(  S t        ‰| �  |«      S )z Check if two Trophies are equal.)Ú
isinstanceÚ	__class__r   ÚsuperÚ__eq__)ÚselfÚotherr   s     €úP/root/workspace/ytshorts/venv/lib/python3.12/site-packages/praw/models/trophy.pyr   zTrophy.__eq__$   s3   ø€ ä�e˜TŸ^™^Ô,Ø—9‘9 §
¡
Ñ*Ð*Ü‰w‰~˜eÓ$Ð$ó    c                ól   — t        | j                  j                  «      t        | j                  «      z  S )z(Return the hash of the current instance.)Úhashr   Ú__name__r   ©r   s    r   Ú__hash__zTrophy.__hash__*   s$   € ä�D—N‘N×+Ñ+Ó,¬t°D·I±I«Ñ>Ð>r   c                óX   •— t        |t        «      sJ ‚d|v sJ ‚t        ‰| �  ||¬«       y)zÛInitialize a :class:`.Trophy` instance.

        :param reddit: An instance of :class:`.Reddit`.
        :param _data: The structured data, assumed to be a dict and key ``"name"`` must
            be provided.

        r   )Ú_dataN)r   Údictr   Ú__init__)r   Úredditr   r   s      €r   r   zTrophy.__init__.   s3   ø€ ô ˜%¤Ô&Ð&Ð&Ø˜‰ÐˆÜ‰Ñ˜ uÐÕ-r   c                óN   — | j                   j                  › d| j                  ›d�S )z?Return an object initialization representation of the instance.z(name=ú))r   r   r   r   s    r   Ú__repr__zTrophy.__repr__:   s$   € à—.‘.×)Ñ)Ð*¨&°·±°¸QÐ?Ð?r   c                ó   — | j                   S )zReturn a name of the trophy.)r   r   s    r   Ú__str__zTrophy.__str__>   s   € à�y‰yÐr   )r   zTrophy | AnyÚreturnÚbool)r$   Úint)r   zpraw.Redditr   zdict[str, Any]r$   ÚNone)r$   r
   )r   Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__r   r   r   r!   r#   Ú__classcell__)r   s   @r   r	   r	      s)   ø… ñð( ƒIõ%ó?õ
.ó@÷r   r	   )r*   Ú
__future__r   Útypingr   r   Úpraw.models.baser   r   Úprawr	   © r   r   ú<module>r2      s&   ðÙ +å "ç %ç 8áÛô3Ð õ 3r   