+
    i                    v    R t ^ RIHt ^ RIt^ RIt^ RIHt ^RIH	t	 ]'       d   ^ RI
Ht  ! R R]	4      tR.tR# )zmacOS.)annotationsN)TYPE_CHECKING)PlatformDirsABC)Pathc                     ] tR t^tRt]R R l4       t]R R l4       t]R R l4       t]R R	 l4       t	]R
 R l4       t
]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R  R! l4       t]R" R# l4       t]R$ R% l4       tR&tR'# )(MacOSa  
Platform directories for the macOS operating system.

Follows the guidance from
`Apple documentation <https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/MacOSXDirectories/MacOSXDirectories.html>`_.
Makes use of the `appname <platformdirs.api.PlatformDirsABC.appname>`,
`version <platformdirs.api.PlatformDirsABC.version>`,
`ensure_exists <platformdirs.api.PlatformDirsABC.ensure_exists>`.

c                   V ^8  d   QhRR/#    returnstr )formats   "e/home/wkmabra/.openclaw/workspace/venv/lib/python3.14/site-packages/pip/_vendor/platformdirs/macos.py__annotate__MacOS.__annotate__   s     f fs f    c                ^    V P                  \        P                  P                  R4      4      # )zb:return: data directory tied to the user, e.g. ``~/Library/Application Support/$appname/$version``z~/Library/Application Support_append_app_name_and_versionospath
expanduserselfs   &r   user_data_dirMacOS.user_data_dir   s%     001C1CDc1deer   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   !   s      s r   c                z   R\         P                  9   pV'       d'   \         P                  P                  R4      ^ ,          MRpV'       d   V P                  V R24      .M. pVP	                  V P                  R4      4       V P
                  '       d    \        P                  P                  V4      # V^ ,          # )a  
:return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``.
  If we're using a Python binary managed by `Homebrew <https://brew.sh>`_, the directory
  will be under the Homebrew prefix, e.g. ``$homebrew_prefix/share/$appname/$version``.
  If `multipath <platformdirs.api.PlatformDirsABC.multipath>` is enabled, and we're in Homebrew,
  the response is a multi-path string separated by ":", e.g.
  ``$homebrew_prefix/share/$appname/$version:/Library/Application Support/$appname/$version``
/opt/python z/sharez/Library/Application Support	sysprefixsplitr   append	multipathr   pathsepjoinr   is_homebrewhomebrew_prefix	path_lists   &   r   site_data_dirMacOS.site_data_dir    s     $szz1@K#****=9!<QSWbT66/9J&7QRShj	::;YZ[>>>::??9--|r   c                   V ^8  d   QhRR/# r
   r   r   r   )r   s   "r   r   r   3   s     I I Ir   c                8    V P                  V P                  4      # )zh:return: data path shared by users. Only return the first item, even if ``multipath`` is set to ``True``) _first_item_as_path_if_multipathr-   r   s   &r   site_data_pathMacOS.site_data_path2   s     44T5G5GHHr   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   8        " " "r   c                    V P                   # )zC:return: config directory tied to the user, same as `user_data_dir`r   r   s   &r   user_config_dirMacOS.user_config_dir7        !!!r   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   =   r6   r   c                    V P                   # )zF:return: config directory shared by the users, same as `site_data_dir`)r-   r   s   &r   site_config_dirMacOS.site_config_dir<   r;   r   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   B   s     Y Y Yr   c                ^    V P                  \        P                  P                  R4      4      # )zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesr   r   s   &r   user_cache_dirMacOS.user_cache_dirA   s%     001C1CDV1WXXr   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   G   s       r   c                z   R\         P                  9   pV'       d'   \         P                  P                  R4      ^ ,          MRpV'       d   V P                  V R24      .M. pVP	                  V P                  R4      4       V P
                  '       d    \        P                  P                  V4      # V^ ,          # )a  
