+
    qpÐj/^  ã                  ó^  € R t ^ RIHt ^ RIt^ RIHtHtHtHtH	t	H
t
HtHtHt ^RIHt ^RIHt ^RIHtHt Rt ! R R	4      t ! R
 R]4      t]'       dN   ^ RIHt ^RIHtHt ]! R4      t ! R R]
4      t ! R R]
4      t  ! R R]
4      t! ! R R]
4      t" ! R R]
4      t# ! R R4      tR# )a:  
The MIT License (MIT)

Copyright (c) 2015-present Rapptz

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
)ÚannotationsN)	ÚAnyÚDictÚListÚMappingÚOptionalÚProtocolÚTYPE_CHECKINGÚTypeVarÚUnion)Úutils)ÚColour)ÚAttachmentFlagsÚ
EmbedFlagsÚEmbedc                  óR   € ] tR t^)tR R ltR R ltR R ltR R ltR	 R
 ltRt	R# )Ú
EmbedProxyc               ó   € V ^8„  d   QhRR/# ©é   ÚlayerzDict[str, Any]© )Úformats   "Ú@/opt/hermes/.venv/lib/python3.14/site-packages/discord/embeds.pyÚ__annotate__ÚEmbedProxy.__annotate__*   s   € ÷ $ñ $˜nñ $ó    c                	ó<   € V P                   P                  V4       R # ©N)Ú__dict__Úupdate)Úselfr   s   &&r   Ú__init__ÚEmbedProxy.__init__*   s   € Ø�‰×Ñ˜UÖ#r   c               ó   € V ^8„  d   QhRR/# ©r   ÚreturnÚintr   )r   s   "r   r   r   -   s   € ÷ "ñ "˜ñ "r   c                	ó,   € \        V P                  4      # r   ©Úlenr   ©r!   s   &r   Ú__len__ÚEmbedProxy.__len__-   s   € Ü�4—=‘=Ó!Ð!r   c               ó   € V ^8„  d   QhRR/# )r   r&   Ústrr   )r   s   "r   r   r   0   s   € ÷ &ñ &˜#ñ &r   c                	óX   a € R P                  V 3R l\        S 4       4       4      pRV R2# )z, c              3  óx   <"  € T F/  qP                  R 4      '       d   K  V R\        SV4      : 2x € K1  	  R# 5i)Ú_Ú=N)Ú
startswithÚgetattr)Ú.0Úkr!   s   & €r   Ú	<genexpr>Ú&EmbedProxy.__repr__.<locals>.<genexpr>1   s3   øé € ÐcÁ	¸1×Q]ÑQ]Ð^a×QbÔ6˜a˜S ¤'¨$°Ó"2Ñ!5Õ6Ã	ùs   ƒ: :zEmbedProxy(Ú))ÚjoinÚdir)r!   Úinners   f r   Ú__repr__ÚEmbedProxy.__repr__0   s*   ø€ Ø—	‘	ÔcÄÀDÄ	ÓcÓdˆØ˜U˜G 1Ð%Ð%r   c               ó    € V ^8„  d   QhRRRR/# )r   Úattrr/   r&   ÚNoner   )r   s   "r   r   r   4   s   € ÷ ñ  ð ¨ñ r   c                	ó   € R # r   r   )r!   rA   s   &&r   Ú__getattr__ÚEmbedProxy.__getattr__4   s   € Ùr   c               ó    € V ^8„  d   QhRRRR/# )r   ÚotherÚobjectr&   Úboolr   )r   s   "r   r   r   7   s   € ÷ Qñ Q˜Fð Q tñ Qr   c                	ód   € \        V\        4      ;'       d    V P                  VP                  8H  # r   )Ú
isinstancer   r   ©r!   rG   s   &&r   Ú__eq__ÚEmbedProxy.__eq__7   s$   € Ü˜%¤Ó,×PÐP°·±À%Ç.Á.Ñ1PÐPr   r   N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r"   r,   r>   rD   rM   Ú__static_attributes__r   r   r   r   r   )   s"   † õ$õ"õ&õ÷Qñ Qr   r   c                  óP   a € ] tR t^;tR V 3R lltR R lt]R R l4       tRtV ;t	# )ÚEmbedMediaProxyc               ó   € V ^8„  d   QhRR/# r   r   )r   s   "r   r   ÚEmbedMediaProxy.__annotate__<   s   € ÷ 4ñ 4˜nñ 4r   c                	óh   <€ \         SV `  V4       V P                  P                  R ^ 4      V n        R# )ÚflagsN)Úsuperr"   r   ÚpopÚ_flags)r!   r   Ú	__class__s   &&€r   r"   ÚEmbedMediaProxy.__init__<   s(   ø€ Ü‰Ñ˜ÔØ—m‘m×'Ñ'¨°Ó3ˆŽr   c               ó   € V ^8„  d   QhRR/# ©r   r&   rI   r   )r   s   "r   r   rW   @   s   € ÷ &ñ &˜$ñ &r   c                	ó2   € \        V P                  4      ^8„  # )é   r)   r+   s   &r   Ú__bool__ÚEmbedMediaProxy.__bool__@   s   € ô �4—=‘=Ó! AÑ%Ð%r   c               ó   € V ^8„  d   QhRR/# )r   r&   r   r   )r   s   "r   r   rW   G   s   € ÷ =ñ =�ñ =r   c                	óV   € \         P                  ! V P                  ;'       g    ^ 4      # )é    )r   Ú_from_valuer\   r+   s   &r   rY   ÚEmbedMediaProxy.flagsF   s   € ä×*Ò*¨4¯;©;×+;Ð+;¸!Ó<Ð<r   )r\   )
rO   rP   rQ   rR   r"   rc   ÚpropertyrY   rS   Ú__classcell__)r]   s   @r   rU   rU   ;   s&   ø† ÷4ð 4õ&ð ô=ó ö=r   rU   )ÚSelf)r   Ú	EmbedTypeÚTc                  ó,   € ] tR t^Rt$ R]R&   R]R&   RtR# )Ú_EmbedFooterProxyúOptional[str]ÚtextÚicon_urlr   N©rO   rP   rQ   rR   Ú__annotations__rS   r   r   r   rp   rp   R   s   ‡ ØÓØ×r   rp   c                  ó6   € ] tR t^Vt$ R]R&   R]R&   R]R&   RtR# )Ú_EmbedFieldProxyrq   ÚnameÚvaluerI   Úinliner   Nrt   r   r   r   rw   rw   V   s   ‡ ØÓØÓØ�r   rw   c                  óJ   € ] tR t^[t$ R]R&   R]R&   R]R&   R]R&   R]R&   R	tR
# )Ú_EmbedMediaProxyrq   ÚurlÚ	proxy_urlzOptional[int]ÚheightÚwidthr   rY   r   Nrt   r   r   r   r|   r|   [   s    ‡ ØÓØ Ó ØÓØÓØ×r   r|   c                  ó,   € ] tR t^bt$ R]R&   R]R&   RtR# )Ú_EmbedProviderProxyrq   rx   r}   r   Nrt   r   r   r   r‚   r‚   b   s   ‡ ØÓØ×r   r‚   c                  ó@   € ] tR t^ft$ R]R&   R]R&   R]R&   R]R&   RtR# )Ú_EmbedAuthorProxyrq   rx   r}   rs   Úproxy_icon_urlr   Nrt   r   r   r   r„   r„   f   s   ‡ ØÓØÓØÓØ%×%r   r„   c                  ó„  € ] tR t^mtRtRLtRRRRRRRR	RRRRR
R/R R llt]R R l4       tR R lt	R R lt
R R ltR R lt]R R l4       t]R R l4       t]P                   R R l4       t]t]R R l4       t]P                   R R  l4       t]R! R" l4       tR#RR$R/R% R& lltR' R( lt]R) R* l4       tR+ R, lt]R- R. l4       tR/ R0 lt]R1 R2 l4       t]R3 R4 l4       t]R5 R6 l4       tRRR$R/R7 R8 lltR9 R: lt]R; R< l4       tR=R>/R? R@ llt R=R>/RA RB llt!RC RD lt"RE RF lt#R=R>/RG RH llt$RI RJ lt%RKt&R# )Mr   aR  Represents a Discord embed.

.. container:: operations

    .. describe:: len(x)

        Returns the total size of the embed.
        Useful for checking if it's within the 6000 character limit.

    .. describe:: bool(b)

        Returns whether the embed has any data set.

        .. versionadded:: 2.0

    .. describe:: x == y

        Checks if two embeds are equal.

        .. versionadded:: 2.0

For ease of use, all parameters that expect a :class:`str` are implicitly
casted to :class:`str` for you.

.. versionchanged:: 2.0
    ``Embed.Empty`` has been removed in favour of ``None``.

Attributes
-----------
title: Optional[:class:`str`]
    The title of the embed.
    This can be set during initialisation.
    Can only be up to 256 characters.
type: :class:`str`
    The type of embed. Usually "rich".
    This can be set during initialisation.
    Possible strings for embed types can be found on discord's
    :ddocs:`api docs <resources/message#embed-object-embed-types>`
