Ë
    S>{i>  ã                   ó¬   — d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 e	rd dl
mZ d dl
mZ d dl
mZ d d	l
mZ d d
lmZ dad„ Zd„ Zd„ Z G d„ de«      Zy)é    )Úabsolute_import)ÚHub)ÚIntegration©Úadd_global_event_processor)ÚTYPE_CHECKING)ÚAny)ÚDict)ÚTuple)ÚIterator)ÚEventNc                 ó"   — | j                  «       S ©N)Úlower)Únames    ú]/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/sentry_sdk/integrations/modules.pyÚ_normalize_module_namer      s   € à�:‰:‹<Ðó    c               #   ó`  K  — 	 ddl m}  | j                  «       D ]7  }|j                  d   }|€Œ| j                  |«      }|€Œ)t	        |«      |f–— Œ9 y # t
        $ rM 	 dd l}n# t
        $ r Y Y y w xY w|j                  D ]%  }t	        |j                  «      |j                  f–— Œ' Y y w xY w­w)Nr   )ÚmetadataÚName)	Ú	importlibr   ÚdistributionsÚversionr   ÚImportErrorÚpkg_resourcesÚworking_setÚkey)r   Údistr   r   r   Úinfos         r   Ú_generate_installed_modulesr!      sÂ   è ø€ ðAÝ&à×*Ñ*Ó,ò 		@ˆDØ—=‘= Ñ(ˆDð
 ÑØ"×*Ñ*¨4Ó0�ØÑ&Ü0°Ó6¸Ð?Ó?ñ		@øô ò Að	Ü øÜò 	Úð	úð "×-Ñ-ò 	AˆDÜ(¨¯©Ó2°D·L±LÐ@Ó@ò	AðAüs]   ‚B.„*A ¯A ÁA ÁB.Á	B+ÁA$Á#B+Á$	A1Á-B+Á.B.Á0A1Á17B+Â(B.Â*B+Â+B.c                  ó@   — t         €t        t        «       «      a t         S r   )Ú_installed_modulesÚdictr!   © r   r   Ú_get_installed_modulesr&   5   s   € ô Ð!Ü!Ô"=Ó"?Ó@ÐÜÐr   c                   ó    — e Zd ZdZed„ «       Zy)ÚModulesIntegrationÚmodulesc                  ó   — t         d„ «       } y )Nc                 ó–   — | j                  d«      dk(  r| S t        j                  j                  t        «      €| S t        «       | d<   | S )NÚtypeÚtransactionr)   )Úgetr   ÚcurrentÚget_integrationr(   r&   )ÚeventÚhints     r   Ú	processorz0ModulesIntegration.setup_once.<locals>.processorC   sG   € ð �y‰y˜Ó  MÒ1Ø�ä�{‰{×*Ñ*Ô+=Ó>ÐFØ�ä5Ó7ˆE�)ÑØˆLr   r   )r3   s    r   Ú
setup_oncezModulesIntegration.setup_once@   s   € ô 
$ñ		ó 
$ñ		r   N)Ú__name__Ú
__module__Ú__qualname__Ú
identifierÚstaticmethodr4   r%   r   r   r(   r(   =   s   „ Ø€Jàñó ñr   r(   )Ú
__future__r   Úsentry_sdk.hubr   Úsentry_sdk.integrationsr   Úsentry_sdk.scoper   Úsentry_sdk._typesr   Útypingr	   r
   r   r   r   r#   r   r!   r&   r(   r%   r   r   ú<module>r@      sJ   ðÝ &å Ý /Ý 7å +áÝÝÝÝå'ð Ð òò
Aò6ô˜õ r   