o
    1)h                     @   s8  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 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! ej"rddl#Z$d
dl%m&Z& d
dl'm(Z( d
dlm)Z) d
dl*m+Z+ G dd de$j,Z-ej.dej/dej0f d Z1e.d!Z2e.d"Z3d#e3d$e3fd%d&Z4		d=d'd(d)ej5ej6e7e8f  d*ej5ej/ej0gej0f  d+ej5ej0 d$ej/ej0gej0f f
d,d-Z9	d>d'd(d)ej5ej6e7e8f  d*ej5ej/ej0gej0f  d$ej/ej0gej:ej0 f fd.d/Z;d0ej5ej6e7e8f  d$ej:ej6e7e8f  fd1d2Z<d#d3d$efd4d5Z=d#ej6e7ej>e7ej0f ej?ej@e7ej0f  f d$e7fd6d7ZAe	d>d8d9d:e7d;e7d<e7d=ej5e8 d$e7fd>d?ZBd:e7d$e7fd@dAZCd:e7d$e7fdBdCZDd#ej6ej>e2e3f ef d$ejEej@e2e3f  fdDdEZFejGdFejHdGZIe	Hd?d8d9dIej>e7ej0f dJeJd$e7fdKdLZKd:e7d$e7fdMdNZLeGdOZMd:e7d$e7fdPdQZN	R	S	Rd@d#ej>e2e3f dTeJdUdVdWeJd$ej:ej@e2e3f  f
dXdYZOe	R	R	dAd'd(d#dZdWeJdTeJd)ej5ej6e7e8f  d$d[fd\d]ZPe	R	dBd'd(d#dZdTeJd)ej5ej6e7e8f  d$d^f
d_d`ZQeeQ	R	dBd'd(d#dadTeJd)ej5ej6e7e8f  d$d^f
dbdcZRd'd(d#dZdddedTeJd)ej5ej6e7e8f  d$dffdgdhZSe	R	dBd'd(d#dZdTeJd)ej5ej6e7e8f  d$dff
didjZTe	R	dBd'd(d#dZdTeJd)ej5ej6e7e8f  d$dff
dkdlZU	m	RdCd#e3dne3doeJd$e3fdpdqZVe	m	dDd8d9d#ej?ej0 dIe7d)ej5ej6e7e8f  d$e7f
drdsZWeeW	m	dDd8d9d#ej6ejXej0 ej?ej0 f dIe7d)ej5ej6e7e8f  d$e7f
dtduZYdEd#e7dwe8d$e7fdxdyZZe	'	(	z	Z	$	fdFd{d|Z[ee[	'	(	z	a	$	fdGd}d~Z\e	'	(	z		$	fdHddZ]edIddZ^dJd#ej6e7e_e8f deJd$e7fddZ`d#ej0d$e7fddZaeGdZbe		R			dKd8d9d#e7dej5e8 deJdej5e7 dej5e7 dej5ej?e7  d$e7fddZc	RdLd:e7dwej6e8e7f deJdeJd$e7f
ddZde		R		dMdd(d:e7de8deJde7dej5e8 d$e7fddZee		H		HdNd'd(d:e7dwe8deJdej5e7 deJd$e7fddZfeGdZgd:e7d$e8fddZhdOd#ej0d+e8de8d$e8fddZidPd#ej0d+e_d$e_fddZjd#e7dej0dej0d$e7fddZkd>d#e7dej5e7 d$e7fddZld#d3d$e7fddZm	d>d#dde8ddd$dfddZneen	d>d#dade8dej5ej0 d$dfddÄZo	d>d#dZde8ddd$dfddƄZp		ǐdQd#e_de8ddd$e_fdd̄ZqG dd΄ dejrZse		RdRd'd(d#dZd)ej6e7e8f d+ej5ej0 dTeJd$dfddфZteet		RdRd'd(d#dad)ej6e7e8f d+ej5ej0 dTeJd$dfddӄZue		dSd'd(ddZd)ej5ej6e7e8f  de3d$e3f
ddׄZveev		dSd'd(ddad)ej5ej6e7e8f  de3d$e3f
ddلZwdTddۄZxeexdUdd݄Zyd#e7d$efdd߄Zzd#e7d$e7fddZ{ej|d#e7d$e7fddZ}ej|dVddZ}d#ej6e7ej?e3 f d$ej6e7ej?e3 f fddZ}ed'd(dej0de7d$ej6eej0f fddZ~ej|ddd#ej?ej0 de7dej0dej0d$ej?ej0 fddZej|dddddd#ej?ej0 d)e7d+ej5ej0 d$ej?ej0 f
ddZeddd#ej?ej0 dej0dej0d$ej?ej0 f
ddZej|ddd#ej6ejXej0 ej?ej0 f de7dej0dej0d$ej?ej0 fddZej|dddddd#ej6ejXej0 ej?ej0 f d)e7d+ej5ej0 d$ej?ej0 f
ddZeeddd#ej6ejXej0 ej?ej0 f dej0dej0d$ejXej0 f
ddZeddd#dZdej0dej0d$d^f
ddZeeddd#dadej0dej0d$df
ddZeddd#dZdej0dej0d$d^f
ddZeeddd#dadej0dej0d$df
ddZeddd#dZdej0dej0d$d^f
ddZeeddd#dadej0dej0d$df
ddZeddd#dZdej0dej0d$d^f
d dZeeddd#dadej0dej0d$df
ddZe	d>d8d9d#ej0dej5e8 d$efddZdddej@ej0df deje7ej0f d$ej/ej0gej0f fddZdddej@ej0df deje7ej0f d	ej/ej0gej0f d
eJd$ej/ej0gej0f fddZddd#dZdej@ej0df deje7ej0f d	ej/ej0gej0f d
eJd$d^fddZddd#dadej@ej0df deje7ej0f d	ej/ej0gej0f d
eJd$dfddZi ded0e~depdeLdeZd=edIeVd+eVdeOdedede`de\dejde=dekdeui deddeideYde]ded eyd!eDd"eFd#ed$eTd%eUd&ead'e^d(ed)ed*eBdWe}i d+eqd,ezd-ed.ed/eod0ePd1ed2emd3ewd4eNd5eld6eed7eRd8eCd9eAd:ecd;ehefeKed<ZdS (W  z7Built-in template filters used with the ``|`` operator.    N)abc)getattr_static)chain)groupby)escapeMarkup)soft_str   )async_variant)
auto_aiter)
auto_awaitauto_to_list)FilterArgumentError)	Undefined)htmlsafe_json_dumps)pass_context)pass_environment)pass_eval_contextpformat	url_quote)urlize)Environment)EvalContext)Context)SandboxedEnvironmentc                   @   s   e Zd ZdefddZdS )HasHTMLreturnc                 C      d S N selfr#   r#   MC:\Users\User\Downloads\Proyecto_IoT\venv\Lib\site-packages\jinja2/filters.py__html__(      zHasHTML.__html__N)__name__
__module____qualname__strr'   r#   r#   r#   r&   r   '   s    r   F.)boundKVvaluer    c                 C   s   t | trtt|  S | S )zxFor use as a postprocessor for :func:`make_attrgetter`. Converts strings
    to lowercase and returns other types as-is.)
isinstancer,   tcastr0   lowerr1   r#   r#   r&   ignore_case1   s   
r7   environmentr   	attributepostprocessdefaultc                    s,   t |dtjdtjf fdd}|S )zReturns a callable that looks up the given attribute from a
    passed object with the rules of the environment.  Dots are allowed
    to access attributes of attributes.  Integer parts in paths are
    looked up as integers.
    itemr    c                    s@   D ]} | |}  d urt| tr } qd ur| } | S r"   )getitemr2   r   )r<   partr;   r8   partsr:   r#   r&   
attrgetterG   s   z#make_attrgetter.<locals>.attrgetter)_prepare_attribute_partsr3   Any)r8   r9   r:   r;   rA   r#   r?   r&   make_attrgetter:   s    rD   c                    sR   t |tr|d}n|g}dd |D dtjdtjtj f fdd}|S )a  Returns a callable that looks up the given comma separated
    attributes from a passed object with the rules of the environment.
    Dots are allowed to access attributes of each attribute.  Integer
    parts in paths are looked up as integers.

    The value returned by the returned callable is a list of extracted
    attribute values.

    Examples of attribute: "attr1,attr2", "attr1.inner1.0,attr2.inner2.0", etc.
    ,c                 S   s   g | ]}t |qS r#   )rB   .0r<   r#   r#   r&   
<listcomp>j   s    z)make_multi_attrgetter.<locals>.<listcomp>r<   r    c                    sV   d gt  }tD ]\}}| }|D ]} ||}qd ur$|}|||< q|S r"   )len	enumerater=   )r<   itemsiZattribute_partZitem_ir>   r8   r@   r:   r#   r&   rA   l   s   
z)make_multi_attrgetter.<locals>.attrgetter)r2   r,   splitr3   rC   List)r8   r9   r:   rN   rA   r#   rM   r&   make_multi_attrgetterV   s   
$rP   attrc                 C   s0   | d u rg S t | trdd | dD S | gS )Nc                 S   s    g | ]}|  rt|n|qS r#   )isdigitint)rG   xr#   r#   r&   rH      s     z,_prepare_attribute_parts.<locals>.<listcomp>.)r2   r,   rN   )rQ   r#   r#   r&   rB      s
   
rB   zt.Union[str, HasHTML]c                 C   s&   t | drtd|  } tt| S )zCEnforce HTML escaping.  This will probably double escape variables.r'   r   )hasattrr3   r4   r'   r   r,   r6   r#   r#   r&   do_forceescape   s   
rW   c                 C   sJ   t | tst | tjst| S t | tr|  }n| }ddd |D S )a3  Quote data for use in a URL path or query using UTF-8.

    Basic wrapper around :func:`urllib.parse.quote` when given a
    string, or :func:`urllib.parse.urlencode` for a dict or iterable.

    :param value: Data to quote. A string will be quoted directly. A
        dict or iterable of ``(key, value)`` pairs will be joined as a
        query string.

    When given a string, "/" is not quoted. HTTP servers treat "/" and
    "%2F" equivalently in paths. If you need quoted slashes, use the
    ``|replace("/", "%2F")`` filter.

    .. versionadded:: 2.7
    &c                 s   s2    | ]\}}t |d d dt |d d V  qdS )T)Zfor_qs=Nr   )rG   kvr#   r#   r&   	<genexpr>   s    "
zdo_urlencode.<locals>.<genexpr>)r2   r,   r   Iterabler   dictrK   join)r1   rK   r#   r#   r&   do_urlencode   s   


r`   eval_ctxr   soldnewcountc                 C   sr   |du rd}| j st|t|t||S t|ds%t|dr*t|ds*t|}nt|}|t|t||S )a  Return a copy of the value with all occurrences of a substring
    replaced with a new one. The first argument is the substring
    that should be replaced, the second is the replacement string.
    If the optional third argument ``count`` is given, only the first
    ``count`` occurrences are replaced:

    .. sourcecode:: jinja

        {{ "Hello World"|replace("Hello", "Goodbye") }}
            -> Goodbye World

        {{ "aaaaargh"|replace("a", "d'oh, ", 2) }}
            -> d'oh, d'oh, aaargh
    Nr'   )