description: Optional[:class:`str`]
    The description of the embed.
    This can be set during initialisation.
    Can only be up to 4096 characters.
url: Optional[:class:`str`]
    The URL of the embed.
    This can be set during initialisation.
timestamp: Optional[:class:`datetime.datetime`]
    The timestamp of the embed content. This is an aware datetime.
    If a naive datetime is passed, it is converted to an aware
    datetime with the local timezone.
colour: Optional[Union[:class:`Colour`, :class:`int`]]
    The colour code of the embed. Aliased to ``color`` as well.
    This can be set during initialisation.
Útitler}   ÚtypeÚdescriptionÚcolourNÚcolorÚrichÚ	timestampc               ó4   € V ^8„  d   QhRRRRRRRRRRR	RR
R/# )r   rŠ   úOptional[Union[int, Colour]]r‹   r‡   úOptional[Any]rˆ   rm   r}   r‰   r�   úOptional[datetime.datetime]r   )r   s   "r   r   ÚEmbed.__annotate__µ   sR   € ÷ 'ñ 'ð -ð'ð ,ð	'ð
 ð'ð ð'ð ð'ð #ð'ð /ñ'r   c               	óf  € Ve   TMTV n         W0n        W@n        WPn        W`n        ^ V n        V P                  e   \        V P                  4      V n        V P                  e   \        V P                  4      V n        V P                  e   \        V P                  4      V n        Ve	   Wpn        R # R # r   )rŠ   r‡   rˆ   r}   r‰   r\   r/   r�   )r!   rŠ   r‹   r‡   rˆ   r}   r‰   r�   s   &$$$$$$$r   r"   ÚEmbed.__init__µ   s�   € ð !'Ò 2‘f¸ˆŒØ$)Œ
