+
    i                     J   ^ RI Ht ^ RIHt ^ RIHt ^ RIHtHtH	t	H
t
Ht ^RIHtHt ^RIHtHtHtHt ^RIHt ^RIHt ^R	IHtHt ^R
IHt ^RIHt ^RIH t   ! R R] 4      t!]"R8X  d   ^ RI#t#]! 4       t]$! ]%! ]#PL                  ! 4       4      4       U Uu. uF  w  rV  RV 2NK  	  upp t']!! ]'RRRR7      t(]PS                  ](4       ]PU                  4        R](n+        ]PS                  ](4       R](n,        ]PU                  4        ]PS                  ](4       R# R# u upp i )    )defaultdict)chain)
itemgetter)DictIterableListOptionalTuple)AlignAlignMethod)ConsoleConsoleOptionsRenderableTypeRenderResult)	Constrain)Measurement)PaddingPaddingDimensions)Table)TextType)JupyterMixinc                   ~   a  ] tR t^t o RtRRRRRRRRRRRR	RR
R/V 3R lR llltV 3R lR ltV 3R lR ltRtV t	R# )Columnsab  Display renderables in neat columns.

Args:
    renderables (Iterable[RenderableType]): Any number of Rich renderables (including str).
    width (int, optional): The desired width of the columns, or None to auto detect. Defaults to None.
    padding (PaddingDimensions, optional): Optional padding around cells. Defaults to (0, 1).
    expand (bool, optional): Expand columns to full width. Defaults to False.
    equal (bool, optional): Arrange in to equal sized columns. Defaults to False.
    column_first (bool, optional): Align items from top to bottom (rather than left to right). Defaults to False.
    right_to_left (bool, optional): Start column from right hand side. Defaults to False.
    align (str, optional): Align value ("left", "right", or "center") or None for default. Defaults to None.
    title (TextType, optional): Optional title for Columns.