autoescaper,   replacerV   r   r	   )ra   rb   rc   rd   re   r#   r#   r&   
do_replace   s   
ri   c                 C      t |  S )zConvert a value to uppercase.)r	   upperrb   r#   r#   r&   do_upper      rm   c                 C   rj   )zConvert a value to lowercase.)r	   r5   rl   r#   r#   r&   do_lower   rn   ro   c                 c   s6    t | trdS t | tjstd|  E dH  dS )aO  Return an iterator over the ``(key, value)`` items of a mapping.

    ``x|items`` is the same as ``x.items()``, except if ``x`` is
    undefined an empty iterator is returned.

    This filter is useful if you expect the template to be rendered with
    an implementation of Jinja in another programming language that does
    not have a ``.items()`` method on its mapping type.

    .. code-block:: html+jinja

        <dl>
        {% for key, value in my_dict|items %}
            <dt>{{ key }}
            <dd>{{ value }}
        {% endfor %}
        </dl>

    .. versionadded:: 3.1
    Nz'Can only get item pairs from a mapping.)r2   r   r   Mapping	TypeErrorrK   r6   r#   r#   r&   do_items   s   
rr   z[\s/>=])flagsTd	autospacec                 C   s   g }|  D ]+\}}|du st|trqt|dur"td||t| dt| d qd|}|r?|r?d| }| j	rFt
|}|S )a  Create an SGML/XML attribute string based on the items in a dict.

    **Values** that are neither ``none`` nor ``undefined`` are automatically
    escaped, safely allowing untrusted user input.

    User input should not be used as **keys** to this filter. If any key
    contains a space, ``/`` solidus, ``>`` greater-than sign, or ``=`` equals
    sign, this fails with a ``ValueError``. Regardless of this, user input
    should never be used as keys to this filter, or must be separately validated
    first.

    .. sourcecode:: html+jinja

        <ul{{ {'class': 'my_list', 'missing': none,
                'id': 'list-%d'|format(variable)}|xmlattr }}>
        ...
        </ul>

    Results in something like this:

    .. sourcecode:: html

        <ul class="my_list" id="list-42">
        ...
        </ul>

    As you can see it automatically prepends a space in front of the item
    if the filter returned something unless the second parameter is false.

    .. versionchanged:: 3.1.4
        Keys with ``/`` solidus, ``>`` greater-than sign, or ``=`` equals sign
        are not allowed.

    .. versionchanged:: 3.1.3
        Keys with spaces are not allowed.
    Nz%Invalid character in attribute name: z="" )rK   r2   r   _attr_key_research
