+
     BiF                     p   ^ RI 5 ^ RIHtHt ^ RIHtHtHtHt ^ RI	t	^ RI
t
 ^ RIt ^ RIt ^ RItR t]'       d   ]! ]R4      '       d   R tMRt]'       d   ]! ]R4      '       d   R	 tMRt]! ]	R
4      '       d   R tMRt]! ]	R4      '       d   R tMRt]'       d   ]! ]R4      '       d   R tMRtR tRR ltR tR tRR lt ! R R4      t ! R R]4      t ! R R]4      t]	P<                  R8X  d   ]M]t ! R R]4      t R#   ] d    Rt Li ; i  ] d    Rt Li ; i  ] d    Rt ELi ; i)     )*)TextIOWrappertext_encoding)S_ISDIRS_ISREGS_ISLNKS_IMODENc                      \        \        P                  ! V 4      P                  R4      p\
        P                  R8  d   \        VR4      pV#   \         d    Rp L2i ; i)   i   i   l        i   @)maxosfstatst_sizeOSErrorsysmaxsizemin)infd	blocksizes   & "/usr/lib/python3.14/pathlib/_os.py_get_copy_blocksizer      sW    ..8	
 {{W	7+	  	s   *A AAFICLONEc                 R    \         P                  ! V\         P                  V 4       R # N)fcntlioctlr   	source_fd	target_fds   &&r   _ficloner    ,   s     	Iu}}i8    
_fcopyfilec                 P    \         P                  ! W\         P                  4       R # r   )posixr"   _COPYFILE_DATAr   s   &&r   r"   r"   8   s    
 	u/C/CDr!   copy_file_rangec                 v    \        V 4      p^ p \        P                  ! WVVR7      pV^ 8X  d   R# W4,          pK-  )r   )
offset_dstN)r   r   r&   r   r   r   offsetsents   &&   r   _copy_file_ranger,   C   s>     (	2	%%iI179DqyNFr!   sendfilec                 r    \        V 4      p^ p \        P                  ! WW24      pV^ 8X  d   R# W4,          pK+  r   N)r   r   r-   r)   s   &&   r   	_sendfiler0   X   s7    
 (	2	;;yVGDqyNFr!   	CopyFile2c                 4    \         P                  ! W^ 4       R# r/   )_winapir1   )sourcetargets   &&r   	copyfile2r6   i   s     	&!,r!   c                     V P                  4       pVP                  4       p \        '       d    \        W#4       R # \        '       d    \        W#4       R # \        '       d    \        W#4       R # \        '       d    \        W#4       R #  T P$                  pTP&                  pT! R4      ;p'       d   T! T4       K  R #   \         d2   pTP                  \        \
        \        \        39  d   Th R p?LR p?ii ; i  \         d(   pTP                  \        \        39  d   Th R p?LR p?ii ; i  \         d(   pTP                  \        \        39  d   Th R p?LR p?ii ; i  \         d#   pTP                  \        8w  d   Th R p?ELR p?ii ; i  \         d*   pT P                  Tn        TP                  Tn        ThR p?ii ; i  \"         d     ELRi ; i)Ni   )filenor    r   errnoEBADF
EOPNOTSUPPETXTBSYEXDEVr"   EINVALENOTSUPr,   r0   ENOTSOCKnamefilename	filename2	Exceptionreadwrite)source_ftarget_fr   r   errread_sourcewrite_targetbufs   &&      r   copyfileobjrM   r   s   *OO%	OO%	$	x"Y2 z"y4  "$Y: y"i3  --K>>L[)
)#
)S *G  "yy
GU(KK!	 L"  "yy(99!	 :"  "yy%(88!	 9"  "yyH,!	 -"  	#==CL$MMCMI		G  s    G F C  F 
C? F $D4 1F >E)  C<'C72F 7C<<F ?D1
D,'F ,D11F 4E&?E!F !E&&F )F4FF FF G$$GGGGc                 @   R V9  pV'       d   \        V4      p \        WW#WE4      #   \         d     Mi ; i\        T 4      pRP	                  \        R T 4       4      4      pT'       d-    \        TRT R24      pT! YY4T4      #   \         d     M1i ; iTe   \        R4      hTe   \        R4      hTe   \        R4      h \        TRT R24      pT! Y4      p	T'       d   \        YYE4      p	T	#   \         d     Mi ; i\        TP                   R	T: 24      h)
b c              3   6   "   T F  qR 9  g   K  Vx  K  	  R# 5i)btN ).0cs   & r   	<genexpr>magic_open.<locals>.<genexpr>   s     ;Td]!!Ts   
__open___z-binary mode doesn't take an encoding argumentz+binary mode doesn't take an errors argumentz+binary mode doesn't take a newline argumentb__z can't be opened with mode )r   open	TypeErrortypejoinsortedgetattrAttributeError
ValueErrorr   __name__)
pathmode	bufferingencodingerrorsnewlinetextclsattrstreams
   &&&&&&    r   
magic_openrn      sJ    d?D !*D	VEE 
t*C776;T;;<D	D3'$r 23D 7CC  		 
	HII		FGG		FGGsgdV3/0 d&"6VEF   s||n$?xH
IIs0   ' 55-B BBC4 4DDc                     W8X  d   \        \        R 4      pM#WP                  9   d   \        \        R4      pMR# \        V 4      Vn        \        V4      Vn        Vh)z#Source and target are the same pathz&Source path is a parent of target pathN)r   r>   parentsstrrB   rC   )r4   r5   rI   s   && r   ensure_distinct_pathsrr      sL     fCD	>>	!fFGv;CLKCM
Ir!   c                 N    V P                   P                  pVP                   P                  p V! 4       V! 4       8w  d   R #  \        \
        R4      p\        T 4      Tn        \        T4      Tn        Th  \        \        3 d     R # i ; i  \         d    Y8w  d    R #  L`i ; i)Nz#Source and target are the same file)	info_file_idr   rb   ra   r>   rq   rB   rC   )r4   r5   source_file_idtarget_file_idrI   s   &&   r   ensure_different_filesrx      s    ----
	>#33 4 &?
@Cv;CLKCM
I $ 		   s"   ,B A5 5B
	B
B$#B$c                 t   \        V R 4      ;'       d@    \        V R4      ;'       d,    T;'       g"    \        P                  \        P                  9   pV'       d?   V P	                  VR7      pV P                  VR7      p\        P                  ! WV3VR7       \        V R4      ;'       dD    \        \        R4      ;'       d,    T;'       g"    \        P                  \        P                  9   pV'       d7   V P                  VR7      pV F  w  r \        P                  ! WWR7       K   	  \        V R4      ;'       d,    T;'       g"    \        P                  \        P                  9   pV'       d,   V P!                  VR7      p \        P                  ! WVR7       \        V R4      ;'       dD    \        \        R	4      ;'       d,    T;'       g"    \        P$                  \        P                  9   pV'       d.   V P'                  VR7      p \        P$                  ! WVR7       R# R#   \         d8   p
T
P                  \        \        \        \        \        39  d   h  Rp
?
EK_  Rp
?
ii ; i  \"         d     Li ; i  \         d(   pTP                  \(        \        39  d   h  Rp?R# Rp?ii ; i)
_access_time_ns_mod_time_nsfollow_symlinks)nsr}   _xattrssetxattrN_posix_permissions
_bsd_flagschflags)hasattrr   utimesupports_follow_symlinksrz   r{   r   r   r   r9   EPERMr?   ENODATAr>   EACCESchmodr   NotImplementedErrorr   r   r;   )rt   r5   r}   copy_times_nst0t1copy_xattrsxattrsrl   valueecopy_posix_permissionsposix_permissionscopy_bsd_flags	bsd_flagswhys   &&&             r   	copy_infor      s]    	'( 	E 	En%	E 	E		C	CBHH(C(CC  !!/!B?
HoF
 	i  	H 	HJ	H 	H		F	FBKK2+F+FF  o>!KDF%Q " 	*+ 	E 	E		C	CBHH(C(CC   33O3T	HHVP 	l# 	G 	GI	G 	G		E	EBJJ"*E*EE  OOOOD		JJv/J 9  775'7FF"KK L # 	 	*  	yyW 55 6	sB   H/	I4 J /I1:+I,,I14JJJ7J22J7c                      a  ] tR tRt o RtR tR tRRRR/R ltRR/R	 ltRR/R
 lt	RR/R lt
