+
    ÁFñjÁ  ã                   ót   € R t ^ RI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  ! R R	]4      tR# )
zCThis module contains an object that represents a Telegram Location.N)ÚFinal)Ú	constants)ÚTelegramObject)Úto_timedelta)Úget_timedelta_value)ÚJSONDictÚ
TimePeriodc                   ó  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]V3R lR l4       t]	P                  P                  t ]	P                  P                  t ]	P                  P                  t V3R ltR	tVtV ;t# )ÚLocationaœ  This object represents a point on the map.

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

Args:
    longitude (:obj:`float`): Longitude as defined by the sender.
    latitude (:obj:`float`): Latitude as defined by the sender.
    horizontal_accuracy (:obj:`float`, optional): The radius of uncertainty for the location,
        measured in meters; 0-:tg-const:`telegram.Location.HORIZONTAL_ACCURACY`.
    live_period (:obj:`int` | :class:`datetime.timedelta`, optional): Time relative to the
        message sending date, during which the location can be updated, in seconds. For active
        live locations only.

        .. versionchanged:: v22.2
            |time-period-input|
    heading (:obj:`int`, optional): The direction in which user is moving, in degrees;
        :tg-const:`telegram.Location.MIN_HEADING`-:tg-const:`telegram.Location.MAX_HEADING`.
        For active live locations only.
    proximity_alert_radius (:obj:`int`, optional): Maximum distance for proximity alerts about
        approaching another chat member, in meters. For sent live locations only.

Attributes:
    longitude (:obj:`float`): Longitude as defined by the sender.
    latitude (:obj:`float`): Latitude as defined by the sender.
    horizontal_accuracy (:obj:`float`): Optional. The radius of uncertainty for the location,
        measured in meters; 0-:tg-const:`telegram.Location.HORIZONTAL_ACCURACY`.
    live_period (:obj:`int` | :class:`datetime.timedelta`): Optional. Time relative to the
        message sending date, during which the location can be updated, in seconds. For active
        live locations only.

        .. deprecated:: v22.2
            |time-period-int-deprecated|
    heading (:obj:`int`): Optional. The direction in which user is moving, in degrees;
        :tg-const:`telegram.Location.MIN_HEADING`-:tg-const:`telegram.Location.MAX_HEADING`.
        For active live locations only.
    proximity_alert_radius (:obj:`int`): Optional. Maximum distance for proximity alerts about
        approaching another chat member, in meters. For sent live locations only.

NÚ
api_kwargsc                óŠ   <€ V ^8„  d   QhRS[ RS[ RS[ R,          RS[R,          RS[R,          RS[R,          RS[R,          /# )	é   Ú	longitudeÚlatitudeÚhorizontal_accuracyNÚlive_periodÚheadingÚproximity_alert_radiusr   )Úfloatr   Úintr   )ÚformatÚ__classdict__s   "€ÚN/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_files/location.pyÚ__annotate__ÚLocation.__annotate__R   sf   ø€ ÷ ñ áðñ ðñ # T�\ð	ñ
   $Õ&ðñ �t•ðñ !$ d¥
ðñ ˜t•Oñó    c               ó  <€ \         SV `  VR 7       Wn        W n        W0n        \        V4      V n        WPn        V'       d   \        V4      MRV n	        V P                  V P                  3V n
        V P                  4        R# ))r   N)ÚsuperÚ__init__r   r   r   r   Ú_live_periodr   r   r   Ú	_id_attrsÚ_freeze)	Úselfr   r   r   r   r   r   r   Ú	__class__s	   &&&&&&&$€r   r   ÚLocation.__init__R   sn   ø€ ô 	‰Ñ JÐÔ/à )ŒØ'Œð 2EÔ Ü2>¸{Ó2KˆÔØ#*Œç+AŒCÐ&Ô'Àtð 	Ô#ð Ÿ.™.¨$¯-©-Ð8ˆŒà�‰Žr   c                óR   <€ V ^8„  d   QhRS[ S[P                  ,          R,          /# )r   ÚreturnN)r   ÚdtmÚ	timedelta)r   r   s   "€r   r   r   o   s%   ø€ ÷ Oñ O™S¡3§=¡=Õ0°4Õ7ñ Or   c                ó0   € \        V P                  R R7      # )r   )Ú	attribute)r   r   )r"   s   &r   r   ÚLocation.live_periodn   s   € ä" 4×#4Ñ#4ÀÔNÐNr   c                ón   <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   # )r   ÚHORIZONTAL_ACCURACYÚMIN_HEADINGÚMAX_HEADING)r   r   )r   r   s   "€r   r   r      s>   ø‡ ‚ ñf ™s�ÑQñg ñp ‘s•ÑAñq ñz ‘s•ÑAò{ r   )r    r   r   r   r   r   r   )r   r   r   r   r   r   )NNNN)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r   Úpropertyr   r   ÚLocationLimitr-   r.   r/   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r#   r   s   @@r   r
   r
      s�   ù‡ € ñ'ðR€Iñð '+÷ö ð8 ÷Oó ðOð '0×&=Ñ&=×&QÑ&QÐðð (×5Ñ5×AÑA€Kðð (×5Ñ5×AÑA€Kð÷} … r   r
   )r4   Údatetimer'   Útypingr   Útelegramr   Útelegram._telegramobjectr   Útelegram._utils.argumentparsingr   Útelegram._utils.datetimer   Útelegram._utils.typesr   r   r
   © r   r   Ú<module>rD      s.   ðñ& Jã Ý å Ý 3Ý 8Ý 8ß 6ôaˆ~ö ar   