+
    i~                         ^ RI Ht ^ RIHtHtHtHtHtHtH	t	H
t
 ]'       d   ^RIHtHtHtHtHtHt ^RIHt ^RIHt ^RIHt ]! R4      t ! R R	4      t ! R
 R4      tR# )    )zip_longest)TYPE_CHECKINGIterableIteratorListOptionalTypeVarUnionoverload)ConsoleConsoleOptionsJustifyMethodOverflowMethodRenderResultRenderableTypeText)cell_len)MeasurementTc                      a  ] tR t^t o RtRV 3R lR lltV 3R lR ltV 3R lR ltV 3R	 lR
 ltV 3R lR lt	Rt
V tR# )Renderablesz:A list subclass which renders its contents to the console.Nc                B   < V ^8  d   QhRS[ S[R,          ,          RR/# )   renderablesr   returnN)r   r   )format__classdict__s   "b/home/wkmabra/.openclaw/workspace/venv/lib/python3.14/site-packages/pip/_vendor/rich/containers.py__annotate__Renderables.__annotate__!   s(     
 
#H-=$>?
	
    c                @    Ve   \        V4      V n        R # . V n        R # N)list_renderables)selfr   s   &&r   __init__Renderables.__init__!   s$     "-!8D 	>@ 	r"   c                &   < V ^8  d   QhRRRRRR/# r   consoler   optionsr   r   r    )r   r   s   "r   r    r!   (   s%     % % %+;%	%r"   c              #  :   "   V P                    Rj  xL
  R#  L5iz,Console render method to insert line-breaks.Nr&   r'   r,   r-   s   &&&r   __rich_console__Renderables.__rich_console__(   s      $$$$   c                &   < V ^8  d   QhRRRRRR/# )r   r,   r   r-   r   r   r   r.   )r   r   s   "r   r    r!   .   s%     ' ' '+;'	'r"   c                    V P                    Uu. uF  p\        P                  ! WV4      NK  	  ppV'       g   \        ^^4      # \        R V 4       4      p\        R V 4       4      p\        WV4      # u upi )   c              3   8   "   T F  qP                   x  K  	  R # 5ir$   )minimum.0	dimensions   & r   	<genexpr>/Renderables.__rich_measure__.<locals>.<genexpr>7        Aj$$j   c              3   8   "   T F  qP                   x  K  	  R # 5ir$   )maximumr;   s   & r   r>   r?   8   r@   rA   )r&   r   getmax)r'   r,   r-   
renderable
dimensions_min_maxs   &&&    r   __rich_measure__Renderables.__rich_measure__.   sw    
 #//
/
 OOGj9/ 	 
 q!$$AjAAAjAA4&&
