
    ;3h                        d Z ddlmZ ddlZddlmZ ddlmZmZ ddl	m
Z
 ddlmZmZ erddlmZ  e
        G d	 d
e             Zy)zBPredefined button to sign out from Hugging Face in a Gradio Space.    )annotationsN)Sequence)TYPE_CHECKINGLiteral)document)Button	Component)Timerc                       e Zd ZdZdZ	 ddddddddddddddd	dd
	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d fdZ xZS )LogoutButtonz
    Creates a Button to log out a user from a Space using OAuth.

    Note: `LogoutButton` component is deprecated. Please use `gr.LoginButton` instead
          which handles both the login and logout processes.
    TN	secondarylgzAhttps://huggingface.co/front/assets/huggingface_logo-noborder.svgz/gradio_api/logoutvaluer   everyinputsvariantsizeiconlinkvisibleinteractiveelem_idelem_classesrenderkeypreserved_by_keyscale	min_widthc               n    t        j                  d       t        |   |||||||||	|
||||||       y )NzThe `gr.LogoutButton` component is deprecated. Please use `gr.LoginButton` instead which handles both the login and logout processes.r   )warningswarnsuper__init__)selfr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   	__class__s                    _/var/www/html/audio-gradio/venv/lib/python3.12/site-packages/gradio/components/logout_button.pyr$   zLogoutButton.__init__   s[    , 	 T	
 	#%-! 	 	
    )Logout) r   strr   zTimer | float | Noner   z7Component | Sequence[Component] | set[Component] | Noner   z'Literal['primary', 'secondary', 'stop']r   zLiteral['sm', 'lg']r   
str | Noner   r+   r   boolr   r,   r   r+   r   list[str] | str | Noner   r,   r   z(int | str | tuple[int | str, ...] | Noner   r-   r   
int | Noner   r.   )__name__
__module____qualname____doc__is_templater$   __classcell__)r&   s   @r'   r   r      s     K *
 '+JN;F$(T/ "/38<3: $)*
*
 $	*

 H*
 9*
 "*
*
 *
 *
 *
 *
 -*
  !*
" 6#*
$ 1%*
& '*
( )*
 *
r(   r   )r2   
__future__r   r!   collections.abcr   typingr   r   gradio_client.documentationr   gradio.componentsr   r	   r
   r    r(   r'   <module>r;      s=    H "  $ ) 0 /' 
4
6 4
 4
r(   