ó
    ¼®iV8  ã                   óZ  • S SK r S SKJrJr  S SKJrJrJr  S SKJ	r	  S SK
Jr   " S S5      r " S S	5      r\ " S
 S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S S5      5       r\ " S  S!5      5       r\ " S" S#5      5       r\ " S$ S%5      5       r\ " S& S'5      5       r " S( S)5      r " S* S+5      rg),é    N)Ú	dataclassÚfield)ÚAnyÚOptionalÚUnion)Úcommand_builder)ÚSessionc                   ó.   • \ rS rSrSrSrSrSr\\\1rSr	g)ÚPointerTypeé   z&Represents the possible pointer types.ÚmouseÚpenÚtouch© N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__ÚMOUSEÚPENÚTOUCHÚVALID_TYPESÚ__static_attributes__r   ó    ÚQC:\des-py\RoboSAPF\venv\Lib\site-packages\selenium\webdriver\common\bidi\input.pyr   r      s    † Ù0à€EØ
€CØ€Eà˜#˜uÐ%ƒKr   r   c                   ó    • \ rS rSrSrSrSrSrg)ÚOriginé$   z%Represents the possible origin types.ÚviewportÚpointerr   N)r   r   r   r   r   ÚVIEWPORTÚPOINTERr   r   r   r   r   r   $   s   † Ù/à€HØƒGr   r   c                   óJ   • \ rS rSr% Sr\\S'   \\S'   S\4S jrS\4S jr	S	r
g
)ÚElementOriginé+   z/Represents an element origin for input actions.ÚtypeÚelementÚelement_referencec                 ó   • SU l         Xl        g )Nr(   ©r'   r(   )Úselfr)   s     r   Ú__init__ÚElementOrigin.__init__2   s   € ØˆŒ	Ø(�r   Úreturnc                 ó4   • U R                   U R                  S.$ )z*Convert the ElementOrigin to a dictionary.r+   r+   ©r,   s    r   Úto_dictÚElementOrigin.to_dict6   s   € àŸ	™	¨d¯l©lÑ;Ð;r   )r(   r'   N)r   r   r   r   r   ÚstrÚ__annotations__Údictr-   r2   r   r   r   r   r%   r%   +   s'   ‡ á9à
ƒIØƒMð)¨$ô )ð<˜÷ <r   r%   c                   óP   • \ rS rSr% Sr\R                  r\\	S'   S r
S\4S jrSrg)	ÚPointerParametersé;   z2Represents pointer parameters for pointer actions.Úpointer_typec                 ó’   • U R                   [        R                  ;  a)  [        SU R                    S[        R                   35      eg )NzInvalid pointer type: z. Must be one of )r:   r   r   Ú
ValueErrorr1   s    r   Ú__post_init__ÚPointerParameters.__post_init__A   sD   € Ø×Ñ¤K×$;Ñ$;Ó;ÜÐ5°d×6GÑ6GÐ5HÐHYÔZe×ZqÑZqÐYrÐsÓtÐtð <r   r/   c                 ó   • SU R                   0$ )z.Convert the PointerParameters to a dictionary.ÚpointerType)r:   r1   s    r   r2   ÚPointerParameters.to_dictE   s   € à˜t×0Ñ0Ð1Ð1r   r   N)r   r   r   r   r   r   r   r:   r4   r5   r=   r6   r2   r   r   r   r   r8   r8   ;   s'   ‡ á<à#×)Ñ)€L�#Ó)òuð2˜÷ 2r   r8   c                   ó�   • \ rS rSr% SrSr\\S'   Sr\\S'   Sr	\
\S'   Sr\
\S'   S	r\\S
'   Sr\
\S'   Sr\
\S'   S rS\4S jrSrg)ÚPointerCommonPropertieséJ   z&Common properties for pointer actions.é   ÚwidthÚheightç        ÚpressureÚtangential_pressurer   ÚtwistÚaltitude_angleÚazimuth_anglec                 ó  • U R                   S:  a  [        S5      eU R                  S:  a  [        S5      eSU R                  s=::  a  S::  d  O  [        S5      eSU R                  s=::  a  S::  d  O  [        S5      eSU R
                  s=::  a  S	::  d  O  [        S
5      eSU R                  s=::  a  [        R                  S-  ::  d  O  [        S5      eSU R                  s=::  a  S[        R                  -  ::  d  O  [        S5      eg )NrE   zwidth must be at least 1zheight must be at least 1rH   g      ð?z$pressure must be between 0.0 and 1.0z/tangential_pressure must be between 0.0 and 1.0r   ig  ztwist must be between 0 and 359é   u+   altitude_angle must be between 0.0 and Ï€/2u)   azimuth_angle must be between 0.0 and 2Ï€)
rF   r<   rG   rI   rJ   rK   rL   ÚmathÚpirM   r1   s    r   r=   Ú%PointerCommonProperties.__post_init__V   sÜ   € Ø�:‰:˜‹>ÜÐ7Ó8Ð8Ø�;‰;˜‹?ÜÐ8Ó9Ð9Ø�t—}‘}Õ+¨Õ+ÜÐCÓDÐDØ�t×/Ñ/Õ6°3Õ6ÜÐNÓOÐOØ�T—Z‘ZÕ& 3Õ&ÜÐ>Ó?Ð?Ø�t×*Ñ*Õ9¬d¯g©g¸©kÕ9ÜÐJÓKÐKØ�t×)Ñ)Õ8¨Q´·±©[Õ8ÜÐHÓIÐIð 9r   r/   c                 ó¼  • 0 nU R                   S:w  a  U R                   US'   U R                  S:w  a  U R                  US'   U R                  S:w  a  U R                  US'   U R                  S:w  a  U R                  US'   U R                  S:w  a  U R                  US'   U R
                  S:w  a  U R
                  US	'   U R                  S:w  a  U R                  US
'   U$ )z4Convert the PointerCommonProperties to a dictionary.rE   rF   rG   rH   rI   ÚtangentialPressurer   rK   ÚaltitudeAngleÚazimuthAngle)rF   rG   rI   rJ   rK   rL   rM   ©r,   Úresults     r   r2   ÚPointerCommonProperties.to_dictf   sË   € à!#ˆØ�:‰:˜‹?Ø"Ÿj™jˆF�7‰OØ�;‰;˜!ÓØ#Ÿ{™{ˆF�8ÑØ�=‰=˜CÓØ!%§¡ˆF�:ÑØ×#Ñ# sÓ*Ø+/×+CÑ+CˆFÐ'Ñ(Ø�:‰:˜‹?Ø"Ÿj™jˆF�7‰OØ×Ñ #Ó%Ø&*×&9Ñ&9ˆF�?Ñ#Ø×Ñ Ó$Ø%)×%7Ñ%7ˆF�>Ñ"Øˆr   r   N)r   r   r   r   r   rF   Úintr5   rG   rI   ÚfloatrJ   rK   rL   rM   r=   r6   r2   r   r   r   r   rC   rC   J   s[   ‡ á0à€Eˆ3ƒNØ€FˆCƒOØ€HˆeÓØ!$Ð˜Ó$Ø€Eˆ3ƒNØ€N�EÓØ€M�5ÓòJð ˜÷ r   rC   c                   óT   • \ rS rSr% SrSr\\   \S'   \	S\
4S j5       rS\4S jrSrg)	ÚPauseActioné{   zRepresents a pause action.NÚdurationr/   c                 ó   • g)NÚpauser   r1   s    r   r'   ÚPauseAction.type�   ó   € àr   c                 óZ   • SU R                   0nU R                  b  U R                  US'   U$ )z(Convert the PauseAction to a dictionary.r'   r_   )r'   r_   rW   s     r   r2   ÚPauseAction.to_dict…   s-   € à"(¨$¯)©)Ð!4ˆØ�=‰=Ñ$Ø!%§¡ˆF�:ÑØˆr   r   )r   r   r   r   r   r_   r   rZ   r5   Úpropertyr4   r'   r6   r2   r   r   r   r   r]   r]   {   s8   ‡ á$à"€Hˆh�s‰mÓ"àð�có ó ðð˜÷ r   r]   c                   óN   • \ rS rSr% SrSr\\S'   \S\4S j5       r	S\
4S jrSrg	)
ÚKeyDownActioné�   zRepresents a key down action.Ú Úvaluer/   c                 ó   • g)NÚkeyDownr   r1   s    r   r'   ÚKeyDownAction.type“   ó   € àr   c                 ó4   • U R                   U R                  S.$ )z*Convert the KeyDownAction to a dictionary.©r'   rk   rq   r1   s    r   r2   ÚKeyDownAction.to_dict—   ó   € àŸ	™	¨D¯J©JÑ7Ð7r   r   N©r   r   r   r   r   rk   r4   r5   rf   r'   r6   r2   r   r   r   r   rh   rh   �   s3   ‡ á'à€Eˆ3ƒOàð�có ó ðð8˜÷ 8r   rh   c                   óN   • \ rS rSr% SrSr\\S'   \S\4S j5       r	S\
4S jrSrg	)
ÚKeyUpActionéœ   zRepresents a key up action.rj   rk   r/   c                 ó   • g)NÚkeyUpr   r1   s    r   r'   ÚKeyUpAction.type¢   rc   r   c                 ó4   • U R                   U R                  S.$ )z(Convert the KeyUpAction to a dictionary.rq   rq   r1   s    r   r2   ÚKeyUpAction.to_dict¦   rs   r   r   Nrt   r   r   r   rv   rv   œ   s3   ‡ á%à€Eˆ3ƒOàð�có ó ðð8˜÷ 8r   rv   c                   ób   • \ rS rSr% SrSr\\S'   Sr\	\
   \S'   \S\4S j5       rS\4S	 jrS