ValueErrorappendr   r_   rg   r   )ra   rt   ru   rK   keyr1   rvr#   r#   r&   
do_xmlattr  s   ( 
r~   c                 C   rj   )zYCapitalize a value. The first character will be uppercase, all others
    lowercase.
    )r	   
capitalizerl   r#   r#   r&   do_capitalizeA  s   r   z([-\s({\[<]+)c                 C   s   d dd tt| D S )zReturn a titlecased version of the value. I.e. words will start with
    uppercase letters, all remaining characters are lowercase.
     c                 S   s,   g | ]}|r|d    |dd   qS )r   r
   N)rk   r5   rF   r#   r#   r&   rH   P  s    zdo_title.<locals>.<listcomp>)r_   _word_beginning_split_rerN   r	   rl   r#   r#   r&   do_titleK  s
   r   Fr|   case_sensitivebyzte.Literal["key", "value"]reversec                    s^   |dkrdn|dkrdnt ddtjtjtjf dtjf fdd	}t|  ||d
S )af  Sort a dict and yield (key, value) pairs. Python dicts may not
    be in the order you want to display them in, so sort them first.

    .. sourcecode:: jinja

        {% for key, value in mydict|dictsort %}
            sort the dict by key, case insensitive

        {% for key, value in mydict|dictsort(reverse=true) %}
            sort the dict by key, case insensitive, reverse order

        {% for key, value in mydict|dictsort(true) %}
            sort the dict by key, case sensitive

        {% for key, value in mydict|dictsort(false, 'value') %}
            sort the dict by value, case insensitive
    r|   r   r1   r
   z,You can only sort by either "key" or "value"r<   r    c                    s   |  } s
t |}|S r"   )r7   )r<   r1   r   posr#   r&   	sort_funcv  s   zdo_dictsort.<locals>.sort_funcr|   r   )r   r3   TuplerC   sortedrK   )r1   r   r   r   r   r#   r   r&   do_dictsortX  s   (r   t.Iterable[V]	t.List[V]c                 C   s$   t | ||stndd}t|||dS )a-  Sort an iterable using Python's :func:`sorted`.

    .. sourcecode:: jinja

        {% for city in cities|sort %}
            ...
        {% endfor %}

    :param reverse: Sort descending instead of ascending.
    :param case_sensitive: When sorting strings, sort upper and lower
        case separately.
    :param attribute: When sorting objects or dicts, an attribute or
        key to sort by. Can use dot notation like ``"address.city"``.
        Can be a list of attributes like ``"age,name"``.

    The sort is stable, it does not change the relative order of
    elements that compare equal. This makes it is possible to chain
    sorts on different attributes and ordering.

    .. sourcecode:: jinja

        {% for user in users|sort(attribute="name")
            |sort(reverse=true, attribute="age") %}
            ...
        {% endfor %}

    As a shortcut to chaining when the direction is the same for all
    attributes, pass a comma separate list of attributes.

    .. sourcecode:: jinja

        {% for user in users|sort(attribute="age,name") %}
            ...
        {% endfor %}

    .. versionchanged:: 2.11.0
        The ``attribute`` parameter can be a comma separated list of
        attributes, e.g. ``"age,name"``.

    .. versionchanged:: 2.6
       The ``attribute`` parameter was added.
    Nr:   r   )rP   r7   r   )r8   r1   r   r   r9   key_funcr#   r#   r&   do_sort  s   2r   zt.Iterator[V]c                 c   sL    t | ||stndd}t }|D ]}||}||vr#|| |V  qdS )a  Returns a list of unique items from the given iterable.

    .. sourcecode:: jinja

        {{ ['foo', 'bar', 'foobar', 'FooBar']|unique|list }}
            -> ['foo', 'bar', 'foobar']

    The unique items are yielded in the same order as their first occurrence in
    the iterable passed to the filter.

    :param case_sensitive: Treat upper and lower case strings as distinct.
    :param attribute: Filter objects with unique values for this attribute.
    Nr   )rD   r7   setadd)r8   r1   r   r9   getterseenr<   r|   r#   r#   r&   sync_do_unique  s   
r   *t.Union[t.AsyncIterable[V], t.Iterable[V]]c                       t | t|I d H ||S r"   )r   r   r8   r1   r   r9   r#   r#   r&   	do_unique  s   r   funczt.Callable[..., V]t.Union[V, Undefined]c                 C   s\   t |}zt|}W n ty   | d Y S w t| ||s tnd d}|t|g||dS )Nz'No aggregated item, sequence was empty.r   r|   )iternextStopIteration	undefinedrD   r7   r   )r8   r1   r   r   r9   itfirstr   r#   r#   r&   _min_or_max  s   r   c                 C      t | |t||S )a  Return the smallest item from the sequence.

    .. sourcecode:: jinja

        {{ [1, 2, 3]|min }}
            -> 1

    :param case_sensitive: Treat upper and lower case strings as distinct.
    :param attribute: Get the object with the min value of this attribute.
    )r   minr   r#   r#   r&   do_min     r   c                 C   r   )a  Return the largest item from the sequence.

    .. sourcecode:: jinja

        {{ [1, 2, 3]|max }}
            -> 3

    :param case_sensitive: Treat upper and lower case strings as distinct.
    :param attribute: Get the object with the max value of this attribute.
    )r   maxr   r#   r#   r&   do_max  r   r   r   default_valuebooleanc                 C   s   t | ts	|r| s|S | S )a`  If the value is undefined it will return the passed default value,
    otherwise the value of the variable:

    .. sourcecode:: jinja

        {{ my_variable|default('my_variable is not defined') }}

    This will output the value of ``my_variable`` if the variable was
    defined, otherwise ``'my_variable is not defined'``. If you want
    to use default with variables that evaluate to false you have to
    set the second parameter to `true`:

    .. sourcecode:: jinja

        {{ ''|default('the string was empty', true) }}

    .. versionchanged:: 2.11
       It's now possible to configure the :class:`~jinja2.Environment` with
       :class:`~jinja2.ChainableUndefined` to make the `default` filter work
       on nested elements and attributes that may contain undefined values
       in the chain without getting an :exc:`~jinja2.UndefinedError`.
    )r2   r   )r1   r   r   r#   r#   r&   
