Ë bàçFPk­ˆãóL—dZddlmZddlZddlZddlmZGd„de«ZdgZ y)zmacOS.é)Ú annotationsNé)ÚPlatformDirsABCcó0—eZdZdZedd„«Zedd„«Zedd„«Zedd„«Zedd„«Z edd„«Z edd„«Z edd „«Z edd „«Z edd „«Zedd „«Zedd „«Zedd„«Zedd„«Zedd„«Zedd„«Zy)ÚMacOSaÙ Platform directories for the macOS operating system. Follows the guidance from `Apple documentation `_. Makes use of the `appname `, `version `, `ensure_exists `. có^—|jtjjd««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 ú7/usr/lib/python3.12/site-packages/platformdirs/macos.pyÚ user_data_dirzMacOS.user_data_dirs%€ð×0Ñ0´·±×1CÑ1CÐDcÓ1dÓeÐeócó —tjjd«}|r|jd«gng}|j |jd««|j rt jj|«S|dS)aA :return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``. If we're using a Python binary managed by `Homebrew `_, the directory will be under the Homebrew prefix, e.g. ``/opt/homebrew/share/$appname/$version``. If `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_dirzMacOS.site_data_dirso€ô—j‘j×+Ñ+¨OÓ<ˆ ÙR]�T×6Ñ6Ð7LÓMÑNÐceˆ Ø×ј×:Ñ:Ð;YÓZÔ[Ø �>Š>Ü—:‘:—?‘? 9Ó-Ð -ؘ‰|Ðrcó—|jS)zC:return: config directory tied to the user, same as `user_data_dir`©rrs rÚuser_config_dirzMacOS.user_config_dir*ó€ð×!Ñ!Ð!rcó—|jS)zF:return: config directory shared by the users, same as `site_data_dir`)r rs rÚsite_config_dirzMacOS.site_config_dir/r$rcó^—|jtjjd««S)zV:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``z~/Library/Cachesr rs rÚuser_cache_dirzMacOS.user_cache_dir4s%€ð×0Ñ0´·±×1CÑ1CÐDVÓ1WÓXÐXrcó —tjjd«}|r|jd«gng}|j |jd««|j rt jj|«S|dS)a0 :return: cache directory shared by users, e.g. ``/Library/Caches/$appname/$version``. If we're using a Python binary managed by `Homebrew `_, the directory will be under the Homebrew prefix, e.g. ``/opt/homebrew/var/cache/$appname/$version``. If `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`` rz/opt/homebrew/var/cachez/Library/Cachesrrrs rÚsite_cache_dirzMacOS.site_cache_dir9so€ô—j‘j×+Ñ+¨OÓ<ˆ ÙVa�T×6Ñ6Ð7PÓQÑRÐgiˆ Ø×ј×:Ñ:Ð;LÓMÔNØ �>Š>Ü—:‘:—?‘? 9Ó-Ð -ؘ‰|Ðrcó—|jS)zB:return: state directory tied to the user, same as `user_data_dir`r"rs rÚuser_state_dirzMacOS.user_state_dirJr$rcó^—|jtjjd««S)zR:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``z~/Library/Logsr rs rÚ user_log_dirzMacOS.user_log_dirOs%€ð×0Ñ0´·±×1CÑ1CÐDTÓ1UÓVÐVrcó@—tjjd«S)zC:return: documents directory tied to the user, e.g. ``~/Documents``z ~/Documents©r r r rs rÚuser_documents_dirzMacOS.user_documents_dirTó€ô�w‰w×!Ñ! -Ó0Ð0rcó@—tjjd«S)zC:return: downloads directory tied to the user, e.g. ``~/Downloads``z ~/Downloadsr0rs rÚuser_downloads_dirzMacOS.user_downloads_dirYr2rcó@—tjjd«S)zA:return: pictures directory tied to the user, e.g. ``~/Pictures``z ~/Picturesr0rs rÚuser_pictures_dirzMacOS.user_pictures_dir^s€ô�w‰w×!Ñ! ,Ó/Ð/rcó@—tjjd«S)z=:return: videos directory tied to the user, e.g. ``~/Movies``z~/Moviesr0rs rÚuser_videos_dirzMacOS.user_videos_dircs€ô�w‰w×!Ñ! *Ó-Ð-rcó@—tjjd«S)z;:return: music directory tied to the user, e.g. ``~/Music``z~/Musicr0rs rÚuser_music_dirzMacOS.user_music_dirhs€ô�w‰w×!Ñ! )Ó,Ð,rcó@—tjjd«S)z?:return: desktop directory tied to the user, e.g. ``~/Desktop``z ~/Desktopr0rs rÚuser_desktop_dirzMacOS.user_desktop_dirms€ô�w‰w×!Ñ! +Ó.Ð.rcó^—|jtjjd««S)zg:return: runtime directory tied to the user, e.g. ``~/Library/Caches/TemporaryItems/$appname/$version``z~/Library/Caches/TemporaryItemsr rs rÚuser_runtime_dirzMacOS.user_runtime_dirrs%€ð×0Ñ0´·±×1CÑ1CÐDeÓ1fÓgÐgrcó—|jS)zF:return: runtime directory shared by users, same as `user_runtime_dir`)r>rs rÚsite_runtime_dirzMacOS.site_runtime_dirws€ð×$Ñ$Ð$rN)ÚreturnÚstr)Ú__name__Ú __module__Ú __qualname__Ú__doc__Úpropertyrr r#r&r(r*r,r.r1r4r6r8r:r<r>r@©rrrr sO„ñðòfóðfðòóðð ò"óð"ðò"óð"ðòYóðYðòóðð ò"óð"ðòWóðWðò1óð1ðò1óð1ðò0óð0ðò.óð.ðò-óð-ðò/óð/ðòhóðhðò%óñ%rr) rFÚ __future__rÚos.pathr rÚapirrÚ__all__rHrrÚrMs/ðÙ å"ãÛ å ôo%ˆOôo%ðf ð �r