+
    O×ixB  ã                   ó  € ^ RI t ^ RIt^ RIt^ RIt^ RIHtHtHtHtHt ^RI	H
t
HtHt ^RIHt ]P                  ! ]4      t]! R] P$                  R7      t ! R R]4      t ! R	 R
] P,                  ] P.                  4      tR# )é    N)ÚAnyÚCallableÚIterableÚSequenceÚTypeVar)ÚInteractionAgentÚInteractionHandlerÚget_running_loop)Úget_exception_for_ssh_stderrÚP)Úboundc                   óJ   a a€ ] tR t^ t oV3R lV 3R lltV3R ltRtVtV ;t# )ÚSubprocessErrorc                ó*   <€ V ^8„  d   QhRS[ RS[RR/# )é   Ú
returncodeÚstderrÚreturnN©ÚintÚstr)ÚformatÚ__classdict__s   "€ÚA/usr/lib/python3/dist-packages/cockpit/_vendor/ferny/transport.pyÚ__annotate__ÚSubprocessError.__annotate__$   s"   ø€ ÷ ñ ¡3ð ±ð ¸ñ ó    c                ó>   <€ \         SV `  W4       Wn        W n        R # ©N)ÚsuperÚ__init__r   r   )Úselfr   r   Ú	__class__s   &&&€r   r!   ÚSubprocessError.__init__$   s   ø€ Ü‰Ñ˜Ô,Ø$ŒØŽr   c                ó2   <€ V ^8„  d   Qh/ S[ ;R&   S[;R&   # )r   r   r   r   )r   r   s   "€r   r   r       s   ø‡ ‚ Ù�Oñ á�Kò r   )r   r   )	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r!   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r#   r   s   @@r   r   r       s   ù‡ € ÷ó ÷	 … r   r   c                   óª  a € ] tR t^*t o RtRtRtRtRtRt	Rt
RtRt]REV 3R lR ll4       tV 3R lR ltV 3R lR ltV 3R	 lR
 ltV 3R lR ltV 3R lR ltV 3R lR ltV 3R lR ltV 3R lR ltV 3R lR ltV 3R lR ltRFV 3R lR lltV 3R lR ltRFV 3R lR lltV 3R lR  ltV 3R! lR" ltV 3R# lR$ ltV 3R% lR& ltV 3R' lR( lt V 3R) lR* lt!V 3R+ lR, lt"V 3R- lR. lt#V 3R/ lR0 lt$RGV 3R1 lR2 llt%V 3R3 lR4 lt&V 3R5 lR6 lt'V 3R7 lR8 lt(V 3R9 lR: lt)V 3R; lR< lt*V 3R= lR> lt+V 3R? lR@ lt,V 3RA lRB lt-V 3RC lt.RDt/V t0R# )HÚFernyTransportFNc                óx   <€ V ^8„  d   QhRRRS[ . S[3,          RS[S[,          RRRS[S[,          RS[R	S[R
R/# )r   Úclsztype[typing.Self]Úprotocol_factoryÚargsÚloopz asyncio.AbstractEventLoop | NoneÚinteraction_handlersÚis_sshÚkwargsr   ztuple[typing.Self, P])r   r   r   r   r	   Úboolr   )r   r   s   "€r   r   ÚFernyTransport.__annotate__A   su   ø€ ÷ añ aØ ðaá" 2¡q 5�/ðañ ‘s�mðað 1ð	añ
 'Ñ'9Õ:ðañ ðañ ðað 
!ñar   c                ó°  a	€ \         P                  RWV4       V! 4       pV ! V4      o	VS	n        Vf   \        4       p\	        WCS	P
                  4      S	n        VP                  RS	P                  P                  4       4       VP                  VP                  ! V	3R l.VO5/ VB 4      S	n        R V	3R llpS	P                  P                  V4       S	V3# )aÎ  Connects a FernyTransport to a protocol, using the given command.

This spawns an external command and connects the stdin and stdout of
the command to the protocol returned by the factory.

An instance of ferny.InteractionAgent is created and attached to the
stderr of the spawned process, using the provided handlers.  It is the
responsibility of the caller to ensure that:
  - a `ferny-askpass` client program is installed somewhere; and
  - any relevant command-line arguments or environment variables are
    passed correctly to the program to be spawned

This function returns immediately and never raises exceptions, assuming
all preconditions are met.

If spawning the process fails then connection_lost() will be
called with the relevant OSError, even before connection_made() is
called.  This is somewhat non-standard behaviour, but is the easiest
way to report these errors without making this function async.

Once the process is successfully executed, connection_made() will be
called and the transport can be used as normal.  connection_lost() will
be called if the process exits or another error occurs.

The return value of this function is the transport, but it exists in a
semi-initialized state.  You can call .close() on it, but nothing else.
Once .connection_made() is called, you can call all the other
functions.

After you call this function, `.connection_lost()` will be called on
your Protocol, exactly once, no matter what.  Until that happens, you
are responsible for holding a reference to the returned transport.

:param args: the full argv of the command to spawn
:param loop: the event loop to use.  If none is provided, we use the
    one which is (read: must be) currently running.
:param interaction_handlers: the handlers passed to the
    InteractionAgent
:param is_ssh: whether we should attempt to interpret stderr as ssh
    error messages
:param kwargs: anything else is passed through to `subprocess_exec()`
:returns: the usual `(Transport, Protocol)` pair
zspawn(%r, %r, %r)r   c                  ó   <€ S # r   © ©r"   s   €r   Ú<lambda>Ú&FernyTransport.spawn.<locals>.<lambda>‡   s   ø€ Ér   c                ó    € V ^8„  d   QhRRRR/# )r   Útaskz=asyncio.Task[tuple[asyncio.SubprocessTransport, typing.Self]]r   Nr<   )r   s   "r   r   Ú*FernyTransport.spawn.<locals>.__annotate__‰   s   € ÷ 	 ñ 	 Ð!`ð 	 Ðeiñ 	 r   c                 ó   <€ \         P                  R SV 4       V SP                  J g   Q h V P                  4       w  rVSJ g   Q h\         P                  R4       SP                  TJ g   Q hSP                  f   Q hSP                  f   Q hSP                  P                  4        R#   \        P
                   d     R# \         d3   p\         P                  RT4       SP                  T4        Rp?R# Rp?ii ; i)zexec_completed(%r, %r)z
  success.Nz  OSError %r)ÚloggerÚdebugÚ