:return: cache directory shared by users, e.g. ``/Library/Caches/$appname/$version``.
  If we're using a Python binary managed by `Homebrew <https://brew.sh>`_, the directory
  will be under the Homebrew prefix, e.g. ``$homebrew_prefix/var/cache/$appname/$version``.
  If `multipath <platformdirs.api.PlatformDirsABC.multipath>` is enabled, and we're in Homebrew,
  the response is a multi-path string separated by ":", e.g.
  ``$homebrew_prefix/var/cache/$appname/$version:/Library/Caches/$appname/$version``
r   r    z
/var/cachez/Library/Cachesr!   r)   s   &   r   site_cache_dirMacOS.site_cache_dirF   s     $szz1@K#****=9!<QS[fT66/9J*7UVWln	::;LMN>>>::??9--|r   c                   V ^8  d   QhRR/# r0   r   )r   s   "r   r   r   Y   s     J J Jr   c                8    V P                  V P                  4      # )zi:return: cache path shared by users. Only return the first item, even if ``multipath`` is set to ``True``)r2   rF   r   s   &r   site_cache_pathMacOS.site_cache_pathX   s     44T5H5HIIr   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   ^   s     " " "r   c                    V P                   # )zB:return: state directory tied to the user, same as `user_data_dir`r8   r   s   &r   user_state_dirMacOS.user_state_dir]   r;   r   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   c   s     W Wc Wr   c                ^    V P                  \        P                  P                  R4      4      # )zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsr   r   s   &r   user_log_dirMacOS.user_log_dirb   s%     001C1CDT1UVVr   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   h        1 1C 1r   c                @    \         P                  P                  R4      # )zC:return: documents directory tied to the user, e.g. ``~/Documents``z~/Documentsr   r   r   r   s   &r   user_documents_dirMacOS.user_documents_dirg        ww!!-00r   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   m   rU   r   c                @    \         P                  P                  R4      # )zC:return: downloads directory tied to the user, e.g. ``~/Downloads``z~/DownloadsrW   r   s   &r   user_downloads_dirMacOS.user_downloads_dirl   rZ   r   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   r   s     0 03 0r   c                @    \         P                  P                  R4      # )zA:return: pictures directory tied to the user, e.g. ``~/Pictures``z
~/PicturesrW   r   s   &r   user_pictures_dirMacOS.user_pictures_dirq   s     ww!!,//r   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   w   s     . . .r   c                @    \         P                  P                  R4      # )z=:return: videos directory tied to the user, e.g. ``~/Movies``z~/MoviesrW   r   s   &r   user_videos_dirMacOS.user_videos_dirv   s     ww!!*--r   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r   |   s     - - -r   c                @    \         P                  P                  R4      # )z;:return: music directory tied to the user, e.g. ``~/Music``z~/MusicrW   r   s   &r   user_music_dirMacOS.user_music_dir{   s     ww!!),,r   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r      s     / /# /r   c                @    \         P                  P                  R4      # )z?:return: desktop directory tied to the user, e.g. ``~/Desktop``z	~/DesktoprW   r   s   &r   user_desktop_dirMacOS.user_desktop_dir   s     ww!!+..r   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r      s     h h# hr   c                ^    V P                  \        P                  P                  R4      4      # )zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsr   r   s   &r   user_runtime_dirMacOS.user_runtime_dir   s%     001C1CDe1fggr   c                   V ^8  d   QhRR/# r	   r   )r   s   "r   r   r      s     % %# %r   c                    V P                   # )zF:return: runtime directory shared by users, same as `user_runtime_dir`)rq   r   s   &r   site_runtime_dirMacOS.site_runtime_dir   s     $$$r   r   N)__name__
__module____qualname____firstlineno____doc__propertyr   r-   r3   r9   r>   rB   rF   rJ   rN   rR   rX   r]   ra   re   ri   rm   rq   ru   __static_attributes__r   r   r   r   r      s{   	 f f  " I I " " " " Y Y  " J J " " W W 1 1 1 1 0 0 . . - - / / h h % %r   r   )r{   
__future__r   os.pathr   r"   typingr   apir   pathlibr   r   __all__r   r   r   <module>r      s8     "  
    ~%O ~%D r   