Ë
    ì—0j9µ  ã                   óä  — 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mZ g d¢Z	d9d„Z
d„ Zd:d„Zd9d„Zd9d	„Zd
ZdZ G d„ d«      Z e«       Zd„ Zeedddfd„Zeeddfd„Zefd„Zd„ Zefd„Zd;d„Zd<d„Zd;d„Zd=d„Zd:d„Zd:d„Zd„ Z  G d„ d«      Z!d„ Z"d„ Z#d „ Z$d!„ Z%d"Z& G d#„ d$e'«      Z(d%„ Z) ejT                  d&g d'¢d(d)g¬*«      Z+d+„ Z,d,Z-d-„ Z. G d.„ d/«      Z/ G d0„ d1«      Z0d2Z1d3Z2d4Z3d5Z4d6„ Z5d7„ Z6d8„ Z7y)>z@Extract, format and print information about Python stack traces.é    N)Úsuppress)Úextract_stackÚ
extract_tbÚformat_exceptionÚformat_exception_onlyÚformat_listÚformat_stackÚ	format_tbÚ	print_excÚ
format_excÚprint_exceptionÚ
print_lastÚprint_stackÚprint_tbÚclear_framesÚFrameSummaryÚStackSummaryÚTracebackExceptionÚ
walk_stackÚwalk_tbc                 ó”   — |€t         j                  }t        j                  | «      j	                  «       D ]  }t        ||d¬«       Œ y)zyPrint the list of tuples as returned by extract_tb() or
    extract_stack() as a formatted stack trace to the given file.NÚ ©ÚfileÚend)ÚsysÚstderrr   Ú	from_listÚformatÚprint)Úextracted_listr   Úitems      ú&/usr/local/lib/python3.12/traceback.pyÚ
print_listr$      s=   € ð €|Ü�z‰zˆÜ×&Ñ& ~Ó6×=Ñ=Ö?ˆÜˆd˜ 2Ö&ñ @ó    c                 óH   — t         j                  | «      j                  «       S )a×  Format a list of tuples or FrameSummary objects for printing.

    Given a list of tuples or FrameSummary objects 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.
    )r   r   r   )r!   s    r#   r   r      s   € ô ×!Ñ! .Ó1×8Ñ8Ó:Ð:r%   c                 ó4   — t        t        | |¬«      |¬«       y)a  Print up to 'limit' stack trace entries from the traceback 'tb'.

    If 'limit' is omitted or None, all entries are printed.  If 'file'
    is omitted or None, the output goes to sys.stderr; otherwise
    'file' should be an open file or file-like object with a write()
    method.
    ©Úlimit©r   N)r$   r   )Útbr)   r   s      r#   r   r   /   s   € ô Œz˜" EÔ*°Ö6r%   c                 ó8   — t        | |¬«      j                  «       S )z5A shorthand for 'format_list(extract_tb(tb, limit))'.r(   )r   r   ©r+   r)   s     r#   r
   r
   9   s   € ä�b Ô&×-Ñ-Ó/Ð/r%   c                 óB   — t         j                  t        | «      |¬«      S )a#  
    Return a StackSummary object representing a list of
    pre-processed entries from traceback.

    This is useful for alternate formatting of stack traces.  If
    'limit' is omitted or None, all entries are extracted.  A
    pre-processed stack trace entry is a FrameSummary object
    containing attributes filename, lineno, name, and line
    representing the information that is usually printed for a stack
    trace.  The line is a string with leading and trailing
    whitespace stripped; if the source is not available it is None.
    r(   )r   Ú _extract_from_extended_frame_genÚ_walk_tb_with_full_positionsr-   s     r#   r   r   =   s&   € ô ×8Ñ8Ü$ RÓ(°ð 9ó 7ð 7r%   zG
The above exception was the direct cause of the following exception:

zF
During handling of the above exception, another exception occurred:

c                   ó   — e Zd Zd„ Zy)Ú	_Sentinelc                  ó   — y)Nz
<implicit>© ©Úselfs    r#   Ú__repr__z_Sentinel.__repr__[   s   € Ør%   N)Ú__name__Ú
__module__Ú__qualname__r7   r4   r%   r#   r2   r2   Z   s   „ ór%   r2   c                 óî   — |t         u |t         u k7  rt        d«      ‚||cxu rt         u rIn ||fS | �@t        | t        «      r| | j                  fS t        dt        | «      j                  › d�«      ‚y||fS )Nz-Both or neither of value and tb must be givenzException expected for value, z found©NN)Ú	_sentinelÚ
ValueErrorÚ
isinstanceÚBaseExceptionÚ__traceback__Ú	TypeErrorÚtyper8   )ÚexcÚvaluer+   s      r#   Ú_parse_value_tbrF   `   s�   € Ø”Ð ¤i Ò0ÜÐHÓIÐIØ�Ó”iÓð �"ˆ9Ðð ˆ?Ü˜#œ}Ô-Ø˜C×-Ñ-Ð-Ð-äÐ<Ü# C›y×1Ñ1Ð2°&ð:ó ;ð ;ð Ø�"ˆ9Ðr%   Tc                ó|   — t        | ||«      \  }}t        t        |«      |||d¬«      }|j                  ||¬«       y)aù  Print exception up to 'limit' stack trace entries from 'tb' to 'file'.

    This differs from print_tb() in the following ways: (1) if
    traceback is not None, it prints a header "Traceback (most recent
    call last):"; (2) it prints the exception type and value after the
    stack trace; (3) if type is SyntaxError and value has the
    appropriate format, it prints the line where the syntax error
    occurred with a caret on the next line indicating the approximate
    position of the error.
    T©r)   Úcompact©r   ÚchainN)rF   r   rC   r    )rD   rE   r+   r)   r   rK   Útes          r#   r   r   o   s<   € ô    U¨BÓ/�I€Eˆ2Ü	œD ›K¨°¸%ÈÔ	N€BØ‡H�H�$˜e€HÕ$r%   c                óŠ   — t        | ||«      \  }}t        t        |«      |||d¬«      }t        |j	                  |¬«      «      S )az  Format a stack trace and the exception information.

    The arguments have the same meaning as the corresponding arguments
    to print_exception().  The return value is a list of strings, each
    ending in a newline and some containing internal newlines.  When
    these lines are concatenated and printed, exactly the same text is
    printed as does print_exception().
    TrH   ©rK   )rF   r   rC   Úlistr   )rD   rE   r+   r)   rK   rL   s         r#   r   r   €   sB   € ô    U¨BÓ/�I€Eˆ2Ü	œD ›K¨°¸%ÈÔ	N€BÜ�—	‘	 �	Ó&Ó'Ð'r%   c                óx   — |t         u r| }t        t        |«      |dd¬«      }t        |j	                  «       «      S )a½  Format the exception part of a traceback.

    The return value is a list of strings, each ending in a newline.

    The list contains the exception's message, which is
    normally a single string; however, for :exc:`SyntaxError` exceptions, it
    contains several lines that (when printed) display detailed information
    about where the syntax error occurred. Following the message, the list
    contains the exception's ``__notes__``.
    NT)rI   )r=   r   rC   rO   r   )rD   rE   rL   s      r#   r   r   �   s9   € ð ”	ÑØˆÜ	œD ›K¨°¸dÔ	C€BÜ�×(Ñ(Ó*Ó+Ð+r%   c                 óD   — t        |d«      }|�|sd| z  }|S | ›d|›d�}|S )NÚ	exceptionz%s