_exec_taskÚresultÚasyncioÚCancelledErrorÚOSErrorÚcloseÚ_subprocess_transportÚ_stdin_transportÚ_stdout_transportÚ_agentÚstart)rA   Ú	transportÚmeÚexcr"   s   &   €r   Úexec_completedÚ,FernyTransport.spawn.<locals>.exec_completed‰   sÛ   ø€ Ü�L‰LÐ1°4¸Ô>Ø˜4Ÿ?™?Ó*Ð*Ð*ð	Ø $§¡£‘�	Ø˜T“zÐ!�zÜ—‘˜\Ô*ð ×-Ñ-°Ó:Ð:Ð:Ø×(Ñ(Ò4Ð4Ð4Ø×)Ñ)Ò5Ð5Ð5ð �K‰K×ÑÖøô ×)Ñ)ô ÚÜô Ü—‘˜^¨SÔ1Ø—
‘
˜3”Ýûðús#   ¬/B) Â)C=ÃC=Ã
C=Ã'C8Ã8C=)rD   rE   Ú_is_sshr
   r   Ú_interaction_completedrO   Ú
setdefaultÚfilenoÚcreate_taskÚsubprocess_execrF   Úadd_done_callback)
r1   r2   r3   r4   r5   r6   r7   ÚprotocolrT   r"   s
   &&&&&&,  @r   ÚspawnÚFernyTransport.spawn@   sÀ   ø€ ôj 	�‰Ð(¨#ÀÔFá#Ó%ˆÙ�8‹}ˆØˆŒàŠ<Ü#Ó%ˆDä&Ð';À4×C^ÑC^Ó_ˆŒØ×Ñ˜( D§K¡K×$6Ñ$6Ó$8Ô9ð ×*Ñ*¨4×+?Ò+?ÄÐ+^ÈtÒ+^ÐW]Ñ+^Ó_ˆŒ÷	 ð 	 ð. 	�‰×)Ñ)¨.Ô9à�Xˆ~Ðr   c                ó8   <€ V ^8„  d   QhRS[ P                  RR/# ©r   r]   r   N©rH   ÚProtocol)r   r   s   "€r   r   r9   ¤   s!   ø€ ÷ "ñ "¡×!1Ñ!1ð "°dñ "r   c                ó   € Wn         R # r   ©Ú	_protocol©r"   r]   s   &&r   r!   ÚFernyTransport.__init__¤   s   € Ø!Žr   c                ó   <€ V ^8„  d   QhRR/# ©r   r   Nr<   )r   r   s   "€r   r   r9   §   s   ø€ ÷ *cñ *c dñ *cr   c                ó  € \         P                  R V 4       V P                  P                  4       '       g#   \         P                  RV P                  4       R# V P                  e5   V P
                  '       g#   \         P                  RV P                  4       R# V P                  f   \         P                  R4       R# V P                  '       d   \         P                  R4       R# RV n        V P                  eH   \         P                  RV P                  4       V P                  P                  V P                  4       R# V P                  ^ 8X  g   V P                  '       d3   \         P                  R4       V P                  P                  R4       R# V P                  '       db   V P                  ^ÿ8X  dQ   \         P                  R	V P                  4       V P                  P                  \        V P                  4      4       R# \         P                  R
V P                  V P                  4       V P                  f   Q hV P                  P                  \        V P                  V P                  4      4       R# )z_consider_disconnect(%r)z  exec_task still running %rNz  transport still connected %rz  agent still runningz  already disconnectedTz  disconnect with exception %rz  clean disconnectz  disconnect with ssh error %rz)  disconnect with exit code %r, stderr %r)rD   rE   rF   ÚdonerL   Ú_transport_disconnectedÚ_stderr_outputÚ_protocol_disconnectedÚ
_exceptionrf   Úconnection_lostÚ_returncodeÚ_closedrV   r   r   r=   s   &r   Ú_consider_disconnectÚ#FernyTransport._consider_disconnect§   s¹  € Ü�‰Ð/°Ô6à�‰×#Ñ#×%Ò%Ü�L‰LÐ7¸¿¹ÔIÙà×%Ñ%Ò1¸$×:V×:VÐ:VÜ�L‰LÐ9¸4×;UÑ;UÔVÙà×ÑÒ&Ü�L‰LÐ0Ô1Ùð ×&×&Ð&Ü�L‰LÐ1Ô2ÙØ&*ˆÔ#ð �?‰?Ò&ä�L‰LÐ9¸4¿?¹?ÔKØ�N‰N×*Ñ*¨4¯?©?Ö;Ø×Ñ Ô" d§l§l lô �L‰LÐ-Ô.Ø�N‰N×*Ñ*¨4Ö0Ø�\�\ˆ\˜d×.Ñ.°#Ô5ä�L‰LÐ9¸4×;NÑ;NÔOØ�N‰N×*Ñ*Ô+GÈ×H[ÑH[Ó+\Ö]ô �L‰LÐDÀd×FVÑFVÐX\×XkÑXkÔlð ×#Ñ#Ò/Ð/Ð/Ø�N‰N×*Ñ*¬?¸4×;KÑ;KÈT×M`ÑM`Ó+aÖbr   c                ó"   <€ V ^8„  d   QhRRRR/# )r   Úfuturezasyncio.Future[str]r   Nr<   )r   r   s   "€r   r   r9   Ó   s   ø€ ÷ 
$ñ 
$Ð-Bð 
$Àtñ 
$r   c                óJ  € \         P                  R W4        VP                  4       V n        \         P                  RV P                  4       V P                  4        R#   \         d9   p\         P                  RT4       RT n        T P                  T4        Rp?LPRp?ii ; i)z_interaction_completed(%r, %r)z  stderr: %rz  exception: %rÚ N)rD   rE   rG   rn   Ú	ExceptionrK   rt   )r"   rw   rS   s   && r   rW   Ú%FernyTransport._interaction_completedÓ   s|   € Ü�‰Ð5°tÔDð	Ø"(§-¡-£/ˆDÔÜ�L‰L˜¨×)<Ñ)<Ô=ð 	×!Ñ!Ö#øô ô 	Ü�L‰LÐ*¨CÔ0Ø"$ˆDÔØ�J‰J�s�O‰Oûð	ús   ˜5A ÁB"Á*.BÂB"c                ó8   <€ V ^8„  d   QhRS[ P                  RR/# )r   rQ   r   N)rH   ÚBaseTransport)r   r   s   "€r   r   r9   à   s!   ø€ ÷ -ñ -©×)>Ñ)>ð -À4ñ -r   c                ó
  € \         P                  R W4       \        V\        P                  4      '       g   Q hWn        VP                  ^ 4      p\        V\        P                  4      '       g   Q hW n        VP                  ^4      p\        V\        P                  4      '       g   Q hW0n
        VP                  ^4      pVe   Q h\         P                  RW P                  4       V P                  P                  V 4       R# )zconnection_made(%r, %r)Nzcalling connection_made(%r, %r))rD   rE   Ú
isinstancerH   ÚSubprocessTransportrL   Úget_pipe_transportÚWriteTransportrM   ÚReadTransportrN   rf   Úconnection_made)r"   rQ   Ústdin_transportÚstdout_transportÚstderr_transports   &&   r   r„   ÚFernyTransport.connection_madeà   sÒ   € Ü�‰Ð.°Ô@Ü˜)¤W×%@Ñ%@×AÒAÐAÐAØ%.Ô"à#×6Ñ6°qÓ9ˆÜ˜/¬7×+AÑ+A×BÒBÐBÐBØ /Ôà$×7Ñ7¸Ó:ÐÜÐ*¬G×,AÑ,A×BÒBÐBÐBØ!1Ôà$×7Ñ7¸Ó:ÐØÒ'Ð'Ð'ä�‰Ð6¸¿n¹nÔMØ�‰×&Ñ& tÖ,r   c                ó"   <€ V ^8„  d   QhRRRR/# ©r   rS   úException | Noner   Nr<   )r   r   s   "€r   r   r9   ó   s   ø€ ÷ $ñ $Ð#5ð $¸$ñ $r   c                óˆ   € \         P                  R W4       V P                  f   Wn        RV n        V P	                  4        R# )zconnection_lost(%r, %r)NT)rD   rE   rp   rm   rt   ©r"   rS   s   &&r   rq   ÚFernyTransport.connection_lostó   s4   € Ü�‰Ð.°Ô:Ø�?‰?Ò"Ø!ŒOØ'+ˆÔ$Ø×!Ñ!Ö#r   c                ó*   <€ V ^8„  d   QhRS[ RS[RR/# )r   ÚfdÚdatar   N)r   Úbytes)r   r   s   "€r   r   r9   û   s"   ø€ ÷ +ñ +¡Sð +±ð +¸$ñ +r   c                óŽ   € \         P                  R W\        V4      4       V^8X  g   Q hV P                  P	                  V4       R# )zpipe_data_received(%r, %r, %r)N)rD   rE   Úlenrf   Údata_received)r"   r�   r‘   s   &&&r   Úpipe_data_receivedÚ!FernyTransport.pipe_data_receivedû   s4   € Ü�‰Ð5°tÄÀTÃÔKØ�QŒwˆˆwØ�‰×$Ñ$ TÖ*r   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   r�   rS   r‹   r   N©r   )r   r   s   "€r   r   r9      s#   ø€ ÷ ñ ¡sð Ð1Cð Èñ r   c                óB  € \         P                  R WV4       VR9   g   Q h\        V\        4      '       d   RpVe   V P	                  V4       R# V^8X  dI   V P
                  '       g5   V P                  P                  4       '       g   V P	                  4        R# R# R# R# )z pipe_connection_lost(%r, %r, %r)N)r   é   )rD   rE   r   ÚBrokenPipeErrorrK   rs   rf   Úeof_received)r"   r�   rS   s   &&&r   Úpipe_connection_lostÚ#FernyTransport.pipe_connection_lost   s|   € Ü�‰Ð7¸À3ÔGØ�VŒ|Ðˆ|ô �cœ?×+Ò+ØˆCð Š?Ø�J‰J�sŽOØ�1ŒW˜TŸ\Ÿ\˜\Ø—>‘>×.Ñ.×0Ò0Ø—