do_default"  s   r   c                 C   s   |durt t| j||}| jst|t t|S t|dsLt|}d}t|D ]\}}t|dr5d}q)t|||< q)|rCt	|}nt|}||S t
|t t
|S )a#  Return a string which is the concatenation of the strings in the
    sequence. The separator between elements is an empty string per
    default, you can define it with the optional parameter:

    .. sourcecode:: jinja

        {{ [1, 2, 3]|join('|') }}
            -> 1|2|3

        {{ [1, 2, 3]|join }}
            -> 123

    It is also possible to join certain attributes of an object:

    .. sourcecode:: jinja

        {{ users|join(', ', attribute='username') }}

    .. versionadded:: 2.6
       The `attribute` parameter was added.
    Nr'   FT)maprD   r8   rg   r,   r_   rV   listrJ   r   r	   )ra   r1   rt   r9   Z	do_escapeidxr<   r#   r#   r&   sync_do_joinC  s    



r   c                    r   r"   )r   r   )ra   r1   rt   r9   r#   r#   r&   do_join}  s   r   P   widthc                 C      t | |S )z.Centers the value in a field of a given width.)r	   center)r1   r   r#   r#   r&   	do_center     r   seqc                 C   s,   zt t|W S  ty   | d Y S w )z$Return the first item of a sequence."No first item, sequence was empty.)r   r   r   r   r8   r   r#   r#   r&   sync_do_first  s
   r   c                    s4   z
t | I d H W S  ty   | d Y S w )Nr   )r   	__anext__StopAsyncIterationr   r   r#   r#   r&   do_first  s   r   t.Reversible[V]c                 C   s0   z	t tt|W S  ty   | d Y S w )zReturn the last item of a sequence.

    Note: Does not work with generators. You may want to explicitly
    convert it to a list:

    .. sourcecode:: jinja

        {{ data | selectattr('name', '==', 'Jinja') | list | last }}
    z!No last item, sequence was empty.)r   r   reversedr   r   r   r#   r#   r&   do_last  s
   r   contextr   t.Sequence[V]c                 C   s,   zt |W S  ty   | jd Y S w )z'Return a random item from the sequence.z#No random item, sequence was empty.)randomchoice
IndexErrorr8   r   )r   r   r#   r#   r&   	do_random  s
   r   binaryc                 C   s   t | }|rdnd}|rdnd|rdnd|rdnd|rd	nd
|r"dnd|r'dnd|r,dnd|r1dndg}|dkr:dS ||k rEt| dS t|D ]\}}||d  }||k re|| | dd|   S qI|| | dd| S )zFormat the value like a 'human-readable' file size (i.e. 13 kB,
    4.1 MB, 102 Bytes, etc).  Per default decimal prefixes are used (Mega,
    Giga, etc.), if the second parameter is set to `True` the binary
    prefixes are used (Mebi, Gibi).
    i   i  KiBkBMiBMBGiBGBTiBTBPiBPBEiBEBZiBZBYiBYBr
   z1 Bytez Bytes   z.1frw   )floatrS   rJ   )r1   r   bytesbaseprefixesrL   prefixunitr#   r#   r&   do_filesizeformat  s*   







r   c                 C      t | S )z.Pretty print a variable. Useful for debugging.r   r6   r#   r#   r&   	do_pprint     r   z^([\w.+-]{2,}:(/){0,2})$trim_url_limitnofollowtargetrelextra_schemesc                 C   s   | j j}t|pd }|r|d ||d pd  dt|p&d}|du r/|d }|du r9|d p8d}|D ]}	t	|	du rKt
|	d	q;t|||||d
}
| jr\t|
}
|
S )a0  Convert URLs in text into clickable links.

    This may not recognize links in some situations. Usually, a more
    comprehensive formatter, such as a Markdown library, is a better
    choice.

    Works on ``http://``, ``https://``, ``www.``, ``mailto:``, and email
    addresses. Links with trailing punctuation (periods, commas, closing
    parentheses) and leading punctuation (opening parentheses) are
    recognized excluding the punctuation. Email addresses that include
    header fields are not recognized (for example,
    ``mailto:address@example.com?cc=copy@example.com``).

    :param value: Original text containing URLs to link.
    :param trim_url_limit: Shorten displayed URL values to this length.
    :param nofollow: Add the ``rel=nofollow`` attribute to links.
    :param target: Add the ``target`` attribute to links.
    :param rel: Add the ``rel`` attribute to links.
    :param extra_schemes: Recognize URLs that start with these schemes
        in addition to the default behavior. Defaults to
        ``env.policies["urlize.extra_schemes"]``, which defaults to no
        extra schemes.

    .. versionchanged:: 3.0
        The ``extra_schemes`` parameter was added.

    .. versionchanged:: 3.0
        Generate ``https://`` links for URLs without a scheme.

    .. versionchanged:: 3.0
        The parsing rules were updated. Recognize email addresses with
        or without the ``mailto:`` scheme. Validate IP addresses. Ignore
        parentheses and brackets in more cases.

    .. versionchanged:: 2.8
       The ``target`` parameter was added.
    r   r   z
