
    'h
                     0    S SK Jr  SSKJr   " S S5      rg)    )Optional   )Commandc                       \ rS rSrSS jr\S\4S j5       r\S\\   4S j5       r	\S\4S j5       r
\S\\   4S j5       rS	\SS4S
 jrSS jrSS jrSS jrSS jrSS jrSrg)FedCM   returnNc                     Xl         g )N_driver)selfdrivers     h/var/www/home/psychics-availability/venv/lib/python3.13/site-packages/selenium/webdriver/remote/fedcm.py__init__FedCM.__init__   s        c                 x    U R                   R                  [        R                  5      S   R	                  S5      $ )zGets the title of the dialog.valuetitler   executer   GET_FEDCM_TITLEgetr   s    r   r   FedCM.title   s/     ||##G$;$;<WEII'RRr   c                 x    U R                   R                  [        R                  5      S   R	                  S5      $ )z Gets the subtitle of the dialog.r   subtitler   r   s    r   r   FedCM.subtitle    s/     ||##G$;$;<WEII*UUr   c                 r    U R                   R                  [        R                  5      R	                  S5      $ )z2Gets the type of the dialog currently being shown.r   )r   r   r   GET_FEDCM_DIALOG_TYPEr   r   s    r   dialog_typeFedCM.dialog_type%   s*     ||##G$A$ABFFwOOr   c                 r    U R                   R                  [        R                  5      R	                  S5      $ )z.Gets the list of accounts shown in the dialog.r   )r   r   r   GET_FEDCM_ACCOUNT_LISTr   r   s    r   account_listFedCM.account_list*   s*     ||##G$B$BCGGPPr   indexc                 \    U R                   R                  [        R                  SU05        g)z,Selects an account from the dialog by index.accountIndexN)r   r   r   SELECT_FEDCM_ACCOUNT)r   r'   s     r   select_accountFedCM.select_account/   s!    W99NE;RSr   c                 \    U R                   R                  [        R                  SS05        g)z)Clicks the continue button in the dialog.dialogButtonConfirmIdpLoginContinueN)r   r   r   CLICK_FEDCM_DIALOG_BUTTONr   s    r   acceptFedCM.accept3   s"    W>>Qj@klr   c                 V    U R                   R                  [        R                  5        g)z#Cancels/dismisses the FedCM dialog.N)r   r   r   CANCEL_FEDCM_DIALOGr   s    r   dismissFedCM.dismiss7   s    W889r   c                 \    U R                   R                  [        R                  SS05        g)z1Re-enables the promise rejection delay for FedCM.enabledTNr   r   r   SET_FEDCM_DELAYr   s    r   enable_delayFedCM.enable_delay;   s!    W44y$6GHr   c                 \    U R                   R                  [        R                  SS05        g)z/Disables the promise rejection delay for FedCM.r8   FNr9   r   s    r   disable_delayFedCM.disable_delay?   s!    W44y%6HIr   c                 V    U R                   R                  [        R                  5        g)z@Resets the FedCM dialog cooldown, allowing immediate retriggers.N)r   r   r   RESET_FEDCM_COOLDOWNr   s    r   reset_cooldownFedCM.reset_cooldownC   s    W99:r   r   )r	   N)__name__
__module____qualname____firstlineno__r   propertystrr   r   r   r!   listdictr%   intr+   r1   r5   r;   r>   rB   __static_attributes__ r   r   r   r      s     Ss S S V(3- V V PS P P Qd4j Q QTC TD Tm:IJ;r   r   N)typingr   commandr   r   rN   r   r   <module>rQ      s   $  .; .;r   