‘
–ñ 1ñ *‰Wr   c                ó   <€ V ^8„  d   QhRR/# rj   r<   )r   r   s   "€r   r   r9     s   ø€ ÷ 'ñ ' ñ 'r   c                ó  € \         P                  R V 4       V P                  f   Q hV P                  P                  4       V n        \         P                  RV P                  4       V P
                  P                  4        R# )zprocess_exited(%r)Nz  ._returncode = %r)rD   rE   rL   Úget_returncoderr   rO   Úforce_completionr=   s   &r   Úprocess_exitedÚFernyTransport.process_exited  s_   € Ü�‰Ð)¨4Ô0Ø×)Ñ)Ò5Ð5Ð5Ø×5Ñ5×DÑDÓFˆÔÜ�‰Ð*¨D×,<Ñ,<Ô=Ø�‰×$Ñ$Ö&r   c                ó   <€ V ^8„  d   QhRR/# rj   r<   )r   r   s   "€r   r   r9     s   ø€ ÷ 'ñ '˜tñ 'r   c                óf   € \         P                  R V 4       V P                  P                  4        R# )zpause_writing(%r)N)rD   rE   rf   Úpause_writingr=   s   &r   r¨   ÚFernyTransport.pause_writing  s!   € Ü�‰Ð(¨$Ô/Ø�‰×$Ñ$Ö&r   c                ó   <€ V ^8„  d   QhRR/# rj   r<   )r   r   s   "€r   r   r9     s   ø€ ÷ (ñ ( ñ (r   c                óf   € \         P                  R V 4       V P                  P                  4        R# )zresume_writing(%r)N)rD   rE   rf   Úresume_writingr=   s   &r   r¬   ÚFernyTransport.resume_writing  s!   € Ü�‰Ð)¨4Ô0Ø�‰×%Ñ%Ö'r   c                ó"   <€ V ^8„  d   QhRRRR/# rŠ   r<   )r   r   s   "€r   r   r9      s   ø€ ÷ 'ñ 'Ð+ð '°tñ 'r   c                ó\  € \         P                  R W4       RV n        V P                  f   \         P                  RV4       Wn        V P                  P                  4       '       g0   \         P                  R4       V P                  P                  4        V P                  e[   \         P                  R4       \        P                  ! \        4      ;_uu_ 4        V P                  P                  4        RRR4       V P                  P                  4        R#   + '       g   i     L,; i)zclose(%r, %r)TNz  setting exception %rz  cancelling _exec_taskz  closing _subprocess_transport)rD   rE   rs   rp   rF   rl   ÚcancelrL   Ú
