§
    Ò¬¸jø  ã                  ó~   — d dl mZ d dlmZ d dlmZ d dlmZmZm	Z	 erd dl
mZ e	 dddddddd	dd
œdd„¦   «         ZdS )é    )Úannotations)Úcontextmanager)ÚPath)ÚTYPE_CHECKINGÚAnyÚcast)ÚIteratorúw+béÿÿÿÿNT)Ú	bufferingÚencodingÚnewlineÚsuffixÚprefixÚdirÚdeleteÚerrorsÚmodeÚstrr   Úintr   ú
str | Noner   r   r   r   ústr | Path | Noner   Úboolr   ÚreturnúIterator[Any]c             #  óœ  K  — ddl m}	 t          d| ||||||d|dœ	¦  «        }
 |	d	i |
¤Ž5 }	 |V — |                     ¦   «          |r(t	          |j        ¦  «                             d¬¦  «         nD# |                     ¦   «          |r)t	          |j        ¦  «                             d¬¦  «         w w xY wddd¦  «         dS # 1 swxY w Y   dS )
zŽ
    Slightly more resilient version of the standard `NamedTemporaryFile`.

    Plays better with Windows when using the 'delete' option.
    r   )ÚNamedTemporaryFiler   F)	r   r   r   r   r   r   r   r   r   T)Ú
missing_okN© )Útempfiler   r   Úcloser   ÚnameÚunlink)r   r   r   r   r   r   r   r   r   r   ÚparamsÚtmps               úl/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/polars/io/spreadsheet/_utils.pyÚPortableTemporaryFiler'      sP  è è € ð$ ,Ð+Ð+Ð+Ð+Ð+åØàØ"Ø ØØØØØØð
	
ð 
	
ñô €Fð 
Ð	Ð	%Ð	%˜fÐ	%Ð	%ð 7¨ð	7ØˆIˆIˆIà�IŠI‰KŒKˆKØð 7Ý�S”X‘”×%Ò%°Ð%Ñ6Ô6Ð6øøð �IŠI‰KŒKˆKØð 7Ý�S”X‘”×%Ò%°Ð%Ñ6Ô6Ð6Ð6ð7øøøð7ð 7ð 7ñ 7ô 7ð 7ð 7ð 7ð 7ð 7ð 7ð 7øøøð 7ð 7ð 7ð 7ð 7ð 7s(   «C­A0±?CÁ0AB1Â1CÃCÃC)r
   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )Ú
__future__r   Ú
contextlibr   Úpathlibr   Útypingr   r   r   Úcollections.abcr	   r'   r   ó    r&   ú<module>r.      sÉ   ðØ "Ð "Ð "Ð "Ð "Ð "à %Ð %Ð %Ð %Ð %Ð %Ø Ð Ð Ð Ð Ð Ø +Ð +Ð +Ð +Ð +Ð +Ð +Ð +Ð +Ð +àð )Ø(Ð(Ð(Ð(Ð(Ð(ð àð(7ð ØØØØØ!ØØð(7ð (7ð (7ð (7ð (7ñ „ð(7ð (7ð (7r-   