z: Ú
)Ú_safe_string)ÚetyperE   ÚvaluestrÚlines       r#   Ú_format_final_exc_linerX   ¢   s6   € Ü˜E ;Ó/€HØ€}™HØ˜‰~ˆð €Kò #¢HÐ-ˆØ€Kr%   c                 óH   — 	  || «      S #  d|› d|j                   › d�cY S xY w)NÚ<Ú z
() failed>)r8   )rE   ÚwhatÚfuncs      r#   rT   rT   ª   s1   € ð4Ù�E‹{Ðøð4Ø�4�&˜˜$Ÿ-™-˜¨
Ð3Ò3ús   ‚
 Š!c                 óF   — t        t        j                  «       | ||¬«       y)zVShorthand for 'print_exception(sys.exception(), limit=limit, file=file, chain=chain)'.©r)   r   rK   N)r   r   rR   r_   s      r#   r   r   ²   s   € ä”C—M‘M“O¨5°tÀ5ÖIr%   c                 ó`   — dj                  t        t        j                  «       | |¬«      «      S )z%Like print_exc() but return a string.r   ©r)   rK   )Újoinr   r   rR   ra   s     r#   r   r   ¶   s!   € à�7‰7Ô#¤C§M¡M£O¸5ÈÔNÓOÐOr%   c                 ó,  — t        t        d«      st        t        d«      st        d«      ‚t        t        d«      rt        t        j                  | ||¬«       yt        t        j
                  t        j                  t        j                  | ||¬«       y)z]This is a shorthand for 'print_exception(sys.last_exc, limit=limit, file=file, chain=chain)'.Úlast_excÚ	last_typezno last exceptionr_   N)Úhasattrr   r>   r   rd   re   Ú
last_valueÚlast_tracebackr_   s      r#   r   r   º   s`   € ä”3˜
Ô#¬G´C¸Ô,EÜÐ,Ó-Ð-äŒs�JÔÜœŸ™¨E¸ÀEÖJäœŸ™¤s§~¡~´s×7IÑ7IØ#¨$°eö	=r%   c                 ót   — | €t        j                  «       j                  } t        t	        | |¬«      |¬«       y)z÷Print a stack trace from its invocation point.

    The optional 'f' argument can be used to specify an alternate
    stack frame at which to start. The optional 'limit' and 'file'
    arguments have the same meaning as for print_exception().
    Nr(   r*   )r   Ú	_getframeÚf_backr$   r   )Úfr)   r   s      r#   r   r   Ê   s+   € ð 	€yÜ�M‰M‹O×"Ñ"ˆÜŒ}˜Q eÔ,°4Ö8r%   c                 ón   — | €t        j                  «       j                  } t        t	        | |¬«      «      S )z5Shorthand for 'format_list(extract_stack(f, limit))'.r(   )r   rj   rk   r   r   )rl   r)   s     r#   r	   r	   Ö   s*   € à€yÜ�M‰M‹O×"Ñ"ˆÜ”} Q¨eÔ4Ó5Ð5r%   c                 ó¦   — | €t        j                  «       j                  } t        j	                  t        | «      |¬«      }|j                  «        |S )as  Extract the raw traceback from the current stack frame.

    The return value has the same format as for extract_tb().  The
    optional 'f' and 'limit' arguments have the same meaning as for
    print_stack().  Each item in the list is a quadruple (filename,
    line number, function name, text), and the entries are in order
    from oldest to newest stack frame.
    r(   )r   rj   rk   r   Úextractr   Úreverse)rl   r)   Ústacks      r#   r   r   Ý   sA   € ð 	€yÜ�M‰M‹O×"Ñ"ˆÜ× Ñ ¤¨A£°eÐ Ó<€EØ	‡M�M„OØ€Lr%   c                 ó|   — | �+	 | j                   j                  «        | j                  } | �Œ*yy# t        $ r Y Œw xY w)zEClear all references to local variables in the frames of a traceback.N)Útb_frameÚclearÚRuntimeErrorÚtb_next©r+   s    r#   r   r   í   sB   € à
ˆ.ð	Ø�K‰K×ÑÔð �Z‰Zˆð ‹.øô ò 	áð	ús   „/ ¯	;º;c                   óh   — e Zd ZdZdZdddddddœd„Zd„ Zd„ Zd	„ Zd
„ Z	d„ Z
ed„ «       Zed„ «       Zy)r   a>  Information about a single frame from a traceback.

    - :attr:`filename` The filename for the frame.
    - :attr:`lineno` The line within filename for the frame that was
      active when the frame was captured.
    - :attr:`name` The name of the function or method that was executing
      when the frame was captured.
    - :attr:`line` The text from the linecache module for the
      of code that was running when the frame was captured.
    - :attr:`locals` Either None if locals were not supplied, or a dict
      mapping the name to the repr() of the variable.
    )ÚfilenameÚlinenoÚ
end_linenoÚcolnoÚ	end_colnoÚnameÚ_lineÚlocalsTN)Úlookup_liner€   rW   r{   r|   r}   c          
      ó  — || _         || _        || _        || _        |r| j                   |r4|j                  «       D �
�ci c]  \  }
}|
t        |dt        ¬«      “Œ c}}
nd| _        || _	        || _
        |	| _        yc c}}
w )a›  Construct a FrameSummary.

        :param lookup_line: If True, `linecache` is consulted for the source
            code line. Otherwise, the line will be looked up when first needed.
        :param locals: If supplied the frame locals, which will be captured as
            object representations.
        :param line: If provided, use this instead of looking up the line in
            the linecache.
        Úlocal©r]   N)ry   rz   r~   r   rW   ÚitemsrT   Úreprr€   r{   r|   r}   )r6   ry   rz   r~   r�   r€   rW   r{   r|   r}   ÚkÚvs               r#   Ú__init__zFrameSummary.__init__	  sƒ   € ð !ˆŒØˆŒØˆŒ	ØˆŒ
ÙØ�IŠIá+1˜Ÿ™œô(Ù&‘��1ð œ, q¨'¼Ô=Ñ=Ø&ó(Ø7;ð 	Œà$ˆŒØˆŒ
Ø"ˆ�ùó	(s   Á A>c                 ó„  — t        |t        «      rj| j                  |j                  k(  xrO | j                  |j                  k(  xr4 | j                  |j                  k(  xr | j
                  |j
                  k(  S t        |t        «      r1| j                  | j                  | j                  | j                  f|k(  S t        S ©N)	r?   r   ry   rz   r~   r€   ÚtuplerW   ÚNotImplemented©r6   Úothers     r#   Ú__eq__zFrameSummary.__eq__!  s˜   € Ü�eœ\Ô*Ø—M‘M U§^¡^Ñ3ò 0Ø—K‘K 5§<¡<Ñ/ò0à—I‘I §¡Ñ+ò0ð —K‘K 5§<¡<Ñ/ð1ô �eœUÔ#Ø—M‘M 4§;¡;°·	±	¸4¿9¹9ÐEÈÑNÐNÜÐr%   c                 ód   — | j                   | j                  | j                  | j                  f|   S r‹   )ry   rz   r~   rW   )r6   Úposs     r#   Ú__getitem__zFrameSummary.__getitem__+  s&   € Ø—‘˜tŸ{™{¨D¯I©I°t·y±yÐAÀ#ÑFÐFr%   c                 óp   — t        | j                  | j                  | j                  | j                  g«      S r‹   )Úiterry   rz   r~   rW   r5   s    r#   Ú__iter__zFrameSummary.__iter__.  s&   € Ü�T—]‘] D§K¡K°·±¸D¿I¹IÐFÓGÐGr%   c                 óf   — dj                  | j                  | j                  | j                  ¬«      S )Nz7<FrameSummary file {filename}, line {lineno} in {name}>)ry   rz   r~   )r   ry   rz   r~   r5   s    r#   r7   zFrameSummary.__repr__1  s0   € ØH×OÑOØ—]‘]¨4¯;©;¸T¿Y¹Yð Pó Hð 	Hr%   c                  ó   — y)Né   r4   r5   s    r#   Ú__len__zFrameSummary.__len__5  s   € Ør%   c                 ó2   — | j                    | j                  S r‹   )rW   r   r5   s    r#   Ú_original_linezFrameSummary._original_line8  s   € ð 	�	Š	Ø�z‰zÐr%   c                 óÆ   — | j                   €<| j                  €y t        j                  | j                  | j                  «      | _         | j                   j                  «       S r‹   )r   rz   Ú	linecacheÚgetlinery   Ústripr5   s    r#   rW   zFrameSummary.line>  sH   € à�:‰:ÐØ�{‰{Ð"ØÜ"×*Ñ*¨4¯=©=¸$¿+¹+ÓFˆDŒJØ�z‰z×ÑÓ!Ð!r%   )r8   r9   r:   Ú__doc__Ú	__slots__r‰   r�   r“   r–   r7   rš   Úpropertyrœ   rW   r4   r%   r#   r   r   ø   si   „ ñð,€Ið ?CØ˜dØ 4°4ô#ò0òGòHòHòð ñó ðð
 ñ"ó ñ"r%   r   c              #   óÌ   K  — | €<t        j                  «       j                  j                  j                  j                  } | � | | j                  f–— | j                  } | �Œyy­w)zÖWalk a stack yielding the frame and line number for each frame.

    This will follow f.f_back from the given frame. If no frame is given, the
    current stack is used. Usually used with StackSummary.extract.
    N)r   rj   rk   Úf_lineno)rl   s    r#   r   r   G  sS   è ø€ ð 	€yÜ�M‰M‹O×"Ñ"×)Ñ)×0Ñ0×7Ñ7ˆØ
