§
    �ŸjÕ  ã                   ó‚  — d Z ddlZddlZddlZddlZddlZddlZddlZddlZddlm	Z	 ddl
mZmZmZmZ ddlZddlmZ ddlmZ ddlmc mZ ddlmZ ddlmZ dd	lmZ dd
lmZ ddlm Z  ddlm!Z" ddlm#Z# ddl$m%Z% dZ&dZ'dZ( ej)        ¦   «         de*de+fd„¦   «         Z,dej-        de+fd„Z.de/fd„Z0d„ Z1ddœd„Z2 G d„ dej3        ¦  «        Z4 G d„ de4¦  «        Z5 G d „ d!¦  «        Z6 G d"„ d#e4¦  «        Z7 G d$„ d%e7e5¦  «        Z8 G d&„ d'e8¦  «        Z9 G d(„ d)e8¦  «        Z: G d*„ d+e5¦  «        Z;d,„ Z<e<fd-„Z=e<fd.„Z>dS )/a]  
Verbose and colourful traceback formatting.

**ColorTB**

I've always found it a bit hard to visually parse tracebacks in Python.  The
ColorTB class is a solution to that problem.  It colors the different parts of a
traceback in a manner similar to what you would expect from a syntax-highlighting
text editor.

Installation instructions for ColorTB::

    import sys,ultratb
    sys.excepthook = ultratb.ColorTB()

**VerboseTB**

I've also included a port of Ka-Ping Yee's "cgitb.py" that produces all kinds
of useful info when a traceback occurs.  Ping originally had it spit out HTML
and intended it for CGI programmers, but why should they have all the fun?  I
altered it to spit out colored text to the terminal.  It's a bit overwhelming,
but kind of neat, and maybe useful for long-running programs that you believe
are bug-free.  If a crash *does* occur in that type of program you want details.
Give it a shot--you'll love it or you'll hate it.

.. note::

  The Verbose mode prints the variables currently visible where the exception
  happened (shortening their strings if too long). This can potentially be
  very slow, if you happen to have a huge data structure whose string
  representation is complex to compute. Your computer may appear to freeze for
  a while with cpu usage at 100%. If this occurs, you can cancel the traceback
  with Ctrl-C (maybe hitting it more than once).

  If you encounter this kind of situation often, you may want to use the
  Verbose_novars mode instead of the regular Verbose, which avoids formatting
  variables (but otherwise includes the information and context given by
  Verbose).

.. note::

  The verbose mode print all variables in the stack, which means it can
  potentially leak sensitive information like access keys, or unencrypted
  password.

Installation instructions for VerboseTB::

    import sys,ultratb
    sys.excepthook = ultratb.VerboseTB()

Note:  Much of the code in this module was lifted verbatim from the standard
library module 'traceback.py' and Ka-Ping Yee's 'cgitb.py'.

Color schemes
-------------

The colors are defined in the class TBTools through the use of the
ColorSchemeTable class. Currently the following exist:

  - NoColor: allows all of this module to be used in any terminal (the color
    escapes are just dummy blank strings).

  - Linux: is meant to look good in a terminal like the Linux console (black
    or very dark background).

  - LightBG: similar to Linux but swaps dark/light colors to be more readable
    in light background terminals.

  - Neutral: a neutral color scheme that should be readable on both light and
    dark background

You can implement other color schemes easily, the syntax is fairly
self-explanatory. Please send back new schemes you develop to the author for
possible inclusion in future releases.

Inheritance diagram:

.. inheritance-diagram:: IPython.core.ultratb
   :parts: 3
é    N)ÚTracebackType)ÚAnyÚListÚOptionalÚTuple)ÚTerminal256Formatter)Úget_style_by_name)Úget_ipython)Údebugger)ÚDisplayTrap)Úexception_colors)Ú
PyColorize)Úpath)Ú	py3compat)Úget_terminal_sizeé   ÚNoColori'  ÚfilenameÚreturnc                 óÜ   — |                       d¦  «        sdS 	 t          | d¦  «        5 }t          d„ |D ¦   «         ¦  «        }ddd¦  «         n# 1 swxY w Y   n# t          $ r Y dS w xY w|S )z‚
    Given a filename, returns the number of lines in the file
    if it ends with the extension ".py". Otherwise, returns 0.
    z.pyr   Úrc              3   ó   K  — | ]}d V — ŒdS )é   N© )Ú.0Úlines     úa/var/www/finuniver-perm.ru/html/student/venv/lib/python3.11/site-packages/IPython/core/ultratb.pyú	<genexpr>z)count_lines_in_py_file.<locals>.<genexpr>•   s"   è è € Ð+Ð+˜d˜Ð+Ð+Ð+Ð+Ð+Ð+ó    N)ÚendswithÚopenÚsumÚUnicodeError)r   ÚfileÚss      r   Úcount_lines_in_py_filer&   Š   sÊ   € ð ×Ò˜UÑ#Ô#ð Øˆqð	Ý�h Ñ$Ô$ð ,¨ÝÐ+Ð+ dÐ+Ñ+Ô+Ñ+Ô+�ð,ð ,ð ,ñ ,ô ,ð ,ð ,ð ,ð ,ð ,ð ,øøøð ,ð ,ð ,ð ,øøåð 	ð 	ð 	Ø�1�1ð	øøøà€Hs4   ™A ©AÁA ÁAÁA ÁAÁA Á
A)Á(A)Úframec                 ó¬   — | j         j        }|€8t          d¦  «         t          j        | ¦  «        \  }}|t          |¦  «        z   S t          |¦  «        S )a  
    Given a frame object, returns the total number of lines in the file
    containing the frame's code object, or the number of lines in the
    frame's source code if the file is not available.

    Parameters
    ----------
    frame : FrameType
        The frame object whose line number is to be determined.

    Returns
    -------
    int
        The total number of lines in the file containing the frame's
        code object, or the number of lines in the frame's source code
        if the file is not available.
    NzNo file....)Úf_codeÚco_filenameÚprintÚinspectÚgetsourcelinesÚlenr&   )r'   r   ÚlinesÚfirsts       r   Úget_line_number_of_framer1       sU   € ð$ Œ|Ô'€HØÐÝˆmÑÔÐÝÔ-¨eÑ4Ô4‰ˆˆuØ•s˜5‘z”zÑ!Ð!Ý! (Ñ+Ô+Ð+r   Ú
has_colorsc                 óH  — t           dz
  }g }| D �]}|t          j        u r&|                     |j        ›d|j        ›d�¦  «         Œ7|                     |¬¦  «                             d¦  «        dz   }|j        }|j	        rL|t          t          |¦  «        ¦  «        z
  }	t          j        |	¦  «        ›t          |¦  «        ›�}
|j        }nd||fz  }
|j        }|›|
›|j        ›d|›�}|                     |¦  «         |r|j	        r|                     |dz   ¦  «         �Œ|S )a  
    Format tracebacks lines with pointing arrow, leading numbers...

    Parameters
    ----------
    lines : list[Line]
    Colors
        ColorScheme used.
    lvals : str
        Values of local variables, already colored, to inject just after the error line.
    r   z   (...)ú
)Ú	pygmentedú%*sú )ÚINDENT_SIZEÚ
stack_dataÚLINE_GAPÚappendÚlinenoEmÚNormalÚrenderÚrstripÚlinenoÚ
is_currentr.   Ústrr   Ú
make_arrow)r/   ÚColorsr2   ÚlvalsÚnumbers_widthÚresÚ
stack_liner   r@   ÚpadÚnumÚstart_colors               r   Ú_format_traceback_linesrL   º   sB  € õ   !‘O€MØ
€Càð %ñ %ˆ
Ø�Ô,Ð,Ð,Ø�JŠJ¨6¬?¨?¨?¸F¼M¸M¸MÐJÑKÔKÐKØà× Ò ¨:Ð Ñ6Ô6×=Ò=¸dÑCÔCÀdÑJˆØÔ"ˆØÔ ð 	(à¥#¥c¨&¡k¤kÑ"2Ô"2Ñ2ˆCÝ$Ô/°Ñ4Ô4Ð4µc¸&±k´k°kÐBˆCØ œ/ˆKˆKà˜=¨&Ð1Ñ1ˆCØ œ-ˆKà)˜k¨3¨3°´°°¸t¸tÐDˆà�
Š
�4ÑÔÐØð 	%�ZÔ*ð 	%Ø�JŠJ�u˜t‘|Ñ$Ô$Ð$ùØ€Jr   c                 ó  — t           dz
  }g }t          || |z
  ¦  «        D ]ä\  }}	t          j        |	¦  «        }	 ||	d¦  «        \  }
}|s|
}	|| k    ra|t	          t          |¦  «        ¦  «        z
  }t          j        |¦  «        ›t          | ¦  «        ›�}|j        ›|›|j	        ›d|	›|j
        ›�}	nd||fz  }|j        ›|›|j
        ›d|	›�}	|                     |	¦  «         |r|| k    r|                     |dz   ¦  «         Œå|S )aô  
    Format tracebacks lines with pointing arrow, leading numbers...

    Parameters
    ==========

    lnum: int
        number of the target line of code.
    index: int
        which line in the list should be highlighted.
    lines: list[string]
    Colors:
        ColorScheme used.
    lvals: bytes
        Values of local variables, already colored, to inject just after the error line.
    _line_format: f (str) -> (str, bool)
        return (colorized version of str, failure to do so)
    r   rB   r7   r6   r4   )r8   Ú	enumerater   Úcast_unicoder.   rB   r   rC   r<   r   r=   r@   r;   )ÚlnumÚindexr/   rD   rE   Ú_line_formatrF   rG   Úir   Únew_lineÚerrrI   rJ   s                 r   Ú_simple_format_traceback_linesrV   à   s9  € õ&   !‘O€MØ
