§
    …OiÚ  ã                   ó:   — d dl Zd dlmZ d„ Z G d„ d¦  «        ZdS )é    N)ÚPointc                 óD   — | j         | j        d         | j        d         ffS )Nr   é   )Ú_addressÚ_point)Úlocations    úF/srv/django_bis/venv311/lib/python3.11/site-packages/geopy/location.pyÚ_location_tupler
      s#   € ØÔ˜xœ¨qÔ1°8´?À1Ô3EÐFÐFÐFó    c                   óÖ   — e Zd ZdZdZd„ Zed„ ¦   «         Zed„ ¦   «         Zed„ ¦   «         Z	ed„ ¦   «         Z
ed„ ¦   «         Zed	„ ¦   «         Zd
„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ ZdS )ÚLocationa,  
    Contains a parsed geocoder response. Can be iterated over as
    ``(location<String>, (latitude<float>, longitude<Float))``.
    Or one can access the properties ``address``, ``latitude``,
    ``longitude``, or ``raw``. The last
    is a dictionary of the geocoder's response for this item.
    )r   r   Ú_tupleÚ_rawc                 óÂ  — |€t          d¦  «        ‚|| _        t          |t          ¦  «        r|| _        n}t          |t
          ¦  «        rt          |¦  «        | _        nSt          |t          j        j        ¦  «        rt          |¦  «        | _        nt          dt          |¦  «        z  ¦  «        ‚t          | ¦  «        | _        |€t          d¦  «        ‚|| _        d S )Nz`address` must not be Nonez"`point` is of unsupported type: %rz`raw` must not be None)Ú	TypeErrorr   Ú
isinstancer   r   ÚstrÚcollectionsÚabcÚSequenceÚtyper
   r   r   )ÚselfÚaddressÚpointÚraws       r	   Ú__init__zLocation.__init__   sÏ   € Øˆ?ÝÐ8Ñ9Ô9Ð9ØˆŒåeUÑ#Ô#ð 		ØˆDŒKˆKÝ˜sÑ#Ô#ð 	Ý ™,œ,ˆDŒKˆKÝ˜{œÔ7Ñ8Ô8ð 	Ý ™,œ,ˆDŒKˆKåØ4µt¸E±{´{ÑBñô ð õ & dÑ+Ô+ˆŒàˆ;ÝÐ4Ñ5Ô5Ð5ØˆŒ	ˆ	ˆ	r   c                 ó   — | j         S )z™
        Location as a formatted string returned by the geocoder or constructed
        by geopy, depending on the service.

        :rtype: str
        ©r   ©r   s    r	   r   zLocation.address*   s   € ð Œ}Ðr   c                 ó   — | j         d         S )z=
        Location's latitude.

        :rtype: float
        r   ©r   r   s    r	   ÚlatitudezLocation.latitude4   ó   € ð Œ{˜1Œ~Ðr   c                 ó   — | j         d         S )z>
        Location's longitude.

        :rtype: float
        r   r!   r   s    r	   Ú	longitudezLocation.longitude=   r#   r   c                 ó   — | j         d         S )a  
        Location's altitude.

        .. note::
            Geocoding services usually don't consider altitude neither in
            requests nor in responses, so almost always the value of this
            property would be zero.

        :rtype: float
        é   r!   r   s    r	   ÚaltitudezLocation.altitudeF   s   € ð Œ{˜1Œ~Ðr   c                 ó   — | j         S )z¨
        :class:`geopy.point.Point` instance representing the location's
        latitude, longitude, and altitude.

        :rtype: :class:`geopy.point.Point`
        r!   r   s    r	   r   zLocation.pointT   s   € ð Œ{Ðr   c                 ó   — | j         S )z•
        Location's raw, unparsed geocoder response. For details on this,
        consult the service's documentation.

        :rtype: dict
        )r   r   s    r	   r   zLocation.raw^   s   € ð ŒyÐr   c                 ó   — | j         |         S )zA
        Backwards compatibility with geopy<0.98 tuples.
        )r   )r   Úindexs     r	   Ú__getitem__zLocation.__getitem__h   s   € ð Œ{˜5Ô!Ð!r   c                 ó   — | j         S ©Nr   r   s    r	   Ú__str__zLocation.__str__n   s
   € ØŒ}Ðr   c           	      óH   — d| j         ›d| j        ›d| j        ›d| j        ›d	S )Nz	Location(z, (z, z)))r   r"   r%   r(   r   s    r	   Ú__repr__zLocation.__repr__q   s/   € € àŒMˆMˆM˜4œ=˜=˜=¨$¬.¨.¨.¸$¼-¸-¸-ð
ð 	
r   c                 ó*   — t          | j        ¦  «        S r/   )Úiterr   r   s    r	   Ú__iter__zLocation.__iter__v   s   € ÝD”KÑ Ô Ð r   c                 ó*   — | j         | j        | j        fS r/   )r   r   r   r   s    r	   Ú__getstate__zLocation.__getstate__y   s   € ØŒ}˜dœk¨4¬9Ð4Ð4r   c                 óX   — |\  | _         | _        | _        t          | ¦  «        | _        d S r/   )r   r   r   r
   r   )r   Ústates     r	   Ú__setstate__zLocation.__setstate__|   s'   € Ø05Ñ-ˆŒt”{ D¤IÝ% dÑ+Ô+ˆŒˆˆr   c                 óŒ   — t          |t          ¦  «        o/| j        |j        k    o| j        |j        k    o| j        |j        k    S r/   )r   r   r   r   r   ©r   Úothers     r	   Ú__eq__zLocation.__eq__€   sI   € åuhÑ'Ô'ð "ØŒM˜Uœ^Ò+ð"àŒK˜5œ<Ò'ð"ð ŒH˜œ	Ò!ð		
r   c                 ó   — | |k     S r/   © r<   s     r	   Ú__ne__zLocation.__ne__ˆ   s   € Ø˜E’MÐ"Ð"r   c                 ó*   — t          | j        ¦  «        S r/   )Úlenr   r   s    r	   Ú__len__zLocation.__len__‹   s   € Ý4”;ÑÔÐr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__r   Úpropertyr   r"   r%   r(   r   r   r-   r0   r2   r5   r7   r:   r>   rA   rD   r@   r   r	   r   r   
   s]  € € € € € ðð ð 9€Iðð ð ð* ðð ñ „Xðð ðð ñ „Xðð ðð ñ „Xðð ðð ñ „Xðð ðð ñ „Xðð ðð ñ „Xðð"ð "ð "ðð ð ð
ð 
ð 
ð
!ð !ð !ð5ð 5ð 5ð,ð ,ð ,ð
ð 
ð 
ð#ð #ð #ð ð  ð  ð  ð  r   r   )Úcollections.abcr   Úgeopy.pointr   r
   r   r@   r   r	   ú<module>rM      sq   ðØ Ð Ð Ð à Ð Ð Ð Ð Ð ðGð Gð GðB ð B ð B ð B ð B ñ B ô B ð B ð B ð B r   