3 m�da�K � @ s d dl mZmZmZmZmZ d dlmZ d dlm Z d dl mZmZ d dlmZmZmZmZ edefddd d ddgf�d�deegfdeegfg�ZdZed�ZdZed �d��ed�d��ed�d��ed�d��ed�d��ed�d��ed�d��ed!�d��ed#�d��ed%�d��ed'�ded)�dÃed+�dăed-�dŃed/�dƃed1�dǃed3�dȃed5�dɃed7�dʃed9�d˃ed;�d̃ed=�d̓ed?�dedA�dσedC�dЃedE�dуedG�d҃edI�dӃedK�dԃedM�dՃedO�dփedQ�d׃edS�dedU�dكedW�dڃedY�dۃed[�d܃ed]�d݃ed_�dރeda�d߃edc�d�ede�d�edg�d�edi�d�edk�d�edm�d�edo�d�edq�d�eds�d�edu�d�edw�d�edy�d�ed{�d�ed}�d�ed�d�ed��d�ed��d�ed��d�ed��d�ed��d�ed��d�ed��d��ed��d��ed��d��ed��d��ed��d��ed��d��ed��d��ed��d��ed��d��ed��d��ed��d��ed��d �ed��d�ed��d�ed��d�ed��d�ed��d�ed��d�ed��d�ed��d�ed��d �ed��d �ed��d�ed��d�ed��d �ed��d�ed��d�edÐd�edŐd�edǐd�edɐd�edːd�ed͐d�edϐd�edѐd�edӐd�edՐd�edאd�edِd�edېd�edݐd�edߐd�ed�d�ed�d �ed�d!�ed�d"�ed�d#�ed�d$�ed�d%�ed�d&�ed�d'�ed�d(�ed��d)�ed��d*�ed��d+�ed��d,�ed��d-�ed��d.�e�d�d/�e�d�d0�e�d�d1�e�d�d2�e�d �d3�e�d�d4�e�d �d5�e�d�d6�e�d�d7�e�d�d8�e�d�d9�e�d�d:�e�d�d;�e�d�d<�e�d�d=�e�d�d>�e�d!�d?�e�d#�d@�e�d%�dA�e�d'�dB�e�d)�dC�e�d+�dD�e�d-�dE�e�d/�dF�e�d1�dG�e�d3�dH�e�d5�dI�e�d7�dJ�e�d9�dK�e�d;�dL�e�d=�dM�e�d?�dN�e�dA�dO�e�dC�dP�e�dE�dQ�e�dG�dR�e�dI�dS�e�dK�dT�e�dM�dU�e�dO�dV�e�dQ�dW�e�dS�dX�e�dU�dY�e�dW�dZ�e�dY�d[�e�d[�d\�e�d]�d]�e�d_�d^�e�da�d_�e�dc�d`�e�de�da�e�dg�db�e�di�dc�e�dk�dd�e�dm�de�e�do�df�e�dq�dg�e�ds�dh�e�du�di�e�dw�dj�e�dy�dk�e�d{�dl�e�d}�dm�e�d�dn�e�d��do�e�d��dp�e�d��dq�e�d��dr�e�d��ds�e�d��dt�e�d��du�e�d��dv�e�d��dw�e�d��dx�e�d��dy�e�d��dz�e�d��d{�e�d��d|�e�d��d}�e�d��d~�e�d��d�e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�dÐd��e�dŐd��e�dǐd��e�dɐd��e�dːd��e�d͐d��e�dϐd��e�dѐd��e�dӐd��e�dՐd��e�dאd��e�dِd��e�dېd��e�dݐd��e�dߐd��e�d�d��e�d�d��e�d�d��e�d�d��e�d�d��e�d�d��e�d�d��e�d�d��e�d�d��e�d�d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d��d��e�d�d��e�d�d��e�d�d��e�d�d��e�d �d��e�d�d��e�d �d��e�d�d��e�d�d��e�d�d��e�d�d��e�d�d��e�d�d��e�d�d��e�d�d��e�d�d��e�d!�d��e�d#�d��e�d%�d��e�d'�de�d)�dÃe�d+�dăe�d-�dŃe�d/�dƃe�d1�dǃe�d3�dȃe�d5�dɃe�d7�dʃe�d9�d˃e�d;�d̃e�d=�d̓e�d?�d�dA��Z�dB�dC�dD�dE�dF�dG�dH�dI�dJ�dK�dL�dM�dN�dO�dPgZe �dQe�Zee�dR�dS� eee j � ����Z!e"e!�Z#�dT�dU�dV�dWg�dX�dU�dV�dWg�dYg�dX�dT�dV�dWg�dZg�d[�d\g�d]�d^�d_�d`g�dag�d]�d^�d_�d`g�dbg�dc�dd�d_�d`g�dX�dT�dU�dWg�de�df�dg�dh�di�dj�dkg�dX�dT�dU�dVg�dl�dm�df�dkg�de�df�dkg�dl�de�dm�dkg�dl�dh�di�dj�dkg�dl�dg�di�dj�dkg�dl�dg�dh�dj�dkg�dl�dg�dh�di�dkg�dl�de�dm�df�dg�dh�di�djg�dng�do�d^�dp�d_�d`g�dqg�drg�ds�d^�dt�du�d_�d`g�dc�dd�ds�do�dt�du�d_�d`g�do�d^�dZ�du�d_�d`g�dv�dt�dpg�do�d^�dt�d_�d`g�ds�dZ�d_�d`g�dwg�dc�dd�d]�ds�do�d^�dt�du�dp�d`g �dx�d\g�dc�dd�d]�ds�do�d^�dt�du�dp�d_g �dy�dzg�d{�dzg�d{�dyg�dx�d[g�d|g�d}�)Z$�d~�d�d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d��d�� Z%�d��d��d��d��d��d��d��d��d��d��d��d��d��d��d�hZ&�d��d��d�hZ'�d��d��d��d�hZ(e �d��Z)�d�S (� � )�BOM_UTF8�BOM_UTF16_BE�BOM_UTF16_LE�BOM_UTF32_BE�BOM_UTF32_LE)�OrderedDict)�aliases)� IGNORECASE�compile)�Dict�List�Set�Union�utf_8�utf_7s +/v8s +/v9s +/v+s +/v/s +/v8-�gb18030� �1�3�utf_32�utf_16� g �cAi � � � � � � � i i� iO iP i� i� i� i io ip i� i i� i i/ i0 i� i� i� i i� i iO iP i i� i� i� i� i i? i@ i_ i` io i� i� i i i� i� i i i� i� i i i� i� i i i� i� i i i� i� i i i� i� i i� i i� i� i� i i� i i i� i� i� i� i i i� i� i� i� i i i i? i@ i_ i` i i� i� i i� i� i� i iO iP i i� i� i� i� i i i i� i� i� i i i� i� i� i� i iO iP i i� i� i� i� i� i� i i i� i� i� i� i i� i i� i io ip i� i� i� i� i� i ! iO! iP! i�! i�! i�! i "