+
    ‚°ñj‘  ã            	       óH  € ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIt]P                  R8X  Ed   ^ RIt^ RI Ht ] P                  ! RRR7      t
]P                  ]P                  ] P                  ]P                  ] P                  ]P                  ] P                  ! ]P                  4      ] P                  .]
P                  n        ]P"                  ]
P                  n        ]P                  ] P&                  ] P                  ]P                  .]
P(                  n        ]P"                  ]
P(                  n        Mg]P*                  R8X  dW   ] P,                  ! RRR7      t] P0                  ] P2                  .]P4                  n        ] P&                  ]P4                  n        R
R	 ltR# )é    NÚnt)ÚwintypesÚkernel32T)Úuse_last_errorÚlinux)Ú	use_errnoc                óz  a€ \         P                  ! V 4      p V ^ 8  g   V R8”  d   \        R4      h\        P                  R8X  d�   \        P
                  \        P                  ,          o\        P                  P                  \        P                  ! 4       R\        P                  ! 4       P                   24      p\        VR^ V3R lR7      pM�\        P                   R8X  db   \"        P%                  R	^4      pV^ 8  d6   \&        P(                  ! 4       p\+        V\        P,                  ! V4      4      h\        VR
^ R7      pM\/        R4      h \        P                  R8X  Ed!   \0        P2                  ! VP5                  4       4      p\6        P8                  ! 4       p\:        P=                  VRR^ R^ \&        P>                  ! V4      R4      '       g*   \&        P@                  ! \&        PB                  ! 4       4      h\&        PD                  ! V 4      p\:        PG                  V^\&        P>                  ! V4      \&        PH                  ! V4      4      '       g*   \&        P@                  ! \&        PB                  ! 4       4      h V# VPK                  V 4       V#   \L         d    TPO                  4        h i ; i)a§  Return an unbuffered binary file owned by the caller, initially sized in bytes.

Uses Linux memfd or a Windows temporary-cache/delete-on-close file.
Windows may still write to disk; Linux memfd may be swapped.
Initial sizing is sparse with zero-filled holes; Windows requires a filesystem
supporting sparse files. Keep the file open through all I/O and close
mappings before closing it. No persistent pathname is provided.
l   ÿÿÿÿ z5size must fit a nonnegative signed 64-bit file offsetr   zaimdo-zx+bc                 ó@   <€ \         P                  ! WS,          R 4      # )i€  )ÚosÚopen)ÚpathÚmodeÚflagss   &&€Ú8C:\Ai_Coding\apps\studio\ComfyUI\comfy\anonymous_file.pyÚ<lambda>Ú'create_anonymous_file.<locals>.<lambda>*   s   ø€ ¬b¯gªg°dÀ5½LÈ%Ô.Pó    )Ú	bufferingÚopenerr   s   aimdozw+b)r   z(anonymous files require Linux or WindowsiÄ 	 N)(ÚoperatorÚindexÚ
ValueErrorr   ÚnameÚO_TEMPORARYÚO_SHORT_LIVEDr   ÚjoinÚtempfileÚ
gettempdirÚuuidÚuuid4Úhexr   ÚsysÚplatformÚ_libcÚmemfd_createÚctypesÚ	get_errnoÚOSErrorÚstrerrorÚNotImplementedErrorÚmsvcrtÚget_osfhandleÚfilenor   ÚDWORDÚ	_kernel32ÚDeviceIoControlÚbyrefÚWinErrorÚget_last_errorÚ
c_longlongÚSetFileInformationByHandleÚsizeofÚtruncateÚBaseExceptionÚclose)	Úsizer   ÚfileÚfdÚerrnoÚhandleÚtransferredÚendr   s	   &       @r   Úcreate_anonymous_filerA      s  ø€ ô �>Š>˜$Ó€DØˆa„x�4Ð,Ô,ÜÐPÓQÐQä	‡w�w�$„Ü—‘¤×!1Ñ!1Õ1ˆÜ�w‰w�|‰|œH×/Ò/Ó1°V¼D¿JºJ»L×<LÑ<LÐ;MÐ3NÓOˆÜ�D˜%¨1ÜPôR‰ä	�‰˜Ô	 Ü×Ñ ¨!Ó,ˆØ�Œ6Ü×$Ò$Ó&ˆEÜ˜%¤§¢¨UÓ!3Ó4Ð4Ü�B˜¨Ô+‰ä!Ð"LÓMÐMðÜ�7‰7�d�?Ü×)Ò)¨$¯+©+«-Ó8ˆFÜ"Ÿ.š.Ó*ˆKä×,Ñ,¨V°W¸dÀAÀtÈQÜ-3¯\ª\¸+Ó-FÈ÷Nò Nä—o’o¤f×&;Ò&;Ó&=Ó>Ð>ä×#Ò# DÓ)ˆCÜ×7Ñ7¸ÀÜ7=·|²|ÀCÓ7HÌ&Ï-Ê-ÐX[ÓJ\÷^ò ^ä—o’o¤f×&;Ò&;Ó&=Ó>Ð>ð^ð
 ˆð �M‰M˜$ÔØˆøÜô Ø�
‰
ŒØðús    ÅBJ ÇBJ É+J Ê
J ÊJ:)r   )r&   r   r   r"   r   r   r   r+   r   ÚWinDLLr/   ÚHANDLEr.   Úc_void_pÚPOINTERr0   ÚargtypesÚBOOLÚrestypeÚc_intr5   r#   ÚCDLLr$   Úc_char_pÚc_uintr%   rA   © r   r   Ú<module>rN      s,  ðÛ Û Û 	Û 
Û Û à‡7�7ˆd…?ÛÝà—’˜j¸Ô>€IØ*2¯/©/¸8¿>¹>È6Ï?É?Ð\d×\jÑ\jØ)/¯©¸(¿.¹.È&Ï.Ê.ÐYa×YgÑYgÓJhÐjp×jyÑjyð*{€I×ÑÔ&à(0¯©€I×ÑÔ%Ø5=·_±_ÀfÇlÁlÐTZ×TcÑTcÐem×esÑesÐ4t€I×(Ñ(Ô1Ø3;·=±=€I×(Ñ(Õ0Ø‡\�\�WÔà�KŠK˜¨Ô-€EØ#)§?¡?°F·M±MÐ"B€E×ÑÔØ!'§¡€E×ÑÔö-r   