§
    
Á³g¸  ã                   óZ  — d dl Z d dlZd dlZd dlZd dlmZmZmZmZm	Z	 d dl
mZ ddlmZmZmZmZmZ erd dlmZ neZg d¢Zdefd	„Z G d
„ de¦  «        Z ej        d¬¦  «        defd„¦   «         Zdefd„Zdeee                  defd„Zdedefd„Zdededefd„Zdedededefd„Z dS )é    N)ÚTYPE_CHECKINGÚListÚOptionalÚTypeÚcast)Ú	strtoboolé   )ÚBaseDistributionÚBaseEnvironmentÚFilesystemWheelÚMemoryWheelÚWheel)ÚProtocol)	r
   r   r   r   r   Úget_default_environmentÚget_environmentÚget_wheel_distributionÚselect_backendÚreturnc                  ó:  — t          j        t          t          ¦  «        5  t	          t          t          j        d         ¦  «        ¦  «        cddd¦  «         S # 1 swxY w Y   t          j	        dk     rdS ddl
} t	          t          | j        dd¦  «        ¦  «        S )a“  Whether to use the ``importlib.metadata`` or ``pkg_resources`` backend.

    By default, pip uses ``importlib.metadata`` on Python 3.11+, and
    ``pkg_resourcess`` otherwise. This can be overridden by a couple of ways:

    * If environment variable ``_PIP_USE_IMPORTLIB_METADATA`` is set, it
      dictates whether ``importlib.metadata`` is used, regardless of Python
      version.
    * On Python 3.11+, Python distributors can patch ``importlib.metadata``
      to add a global constant ``_PIP_USE_IMPORTLIB_METADATA = False``. This
      makes pip use ``pkg_resources`` (unless the user set the aforementioned
      environment variable to *True*).
    Ú_PIP_USE_IMPORTLIB_METADATAN)é   é   Fr   T)Ú
contextlibÚsuppressÚKeyErrorÚ
ValueErrorÚboolr   ÚosÚenvironÚsysÚversion_infoÚimportlib.metadataÚgetattrÚmetadata©Ú	importlibs    ú]/var/www/html/mpstechhub/venv/lib/python3.11/site-packages/pip/_internal/metadata/__init__.pyÚ_should_use_importlib_metadatar(      sÛ   € õ 
Ô	�X¥zÑ	2Ô	2ð Jð JÝ•I�bœjÐ)FÔGÑHÔHÑIÔIðJð Jð Jð Jñ Jô Jð Jð Jð Jð Jð Jð Jøøøð Jð Jð Jð Jå
Ô˜'Ò!Ð!ØˆuØÐÐÐå•˜	Ô*Ð,IÈ4ÑPÔPÑQÔQÐQs    ,AÁAÁ Ac                   ó<   — e Zd ZU ee         ed<   ee         ed<   dS )ÚBackendÚDistributionÚEnvironmentN)Ú__name__Ú
__module__Ú__qualname__r   r
   Ú__annotations__r   © ó    r'   r*   r*   4   s5   € € € € € € ØÐ'Ô(Ð(Ð(Ñ(Ø�oÔ&Ð&Ð&Ñ&Ð&Ð&r2   r*   )Úmaxsizec                  óŠ   — t          ¦   «         rddlm}  t          t          | ¦  «        S ddlm} t          t          |¦  «        S )Nr	   r%   )Úpkg_resources)r(   Ú r&   r   r*   r5   )r&   r5   s     r'   r   r   9   sT   € å%Ñ'Ô'ð (ØÐÐÐÐÐå•G˜YÑ'Ô'Ð'ØÐÐÐÐÐå•˜Ñ'Ô'Ð'r2   c                  óL   — t          ¦   «         j                             ¦   «         S )a	  Get the default representation for the current environment.

    This returns an Environment instance from the chosen backend. The default
    Environment instance should be built from ``sys.path`` and may use caching
    to share instance state accorss calls.
    )r   r,   Údefaultr1   r2   r'   r   r   D   s   € õ ÑÔÔ'×/Ò/Ñ1Ô1Ð1r2   Úpathsc                 óN   — t          ¦   «         j                             | ¦  «        S )a'  Get a representation of the environment specified by ``paths``.

    This returns an Environment instance from the chosen backend based on the
    given import paths. The backend must build a fresh instance representing
    the state of installed distributions when this function is called.
    )r   r,   Ú
from_paths)r9   s    r'   r   r   N   s!   € õ ÑÔÔ'×2Ò2°5Ñ9Ô9Ð9r2   Ú	directoryc                 óN   — t          ¦   «         j                             | ¦  «        S )zÈGet the distribution metadata representation in the specified directory.

    This returns a Distribution instance from the chosen backend based on
    the given on-disk ``.dist-info`` directory.
    )r   r+   Úfrom_directory)r<   s    r'   Úget_directory_distributionr?   X   s!   € õ ÑÔÔ(×7Ò7¸	ÑBÔBÐBr2   ÚwheelÚcanonical_namec                 óP   — t          ¦   «         j                             | |¦  «        S )a  Get the representation of the specified wheel's distribution metadata.

    This returns a Distribution instance from the chosen backend based on
    the given wheel's ``.dist-info`` directory.

    :param canonical_name: Normalized project name of the given wheel.
    )r   r+   Ú
from_wheel)r@   rA   s     r'   r   r   a   s#   € õ ÑÔÔ(×3Ò3°E¸>ÑJÔJÐJr2   Úmetadata_contentsÚfilenamec                 óR   — t          ¦   «         j                             | ||¦  «        S )aË  Get the dist representation of the specified METADATA file contents.

    This returns a Distribution instance from the chosen backend sourced from the data
    in `metadata_contents`.

    :param metadata_contents: Contents of a METADATA file within a dist, or one served
                              via PEP 658.
    :param filename: Filename for the dist this metadata represents.
    :param canonical_name: Normalized project name of the given dist.
    )r   r+   Úfrom_metadata_file_contents)rD   rE   rA   s      r'   Úget_metadata_distributionrH   l   s.   € õ ÑÔÔ(×DÒDØØØñô ð r2   )!r   Ú	functoolsr   r    Útypingr   r   r   r   r   Úpip._internal.utils.miscr   Úbaser
   r   r   r   r   r   ÚobjectÚ__all__r   r(   r*   Ú	lru_cacher   r   Ústrr   r?   r   ÚbytesrH   r1   r2   r'   ú<module>rR      s,  ðØ Ð Ð Ð Ø Ð Ð Ð Ø 	€	€	€	Ø 
€
€
€
Ø <Ð <Ð <Ð <Ð <Ð <Ð <Ð <Ð <Ð <Ð <Ð <Ð <Ð <à .Ð .Ð .Ð .Ð .Ð .à XÐ XÐ XÐ XÐ XÐ XÐ XÐ XÐ XÐ XÐ XÐ XÐ XÐ Xàð ØÐÐÐÐÐÐà€Hð
ð 
ð 
€ðR¨ð Rð Rð Rð Rð.'ð 'ð 'ð 'ð 'ˆhñ 'ô 'ð 'ð
 €Ô˜TÐ"Ñ"Ô"ð(˜ð (ð (ð (ñ #Ô"ð(ð2 ð 2ð 2ð 2ð 2ð:˜8 D¨¤IÔ.ð :°?ð :ð :ð :ð :ðC¨#ð CÐ2Bð Cð Cð Cð CðK %ð K¸ð KÐAQð Kð Kð Kð KðØðàðð ðð ð	ð ð ð ð ð r2   