
    i                         S SK Jr  S SKr S SKrSSKJr  SSK	J
r
   " S S\5      r\" 5         g! \ a    S \l        \" S5      ef = f)	    )absolute_importNziPlease install the python module v8eval either via pip or download it from https://github.com/sony/v8eval   )JavaScriptInterpreter)templatec                   .   ^  \ rS rSrU 4S jrS rSrU =r$ )ChallengeInterpreter   c                 ,   > [         [        U ]  S5        g )Nv8)superr   __init__)self	__class__s    I/app/mltbenv/lib/python3.13/site-packages/cloudscraper/interpreters/v8.pyr   ChallengeInterpreter.__init__   s    "D248    c                      [         R                  " 5       R                  [        X5      5      $ ! [        [         R
                  4 a    [        S5         g f = f)Nz.We encountered an error running the V8 Engine.)v8evalV8evalr   	TypeErrorV8ErrorRuntimeError)r   bodydomains      r   r   ChallengeInterpreter.eval   sG    	K99;##HT$:;;6>>* 	KIJ	Ks   ,/ %AA )__name__
__module____qualname____firstlineno__r   r   __static_attributes____classcell__)r   s   @r   r   r      s    9
K Kr   r   )
__future__r   sysr   ImportErrortracebacklimitr    r   encapsulatedr   r   r   r   r   <module>r*      sc    & 
D
 $ "
K0 K   5  DC
  C  D  DDs	   / A