€CÝ˜U D¨5¡LÑ1Ô1ð %ð %‰ˆˆ4åÔ% dÑ+Ô+ˆà$˜ T¨5Ñ1Ô1‰ˆ�#Øð 	ØˆDà�Š9ˆ9à¥#¥c¨!¡f¤f¡+¤+Ñ-ˆCÝ$Ô/°Ñ4Ô4Ð4µc¸$±i´i°iÐ@ˆCà”�Ø�Ø”��Ø�Ø”�ðˆDˆDð ˜=¨!Ð,Ñ,ˆCØ"(¤- -°°°f´m°m°mÀTÀTÐJˆDà�
Š
�4ÑÔÐØð 	%�Q˜$’Y�YØ�JŠJ�u˜t‘|Ñ$Ô$Ð$øØ€Jr   ©r@   c                óH  — t          ¦   «         }|�5|j                             | ¦  «        x}�|\  }}|€	d|› d|› �}nOd|› d|› �}nFd}t          j        t          j        | t          j        ¦  «        ¦  «        }|€	d|› d|› �}nd|› d|› �}|                     |||¬¦  «        S )a  
    Format filename lines with custom formatting from caching compiler or `File *.py` by default

    Parameters
    ----------
    file : str
    ColorFilename
        ColorScheme's filename coloring to be used.
    ColorNormal
        ColorScheme's normal coloring to be used.
    Nz{label} z{name}z{name}, line {lineno}ÚFilez{name}:{lineno})ÚlabelÚnamer@   )	r
   ÚcompileÚformat_code_nameÚ	util_pathÚcompress_userr   rO   Úfs_encodingÚformat)	r$   ÚColorFilenameÚColorNormalr@   ÚipinstÚdatarZ   r[   Útpl_links	            r   Ú_format_filenamerg     sê   € õ ‰]Œ]€FàÐØ”^×4Ò4°TÑ:Ô:Ð:ˆTÐGà‰ˆˆtØˆ>ØH MÐHÐH¸;ÐHÐHˆHˆHð S˜]ÐRÐRÀ[ÐRÐRð ˆHð ˆÝÔ&ÝÔ" 4­Ô)>Ñ?Ô?ñ
ô 
ˆð ˆ>ØH MÐHÐH¸;ÐHÐHˆHˆHð T MÐSÐSÀkÐSÐSˆHà�?Š? ¨T¸&ˆ?ÑAÔAÐAr   c                   óD  ‡ — e Zd ZdZdZ	 	 	 	 	 dddœˆ fd„Zd„ Zd	„ Z eee¦  «        Z	e
d
„ ¦   «         Zdeeeeef                  fd„Zdee         fd„Zedefd„¦   «         Zd„ Zd„ Zd„ Zddee         fd„Z	 	 	 ddedee         dee         dee         def
d„Zˆ xZS )ÚTBToolsz2Basic tools used by all traceback printer classes.r   r   FN)Údebugger_clsc                óD  •— t          t          | ¦  «                             ||¬¦  «         || _        || _        t          ¦   «         | _        |                      |¦  «         || _        |pt          j
        | _        |r|                      ¦   «         | _        d S d | _        d S ©N)ÚparentÚconfig)Úsuperri   Ú__init__Úcall_pdbÚ_ostreamr   Úcolor_scheme_tableÚ
set_colorsÚ
old_schemer   ÚPdbrj   Úpdb)ÚselfÚcolor_schemerq   Úostreamrm   rn   rj   Ú	__class__s          €r   rp   zTBTools.__init__?  sš   ø€ õ 	�g�tÑÔ×%Ò%¨V¸FÐ%ÑCÔCÐCØ ˆŒð  ˆŒõ #3Ñ"4Ô"4ˆÔà�Š˜Ñ%Ô%Ð%Ø&ˆŒØ(Ð8­H¬LˆÔàð 	Ø×(Ò(Ñ*Ô*ˆDŒHˆHˆHàˆDŒHˆHˆHr   c                 ó6   — | j         €t          j        n| j         S )as  Output stream that exceptions are written to.

        Valid values are:

        - None: the default, which means that IPython will dynamically resolve
          to sys.stdout.  This ensures compatibility with most tools, including
          Windows (where plain stdout doesn't recognize ANSI escapes).

        - Any object with 'write' and 'flush' attributes.
        )rr   ÚsysÚstdout©rx   s    r   Ú_get_ostreamzTBTools._get_ostreamc  s   € ð "œ]Ð2�sŒzˆz¸¼ÐEr   c                 ó\   — |�"t          |d¦  «        rt          |d¦  «        sJ ‚|| _        d S )NÚwriteÚflush)Úhasattrrr   )rx   Úvals     r   Ú_set_ostreamzTBTools._set_ostreamp  s2   € Øˆ{�w s¨GÑ4Ô4ˆ{½ÀÀgÑ9NÔ9Nˆ{ˆ{ˆ{ØˆŒˆˆr   c                 ót   — t          | dd ¦  «        }|r|S t          | dd¦  «        rd S t          | dd ¦  «        S )NÚ	__cause__Ú__suppress_context__FÚ__context__©Úgetattr)Úexception_valueÚcauses     r   Ú_get_chained_exceptionzTBTools._get_chained_exceptionv  sL   € å˜¨°dÑ;Ô;ˆØð 	ØˆLÝ�?Ð$:¸EÑBÔBð 	Ø�4Ý�¨°tÑ<Ô<Ð<r   r   c                 óR   — |                       |¦  «        }|r|j        ||j        fS d S ©N)r�   r{   Ú__traceback__)rx   ÚevalueÚchained_evalues      r   Úget_parts_of_chained_exceptionz&TBTools.get_parts_of_chained_exception  s8   € ð ×4Ò4°VÑ<Ô<ˆàð 	ZØ!Ô+¨^¸^Ô=YÐYÐYØˆtr   c                 ó$   — d}d}|r|gg}n|gg}|S )NzF
The above exception was the direct cause of the following exception:
zE
During handling of the above exception, another exception occurred:
r   )rx   rŽ   Údirect_causeÚexception_during_handlingÚmessages        r   Ú!prepare_chained_exception_messagez)TBTools.prepare_chained_exception_messageˆ  s1   € ØaˆØ$mÐ!àð 	4Ø$�~Ð&ˆGˆGà1Ð2Ð3ˆGØˆr   c                 óF   — | j         j                             ¦   «         dk    S )NÚnocolor)rs   Úactive_scheme_nameÚlowerr   s    r   r2   zTBTools.has_colors’  s   € àÔ&Ô9×?Ò?ÑAÔAÀYÒNÐNr   c                 ó¦   —  | j         j        |i |¤Ž | j         j        | _        t	          | d¦  «        r| j        � | j        j        |i |¤Ž dS dS dS )z;Shorthand access to the color table scheme selector method.rw   N)rs   Úset_active_schemeÚactive_colorsrD   r„   rw   rt   )rx   ÚargsÚkws      r   rt   zTBTools.set_colors–  su   € ð 	2ˆÔÔ1°4Ð>¸2Ð>Ð>Ð>àÔ-Ô;ˆŒå�4˜ÑÔð 	- D¤HÐ$8ØˆDŒHÔ Ð,¨Ð,Ð,Ð,Ð,Ð,ð	-ð 	-Ð$8Ð$8r   c                 ó  — | j         j        dk    r2| j                              | j        ¦  «         | j         j        | _        dS | j         j        | _        | j                              d¦  «         | j         j        | _        dS )z=Toggle between the currently active color scheme and NoColor.r   N)rs   r�   r    ru   r¡   rD   r   s    r   Úcolor_togglezTBTools.color_toggle¡  st   € ð Ô"Ô5¸ÒBÐBØÔ#×5Ò5°d´oÑFÔFÐFØÔ1Ô?ˆDŒKˆKˆKà"Ô5ÔHˆDŒOØÔ#×5Ò5°iÑ@Ô@Ð@ØÔ1Ô?ˆDŒKˆKˆKr   c                 ó,   — d                      |¦  «        S )ú4Convert a structured traceback (a list) to a string.r4   ©Újoin©rx   Ústbs     r   Ústb2textzTBTools.stb2text¬  s   € à�yŠy˜‰~Œ~Ðr   é   Ú	tb_offsetc                 ó^   — |                       |||||¦  «        }|                      |¦  «        S )zgReturn formatted traceback.

        Subclasses may override this if they add extra arguments.
        )Ústructured_tracebackr¬   )rx   ÚetypeÚvalueÚtbr®   ÚcontextÚtb_lists          r   ÚtextzTBTools.text°  s8   € ð
 ×+Ò+¨E°5¸"Ø,5°wñ@ô @ˆà�}Š}˜WÑ%Ô%Ð%r   r±   r“   ÚetbÚnumber_of_lines_of_contextc                 ó   — t          ¦   «         ‚)zWReturn a list of traceback frames.

        Must be implemented by each class.
        )ÚNotImplementedError©rx   r±   r“   r·   r®   r¸   s         r   r°   zTBTools.structured_traceback¹  s   € õ "Ñ#Ô#Ð#r   )r   FNNN©Nr­   ©NNr­   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r®   rp   r€   r†   Úpropertyrz   Ústaticmethodr�   r   r   ÚtypeÚBaseExceptionr   r•   r   r   rš   Úboolr2   rt   r¥   r¬   Úintr¶   r°   Ú__classcell__©r{   s   @r   ri   ri   9  sæ  ø€ € € € € Ø<Ð<ð €Ið ØØØØð"ð ð"ð "ð "ð "ð "ð "ð "ðHFð Fð Fðð ð ð ˆh�| \Ñ2Ô2€Gàð=ð =ñ „\ð=ðà	�%˜˜m¨]Ð:Ô;Ô	<ðð ð ð ð¸$¸s¼)ð ð ð ð ð ðO˜Dð Oð Oð Oñ „XðOð	-ð 	-ð 	-ð	@ð 	@ð 	@ðð ð ð&ð &°¸´ð &ð &ð &ð &ð (,Ø#'Ø*+ð$ð $àð$ð ˜Ô'ð$ð �mÔ$ð	$ð
 ˜C”=ð$ð %(ð$ð $ð $ð $ð $ð $ð $ð $r   ri   c            
       ó€   — e Zd ZdZd„ Zd„ Z	 	 	 ddedee         dee	         d	ee
         fd
„Zd„ Zd„ Zd„ Zd„ Zd„ ZdS )ÚListTBaj  Print traceback information from a traceback list, with optional color.

    Calling requires 3 arguments: (etype, evalue, elist)
    as would be obtained by::

      etype, evalue, tb = sys.exc_info()
      if tb:
        elist = traceback.extract_tb(tb)
      else:
        elist = None

    It can thus be used by programs which need to process the traceback before
    printing (such as console replacements based on the code module from the
    standard library).

    Because they are meant to be called without a full traceback (only a
    list), instances of this class can't call the interactive pdb debugger.c                 óÊ   — | j                              ¦   «          | j                              |                      |||¦  «        ¦  «         | j                              d¦  «         d S ©Nr4   )rz   rƒ   r‚   r¶   ©rx   r±   r²   Úelists       r   Ú__call__zListTB.__call__Ý  sX   € ØŒ×ÒÑÔÐØŒ×Ò˜4Ÿ9š9 U¨E°5Ñ9Ô9Ñ:Ô:Ð:ØŒ×Ò˜4Ñ Ô Ð Ð Ð r   c                 ó2   — |rt          j        |¦  «        S d S r‘   )Ú	tracebackÚ
