
    }Whl                        d Z ddlZ	 ddlmZ n# e$ r	 ddlmZ Y nw xY w	 ddlmZ n# e$ r	 ddlmZ Y nw xY w	 ddlm	Z	 n# e$ r	 ddlm	Z	 Y nw xY wdZ
dej        cxk    odk     nc Zd	ej        cxk    od
k     nc ZereZddZddZdS )z0Compatibility module for Python 2 and 3 support.    N)quote)	parse_qsl)	urlencode)to_bytesto_strurlquoter   r   )   r   )   r   )      )r      utf-8c                 z    t          | d          r*t          | t                    s|                     |          } | S )z0Ensure that b is text in the specified encoding.decode)hasattr
isinstanceunicoder   )bencodings     T/var/www/html/movieo_spanner_bot/venv/lib/python3.11/site-packages/rfc3986/compat.pyr   r   1   s;    q( Jq'$:$: HHXH    c                 z    t          | d          r*t          | t                    s|                     |          } | S )z6Ensure that s is converted to bytes from the encoding.encode)r   r   bytesr   )sr   s     r   r   r   8   s;    q( Jq%$8$8 HHXHr   )r   )__doc__sysurllib.parser   r   ImportErrorurllibr   urlparser   __all__version_infoPY3PY2strr   r   r    r   r   <module>r(      s   7 6 



)....... ) ) )(((((((()#&&&&&&& # # #""""""""#!&&&&&&& ! ! !        !  ))))6)))) ))))6))))  G        s)    ( 66A AA