+
    ÁFñjÜ=  ã                   óì   € R t ^ RIHt ^ RIHtHt ^ RIHt ^ RIH	t	 ^ RI
Ht ^ RIHt ^ RIHt ^ RIHt ^ R	IHtHtHt ^ R
IHt ]'       d   ^ RIHt  ! R R]	4      t ! R R]4      t ! R R]4      tR# )z5This module contains objects that represent stickers.)ÚSequence)ÚTYPE_CHECKINGÚFinal)Ú	constants)Ú_BaseThumbedMedium)ÚFile)Ú	PhotoSize)ÚTelegramObject)Úenum)Úde_json_optionalÚde_list_optionalÚparse_sequence_arg©ÚJSONDict)ÚBotc                   ó  a a€ ] tR t^%t oRtR	tR
RR/V3R lV 3R llllt]P                  P                  t	 ]P                  P                  t
 ]P                  P                  t ]RV3R lV 3R lll4       tV3R ltR	tVtV ;t# )ÚStickera>  This object represents a sticker.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`file_unique_id` is equal.

Note:
    As of v13.11 :paramref:`is_video` is a required argument and therefore the order of the
    arguments had to be changed. Use keyword arguments to make sure that the arguments are
    passed correctly.

.. versionchanged:: 20.5
  |removed_thumb_note|

Args:
    file_id (:obj:`str`): Identifier for this file, which can be used to download
        or reuse the file.
    file_unique_id (:obj:`str`): Unique identifier for this file, which
        is supposed to be the same over time and for different bots.
        Can't be used to download or reuse the file.
    width (:obj:`int`): Sticker width.
    height (:obj:`int`): Sticker height.
    is_animated (:obj:`bool`): :obj:`True`, if the sticker is animated.
    is_video (:obj:`bool`): :obj:`True`, if the sticker is a video sticker.

        .. versionadded:: 13.11
    type (:obj:`str`): Type of the sticker. Currently one of :attr:`REGULAR`,
        :attr:`MASK`, :attr:`CUSTOM_EMOJI`. The type of the sticker is independent from its
        format, which is determined by the fields :attr:`is_animated` and :attr:`is_video`.

        .. versionadded:: 20.0
    emoji (:obj:`str`, optional): Emoji associated with the sticker
    set_name (:obj:`str`, optional): Name of the sticker set to which the sticker belongs.
    mask_position (:class:`telegram.MaskPosition`, optional): For mask stickers, the position
        where the mask should be placed.
    file_size (:obj:`int`, optional): File size in bytes.

    premium_animation (:class:`telegram.File`, optional): For premium regular stickers,
        premium animation for the sticker.

        .. versionadded:: 20.0
    custom_emoji_id (:obj:`str`, optional): For custom emoji stickers, unique identifier of the
        custom emoji.

        .. versionadded:: 20.0
    thumbnail (:class:`telegram.PhotoSize`, optional): Sticker thumbnail in the ``.WEBP`` or
        ``.JPG`` format.

        .. versionadded:: 20.2
    needs_repainting (:obj:`bool`, optional): :obj:`True`, if the sticker must be repainted to
        a text color in messages, the color of the Telegram Premium badge in emoji status,
        white color on chat photos, or another appropriate color in other places.

        .. versionadded:: 20.2

Attributes:
    file_id (:obj:`str`): Identifier for this file, which can be used to download
        or reuse the file.
    file_unique_id (:obj:`str`): Unique identifier for this file, which
        is supposed to be the same over time and for different bots.
        Can't be used to download or reuse the file.
    width (:obj:`int`): Sticker width.
    height (:obj:`int`): Sticker height.
    is_animated (:obj:`bool`): :obj:`True`, if the sticker is animated.
    is_video (:obj:`bool`): :obj:`True`, if the sticker is a video sticker.

        .. versionadded:: 13.11
    type (:obj:`str`): Type of the sticker. Currently one of :attr:`REGULAR`,
        :attr:`MASK`, :attr:`CUSTOM_EMOJI`. The type of the sticker is independent from its
        format, which is determined by the fields :attr:`is_animated` and :attr:`is_video`.

        .. versionadded:: 20.0
    emoji (:obj:`str`): Optional. Emoji associated with the sticker.
    set_name (:obj:`str`): Optional. Name of the sticker set to which the sticker belongs.
    mask_position (:class:`telegram.MaskPosition`): Optional. For mask stickers, the position
        where the mask should be placed.
    file_size (:obj:`int`): Optional. File size in bytes.

    premium_animation (:class:`telegram.File`): Optional. For premium regular stickers,
        premium animation for the sticker.

        .. versionadded:: 20.0
    custom_emoji_id (:obj:`str`): Optional. For custom emoji stickers, unique identifier of the
        custom emoji.

        .. versionadded:: 20.0
    thumbnail (:class:`telegram.PhotoSize`): Optional. Sticker thumbnail in the ``.WEBP`` or
        ``.JPG`` format.

        .. versionadded:: 20.2
    needs_repainting (:obj:`bool`): Optional. :obj:`True`, if the sticker must be repainted to
        a text color in messages, the color of the Telegram Premium badge in emoji status,
        white color on chat photos, or another appropriate color in other places.

        .. versionadded:: 20.2
