o
    q¨Êhÿ  ã                   @   sb   d Z ddlZzddlmZmZ dadadd„ ZW n e	y*   ddd„Zd	d„ ZY nw d
d„ Z
dS )ze
certifi.py
~~~~~~~~~~

This module returns the installation location of cacert.pem or its contents.
é    N)ÚpathÚ	read_textc                   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   ú>/var/www/html/env/lib/python3.10/site-packages/certifi/core.pyÚwhere   s   
r   Úasciic                 C   s<   t tƒ d|d��}| ¡ W  d   ƒ S 1 sw   Y  d S )NÚr©Úencoding)Úopenr   Úread)Ú_moduleÚ_pathr   Údatar   r   r   r   /   s   $ÿr   c                  C   s   t j t¡} t j | d¡S )Nr   )Úosr   ÚdirnameÚ__file__Újoin)Úfr   r   r   r   5   s   c                   C   s   t dddd�S )Nr   r   r   r   )r   r   r   r   r   Úcontents;   s   r   )r   )Ú__doc__r   Úimportlib.resourcesr   r   r   r   r   r   ÚImportErrorr   r   r   r   r   Ú<module>   s   
õ