RR/R lt]! ]P                  R4      '       d   RR/R lt]! ]R4      '       d   RR/R ltRtV tR# RtV tR# )_PathInfoBasei:  c                &    \        V4      V n        R # r   )rq   _path)selfrd   s   &&r   __init___PathInfoBase.__init__=  s    Y
r!   c                @    \         P                  R 8X  d   RMRpRV R2# )ntWindowsPath	PosixPath<z.info>)r   rA   )r   	path_types   & r   __repr___PathInfoBase.__repr__@  s"    %'WW_M+	9+V$$r!   r}   Tignore_errorsFc               V   V'       dO    V P                   pV'       g   Ve   V#   \        P                  ! V P                  4      V n         V P                   #  V P                  pV'       g   Ve   V#   \        P                  ! V P                  4      V n        V P                  #   \         d     Li ; i  \
        \        3 d    R T n         T'       g   h  T P                   # i ; i  \         d     Li ; i  \
        \        3 d    R T n        T'       g   h  T P                  # i ; ir   )	_stat_resultra   r   statr   r   rb   _lstat_resultlstat)r   r}   r   results   &$$ r   _stat_PathInfoBase._statD  s.    "** !F$6!M %7$&GGDJJ$7!
 $$$"++ !F$6!M %7%'XXdjj%9"
 %%%5 "  Z( $(!$ %$$$	 "  Z( %)"$ %%%%	sR   B% %B6 C( 4%C9 %B32B36C%C%$C%(C65C69D(D('D(c               L    \        V P                  VR 7      P                  4      # r|   )r	   r   st_moder   r}   s   &$r   r    _PathInfoBase._posix_permissionsf  s    tzz/zBJJKKr!   c               V    V P                  VR 7      pVP                  VP                  3# r   )r   st_devst_inor   r}   sts   &$ r   ru   _PathInfoBase._file_idj  s%    ZZZ8yy"))##r!   c               :    V P                  VR 7      P                  # r   )r   st_atime_nsr   s   &$r   rz   _PathInfoBase._access_time_nso      zz/z:FFFr!   c               :    V P                  VR 7      P                  # r   )r   st_mtime_nsr   s   &$r   r{   _PathInfoBase._mod_time_nss  r   r!   st_flagsc               :    V P                  VR 7      P                  # r   )r   r   r   s   &$r   r   _PathInfoBase._bsd_flagsx  s    ::o:>GGGr!   	listxattrc          
     @    \         P                  ! V P                  VR 7       Uu. uF'  pV\         P                  ! V P                  W!R 7      3NK)  	  up# u upi   \         d8   pTP
                  \        \        \        \        \        39  d   h . u Rp?# Rp?ii ; ir|   N)r   r   r   getxattrr   r9   r   r?   r   r>   r   )r   r}   rl   rI   s   &$  r   r   _PathInfoBase._xattrs}  s     !#TZZ Y[ Y 2;;tzz4YZ Y[ [ [  99UGWff$MM	s.   $A -AA A B&,BBB)r   r   r   N)r   r   r   )rc   