extract_tb)rx   r³   s     r   Ú_extract_tbzListTB._extract_tbâ  s    € Øð 	ÝÔ'¨Ñ+Ô+Ð+à�4r   Nr­   r±   r“   r·   r®   c                 ó¸  — t          |t          ¦  «        r|\  }}nt          ¦   «         }t          |t          ¦  «        r|}n|�|                      |¦  «        }ng }|€| j        n|}t          |t          ¦  «        sJ ‚| j        }g }	|rp|rt          |¦  «        |k    r
||d…         }|	 	                    d|j
        ›d|j        ›d�dz   ¦  «         |	                     |                      |¦  «        ¦  «         d                     |                      ||¦  «        ¦  «        }
|	 	                    |
¦  «         |                      |¦  «        }|rŒt#          |d         ¦  «        |vru|� |                      |j        ¦  «        d         nd}|\  }}}|                     t#          |d         ¦  «        ¦  «         d}|                      ||||f||¦  «        |z   |	z   }	|	S )	aå  Return a color formatted string with the traceback info.

        Parameters
        ----------
        etype : exception type
            Type of the exception raised.
        evalue : object
            Data stored in the exception
        etb : list | TracebackType | None
            If list: List of frames, see class docstring for details.
            If Traceback: Traceback of the exception.
        tb_offset : int, optional
            Number of frames in the traceback to skip.  If not given, the
            instance evalue is used (set in constructor).
        context : int, optional
            Number of lines of context information to print.

        Returns
        -------
        String with formatted exception.
        Nz
Traceback z(most recent call last)ú:r4   Ú r   r   )Ú
isinstanceÚtupleÚsetÚlistrÔ   r®   rÇ   rD   r.   r;   ÚnormalEmr=   ÚextendÚ_format_listr©   Ú_format_exception_onlyr•   Úidrš   rˆ   Úaddr°   )rx   r±   r“   r·   r®   r´   Úchained_exc_idsrÏ   rD   Úout_listr/   Ú	exceptionÚchained_exception_messageÚchained_exceptions_tb_offsets                 r   r°   zListTB.structured_tracebackè  s*  € õ> �c�5Ñ!Ô!ð 	$Ø#&Ñ ˆC��å!™eœeˆOå�c�4Ñ Ô ð 	ØˆEˆEØˆ_Ø×$Ò$ SÑ)Ô)ˆEˆEàˆEØ&/Ð&7�D”N�N¸Yˆ	Ý˜)¥SÑ)Ô)Ð)Ð)Ð)Ø”ˆØˆØð 	6àð *�S ™ZœZ¨)Ò3Ð3Ø˜i˜j˜jÔ)�à�OŠOˆOØ#œ_˜_˜_¨f¬m¨m¨mð=Ø?CñDñ Eô Eð Eà�OŠO˜D×-Ò-¨eÑ4Ô4Ñ5Ô5Ð5à—’˜×3Ò3°E¸6ÑBÔBÑCÔCˆØ�Š˜ÑÔÐà×7Ò7¸Ñ?Ô?ˆ	àð 	�"˜Y qœ\Ñ*Ô*°/ÐAÐAð Ð%ð ×6Ò6°vÔ7GÑHÔHÈÔKÐKàð &ð
 "+ÑˆE�6˜3à×Ò¥ 9¨Q¤<Ñ 0Ô 0Ñ1Ô1Ð1Ø+,Ð(à×)Ò)ØØØ˜/Ð*Ø0Øñô ð ,ñ,ð ñð ð ˆr   c                 ó²  — | j         }g }t          |¦  «        D ]½\  }\  }}}}|t          |¦  «        dz
  k    r|j        |j        |j        |j        fn|j        |j        |j	        df\  }	}
}}t          |||	|¬¦  «        }|	› d|› �}|dk    r|d|
› |› |	› d�z  }n|dz  }|r||› d|                     ¦   «         › |	› d�z  }|                     |¦  «         Œ¾|S )	a   Format a list of traceback entry tuples for printing.

        Given a list of tuples as returned by extract_tb() or
        extract_stack(), return a list of strings ready for printing.
        Each string in the resulting list corresponds to the item with the
        same index in the argument list.  Each string ends in a newline;
        the strings may contain internal newlines as well, for those items
        whose source text line is not None.

        Lifted almost verbatim from traceback.py
        r   r×   rW   ú  ú<module>z in r4   ú    )rD   rN   r.   rÜ   ÚnameEmÚ
filenameEmr   r=   r[   r   rg   Ústripr;   )rx   Úextracted_listrD   rÛ   Úindr   r@   r[   r   Ú	normalColÚnameColÚfileColÚlineColÚfnsÚitems                  r   rÞ   zListTB._format_list;  s4  € ð ”ˆØˆÝ3<¸^Ñ3LÔ3Lð 	ð 	Ñ/ˆCÑ/�(˜F D¨$ð �#˜nÑ-Ô-°Ñ1Ò1Ð1ð ” &¤-°Ô1BÀFÄKÐPÐPà”m V¤[°&´/À2ÐFñ	 1ˆI�w ¨õ # 8¨W°iÈÐOÑOÔOˆCØÐ(Ð( 3Ð(Ð(ˆDà�zÒ!Ð!ØÐ;˜wÐ;¨Ð;¨iÐ;Ð;Ð;Ñ;��à˜‘�Øð DØ˜7ÐCÐC¨¯
ª
©¬ÐC°iÐCÐCÐCÑC�Ø�KŠK˜ÑÔÐÐàˆr   c                 óŠ  — d}| j         }g }t          j        |j        |j        z   |j        z   ¦  «        }|€|                     |dz   ¦  «         �n:t          |t          ¦  «        �r±d}|j	        sd|_	        |j
        r'|j
        }t          j        |j	        |j
        ¦  «        }nd}d}|                     |j        ›dt          |j	        |j        |j        |dk    rdn|¬	¦  «        ›|j        ›d�¦  «         |dk    rt          j        |j        d
¦  «        }|�þd}	|	t#          |¦  «        k     rL||	                              ¦   «         r2|	dz  }	|	t#          |¦  «        k     r||	                              ¦   «         °2|                     |j        ›d|                     ¦   «         ›|j        ›d�¦  «         |j        �]d}
||	|j        dz
  …         D ]!}|                     ¦   «         r|
