
    PiJ                      d dl mZ d dlZd dlZd dlZd dlZd dlZd dlmZ d dl	m
Z
 d dlZd dlZd dlmZ d dlmZ d dlmZmZmZmZmZ d dlmZ  G d	 d
          Z edddddd           G d de                      ZdS )    )annotationsN)Iterable)Path)document)CommitOperationAdd)colorsfontsget_matching_versionget_theme_assetssizes)README_CONTENTc                      e Zd Zd Zd Zd!d"dZd Zed#d
            Zed$d            Z	d%dZ
ed&d'd            Zed(d            Zed)d            Z	 	 	 	 	 	 d*d+d ZdS ),
ThemeClassc                0    g | _         d | _        g | _        d S N)_stylesheetsname	_font_css)selfs    f/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/gradio/themes/base.py__init__zThemeClass.__init__   s    	    c                ,  	 i }i }| j                                         D ]\  	                    d          r	6                    d          rd |d d         <   @t	          d d          t          	          	d}	fd}t          j        ||	          	                    dd                              d	          rd d         	|<   	|<   |                                D ]\  	|vr	|<   d
d	                    d |                                D                       z   dz   }dd	                    d |                                D                       z   dz   }d	                    | j
                  }| d| d| S )N__darkzCannot set 'z1' to None - only dark mode variables can be None.(\*)([\w_]+)(\b)c                   |                      d          }|                    d          r+|                    d          rt          d d d                              d          rA|                    d          r,d d         |dd          k    rt          d d d	          |                      d
          }|                    dd          }d| dS )Nr   *r   zCannot refer 'z' to 'zz' - dark variable references are automatically used for dark mode attributes, so do not use the _dark suffix in the value.r      zN' - if dark and light mode values are the same, set dark mode version to None.   r   -zvar(--))group