NÚ
api_kwargsc          !      óØ   <€ V ^8„  d   QhRS[ RS[ RS[RS[RS[RS[RS[ RS[ R	,          R
S[R	,          RS[ R	,          RRRRRS[ R	,          RS[R	,          RS[R	,          RS[R	,          /# )é   Úfile_idÚfile_unique_idÚwidthÚheightÚis_animatedÚis_videoÚtypeÚemojiNÚ	file_sizeÚset_nameÚmask_positionzMaskPosition | NoneÚpremium_animationzFile | NoneÚcustom_emoji_idÚ	thumbnailÚneeds_repaintingr   )ÚstrÚintÚboolr   r   )ÚformatÚ__classdict__s   "€ÚM/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_files/sticker.pyÚ__annotate__ÚSticker.__annotate__”   sÚ   ø€ ÷ (Bñ (Báð(Bñ ð(Bñ ð	(Bñ
 ð(Bñ ð(Bñ ð(Bñ ð(Bñ �T�zð(Bñ ˜•:ð(Bñ ˜•*ð(Bð -ð(Bð )ð(Bñ ˜t�ð(Bñ ˜tÕ#ð(Bñ   �+ð!(Bñ$ ˜t•Oñ%(Bó    c               óf  <€ \         SV `  VVV	VVR 7       V P                  4       ;_uu_ 4        W0n        W@n        WPn        W`n        \        P                  ! \        P                  Ww4      V n        W€n        W n        W°n        WÀn        WÐn        Wðn        RRR4       R#   + '       g   i     R# ; i))r   r   r   r#   r   N)ÚsuperÚ__init__Ú	_unfrozenr   r   r   r   r
   Ú
get_memberr   ÚStickerTyper   r   r   r    r!   r"   r$   )Úselfr   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r   Ú	__class__s   &&&&&&&&&&&&&&&&$€r*   r0   ÚSticker.__init__”   s“   ø€ ô( 	‰ÑØØ)ØØØ!ð 	ô 	
ð �^‰^×Õà#ŒJØ%ŒKØ%0ÔØ"*ŒMÜ!Ÿ_š_¬Y×-BÑ-BÀDÓOˆDŒIà%*ŒJØ(0ŒMØ6CÔØ2CÔ"Ø/>Ô Ø1AÔ!÷ ××Òús   ®A'BÂB0	c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   ÚdataÚbotú
Bot | NoneÚreturnr   r   )r(   r)   s   "€r*   r+   r,   Æ   s'   ø€ ÷ Kñ K™8ð K¨,ð KÀ)ñ Kr-   c                ól  <€ V P                  V4      p\        VP                  R4      \        V4      VR&   \        VP                  R4      \        V4      VR&   \        VP                  R4      \
        V4      VR&   / pVP                  R4      e   VP                  R4      VR&   \        SV `!  WVR7      # )ú,See :meth:`telegram.TelegramObject.de_json`.r#   r    r!   Úthumb©r8   r9   r   )	Ú_parse_datar   Úgetr   ÚMaskPositionr   Úpopr/   Ú_de_json)Úclsr8   r9   r   r5   s   &&& €r*   Úde_jsonÚSticker.de_jsonÅ   sª   ø€ ð �‰˜tÓ$ˆä,¨T¯X©X°kÓ-BÄIÈsÓSˆˆ[ÑÜ 0°·±¸/Ó1JÌLÐZ]Ó ^ˆˆ_ÑÜ$4°T·X±XÐ>QÓ5RÔTXÐZ]Ó$^ˆÐ Ñ!àˆ
ð �8‰8�GÓÒ(Ø"&§(¡(¨7Ó"3ˆJ�wÑä‰wÑ T¸zÐÓJÐJr-   c                ón   <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   # )r   ÚREGULARÚMASKÚCUSTOM_EMOJI©r   r%   )r(   r)   s   "€r*   r+   r,   %   s>   ø‡ ‚ ñr ‘3�ZÑ7ñs ñv ‘�*Ñ1ñw ñz ™•*ÑAò{ r-   )r"   r   r   r   r   r    r$   r!   r   r   r   )NNNNNNNN©N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r0   r   r3   rI   rJ   rK   ÚclassmethodrF   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__©r5   r)   s   @@r*   r   r   %   s‹   ù‡ € ñ^ð@€Iñ(Bð$ '+÷%(Bö (BðT $×/Ñ/×7Ñ7€GØ9Ø ×,Ñ,×1Ñ1€DØ6Ø(×4Ñ4×AÑA€LØ>à÷Kô Kó ðK÷C … r-   r   c                   óx   a a€ ] tR t^×t oRtR	tR
RR/V3R lV 3R llllt]R
V3R lV 3R lll4       tRt	Vt
V ;t# )Ú
StickerSeta:  This object represents a sticker set.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`name` is equal.

Note:
    As of v13.11 :paramref:`is_video` is a required argument and therefore the order of the
    arguments had to be changed. Use keyword arguments to make sure that the arguments are
    passed correctly.

.. versionchanged:: 20.0
    The parameter ``contains_masks`` has been removed. Use :paramref:`sticker_type` instead.


.. versionchanged:: 21.1
    The parameters ``is_video`` and ``is_animated`` are deprecated and now made optional. Thus,
    the order of the arguments had to be changed.

.. versionchanged:: 20.5
   |removed_thumb_note|

.. versionremoved:: 21.2
   Removed the deprecated arguments and attributes ``is_animated`` and ``is_video``.

Args:
    name (:obj:`str`): Sticker set name.
    title (:obj:`str`): Sticker set title.
    stickers (Sequence[:class:`telegram.Sticker`]): List of all set stickers.

        .. versionchanged:: 20.0
            |sequenceclassargs|

    sticker_type (:obj:`str`): Type of stickers in the set, currently one of
        :attr:`telegram.Sticker.REGULAR`, :attr:`telegram.Sticker.MASK`,
        :attr:`telegram.Sticker.CUSTOM_EMOJI`.

        .. versionadded:: 20.0
    thumbnail (:class:`telegram.PhotoSize`, optional): Sticker set thumbnail in the ``.WEBP``,
        ``.TGS``, or ``.WEBM`` format.

        .. versionadded:: 20.2

Attributes:
    name (:obj:`str`): Sticker set name.
    title (:obj:`str`): Sticker set title.
    stickers (tuple[:class:`telegram.Sticker`]): List of all set stickers.

        .. versionchanged:: 20.0
            |tupleclassattrs|

    sticker_type (:obj:`str`): Type of stickers in the set, currently one of
        :attr:`telegram.Sticker.REGULAR`, :attr:`telegram.Sticker.MASK`,
        :attr:`telegram.Sticker.CUSTOM_EMOJI`.

        .. versionadded:: 20.0
    thumbnail (:class:`telegram.PhotoSize`): Optional. Sticker set thumbnail in the ``.WEBP``,
        ``.TGS``, or ``.WEBM`` format.

        .. versionadded:: 20.2
Nr   c                ój   <€ V ^8„  d   QhRS[ RS[ RS[S[,          RS[ RS[R,          RS[R,          /# )r   ÚnameÚtitleÚstickersÚsticker_typer#   Nr   )r%   r   r   r   r   )r(   r)   s   "€r*   r+   ÚStickerSet.__annotate__  sU   ø€ ÷ ñ áðñ ðñ ™7Õ#ð	ñ
 ðñ ˜tÕ#ðñ ˜t•Oñr-   c               ó¼   <€ \         SV `  VR 7       Wn        W n        \	        V4      V n        W@n        WPn        V P                  3V n        V P                  4        R# ©)r   N)
r/   r0   r]   r^   r   r_   r`   r#   Ú	_id_attrsÚ_freeze)r4   r]   r^   r_   r`   r#   r   r5   s   &&&&&&$€r*   r0   ÚStickerSet.__init__  sL   ø€ ô 	‰Ñ JÐÔ/ØŒ	ØŒ
Ü-?ÀÓ-IˆŒØ!-Ôà+4ŒØŸ)™)˜ˆŒà�‰Žr-   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   r8   r9   r:   r;   r[   r   )r(   r)   s   "€r*   r+   ra   3  s'   ø€ ÷ Kñ K™8ð K¨,ð KÀ,ñ Kr-   c                ó   <€ V P                  V4      p\        VP                  R4      \        V4      VR&   \	        VP                  R4      \
        V4      VR&   / pR F  pWA9   g   K  VP                  V4      W4&   K   	  \        SV `!  WVR7      # )r=   r#   r_   r?   )Úcontains_masksr>   r   r   )	r@   r   rA   r   r   r   rC   r/   rD   )rE   r8   r9   r   Údeprecated_fieldr5   s   &&&  €r*   rF   ÚStickerSet.de_json2  sŽ   ø€ ð �‰˜tÓ$ˆä,¨T¯X©X°kÓ-BÄIÈsÓSˆˆ[ÑÜ+¨D¯H©H°ZÓ,@Ä'È3ÓOˆˆZÑà!ˆ
ó !WÐØÖ'Ø/3¯x©xÐ8HÓ/I�
Ó,ñ !Wô ‰wÑ T¸zÐÓJÐJr-   )rd   r]   r`   r_   r#   r^   )r]   r`   r_   r#   r^   rM   )rN   rO   rP   rQ   rR   rS   r0   rT   rF   rV   rW   rX   rY   s   @@r*   r[   r[   ×   sH   ù‡ € ñ;ðz€Iñð '+÷ö ð* ÷Kô Kó ÷Kð Kr-   r[   c                   ó  a a€ ] tR tRt oRtR	t]P                  P                  t ]P                  P                  t	 ]P                  P                  t
 ]P                  P                  t RR/V3R lV 3R llltV3R ltRtVtV ;t# )
rB   iD  a´  This object describes the position on faces where a mask should be placed by default.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`point`, :attr:`x_shift`, :attr:`y_shift` and, :attr:`scale`
are equal.

Args:
    point (:obj:`str`): The part of the face relative to which the mask should be placed.
        One of :attr:`FOREHEAD`, :attr:`EYES`, :attr:`MOUTH`, or :attr:`CHIN`.
    x_shift (:obj:`float`): Shift by X-axis measured in widths of the mask scaled to the face
        size, from left to right. For example, choosing ``-1.0`` will place mask just to the
        left of the default mask position.
    y_shift (:obj:`float`): Shift by Y-axis measured in heights of the mask scaled to the face
        size, from top to bottom. For example, ``1.0`` will place the mask just below the
        default mask position.
    scale (:obj:`float`): Mask scaling coefficient. For example, ``2.0`` means double size.

Attributes:
    point (:obj:`str`): The part of the face relative to which the mask should be placed.
        One of :attr:`FOREHEAD`, :attr:`EYES`, :attr:`MOUTH`, or :attr:`CHIN`.
    x_shift (:obj:`float`): Shift by X-axis measured in widths of the mask scaled to the face
        size, from left to right. For example, choosing ``-1.0`` will place mask just to the
        left of the default mask position.
    y_shift (:obj:`float`): Shift by Y-axis measured in heights of the mask scaled to the face
        size, from top to bottom. For example, ``1.0`` will place the mask just below the
        default mask position.
    scale (:obj:`float`): Mask scaling coefficient. For example, ``2.0`` means double size.

r   Nc                óF   <€ V ^8„  d   QhRS[ RS[RS[RS[RS[R,          /# )r   ÚpointÚx_shiftÚy_shiftÚscaler   N)r%   Úfloatr   )r(   r)   s   "€r*   r+   ÚMaskPosition.__annotate__n  sA   ø€ ÷ ñ áðñ ðñ ð	ñ
 ðñ ˜t•Oñr-   c               óÞ   <€ \         SV `  VR 7       Wn        W n        W0n        W@n        V P                  V P                  V P                  V P
                  3V n        V P                  4        R# rc   )r/   r0   rn   ro   rp   rq   rd   re   )r4   rn   ro   rp   rq   r   r5   s   &&&&&$€r*   r0   ÚMaskPosition.__init__n  sR   ø€ ô 	‰Ñ JÐÔ/ØŒ
Ø%ŒØ%ŒØ!Œ
àŸ*™* d§l¡l°D·L±LÀ$Ç*Á*ÐMˆŒà�‰Žr-   c                óŠ   <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   # )r   ÚFOREHEADÚEYESÚMOUTHÚCHINrL   )r(   r)   s   "€r*   r+   rs   D  sQ   ø‡ ‚ ñB ‘C�jÑ:ñC ñF ‘�*Ñ2ñG ñJ ‘�:Ñ4ñK ñN ‘�*Ñ2òO r-   )rd   rn   rq   ro   rp   )rn   rq   ro   rp   )rN   rO   rP   rQ   rR   rS   r   rB   rw   rx   ry   rz   r0   rU   rV   rW   rX   rY   s   @@r*   rB   rB   D  s}   ù‡ € ñð< 9€Ià$×1Ñ1×:Ñ:€HØ;Ø ×-Ñ-×2Ñ2€DØ7Ø!×.Ñ.×4Ñ4€EØ8Ø ×-Ñ-×2Ñ2€DØ7ðð '+÷õ ÷U … r-   rB   N)rR   Úcollections.abcr   Útypingr   r   Útelegramr   Ú"telegram._files._basethumbedmediumr   Útelegram._files.filer   Útelegram._files.photosizer   Útelegram._telegramobjectr	   Útelegram._utilsr
   Útelegram._utils.argumentparsingr   r   r   Útelegram._utils.typesr   r   r   r[   rB   © r-   r*   Ú<module>r†      s`   ðñ& <å $ß 'å Ý AÝ %Ý /Ý 3Ý  ß bÑ bÝ *çÝôoKÐ ô oKôdjK�ô jKôZ;�>ö ;r-   