§
    rŠtjÍ  ã                   ó8   — d dl Z d dlmZ d„ Zedd„¦   «         ZdS )é    N)Úcontextmanagerc                 óž   — d| z  }|dk    r	d|dz  z  }nd|z  }d|›d|›�}dt          |¦  «        z
  t          |¦  «        z
  }|›|dz  ›|›�S )	zûCreate one line message for logging purposes.

    Parameters
    ----------
    source : str
        String indicating the source or the reference of the message.

    message : str
        Short message.

    time : int
        Time in seconds.
    z[%s] é<   z%4.1fminz %5.1fsú z, total=éF   ú.)Úlen)ÚsourceÚmessageÚtimeÚstart_messageÚtime_strÚend_messageÚdots_lens          ú[/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/sklearn/utils/_user_interface.pyÚ_message_with_timer      sz   € ð ˜fÑ$€Mð ˆb‚y€yØ ¨¡Ñ+ˆˆà˜tÑ#ˆøØ%, W W¨h¨hÐ7€KØ•C˜Ñ&Ô&Ñ&­¨[Ñ)9Ô)9Ñ9€HØ$�} h°¡n n°k°kÐBÐBó    c              #   ó¬   K  — |€dV — dS t          j        ¦   «         }dV — t          t          | |t          j        ¦   «         |z
  ¦  «        ¦  «         dS )aj  Log elapsed time to stdout when the context is exited.

    Parameters
    ----------
    source : str
        String indicating the source or the reference of the message.

    message : str, default=None
        Short message. If None, nothing will be printed.

    Returns
    -------
    context_manager
        Prints elapsed time upon exit if verbose.
    N)ÚtimeitÚdefault_timerÚprintr   )r
   r   Ústarts      r   Ú_print_elapsed_timer   #   s`   è è € ð" €ØˆˆˆˆˆåÔ$Ñ&Ô&ˆØˆˆˆÝÕ  ¨µ&Ô2FÑ2HÔ2HÈ5Ñ2PÑQÔQÑRÔRÐRÐRÐRr   )N)r   Ú
contextlibr   r   r   © r   r   ú<module>r      sd   ðð €€€Ø %Ð %Ð %Ð %Ð %Ð %ðCð Cð Cð6 ðSð Sð Sñ „ðSð Sð Sr   