
    $g
                     *    d dl mZmZ  G d de      Zy)    )	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                  f fd	       Z xZS )Locationa  A Location component.
    Update and track the current window.location object through the window.history state.
    Use in conjunction with the `dash_core_components.Link` component to make apps with multiple pages.

    Keyword arguments:

    - id (string; required):
        The ID of this component, used to identify dash components in
        callbacks. The ID needs to be unique across all of the components
        in an app.

    - hash (string; optional):
        hash in window.location - e.g., "#myhash".

    - href (string; optional):
        href in window.location - e.g.,
        "/my/full/pathname?myargument=1#myhash".

    - pathname (string; optional):
        pathname in window.location - e.g., "/my/full/pathname".

    - refresh (a value equal to: 'callback-nav' | boolean; default True):
        Use `True` to navigate outside the Dash app or to manually refresh
        a page. Use `False` if the same callback that updates the Location
        component is also updating the page content - typically used in
        multi-page apps that do not use Pages. Use 'callback-nav' if you
        are updating the URL in a callback, or a different callback will
        respond to the new Location with updated content. This is typical
        with multi-page apps that use Pages. This will allow for
        navigating to a new page without refreshing the page.

    - search (string; optional):
        search in window.location - e.g., "?myargument=1".childrendash_core_componentsc                 ,   g d| _         g | _        g d| _        g | _        |j	                  d      }t               }	|	j                  |       |D 
ci c]  }
|
|	|
   
 }}
dD ]  }
|
|vst        d|
z   dz          t        t        | *  di | y c c}
w )N)idhashhrefpathnamerefreshsearch_explicit_args)r
   zRequired argument `z` was not specified. )_prop_names_valid_wildcard_attributesavailable_propertiesavailable_wildcard_propertiespoplocalsupdate	TypeErrorsuperr   __init__)selfr
   r   r   r   r   r   kwargsr   _localskargs	__class__s               N/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/dash/dcc/Location.pyr   zLocation.__init__.   s     S*,'%
! .0*$45(v'56!71:66 	TA} 5 9<R RSS	T 	h&.. 7s   B)__name__
__module____qualname____doc___children_props_base_nodes
_namespace_typer   r   REQUIRED	UNDEFINEDr   __classcell__)r!   s   @r"   r   r      sl     @D O,K'JE $$""    ##/ /    r   N)dash.development.base_componentr   r   r   r   r.   r"   <module>r0      s    IG/y G/r.   