+
    9i                    (   R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ]'       d   ^ RI	t	^ RI
Ht ^ RIHt ^ RIHt  ! R	 R
]4      t ! R R]4      t ! R R]4      t ! R R]]4      t ! R R]4      t ! R R]4      tR R ltRR/R R lltR R ltR# )zCustom exceptions.)annotations)TYPE_CHECKING)
CondaError)ChannelN)Iterable)Path)Selfc                      ] tR t^tRtRtR# )CondaToSErrorzBase exception. N)__name__
__module____qualname____firstlineno____doc____static_attributes__r       =lib/python3.14/site-packages/conda_anaconda_tos/exceptions.pyr
   r
      s    r   r
   c                  2   a  ] tR t^tRtR V 3R lltRtV ;t# )CondaToSMissingErrorz;Error class for when the metadata is missing for a channel.c               $    V ^8  d   QhRRRRRR/#    selfr   channelstr | ChannelreturnNoner   )formats   "r   __annotate__!CondaToSMissingError.__annotate__   s&     F Ft Fm F Fr   c                @   < \         SV `  R\        V4       R24       R# )+Format error message with channel base URL.zNo Terms of Service for .Nsuper__init___urlr   r   	__class__s   &&r   r&   CondaToSMissingError.__init__   s    3DM?!DEr   r   r   r   r   r   r   r&   r   __classcell__r)   s   @r   r   r      s    EF Fr   r   c                  2   a  ] tR t^tRtR V 3R lltRtV ;t# )CondaToSInvalidErrorz;Error class for when the metadata is invalid for a channel.c               $    V ^8  d   QhRRRRRR/# r   r   )r   s   "r   r   !CondaToSInvalidError.__annotate__"   s&     K Kt Km K Kr   c                @   < \         SV `  R\        V4       R24       R# )r"   zInvalid Terms of Service for r#   Nr$   r(   s   &&r   r&   CondaToSInvalidError.__init__"   s    8gqIJr   r   r+   r-   s   @r   r/   r/      s    EK Kr   r/   c                  6   a  ] tR t^'tRtRR V 3R llltRtV ;t# )CondaToSPermissionErrorz9Error class for when the metadata file cannot be written.c               (    V ^8  d   QhRRRRRRRR/# )	r   r   r   pathzstr | os.PathLike[str] | Pathr   zstr | Channel | Noner   r   r   )r   s   "r   r   $CondaToSPermissionError.__annotate__*   s0     	
 	
	
+	
 &	
 
		
r   c                d   < V'       d   R\        V4       2MRp\        SV `	  RV RV R24       R# )z4Format error message with channel base URL and path.z for  zUnable to read/write path ()z. Please check permissions.N)r'   r%   r&   )r   r7   r   addendumr)   s   &&& r   r&    CondaToSPermissionError.__init__*   s9     /6U4=/*2)$q
:UV	
r   r   Nr+   r-   s   @r   r5   r5   '   s    C	
 	
 	
r   r5   c                  2   a  ] tR t^6tRtR V 3R lltRtV ;t# )CondaToSRejectedErrorzEError class for when the Terms of Service are rejected for a channel.c               $    V ^8  d   QhRRRRRR/# r   r   r   channelsr   r   r   r   )r   s   "r   r   "CondaToSRejectedError.__annotate__9   !     
 
t 
 
$ 
r   c           
        < V Uu. uF  p\        V4      NK  	  ppV Uu. uF  pRV 2NK
  	  pp\        SV `	  R\        V4       R\        VRR7       R\	        4        24       R# u upi u upi )r"   /conda tos accept --override-channels --channel zoTerms of Service has been rejected for the following channels. Please remove or accept them before proceeding:
J

To accept these channels' Terms of Service, run the following commands:
    prefix

Nr'   r%   r&   _bullet_get_removal_guidancer   rC   r   channel_urlsurlaccept_commandsr)   s   &*    r   r&   CondaToSRejectedError.__init__9       5=>X'WX> $
# >cUC# 	 

 	@|$% &X v67 8$&')		
 ?

   A&A+r   r+   r-   s   @r   r@   r@   6   s    O
 
r   r@   c                  2   a  ] tR t^MtRtR V 3R lltRtV ;t# )CondaToSNonInteractiveErrorzMError class when Terms of Service are not actionable in non-interactive mode.c               $    V ^8  d   QhRRRRRR/# rB   r   )r   s   "r   r   (CondaToSNonInteractiveError.__annotate__P   rE   r   c           
        < V Uu. uF  p\        V4      NK  	  ppV Uu. uF  pRV 2NK
  	  pp\        SV `	  R\        V4       R\        VRR7       R\	        4        24       R# u upi u upi )r"   rG   ztTerms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:
rH   rI   rJ   rL   NrM   rP   s   &*    r   r&   $CondaToSNonInteractiveError.__init__P   rU   rV   r   r+   r-   s   @r   rX   rX   M   s    W
 
r   rX   c                    V ^8  d   QhRRRR/# )r   r   r   r   strr   )r   s   "r   r   r   d   s     - -- -C -r   c                    \        V \        4      '       d   T M\        \        V 4      4      p\        VP                  ;'       g    T 4      # r>   )
isinstancer   r^   base_url)r   _channels   & r   r'   r'   d   s7    $Wg66wGCL<QHx  ++G,,r   rK   z    - c               $    V ^8  d   QhRRRRRR/# )r   argszIterable[str]rK   r^   r   r   )r   s   "r   r   r   i   s!     - -- -C -s -r   c               8    VR V 2P                  V 4      ,           # )
)join)rd   rK   s   &$r   rN   rN   i   s    bM&&t,,,r   c                   V ^8  d   QhRR/# )r   r   r^   r   )r   s   "r   r   r   m   s      s r   c                      R# )z1Generate removal guidance based on channel types.zFor information on safely removing channels from your conda configuration,
please see the official documentation:

    https://www.anaconda.com/docs/tools/working-with-conda/channelsr   r   r   r   rO   rO   m   s    	Nr   )r   
__future__r   typingr   conda.exceptionsr   conda.models.channelr   oscollections.abcr   pathlibr   r   r
   r   r/   PermissionErrorr5   r@   rX   r'   rN   rO   r   r   r   <module>rr      s     "   ' ((J F= FK/ K
o} 

M 
.
- 
.-
-( -r   