
    X j                     $    S SK Jr   " S S5      rg)    )Accountc                       \ rS rSrSrSrSrSS jr\S\	S-  4S j5       r
\S\	4S	 j5       r\S\	S-  4S
 j5       rS\\   4S jrS\SS4S jrSS jrSS jrSrg)Dialog   z6Represents a FedCM dialog that can be interacted with.AccountChooserAutoReauthnreturnNc                     Xl         g )N_driver)selfdrivers     w/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/selenium/webdriver/common/fedcm/dialog.py__init__Dialog.__init__   s        c                 B    U R                   R                  R                  $ )z2Gets the type of the dialog currently being shown.)r   fedcmdialog_typer   s    r   typeDialog.type   s     ||!!---r   c                 B    U R                   R                  R                  $ )zGets the title of the dialog.)r   r   titler   s    r   r   Dialog.title$   s     ||!!'''r   c                 v    U R                   R                  R                  nU(       a  UR                  S5      $ S$ )z Gets the subtitle of the dialog.subtitleN)r   r   r   get)r   results     r   r   Dialog.subtitle)   s/     ##,,)/vzz*%9T9r   c                     U R                   R                  R                  nU Vs/ s H  n[        U5      PM     sn$ s  snf )z.Gets the list of accounts shown in the dialog.)r   r   account_listr   )r   accountsaccounts      r   get_accountsDialog.get_accounts/   s4    <<%%22089W 999s   =indexc                 N    U R                   R                  R                  U5        g)z,Selects an account from the dialog by index.N)r   r   select_account)r   r'   s     r   r)   Dialog.select_account4   s    ))%0r   c                 L    U R                   R                  R                  5         g)z)Clicks the continue button in the dialog.N)r   r   acceptr   s    r   r,   Dialog.accept8   s    !!#r   c                 L    U R                   R                  R                  5         g)zCancels/dismisses the dialog.N)r   r   dismissr   s    r   r/   Dialog.dismiss<   s    ""$r   r   )r	   N)__name__
__module____qualname____firstlineno____doc__DIALOG_TYPE_ACCOUNT_LISTDIALOG_TYPE_AUTO_REAUTHr   propertystrr   r   r   listr   r%   intr)   r,   r/   __static_attributes__ r   r   r   r      s    @/+ .cDj . . (s ( ( :#* : :
:d7m :
1C 1D 1$%r   r   N)'selenium.webdriver.common.fedcm.accountr   r   r=   r   r   <module>r?      s   & <(% (%r   