§
    ¨MºfG  ã                   ó2   — d dl mZmZ  G d„ de¦  «        ZdS )é    )Ú	ComponentÚ_explicitize_argsc                   ó¾   ‡ — e Zd ZdZg ZdgZdZd Zee	j
        e	j
        e	j
        e	j
        e	j
        e	j
        e	j
        e	j
        e	j
        e	j
        f
ˆ fd„	¦   «         Zˆ xZS )ÚGeolocationa¢  A Geolocation component.
    The CurrentLocation component gets geolocation of the device from the web browser.  See more info here:
    https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API

    Keyword arguments:

    - id (string; optional):
        The ID used to identify this component in Dash callbacks.

    - high_accuracy (boolean; default False):
        If True and if the device is able to provide a more accurate
        position,  it will do so. Note that this can result in slower
        response times or increased power consumption (with a GPS  chip on
        a mobile device for example). If False (the default value), the
        device can save resources by  responding more quickly and/or using
        less power.

    - local_date (string; optional):
        The local date and time when the device position was updated.
        Format:  MM/DD/YYYY, hh:mm:ss p   where p is AM or PM.

    - maximum_age (number; default 0):
        The maximum age in milliseconds of a possible cached position that
        is acceptable to return. If set to 0, it means that the device
        cannot use a cached position and must attempt to retrieve the real
        current position. If set to Infinity the device must return a
        cached position regardless of its age. Default: 0.

    - position (dict; optional):
        The position of the device.  `lat`, `lon`, and `accuracy` will
        always be returned.  The other data will be included when
        available, otherwise it will be NaN.        `lat` is latitude in
        degrees.       `lon` is longitude in degrees.       `accuracy` is
        the accuracy of the lat/lon in meters.    *        `alt` is
        altitude above mean sea level in meters.       `alt_accuracy` is
        the accuracy of the altitude  in meters.       `heading` is the
        compass heading in degrees.       `speed` is the  speed in meters
        per second.

        `position` is a dict with keys:

        - accuracy (number; optional)

        - alt (number; optional)

        - alt_accuracy (number; optional)

        - heading (number; optional)

        - lat (number; optional)

        - lon (number; optional)

        - speed (number; optional)

    - position_error (dict; optional):
        Position error.

        `position_error` is a dict with keys:

        - code (number; optional)

        - message (string; optional)

    - show_alert (boolean; default False):
        If True, error messages will be displayed as an alert.

    - timeout (number; default Infinity):
        The maximum length of time (in milliseconds) the device is allowed
        to take in order to return a position. The default value is
        Infinity, meaning that data will not be return until the position
        is available.

    - timestamp (number; optional):
        The Unix timestamp from when the position was updated.

    - update_now (boolean; default False):
        Forces a one-time update of the position data.   If set to True in
        a callback, the browser   will update the position data and reset
        update_now back to False.  This can, for example, be used to
        update the  position with a button or an interval timer.ÚchildrenÚdash_core_componentsc                 ó  •‡— g d¢| _         g | _        g d¢| _        g | _        |                     d¦  «        }t          ¦   «         Š‰                     |¦  «         ˆfd„|D ¦   «         } t          t          | ¦  «        j	        di |¤Ž d S )N)
ÚidÚhigh_accuracyÚ
local_dateÚmaximum_ageÚpositionÚposition_errorÚ
show_alertÚtimeoutÚ	timestampÚ
update_nowÚ_explicit_argsc                 ó"   •— i | ]}|‰|         “ŒS © r   )Ú.0ÚkÚ_localss     €úS/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/dash/dcc/Geolocation.pyú
<dictcomp>z(Geolocation.__init__.<locals>.<dictcomp>Š   s   ø€ Ð6Ð6Ð6 !��7˜1”:Ð6Ð6Ð6ó    r   )
Ú_prop_namesÚ_valid_wildcard_attributesÚavailable_propertiesÚavailable_wildcard_propertiesÚpopÚlocalsÚupdateÚsuperr   Ú__init__)Úselfr
   r   r   r   r   r   r   r   r   r   Úkwargsr   Úargsr   Ú	__class__s                 @€r   r%   zGeolocation.__init__^   s¯   øø€ ð
ð 
ð 
ˆÔð +-ˆÔ'ð%
ð %
ð %
ˆÔ!ð .0ˆÔ*ØŸšÐ$4Ñ5Ô5ˆÝ‘(”(ˆØ�Š�vÑÔÐØ6Ð6Ð6Ð6 ~Ð6Ñ6Ô6ˆà)��k˜4Ñ Ô Ô)Ð1Ð1¨DÐ1Ð1Ð1Ð1Ð1r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú_children_propsÚ_base_nodesÚ
_namespaceÚ_typer   r   Ú	UNDEFINEDr%   Ú__classcell__)r)   s   @r   r   r      s­   ø€ € € € € ðPDð PDðd €OØ�,€KØ'€JØ€Eàð ÔØÔ&ØÔ%ØÔ$Ø Ô*ØÔ&ØÔ&ØÔ)ØÔ'ØÔ#ð-2ð -2ð -2ð -2ð -2ñ Ôð-2ð -2ð -2ð -2ð -2r   r   N)Údash.development.base_componentr   r   r   r   r   r   ú<module>r5      s^   ðð IÐ HÐ HÐ HÐ HÐ HÐ HÐ HðF2ð F2ð F2ð F2ð F2�)ñ F2ô F2ð F2ð F2ð F2r   