ó
    û¦Ögg  ã                   óŠ   • S SK r S SKrS SKJr  S SKrS SKrS\S\	4S jr
\
SS.S\S\ R                  S	\\/\	4   S
\	S\	4
S jjrg)é    N)ÚCallableÚurlÚreturnc                 óø   • [         R                  R                  U SS[        R                   30S9n[         R                  R                  U5       nUR                  5       sS S S 5        $ ! , (       d  f       g = f)Nz
User-Agentzmkdocs/)Úheaders)ÚurllibÚrequestÚRequestÚmkdocsÚ__version__ÚurlopenÚread)r   ÚreqÚresps      Ú4/usr/lib/python3/dist-packages/mkdocs/utils/cache.pyÚdownload_urlr   
   sW   € Ü
�.‰.×
 Ñ
  ¨|¸wÄv×GYÑGYÐFZÐ=[Ð.\Ð
 Ð
]€CÜ	�‰×	Ñ	 Ô	$¨Ø�y‰y‹{÷ 
%×	$×	$ús   ÁA+Á+
A9s   # )ÚdownloadÚcommentÚcache_durationr   r   c                ó>   • [         R                  R                  XX#S9$ )aµ  
Downloads a file from the URL, stores it under ~/.cache/, and returns its content.

For tracking the age of the content, a prefix is inserted into the stored file, rather than relying on mtime.

Args:
    url: URL to use.
    download: Callback that will accept the URL and actually perform the download.
    cache_duration: How long to consider the URL content cached.
    comment: The appropriate comment prefix for this file format.
©r   r   r   r   )Úmkdocs_get_depsÚcacheÚdownload_and_cache_urlr   s       r   r   r      s'   € ô$ × Ñ ×7Ñ7Ø¸ð 8ð ð ó    )ÚdatetimeÚurllib.requestr   Útypingr   Úmkdocs_get_deps.cacher   r   ÚstrÚbytesr   Ú	timedeltar   © r   r   Ú<module>r$      ss   ðÛ Û Ý ã ã ð�cð ˜eô ð (4ØòØ	ðà×&Ñ&ðð ˜�u˜e�|Ñ$ð	ð
 ðð ör   