ˆ-Ø�—‘ˆmÒØ�H‰Hˆð ‹-ùs   ‚AA$Á"A$c              #   ód   K  — | �*| j                   | j                  f–— | j                  } | �Œ)yy­w)zÈWalk a traceback yielding the frame and line number for each frame.

    This will follow tb.tb_next (and thus is in the opposite order to
    walk_stack). Usually used with StackSummary.extract.
    N)rs   Ú	tb_linenorv   rw   s    r#   r   r   T  s0   è ø€ ð ˆ.Ø�k‰k˜2Ÿ<™<Ð'Ò'Ø�Z‰Zˆð ‹.ùs   ‚+0®0c              #   óò   K  — | �qt        | j                  j                  | j                  «      }|d   €"| j                  | j                  f|dd  z   f–— n| j                  |f–— | j
                  } | �Œpy y ­w©Nr   é   )Ú_get_code_positionrs   Úf_codeÚtb_lastir§   rv   )r+   Ú	positionss     r#   r0   r0   _  ss   è ø€ ð ˆ.Ü& r§{¡{×'9Ñ'9¸2¿;¹;ÓGˆ	ð �Q‰<ÐØ—+‘+ §¡Ð/°)¸A¸B°-Ñ?Ð?Ó?à—+‘+˜yÐ(Ò(Ø�Z‰Zˆð ‹.ùs   ‚A2A7Á5A7c                 ót   — |dk  ry| j                  «       }t        t        j                  ||dz  d «      «      S )Nr   )NNNNé   )Úco_positionsÚnextÚ	itertoolsÚislice)ÚcodeÚinstruction_indexÚpositions_gens      r#   r«   r«   m  s;   € Ø˜1ÒØ'Ø×%Ñ%Ó'€MÜ”	× Ñ  Ð0AÀQÑ0FÈÓMÓNÐNr%   é   c                   ó`   — e Zd ZdZeddddœd„«       Zeddddœd„«       Zed„ «       Zd	„ Zd
„ Z	y)r   z?A list of FrameSummary objects, representing a stack of frames.NTF©r)   Úlookup_linesÚcapture_localsc                óB   ‡— ˆfd„}| j                   |«       |||¬«      S )aW  Create a StackSummary from a traceback or stack object.

        :param frame_gen: A generator that yields (frame, lineno) tuples
            whose summaries are to be included in the stack.
        :param limit: None to include all frames or the number of frames to
            include.
        :param lookup_lines: If True, lookup lines for each frame immediately,
            otherwise lookup is deferred until the frame is rendered.
        :param capture_locals: If True, the local variables from each frame will
            be captured as object representations into the FrameSummary.
        c               3   ó6   •K  — ‰D ]  \  } }| |d d d ff–— Œ y ­wr‹   r4   )rl   rz   Ú	frame_gens     €r#   Úextended_frame_genz0StackSummary.extract.<locals>.extended_frame_gen‡  s)   øè ø€ Û&‘	��6Ø˜& $¨¨dÐ3Ð3Ó3ñ 'ùs   ƒrº   )r/   )Úklassr¿   r)   r»   r¼   rÀ   s    `    r#   ro   zStackSummary.extracty  s/   ø€ ô	4ð ×5Ñ5ÙÓ ¨¸LØ)ð 6ó +ð 	+r%   c                ó\  — |€t        t        dd «      }|�|dk  rd}|�4|dk\  rt        j                  ||«      }nt	        j
                  || ¬«      } | «       }t        «       }|D ]’  \  }\  }}	}
}|j                  }|j                  }|j                  }|j                  |«       t        j                  ||j                  «       |r|j                  }nd }|j                  t!        |||d||	|
|¬«      «       Œ” |D ]  }t        j"                  |«       Œ |r|D ]  }|j$                   Œ |S )NÚtracebacklimitr   )ÚmaxlenF)r�   r€   r{   r|   r}   )Úgetattrr   r³   r´   ÚcollectionsÚdequeÚsetr¬   Úco_filenameÚco_nameÚaddrž   Ú	lazycacheÚ	f_globalsÚf_localsÚappendr   Ú
checkcacherW   )rÁ   r¿   r)   r»   r¼   ÚresultÚfnamesrl   rz   r{   r|   r}   Úcory   r~   rÎ   s                   r#   r/   z-StackSummary._extract_from_extended_frame_gen�  s+  € ð ˆ=ÜœCÐ!1°4Ó8ˆEØÐ  U¨Q¢YØ�ØÐØ˜ŠzÜ%×,Ñ,¨Y¸Ó>‘	ä'×-Ñ-¨iÀÀÔG�	á“ˆÜ“ˆÛ9BÑ5ˆAÑ5�˜
 E¨9Ø—‘ˆBØ—~‘~ˆHØ—:‘:ˆDà�J‰J�xÔ Ü×Ñ ¨!¯+©+Ô6áØŸ:™:‘à�Ø�M‰Mœ,Ø˜& $°EÀ(Ø%¨U¸iôIõ Jð :Có ˆHÜ× Ñ  Õ*ð ñ Û�Ø—“ð àˆr%   c           	      ó¶   — t        «       }|D ]I  }t        |t        «      r|j                  |«       Œ%|\  }}}}|j                  t        ||||¬«      «       ŒK |S )z€
        Create a StackSummary object from a supplied list of
        FrameSummary objects or old-style list of tuples.
        ©rW   )r   r?   r   rÏ   )rÁ   Úa_listrÑ   Úframery   rz   r~   rW   s           r#   r   zStackSummary.from_list¹  sW   € ô “ˆÛˆEÜ˜%¤Ô.Ø—‘˜eÕ$à/4Ñ,�˜& $¨Ø—‘œl¨8°V¸TÈÔMÕNð ð ˆr%   c                 ó(  — g }|j                  dj                  |j                  |j                  |j                  «      «       |j
                  �rM|j
                  j                  «       }|j                  dj                  |«      «       |j                  }t        |«      }t        |j
                  j                  «       «      }||z
  }|j                  ��Ç|j                  ��ºt        ||j                  «      }t        ||j                  «      }	|||	 }
d}|j                  |j                  k(  r$t        t        «      5  t!        |
«      }ddd«       nt        |j#                  «       «      }	|	|z
  t        |«      k  s |�r|j$                  |j&                  z
  dkD  �r t)        ||«      dz   }t)        ||	«      dz   }|j                  d«       |j                  d||z
  z  «       |r�t)        |
|j&                  «      }t)        |
|j$                  «      }|j                  |j*                  |z  «       |j                  |j,                  ||z
  z  «       |j                  |j*                  ||z
  |z
  z  «       n|j                  d||z
  z  «       |j                  d	«       |j.                  rMt1        |j.                  j3                  «       «      D ]'  \  }}|j                  d
j                  ||¬«      «       Œ) dj5                  |«      S # 1 sw Y   �Œ¥xY w)zÉFormat the lines for a single FrameSummary.

        Returns a string representing one frame involved in the stack. This
        gets called for every frame to be printed in the stack summary.
        z  File "{}", line {}, in {}
