+
     h
  c                   sN    ^ RI HtHtHtHt ^ RIHtHt ^ RIH	t	H
t
Ht R R ltR# )i    )IterableSequenceTuplecast)LegacyWindowsTermWindowsCoordinates)ControlCodeControlTypeSegmentc                sJ    V ^8  d   QhR\         \        ,          R\        RR/# )i   buffertermZreturnN)r    r   r   )Zformats   "G/usr/lib/python3.14/site-packages/pip/_vendor/rich/_windows_renderer.py__annotate__r      s(     1* 1*(7"3 1*;L 1*QU 1*    c           	     sp   V  EF.  w  r#pV'       g/   V'       d   VP                  W#4       K*  VP                  V4       K=  TpV EF  pV^ ,          pV\        P                  8X  dV   \	        \
        \        \        \        3,          V4      w  rp
VP                  \        V
^,
          V	^,
          R7      4       Kw  V\        P                  8X  d   VP                  R4       K  V\        P                  8X  d   VP                  \        ^ ^ 4      4       K  V\        P                  8X  d   VP                  4        K  V\        P                  8X  d   VP                  4        EK   V\        P                  8X  d   VP!                  4        EKH  V\        P"                  8X  d   VP%                  4        EKp  V\        P&                  8X  d?   \	        \
        \        \        3,          V4      w  rVP)                  V^,
          4       EK  V\        P*                  8X  d   VP-                  4        EK  V\        P.                  8X  d   VP1                  4        EK  V\        P2                  8X  du   \	        \
        \        \        3,          V4      w  rV^ 8X  d   VP5                  4        EKe  V^8X  d   VP7                  4        EK  V^8X  d   VP9                  4        EK  EK  V\        P:                  8X  g   EK  \	        \
        \        \<        3,          V4      w  rVP?                  V4       EK  	  EK1  	  R# )zMakes appropriate Windows Console API calls based on the segments in the buffer.

Args:
    buffer (Iterable[Segment]): Iterable of Segments to convert to Win32 API calls.
    term (LegacyWindowsTerm): Used to call the Windows Console API.
)ZrowZcolZN) Zwrite_styledZ
write_textr   ZCURSOR_MOVE_TOr   r   ZintZmove_cursor_tor   ZCARRIAGE_RETURNZHOMEZ	CURSOR_UPZmove_cursor_upZCURSOR_DOWNZmove_cursor_downZCURSOR_FORWARDZmove_cursor_forwardZCURSOR_BACKWARDZmove_cursor_backwardZCURSOR_MOVE_TO_COLUMNZmove_cursor_to_columnZHIDE_CURSORZhide_cursorZSHOW_CURSORZshow_cursorZERASE_IN_LINEZerase_end_of_lineZerase_start_of_lineZ
erase_lineZSET_WINDOW_TITLEZstrZ	set_title)r	   r
   ZtextZstyleZcontrolZcontrol_codesZcontrol_codeZcontrol_typeZ_ZxZyZcolumnZmodeZtitles   &&            r   legacy_windows_renderr      s:    !'W!!$.%3:M -+A;#=#=="5c3)>#?NGA!''(:q1u!a%(PQ![%@%@@OOD)![%5%55''(:1a(@A![%:%::'')![%<%<<))+![%?%??,,.![%@%@@--/![%F%FF $U;+;%<l KIA..vz:![%<%<<$$&![%<%<<$$&![%>%>>"5c)9#:LIGAqy..0002) #![%A%AA#E+s*:$;\JHANN5)E !. !'r   N)Ztypingr    r   r   r   Zpip._vendor.rich._win32_consoler   r   Zpip._vendor.rich.segmentr   r   r   r   ) r   r   <module>r      s    2 2 Q F F1*r   