__module____qualname____firstlineno__	__slots__r   r   r   r   ru   rz   r{   r   r   stat_resultr   r   __static_attributes____classdictcell____classdict__s   @r   r   r   :  s     :I% &t  &5  &DLD L$$ $
G GGd G r~~z**	H 	H r;
	T 
	 
	  r!   r   c                   T   a  ] tR tRt o RtRR/R ltRR/R ltRR/R ltR tRt	V t
R	# )
_WindowsPathInfoi  r}   Tc                  V'       g   V P                  4       '       d   R #  V P                  #   \         dS    \        P                  P                  T P                  4      '       d   R T n         R # R;T n        ;T n        T n         R# i ; i)TF)	
is_symlink_existsra   r   rd   existsr   _is_dir_is_filer   s   &$r   r   _WindowsPathInfo.exists  sk    4??#4#4	<< 	ww~~djj))#>CCCt|dm	s   . 9B(B2B
Bc                  V'       g   V P                  4       '       d   R #  V P                  #   \         dL    \        P                  P                  T P                  4      '       d   R;T n        T n         R# R T n         R # i ; iFT)r   r   ra   r   rd   isdirr   r   r   s   &$r   is_dir_WindowsPathInfo.is_dir  sd    4??#4#4	<< 	ww}}TZZ((.22t|$	   . 9B(B9BBc                  V'       g   V P                  4       '       d   R #  V P                  #   \         dL    \        P                  P                  T P                  4      '       d   R;T n        T n         R# R T n         R # i ; ir   )r   r   ra   r   rd   isfiler   r   r   s   &$r   is_file_WindowsPathInfo.is_file  sd    4??#4#4	==  	ww~~djj))/33 %	r   c                     V P                   #   \         d>    \        P                  P	                  T P
                  4      T n         T P                   u # i ; ir   )_is_symlinkra   r   rd   islinkr   r   s   &r   r   _WindowsPathInfo.is_symlink  sG    	$### 	$!ww~~djj9D###	$s    AAA)r   r   r   r   Nrc   r   r   r   r   r   r   r   r   r   r   r   s   @r   r   r     s;      BI   $ $r!   r   c                   T   a  ] tR tRt o RtRR/R ltRR/R ltRR/R ltR tRt	V t