ú    {}
Nr   rª   z    r[   Ú^rS   z    {name} = {value}
)r~   rE   r   )rÏ   r   ry   rz   r~   rW   r    rœ   ÚlenÚlstripr|   r}   Ú _byte_offset_to_character_offsetr{   r   Ú	ExceptionÚ(_extract_caret_anchors_from_line_segmentÚrstripÚright_start_offsetÚleft_end_offsetÚ_display_widthÚprimary_charÚsecondary_charr€   Úsortedr…   rb   )r6   Úframe_summaryÚrowÚstripped_linerW   Úorig_line_lenÚframe_line_lenÚstripped_charactersÚstart_offsetÚ
end_offsetÚcode_segmentÚanchorsÚdp_start_offsetÚdp_end_offsetÚdp_left_end_offsetÚdp_right_start_offsetr~   rE   s                     r#   Úformat_frame_summaryz!StackSummary.format_frame_summaryÌ  sº  € ð ˆØ�
‰
Ð2×9Ñ9Ø×"Ñ" M×$8Ñ$8¸-×:LÑ:LóNô 	Oà×ÓØ)×.Ñ.×4Ñ4Ó6ˆMØ�J‰J�z×(Ñ(¨Ó7Ô8à ×/Ñ/ˆDÜ ›IˆMÜ  ×!3Ñ!3×!:Ñ!:Ó!<Ó=ˆNØ"/°.Ñ"@Ðà×#Ñ#Ñ/Ø!×+Ñ+Ñ7ä?Ø˜-×-Ñ-ó /�ä=Ø˜-×1Ñ1ó3�
à# L°Ð<�à�Ø ×'Ñ'¨=×+CÑ+CÒCÜ!¤)Õ,Ü"JÈ<Ó"X˜÷ -Ð,ô
 "% T§[¡[£]Ó!3�Jð  Ñ,¬s°=Ó/AÒAÚ G×$>Ñ$>À×AXÑAXÑ$XÐ[\Ó$\ô '5°T¸<Ó&HÈ1Ñ&L�OÜ$2°4¸Ó$DÀqÑ$H�Mà—J‘J˜vÔ&Ø—J‘J˜s oÐ8KÑ&KÑLÔMáÜ-;¸LÈ'×JaÑJaÓ-bÐ*Ü0>¸|ÈW×MgÑMgÓ0hÐ-ØŸ
™
 7×#7Ñ#7Ð:LÑ#LÔMØŸ
™
 7×#9Ñ#9Ð=RÐUgÑ=gÑ#hÔiØŸ
™
 7×#7Ñ#7¸=È?Ñ;ZÐ]rÑ;rÑ#sÕtàŸ
™
 3¨-¸/Ñ*IÑ#JÔKà—J‘J˜tÔ$à×ÒÜ% m×&:Ñ&:×&@Ñ&@Ó&BÖC‘��eØ—
‘
Ð3×:Ñ:ÀÈEÐ:ÓRÕSð  Dð �w‰w�s‹|Ð÷E -Ñ,ús   Ä>LÌLc                 ó  — g }d}d}d}d}| D ]À  }| j                  |«      }|€Œ|�1||j                  k7  s"|� ||j                  k7  s|�||j                  k7  rW|t        kD  r(|t        z  }|j                  d|› d|dkD  rdnd› d�«       |j                  }|j                  }|j                  }d}|dz  }|t        kD  rŒ°|j                  |«       ŒÂ |t        kD  r(|t        z  }|j                  d|› d|dkD  rdnd› d�«       |S )	a   Format the stack ready for printing.

        Returns a list of strings ready for printing.  Each string in the
        resulting list corresponds to a single frame from the stack.
        Each string ends in a newline; the strings may contain internal
        newlines as well, for those items with source text lines.

        For long sequences of the same frame and line, the first few
        repetitions are shown, followed by a summary line stating the exact
        number of further repetitions.
        Nr   z  [Previous line repeated z
 more timerª   Úsr   z]
)rõ   ry   rz   r~   Ú_RECURSIVE_CUTOFFrÏ   )r6   rÑ   Ú	last_fileÚ	last_lineÚ	last_nameÚcountrç   Úformatted_frames           r#   r   zStackSummary.format  sM  € ð ˆØˆ	Øˆ	Øˆ	ØˆÛ!ˆMØ"×7Ñ7¸ÓFˆOØÐ&ØØÐ! Y°-×2HÑ2HÒ%HØÐ! Y°-×2FÑ2FÒ%FØÐ! Y°-×2DÑ2DÒ%DØÔ,Ò,ØÔ.Ñ.�EØ—M‘MØ4°U°Gð <Ø&+¨a¢i™s°RÐ8¸ð=ôð *×2Ñ2�	Ø)×0Ñ0�	Ø)×.Ñ.�	Ø�Ø�Q‰JˆEØÔ(Ò(ØØ�M‰M˜/Õ*ð) "ð, Ô$Ò$ØÔ&Ñ&ˆEØ�M‰MØ,¨U¨Gð 4Ø# aši‘s¨RÐ0°ð5ôð ˆr%   )
r8   r9   r:   r¡   Úclassmethodro   r/   r   rõ   r   r4   r%   r#   r   r   v  s[   „ ÙIàØ+/¸dØ ó+ó ð+ð* ØDHØ¨eó'ó ð'ðR ñó ðò$?óB-r%   r   c                 ób   — | j                  d«      }t        |d | j                  dd¬«      «      S )Nzutf-8Úreplace)Úerrors)ÚencoderÛ   Údecode)ÚstrÚoffsetÚas_utf8s      r#   rÝ   rÝ   =  s2   € Ø�j‰j˜Ó!€GÜˆw�w˜Ð×&Ñ& w°yÐ&ÓAÓBÐBr%   Ú_Anchors)râ   rá   rä   rå   Ú~rÚ   )Údefaultsc                 ót  ‡ — dd l }	 |j                  ‰ «      }t        |j                  «      dk7  ry ˆ fd„}|j                  d   }||j
                  d˜x��S\  }|x|j                  d˜ x��!\     ||j                  j                  «      } ||j                  j                  «      }‰ || }t        |«      t        |j                  «       «      z
  }	|j                  j                  |	z   }
|
dz   }|	dz   t        |«      k  r||	dz      j                  «       s|dz  }|
t        ‰ «      k  rL‰ |
   x}j                  «       s|dv r3|
dz  }
|dz  }|
t        ‰ «      k  r‰ |
   x}j                  «       rŒ.|dv rŒ3t         ||
«       ||«      «      S  |j                  d˜ x��
\    ||j                  j                  «      }
 ||j                   j                  dz   «      }|
t        ‰ «      k  rI‰ |
   x}j                  «       s|dk7  r/|
dz  }
|
t        ‰ «      k  r‰ |
   x}j                  «       rŒ)|dk7  rŒ/|t        ‰ «      k  rI‰ |   x}j                  «       s|dk7  r/|dz  }|t        ‰ «      k  r‰ |   x}j                  «       rŒ)|dk7  rŒ/|t        ‰ «      k  r|dz  }t        |
