
    cf(	                     D    d dl Z d dlZd dlmZ d dlmZmZ ddlmZ d Z	dS )    N)Bar)	timedeltadatetime   )corec                    | j                             d          \  }}|dz   |z   dz   }t          j        |ddd          }d|vst	          |d                   dk    r/t          dt          j        	           t          j        d
           t          j	        |           }| j
        st          d           	 |                                }n# t          $ r}dt          |          v r8t          j        |            t          |            t          j        d           nHdt          |          v rt          dt          j        	           nt          |t          j        	           t          j        d           Y d}~nd}~ww xY wd |d         D             }d |d         D             }	|                    |          }
|
D ]%}|d         rt          |	|d                             &dS )zF
    List people you're following and who are following you, too.
    @z.user.z.jsonT)requiredquietcombine	followingr   z;You need to run 'mastodon-archive archive --with-following')file   zGet user infozaccess token was revokedzName or service not knownz8Error: the instance name is either misspelled or offliner   Nc                     g | ]
}|d          S )id .0xs     f/home/feoh/.local/pipx/venvs/mastodon-archive/lib/python3.11/site-packages/mastodon_archive/mutuals.py
<listcomp>zmutuals.<locals>.<listcomp>;   s    
.
.
.q1T7
.
.
.    c                 T    i | ]%}|d          |d         p|d         d|d         d&S )r   display_nameusernamez <acct>r   r   s     r   
<dictcomp>zmutuals.<locals>.<dictcomp><   sR     * * * gAn$5$F:$F$F&'iii1 * * *r   followed_byr   )usersplitr   loadlenprintsysstderrexitloginr   account_verify_credentials	Exceptionstrdeauthorizearchiveaccount_relationships)argsr   domainstatus_filedatamastodonr    eidslookup	relationsrelations               r   mutualsr9      s%   
 --Xv8#h.8K9[4tTJJJD $#d;&7"8"8A"="=K:	 	 	 	z$H: o2244   %Q//T"""DMMMHQKKKK(CFF22L:     !#*%%%% /
.D-
.
.
.C* *K(* * *F ..s33I * *M" 	*&$()))* *s   8C 
FB%FF)
r%   os.pathosprogress.barr   r   r    r   r9   r   r   r   <module>r>      sn     


        ( ( ( ( ( ( ( (      ,* ,* ,* ,* ,*r   