§
    ðÕûh]  ã                   óh   — d dl Z d dlZd dlmZ erd dlZ ej        e¦  «        Z G d„ d¦  «        ZdS )é    N)ÚTYPE_CHECKINGc                   ó   — e Zd Z	 	 dd„ZdS )Ú
InitializeÚselfúhydrogram.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    úa/var/www/html/auto_sub_bot/venv/lib/python3.11/site-packages/hydrogram/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Útypingr   Ú	hydrogramÚ	getLoggerr   Úlogr   r   r   r   ú<module>r      sƒ   ðð( €€€Ø €€€Ø  Ð  Ð  Ð  Ð  Ð  àð ØÐÐÐà€gÔ˜Ñ!Ô!€ð#ð #ð #ð #ð #ñ #ô #ð #ð #ð #r   