|«      S  y  y # t        $ r Y y w xY w)Nr   rª   c                 ó   •— t        ‰| «      S r‹   )rÝ   )r  Úsegments    €r#   Ú<lambda>z:_extract_caret_anchors_from_line_segment.<locals>.<lambda>X  s   ø€ Ô?ÀÈÔPr%   r4   z)#Ú[Ú])ÚastÚparseÚSyntaxErrorrÛ   ÚbodyÚExprÚBinOpÚleftÚend_col_offsetÚrightÚ
col_offsetrÜ   Úisspacer  Ú	SubscriptrE   Úslice)r  r  ÚtreeÚ	normalizeÚ	statementÚexprÚoperator_startÚoperator_endÚoperator_strÚoperator_offsetÚleft_anchorÚright_anchorÚchs   `            r#   rß   rß   M  sÆ  ø€ ÛðØ�y‰y˜Ó!ˆô ˆ4�9‰9ƒ~˜ÒØãP€IØ—	‘	˜!‘€IØ
Ø�X‰X�^ØØ �S—Y‘Y—[Ù%.¨t¯y©y×/GÑ/GÓ%H�NÙ#,¨T¯Z©Z×-BÑ-BÓ#C�LØ#*¨>¸,Ð#G�LÜ&)¨,Ó&7¼#¸l×>QÑ>QÓ>SÓ:TÑ&T�Oà"&§)¡)×":Ñ":¸_Ñ"L�KØ#.°¡?�Là'¨!Ñ+¬c°,Ó.?Ò?Ø ,¨_¸qÑ-@Ñ A× IÑ IÔ Kà$¨Ñ)˜à%¬¨G«Ò4ÀÈÑAUÐ;U¸2×:^Ñ:^Ô:`ÐdfÐjnÑdnØ# qÑ(˜Ø$¨Ñ)˜ð &¬¨G«Ò4ÀÈÑAUÐ;U¸2×:^Ñ:^Õ:`ÐdfÐjnÒdnô $¡I¨kÓ$:¹IÀlÓ<SÓTÐTð# !ð$ —]‘]–_Ù"+¨D¯J©J×,EÑ,EÓ"F�KÙ#,¨T¯Z©Z×-FÑ-FÈÑ-JÓ#K�LØ%¬¨G«Ò4ÀÈÑAUÐ;U¸2×:^Ñ:^Ô:`ÐdfÐjmÒdmØ# qÑ(˜ð &¬¨G«Ò4ÀÈÑAUÐ;U¸2×:^Ñ:^Õ:`ÐdfÐjmÓdmà&¬¨W«Ò5À'È,ÑBWÐ<W¸B×;`Ñ;`Ô;bÐfhÐloÒfoØ$¨Ñ)˜ð '¬¨W«Ò5À'È,ÑBWÐ<W¸B×;`Ñ;`Õ;bÐfhÐloÓfoà#¤c¨'£lÒ2Ø$¨Ñ)˜Ü# K°Ó>Ð>ð %ð ð? ð> øôQ ò Ùðús   ‡J+ Ê+	J7Ê6J7ÚWFc                 ó^   ‡— | j                  «       r|S ddlŠt        ˆfd„| d| D «       «      S )zÂCalculate the extra amount of width space the given source
    code segment might take if it were to be displayed on a fixed
    width output device. Supports wide unicode characters and emojis.r   Nc              3   óT   •K  — | ]  }‰j                  |«      t        v rd nd–— Œ! y­w)r°   rª   N)Úeast_asian_widthÚ_WIDE_CHAR_SPECIFIERS)Ú.0ÚcharÚunicodedatas     €r#   Ú	<genexpr>z!_display_width.<locals>.<genexpr>‰  s1   øè ø€ ð á!ˆDð ×)Ñ)¨$Ó/Ô3HÑH‰ÈaÓOÙ!ùs   ƒ%()Úisasciir/  Úsum)rW   r  r/  s     @r#   rã   rã   ~  s6   ø€ ð ‡|�|„~Øˆãäó à˜˜&‘Móó ð r%   c                   ó    — e Zd Zd„ Zd„ Zdd„Zy)Ú_ExceptionPrintContextc                 ó>   — t        «       | _        d| _        d| _        y )Nr   F)rÈ   ÚseenÚexception_group_depthÚ
need_closer5   s    r#   r‰   z_ExceptionPrintContext.__init__‘  s   € Ü“EˆŒ	Ø%&ˆÔ"Øˆ�r%   c                 ó&   — dd| j                   z  z  S )Nr[   r°   )r7  r5   s    r#   Úindentz_ExceptionPrintContext.indent–  s   € Ø�a˜$×4Ñ4Ñ4Ñ5Ð5r%   Nc              #   óô   K  — |€d}| j                  «       }| j                  r||dz   z  }t        |t        «      rt	        j                   ||d„ «      –— y |D ]  }t	        j                   ||d„ «      –— Œ y ­w)NÚ|r[   c                  ó   — y©NTr4   rÕ   s    r#   r  z-_ExceptionPrintContext.emit.<locals>.<lambda>¡  ó   € ÀTr%   c                  ó   — yr>  r4   rÕ   s    r#   r  z-_ExceptionPrintContext.emit.<locals>.<lambda>¤  r?  r%   )r:  r7  r?   r  Útextwrap)r6   Útext_genÚmargin_charÚ
indent_strÚtexts        r#   Úemitz_ExceptionPrintContext.emit™  sp   è ø€ ØÐØˆKØ—[‘[“]ˆ
Ø×%Ò%Ø˜+¨Ñ+Ñ+ˆJä�h¤Ô$Ü—/‘/ (¨JÑ8IÓJÓJã �Ü—o‘o d¨JÑ8IÓJÓJñ !ùs   ‚A6A8r‹   )r8   r9   r:   r‰   r:  rF  r4   r%   r#   r4  r4  �  s   „ ò ò
6ôKr%   r4  c                   ór   — e Zd ZdZddddddddœd„Zed	„ «       Zd
„ Zd„ Zd„ Z	d„ Z
d„ Zdddœd„Zdddœd„Zy)r   a“  An exception ready for rendering.

    The traceback module captures enough attributes from the original exception
    to this intermediary form to ensure that no references are held, while
    still being able to fully print or format it.

    max_group_width and max_group_depth control the formatting of exception
    groups. The depth refers to the nesting level of the group, and the width
    refers to the size of a single exception group's exceptions array. The
    formatted output is truncated when either limit is exceeded.

    Use `from_exception` to create TracebackException instances from exception
    objects, or the constructor to create TracebackException instances from
    individual components.

    - :attr:`__cause__` A TracebackException of the original *__cause__*.
    - :attr:`__context__` A TracebackException of the original *__context__*.
    - :attr:`exceptions` For exception groups - a list of TracebackException
      instances for the nested *exceptions*.  ``None`` for other exceptions.
    - :attr:`__suppress_context__` The *__suppress_context__* value from the
      original exception.
    - :attr:`stack` A `StackSummary` representing the traceback.
    - :attr:`exc_type` The class of the original traceback.
    - :attr:`filename` For syntax errors - the filename where the error
      occurred.
    - :attr:`lineno` For syntax errors - the linenumber where the error
      occurred.
    - :attr:`end_lineno` For syntax errors - the end linenumber where the error
      occurred. Can be `None` if not present.
    - :attr:`text` For syntax errors - the text where the error
      occurred.
    - :attr:`offset` For syntax errors - the offset into the text where the
      error occurred.
    - :attr:`end_offset` For syntax errors - the end offset into the text where
      the error occurred. Can be `None` if not present.
    - :attr:`msg` For syntax errors - the compiler error message.
    NTFé   é
   )r)   r»   r¼   rI   Úmax_group_widthÚmax_group_depthÚ_seenc                óp	  — |
d u}|
€
t        «       }
|
j                  t        |«      «       || _        |	| _        t
        j                  t        |«      |||¬«      | _        || _	        t        |d«      | _        	 t        |dd «      | _        |r§t!        |t"        «      r—|j$                  | _        |j&                  }|�t)        |«      nd | _        |j*                  }|�t)        |«      nd | _        |j,                  | _        |j.                  | _        |j0                  | _        |j2                  | _        �n|rSt!        |t4        «      rCt        |dd «      �6t        |dd «      }t7        |||«      }|rÚ| xj                  d|› d�z  c_        nÀ|r¾t!        |t8        t:        f«      r¨t        |dd «      �›t        |dd «      }t7        |||«      }|r| xj                  d|› d�z  c_        t!        |t8        «      rVt        |dd «      }|�G|t<        j>                  v r5|r| xj                  d	|› d
