
Ebc           @   s  d  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 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 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% i d d 6d d 6d d  6d! d" 6d# d$ 6d% d& 6d' d' 6d( d) 6Z& e' e( d*  rd* Z) n d+ Z) d, g Z* y d- d. Ue* j+ d/  Wn e, k
 rn Xy d0 d. UWn e, k
 r=e- Z. n Xe/ Z. d1   Z0 d. e- e/ d2  Z2 d3   Z3 d4   Z4 d5 e5 f d6     YZ6 d7 e5 f d8     YZ7 d9 e8 f d:     YZ9 d; e% f d<     YZ: d= e% f d>     YZ; d? e< f d@     YZ= dA e% f dB     YZ> d. S(C   s0   Compiles nodes from the parser into Python code.i(   t
   namedtuple(   t   update_wrapper(   t   chain(   t	   iskeyword(   t   escape(   t   Markupi   (   t   nodes(   t   imap(   t	   iteritems(   t   izip(   t   NativeStringIO(   t
   range_type(   t   string_types(   t	   text_type(   t   TemplateAssertionError(   t   Symbols(   t   VAR_LOAD_ALIAS(   t   VAR_LOAD_PARAMETER(   t   VAR_LOAD_RESOLVE(   t   VAR_LOAD_UNDEFINED(   t   EvalContext(   t	   Optimizer(   t   concat(   t   NodeVisitors   ==t   eqs   !=t   net   >t   gts   >=t   gteqt   <t   lts   <=t   lteqt   ins   not int   notinR   t   itemst   divisions%   from __future__ import generator_stopNt   generator_stops   def f(): yield from x()c            s     f d   } t  |    S(   Nc            s`   |  j  rM | j j rM |  j j | | j  } | | k rM |  j | |  Sn    |  | | |  S(   N(   t	   optimizedt   eval_ctxt   volatilet	   optimizert   visit(   t   selft   nodet   framet   kwargst   new_node(   t   f(    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   new_funcC   s
    (   R   (   R/   R0   (    (   R/   sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   optimizeconstB   s    c         C   si   t  |  t j  s! t d   n  | j | | | | | |  } | j |   | d k re | j j   Sd S(   s+   Generate the python source for a node tree.s    Can't compile non template nodesN(	   t
   isinstanceR   t   Templatet	   TypeErrort   code_generator_classR)   t   Nonet   streamt   getvalue(   R+   t   environmentt   namet   filenameR7   t
   defer_initR%   t	   generator(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   generateN   s    c         C   s   |  d k s$ |  t k s$ |  t k r( t St |   t t t t t	 t
 f t k rT t St |   t t t t f k r x |  D] } t |  sy t Sqy Wt St |   t k r x: t |   D], \ } }  t |  s t St |   s t Sq Wt St S(   s)   Does the node have a safe representation?N(   R6   t   NotImplementedt   Ellipsist   Truet   typet   boolt   intt   floatt   complexR   R   R   t   tuplet   listt   sett	   frozensett   has_safe_reprt   Falset   dictR   (   t   valuet   itemt   key(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRK   \   s"    $(c         C   sI   t  |  } y" x |  D] } | j |  q WWn t k
 rA n X| j S(   s   Check if the names passed are accessed undeclared.  The return value
    is a set of all the undeclared names from the sequence of names found.
    (   t   UndeclaredNameVisitorR)   t   VisitorExitt
   undeclared(   R   t   namest   visitorR+   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   find_undeclaredq   s    t   MacroRefc           B   s   e  Z d    Z RS(   c         C   s(   | |  _  t |  _ t |  _ t |  _ d  S(   N(   R+   RL   t   accesses_callert   accesses_kwargst   accesses_varargs(   R*   R+   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   __init__   s    			(   t   __name__t
   __module__R[   (    (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRW   ~   s   t   Framec           B   sA   e  Z d  Z d d d  Z d   Z e d  Z d   Z e Z	 RS(   s&   Holds compile time information for us.c         C   s   | |  _  t | r | j p d  d | |  _ t |  _ t |  _ | oK | j |  _ d  |  _ | ri | j	 pl d  |  _	 | |  _
 | d  k	 r | j |  _ n  d  S(   Nt   level(   R&   R   t   symbolsR6   RL   t   toplevelt	   rootlevelt   require_output_checkt   buffert   blockt   parent(   R*   R&   Rf   R_   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR[      s    	$				c         C   s;   t  j |  j  } | j j |  j  |  j j   | _ | S(   s!   Create a copy of the current one.(   t   objectt   __new__t	   __class__t   __dict__t   updateR`   t   copy(   R*   t   rv(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRl      s    c         C   s3   | r# t  |  j d |  j j d St  |  j |   S(   s   Return an inner frame.R_   i   (   R^   R&   R`   R_   (   R*   t   isolated(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   inner   s    c         C   s   |  j    } t | _ | S(   s  Return a soft frame.  A soft frame may not be modified as
        standalone thing as it shares the resources with the frame it
        was created of, but it's not a rootlevel frame any longer.

        This is only used to implement if-statements.
        (   Rl   RL   Rb   (   R*   Rm   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   soft   s    	N(
   R\   R]   t   __doc__R6   R[   Rl   RL   Ro   Rp   t   __copy__(    (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR^      s   		RR   c           B   s   e  Z d  Z RS(   s?   Exception used by the `UndeclaredNameVisitor` to signal a stop.(   R\   R]   Rq   (    (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRR      s   t   DependencyFinderVisitorc           B   s2   e  Z d  Z d   Z d   Z d   Z d   Z RS(   s.   A visitor that collects filter and test calls.c         C   s   t    |  _ t    |  _ d  S(   N(   RI   t   filterst   tests(   R*   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR[      s    c         C   s$   |  j  |  |  j j | j  d  S(   N(   t   generic_visitRt   t   addR:   (   R*   R+   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Filter   s    c         C   s$   |  j  |  |  j j | j  d  S(   N(   Rv   Ru   Rw   R:   (   R*   R+   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt
   visit_Test   s    c         C   s   d S(   s   Stop visiting at blocks.N(    (   R*   R+   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Block   t    (   R\   R]   Rq   R[   Rx   Ry   Rz   (    (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRs      s
   			RQ   c           B   s)   e  Z d  Z d   Z d   Z d   Z RS(   s   A visitor that checks if a name is accessed without being
    declared.  This is different from the frame visitor as it will
    not stop at closure frames.
    c         C   s   t  |  |  _ t    |  _ d  S(   N(   RI   RT   RS   (   R*   RT   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR[      s    c         C   sl   | j  d k rU | j |  j k rU |  j j | j  |  j |  j k rh t    qh n |  j j | j  d  S(   Nt   load(   t   ctxR:   RT   RS   Rw   RR   t   discard(   R*   R+   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt
   visit_Name   s
    !c         C   s   d S(   s   Stop visiting a blocks.N(    (   R*   R+   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRz      R{   (   R\   R]   Rq   R[   R   Rz   (    (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRQ      s   		t   CompilerExitc           B   s   e  Z d  Z RS(   s   Raised if the compiler encountered a situation where it just
    doesn't make sense to further process the code.  Any block that
    raises such an exception is not further processed.
    (   R\   R]   Rq   (    (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR      s   t   CodeGeneratorc           B   sX  e  Z dj e e d   Z d   Z d   Z d   Z e d  Z	 d   Z
 d d  Z dj d  Z d	   Z dj d
  Z d   Z d   Z dj d d  Z dj d d  Z dj d  Z d   Z d   Z e d  Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z  d   Z! d   Z" d    Z# d!   Z$ d"   Z% d#   Z& d$   Z' dj d%  Z( d&   Z) d'   Z* d(   Z+ d)   Z, d*   Z- d+   Z. d,   Z/ d-   Z0 d.   Z1 d/   Z2 d0   Z3 d1   Z4 e5 d2 dk  Z6 e7 Z8 dj Z9 d5   Z: d6   Z; d7   Z< d8   Z= d9   Z> d:   Z? d;   Z@ d<   ZA d=   ZB d>   ZC d?   ZD d@   ZE dA   ZF dB   ZG dC   ZH e dD  ZI e dE  ZJ eI dF  ZK eI dG  ZL eI dH  ZM eI dI  ZN eI dJ  ZO eI dK  ZP eI dL  ZQ eI dM dN e ZR eI dO dN e ZS eJ dF  ZT eJ dG  ZU eJ dP dN e ZV [I [J eW dQ    ZX eW dR    ZY dS   ZZ eW dT    Z[ eW dU    Z\ dV   Z] eW dW    Z^ eW dX    Z_ eW dY    Z` eW e dZ   Za d[   Zb d\   Zc d]   Zd d^   Ze d_   Zf d`   Zg da   Zh db   Zi dc   Zj dd   Zk de   Zl df   Zm dg   Zn dh   Zo di   Zp RS(l   c         C   s  | d  k r t   } n  | |  _ | |  _ | |  _ | |  _ t |  _ | |  _ | |  _	 | ro t
 |  |  _ n  i  |  _ i  |  _ d |  _ t |  _ d |  _ i  |  _ i  |  _ g  |  _ d  |  _ d |  _ d |  _ t |  _ d |  _ d |  _ g  |  _ g  |  _ d g |  _ d  S(   Ni    i   t   context(   R6   R
   R9   R:   R;   R7   RL   t   created_block_contextR<   R%   R   R(   t   import_aliasest   blockst   extends_so_fart   has_known_extendst   code_linenoRu   Rt   t
   debug_infot   _write_debug_infot
   _new_linest
   _last_lineRA   t   _first_writet   _last_identifiert   _indentationt   _assign_stackt   _param_def_blockt   _context_reference_stack(   R*   R9   R:   R;   R7   R<   R%   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR[      s8    																							c         C   s   t  | | |  j |  j   d S(   s*   Fail with a :exc:`TemplateAssertionError`.N(   R   R:   R;   (   R*   t   msgt   lineno(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   fail<  s    c         C   s   |  j  d 7_  d |  j  S(   s   Get a new unique identifier.i   s   t_%d(   R   (   R*   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   temporary_identifier@  s    c         C   s'   |  j    | _ |  j d | j  d S(   s7   Enable buffering for the frame from that point onwards.s   %s = []N(   R   Rd   t	   writeline(   R*   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRd   E  s    c         C   s   | s | j  j r |  j d  |  j   |  j d | j  |  j   |  j d  |  j   |  j d | j  |  j   d S| j  j r |  j d | j  d Sn  |  j d | j  d S(   s(   Return the buffer contents of the frame.s   if context.eval_ctx.autoescape:s   return Markup(concat(%s))s   else:s   return concat(%s)N(   R&   R'   R   t   indentRd   t   outdentt
   autoescape(   R*   R,   t   force_unescaped(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   return_buffer_contentsJ  s    



c         C   s   |  j  d 7_  d S(   s   Indent by one.i   N(   R   (   R*   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR   \  s    i   c         C   s   |  j  | 8_  d S(   s   Outdent by step.N(   R   (   R*   t   step(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR   `  s    c         C   s=   | j  d k r" |  j d |  n |  j d | j  |  d S(   s%   Yield or write into the frame buffer.s   yield s
   %s.append(N(   Rd   R6   R   (   R*   R,   R+   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   start_writed  s    c         C   s#   | j  d k	 r |  j d  n  d S(   s1   End the writing process started by `start_write`.t   )N(   Rd   R6   t   write(   R*   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt	   end_writek  s    c         C   s.   |  j  | |  |  j |  |  j |  d S(   s4   Simple shortcut for start_write + write + end_write.N(   R   R   R   (   R*   t   sR,   R+   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   simple_writep  s    c         C   sJ   y2 |  j  d  x | D] } |  j | |  q WWn t k
 rE n Xd S(   s   Visit a list of nodes as block in a frame.  If the current frame
        is no buffer a dummy ``if 0: yield None`` is written automatically.
        t   passN(   R   R)   R   (   R*   R   R,   R+   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt
   blockvisitv  s    c         C   s   |  j  r |  j su |  j j d |  j   |  j |  j  7_ |  j d k	 ru |  j j |  j |  j f  d |  _ qu n  t	 |  _ |  j j d |  j
  d |  _  n  |  j j |  d S(   s&   Write a string into the output stream.s   
s       i    N(   R   R   R7   R   R   R   R6   R   t   appendRL   R   (   R*   t   x(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR     s    			i    c         C   s!   |  j  | |  |  j |  d S(   s!   Combination of newline and write.N(   t   newlineR   (   R*   R   R+   t   extra(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR     s    c         C   sV   t  |  j d |  |  _ | d k	 rR | j |  j k rR | j |  _ | j |  _ n  d S(   s/   Add one or more newlines before the next write.i   N(   t   maxR   R6   R   R   R   (   R*   R+   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR     s    c   	      C   se  t  } x@ t d   | j D | p% d  D] } t |  r) t } Pq) q) Wx. | j D]# } |  j d  |  j | |  qS W| s x. | j D]# } |  j d  |  j | |  q W| d k	 r x4 t	 |  D]# \ } } |  j d | | f  q Wq n  | j
 r#|  j d  |  j | j
 |  n  | r/| j d k	 rH|  j d  n |  j d  xE | j D]: } |  j d | j  |  j | j |  |  j d  q_W| d k	 rx4 t	 |  D]# \ } } |  j d | | f  qWn  | j d k	 r|  j d	  |  j | j |  |  j d
  qa|  j d  n2 | j d k	 ra|  j d  |  j | j |  n  d S(   s+  Writes a function call to the stream for the current node.
        A leading comma is added automatically.  The extra keyword
        arguments may not include python keywords otherwise a syntax
        error could occur.  The extra keyword arguments should be given
        as python dict.
        c         s   s   |  ] } | j  Vq d  S(   N(   RP   (   t   .0R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pys	   <genexpr>  s    s   , s   , %s=%ss   , *s
   , **dict({s   , **{s   %r: s   %r: %s, s   }, **R   t   }s   , **N(    (   RL   R   R-   t   is_python_keywordRA   t   argsR   R)   R6   R   t   dyn_argst
   dyn_kwargsRP   RN   (	   R*   R+   R,   t   extra_kwargst   kwarg_workaroundt   kwargt   argRP   RN   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt	   signature  sJ    	)!	c         C   s   t    } x | D] } | j |  q Wxt d D]l } t |  |  } xT t | |  D]C } | | k rx |  j   | | <n  |  j d | | | | f  qS Wq. Wd S(   s   Pull all the dependencies.Rt   Ru   s   %s = environment.%s[%r]N(   Rt   Ru   (   Rs   R)   t   getattrR   R   (   R*   R   RU   R+   t
   dependencyt   mappingR:   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   pull_dependencies  s    	c         C   s   g  } x t  | j j  D] \ } \ } } | t k r: q | t k ri |  j d | |  j   | f  q | t k r |  j d | | f  q | t k r | j	 |  q t
 d   q W| r |  j d d j |   n  d  S(   Ns   %s = %s(%r)s   %s = %ss   unknown load instructions   %s = missings    = (   R   R`   t   loadsR   R   R   t   get_resolve_funcR   R   R   t   NotImplementedErrort   join(   R*   R,   t   undefst   targett   actiont   param(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   enter_frame  s    %#c         C   sf   | sb g  } x- t  | j j  D] \ } } | j |  q W| rb |  j d d j |   qb n  d  S(   Ns   %s = missings    = (   R   R`   R   R   R   R   (   R*   R,   t   with_python_scopeR   R   t   _(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   leave_frame  s    c         C   s   |  j  j r d | Sd | S(   Ns   async def %ss   def %s(   R9   t   is_async(   R*   R:   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   func  s    c         C   sm  | j    } | j j |  t |  } d } t   } g  } xs t | j  D]b \ } } | j d k rq | } n  | j d k r | j	 | j  n  | j
 | j j | j   qM Wt | j d  }	 d |	 k rH| d k	 r#y | j | t | j  Wq<t k
 r|  j d | j  q<Xn | j
 | j j d   t | _ n  d |	 k rd | k r| j
 | j j d   t | _ n  d |	 k rd | k r| j
 | j j d   t | _ n  t | _ | j j |  |  j d |  j d  d j |  f |  |  j   |  j |  |  j |  |  j  |  x t | j  D] \ } } | j j | j  }
 |  j d |
  |  j   y | j | t | j  } Wn5 t k
 r|  j d	 |
 d
 | j | j f  n" X|  j d |
  |  j! | |  |  j" |
  |  j#   qHW|  j$   |  j% | j |  |  j& | d t |  j' | d t |  j#   | | f S(   s/   Dump the function def of a macro or call block.t   callerR-   t   varargssh   When defining macros or call blocks the special "caller" argument must be omitted or be given a default.s   %s(%s):t   macros   , s   if %s is missing:s   %s = undefined(%r, name=%r)s   parameter %r was not provideds   %s = R   R   N(   R-   R   (   R   R-   R   ((   Ro   R`   t   analyze_nodeRW   R6   RI   t	   enumerateR   R:   Rw   R   t   refRV   t   bodyt   defaultst   lent
   IndexErrorR   R   t   declare_parameterRA   RX   RY   RZ   RL   Rc   R   R   R   R   Rd   R   t   push_parameter_definitionsR)   t   mark_parameter_storedR   t   pop_parameter_definitionsR   R   R   (   R*   R+   R,   t	   macro_reft   explicit_callert   skip_special_paramsR   t   idxR   RS   R   t   default(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt
   macro_body  sp    		 	,



c         C   s   d j  d   | j j D  } t | j d d  } t | j j  d k rY | d 7} n  |  j d | | | j | j | j	 f  d S(   s<   Dump the macro definition for the def created by macro_body.s   , c         s   s   |  ] } t  | j  Vq d  S(   N(   t   reprR:   (   R   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pys	   <genexpr>M  s    R:   i   t   ,sL   Macro(environment, macro, %r, (%s), %r, %r, %r, context.eval_ctx.autoescape)N(
   R   R+   R   R   R6   R   R   RY   RZ   RX   (   R*   R   R,   t	   arg_tupleR:   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt	   macro_defK  s    c         C   s:   d | j  } |  j d k	 r6 | d t |  j  7} n  | S(   s.   Return a human readable position for the node.s   line %ds    in N(   R   R:   R6   R   (   R*   R+   Rm   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   position]  s    c         C   s*   d d j  d   t | j j    D  S(   Ns   {%s}s   , c         s   s%   |  ] \ } } d  | | f Vq d S(   s   %r: %sN(    (   R   R:   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pys	   <genexpr>f  s   (   R   R   R`   t   dump_stores(   R*   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   dump_local_contextd  s    	c         C   s8   |  j  d  |  j  d  |  j  d  |  j  d  d S(   s   Writes a common preamble that is used by root and block functions.
        Primarily this sets up common local helpers and enforces a generator
        through a dead branch.
        s$   resolve = context.resolve_or_missings!   undefined = environment.undefineds   cond_expr_undefined = Undefineds   if 0: yield NoneN(   R   (   R*   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   write_commonsj  s    c         C   s   |  j  j | j j    d S(   sQ  Pushes all parameter targets from the given frame into a local
        stack that permits tracking of yet to be assigned parameters.  In
        particular this enables the optimization from `visit_Name` to skip
        undefined expressions for parameters in macros as macros can reference
        otherwise unbound parameters.
        N(   R   R   R`   t   dump_param_targets(   R*   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR   v  s    c         C   s   |  j  j   d S(   s+   Pops the current parameter definitions set.N(   R   t   pop(   R*   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR     s    c         C   s$   |  j  r  |  j  d j |  n  d S(   s   Marks a parameter in the current parameter definitions as stored.
        This will skip the enforced undefined checks.
        iN(   R   R~   (   R*   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR     s    	c         C   s   |  j  j |  d  S(   N(   R   R   (   R*   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   push_context_reference  s    c         C   s   |  j  j   d  S(   N(   R   R   (   R*   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   pop_context_reference  s    c         C   s   |  j  d S(   Ni(   R   (   R*   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   get_context_ref  s    c         C   s%   |  j  d } | d k r d Sd | S(   NiR   t   resolves
   %s.resolve(   R   (   R*   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR     s    c         C   s   d |  j    |  j |  f S(   Ns   %s.derived(%s)(   R   R   (   R*   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   derive_context  s    	c         C   s   |  j  s t S| |  j  d k S(   s4   Checks if a given target is an undeclared parameter.i(   R   RL   (   R*   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   parameter_is_undeclared  s    	c         C   s   |  j  j t    d S(   s+   Pushes a new layer for assignment tracking.N(   R   R   RI   (   R*   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   push_assign_tracking  s    c         C   sm  |  j  j   } | j s  | r$ d Sg  | D] } | d  d k r+ | ^ q+ } t |  d k r t t |   } | j j |  } |  j d | | f  nv |  j d  xY t	 |  D]K \ } } | r |  j
 d  n  | j j |  } |  j
 d | | f  q W|  j
 d  | rit |  d k rC|  j d	 | d
  qi|  j d d j t t |    n  d S(   so   Pops the topmost level for assignment tracking and updates the
        context variables if necessary.
        Ni   R   s   context.vars[%r] = %ss   context.vars.update({s   , s   %r: %ss   })s   context.exported_vars.add(%r)i    s"   context.exported_vars.update((%s))(   R   R   Ra   R   t   nextt   iterR`   R   R   R   R   R   R   R   (   R*   R,   t   varsR   t   public_namesR:   R   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   pop_assign_tracking  s*    )c         C   sH  | d  k s t d   t |  j |  j  } d d l m } |  j d d j t	   |  j d d j |   |  j j
 r |  j d  n  |  j r d p d	 } | j t j  d  k	 } xY | j t j  D]E } | j |  j k r|  j d
 | j | j  n  | |  j | j <q Wx | j t j  D] } | j |  j k r*| j }	 |  j   |  j |	 <}
 d |	 k r|	 j d d  \ } } |  j d | | |
 f  q|  j d |	 |
 f  q*q*W|  j d |  j  |  j d |  j d  | f d d |  j   |  j   t |  } d t | j d#  k rY| j j  d  } |  j d |  n  | j j! |  t" | _# | _$ | o|  j% | _& | r|  j d  n  |  j' |  |  j( | j  |  j) | j |  |  j* | d t" |  j+   | r|  j% s|  j   |  j d  n  |  j   t, rE|  j j
 rE|  j d  nD |  j d |  j j
 r`d pcd	  |  j   |  j d  |  j+   |  j+ d |  j%  n  xLt- |  j  D];\ } } |  j d |  j d |  | f | d  |  j   |  j   t |  } t | j d$  } d | k rK| j j  d  } |  j d |  n  d | k r| j j  d  } |  j d | | | f  n  | j j! |  | | _. |  j' |  |  j( | j  |  j) | j |  |  j* | d t" |  j+   qW|  j d d j d   |  j D  d d |  j d  d! j d"   |  j/ D   d  S(%   Ns   no root frame allowedi   (   t   exporteds   from __future__ import %ss   , s   from jinja2.runtime import sH   from jinja2.asyncsupport import auto_await, auto_aiter, AsyncLoopContexts   , environment=environmentR{   s   block %r defined twicet   .s   from %s import %s as %ss   import %s as %ss	   name = %rs   %s(context, missing=missing%s):t   rootR   R*   s   %s = TemplateReference(context)s   parent_template = NoneR   s   if parent_template is not None:s4   yield from parent_template.root_render_func(context)s9   %sfor event in parent_template.root_render_func(context):s   async s   yield eventt   block_t   supers    %s = context.super(%r, block_%s)s   blocks = {%s}c         s   s   |  ] } d  | | f Vq d S(   s   %r: block_%sN(    (   R   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pys	   <genexpr>;  s    s   debug_info = %rt   &c         s   s   |  ] } d  | Vq d S(   s   %s=%sN(    (   R   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pys	   <genexpr>A  s    (   R*   (   R*   R   (0   R6   t   AssertionErrorR   R9   R:   t   runtimeR   R   R   t   code_featuresR   R<   t   findR   t   Extendst   find_allt   BlockR   R   R   t   ImportedNamet
   importnameR   R   t   rsplitR   R   R   R^   RV   R   R`   R   R   RA   Ra   Rb   R   Rc   R   R   R   R   R   t   supports_yield_fromR   Re   R   (   R*   R+   R,   R&   R   t   envenvt   have_extendsRe   t   import_t   impt   aliast   modulet   objR   R:   t   block_frameRS   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Template  s    
	 


	





	 c         C   s(  d } | j  rR |  j r d S|  j d k rR |  j d  |  j   | d 7} qR n  | j rm |  j |  } n |  j   } t r |  j	 j
 r | j d k r |  j d | j | f |  n\ |  j	 j
 r d p d } |  j d | | j | f |  |  j   |  j d	 |  |  j   |  j |  d S(
   s.   Call a block and register it for the template.i    Ns   if parent_template is None:i   s$   yield from context.blocks[%r][0](%s)s	   async fort   fors&   %s event in context.blocks[%r][0](%s):t   event(   Ra   R   R   R   R   t   scopedR   R   R  R9   R   Rd   R6   R:   R   R   (   R*   R+   R,   R_   R   t   loop(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRz   D  s0    		
	

c         C   s  | j  s |  j d | j  n  |  j d k r |  j sQ |  j d  |  j   n  |  j d d  |  j rw t    q |  j   n  |  j d |  |  j	 | j
 |  |  j d |  j  |  j d t  |  j   |  j d	  |  j   | j rt |  _ n  |  j d
 7_ d S(   s   Calls the extender.s,   cannot use extend from a non top-level scopei    s   if parent_template is not None:s   raise TemplateRuntimeError(%r)s   extended multiple timess+   parent_template = environment.get_template(s   , %r)s6   for name, parent_block in parent_template.blocks.%s():s8   context.blocks.setdefault(name, []).append(parent_block)i   N(   Ra   R   R   R   R   R   R   R   R   R)   t   templateR   R:   t   dict_item_iterRb   RA   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Extendsj  s*    			

	c         C   s  | j  r# |  j d  |  j   n  d } t | j t j  r t | j j t  r\ d } q t | j j t	 t
 f  r d } q n' t | j t j t j f  r d } n  |  j d | |  |  j | j |  |  j d |  j  | j  r@|  j   |  j d  |  j   |  j d  |  j   |  j d	  |  j   n  t } | j r|  j j rad
 pdd } |  j d | |  j |  f  nE |  j j r|  j d  n) t r|  j d  t } n |  j d  | s|  j   |  j d |  |  j   n  | j  r|  j   n  d S(   s   Handles includes.s   try:t   get_or_select_templatet   get_templatet   select_templates   template = environment.%s(s   , %r)s   except TemplateNotFound:R   s   else:s	   async forR  sY   %s event in template.root_render_func(template.new_context(context.get_all(), True, %s)):sG   for event in (await template._get_default_module_async())._body_stream:s6   yield from template._get_default_module()._body_streams9   for event in template._get_default_module()._body_stream:R  N(   t   ignore_missingR   R   R2   R  R   t   ConstRN   R   RG   RH   t   Tuplet   ListR)   R   R:   R   RL   t   with_contextR9   R   R   R  RA   R   (   R*   R+   R,   t	   func_namet   skip_event_yieldR  (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Include  sT    				


	
	
	c         C   s1  |  j  d | j j | j  |  | j rC |  j d | j  n  |  j j r_ |  j d  n  |  j d  |  j | j	 |  |  j d |  j
  | j r |  j d |  j j r d p d |  j |  f  n) |  j j r |  j d	  n |  j d
  | j r-| j j d  r-|  j  d | j  n  d S(   s   Visit regular imports.s   %s = s   context.vars[%r] = s   await s   environment.get_template(s   , %r).s*   make_module%s(context.get_all(), True, %s)t   _asyncR{   s   _get_default_module_async()s   _get_default_module()R   s!   context.exported_vars.discard(%r)N(   R   R`   R   R   Ra   R   R9   R   R)   R  R:   R  R   t
   startswith(   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Import  s$    #		c            s  |  j  |  |  j d |  j j r( d p+ d  |  j | j    |  j d |  j  | j r |  j d |  j j r{ d p~ d |  j    f  n) |  j j r |  j d  n |  j d  g  } g  } x | j	 D] } t
 | t  r | \ } } n | } |  j d	   j j |  | f  |  j d
   j j |   |  j   |  j d   j j |  d |  j |  t |  f | f  |  j     j r | j |  | j d  s| j |  qq q W| rBt |  d k r| d } |  j d |   j j |  f  qB|  j d d j   f d   | D   n  | rt |  d k rr|  j d | d  q|  j d d j t t |    n  d S(   s   Visit named imports.s/   included_template = %senvironment.get_template(s   await R{   s   , %r).s*   make_module%s(context.get_all(), True, %s)R  s   _get_default_module_async()s   _get_default_module()s,   %s = getattr(included_template, %r, missing)s   if %s is missing:s9   %s = undefined(%r %% included_template.__name__, name=%r)sG   the template %%r (imported on %s) does not export the requested name %sR   i   i    s   context.vars[%r] = %ss   context.vars.update({%s})s   , c         3   s+   |  ]! } d  |   j  j |  f Vq d S(   s   %r: %sN(   R`   R   (   R   R:   (   R,   (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pys	   <genexpr>)  s    s!   context.exported_vars.discard(%r)s-   context.exported_vars.difference_update((%s))N(   R   R   R9   R   R)   R  R:   R  R   RT   R2   RG   R   R`   R   R   R   R   R   Ra   R   R  R   R   R   (   R*   R+   R,   t	   var_namest   discarded_namesR:   R  (    (   R,   sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_FromImport  sf    	

	
 c         C   s  | j    } | j    } | j    } | j pK d t | j d d$  d%  k } d  } | ro | j j d  } n  | j j | d d | j r | j j | d d n  | j	 r|  j
   } | j j | d d |  j d |  j |  | j	  |  j   |  j |  |  j |  j j r!d p$d	  |  j | j |  |  j d
  |  j |  j j r`d pcd  |  j d  |  j   |  j d | j	  |  j | j	 |  |  j d  |  j   |  j d  |  j | j |  |  j d  |  j | d t n  | j rJ|  j d |  j d  |  |  j   |  j |  | j | _ n  | rd|  j d |  n  xN | j t j  D]: }	 |	 j d k rw|	 j d k rw|  j d |	 j  qwqwW| j r|  j
   }
 |  j d |
  n  |  j |  j j rd pd	 |  |  j | j |  | rM|  j j r9|  j d |  qZ|  j d |  n |  j d
  | j	 rw|  j d |  n  | j r|  j d  nY |  j j r| r|  j d  n  |  j | j |  |  j j r| r|  j d  n  | j	 r|  j d  n  | j r|  j d  n |  j | r-d p0d  |  j   |  j |  |  j  | j! |  | j r{|  j d |
  n  |  j   |  j | d | j o| j | j r|  j d  |
  |  j   |  j |  |  j  | j |  |  j |  |  j   n  | j r|  j" |  |  j   |  j# | |  |  j j rO|  j d!  n  |  j d"  |  j j rx|  j d  n  |  j | j |  |  j j r|  j d  n  |  j d#  |  j$ |  n  d  S(&   NR  t   onlyR   t
   for_brancht   elset   tests
   %s(fiter):s
   async for s   for s    in s   auto_aiter(fiter)t   fitert   :s   if s   yield i   R   s'   %s(reciter, loop_render_func, depth=0):s   %s = missingt   stores8   Can't assign to special loop variable in for-loop targets   %s = 1s   , %s in AsyncLoopContext(s   , %s in LoopContext(s   %s(t   reciters   auto_aiter(R   s&   , undefined, loop_render_func, depth):s   , undefined):s   %s = 0s   if %s:s   await s   loop(s   , loop)(   R   (   R  (%   Ro   t	   recursiveRV   t   iter_child_nodesR6   R`   R   R   t   else_R'  R   R   R   R   R   R9   R   R)   R   R   R   R   RA   Rd   R   R   t   NameR}   R:   R   R   R   R   R   R   R   R   (   R*   R+   R,   t
   loop_framet
   test_framet
   else_framet   extended_loopt   loop_reft   loop_filter_funcR:   t   iteration_indicator(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt	   visit_For5  s    		 


	
	"				
	
	
	
c         C   s  | j    } |  j d |  |  j | j |  |  j d  |  j   |  j | j |  |  j   xh | j	 D]] } |  j d |  |  j | j |  |  j d  |  j   |  j | j |  |  j   qm W| j
 r|  j d  |  j   |  j | j
 |  |  j   n  d  S(   Ns   if R)  s   elif s   else:(   Rp   R   R)   R'  R   R   R   R   R   t   elif_R.  (   R*   R+   R,   t   if_frameR8  (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_If  s&    


	
c         C   s   |  j  | |  \ } } |  j   | j rk | j j d  sT |  j d | j  n  |  j d | j  n  |  j d | j j | j   |  j	 | |  d  S(   NR   s   context.exported_vars.add(%r)s   context.vars[%r] = s   %s = (
   R   R   Ra   R:   R  R   R   R`   R   R   (   R*   R+   R,   t   macro_frameR   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Macro  s    
	 c         C   so   |  j  | |  \ } } |  j d  |  j | |  |  j | |  |  j | j | d t |  j |  d  S(   Ns	   caller = t   forward_caller(   R   R   R   R   t
   visit_Callt   callRA   R   (   R*   R+   R,   t
   call_frameR   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_CallBlock  s    c         C   s   | j    } | j j |  |  j |  |  j |  |  j | j |  |  j | |  |  j | j	 |  |  j
 |  |  j |  d  S(   N(   Ro   R`   R   R   Rd   R   R   R   Rx   t   filterR   R   (   R*   R+   R,   t   filter_frame(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_FilterBlock  s    c         C   s   | j    } | j j |  |  j |  xZ t | j | j  D]C \ } } |  j   |  j | |  |  j	 d  |  j | |  q? W|  j
 | j |  |  j |  d  S(   Ns    = (   Ro   R`   R   R   R	   t   targetst   valuesR   R)   R   R   R   R   (   R*   R+   R,   t
   with_frameR   t   expr(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt
   visit_With  s    "
c         C   s$   |  j  |  |  j | j |  d  S(   N(   R   R)   R+   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_ExprStmt  s    t   _FinalizeInfot   constt   srcc            s   j  d
 k	 r  j  S j }   d
 }  j j r d }  j j     f d   } t  d t  t k r | d 7} d
 } q t  d t  t k r | d 7} d
 } q t  d t  t k r | d 7}     f d	   } q n   j | |   _   j  S(   s  Build the finalize function to be used on constants and at
        runtime. Cached so it's only created once for all output nodes.

        Returns a ``namedtuple`` with the following attributes:

        ``const``
            A function to finalize constant data at compile time.

        ``src``
            Source code to output around nodes to be evaluated at
            runtime.
        s   environment.finalize(c            s      |    S(   N(    (   RN   (   R   t   env_finalize(    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   finalize  s    t   contextfunctions	   context, t   evalcontextfunctions   context.eval_ctx, t   environmentfunctions   environment, c            s       j  |    S(   N(   R9   (   RN   (   R   RN  R*   (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRO  '  s    N(	   t	   _finalizeR6   t   _default_finalizeR9   RO  R   RL   RA   RK  (   R*   RO  RM  (    (   R   RN  R*   sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   _make_finalize  s&    
	
	
c         C   s   t  t |   S(   s   Given a group of constant values converted from ``Output``
        child nodes, produce a string to write to the template module
        source.
        (   R   R   (   R*   t   group(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   _output_const_repr-  s    c         C   sV   | j  | j  } | j j r- t |  } n  t | t j  rI t |  S| j |  S(   sC  Try to optimize a child of an ``Output`` node by trying to
        convert it to constant, finalized data at compile time.

        If :exc:`Impossible` is raised, the node is not constant and
        will be evaluated at runtime. Any other exception will also be
        evaluated at runtime for easier debugging.
        (	   t   as_constR&   R   R   R2   R   t   TemplateDataR   RL  (   R*   R+   R,   RO  RL  (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   _output_child_to_const4  s    
c         C   sk   | j  j r |  j d  n) | j  j r8 |  j d  n |  j d  | j d k	 rg |  j | j  n  d S(   sX   Output extra source code before visiting a child of an
        ``Output`` node.
        s7   (escape if context.eval_ctx.autoescape else to_string)(s   escape(s
   to_string(N(   R&   R'   R   R   RM  R6   (   R*   R+   R,   RO  (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   _output_child_preG  s    c         C   s0   |  j  d  | j d k	 r, |  j  d  n  d S(   sW   Output extra source code after visiting a child of an
        ``Output`` node.
        R   N(   R   RM  R6   (   R*   R+   R,   RO  (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   _output_child_postU  s    c   	      C   s  | j  r0 |  j r d  S|  j d  |  j   n  |  j   } g  } x | j D] } yC | j pm t | t j  s t j	    n  |  j
 | | |  } Wn* t j	 t f k
 r | j |  qL n X| r t | d t  r | d j |  qL | j | g  qL W| j d  k	 r\t |  d k r;|  j d | j  n |  j d | j  |  j   n  x | D] } t | t  r|  j |  } | j d  k r|  j d |  qB|  j | d  qc| j d  k r|  j d |  n |  j |  |  j | | |  |  j | |  |  j | | |  | j d  k	 rc|  j d  qcqcW| j d  k	 r|  j   |  j t |  d k r}d n d	  n  | j  r|  j   n  d  S(
   Ns   if parent_template is None:ii   s
   %s.append(s   %s.extend((s   yield R   R   s   ))(   Rc   R   R   R   RU  R   RL  R2   RY  t
   ImpossibleRZ  t	   ExceptionR   RH   Rd   R6   R   RW  R   R[  R)   R\  R   R   (	   R*   R+   R,   RO  R   t   childRL  RO   t   val(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Output^  sV    			
(	c         C   s[   |  j    |  j |  |  j | j |  |  j d  |  j | j |  |  j |  d  S(   Ns    = (   R   R   R)   R   R   R+   R   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Assign  s    
c         C   s   |  j    | j   } t | _ | j j |  |  j |  |  j |  |  j | j	 |  |  j
 |  |  j | j |  |  j d  | j d  k	 r |  j | j |  n |  j d | j  |  j d  |  j |  |  j |  d  S(   Ns9    = (Markup if context.eval_ctx.autoescape else identity)(s
   concat(%s)R   (   R   Ro   RL   Rc   R`   R   R   Rd   R   R   R   R)   R   R   RB  R6   Rx   R   R   (   R*   R+   R,   R
  (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_AssignBlock  s     
	c         C   s   | j  d k r> | j r> |  j r> |  j d j | j  q> n  | j j | j  } | j  d k r | j j |  } | d  k	 o | d t	 k o |  j
 |  s |  j d | j | | f  d  Sn  |  j |  d  S(   NR*  iR|   i    s-   (undefined(name=%r) if %s is missing else %s)(   R}   Ra   R   Rw   R:   R`   R   t	   find_loadR6   R   R   R   (   R*   R+   R,   R   R|   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR     s    	c         C   si   | j  j | j  } |  j d |  |  j   |  j d d  |  j   |  j d | | j f  d  S(   Ns!   if not isinstance(%s, Namespace):s   raise TemplateRuntimeError(%r)s/   cannot assign attribute on non-namespace objects   %s[%r](   R`   R   R:   R   R   R   t   attr(   R*   R+   R,   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_NSRef  s    

c         C   sN   | j  | j  } t | t  r7 |  j t |   n |  j t |   d  S(   N(   RX  R&   R2   RE   R   t   strR   (   R*   R+   R,   R`  (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Const  s    c         C   sR   y# |  j  t | j | j    Wn( t j k
 rM |  j  d | j  n Xd  S(   Ns9   (Markup if context.eval_ctx.autoescape else identity)(%r)(   R   R   RX  R&   R   R]  t   data(   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_TemplateData  s
    #c         C   s|   |  j  d  d } xC t | j  D]2 \ } } | rE |  j  d  n  |  j | |  q# W|  j  | d k rq d pt d  d  S(   Nt   (is   , i    s   ,)R   (   R   R   R"   R)   (   R*   R+   R,   R   RO   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Tuple  s    c         C   sd   |  j  d  xC t | j  D]2 \ } } | r? |  j  d  n  |  j | |  q W|  j  d  d  S(   Nt   [s   , t   ](   R   R   R"   R)   (   R*   R+   R,   R   RO   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt
   visit_List  s    c         C   s   |  j  d  xf t | j  D]U \ } } | r? |  j  d  n  |  j | j |  |  j  d  |  j | j |  q W|  j  d  d  S(   Nt   {s   , s   : R   (   R   R   R"   R)   RP   RN   (   R*   R+   R,   R   RO   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt
   visit_Dict  s    c            s   t    f d    } | S(   Nc            s   |  j  j re   |  j  j k re |  j d    |  j | j |  |  j d  |  j | j |  nD |  j d  |  j | j |  |  j d    |  j | j |  |  j d  d  S(   Ns$   environment.call_binop(context, %r, s   , Rk  s    %s R   (   R9   t	   sandboxedt   intercepted_binopsR   R)   t   leftt   right(   R*   R+   R,   (   t   operator(    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRU     s    (   R1   (   Rv  t   interceptableRU   (    (   Rv  sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   binop  s    c            s   t    f d    } | S(   Nc            sz   |  j  j rE   |  j  j k rE |  j d    |  j | j |  n$ |  j d    |  j | j |  |  j d  d  S(   Ns#   environment.call_unop(context, %r, Rk  R   (   R9   Rr  t   intercepted_unopsR   R)   R+   (   R*   R+   R,   (   Rv  (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRU   2  s    (   R1   (   Rv  Rw  RU   (    (   Rv  sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   uaop1  s    t   +t   -t   *t   /s   //s   **t   %t   andRw  t   ors   not c         C   s   | j  j r d } n | j  j r* d } n d } |  j d |  x. | j D]# } |  j | |  |  j d  qK W|  j d  d  S(   Ns;   (context.eval_ctx.volatile and markup_join or unicode_join)t   markup_joint   unicode_joins   %s((s   , s   ))(   R&   R'   R   R   R   R)   (   R*   R+   R,   R  R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_ConcatO  s    		c         C   sU   |  j  d  |  j | j |  x! | j D] } |  j | |  q* W|  j  d  d  S(   NRk  R   (   R   R)   RH  t   ops(   R*   R+   R,   t   op(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Compare]  s
    c         C   s/   |  j  d t | j  |  j | j |  d  S(   Ns    %s (   R   t	   operatorsR  R)   RH  (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Operande  s    c         C   sp   |  j  j r |  j d  n  |  j d  |  j | j |  |  j d | j  |  j  j rl |  j d  n  d  S(   Ns   (await auto_await(s   environment.getattr(s   , %r)s   ))(   R9   R   R   R)   R+   Re  (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Getattri  s    c         C   s   t  | j t j  rX |  j | j |  |  j d  |  j | j |  |  j d  n |  j j rt |  j d  n  |  j d  |  j | j |  |  j d  |  j | j |  |  j d  |  j j r |  j d  n  d  S(   NRm  Rn  s   (await auto_await(s   environment.getitem(s   , R   s   ))(	   R2   R   R   t   SliceR)   R+   R   R9   R   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Getitemu  s    c         C   s   | j  d  k	 r% |  j | j  |  n  |  j d  | j d  k	 rW |  j | j |  n  | j d  k	 r |  j d  |  j | j |  n  d  S(   NR)  (   t   startR6   R)   R   t   stopR   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Slice  s    c         C   s  |  j  j r |  j d  n  |  j |  j | j d  |  j  j j | j  } | d  k rx |  j d | j | j  n  t	 | d t
  t k r |  j d  nP t	 | d t
  t k r |  j d  n( t	 | d t
  t k r |  j d	  n  | j d  k	 r|  j | j |  nc | j j rA|  j d
 | j | j f  n7 | j j rd|  j d | j  n |  j d | j  |  j | |  |  j d  |  j  j r|  j d  n  d  S(   Ns   await auto_await(Rk  s   no filter named %rt   contextfilters	   context, t   evalcontextfilters   context.eval_ctx, t   environmentfilters   environment, sB   (context.eval_ctx.autoescape and Markup(concat(%s)) or concat(%s))s   Markup(concat(%s))s
   concat(%s)R   (   R9   R   R   Rt   R:   t   getR6   R   R   R   RL   RA   R+   R)   R&   R'   Rd   R   R   (   R*   R+   R,   R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRx     s2    c         C   s   |  j  |  j | j d  | j |  j j k rM |  j d | j | j  n  |  j | j |  |  j | |  |  j  d  d  S(   NRk  s   no test named %rR   (	   R   Ru   R:   R9   R   R   R)   R+   R   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyRy     s    c            sz       f d   }  j  d   j  j     j  d   j  j     j  d  |    j  d  d  S(   Nc              sD    j  d  k	 r"  j  j     S j d d  j    d  S(   Ns   cond_expr_undefined(%r)sR   the inline if-expression on %s evaluated to false and no else section was defined.(   t   expr2R6   R)   R   R   (    (   R,   R+   R*   (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   write_expr2  s    Rk  s    if s    else R   (   R   R)   t   expr1R'  (   R*   R+   R,   R  (    (   R,   R+   R*   sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_CondExpr  s    c         C   s   |  j  j r |  j d  n  |  j  j r8 |  j d  n |  j d  |  j | j |  | rk i d d 6pn d  } |  j | | |  |  j d  |  j  j r |  j d  n  d  S(   Ns   await auto_await(s   environment.call(context, s   context.call(R   R   (   R9   R   R   Rr  R)   R+   R6   R   (   R*   R+   R,   R=  R   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR>    s    c         C   s+   |  j  | j d  |  j | j |  d  S(   Nt   =(   R   RP   R)   RN   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Keyword  s    c         C   s1   |  j  d  |  j | j |  |  j  d  d  S(   Ns   Markup(R   (   R   R)   RH  (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_MarkSafe  s    c         C   s1   |  j  d  |  j | j |  |  j  d  d  S(   Ns5   (context.eval_ctx.autoescape and Markup or identity)(R   (   R   R)   RH  (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_MarkSafeIfAutoescape  s    c         C   s   |  j  d | j  d  S(   Ns   environment.(   R   R:   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_EnvironmentAttribute  s    c         C   s!   |  j  d | j | j f  d  S(   Ns   environment.extensions[%r].%s(   R   t
   identifierR:   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_ExtensionAttribute  s    c         C   s   |  j  |  j | j  d  S(   N(   R   R   R   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_ImportedName  s    c         C   s   |  j  | j  d  S(   N(   R   R:   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_InternalName  s    c         C   s   |  j  d  d  S(   NR   (   R   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_ContextReference  s    c         C   s   |  j  |  j |   d  S(   N(   R   R   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_DerivedContextReference  s    c         C   s   |  j  d |  d  S(   Nt   continue(   R   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Continue  s    c         C   s   |  j  d |  d  S(   Nt   break(   R   (   R*   R+   R,   (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Break  s    c         C   sM   | j    } | j j |  |  j |  |  j | j |  |  j |  d  S(   N(   Ro   R`   R   R   R   R   R   (   R*   R+   R,   t   scope_frame(    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_Scope  s
    c         C   s   |  j    } |  j d | |  j |  f  |  j d |  |  j | j |  |  j |  | j d t  } | j j	 |  |  j
 |  |  j | j |  |  j |  |  j   d  S(   Ns   %s = %ss
   %s.vars = Rn   (   R   R   R   R)   R   R   Ro   RA   R`   R   R   R   R   R   R   (   R*   R+   R,   R}   R  (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_OverlayScope  s     c         C   s   x | j  D] } |  j d | j  |  j | j |  y | j j | j  } Wn  t j k
 rr t	 | j _
 q
 Xt | j | j |  q
 Wd  S(   Ns   context.eval_ctx.%s = (   t   optionsR   RP   R)   RN   RX  R&   R   R]  RA   R'   t   setattr(   R*   R+   R,   t   keywordR`  (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_EvalContextModifier   s    c         C   s   |  j    } | j j   } |  j d |  |  j | |  x! | j D] } |  j | |  qF W| j j |  |  j d |  d  S(   Ns   %s = context.eval_ctx.save()s   context.eval_ctx.revert(%s)(   R   R&   t   saveR   R  R   R)   t   revert(   R*   R+   R,   t   old_ctx_namet	   saved_ctxR_  (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   visit_ScopedEvalContextModifier+  s    N(   RL  RM  (q   R\   R]   R6   RL   RA   R[   R   R   Rd   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R  Rz   R  R  R   R#  R7  R:  R<  RA  RD  RI  RJ  R    RK  R   RT  RS  RU  RW  RZ  R[  R\  Ra  Rb  Rc  R   Rf  Rh  Rj  Rl  Ro  Rq  Rx  Rz  t	   visit_Addt	   visit_Subt	   visit_Mult	   visit_Divt   visit_FloorDivt	   visit_Powt	   visit_Modt	   visit_Andt   visit_Ort	   visit_Post	   visit_Negt	   visit_NotR1   R  R  R  R  R  R  Rx   Ry   R  R>  R  R  R  R  R  R  R  R  R  R  R  R  R  R  R  (    (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyR      s   C							5				P																|	&	-	:		K			
					)						O										
		
!															(?   Rq   t   collectionsR    t	   functoolsR   t	   itertoolsR   R  R   R   t
   markupsafeR   R   R{   R   t   _compatR   R   R	   R
   R   R   R   t
   exceptionsR   t
   idtrackingR   R   R   R   R   R   R(   R   t   utilsR   RU   R   R  t   hasattrRM   R  R   R   t   SyntaxErrorRL   R  RA   R1   R6   R>   RK   RV   Rg   RW   R^   t   RuntimeErrorRR   Rs   RQ   R^  R   R   (    (    (    sg   /var/www/html/facial-emotion-detection-webapp-main/flask/lib/python2.7/site-packages/jinja2/compiler.pyt   <module>   st   
		
			=