+
    pXin                    t   ^ RI Ht ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIH	t	 ^ RI
HtHt  ! R R]4      t ! R R]4      tRw  tttt ! R	 R
4      t ! R R]4      tR]P,                  9   d   ]P,                  R,          R8w  d   RtMRtRR/R R llt]R8X  d   ]! RR7       ]! 4       t]P7                  ]R4       ]P9                  4        ]P;                  R4      t]P?                  R4      t ]PC                  4        ]"! ]PF                  4       ]"! ]PH                  4       ]"! ]4       ]"! ] 4       R# R# )    )annotationsN)TracebackType)IOProtocolc                  "    ] tR t^&tR R ltRtR# )Commandc                    V ^8  d   QhRRRR/# )   params	str | intreturnstr )formats   ")/usr/lib/python3/dist-packages/debconf.py__annotate__Command.__annotate__'   s    66	6c6    c                	    R # Nr   )selfr   s   &*r   __call__Command.__call__'   s    3r   r   N)__name__
__module____qualname____firstlineno__r   __static_attributes__r   r   r   r   r   &   s    66r   r   c                      ] tR t^*tRtR# )DebconfErrorr   N)r   r   r   r   r   r   r   r   r    r    *   s    r   r    c                  `   ] tR t^1t$ RtR]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R	&   R]R
&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R-R R lltR R ltR R ltR R lt	R  R! lt
R" R# ltR$ R% ltR& R' ltR( R) ltR* R+ ltR,tR# ).Debconfa$  A class that speaks the debconf protocol.

The simplest way to use this is as a context manager:

    import debconf

    with debconf.Debconf(run_frontend=True) as db:
        print(db.get('debconf/frontend'))

Note that this will send the STOP command on exiting the context
manager, so you shouldn't expect to be able to use the same frontend
again after this.  If you need to do that, then you should instantiate
the class directly instead:

    import debconf

    db = debconf.Debconf(run_frontend=True)
    print(db.get('debconf/frontend'))
r   
beginblockcapbendblockexistfsetgetgoinfoinputprogresspurgeregisterresetsetsettitlesubsttitle
unregisterversion_visibleNc          
     ,    V ^8  d   QhRRRRRRRRRR	/# )
r
   r3   
str | NonereadzIO[str] | Nonewriterun_frontendboolr   Noner   )r   s   "r   r   Debconf.__annotate__[   s<        	
  
r   c                	J   R P                  4        F  pV P                  V4       K  	  T;'       g    \        P                  V n        T;'       g    \        P
                  V n        \        P                  \        n        V'       d   \        4        V P                  V4       R# )zcapb set reset title input beginblock endblock go get register unregister subst fset fget visible purge metaget exist version_ settitle info progress dataN)
split
setCommandsysstdinr9   stdoutr:   stderrrunFrontEndsetUp)r   r3   r9   r:   r;   commands   &&&&& r   __init__Debconf.__init__[   sq    " %'G OOG$ %%CII	((cjj
ZZ
M

5r   c                    V ^8  d   QhRRRR/# )r
   r3   r8   r   r=   r   )r   s   "r   r   r>   p   s      : $ r   c                	   V P                  ^4      V n        V P                  R,          R8w  d   \        RRV P                  ,          4      hV P                  4       P	                  4       V n        V'       d   V P                  V4       R# R# )r
   :Nr
   Nz2.   zwrong version: %sN)r5   versionr    r$   r@   capabilitiesr3   )r   r3   s   &&r   rG   Debconf.setUpp   se    }}Q'<<t#s$7$,,$FGG IIK--/JJu r   c                    V ^8  d   QhRRRR/# )r
   rH   r   r   r=   r   )r   s   "r   r   r>   x   s     
 
# 
$ 
r   c                	.   a a \        S SVV 3R  l4       R# )c                 0   < SP                   ! S.V O5/ VB # r   )rH   )argskwrH   r   s   *,r   <lambda>$Debconf.setCommand.<locals>.<lambda>|   s    W Bt Br Br   N)setattr)r   rH   s   ffr   rA   Debconf.setCommandx   s    B	
r   c               $    V ^8  d   QhRRRRRR/# )r
   rH   r   r   r   r   r   )r   s   "r   r   r>      s!     $- $-s $-Y $-3 $-r   c                	D   VR 8X  d   RpVP                  4       pV P                  P                  RP                  VRP                  \	        \
        V4      4      4      4       V P                  P                  4          V P                  P                  4       P                  R4      p RT9   d   TP                  R^4      w  rVMTRre\        T4      pT^ 8X  d   T# T^8X  d|   Rp\        P                  ! RT4       F\  p	T	P!                  R4      '       d;   \#        T	4      ^8X  d+   T	^,          R	8X  d   TR,          pKC  Y^,          ,          pKT  Y,          pK^  	  T# \%        Yv4      h  \         d-   pTP                  \        P                  8X  d    Rp?EK  h Rp?ii ; i)
r5   rN   z{} {}
 
N z(\\.)\n)upperr:   r   joinmapr   flushr9   readlinerstripOSErrorerrnoEINTRr@   intre
startswithlenr    )
r   rH   r   respestatus_datastatus	unescapedchunks
   &&*       r   rH   Debconf.command   sZ   j G--/

))'388CV<L3MNO

yy))+2248 $; JJsA.MGT "TWQ;Kq[I(D1##D))c%jAoQx3!T)	!1X-	&I 2 v,,3  77ekk)	s   >)E( (F3FFFc                   V ^8  d   QhRR/# r
   r   r=   r   )r   s   "r   r   r>      s      d r   c                	p    V P                   P                  R 4       V P                   P                  4        R# )zSTOP