�z  c_        n| xj                  d|› d
�z  c_        |r| jA                  «        |�|jB                  nd| _!        |�s| |fg}|�r
|jE                  «       \  }}|ri|jF                  �]t        |jF                  «      |
vrFtI        tK        |jF                  «      |jF                  |jF                  jL                  |||||	|
¬«	      }nd }|r|d u xr |d uxr |jB                   }nd}|rk|jN                  �_|r]t        |jN                  «      |
vrFtI        tK        |jN                  «      |jN                  |jN                  jL                  |||||	|
¬«	      }nd }|r\tQ        |tR        «      rLg }|jT                  D ]:  }tI        tK        |«      ||jL                  |||||	|
¬«	      }|jW                  |«       Œ< nd }||_#        ||_'        ||_*        |r'|jW                  |jF                  |jF                  f«       |r'|jW                  |jN                  |jN                  f«       |r/|jY                  t[        |jT                  |jT                  «      «       |r�Œ	y y y # t        $ r%}dt        |dt        «      › �g| _        Y d }~�Œ%d }~ww xY w)Nrº   rR   Ú	__notes__z!Ignored error getting __notes__: Ú	name_fromz. Did you mean: 'z'?r~   z Or did you forget to import 'Ú'z. Did you forget to import 'F)r)   r»   r¼   rJ  rK  rL  T).rÈ   rË   ÚidrJ  rK  r   r/   r0   rq   Úexc_typerT   Ú_strrÅ   rN  rÞ   r†   Ú
issubclassr  ry   rz   r  r{   rE  r  rî   ÚmsgÚImportErrorÚ_compute_suggestion_errorÚ	NameErrorÚAttributeErrorr   Ústdlib_module_namesÚ_load_linesÚ__suppress_context__ÚpopÚ	__cause__r   rC   rA   Ú__context__r?   ÚBaseExceptionGroupÚ
exceptionsrÏ   ÚextendÚzip)r6   rR  Ú	exc_valueÚexc_tracebackr)   r»   r¼   rI   rJ  rK  rL  Úis_recursive_callÚeÚlnoÚend_lnoÚ
wrong_nameÚ
suggestionÚqueuerL   ÚcauseÚneed_contextÚcontextra  rD   Útexcs                            r#   r‰   zTracebackException.__init__Î  so  € ð "¨Ð-ÐØˆ=Ü“EˆEØ�	‰	”"�Y“-Ô à.ˆÔØ.ˆÔä!×BÑBÜ(¨Ó7Ø lØ)ð Có +ˆŒ
ð !ˆŒô ! ¨KÓ8ˆŒ	ð	ZÜ$ Y°¸TÓBˆDŒNñ
 œ
 8¬[Ô9à%×.Ñ.ˆDŒMØ×"Ñ"ˆCØ&) oœ#˜cœ(¸4ˆDŒKØ×*Ñ*ˆGØ.5Ð.Aœc 'œlÀtˆDŒOØ!Ÿ™ˆDŒIØ#×*Ñ*ˆDŒKØ'×2Ñ2ˆDŒOØ —}‘}ˆDŽHÙœ* X¬{Ô;Ü˜	 ;°Ó5ÐAÜ  ¨K¸Ó>ˆJÜ2°9¸mÈZÓXˆJÙØ—	’	Ð0°°¸BÐ?Ñ?–	Ùœ* X´	¼>Ð/JÔKÜ˜	 6¨4Ó0Ð<Ü  ¨F°DÓ9ˆJÜ2°9¸mÈZÓXˆJÙØ—	’	Ð0°°¸BÐ?Ñ?•	Ü˜(¤IÔ.Ü$ Y°¸Ó=�
ØÐ)¨j¼C×<SÑ<SÑ.SÙ!ØŸ	š	Ð'EÀjÀ\ÐQRÐ%SÑSž	àŸ	š	Ð'CÀJÀ<ÈqÐ%QÑQ�	ÙØ×ÑÔà.7Ð.CˆI×*Ò*Èð 	Ô!ò
 !Ø˜IÐ&Ð'ˆEÚØŸ	™	›‘��AÙ˜!Ÿ+™+Ð1Ü˜1Ÿ;™;›¨uÑ4Ü.Ü˜QŸ[™[Ó)ØŸ™ØŸ™×1Ñ1Ø#Ø%1Ø'5Ø(7Ø(7Ø#ô	%‘Eð !�EáØ$)¨T Mò %?Ø$%¨T Mò%?à()×(>Ñ(>Ð$>ñ !ð $(�LÙ˜!Ÿ-™-Ð3Ù$¬¨A¯M©MÓ):À%Ñ)GÜ0Ü˜QŸ]™]Ó+ØŸ™ØŸ™×3Ñ3Ø#Ø%1Ø'5Ø(7Ø(7Ø#ô	%‘Gð #�Gáœ AÔ'9Ô:Ø!#�JØ Ÿ|œ|˜Ü1Ü  ›IØØ×-Ñ-Ø"'Ø)5Ø+9Ø,;Ø,;Ø"'ô	 )˜ð #×)Ñ)¨$Õ/ñ  ,ð "&�Jà$�”Ø!(�”Ø *�”ÙØ—L‘L "§,¡,°·±Ð!<Ô=ÙØ—L‘L "§.¡.°!·-±-Ð!@ÔAÙØ—L‘L¤ R§]¡]°A·L±LÓ!AÔBõ ð !øôS ò 	Zà3´LÀÀKÔQUÓ4VÐ3WÐXðZˆD�NŠNûð	Zús   Á9R Ò	R5ÒR0Ò0R5c                 óD   —  | t        |«      ||j                  g|¢­i |¤ŽS )z.Create a TracebackException from an exception.)rC   rA   )ÚclsrD   ÚargsÚkwargss       r#   Úfrom_exceptionz!TracebackException.from_exceptionS  s'   € ñ ”4˜“9˜c 3×#4Ñ#4ÐF°tÒF¸vÑFÐFr%   c                 ó>   — | j                   D ]  }|j                   Œ y)z7Private API. force all lines in the stack to be loaded.N)rq   rW   )r6   r×   s     r#   r[  zTracebackException._load_linesX  s   € à—Z”ZˆEØ�J‹Jñ  r%   c                 ó`   — t        |t        «      r| j                  |j                  k(  S t        S r‹   )r?   r   Ú__dict__r�   rŽ   s     r#   r�   zTracebackException.__eq__]  s&   € Ü�eÔ/Ô0Ø—=‘= E§N¡NÑ2Ð2ÜÐr%   c                 ó   — | j                   S r‹   )rS  r5   s    r#   Ú__str__zTracebackException.__str__b  s   € Ø�y‰yÐr%   c              #   ó4  K  — | j                   €t        d| j                  «      –— y| j                   j                  }| j                   j                  }|dvrt        |t        «      sd}|dz   |z   }t        | j                   t        «      st        || j                  «      –— n| j                  |«      E d{  –—†  t        | j                  t        j                  j                  «      rht        | j                  t        t        f«      sH| j                  D ]8  }t        |d«      }|j!                  d«      D �cg c]  }|dz   ‘Œ	 c}E d{  –—†  Œ: y| j                  �.dj#                  t        | j                  dt$        ¬	«      «      –— yy7 ŒÕc c}w 7 ŒI­w)
aë  Format the exception part of the traceback.

        The return value is a generator of strings, each ending in a newline.

        Generator yields the exception message.
        For :exc:`SyntaxError` exceptions, it
        also yields (before the exception message)
        several lines that (when printed)
        display detailed information about where the syntax error occurred.
        Following the message, generator also yields
        all the exception's ``__notes__``.
        N)Ú__main__Úbuiltinsz	<unknown>Ú.ÚnoterS   z{}
rN  r„   )rR  rX   rS  r:   r9   r?   r  rT  r  Ú_format_syntax_errorrN  rÆ   ÚabcÚSequenceÚbytesrT   Úsplitr   r†   )r6   ÚstypeÚsmodr  Úls        r#   r   z(TracebackException.format_exception_onlye  sE  è ø€ ð �=‰=Ð Ü(¨¨t¯y©yÓ9Ò9Øà—‘×*Ñ*ˆØ�}‰}×'Ñ'ˆØÐ/Ñ/Ü˜d¤CÔ(Ø"�Ø˜3‘J Ñ&ˆEä˜$Ÿ-™-¬Ô5Ü(¨°·	±	Ó:Ó:à×0Ñ0°Ó7×7Ð7ô �t—~‘~¤{§¡×'?Ñ'?Ô@Ü˜tŸ~™~´´U¨|Ô<àŸœ�Ü# D¨&Ó1�Ø.2¯j©j¸Ô.>Ó?Ñ.>¨˜A ›HÐ.>Ñ?×?Ñ?ñ 'ð �^‰^Ð'Ø—-‘-¤¨T¯^©^¸[ÌtÔ TÓUÓUð (ð 8úò @Ð?ús2   ‚B7FÂ9FÂ:B FÄ:FÅFÅFÅAFÆFc              #   óî  K  — d}| j                   �-dj                  | j                  xs d| j                   «      –— n'| j                  �dj                  | j                  «      }| j                  }|�Ü|j	                  d«      }|j                  d«      }t        |«      t        |«      z
  }dj                  |«      –— | j                  �„| j                  }| j                  d	vr| j                  n|}||k(  s|d
k(  r|dz   }|dz
  |z
  }	|dz
  |z
  }