rg)ÚPointerDownActioné«   z!Represents a pointer down action.r   ÚbuttonNÚ
propertiesr/   c                 ó   • g)NÚpointerDownr   r1   s    r   r'   ÚPointerDownAction.type²   ó   € àr   c                 ó¬   • U R                   U R                  S.nU R                  (       a)  UR                  U R                  R	                  5       5        U$ )z.Convert the PointerDownAction to a dictionary.©r'   r€   )r'   r€   r�   Úupdater2   rW   s     r   r2   ÚPointerDownAction.to_dict¶   s9   € à*.¯)©)¸t¿{¹{Ñ!KˆØ�?�?Ø�M‰M˜$Ÿ/™/×1Ñ1Ó3Ô4Øˆr   r   )r   r   r   r   r   r€   rZ   r5   r�   r   rC   rf   r4   r'   r6   r2   r   r   r   r   r~   r~   «   sC   ‡ á+à€FˆCƒOØ48€J�Ð0Ñ1Ó8àð�có ó ðð˜÷ r   r~   c                   óN   • \ rS rSr% SrSr\\S'   \S\	4S j5       r
S\4S jrSrg	)
ÚPointerUpActioné¾   zRepresents a pointer up action.r   r€   r/   c                 ó   • g)NÚ	pointerUpr   r1   s    r   r'   ÚPointerUpAction.typeÄ   s   € àr   c                 ó4   • U R                   U R                  S.$ )z,Convert the PointerUpAction to a dictionary.r‡   r‡   r1   s    r   r2   ÚPointerUpAction.to_dictÈ   s   € àŸ	™	¨T¯[©[Ñ9Ð9r   r   N)r   r   r   r   r   r€   rZ   r5   rf   r4   r'   r6   r2   r   r   r   r   r‹   r‹   ¾   s3   ‡ á)à€FˆCƒOàð�có ó ðð:˜÷ :r   r‹   c                   ó¢   • \ rS rSr% SrSr\\S'   Sr\\S'   Sr	\
\   \S'   Sr\
\\\4      \S'   Sr\
\   \S	'   \S
\4S j5       rS
\4S jrSrg)ÚPointerMoveActionéÍ   z!Represents a pointer move action.r   ÚxÚyNr_   Úoriginr�   r/   c                 ó   • g)NÚpointerMover   r1   s    r   r'   ÚPointerMoveAction.type×   r…   r   c                 ó¬  • U R                   U R                  U R                  S.nU R                  b  U R                  US'   U R                  bL  [        U R                  [        5      (       a  U R                  R                  5       US'   OU R                  US'   U R                  (       a)  UR                  U R                  R                  5       5        U$ )z.Convert the PointerMoveAction to a dictionary.)r'   r•   r–   r_   r—   )
r'   r•   r–   r_   r—   Ú
isinstancer%   r2   r�   rˆ   rW   s     r   r2   ÚPointerMoveAction.to_dictÛ   s—   € à*.¯)©)¸$¿&¹&ÀtÇvÁvÑ!NˆØ�=‰=Ñ$Ø!%§¡ˆF�:ÑØ�;‰;Ñ"Ü˜$Ÿ+™+¤}×5Ñ5Ø#'§;¡;×#6Ñ#6Ó#8��xÒ à#'§;¡;��xÑ Ø�?�?Ø�M‰M˜$Ÿ/™/×1Ñ1Ó3Ô4Øˆr   r   )r   r   r   r   r   r•   r[   r5   r–   r_   r   rZ   r—   r   r4   r%   r�   rC   rf   r'   r6   r2   r   r   r   r   r“   r“   Í   ss   ‡ á+à€A€uƒLØ€A€uƒLØ"€Hˆh�s‰mÓ"Ø26€FˆH�U˜3 Ð-Ñ.Ñ/Ó6Ø48€J�Ð0Ñ1Ó8àð�có ó ðð˜÷ r   r“   c                   ó¾   • \ rS rSr% SrSr\\S'   Sr\\S'   Sr	\\S'   Sr
\\S'   Sr\\   \S	'   \R                  r\\\\4      \S
'   \S\4S j5       rS\4S jrSrg)ÚWheelScrollActionéê   z!Represents a wheel scroll action.r   r•   r–   Údelta_xÚdelta_yNr_   r—   r/   c                 ó   • g)NÚscrollr   r1   s    r   r'   ÚWheelScrollAction.typeõ   s   € àr   c                 óf  • U R                   U R                  U R                  U R                  U R                  S.nU R
                  b  U R
                  US'   U R                  bM  [        U R                  [        5      (       a  U R                  R                  5       US'   U$ U R                  US'   U$ )z.Convert the WheelScrollAction to a dictionary.)r'   r•   r–   ÚdeltaXÚdeltaYr_   r—   )
