o
    ˷e	                     @   s   d Z ddlZddlZddlmZ zddlmZmZ da	da
defddZW n/ eyT   eejef Zeedf Z			
ddededededef
ddZdefddZY nw defddZdS )ze
certifi.py
~~~~~~~~~~

This module returns the installation location of cacert.pem or its contents.
    N)Union)path	read_textreturnc                   C   s"   t d u rtddatt a t S )Ncertifi
cacert.pem)_CACERT_PATHget_path_CACERT_CTXstr	__enter__ r   r   C/var/www/ideatree/venv/lib/python3.10/site-packages/certifi/core.pywhere   s   
r   zos.PathLikeutf-8strictpackageresourceencodingerrorsc                 C   s:   t t |d}| W  d    S 1 sw   Y  d S )Nr   )openr   read)r   r   r   r   datar   r   r   r   2   s   $r   c                  C   s   t jt} t j| dS )Nr   )osr   dirname__file__join)fr   r   r   r   =   s   c                   C   s   t ddddS )Nr   r   asciir   )r   r   r   r   r   contentsC   s   r    )r   r   )__doc__r   typestypingr   importlib.resourcesr   r	   r   r
   r   r   r   ImportError
ModuleTypePackageResourcer    r   r   r   r   <module>   s8    	