|	dk\  r8d„ |d|	 D «       }dj                  dj                  |«      d|
|	z
  z  dz   «      –— | j                  xs d}dj                  |||«      –— y­w)z0Format SyntaxError exceptions (internal helper).r   Nz  File "{}", line {}
z<string>z ({})rS   z 
rÙ   >   Nr   éÿÿÿÿrª   r   c              3   óD   K  — | ]  }|j                  «       r|nd –— Œ y­w)r[   N)r  )r-  Úcs     r#   r0  z:TracebackException._format_syntax_error.<locals>.<genexpr>«  s   è ø€ Ð!UÁ}À!¨¯	©	¬¡1¸Ó#<Á}ùs   ‚ z    {}{}rÚ   z<no detail available>z	{}: {}{}
)rz   r   ry   rE  rà   rÜ   rÛ   r  rî   rb   rU  )r6   r…  Úfilename_suffixrE  ÚrtextÚltextÚspacesr  rî   r|   r}   Ú
caretspacerU  s                r#   r€  z'TracebackException._format_syntax_errorŒ  sp  è ø€ ð ˆØ�;‰;Ð"Ø*×1Ñ1Ø—‘Ò+ ¨T¯[©[ó:ó :à�]‰]Ð&Ø%Ÿn™n¨T¯]©]Ó;ˆOà�y‰yˆØÐð —K‘K Ó%ˆEØ—L‘L Ó)ˆEÜ˜“Z¤# e£*Ñ,ˆFØ×#Ñ# EÓ*Ò*à�{‰{Ð&ØŸ™�Ø04·±ÀyÑ0P˜TŸ_š_ÐV\�
Ø˜ZÒ'¨:¸Ò+;Ø!'¨!¡�Jð  ™
 VÑ+�Ø&¨™N¨VÑ3�	Ø˜A’:á!UÀuÈVÈeÁ}Ó!U�JØ$×+Ñ+¨B¯G©G°JÓ,?À#ÈÐUZÑIZÑB[Ð^bÑBbÓdÒdØ�h‰hÒ1Ð1ˆØ×!Ñ! %¨¨oÓ>Ó>ùs   ‚E3E5©rK   Ú_ctxc          	   #   ó¤  K  — |€
t        «       }g }| }|ri|rz|j                  �t        }|j                  }n/|j                  �|j                  st
        }|j                  }nd}d}|j                  ||f«       |}|rŒfn|j                  d|f«       t        |«      D �]  \  }}|�|j                  |«      E d{  –—†  |j                  €~|j                  rJ|j                  d«      E d{  –—†  |j                  |j                  j                  «       «      E d{  –—†  |j                  |j                  «       «      E d{  –—†  Œ¬|j                  | j                  kD  r(|j                  d| j                  › d�«      E d{  –—†  Œí|j                  dk(  }|r|xj                  dz  c_        |j                  rP|j                  d|rdnd¬	«      E d{  –—†  |j                  |j                  j                  «       «      E d{  –—†  |j                  |j                  «       «      E d{  –—†  t        |j                  «      }	|	| j                   k  r|	}
n| j                   dz   }
d
|_        t%        |
«      D �]  }||
dz
  k(  }|rd|_        | j                   �|| j                   k\  }nd
}|s|dz   › nd}|j'                  «       |dk(  rdndz   d|› d�z   –— |xj                  dz  c_        |s)|j                  |   j                  ||¬«      E d{  –—†  n8|	| j                   z
  }|dkD  rdnd}|j                  d|› d|› d�«      E d{  –—†  |r(|j"                  r|j'                  «       dz   –— d
|_        |xj                  dz  c_        �Œ |s�Œü|j                  dk(  sJ ‚d|_        �Œ y7 �Œû7 �ŒÍ7 �ŒŸ7 �Œ{7 �Œ=7 �Œî7 �ŒÀ7 �Œœ7 Œ·7 Œ€­w)a¼  Format the exception.

        If chain is not *True*, *__cause__* and *__context__* will not be formatted.

        The return value is a generator of strings, each ending in a newline and
        some containing internal newlines. `print_exception` is a wrapper around
        this method which just prints the lines to a file.

        The message indicating which exception occurred is always the last
        string in the output.
        Nz#Traceback (most recent call last):
z... (max_group_depth is z)
r   rª   z3Exception Group Traceback (most recent call last):
Ú+)rC  FTz...z+-z  z+---------------- z ----------------
r‘  r÷   r   zand z more exceptionrS   z&+------------------------------------
)r4  r^  Ú_cause_messager_  r\  Ú_context_messagerÏ   ÚreversedrF  ra  rq   r   r   r7  rK  rÛ   rJ  r8  Úranger:  )r6   rK   r’  ÚoutputrD   Úchained_msgÚchained_excrU  Úis_toplevelÚnum_excsÚnÚird   Ú	truncatedÚtitleÚ	remainingÚplurals                    r#   r   zTracebackException.format°  sÁ  è ø€ ð ˆ<Ü)Ó+ˆDàˆØˆÙÙØ—=‘=Ð,Ü"0�KØ"%§-¡-‘KØ—o‘oÐ2Ø×2Ò2Ü"2�KØ"%§/¡/‘Kà"&�KØ"&�Kà—‘˜{¨CÐ0Ô1Ø!�ó ð �M‰M˜4 ˜+Ô&ä  ×(‰HˆC�ØˆØŸ9™9 S›>×)Ð)Ø�~‰~Ð%Ø—9’9Ø#Ÿy™yÐ)OÓP×PÐPØ#Ÿy™y¨¯©×)9Ñ)9Ó);Ó<×<Ð<ØŸ9™9 S×%>Ñ%>Ó%@ÓA×AÑAØ×+Ñ+¨d×.BÑ.BÒBàŸ9™9Ø.¨t×/CÑ/CÐ.DÀCÐHóJ÷ Jñ Jð  $×9Ñ9¸QÑ>�ÙØ×.Ò.°!Ñ3Õ.à—9’9Ø#Ÿy™yØNÙ-8¡c¸dð  )ó  D÷ Dð Dð  $Ÿy™y¨¯©×)9Ñ)9Ó);Ó<×<Ð<àŸ9™9 S×%>Ñ%>Ó%@ÓA×AÐAÜ˜sŸ~™~Ó.�Ø˜t×3Ñ3Ò3Ø ‘Aà×,Ñ,¨qÑ0�AØ"'�”Ü˜qŸ�AØ ! Q q¡S¡�HÙà*.˜œà×+Ñ+Ð7Ø%&¨$×*>Ñ*>Ñ%>™	à$)˜	Ù,5˜q ™s™e¸5�EØŸ;™;›=Ø$% q¢D™D¨dñ4à/°¨wÐ6IÐJñKò Lð ×.Ò.°!Ñ3Õ.Ù$Ø#&§>¡>°!Ñ#4×#;Ñ#;À%ÈdÐ#;Ó#S×SÑSà$,¨t×/CÑ/CÑ$C˜	Ø(1°Aª¡¸2˜Ø#'§9¡9Ø" 9 +¨_¸V¸HÀBÐGó$I÷ Ið Iñ   D§O¢OØ#Ÿ{™{›}ØHñ Iò Jà*/˜œØ×.Ò.°!Ñ3×.ð7 "ó: Ø×5Ñ5¸Ò:Ð:Ð:Ø12�DÖ.ñ} )à)ùð QùØ<ùØAùðJùðDùð =ùàAùð. TøðIúsÄ   ‚A:OÁ=<OÂ9N4Â:0OÃ*N7Ã+0OÄN:Ä&OÅN=ÅA OÆO ÆAOÇOÇ0OÈOÈ&OÈ-O	È.C&OÌOÌ8OÍOÍAOÎOÎ7OÎ:OÎ=OÏ OÏOÏOÏ	OÏOÏOrJ   c                ór   — |€t         j                  }| j                  |¬«      D ]  }t        ||d¬«       Œ y)z7Print the result of self.format(chain=chain) to 'file'.NrN   r   r   )r   r   r   r    )r6   r   rK   rW   s       r#   r    zTracebackException.print  s1   € àˆ<Ü—:‘:ˆDØ—K‘K e�KÖ,ˆDÜ�$˜T rÖ*ñ -r%   )r8   r9   r:   r¡   r‰   rþ   ru  r[  r�   rz  r   r€  r   r    r4   r%   r#   r   r   §  sq   „ ñ$ðL EIØ¨e¸UØ°¸$ôCCðJ ñGó ðGòò
ò
ò%VòN"?ðH #¨ô b3ðJ !¨õ +r%   r   iî  é(   r°   rª   c                 óh   — | |k(  ry| j                  «       |j                  «       k(  rt        S t        S )Nr   )ÚlowerÚ
_CASE_COSTÚ
_MOVE_COST)Úch_aÚch_bs     r#   Ú_substitution_costr¬  #  s,   € Øˆt‚|ØØ‡z�zƒ|�t—z‘z“|Ò#ÜÐÜÐr%   c                 óŒ  — |�t        |t        «      sy t        | t        «      r| j                  }	 t	        |«      }nçt        | t        «      r"	 t        | j                  «      }t	        |«      }nµt        | t        «      sJ ‚|€y |j                  �|j                  }|j                  �Œ|j                  }t        |j                  «      t        |j                  «      z   t        |j                  «      z   }d|j                  v r |j                  d   }t!        ||«      rd|› �S t#        |«      t$        kD  ry t#        |«      }|t&        kD  ry |}	d }
|D ]Q  }||k(  rŒ	t#        |«      |z   dz   t(        z  dz  }t+        ||	dz
  «      }t-        |||«      }||kD  rŒF|