r'   r•   r–   r¡   r¢   r_   r—   rœ   r%   r2   rW   s     r   r2   ÚWheelScrollAction.to_dictù   s–   € ð —I‘IØ—‘Ø—‘Ø—l‘lØ—l‘lñ"
ˆð �=‰=Ñ$Ø!%§¡ˆF�:ÑØ�;‰;Ñ"Ü˜$Ÿ+™+¤}×5Ñ5Ø#'§;¡;×#6Ñ#6Ó#8��xÑ ð ˆð $(§;¡;��xÑ Øˆr   r   )r   r   r   r   r   r•   rZ   r5   r–   r¡   r¢   r_   r   r   r"   r—   r   r4   r%   rf   r'   r6   r2   r   r   r   r   rŸ   rŸ   ê   s{   ‡ á+à€A€sƒJØ€A€sƒJØ€GˆSÓØ€GˆSÓØ"€Hˆh�s‰mÓ"Ø28·/±/€FˆH�U˜3 Ð-Ñ.Ñ/ÓAàð�có ó ðð˜÷ r   rŸ   c                   ój   • \ rS rSr% SrSr\\S'   \" \	S9r
\	\   \S'   \S\4S j5       rS\4S	 jrS
rg)ÚNoneSourceActionsi  z&Represents a sequence of none actions.rj   Úid©Údefault_factoryÚactionsr/   c                 ó   • g)NÚnoner   r1   s    r   r'   ÚNoneSourceActions.type  s   € àr   c                 ó�   • U R                   U R                  U R                   Vs/ s H  oR                  5       PM     snS.$ s  snf )z.Convert the NoneSourceActions to a dictionary.©r'   r¬   r¯   ©r'   r¬   r¯   r2   ©r,   Úactions     r   r2   ÚNoneSourceActions.to_dict  ó8   € àŸ	™	¨¯©Ð]a×]iÒ]iÓ=jÒ]iÐSY¿n¹nÖ>NÑ]iÑ=jÑkÐkùÒ=jó   ¥Ar   N)r   r   r   r   r   r¬   r4   r5   r   Úlistr¯   r]   rf   r'   r6   r2   r   r   r   r   r«   r«     sI   ‡ á0à€BˆƒLÙ!&°tÑ!<€GˆT�+ÑÓ<àð�có ó ððl˜÷ lr   r«   c                   óv   • \ rS rSr% SrSr\\S'   \" \	S9r
\	\\\\4      \S'   \S\4S j5       rS\4S	 jrS
rg)ÚKeySourceActionsi  z%Represents a sequence of key actions.rj   r¬   r­   r¯   r/   c                 ó   • g)NÚkeyr   r1   s    r   r'   ÚKeySourceActions.type$  s   € àr   c                 ó�   • U R                   U R                  U R                   Vs/ s H  oR                  5       PM     snS.$ s  snf )z-Convert the KeySourceActions to a dictionary.r´   rµ   r¶   s     r   r2   ÚKeySourceActions.to_dict(  r¹   rº   r   N)r   r   r   r   r   r¬   r4   r5   r   r»   r¯   r   r]   rh   rv   rf   r'   r6   r2   r   r   r   r   r½   r½     sV   ‡ á/à€BˆƒLÙDIÐZ^ÑD_€GˆT�%˜ ]°KÐ?Ñ@ÑAÓ_àð�có ó ððl˜÷ lr   r½   c                   ó’   • \ rS rSr% SrSr\\S'   Sr\	\
   \S'   \" \S9r\\\\\\4      \S'   S	 r\S
