Ë
    `§1hœ  ã                   ó4   — d dl mZmZ ddlmZ  G d„ d«      Zy)é    )ÚListÚOptionalé   )ÚAccountc                   ó    — e Zd ZdZdZdZdd„Zedee	   fd„«       Z
ede	fd„«       Zedee	   fd	„«       Zdee   fd
„Zdeddfd„Zdd„Zdd„Zy)ÚDialogz6Represents a FedCM dialog that can be interacted with.ÚAccountChooserÚAutoReauthnÚreturnNc                 ó   — || _         y )N)Ú_driver)ÚselfÚdrivers     úd/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/selenium/webdriver/common/fedcm/dialog.pyÚ__init__zDialog.__init__   s	   € Øˆ�ó    c                 óB   — | j                   j                  j                  S )z2Gets the type of the dialog currently being shown.)r   ÚfedcmÚdialog_type©r   s    r   ÚtypezDialog.type    s   € ð �|‰|×!Ñ!×-Ñ-Ð-r   c                 óB   — | j                   j                  j                  S )zGets the title of the dialog.)r   r   Útitler   s    r   r   zDialog.title%   s   € ð �|‰|×!Ñ!×'Ñ'Ð'r   c                 ól   — | j                   j                  j                  }|r|j                  d«      S dS )z Gets the subtitle of the dialog.ÚsubtitleN)r   r   r   Úget)r   Úresults     r   r   zDialog.subtitle*   s/   € ð —‘×#Ñ#×,Ñ,ˆÙ)/ˆv�z‰z˜*Ó%Ð9°TÐ9r   c                 ó~   — | j                   j                  j                  }|D �cg c]  }t        |«      ‘Œ c}S c c}w )z.Gets the list of accounts shown in the dialog.)r   r   Úaccount_listr   )r   ÚaccountsÚaccounts      r   Úget_accountszDialog.get_accounts0   s0   € à—<‘<×%Ñ%×2Ñ2ˆØ08Ö9 W”˜Õ Ò9Ð9ùÒ9s   ¥:Úindexc                 óN   — | j                   j                  j                  |«       y)z,Selects an account from the dialog by index.N)r   r   Úselect_account)r   r#   s     r   r%   zDialog.select_account5   s   € à�‰×Ñ×)Ñ)¨%Õ0r   c                 óL   — | j                   j                  j                  «        y)z)Clicks the continue button in the dialog.N)r   r   Úacceptr   s    r   r'   zDialog.accept9   s   € à�‰×Ñ×!Ñ!Õ#r   c                 óL   — | j                   j                  j                  «        y)zCancels/dismisses the dialog.N)r   r   Údismissr   s    r   r)   zDialog.dismiss=   s   € à�‰×Ñ×"Ñ"Õ$r   )r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚDIALOG_TYPE_ACCOUNT_LISTÚDIALOG_TYPE_AUTO_REAUTHr   Úpropertyr   Ústrr   r   r   r   r   r"   Úintr%   r'   r)   © r   r   r   r      sœ   „ Ù@à/ÐØ+Ðóð ð.�h˜s‘mò .ó ð.ð ð(�sò (ó ð(ð ð:˜( 3™-ò :ó ð:ð
:˜d 7™mó :ð
1 Cð 1¨Dó 1ó$ô%r   r   N)Útypingr   r   r!   r   r   r3   r   r   ú<module>r5      s   ð÷$ "å ÷(%ò (%r   