r||	k  sŒN|}
|}	ŒS |
S # t
        $ r Y y w xY w# t
        $ r Y y w xY w)Nr6   zself.r¸   é   rª   )r?   r  rY  ÚobjÚdirrÞ   rV  Ú
__import__r~   rX  rv   rs   rO   rÎ   rÍ   Ú
f_builtinsrf   rÛ   Ú_MAX_CANDIDATE_ITEMSÚ_MAX_STRING_SIZEr©  ÚminÚ_levenshtein_distance)rd  r+   rj  r¯  ÚdÚmodr×   r6   Úwrong_name_lenÚbest_distancerk  Úpossible_nameÚmax_distanceÚcurrent_distances                 r#   rW  rW  +  sÜ  € ØÐ¤¨J¼Ô!<ØÜ�)œ^Ô,Ø�m‰mˆð	Ü�C“‰Aô 
�Iœ{Ô	+ð	Ü˜YŸ^™^Ó,ˆCÜ�C“‰Aô ˜)¤YÔ/Ð/Ð/àˆ:ØØ�j‰jÐ$Ø—‘ˆBð �j‰jÑ$à—‘ˆä�—‘Ó Ü�5—?‘?Ó#ñ$ä�5×#Ñ#Ó$ñ%ð 	
ð �U—^‘^Ñ#Ø—>‘> &Ñ)ˆDÜ�t˜ZÔ(Ø˜z˜lÐ+Ð+ô ˆ1ƒvÔ$Ò$ØÜ˜“_€NØÔ(Ò(ØØ"€MØ€JÛˆØ˜JÒ&àä˜MÓ*¨^Ñ;¸aÑ?Ä:ÑMÐQRÑRˆä˜<¨¸Ñ):Ó;ˆÜ0°¸]ÈLÓYÐØ˜lÒ*ØÙÐ-°Ó=Ø&ˆJØ,‰Mð ð Ðøôi ò 	Ùð	ûô ò 	Ùð	ús#   ±F( Á F7 Æ(	F4Æ3F4Æ7	GÇGc           	      ó
  — | |k(  ryd}| |d  r+||d  r&| |   ||   k(  r|dz  }| |d  r||d  r| |   ||   k(  rŒ| |d  } ||d  }d}| d |xs d  rC|d |xs d  r:| |dz
     ||dz
     k(  r)|dz  }| d |xs d  r|d |xs d  r| |dz
     ||dz
     k(  rŒ)| d |xs d  } |d |xs d  }| r|st         t        | «      t        |«      z   z  S t        | «      t        kD  st        |«      t        kD  r|dz   S t        |«      t        | «      k  r|| }} t        |«      t        | «      z
  t         z  |kD  r|dz   S t        t	        t         t         t        | «      dz   z  t         «      «      }d}t	        t        |«      «      D ]Š  }||   }|t         z  x}	}t
        j                  }
t	        t        | «      «      D ]E  }|	t        || |   «      z   }||   }	t        ||	«      t         z   }t        ||«      }|||<   ||
k  sŒD|}
ŒG |
|kD  sŒ…|dz   c S  |S r©   )	r©  rÛ   r´  rO   r˜  r   Úmaxsizer¬  rµ  )ÚaÚbÚmax_costÚpreÚpostrè   rÑ   ÚbindexÚbcharÚdistanceÚminimumÚindexÚ
substituteÚinsert_deletes                 r#   r¶  r¶  i  se  € ð 	ˆA‚vØð €CØ
ˆCˆD‰'�a˜˜‘g ! C¡&¨A¨c©FÒ"2Øˆq‰ˆð ˆCˆD‰'�a˜˜‘g ! C¡&¨A¨c©FÓ"2à	ˆ#ˆ$ˆ€AØ	ˆ#ˆ$ˆ€AØ€DØ
ˆMˆTŠ\�TÑ
˜q  $¢,¨$Ñ/°A°d¸1±f±IÀÀ4ÈÁ6ÁÒ4JØ�‰	ˆð ˆMˆTŠ\�TÑ
˜q  $¢,¨$Ñ/°A°d¸1±f±IÀÀ4ÈÁ6ÁÓ4Jà	ˆ-ˆ4Š<�4Ð€AØ	ˆ-ˆ4Š<�4Ð€AÙ‘AÜœS ›V¤c¨!£f™_Ñ-Ð-Ü
ˆ1ƒvÔ Ò ¤C¨£FÔ-=Ò$=Ø˜!‰|Ðô ˆ1ƒv”�A“‚Ø�!ˆ1ˆô 	ˆA‹”�Q“‰œ:Ñ%¨Ò0Ø˜!‰|Ðô
 Œu”Z¤¬s°1«v¸©zÑ!:¼JÓGÓ
H€Cà€FÜœ˜A›–-ˆØ�&‘	ˆØ"¤ZÑ/Ð/ˆ�6Ü—+‘+ˆÜœ3˜q›6–]ˆEà!Ô$6°u¸aÀ¹hÓ$GÑGˆJà˜5‘zˆHô   ¨Ó1´JÑ>ˆMÜ˜¨
Ó3ˆFð  ˆC�‰JØ˜ÓØ ‘ð #ð �XÓà˜a‘<Òð)  ð* €Mr%   r‹   r<   )NNTr>  )NNN)8r¡   Úcollections.abcrÆ   r³   rž   r   rA  Ú
contextlibr   Ú__all__r$   r   r   r
   r   r•  r–  r2   r=   rF   r   r   r   rX   r  rT   r   r   r   r   r	   r   r   r   r   r   r0   r«   rø   rO   r   rÝ   Ú
namedtupler  rß   r,  rã   r4  r   r³  r´  r©  r¨  r¬  rW  r¶  r4   r%   r#   Ú<module>rÐ     s€  ðÙ Fã Û Û Û 
Û Ý ò$€ó'ò;ó$7ó0ó7ð*&ð ð
&ð ÷
ñ ñ ‹K€	òð #,°	ÀØ Tó%ð" $-°À$Øó(ð )2ó ,ò&ð $'ó 4óJóPó	=ó 	9ó6óò ÷L"ñ L"ò^
òòòOð Ð ôD�4ô DòNCð
 "ˆ;×!Ñ!Øòð �3ˆZô	€ò-ð^ Ð ò÷$Kñ K÷.s+ñ s+ðl Ð ØÐ Ø€
Ø€
òò;ó|:r%   