+
    NV-j´	  ã                   ód   € R t R.t^ RIHtHtHtHt R^RR/R R lltR R	 ltR^RR/R
 R llt	R# )aË  Functions for reporting filesizes. Borrowed from https://github.com/PyFilesystem/pyfilesystem2

The functions declared in this module should cover the different
use cases needed to generate a string representation of a file size
using several different units. Since there are many standards regarding
file size units, three different functions have been implemented.

See Also:
    * `Wikipedia: Binary prefix <https://en.wikipedia.org/wiki/Binary_prefix>`_

Údecimal)ÚIterableÚListÚOptionalÚTupleÚ	precisionÚ	separatorÚ c                ó¢   € V ^8„  d   QhR\         R\        \        ,          R\         R\        \         ,          R\        \        ,          R\        /# )é   ÚsizeÚsuffixesÚbaser   r   Úreturn)Úintr   Ústrr   )Úformats   "Ú^/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/rich/filesize.pyÚ__annotate__r      sP   € ÷ ñ Ü
ðä”s�mðô ðô
 œ�}ðô œ�}ðô 	ñó    c                óº   € V ^8X  d   R# W8  d   V R R2# \        V^4       F  w  rVW%,          pW8  g   K   M	  RP                  W ,          X,          XVVR7      # )é   z1 byteÚ,z bytesz{:,.{precision}f}{separator}{}©r   r   )Ú	enumerater   )r   r   r   r   r   ÚiÚsuffixÚunits   &&&$$   r   Ú_to_strr      sq   € ð ˆq„yÙØ	ŒØ�q�˜Ð Ð ä˜x¨Ö+‰	ˆØ�wˆØŽ;Ùñ ,ð ,×2Ñ2Ø	��tÕ	ØØØð	 3ó ð r   c          
      ó€   € V ^8„  d   QhR\         R\        \        ,          R\         R\        \         \        3,          /# )r   r   r   r   r   )r   r   r   r   )r   s   "r   r   r   +   s5   € ÷ ñ œsð ¬d´3­ið ¼sð ÄuÌSÔRUÈXÅñ r   c                ód   € \        V4       F  w  r4W#,          pWV,          8  g   K   WT3# 	  XX3# )z*Pick a suffix and base for the given size.)r   )r   r   r   r   r   r   s   &&&   r   Úpick_unit_and_suffixr!   +   s;   € ä˜xÖ(‰	ˆØ�wˆØ˜•+ÖØØˆ<Ðñ	 )ð �ˆ<Ðr   c                ót   € V ^8„  d   QhR\         R\        \         ,          R\        \        ,          R\        /# )r   r   r   r   r   )r   r   r   )r   s   "r   r   r   4   s:   € ÷ $ñ $Ü
ð$ô œ�}ð$ô œ�}ð	$ô
 	ñ$r   c               ó"   € \        V RRVVR7      # )aï  Convert a filesize in to a string (powers of 1000, SI prefixes).

In this convention, ``1000 B = 1 kB``.

This is typically the format used to advertise the storage
capacity of USB flash drives and the like (*256 MB* meaning
actually a storage capacity of more than *256 000 000 B*),
or used by **Mac OS X** since v10.6 to report file sizes.

Arguments:
    int (size): A file size.
    int (precision): The number of decimal places to include (default = 1).
    str (separator): The string to separate the value from the units (default = " ").

Returns:
    `str`: A string containing a abbreviated file size and units.

Example:
    >>> filesize.decimal(30000)
    '30.0 kB'
    >>> filesize.decimal(30000, precision=2, separator="")
    '30.00kB'

iè  r   )ÚkBÚMBÚGBÚTBÚPBÚEBÚZBÚYB)r   )r   r   r   s   &$$r   r   r   4   s    € ô< ØØ8ØØØôð r   N)
Ú__doc__Ú__all__Útypingr   r   r   r   r   r!   r   © r   r   Ú<module>r0      sU   ðñ
ð ˆ+€ç 2Ó 2ðð
  !ðð  #÷õ2ð$ð  !ð$ð  #÷	$ñ $r   