
    &e/                     t    d dl mZmZmZ d dlmZ d dlmZ d dl	m
Z
 erd dlmZ d dlmZ  G d d          Zd	S )
    )TYPE_CHECKINGOptionalcast)Text)gather_metrics)
clean_text)DeltaGenerator)SupportsStrc                   n    e Zd Z ed          dddddee         ddfd	            Zedd
            ZdS )	TextMixintextN)helpbodyr
   r   returnr	   c                    t                      }t          |          |_        |r||_        | j                            d|          S )ac  Write fixed-width and preformatted text.

        Parameters
        ----------
        body : str
            The string to display.

        help : str
            An optional tooltip that gets displayed next to the text.

        Example
        -------
        >>> import streamlit as st
        >>>
        >>> st.text('This is some text.')

        r   )	TextProtor   r   r   dg_enqueue)selfr   r   
text_protos       7lib/python3.11/site-packages/streamlit/elements/text.pyr   zTextMixin.text   sC    0 [[
$T**
 	#"JOw
333    c                 "    t          d|           S )zGet our DeltaGenerator.r	   )r   )r   s    r   r   zTextMixin.dg9   s     $d+++r   )r   r	   )	__name__
__module____qualname__r   r   strr   propertyr    r   r   r   r      s        ^F
 #	4 4 44 sm	4
 
4 4 4 4: , , , X, , ,r   r   N)typingr   r   r   streamlit.proto.Text_pb2r   r   streamlit.runtime.metrics_utilr   streamlit.string_utilr   streamlit.delta_generatorr	   streamlit.type_utilr
   r   r   r   r   <module>r&      s    1 0 0 0 0 0 0 0 0 0 6 6 6 6 6 6 9 9 9 9 9 9 , , , , , , 0888888//////", ", ", ", ", ", ", ", ", ",r   