R	# )
_PosixPathInfoi  r}   Tc               8    V P                  VR R7      pVf   R# R # Tr}   r   Fr   r   s   &$ r   r   _PosixPathInfo.exists  s    ZZtZL:r!   c               ^    V P                  VR R7      pVf   R# \        VP                  4      # r   )r   r   r   r   s   &$ r   r   _PosixPathInfo.is_dir  +    ZZtZL:rzz""r!   c               ^    V P                  VR R7      pVf   R# \        VP                  4      # r   )r   r   r   r   s   &$ r   r   _PosixPathInfo.is_file  r   r!   c                ^    V P                  R RR7      pVf   R # \        VP                  4      # )FTr   )r   r   r   )r   r   s   & r   r   _PosixPathInfo.is_symlink  s+    ZZTZB:rzz""r!   rS   Nr   r   s   @r   r   r     s:      I # ## ## #r!   r   r   c                   x   a a ] tR tRt oRtV 3R ltRRRR/R ltRR/R ltRR/R	 ltRR/R
 lt	R t
RtVtV ;t# )DirEntryInfoi  c                F   < \         SV `  VP                  4       Wn        R # r   )superr   rd   _entry)r   entry	__class__s   &&r   r   DirEntryInfo.__init__  s    $r!   r}   Tr   Fc               r     V P                   P                  VR 7      #   \         d    T'       g   h  R# i ; ir   )r   r   r   )r   r}   r   s   &$$r   r   DirEntryInfo._stat  s7    	;;##O#DD 	 	s    666c               >    V'       g   R # V P                  R R7      RJ# )T)r   Nr   r   s   &$r   r   DirEntryInfo.exists  s    zzz-T99r!   c               `     V P                   P                  VR 7      #   \         d     R# i ; ir|   F)r   r   r   r   s   &$r   r   DirEntryInfo.is_dir  s1    	;;%%o%FF 		    --c               `     V P                   P                  VR 7      #   \         d     R# i ; ir  )r   r   r   r   s   &$r   r   DirEntryInfo.is_file  s1    	;;&&&GG 		r
  c                \     V P                   P                  4       #   \         d     R # i ; i)F)r   r   r   r   s   &r   r   DirEntryInfo.is_symlink  s,    	;;))++ 		s    ++)r   )rc   r   r   r   r   r   r   r   r   r   r   r   r   __classcell__)r  r   s   @@r   r   r     sR      It 5 : :   r!   r   )rNNN)T)!r9   ior   r   r   r   r   r   r	   r   r   r   ImportErrorr$   r3   r   r   r    r"   r,   r0   r6   rM   rn   rr   rx   r   r   r   r   rA   PathInfor   rS   r!   r   <module>r     sk  
  + 3 3 	 

& 	WUI&&9 H 	WUL))E J 2 !!"  2z I ww,,- I4n)JX(,8vM M`5$} 5$p#] #D  "ww$N+= +w  E  E  Gs3   D
 D D( 
	DD	D%$D%(	D54D5