|z  }
Œ|
dz  }
Œ"|                     |j        ›|
›d|j        ›d�¦  «         	 |j        }
n%# t0          $ r |                      |¦  «        }
Y nw xY w|
r+|                     |›|j        ›d|j        ›d|
›d�¦  «         n|                     d|z  ¦  «         |r6t5          ¦   «         }|�&|j                             |j	        |j
        d¦  «         |S )aT  Format the exception part of a traceback.

        The arguments are the exception type and value such as given by
        sys.exc_info()[:2]. The return value is a list of strings, each ending
        in a newline.  Normally, the list contains a single string; however,
        for SyntaxError exceptions, it contains several lines that (when
        printed) display detailed information about where the syntax error
        occurred.  The message indicating which exception occurred is the
        always last string in the list.

        Also lifted nearly verbatim from traceback.py
        FNr4   Tz<string>Úunknownr×   rè   rW   zutf-8r   r   rê   r7   ú^rÖ   z%s
)rD   r   rO   ÚexcNamer¾   r=   r;   Ú
issubclassÚSyntaxErrorr   r@   Ú	linecacheÚgetlinerÜ   rg   rì   r¶   r.   Úisspacer   rí   ÚoffsetÚcaretÚmsgÚ	ExceptionÚ	_some_strr
   ÚhooksÚsynchronize_with_editor)rx   r±   r²   Úhave_filedatarD   rÛ   Ústyper@   ÚtextlinerS   r%   Úcrd   s                r   rß   zListTB._format_exception_only_  s;  € ð ˆØ”ˆØˆÝÔ& v¤~¸¼Ñ'FÈÌÑ'VÑWÔWˆØˆ=à�KŠK˜ ™Ñ%Ô%Ð%Ñ%å˜%¥Ñ-Ô-ñ (CØ $�Ø”~ÐB¸
 u¤~Ø”<ð "Ø"œ\�FÝ(Ô0°´ÀÄÑNÔN�H�Hà&�FØ!�HØ—’ð œ˜˜Ý(Ø!œNØ"Ô-Ø"œOØ,2°iÒ,?Ð,? D DÀVð	ñ ô ð ð œ˜˜ð
ñô ð ð ˜r’>�>Ý(Ô5°e´jÀ'ÑJÔJ�HàÐ'Ø�AØ�c (™mœmÒ+Ð+°¸´×0CÒ0CÑ0EÔ0EÐ+Ø˜Q™˜ð �c (™mœmÒ+Ð+°¸´×0CÒ0CÑ0EÔ0EÐ+à—K’K°&´+°+°+Ø2:·.².Ñ2BÔ2BÐ2BØ28´-°-°-ð!Añ Bô Bð Bð ”|Ð/Ø"˜Ø!)¨!¨E¬L¸1Ñ,<Ð*<Ô!=ð )ð )˜AØ Ÿyšy™{œ{ð )Ø ! Q¡  à ! S¡  ØŸš°6´<°<ÀÀÀØ39´=°=°=ð%Bñ Cô Cð Cð*Ø”I��øÝð *ð *ð *Ø—N’N 5Ñ)Ô)���ð*øøøàð ,Ø—’¨e¨e°V´^°^°^Ø.4¬m¨m¨m¸Q¸Q¸Qð@ñ Aô Að Að Að —’˜F U™NÑ+Ô+Ð+ð ð 	VÝ ‘]”]ˆFØÐ!Ø”×4Ò4°U´^ÀUÄ\ÐSTÑUÔUÐUàˆs   ÈH! È!IÉIc                 ó:   — t                                | ||¦  «        S )z®Only print the exception type and message, without a traceback.

        Parameters
        ----------
        etype : exception type
        value : exception value
        )rË   r°   )rx   r±   r²   s      r   Úget_exception_onlyzListTB.get_exception_only°  s   € õ ×*Ò*¨4°¸Ñ>Ô>Ð>r   c                 óÜ   — | j         }|                     ¦   «          |                     d                     |                      ||¦  «        ¦  «        ¦  «         |                     ¦   «          dS )z¯Only print the exception type and message, without a traceback.

        Parameters
        ----------
        etype : exception type
        evalue : exception value
        r4   N)rz   rƒ   r‚   r©   r  )rx   r±   r“   rz   s       r   Úshow_exception_onlyzListTB.show_exception_onlyº  sW   € ð ”,ˆØ�Š‰ŒˆØ�Š�d—i’i × 7Ò 7¸¸vÑ FÔ FÑGÔGÑHÔHÐHØ�Š‰Œˆˆˆr   c                 ó‚   — 	 t          j        t          |¦  «        ¦  «        S #  dt          |¦  «        j        z  cY S xY w)Nz<unprintable %s object>)r   rO   rB   rÄ   r¾   )rx   r²   s     r   r  zListTB._some_strÉ  sC   € ð	EÝÔ)­#¨e©*¬*Ñ5Ô5Ð5øð	EØ-µ°U±´Ô0DÑDÐDÐDÐDøøøs   ‚ # £>r½   )r¾   r¿   rÀ   rÁ   rÐ   rÔ   rÄ   r   rÅ   r   rÇ   r°   rÞ   rß   r  r  r  r   r   r   rË   rË   É  sõ   € € € € € ðOð Oð&!ð !ð !ð
ð ð ð (,Ø#'ØðQð QàðQð ˜Ô'ðQð �mÔ$ð	Qð
 ˜C”=ðQð Qð Qð Qðf"ð "ð "ðHOð Oð Oðb?ð ?ð ?ðð ð ðEð Eð Eð Eð Er   rË   c                   óø   — e Zd ZU dZee         ed<   ee         ed<   ee         ed<   ee         ed<   e	d„ ¦   «         Z
dddœdee         dedee         fd	„Zed
„ ¦   «         Zed„ ¦   «         Zed„ ¦   «         ZdS )Ú	FrameInfozm
    Mirror of stack data's FrameInfo, but so that we can bypass highlighting on
    really long frames.
    Údescriptionr   r@   r´   c                 ó¼   —  | t          |dd ¦  «        t          |dd ¦  «        t          |dd ¦  «        t          |dd ¦  «        t          |dd ¦  «        |d ¬¦  «        S )Nr  r   r@   r'   Úcode©Úsdr´   r‹   )ÚclsÚ
frame_infos     r   Ú_from_stack_data_FrameInfoz$FrameInfo._from_stack_data_FrameInfoÝ  sl   € àˆsÝ�J ¨tÑ4Ô4Ý�J 
¨DÑ1Ô1Ý�J ¨$Ñ/Ô/Ý�J ¨Ñ.Ô.Ý�J ¨Ñ-Ô-ØØð
ñ 
ô 
ð 	
r   Nr  c                ó²   — || _         || _        || _        || _        || _        || _        || _        |€#t          j        |¦  «        }|d         | _	        d S d S ©Nr   )
r  r   r@   r'   r  Ú_sdr´   r,   r-   Ú	raw_lines)	rx   r  r   r@   r'   r  r  r´   Úixs	            r   rp   zFrameInfo.__init__é  sc   € ð 'ˆÔØ ˆŒØˆŒØˆŒ
ØˆŒ	ØˆŒØˆŒð ˆ:ÝÔ'¨Ñ.Ô.ˆBØ œUˆDŒNˆNˆNð ˆ:r   c                 ó,   — | j         r| j         j        S g S r‘   )r  Úvariables_in_executing_piecer   s    r   r  z&FrameInfo.variables_in_executing_piece  s   € àŒ8ð 	Ø”8Ô8Ð8àˆIr   c                 ó   — | j         j        S r‘   )r  r/   r   s    r   r/   zFrameInfo.lines  s   € àŒxŒ~Ðr   c                 ó,   — | j         r| j         j        S d S r‘   )r  Ú	executingr   s    r   r"  zFrameInfo.executing  s   € àŒ8ð 	Ø”8Ô%Ð%à�4r   )r¾   r¿   rÀ   rÁ   r   rB   Ú__annotations__r   rÇ   Úclassmethodr  rp   rÂ   r  r/   r"  r   r   r   r  r  Ñ  s  € € € € € € ðð ð
 ˜#”ÐÐÑØ�sŒmÐÐÑØ�#ŒJÐÐÑà�cŒ]ÐÐÑàð	
ð 	
ñ „[ð	
ð& Øð#ð #ð #à˜c”]ð#ð ð#ð �c”
ð	#ð #ð #ð #ð0 ðð ñ „Xðð ðð ñ „Xðð ðð ñ „Xðð ð r   r  c                   ó"  — e Zd ZdZdZ	 	 	 	 	 	 	 	 	 	 dded	ed
ededef
d„Zde	fd„Z
d dedefd„Zd„ Zdedee         dee         d
ee         fd„Zdeded
efd„Z	 	 	 d!dedee         dee         d
ee         def
d„Zd defd„Zd"d„Zd#d„ZdS )$Ú	VerboseTBa;  A port of Ka-Ping Yee's cgitb.py module that outputs color text instead
    of HTML.  Requires inspect and pydoc.  Crazy, man.

    Modified version which optionally strips the topmost entries from the
    traceback, to be used with alternate interpreters (because their own code
    would appear in the traceback).zbg:ansiyellowÚLinuxFNr   Try   rq   r®   Úlong_headerÚinclude_varsc           	      óª   — t                                | ||||	|
|¬¦  «         || _        || _        || _        |€t
          j        }|| _        d| _        dS )aW  Specify traceback offset, headers and color scheme.

        Define how many frames to drop from the tracebacks. Calling it with
        tb_offset=1 allows use of this handler in interpreters which will have
        their own code at the top of the traceback (VerboseTB will first
        remove that frame before printing the traceback info).)ry   rq   rz   rm   rn   rj   NT)	ri   rp   r®   r(  r)  rü   Ú
checkcacheÚcheck_cacheÚskip_hidden)rx   ry   rq   rz   r®   r(  r)  r,  rj   rm   rn   s              r   rp   zVerboseTB.__init__  su   € õ& 	×ÒØØ%ØØØØØ%ð 	ñ 	
ô 	
ð 	
ð #ˆŒØ&ˆÔØ(ˆÔð ÐÝ#Ô.ˆKØ&ˆÔàˆÔÐÐr   r  c                 óh  — t          |t          ¦  «        sJ ‚| j        }|j        }t          |j        t
          j        ¦  «        rd|j        ›d|j        ›d|›d�S dt          z  }|j
        ›d|›|›�}d|j        › d|j
        › d|› �}d|j        ›d	|j
        ›d
