+
    Ri                      a  0 t $ R t^ RIHt ^ RIHtHt ^ RIHtH	t	H
t
 . R'Ot ! R	 R]
4      t ]! R
R
RRRRRRRRR7
      t. R(OtRRRRRRRRRRRRRRRRRRR R/
tR!]R&   ]! ]P%                  4       4      P'                  ]! ]4      4      '       g   Q h]! ]P)                  4       4      ]! ]4      ,          '       d   Q h ! R" R]R#7      t ! R$ R]4      t ! R% R]4      tR&# ))z#
The base classes for the styling.
)annotations)ABCMetaabstractmethod)CallableHashable
NamedTupleAttrsANSI_COLOR_NAMES_ALIASES	BaseStyle
DummyStyleDynamicStylec                  |    ] tR t^t$ R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R	&   R]R
&   R]R&   R]R&   RtR# )r   z
str | Nonecolorbgcolorzbool | Nonebold	underlinestrikeitalicblinkreversehiddendim N)__name__
__module____qualname____firstlineno____annotations____static_attributes__r       Y/home/ubuntu/hermes-agent/venv/lib/python3.14/site-packages/prompt_toolkit/styles/base.pyr   r      s>    
	r    F)
r   r   r   r   r   r   r   r   r   r   ansired	ansigreen
ansiyellowansiblueansimagentaansicyanansigrayansibrightblackansibrightmagentaansibrightcyanansidarkgrayansitealansiturquoise	ansibrown
ansipurpleansifuchsiaansilightgrayansidarkredansidarkgreenansidarkbluezdict[str, str]c                  l    ] tR t^ptRt]]3R R ll4       t]]R R l4       4       t	]R R l4       t
RtR	# )
r
   z0
Abstract base class for prompt_toolkit styles.
c               $    V ^8  d   QhRRRRRR/#    	style_strstrdefaultr   returnr   )formats   "r    __annotate__BaseStyle.__annotate__v   s$     	 		',			r   c                    R# )z
Return :class:`.Attrs` for the given style string.

:param style_str: The style string. This can contain inline styling as
    well as classnames (e.g. "class:title").
:param default: `Attrs` to be used if no styling was defined.
Nr   selfr:   r<   s   &&&r    get_attrs_for_style_str!BaseStyle.get_attrs_for_style_stru       r   c                   V ^8  d   QhRR/# r9   r=   zlist[tuple[str, str]]r   )r>   s   "r    r?   r@      s      2 r   c                    . # )zo
The list of style rules, used to create this style.
(Required for `DynamicStyle` and `_MergedStyle` to work.)
r   rC   s   &r    style_rulesBaseStyle.style_rules   s	     	r   c                   V ^8  d   QhRR/# r9   r=   r   r   )r>   s   "r    r?   r@      s      8 r   c                    R# )z
Invalidation hash for the style. When this changes over time, the
renderer knows that something in the style changed, and that everything
has to be redrawn.
Nr   rJ   s   &r    invalidation_hashBaseStyle.invalidation_hash   rF   r   r   N)r   r   r   r   __doc__r   DEFAULT_ATTRSrD   propertyrK   rP   r   r   r   r    r
   r
   p   sN     /<	 	     r   )	metaclassc                  N    ] tR t^tRt]3R R lltR R lt]R R l4       t	Rt
R	# )
r   z&
A style that doesn't style anything.
c               $    V ^8  d   QhRRRRRR/# r8   r   )r>   s   "r    r?   DummyStyle.__annotate__   s$      ',	r   c                	    V# Nr   rB   s   &&&r    rD   "DummyStyle.get_attrs_for_style_str   s	     r   c                   V ^8  d   QhRR/# rN   r   )r>   s   "r    r?   rX      s      8 r   c                	    ^# )   r   rJ   s   &r    rP   DummyStyle.invalidation_hash   s    r   c                   V ^8  d   QhRR/# rH   r   )r>   s   "r    r?   rX      s      2 r   c                	    . # rZ   r   rJ   s   &r    rK   DummyStyle.style_rules   s    	r   r   N)r   r   r   r   rR   rS   rD   rP   rT   rK   r   r   r   r    r   r      s*    
 0=
  r   c                  Z    ] tR t^tRtR R lt]3R R lltR R lt]	R R	 l4       t
R
tR# )r   z
Style class that can dynamically returns an other Style.

:param get_style: Callable that returns a :class:`.Style` instance.
c                   V ^8  d   QhRR/# )r9   	get_stylezCallable[[], BaseStyle | None]r   )r>   s   "r    r?   DynamicStyle.__annotate__   s     # #"@ #r   c                	0    Wn         \        4       V n        R # rZ   )re   r   _dummy)rC   re   s   &&r    __init__DynamicStyle.__init__   s    " lr   c               $    V ^8  d   QhRRRRRR/# r8   r   )r>   s   "r    r?   rf      s)     A AA',A	Ar   c                	l    V P                  4       ;'       g    V P                  pVP                  W4      # rZ   )re   rh   rD   )rC   r:   r<   styles   &&& r    rD   $DynamicStyle.get_attrs_for_style_str   s-      //DKK,,Y@@r   c                   V ^8  d   QhRR/# rN   r   )r>   s   "r    r?   rf      s     E E8 Er   c                	f    V P                  4       ;'       g    V P                  P                  4       # rZ   )re   rh   rP   rJ   s   &r    rP   DynamicStyle.invalidation_hash   s$     //DKKBBDDr   c                   V ^8  d   QhRR/# rH   r   )r>   s   "r    r?   rf      s     = =2 =r   c                	^    V P                  4       ;'       g    V P                  P                  # rZ   )re   rh   rK   rJ   s   &r    rK   DynamicStyle.style_rules   s!     //DKK<<<r   )rh   re   N)r   r   r   r   rR   ri   rS   rD   rP   rT   rK   r   r   r   r    r   r      s1    #
 0=AE = =r   N)r   rS   ANSI_COLOR_NAMESr	   r
   r   r   )ansidefault	ansiblackr"   r#   r$   r%   r&   r'   r(   r)   ansibrightredansibrightgreenansibrightyellowansibrightbluer*   r+   	ansiwhite)__conditional_annotations__rR   
__future__r   abcr   r   typingr   r   r   __all__r   rS   ru   r	   r   setvaluesissubsetkeysr
   r   r   )r}   s   @r    <module>r      s"   # ' 1 1
J 
 
	
& : %
%-&Z9[J, .  #**,-66s;K7LMM MM(--/037G3HHH II '  F $=9 =r   