§
    $Sêhâ  ã                   óX   — d dl Z d dlZd dlZ ej        e¦  «        Z G d„ d¦  «        ZdS )é    Nc                   ó   — e Zd Z	 	 dd„ZdS )Ú
InitializeÚselfúpyrogram.Clientc              ƒ   ó,  K  — | j         st          d¦  «        ‚| j        rt          d¦  «        ‚|                      ¦   «          | j                             ¦   «         ƒ d{V —† t          j        |                      ¦   «         ¦  «        | _	        d| _        dS )ak  Initialize the client by starting up workers.

        This method will start updates and download workers.
        It will also load plugins and start the internal dispatcher.

        Raises:
            ConnectionError: In case you try to initialize a disconnected client or in case you try to initialize an
                already initialized client.
        z&Can't initialize a disconnected clientzClient is already initializedNT)
Úis_connectedÚConnectionErrorÚis_initializedÚload_pluginsÚ
dispatcherÚstartÚasyncioÚcreate_taskÚupdates_watchdogÚupdates_watchdog_task)r   s    úf/var/www/html/movieo_spanner_bot/venv/lib/python3.11/site-packages/pyrogram/methods/auth/initialize.pyÚ
initializezInitialize.initialize   s£   è è € ð Ô ð 	LÝ!Ð"JÑKÔKÐKàÔð 	CÝ!Ð"AÑBÔBÐBà×ÒÑÔÐàŒo×#Ò#Ñ%Ô%Ð%Ð%Ð%Ð%Ð%Ð%Ð%å%,Ô%8¸×9NÒ9NÑ9PÔ9PÑ%QÔ%QˆÔ"à"ˆÔÐÐó    N)r   r   )Ú__name__Ú
__module__Ú__qualname__r   © r   r   r   r      s0   € € € € € ð#Øð#ð #ð #ð #ð #ð #r   r   )r   ÚloggingÚpyrogramÚ	getLoggerr   Úlogr   r   r   r   ú<module>r      sf   ðð& €€€Ø €€€à €€€à€gÔ˜Ñ!Ô!€ð#ð #ð #ð #ð #ñ #ô #ð #ð #ð #r   