|›�}d|j
        ›d|›�}t          |j        |j        ||j        ¬¦  «        }	t!          j        |j        ¦  «        \  }
}}}|j        �|j                             ¦   «         }nd}|dk    rd}n\| j        rt,          nt.          }	 t!          j        |
||||¬¦  «        }|                     ||¬¦  «        }n# t4          $ r ||z  }Y nw xY wd}g }| j        rd	 |j        }|D ]3}|                     ||j        t=          |j        ¦  «        fz  ¦  «         Œ4n%# t@          $ r |                     d¦  «         Y nw xY w|r|›| !                    |¦  «        ›�}|	› |rdnd› |› d�}|j        €ð|j        ›d	|›�}|tE          j#        |j        ¦  «        z  }	|	›d|›d�}tI          j%        | j&        j'        | ¬¦  «        j(        }|j)        j*        }|j        d         }|j+        }||z
  }||j,        k    r*t[          ||j,        z
  d¦  «        }||j,        z   }|j,        }nd}||j,        z   }|||…         }|›d !                    t]          ||||||¦  «        ¦  «        ›�S |d !                    t_          |j0        || j1        |¦  «        ¦  «        z  }|S )zFormat a single stack framerê   z[... skipping similar frames: ú]r4   r7   zin z{file}z{scope}z%sz"(***failed resolving arguments***)z%s z= %srW   Nú?ré   r×   )Úformatvalue)r$   Úscopez<Exception trying to inspect frame. No more locals available.z, )Ústylerm   r   )2rØ   r  rD   r=   r  r9   ÚRepeatedFramesrù   r  r8   ÚvalEmÚvNamerg   r   rì   r@   r,   Úgetargvaluesr'   r"  Úcode_qualnamer)  ÚeqreprÚnullreprÚformatargvaluesra   ÚKeyErrorr  r;   r[   Úreprr²   r  r©   r^   r_   r   ÚParserrs   r�   Úformat2r  Úco_firstlinenor  r´   ÚmaxrV   rL   r/   r2   ) rx   r  rD   ÚColorsNormalÚindentÚ	em_normalÚtpl_callÚtpl_call_failÚtpl_name_valÚlinkr¢   ÚvarargsÚvarkwÚlocals_ÚfuncÚcallÚvar_reprr2  rE   Ú
lvals_listÚfibpÚvarÚresultrf   ÚlevelrR   Ú
first_lineÚcurrent_liner  rQ   ÚstartÚstops                                    r   Úformat_recordzVerboseTB.format_recordG  sG  € å˜*¥iÑ0Ô0Ð0Ð0Ð0Ø”ˆØ”}ˆå�j”n¥jÔ&?Ñ@Ô@ð 	Fð 	Fà”�� 
Ô 6Ð 6Ð 6¸¸¸ðFð Fð •{Ñ"ˆØ"(¤, , ,°°¸¸ÐEˆ	ØT˜œÐTÐT¨v¬|ÐTÐTÀlÐTÐTˆˆàŒLˆLˆLØŒLˆLˆLØˆLð
ˆˆð
 +1¬,¨,¨,¸¸ÐEˆåØÔØÔØØÔ$ð	
ñ 
ô 
ˆõ )0Ô(<¸ZÔ=MÑ(NÔ(NÑ%ˆˆg�u˜gØÔÐ+ØÔ'×5Ò5Ñ7Ô7ˆDˆDàˆDØ�:ÒÐØˆDˆDð "&Ô!2Ð@•v�v½ˆHð,ÝÔ/Ø˜' 5¨'¸xðñ ô �ð  —’¨D¸�Ñ>Ô>��øÝð ,ð ,ð ,ð" % tÑ+���ð#,øøøð& ˆØˆ
ØÔð 
	ð	ð "Ô>�Øð Rð R�CØ×%Ò% l°c´hÅÀSÄYÁÄÐ5PÑ&PÑQÔQÐQÐQðRøåð ð ð Ø×!Ò!ØRñô ð ð ð ðøøøð ð 	BØ$˜f i§n¢n°ZÑ&@Ô&@Ð&@ÐAˆEàÐ8 $Ð.˜$˜$¨BÐ8°Ð8Ð8Ð8ˆØŒ>Ð!à$*Ô$5Ð$5Ð$5°|°|ÐDˆHØ�iÔ5°jÔ6IÑJÔJÑJˆDØ!%   t t tÐ,ˆEÝ%Ô,ØÔ-Ô@Èðñ ô äð ð $œÔ7ˆJØ%Ô,¨QÔ/ˆLØ"Ô,ˆIØ  :Ñ-ˆEà˜
Ô*Ò*Ð*Ý˜E JÔ$6Ñ6¸Ñ:Ô:�Ø˜zÔ1Ñ1�Ø"Ô*��à�Ø˜zÔ1Ñ1�Ø! %¨ *Ô-ˆIð �Ø—’Ý2Ø$ØØ!ØØØ$ñô ñ	ô 	ð 	ðð ð �b—g’gÝ'ØÔ$ f¨d¬o¸uñô ñô ñ ˆFð
 ˆs$   Ä,0E ÅE/Å.E/Å>=F< Æ<GÇGr±   Úlong_versionc                 ó:  — | j         }|j        }|j        ›|›|›�}t          dt	          ¦   «         d         ¦  «        }|r²dt
          j                             ¦   «         d         z   dz   t
          j        z   }t          j
        t          j	        ¦   «         ¦  «        }|j        ›d|z  ›|›d|›d|t          |¦  «        z
  t          |¦  «        z
  z  ›|›d|                     |¦  «        ›�	}	|	dz  }	n)|›d	                     |t          |¦  «        z
  ¦  «        ›�}	|	S )
NéK   r   zPython ú: ú-r4   r7   z—
A problem occurred executing Python code.  Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.z!Traceback (most recent call last))rD   r=   rù   Úminr   r}   ÚversionÚsplitÚ
executableÚtimeÚctimeÚtopliner.   Úrjust)
rx   r±   rY  ÚcolorsÚcolorsnormalÚexcÚwidthÚpyverÚdateÚheads
             r   Úprepare_headerzVerboseTB.prepare_headerÀ  s,  € Ø”ˆØ”}ˆØ œ.˜.¨%¨%°°Ð>ˆÝ�BÕ)Ñ+Ô+¨AÔ.Ñ/Ô/ˆØð 	à¥¤× 1Ò 1Ñ 3Ô 3°AÔ 6Ñ6¸Ñ=ÅÄÑNˆEÝ”:�dœi™kœkÑ*Ô*ˆDð ”�Ø�e‘�Ø��Ø�Ø�u�s 5™zœzÑ)­C°©J¬JÑ6Ñ7Ð7Ø��Ø—
’
˜5Ñ!Ô!Ð!ðˆDð ð_ñˆDˆDð �Ø3×9Ò9¸%Å#ÀeÁ*Ä*Ñ:LÑMÔMÐMðˆDð
 ˆr   c                 ó"  — | j         }|j        }	 t          t          ||f¦  «        \  }}nC#  t          t	          j        ¦   «         d d…         }}t          t          ||f¦  «        \  }}Y nxY w|j        ›|›|›dt          j        |¦  «        ›�gS )Né   r\  )	rD   r=   ÚmaprB   r}   Úexc_inforù   r   rO   )rx   r±   r“   rf  rg  Ú	etype_strÚ
evalue_strs          r   Úformat_exceptionzVerboseTB.format_exceptionà  s    € Ø”ˆØ”}ˆð	>Ý$'­¨e°V¨_Ñ$=Ô$=Ñ!ˆI�z�zøð	>å¥¤¡¤°°°Ô!3�6ˆEÝ$'­¨e°V¨_Ñ$=Ô$=Ñ!ˆI�z�z�zøøøà &¤ °	°	Ø ,  ­iÔ.DÀZÑ.PÔ.PÐ.PðRð Sð 	Ss	   �+ «>A+r“   r·   c           
      ó  — |}	 |j         }n# t          $ r Y nw xY w|€| j        n|}t          |t          ¦  «        sJ ‚|                      t          |¦  «        | j        ¦  «        }|r|                      |||¦  «        ng }g }	d}
t          |¦  «        dz
  }t          |¦  «        D ]µ\  }}t          |j        t          j        ¦  «        s3| j        r,|j        j                             dd¦  «        r||k    r|
dz  }
ŒW|
r4| j        }|j        }|	                     d|j        ›d|
›d|›d�¦  «         d}
|	                     |                      |¦  «        ¦  «         Œ¶|
r2| j        }|j        }|	                     d|j        ›d|
›d|›d�¦  «         |                      ||¦  «        }|r>|d	         }t1          ¦   «         }|�&|j                             |j        |j        d¦  «         |g|	z   d
                     |d         ¦  «        gz   gS )z²Formats the header, traceback and exception message for a single exception.

        This may be called multiple times by Python 3 exception chaining
        (PEP 3134).
        Nr   r   Ú__tracebackhide__rê   z[... skipping hidden z frame]r4   éÿÿÿÿr×   )r¾   ÚAttributeErrorr®   rØ   rÇ   rm  rB   r(  Úget_recordsr.   rN   r  r9   r4  r-  r'   Úf_localsÚgetrD   r=   r;   rù   rX  rt  r
   r  r  r   r@   r©   )rx   r±   r“   r·   r¸   r®   Ú
