Ë ‚l\»œaãó†—dZddlmZddlmZmZmZmZmZm Z m Z m Z m Z m Z ddlmZddlmZdgZie d“e d“ed“ej&d “ed “ej(d “e j*d “ej,d “ej.d “ej0d “ej2d“ej4d “ej6d“ej8d“ej:d“ej<d “ej>d“ede d e j@de jBd e jDde jFde jHde jdedi ¥Z%Gd„de«Z&y)zï pygments.formatters.terminal ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Formatter for terminal output with ANSI sequences. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. é)Ú Formatter) ÚKeywordÚNameÚCommentÚStringÚErrorÚNumberÚOperatorÚGenericÚTokenÚ Whitespace)Ú ansiformat)Úget_choice_optÚTerminalFormatter)Úr)ÚgrayÚ brightblack)ÚcyanÚ brightcyan)ÚblueÚ brightblue)ÚmagentaÚ brightmagenta)ÚgreenÚ brightgreen)Ú_cyan_Ú _brightcyan_)Ú_green_Ú _brightgreen_)rr)ÚredÚ brightred)rr)Úyellowr")r!r!)ú**r#)z *magenta*z*brightmagenta*)Ú _brightred_r$có>—eZdZdZdZddgZgZd„Zd„Zd„Z d„Z d „Z y ) raÛ Format tokens with ANSI color sequences, for output in a text console. Color sequences are terminated at newlines, so that paging the output works correctly. The `get_style_defs()` method doesn't do anything special since there is no support for common styles. Options accepted: `bg` Set to ``"light"`` or ``"dark"`` depending on the terminal's background (default: ``"light"``). `colorscheme` A dictionary mapping token types to (lightbg, darkbg) color names or ``None`` (default: ``None`` = use builtin colorscheme). `linenos` Set to ``True`` to have line numbers on the terminal output as well (default: ``False`` = no line numbers). ÚTerminalÚterminalÚconsolec óÚ—tj|fi|¤Žt|dddgd«dk(|_|j dd«xst |_|j dd«|_d|_y)NÚbgÚlightÚdarkÚ colorschemeÚlinenosFr) rÚ__init__rÚdarkbgÚgetÚTERMINAL_COLORSr-r.Ú_lineno)ÚselfÚoptionss úA/usr/lib/python3.12/site-packages/pygments/formatters/terminal.pyr/zTerminalFormatter.__init__Ssj€Ü×ј4Ñ+ 7Ò+Ü$ W¨dØ&-¨vÐ%6¸óAØDJñKˆŒ à"Ÿ;™; }°dÓ;ÒN¼ˆÔØ—{‘{ 9¨eÓ4ˆŒ ؈� ócó0—tj|||«S©N)rÚformat)r4Ú tokensourceÚoutfiles r6r:zTerminalFormatter.format[s€Ü×Ñ  k°7Ó;Ð;r7có˜—|xjdz c_|jd|jdk7xrdxsd|jfz«y)Néz%s%04d: Ú r)r3Úwrite)r4r<s r6Ú _write_linenozTerminalFormatter._write_lineno^s=€Ø � Š ˜Ñ� Ø� ‰ �j D§L¡L°AÑ$5Ò$>¸$Ò$DÀ"ÀdÇlÁlÐ#SÑSÕTr7có®—|jj|«}|€*|j}|jj|«}|€Œ*||jSr9)r-r1Úparentr0)r4ÚttypeÚcolorss r6Ú _get_colorzTerminalFormatter._get_colorbsV€ð×!Ñ!×%Ñ% eÓ,ˆØˆnØ—L‘LˆEØ×%Ñ%×)Ñ)¨%Ó0ˆFð‰nð�d—k‘kÑ"Ð"r7c óø—|jr|j|«|D]º\}}|j|«}|jd«D]�}|r+|j t ||j d«««n |j |j d««|jd«sŒb|jr|j|«Œ€|j d«Œ’Œ¼|jr|j d«yy)NTr?)r.rArFÚ splitlinesr@rÚrstripÚendswith)r4r;r<rDÚvalueÚcolorÚlines r6Úformat_unencodedz"TerminalFormatter.format_unencodedlsÃ€Ø �<Š<Ø × Ñ ˜wÔ 'ã'‰LˆE�5Ø—O‘O EÓ*ˆEà×(Ñ(¨Ö.�ÙØ—M‘M¤*¨U°D·K±KÀÓ4EÓ"FÕGà—M‘M $§+¡+¨dÓ"3Ô4Ø—=‘= Õ&Ø—|’|Ø×*Ñ*¨7Õ3àŸ ™  dÕ+ñ/ð(ð �<Š<Ø �M‰M˜$Õ ð r7N) Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚnameÚaliasesÚ filenamesr/r:rArFrN©r7r6rr8s7„ñð, €Dؘ9Ð%€GØ€Iòò<òUò#ó r7N)'rRÚpygments.formatterrÚpygments.tokenrrrrrr r r r r Úpygments.consolerÚ pygments.utilrÚ__all__ÚPreprocÚTypeÚWordÚBuiltinÚFunctionÚ NamespaceÚClassÚ ExceptionÚ DecoratorÚVariableÚConstantÚ AttributeÚTagÚDeletedÚInsertedÚHeadingÚ SubheadingÚPromptr2rrVr7r6Úrns¬ðñõ)÷1÷1÷1å'Ý(ð Ð €ð Ø Ð+ððÐ1ðð Ð1ð ð  ‡O�OÐ5ð ð  Ð1ð ð ‡L�LÐ5ðð ‡M�MÐ9ðð ‡L�LÐ5ðð ‡M�MÐ2ðð ‡N�NÐ7ðð ‡J�JÐ4ðð ‡N�NÐ5ðð ‡N�NÐ2ðð ‡M�MÐ0ðð  ‡M�MÐ0ð!ð" ‡N�NÐ5ð#ð$ ‡H�HÐ;ð%ð& Ð2Ø Ð1à ‡O�OÐ9Ø ×ÑÐ1Ø ‡O�OÐ,Ø ×ÑÐ:Ø ‡N�NÐ,Ø ‡M�MÐ9à Ð;ñ;€ôBG ˜ õG r7