Ø#Œ	Ø"%ŒØ*5ÔØˆŒà�:‰:Ò!Ü˜TŸZ™Z›ˆDŒJà×ÑÒ'Ü" 4×#3Ñ#3Ó4ˆDÔà�8‰8ÒÜ˜4Ÿ8™8“}ˆDŒHàÒ Ø&ŽNñ !r   c               ó    € V ^8„  d   QhRRRR/# )r   ÚdatazMapping[str, Any]r&   rl   r   )r   s   "r   r   r’   Ô   s   € ÷ 3ñ 3Ð.ð 3°4ñ 3r   c                ó*  € V P                  V 4      pVP                  RR4      Vn        VP                  RR4      Vn        VP                  RR4      Vn        VP                  RR4      Vn        VP                  R^ 4      Vn        VP                  e   \        VP                  4      Vn        VP                  e   \        VP                  4      Vn        VP
                  e   \        VP
                  4      Vn         \        VR,          R7      Vn	         \        P                  ! VR	,          4      Vn        R F   p W,          p\        VR
V,           V4       K"  	  V#   \         d     LXi ; i  \         d     LFi ; i  \         d     KV  i ; i)a:  Converts a :class:`dict` to a :class:`Embed` provided it is in the
format that Discord expects it to be in.

You can find out about this format in the :ddocs:`official Discord documentation <resources/message#embed-object>`.

Parameters
-----------
data: :class:`dict`
    The dictionary to convert into an embed.
