§
    fŠtjí  ã                   óˆ   — d dl Z d dlZddlmZ d dlmZ 	 d dlZn# e$ r dZY nw xY wd	d„Z ed¬¦  «        d
d„¦   «         Z	dS )é    Né   )Úmethod_files_map)Úxp_capabilitiesc           
      óN  ‡— |€t           }‰€*t          €t          d¦  «        ‚t          j        d¦  «        Št          j                             ‰¦  «        st          d‰› d�¦  «         d S | €)t          d‰› d�¦  «         t          j	        ‰¦  «         d S t          | t          t          z  ¦  «        s| g} | D ]ì}t          |¦  «        sJ ‚|j        }||vr4t          d|› dt          |                     ¦   «         ¦  «        › �¦  «        ‚||         }ˆfd	„|D ¦   «         }|D ]�}t          j                             |¦  «        rMt          d
t          j                             |¦  «        d         › d|› �¦  «         t	          j        |¦  «         Œnt          d|› d�¦  «         Œ‚Œíd S )NzsMissing optional dependency 'pooch' required for scipy.datasets module. Please use pip or conda to install 'pooch'.z
scipy-datazCache Directory z! doesn't exist. Nothing to clear.zCleaning the cache directory ú!zDataset method za doesn't exist. Please check if the passed dataset is a subset of the following dataset methods: c                 óP   •— g | ]"}t           j                             ‰|¦  «        ‘Œ#S © )ÚosÚpathÚjoin)Ú.0ÚfileÚ	cache_dirs     €úS/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/scipy/datasets/_utils.pyú
<listcomp>z _clear_cache.<locals>.<listcomp>/   s9   ø€ ð 6ð 6ð 6Ø"&õ !œgŸlšl¨9°dÑ;Ô;ð 6ð 6ð 6ó    zCleaning the file r   z for dataset zPath )r   ÚplatformdirsÚImportErrorÚuser_cache_dirr
   r   ÚexistsÚprintÚshutilÚrmtreeÚ
isinstanceÚlistÚtupleÚcallableÚ__name__Ú
ValueErrorÚkeysÚsplitÚremove)Údatasetsr   Ú
method_mapÚdatasetÚdataset_nameÚ
data_filesÚdata_filepathsÚdata_filepaths    `      r   Ú_clear_cacher*      s;  ø€ ØÐå%ˆ
ØÐåÐåð :ñ ;ô ;ð ;õ !Ô/°Ñ=Ô=ˆ	åŒ7�>Š>˜)Ñ$Ô$ð ÝÐM ÐMÐMÐMÑNÔNÐNØˆàÐÝÐ:¨iÐ:Ð:Ð:Ñ;Ô;Ð;ÝŒ�iÑ Ô Ð Ð Ð å˜(¥D­5¡LÑ1Ô1ð 	$à �|ˆHØð 	/ð 	/ˆGÝ˜GÑ$Ô$Ð$Ð$Ð$Ø"Ô+ˆLØ :Ð-Ð-Ý ð "G°<ð "Gð "Gõ .2°*·/²/Ñ2CÔ2CÑ-DÔ-Dð"Gð "Gñ Hô Hð Hð
 $ LÔ1ˆJð6ð 6ð 6ð 6Ø*4ð6ñ 6ô 6ˆNà!/ð /ð /�Ý”7—>’> -Ñ0Ô0ð /Ýð 8ÝœWŸ]š]¨=Ñ9Ô9¸!Ô<ð8ð 8à)5ð8ð 8ñ 9ô 9ð 9õ ”I˜mÑ,Ô,Ð,Ð,åð . -ð .ð .ð .ñ /ô /ð /ð /ð/ð	/ð 	/r   T)Úout_of_scopec                 ó$   — t          | ¦  «         dS )ak  
    Cleans the scipy datasets cache directory.

    If a scipy.datasets method or a list/tuple of the same is
    provided, then clear_cache removes all the data files
    associated to the passed dataset method callable(s).

    By default, it removes all the cached data files.

    Parameters
    ----------
    datasets : callable or list/tuple of callable or None

    Examples
    --------
    >>> from scipy import datasets
    >>> ascent_array = datasets.ascent()
    >>> ascent_array.shape
    (512, 512)
    >>> datasets.clear_cache([datasets.ascent])
    Cleaning the file ascent.dat for dataset ascent
    N)r*   )r#   s    r   Úclear_cacher-   <   s   € õ0 �ÑÔÐÐÐr   )NN)N)
r
   r   Ú	_registryr   Úscipy._lib._array_apir   r   r   r*   r-   r	   r   r   ú<module>r0      sÀ   ðØ 	€	€	€	Ø €€€Ø 'Ð 'Ð 'Ð 'Ð 'Ð 'à 1Ð 1Ð 1Ð 1Ð 1Ð 1ðØÐÐÐÐøØð ð ð Ø€L€L€Lðøøøð,/ð ,/ð ,/ð ,/ð^ €˜dÐ#Ñ#Ô#ðð ð ñ $Ô#ðð ð s   – ›%¤%