orig_etyperl  ÚrecordsÚframesÚskippedÚ
lastrecordrS   ÚrecordrD   rB  Úformatted_exceptionr  rd   s                      r   Úformat_exception_as_a_wholez%VerboseTB.format_exception_as_a_wholeî  sn  € ð ˆ
ð	Ø”NˆEˆEøÝð 	ð 	ð 	ØˆDð	øøøð '0Ð&7�D”N�N¸Yˆ	Ý˜)¥SÑ)Ô)Ð)Ð)Ð)Ø×"Ò"¥3 u¡:¤:¨tÔ/?Ñ@Ô@ˆàLOÐWˆD×Ò˜SÐ"<¸iÑHÔHÐHÐUWð 	ð ˆØˆÝ˜‘\”\ AÑ%ˆ
Ý" 7Ñ+Ô+ð 	6ð 	6‰IˆAˆvå˜vœz­:Ô+DÑEÔEð	àÔ$ð	ð
 ”LÔ)×-Ò-Ð.AÀ1ÑEÔEðà˜Zš˜à˜q‘L�GØØð Øœ�Ø%œ}�Ø—’�à”~�~�~ w w w°°°ð>ñô ð ð �Ø�MŠM˜$×,Ò,¨VÑ4Ô4Ñ5Ô5Ð5Ð5Øð 	Ø”[ˆFØ!œ=ˆLØ�MŠMˆMà”>�>�> 7 7 7¨L¨L¨Lð:ñô ð ð
 #×3Ò3°E¸6ÑBÔBÐØð 	`Ø  œˆJÝ ‘]”]ˆFØÐ!Ø”×4Ò4°ZÔ5HÈ*ÔJ[Ð]^Ñ_Ô_Ð_à�˜‘ 2§7¢7Ð+>¸qÔ+AÑ#BÔ#BÐ"CÑCÐDÐDs   „ Œ
˜r¸   c                 ót  — |€J ‚|dz
  }|dz  }||z
  }| j         r:t          d¦  «        }t          j        || j        ¦  «        }t          |¬¦  «        }nd }t          j        |||¬¦  «        }	|}
d}g }|
�§	 t          j        |
j	        ¦  «        }|�,|j
        }|                     d¦  «        ^}}|dk    r|
j        }
ŒJt          |
j	        ¦  «        }n# t          $ r d}Y nw xY wt          ||¦  «        }|                     |
¦  «         t#          |
d	d ¦  «        }
|
­§|t$          k    rNg }|D ]G}|j	        }|j        f}|j        }|j        }|                     t-          d
|||||¬¦  «        ¦  «         ŒH|S t/          t          j                             ||	¬¦  «        ¦  «        |d …         }d„ |D ¦   «         }|S )Nr   ro  Údefault)r3  )ÚbeforeÚafterÚpygments_formatterr   ú.ÚIPythonÚtb_nextz	Raw frame)r´   )Úoptionsc                 óB   — g | ]}t                                |¦  «        ‘ŒS r   )r  r  )r   r   s     r   ú
<listcomp>z)VerboseTB.get_records.<locals>.<listcomp>h  s&   € ÐDÐDÐD¸1�y×3Ò3°AÑ6Ô6ÐDÐDÐDr   )r2   r	   r9   Ústyle_with_executing_nodeÚ_tb_highlightr   ÚOptionsr,   Ú	getmoduleÚtb_framer¾   r`  r‹  r1   ÚOSErrorrA  r;   rŒ   ÚFAST_THRESHOLDÚf_linenor)   r*   r  rÛ   )rx   r·   r¸   r®   r´   r‡  r†  r3  Ú	formatterrŒ  ÚcfÚmax_lenÚtbsÚmodÚmod_nameÚ	root_nameÚ_ÚFIsr³   r'   r@   r  r   rG   s                           r   ry  zVerboseTB.get_records1  s   € ð ˆˆˆØ,¨qÑ0ˆØ˜1‘ˆØ˜5‘ˆØŒ?ð 	Ý% iÑ0Ô0ˆEÝÔ8¸ÀÔ@RÑSÔSˆEÝ,°5Ð9Ñ9Ô9ˆIˆIàˆIÝÔ$ØØØ(ð
ñ 
ô 
ˆð '*ˆØˆØˆØˆnðÝÔ'¨¬Ñ4Ô4�Ø�?Ø"œ|�HØ$,§N¢N°3Ñ$7Ô$7�M�I Ø  IÒ-Ð-ØœZ˜Ø Ý2°2´;Ñ?Ô?��øåð ð ð Ø���ðøøøå˜' 7Ñ+Ô+ˆGØ�JŠJ�r‰NŒNˆNÝ˜˜Y¨Ñ-Ô-ˆBð ˆnð" •^Ò#Ð#ØˆCØð 
ð 
�Øœ�Øœ.Ð*�Ø”|�ØÔ+�à—
’
ÝØ# X¨v°u¸dÈGðñ ô ñô ð ð ð
 ˆJÝ•:Ô'×2Ò2°3ÀÐ2ÑHÔHÑIÔIÈ)È*È*ÔUˆØDÐDÀÐDÑDÔDˆØˆ
s   Á7AC Â>C ÃC"Ã!C"r­   c                 óÊ  — |                       |||||¦  «        }| j        }|j        }|j        ›dt	          dt          ¦   «         d         ¦  «        z  ›|›�}	|	g}
d}d}|}|                      |¦  «        }|r(|€J ‚||                      |j        ¦  «        z  }|\  }}}nd}t          ¦   «         }|rš||                       |||||¦  «        z  }|                      |¦  «        }|rct          |d         ¦  «        |vrL|                     t          |d         ¦  «        ¦  «         ||                      |j        ¦  «        z  }|\  }}}nd}|°št          |¦  «        D ]}|
|z  }
Œ|
S )z5Return a nice text document describing the traceback.r]  r[  r   é   Nr   )rƒ  rD   r=   rd  r^  r   r•   rš   rˆ   rÚ   rà   rá   Úreversed)rx   r±   r“   r·   r®   r¸   r‚  rf  rg  rl  Ústructured_traceback_partsræ   Úlines_of_contextÚformatted_exceptionsrä   râ   s                   r   r°   zVerboseTB.structured_tracebackk  sÒ  € ð #×>Ò>¸uÀfÈcÐSmØ?HñJô JÐð ”ˆØ”}ˆØ!œ>˜>¨3µ°RÕ9JÑ9LÔ9LÈQÔ9OÑ1PÔ1PÑ+PÐ+PÐR^ÐR^Ð_ˆØ&* VÐ"Ø'(Ð$ØÐØ2ÐØ×7Ò7¸Ñ?Ô?ˆ	Øð 	ØÐ%Ð%Ð%Ø  D×$JÒ$JÈ6ÔK[Ñ$\Ô$\Ñ\Ð Ø!*ÑˆE�6˜3˜3àˆFÝ™%œ%ˆØð 
	Ø  D×$DÒ$DÀUÈFÐTWÐYiØEañ%cô %cñ cÐ à×;Ò;¸FÑCÔCˆIàð ¥ I¨a¤LÑ!1Ô!1°_Ð!DÐ!DØ×#Ò#¥B y°¤|Ñ$4Ô$4Ñ5Ô5Ð5Ø$¨×(NÒ(NÈvÔO_Ñ(`Ô(`Ñ`Ð$Ø%.Ñ"��v˜s˜sà�ð ð 
	õ $,Ð,@Ñ#AÔ#Að 	>ð 	>ÐØ&Ð*=Ñ=Ð&Ð&à)Ð)r   Úforcec                 ó‚  — |s| j         �r | j        €|                      ¦   «         | _        t          t          j        ¬¦  «        }|5  | j                             ¦   «          t          | d¦  «        r| j        �| j        }nt          j	        x}| _        | j        �>| j        j
        �2| j        j
        €J ‚| j        j
        | _        | j        �| j        j
        ­2|r|j
        r|j
        }|j        | j        _        | j                             d|¦  «         ddd¦  «         n# 1 swxY w Y   t          | d¦  «        r| `dS dS )a4  Call up the pdb debugger if desired, always clean up the tb
        reference.

        Keywords:

          - force(False): by default, this routine checks the instance call_pdb
            flag and does not actually invoke the debugger if the flag is false.
            The 'force' option forces the debugger to activate even if the flag
            is false.

        If the call_pdb flag is set, the pdb interactive debugger is
        invoked. In all cases, the self.tb reference to the current traceback
        is deleted to prevent lingering references which hamper memory
        management.

        Note that each call to pdb() does an 'import readline', so if your app
        requires a special setup for the readline completers, you'll have to
        fix that by hand after invoking the exception handler.N)Úhookr³   )rq   rw   rj   r   r}   Ú__displayhook__Úresetr„   r³   Úlast_tracebackr‹  r“  ÚbotframeÚinteraction)rx   r¦  Údisplay_trapr·   s       r   r   zVerboseTB.debugger™  s‡  € ð( ð 	0�D”Mñ 	0ØŒxÐØ×,Ò,Ñ.Ô.�”õ '­CÔ,?Ð@Ñ@Ô@ˆLØð 0ð 0Ø”—’Ñ Ô Ð å˜4 Ñ&Ô&ð 7¨4¬7Ð+>Øœ'�C�Cå$'Ô$6Ð6�C˜$œ'Ø”gÐ)¨d¬g¬oÐ.IØœ7œ?Ð6Ð6Ð6Ø"œgœo�D”Gð ”gÐ)¨d¬g¬oÐ.Ið ð &˜3œ;ð &Øœ+�CØ$'¤L�”Ô!Ø”×$Ò$ T¨3Ñ/Ô/Ð/ð0ð 0ð 0ñ 0ô 0ð 0ð 0ð 0ð 0ð 0ð 0øøøð 0ð 0ð 0ð 0õ �4˜ÑÔð 	Ø���ð	ð 	s   ÁCD Ä D$Ä'D$c                 ó"  — |pt          j        ¦   «         \  }}}|| _        | j        }|                     ¦   «          |                     |                      |||¦  «        ¦  «         |                     d¦  «         |                     ¦   «          d S rÍ   )r}   rq  r³   rz   rƒ   r‚   r¶   )rx   Úinfor±   r“   r·   rz   s         r   ÚhandlerzVerboseTB.handlerÅ  sy   € Ø#Ð5¥s¤|¡~¤~Ñˆ�˜ØˆŒØ”,ˆØ�Š‰ŒˆØ�Š�d—i’i  v¨sÑ3Ô3Ñ4Ô4Ð4Ø�Š�dÑÔÐØ�Š‰Œˆˆˆr   c                 óÎ   — |€|                       ¦   «          n|                       |||f¦  «         	 |                      ¦   «          dS # t          $ r t          d¦  «         Y dS w xY w)z@This hook can replace sys.excepthook (for Python 2.1 or higher).Nú
