Ë
    äU.j‚  ã                  ó¼   — d Z ddlmZ ddlmZ ddlmZ 	 dddddœ	 	 	 	 	 	 	 	 	 	 	 	 	 dd	„Z	 dddddœ	 	 	 	 	 	 	 	 	 	 	 	 	 dd
„Z	 dddddœ	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Z	y)zBPython grapheme, emoji, and sequence-aware ljust, rjust, center().é    )Úannotations)ÚLiteralé   )ÚwidthÚparseF©Úcontrol_codesÚambiguous_widthÚterm_programc               ó¦   — | j                  «       r| j                  «       rt        | «      }nt        | |||¬«      }t	        d||z
  «      }| ||z  z   S )u¹  
    Return text left-justified in a string of given display width.

    :param text: String to justify, may contain terminal sequences.
    :param dest_width: Total display width of result in terminal cells.
    :param fillchar: Single character for padding (default space). Must have
        display width of 1 (not wide, not zero-width, not combining). Unicode
        characters like ``'Â·'`` are acceptable. The width is not validated.
    :param control_codes: How to handle control sequences when measuring.
        Passed to :func:`width` for measurement.
    :param ambiguous_width: Width to use for East Asian Ambiguous (A)
        characters. Default is ``1`` (narrow). Set to ``2`` for CJK contexts.
    :param term_program: Terminal software identifier for table correction.
        ``False`` (default) disables override lookup.  ``True`` reads the
        ``TERM_PROGRAM`` or ``TERM`` environment variable for auto-detection.
        Accepts a canonical terminal name matching :func:`list_term_programs`,
        such as from XTVERSION_, ENQ_, or ``TERM_PROGRAM``.

        .. versionadded:: 0.8.0
    :returns: Text padded on the right to reach ``dest_width``.

    .. versionadded:: 0.3.0

    Example::

        >>> wcwidth.ljust('hi', 5)
        'hi   '
        >>> wcwidth.ljust('\x1b[31mhi\x1b[0m', 5)
        '\x1b[31mhi\x1b[0m   '
        >>> wcwidth.ljust('\U0001F468\u200D\U0001F469\u200D\U0001F467', 6)
        'ðŸ‘¨â€�ðŸ‘©â€�ðŸ‘§    '
    r   r   ©ÚisasciiÚisprintableÚlenr   Úmax©ÚtextÚ
dest_widthÚfillcharr	   r
   r   Ú
text_widthÚpadding_cellss           úOC:\xampp\htdocs\tradingbinance\backend\.venv\Lib\site-packages\wcwidth/align.pyÚljustr   
   sV   € ðR ‡|�|„~˜$×*Ñ*Ô,Ü˜“Y‰
ä˜4¨}ÈoØ(4ô6ˆ
ä˜˜:¨
Ñ2Ó3€MØ�(˜]Ñ*Ñ*Ð*ó    c               ó¦   — | j                  «       r| j                  «       rt        | «      }nt        | |||¬«      }t	        d||z
  «      }||z  | z   S )u¹  
    Return text right-justified in a string of given display width.

    :param text: String to justify, may contain terminal sequences.
    :param dest_width: Total display width of result in terminal cells.
    :param fillchar: Single character for padding (default space). Must have
        display width of 1 (not wide, not zero-width, not combining). Unicode
        characters like ``'Â·'`` are acceptable. The width is not validated.
    :param control_codes: How to handle control sequences when measuring.
        Passed to :func:`width` for measurement.
    :param ambiguous_width: Width to use for East Asian Ambiguous (A)
        characters. Default is ``1`` (narrow). Set to ``2`` for CJK contexts.
    :param term_program: Terminal software identifier for table correction.
        ``False`` (default) disables override lookup.  ``True`` reads the
        ``TERM_PROGRAM`` or ``TERM`` environment variable for auto-detection.
        Accepts a canonical terminal name matching :func:`list_term_programs`,
        such as from XTVERSION_, ENQ_, or ``TERM_PROGRAM``.

        .. versionadded:: 0.8.0
    :returns: Text padded on the left to reach ``dest_width``.

    .. versionadded:: 0.3.0

    Example::

        >>> wcwidth.rjust('hi', 5)
        '   hi'
        >>> wcwidth.rjust('\x1b[31mhi\x1b[0m', 5)
        '   \x1b[31mhi\x1b[0m'
        >>> wcwidth.rjust('\U0001F468\u200D\U0001F469\u200D\U0001F467', 6)
        '    ðŸ‘¨â€�ðŸ‘©â€�ðŸ‘§'
    r   r   r   r   s           r   Úrjustr   <   sV   € ðR ‡|�|„~˜$×*Ñ*Ô,Ü˜“Y‰