r‡   Nrˆ   r‰   r}   rY   r‹   ©ry   r�   r2   )Ú	thumbnailÚvideoÚproviderÚauthorÚfieldsÚimageÚfooter)Ú__new__Úgetr‡   rˆ   r‰   r}   r\   r/   r   Ú_colourÚKeyErrorr   Ú
parse_timeÚ
_timestampÚsetattr)Úclsr–   r!   rA   ry   s   &&   r   Ú	from_dictÚEmbed.from_dictÓ   s^  € ð �{‰{˜3Óˆð —X‘X˜g tÓ,ˆŒ
Ø—H‘H˜V TÓ*ˆŒ	ØŸ8™8 M°4Ó8ˆÔØ—8‘8˜E 4Ó(ˆŒØ—h‘h˜w¨Ó*ˆŒà�:‰:Ò!Ü˜TŸZ™Z›ˆDŒJà×ÑÒ'Ü" 4×#3Ñ#3Ó4ˆDÔà�8‰8ÒÜ˜4Ÿ8™8“}ˆDŒHð	Ü!¨¨W­Ô6ˆDŒLð	Ü#×.Ò.¨t°KÕ/@ÓAˆDŒOó ^ˆDð1Ø�
�ô ˜˜c D�j¨%Ö0ñ ^ð ˆøô! ô 	Ùð	ûô
 ô 	Ùð	ûô ô Úðús6   Ã>E! Ä"E2 Ä?FÅ!E/Å.E/Å2F Å?F ÆFÆFc               ó   € V ^8„  d   QhRR/# ©r   r&   rl   r   )r   s   "r   r   r’   	  s   € ÷ 8ñ 8�dñ 8r   c                óT   € V P                   P                  V P                  4       4      # )z$Returns a shallow copy of the embed.)r]   r¨   Úto_dictr+   s   &r   ÚcopyÚ
Embed.copy	  s   € à�~‰~×'Ñ'¨¯©«Ó7Ð7r   c               ó   € V ^8„  d   QhRR/# r%   r   )r   s   "r   r   r’     s   € ÷ ñ ˜ñ r   c                	óþ  € \        V P                  ;'       g    R 4      \        V P                  ;'       g    R 4      ,           p\        V R. 4       F3  pV\        VR,          4      \        VR,          4      ,           ,          pK5  	   V P                  R,          pV\        V4      ,          p V P                  pV\        VR,          4      ,          pV#   \
        \        3 d     L;i ; i  \
         d     T# i ; i)Ú Ú_fieldsrx   ry   rr   )r*   r‡   r‰   r5   Ú_footerÚAttributeErrorr£   Ú_author)r!   ÚtotalÚfieldÚfooter_textrœ   s   &    r   r,   ÚEmbed.__len__  sã   € Ü�D—J‘J×$Ð$ "Ó%¬¨D×,<Ñ,<×,BÐ,BÀÓ(CÕCˆÜ˜T 9¨bÖ1ˆEØ”S˜˜v�Ó'¬#¨e°G­nÓ*=Õ=Õ=ŠEñ 2ð	&ØŸ,™, vÕ.ˆKð ”S˜Ó%Õ%ˆEð	)Ø—\‘\ˆFð ”S˜ �Ó(Õ(ˆEàˆøô ¤Ð)ô 	Ùð	ûô ô 	Øð ˆð	ús$   Â	C Â/C- ÃC*Ã)C*Ã-C<Ã;C<c               ó   € V ^8„  d   QhRR/# r`   r   )r   s   "r   r   r’   "  s   € ÷ 
ñ 
˜$ñ 
r   c                	ó   € \        V P                  V P                  V P                  V P                  V P
                  V P                  V P                  V P                  V P                  V P                  V P                  V P                  34      # r   )Úanyr‡   r}   r‰   rŠ   r�   r�   rœ   r™   rŸ   rž   r›   rš   r+   s   &r   rc   ÚEmbed.__bool__"  sj   € Üà—
‘
Ø—‘Ø× Ñ Ø—‘Ø—‘Ø—‘Ø—‘Ø—‘Ø—‘Ø—
‘
Ø—‘Ø—
‘
ðó
ð 	
r   c               ó    € V ^8„  d   QhRRRR/# )r   rG   r   r&   rI   r   )r   s   "r   r   r’   4  s   € ÷ 
ñ 
˜Eð 
 dñ 
r   c                	óÌ  € \        V\        4      ;'       EdÍ    V P                  VP                  8H  ;'       Ed«    V P                  VP                  8H  ;'       Ed‰    V P                  VP                  8H  ;'       Edg    V P
                  VP
                  8H  ;'       EdE    V P                  VP                  8H  ;'       Ed#    V P                  VP                  8H  ;'       Ed    V P                  VP                  8H  ;'       dà    V P                  VP                  8H  ;'       d¿    V P                  VP                  8H  ;'       dž    V P                  VP                  8H  ;'       d}    V P                  VP                  8H  ;'       d\    V P                  VP                  8H  ;'       d;    V P                  VP                  8H  ;'       d    V P                  VP                  8H  # r   )rK   r   rˆ   r‡   r}   r‰   rŠ   r�   r�   rœ   r™   rŸ   rž   r›   rš   r\   rL   s   &&r   rM   ÚEmbed.__eq__4  s—  € Ü˜%¤Ó'÷ 
ñ 
Ø�I‰I˜Ÿ™Ñ#÷ ,ñ ,Ø—
‘
˜eŸk™kÑ)÷,ñ ,à—‘˜EŸI™IÑ%÷,ñ ,ð × Ñ  E×$5Ñ$5Ñ5÷,ñ ,ð —‘˜uŸ|™|Ñ+÷	,ñ ,ð
 —‘˜uŸ|™|Ñ+÷,ñ ,ð —‘ %§/¡/Ñ1÷,ð ,ð —‘˜uŸ|™|Ñ+÷,ð ,ð —‘ %§/¡/Ñ1÷,ð ,ð —‘˜uŸ|™|Ñ+÷,ð ,ð —
‘
˜eŸk™kÑ)÷,ð ,ð —‘ §¡Ñ/÷,ð ,ð —
‘
˜eŸk™kÑ)÷,ð ,ð —‘˜uŸ|™|Ñ+ð	
r   c               ó   € V ^8„  d   QhRR/# )r   r&   r   r   )r   s   "r   r   r’   G  s   € ÷ 8ñ 8�zñ 8r   c                óV   € \         P                  ! V P                  ;'       g    ^ 4      # )zE:class:`EmbedFlags`: The flags of this embed.

.. versionadded:: 2.5
)r   rh   r\   r+   s   &r   rY   ÚEmbed.flagsF  s!   € ô ×%Ò% d§k¡k×&6Ð&6°QÓ7Ð7r   c               ó   € V ^8„  d   QhRR/# )r   r&   zOptional[Colour]r   )r   s   "r   r   r’   O  s   € ÷ .ñ .Ð(ñ .r   c                	ó   € \        V R R4      # )r¢   N©r5   r+   s   &r   rŠ   ÚEmbed.colourN  s   € ä�t˜Y¨Ó-Ð-r   c               ó    € V ^8„  d   QhRRRR/# )r   ry   r�   r&   rB   r   )r   s   "r   r   r’   S  s   € ÷ wñ wÐ8ð w¸Tñ wr   c                	óð   € Vf
   R V n         R # \        V\        4      '       d	   Wn         R # \        V\        4      '       d   \        VR7      V n         R # \	        RVP
                  P                   R24      h)Nr˜   z3Expected discord.Colour, int, or None but received z	 instead.)r¢   rK   r   r'   Ú	TypeErrorr]   rO   ©r!   ry   s   &&r   rŠ   rÈ   R  s]   € àŠ=ØˆDŽLÜ˜œv×&Ò&Ø ŽLÜ˜œs×#Ò#Ü!¨Ô.ˆDŽLäÐQÐRW×RaÑRa×RjÑRjÐQkÐktÐuÓvÐvr   c               ó   € V ^8„  d   QhRR/# )r   r&   r‘   r   )r   s   "r   r   r’   `  s   € ÷ 1ñ 1Ð6ñ 1r   c                	ó   € \        V R R4      # )r¥   NrÇ   r+   s   &r   r�   ÚEmbed.timestamp_  s   € ä�t˜\¨4Ó0Ð0r   c               ó    € V ^8„  d   QhRRRR/# )r   ry   r‘   r&   rB   r   )r   s   "r   r   r’   d  s   € ÷ oñ oÐ:ð o¸tñ or   c                	óî   € \        V\        P                  4      '       d'   VP                  f   VP                  4       pWn        R # Vf
   R V n        R # \        RVP                  P                   R24      h)Nz,Expected datetime.datetime or None received z instead)rK   ÚdatetimeÚtzinfoÚ
