
    Lfi`                     0    d Z ddlZddlmZ d Z e       Zy)z?
Pusher WebSocket configuration for real-time progress updates
    N)settingsc                     	 t        j                  t        j                  t        j                  t        j
                  t        j                  d      } | S # t        $ r!}t        dt        |              Y d}~yd}~ww xY w)a  
    Returns configured Pusher client instance for sending real-time updates.
    
    Make sure to add these to your .env file:
    PUSHER_APP_ID=your_app_id
    PUSHER_KEY=your_key
    PUSHER_SECRET=your_secret
    PUSHER_CLUSTER=your_cluster (e.g., 'us2', 'eu', 'ap1')
    T)app_idkeysecretclustersslz[Pusher Config Error] N)
pusherPusherr   PUSHER_APP_ID
PUSHER_KEYPUSHER_SECRETPUSHER_CLUSTER	Exceptionprintstr)pusher_clientes     G/var/www/html/BankruptcyAI-uat/bankruptcy-ai/src/utils/pusher_config.pyget_pusher_clientr      sk    ))##))++
  &s1vh/0s   AA 	B A;;B )__doc__r
   src.core.configr   r   r        r   <module>r      s!     $0 "#r   