
    W|h                     H    S SK Jr  S SKJr  S SKJr  \ " S S\5      5       rg)    )	dataclass)Clip)Effectc                   *    \ rS rSrSrS\S\4S jrSrg)
TimeMirror   z
Returns a clip that plays the current clip backwards.
The clip must have its ``duration`` attribute set.
The same effect is applied to the clip's audio and mask if any.
clipreturnc                 B    UR                   c  [        S5      eUSSS2   $ )zApply the effect to the clip.NzAttribute 'duration' not set)duration
ValueError)selfr	   s     U/home/james-whalen/.local/lib/python3.13/site-packages/moviepy/video/fx/TimeMirror.pyapplyTimeMirror.apply   s&    == ;<<DbDz     N)__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes__r   r   r   r   r      s    $ 4 r   r   N)dataclassesr   moviepy.Clipr   moviepy.Effectr   r   r   r   r   <module>r      s)    !  !   r   