urlize.relrw   Nzurlize.targetzurlize.extra_schemesr#   z" is not a valid URI scheme prefix.)r   r   r   r   )r8   policiesr   rN   r   updater_   r   _uri_scheme_re	fullmatchr   r   rg   r   )ra   r1   r   r   r   r   r   r   Z	rel_partsschemer}   r#   r#   r&   	do_urlize  s0   /
r      r   blankc                    s   t |tr| nd|  d}t | trt  t|}| |7 } |r+|  |  }n|  }|d}|rF||| fdd|D  7 }|rL | }|S )a  Return a copy of the string with each line indented by 4 spaces. The
    first line and blank lines are not indented by default.

    :param width: Number of spaces, or a string, to indent by.
    :param first: Don't skip indenting the first line.
    :param blank: Don't skip indenting empty lines.

    .. versionchanged:: 3.0
        ``width`` can be a string.

    .. versionchanged:: 2.10
        Blank lines are not indented by default.

        Rename the ``indentfirst`` argument to ``first``.
    rw   
r   c                 3   s     | ]}|r
 | n|V  qd S r"   r#   rG   lineZ	indentionr#   r&   r\   _  s    
zdo_indent.<locals>.<genexpr>)r2   r,   r   r_   
splitlinespop)rb   r   r   r   newliner}   linesr#   r   r&   	do_indent9  s&   


r      ...envlength	killwordsendleewayc                 C   s   |du r	| j d }|t|ksJ dt| d| |dks&J d| t||| kr0|S |r>|d|t|  | S |d|t|  ddd }|| S )	a  Return a truncated copy of the string. The length is specified
    with the first parameter which defaults to ``255``. If the second
    parameter is ``true`` the filter will cut the text at length. Otherwise
    it will discard the last word. If the text was in fact
    truncated it will append an ellipsis sign (``"..."``). If you want a
    different ellipsis sign than ``"..."`` you can specify it using the
    third parameter. Strings that only exceed the length by the tolerance
    margin given in the fourth parameter will not be truncated.

    .. sourcecode:: jinja

        {{ "foo bar baz qux"|truncate(9) }}
            -> "foo..."
        {{ "foo bar baz qux"|truncate(9, True) }}
            -> "foo ba..."
        {{ "foo bar baz qux"|truncate(11) }}
            -> "foo bar baz qux"
        {{ "foo bar baz qux"|truncate(11, False, '...', 0) }}
            -> "foo bar..."

    The default leeway on newer Jinja versions is 5 and was 0 before but
    can be reconfigured globally.
    Nztruncate.leewayzexpected length >= z, got r   zexpected leeway >= 0, got rw   r
   )r   rI   rsplit)r   rb   r   r   r  r  resultr#   r#   r&   do_truncatei  s    
$ r  O   break_long_words
wrapstringbreak_on_hyphensc                    s:   ddl du r| j fdd| D S )a  Wrap a string to the given width. Existing newlines are treated
    as paragraphs to be wrapped separately.

    :param s: Original text to wrap.
    :param width: Maximum length of wrapped lines.
    :param break_long_words: If a word is longer than ``width``, break
        it across lines.
    :param break_on_hyphens: If a word contains hyphens, it may be split
        across lines.
    :param wrapstring: String to join each wrapped line. Defaults to
        :attr:`Environment.newline_sequence`.

    .. versionchanged:: 2.11
        Existing newlines are treated as paragraphs wrapped separately.

    .. versionchanged:: 2.11
        Added the ``break_on_hyphens`` parameter.

    .. versionchanged:: 2.7
        Added the ``wrapstring`` parameter.
    r   Nc                    s(   g | ]} j|d d  dqS )F)r   expand_tabsreplace_whitespacer  r	  )r_   wrapr   r  r	  textwrapr   r  r#   r&   rH     s    zdo_wordwrap.<locals>.<listcomp>)r  Znewline_sequencer_   r   )r8   rb   r   r  r  r	  r#   r  r&   do_wordwrap  s   r  z\w+c                 C   s   t tt| S )zCount the words in that string.)rI   _word_refindallr	   rl   r#   r#   r&   do_wordcount  s   r  
   r   c                 C   sh   zt | trt| |W S t| W S  ttfy3   z	tt| W  Y S  tttfy2   | Y  Y S w w )a  Convert the value into an integer. If the
    conversion doesn't work it will return ``0``. You can
    override this default using the first parameter. You
    can also override the default base (10) in the second
    parameter, which handles input with prefixes such as
    0b, 0o and 0x for bases 2, 8 and 16 respectively.
    The base is ignored for decimal numbers and non-string values.
    )r2   r,   rS   rq   rz   r   OverflowError)r1   r;   r   r#   r#   r&   do_int  s   	

r          c              	   C   s&   zt | W S  ttfy   | Y S w )zConvert the value into a floating point number. If the
    conversion doesn't work it will return ``0.0``. You can
    override this default using the first parameter.
    )r   rq   rz   )r1   r;   r#   r#   r&   do_float  s
   
r  argskwargsc                 O   s    |r|rt dt| |p| S )a  Apply the given values to a `printf-style`_ format string, like
    ``string % values``.

    .. sourcecode:: jinja

        {{ "%s, %s!"|format(greeting, name) }}
        Hello, World!

    In most cases it should be more convenient and efficient to use the
    ``%`` operator or :meth:`str.format`.

    .. code-block:: text

        {{ "%s, %s!" % (greeting, name) }}
        {{ "{}, {}!".format(greeting, name) }}

    .. _printf-style: https://docs.python.org/library/stdtypes.html
        #printf-style-string-formatting
    z>can't handle positional and keyword arguments at the same time)r   r	   )r1   r  r  r#   r#   r&   	do_format  s
   r  charsc                 C   r   )z=Strip leading and trailing characters, by default whitespace.)r	   strip)r1   r  r#   r#   r&   do_trim  r   r  c                 C   s*   t | drtd|  } tt|  S )zAStrip SGML/XML tags and replace adjacent whitespace by one space.r'   r   )rV   r3   r4   r'   r   r,   	striptagsr6   r#   r#   r&   do_striptags  s   
r  zt.Collection[V]slices	fill_withzt.Optional[V]zt.Iterator[t.List[V]]c                 c   s    t | }t|}|| }|| }d}t|D ].}|||  }	||k r'|d7 }||d |  }
||	|
 }|durB||krB|| |V  qdS )aF  Slice an iterator and return a list of lists containing
    those items. Useful if you want to create a div containing
    three ul tags that represent columns:

    .. sourcecode:: html+jinja

        <div class="columnwrapper">
          {%- for column in items|slice(3) %}
            <ul class="column-{{ loop.index }}">
            {%- for item in column %}
              <li>{{ item }}</li>
            {%- endfor %}
            </ul>
          {%- endfor %}
        </div>

    If you pass it a second argument it's used to fill missing
    values on the last iteration.
    r   r
   N)r   rI   ranger{   )r1   r   r!  r   r   Zitems_per_sliceZslices_with_extraoffsetZslice_numberstartr  tmpr#   r#   r&   sync_do_slice#  s    
