+
    i+                     x   ^ RI HtHt ^RIHt ^RIHtHt ^RIH	t	 ^RI
Ht ^RIHtHt ^RIHtHt ^RIHt ^R	IHtHt ^R
IHtHt ]'       d   ^RIHtHtHtHt  ! R R]4      t] R8X  dL   ^RIHt ]! 4       t!^RIH"t"Ht ^RIHt ]! RRR]"^R7      t#]!PI                  4        ]!PI                  ]#4       R# R# )    )TYPE_CHECKINGOptional)AlignMethod)ROUNDEDBox)cell_len)JupyterMixin)Measurementmeasure_renderables)PaddingPaddingDimensions)Segment)Style	StyleType)TextTextType)ConsoleConsoleOptionsRenderableTypeRenderResultc                     a  ] tR t^t o Rt]3RRRRRRRRRRR	R
RRRRRRRRRR RR/V 3R lR lllt]]3RRRRRRRRRRRRRRRRRRRR RR/V 3R lR lll4       t]	V 3R lR l4       t
]	V 3R lR l4       tV 3R lR ltV 3R lR ltRtV tR# )!Panela  A console renderable that draws a border around its contents.

Example:
    >>> console.print(Panel("Hello, World!"))

Args:
    renderable (RenderableType): A console renderable object.
    box (Box): A Box instance that defines the look of the border (see :ref:`appendix_box`. Defaults to box.ROUNDED.
    title (Optional[TextType], optional): Optional title displayed in panel header. Defaults to None.
    title_align (AlignMethod, optional): Alignment of title. Defaults to "center".
    subtitle (Optional[TextType], optional): Optional subtitle displayed in panel footer. Defaults to None.
    subtitle_align (AlignMethod, optional): Alignment of subtitle. Defaults to "center".
    safe_box (bool, optional): Disable box characters that don't display on windows legacy terminal with *raster* fonts. Defaults to True.
    expand (bool, optional): If True the panel will stretch to fill the console width, otherwise it will be sized to fit the contents. Defaults to True.
    style (str, optional): The style of the panel (border and contents). Defaults to "none".
    border_style (str, optional): The style of the border. Defaults to "none".
    width (Optional[int], optional): Optional width of panel. Defaults to None to auto-detect.
    height (Optional[int], optional): Optional height of panel. Defaults to None to auto-detect.
    padding (Optional[PaddingDimensions]): Optional padding around renderable. Defaults to 0.
    highlight (bool, optional): Enable automatic highlighting of panel title (if str). Defaults to False.
titleNtitle_aligncentersubtitlesubtitle_alignsafe_boxexpandTstylenoneborder_stylewidthheightpadding	highlightFc                   < V ^8  d   QhRRRS[ RS[S[,          RS[RS[S[,          RS[RS[S[,          R	S[R
S[RS[RS[S[,          RS[S[,          RS[RS[RR/# )   
renderabler   boxr   r   r   r   r   r   r    r"   r#   r$   r%   r&   returnNr   r   r   r   boolr   intr   )format__classdict__s   "]/home/wkmabra/.openclaw/workspace/venv/lib/python3.14/site-packages/pip/_vendor/rich/panel.py__annotate__Panel.__annotate__(   s     # #$# #
 !# !# 8$# $# 4.# # #  # }# # ##  !#" 
##    c                   Wn         W n        W0n        W@n        WPn        W`n        Wpn        Wn        Wn        Wn	        Wn
        Wn        Wn        Wn        R # N)r)   r*   r   r   r   r   r   r   r    r"   r#   r$   r%   r&   )selfr)   r*   r   r   r   r   r   r   r    r"   r#   r$   r%   r&   s   &&&$$$$$$$$$$$$r1   __init__Panel.__init__(   sM    $ %
(3 , 
(
"r4   c                   < V ^8  d   QhRRRS[ RS[S[,          RS[RS[S[,          RS[RS[S[,          R	S[R
S[RS[S[,          RS[S[,          RS[RS[RR/# )r(   r)   r   r*   r   r   r   r   r   r    r"   r#   r$   r%   r&   r+   r   r,   )r/   r0   s   "r1   r2   r3   J   s     !
 !
$!
 !

 !!
 !!
 8$!
 $!
 4.!
 !
  !
 }!
 !
 #!
 !
  
!!
r4   c               .    V ! VVVVVVVVV	V
VVVRR7      # )z2An alternative constructor that sets expand=False.F)r   r   r   r   r   r    r"   r#   r$   r%   r&   r    )clsr)   r*   r   r   r   r   r   r    r"   r#   r$   r%   r&   s   &&&$$$$$$$$$$$r1   fit	Panel.fitI   s;    & #)%
 	
r4   c                0   < V ^8  d   QhRS[ S[,          /# r(   r+   r   r   )r/   r0   s   "r1   r2   r3   n   s       r4   c                   V P                   '       d   \        V P                   \        4      '       d!   \        P                  ! V P                   4      MV P                   P                  4       pR Vn        VP                  P                  RR4      Vn        RVn	        VP                  4        VP                  ^4       V# R#  
 TN)r   
isinstancestrr   from_markupcopyendplainreplaceno_wrapexpand_tabspad)r7   
title_texts   & r1   _titlePanel._titlem   s    ::: djj#..   ,ZZ__& 
  JN)//77cBJ!%J""$NN1r4   c                0   < V ^8  d   QhRS[ S[,          /# rA   rB   )r/   r0   s   "r1   r2   r3   ~   s      8D> r4   c                   V P                   '       d   \        V P                   \        4      '       d!   \        P                  ! V P                   4      MV P                   P                  4       pR Vn        VP                  P                  RR4      Vn        RVn	        VP                  4        VP                  ^4       V# R# rD   )r   rH   rI   r   rJ   rK   rL   rM   rN   rO   rP   rQ   )r7   subtitle_texts   & r1   	_subtitlePanel._subtitle}   s    === dmmS11   /]]'') 
 !#M"/"5"5"="=dC"HM$(M!%%'a   r4   c                &   < V ^8  d   QhRRRRRR/# )r(   consoler   optionsr   r+   r   r<   )r/   r0   s   "r1   r2   r3      s*     F F F+;F	Fr4   c              #    a"   \         P                  ! V P                  4      p\        V4      '       d   \        V P                  V4      MV P                  pSP                  V P                  4      pVSP                  V P                  4      ,           pV P                  f   VP                  M\        VP                  V P                  4      pV P                  f   SP                  MV P                  pV P                  P                  W(R7      p	R V3R llp
V P                  pVe   VP                  V4       V P                   '       d
   V^,
          M1SP#                  WBP%                  V^,
          4      R7      P&                  pV P(                  ;'       g    VP(                  ;'       g    R pV'       d
   V^,          pVe8   \        VP                  ^,
          \+        WP,                  ^,           4      4      pV^,           pVP/                  WV P0                  R7      pSP3                  WNVR7      p\5        V	P6                  V4      p\5        V	P8                   V4      p\4        P:                  ! 4       pVe   V^8:  d'   \5        V	P=                  V^,
          .4      V4      x  MV
! VV^,
          V P>                  V	P@                  V4      p\5        V	PB                  V	P@                  ,           V4      x  SPE                  WP%                  V^,
          4      4       R j  xL
  \5        V	P@                  V	PF                  ,           V4      x  Vx  V F  pVx  T R j  xL
  Vx  Vx  K  	  V PH                  pVe   VP                  V4       Ve   V^8:  d'   \5        V	PK                  V^,
          .4      V4      x  MV
! VV^,
          V PL                  V	PN                  V4      p\5        V	PP                  V	PN                  ,           V4      x  SPE                  VVP%                  V^,
          4      4       R j  xL
  \5        V	PN                  V	PR                  ,           V4      x  Vx  R #  ELR EL L95i)N)safec                `    V ^8  d   QhR\         R\        R\        R\        R\        R\         /# )r(   textr#   align	characterr    r+   )r   r.   rI   r   )r/   s   "r1   r2   ,Panel.__rich_console__.<locals>.__annotate__   s<     -	 -	-	"-	+.-	;>-	GL-	-	r4   c                $  < V P                  4       p V P                  V4       V\        V P                  4      ,
          pV P                  '       d+   V P                  SP                  V P                  4      4       V'       d   VR8X  d#   \        P                  ! V W5,          V3RRR7      # VR8X  d<   V^,          p\        P                  ! W6,          V3V W5V,
          ,          V3RRR7      # \        P                  ! W5,          V3V RRR7      # V # )zGets new aligned text.

Args:
    text (Text): Title or subtitle text.
    width (int): Desired width.
    align (str): Alignment.
    character (str): Character for alignment.
    style (Style): Border style

Returns:
    Text: New text instance
leftTrE   )rO   rL   r   )	rK   truncater   rM   r    stylize	get_styler   assemble)r`   r#   ra   rb   r    excess_spacere   r[   s   &&&&&  r1   
align_text*Panel.__rich_console__.<locals>.align_text   s     99;DMM%  8DJJ#77LzzzW..tzz:;F?=="159 $	  h&'1,D==")51"T&9:EB $   =="159 $	  Kr4   )r\   )r#   r$   r&   )r    )*r   unpackr%   anyr)   rh   r    r"   r#   	max_widthminr   r*   
substituterS   stylize_beforer   measureupdate_widthmaximumr$   maxr   updater&   render_linesr   mid_left	mid_rightlineget_topr   toptop_leftrender	top_rightrX   
get_bottomr   bottombottom_leftbottom_right)r7   r[   r\   _paddingr)   r    r"   r#   r   r*   rk   rR   child_widthchild_heightchild_optionslines
line_startline_endnew_liner{   rW   s   &f&                  r1   __rich_console__Panel.__rich_console__   s     >>$,,/25h--GDOOX.T__ 	 !!$**-w001B1BCC zz! W&&

3 	 .2]]-B))hh!!'!9-	 -	^ [[
!%%l3 {{{ AI$8$8$C ! g 	 {{<<gnn<<AL!!!A%s;8K8Ka8O'PK adnn ' 
 $$Ze$LS\\<8
cmm_|<<<>!#++uqyk2LAA#	  J #,,0,??~~j2L2LUUVY2WXXX#''CMM1<@@DOONN	  $((6 EQJ#..%!)5|DD&	##

M #//CJJ6EE~~}99%!)D   #**s'7'77FF= Y &sQ   EQ=AQ=Q=.
Q=9E*Q=#Q5$?Q=#Q8$CQ=Q;4Q=8Q=;Q=c                &   < V ^8  d   QhRRRRRR/# )r(   r[   r   r\   r   r+   r
   r<   )r/   r0   s   "r1   r2   r3     s%     ) ) )+;)	)r4   c                   V P                   p\        P                  ! V P                  4      w  rErFWe,           pV'       d   V P                  V.MV P                  .pV P
                  fN   \        VVP                  VP                  V,
          ^,
          4      V4      P                  V,           ^,           p	MV P
                  p	\        W4      # r6   )rS   r   rm   r%   r)   r#   r   rt   ro   ru   r
   )
r7   r[   r\   rS   _rightre   r%   renderablesr#   s
   &&&       r1   __rich_measure__Panel.__rich_measure__  s     #NN4<<8!,39t/?P::#(():):W)Dq)HI '   JJE5((r4   )r"   r*   r   r$   r&   r%   r)   r   r    r   r   r   r   r#   )r      )__name__
__module____qualname____firstlineno____doc__r   r8   classmethodr>   propertyrS   rX   r   r   __static_attributes____classdictcell__)r0   s   @r1   r   r      s^    2 #
 %)# $,# (,# '/# $(# # "# #)#  $# !%# &,#   !# #B  !

 %)!
 $,!
 (,!
 '/!
 $(!
 "!
 #)!
  $!
 !%!
 &,!
  !
 !
 !
F    F FP) )r4   r   __main__)r   )DOUBLEr   )r   zHello, World!z
rich.Panelzwhite on blue)r   r    r*   r%   N)%typingr   r   ra   r   r*   r   r   cellsr   jupyterr	   rs   r
   r   r%   r   r   segmentr   r    r   r   r`   r   r   r[   r   r   r   r   r   r   cr   pprintr<   r4   r1   <module>r      s    *    ! 5 /  #  NNX)L X)v z 	A$ 	A GGIGGAJ# r4   