astimezoner¥   rË   r]   rO   rÌ   s   &&r   r�   rÏ   c  s_   € ä�eœX×.Ñ.×/Ò/Ø�|‰|Ò#Ø×(Ñ(Ó*�Ø#ŽOØŠ]Ø"ˆDŽOäÐJÈ5Ï?É?×KcÑKcÐJdÐdlÐmÓnÐnr   c               ó   € V ^8„  d   QhRR/# )r   r&   rp   r   )r   s   "r   r   r’   o  ó   € ÷ 8ñ 8Ð)ñ 8r   c                ó.   € \        \        V R/ 4      4      # )z®Returns an ``EmbedProxy`` denoting the footer contents.

See :meth:`set_footer` for possible values you can access.

If the attribute has no value then ``None`` is returned.
r´   ©r   r5   r+   s   &r   rŸ   ÚEmbed.footern  ó   € ô œ' $¨	°2Ó6Ó7Ð7r   rr   rs   c               ó$   € V ^8„  d   QhRRRRRR/# )r   rr   r�   rs   r&   rl   r   )r   s   "r   r   r’   y  s"   € ÷ ñ  -ð À-ð Ð[_ñ r   c               ó„   € / V n         Ve   \        V4      V P                   R&   Ve   \        V4      V P                   R&   V # )aq  Sets the footer for the embed content.

This function returns the class instance to allow for fluent-style
chaining.

Parameters
-----------
text: :class:`str`
    The footer text. Can only be up to 2048 characters.
icon_url: :class:`str`
    The URL of the footer icon. Only HTTP(S) is supported.
    Inline attachment URLs are also supported, see :ref:`local_image`.
rr   rs   )r´   r/   )r!   rr   rs   s   &$$r   Ú
set_footerÚEmbed.set_footery  s@   € ð ˆŒØÒÜ#& t£9ˆD�L‰L˜Ñ àÒÜ'*¨8£}ˆD�L‰L˜Ñ$àˆr   c               ó   € V ^8„  d   QhRR/# r«   r   )r   s   "r   r   r’   ‘  ó   € ÷ ñ ˜tñ r   c                ó0   €  V = V #   \         d     T # i ; i)zˆClears embed's footer information.

This function returns the class instance to allow for fluent-style
chaining.

.. versionadded:: 2.0
)r´   rµ   r+   s   &r   Úremove_footerÚEmbed.remove_footer‘  ó,   € ð	Ø�ð ˆøô ô 	Øàˆð	úó   ‚ †”c               ó   € V ^8„  d   QhRR/# ©r   r&   r|   r   )r   s   "r   r   r’   ¡  ó   € ÷ <ñ <Ð'ñ <r   c                ó.   € \        \        V R/ 4      4      # )aU  Returns an ``EmbedProxy`` denoting the image contents.

Possible attributes you can access are:

- ``url`` for the image URL.
- ``proxy_url`` for the proxied image URL.
- ``width`` for the image width.
- ``height`` for the image height.
- ``flags`` for the image's attachment flags.

If the attribute has no value then ``None`` is returned.
Ú_image©rU   r5   r+   s   &r   rž   ÚEmbed.image   ó   € ô œw t¨X°rÓ:Ó;Ð;r   c               ó    € V ^8„  d   QhRRRR/# ©r   r}   r�   r&   rl   r   )r   s   "r   r   r’   ±  s   € ÷ ñ  ð °$ñ r   c               ó`   € Vf    V = V # R\        V4      /V n         V #   \         d     T # i ; i)af  Sets the image for the embed content.

This function returns the class instance to allow for fluent-style
chaining.

Parameters
-----------
url: Optional[:class:`str`]
    The source URL for the image. Only HTTP(S) is supported.
    If ``None`` is passed, any existing image is removed.
    Inline attachment URLs are also supported, see :ref:`local_image`.
r}   )rê   rµ   r/   ©r!   r}   s   &$r   Ú	set_imageÚEmbed.set_image±  sP   € ð Š;ðØ�Kð ˆð ”s˜3“xðˆDŒKð ˆøô "ô Øð ˆðúó   † ž-¬-c               ó   € V ^8„  d   QhRR/# rç   r   )r   s   "r   r   r’   Ì  s   € ÷ @ñ @Ð+ñ @r   c                ó.   € \        \        V R/ 4      4      # )am  Returns an ``EmbedProxy`` denoting the thumbnail contents.

