+
    QV-j…  ã                   óä   a € R t0 t R t^ RIt^ RIt]P                  ! R]P
                  4      tRRRRRRR	R
RR/t] ^ k R^R^<RRRRRR RR!RR"/t] ^k R R lt	R R lt
R R ltR R ltR R ltR# )#z&Parsing helpers shared across modules.Nz(\d+)([a-z]+)Úkiè  Úmi@B Úgi Êš;Útl    J)£Úpl     �Iú5 ÚsÚhÚdÚwÚmoÚyc                ó0   € V ^8„  d   QhR\         R\        /# ©é   ÚvalueÚreturn©ÚstrÚint)Úformats   "Úo/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/huggingface_hub/utils/_parsing.pyÚ__annotate__r   )   s   € ÷ /ñ /”cð /œcñ /ó    c                ó"   € \        V \        4      # )zaParse a size expressed as a string with digits and unit (like `"10MB"`) to an integer (in bytes).)Ú_parse_with_unitÚ
BYTE_UNITS©r   s   &r   Ú
parse_sizer   )   ó   € ä˜E¤:Ó.Ð.r   c                ó0   € V ^8„  d   QhR\         R\        /# r   r   )r   s   "r   r   r   .   s   € ÷ /ñ /œ#ð /¤#ñ /r   c                ó"   € \        V \        4      # )zfParse a duration expressed as a string with digits and unit (like `"10s"`) to an integer (in seconds).)r   Ú
TIME_UNITSr   s   &r   Úparse_durationr"   .   r   r   c                ó^   € V ^8„  d   QhR\         R\        \         \        3,          R\        /# )r   r   Úunitsr   )r   Údictr   )r   s   "r   r   r   3   s)   € ÷  ñ  œCð  ¬¬S´#¨X­ð  ¼3ñ  r   c           	     óÈ  € V P                  4       pV'       g   \        R4      h \        V 4      #   \         d     Mi ; i\        P	                  T4      pT'       g   \        RT  R24      h\        TP                  ^4      4      pTP                  ^4      P                  4       pYQ9  d*   \        RT R\        TP                  4       4       R24      hYAT,          ,          # )z)Parse a numeric value with optional unit.zValue cannot be empty.zInvalid value 'z7'. Must match pattern '\d+[a-z]+' or be a plain number.zUnknown unit 'z'. Must be one of Ú.)	ÚstripÚ
ValueErrorr   ÚRE_NUMBER_WITH_UNITÚ	fullmatchÚgroupÚlowerÚlistÚkeys)r   r$   ÚstrippedÚmatchÚnumberÚunits   &&    r   r   r   3   sÊ   € à�{‰{‹}€HßÜÐ1Ó2Ð2ðÜ�5‹zÐøÜô Ùðúô  ×)Ñ)¨(Ó3€EßÜ˜?¨5¨'Ð1iÐjÓkÐkä�—‘˜Q“Ó €FØ�;‰;�q‹>×ÑÓ!€DàÔÜ˜>¨$¨Ð/AÄ$ÀuÇzÁzÃ|ÓBTÐAUÐUVÐWÓXÐXà˜$•KÕÐs   ¥
0 °>½>c                ó>   € V ^8„  d   QhR\         R,          R\        /# )r   ÚsecsNr   )r   r   )r   s   "r   r   r   J   s   € ÷ 5ñ 5œ# �*ð 5¬ñ 5r   c                ó°   € V f   R# \        V 4      p V ^<8  d   V  R2# V R8  d   V ^<,           RV ^<,           R2# V R,           RV R,          ^<,           R2# )z¼Format a duration in seconds as a short human-readable string (e.g. `"1m 32s"`, `"2h 15m"`, `"45s"`).

Returns `"--"` when `secs` is `None` so it can be used directly as a CLI table cell.
z--r   é  zm zh r   )r   )r5   s   &r   Úformat_durationr8   J   sk   € ð
 ‚|ÙÜˆt‹9€DØˆb„yØ��qˆzÐØˆd„{Ø˜"•*�˜R  r¥	˜{¨!Ð,Ð,Ø�d�lˆ^˜2˜t d�{¨rÕ1Ð2°!Ð4Ð4r   c                ó0   € V ^8„  d   QhR\         R\        /# )r   Útsr   )Úfloatr   )r   s   "r   r   r   Y   s   € ÷ <ñ <œð <¤3ñ <r   c                óÒ   € Rp\         P                   ! 4       V ,
          pV^8  d   R# V F%  w  r4p\        W$,          4      pVf   K  We8:  g   K%   M	  X RX V^8”  d   R R2# R R2# )z€Format timestamp in seconds into a human-readable string, relative to now.

Vaguely inspired by Django's `timesince` formatter.
za few seconds agoÚ r   Ú z ago))Úsecondé   é<   )ÚminuterA   rA   )Úhourr7   é   )Údayé€Q é   )Úweeké€:	 rG   )Úmonthé �' é   )Úyearé€3áN)ÚtimeÚround)r:   Ú_TIMESINCE_CHUNKSÚdeltaÚlabelÚdividerÚ	max_valuer   s   &      r   Úformat_timesincerV   Y   s|   € ð
	Ðô �IŠI‹K˜"Õ€EØˆr„zÙ"Û%6Ñ!ˆ˜	Ü�e•oÓ&ˆØÔ  UÖ%7Ùñ &7ð ˆW�A�e�W E¨A¤I˜SÐ6°dÐ;Ð;°2Ð6°dÐ;Ð;r   c                ó¬   € V ^8„  d   Qh/ ^ \         9   d   \        \        \        3,          ;R&   ^\         9   d   \        \        \        3,          ;R&   # )r   r   r!   )Ú__conditional_annotations__r%   r   r   )r   s   "r   r   r      sD   € × ,Ñ ,÷ò ŒD””c��Nñ ñ -÷ ò ŒD””c��Nñ ò! -r   r7   rF   rI   rK   rN   )rX   Ú__doc__ÚrerO   ÚcompileÚ
IGNORECASEr*   r   r!   r   r"   r   r8   rV   r   )rX   s   @r   Ú<module>r]      sŸ   øðö -ã 	Û ð —j’jÐ!1°2·=±=ÓAÐ ð ˆØˆØˆØÐ	ØÐ	ð€
ó ð ˆØˆØˆØˆØÐ	ØÐ
ØÐ	ð€
ó õ/õ
/õ
 õ.5÷<r   