§
    Ñ¬“c×1  ã                  óÂ  — d Z ddlmZ ddlZddlZddlmZ ddlmZ erddl	m
Z
 ddlmZ dd	lmZmZ d-d„Z e¦   «         ZeZ	 	 	 	 d.d/d„Z	 	 	 	 d.d0d„Z	 	 	 	 d.d/d„Z	 	 	 	 d.d0d„Z	 	 	 	 d1d2d„Z	 	 	 	 d.d/d„Z	 	 	 	 d1d2d„Zd3d „Z	 	 	 	 d1d2d!„Z	 	 	 	 d.d4d#„Z	 	 	 	 d.d5d$„Z	 	 	 	 d.d4d%„Z	 	 	 	 d.d5d&„Z	 	 	 	 d1d6d'„Z 	 	 	 	 d.d4d(„Z!	 	 	 	 d1d6d)„Z"d7d*„Z#	 	 	 	 d1d6d+„Z$g d,¢Z%dS )8z€
Utilities for determining application-specific dirs. See <https://github.com/platformdirs/platformdirs> for details and
usage.
é    )ÚannotationsN)ÚPath)ÚTYPE_CHECKING)ÚLiteralé   )ÚPlatformDirsABC)Ú__version__Ú__version_info__Úreturnútype[PlatformDirsABC]c                 ó*  — t           j        dk    rddlm}  nt           j        dk    rddlm}  nddlm}  t          j	        d¦  «        dk    rFt          j	        d	¦  «        d
k    r.t          j	        d¦  «        �| S ddl
m}  |¦   «         �ddl
m} |S | S )NÚwin32r   )ÚWindowsÚdarwin)ÚMacOS)ÚUnixÚANDROID_DATAz/dataÚANDROID_ROOTz/systemÚSHELL)Ú_android_folder)ÚAndroid)ÚsysÚplatformÚplatformdirs.windowsr   Úplatformdirs.macosr   Úplatformdirs.unixr   ÚosÚgetenvÚplatformdirs.androidr   r   )ÚResultr   r   s      ú7/usr/lib/python3/dist-packages/platformdirs/__init__.pyÚ_set_platform_dir_classr"      sÒ   € Ý
„|�wÒÐØ:Ð:Ð:Ð:Ð:Ð:Ð:Ý	Œ˜Ò	!Ð	!Ø6Ð6Ð6Ð6Ð6Ð6Ð6à4Ð4Ð4Ð4Ð4Ð4å	„y�Ñ Ô  GÒ+Ð+µ´	¸.Ñ0IÔ0IÈYÒ0VÐ0VåŒ9�WÑÔÐ)ØˆMà8Ð8Ð8Ð8Ð8Ð8àˆ?ÑÔÐ(Ø4Ð4Ð4Ð4Ð4Ð4àˆNà€Mó    FÚappnameú
str | NoneÚ	appauthorústr | None | Literal[False]ÚversionÚroamingÚboolÚstrc                ó2   — t          | |||¬¦  «        j        S )aq  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: data directory tied to the user
    ©r$   r&   r(   r)   )ÚPlatformDirsÚuser_data_dirr-   s       r!   r/   r/   .   ó   € õ  °9ÀgÐW^Ð_Ñ_Ô_ÔmÐmr#   Ú	multipathc                ó2   — t          | |||¬¦  «        j        S )at  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: data directory shared by users
    ©r$   r&   r(   r1   )r.   Úsite_data_dirr3   s       r!   r4   r4   >   s   € õ  °9ÀgÐYbÐcÑcÔcÔqÐqr#   c                ó2   — t          | |||¬¦  «        j        S )as  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: config directory tied to the user
    r-   )r.   Úuser_config_dirr-   s       r!   r6   r6   N   ó   € õ  °9ÀgÐW^Ð_Ñ_Ô_ÔoÐor#   c                ó2   — t          | |||¬¦  «        j        S )az  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: config directory shared by the users
    r3   )r.   Úsite_config_dirr3   s       r!   r9   r9   ^   s   € õ  °9ÀgÐYbÐcÑcÔcÔsÐsr#   TÚopinionc                ó2   — t          | |||¬¦  «        j        S )ar  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: cache directory tied to the user
    ©r$   r&   r(   r:   )r.   Úuser_cache_dirr<   s       r!   r=   r=   n   ó   € õ  °9ÀgÐW^Ð_Ñ_Ô_ÔnÐnr#   c                ó2   — t          | |||¬¦  «        j        S )ar  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: state directory tied to the user
    r-   )r.   Úuser_state_dirr-   s       r!   r@   r@   ~   r>   r#   c                ó2   — t          | |||¬¦  «        j        S )ap  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: log directory tied to the user
    r<   )r.   Úuser_log_dirr<   s       r!   rB   rB   Ž   s   € õ  °9ÀgÐW^Ð_Ñ_Ô_ÔlÐlr#   c                 ó(   — t          ¦   «         j        S )z8
    :returns: documents directory tied to the user
    )r.   Úuser_documents_dir© r#   r!   rD   rD   ž   s   € õ ‰>Œ>Ô,Ð,r#   c                ó2   — t          | |||¬¦  «        j        S )at  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `opinion <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: runtime directory tied to the user
    r<   )r.   Úuser_runtime_dirr<   s       r!   rG   rG   ¥   ó   € õ  °9ÀgÐW^Ð_Ñ_Ô_ÔpÐpr#   r   c                ó2   — t          | |||¬¦  «        j        S )al  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: data path tied to the user
    r-   )r.   Úuser_data_pathr-   s       r!   rJ   rJ   µ   r>   r#   c                ó2   — t          | |||¬¦  «        j        S )aq  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `multipath <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: data path shared by users
    r3   )r.   Úsite_data_pathr3   s       r!   rL   rL   Å   s   € õ  °9ÀgÐYbÐcÑcÔcÔrÐrr#   c                ó2   — t          | |||¬¦  «        j        S )an  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: config path tied to the user
    r-   )r.   Úuser_config_pathr-   s       r!   rN   rN   Õ   rH   r#   c                ó2   — t          | |||¬¦  «        j        S )au  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param multipath: See `roaming <platformdirs.api.PlatformDirsABC.multipath>`.
    :returns: config path shared by the users
    r3   )r.   Úsite_config_pathr3   s       r!   rP   rP   å   s   € õ  °9ÀgÐYbÐcÑcÔcÔtÐtr#   c                ó2   — t          | |||¬¦  «        j        S )am  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: cache path tied to the user
    r<   )r.   Úuser_cache_pathr<   s       r!   rR   rR   õ   r7   r#   c                ó2   — t          | |||¬¦  «        j        S )am  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param roaming: See `roaming <platformdirs.api.PlatformDirsABC.version>`.
    :returns: state path tied to the user
    r-   )r.   Úuser_state_pathr-   s       r!   rT   rT     r7   r#   c                ó2   — t          | |||¬¦  «        j        S )ak  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `roaming <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: log path tied to the user
    r<   )r.   Úuser_log_pathr<   s       r!   rV   rV     r0   r#   c                 ó(   — t          ¦   «         j        S )z3
    :returns: documents path tied to the user
    )r.   Úuser_documents_pathrE   r#   r!   rX   rX   %  s   € õ ‰>Œ>Ô-Ð-r#   c                ó2   — t          | |||¬¦  «        j        S )ao  
    :param appname: See `appname <platformdirs.api.PlatformDirsABC.appname>`.
    :param appauthor: See `appauthor <platformdirs.api.PlatformDirsABC.appauthor>`.
    :param version: See `version <platformdirs.api.PlatformDirsABC.version>`.
    :param opinion: See `opinion <platformdirs.api.PlatformDirsABC.opinion>`.
    :returns: runtime path tied to the user
    r<   )r.   Úuser_runtime_pathr<   s       r!   rZ   rZ   ,  s   € õ  °9ÀgÐW^Ð_Ñ_Ô_ÔqÐqr#   )r	   r
   r.   ÚAppDirsr   r/   r6   r=   r@   rB   rD   rG   r4   r9   rJ   rN   rR   rT   rV   rX   rZ   rL   rP   )r   r   )NNNF)