Possible attributes you can access are:

- ``url`` for the thumbnail URL.
- ``proxy_url`` for the proxied thumbnail URL.
- ``width`` for the thumbnail width.
- ``height`` for the thumbnail height.
- ``flags`` for the thumbnail's attachment flags.

If the attribute has no value then ``None`` is returned.
Ú
_thumbnailrë   r+   s   &r   r™   ÚEmbed.thumbnailË  s   € ô œw t¨\¸2Ó>Ó?Ð?r   c               ó    € V ^8„  d   QhRRRR/# rï   r   )r   s   "r   r   r’   Ü  s   € ÷ ñ  Mð °dñ r   c               ó`   € Vf    V = V # R\        V4      /V n         V #   \         d     T # i ; i)ar  Sets the thumbnail for the embed content.

This function returns the class instance to allow for fluent-style
chaining.

Parameters
-----------
url: Optional[:class:`str`]
    The source URL for the thumbnail. Only HTTP(S) is supported.
    If ``None`` is passed, any existing thumbnail is removed.
    Inline attachment URLs are also supported, see :ref:`local_image`.
r}   )r÷   rµ   r/   rñ   s   &$r   Úset_thumbnailÚEmbed.set_thumbnailÜ  sP   € ð Š;ðØ�Oð ˆð ”s˜3“xðˆDŒOð ˆøô "ô Øð ˆðúrô   c               ó   € V ^8„  d   QhRR/# rç   r   )r   s   "r   r   r’   ÷  rè   r   c                ó.   € \        \        V R/ 4      4      # )aJ  Returns an ``EmbedProxy`` denoting the video contents.

Possible attributes include:

- ``url`` for the video URL.
- ``proxy_url`` for the proxied video URL.
- ``height`` for the video height.
- ``width`` for the video width.
- ``flags`` for the video's attachment flags.

If the attribute has no value then ``None`` is returned.
Ú_videorë   r+   s   &r   rš   ÚEmbed.videoö  rí   r   c               ó   € V ^8„  d   QhRR/# )r   r&   r‚   r   )r   s   "r   r   r’     s   € ÷ :ñ :Ð-ñ :r   c                ó.   € \        \        V R/ 4      4      # )zºReturns an ``EmbedProxy`` denoting the provider contents.

The only attributes that might be accessed are ``name`` and ``url``.

If the attribute has no value then ``None`` is returned.
Ú	_providerrØ   r+   s   &r   r›   ÚEmbed.provider  s   € ô œ' $¨°RÓ8Ó9Ð9r   c               ó   € V ^8„  d   QhRR/# )r   r&   r„   r   )r   s   "r   r   r’     rÖ   r   c                ó.   € \        \        V R/ 4      4      # )z®Returns an ``EmbedProxy`` denoting the author contents.

See :meth:`set_author` for possible values you can access.

If the attribute has no value then ``None`` is returned.
r¶   rØ   r+   s   &r   rœ   ÚEmbed.author  rÚ   r   c               ó(   € V ^8„  d   QhRRRRRRRR/# )r   rx   r   r}   r�   rs   r&   rl   r   )r   s   "r   r   r’     s)   € ÷ ñ  #ð ¨Mð ÈMð Ðeiñ r   c               óš   € R\        V4      /V n        Ve   \        V4      V P                  R&   Ve   \        V4      V P                  R&   V # )a¥  Sets the author for the embed content.

This function returns the class instance to allow for fluent-style
chaining.

Parameters
-----------
name: :class:`str`
    The name of the author. Can only be up to 256 characters.
url: :class:`str`
    The URL for the author.
icon_url: :class:`str`
    The URL of the author icon. Only HTTP(S) is supported.
    Inline attachment URLs are also supported, see :ref:`local_image`.
rx   r}   rs   )r/   r¶   )r!   rx   r}   rs   s   &$$$r   Ú
set_authorÚEmbed.set_author  sL   € ð$ ”C˜“Ið
ˆŒð Š?Ü"% c£(ˆD�L‰L˜ÑàÒÜ'*¨8£}ˆD�L‰L˜Ñ$àˆr   c               ó   € V ^8„  d   QhRR/# r«   r   )r   s   "r   r   r’   :  rà   r   c                ó0   €  V = V #   \         d     T # i ; i)zˆClears embed's author information.

This function returns the class instance to allow for fluent-style
chaining.

.. versionadded:: 1.4
)r¶   rµ   r+   s   &r   Úremove_authorÚEmbed.remove_author:  rä   rå   c               ó   € V ^8„  d   QhRR/# )r   r&   zList[_EmbedFieldProxy]r   )r   s   "r   r   r’   J  s   € ÷ Eñ EÐ.ñ Er   c                óX   € \        V R. 4       Uu. uF  p\        V4      NK  	  up# u upi )zÒList[``EmbedProxy``]: Returns a :class:`list` of ``EmbedProxy`` denoting the field contents.

See :meth:`add_field` for possible values you can access.