s    A4c                "   < V ^8  d   QhRRRR/# )r   rF   r   r   Nr.   )r   r   s   "r   r    r!   ;   s     - -!1 -d -r"   c                <    V P                   P                  V4       R # r$   )r&   append)r'   rF   s   &&r   rN   Renderables.append;   s      ,r"   c                .   < V ^8  d   QhRS[ R,          /# )r   r   r   r   )r   r   s   "r   r    r!   >   s     ' '(#34 'r"   c                ,    \        V P                  4      # r$   )iterr&   r'   s   &r   __iter__Renderables.__iter__>   s    D%%&&r"   r1   r$   )__name__
__module____qualname____firstlineno____doc__r(   r3   rJ   rN   rU   __static_attributes____classdictcell__r   s   @r   r   r      s:     D
 
% %' '- -' 'r"   r   c                   .  a  ] tR t^Bt o RtRV 3R lR lltV 3R lR ltV 3R lR l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
V 3R lR ltV 3R lR ltV 3R lR ltV 3R lR ltRV 3R lR lltR V 3R lR lltRtV tR# )!Linesz0A list subclass which can render to the console.c                2   < V ^8  d   QhRS[ R,          RR/# r   linesr   r   NrQ   )r   r   s   "r   r    Lines.__annotate__E   s      0 0hv. 0 0r"   c                &    \        V4      V n        R # r$   )r%   _linesr'   rc   s   &&r   r(   Lines.__init__E   s    $(Kr"   c                    < V ^8  d   QhRS[ /# r   r   )str)r   r   s   "r   r    rd   H   s     ) )# )r"   c                $    R V P                   : R2# )zLines()rf   rT   s   &r   __repr__Lines.__repr__H   s    a((r"   c                .   < V ^8  d   QhRS[ R,          /# )r   r   r   )r   )r   r   s   "r   r    rd   K   s     ! !(6* !r"   c                ,    \        V P                  4      # r$   )rS   rf   rT   s   &r   rU   Lines.__iter__K   s    DKK  r"   c                $   < V ^8  d   QhRS[ RR/# r   indexr   r   int)r   r   s   "r   r    rd   O   s        r"   c                    R # r$   r.   r'   rv   s   &&r   __getitem__Lines.__getitem__N       r"   c                4   < V ^8  d   QhRS[ RS[R,          /# ru   )slicer   )r   r   s   "r   r    rd   S   s       4< r"   c                    R # r$   r.   rz   s   &&r   r{   r|   R   r}   r"   c                ^   < V ^8  d   QhRS[ S[S[3,          RS[ RS[R,          3,          /# ru   )r
   r   rx   r   )r   r   s   "r   r    rd   V   s2     " "ucz!2 "uVT&\=Q7R "r"   c                (    V P                   V,          # r$   rn   rz   s   &&r   r{   r|   V   s    {{5!!r"   c                (   < V ^8  d   QhRS[ RRRR/# )r   rv   valuer   r   r`   rw   )r   r   s   "r   r    rd   Y   s"       V  r"   c                "    W P                   V&   V # r$   rn   )r'   rv   r   s   &&&r   __setitem__Lines.__setitem__Y   s    "Er"   c                    < V ^8  d   QhRS[ /# rj   rw   )r   r   s   "r   r    rd   ]   s     % % %r"   c                6    V P                   P                  4       # r$   )rf   __len__rT   s   &r   r   Lines.__len__]   s    {{""$$r"   c                &   < V ^8  d   QhRRRRRR/# r+   r.   )r   r   s   "r   r    rd   `   s%       +;	r"   c              #  :   "   V P                    Rj  xL
  R#  L5ir0   rn   r2   s   &&&r   r3   Lines.__rich_console__`   s      ;;r5   c                "   < V ^8  d   QhRRRR/# )r   liner   r   Nr.   )r   r   s   "r   r    rd   f   s     ! !6 !d !r"   c                <    V P                   P                  V4       R # r$   )rf   rN   )r'   r   s   &&r   rN   Lines.appendf   s    4 r"   c                2   < V ^8  d   QhRS[ R,          RR/# rb   rQ   )r   r   s   "r   r    rd   i   s      " "HV, " "r"   c                <    V P                   P                  V4       R # r$   )rf   extendrg   s   &&r   r   Lines.extendi   s    5!r"   c                $   < V ^8  d   QhRS[ RR/# ru   rw   )r   r   s   "r   r    rd   l   s     & & &f &r"   c                8    V P                   P                  V4      # r$   )rf   poprz   s   &&r   r   	Lines.popl   s    {{u%%r"   c          
      0   < V ^8  d   QhRRRS[ RRRRRR	/# )
r   r,   r   widthjustifyr   overflowr   r   Nrw   )r   r   s   "r   r    rd   o   s=     89 8989 89 !	89
 #89 
89r"   c           	        ^RI Hp VR8X  d)   V P                   F  pVP                  W$RR7       K  	  R# VR8X  d   V P                   F  pVP	                  4        VP                  W$R7       VP                  V\        VP                  4      ,
          ^,          4       VP                  V\        VP                  4      ,
          4       K  	  R# VR8X  dc   V P                   FP  pVP	                  4        VP                  W$R7       VP                  V\        VP                  4      ,
          4       KR  	  R# VR8X  Ed   \        V P                  4       EF  w  rvV\        V P                  4      ^,
          8X  d    R# VP                  R	4      p\        R
 V 4       4      p	\        V4      ^,
          p
\        V
4       Uu. uF  p^NK  	  pp^ pV'       d^   W,           V8  dQ   V\        V4      V,
          ^,
          ;;,          ^,          uu&   V
^,          p
V^,           \        V4      ,          pK]  . p\        \        WR,          4      4       F  w  pw  ppVP                  V4       V\        V4      8  g   K,  VP!                  VR4      pVP!                  V^ 4      pVV8X  d   TMVP"                  pVP                  V! R	W,          ,          VR7      4       K  	  V! R4      P%                  V4      W&   EK  	  R# R# u upi )au  Justify and overflow text to a given width.

Args:
    console (Console): Console instance.
    width (int): Number of cells available per line.
    justify (str, optional): Default justify method for text: "left", "center", "full" or "right". Defaults to "left".
    overflow (str, optional): Default overflow for text: "crop", "fold", or "ellipsis". Defaults to "fold".

r   leftT)r   padcenter)r   rightfull c              3   L   "   T F  p\        VP                  4      x  K  	  R # 5ir$   )r   plain)r<   words   & r   r>    Lines.justify.<locals>.<genexpr>   s      H%$$**!5!5%s   "$:r8   NN)style N)textr   rf   truncaterstrippad_leftr   r   	pad_right	enumeratelensplitsumranger   rN   get_style_at_offsetr   join)r'   r,   r   r   r   r   r   
line_indexwords
words_size
num_spaces_spacesrv   tokensr   	next_wordr   
next_stylespace_styles   &&&&&               r   r   Lines.justifyo   s[     	feDA $ e7ux

';;ABux

';;<	 $
 e7ehtzz&::; $ $-dkk$: 
T[[!1A!55

3  H% HH
 Z!^
%*:%67%6!%67$1E9s6{U2Q671<7"a
!&c&k 9%'09Ry11,E,D) MM$'s6{* $ 8 8" E%.%B%B7A%N
/4
/Be

d3+>k&RS1 $(8==#8 / %;  8s   Lrn   N)r.   )r   )r   fold)rW   rX   rY   rZ   r[   r(   ro   rU   r   r{   r   r   r3   rN   r   r   r   r\   r]   r^   s   @r   r`   r`   B   s     :0 0) )! !    " " % % ! !" "& &89 89 89r"   r`   N)	itertoolsr   typingr   r   r   r   r   r	   r
   r   r,   r   r   r   r   r   r   r   r   cellsr   measurer   r   r   r`   r.   r"   r   <module>r      sQ    !	 	 	      CL!' !'He9 e9r"   