+
    ^eòj„%  ã                  óŽ   € R t ^ RIHt ^ RIHt ^RIHt RRRR^RR/R	 R
 llltRRRR^RR/R R llltRRRR^RR/R R lllt	R# )zBPython grapheme, emoji, and sequence-aware ljust, rjust, center().)Úannotations)ÚLiteral)ÚwidthÚcontrol_codesÚparseÚambiguous_widthÚterm_programFc               ó4   € V ^8„  d   QhRRRRRRRRRRR	R
RR/# ©é   ÚtextÚstrÚ
dest_widthÚintÚfillcharr   z$Literal['parse', 'strict', 'ignore']r   r   z
bool | strÚreturn© )Úformats   "Ú„/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/wcwidth/align.pyÚ__annotate__r   
   sN   € ÷ >+ñ >+Ø
ð>+àð>+ð ð>+ð
 8ð>+ð ð>+ð ð>+ð 	ñ>+ó    c               óÐ   € V P                  4       '       d#   V P                  4       '       d   \        V 4      pM\        WVVR7      p\	        ^ W,
          4      pWV,          ,           # )uÏ  
Return text left-justified in a string of given display width.

:param text: String to justify, may contain terminal sequences.
:param dest_width: Desired displayed width of result in terminal cells, which
    ``text`` can exceed. Use :func:`wcwidth.clip` to ensure ``text`` does not
    exceed ``dest_width``.
:param fillchar: Single character for padding (default space). Must have
    display width of 1. 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``.

Tabs are measured as though ``text`` begins at column 0. It is suggested to first use
:func:`str.expandtabs` or :func:`wcwidth.clip` to expand tabs before applying text alignment.

Text wider than ``dest_width`` is returned unchanged. Clip to ``dest_width`` if needed::

    >>> from wcwidth import clip
    >>> ljust('abcdefghi', 2)              # wider than dest_width, unchanged
    'abcdefghi'
    >>> ljust(clip('abcdefghi', 0, 2), 2)  # clipped to dest_width
    'ab'

.. versionadded:: 0.3.0

Example::

    >>> ljust('hi', 5)
    'hi   '
    >>> ljust('\x1b[31mhi\x1b[0m', 5)
    '\x1b[31mhi\x1b[0m   '
    >>> ljust('\U0001F468\u200D\U0001F469\u200D\U0001F467', 6)
    'ðŸ‘¨â€�ðŸ‘©â€�ðŸ‘§    '
    >>> ljust('\U0001F468\u200D\U0001F469\u200D\U0001F467', 6, term_program='VTE')
    'ðŸ‘¨\u200dðŸ‘©\u200dðŸ‘§'
©r   r   r   ©ÚisasciiÚisprintableÚlenr   Úmax©r   r   r   r   r   r   Ú
text_widthÚpadding_cellss   &&&$$$  r   Úljustr!   
   sU   € ðp ‡|�|‡~‚~˜$×*Ñ*×,Ò,Ü˜“Y‰
ä˜4ÈoØ(4ô6ˆ
ä˜˜:Õ2Ó3€MØ˜]Õ*Õ*Ð*r   c               ó4   € V ^8„  d   QhRRRRRRRRRRR	R
RR/# r
   r   )r   s   "r   r   r   K   sW   € ÷ D+ñ D+Ø
ðD+àðD+ð ðD+ð
 8ðD+ð ðD+ð ðD+ð 	ñD+r   c               óÐ   € V P                  4       '       d#   V P                  4       '       d   \        V 4      pM\        WVVR7      p\	        ^ W,
          4      pW',          V ,           # )u5	  
Return text right-justified in a string of given display width.

:param text: String to justify, may contain terminal sequences.
:param dest_width: Desired displayed width of result in terminal cells, which ``text`` can
    exceed. Use :func:`wcwidth.clip` to ensure ``text`` does not exceed ``dest_width``.
:param fillchar: Single character for padding (default space). Must have
    display width of 1. 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``.

Tabs are measured as though ``text`` begins at column 0. The ``fillchar`` placed before a tab by
right-justified text moves any tabs to a later stop and produces an incorrect alignment result.
It is suggested never to align text containing a tab, calling :func:`str.expandtabs` or
:func:`wcwidth.clip` (which also expands tabs) if necessary::

    >>> rjust('a\tbc', 12)                # when displayed, becomes width of 10, wrong
    '  a\tbc'
    >>> rjust('a\tbc'.expandtabs(), 12)   # properly displayed as width of 12
    '  a       bc'

