+
    JV-jÍ  ã                  ób   € ^ RI Ht ^RIHt Rt]'       d   ^ RIHt  ! R R4      tR
R R	 lltR# )é    )Úannotations)ÚImageF)ÚCallablec                  óJ   € ] tR t^tRtR R ltR R ltR R ltR R	 ltR
t	R# )ÚIteratora  
This class implements an iterator object that can be used to loop
over an image sequence.

You can use the ``[]`` operator to access elements by index. This operator
will raise an :py:exc:`IndexError` if you try to access a nonexistent
frame.

:param im: An image object.
c               ó    € V ^8„  d   QhRRRR/# )é   ÚimúImage.ImageÚreturnÚNone© )Úformats   "Úb/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/PIL/ImageSequence.pyÚ__annotate__ÚIterator.__annotate__&   s   € ÷ :ñ :˜;ð :¨4ñ :ó    c                	óˆ   € \        VR 4      '       g   Rp\        V4      hWn        \        V P                  R^ 4      V n        R# )Úseekzim must have seek methodÚ
_min_frameN)ÚhasattrÚAttributeErrorr
   ÚgetattrÚposition)Úselfr
   Úmsgs   && r   Ú__init__ÚIterator.__init__&   s8   € Ü�r˜6×"Ò"Ø,ˆCÜ  Ó%Ð%ØŒÜ §¡¨°qÓ9ˆŽr   c               ó    € V ^8„  d   QhRRRR/# )r	   ÚixÚintr   r   r   )r   s   "r   r   r   -   s   € ÷ )ñ )˜cð ) kñ )r   c                	ó”   €  V P                   P                  V4       V P                   #   \         d   pR p\        T4      ThRp?ii ; i)úend of sequenceN)r
   r   ÚEOFErrorÚ
IndexError)r   r    Úer   s   &&  r   Ú__getitem__ÚIterator.__getitem__-   sA   € ð	)Ø�G‰G�L‰L˜ÔØ—7‘7ˆNøÜô 	)Ø#ˆCÜ˜S“/ qÐ(ûð	)ús   ‚&) ©A´AÁAc               ó   € V ^8„  d   QhRR/# )r	   r   r   r   )r   s   "r   r   r   5   s   € ÷ ñ ˜(ñ r   c                	ó   € V # ©Nr   )r   s   &r   Ú__iter__ÚIterator.__iter__5   s   € Øˆr   c               ó   € V ^8„  d   QhRR/# )r	   r   r   r   )r   s   "r   r   r   8   s   € ÷ ,ñ ,˜+ñ ,r   c                	óÚ   €  V P                   P                  V P                  4       V ;P                  ^,          un        V P                   #   \         d   pRp\	        T4      ThRp?ii ; i)é   r#   N)r
   r   r   r$   ÚStopIteration)r   r&   r   s   &  r   Ú__next__ÚIterator.__next__8   sT   € ð	,Ø�G‰G�L‰L˜Ÿ™Ô'Ø�MŠM˜QÕ�MØ—7‘7ˆNøÜô 	,Ø#ˆCÜ Ó$¨!Ð+ûð	,ús   ‚A	A ÁA*ÁA%Á%A*)r
   r   N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r'   r,   r2   Ú__static_attributes__r   r   r   r   r      s    † ñ	õ:õ)õ÷,ñ ,r   r   Nc               ó$   € V ^8„  d   QhRRRRRR/# )r	   r
   zImage.Image | list[Image.Image]Úfuncz+Callable[[Image.Image], Image.Image] | Noner   zlist[Image.Image]r   )r   s   "r   r   r   B   s&   € ÷ 5ñ 5Ø'ð5à
5ð5ð ñ5r   c                ó@  € \        V \        4      '       g   V .p . pV  FS  pVP                  4       pT\        V4       Uu. uF  qUP	                  4       NK  	  up,          pVP                  V4       KU  	  V'       d   V U u. uF
  q! V 4      NK  	  up # T# u upi u up i )a  
Applies a given function to all frames in an image or a list of images.
The frames are returned as a list of separate images.

:param im: An image, or a list of images.
:param func: The function to apply to all of the image frames.
:returns: A list of images.
)Ú
isinstanceÚlistÚtellr   Úcopyr   )r
   r;   ÚimsÚ
imSequenceÚcurrentÚim_frames   &&    r   Ú
all_framesrE   B   s�   € ô �bœ$×ÒØˆTˆà
€CÛˆ
Ø—/‘/Ó#ˆà´¸Ô0DÓEÑ0D H—‘–Ñ0DÑEÕEˆà�‰˜Ö ñ ÷ (,™sÓ#™s˜ˆD�ŽH™sÑ#Ð4°Ð4ùò Fùò $s   ¿BÂBr+   )	Ú
__future__r   Ú r   ÚTYPE_CHECKINGÚcollections.abcr   r   rE   r   r   r   Ú<module>rJ      s-   ðõ" #å à€ßÝ(÷%,ñ %,÷P5ñ 5r   