If the attribute has no value then ``None`` is returned.
r³   )r5   r   )r!   Úds   & r   r�   ÚEmbed.fieldsI  s+   € ô (/¨t°YÀÔ'CÓDÑ'C !”
˜1–Ñ'CÑDÐDùÒDs   �'rz   Tc               ó(   € V ^8„  d   QhRRRRRRRR/# )r   rx   r   ry   rz   rI   r&   rl   r   )r   s   "r   r   r’   T  s(   € ÷ ñ  ð ¨Sð ¸$ð È$ñ r   c               ó¦   € RVR\        V4      R\        V4      /p V P                  P                  V4       V #   \         d    T.T n         T # i ; i)a�  Adds a field to the embed object.

This function returns the class instance to allow for fluent-style
chaining. Can only be up to 25 fields.

Parameters
-----------
name: :class:`str`
    The name of the field. Can only be up to 256 characters.
value: :class:`str`
    The value of the field. Can only be up to 1024 characters.
inline: :class:`bool`
    Whether the field should be displayed inline.
rz   rx   ry   )r/   r³   Úappendrµ   )r!   rx   ry   rz   r¸   s   &$$$ r   Ú	add_fieldÚEmbed.add_fieldT  s_   € ð" �fØ”C˜“IØ”S˜“Zð
ˆð	#Ø�L‰L×Ñ Ô&ð ˆøô ô 	#Ø!˜7ˆD�Làˆð	#úó   œ9 ¹AÁAc          
     ó,   € V ^8„  d   QhRRRRRRRRRR	/# ©
r   Úindexr'   rx   r   ry   rz   rI   r&   rl   r   )r   s   "r   r   r’   q  s0   € ÷ ñ  Sð °3ð ¸sð ÈDð Ð\`ñ r   c               ó¦   € RVR\        V4      R\        V4      /p V P                  P                  W4       V #   \         d    T.T n         T # i ; i)aü  Inserts a field before a specified index to the embed.

This function returns the class instance to allow for fluent-style
chaining. Can only be up to 25 fields.

.. versionadded:: 1.2

Parameters
-----------
index: :class:`int`
    The index of where to insert the field.
name: :class:`str`
    The name of the field. Can only be up to 256 characters.
value: :class:`str`
    The value of the field. Can only be up to 1024 characters.
inline: :class:`bool`
    Whether the field should be displayed inline.
rz   rx   ry   )r/   r³   Úinsertrµ   ©r!   r  rx   ry   rz   r¸   s   &&$$$ r   Úinsert_field_atÚEmbed.insert_field_atq  s_   € ð* �fØ”C˜“IØ”S˜“Zð
ˆð	#Ø�L‰L×Ñ Ô-ð ˆøô ô 	#Ø!˜7ˆD�Làˆð	#úr  c               ó   € V ^8„  d   QhRR/# r«   r   )r   s   "r   r   r’   ’  s   € ÷ ñ ˜dñ r   c                ón   €  V P                   P                  4        V #   \         d    . T n          T # i ; i)z½Removes all fields from this embed.

This function returns the class instance to allow for fluent-style
chaining.

.. versionchanged:: 2.0
    This function now returns the class instance.
)r³   Úclearrµ   r+   s   &r   Úclear_fieldsÚEmbed.clear_fields’  s;   € ð	Ø�L‰L×ÑÔ ð ˆøô ô 	ØˆD�Làˆð	ús   ‚ ž4³4c               ó    € V ^8„  d   QhRRRR/# )r   r  r'   r&   rl   r   )r   s   "r   r   r’   ¢  s   € ÷ ñ  #ð ¨$ñ r   c                óR   €  V P                   V V #   \        \        3 d     T # i ; i)aã  Removes a field at a specified index.

If the index is invalid or out of bounds then the error is
silently swallowed.

This function returns the class instance to allow for fluent-style
chaining.

.. note::

    When deleting a field by index, the index of the other fields
    shift to fill the gap just like a regular list.

.. versionchanged:: 2.0
    This function now returns the class instance.

Parameters
-----------
index: :class:`int`
    The index of the field to remove.
)r³   rµ   Ú
IndexError)r!   r  s   &&r   Úremove_fieldÚEmbed.remove_field¢  s8   € ð,	Ø—‘˜UÐ#ð ˆøô ¤
Ð+ô 	Øàˆð	ús   ‚ ‘&¥&c          
     ó,   € V ^8„  d   QhRRRRRRRRRR	/# r  r   )r   s   "r   r   r’   ¿  s0   € ÷ !ñ ! #ð !°ð !¸Cð !Èð !ÐY]ñ !r   c               ó¸   €  V P                   V,          p\	        T4      TR&   \	        T4      TR&   YER&   T #   \        \        \        3 d    \        R4      hi ; i)aA  Modifies a field to the embed object.

The index must point to a valid pre-existing field. Can only be up to 25 fields.

This function returns the class instance to allow for fluent-style
chaining.

Parameters
-----------
index: :class:`int`
    The index of the field to modify.
name: :class:`str`
    The name of the field. Can only be up to 256 characters.
value: :class:`str`
    The value of the field. Can only be up to 1024 characters.