r&  c                    s   t t| I d H ||S r"   )r&  r   )r1   r   r!  r#   r#   r&   do_sliceN  s   r'  	linecountc                 c   sl    g }| D ]}t ||kr|V  g }|| q|r4|dur/t ||k r/||g|t |  7 }|V  dS dS )a  
    A filter that batches items. It works pretty much like `slice`
    just the other way round. It returns a list of lists with the
    given number of items. If you provide a second parameter this
    is used to fill up missing items. See this example:

    .. sourcecode:: html+jinja

        <table>
        {%- for row in items|batch(3, '&nbsp;') %}
          <tr>
          {%- for column in row %}
            <td>{{ column }}</td>
          {%- endfor %}
          </tr>
        {%- endfor %}
        </table>
    N)rI   r{   )r1   r(  r!  r%  r<   r#   r#   r&   do_batchW  s   
r)  common	precisionmethodz%te.Literal["common", "ceil", "floor"]c                 C   sL   |dvrt d|dkrt| |S tt|}tt|| d|  d|  S )a  Round the number to a given precision. The first
    parameter specifies the precision (default is ``0``), the
    second the rounding method:

    - ``'common'`` rounds either up or down
    - ``'ceil'`` always rounds up
    - ``'floor'`` always rounds down

    If you don't specify a method ``'common'`` is used.

    .. sourcecode:: jinja

        {{ 42.55|round }}
            -> 43.0
        {{ 42.55|round(1, 'floor') }}
            -> 42.5

    Note that even if rounded to 0 precision, a float is returned.  If
    you need a real integer, pipe it through `int`:

    .. sourcecode:: jinja

        {{ 42.55|round|int }}
            -> 43
    >   floorr*  ceilz$method must be common, ceil or floorr*  r  )r   roundgetattrmathr3   r4   r   )r1   r+  r,  r   r#   r#   r&   do_round|  s   

 r2  c                   @   sD   e Zd ZU ejed< ejej ed< defddZdefddZ	dS )	_GroupTupleZgrouperr   r    c                 C   
   t | S r"   )tuple__repr__r$   r#   r#   r&   r6       
z_GroupTuple.__repr__c                 C   r4  r"   )r5  __str__r$   r#   r#   r&   r8    r7  z_GroupTuple.__str__N)
r)   r*   r+   r3   rC   __annotations__rO   r,   r6  r8  r#   r#   r#   r&   r3    s
   
 
r3  zt.List[_GroupTuple]c                    s\   t | ||stnd|d}dd tt||d|D }|s,t | ||d  fdd|D }|S )aq  Group a sequence of objects by an attribute using Python's
    :func:`itertools.groupby`. The attribute can use dot notation for
    nested access, like ``"address.city"``. Unlike Python's ``groupby``,
    the values are sorted first so only one group is returned for each
    unique value.

    For example, a list of ``User`` objects with a ``city`` attribute
    can be rendered in groups. In this example, ``grouper`` refers to
    the ``city`` value of the group.

    .. sourcecode:: html+jinja

        <ul>{% for city, items in users|groupby("city") %}
          <li>{{ city }}
            <ul>{% for user in items %}
              <li>{{ user.name }}
            {% endfor %}</ul>
          </li>
        {% endfor %}</ul>

    ``groupby`` yields namedtuples of ``(grouper, list)``, which
    can be used instead of the tuple unpacking above. ``grouper`` is the
    value of the attribute, and ``list`` is the items with that value.

    .. sourcecode:: html+jinja

        <ul>{% for group in users|groupby("city") %}
          <li>{{ group.grouper }}: {{ group.list|join(", ") }}
        {% endfor %}</ul>

    You can specify a ``default`` value to use if an object in the list
    does not have the given attribute.

    .. sourcecode:: jinja

        <ul>{% for city, items in users|groupby("city", default="NY") %}
          <li>{{ city }}: {{ items|map(attribute="name")|join(", ") }}</li>
        {% endfor %}</ul>

    Like the :func:`~jinja-filters.sort` filter, sorting and grouping is
    case-insensitive by default. The ``key`` for each group will have
    the case of the first item in that group of values. For example, if
    a list of users has cities ``["CA", "NY", "ca"]``, the "CA" group
    will have two values. This can be disabled by passing
    ``case_sensitive=True``.

    .. versionchanged:: 3.1
        Added the ``case_sensitive`` parameter. Sorting and grouping is
        case-insensitive by default, matching other filters that do
        comparisons.

    .. versionchanged:: 3.0
        Added the ``default`` parameter.

    .. versionchanged:: 2.6
        The attribute supports dot notation for nested access.
    Nr:   r;   c                 S   s   g | ]\}}t |t|qS r#   )r3  r   rG   r|   valuesr#   r#   r&   rH     s    z#sync_do_groupby.<locals>.<listcomp>r   r;   c                    "   g | ]\}}t  |d  |qS r   r3  rG   _r<  Zoutput_exprr#   r&   rH         " )rD   r7   r   r   r8   r1   r9   r;   r   exproutr#   rC  r&   sync_do_groupby  s   A
rH  c                    sn   t | ||stnd |d}dd ttt|I d H |d|D I d H }|s5t | ||d  fdd|D }|S )Nr:  c                    s&   g | ]\}}t |t|I d H qS r"   )r3  r   r;  r#   r#   r&   rH     s
    zdo_groupby.<locals>.<listcomp>r   r=  c                    r>  r?  r@  rA  rC  r#   r&   rH     rD  )rD   r7   r   r   r   rE  r#   rC  r&   
do_groupby  s   
rI  iterabler$  c                 C   s"   |durt t| ||}t||S )a  Returns the sum of a sequence of numbers plus the value of parameter
    'start' (which defaults to 0).  When the sequence is empty it returns
    start.

    It is also possible to sum up only certain attributes:

    .. sourcecode:: jinja

        Total: {{ items|sum(attribute='price') }}

    .. versionchanged:: 2.6
       The ``attribute`` parameter was added to allow summing up over
       attributes.  Also the ``start`` parameter was moved on to the right.
    N)r   rD   sum)r8   rJ  r9   r$  r#   r#   r&   sync_do_sum   s   
