o
    #Îj¡	  ã                	   @  s   d Z ddlmZ ddlZddlZddlmZ ddlmZ	 ze
e	 d¡d ƒdkZW n eefy6   dZY nw ddd„Zeƒ ZejZed dkZed dkZdZzddlZdZW n eye   ddlZY nw eroddlmZ nddlmZ ddlmZ ddlmZmZmZ ddl m!Z" ddl#m$Z$ ddl%m&Z& ddl'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1 ddl2m3Z3m4Z4m5Z5m6Z6m7Z7 e8Z9e8Z8e:Z:e8e:fZ;e
e<fZ=e
fZ>dS )zÁ
requests.compat
~~~~~~~~~~~~~~~

This module previously handled import compatibility issues
between Python 2 and Python 3. It remains for backwards
compatibility until the next major version.
é    )ÚannotationsN)Ú
ModuleType)Ú__version__Ú.é   TÚreturnúModuleType | Nonec               	   C  s<   d} dD ]}| du rzt  |¡} W q ty   Y qw q| S )z-Find supported character detection libraries.N)ÚchardetZcharset_normalizer)Ú	importlibÚimport_moduleÚImportError)r	   Úlib© r   úP/var/www/html/Deteccion_Ine/venv/lib/python3.10/site-packages/requests/compat.pyÚ_resolve_char_detection%   s   ÿýr   é   é   F)ÚJSONDecodeError)ÚOrderedDict)ÚCallableÚMappingÚMutableMapping)Ú	cookiejar)ÚMorsel)ÚStringIO)
ÚquoteÚ
quote_plusÚunquoteÚunquote_plusÚ	urldefragÚ	urlencodeÚurljoinÚurlparseÚurlsplitÚ
urlunparse)Ú
getproxiesÚgetproxies_environmentÚparse_http_listÚproxy_bypassÚproxy_bypass_environment)r   r   )?Ú__doc__Ú
__future__r   r
   ÚsysÚtypesr   Úurllib3r   Úurllib3_versionÚintÚsplitÚis_urllib3_1Ú	TypeErrorÚAttributeErrorr   r	   Úversion_infoÚ_verÚis_py2Úis_py3Zhas_simplejsonZ
simplejsonÚjsonr   r   Úcollectionsr   Úcollections.abcr   r   r   Úhttpr   Ú	cookielibÚhttp.cookiesr   Úior   Úurllib.parser   r   r   r   r   r    r!   r"   r#   r$   Úurllib.requestr%   r&   r'   r(   r)   ÚstrÚbuiltin_strÚbytesÚ
basestringÚfloatÚnumeric_typesÚinteger_typesr   r   r   r   Ú<module>   sN    þ
	ÿ0
