Ë
    nûàgÌ  ã                  óL   — d Z ddlmZ ddlZddlZddlmZ  G d„ de«      ZdgZ	y)zmacOS.é    )ÚannotationsNé   )ÚPlatformDirsABCc                  ó0  — e Zd ZdZedd„«       Zedd„«       Zedd„«       Zedd„«       Zedd„«       Z	edd„«       Z
edd„«       Zedd	„«       Zedd
„«       Zedd„«       Zedd„«       Zedd„«       Zedd„«       Zedd„«       Zedd„«       Zedd„«       Zy)Ú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                ó^   — | j                  t        j                  j                  d«      «      S )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    úc/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/macos.pyÚuser_data_dirzMacOS.user_data_dir   s%   € ð ×0Ñ0´·±×1CÑ1CÐDcÓ1dÓeÐeó    c                ó  — t         j                  j                  d«      }|r| j                  d«      gng }|j	                  | j                  d«      «       | j
                  rt        j                  j                  |«      S |d   S )aB  
        :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. ``/opt/homebrew/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.
          ``/opt/homebrew/share/$appname/$version:/Library/Application Support/$appname/$version``
        ú/opt/homebrewz/opt/homebrew/sharez/Library/Application Supportr   ©	ÚsysÚprefixÚ
startswithr
   ÚappendÚ	multipathr   ÚpathsepÚjoin©r   Úis_homebrewÚ	path_lists      r   Úsite_data_dirzMacOS.site_data_dir   so   € ô —j‘j×+Ñ+¨OÓ<ˆÙR]�T×6Ñ6Ð7LÓMÑNÐceˆ	Ø×Ñ˜×:Ñ:Ð;YÓZÔ[Ø�>Š>Ü—:‘:—?‘? 9Ó-Ð-Ø˜‰|Ðr   c                ó   — | j                   S )zC:return: config directory tied to the user, same as `user_data_dir`©r   r   s    r   Úuser_config_dirzMacOS.user_config_dir-   ó   € ð ×!Ñ!Ð!r   c                ó   — | j                   S )zF:return: config directory shared by the users, same as `site_data_dir`)r    r   s    r   Úsite_config_dirzMacOS.site_config_dir2   r$   r   c                ó^   — | j                  t        j                  j                  d«      «      S )zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesr	   r   s    r   Úuser_cache_dirzMacOS.user_cache_dir7   s%   € ð ×0Ñ0´·±×1CÑ1CÐDVÓ1WÓXÐXr   c                ó  — t         j                  j                  d«      }|r| j                  d«      gng }|j	                  | j                  d«      «       | j
                  rt        j                  j                  |«      S |d   S )a1  
        :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. ``/opt/homebrew/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.
          ``/opt/homebrew/var/cache/$appname/$version:/Library/Caches/$appname/$version``
        r   z/opt/homebrew/var/cachez/Library/Cachesr   r   r   s      r   Úsite_cache_dirzMacOS.site_cache_dir<   so   € ô —j‘j×+Ñ+¨OÓ<ˆÙVa�T×6Ñ6Ð7PÓQÑRÐgiˆ	Ø×Ñ˜×:Ñ:Ð;LÓMÔNØ�>Š>Ü—:‘:—?‘? 9Ó-Ð-Ø˜‰|Ðr   c                ó   — | j                   S )zB:return: state directory tied to the user, same as `user_data_dir`r"   r   s    r   Úuser_state_dirzMacOS.user_state_dirM   r$   r   c                ó^   — | j                  t        j                  j                  d«      «      S )zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsr	   r   s    r   Úuser_log_dirzMacOS.user_log_dirR   s%   € ð ×0Ñ0´·±×1CÑ1CÐDTÓ1UÓVÐVr   c                ó@   — t         j                  j                  d«      S )zC:return: documents directory tied to the user, e.g. ``~/Documents``z~/Documents©r   r   r   r   s    r   Úuser_documents_dirzMacOS.user_documents_dirW   ó   € ô �w‰w×!Ñ! -Ó0Ð0r   c                ó@   — t         j                  j                  d«      S )zC:return: downloads directory tied to the user, e.g. ``~/Downloads``z~/Downloadsr0   r   s    r   Úuser_downloads_dirzMacOS.user_downloads_dir\   r2   r   c                ó@   — t         j                  j                  d«      S )zA:return: pictures directory tied to the user, e.g. ``~/Pictures``z
~/Picturesr0   r   s    r   Úuser_pictures_dirzMacOS.user_pictures_dira   s   € ô �w‰w×!Ñ! ,Ó/Ð/r   c                ó@   — t         j                  j                  d«      S )z=:return: videos directory tied to the user, e.g. ``~/Movies``z~/Moviesr0   r   s    r   Úuser_videos_dirzMacOS.user_videos_dirf   s   € ô �w‰w×!Ñ! *Ó-Ð-r   c                ó@   — t         j                  j                  d«      S )z;:return: music directory tied to the user, e.g. ``~/Music``z~/Musicr0   r   s    r   Úuser_music_dirzMacOS.user_music_dirk   s   € ô �w‰w×!Ñ! )Ó,Ð,r   c                ó@   — t         j                  j                  d«      S )z?:return: desktop directory tied to the user, e.g. ``~/Desktop``z	~/Desktopr0   r   s    r   Úuser_desktop_dirzMacOS.user_desktop_dirp   s   € ô �w‰w×!Ñ! +Ó.Ð.r   c                ó^   — | j                  t        j                  j                  d«      «      S )zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsr	   r   s    r   Úuser_runtime_dirzMacOS.user_runtime_diru   s%   € ð ×0Ñ0´·±×1CÑ1CÐDeÓ1fÓgÐgr   c                ó   — | j                   S )zF:return: runtime directory shared by users, same as `user_runtime_dir`)r>   r   s    r   Úsite_runtime_dirzMacOS.site_runtime_dirz   s   € ð ×$Ñ$Ð$r   N)ÚreturnÚstr)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úpropertyr   r    r#   r&   r(   r*   r,   r.   r1   r4   r6   r8   r:   r<   r>   r@   © r   r   r   r      sO  „ ñ	ð òfó ðfð òó ðð  ò"ó ð"ð ò"ó ð"ð òYó ðYð òó ðð  ò"ó ð"ð òWó ðWð ò1ó ð1ð ò1ó ð1ð ò0ó ð0ð ò.ó ð.ð ò-ó ð-ð ò/ó ð/ð òhó ðhð ò%ó ñ%r   r   )
rF   Ú
__future__r   Úos.pathr   r   Úapir   r   Ú__all__rH   r   r   ú<module>rM      s/   ðÙ å "ã Û 
å  ôr%ˆOô r%ðl ð�r   