§
    ¢”jI  ã                   óf   — d dl mZmZ ddlmZmZ dedefd„Zdeee	f         defd„Z
dedd	fd
„Zd	S )é    )ÚAnyÚUnioné   )ÚdecodeÚencodeÚlabelÚreturnc                 ó    — t          | ¦  «        S )ac  Compatibility shim for :rfc:`3490` ``ToASCII``.

    Delegates to :func:`idna.encode` (IDNA 2008). Provided to ease porting
    of code written against the legacy :mod:`encodings.idna` API; new code
    should call :func:`idna.encode` directly.

    :param label: The label or domain to encode.
    :returns: The encoded form as ASCII :class:`bytes`.
    )r   ©r   s    úZ/var/www/finuniver-perm.ru/html/portfolio/venv/lib/python3.11/site-packages/idna/compat.pyÚToASCIIr      ó   € õ �%‰=Œ=Ðó    c                 ó    — t          | ¦  «        S )aU  Compatibility shim for :rfc:`3490` ``ToUnicode``.

    Delegates to :func:`idna.decode` (IDNA 2008). Provided to ease porting
    of code written against the legacy :mod:`encodings.idna` API; new code
    should call :func:`idna.decode` directly.

    :param label: The label or domain to decode.
    :returns: The decoded Unicode form.
    )r   r   s    r   Ú	ToUnicoder      r   r   ÚsNc                 ó    — t          d¦  «        ‚)a4  Stub for :rfc:`3491` Nameprep, which is not used by IDNA 2008.

    IDNA 2008 (:rfc:`5891`) replaces Nameprep with the per-codepoint
    validity classes from :rfc:`5892`; this function exists only to
    return a clear error if legacy code attempts to call it.

    :raises NotImplementedError: Always.
    z,IDNA 2008 does not utilise nameprep protocol)ÚNotImplementedError)r   s    r   Únameprepr       s   € õ ÐLÑ
MÔ
MÐMr   )Útypingr   r   Úcorer   r   ÚstrÚbytesr   Ú	bytearrayr   r   © r   r   ú<module>r      s·   ðØ Ð Ð Ð Ð Ð Ð Ð à  Ð  Ð  Ð  Ð  Ð  Ð  Ð  ð
�3ð 
˜5ð 
ð 
ð 
ð 
ð
�U˜5 )Ð+Ô,ð 
°ð 
ð 
ð 
ð 
ð	N�ð 	N˜ð 	Nð 	Nð 	Nð 	Nð 	Nð 	Nr   