+
    IV-j	  ã                   ó˜   € R t ^ RIt^ RIHtHtHt ^ RIHtHtH	t	H
t
HtHtHtHt . R
Ot ! R R]4      t ! R R]4      t ! R	 R]4      tR# )zº
pygments.lexers.diff
~~~~~~~~~~~~~~~~~~~~

Lexers for diff/patch formats.

:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
N)Ú
RegexLexerÚincludeÚbygroups)ÚTextÚCommentÚOperatorÚKeywordÚNameÚGenericÚLiteralÚ
WhitespaceÚ	DiffLexerÚDarcsPatchLexerÚ
WDiffLexerc                   óp  a € ] tR t^t o RtRtRR.tRR.tRR.tR	t	R
t
RR]! ]]]4      3R]! ]P                  ]4      3R]! ]P                   ]4      3R]! ]P"                  ]4      3R]! ]P$                  ]4      3R]! ]P&                  ]4      3R]! ]P&                  ]4      3R]! ]]4      3./tR tRtV tR# )r   z6
Lexer for unified or context-style diffs or patches.
ÚDiffÚdiffÚudiffz*.diffz*.patchztext/x-diffztext/x-patchz"https://en.wikipedia.org/wiki/DiffÚ Úrootz( )(.*)(\n)z(!.*|---)(\n)z((?:< |-).*)(\n)z((?:> |\+).*)(\n)z*(@.*|\d(?:,\d+)?(?:a|c|d)\d+(?:,\d+)?)(\n)z((?:[Ii]ndex|diff).*)(\n)z	(=.*)(\n)ú(.*)(\n)c                óf   € V R ,          R8X  d   R# V R,          R8X  d   R# V R,          R8X  d   R# R# )	:Né   NzIndex: T:Né   Nzdiff :Né   Nz--- gÍÌÌÌÌÌì?N© )Útexts   &Úe/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/pygments/lexers/diff.pyÚanalyse_textÚDiffLexer.analyse_text0   s4   € Ø��8�yÔ ÙØ��8�wÔÙØ��8�vÔÙñ ó    r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__ÚnameÚaliasesÚ	filenamesÚ	mimetypesÚurlÚversion_addedr   r   r   r
   ÚStrongÚDeletedÚInsertedÚ
SubheadingÚHeadingÚtokensr   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      sï   ø‡ € ñð €DØ�wÐ€GØ˜9Ð%€IØ Ð/€IØ
.€CØ€Mð 	Ø™X j°$¸
ÓCÐDØ™x¨¯©¸
ÓCÐDØ ¡(¨7¯?©?¸JÓ"GÐHØ!¡8¨G×,<Ñ,<¸jÓ#IÐJà=Ù˜×+Ñ+¨ZÓ8ðð *©8°G·O±OÀZÓ+PÐQØ™8 G§O¡O°ZÓ@ÐAØ™( 4¨Ó4Ð5ð
ð€F÷ ð r    c                   ób  € ] tR t^9tRtRtR.tRR.tRtRt	R$t
RR	]3R
]3R]3R]3R]! ]]]]]]]P"                  ]]4	      3R]! ]]]]]]]P"                  ]4      R3R]P&                  3R]P&                  3R]P&                  3RP)                  RP+                  ]
4      4      ]! ]]]]4      3R]P.                  R3R]P0                  R3R]! ]]4      3.RR]3R]R3.RR]R3R]3.R]! R4      R ]P.                  3R!]P.                  3.R]! R4      R ]P0                  3R!]P0                  3./tR"tR## )%r   z¸
DarcsPatchLexer is a lexer for the various versions of the darcs patch
format.  Examples of this format are derived by commands such as
``darcs annotate --patch`` and ``darcs send``.
zDarcs PatchÚdpatchz*.dpatchz*.darcspatchzhttps://darcs.netz0.10r   Ú<Ú>z\{z\}z/(\[)((?:TAG )?)(.*)(\n)(.*)(\*\*)(\d+)(\s?)(\])z+(\[)((?:TAG )?)(.*)(\n)(.*)(\*\*)(\d+)(\s?)ÚcommentzNew patches:zContext:zPatch bundle hash:z(\s*)({})(.*)(\n)Ú|z\+ÚinsertÚ-Údeleter   z	[^\]].*\nz\]ú#popÚspecialTextz\nz
\[_[^_]*_]z\[z[^\n\[]+r   N)ÚhunkÚaddfileÚadddirÚrmfileÚrmdirÚmoveÚreplace)r!   r"   r#   r$   r%   r&   r'   r(   r*   r+   ÚDPATCH_KEYWORDSr   r   r   r	   r   r   ÚDater
   r0   ÚformatÚjoinr   r.   r-   r   r   r1   r2   r   r    r   r   r   9   sÁ  † ñð €DØˆj€GØ˜^Ð,€IØ