ä˜4¨}ÈoØ(4ô6ˆ
ä˜˜:¨
Ñ2Ó3€MØ�mÑ# dÑ*Ð*r   c               óØ   — | j                  «       r| j                  «       rt        | «      }nt        | |||¬«      }t	        d||z
  «      }|dz  ||z  dz  z   }||z
  }	||z  | z   ||	z  z   S )uî  
    Return text centered in a string of given display width.

    :param text: String to center, may contain terminal sequences.
    :param dest_width: Total display width of result in terminal cells.
    :param fillchar: Single character for padding (default space). Must have
        display width of 1 (not wide, not zero-width, not combining). Unicode
        characters like ``'Â·'`` are acceptable. The width is not validated.
    :param control_codes: How to handle control sequences when measuring.
        Passed to :func:`width` for measurement.
    :param ambiguous_width: Width to use for East Asian Ambiguous (A)
        characters. Default is ``1`` (narrow). Set to ``2`` for CJK contexts.
    :param term_program: Terminal software identifier for table correction.
        ``False`` (default) disables override lookup.  ``True`` reads the
        ``TERM_PROGRAM`` or ``TERM`` environment variable for auto-detection.
        Accepts a canonical terminal name matching :func:`list_term_programs`,
        such as from XTVERSION_, ENQ_, or ``TERM_PROGRAM``.

        .. versionadded:: 0.8.0
    :returns: Text padded on both sides to reach ``dest_width``.

    For odd-width padding, the extra cell fills in the same cell position as
    Python's :meth:`str.center` behavior (the left side when ``dest_width`` is
    odd, the right side when ``dest_width`` is even).
    See `the eccentric str.center <https://jazcap53.github.io/pythons-eccentric-strcenter.html>`_.

    .. versionadded:: 0.3.0

    Example::

        >>> wcwidth.center('hi', 6)
        '  hi  '
        >>> wcwidth.center('\x1b[31mhi\x1b[0m', 6)
        '  \x1b[31mhi\x1b[0m  '
        >>> wcwidth.center('\U0001F468\u200D\U0001F469\u200D\U0001F467', 6)
        '  ðŸ‘¨â€�ðŸ‘©â€�ðŸ‘§  '
    r   r   é   r   r   )
r   r   r   r	   r
   r   r   Útotal_paddingÚleft_padÚ	right_pads
             r   Úcenterr"   n   sƒ   € ð\ ‡|�|„~˜$×*Ñ*Ô,Ü˜“Y‰
ä˜4¨}ÈoØ(4ô6ˆ
ä˜˜:¨
Ñ2Ó3€Mà Ñ! ]°ZÑ%?À!Ñ%CÑD€HØ Ñ(€IØ�hÑ Ñ%¨°9Ñ(<Ñ<Ð<r   N)Ú )r   Ústrr   Úintr   r$   r	   z$Literal['parse', 'strict', 'ignore']r
   r%   r   z
bool | strÚreturnr$   )
Ú__doc__Ú
__future__r   Útypingr   Ú_widthr   r   r   r"   © r   r   Ú<module>r,      s,  ðÙ HÝ "å õ ð ð/+ð
 ;BØØ$ñ/+Ø
ð/+àð/+ð ð/+ð
 8ð/+ð ð/+ð ð/+ð 	ó/+ðj ð/+ð
 ;BØØ$ñ/+Ø
ð/+àð/+ð ð/+ð
 8ð/+ð ð/+ð ð/+ð 	ó/+ðj ð7=ð
 ;BØØ$ñ7=Ø
ð7=àð7=ð ð7=ð
 8ð7=ð ð7=ð ð7=ð 	ô7=r   