+
    :1j                        R t ^ RIHt ^ RIHt ^RIHt ]'       d!   ^ RIHtH	t	 ^ RIH
t
Ht ]! R4      t]! R4      t]P                  ! RR	R
RR7      R R l4       t]P                  ! RR	R
RR7      R R l4       tR# )z,Replacements for parts of the toolz library.)annotations)TYPE_CHECKING)
deprecated)CallableIterable)AnyTypeVarTKz26.9z27.3sequenceiterable)renamec               $    V ^8  d   QhRRRRRR/# )   keyfunczCallable[[T], K]r   Iterable[T]returnzdict[K, list[T]] )formats   "6lib/python3.14/site-packages/conda/common/iterators.py__annotate__r      s$      )4    c                    ^ RI Hp ^ RIHp V! \        4      pV! W4       F  w  rVWE,          P                  V4       K  	  \        V4      # )zhA `toolz`-style groupby implementation.

Returns a dictionary of { key: [group] } instead of iterators.
)defaultdict)groupby)collectionsr   	itertoolsr   listextenddict)r   r   r   r   resultkeygroups   &&     r   groupby_to_dictr#      s?     (!*40Fh0
5! 1<r   c                    V ^8  d   QhRRRR/# )r   r   r   r   r   )r   s   "r   r   r   /   s      [ [ r   c              #  P   a"   \        4       oV3R lV  4        Rj  xL
  R#  L5i)zdA `toolz` inspired `unique` implementation.

Returns a generator of unique elements in the sequence
c              3  l   <"   T F)  pVS9  g   K  SP                  V4      ;'       g    Tx  K+  	  R # 5i)N)add).0elementseens   & r   	<genexpr>unique.<locals>.<genexpr>5   s8        G$ 	%$$W$s   	444N)set)r   r*   s   &@r   uniquer.   )   s(      UD    s   &$&N)__doc__
__future__r   typingr   deprecationsr   collections.abcr   r   r   r   r	   r
   argumentr#   r.   r   r   r   <module>r5      s    3 "   %2#AA 

	  

	r   