
    -eeA                    &   d Z ddlmZ ddlZ ej        e          ZddlmZ ddl	m
Z
mZmZ ddlmZ dZe G d	 d
e                      Z G d de          Z G d de          Z G d de          Z G d de          Z G d de          ZdS )z2 Various abstractions over the CSS object model.

    )annotationsN   )abstract)NullableRequiredString)Model)GlobalImportedStyleSheetGlobalInlineStyleSheetImportedStyleSheetInlineStyleSheetStylesc                  $     e Zd ZdZd fdZ xZS )
StyleSheet returnNonec                :     t                      j        |i | d S Nsuper__init__selfargskwargs	__class__s      0lib/python3.11/site-packages/bokeh/models/css.pyr   zStyleSheet.__init__1   %    $)&)))))    r   r   __name__
__module____qualname____doc__r   __classcell__r   s   @r   r   r   ,   sB        G* * * * * * * * * *r    r   c                  >     e Zd ZdZd fdZ eed          Z xZS )r   a   Inline stylesheet equivalent to ``<style type="text/css">${css}</style>``.

    .. note::
        Depending on the context, this stylesheet will be appended either to
        the the parent shadow root, if used in a component, or otherwise to
        the ``<head>`` element. If you want to append globally regardless of
        the context, use ``GlobalInlineStyleSheet`` instead.
    r   r   c                :     t                      j        |i | d S r   r   r   s      r   r   zInlineStyleSheet.__init__?   r   r    z*
    The contents of this stylesheet.
    helpr!   )	r#   r$   r%   r&   r   r   r   cssr'   r(   s   @r   r   r   4   Z         * * * * * * (6 ! 	 	 	CCCCCr    r   c                  >     e Zd ZdZd fdZ eed          Z xZS )r   a   Imported stylesheet equivalent to ``<link rel="stylesheet" href="${url}">``.

    .. note::
        Depending on the context, this stylesheet will be appended either to
        the the parent shadow root, if used in a component, or otherwise to
        the ``<head>`` element. If you want to append globally regardless of
        the context, use ``GlobalImportedStyleSheet`` instead.
    r   r   c                :     t                      j        |i | d S r   r   r   s      r   r   zImportedStyleSheet.__init__Q   r   r    z1
    The location of an external stylesheet.
    r+   r!   )	r#   r$   r%   r&   r   r   r   urlr'   r(   s   @r   r   r   F   r.   r    r   c                  $     e Zd ZdZd fdZ xZS )r   z An inline stylesheet that's appended to the ``<head>`` element.

    .. note::
        A stylesheet will be appended only once, regardless of how
        many times it's being used in other models.
    r   r   c                :     t                      j        |i | d S r   r   r   s      r   r   zGlobalInlineStyleSheet.__init__a   r   r    r!   r"   r(   s   @r   r   r   X   G         * * * * * * * * * *r    r   c                  $     e Zd ZdZd fdZ xZS )r
   z An imported stylesheet that's appended to the ``<head>`` element.

    .. note::
        A stylesheet will be appended only once, regardless of how
        many times it's being used in other models.
    r   r   c                :     t                      j        |i | d S r   r   r   s      r   r   z!GlobalImportedStyleSheet.__init__m   r   r    r!   r"   r(   s   @r   r
   r
   d   r4   r    r
   c                      e Zd ZdZd fdZ ee          Z ee          Z ee          Z	 ee          Z
 ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z  ee          Z! ee          Z" ee          Z# ee          Z$ ee          Z% ee          Z& ee          Z' ee          Z( ee          Z) ee          Z* ee          Z+ ee          Z, ee          Z- ee          Z. ee          Z/ ee          Z0 ee          Z1 ee          Z2 ee          Z3 ee          Z4 ee          Z5 ee          Z6 ee          Z7 ee          Z8 ee          Z9 ee          Z: ee          Z; ee          Z< ee          Z= ee          Z> ee          Z? ee          Z@ ee          ZA ee          ZB ee          ZC ee          ZD ee          ZE ee          ZF ee          ZG ee          ZH ee          ZI ee          ZJ ee          ZK ee          ZL ee          ZM ee          ZN ee          ZO ee          ZP ee          ZQ ee          ZR ee          ZS ee          ZT ee          ZU ee          ZV ee          ZW ee          ZX ee          ZY ee          ZZ ee          Z[ ee          Z\ ee          Z] ee          Z^ ee          Z_ ee          Z` ee          Za ee          Zb ee          Zc ee          Zd ee          Ze ee          Zf ee          Zg ee          Zh ee          Zi ee          Zj ee          Zk ee          Zl ee          Zm ee          Zn ee          Zo ee          Zp ee          Zq ee          Zr ee          Zs ee          Zt ee          Zu ee          Zv ee          Zw ee          Zx ee          Zy ee          Zz ee          Z{ ee          Z| ee          Z} ee          Z~ ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z eed          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z  ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z	 ee          Z
 ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z ee          Z  ee          Z! ee          Z" ee          Z# ee          Z$ ee          Z% ee          Z& ee          Z' ee          Z( ee          Z) ee          Z* ee          Z+ ee          Z, ee          Z- ee          Z. ee          Z/ ee          Z0 ee          Z1 ee          Z2 ee          Z3 ee          Z4 ee          Z5 ee          Z6 ee          Z7 ee          Z8 ee          Z9 ee          Z: ee          Z; ee          Z< ee          Z= ee          Z> ee          Z? xZ@S )r   z6 Allows to configure style attribute of DOM elements. r   r   c                :     t                      j        |i | d S r   r   r   s      r   r   zStyles.__init__t   r   r    aq  
    The `min-inline-size`_ CSS property defines the horizontal or vertical
    minimal size of an element's block, depending on its writing mode. It
    corresponds to either the ``min-width`` or the ``min-height`` property,
    depending on the value of ``writing-mode``.

    .. _min-inline-size: https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size
    r+   r!   (A  r#   r$   r%   r&   r   r   r   align_contentalign_items
align_selfalignment_baselineall	animationanimation_delayanimation_directionanimation_durationanimation_fill_modeanimation_iteration_countanimation_nameanimation_play_stateanimation_timing_functionaspect_ratiobackface_visibility
backgroundbackground_attachmentbackground_clipbackground_colorbackground_imagebackground_originbackground_positionbackground_position_xbackground_position_ybackground_repeatbackground_sizebaseline_shift
block_sizeborderborder_block_endborder_block_end_colorborder_block_end_styleborder_block_end_widthborder_block_startborder_block_start_colorborder_block_start_styleborder_block_start_widthborder_bottomborder_bottom_colorborder_bottom_left_radiusborder_bottom_right_radiusborder_bottom_styleborder_bottom_widthborder_collapseborder_colorborder_imageborder_image_outsetborder_image_repeatborder_image_sliceborder_image_sourceborder_image_widthborder_inline_endborder_inline_end_colorborder_inline_end_styleborder_inline_end_widthborder_inline_startborder_inline_start_colorborder_inline_start_styleborder_inline_start_widthborder_leftborder_left_colorborder_left_styleborder_left_widthborder_radiusborder_rightborder_right_colorborder_right_styleborder_right_widthborder_spacingborder_style
border_topborder_top_colorborder_top_left_radiusborder_top_right_radiusborder_top_styleborder_top_widthborder_widthbottom
box_shadow
box_sizingbreak_afterbreak_beforebreak_insidecaption_sidecaret_colorclearclip	clip_path	clip_rulecolorcolor_interpolationcolor_interpolation_filterscolumn_countcolumn_fill
column_gapcolumn_rulecolumn_rule_colorcolumn_rule_stylecolumn_rule_widthcolumn_spancolumn_widthcolumnscontentcounter_incrementcounter_resetcursor	directiondisplaydominant_baselineempty_cellsfillfill_opacity	fill_rulefilterflex
flex_basisflex_direction	flex_flow	flex_growflex_shrink	flex_wrapfloatflood_colorflood_opacityfontfont_familyfont_feature_settingsfont_kerning	font_sizefont_size_adjustfont_stretch
font_stylefont_synthesisfont_variantfont_variant_capsfont_variant_east_asianfont_variant_ligaturesfont_variant_numericfont_variant_positionfont_weightgapglyph_orientation_verticalgrid	grid_areagrid_auto_columnsgrid_auto_flowgrid_auto_rowsgrid_columngrid_column_endgrid_column_gapgrid_column_startgrid_gapgrid_rowgrid_row_endgrid_row_gapgrid_row_startgrid_templategrid_template_areasgrid_template_columnsgrid_template_rowsheighthyphensimage_orientationimage_renderinginline_sizejustify_contentjustify_itemsjustify_selfleftletter_spacinglighting_color
line_breakline_height
list_stylelist_style_imagelist_style_positionlist_style_typemarginmargin_block_endmargin_block_startmargin_bottommargin_inline_endmargin_inline_startmargin_leftmargin_right
margin_topmarker
marker_end
marker_midmarker_startmaskmask_composite
mask_imagemask_positionmask_repeat	mask_size	mask_typemax_block_size
max_heightmax_inline_size	max_widthmin_block_size
min_heightmin_inline_size	min_width
object_fitobject_positionopacityorderorphansoutlineoutline_coloroutline_offsetoutline_styleoutline_widthoverflowoverflow_anchoroverflow_wrap
overflow_x
overflow_yoverscroll_behavioroverscroll_behavior_blockoverscroll_behavior_inlineoverscroll_behavior_xoverscroll_behavior_ypaddingpadding_block_endpadding_block_startpadding_bottompadding_inline_endpadding_inline_startpadding_leftpadding_rightpadding_toppage_break_afterpage_break_beforepage_break_insidepaint_orderperspectiveperspective_originplace_contentplace_items
place_selfpointer_eventspositionquotesresizerightrotaterow_gap
ruby_alignruby_positionscalescroll_behaviorshape_rendering
stop_colorstop_opacitystrokestroke_dasharraystroke_dashoffsetstroke_linecapstroke_linejoinstroke_miterlimitstroke_opacitystroke_widthtab_sizetable_layout
text_aligntext_align_lasttext_anchortext_combine_uprighttext_decorationtext_decoration_colortext_decoration_linetext_decoration_styletext_emphasistext_emphasis_colortext_emphasis_positiontext_emphasis_styletext_indenttext_justifytext_orientationtext_overflowtext_renderingtext_shadowtext_transformtext_underline_positiontoptouch_action	transformtransform_boxtransform_origintransform_style
transitiontransition_delaytransition_durationtransition_propertytransition_timing_function	translateunicode_bidiuser_selectvertical_align
visibilitywhite_spacewidowswidthwill_change
word_breakword_spacing	word_wrapwriting_modez_indexr'   r(   s   @r   r   r   p   s       @@* * * * * * HV$$M(6""K&!!J!&))
(6

C  Ihv&&O"(6**!&))"(6** ( 0 0Xf%%N#8F++ ( 0 08F##L"(6**&!!J$HV,,hv&&Ox''x'' (("(6**$HV,,$HV,, ((hv&&OXf%%N&!!JXfFx''%Xf--%Xf--%Xf--!&))'x//'x//'x//HV$$M"(6** ( 0 0!)&!1!1"(6**"(6**hv&&O8F##L8F##L"(6**"(6**!&))"(6**!&)) ((&hv..&hv..&hv.."(6** ( 0 0 ( 0 0 ( 0 0(6""K (( (( ((HV$$M8F##L!&))!&))!&))Xf%%N8F##L&!!Jx''%Xf--&hv..x''x''8F##LXfF&!!J&!!J(6""K8F##L8F##L8F##L(6""KHVE8FD  I  IHVE"(6**"*(6"2"28F##L(6""K&!!J(6""K (( (( (((6""K8F##LhvGhvG ((HV$$MXfF  IhvG (((6""K8FD8F##L  IXfF8FD&!!JXf%%N  I  I(6""K  IHVE(6""KHV$$M8FD(6""K$HV,,8F##L  Ix''8F##L&!!JXf%%N8F##L ((&hv..%Xf--#8F++$HV,,(6""K
(6

C!)&!1!18FD  I ((Xf%%NXf%%N(6""Khv&&Ohv&&O ((xHxH8F##L8F##LXf%%NHV$$M"(6**$HV,,!&))XfFhvG ((hv&&O(6""Khv&&OHV$$M8F##L8FDXf%%NXf%%N&!!J(6""K&!!Jx''"(6**hv&&OXfFx''!&))HV$$M (("(6**(6""K8F##L&!!JXfF&!!J&!!J8F##L8FDXf%%N&!!JHV$$M(6""K  I  IXf%%N&!!Jhv&&O  IXf%%N&!!Jhv - 	 	 	O   I&!!Jhv&&OhvGHVEhvGhvGHV$$MXf%%NHV$$MHV$$MxHhv&&OHV$$M&!!J&!!J"(6** ( 0 0!)&!1!1$HV,,$HV,,hvG (("(6**Xf%%N!&))#8F++8F##LHV$$M(6""Kx'' (( (((6""K(6""K!&))HV$$M(6""K&!!JXf%%NxHXfFXfFHVEXfFhvG&!!JHV$$MHVEhv&&Ohv&&O&!!J8F##LXfFx'' ((Xf%%Nhv&&O ((Xf%%N8F##LxH8F##L&!!Jhv&&O(6""K#8F++hv&&O$HV,,#8F++$HV,,HV$$M"(6**%Xf--"(6**(6""K8F##Lx''HV$$MXf%%N(6""KXf%%N&hv..
(6

C8F##L  IHV$$Mx''hv&&O&!!Jx''"(6**"(6**!)&!1!1  I8F##L(6""KXf%%N&!!J(6""KXfFHVE(6""K&!!J8F##L  I8F##LhvGGGGGr    r   )r&   
__future__r   logging	getLoggerr#   logcore.has_propsr   core.propertiesr   r   r   modelr	   __all__r   r   r   r   r
   r    r    r   <module>r{     s    # " " " " " g!! & % % % % % 8 8 8 8 8 8 8 8 8 8       
* * * * * * * 
*	 	 	 	 	z 	 	 	$	 	 	 	 	 	 	 	$
* 
* 
* 
* 
*- 
* 
* 
*
* 
* 
* 
* 
*1 
* 
* 
*G G G G GU G G G G Gr    