
    ˆhW                    *   S r SSKJr  SSKrSSKrSSKJr  SSKJr  SSK	J
r
  SSK	Jr  \(       a  SS	KJr  SS
KJr  \R                   S:X  a  SSKJr  O\R                   S:X  a  SSKJr  OSSKJr  S2S jr\(       a  \rO\" 5       r\r     S3           S4S jjr     S3           S5S jjr     S3           S4S jjr     S3           S5S jjr     S6           S7S jjr     S6           S7S jjr      S3           S4S jjr!     S6           S7S jjr"S8S jr#S8S jr$S8S jr%S8S jr&S8S jr'S8S jr(     S6           S7S jjr)     S6           S7S  jjr*     S3           S9S! jjr+     S3           S:S" jjr,     S3           S9S# jjr-     S3           S:S$ jjr.     S6           S;S% jjr/     S6           S;S& jjr0     S3           S9S' jjr1     S6           S;S( jjr2S<S) jr3S<S* jr4S<S+ jr5S<S, jr6S<S- jr7S<S. jr8     S6           S;S/ jjr9     S6           S;S0 jjr:/ S1Qr;g)=z
Utilities for determining application-specific dirs.

See <https://github.com/platformdirs/platformdirs> for details and usage.

    )annotationsN)TYPE_CHECKING   )PlatformDirsABC)__version__)__version_tuple__)Path)Literalwin32)Windowsdarwin)MacOS)Unixc                    [         R                  " S5      S:X  al  [         R                  " S5      S:X  aR  [         R                  " S5      (       d  [         R                  " S5      (       a  [        $ SSKJn   U " 5       b  SS	KJn  U$ [        $ )
NANDROID_DATAz/dataANDROID_ROOTz/systemSHELLPREFIXr   )_android_folder)Android)osgetenv_Resultplatformdirs.androidr   r   )r   r   s     M/opt/services/DDDS/venv/lib/python3.13/site-packages/platformdirs/__init__.py_set_platform_dir_classr      s^    	yy G+		.0IY0V99W8!4!4N8(4NN    c                0    [        U UUUUS9R                  $ )a  
: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.roaming>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: data directory tied to the user
appname	appauthorversionroamingensure_exists)PlatformDirsuser_data_dirr   s        r   r&   r&   5   '     # mr   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: data directory shared by users
r    r!   r"   	multipathr$   )r%   site_data_dirr)   s        r   r+   r+   M   s'     # mr   c                0    [        U UUUUS9R                  $ )a  
: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.roaming>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: config directory tied to the user
r   )r%   user_config_dirr   s        r   r-   r-   e   '     # or   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: config directory shared by the users
r)   )r%   site_config_dirr)   s        r   r0   r0   }   s'     # or   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: cache directory tied to the user
r    r!   r"   opinionr$   )r%   user_cache_dirr2   s        r   r4   r4      '     # nr   c                0    [        U UUUUS9R                  $ a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: cache directory tied to the user
r2   )r%   site_cache_dirr2   s        r   r8   r8      r5   r   c                0    [        U UUUUS9R                  $ )a  
: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.roaming>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: state directory tied to the user
r   )r%   user_state_dirr   s        r   r:   r:      r5   r   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: log directory tied to the user
r2   )r%   user_log_dirr2   s        r   r<   r<      s'     # lr   c                 *    [        5       R                  $ )z.:returns: documents directory tied to the user)r%   user_documents_dir r   r   r>   r>          >,,,r   c                 *    [        5       R                  $ )z.:returns: downloads directory tied to the user)r%   user_downloads_dirr?   r   r   rB   rB      r@   r   c                 *    [        5       R                  $ )z-:returns: pictures directory tied to the user)r%   user_pictures_dirr?   r   r   rD   rD          >+++r   c                 *    [        5       R                  $ )z+:returns: videos directory tied to the user)r%   user_videos_dirr?   r   r   rG   rG         >)))r   c                 *    [        5       R                  $ )z*:returns: music directory tied to the user)r%   user_music_dirr?   r   r   rJ   rJ   	  s    >(((r   c                 *    [        5       R                  $ )z,:returns: desktop directory tied to the user)r%   user_desktop_dirr?   r   r   rL   rL         >***r   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: runtime directory tied to the user
r2   )r%   user_runtime_dirr2   s        r   rO   rO     (     # r   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: runtime directory shared by users
r2   )r%   site_runtime_dirr2   s        r   rR   rR   +  rP   r   c                0    [        U UUUUS9R                  $ )a  
: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.roaming>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: data path tied to the user
r   )r%   user_data_pathr   s        r   rT   rT   C  r5   r   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: data path shared by users
r)   )r%   site_data_pathr)   s        r   rV   rV   [  s'     # nr   c                0    [        U UUUUS9R                  $ )a  
: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.roaming>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: config path tied to the user
r   )r%   user_config_pathr   s        r   rX   rX   s  rP   r   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: config path shared by the users
r)   )r%   site_config_pathr)   s        r   rZ   rZ     s(     # r   c                0    [        U UUUUS9R                  $ r7   )r%   site_cache_pathr2   s        r   r\   r\     r.   r   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: cache path tied to the user
r2   )r%   user_cache_pathr2   s        r   r^   r^     r.   r   c                0    [        U UUUUS9R                  $ )a  
: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.roaming>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: state path tied to the user
r   )r%   user_state_pathr   s        r   r`   r`     r.   r   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: log path tied to the user
r2   )r%   user_log_pathr2   s        r   rb   rb     r'   r   c                 *    [        5       R                  $ )z+:returns: documents a path tied to the user)r%   user_documents_pathr?   r   r   rd   rd         >---r   c                 *    [        5       R                  $ )z):returns: downloads path tied to the user)r%   user_downloads_pathr?   r   r   rg   rg     re   r   c                 *    [        5       R                  $ )z(:returns: pictures path tied to the user)r%   user_pictures_pathr?   r   r   ri   ri     r@   r   c                 *    [        5       R                  $ )z&:returns: videos path tied to the user)r%   user_videos_pathr?   r   r   rk   rk     rM   r   c                 *    [        5       R                  $ )z%:returns: music path tied to the user)r%   user_music_pathr?   r   r   rm   rm     rH   r   c                 *    [        5       R                  $ )z':returns: desktop path tied to the user)r%   user_desktop_pathr?   r   r   ro   ro     rE   r   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: runtime path tied to the user
r2   )r%   user_runtime_pathr2   s        r   rq   rq   !  (     # r   c                0    [        U UUUUS9R                  $ )a  
: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>`.
:param ensure_exists: See `ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.
:returns: runtime path shared by users
r2   )r%   site_runtime_pathr2   s        r   rt   rt   9  rr   r   )%AppDirsr%   r   r   __version_info__r8   r\   r0   rZ   r+   rV   rR   rt   r4   r^   r-   rX   r&   rT   rL   ro   r>   rd   rB   rg   r<   rb   rJ   rm   rD   ri   rO   rq   r:   r`   rG   rk   )returnztype[PlatformDirsABC])NNNFF)r    
str | Noner!   str | Literal[False] | Noner"   rx   r#   boolr$   rz   rw   str)r    rx   r!   ry   r"   rx   r*   rz   r$   rz   rw   r{   )NNNTF)r    rx   r!   ry   r"   rx   r3   rz   r$   rz   rw   r{   )rw   r{   )r    rx   r!   ry   r"   rx   r#   rz   r$   rz   rw   r	   )r    rx   r!   ry   r"   rx   r*   rz   r$   rz   rw   r	   )r    rx   r!   ry   r"   rx   r3   rz   r$   rz   rw   r	   )rw   r	   )<__doc__
__future__r   r   systypingr   apir   r"   r   r   rv   pathlibr	   r
   platformplatformdirs.windowsr   r   platformdirs.macosr   platformdirs.unixr   r   r%   ru   r&   r+   r-   r0   r4   r8   r:   r<   r>   rB   rD   rG   rJ   rL   rO   rR   rT   rV   rX   rZ   r\   r^   r`   rb   rd   rg   ri   rk   rm   ro   rq   rt   __all__r?   r   r   <module>r      s   # 	 
       :<<77\\X31 L*,L
 -1*  	
  	2 -1*  	
  	2 -1*  	
  	2 -1*  	
  	2 -1*  	
  	2 -1*  	
  	2 -1*  	
  	2 -1*  	
  	0-
-
,
*
)
+ -1*  	
  	2 -1*  	
  	2 -1*  	
  
2 -1*  	
  
2 -1*  	
  
2 -1*  	
  
2 -1*  	
  
2 -1*  	
  
2 -1*  	
  
2 -1*  	
  
0.
.
-
+
*
, -1*  	
  
2 -1*  	
  
0&r   