\4S j5       rS
\4S jrSrg)ÚPointerSourceActionsi-  z)Represents a sequence of pointer actions.rj   r¬   NÚ
parametersr­   r¯   c                 ó>   • U R                   c  [        5       U l         g g ©N)rÅ   r8   r1   s    r   r=   Ú"PointerSourceActions.__post_init__7  s   € Ø�?‰?Ñ"Ü/Ó1ˆD�Oð #r   r/   c                 ó   • g)Nr!   r   r1   s    r   r'   ÚPointerSourceActions.type;  ro   r   c                 óð   • U R                   U R                  U R                   Vs/ s H  oR                  5       PM     snS.nU R                  (       a  U R                  R                  5       US'   U$ s  snf )z1Convert the PointerSourceActions to a dictionary.r´   rÅ   )r'   r¬   r¯   r2   rÅ   )r,   r·   rX   s      r   r2   ÚPointerSourceActions.to_dict?  s_   € ð —I‘IØ—'‘'Ø7;·|²|ÓD²|¨VŸ™Ö(±|ÑDñ"
ˆð
 �?�?Ø#'§?¡?×#:Ñ#:Ó#<ˆF�<Ñ Øˆùò	 Es   ¥A3)rÅ   )r   r   r   r   r   r¬   r4   r5   rÅ   r   r8   r   r»   r¯   r   r]   r~   r‹   r“   r=   rf   r'   r6   r2   r   r   r   r   rÄ   rÄ   -  st   ‡ á3à€BˆƒLØ.2€J�Ð*Ñ+Ó2Ù_dØñ`€GˆT�%˜Ð%6¸ÐIZÐZÑ[Ñ\ó ò2ð ð�có ó ðð	˜÷ 	r   rÄ   c                   ót   • \ rS rSr% SrSr\\S'   \" \	S9r
