File: //opt/alt/python38/lib/python3.8/site-packages/idna/__pycache__/core.cpython-38.pyc
U
�'�X~, � @ s> d dl mZ ddlZddlZddlZddlZd dlmZ dZdZ e�
d�Zejd dkr`e
ZeZG d d
� d
e�ZG dd� de�ZG d
d� de�ZG dd� de�Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zd7dd�Zd d!� Zd"d#� Zd$d%� Zd&d'� Z d8d(d)�Z!d*d+� Z"d,d-� Z#d.d/� Z$d9d1d2�Z%d:d3d4�Z&d;d5d6�Z'dS )<� )�idnadata� N)�intranges_contain� s xn--u [.。.。]� c @ s e Zd ZdZdS )� IDNAErrorz7 Base exception for all IDNA-encoding related problems N��__name__�
__module__�__qualname__�__doc__� r
r
�:/opt/alt/python38/lib/python3.8/site-packages/idna/core.pyr s r c @ s e Zd ZdZdS )�
IDNABidiErrorz= Exception when bidirectional requirements are not satisfied Nr r
r
r
r r s r c @ s e Zd ZdZdS )�InvalidCodepointz> Exception when a disallowed or unallocated codepoint is used Nr r
r
r
r r s r c @ s e Zd ZdZdS )�InvalidCodepointContextzE Exception when the codepoint is not valid in the context it is used Nr r
r
r
r r s r c C s t �t| ��S �N)�unicodedataZ combining�unichr)�cpr
r
r �_combining_class$ s r c C s t t| �tj| �S r )r �ordr �scripts)r �scriptr
r
r �
_is_script'