€CØ€Mð"€Oð 	Ø�8ÐØ�8ÐØ�HÐØ�HÐØ?Ù�h ¨¨z¸4ÀØ—l‘l J°ó:ð;ð <Ù�h ¨¨z¸4ÀØ—l‘l Jó0Ø1:ð<ð ˜gŸo™oÐ.Ø˜'Ÿ/™/Ð*Ø" G§O¡OÐ4Ø!×(Ñ(¨¯©°/Ó)BÓCÙ˜ W¨d°JÓ?ðAà�G×$Ñ$ hÐ/Ø�7—?‘? HÐ-Ø™( 4¨Ó4Ð5ð%
ð( 	Ø˜7Ð#Ø�H˜fÐ%ð
ð 	Ø�J Ð'Ø˜HÐ%ð
ð 	Ù�MÓ"Ø�G×$Ñ$Ð%Ø˜'×*Ñ*Ð+ð
ð
 	Ù�MÓ"Ø�G—O‘OÐ$Ø˜'Ÿ/™/Ð*ð
ðE'„Fr    c                   ó   € ] tR t^stRtRtRtR.tR.t. t	Rt
]P                  ]P                  ,          tRtRtR	tR
tRtR]]P*                  R3]]P,                  R3]]3R]3.R]]P*                  R3]]P*                  R3]]P*                  R3]]P*                  R3]]P*                  3R]P*                  3.R]]P,                  R3]]P,                  R3]]P,                  R3]]P,                  R3]]P,                  3R]P,                  3./tRtR# )r   z×
A wdiff lexer.

Note that:

* It only works with normal output (without options like ``-l``).
* If the target files contain "[-", "-]", "{+", or "+}",
  especially they are unbalanced, the lexer will get confused.
ÚWDiffz#https://www.gnu.org/software/wdiff/Úwdiffz*.wdiffz2.2z\{\+z\+\}z\[\-z\-\]z[^{}[\]+-]+r   ÚinsertedÚdeletedÚ.z#pushr>   r   N)r!   r"   r#   r$   r%   r&   r*   r'   r(   r)   r+   ÚreÚ	MULTILINEÚDOTALLÚflagsÚins_opÚins_clÚdel_opÚdel_clÚnormalr
   r.   r-   r   r1   r2   r   r    r   r   r   s   sS  † ñð €DØ
/€CØˆi€GØ�€IØ€IØ€Mà�L‰L˜2Ÿ9™9Õ$€Eð €FØ€FØ€FØ€FØ€FàØ�W×%Ñ% zÐ2Ø�W—_‘_ iÐ0Ø�TˆNØ�4ˆLð	
ð 	Ø�W×%Ñ% wÐ/Ø�W×%Ñ% wÐ/Ø�W×%Ñ% vÐ.à�W×%Ñ% vÐ.Ø�W×%Ñ%Ð&Ø�7×#Ñ#Ð$ð
ð 	Ø�W—_‘_ gÐ.Ø�W—_‘_ gÐ.Ø�W—_‘_ fÐ-à�W—_‘_ fÐ-Ø�W—_‘_Ð%Ø�7—?‘?Ð#ð
ð!„Fr    )r   r   r   )r%   rQ   Úpygments.lexerr   r   r   Úpygments.tokenr   r   r   r   r	   r
   r   r   Ú__all__r   r   r   r   r    r   Ú<module>r]      sQ   ðñó 
ç 8Ñ 8÷÷ ó ò 9€ô"�
ô "ôJ7�jô 7ôt6�ö 6r    