Text wider than ``dest_width`` is returned unchanged. Clip to ``dest_width`` if needed::

    >>> from wcwidth import clip
    >>> rjust('abcdefghi', 2)              # wider than dest_width, unchanged
    'abcdefghi'
    >>> rjust(clip('abcdefghi', 0, 2), 2)  # clipped to dest_width
    'ab'

.. versionadded:: 0.3.0

Example::

    >>> rjust('hi', 5)
    '   hi'
    >>> rjust('\x1b[31mhi\x1b[0m', 5)
    '   \x1b[31mhi\x1b[0m'
    >>> rjust('\U0001F468\u200D\U0001F469\u200D\U0001F467', 6)
    '    ðŸ‘¨â€�ðŸ‘©â€�ðŸ‘§'
    >>> rjust('\U0001F468\u200D\U0001F469\u200D\U0001F467', 6, term_program='VTE')
    'ðŸ‘¨\u200dðŸ‘©\u200dðŸ‘§'
r   r   r   s   &&&$$$  r   Úrjustr$   K   sU   € ð| ‡|�|‡~‚~˜$×*Ñ*×,Ò,Ü˜“Y‰
ä˜4ÈoØ(4ô6ˆ
ä˜˜:Õ2Ó3€MØÕ# dÕ*Ð*r   c               ó4   € V ^8„  d   QhRRRRRRRRRRR	R
RR/# r
   r   )r   s   "r   r   r   ’   sW   € ÷ M=ñ M=Ø
ðM=àðM=ð ðM=ð
 8ðM=ð ðM=ð ðM=ð 	ñM=r   c               ó4  € V P                  4       '       d#   V P                  4       '       d   \        V 4      pM\        WVVR7      p\	        ^ W,
          4      pV^,          Wq,          ^,          ,           pWx,
          p	W(,          V ,           W),          ,           # )uZ
  
Return text centered in a string of given display width.

:param text: String to center, may contain terminal sequences.
:param dest_width: Desired displayed width of result in terminal cells, which
    ``text`` can exceed. Use :func:`wcwidth.clip` to ensure ``text`` does not
    exceed ``dest_width``.
:param fillchar: Single character for padding (default space). Must have
    display width of 1. 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>`_.

Tabs are measured as though ``text`` begins at column 0. The ``fillchar`` placed before a tab by
centered text moves any tabs to a later stop and produces an incorrect alignment result. It is
suggested never to align text containing a tab, calling :func:`str.expandtabs` or
:func:`wcwidth.clip` (which also expands tabs) if necessary::

    >>> center('a\tbc', 12)               # when displayed, becomes width of 11, wrong
    ' a\tbc '
    >>> center('a\tbc'.expandtabs(), 12)  # properly displayed as width of 12
    ' a       bc '

Text wider than ``dest_width`` is returned unchanged. Clip to ``dest_width`` if needed::

    >>> from wcwidth import clip
    >>> center('abcdefghi', 2)              # wider than dest_width, unchanged
    'abcdefghi'
    >>> center(clip('abcdefghi', 0, 2), 2)  # clipped to dest_width
    'ab'

.. versionadded:: 0.3.0

Example::

    >>> center('hi', 6)
    '  hi  '
    >>> center('\x1b[31mhi\x1b[0m', 6)
    '  \x1b[31mhi\x1b[0m  '
    >>> center('\U0001F468\u200D\U0001F469\u200D\U0001F467', 6)
    '  ðŸ‘¨â€�ðŸ‘©â€�ðŸ‘§  '
    >>> center('\U0001F468\u200D\U0001F469\u200D\U0001F467', 6, term_program='VTE')
    'ðŸ‘¨\u200dðŸ‘©\u200dðŸ‘§'
r   r   )
r   r   r   r   r   r   r   Útotal_paddingÚleft_padÚ	right_pads
   &&&$$$    r   Úcenterr*   ’   s|   € ðH ‡|�|‡~‚~˜$×*Ñ*×,Ò,Ü˜“Y‰
ä˜4ÈoØ(4ô6ˆ
ä˜˜:Õ2Ó3€Mà Õ! ]Õ%?À!Õ%CÕD€HØÕ(€IØÕ Õ%¨Õ(<Õ<Ð<r   N)Ú )
Ú__doc__Ú
__future__r   Útypingr   Ú_widthr   r!   r$   r*   r   r   r   Ú<module>r0      sš   ðÙ HÝ "å õ ñ>+ð
 ;Bð>+ð ð>+ð  %÷>+ð >+ñBD+ð
 ;BðD+ð ðD+ð  %÷D+ð D+ñNM=ð
 ;BðM=ð ðM=ð  %÷M=ò M=r   