startswithendswith
ValueErrorreplace)match
full_matchwordattrvals      r   	repl_funcz,ThemeClass._get_theme_css.<locals>.repl_func2   s/   "[[^^
((-- *2E2Eg2N2N $ u  u  uS  u  u  u   MM'**"--c22 SbS	Z^33$ I  I  IS  I  I  I   {{1~~||C--'''''r   r"   z-darkz:root {

c                &    g | ]\  }}d | d| dS z  --z: ; .0r,   r-   s      r   
<listcomp>z-ThemeClass._get_theme_css.<locals>.<listcomp>U   s0    LLL94......LLLr   z
}z
:root.dark, :root .dark {
c                &    g | ]\  }}d | d| dS r1   r3   r4   s      r   r6   z-ThemeClass._get_theme_css.<locals>.<listcomp>Z   s0    QQQ94......QQQr   )__dict__itemsr%   r&   r'   strresubr(   joinr   )
r   cssdark_csspatternr.   css_codedark_css_codefont_cssr,   r-   s
           @@r   _get_theme_csszThemeClass._get_theme_css    s   ,,.. )	  )	 ID#s## {==)) *.HT#2#Y'$^t^^^   c((C)G( ( ( ( ( (& &)S11C<<S))D}}W%%  CRCy!$D		 	% 	%ID#8##!$ iiLL		LLLMMN 	 ,iiQQ@P@PQQQRRS 	 99T^,,99h99-999r   r   propertyr:   returnc           
     8    d}|k    rt          j        d d           dS                     d          }|r)t           t           d d         d                    }nt           d          }d} fdt	          j        |fd	|          }|S )
Nd   zCannot resolve 'z ' - circular reference detected. r   r   r   c                    |                      d          }                    d          rdnd}                    ||z   |dz             S )Nr!   r   rI   r    )r$   r&   _get_computed_value)r)   depthr+   dark_suffixrE   r   s       r   r.   z1ThemeClass._get_computed_value.<locals>.repl_funcp   sM    ;;q>>D%-%6%6w%?%?G''RK++D;,>	JJJr   c                     |           S r   r3   )r)   rL   r.   s    r   <lambda>z0ThemeClass._get_computed_value.<locals>.<lambda>v   s    99UE#:#: r   )warningswarnr&   getattrr;   r<   )	r   rE   rL   	max_depthis_dark	set_valuer@   computed_valuer.   s	   ```     @r   rK   zThemeClass._get_computed_valueb   s    	9MWXWWWXXX2##G,, 	4hhssmR @ @ II  h33I%	K 	K 	K 	K 	K 	K
 :::::I
 
 r   c                   di i}t          |           D ]s}|                    d          r|                    d          s|dv rCt          t          | |          t          t
          f          rt          | |          |d         |<   t|S )z+Convert the theme into a python dictionary.themer   _font)r   r   )dirr%   
isinstancerR   listr:   )r   schemaprops      r   to_dictzThemeClass.to_dictz   s    2II 	< 	<DOOC((<??7++< 333WT4004+>> 4(/d(;(;w%r   pathc                    t          |d          5 }|                     t          j        |t          j                            cddd           S # 1 swxY w Y   dS )zdLoad a theme from a json file.

        Parameters:
            path: The filepath to read.
        zutf-8)encoding)object_hookN)open	from_dictjsonloadr	   as_font)clsr`   fps      r   rg   zThemeClass.load   s     $))) 	KR==25=!I!I!IJJ	K 	K 	K 	K 	K 	K 	K 	K 	K 	K 	K 	K 	K 	K 	K 	K 	K 	Ks   3AAArX   dict[str, dict[str, str]]c           	     4    |             }|d                                          D ]\  }}t          |||           t                      }|j        D ]F}|                    d          s/t          ||          st          ||t          ||                     G|S )zCreate a theme instance from a dictionary representation.

        Parameters:
            theme: The dictionary representation of the theme.
        rX   r   )r9   setattrBaser8   r%   hasattrrR   )ri   rX   	new_themer^   valuebaser,   s          r   re   zThemeClass.from_dict   s     CEE	 >//11 	, 	,KD%ItU++++ vvM 	> 	>D??3'' >	40H0H >	4t)<)<===r   filenamec                    t          |                              t          j        |                                 t
          j                             dS )zsWrite the theme to a json file.

        Parameters:
            filename: The path to write the theme too
        ri   N)r   
write_textrf   dumpsr_   r	   FontEncoder)r   rs   s     r   dumpzThemeClass.dump   s>     	X!!$*T\\^^AR"S"S"STTTTTr   N	repo_nametoken
str | Nonec                   d|vr|d}}n|                     d          \  }}t          j        |          }	 |                    |          }n0# t          j        j        $ r}t          d| d          |d}~ww xY wt          |          }t          ||          }	|	st          d| dd |D                        t          j	        |d	d
|	j
         d          }
|                     |
          }||_        |S )a  Load a theme from the hub.

        This DOES NOT require a HuggingFace account for downloading publicly available themes.

        Parameters:
            repo_name: string of the form <author>/<theme-name>@<semantic-version-expression>.  If a semantic version expression is omitted, the latest version will be fetched.
            token: HuggingFace Token. Only needed to download private themes.
        @Nr{   
The space z does not existz.Cannot find a matching version for expression z from files c                    g | ]	}|j         
S r3   )rs   )r5   fs     r   r6   z'ThemeClass.from_hub.<locals>.<listcomp>   s    :::aqz:::r   spacethemes/theme_schema@.json)repo_id	repo_typers   )splithuggingface_hubHfApi
space_infoutilsRepositoryNotFoundErrorr'   r   r
   hf_hub_downloadversionrg   r   )ri   rz   r{   r   r   apir   eassetsmatching_version
theme_filerX   s               r   from_hubzThemeClass.from_hub   sU    i%t'DD%OOC00MD'#%000	H--JJ$< 	H 	H 	H?$???@@aG	H "*--/@@ 	= = =::6:::= =  
 %4K,<,DKKK
 
 


 $$
s   A A;"A66A;r    huggingface_hub.hf_api.SpaceInfoc                    t          |           }t          |d           j        }t          |                                          S )Nc                    | j         S r   )r   )assets    r   rO   z.ThemeClass._get_next_version.<locals>.<lambda>   s    u} r   )key)r   maxr   r:   
next_patch)r   r   latest_versions      r   _get_next_versionzThemeClass._get_next_version   sB    !*--V)D)DEEEM>,,..///r   r   boolc                X    t          |           }t          fd|D                       S )Nc              3  R   K   | ]!}|j         t          j                  k    V  "d S r   )r   semverVersion)r5   ar   s     r   	<genexpr>z3ThemeClass._theme_version_exists.<locals>.<genexpr>   s4      HHA19w 7 77HHHHHHr   )r   any)r   r   r   s    ` r   _theme_version_existsz ThemeClass._theme_version_exists   s5     "*--HHHHHHHHHHr   Forg_name
theme_namedescriptionprivatec           	        ddl m} t          j                    }	|s=	 t          j                    d         }
n=# t
          $ r}t          d          |d}~ww xY wt          j        |          d         }
|p|
 d| }	 |	                    |          }n# t          $ r d}Y nw xY w|du}|s|r| 	                    |          nd}nt          j        |          }|r/|                     ||          rt          d	| d
| d| d          |p|}t          j        ddd          5 }|                                 }d|i|d<   t!          j        ||t$          j                   ddd           n# 1 swxY w Y   t          j        dd          5 }t)          j        ||pd|
|          }|                    t/          j        |                     ddd           n# 1 swxY w Y   t          j        dd          5 }t3          t4                    j        dz                                  }t;          j        dd| d|          }t;          j        d|p||          }t;          j        d|p|
|          }t;          j        d||          }|                    |           ddd           n# 1 swxY w Y   t?          d| d|j                   t?          d|j                   t?          d|j                   g}t          j!        |d d!|d"|#           |	"                    |d$d ||%           d&| }tG          d'|            |S )(u  Upload a theme to the HuggingFace hub.

        This requires a HuggingFace account.

        Parameters:
            repo_name: The name of the repository to store the theme assets, e.g. 'my_theme' or 'sunset'.
            org_name: The name of the org to save the space in. If None (the default), the username corresponding to the logged in user, or hƒ_token is used.
            version: A semantic version tag for theme. Bumping the version tag lets you publish updates to a theme without changing the look of applications that already loaded your theme.
            token: API token for your HuggingFace account
            theme_name: Name for the name. If None, defaults to repo_name
            description: A long form description to your theme.
        r   )__version__r   zIn order to push to hub, log in via `huggingface-cli login` or provide a theme_token to push_to_hub. For more information see https://huggingface.co/docs/huggingface_hub/quick-start#loginNr   /z0.0.1r   z" already has a theme with version z. See: themes/theme_schema@zE.json. To manually override this version, use the HuggingFace hub UI.wFr   )modedeletesuffixr   ru   )r   r   z%Add a description of this theme here!)r   r   authorgradio_versionzapp.pyztheme=gr.themes.Default\(\)ztheme=''z{THEME}z{AUTHOR}z{SPACE_NAME}r   )path_in_repopath_or_fileobjz	README.mdr   gradioT)r   	space_sdkr{   exist_okr   zUpdating theme)r   commit_messager   
operationsr{   zhttps://huggingface.co/spaces/zSee your theme here! )$r   r   r   r   whoamiOSErrorr'   r   	Exceptionr   r   r   r   tempfileNamedTemporaryFiler_   rf   ry   r	   rx   r   formatwritetextwrapdedentr   __file__parent	read_textr;   r<   r   r   create_repocreate_commitprint)r   rz   r   r   r{   r   r   r   r   r   r   r   space_idr   space_existsr   css_filecontentsreadme_filereadme_contentapp_filer   urls                          r   push_to_hubzThemeClass.push_to_hub   s   . 	'&&&&&#%% 
	A(/11&9    X  	 %+%888@F(&66966	11JJ 	 	 	JJJ	 "-  	(<HUd,,Z888gGGw''A 	D66z7KK 	QX Q Q&-Q QJQQ Q Q    ,9
(U7
 
 
 	A||~~H#,g"6HYIhe.?@@@@	A 	A 	A 	A 	A 	A 	A 	A 	A 	A 	A 	A 	A 	A 	A (c%@@@ 	?K+2%'R+R*	  N hon==>>>	? 	? 	? 	? 	? 	? 	? 	? 	? 	? 	? 	? 	? 	? 	? (c%@@@ 
	%HX-8CCEEHv.%(%%% H
 vj**A	8LLHvk8+=vxHHHvoy(CCHNN8$$$
	% 
	% 
	% 
	% 
	% 
	% 
	% 
	% 
	% 
	% 
	% 
	% 
	% 
	% 
	% BGBBB (   (+:J   HhmTTT	

 	#	
 	
 	
 	
 	+! 	 	
 	
 	
 :x99+c++,,,
s_   7 
AAA>B B#"B#&=E//E36E3AGG"%G"?B$J//J36J3)r   )rE   r:   rF   r:   )r`   r:   rF   r   )rX   rk   rF   r   )rs   r:   r   )rz   r:   r{   r|   )r   r   rF   r:   )r   r   r   r:   rF   r   )NNNNNF)rz   r:   r   r|   r   r|   r{   r|   r   r|   r   r|   r   r   )__name__
__module____qualname__r   rD   rK   r_   classmethodrg   re   ry   r   staticmethodr   r   r   r3   r   r   r   r      sX         
@: @: @:D    0
 
 
 K K K [K    [$U U U U % % % % [%N 0 0 0 \0
 I I I \I  $" !%"&v v v v v v vr   r   r   r   rg   ry   re   r_   c                    e Zd Zej        ej        ej        ej        ej        ej	         e
j        d          dddf e
j        d          dddfd	ddZdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddZdS )rn   zIBM Plex Sanszui-sans-serifz	system-uiz
sans-serifzIBM Plex Monozui-monospaceConsolas	monospace)primary_huesecondary_hueneutral_hue	text_sizespacing_sizeradius_sizefont	font_monor   colors.Color | strr   r   r   sizes.Size | strr   r   r   -fonts.Font | str | Iterable[fonts.Font | str]r   c               x	   d| _         g | _        dd}	 |	|d          } |	|d          } |	|d          } |	|dd          } |	|dd	          } |	|dd
          }|j        | _        |j        | _        |j        | _        |j        | _	        |j
        | _        |j        | _        |j        | _        |j        | _        |j        | _        |j        | _        |j        | _        |j        | _        |j        | _        |j        | _        |j        | _        |j
        | _        |j        | _        |j        | _        |j        | _        |j        | _         |j        | _!        |j        | _"        |j        | _#        |j        | _$        |j        | _%        |j        | _&        |j
        | _'        |j        | _(        |j        | _)        |j        | _*        |j        | _+        |j        | _,        |j        | _-        |j.        | _/        |j0        | _1        |j2        | _3        |j4        | _5        |j6        | _7        |j8        | _9        |j:        | _;        |j.        | _<        |j0        | _=        |j2        | _>        |j4        | _?        |j6        | _@        |j8        | _A        |j:        | _B        |j.        | _C        |j0        | _D        |j2        | _E        |j4        | _F        |j6        | _G        |j8        | _H        |j:        | _I        t          |t          jL        t          f          r|g}d |D             | _N        t          |t          jL        t          f          r|g}d |D             | _O        dP                    d | jN        D                       | _Q        dP                    d | jO        D                       | _R        g | _S        g | _        | jN        | jO        z   D ]}t          |t          jL                  r|T                                }
t          |
t                    r| jS        U                    |
           `t          |
t                    rk|
W                    d          r!| jS        U                    |
d                    |
W                    d          r | j        U                    |
d                    | X                                 dS )a
  
        Parameters:
            primary_hue: The primary hue of the theme. Load a preset, like gradio.themes.colors.green (or just the string "green"), or pass your own gradio.themes.utils.Color object.
            secondary_hue: The secondary hue of the theme. Load a preset, like gradio.themes.colors.green (or just the string "green"), or pass your own gradio.themes.utils.Color object.
            neutral_hue: The neutral hue of the theme, used . Load a preset, like gradio.themes.colors.green (or just the string "green"), or pass your own gradio.themes.utils.Color object.
            text_size: The size of the text. Load a preset, like gradio.themes.sizes.text_sm (or just the string "sm"), or pass your own gradio.themes.utils.Size object.
            spacing_size: The size of the spacing. Load a preset, like gradio.themes.sizes.spacing_sm (or just the string "sm"), or pass your own gradio.themes.utils.Size object.
            radius_size: The radius size of corners. Load a preset, like gradio.themes.sizes.radius_sm (or just the string "sm"), or pass your own gradio.themes.utils.Size object.
            font: The primary font to use for the theme. Pass a string for a system font, or a gradio.themes.font.GoogleFont object to load a font from Google Fonts. Pass a list of fonts for fallbacks.
            font_mono: The monospace font to use for the theme, applies to code. Pass a string for a system font, or a gradio.themes.font.GoogleFont object to load a font from Google Fonts. Pass a list of fonts for fallbacks.
        rr   colorNc                .   t          | t                    s| S |dk    r6t          j        j        D ]}|j        | k    r|c S t          d|  d          |dk    r;t          j        j        D ]}|j        | d|  k    r|c S t          d|  d          d S )Nr   zColor shortcut z not found.sizer   zSize shortcut )	r[   r:   r   Colorallr   r'   r   Size)shortcutr   prefixr   r   s        r   expand_shortcutz&Base.__init__.<locals>.expand_shortcut  s    h,,  w#\- % %EzX--$ . !H8!H!H!HIII!JN $ $Dyv$:$:$:$:::# ; !G(!G!G!GHHH	  r   )r   r   text)r   r   spacingradiusc                |    g | ]9}t          |t          j        t          f          r|nt          j        |          :S r3   r[   r	   Fontr:   	LocalFontr5   fontfams     r   r6   z!Base.__init__.<locals>.<listcomp>  sQ     
 
 
  'EJ#455*GG))
 
 
r   c                |    g | ]9}t          |t          j        t          f          r|nt          j        |          :S r3   r   r   s     r   r6   z!Base.__init__.<locals>.<listcomp>  sQ     
 
 
  'EJ#455*GG))
 
 
r   z, c              3  4   K   | ]}t          |          V  d S r   r:   r5   r   s     r   r   z Base.__init__.<locals>.<genexpr>  s(      ??Dc$ii??????r   c              3  4   K   | ]}t          |          V  d S r   r   r   s     r   r   z Base.__init__.<locals>.<genexpr>  s(      "I"I3t99"I"I"I"I"I"Ir   r   r>   )r   N)Yr   r   c50
primary_50c100primary_100c200primary_200c300primary_300c400primary_400c500primary_500c600primary_600c700primary_700c800primary_800c900primary_900c950primary_950secondary_50secondary_100secondary_200secondary_300secondary_400secondary_500secondary_600secondary_700secondary_800secondary_900secondary_950
neutral_50neutral_100neutral_200neutral_300neutral_400neutral_500neutral_600neutral_700neutral_800neutral_900neutral_950xxsspacing_xxsxs
spacing_xssm
spacing_smmd
spacing_mdlg
spacing_lgxl
spacing_xlxxlspacing_xxl
radius_xxs	radius_xs	radius_sm	radius_md	radius_lg	radius_xl
radius_xxltext_xxstext_xstext_smtext_mdtext_lgtext_xltext_xxlr[   r	   r   r:   rY   
_font_monor=   r   r   r   
stylesheetappenddictgetset)r   r   r   r   r   r   r   r   r   r   font_stylesheets              r   r   zBase.__init__[  s   D 		I 	I 	I 	I &ok@@@'GDDD%ok@@@#OIF6JJJ	&|&SSS%okxPPP &/&+&+&+&+&+&+&+&+&+&+)-*/*/*/*/*/*/*/*/*/*/%/&+&+&+&+&+&+&+&+&+&+ (+&/&/&/&/&/'+%/$$$$$%/! | | | | |! dUZ-.. 	6D
 
  	
 
 

 i%*c!233 	$"I
 
 %	
 
 
 II??DJ?????	"I"I"I"I"IIIJ0 		F 		FD$
++ F"&//"3"3os33 F%,,_====66 F&**511 F)001GHHHH(,,U33 F--oe.DEEE




r   N(  body_background_fillbody_background_fill_darkbody_text_colorbody_text_color_darkbody_text_sizebody_text_color_subduedbody_text_color_subdued_darkbody_text_weightembed_radiusbackground_fill_primarybackground_fill_primary_darkbackground_fill_secondarybackground_fill_secondary_darkborder_color_accentborder_color_accent_darkborder_color_accent_subdued border_color_accent_subdued_darkborder_color_primaryborder_color_primary_darkcolor_accentcolor_accent_softcolor_accent_soft_darklink_text_colorlink_text_color_darklink_text_color_activelink_text_color_active_darklink_text_color_hoverlink_text_color_hover_darklink_text_color_visitedlink_text_color_visited_darkprose_text_sizeprose_text_weightprose_header_text_weightcode_background_fillcode_background_fill_darkshadow_dropshadow_drop_lgshadow_insetshadow_spreadshadow_spread_darkblock_background_fillblock_background_fill_darkblock_border_colorblock_border_color_darkblock_border_widthblock_border_width_darkblock_info_text_colorblock_info_text_color_darkblock_info_text_sizeblock_info_text_weightblock_label_background_fill block_label_background_fill_darkblock_label_border_colorblock_label_border_color_darkblock_label_border_widthblock_label_border_width_darkblock_label_shadowblock_label_text_colorblock_label_text_color_darkblock_label_marginblock_label_paddingblock_label_radiusblock_label_right_radiusblock_label_text_sizeblock_label_text_weightblock_paddingblock_radiusblock_shadowblock_shadow_darkblock_title_background_fill block_title_background_fill_darkblock_title_border_colorblock_title_border_color_darkblock_title_border_widthblock_title_border_width_darkblock_title_text_colorblock_title_text_color_darkblock_title_paddingblock_title_radiusblock_title_text_sizeblock_title_text_weightcontainer_radiusform_gap_width
layout_gappanel_background_fillpanel_background_fill_darkpanel_border_colorpanel_border_color_darkpanel_border_widthpanel_border_width_darksection_header_text_sizesection_header_text_weightaccordion_text_coloraccordion_text_color_darktable_text_colortable_text_color_darkcheckbox_background_colorchatbot_text_sizecheckbox_background_color_darkcheckbox_background_color_focus$checkbox_background_color_focus_darkcheckbox_background_color_hover$checkbox_background_color_hover_dark"checkbox_background_color_selected'checkbox_background_color_selected_darkcheckbox_border_colorcheckbox_border_color_darkcheckbox_border_color_focus checkbox_border_color_focus_darkcheckbox_border_color_hover checkbox_border_color_hover_darkcheckbox_border_color_selected#checkbox_border_color_selected_darkcheckbox_border_radiuscheckbox_border_widthcheckbox_border_width_darkcheckbox_checkradio_circlecheckbox_shadowcheckbox_label_background_fill#checkbox_label_background_fill_dark$checkbox_label_background_fill_hover)checkbox_label_background_fill_hover_dark'checkbox_label_background_fill_selected,checkbox_label_background_fill_selected_darkcheckbox_label_border_color checkbox_label_border_color_dark!checkbox_label_border_color_hover&checkbox_label_border_color_hover_dark$checkbox_label_border_color_selected)checkbox_label_border_color_selected_darkcheckbox_label_border_width checkbox_label_border_width_darkcheckbox_label_gapcheckbox_label_paddingcheckbox_label_shadowcheckbox_label_text_sizecheckbox_label_text_weightcheckbox_label_text_colorcheckbox_label_text_color_dark"checkbox_label_text_color_selected'checkbox_label_text_color_selected_darkerror_background_fillerror_background_fill_darkerror_border_colorerror_border_color_darkerror_border_widtherror_border_width_darkerror_text_colorerror_text_color_darkerror_icon_colorerror_icon_color_darkinput_background_fillinput_background_fill_darkinput_background_fill_focus input_background_fill_focus_darkinput_background_fill_hover input_background_fill_hover_darkinput_border_colorinput_border_color_darkinput_border_color_focusinput_border_color_focus_darkinput_border_color_hoverinput_border_color_hover_darkinput_border_widthinput_border_width_darkinput_paddinginput_placeholder_colorinput_placeholder_color_darkinput_radiusinput_shadowinput_shadow_darkinput_shadow_focusinput_shadow_focus_darkinput_text_sizeinput_text_weightloader_colorloader_color_darkslider_colorslider_color_darkstat_background_fillstat_background_fill_darktable_border_colortable_border_color_darktable_even_background_filltable_even_background_fill_darktable_odd_background_filltable_odd_background_fill_darktable_radiustable_row_focustable_row_focus_darkbutton_border_widthbutton_border_width_darkbutton_transform_hoverbutton_transform_activebutton_transitionbutton_large_paddingbutton_large_radiusbutton_large_text_sizebutton_large_text_weightbutton_small_paddingbutton_small_radiusbutton_small_text_sizebutton_small_text_weightbutton_medium_paddingbutton_medium_radiusbutton_medium_text_sizebutton_medium_text_weightbutton_primary_background_fill#button_primary_background_fill_dark$button_primary_background_fill_hover)button_primary_background_fill_hover_darkbutton_primary_border_color button_primary_border_color_dark!button_primary_border_color_hover&button_primary_border_color_hover_darkbutton_primary_text_colorbutton_primary_text_color_darkbutton_primary_text_color_hover$button_primary_text_color_hover_darkbutton_primary_shadowbutton_primary_shadow_hoverbutton_primary_shadow_activebutton_primary_shadow_dark button_primary_shadow_hover_dark!button_primary_shadow_active_dark button_secondary_background_fill%button_secondary_background_fill_dark&button_secondary_background_fill_hover+button_secondary_background_fill_hover_darkbutton_secondary_border_color"button_secondary_border_color_dark#button_secondary_border_color_hover(button_secondary_border_color_hover_darkbutton_secondary_text_color button_secondary_text_color_dark!button_secondary_text_color_hover&button_secondary_text_color_hover_darkbutton_secondary_shadowbutton_secondary_shadow_hoverbutton_secondary_shadow_activebutton_secondary_shadow_dark"button_secondary_shadow_hover_dark#button_secondary_shadow_active_darkbutton_cancel_background_fill"button_cancel_background_fill_dark#button_cancel_background_fill_hover(button_cancel_background_fill_hover_darkbutton_cancel_border_colorbutton_cancel_border_color_dark button_cancel_border_color_hover%button_cancel_border_color_hover_darkbutton_cancel_text_colorbutton_cancel_text_color_darkbutton_cancel_text_color_hover#button_cancel_text_color_hover_darkbutton_cancel_shadowbutton_cancel_shadow_hoverbutton_cancel_shadow_activebutton_cancel_shadow_darkbutton_cancel_shadow_hover_dark button_cancel_shadow_active_darkrF   c              3   |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd	          | _        |pt          | d
d          | _        |	pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _	        |pt          | dd          | _
        |
pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | d d!          | _        |pt          | d"d          | _        |pt          | d#d$          | _        |pt          | d%d$          | _        |pt          | d&d'          | _        |pt          | d(d'          | _        |pt          | d)d*          | _        |pt          | d+d,          | _        |pt          | d-d'          | _        |pt          | d.d$          | _        |pt          | d/d0          | _        |pt          | d1d0          | _        |]pt          | d2d3          | _        |^pt          | d4d3          | _        |_pt          | d5d3          | _        |`pt          | d6d3          | _         |$pt          | d7d8          | _!        |%pt          | d9d:          | _"        |&pt          | d;d<          | _#        |'pt          | d=d>          | _$        |(pt          | d?d@          | _%        |)pt          | dAd          | _&        |*pt          | dBd          | _'        |+pt          | dCdD          | _(        |,pt          | dEdD          | _)        |-pt          | dFd@          | _*        |.pt          | dGdH          | _+        |/pt          | dIdJ          | _,        |0pt          | dKdJ          | _-        |1pt          | dLdM          | _.        |2pt          | dNd          | _/        |3pt          | dOd          | _0        |4pt          | dPdQ          | _1        |5pt          | dRdD          | _2        |6pt          | dSdD          | _3        |7pt          | dTd@          | _4        |8pt          | dUdH          | _5        |9pt          | dVdW          | _6        |:pt          | dXdY          | _7        |;pt          | dZd!          | _8        |<pt          | d[d\          | _9        |=pt          | d]d^          | _:        |>pt          | d_d`          | _;        |?pt          | dadb          | _<        |@pt          | dcdM          | _=        |Apt          | ddd          | _>        |Bpt          | dedf          | _?        |Cpt          | dgd          | _@        |Dpt          | dhdi          | _A        |Ept          | djdH          | _B        |Fpt          | dkdi          | _C        |Gpt          | dldH          | _D        |Hpt          | dmdi          | _E        |Ipt          | dndH          | _F        |Jpt          | dodp          | _G        |Kpt          | dqdH          | _H        |Lpt          | drdY          | _I        |Mpt          | dsd!          | _J        |Npt          | dtd\          | _K        |Opt          | dudi          | _L        |Ppt          | dvd	          | _M        |Qpt          | dwd          | _N        |Rpt          | dxd          | _O        |Spt          | dydp          | _P        |Tpt          | dzd{          | _Q        |Upt          | d|dQ          | _R        |Vpt          | d}dQ          | _S        |Wpt          | d~dD          | _T        |Xpt          | ddD          | _U        |Ypt          | dd\          | _V        |Zpt          | ddH          | _W        |[pt          | dd	          | _X        |\pt          | dd          | _Y        |pt          | dd          | _Z        |pt          | dd          | _[        |"pt          | dd          | _\        |#pt          | dd          | _]        |bpt          | dd          | _^        |apt          | dd          | __        |cpt          | dd          | _`        |dpt          | dd          | _a        |ept          | dd          | _b        |fpt          | dd          | _c        |gpt          | dd          | _d        |hpt          | dd          | _e        |ipt          | dd          | _f        |jpt          | dd          | _g        |kpt          | dd          | _h        |lpt          | dd          | _i        |mpt          | dd          | _j        |npt          | dd          | _k        |opt          | dd          | _l        |ppt          | dd          | _m        |qpt          | dd          | _n        |rpt          | dd          | _o        |spt          | dd          | _p        |tpt          | dd          | _q        |xpt          | dd          | _r        |ypt          | dd          | _s        |zpt          | dd          | _t        |{pt          | dd          | _u        ||pt          | dd          | _v        |}pt          | dd          | _w        |~pt          | ddD          | _x        |pt          | ddD          | _y        |pt          | dd          | _z        |pt          | dd          | _{        |pt          | dd          | _|        |pt          | dd          | _}        |pt          | dd          | _~        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | ddi          | _        |pt          | dd	          | _        |pt          | dd          | _        |upt          | dd          | _        |vpt          | dd          | _        |wpt          | dd          | _        |pt          | dd3          | _        |pt          | dd3          | _        |pt          | ddĦ          | _        |pt          | ddĦ          | _        |p t          | dƐt          j        j                  | _        |pt          | dd          | _        |p t          | dȐt          j        j                  | _        |p t          | dɐt          j        j                  | _        |pt          | dd@          | _        |pt          | ddH          | _        |p t          | d̐t          j        j                  | _        |p t          | d͐t          j        j                  | _        |p t          | dΐt          j        j                  | _        |p t          | dϐt          j        j                  | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | ddӦ          | _        |pt          | ddH          | _        |pt          | ddӦ          | _        |pt          | ddӦ          | _        |pt          | ddD          | _        |pt          | ddD          | _        |pt          | ddڦ          | _        |pt          | dd          | _        |pt          | ddݦ          | _        |pt          | ddݦ          | _        |pt          | ddp          | _        |pt          | ddH          | _        |pt          | dd          | _        |pt          | dd0          | _        |pt          | ddY          | _        |pt          | dd          | _        |pt          | ddi          | _        |pt          | ddH          | _        |pt          | dd          | _        |pt          | ddH          | _        |pt          | dd	          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | ddH          | _        |pt          | dd	          | _        | pt          | dd          | _        |!pt          | dd          | _        |pt          | dd          | _        |pt          | ddH          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | d d          | _        |pt          | ddH          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | d	d
          | _        |pt          | dd
          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        | pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | dd          | _        |pt          | ddi          | _        |pt          | ddi          | _        |pt          | dd          | _        |pt          | dd           | _        |pt          | d!d"          | _        |pt          | d#d          | _        |pt          | d$d          | _        |pt          | d%d          | _        |pt          | d&d'          | _        |pt          | d(d'          | _        |pt          | d)d*          | _        |pt          | d+d          | _        |pt          | d,d'          | _        |pt          | d-d          | _        |pt          | d.d          | _        |pt          | d/d          | _        |pt          | d0d          | _        |pt          | d1d2          | _        |pt          | d3d2          | _        |pt          | d4di          | _        |pt          | d5d6          | _        |pt          | d7d6          | _        |pt          | d8dH          | _        |pt          | d9d6          | _        |pt          | d:d6          | _        |pt          | d;d!          | _        |pt          | d<d          | _        |pt          | d=d          | _        |pt          | d>d          | _        |pt          | d?d!          | _        |pt          | d@d          | _        |pt          | dAd!          | _        |pt          | dBdY          | _        |pt          | dCdD          | _        |pt          | dEd          | _        |pt          | dFd          | _        |pt          | dGd          | _        |pt          | dHd6          | _        |pt          | dId          | _        |pt          | dJd          | _         |pt          | dKdH          | _        |pt          | dLd          | _        |pt          | dMd          | _        |pt          | dNdO          | _        |pt          | dPd"          | _        |pt          | dQdM          | _        |pt          | dRd          | _        |pt          | dSd          | _        |pt          | dTd"          | _	        |pt          | dUd	          | _
        |pt          | dVd          | _        | S (W  ab  
        Parameters:
            body_background_fill: The background of the entire app.
            body_background_fill_dark: The background of the entire app in dark mode.
            body_text_color: The default text color.
            body_text_color_dark: The default text color in dark mode.
            body_text_size: The default text size.
            body_text_color_subdued: The text color used for softer, less important text.
            body_text_color_subdued_dark: The text color used for softer, less important text in dark mode.
            body_text_weight: The default text weight.
            embed_radius: The corner radius used for embedding when the app is embedded within a page.
            background_fill_primary: The background primarily used for items placed directly on the page.
            background_fill_primary_dark: The background primarily used for items placed directly on the page in dark mode.
            background_fill_secondary: The background primarily used for items placed on top of another item.
            background_fill_secondary_dark: The background primarily used for items placed on top of another item in dark mode.
            border_color_accent: The border color used for accented items.
            border_color_accent_dark: The border color used for accented items in dark mode.
            border_color_accent_subdued: The subdued border color for accented items.
            border_color_accent_subdued_dark: The subdued border color for accented items in dark mode.
            border_color_primary: The border color primarily used for items placed directly on the page.
            border_color_primary_dark: The border color primarily used for items placed directly on the page in dark mode.
            color_accent: The color used for accented items.
            color_accent_soft: The softer color used for accented items.
            color_accent_soft_dark: The softer color used for accented items in dark mode.
            link_text_color: The text color used for links.
            link_text_color_dark: The text color used for links in dark mode.
            link_text_color_active: The text color used for links when they are active.
            link_text_color_active_dark: The text color used for links when they are active in dark mode.
            link_text_color_hover: The text color used for links when they are hovered over.
            link_text_color_hover_dark: The text color used for links when they are hovered over in dark mode.
            link_text_color_visited: The text color used for links when they have been visited.
            link_text_color_visited_dark: The text color used for links when they have been visited in dark mode.
            prose_text_size: The text size used for markdown and other prose.
            prose_text_weight: The text weight used for markdown and other prose.
            prose_header_text_weight: The text weight of a header used for markdown and other prose.
            code_background_fill: The background color of code blocks.
            code_background_fill_dark: The background color of code blocks in dark mode.
            shadow_drop: Drop shadow used by other shadowed items.
            shadow_drop_lg: Larger drop shadow used by other shadowed items.
            shadow_inset: Inset shadow used by other shadowed items.
            shadow_spread: Size of shadow spread used by shadowed items.
            shadow_spread_dark: Size of shadow spread used by shadowed items in dark mode.
            block_background_fill: The background around an item.
            block_background_fill_dark: The background around an item in dark mode.
            block_border_color: The border color around an item.
            block_border_color_dark: The border color around an item in dark mode.
            block_border_width: The border width around an item.
            block_border_width_dark: The border width around an item in dark mode.
            block_info_text_color: The color of the info text.
            block_info_text_color_dark: The color of the info text in dark mode.
            block_info_text_size: The size of the info text.
            block_info_text_weight: The weight of the info text.
            block_label_background_fill: The background of the title label of a media element (e.g. image).
            block_label_background_fill_dark: The background of the title label of a media element (e.g. image) in dark mode.
            block_label_border_color: The border color of the title label of a media element (e.g. image).
            block_label_border_color_dark: The border color of the title label of a media element (e.g. image) in dark mode.
            block_label_border_width: The border width of the title label of a media element (e.g. image).
            block_label_border_width_dark: The border width of the title label of a media element (e.g. image) in dark mode.
            block_label_shadow: The shadow of the title label of a media element (e.g. image).
            block_label_text_color: The text color of the title label of a media element (e.g. image).
            block_label_text_color_dark: The text color of the title label of a media element (e.g. image) in dark mode.
            block_label_margin: The margin of the title label of a media element (e.g. image) from its surrounding container.
            block_label_padding: The padding of the title label of a media element (e.g. image).
            block_label_radius: The corner radius of the title label of a media element (e.g. image).
            block_label_right_radius: The corner radius of a right-aligned helper label.
            block_label_text_size: The text size of the title label of a media element (e.g. image).
            block_label_text_weight: The text weight of the title label of a media element (e.g. image).
            block_padding: The padding around an item.
            block_radius: The corner radius around an item.
            block_shadow: The shadow under an item.
            block_shadow_dark: The shadow under an item in dark mode.
            block_title_background_fill: The background of the title of a form element (e.g. textbox).
            block_title_background_fill_dark: The background of the title of a form element (e.g. textbox) in dark mode.
            block_title_border_color: The border color of the title of a form element (e.g. textbox).
            block_title_border_color_dark: The border color of the title of a form element (e.g. textbox) in dark mode.
            block_title_border_width: The border width of the title of a form element (e.g. textbox).
            block_title_border_width_dark: The border width of the title of a form element (e.g. textbox) in dark mode.
            block_title_text_color: The text color of the title of a form element (e.g. textbox).
            block_title_text_color_dark: The text color of the title of a form element (e.g. textbox) in dark mode.
            block_title_padding: The padding of the title of a form element (e.g. textbox).
            block_title_radius: The corner radius of the title of a form element (e.g. textbox).
            block_title_text_size: The text size of the title of a form element (e.g. textbox).
            block_title_text_weight: The text weight of the title of a form element (e.g. textbox).
            container_radius: The corner radius of a layout component that holds other content.
            form_gap_width: The border gap between form elements, (e.g. consecutive textboxes).
            layout_gap: The gap between items within a row or column.
            panel_background_fill: The background of a panel.
            panel_background_fill_dark: The background of a panel in dark mode.
            panel_border_color: The border color of a panel.
            panel_border_color_dark: The border color of a panel in dark mode.
            panel_border_width: The border width of a panel.
            panel_border_width_dark: The border width of a panel in dark mode.
            accordion_text_color: The body text color in the accordion.
            accordion_text_color_dark: The body text color in the accordion in dark mode.
            table_text_color: The body text color in the table.
            table_text_color_dark: The body text color in the table in dark mode.
            section_header_text_size: The text size of a section header (e.g. tab name).
            section_header_text_weight: The text weight of a section header (e.g. tab name).
            chatbot_text_size: The text size of the chatbot text.
            checkbox_background_color: The background of a checkbox square or radio circle.
            checkbox_background_color_dark: The background of a checkbox square or radio circle in dark mode.
            checkbox_background_color_focus: The background of a checkbox square or radio circle when focused.
            checkbox_background_color_focus_dark: The background of a checkbox square or radio circle when focused in dark mode.
            checkbox_background_color_hover: The background of a checkbox square or radio circle when hovered over.
            checkbox_background_color_hover_dark: The background of a checkbox square or radio circle when hovered over in dark mode.
            checkbox_background_color_selected: The background of a checkbox square or radio circle when selected.
            checkbox_background_color_selected_dark: The background of a checkbox square or radio circle when selected in dark mode.
            checkbox_border_color: The border color of a checkbox square or radio circle.
            checkbox_border_color_dark: The border color of a checkbox square or radio circle in dark mode.
            checkbox_border_color_focus: The border color of a checkbox square or radio circle when focused.
            checkbox_border_color_focus_dark: The border color of a checkbox square or radio circle when focused in dark mode.
            checkbox_border_color_hover: The border color of a checkbox square or radio circle when hovered over.
            checkbox_border_color_hover_dark: The border color of a checkbox square or radio circle when hovered over in dark mode.
            checkbox_border_color_selected: The border color of a checkbox square or radio circle when selected.
            checkbox_border_color_selected_dark: The border color of a checkbox square or radio circle when selected in dark mode.
            checkbox_border_radius: The corner radius of a checkbox square.
            checkbox_border_width: The border width of a checkbox square or radio circle.
            checkbox_border_width_dark: The border width of a checkbox square or radio circle in dark mode.
            checkbox_check: The checkmark visual of a checkbox square.
            radio_circle: The circle visual of a radio circle.
            checkbox_shadow: The shadow of a checkbox square or radio circle.
            checkbox_label_background_fill: The background of the surrounding button of a checkbox or radio element.
            checkbox_label_background_fill_dark: The background of the surrounding button of a checkbox or radio element in dark mode.
            checkbox_label_background_fill_hover: The background of the surrounding button of a checkbox or radio element when hovered over.
            checkbox_label_background_fill_hover_dark: The background of the surrounding button of a checkbox or radio element when hovered over in dark mode.
            checkbox_label_background_fill_selected: The background of the surrounding button of a checkbox or radio element when selected.
            checkbox_label_background_fill_selected_dark: The background of the surrounding button of a checkbox or radio element when selected in dark mode.
            checkbox_label_border_color: The border color of the surrounding button of a checkbox or radio element.
            checkbox_label_border_color_dark: The border color of the surrounding button of a checkbox or radio element in dark mode.
            checkbox_label_border_color_hover: The border color of the surrounding button of a checkbox or radio element when hovered over.
            checkbox_label_border_color_hover_dark: The border color of the surrounding button of a checkbox or radio element when hovered over in dark mode.
            checkbox_label_border_color_selected: The border color of the surrounding button of a checkbox or radio element when selected.
            checkbox_label_border_color_selected_dark: The border color of the surrounding button of a checkbox or radio element when selected in dark mode.
            checkbox_label_border_width: The border width of the surrounding button of a checkbox or radio element.
            checkbox_label_border_width_dark: The border width of the surrounding button of a checkbox or radio element in dark mode.
            checkbox_label_gap: The gap consecutive checkbox or radio elements.
            checkbox_label_padding: The padding of the surrounding button of a checkbox or radio element.
            checkbox_label_shadow: The shadow of the surrounding button of a checkbox or radio element.
            checkbox_label_text_size: The text size of the label accompanying a checkbox or radio element.
            checkbox_label_text_weight: The text weight of the label accompanying a checkbox or radio element.
            checkbox_label_text_color: The text color of the label accompanying a checkbox or radio element.
            checkbox_label_text_color_dark: The text color of the label accompanying a checkbox or radio element in dark mode.
            checkbox_label_text_color_selected: The text color of the label accompanying a checkbox or radio element when selected.
            checkbox_label_text_color_selected_dark: The text color of the label accompanying a checkbox or radio element when selected in dark mode.
            error_background_fill: The background of an error message.
            error_background_fill_dark: The background of an error message in dark mode.
            error_border_color: The border color of an error message.
            error_border_color_dark: The border color of an error message in dark mode.
            error_border_width: The border width of an error message.
            error_border_width_dark: The border width of an error message in dark mode.
            error_text_color: The text color of an error message.
            error_text_color_dark: The text color of an error message in dark mode.
            input_background_fill: The background of an input field.
            input_background_fill_dark: The background of an input field in dark mode.
            input_background_fill_focus: The background of an input field when focused.
            input_background_fill_focus_dark: The background of an input field when focused in dark mode.
            input_background_fill_hover: The background of an input field when hovered over.
            input_background_fill_hover_dark: The background of an input field when hovered over in dark mode.
            input_border_color: The border color of an input field.
            input_border_color_dark: The border color of an input field in dark mode.
            input_border_color_focus: The border color of an input field when focused.
            input_border_color_focus_dark: The border color of an input field when focused in dark mode.
            input_border_color_hover: The border color of an input field when hovered over.
            input_border_color_hover_dark: The border color of an input field when hovered over in dark mode.
            input_border_width: The border width of an input field.
            input_border_width_dark: The border width of an input field in dark mode.
            input_padding: The padding of an input field.
            input_placeholder_color: The placeholder text color of an input field.
            input_placeholder_color_dark: The placeholder text color of an input field in dark mode.
            input_radius: The corner radius of an input field.
            input_shadow: The shadow of an input field.
            input_shadow_dark: The shadow of an input field in dark mode.
            input_shadow_focus: The shadow of an input field when focused.
            input_shadow_focus_dark: The shadow of an input field when focused in dark mode.
            input_text_size: The text size of an input field.
            input_text_weight: The text weight of an input field.
            loader_color: The color of the loading animation while a request is pending.
            loader_color_dark: The color of the loading animation while a request is pending in dark mode.
            slider_color: The color of the slider in a range element.
            slider_color_dark: The color of the slider in a range element in dark mode.
            stat_background_fill: The background used for stats visuals (e.g. confidence bars in label).
            stat_background_fill_dark: The background used for stats visuals (e.g. confidence bars in label) in dark mode.
            table_border_color: The border color of a table.
            table_border_color_dark: The border color of a table in dark mode.
            table_even_background_fill: The background of even rows in a table.
            table_even_background_fill_dark: The background of even rows in a table in dark mode.
            table_odd_background_fill: The background of odd rows in a table.
            table_odd_background_fill_dark: The background of odd rows in a table in dark mode.
            table_radius: The corner radius of a table.
            table_row_focus: The background of a focused row in a table.
            table_row_focus_dark: The background of a focused row in a table in dark mode.
            button_border_width: The border width of a button.
            button_border_width_dark: The border width of a button in dark mode.
            button_cancel_background_fill: The background of a button of "cancel" variant.
            button_cancel_background_fill_dark: The background of a button of "cancel" variant in dark mode.
            button_cancel_background_fill_hover: The background of a button of "cancel" variant when hovered over.
            button_cancel_background_fill_hover_dark: The background of a button of "cancel" variant when hovered over in dark mode.
            button_cancel_border_color: The border color of a button of "cancel" variant.
            button_cancel_border_color_dark: The border color of a button of "cancel" variant in dark mode.
            button_cancel_border_color_hover: The border color of a button of "cancel" variant when hovered over.
            button_cancel_border_color_hover_dark: The border color of a button of "cancel" variant when hovered over in dark mode.
            button_cancel_text_color: The text color of a button of "cancel" variant.
            button_cancel_text_color_dark: The text color of a button of "cancel" variant in dark mode.
            button_cancel_text_color_hover: The text color of a button of "cancel" variant when hovered over.
            button_cancel_text_color_hover_dark: The text color of a button of "cancel" variant when hovered over in dark mode.
            button_cancel_shadow: The shadow under a button of "cancel" variant.
            button_cancel_shadow_hover: The shadow under a button of "cancel" variant when hovered over.
            button_cancel_shadow_active: The shadow under a button of "cancel" variant when pressed.
            button_cancel_shadow_dark: The shadow under a button of "cancel" variant in dark mode.
            button_cancel_shadow_hover_dark: The shadow under a button of "cancel" variant when hovered over in dark mode.
            button_cancel_shadow_active_dark: The shadow under a button of "cancel" variant when pressed in dark mode.
            button_large_padding: The padding of a button with the default "large" size.
            button_large_radius: The corner radius of a button with the default "large" size.
            button_large_text_size: The text size of a button with the default "large" size.
            button_large_text_weight: The text weight of a button with the default "large" size.
            button_primary_background_fill: The background of a button of "primary" variant.
            button_primary_background_fill_dark: The background of a button of "primary" variant in dark mode.
            button_primary_background_fill_hover: The background of a button of "primary" variant when hovered over.
            button_primary_background_fill_hover_dark: The background of a button of "primary" variant when hovered over in dark mode.
            button_primary_border_color: The border color of a button of "primary" variant.
            button_primary_border_color_dark: The border color of a button of "primary" variant in dark mode.
            button_primary_border_color_hover: The border color of a button of "primary" variant when hovered over.
            button_primary_border_color_hover_dark: The border color of a button of "primary" variant when hovered over in dark mode.
            button_primary_text_color: The text color of a button of "primary" variant.
            button_primary_text_color_dark: The text color of a button of "primary" variant in dark mode.
            button_primary_text_color_hover: The text color of a button of "primary" variant when hovered over.
            button_primary_text_color_hover_dark: The text color of a button of "primary" variant when hovered over in dark mode.
            button_primary_shadow: The shadow under a primary button.
            button_primary_shadow_active: The shadow under a primary button when pressed.
            button_primary_shadow_hover: The shadow under a primary button when hovered over.
            button_primary_shadow_dark: The shadow under a primary button in dark mode.
            button_primary_shadow_active_dark: The shadow under a primary button when pressed in dark mode.
            button_primary_shadow_hover_dark: The shadow under a primary button when hovered over in dark mode.
            button_secondary_background_fill: The background of a button of default "secondary" variant.
            button_secondary_background_fill_dark: The background of a button of default "secondary" variant in dark mode.
            button_secondary_background_fill_hover: The background of a button of default "secondary" variant when hovered over.
            button_secondary_background_fill_hover_dark: The background of a button of default "secondary" variant when hovered over in dark mode.
            button_secondary_border_color: The border color of a button of default "secondary" variant.
            button_secondary_border_color_dark: The border color of a button of default "secondary" variant in dark mode.
            button_secondary_border_color_hover: The border color of a button of default "secondary" variant when hovered over.
            button_secondary_border_color_hover_dark: The border color of a button of default "secondary" variant when hovered over in dark mode.
            button_secondary_text_color: The text color of a button of default "secondary" variant.
            button_secondary_text_color_dark: The text color of a button of default "secondary" variant in dark mode.
            button_secondary_text_color_hover: The text color of a button of default "secondary" variant when hovered over.
            button_secondary_text_color_hover_dark: The text color of a button of default "secondary" variant when hovered over in dark mode.
            button_secondary_shadow: The shadow under a secondary button.
            button_secondary_shadow_active: The shadow under a secondary button when pressed.
            button_secondary_shadow_hover: The shadow under a secondary button when hovered over.
            button_secondary_shadow_dark: The shadow under a secondary button in dark mode.
            button_secondary_shadow_active_dark: The shadow under a secondary button when pressed in dark mode.
            button_secondary_shadow_hover_dark: The shadow under a secondary button when hovered over in dark mode.
            button_small_padding: The padding of a button set to "small" size.
            button_small_radius: The corner radius of a button set to "small" size.
            button_small_text_size: The text size of a button set to "small" size.
            button_small_text_weight: The text weight of a button set to "small" size.
            button_medium_padding: The padding of a button set to "medium" size.
            button_medium_radius: The corner radius of a button set to "medium" size.
            button_medium_text_size: The text size of a button set to "medium" size.
            button_medium_text_weight: The text weight of a button set to "medium" size.
            button_transition: The transition animation duration of a button between regular, hover, and focused states.
            button_transform_hover: The transform animation of a button on hover.
            button_transform_active: The transform animation of a button when pressed.
        rO  z*background_fill_primaryrP  rQ  z*neutral_800rR  z*neutral_100rS  z*text_mdrV  400rW  z
*radius_smrb  z*primary_500rc  z*primary_50rd  z*neutral_700background_primarywhitebackground_primary_darkz*neutral_950background_secondaryz*neutral_50background_secondary_darkz*neutral_900r\  z*primary_300r]  z*neutral_600r`  z*neutral_200ra  re  z*secondary_600rg  rh  z*secondary_500rf  ri  z*secondary_700rj  z*secondary_400rk  rl  rT  z*neutral_400rU  r  z*body_text_colorr  r  r  rr  z rgba(0,0,0,0.05) 0px 1px 2px 0pxrs  z=0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)rt  z&rgba(0,0,0,0.05) 0px 2px 4px 0px insetru  3pxrv  1pxrw  rx  ry  z*border_color_primaryrz  r{  r|  Nr}  z*body_text_color_subduedr~  r  z*text_smr  r  r  z*background_fill_secondaryr  r  r  r  r  z*block_shadowr  z*neutral_500r  r  0r  z*spacing_sm *spacing_lgr  z1calc(*radius_sm - 1px) 0 calc(*radius_sm - 1px) 0r  z10 calc(*radius_sm - 1px) 0 calc(*radius_sm - 1px)r  r  r  z#*spacing_xl calc(*spacing_xl + 2px)r  r  noner  r  r  r  r  r  0pxr  r  r  r  r  r  r  r  r  r  z*spacing_xxlr  r  r  r  r  r  r  r  r^  z*border_color_accentr_  rp  rq  r  z*text_lgr  r  r  z*checkbox_background_colorr  r  r  r  z*color_accentr  r  z*neutral_300r  r  r  r  r  r  r  r  r  z*input_border_widthr  r  z!*button_secondary_background_fillr  r  z'*button_secondary_background_fill_hoverr  r  z*checkbox_label_background_fillr  r  r  r  z*checkbox_label_border_colorr  r  r  r  r  r  z*spacing_lgr  z!*spacing_md calc(2 * *spacing_md)r  r  r  r  zurl("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")r  zurl("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")r  z*input_shadowr  r  r  z*checkbox_label_text_colorr  r  r  r  r  r  r  r  r  r  r  r  r  r  z*input_background_fillr  r  r  r  r  r  z*secondary_300r  r  z*input_border_colorr  r  r  r  z*spacing_xlr  r  r  r  r  r  r  r  r  r  r   rm  rn  ro  600r  r  r  r  r  r  r  r  r	  r
  r  r  z*color_accent_softr  r  r  rC  rD  rE  rF  rG  z*button_secondary_border_colorrH  rI  z$*button_secondary_border_color_hoverrJ  rK  z*button_secondary_text_colorrL  rM  z"*button_secondary_text_color_hoverrN  rO  z*button_secondary_shadowrP  z*button_secondary_shadow_hoverrQ  z*button_secondary_shadow_activerR  rS  rT  r  r  r  zall 0.2s easer  z!*spacing_lg calc(2 * *spacing_lg)r  z
*radius_mdr  r  r  r   z*primary_600r!  r"  z*primary_700r#  r$  r%  r&  r'  r(  r)  z*button_primary_text_colorr*  r+  r,  z*button_primary_shadowr-  r.  r/  r0  r1  r2  r3  r4  r5  r6  r7  r8  r9  blackr:  r;  r<  r=  r>  r?  r@  rA  rB  r  z#*spacing_sm calc(1.5 * *spacing_sm)r  r  r  r  r  r  r  (  rR   rO  rP  rQ  rR  rS  rV  rW  rb  rc  rd  rX  rY  rZ  r[  r\  r]  r`  ra  re  rg  rh  rf  ri  rj  rk  rl  rT  rU  r  r  r  r  rr  rs  rt  ru  rv  rw  rx  ry  rz  r{  r|  r}  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r^  r_  rp  rq  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   redr   r  r  r  r  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   rm  rn  ro  r  r  r  r  r  r  r  r  r	  r
  r  r  r  r  r  rC  rD  rE  rF  rG  rH  rI  rJ  rK  rL  rM  rN  rO  rP  rQ  rR  rS  rT  r  r  r  r  r  r  r  r  r   r!  r"  r#  r$  r%  r&  r'  r(  r)  r*  r+  r,  r-  r.  r/  r0  r1  r2  r3  r4  r5  r6  r7  r8  r9  r:  r;  r<  r=  r>  r?  r@  rA  rB  r  r  r  r  r  r  r  r  (  r   rO  rP  rQ  rR  rS  rT  rU  rV  rW  rX  rY  rZ  r[  r\  r]  r^  r_  r`  ra  rb  rc  rd  re  rf  rg  rh  ri  rj  rk  rl  rm  rn  ro  rp  rq  rr  rs  rt  ru  rv  rw  rx  ry  rz  r{  r|  r}  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r  r  r  r  r	  r
  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r!  r"  r#  r$  r%  r&  r'  r(  r)  r*  r+  r,  r-  r.  r/  r0  r1  r2  r3  r4  r5  r6  r7  r8  r9  r:  r;  r<  r=  r>  r?  r@  rA  rB  rC  rD  rE  rF  rG  rH  rI  rJ  rK  rL  rM  rN  rO  rP  rQ  rR  rS  rT  s                                                                                                                                                                                                                                                                         r   rM  zBase.set  s%   t %9 %
G(*D=
 =
! *C *
g-/IG
 G
&  /  
'#^3
 3
 %9 %
G(.=
 =
! - 
"J1
 1
 !1 !
G$e5
 5
 )WGD.,,W,W( 
G..-
 -
 "3 "
g%}7
 7
 '= '
*NA
 A
# (? (
'&C
 C
$ -I -
G+^M
 M
) *C *
g(-G
 G
& /M /
PW-~Q
 Q
+ $7 $
'';
 ;
  )A )
G,nE
 E
% %9 %
G(.=
 =
! *C *
g-~G
 G
&  /  
'#%53
 3
 '= '
*,<A
 A
# ,G ,
'/1AK
 K
( %9 %
G(*:=
 =
! &; &
g)+;?
 ?
" +E +
.0@I
 I
' (? (
'+-=C
 C
$ -I -
G02BM
 M
) (? (
'+^C
 C
$ -I -
G0.M
 M
) %9 %
G(*<=
 =
! *C *
g-/AG
 G
& !1 !
G$&85
 5
 &; &
g)+=?
 ?
" ' 
'-!C+
 +
 - 
K1
 1

 ) 
G."J-
 -
 +SgdOU.S.S"4 #
&9
 9
 &; &
g)+E?
 ?
" +E +
.I
 I
' #5 #
&(?9
 9
 (? (
'+-DC
 C
$ #5 #
&9
 9
 (? (
'+TC
 C
$ &; &
g)+E?
 ?
" +E +
.0JI
 I
' %9 %
G(*=
 =
! '= '
*EA
 A
# ,G ,
'/1KK
 K
( - 8:V  	- )A )
G,.EE
 E
% .K .
g13JO
 O
* )A )
G,eE
 E
% .K .
g14O
 O
* #5 #
&9
 9
 '= '
*NA
 A
# ,G ,
'/K
 K
( #5 #
&9
 9
 $7 $
'')B;
 ;
  #5 #
 ?9
 9

 )A )
G&?E
 E
%
 &; &
g):?
 ?
" (? (
'+UC
 C
$ + 
g/#H/
 /
 )WGD.,,W,W(QGD.&,Q,Q!2 "
g%t7
 7
 ,G ,
'/K
 K
( - Gt?FF 	- )A )
G,fE
 E
% .K .
g14O
 O
* )A )
G,eE
 E
% .K .
g14O
 O
* '= '
*NA
 A
# ,G ,
'/K
 K
( $7 $
'';
 ;
  #5 #
&9
 9
 &; &
g):?
 ?
" (? (
'+UC
 C
$ !1 !
G$l5
 5
 -V>NPU0V0V$SlN(S(S%: &
g)+G?
 ?
" +E +
.0LI
 I
' #5 #
&(?9
 9
 (? (
'+-DC
 C
$ #5 #
&9
 9
 (? (
'+TC
 C
$ )A )
G,jE
 E
% +E +
.I
 I
' ,G ,
'/1GK
 K
( - Yt?AWXX 	-
 %9 %
G(.=
 =
! *C *
g-~G
 G
& "3 "
g%z7
 7
 *C *
g-/IG
 G
& /M /
PW2NQ
 Q
+ , 79U  	, 1 6,  	1 , 79U  	, 1 6,  	1 / TtA?SS 	/
 4 YtFXX 	4 &; &
g)>?
 ?
" +E +
.I
 I
' ,G ,
'/K
 K
( - Rt?QQ 	- ,G ,
'/K
 K
( - Qt?PP 	- /M /
PW2OQ
 Q
+ 0 UtBOTT 	0 '= '
*LA
 A
# &; &
g)+@?
 ?
" +E +
.0EI
 I
' /M /
PW24WQ
 Q
+ 0 53  	0 1 69  	1 6 ;9  	6 4 91  	4 9 >1  	9 ,G ,
'/1HK
 K
( - 8:Q  	- . 3.  	. 3 8.  	3 1 6.  	1 6 ;.  	6 ,G ,
'/1FK
 K
( - Xt?AVWW 	- #5 #
&9
 9
 '= '
*,OA
 A
# &; &
g)6?
 ?
" )A )
G,jE
 E
% +E +
.I
 I
' - 
 G1
 1

 ) 
G e-
 -

  /  
'#_3
 3
 *C *
g-/AG
 G
& /M /
PW24FQ
 Q
+ / :<X  	/ 4 9,  	4 &; &
g)6:>?
 ?
" +E +
.0JI
 I
' #5 #
&
9
 9
 (? (
'+VZ_C
 C
$ #5 #
&9
 9
 (? (
'+TC
 C
$ !1 !
G$fjo5
 5
 &; &
g)6:>?
 ?
" !1 !
G$fjo5
 5
 &; &
g)6:??
 ?
" &; &
g)>?
 ?
" +E +
.I
 I
' ,G ,
'/1IK
 K
( - Gt?FF 	- ,G ,
'/1IK
 K
( - 8:R  	- #5 #
&(?9
 9
 (? (
'+-DC
 C
$ )A )
G,.>E
 E
% .K .
g1>O
 O
* )A )
G,.CE
 E
% .K .
g13HO
 O
* #5 #
&9
 9
 (? (
'+TC
 C
$ + 
g/=/
 /
 (? (
'+^C
 C
$ -I -
G0.M
 M
) )WGD.,,W,W(QGD.&,Q,Q!2 "
g%t7
 7
 #5 #
&9
 9
 (? (
'+TC
 C
$  /  
'#Z3
 3
 "3 "
g%u7
 7
 ) 
G./-
 -
 "3 "
g%t7
 7
  /  
'#Z3
 3
 "3 "
g%u7
 7
 )A )
G,eE
 E
% ) 
G./-
 -
 "3 "
g%t7
 7
 %9 %
G(.=
 =
! *C *
g-~G
 G
& #5 #
&9
 9
 (? (
'+^C
 C
$ +E +
.I
 I
' , Pt>OO 	, *C *
g-}G
 G
& /M /
PW2NQ
 Q
+ )WGD.,,W,W.  
'#%93
 3
 %9 %
G(*>=
 =
! $7 $
'')>;
 ;
  )A )
G,dE
 E
% .K .
g13VO
 O
* / 43  	/ 0 59  	0 5 :9  	5 +E +
.0PI
 I
' , 10  	, - 26  	- 2 76  	2 )A )
G,.LE
 E
% .K .
g13QO
 O
* /M /
PW24XQ
 Q
+ 0 MtBGLL 	0
 %9 %
G(*D=
 =
! +E +
.0PI
 I
' ,G ,
'/1RK
 K
( *C *
g-/IG
 G
& , 10  	, - 21  	- '= '
*FA
 A
# (? (
'+VC
 C
$ "3 "
g%7
 7
 %9 %
G(*M=
 =
! $7 $
'';
 ;
  '= '
*JA
 A
# )A )
G,eE
 E
% /M /
PW2NQ
 Q
+ 0 TtBNSS 	0
 1 UtC^TT 	1
 6 ;  	6 ,G ,
'/K
 K
( - Qt?PP 	-
 . 3  	. 3 8  	3 *C *
g-wG
 G
& /M /
PW2GQ
 Q
+ , 79U  	, 1 6,  	1 &; &
g)6?
 ?
" ,G ,
'/1IK
 K
( -I -
G02JM
 M
) +E +
.I
 I
' - 8:R  	- . 9;S  	. - Qt?PP 	-
 2 VtDnUU 	2
 3 WtE~VV 	3
 8 C^  	8 .K .
g1>O
 O
* / StA>RR 	/
 0 5  	0 5 :  	5 ,G ,
'/K
 K
( - Jt?II 	-
 . 3.  	. 3 8.  	3 (? (
'+-EC
 C
$ .K .
g13MO
 O
* /M /
PW24NQ
 Q
+ -I -
G0$M
 M
) / :<V  	/ 0 ;=W  	0 %9 %
G(*O=
 =
! $7 $
'';
 ;
  '= '
*JA
 A
# )A )
G,eE
 E
% &; &
g)+N?
 ?
" %9 %
G(,=
 =
! (? (
'+ZC
 C
$ *C *
g-uG
 G
& r   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )rF   rn   )r   r   r   r   bluezincr   rD  r3  r=  r	   r   r   rM  r3   r   r   rn   rn   Y  s       
 +1+,2K*0+&+m).)9(-EOO,,	?
 EOO,,	D
Z Z Z Z Z Z@ ""&! $%) $%)"&'+ !%$()-!"&#!#$("#' $%)!%!"&"#' $ $"#'!#$()-!%&*!%&*#$( !%" $$()-!%&*!%&*#$( " $"#' $ $!%#'!"&""&'+(,-1(,-1+/04"#'$()-$()-'+,0#"#''+,0-1260459$()-*./3-126$()-#"!%#'"&'++/04"#' $ $"""#'$()-$()- $!%&*!%&* $ $%) $!"& $#'(,"&'+! !%# $! #!%! #!%"! $"&'+,0-126$()-*./3"&'+(,-1"$(%)#')-*.)-.2/348&*+/,015$()-*./3 $&*'+%)+/,0&*+/,015#'(,)-.2!%&*'+,0!#'$("&(,)-_t t t t t t t tr   rn   )
__future__r   rf   r;   r   r   rP   collections.abcr   pathlibr   r   semantic_versionr   gradio_client.documentationr   r   gradio.themes.utilsr   r	   r
   r   r   "gradio.themes.utils.readme_contentr   r   rn   r3   r   r   <module>rm     s   " " " " " "  				    $ $ $ $ $ $           ! ! ! ! 0 0 0 0 0 0 . . . . . .              > = = = = =| | | | | | | |~	 
-VV[)LLQ Q Q Q Q: Q Q MLQ Q Qr   