NwidthexpandFequalcolumn_firstright_to_leftaligntitlec                   < V ^8  d   QhRS[ S[S[,          ,          RS[RS[ S[,          RS[RS[RS[RS[RS[ S[,          R	S[ S[,          R
R/
# )   renderablespaddingr   r   r   r   r   r   r    returnN)r	   r   r   r   intboolr   r   )format__classdict__s   "_/home/wkmabra/.openclaw/workspace/venv/lib/python3.14/site-packages/pip/_vendor/rich/columns.py__annotate__Columns.__annotate__   s      h~67 #
 }     $ ! 
    c                   \        T;'       g    . 4      V n        W0n        W n        W@n        WPn        W`n        Wpn        Wn        Wn	        R # )N)
listr#   r   r$   r   r   r   r   r   r    )
selfr#   r$   r   r   r   r   r   r   r    s
   &&&$$$$$$$r*   __init__Columns.__init__   sC       1 1r2

(*,1

r-   c                $   < V ^8  d   QhRS[ RR/# )r"   
renderabler%   N)r   )r(   r)   s   "r*   r+   r,   6   s     , , ,D ,r-   c                <    V P                   P                  V4       R# )z`Add a renderable to the columns.

Args:
    renderable (RenderableType): Any renderable object.
N)r#   append)r0   r4   s   &&r*   add_renderableColumns.add_renderable6   s     	
+r-   c                ,   < V ^8  d   QhRS[ RS[RS[/# )r"   consoleoptionsr%   )r   r   r   )r(   r)   s   "r*   r+   r,   >   s*     m mm)7m	mr-   c              #    a aa"   VP                   pS P                   Uu. uF#  p\        V\        4      '       d	   V! V4      MTNK%  	  upoS'       g   R # \        P
                  ! S P                  4      w  rVrx\        W4      p	VP                  p
\        \        4      p\        S4      p\        P                  pS Uu. uF  pV! WV4      P                  NK  	  upoS P                  '       d   \        S4      .\        S4      ,          oR VVV 3R llp\         P"                  ! S P                  RRR7      pS P$                  Vn        S P&                  Vn        S P(                  eJ   V
S P(                  V	,           ,          p\+        V4       F  pVP-                  S P(                  R7       K!  	  MV^8  d   VP/                  4        ^ pV! V4       F  w  pp\        VV,          V4      VV&   \1        VP3                  4       4      V	\        V4      ^,
          ,          ,           pVV
8  d   \        V4      ^,
          p K  V^,           V,          pK  	   \5        ^4      pV! V4       Uu. uF  pV! V4      NK  	  ppS P                  '       d)   V Uu. uF  pVf   R M\7        VS^ ,          4      NK  	  ppS P8                  '       d1   S P8                  p\:        pV Uu. uF  pVf   R MV! VV4      NK  	  ppS P<                  pVP>                  p\+        ^ \        V4      V4       F)  pVVVV,            pV'       d   VR R R1,          pV! V!   K+  	  Vx  R # u upi u upi u upi u upi u upi 5i)Nc                ~    V ^8  d   QhR\         R\        \        \         \        \        ,          3,          ,          /# )r"   column_countr%   )r&   r   r
   r	   r   )r(   s   "r*   r+   .Columns.__rich_console__.<locals>.__annotate__V   s0     	" 	"	"eC.!99:;	"r-   c              3     <"   \        S4      pSP                  '       Ed   \        \        SS4      4      pW,          .V ,          p\	        W,          4       F  pW4;;,          ^,          uu&   K  	  W,           ^,
          V ,          p\	        V4       Uu. uF  pR.V ,          NK  	  pp^ ;r\	        V4       FF  p
WV,          V	&   W9;;,          ^,          uu&   W9,          '       d   V^,          pK;  V	^,          p	^ pKH  	  \
        P                  ! V4       F  p
V
R8X  d    M#W*,          x  K  	  M\        SS4       Rj  xL
  W,          '       d&   \	        WV ,          ,
          4       F  pRx  K	  	  R# R# u upi  L>5i)   N)r   N)lenr   r/   zipranger   from_iterable)r>   
item_countwidth_renderablescolumn_lengthscol_no	row_count_cellsrowcolindexrenderable_widthsr#   r0   s   &          r*   iter_renderables2Columns.__rich_console__.<locals>.iter_renderablesV   s\     [)J   $(->)L$M!-7-G,H<,W#J$=>F"*a/* ? (6:|K	6;I6FG6F",,6FG":.E&+#JsO"'1,'%**qq / #007E{+22 8
 0+>>>((|L/HIJA!M K )# H ?s   BFE=)BFF?FTF)r$   collapse_paddingpad_edge)r   rB   ) 
render_strr#   
isinstancestrr   unpackr$   max	max_widthr   r&   rC   r   getmaximumr   r   gridr   r    r   rE   
add_columnclearsumvaluesr   r   r   r   r   add_row)r0   r:   r;   rV   r4   _topright_bottomleftwidth_paddingr[   widthsr>   get_measurementrR   tablerL   	column_norenderable_widthtotal_widthget_renderable_renderable_renderablesr   _Alignr   rc   startrN   rQ   r#   s   f&&                          @@r*   __rich_console__Columns.__rich_console__>   sM     ''
 #..
.
 '1S&A&AJz"zQ.
 %,^^DLL%A"WD(%%	!,S!1;'%// *
)
 Gj9AA)
 :::!$%6!7 83?P;Q Q	" 	"B 

4<<$QVW{{jj::!%4::+EFL<(  tzz 2 ) "	+;L+I'$a(+F9,=?O(PF9%"%fmmo"6Fa: #K #Y.'*6{Q%.]l$B	 ,J #A  0=
= ;'= 	 
 :::
 #/	 #/J % z+<Q+?@A #/	   :::JJEF #/".J #*z50II".  
 **--1c,/>Euu|';<C$B$iSM	 ?
 S

D

sU   M5)M	
M5A*M5>M!M5/E=M5,M&=M5"M+7M5M5!M09A<M5)	r   r   r   r   r$   r#   r   r    r   )Nr   rA   )
__name__
__module____qualname____firstlineno____doc__r1   r7   rt   __static_attributes____classdictcell__)r)   s   @r*   r   r      sp     
  $   # $ (, %) ., ,m mr-   r   __main__N F)r$   r   r   Trv   )-collectionsr   	itertoolsr   operatorr   typingr   r   r   r	   r
   r   r   r   r:   r   r   r   r   	constrainr   measurer   r$   r   r   rk   r   textr   jupyterr   r   rw   os	enumeratesortedlistdirfilescolumnsprintruler   r   )iss   00r*   <module>r      s    #   8 8 % J J     /   ![l [| ziG$-fRZZ\.B$CD$CDAs!A3Z$CDEeVEGGMM'LLNGMM' GLLNMM' 
 Es   D