r$   r%   r&   r'   r(   r%   r)   r*   r   r+   )
r$   r%   r&   r'   r(   r%   r1   r*   r   r+   )NNNT)
r$   r%   r&   r'   r(   r%   r:   r*   r   r+   )r   r+   )
r$   r%   r&   r'   r(   r%   r)   r*   r   r   )
r$   r%   r&   r'   r(   r%   r1   r*   r   r   )
r$   r%   r&   r'   r(   r%   r:   r*   r   r   )r   r   )&Ú__doc__Ú
__future__r   r   r   Úpathlibr   Útypingr   Útyping_extensionsr   Úapir   r(   r	   r
   r"   r.   r[   r/   r4   r6   r9   r=   r@   rB   rD   rG   rJ   rL   rN   rP   rR   rT   rV   rX   rZ   Ú__all__rE   r#   r!   ú<module>rc      sÃ  ððð ð #Ð "Ð "Ð "Ð "Ð "à 	€	€	€	Ø 
€
€
€
Ø Ð Ð Ð Ð Ð Ø  Ð  Ð  Ð  Ð  Ð  àð *Ø)Ð)Ð)Ð)Ð)Ð)à  Ð  Ð  Ð  Ð  Ð  Ø 2Ð 2Ð 2Ð 2Ð 2Ð 2Ð 2Ð 2ðð ð ð ð. 'Ð&Ñ(Ô(€Ø
€ð Ø-1ØØð	nð nð nð nð nð" Ø-1ØØð	rð rð rð rð rð" Ø-1ØØð	pð pð pð pð pð" Ø-1ØØð	tð tð tð tð tð" Ø-1ØØð	oð oð oð oð oð" Ø-1ØØð	oð oð oð oð oð" Ø-1ØØð	mð mð mð mð mð -ð -ð -ð -ð Ø-1ØØð	qð qð qð qð qð" Ø-1ØØð	oð oð oð oð oð" Ø-1ØØð	sð sð sð sð sð" Ø-1ØØð	qð qð qð qð qð" Ø-1ØØð	uð uð uð uð uð" Ø-1ØØð	pð pð pð pð pð" Ø-1ØØð	pð pð pð pð pð" Ø-1ØØð	nð nð nð nð nð .ð .ð .ð .ð Ø-1ØØð	rð rð rð rð rð ð ð €€€r#   