N)r:   rd   r   s   &r   stopDebconf.stop   s$    

"

r   c               $    V ^8  d   QhRRRRRR/# )r
   priorityr   questionr   rj   r   )r   s   "r   r   r>      s!      3 # # r   c                	     V P                  W4       ^#   \         d%   pTP                  ^ ,          ^8w  d   h  Rp?^ # Rp?ii ; i)   N)r+   r    rT   )r   r}   r~   ro   s   &&& r   
forceInputDebconf.forceInput   s@    	JJx* 	vvayB 	s    A?Ac                    V ^8  d   QhRRRR/# )r
   r~   r   r   r<   r   )r   s   "r   r   r>      s        3  4  r   c                	.    V P                  V4      pVR 8H  # )truer(   )r   r~   results   && r   
getBooleanDebconf.getBoolean   s    (#r   c                    V ^8  d   QhRRRR/# )r
   r~   r   r   r   )r   s   "r   r   r>      s     " "# "# "r   c                	$    V P                  V4      # r   r   )r   r~   s   &&r   	getStringDebconf.getString   s    xx!!r   c                   V ^8  d   QhRR/# )r
   r   r"   r   )r   s   "r   r   r>      s      7 r   c                	    V # r   r   ry   s   &r   	__enter__Debconf.__enter__   s    r   c               (    V ^8  d   QhRRRRRRRR/# )	r
   exc_typeztype[BaseException] | None	exc_valuezBaseException | Noneexc_tbzTracebackType | Noner   r=   r   )r   s   "r   r   r>      s2      , ( %	
 
r   c                	&    V P                  4        R # r   )rz   )r   r   r   r   s   &&&&r   __exit__Debconf.__exit__   s     			r   )rO   r9   rN   r:   )NNNF)r   r   r   r   __doc____annotations__rI   rG   rA   rH   rz   r   r   r   r   r   r   r   r   r   r"   r"   1   s    ( 
MN
M	LK
MNNN	LNN*
$-L " r   r"   c                  J   a  ] tR t^tRR V 3R llltR R ltR R ltRtV ;t# )	DebconfCommunicatorc               (    V ^8  d   QhRRRRRRRR/# )	r
   ownerr   r3   r8   cloexecr<   r   r=   r   )r   s   "r   r    DebconfCommunicator.__annotate__   s2     N NN!+N=AN	Nr   c                	@  < R RV.p\         P                  ! V\         P                  \         P                  RRR7      V n        \        SV `  W P                  P                  V P                  P                  R7       V'       d   \        P                  ! V P                  P                  4       \        P                  \        P                  4       \        P                  ! V P                  P                  4       \        P                  \        P                  4       R# R# )zdebconf-communicatez-fnoninteractiveT)rC   rD   	close_fdsuniversal_newlines)r3   r9   r:   N)
subprocessPopenPIPEdccommsuperrI   rD   rC   fcntlr9   filenoF_SETFD
FD_CLOEXECr:   )r   r   r3   r   rT   	__class__s   &&&& r   rI   DebconfCommunicator.__init__   s     &'95A4>4D4D//??#5
 	kk008I8I 	 	
 KK		((*EMM5;K;KLKK

))+U]]E<L<LM r   c                   V ^8  d   QhRR/# rw   r   )r   s   "r   r   r      s      $ r   c                	`   V P                   e   V P                   P                  f   Q hV P                   P                  f   Q hV P                   P                  P                  4        V P                   P                  P                  4        V P                   P	                  4        R V n         R # R # r   )r   rC   rD   closewaitry   s   &r   shutdownDebconfCommunicator.shutdown   s    ;;";;$$000;;%%111KK##%KK$$&KKDK #r   c                   V ^8  d   QhRR/# rw   r   )r   s   "r   r   r      s       r   c                	L     V P                  4        R #   \         d     R # i ; ir   )r   AttributeErrorry   s   &r   __del__DebconfCommunicator.__del__   s"    	MMO 		s    ##)r   )NF)	r   r   r   r   rI   r   r   r   __classcell__)r   s   @r   r   r      s    N N$ r   r   DEBCONF_USE_CDEBCONFr^   z/usr/lib/cdebconf/debconfz/usr/share/debconf/frontendpass_sys_executableFc                    V ^8  d   QhRRRR/# )r
   r   r<   r   r=   r   )r   s   "r   r   r      s     ) ) ) )r   c                *   R \         P                  9  d~   R\         P                  R&   \        .pV '       d    VP                  \        P
                  4       VP                  \        P                  4       \         P                  ! \        V4       R# R# )DEBIAN_HAS_FRONTEND1PERL_DL_NONLAZYN)	osenviron_frontEndProgramappendrB   
executableextendargvexecv)r   rT   s   $ r   rF   rF      s\    BJJ.(+

$% !KK'CHH
!4( /r   __main__T)r   z&bsdmainutils/calendar_lib_is_not_emptyzless/add_mime_handlerzapt-listchanges/email-address)lowmediumhighcritical)%
__future__r   rh   r   r   rk   r   rB   typesr   typingr   r   r   	Exceptionr    LOWMEDIUMHIGHCRITICALr"   r   r   r   rF   r   dbr   r)   r   lessr   aptlcrz   printrN   rO   r   r   r   <module>r      s   4 #   	 	  
  7h 7	9 	 B VT8Q Qh!' !J bjj(


)*b024)u ) zD)	BMM(DEEEG==01DLL89EGGI	"**	"//	$K	%L r   