
    Eh                     B   S SK r S SKJrJrJr  S SKJrJr  \ R                  \	\
\\S\ R                  \ R                  \	\
\\S4      4   r\ R                  \ R                  \ R                  \ R                   4   r " S S\5      r\" \S\" \R(                  5      5        g)    N)	TypedDictNotRequiredLiteral)	Component_explicitize_argsc                     ^  \ rS rSrSr/ rS/rSrS r\	" S\
\   \
\   \
\   \
\   \
\   \
\   \
\   S.5      r\	" S\
\   \
\   S.5      r          SS	\R                   \R"                  \\4      S
\R                   \   S\R                   \   S\R                   S   S\R                   S   S\R                   \   S\R                   \   S\R                   \   S\R                   \   S\R                   \   4U 4S jjjrSrU =r$ )Geolocation   a  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:

    - lat (number; optional)

    - lon (number; optional)

    - accuracy (number; optional)

    - alt (number; optional)

    - alt_accuracy (number; optional)

    - heading (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_componentsPosition)latlonaccuracyaltalt_accuracyheadingspeedPositionError)codemessageid
local_date	timestamppositionposition_error
show_alert
update_nowhigh_accuracymaximum_agetimeoutc                    > / SQU l         / U l        / SQU l        / U l        UR	                  S5      n[        5       nUR                  U5        U Vs0 s H  oX   _M	     nn[        [        U ]&  " S0 UD6  g s  snf )N)
r   r   r   r    r   r   r   r!   r   r   _explicit_args )
_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#   _localskargs	__class__s                   gC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\dash/dcc/Geolocation.pyr-   Geolocation.__init__}   s|    
 +-'%
! .0*$45(v'56~!7:~6k4)1D1 7s   A7)r%   r&   r'   r(   )
NNNNNNNNNN)__name__
__module____qualname____firstlineno____doc___children_props_base_nodes
_namespace_typer   r   
NumberTyper   strr   typingOptionalUniondictboolr-   __static_attributes____classcell__)r3   s   @r4   r	   r	      s   PDd O,K'JEz*z*#J/z*'
3":. ,	
H +j"9kRUFVWM 8<+/1504;?,0,0/337/3-2OOFLLd34-2 OOC(-2 ??:.	-2
 //*--2 8-2 OOD)-2 OOD)-2 t,-2 __Z0-2 ,-2 -2    r	   r-   )rA   typing_extensionsr   r   r   dash.development.base_componentr   r   rC   r@   intfloatSequenceComponentTypeSupportsFloatSupportsIntSupportsComplexr?   r	   setattrr-   r$   rH   r4   <module>rS      s     = = H	
OOFLLc5)T!ABCE \\
&,,f.D.DD

U2) U2p Z!2;3G3G!H IrH   