KeyboardInterrupt)r±  r   ÚKeyboardInterruptr+   )rx   r±   r“   r·   s       r   rÐ   zVerboseTB.__call__Ð  sx   € àˆ;Ø�LŠL‰NŒNˆNˆNà�LŠL˜% ¨Ð-Ñ.Ô.Ð.ð	)Ø�MŠM‰OŒOˆOˆOˆOøÝ ð 	)ð 	)ð 	)ÝÐ'Ñ(Ô(Ð(Ð(Ð(Ð(ð	)øøøs   ±A ÁA$Á#A$)
r'  FNr   FTNNNN)Fr½   r‘   )NNN)r¾   r¿   rÀ   rÁ   r�  rB   rÆ   rÇ   rp   r  rX  rm  rt  rÄ   r   rÅ   r   rƒ  ry  r°   r   r±  rÐ   r   r   r   r&  r&    s  € € € € € ð'ð 'ð $€Mð $ØØØØ!Ø!ØØØØð& ð & àð& ð ð& ð
 ð& ð ð& ð ð& ð & ð & ð & ðPw¨	ð wð wð wð wðrð  Cð °tð ð ð ð ð@Sð Sð SðAEàðAEð ˜Ô'ðAEð �mÔ$ð	AEð ˜C”=ðAEð AEð AEð AEðF8Ø ð8Ø>Að8ØNQð8ð 8ð 8ð 8ð| (,Ø#'Ø*+ð,*ð ,*àð,*ð ˜Ô'ð,*ð �mÔ$ð	,*ð
 ˜C”=ð,*ð %(ð,*ð ,*ð ,*ð ,*ð\*ð *˜dð *ð *ð *ð *ðXð ð ð ð	)ð 	)ð 	)ð 	)ð 	)ð 	)r   r&  c                   óp   — e Zd ZU dZeed<   	 	 	 	 	 dd„Zdd
„Zd„ Zdde	e         fd„Z
d„ Zd„ Zd„ Zd„ ZdS )ÚFormattedTBa»  Subclass ListTB but allow calling with a traceback.

    It can thus be used as a sys.excepthook for Python > 2.1.

    Also adds 'Context' and 'Verbose' modes, not available in ListTB.

    Allows a tb_offset to be specified. This is useful for situations where
    one needs to remove a number of topmost frames from the traceback (such as
    occurs with python programs that themselves execute other python code,
    like Python shells).  ÚmodeÚPlainr'  FNr   c                 óä   — g d¢| _         | j         dd…         | _        t                               | ||||||||	|
|¬¦  «         t	          dddd¬¦  «        | _        |                      |¦  «         d S )N)r¸  ÚContextÚVerboseÚMinimalr   r¡  )
ry   rq   rz   r®   r(  r)  r,  rj   rm   rn   r×   r4   )Úvalid_modesÚverbose_modesr&  rp   ÚdictÚ_join_charsÚset_mode)rx   r·  ry   rq   rz   r®   r(  r)  r,  rj   rm   rn   s               r   rp   zFormattedTB.__init__ë  sš   € ð FÐEÐEˆÔØ!Ô-¨a°¨cÔ2ˆÔå×Ò˜4¨lÀXØ#*°iØ'2ÀØ'2ÀØ"(°ð	 	ñ 	9ô 	9ð 	9õ   b°$ÀØ(*ð,ñ ,ô ,ˆÔð 	�Š�dÑÔÐÐÐr   r­   c                 ó   — |€| j         n|}| j        }|| j        v rt                               | |||||¦  «        S |dk    rt
                               | ||¦  «        S |                      ¦   «          t
                               | |||||¦  «        S )Nr¼  )r®   r·  r¾  r&  r°   rË   r  r,  )rx   r±   r²   r³   r®   r¸   r·  s          r   r°   z FormattedTB.structured_traceback  s¬   € Ø&/Ð&7�D”N�N¸Yˆ	ØŒyˆØ�4Ô%Ð%Ð%å×1Ò1Ø�e˜U B¨	Ð3Mñô ð ð �YÒÐÝ×,Ò,¨T°5¸%Ñ@Ô@Ð@ð ×ÒÑÔÐå×.Ò.Ø�e˜U B¨	Ð3Mñô ð r   c                 ó6   — | j                              |¦  «        S )r§   )Útb_join_charr©   rª   s     r   r¬   zFormattedTB.stb2text  s   € àÔ ×%Ò% cÑ*Ô*Ð*r   c                 ó¤  — |sJ| j                              | j        ¦  «        dz   t          | j         ¦  «        z  }| j         |         | _        nQ|| j         vr*t	          d|z   dz   t          | j         ¦  «        z   ¦  «        ‚t          |t
          ¦  «        sJ ‚|| _        | j        | j         d         k    | _        | j        | j                 | _	        dS )zbSwitch to the desired mode.

        If mode is not specified, cycles through the available modes.r   z#Unrecognized mode in FormattedTB: <z>
Valid modes: ro  N)
r½  rQ   r·  r.   Ú
ValueErrorrB   rØ   r)  rÀ  rÄ  )rx   r·  Únew_idxs      r   rÁ  zFormattedTB.set_mode  sá   € ð
 ð 	ØÔ'×-Ò-¨d¬iÑ8Ô8¸1Ñ<Ý˜$Ô*Ñ+Ô+ñ,ˆGàÔ(¨Ô1ˆDŒIˆIØ˜Ô)Ð)Ð)ÝØ5¸Ñ<ð @ ñ  Ý"% dÔ&6Ñ"7Ô"7ñ8ñô ð õ
 ˜d¥CÑ(Ô(Ð(Ð(Ð(ØˆDŒIà!œY¨$Ô*:¸1Ô*=Ò=ˆÔà Ô,¨T¬YÔ7ˆÔÐÐr   c                 óF   — |                       | j        d         ¦  «         d S r  ©rÁ  r½  r   s    r   ÚplainzFormattedTB.plain0  ó"   € Ø�Š�dÔ& qÔ)Ñ*Ô*Ð*Ð*Ð*r   c                 óF   — |                       | j        d         ¦  «         d S )Nr   rÉ  r   s    r   r´   zFormattedTB.context3  rË  r   c                 óF   — |                       | j        d         ¦  «         d S )Nro  rÉ  r   s    r   ÚverbosezFormattedTB.verbose6  rË  r   c                 óF   — |                       | j        d         ¦  «         d S )Nr¡  rÉ  r   s    r   ÚminimalzFormattedTB.minimal9  rË  r   )r¸  r'  FNr   FFNNNNr¼   r‘   )r¾   r¿   rÀ   rÁ   rB   r#  rp   r°   r¬   r   rÁ  rÊ  r´   rÎ  rÐ  r   r   r   r¶  r¶  Ý  sÑ   € € € € € € ð	ð 	ð €I€I�IàDIØØ>CØ04Ø%)ð	ð ð ð ð.ð ð ð ð&+ð +ð +ð8ð 8˜X cœ]ð 8ð 8ð 8ð 8ð.+ð +ð +ð+ð +ð +ð+ð +ð +ð+ð +ð +ð +ð +r   r¶  c                   óf   — e Zd ZdZ	 	 dd„Z	 	 	 ddedee         dee         dee	         d	e	f
d
„Z
dS )ÚAutoFormattedTBaG  A traceback printer which can be called on the fly.

    It will find out about exceptions by itself.

    A brief example::

        AutoTB = AutoFormattedTB(mode = 'Verbose',color_scheme='Linux')
        try:
          ...
        except:
          AutoTB()  # or AutoTB(out=logfile) where logfile is an open file object
    Nc                 óR  — |€| j         }|                     ¦   «          |                     |                      ||||¦  «        ¦  «         |                     d¦  «         |                     ¦   «          	 |                      ¦   «          dS # t
          $ r t          d¦  «         Y dS w xY w)aI  Print out a formatted exception traceback.

        Optional arguments:
          - out: an open file-like object to direct output to.

          - tb_offset: the number of frames to skip over in the stack, on a
          per-call basis (this overrides temporarily the instance's tb_offset
          given at initialization time.Nr4   r³  )rz   rƒ   r‚   r¶   r   r´  r+   )rx   r±   r“   r·   Úoutr®   s         r   rÐ   zAutoFormattedTB.__call__L  s¦   € ð ˆ;Ø”,ˆCØ�	Š	‰ŒˆØ�	Š	�$—)’)˜E 6¨3°	Ñ:Ô:Ñ;Ô;Ð;Ø�	Š	�$‰ŒˆØ�	Š	‰Œˆð	)Ø�MŠM‰OŒOˆOˆOˆOøÝ ð 	)ð 	)ð 	)ÝÐ'Ñ(Ô(Ð(Ð(Ð(Ð(ð	)øøøs   Á3B	 Â	B&Â%B&r­   r±   r“   r·   r®   r¸   c                 óÆ   — |€t          j        ¦   «         \  }}}t          |t          ¦  «        r|d         | _        n|| _        t
                               | |||||¦  «        S r  )r}   rq  rØ   rÙ   r³   r¶  r°   r»   s         r   r°   z$AutoFormattedTB.structured_tracebackd  sg   € ð ˆ=Ý!$¤¡¤ÑˆE�6˜3Ý�c�5Ñ!Ô!ð 	à˜!”fˆDŒGˆGàˆDŒGÝ×/Ò/Ø�%˜  iÐ1Kñ