\	\\\4      \S'   \S\4S j5       rS\4S	 jrS
rg)ÚWheelSourceActionsiK  z'Represents a sequence of wheel actions.rj   r¬   r­   r¯   r/   c                 ó   • g)NÚwheelr   r1   s    r   r'   ÚWheelSourceActions.typeR  rc   r   c                 ó�   • U R                   U R                  U R                   Vs/ s H  oR                  5       PM     snS.$ s  snf )z/Convert the WheelSourceActions to a dictionary.r´   rµ   r¶   s     r   r2   ÚWheelSourceActions.to_dictV  r¹   rº   r   N)r   r   r   r   r   r¬   r4   r5   r   r»   r¯   r   r]   rŸ   rf   r'   r6   r2   r   r   r   r   rÎ   rÎ   K  sU   ‡ á1à€BˆƒLÙ;@ÐQUÑ;V€GˆT�%˜Ð%6Ð6Ñ7Ñ8ÓVàð�có ó ððl˜÷ lr   rÎ   c                   ó^   • \ rS rSr% Sr\\S'   \\S'   Sr\	\
   \S'   \S\
SS 4S	 j5       rS
rg)ÚFileDialogInfoi[  zERepresents file dialog information from input.fileDialogOpened event.ÚcontextÚmultipleNr(   Údatar/   c                 ó<   • U " US   US   UR                  S5      S9$ )zÕCreates a FileDialogInfo instance from a dictionary.

Parameters:
-----------
    data: A dictionary containing the file dialog information.

Returns:
-------
    FileDialogInfo: A new instance of FileDialogInfo.
rÖ   r×   r(   )rÖ   r×   r(   )Úget)ÚclsrØ   s     r   Ú	from_dictÚFileDialogInfo.from_dictc  s&   € ñ ˜4 	™?°T¸*Ñ5EÈtÏxÉxÐXaÓObÑcÐcr   r   )r   r   r   r   r   r4   r5   Úboolr(   r   r6   ÚclassmethodrÜ   r   r   r   r   rÕ   rÕ   [  sB   ‡ áOàƒLØƒNØ"€GˆX�d‰^Ó"àðd˜Tð dÐ&6ó dó ódr   rÕ   c                   ó,   • \ rS rSrSrSr\S 5       rSrg)ÚFileDialogOpenedis  z-Event class for input.fileDialogOpened event.zinput.fileDialogOpenedc                 ó,   • [         R                  U5      $ )z%Create FileDialogInfo from JSON data.)rÕ   rÜ   )rÛ   Újsons     r   Ú	from_jsonÚFileDialogOpened.from_jsonx  s   € ô ×'Ñ'¨Ó-Ð-r   r   N)	r   r   r   r   r   Úevent_classrß   rä   r   r   r   r   rá   rá   s  s   † Ù7à*€Kàñ.ó ó.r   rá   c            	       ó’   • \ rS rSrSrS rS\S\\\	\
\\4      SS4S jrS\SS4S	 jrS\S
\S\\   SS4S jrS rS\SS4S jrSrg)ÚInputi~  z*
BiDi implementation of the input module.
c                 ó,   • Xl         0 U l        0 U l        g rÇ   )ÚconnÚsubscriptionsÚ	callbacks)r,   rê   s     r   r-   ÚInput.__init__ƒ  s   € ØŒ	ØˆÔØˆ�r   rÖ   r¯   r/   Nc                 óœ   • X Vs/ s H  o3R                  5       PM     snS.nU R                  R                  [        SU5      5        gs  snf )z¾Performs a sequence of user input actions.