rL  c                    sT   |}|d urt | |}n	dtdtfdd}t|2 z3 d H W }|||7 }q6 |S )NrT   r    c                 S      | S r"   r#   rT   r#   r#   r&   r   H  r(   zdo_sum.<locals>.func)rD   r0   r   )r8   rJ  r9   r$  r}   r   r<   r#   r#   r&   do_sum;  s   rO  c                 C   r   )zkConvert the value into a list.  If it was a string the returned list
    will be a list of characters.
    )r   r6   r#   r#   r&   sync_do_listQ     rP  c                    s   t | I d H S r"   r   r6   r#   r#   r&   do_listX  s   rR  c                 C   r   )zMark the value as safe which means that in an environment with automatic
    escaping enabled this variable will not be escaped.
    r   r6   r#   r#   r&   do_mark_safe]  rQ  rS  c                 C   r   )zHMark a value as unsafe.  This is the reverse operation for :func:`safe`.)r,   r6   r#   r#   r&   do_mark_unsafed  r   rT  c                 C   r!   r"   r#   r6   r#   r#   r&   
do_reversei  r(   rU  c                 C   r!   r"   r#   r6   r#   r#   r&   rU  m  r(   c                 C   sp   t | tr| ddd S zt| W S  ty7   zt| }|  |W  Y S  ty6 } ztd|d}~ww w )z\Reverse the object or return an iterator that iterates over it the other
    way round.
    Nrf   zargument must be iterable)r2   r,   r   rq   r   r   r   )r1   r}   er#   r#   r&   rU  q  s   



objnamec                 C   sJ   zt || W n ty   t||s| j||d Y S Y nw | ||S )a	  Get an attribute of an object. ``foo|attr("bar")`` works like
    ``foo.bar``, but returns undefined instead of falling back to ``foo["bar"]``
    if the attribute doesn't exist.

    See :ref:`Notes on subscriptions <notes-on-subscriptions>` for more details.
    )rW  rX  )r   AttributeErrorrV   r   r0  )r8   rW  rX  r#   r#   r&   do_attr  s   
rZ  c                 O   r!   r"   r#   r   r1   rX  r  r  r#   r#   r&   sync_do_map     r\  )r9   r;   c                C   r!   r"   r#   r   r1   r9   r;   r#   r#   r&   r\    r]  c                 o   s.    |rt | ||}|D ]	}||V  qdS dS )a  Applies a filter on a sequence of objects or looks up an attribute.
    This is useful when dealing with lists of objects but you are really
    only interested in a certain value of it.

    The basic usage is mapping on an attribute.  Imagine you have a list
    of users but you are only interested in a list of usernames:

    .. sourcecode:: jinja

        Users on this page: {{ users|map(attribute='username')|join(', ') }}

    You can specify a ``default`` value to use if an object in the list
    does not have the given attribute.

    .. sourcecode:: jinja

        {{ users|map(attribute="username", default="Anonymous")|join(", ") }}

    Alternatively you can let it invoke a filter by passing the name of the
    filter and the arguments afterwards.  A good example would be applying a
    text conversion filter on a sequence:

    .. sourcecode:: jinja

        Users on this page: {{ titles|map('lower')|join(', ') }}

    Similar to a generator comprehension such as:

    .. code-block:: python

        (u.username for u in users)
        (getattr(u, "username", "Anonymous") for u in users)
        (do_lower(x) for x in titles)

    .. versionchanged:: 2.11.0
        Added the ``default`` parameter.

    .. versionadded:: 2.7
    N)prepare_mapr   r1   r  r  r   r<   r#   r#   r&   r\    s   +c                 O   r!   r"   r#   r[  r#   r#   r&   do_map  r]  ra  c                C   r!   r"   r#   r^  r#   r#   r&   ra    r]  c                 O  sF   |r!t | ||}t|2 z3 d H W }t||I d H V  q6 d S d S r"   )r_  r   r   r`  r#   r#   r&   ra    s   c                 O      t | |||dd dS )a  Filters a sequence of objects by applying a test to each object,
    and only selecting the objects with the test succeeding.

    If no test is specified, each object will be evaluated as a boolean.

    Example usage:

    .. sourcecode:: jinja

        {{ numbers|select("odd") }}
        {{ numbers|select("odd") }}
        {{ numbers|select("divisibleby", 3) }}
        {{ numbers|select("lessthan", 42) }}
        {{ strings|select("equalto", "mystring") }}

    Similar to a generator comprehension such as:

    .. code-block:: python

        (n for n in numbers if test_odd(n))
        (n for n in numbers if test_divisibleby(n, 3))

    .. versionadded:: 2.7
    c                 S   rM  r"   r#   rN  r#   r#   r&   <lambda>       z sync_do_select.<locals>.<lambda>Fselect_or_rejectr   r1   r  r  r#   r#   r&   sync_do_select  s   rh  zt.AsyncIterator[V]c                       t | |||dd dS )Nc                 S   rM  r"   r#   rN  r#   r#   r&   rc  *  rd  zdo_select.<locals>.<lambda>Fasync_select_or_rejectrg  r#   r#   r&   	do_select#     rl  c                 O   rb  )a  Filters a sequence of objects by applying a test to each object,
    and rejecting the objects with the test succeeding.

    If no test is specified, each object will be evaluated as a boolean.

    Example usage:

    .. sourcecode:: jinja

        {{ numbers|reject("odd") }}

    Similar to a generator comprehension such as:

    .. code-block:: python

        (n for n in numbers if not test_odd(n))

    .. versionadded:: 2.7
    c                 S      |  S r"   r#   rN  r#   r#   r&   rc  D      z sync_do_reject.<locals>.<lambda>Fre  rg  r#   r#   r&   sync_do_reject-  s   rp  c                    ri  )Nc                 S   rn  r"   r#   rN  r#   r#   r&   rc  N  ro  zdo_reject.<locals>.<lambda>Frj  rg  r#   r#   r&   	do_rejectG  rm  rq  c                 O   rb  )a]  Filters a sequence of objects by applying a test to the specified
    attribute of each object, and only selecting the objects with the
    test succeeding.

    If no test is specified, the attribute's value will be evaluated as
    a boolean.

    Example usage:

    .. sourcecode:: jinja

        {{ users|selectattr("is_active") }}
        {{ users|selectattr("email", "none") }}

    Similar to a generator comprehension such as:

    .. code-block:: python

        (user for user in users if user.is_active)
        (user for user in users if test_none(user.email))

    .. versionadded:: 2.7
    c                 S   rM  r"   r#   rN  r#   r#   r&   rc  l  rd  z$sync_do_selectattr.<locals>.<lambda>Tre  rg  r#   r#   r&   sync_do_selectattrQ  s   rr  c                    ri  )Nc                 S   rM  r"   r#   rN  r#   r#   r&   rc  v  rd  zdo_selectattr.<locals>.<lambda>Trj  rg  r#   r#   r&   do_selectattro  rm  rs  c                 O   rb  )aL  Filters a sequence of objects by applying a test to the specified
    attribute of each object, and rejecting the objects with the test
    succeeding.

    If no test is specified, the attribute's value will be evaluated as
    a boolean.

    .. sourcecode:: jinja

        {{ users|rejectattr("is_active") }}
        {{ users|rejectattr("email", "none") }}

    Similar to a generator comprehension such as:

    .. code-block:: python

        (user for user in users if not user.is_active)
        (user for user in users if not test_none(user.email))

    .. versionadded:: 2.7
    c                 S   rn  r"   r#   rN  r#   r#   r&   rc    ro  z$sync_do_rejectattr.<locals>.<lambda>Tre  rg  r#   r#   r&   sync_do_rejectattry  s   rt  c                    ri  )Nc                 S   rn  r"   r#   rN  r#   r#   r&   rc    ro  zdo_rejectattr.<locals>.<lambda>Trj  rg  r#   r#   r&   do_rejectattr  rm  ru  indentc                 C   sD   | j j}|d }|d }|dur| }||d< t|fd|i|S )a  Serialize an object to a string of JSON, and mark it safe to
    render in HTML. This filter is only for use in HTML documents.

    The returned string is safe to render in HTML documents and
    ``<script>`` tags. The exception is in HTML attributes that are
    double quoted; either use single quotes or the ``|forceescape``
    filter.

    :param value: The object to serialize to JSON.
    :param indent: The ``indent`` parameter passed to ``dumps``, for
        pretty-printing the value.

    .. versionadded:: 2.9
    zjson.dumps_functionzjson.dumps_kwargsNrv  dumps)r8   r   copyr   )ra   r1   rv  r   rw  r  r#   r#   r&   	do_tojson  s   ry  c                    s    s(dv r( d} dd }rtdtttj||d}|S z d  dd   W n ty@   tdd w dtjd	tjf fd
