+
    wi                         ^ RI t^ RIHt ]P                  '       d   ^ RIt^RIHt ]! 4       t	]P                  RR R ll4       t]P                  RR R ll4       tRR R	 lltR
 R ltR R ltRR R lltR# )    N)local)Contextc                     V ^8  d   QhRRRR/# )   silentzte.Literal[False]returnr    )formats   "\/Users/ahmad/.openclaw/workspace/scripts/.venv/lib/python3.14/site-packages/click/globals.py__annotate__r      s     N N 3 N	 N    c                     R # Nr	   r   s   &r   get_current_contextr      s    KNr   c                R    V ^8  d   QhR\         R\        P                  R,          /# r   r   r   r   booltOptional)r
   s   "r   r   r      s     I I Iqzz)/D Ir   c                     R # r   r	   r   s   &r   r   r      s    FIr   c                R    V ^8  d   QhR\         R\        P                  R,          /# r   r   )r
   s   "r   r   r      s#       I1F r   c                     \         P                  ! R\        P                  R,          4      #   \        \
        3 d    pT '       g   \        R4      Th Rp?R# Rp?ii ; i)aZ  Returns the current click context.  This can be used as a way to
access the current context object from anywhere.  This is a more implicit
alternative to the :func:`pass_context` decorator.  This function is
primarily useful for helpers such as :func:`echo` which might be
interested in changing its behavior based on the current context.

To push the current context, :meth:`Context.scope` can be used.

.. versionadded:: 5.0

:param silent: if set to `True` the return value is `None` if no context
               is available.  The default behavior is to raise a
               :exc:`RuntimeError`.
r   z!There is no active click context.N)r   cast_localstackAttributeError
IndexErrorRuntimeError)r   es   & r   r   r      sT    Kvvib!122J' KBCJ  	Ks   +. AAAc                     V ^8  d   QhRRRR/# )r   ctxr   r   Nr	   )r
   s   "r   r   r   ,   s     8 8i 8D 8r   c                d    \         P                  P                  R. 4      P                  V 4       R# )z*Pushes a new context to the current stack.r   N)r   __dict__
setdefaultappend)r$   s   &r   push_contextr)   ,   s!    
OOw+2237r   c                    V ^8  d   QhRR/# )r   r   Nr	   )r
   s   "r   r   r   1   s      T r   c                 B    \         P                  P                  4        R# )z%Removes the top level from the stack.N)r   r   popr	   r   r   pop_contextr-   1   s    
LLr   c                    V ^8  d   QhR\         P                  \        ,          R\         P                  \        ,          /# )r   colorr   )r   r   r   )r
   s   "r   r   r   6   s,      D!1 QZZ=M r   c                J    V e   V # \        RR7      pVe   VP                  # R# )zInternal helper to get the default value of the color flag.  If a
value is passed it's returned unchanged, otherwise it's looked up from
the current context.
NTr   )r   r/   )r/   r$   s   & r   resolve_color_defaultr1   6   s+    
 
T
*C
yyr   )F).r   )typingr   	threadingr   TYPE_CHECKINGtyping_extensionstecorer   r   overloadr   r)   r-   r1   r	   r   r   <module>r9      sb     ???"	  N  N  I  I08

 r   