Ë
    ÔAHjN  ã                  óZ   — d dl mZ d dlZ ej                  dej                  «      Zdd„Zy)é    )ÚannotationsNz(.*?)(\r\n|\r|\n|$)c                ó:   — | rt         j                  | «      dd S g S )aõ  
    Splits an arbitrary string into a list of tuples, where each tuple contains a line of text and its line ending.

    Args:
        input_string (str): The string to split.

    Returns:
        list[tuple[str, str]]: A list of tuples, where each tuple contains a line of text and its line ending.

    Example:
        split_string_to_lines_and_endings("Hello\r\nWorld\nThis is a test\rLast line")
        >>> [('Hello', '\r\n'), ('World', '\n'), ('This is a test', '\r'), ('Last line', '')]
    Néÿÿÿÿ)ÚLINE_AND_ENDING_PATTERNÚfindall)Úinput_strings    úK/root/tools/cai/cai_env/lib/python3.12/site-packages/textual/_line_split.pyÚ
line_splitr
   	   s'   € ñ BNÔ"×*Ñ*¨<Ó8¸¸"Ð=ÐUÐSUÐUó    )r   ÚstrÚreturnzlist[tuple[str, str]])Ú
__future__r   ÚreÚcompileÚSr   r
   © r   r	   ú<module>r      s+   ðÝ "ã 	ð %˜"Ÿ*™*Ð%;¸R¿T¹TÓBÐ ôVr   