inline: :class:`bool`
    Whether the field should be displayed inline.

Raises
-------
IndexError
    An invalid index was provided.
zfield index out of rangerx   ry   rz   )r³   rË   r)  rµ   r/   r  s   &&$$$ r   Úset_field_atÚEmbed.set_field_at¿  sa   € ð2	9Ø—L‘L Õ'ˆEô ˜D›	ˆˆf‰Ü˜U›ˆˆg‰Ø ˆh‰Øˆøô œ:¤~Ð6ô 	9ÜÐ7Ó8Ð8ð	9ús	   ‚7 ·"Ac               ó   € V ^8„  d   QhRR/# )r   r&   Ú	EmbedDatar   )r   s   "r   r   r’   â  s   € ÷ .ñ .˜ñ .r   c                óœ  € \         P                   Uu/ uF9  pV^ ,          R8X  g   K  \        W4      '       g   K&  VR,          \        W4      bK;  	  pp VP	                  R4      pV'       d   VP
                  VR&    TP	                  R4      pT'       dŠ   TP                  '       d=   TP                  \        P                  P                  R7      P                  4       TR&   M;TP                  \        P                  P                  R7      P                  4       TR&   T P                  '       d   T P                  TR&   T P                  '       d   T P                  TR	&   T P                   '       d   T P                   TR
&   T P"                  '       d   T P"                  TR&   T# u upi   \         d     EL<i ; i  \         d     Lªi ; i)z'Converts this embed object into a dict.r2   :rb   NNrŠ   r‹   r�   )Útz)rÓ   rˆ   r‰   r}   r‡   )r   Ú	__slots__Úhasattrr5   r[   ry   r£   rÓ   rÔ   rÒ   ÚtimezoneÚutcÚ	isoformatÚreplacerˆ   r‰   r}   r‡   )r!   ÚkeyÚresultrŠ   r�   s   &    r   r­   ÚEmbed.to_dictâ  s†  € ô —’ó
á&�Ø�1�v˜‰}ô (ä!(¨×!3ô (ˆC��G”W˜TÓ'Ò'Ù&ð 	ð 
ð	/Ø—Z‘Z Ó)ˆF÷ Ø"(§,¡,��w‘ð		fØŸ
™
 ;Ó/ˆI÷ Ø×#×#Ð#Ø*3×*>Ñ*>Ä(×BSÑBS×BWÑBWÐ*>Ó*X×*bÑ*bÓ*d�F˜;Ò'à*3×*;Ñ*;Ä8×CTÑCT×CXÑCXÐ*;Ó*Y×*cÑ*cÓ*e�F˜;Ñ'ð �9�9ˆ9Ø!ŸY™YˆF�6‰Nà××ÐØ$(×$4Ñ$4ˆF�=Ñ!à�8�8ˆ8Ø ŸH™HˆF�5‰Mà�:�:ˆ:Ø"Ÿj™jˆF�7‰OàˆùòS
øô ô 	Úð	ûô ô 	Ùð	ús3   “F&¨F&»F&ÁF+ Á>F= Æ+F:Æ9F:Æ=GÇ
G)r¶   r¢   r³   r\   r´   rê   r÷   r¥   rŠ   r‰   r�   r‡   rˆ   r}   )r‡   r}   rˆ   r¥   r¢   r´   rê   r÷   rÿ   r  r¶   r³   r‰   r\   )'rO   rP   rQ   rR   Ú__doc__r4  r"   Úclassmethodr¨   r®   r,   rc   rM   rj   rY   rŠ   Úsetterr‹   r�   rŸ   rÝ   râ   rž   rò   r™   rû   rš   r›   rœ   r
  r  r�   r  r   r%  r*  r.  r­   rS   r   r   r   r   r   m   s  † ñ4ðl€Ið"'ð 04ð'ð /3ð	'ð
  $ð'ð !ð'ð "ð'ð &*ð'ð 26÷'ð< ô3ó ð3õj8õõ*
õ$
ð$ ô8ó ð8ð ô.ó ð.ð ‡]�]ôwó ðwð €Eàô1ó ð1ð ×Ñôoó ðoð ô8ó ð8ð°$ð ÐRV÷ õ0ð ô<ó ð<õ ð4 ô@ó ð@õ ð4 ô<ó ð<ð  ô:ó ð:ð ô8ó ð8ð¸Dð Ð\`÷ õ:ð ôEó ðEðÀ÷ ð:ÐSW÷ õBõ ð:!ÐPT÷ !÷F.ñ .r   )r   )$r=  Ú
__future__r   rÒ   Útypingr   r   r   r   r   r   r	   r
   r   r²   r   rŠ   r   rY   r   r   Ú__all__r   rU   Útyping_extensionsrl   Útypes.embedr   r1  rm   rn   rp   rw   r|   r‚   r„   r   r   r   Ú<module>rE     sŸ   ðñõ0 #ã ß ^× ^Õ ^å Ý ß .ð€÷Qñ Qô$=�jô =÷  Ý&ç:á�‹€Aô ˜Hô  ô˜8ô ô
˜8ô ô˜hô ô&˜Hô &÷c
ó c
r   