+
     h!  c            	       s   ^ RI t ^ RIt^ RIt^ RIt^RIHt Rt] P                  ! R]R7      t]P                  RRRR	R
RR7       ]P                  RRRRRR7       RR lt
R t]P                  ! R]P                  ]P                  ,          4      t]P                  ! R]P                  ]P                  ,          4      tR tR tR# )i    N)htmldiff zR%prog [OPTIONS] FILE1 FILE2
%prog --annotate [OPTIONS] INFO1 FILE1 INFO2 FILE2 ...)Zusagedescriptionz-oz--outputZFILEoutput-zFile to write the difference to)ZmetavardestZdefaulthelpz-az--annotationZ
store_true
annotationzDo an annotation)Zactionr   r   c                 s   V f   \         P                  R,          p \        P                  V 4      w  rVP                  '       d   \        W4      # \        V 4      ^8w  d6   \        R4       \        P                  4        \         P                  ! ^4       V w  r#\        V4      p\        V4      p\        V4      ^,          p\        V4      w  rxp	\        Wh4      p
Wz,           V	,           p
VP                  R8X  dB   V
P                  R4      '       g
   V
R,          p
\         P                  P!                  V
4       R # \#        VP                  R4      ;_uu_ 4       pVP!                  V
4       R R R 4       R #   + '       g   i     R # ; i)N:i   NNzError: you must give two filesr   Z
Zwb)sysZargvparserZ
parse_argsr   annotateZlenprintZ
print_helpexit	read_file
split_bodyr    r   ZendswithZstdoutZwriteopen)argsoptionsZfile1Zfile2Zinput1Zinput2Zbody1preZbody2postZresultfs   &           =/usr/lib64/python3.14/site-packages/lxml/html/_diffcommand.pymainr      s   |xx|%%d+MG&&
4yA~./LEuFuFvq!E!&)Ce#F\D F~~t$$dNF

 '..$''1GGFO ('''s   E55F	c                 sD   V R 8X  d!   \         P                  P                  4       pV# \        P                  P                  V 4      '       g   \        RV ,          4      h\        V R4      ;_uu_ 4       pVP                  4       pRRR4       V#   + '       g   i     X# ; i)r   zInput file %s does not existZrbN)r   ZstdinZreadosZpathZexistsZOSErrorr   )ZfilenameZcr   s   &  r   r   r   7   s~    3IINN H WW^^H%%*X57 	7 (D!!QA "H "!Hs   3BB	z	<body.*?>z
</body.*?>c                 s   R ;r\         P                  V 4      pV'       d&   V RVP                  4        pWP                  4       R p \        P                  V 4      pV'       d&   WP	                  4       R pV RVP	                  4        p WV3# )r   N)body_start_reZsearchZendbody_end_reZstart)Zhtmlr   r   Zmatchs   &   r   r   r   G   s}    OC  &E<EIIK IIKL!t$EKKMN#NU[[]#d?    c                 sH    \        R 4       \        P                  ! ^4       R# )zNot yet implementedN)r   r   r   )r   r   s   &&r   r
   r
   S   s    	
 HHQKr   )N)Zoptparser   Zrer   Zdiffr    r   ZOptionParserr	   Z
add_optionr   r   ZcompileZIZSr   r   r   r
   ) r   r   <module>r      s     
 	 	  
		=
   *		*     .			  2	 

"$$rtt)jj2449
r   