contextlibÚsuppressÚPermissionErrorrK   rO   r£   r�   s   &&r   rK   ÚFernyTransport.close   s¿   € Ü�‰�_ dÔ0ØˆŒØ�?‰?Ò"Ü�L‰LÐ1°3Ô7Ø!ŒOØ�‰×#Ñ#×%Ò%Ü�L‰LÐ2Ô3Ø�O‰O×"Ñ"Ô$Ø×%Ñ%Ò1Ü�L‰LÐ:Ô;ä×$Ò$¤_×5Õ5Ø×*Ñ*×0Ñ0Ô2÷ 6à�‰×$Ñ$Ö&÷ 6×5ús   ÃDÄD+	c                ó    <€ V ^8„  d   QhRS[ /# ©r   r   ©r8   )r   r   s   "€r   r   r9   0  s   ø€ ÷ 7ñ 7™Dñ 7r   c                óV   € V P                   f   Q hV P                   P                  4       # r   )rL   Ú
is_closingr=   s   &r   r¹   ÚFernyTransport.is_closing0  s)   € Ø×)Ñ)Ò5Ð5Ð5Ø×)Ñ)×4Ñ4Ó6Ð6r   c                ó,   <€ V ^8„  d   QhRS[ RS[RS[/# )r   ÚnameÚdefaultr   )r   Úobject)r   r   s   "€r   r   r9   4  s'   ø€ ÷ Hñ H¡3ð H±ð HÁ6ñ Hr   c                óX   € V P                   f   Q hV P                   P                  W4      # r   )rL   Úget_extra_info)r"   r¼   r½   s   &&&r   rÀ   ÚFernyTransport.get_extra_info4  s+   € Ø×)Ñ)Ò5Ð5Ð5Ø×)Ñ)×8Ñ8¸ÓGÐGr   c                ó8   <€ V ^8„  d   QhRS[ P                  RR/# ra   )rH   ÚBaseProtocol)r   r   s   "€r   r   r9   8  s!   ø€ ÷ "ñ "¡W×%9Ñ%9ð "¸dñ "r   c                óV   € \        V\        P                  4      '       g   Q hWn        R # r   )r   rH   rc   rf   rg   s   &&r   Úset_protocolÚFernyTransport.set_protocol8  s    € Ü˜(¤G×$4Ñ$4×5Ò5Ð5Ð5Ø!Žr   c                ó4   <€ V ^8„  d   QhRS[ P                  /# r¶   rb   )r   r   s   "€r   r   r9   <  s   ø€ ÷ ñ ™g×.Ñ.ñ r   c                ó   € V P                   # r   re   r=   s   &r   Úget_protocolÚFernyTransport.get_protocol<  s   € Ø�~‰~Ðr   c                ó    <€ V ^8„  d   QhRS[ /# r¶   r·   )r   r   s   "€r   r   r9   ?  s   ø€ ÷ ñ ™Dñ r   c                ó|  € V P                   f   Q h V P                   P                  4       #   \         d    T P                   P                  '       * u # \         d^     T P                   P
                  P                  pTP                  T P                   P                  4        R#   \         d      R# i ; ii ; i)NTF)
rN   Ú
is_readingÚNotImplementedErrorÚ_pausedÚAttributeErrorÚ_loopÚ	_selectorÚget_keyÚ_filenoÚKeyError)r"   Úselectors   & r   rÍ   ÚFernyTransport.is_reading?  s¥   € Ø×%Ñ%Ò1Ð1Ð1ð	Ø×)Ñ)×4Ñ4Ó6Ð6øÜ"ô 	6à×-Ñ-×5Ñ5Ô5Ò5Üô 	ðØ×1Ñ1×7Ñ7×AÑA�Ø× Ñ  ×!7Ñ!7×!?Ñ!?Ô@ÚøÜô Ûðúð	ús4   ’, ¬&B;ÁB;ÁB;ÁAB'Â'B7Â2B;Â6B7Â7B;c                ó   <€ V ^8„  d   QhRR/# rj   r<   )r   r   s   "€r   r   r9   O  s   ø€ ÷ /ñ /˜tñ /r   c                óZ   € V P                   f   Q hV P                   P                  4        R # r   )rN   Úpause_readingr=   s   &r   rÚ   ÚFernyTransport.pause_readingO  s&   € Ø×%Ñ%Ò1Ð1Ð1Ø×Ñ×,Ñ,Ö.r   c                ó   <€ V ^8„  d   QhRR/# rj   r<   )r   r   s   "€r   r   r9   S  s   ø€ ÷ 0ñ 0 ñ 0r   c                óZ   € V P                   f   Q hV P                   P                  4        R # r   )rN   Úresume_readingr=   s   &r   rÞ   ÚFernyTransport.resume_readingS  s&   € Ø×%Ñ%Ò1Ð1Ð1Ø×Ñ×-Ñ-Ö/r   c                ó   <€ V ^8„  d   QhRR/# rj   r<   )r   r   s   "€r   r   r9   W  s   ø€ ÷ *ñ *�tñ *r   c                ó®   € V P                   f   Q hV P                  f   Q hV P                   P                  4        V P                  P                  4        R # r   )rM   rL   ÚabortÚkillr=   s   &r   râ   ÚFernyTransport.abortW  sJ   € Ø×$Ñ$Ò0Ð0Ð0Ø×)Ñ)Ò5Ð5Ð5Ø×Ñ×#Ñ#Ô%Ø×"Ñ"×'Ñ'Ö)r   c                ó    <€ V ^8„  d   QhRS[ /# r¶   r·   )r   r   s   "€r   r   r9   ]  s   ø€ ÷ 5ñ 5™tñ 5r   c                óV   € V P                   f   Q hV P                   P                  4       # r   )rM   Úcan_write_eofr=   s   &r   rç   ÚFernyTransport.can_write_eof]  s)   € Ø×$Ñ$Ò0Ð0Ð0Ø×$Ñ$×2Ñ2Ó4Ð4r   c                ó    <€ V ^8„  d   QhRS[ /# r¶   r™   )r   r   s   "€r   r   r9   a  s   ø€ ÷ =ñ =¡sñ =r   c                óV   € V P                   f   Q hV P                   P                  4       # r   )rM   Úget_write_buffer_sizer=   s   &r   rë   Ú$FernyTransport.get_write_buffer_sizea  s)   € Ø×$Ñ$Ò0Ð0Ð0Ø×$Ñ$×:Ñ:Ó<Ð<r   c                ó   <€ V ^8„  d   QhRR/# )r   r   ztuple[int, int]r<   )r   r   s   "€r   r   r9   e  s   ø€ ÷ ?ñ ?Ð):ñ ?r   c                óV   € V P                   f   Q hV P                   P                  4       # r   )rM   Úget_write_buffer_limitsr=   s   &r   rï   Ú&FernyTransport.get_write_buffer_limitse  s)   € Ø×$Ñ$Ò0Ð0Ð0Ø×$Ñ$×<Ñ<Ó>Ð>r   c                ó&   <€ V ^8„  d   QhRRRRRR/# )r   Úhighú
int | NoneÚlowr   Nr<   )r   r   s   "€r   r   r9   i  s(   ø€ ÷ Hñ H¨Lð HÀlð HÐ^bñ Hr   c                óX   € V P                   f   Q hV P                   P                  W4      # r   )rM   Úset_write_buffer_limits)r"   rò   rô   s   &&&r   rö   Ú&FernyTransport.set_write_buffer_limitsi  s+   € Ø×$Ñ$Ò0Ð0Ð0Ø×$Ñ$×<Ñ<¸TÓGÐGr   c                ó"   <€ V ^8„  d   QhRRRR/# )r   r‘   zbytes | bytearray | memoryviewr   Nr<   )r   r   s   "€r   r   r9   m  s   ø€ ÷ 1ñ 1Ð:ð 1¸tñ 1r   c                óX   € V P                   f   Q hV P                   P                  V4      # r   )rM   Úwrite)r"   r‘   s   &&r   rú   ÚFernyTransport.writem  s+   € Ø×$Ñ$Ò0Ð0Ð0Ø×$Ñ$×*Ñ*¨4Ó0Ð0r   c                ó"   <€ V ^8„  d   QhRRRR/# )r   Úlist_of_dataz(Iterable[bytes | bytearray | memoryview]r   Nr<   )r   r   s   "€r   r   r9   q  s   ø€ ÷ >ñ >Ð'Qð >ÐVZñ >r   c                óX   € V P                   f   Q hV P                   P                  V4      # r   )rM   Ú
writelines)r"   rý   s   &&r   rÿ   ÚFernyTransport.writelinesq  s+   € Ø×$Ñ$Ò0Ð0Ð0Ø×$Ñ$×/Ñ/°Ó=Ð=r   c                ó   <€ V ^8„  d   QhRR/# rj   r<   )r   r   s   "€r   r   r9   u  s   ø€ ÷ 1ñ 1˜4ñ 1r   c                óV   € V P                   f   Q hV P                   P                  4       # r   )rM   Ú	write_eofr=   s   &r   r  ÚFernyTransport.write_eofu  s)   € Ø×$Ñ$Ò0Ð0Ð0Ø×$Ñ$×.Ñ.Ó0Ð0r   c                ó    <€ V ^8„  d   QhRS[ /# r¶   r™   )r   r   s   "€r   r   r9   {  s   ø€ ÷ 4ñ 4™ñ 4r   c                óV   € V P                   f   Q hV P                   P                  4       # r   )rL   Úget_pidr=   s   &r   r  ÚFernyTransport.get_pid{  s)   € Ø×)Ñ)Ò5Ð5Ð5Ø×)Ñ)×1Ñ1Ó3Ð3r   c                ó   <€ V ^8„  d   QhRR/# )r   r   ró   r<   )r   r   s   "€r   r   r9     s   ø€ ÷  ñ   ñ  r   c                ó   € V P                   # r   )rr   r=   s   &r   r¢   ÚFernyTransport.get_returncode  s   € Ø×ÑÐr   c                ó   <€ V ^8„  d   QhRR/# rj   r<   )r   r   s   "€r   r   r9   ‚  s   ø€ ÷ *ñ *�dñ *r   c                óZ   € V P                   f   Q hV P                   P                  4        R # r   )rL   rã   r=   s   &r   rã   ÚFernyTransport.kill‚  s&   € Ø×)Ñ)Ò5Ð5Ð5Ø×"Ñ"×'Ñ'Ö)r   c                ó$   <€ V ^8„  d   QhRS[ RR/# )r   Únumberr   Nr™   )r   r   s   "€r   r   r9   †  s   ø€ ÷ 7ñ 7¡#ð 7¨$ñ 7r   c                ó\   € V P                   f   Q hV P                   P                  V4       R # r   )rL   Úsend_signal)r"   r  s   &&r   r  ÚFernyTransport.send_signal†  s(   € Ø×)Ñ)Ò5Ð5Ð5Ø×"Ñ"×.Ñ.¨vÖ6r   c                ó   <€ V ^8„  d   QhRR/# rj   r<   )r   r   s   "€r   r   r9   Š  s   ø€ ÷ /ñ /˜4ñ /r   c                óZ   € V P                   f   Q hV P                   P                  4        R # r   )rL   Ú	terminater=   s   &r   r  ÚFernyTransport.terminateŠ  s&   € Ø×)Ñ)Ò5Ð5Ð5Ø×"Ñ"×,Ñ,Ö.r   c                ó¼   <€ V ^8„  d   Qh/ S[ ;R&   R;R&   S[;R&   S[P                  ;R&   S[;R&   R;R&   R	;R
&   R;R&   R;R&   R;R&   R;R&   S[;R&   S[;R&   # )r   rO   z@asyncio.Task[tuple[asyncio.SubprocessTransport, FernyTransport]]rF   rV   rf   ro   z"asyncio.SubprocessTransport | NonerL   zasyncio.WriteTransport | NonerM   zasyncio.ReadTransport | NonerN   r‹   rp   z
str | Nonern   ró   rr   rm   rs   )r   r8   rH   rc   )r   r   s   "€r   r   r9   *   s°   ø‡ ‚ ÙÑñ àRÑRñ ñ �Mñ ñ ×ÑÑñ	 ñ
 !Ñ(ñ ð @ÑFñ ð 6Ñ<ñ ð 6Ñ<ñ ð  #Ñ)ñ! ð" !Ñ'ñ# ð$ Ñ$ñ% ñ& "Ñ)ñ' ñ( Ñò) r   )rO   rs   rp   rF   rV   rf   ro   rr   rn   rM   rN   rL   rm   )Nr<   Tr   )NN)1r&   r'   r(   r)   ro   rL   rM   rN   rp   rn   rr   rm   rs   Úclassmethodr^   r!   rt   rW   r„   rq   r–   rž   r¤   r¨   r¬   rK   r¹   rÀ   rÅ   rÉ   rÍ   rÚ   rÞ   râ   rç   rë   rï   rö   rú   rÿ   r  r  r¢   rã   r  r  r*   r+   r,   )r   s   @r   r/   r/   *   sŸ  ø‡ € ð
 $)Ðð CGÐØ8<ÐØ8<Ðð &*€JØ#'€NØ $€KØ$)ÐØ€Gà÷añ aó ða÷F"ð "÷*cð *c÷X
$ð 
$÷-ð -÷&$ð $÷+ð +÷
ð ÷ 'ð '÷'ð '÷(ð (÷
'ò '÷ 7ð 7÷Hò H÷"ð "÷ð ÷ð ÷ /ð /÷0ð 0÷*ð *÷5ð 5÷=ð =÷?ð ?÷Hò H÷1ð 1÷>ð >÷1ð 1÷4ð 4÷ ð  ÷*ð *÷7ð 7÷/ð /÷A ƒ r   r/   )rH   r±   ÚloggingÚtypingr   r   r   r   r   Úinteraction_agentr   r	   r
   Ú
ssh_errorsr   Ú	getLoggerr&   rD   rc   r   rz   r   Ú	TransportÚSubprocessProtocolr/   r<   r   r   Ú<module>r!     sl   ðó$ Û Û Û ß =Õ =ç UÑ UÝ 4à	×	Ò	˜8Ó	$€áˆC�w×'Ñ'Ô(€ô�iô ôb/�W×&Ñ&¨×(BÑ(Bö b/r   