d}|S )Nr9   r;   zUnexpected keyword argument r=  r   r
   zmap requires a filter argumentr<   r    c                    s   j j|  dS )N)r   )r8   Zcall_filterr<   r  r   r  rX  r#   r&   r     s   
zprepare_map.<locals>.func)	r   r   r   r   rD   r8   LookupErrorr3   rC   )r   r  r  r9   r;   r   r#   r{  r&   r_    s"   

 r_  modfunclookup_attrc                    s   |rz d }W n t y   tdd w tj|d}nd}dtdtfddz |  d| d   dtjdtjf fd	d
W n t yR   tY nw fddS )Nr   z$Missing parameter for attribute namer
   rT   r    c                 S   rM  r"   r#   rN  r#   r#   r&   	transfunc  r(   z+prepare_select_or_reject.<locals>.transfuncr<   c                    s   j |  S r"   )r8   Z	call_testrz  r{  r#   r&   r     s   z&prepare_select_or_reject.<locals>.funcc                    s    | S r"   r#   rz  )r   r}  r  r#   r&   rc    s    z*prepare_select_or_reject.<locals>.<lambda>)r|  r   rD   r8   r0   r3   rC   bool)r   r  r  r}  r~  rQ   offr#   )r  r   r   r  r}  rX  r  r&   prepare_select_or_reject  s$   
$r  c                 c   s6    |rt | ||||}|D ]}||r|V  qd S d S r"   )r  r   r1   r  r  r}  r~  r   r<   r#   r#   r&   rf    s   rf  c                 C  sD   |r t | ||||}t|2 z3 d H W }||r|V  q6 d S d S r"   )r  r   r  r#   r#   r&   rk  
  s   rk  absbatchr   r   ZdictsortrV  r   Zfilesizeformatr   Zforceescapeformatr   rS   r_   lastr   r5   rK   r   r   r   pprintr   ZrejectZ
rejectattrrh   r/  safeselectZ
selectattrslicesortstringr  rK  titleZtrimtruncateuniquerk   	urlencoder   Z	wordcount)ZwordwrapZxmlattrZtojson)NNr"   )T)Fr|   F)FFN)FN)r   F)r   N)r   )r8   r   r   r   r    r   )r8   r   r   r   r    r   )r8   r   r   r   r    r   )r   r   r   r   r    r   )F)NFNNN)r   FF)r   Fr   N)r  TNT)r   r  )r  )r   r*  )NF)Nr   )r1   r   r    r   )r1   r   r    r   )r1   r   r    r   )__doc__r1  r   retypingr3   collectionsr   inspectr   	itertoolsr   r   Z
markupsafer   r   r	   Zasync_utilsr   r   r   r   
exceptionsr   Zruntimer   utilsr   r   r   r   r   r   r   TYPE_CHECKINGZtyping_extensionster8   r   nodesr   r   Zsandboxr   Protocolr   TypeVarCallablerC   r-   r/   r0   r7   OptionalUnionr,   rS   rD   rO   rP   rB   rW   rp   r]   r   r`   ri   rm   ro   Iteratorrr   compileASCIIrx   r  r~   r   r   r   r   r   r   r   r   r   r   r   r   AsyncIterabler   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r  r  r  r&  r'  r)  r2  
NamedTupler3  rH  rI  rL  rO  rP  rR  rS  rT  overloadrU  rZ  r\  ra  rh  rl  rp  rq  rr  rs  rt  ru  ry  Dictr_  r  rf  rk  r  rI   FILTERSr#   r#   r#   r&   <module>   sp   




)
,
#6 =

)7 

!
9	
	&!
P
0/
7  	
+
	
'
(
S
2

	


	

1
	

	
				"	
 !"#$%&'()*+,-./01234