o
    M,öh÷  ã                   @   sl   d dl mZ d dlmZ dZdZdZdZeeeehZdZ	dZ
d	Ze	e
ehZG d
d„ dƒZG dd„ deƒZdS )é    )ÚUnion)ÚInputDeviceÚkeyÚpointerÚnoneÚwheelÚmouseÚtouchÚpenc                   @   s"   e Zd ZdZdeddfdd„ZdS )ÚInteractionÚpauseÚsourceÚreturnNc                 C   s
   || _ d S ©N)r   )Úselfr   © r   úy/var/www/www-root/data/www/bot.pdev.uz/venv/lib/python3.10/site-packages/selenium/webdriver/common/actions/interaction.pyÚ__init__%   s   
zInteraction.__init__)Ú__name__Ú
__module__Ú__qualname__ÚPAUSEr   r   r   r   r   r   r   "   s    r   c                       sF   e Zd Zd	deddf‡ fdd„Zdeeeeef f fdd„Z	‡  Z
S )
ÚPauser   Údurationr   Nc                    s   t ƒ  |¡ || _d S r   )Úsuperr   r   )r   r   r   ©Ú	__class__r   r   r   *   s   
zPause.__init__c                 C   s   | j t| jd ƒdœS )Niè  )Útyper   )r   Úintr   )r   r   r   r   Úencode.   s   zPause.encode)r   )r   r   r   Úfloatr   ÚdictÚstrr   r   r   Ú__classcell__r   r   r   r   r   )   s    &r   N)Útypingr   Ú.selenium.webdriver.common.actions.input_devicer   ÚKEYÚPOINTERÚNONEÚWHEELÚSOURCE_TYPESÚPOINTER_MOUSEÚPOINTER_TOUCHÚPOINTER_PENÚPOINTER_KINDSr   r   r   r   r   r   Ú<module>   s   