Parameters:
-----------
    context: The browsing context ID where actions should be performed.
    actions: A list of source actions to perform.
)rÖ   r¯   zinput.performActionsN)r2   rê   Úexecuter   )r,   rÖ   r¯   r·   Úparamss        r   Úperform_actionsÚInput.perform_actionsˆ  sE   € ð %ÐQXÓ1YÒQXÀv·.±.Ö2BÑQXÑ1YÑZˆØ�	‰	×Ñœ/Ð*@À&ÓIÕJùò 2Zs   …A	c                 óV   • SU0nU R                   R                  [        SU5      5        g)z†Releases all input state for the given context.

Parameters:
-----------
    context: The browsing context ID to release actions for.
rÖ   zinput.releaseActionsN©rê   rï   r   )r,   rÖ   rð   s      r   Úrelease_actionsÚInput.release_actions—  s(   € ð ˜WÐ%ˆØ�	‰	×Ñœ/Ð*@À&ÓIÕJr   r(   Úfilesc                 óX   • XUS.nU R                   R                  [        SU5      5        g)zÉSets files for a file input element.

Parameters:
-----------
    context: The browsing context ID.
    element: The element reference (script.SharedReference).
    files: A list of file paths to set.
)rÖ   r(   r÷   zinput.setFilesNrô   )r,   rÖ   r(   r÷   rð   s        r   Ú	set_filesÚInput.set_files¡  s(   € ð %À5ÑIˆØ�	‰	×Ñœ/Ð*:¸FÓCÕDr   c                 óÊ  • [         R                  U R                  ;  aj  [        U R                  5      nU R                  R                  UR                  [         R                  5      5        / U R                  [         R                  '   U R                  R                  [         U5      nU R                  [         R                     R                  U5        XR                  U'   U$ )zÑAdd a handler for file dialog opened events.

Parameters:
-----------
    handler: Callback function that takes a FileDialogInfo object.

Returns:
--------
    int: Callback ID for removing the handler later.
)
rá   ræ   rë   r	   rê   rï   Ú	subscribeÚadd_callbackÚappendrì   )r,   ÚhandlerÚsessionÚcallback_ids       r   Úadd_file_dialog_handlerÚInput.add_file_dialog_handler­  s¬   € ô ×'Ñ'¨t×/AÑ/AÓAÜ˜dŸi™iÓ(ˆGØ�I‰I×Ñ˜g×/Ñ/Ô0@×0LÑ0LÓMÔNØ?AˆD×ÑÔ/×;Ñ;Ñ<ð —i‘i×,Ñ,Ô-=¸wÓGˆà×ÑÔ+×7Ñ7Ñ8×?Ñ?ÀÔLØ&-�‰�{Ñ#àÐr   r  c                 ód  • XR                   ;   a  U R                   U	 [        R                  U R                  ;   aÖ  XR                  [        R                     ;   a,  U R                  [        R                     R	                  U5        U R                  [        R                     (       dh  [        U R                  5      nU R                  R                  UR                  [        R                  5      5        U R                  [        R                  	 U R                  R                  [        U5        g)z}Remove a file dialog handler.

Parameters:
-----------
    callback_id: The callback ID returned by add_file_dialog_handler.
N)
rì   rá   ræ   rë   Úremover	   rê   rï   ÚunsubscribeÚremove_callback)r,   r  r   s      r   Úremove_file_dialog_handlerÚ Input.remove_file_dialog_handlerÆ  sÙ   € ð Ÿ.™.Ó(Ø—‘˜{Ð+ä×'Ñ'¨4×+=Ñ+=Ó=Ø×0Ñ0Ô1A×1MÑ1MÑNÓNØ×"Ñ"Ô#3×#?Ñ#?Ñ@×GÑGÈÔTð ×%Ñ%Ô&6×&BÑ&B×CÜ! $§)¡)Ó,�Ø—	‘	×!Ñ! '×"5Ñ"5Ô6F×6RÑ6RÓ"SÔTØ×&Ñ&Ô'7×'CÑ'CÐDà�	‰	×!Ñ!Ô"2°KÕ@r   )rì   rê   rë   )r   r   r   r   r   r-   r4   r»   r   r«   r½   rÄ   rÎ   rñ   rõ   r6   rù   r  rZ   r  r   r   r   r   rè   rè   ~  s£   † ñòð
KàðKð �eÐ-Ð/?ÐAUÐWiÐiÑjÑkðKð 
ô	KðK sð K¨tô Kð
E ð 
E¨tð 
E¸DÀ¹Ið 
EÈ$ô 
Eòð2A°cð A¸d÷ Ar   rè   )rP   Údataclassesr   r   Útypingr   r   r   Ú%selenium.webdriver.common.bidi.commonr   Ú&selenium.webdriver.common.bidi.sessionr	   r   r   r%   r8   rC   r]   rh   rv   r~   r‹   r“   rŸ   r«   r½   rÄ   rÎ   rÕ   rá   rè   r   r   r   Ú<module>r     sÊ  ðó$ ß (ß 'Ñ 'å AÝ :÷&ñ &÷ñ ð ÷<ð <ó ð<ð ÷2ð 2ó ð2ð ÷,ð ,ó ð,ð` ÷ð ó ðð" ÷8ð 8ó ð8ð ÷8ð 8ó ð8ð ÷ð ó ðð$ ÷:ð :ó ð:ð ÷ð ó ðð8 ÷ð ó ððD ÷lð ló ðlð ÷lð ló ðlð ÷ð ó ðð: ÷lð ló ðlð ÷dð dó ðd÷..ñ .÷\Aò \Ar   