ô 
ð 	
r   )NNNNNr½   )r¾   r¿   rÀ   rÁ   rÐ   rÄ   r   rÅ   r   rÇ   r°   r   r   r   rÒ  rÒ  >  sœ   € € € € € ðð ð 59Ø%)ð)ð )ð )ð )ð8 (,Ø#'Ø*+ð
ð 
àð
ð ˜Ô'ð
ð �mÔ$ð	
ð
 ˜C”=ð
ð %(ð
ð 
ð 
ð 
ð 
ð 
r   rÒ  c                   ó   — e Zd ZdZdd„ZdS )ÚColorTBz;Shorthand to initialize a FormattedTB in Linux colors mode.r'  r   c                 ó0   — t          j        | f||dœ|¤Ž d S )N)ry   rq   )r¶  rp   )rx   ry   rq   Úkwargss       r   rp   zColorTB.__init__  s:   € ÝÔ˜Tð 	:°Ø&.ð	:ð 	:Ø28ð	:ð 	:ð 	:ð 	:ð 	:r   N)r'  r   )r¾   r¿   rÀ   rÁ   rp   r   r   r   r×  r×  |  s.   € € € € € ØEÐEð:ð :ð :ð :ð :ð :r   r×  c                   óB   ‡ — e Zd ZdZd
d„Zd„ Z	 	 dˆ fd„	Zd„ Zd	„ Zˆ xZ	S )ÚSyntaxTBz:Extension which holds some state: the last exception valuer   Nc                 óP   — t                                | |||¬¦  «         d | _        d S rl   )rË   rp   Úlast_syntax_error)rx   ry   rm   rn   s       r   rp   zSyntaxTB.__init__‡  s*   € Ý�Š˜˜l°6À&ˆÑIÔIÐIØ!%ˆÔÐÐr   c                 óN   — || _         t                               | |||¦  «         d S r‘   )rÝ  rË   rÐ   rÎ   s       r   rÐ   zSyntaxTB.__call__‹  s(   € Ø!&ˆÔå�Š˜˜e U¨EÑ2Ô2Ð2Ð2Ð2r   r­   c                 ó€  •— t          |t          ¦  «        rut          |j        t          ¦  «        r[t          |j        t
          ¦  «        rAt          j        |j        ¦  «         t          j        |j        |j        ¦  «        }|r||_	        || _
        t          t          | ¦  «                             |||||¬¦  «        S )N)r®   r´   )rØ   rû   r   rB   r@   rÇ   rü   r+  rý   r¶   rÝ  ro   rÛ  r°   )rx   r±   r²   rÏ   r®   r´   Únewtextr{   s          €r   r°   zSyntaxTB.structured_traceback�  s·   ø€ õ
 �e�[Ñ)Ô)ð 	%Ý˜uœ~­sÑ3Ô3ð	%å˜uœ|­SÑ1Ô1ð	%õ Ô  ¤Ñ0Ô0Ð0ÝÔ'¨¬¸¼ÑEÔEˆGØð %Ø$�”
Ø!&ˆÔÝ•X˜tÑ$Ô$×9Ò9¸%ÀÈØDMÐW^ð :ñ `ô `ð 	`r   c                 ó"   — | j         }d| _         |S )z+Return the current error state and clear itN)rÝ  )rx   Úes     r   Úclear_err_statezSyntaxTB.clear_err_state   s   € àÔ"ˆØ!%ˆÔØˆr   c                 ó,   — d                      |¦  «        S )r§   r×   r¨   rª   s     r   r¬   zSyntaxTB.stb2text¦  s   € à�wŠw�s‰|Œ|Ðr   )r   NNr¼   )
r¾   r¿   rÀ   rÁ   rp   rÐ   r°   rã  r¬   rÈ   rÉ   s   @r   rÛ  rÛ  „  s”   ø€ € € € € ØDÐDð&ð &ð &ð &ð3ð 3ð 3ð
 CGØ%&ð`ð `ð `ð `ð `ð `ð ð ð ðð ð ð ð ð ð r   rÛ  c                 ót  — 	 t           j                             | ¦  «        S # t          $ r ‚  	 t          | ¦  «        cY S # t          $ r ‚  	 t	          | dd¦  «        }|rt          |¦  «        cY cY S t	          | dd¦  «        }|rdt          |¦  «        z  cY cY S n# t          $ r ‚  Y Y Y dS xY wY Y dS xY wxY w)z(Hopefully pretty robust repr equivalent.r¾   Nr{   z%s instancezUNRECOVERABLE REPR FAILURE)Úpydocr¶   r=  r´  rŒ   Ú	text_repr)r²   r[   Úklasss      r   rç  rç  ¬  s$  € ð4ÝŒz�Š˜uÑ%Ô%Ð%øÝð ð ð Øð4ð	4Ý˜‘;”;ÐÐÐøÝ ð 	ð 	ð 	Øð	4ð4õ ˜u j°$Ñ7Ô7�Øð +å$ T™?œ?Ð*Ð*Ð*Ð*Ð*Ý  {°DÑ9Ô9�Øð <Ø(­9°UÑ+;Ô+;Ñ;Ð;Ð;Ð;Ð;Ð;ð<øå$ð ð ð Øð4Ø3Ð3Ð3Ð3Ð3øøøð<ð <ð <ð <øøøøøøse   ‚! ¡B7®?¼B7¿B4Á!BÁ-B4Á.B7Á2$BÂB4ÂB7ÂB4ÂB-Â(B4Â)B7Â-B4Â0B7Â4B7c                 ó   — d || ¦  «        z  S )Nz=%sr   ©r²   r=  s     r   r9  r9  É  s   € Ø�4�4˜‘;”;ÑÐr   c                 ó   — dS )Nr×   r   rê  s     r   r:  r:  Í  s   € Øˆ2r   )?rÁ   Ú	functoolsr,   rü   ræ  r}   rb  rÒ   Útypesr   Útypingr   r   r   r   r9   Úpygments.formatters.terminal256r   Úpygments.stylesr	   ÚIPython.utils.colorableÚutilsÚ	colorablerŠ  r
   ÚIPython.corer   ÚIPython.core.display_trapr   ÚIPython.core.excolorsr   ÚIPython.utilsr   r   r^   r   ÚIPython.utils.terminalr   r8   ÚDEFAULT_SCHEMEr•  Ú	lru_cacherB   rÇ   r&   Ú	FrameTyper1   rÆ   rL   rV   rg   Ú	Colorableri   rË   r  r&  r¶  rÒ  r×  rÛ  rç  r9  r:  r   r   r   ú<module>rý     s  ððOð Oðt Ð Ð Ð Ø €€€Ø Ð Ð Ð Ø €€€Ø 
€
€
€
Ø €€€Ø Ð Ð Ð Ø €€€Ø Ð Ð Ð Ð Ð Ø -Ð -Ð -Ð -Ð -Ð -Ð -Ð -Ð -Ð -Ð -Ð -à Ð Ð Ð Ø @Ð @Ð @Ð @Ð @Ð @Ø -Ð -Ð -Ð -Ð -Ð -à +Ð +Ð +Ð +Ð +Ð +Ð +Ð +Ð +à Ð Ð Ð Ð Ð Ø !Ð !Ð !Ð !Ð !Ð !Ø 1Ð 1Ð 1Ð 1Ð 1Ð 1Ø 2Ð 2Ð 2Ð 2Ð 2Ð 2Ø $Ð $Ð $Ð $Ð $Ð $Ø +Ð +Ð +Ð +Ð +Ð +Ø #Ð #Ð #Ð #Ð #Ð #Ø 4Ð 4Ð 4Ð 4Ð 4Ð 4ð €ð €Ø€ð €ÔÑÔð Sð ¨Sð ð ð ñ Ôðð*, E¤Oð ,¸ð ,ð ,ð ,ð ,ð4$°tð $ð $ð $ð $ðL/ð /ð /ðd BFð #Bð #Bð #Bð #Bð #BðNL$ð L$ð L$ð L$ð L$ˆiÔ!ñ L$ô L$ð L$ð`EEð EEð EEð EEð EEˆWñ EEô EEð EEðP@ð @ð @ð @ð @ñ @ô @ð @ðHD)ð D)ð D)ð D)ð D)�ñ D)ô D)ð D)ðP]+ð ]+ð ]+ð ]+ð ]+�)˜Vñ ]+ô ]+ð ]+ðB8
ð 8
ð 8
ð 8
ð 8
�kñ 8
ô 8
ð 8
ð|:ð :ð :ð :ð :ˆkñ :ô :ð :ð$ð $ð $ð $ð $ˆvñ $ô $ð $ðP4ð 4ð 4ð: !ð ð ð ð ð #ð ð ð ð ð ð r   