ROOTPLOIT
Server: Apache
System: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User: ws67150586 (67150586)
PHP: 8.3.36
Disabled: NONE
Upload Files
File: //kunden/kunden/kunden/lib/python3/dist-packages/pip/_vendor/rich/__pycache__/text.cpython-313.pyc
�

�h������%SSKrSSKJrJr SSKJr SSKJr SSKJ	r	J
r
JrJrJ
r
JrJrJrJrJrJr SSKJr SSKJr SS	KJr SS
KJr SSKJrJr SSKJ r  SS
K!J"r" SSK#J$r$ SSK%J&r& SSK'J(r( SSK)J*r* SSK+J,r,J-r- \	(aSSK.J/r/J0r0J1r1J2r2 Sr3S\4S'Sr5S\4S'\Rl"S5r7\\8S4r9\\8/\\-4r:"SS\5r;"SS\&5r<\=S:XGaSS K>J/r/ \<"S!5r?\?R�S"/S#5 \?R�S$/S%5 \/"5r.\.R�S&5 \.R�\?S'S(9 \.R�5 \.R�S)5 \.R�\?S*S+S,9 \.R�5 \.R�S-5 \.R�\?S.S/S,9 \.R�5 \.R�S05 \.R�\?S1S2S,9 \.R�5 gg)3�N)�partial�reduce)�gcd)�
itemgetter)�
TYPE_CHECKING�Any�Callable�Dict�Iterable�List�
NamedTuple�Optional�Pattern�Tuple�Union�)�	loop_last)�	pick_bool)�divide_line)�AlignMethod)�cell_len�
set_cell_size)�Lines)�strip_control_codes)�EmojiVariant)�JupyterMixin)�Measurement)�Segment)�Style�	StyleType)�Console�ConsoleOptions�
JustifyMethod�OverflowMethod�defaultr#�DEFAULT_JUSTIFY�foldr$�DEFAULT_OVERFLOWz\s+$�Textc��\rSrSr%Sr\\S'\\S'\\\	4\S'S\4Sjr
S\4SjrS	\S\
S\S44S
jrS	\SS4SjrS	\SS4SjrS
\SS4SjrSrg)�Span�/z A marked up region in some text.�start�end�style�returnc�X�SURSURSUR<S3$)NzSpan(z, �))r-r.r/��selfs �7/usr/lib/python3/dist-packages/pip/_vendor/rich/text.py�__repr__�
Span.__repr__9s)���t�z�z�l�"�T�X�X�J�b�����a�@�@�c�4�URUR:�$�N)r.r-r3s r5�__bool__�
Span.__bool__<s���x�x�$�*�*�$�$r8�offsetc��XR:aUS4$XR:�aUS4$Uup#n[U[X15U5n[URX45nXV4$)z)Split a span in to 2 from a given offset.N)r-r.r+�min)r4r=r-r.r/�span1�span2s       r5�split�
Span.split?sa���J�J����:���X�X����:�� ���E��U�C��,�e�4���U�Y�Y��+���|�r8c�.�Uup#n[X!-X1-U5$)z�Move start and end by a given offset.

Args:
    offset (int): Number of characters to add to start and end.

Returns:
    TextSpan: A new TextSpan with adjusted position.
�r+�r4r=r-r.r/s     r5�move�	Span.moveLs!��!���E��E�N�C�L�%�8�8r8c�F�Uup#nX:�aU$[U[X5U5$)z�Crop the span at the given offset.

Args:
    offset (int): A value between start and end.

Returns:
    Span: A new (possibly smaller) span.
)r+r?rFs     r5�
right_crop�Span.right_cropXs,��!���E��=��K��E�3�v�+�U�3�3r8�cellsc�<�U(aUup#n[X#U-U5$U$)z�Extend the span by the given number of cells.

Args:
    cells (int): Additional space to add to end of span.

Returns:
    Span: A span.
rE)r4rLr-r.r/s     r5�extend�Span.extendfs'��� $��E����U�{�E�2�2��Kr8�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�int�__annotations__r�strrr6�boolr;rrrBrGrJrN�__static_attributes__rPr8r5r+r+/s���*��J��	�H����e����)�A�#�A�%�$�%��C��E�&�(�6�2B�*B�$C��
9�3�
9�6�
9�4��4��4�
�C�
�F�
r8r+c���\rSrSrSr/SQrS�SSSSSSS.S\S	\\\4S
\	SS\	S
S\	\
S\S\	\S\	\\
SS4SjjjrS\4SjrS\
4SjrS\4SjrS\4SjrS\SS4SjrS\S\
4SjrS\S\
4SjrS\\\4SS4Sjr\S\4Sj5r\S\4Sj5r\SS SSSSS!.S\S	\\\4S"\
S#\	\S
\	SS\	S
S\SS4S$jj5r\SSSSSS%S&.S\S	\\\4S
\	SS\	S
S\	\
S\S\	\SS4S'jj5r \S�SSS(.S\S	\!S
\	SS\	S
SS4
S)jjj5r"\SSSSSS%SS*.S+\\S\#\\!44S	\\\4S
\	SS\	S
S\	\
S\S\S,\	\$\\4SS4S-jj5r%\S\4S.j5r&\&RNS/\SS4S0j5r&\S\\
4S1j5r(\(RNS\\
SS4S2j5r(S�S3\SS4S4jjr)S�S5jr*S�S	\\\4S6\S\	\SS4S7jjr+S�S	\\\4S6\S\	\SS4S8jjr,S�S,\$\\4S6\S\	\SS4S9jjr-S�S,\	\$\\4S:\SS4S;jjr.S<\SS4S=jr/S>S?S@\S\4SAjr0SB\SS4SCjr1S�SSD.SE\\2\\4S	\	\\3\!4SF\S\4SGjjjr4S SH.SI\5\S	\\\4SJ\
S\4SKjjr6S�SLjr7SM\SS4SNjr8SO\SS4SPjr9S>S?SQSRS\5\:4SSjr;S>S?SQSRS\<4STjr=S�S>S?S\S\5SU4SVjjr>SW\5SSS4SXjr?S�S\	\SS4SYjjr@SSZS[.S\\S\	S
S]\
SS4S^jjrAS�S_jrBS�S`\Sa\SS4SbjjrCS�S`\Sa\SS4ScjjrDS�S`\Sa\SS4SdjjrES�Se\FSf\Sa\SS4SgjjrGS�S\S\4S	\	\\Sh4SS4SijjrHS�SjjrISk\5\#\\	\!4SS4SljrJS�SmjrKS�SZSZSn.So\Sp\
Sq\
S\L4SrjjjrMSs\5\S\L4StjrNS�Su\SS4SvjjrOSSS%SSw.S>S?Sf\S
\	SS\	S
S\S\	\
S\L4SxjjrPSf\S\L4SyjrQS\4SzjrRS�S{S|S}.S~\	\Sa\S	\!SS4SjjjrSS�rTg)�r)�va�Text with color / style.

Args:
    text (str, optional): Default unstyled text. Defaults to "".
    style (Union[str, Style], optional): Base style for text. Defaults to "".
    justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None.
    overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None.
    no_wrap (bool, optional): Disable text wrapping, or None for default. Defaults to None.
    end (str, optional): Character to end text with. Defaults to "\\n".
    tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to None.
    spans (List[Span], optional). A list of predefined style spans. Defaults to None.
)	�_textr/�justify�overflow�no_wrapr.�tab_size�_spans�_length�N�
)r^r_r`r.ra�spans�textr/r^r#r_r$r`r.rarfr0c��[U5n	U	/UlX lX0lX@lXPlX`lXplU=(d /Ul[U	5Ul
gr:)rr]r/r^r_r`r.rarb�lenrc)
r4rgr/r^r_r`r.rarf�sanitized_texts
          r5�__init__�
Text.__init__�sM��-�T�2��$�%��
��
�29��4<�
����� �
�"'�+�2�����/��r8c��UR$r:)rcr3s r5�__len__�Text.__len__�s���|�|�r8c�,�[UR5$r:)rYrcr3s r5r;�
Text.__bool__�s���D�L�L�!�!r8c��UR$r:��plainr3s r5�__str__�Text.__str__�s���z�z�r8c�\�SUR<SUR<SUR<S3$)Nz<text � �>)rtrbr/r3s r5r6�
Text.__repr__�s)����
�
�~�Q�t�{�{�o�Q�t�z�z�n�A�F�Fr8�otherc��[U[[45(a#UR5nUR	U5 U$[
$r:)�
isinstancerXr)�copy�append�NotImplemented)r4r{�results   r5�__add__�Text.__add__�s5���e�c�4�[�)�)��Y�Y�[�F��M�M�%� ��M��r8c��[U[5(d[$URUR:H=(a URUR:H$r:)r}r)r�rtrb�r4r{s  r5�__eq__�Text.__eq__�s:���%��&�&�!�!��z�z�U�[�[�(�H�T�[�[�E�L�L�-H�Hr8c��[U[5(aXR;$[U[5(aURUR;$g)NF)r}rXrtr)r�s  r5�__contains__�Text.__contains__�s?���e�S�!�!��J�J�&�&�
��t�
$�
$��;�;�$�*�*�,�,�r8�slicec�^�S[SS4U4Sjjn[U[5(aU"U5$UR[TR55up4nUS:XaTRX4/5nUS$[
S5e)Nr=r0r)c
��>�[n[TRUTRVVVs/sH"up#nX0s=:�aU:�dMO MU"SSU5PM$ snnnSS9nU$s snnnf)Nrrrd)rfr.)r+r)rtrb)r=�_Spanr-r.r/rgr4s      �r5�get_text_at�%Text.__getitem__.<locals>.get_text_at�ss����E���
�
�6�"�.2�[�[��-8�)��E��,�u�,�'�,�'�E�!�Q��&�-8��
��D��K��s�A�A�Arz%slices with step!=1 are not supported)rVr}�indicesrirt�divide�	TypeError)r4r�r�r-�stop�step�liness`      r5�__getitem__�Text.__getitem__�sy���	��	��	��e�S�!�!��u�%�%� %�
�
�c�$�*�*�o� >��E���q�y����U�M�2���Q�x�� � G�H�Hr8c�,�[UR5$)z5Get the number of cells required to render this text.)rrtr3s r5r�
Text.cell_len�s����
�
�#�#r8c���SSKJn /nURnSSUR4/SUR5QSUR5Q[U5SUR4PnUR
[SS5S9 SnURnUH?upxn	Xu:�aU"U"X5U55 UnU	(dM&U"U(aS	U	S
3OSU	S
35 MA SRU5n
U
$)
zfGet console markup to render this Text.

Returns:
    str: A string potentially creating markup tags.
r)�escaperFc3�R# �UHoRSUR4v� M g7f�FN)r-r/��.0�spans  r5�	<genexpr>�Text.markup.<locals>.<genexpr>�s���
F�+�$�z�z�5�$�*�*�-�+���%'c3�R# �UHoRSUR4v� M g7f�TN)r.r/r�s  r5r�r��s���
C�{�t�x�x��t�z�z�*�{�r�T��keyz[/�]�[rd)
�markupr�rtr/rbri�sortrr�join)r4r��outputrt�markup_spans�positionrr=�closingr/r�s           r5r��Text.markup�s���	#����
�
��
��t�z�z�"�
�
F�$�+�+�
F�
�D�t�{�{�
C�
���Z��t�z�z�*�	
��	���j��A�.��/�������&2�"�F�U�� ��v�e�V�4�5�6�!���u����E�7�!�}�q���q�\�B�'3��������
r8T)r/�emoji�
emoji_variantr^r_r.r�r�c�D�SSKJn U"XX4S9n	XYlXilXylU	$)a�Create Text instance from markup.

Args:
    text (str): A string containing console markup.
    style (Union[str, Style], optional): Base style for text. Defaults to "".
    emoji (bool, optional): Also render emoji code. Defaults to True.
    emoji_variant (str, optional): Optional emoji variant, either "text" or "emoji". Defaults to None.
    justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None.
    overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None.
    end (str, optional): Character to end text with. Defaults to "\\n".

Returns:
    Text: A Text instance with markup rendered.
r)�render)r�r�)r�r�r^r_r.)
�clsrgr/r�r�r^r_r.r��
rendered_texts
          r5�from_markup�Text.from_markups+��4	#��t�%�U�
� '��!)�����r8��r/r^r_r`r.rac
��SSKJn [SUUUUUUS9n	U"5n
U	RSU
R	U555nU$)a�Create a Text object from a string containing ANSI escape codes.

Args:
    text (str): A string containing escape codes.
    style (Union[str, Style], optional): Base style for text. Defaults to "".
    justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None.
    overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None.
    no_wrap (bool, optional): Disable text wrapping, or None for default. Defaults to None.
    end (str, optional): Character to end text with. Defaults to "\\n".
    tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to None.
r)�AnsiDecoderre)r^r_r`r.rar/c3�$# �UHov� M g7fr:rP�r��lines  r5r��!Text.from_ansi.<locals>.<genexpr>Hs���C�.B�d�T�.B�s�)�ansir�r)r��decode)r�rgr/r^r_r`r.rar��joiner�decoderr�s            r5�	from_ansi�Text.from_ansi%sQ��.	&���������
���-�����C�g�n�n�T�.B�C�C���
r8�r^r_c�6�U"XUS9nURU5 U$)aConstruct a Text instance with a pre-applied styled. A style applied in this way won't be used
to pad the text when it is justified.

Args:
    text (str): A string containing console markup.
    style (Union[str, Style]): Style to apply to the text. Defaults to "".
    justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None.
    overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None.

Returns:
    Text: A text instance with a style applied to the entire string.
r�)�stylize)r�rgr/r^r_�styled_texts      r5�styled�Text.styledKs$��*�$�(�C�����E�"��r8)r/r^r_r`r.ra�meta�partsr�c	���U"UUUUUUS9n	U	Rn
[nUH(n[X�[45(a
U
"U5 M#U
"U6 M* U(aU	R	U5 U	$)aYConstruct a text instance by combining a sequence of strings with optional styles.
The positional arguments should be either strings, or a tuple of string + style.

Args:
    style (Union[str, Style], optional): Base style for text. Defaults to "".
    justify (str, optional): Justify method: "left", "center", "full", "right". Defaults to None.
    overflow (str, optional): Overflow method: "crop", "fold", "ellipsis". Defaults to None.
    no_wrap (bool, optional): Disable text wrapping, or None for default. Defaults to None.
    end (str, optional): Character to end text with. Defaults to "\\n".
    tab_size (int): Number of spaces per tab, or ``None`` to use ``console.tab_size``. Defaults to None.
    meta (Dict[str, Any], optional). Meta data to apply to text, or None for no meta data. Default to None

Returns:
    Text: A new text instance.
r�)rr)r}rX�
apply_meta)
r�r/r^r_r`r.rar�r�rgr�_Text�parts
             r5�assemble�
Text.assembledsm��6�������

���������D��$���-�-��t����
�	�
��O�O�D�!��r8c��[UR5S:wa)SRUR5/URSS&URS$)z Get the text as a single string.rrdNr)rir]r�r3s r5rt�
Text.plain�s?���t�z�z�?�a���W�W�T�Z�Z�0�1�D�J�J�q�M��z�z�!�}�r8�new_textc���XR:waX[U5nU/URSS&URn[	U5UlX0R:�aUR5 ggg)zSet the text to a new value.N)rtrr]rcri�_trim_spans)r4r�rj�
old_lengths    r5rtr��s]���z�z�!�0��:�N�+�,�D�J�J�q�M����J��~�.�D�L��L�L�(�� � �"�)�"r8c��UR$)z.Get a reference to the internal list of spans.�rbr3s r5rf�
Text.spans�s���{�{�r8c��USSUlg)z
Set spans.Nr�)r4rfs  r5rfr��s���A�h��r8rtc
��[UURURURURUR
URS9nU$)zNReturn a new Text instance with copied metadata (but not the string or spans).r�)r)r/r^r_r`r.ra)r4rt�	copy_selfs   r5�
blank_copy�Text.blank_copy�sA�����*�*��L�L��]�]��L�L�����]�]�
�	��r8c
���[URURURURUR
URURS9nURURSS&U$)zReturn a copy of this instance.r�N)	r)rtr/r^r_r`r.rarb)r4r�s  r5r~�	Text.copy�sY����J�J��*�*��L�L��]�]��L�L�����]�]�
�	�#�k�k�	������r8r-c	���U(a_[U5nUS:aXB-nUcUnUS:aXC-nX$:�dX2::agURR[U[	XC5U55 gg)aRApply a style to the text, or a portion of the text.

Args:
    style (Union[str, Style]): Style instance or style definition to apply.
    start (int): Start offset (negative indexing is supported). Defaults to 0.
    end (Optional[int], optional): End offset (negative indexing is supported), or None for end of text. Defaults to None.
rN)rirbrr+r?�r4r/r-r.�lengths     r5r��Text.stylize�sg�����Y�F��q�y�����{����Q�w��l����#�,���K�K���t�E�3�v�+;�U�C�D�r8c
���U(a`[U5nUS:aXB-nUcUnUS:aXC-nX$:�dX2::agURRS[U[	XC5U55 gg)a�Apply a style to the text, or a portion of the text. Styles will be applied before other styles already present.

Args:
    style (Union[str, Style]): Style instance or style definition to apply.
    start (int): Start offset (negative indexing is supported). Defaults to 0.
    end (Optional[int], optional): End offset (negative indexing is supported), or None for end of text. Defaults to None.
rN)rirb�insertr+r?r�s     r5�stylize_before�Text.stylize_before�si�����Y�F��q�y�����{����Q�w��l����#�,���K�K���q�$�u�c�&�.>��"F�G�r8c�P�[R"U5nURXBUS9 g)a?Apply metadata to the text, or a portion of the text.

Args:
    meta (Dict[str, Any]): A dict of meta information.
    start (int): Start offset (negative indexing is supported). Defaults to 0.
    end (Optional[int], optional): End offset (negative indexing is supported), or None for end of text. Defaults to None.

)r-r.N)r�	from_metar�)r4r�r-r.r/s     r5r��Text.apply_meta�s"������%�����U�S��1r8�handlersc���Uc0OUnURUR5VVs0sHup4SU3U_M
 snn5 UR[R"U55 U$s snnf)atApply event handlers (used by Textual project).

Example:
    >>> from rich.text import Text
    >>> text = Text("hello world")
    >>> text.on(click="view.toggle('world')")

Args:
    meta (Dict[str, Any]): Mapping of meta information.
    **handlers: Keyword args are prefixed with "@" to defined handlers.

Returns:
    Text: Self is returned to method may be chained.
�@)�update�itemsr�rr�)r4r�r�r��values     r5�on�Text.ons`���\�r�t��������8H�I�8H�*�#�q���Y��%�8H�I�J����U�_�_�T�*�+����Js�A'
�suffixc�z�URRU5(aUR[U55 gg)zIRemove a suffix if it exists.

Args:
    suffix (str): Suffix to remove.
N)rt�endswithrJri)r4r�s  r5�
remove_suffix�Text.remove_suffixs.���:�:���v�&�&��O�O�C��K�(�'r8�consoler!r=c���US:a[U5U-nURnU"UR5R5nURH!upVnXbs=:�aU:�dMO MXC"USS9-
nM# U$)z�Get the style of a character at give offset.

Args:
    console (~Console): Console where text will be rendered.
    offset (int): Offset in to text (negative indexing supported)

Returns:
    Style: A Style instance.
rrd�r%)ri�	get_styler/r~rb)r4r�r=rr/r-r.�
span_styles        r5�get_style_at_offset�Text.get_style_at_offset(st���A�:���Y��'�F��%�%�	��$�*�*�%�*�*�,��&*�k�k�"�E�
��$�u�$�$���:�r�:�:��'2��r8�spacesc�p�US::agURnSU-nU(a}[U5nUVs/sH&nURU:�aURU5OUPM( snURSS&UR
R
U5 U=RU-
slgU=RU-
slgs snf)z�Extend the Text given number of spaces where the spaces have the same style as the last character.

Args:
    spaces (int): Number of spaces to add to the Text.
rNrx)	rfrir.rNrbr]rrcrt)r4rrf�
new_spaces�
end_offsetr�s      r5�extend_style�Text.extend_style<s����Q�;���
�
���6�\�
���T��J�"��!�D�(,�x�x�:�'=����F�#�4�G�!��D�K�K��N�
�J�J���j�)��L�L�F�"�L��J�J�*�$�J��s�-B3)�style_prefix�re_highlightrc
�*�SnURRn[nURn[	U[
5(a[R"U5nURU5H�nURn	U(a<U	"5up�[U5(a
U"XzU5OUnUbX�:�aU"U"X�U55 US-
nUR5R5H/n
U	"U
5up�U
S:wdMX�:�dMU"U"X�UU
355 M1 M� U$)a�Highlight text with a regular expression, where group names are
translated to styles.

Args:
    re_highlight (Union[re.Pattern, str]): A regular expression object or string.
    style (Union[GetStyleCallable, StyleType]): Optional style to apply to whole match, or a callable
        which accepts the matched text and returns a style. Defaults to None.
    style_prefix (str, optional): Optional prefix to add to style group names.

Returns:
    int: Number of regex matches
rr���)
rbrr+rtr}rX�re�compile�finditerr��callable�	groupdict�keys)r4r
r/r�count�append_spanr�rt�match�get_spanr-r.�match_style�names              r5�highlight_regex�Text.highlight_regexQs���&���k�k�(�(�����
�
���l�C�(�(��:�:�l�3�L�!�*�*�5�1�E��z�z�H��%�Z�
��9A�%���e�E��$4�5�e���*�s�{���e�+� >�?��Q�J�E����)�.�.�0��%�d�^�
���B�;�3�;���e�\�N�4�&�2I� J�K�1�2��r8)�case_sensitive�wordsrc�:�SRSU55nURRnSn[n[R
"X@RU(aSO[RS9H*nURS5up�U"U"X�U55 US-
nM, U$)a
Highlight words with a style.

Args:
    words (Iterable[str]): Words to highlight.
    style (Union[str, Style]): Style to apply.
    case_sensitive (bool, optional): Enable case sensitive matching. Defaults to True.

Returns:
    int: Number of words highlighted.
�|c3�N# �UHn[R"U5v� M g7fr:)rr��r��words  r5r��'Text.highlight_words.<locals>.<genexpr>�s���>���B�I�I�d�O�O��s�#%r��flagsr)	r�rbrr+rrrt�
IGNORECASEr�)r4rr/r�re_words�add_spanrr�rr-r.s           r5�highlight_words�Text.highlight_wordsys���"�8�8�>��>�>���;�;�%�%�������[�[��j�j�^�����
�E����A��J�E��U�5�u�-�.��Q�J�E�
��r8c�B�URR5Ulg)z"Strip whitespace from end of text.N)rt�rstripr3s r5r.�Text.rstrip�s���Z�Z�&�&�(��
r8�sizec���[U5nX!:�a\X!-
n[RUR5nUb5[UR	S55nUR[
XS55 ggg)zvRemove whitespace beyond a certain width at the end of the text.

Args:
    size (int): The desired size of the text.
Nr)ri�_re_whitespace�searchrt�grouprJr?)r4r0�text_length�excess�whitespace_match�whitespace_counts      r5�
rstrip_end�Text.rstrip_end�si���$�i���� �'�F�-�4�4�T�Z�Z�@���+�#&�'7�'=�'=�a�'@�#A� �����$4� =�>�,�r8�
new_lengthc�~�[U5nX!:wa-X!:aURX-
5 gURX!-
5 gg)z<Set new length of the text, clipping or padding is required.N)ri�	pad_rightrJ)r4r;r�s   r5�
set_length�Text.set_length�s:���T������"����z�2�3����� 3�4�	 r8�optionsr"c#�# �URcUROURnUR=(d UR=(d [nUR=(d UR=(d [nURUURUUU=(d S[URURS5S9n[S5RU5nURXRS9Shv�N gN7f)Nr�F�r^r_rar`re�r.)
rar^r&r_r(�wrap�	max_widthrr`r)r�r�r.)r4r�r@rar^r_r��	all_liness        r5�__rich_console__�Text.__rich_console__�s����-1�M�M�,A��(�(�t�}�}���,�,�D�'�/�/�D�_���=�=�H�G�$4�$4�H�8H���	�	��������]���d�l�l�G�O�O�U�C�
�
����J�O�O�E�*�	��#�#�G���#�:�:�:�s�C:D�<D�=Dc���URnUR5nU(a[SU55OSnUR5nU(a[SU55OUn[	Xu5$)Nc3�8# �UHn[U5v� M g7fr:�rr�s  r5r��(Text.__rich_measure__.<locals>.<genexpr>�s���>���X�d�^�^����rc3�8# �UHn[U5v� M g7fr:rKr#s  r5r�rL�s���1�5�4�����5�rM)rt�
splitlines�maxrBr)r4r�r@rgr��max_text_widthr�min_text_widths        r5�__rich_measure__�Text.__rich_measure__�s\���z�z�����!��BG��>��>�>�Q���
�
���5:�C�1�5�1�1��	��>�:�:r8rc#�|^^^^^# �[nURnUR(d[U5v� U(a
U"U5v� g[UR[
R"5S9n[[URS55nUVVs0sHupxXu"UR5_M snnmU"UR5TS'S/SU5QSU5Q[U5SS4Pn	U	R[SS5S	9 /mTRn
TRn0mTRm[
R mS
[
4UUUUU4Sjjn[#X�SS5H?uup�nun nU(a	U"U5 OU
"U5 UU
:�dM-U"XMUU"55v� MA U(aU"U5v� ggs snnf7f)z�Render the text as Segments.

Args:
    console (Console): Console instance.
    end (Optional[str], optional): Optional end character.

Returns:
    Iterable[Segment]: Result of render that may be written to the console.
Nrrr)rFrc3�D# �UHupURSU4v� M g7fr�)r-�r��indexr�s   r5r��Text.render.<locals>.<genexpr>�s���
M�<L�[�U�t�z�z�5�%�(�<L��� c3�D# �UHupURSU4v� M g7fr�rCrWs   r5r�rY�s���
J�9I�+�%�t�x�x��u�%�9I�rZTr�r0c�x>�[U4Sj[T555nT"U5nUbU$T"U5nUTU'U$)z#Construct current style from stack.c3�.># �UH
nTUv� M g7fr:rP)r��	_style_id�	style_maps  �r5r��9Text.render.<locals>.get_current_style.<locals>.<genexpr>�s����O��I�9�Y�/��s�)�tuple�sorted)�styles�cached_style�
current_style�combine�stack�style_cache�style_cache_getr_s   �����r5�get_current_style�&Text.render.<locals>.get_current_style�sF����O����O�O�F�*�6�2�L��'�#�#�#�F�O�M�"/�K��� � r8)rrtrbrrr�null�list�	enumerater/rir�rr�remove�getrf�zip)r4r�r.�_Segmentrgr�enumerated_spansrXr�rf�stack_append�	stack_poprjr=�leaving�style_id�next_offset�_rfrgrhrir_s                  @@@@@r5r��Text.render�s��������z�z���{�{��$�-����s�m�#���G�-�-�u�z�z�|�D�	��	�$�+�+�q� 9�:��EU�V�EU�k�e�U�I�d�j�j�1�1�EU�V�	� ����,�	�!��
�
�
M�<L�
M�
�K�9I�
J�
���Y��a� �	
��	�
�
�z�!�Q�'�
�(����|�|���L�L�	�68��%�/�/���-�-��	!�5�	!�	!�AD�E�QR�QS�9�@U�<�'�V�h�)<�+�q�!���(�#��X�&��V�#��t�;�7�9J�9L�M�M�
AV���3�-����IW�s�BF<�F6�3CF<�
/F<r�c
�^^^^	�TR5nS[S4UU4SjjnURRnURR
nURRnSm	[mU"5HwnU"UR5 UR(a&U"T"T	T	[U5-UR55 U"UU	4SjUR55 T	[U5-
m	My T	Ul	U$)z�Join text together with this instance as the separator.

Args:
    lines (Iterable[Text]): An iterable of Text instances to join.

Returns:
    Text: A new text instance containing join text.
r0r)c3�># �TR(a&[T5HupUv� U(aMTv� M gTShv�N gN7fr:)rtr)�lastr�r�r4s  ��r5�	iter_text�Text.join.<locals>.iter_texts8�����z�z�"+�E�"2�J�D��J��4�"�
�#3�
!� � �s�+A�A�A�Arc3�J># �UHupnT"TU-TU-U5v� M g7fr:rP)r�r-r.r/r�r=s    ��r5r��Text.join.<locals>.<genexpr>*s1�����)4�%�E���f�u�n�f�s�l�E�:�:�)4��� #)
r�rr]rNrbrr+r/rirc)
r4r�r�r~�extend_textr�extend_spansrgr�r=s
``      @@r5r��	Text.joins�����?�?�$��	!�8�F�+�	!�	!��n�n�+�+���o�o�,�,�����-�-�������K�D���
�
�#��z�z��E�&�&�3�t�9�*<�d�j�j�I�J���)-����
�
�c�$�i��F� �"����r8c���SUR;agUcURnUcSn/nURnURSSS9H�nSUR;a
U"U5 MSnURSSS9nUH�nURR	S5(aUUR
SSSS	-UR
S'XWR-
nXQ-nU(aX-
n	URU	5 XY-
nOXWR-
nU"U5 M� M� [S
5RU5n
U
R/Ul[UR5UlU
RURSS&g)z\Converts tabs to spaces.

Args:
    tab_size (int, optional): Size of tabs. Defaults to 8.

�	Nr�reT)�include_separatorrrrxrd)
rtrarrBr�r]rr
r)r�rircrb)r4rar�rr��
cell_positionr�r��
tab_remainderrr�s           r5�expand_tabs�Text.expand_tabs2sF���t�z�z�!�����}�}�H����H�!�������J�J�t�t�J�<�D��4�:�:�%��t�� !�
��
�
�4�4�
�@��!�D��z�z�*�*�4�0�0�)-���B����)<�s�)B��
�
�2��%���6�
�(5�(@�
�(�%-�%=�F� �-�-�f�5�)�3�M��%���6�
��4�L�"�
=�&�b����x�(���l�l�^��
��4�:�:����������A�r8F)r_�padrEr�c��U=(d UR=(d [nUS:wa�[UR5nXQ:�aCUS:Xa"[	URUS-
5S-UlO[	URU5UlU(a>XQ:a8X-
nURSU-3/Ul[
UR5Ulgggg)aMTruncate text if it is longer that a given width.

Args:
    max_width (int): Maximum number of characters in text.
    overflow (str, optional): Overflow method: "crop", "fold", or "ellipsis". Defaults to None, to use self.overflow.
    pad (bool, optional): Pad with spaces if the length is less than max_width. Defaults to False.
�ignore�ellipsisru…rxN)r_r(rrtrr]rirc)r4rEr_r��	_overflowr�rs       r5�truncate�
Text.truncate\s����A��
�
�A�1A�	��� ��d�j�j�)�F��!��
�*�!.�t�z�z�9�q�=�!I�E�!Q�D�J�!.�t�z�z�9�!E�D�J��v�)�"�+��!%����S�6�\�N�;�<��
�"�4�:�:����*�s�!r8c
�>�[UR5n[nURVs/sHXnURU:dMUR
U:aUO0U"UR[
XR
5UR5PMZ snURSS&gs snf)z=Remove or modify any spans that are over the end of the text.N)rirtr+rbr-r.r?r/)r4�
max_offsetr�r�s    r5r��Text._trim_spansws�������_�
������

�$���z�z�J�&�N��8�8�j�(���4�:�:�s�:�x�x�'@�$�*�*�M�N�$�

����A���
s�B�ABr�	characterc
�
�[U5S:XdS5eU(a_X!-nUURU3Ul[nURVVVs/sHupVnU"XQ-Xa-U5PM snnnURSS&ggs snnnf)z�Pad left and right with a given number of characters.

Args:
    count (int): Width of padding.
    character (str): The character to pad with. Must be a string of length 1.
r�&Character must be a string of length 1N�rirtr+rb)r4rr��pad_charactersr�r-r.r/s        r5r��Text.pad�s����9�~��"�L�$L�L�"��&�.�N�*�+�D�J�J�<��7G�H�D�J��E�*.����)4�%�E���e�m�S�[�%�8�)4��D�K�K��N�	��s�A>c
��[U5S:XdS5eU(a[X!-UR3Ul[nURVVVs/sHupEnU"XA-XQ-U5PM snnnURSS&ggs snnnf)z�Pad the left with a given character.

Args:
    count (int): Number of characters to pad.
    character (str, optional): Character to pad with. Defaults to " ".
rr�Nr�)r4rr�r�r-r.r/s       r5�pad_left�
Text.pad_left�s����9�~��"�L�$L�L�"��%�-�.�t�z�z�l�;�D�J��E�*.����)4�%�E���e�m�S�[�%�8�)4��D�K�K��N���s�A:c�n�[U5S:XdS5eU(aURX!-3Ulgg)z�Pad the right with a given character.

Args:
    count (int): Number of characters to pad.
    character (str, optional): Character to pad with. Defaults to " ".
rr�N)rirt)r4rr�s   r5r=�Text.pad_right�s<���9�~��"�L�$L�L�"�� �J�J�<�	�(9�':�;�D�J�r8�align�widthc��URU5 U[UR5-
nU(a[US:XaURXC5 gUS:Xa+US-nUR	XS5 URXE-
U5 gUR	XC5 gg)z�Align text to a given width.

Args:
    align (AlignMethod): One of "left", "center", or "right".
    width (int): Desired width.
    character (str, optional): Character to pad with. Defaults to " ".
�left�center�N)r�rrtr=r�)r4r�r�r��excess_spacer�s      r5r��
Text.align�sy��	
�
�
�e���x��
�
�3�3���������|�7��(�"�#�q�(���
�
�d�.����|�2�I�>��
�
�l�6�r8rc	�^^�[U[[45(d[S5e[	U5(Ga�[U[5(a�[U5nURRU5 [	U5n[	U5mU(a(URR[XDT-U55 U=RT-
sl
U$[U[5(a�[mUb[S5eURmUR(a9URRT"TT[	U5-UR55 URRUR5 URRUU4SjURR555 U=R[	U5-
sl
U$)z�Add text with an optional style.

Args:
    text (Union[Text, str]): A str or Text to append.
    style (str, optional): A style name. Defaults to None.

Returns:
    Text: Returns self for chaining.
z(Only str or Text can be appended to Textz2style must not be set when appending Text instancec3�J># �UHupnT"UT-UT-U5v� M g7fr:rP�r�r-r.r/r�r5s    ��r5r��Text.append.<locals>.<genexpr>�s3����#�-?�)��E��%�+�-�s�[�/@�%�H�H�-?�r�)r}rXr)r�rirr]rrbr+rc�
ValueErrorr/rtrNr~)r4rgr/rjr=r�r5s     @@r5r�Text.append�sa����$��d��,�,��F�G�G��t�9�9��$��$�$�!4�T�!:���
�
�!�!�.�1��T���!�.�1����K�K�&�&�t�F�[�4H�%�'P�Q�����+��$��#�D�$�'�'����$�$�L���#�l�l���:�:��K�K�&�&��k�;��T��+B�D�J�J�O���
�
�!�!�$�*�*�-����"�"�#�-1�[�[�-=�-=�-?�#������D�	�)���r8c	��^^�[mURmUR(a9URR	T"TT[U5-UR55 URR	UR5 URRUU4SjURR555 U=R[U5-
slU$)z�Append another Text instance. This method is more performant that Text.append, but
only works for Text.

Args:
    text (Text): The Text instance to append to this instance.

Returns:
    Text: Returns self for chaining.
c3�J># �UHupnT"UT-UT-U5v� M g7fr:rPr�s    ��r5r��#Text.append_text.<locals>.<genexpr>s3����
�%7�!��E�
�%�+�%�s�[�'8�%�@�@�%7�r�)
r+rcr/rbrrir]rtrNr~)r4rgr�r5s  @@r5�append_text�Text.append_text�s�������l�l���:�:��K�K���u�[�+��D�	�2I�4�:�:�V�W��
�
���$�*�*�%������
�%)�[�[�%5�%5�%7�
�	
�	
����D�	�!���r8�tokensc
�(�URRnURRn[n[	U5nUHHupg[U5nU"U5 U(aU"U"XU[	U5-U55 U[	U5-
nMJ XPlU$)aAppend iterable of str and style. Style may be a Style instance or a str style definition.

Args:
    tokens (Iterable[Tuple[str, Optional[StyleType]]]): An iterable of tuples containing str content and style.

Returns:
    Text: Returns self for chaining.
)r]rrbr+rirrc)r4r�r�rr�r=�contentr/s        r5�
append_tokens�Text.append_tokenss����j�j�'�'���k�k�(�(�����T���$�N�G�)�'�2�G��� ���E�&�3�w�<�*?��G�H��c�'�l�"�F�%����r8c�N�URRUR5 g)z~Copy styles from another Text instance.

Args:
    text (Text): A Text instance to copy styles from, must be the same length.
N)rbrN)r4rgs  r5�copy_styles�Text.copy_styless��	
�����4�;�;�'r8)r��allow_blank�	separatorr�r�c��^^�T(dS5eURmTT;a[UR5/5$U(aBURS[R
"[R"T5T555nO?S[[4UU4Sjjn[U4SjURU"5555nU(d&TRT5(aUR5 U$)a�Split rich text in to lines, preserving styles.

Args:
    separator (str, optional): String to split on. Defaults to "\\n".
    include_separator (bool, optional): Include the separator in the lines. Defaults to False.
    allow_blank (bool, optional): Return a blank line if the text ends with a separator. Defaults to False.

Returns:
    List[RichText]: A list of rich text, one per line of the original.
zseparator must not be emptyc3�@# �UHoR5v� M g7fr:rC)r�rs  r5r��Text.split.<locals>.<genexpr>?s��� �)P��	�	���)P�s�r0c3�># �[R"[R"T5T5HnUR5upUv� Uv� M g7fr:)rrr�r�)rr-r.r�rgs   ��r5�
flatten_spans�!Text.split.<locals>.flatten_spansDs<�����[�[����9�)=�t�D�E�!&����J�E��K��I�E�s�AAc3�J># �UHoRT:wdMUv� M g7fr:rs)r�r�r�s  �r5r�r�Js �����!=����y�AX���!=�s�#�	#)rtrr~r�rrr�rrVr��pop)r4r�r�r�r�r�rgs `    @r5rB�
Text.split's����"�7�7�7�y��z�z���D� ��$�)�)�+��'�'���K�K� �)+���R�Y�Y�y�5I�4�)P� ��E�

�8�C�=�
�
���!%���]�_�!=���E��t�}�}�Y�7�7��I�I�K��r8�offsetsc	��^^^^^�[U5nU(d[UR5/5$URm[	T5nS/UQUPn[[XDSS55nURmURmURm[m[UUUUU4SjU55nUR(dU$URVs/sHowRRPM nn[	U5n	[n
URH�up�mSn
U	nX�-S-nX_unnUU:aUS-
nO
UU:�aUS-n
OO	X�-S-nM)UU:aUnO1U=nn
U	nUUunnUU:aUS-
nO
UU:�aUS-n
OO	X�-S-nM*[UUS-5HGnUUunn[SUU-
5n[!UU-
UU-
5nUU:�dM4UU"U
"UUT55 MI M� U$s snf)z�Divide text in to a number of lines at given offsets.

Args:
    offsets (Iterable[int]): Offsets used to divide text.

Returns:
    Lines: New RichText instances between offsets.
rrNc3�>># �UHupT"TXTTTS9v� M g7f))r/r^r_NrP)r�r-r.r�r^r_r/rgs   �����r5r��Text.divide.<locals>.<genexpr>js3����
�*�
��

��U����!�	
�*�s�r�)rmrr~rtrirqr/r^r_r)rb�_linesrr+�rangerPr?)r4r��_offsetsr5�divide_offsets�line_ranges�	new_linesr��
_line_appends�
line_countr��
span_start�span_end�lower_bound�upper_bound�
start_line_no�
line_start�line_end�end_line_no�line_no�	new_start�new_endr�r^r_r/rgs                      @@@@@r5r��Text.divideSs4�����=����$�)�)�+��'�'��z�z���$�i���4�h�4��4���3�~�a�b�/A�B�C���
�
���,�,���=�=�����
�
�*�
�
�	��{�{���8A�8H�8H�I�8H����+�+�8H�
�I���%�
���+/�;�;�'�J�%��K�$�K�(�6�1�<�M��'2�'A�$�
�H��
�*�"/�!�"3�K��(�*�"/�!�"3�K��!,�!:�q� @�
���(�"�+��,9�9��k�(���+6�{�+C�(�J���*�,�&1�A�o��!�H�,�&1�A�o���#.�#<��"B�K��!���a��@��'2�7�';�$�
�H���:�
�#:�;�	��h��3�X�
�5J�K���Y�&�!�'�*�5��G�U�+K�L�A�?,7�L���UJs�G�amountc
��[UR5U-
n[nURVs/sHXnURU:dMUR
U:aUO0U"UR[
X$R
5UR5PMZ snURSS&URSU*/UlU=RU-sl	gs snf)z7Remove a number of characters from the end of the text.N)
rirtr+rbr-r.r?r/r]rc)r4r�r�r�r�s     r5rJ�Text.right_crop�s�������_�v�-�
������

�$���z�z�J�&�N��8�8�j�(���4�:�:�s�:�x�x�'@�$�*�*�M�N�$�

����A���j�j��6�'�*�+��
��������
s�C�ACrBc�j�U=(d UR=(d [nU=(d UR=(d [n[	X`R
S5=(d US:Hn[
5n	URSS9H�n
SU
;aU
RU5 U(a
[
U
/5nO'[[U
5X(S:HS9nU
RU5nUHn
U
RU5 M U(aURXXxS9 UHn
U
RX(S	9 M U	RU5 M� U	$)
a�Word wrap the text.

Args:
    console (Console): Console instance.
    width (int): Number of cells available per line.
    justify (str, optional): Justify method: "default", "left", "center", "full", "right". Defaults to "default".
    overflow (str, optional): Overflow method: "crop", "fold", or "ellipsis". Defaults to None.
    tab_size (int, optional): Default tab size. Defaults to 8.
    no_wrap (bool, optional): Disable wrapping, Defaults to False.

Returns:
    Lines: Number of lines.
Fr�T�r�r�r')r'r�)r_)r^r&r_r(rr`rrBr�rrXr�r9r�rN)
r4r�r�r^r_rar`�wrap_justify�
wrap_overflowr�r�r�r�s
             r5rD�	Text.wrap�s��.�A�$�,�,�A�/�� �E�D�M�M�E�5E�
��G�\�\�5�9�Q�X��=Q������J�J�4�J�0�D��t�|�� � ��*��!�4�&�M�	�%�c�$�i��f�=T�U�� �K�K��0�	�!������&�"���!�!��L�"��"���
�
�e�
�<�"��L�L��#�!1�"�r8c��[5nURnUR5HnURU5 U"U5 M U$)z�Fit the text in to given width by chopping in to lines.

Args:
    width (int): Maximum characters in a line.

Returns:
    Lines: Lines container.
)rrrBr>)r4r�r�rr�s     r5�fit�Text.fit�s>���w�������J�J�L�D��O�O�E�"��4�L�!��r8c�X�[R"SUR[RS9Vs1sHn[	URS55iM nn[
[UVs/sHo3S-(aMUPM sn5=(d SnU$s snfs snf![a SnU$f=f)zZAuto-detect indentation of code.

Returns:
    int: Number of spaces used to indent code.
�
^( *)(.*)$r&rr�)	rrrt�	MULTILINErir4rrr�)r4r�
_indentations�indent�indentations     r5�detect_indentation�Text.detect_indentation�s������]�D�J�J�b�l�l�S�
�S��
����A���S�	�
�
	��s�-�R�-��PQ�z�V�-�R�S�X�WX�
����
��S���	��K���	�s/�$B�B�&
B
�7B
�=B�B�B)�(B)u│z	dim green)r�r/�indent_sizec�@�UcUR5OUnUR5nUR5 USUS-
-3n[R"S5n/nUR
n	Sn
UR
SS9H�nURUR5nU(aURS5(dU
S-
n
MBURS5n
[[U
5U5up�Xn-SU-3nUUR[U5S-UlURUS[U55 U
(aUR[UUS	9/U
-5 Sn
U	"U5 M� U
(aUR[S
US	9/U
-5 URS5R!U5nU$)uSAdds indent guide lines to text.

Args:
    indent_size (Optional[int]): Size of indentation, or None to auto detect. Defaults to None.
    character (str, optional): Character to use for indentation. Defaults to "│".
    style (Union[Style, str], optional): Style of indent guides.

Returns:
    Text: New text with indentation guides.
Nrxrr�rTr�r��r/rdre)r�r~r�rrrrBrrtr4�divmodrir�rNr)r�r�)r4r�r�r/�_indent_sizerg�indent_line�	re_indentr��add_line�blank_linesr�rr��full_indents�remaining_space�
new_indentr�s                  r5�with_indent_guides�Text.with_indent_guidess���$5@�4G�t�.�.�0�[���y�y�{������"��C�<�!�+;�$<�#=�>���J�J�}�-�	� "�	��#�#�����J�J�4�J�0�D��O�O�D�J�J�/�E�����A����q� ����[�[��^�F�,2�3�v�;��,M�)�L�'�6�7��o�8M�7N�O�J�#�d�j�j��Z��1B�&C�C�D�J��L�L���3�z�?�3��� � �$�z��"?�!@�;�!N�O����T�N�1�����d�2�U�3�4�{�B�C��?�?�4�(�-�-�i�8���r8)
rcrbr]r.r^r`r_rtr/ra)rdrd)rd)r0r))rNr:)r0N)rx)rgr)r0r))rgr)r0N)re)r)UrQrRrSrTrU�	__slots__rXrrrrYrVrr+rkrnr;rur6rr��objectr�r�r�r��propertyrr��classmethodrr�r�r r�rr
r�rt�setterrfr�r~r�r�r�r�r�rr
r�GetStyleCallablerrr+r.r9r>rrGrrSr�r�r�r�r�r�r�r=rr�rr�r�r�rrBr�rJrDr�r�r�rZrPr8r5r)r)vs'	���
�I��#%�0�
.2�/3�"&��"&�&*�0��0��S�%�Z� �0�
�/�*�0��+�,�
0��$��0��0��3�-�0���T�
�#�0�
�0�.���"�$�"����G�#�G��S��V��I�F�I�t�I�
�&��T��I��s�E�z�!2�I�v�I�4�$�#�$��$�������:�
$&��04�-1�/3������S�%�Z� �	�
�� ��-�
��/�*���+�,����
����B�
$&�-1�/3�"&��"#�#��#��S�%�Z� �	#�
�/�*�#��+�,�
#��$��#��#��3�-�#�
�#��#�J���
.2�/3�
�����
�/�*���+�,�
�
����0�$&�-1�/3�"&���)-�+��c�6�5��i��#8�8�9�+��S�%�Z� �+��/�*�	+�
�+�,�+��$��
+��+��+��t�C��H�~�&�+�
�+��+�Z��s�����\�\�#�c�#�d�#��#���t�D�z�����\�\��4��:��$�������V���"�!�	E��S�%�Z� �E��E��c�]�	E�

�E�:�!�	H��S�%�Z� �H��H��c�]�	H�

�H�6JN�2���c��N�2�+.�2�9A�#��2�	
�2��x��S�#�X��/��C��F��()�C�)�D�)��9��c��e��(%�3�%�4�%�0?C�&�
�&��G�C�L�#�-�.�&���.�	�9�:�;�&�
�&�

�
&�Z $����}���S�%�Z� ��
��

�
�:)�?�s�?�t�?�5�S�5�T�5�;� �;�+;�;�	�'�	�;�&
;� �
;�+;�
;�	�
;�9 �i�9 �c�9 �8�I�;N�9 �v%�(�6�*�%�v�%�N('�H�S�M�('�T�('�\04��/��/��+�,�	/�
�/�
�
/�6
������t��"�c��c��D�� 	<�s�	<�s�	<�T�	<�7�;�7�s�7�s�7�T�7�*PT�*��&�#�+�&�*�/7��c�7�l�8K�/L�*�	�*�X�,��u�S�(�9�*=�%=�>�?��	��0(��*�#(�!�*��*� �	*�
�*�
�
*�XM�h�s�m�M��M�^���T��*.2�/3��"&�.��.��.�
�/�*�.��+�,�
.��.��$��.�
�.�`����� �C��.&*�.��&�.��c�]�.��	.�
�.�
�
.�.r8�__main__)r!a�
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
�Lorem�bold�ipsum�italiczjustify='left'�redr�zjustify='center'�greenr�)r/r^zjustify='right'�blue�rightzjustify='full'�magenta�full)Cr�	functoolsrr�mathr�operatorr�typingrrr	r
rrr
rrrr�_loopr�_pickr�_wraprr�rrLrr�
containersr�controlrr�r�jupyterr�measurer�segmentrr/rr r�r!r"r#r$r&rWr(rr2rX�TextTyperr+r)rQ�pip._vendor.rich.consolergr+�rule�printrPr8r5�<module>r"s���	�%�����������*��(��!� ��#��O�O�#,���,�%+��"�+����G�$����f����1��S�E�8�I�#6�6�7��D�:�D�N�<��D&�z��0��	P��D�	���'��F�+����'��H�-��i�G��L�L�!�"��M�M�$�e�M�$��M�M�O��L�L�#�$��M�M�$�g�x�M�8��M�M�O��L�L�"�#��M�M�$�f�g�M�6��M�M�O��L�L�!�"��M�M�$�i��M�8��M�M�O�3r8