
    Tij                     R   S SK r S SKrS SKrS SKJr  S SKJr  SSKJr	  SSK
Jr  SSK
Jr  SSK
Jr  SS	K
Jr  \R                  (       a  SS
KJr  \R$                  S/\R$                  4   r\R(                  " S\	R*                  S9r\R(                  " S\	R.                  S9r\R(                  " S\	R2                  S9r\R(                  " S\	R6                  S9r\R(                  " S\	R:                  S9r\R(                  " S\	R>                  S9r \R(                  " S\	RB                  S9r"\R(                  " S\	RF                  S9r$\R(                  " S\	RJ                  S9r&\R(                  " S\	RN                  S9r(\R(                  " S\	RR                  S9r* " S S5      r+ " S S\5      r,g)    N)defaultdict)update_wrapper   )typing)_endpoint_from_view_func)	_sentinel)Scaffold)setupmethod)FlaskBlueprintSetupStateT_after_request)boundT_before_first_requestT_before_requestT_error_handler
T_teardownT_template_context_processorT_template_filterT_template_globalT_template_testT_url_defaultsT_url_value_preprocessorc                       \ rS rSrSrSSSSS\R                  S\S	S
4
S jr  SS\	S\R                  \	   S\R                  \R                     S\R                  S	S
4
S jjrSrg
)r   $   zTemporary holder object for registering a blueprint with the
application.  An instance of this class is created by the
:meth:`~flask.Blueprint.make_setup_state` method and later passed
to all register callback functions.
	blueprint	Blueprintappr   optionsfirst_registrationreturnNc                 f   X l         Xl        X0l        X@l        U R                  R	                  S5      nUc  U R                  R
                  nXPl        U R                  R	                  S5      nUc  U R                  R                  nX`l        U R                  R	                  SUR                  5      U l        U R                  R	                  SS5      U l        [        U R                  R                  5      U l        U R                  R                  U R                  R	                  SS5      5        g )N	subdomain
url_prefixnamename_prefix url_defaults )r   r   r   r   getr"   r#   r$   r%   dicturl_values_defaultsr'   update)selfr   r   r   r   r"   r#   s          b/var/www/html/backend/Backoffice_Marketplace/venv/lib/python3.13/site-packages/flask/blueprints.py__init__BlueprintSetupState.__init__+   s      #  #5LL$$[1	00I #\\%%l3
22J %LL$$VY^^<	<<++M2> !!C!CD  !1!1."!EF    ruleendpoint	view_funcc                    U R                   bO  U(       a<  SR                  U R                   R                  S5      UR                  S5      45      nOU R                   nUR	                  SU R
                  5        Uc  [        U5      nU R                  nSU;   a  [        U40 UR                  S5      D6nU R                  R                  " UU R                   SU R                   SU 3R                  S5      U4SU0UD6  g)zA helper method to register a rule (and optionally a view function)
to the application.  The endpoint is automatically prefixed with the
blueprint's name.
N/r"   defaults.)r#   joinrstriplstrip
setdefaultr"   r   r'   r*   popr   add_url_ruler%   r$   )r-   r2   r3   r4   r   r7   s         r.   r>    BlueprintSetupState.add_url_ruleY   s     ??&xx!7!7!<dkk#>N OP;7/	:H$$ H@J(?@H $))AhZ8??D	
 		

 	
r1   )	r   r   r   r$   r%   r   r"   r'   r#   )NN)__name__
__module____qualname____firstlineno____doc__tAnyboolr/   strOptionalCallabler>   __static_attributes__r(   r1   r.   r   r   $   s    ,G,G ,G 	,G
 !,G 
,Gb %),0	

 **S/
 ::ajj)	

 55
 

 
r1   c                     ^  \ rS rSr% SrSrSr\R                  \R                  \
R                     S4   \S'   Sr\R                  \R                  \
R                     S4   \S'   \S\R                  \R                  \
R                     S4   4S j5       r\R"                  S	\R                  \R                  \
R                     S4   SS4S
 j5       r\S\R                  \R                  \
R                     S4   4S j5       r\R"                  S	\R                  \R                  \
R                     S4   SS4S j5       rSSSSSSS\4S\S\S\R*                  \R                  \\R.                  4      S\R*                  \   S\R*                  \R                  \\R.                  4      S\R*                  \   S\R*                  \   S\R*                  \   S\R*                  \   S\R*                  \   4U 4S jjjrS\SS4S jr\S\R8                  SS4S j5       r\S\R8                  SS4S j5       r S;SSS\S \S\ 4S! jjr!\S"S S\RD                  SS4S# j5       r#SSS\SS4S$ jr$\   S<S%\S&\R*                  \   S'\R*                  \%RL                     S(\R*                  \   S\RD                  SS4S) jj5       r'\ S=S\R*                  \   S\R8                  \(/\(4   4S* jj5       r)\ S=S+\%RT                  S\R*                  \   SS4S, jj5       r+\ S=S\R*                  \   S\R8                  \,/\,4   4S- jj5       r-\ S=S+\%R\                  S\R*                  \   SS4S. jj5       r/\ S=S\R*                  \   S\R8                  \0/\04   4S/ jj5       r1\ S=S+\%Rd                  S\R*                  \   SS4S0 jj5       r3\S+\4S\44S1 j5       r5\S+\6S\64S2 j5       r7\S+\8S\84S3 j5       r9\S+\:S\:4S4 j5       r;\S+\<S\<4S5 j5       r=\S6\R                  \R                  \>   \?4   S\R8                  \@/\@4   4S7 j5       rA\S+\BS\B4S8 j5       rC\S+\DS\D4S9 j5       rES:rFU =rG$ )>r   y   a3	  Represents a blueprint, a collection of routes and other
app-related functions that can be registered on a real application
later.

A blueprint is an object that allows defining application functions
without requiring an application object ahead of time. It uses the
same decorators as :class:`~flask.Flask`, but defers the need for an
application by recording them for later registration.

Decorating a function with a blueprint creates a deferred function
that is called with :class:`~flask.blueprints.BlueprintSetupState`
when the blueprint is registered on an application.

See :doc:`/blueprints` for more information.

:param name: The name of the blueprint. Will be prepended to each
    endpoint name.
:param import_name: The name of the blueprint package, usually
    ``__name__``. This helps locate the ``root_path`` for the
    blueprint.
:param static_folder: A folder with static files that should be
    served by the blueprint's static route. The path is relative to
    the blueprint's root path. Blueprint static files are disabled
    by default.
:param static_url_path: The url to serve static files from.
    Defaults to ``static_folder``. If the blueprint does not have
    a ``url_prefix``, the app's static route will take precedence,
    and the blueprint's static files won't be accessible.
:param template_folder: A folder with templates that should be added
    to the app's template search path. The path is relative to the
    blueprint's root path. Blueprint templates are disabled by
    default. Blueprint templates have a lower precedence than those
    in the app's templates folder.
:param url_prefix: A path to prepend to all of the blueprint's URLs,
    to make them distinct from the rest of the app's routes.
:param subdomain: A subdomain that blueprint routes will match on by
    default.
:param url_defaults: A dict of default values that blueprint routes
    will receive by default.
:param root_path: By default, the blueprint will automatically set
    this based on ``import_name``. In certain situations this
    automatic detection can fail, so the path can be specified
    manually instead.

.. versionchanged:: 1.1.0
    Blueprints have a ``cli`` group to register nested CLI commands.
    The ``cli_group`` parameter controls the name of the group under
    the ``flask`` command.

.. versionadded:: 0.7
FN_json_encoder_json_decoderr    c                 L    SSK nUR                  S[        SS9  U R                  $ )zBlueprint-local JSON encoder class to use. Set to ``None`` to use the app's.

.. deprecated:: 2.2
     Will be removed in Flask 2.3. Customize
     :attr:`json_provider_class` instead.

.. versionadded:: 0.10
r   N|'bp.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead.   
stacklevelwarningswarnDeprecationWarningrN   r-   rV   s     r.   json_encoderBlueprint.json_encoder   2     	J	 	 	
 !!!r1   valuec                 B    SS K nUR                  S[        SS9  Xl        g )Nr   rQ   rR   rS   rU   r-   r]   rV   s      r.   rZ   r[      *    J	 	 	
 #r1   c                 L    SSK nUR                  S[        SS9  U R                  $ )zBlueprint-local JSON decoder class to use. Set to ``None`` to use the app's.

.. deprecated:: 2.2
     Will be removed in Flask 2.3. Customize
     :attr:`json_provider_class` instead.

.. versionadded:: 0.10
r   N|'bp.json_decoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead.rR   rS   rV   rW   rX   rO   rY   s     r.   json_decoderBlueprint.json_decoder   r\   r1   c                 B    SS K nUR                  S[        SS9  Xl        g )Nr   rb   rR   rS   rc   r_   s      r.   rd   re      r`   r1   r$   import_namestatic_folderstatic_url_pathtemplate_folderr#   r"   r'   	root_path	cli_groupc                    > [         TU ]  UUUUU	S9  SU;   a  [        S5      eXl        X`l        Xpl        / U l        Uc  0 nXl        Xl        / U l	        g )N)rg   rh   ri   rj   rk   r8   z+'name' may not contain a dot '.' character.)
superr/   
ValueErrorr$   r#   r"   deferred_functionsr+   rl   _blueprints)r-   r$   rg   rh   ri   rj   r#   r"   r'   rk   rl   	__class__s              r.   r/   Blueprint.__init__   sp     	#'++ 	 	
 $;JKK	$"ACL#/ "?Ar1   f_namec                 |    U R                   (       a+  SS KnUR                  SU SU R                   S3[        SS9  g g )Nr   zThe setup method 'z,' can no longer be called on the blueprint 'a  '. It has already been registered at least once, any changes will not be applied consistently.
Make sure all imports, decorators, functions, etc. needed to set up the blueprint are done before registering it.
This warning will become an exception in Flask 2.3.   rS   )_got_registered_oncerV   rW   r$   UserWarning)r-   rt   rV   s      r.   _check_setup_finishedBlueprint._check_setup_finished  sM    $$MM$VH -##'99+ .FF    %r1   funcc                 :    U R                   R                  U5        g)zRegisters a function that is called when the blueprint is
registered on the application.  This function is called with the
state as argument as returned by the :meth:`make_setup_state`
method.
N)rp   append)r-   r{   s     r.   recordBlueprint.record,  s     	&&t,r1   c                 \   ^ S[         SS4U4S jjnU R                  [        UT5      5        g)zWorks like :meth:`record` but wraps the function in another
function that will ensure the function is only called once.  If the
blueprint is registered a second time on the application, the
function passed is not called.
stater    Nc                 :   > U R                   (       a	  T" U 5        g g N)r   )r   r{   s    r.   wrapper&Blueprint.record_once.<locals>.wrapper=  s    ''U (r1   )r   r~   r   )r-   r{   r   s    ` r.   record_onceBlueprint.record_once5  s,    	. 	4 	 	N7D12r1   r   r   r   r   c                     [        XX#5      $ )zCreates an instance of :meth:`~flask.blueprints.BlueprintSetupState`
object that is later passed to the register callback functions.
Subclasses can override this to return a subclass of the setup state.
)r   )r-   r   r   r   s       r.   make_setup_stateBlueprint.make_setup_stateC  s     #4gJJr1   r   c                 Z    XL a  [        S5      eU R                  R                  X45        g)a  Register a :class:`~flask.Blueprint` on this blueprint. Keyword
arguments passed to this method will override the defaults set
on the blueprint.

.. versionchanged:: 2.0.1
    The ``name`` option can be used to change the (pre-dotted)
    name the blueprint is registered with. This allows the same
    blueprint to be registered multiple times with unique names
    for ``url_for``.

.. versionadded:: 2.0
z%Cannot register a blueprint on itselfN)ro   rq   r}   )r-   r   r   s      r.   register_blueprintBlueprint.register_blueprintL  s-     DEE 45r1   c                 8	  ^ ^ UR                  SS5      nUR                  ST R                  5      nU SU 3R                  S5      mTUR                  ;   a9  UR                  T   T L a  SOSnUT:w  a  ST S3OSn[	        S	U S
U SU S35      e[        U 4S jUR                  R                  5        5       5      (       + nTUR                  ;  nT UR                  T'   ST l        T R                  XU5      n	T R                  (       a(  U	R                  T R                   S3T R                  SS9  U(       d  U(       Ga  U4S jn
T R                  R                  5        H|  u  pUc  TOT SU 3n[        [         UR                  5        VVVVs0 s H-  u  pUUR                  5        VVs0 s H	  u  nnUU_M     snn_M/     snnnn5      nXR                  U'   M~     T R"                  R                  5        H  u  nnUUR"                  U'   M     U
" T R$                  UR$                  5        U
" T R&                  UR&                  5        U
" T R(                  UR(                  5        U
" T R*                  UR*                  5        U
" T R,                  UR,                  5        U
" T R.                  UR.                  5        T R0                   H  nU" U	5        M     UR                  ST R2                  5      nT R4                  R6                  (       a  Uc:  UR4                  R6                  R9                  T R4                  R6                  5        OvU[:        L a7  TT R4                  l        UR4                  R=                  T R4                  5        O6UT R4                  l        UR4                  R=                  T R4                  5        T R>                   H  u  nnURA                  5       nUR                  S5      nUc  URB                  nU	RB                  b7  Ub4  U	RB                  RE                  S5      S-   UR                  S5      -   US'   O%Ub  UUS'   OU	RB                  b  U	RB                  US'   TUS'   URG                  UU5        M     gs  snnf s  snnnnf )a  Called by :meth:`Flask.register_blueprint` to register all
views and callbacks registered on the blueprint with the
application. Creates a :class:`.BlueprintSetupState` and calls
each :meth:`record` callback with it.

:param app: The application this blueprint is being registered
    with.
:param options: Keyword arguments forwarded from
    :meth:`~Flask.register_blueprint`.

.. versionchanged:: 2.0.1
    Nested blueprints are registered with their dotted name.
    This allows different blueprints with the same name to be
    nested at different locations.

.. versionchanged:: 2.0.1
    The ``name`` option can be used to change the (pre-dotted)
    name the blueprint is registered with. This allows the same
    blueprint to be registered multiple times with unique names
    for ``url_for``.

.. versionchanged:: 2.0.1
    Registering the same blueprint with the same name multiple
    times is deprecated and will become an error in Flask 2.1.
r%   r&   r$   r8   thisza differentz ''z
The name 'z' is already registered for z
 blueprintz'. Use 'name=' to provide a unique name.c              3   *   >#    U  H  oTL v   M
     g 7fr   r(   ).0bpr-   s     r.   	<genexpr>%Blueprint.register.<locals>.<genexpr>  s     'U=Trd
=Ts   Tz/<path:filename>static)r4   r3   c                 v   > U R                  5        H$  u  p#Uc  TOT SU 3nX   R                  U5        M&     g )Nr8   )itemsextend)bp_dictparent_dictkeyvaluesr$   s       r.   r   "Blueprint.register.<locals>.extend  s;    #*==?KC"%+$dV1SE?C$++F3 $3r1   Nrl   r#   r6   )$r)   r$   r;   
blueprintsro   anyr   rw   r   has_static_folderr>   ri   send_static_fileerror_handler_specr   r   r*   view_functionsbefore_request_funcsafter_request_funcsteardown_request_funcsurl_default_functionsurl_value_preprocessorstemplate_context_processorsrp   rl   clicommandsr,   r   add_commandrq   copyr#   r:   register)r-   r   r   r%   	self_namebp_descexisting_atfirst_bp_registrationfirst_name_registrationr   r   r   r]   codecode_values	exc_classr{   r3   deferredcli_resolved_groupr   
bp_optionsbp_url_prefixr$   s   `                      @r.   r   Blueprint.register^  s3   4 kk-4KK		2	a	{+22373>>! #t 4 <f-G*3t*;BtfA,KYK (9J{m 4*+  %('US^^=R=R=T'U$U U"&cnn"<#t$(!%%c4IJ!!''((89//!   !$;4
 #55;;=
!kd$q#
 27	 2?-D CNCTCTCVCV	4ItOCV  2?	 /4&&s+ > #'"5"5";";"=$/3""8, #> 4,,c.F.FG4++S-D-DE++** 4--s/H/HI4//1L1LM433S5T5TU//HUO 0 %[[dnnE88!)  ''(9(9:#y0 $##DHH- 2##DHH-%)%5%5!Iz#*J&NN<8M$ ) 4 4+0I$$++C0369M9Mc9RR <( *+8
<(!!-+0+;+;
<((,J}%sJ/# &6Is   R-R=RRr2   r3   r4   provide_automatic_optionsc                    ^^^^^ T(       a  ST;   a  [        S5      eT(       a,  [        TS5      (       a  STR                  ;   a  [        S5      eU R                  UUUUU4S j5        g)zRegister a URL rule with the blueprint. See :meth:`.Flask.add_url_rule` for
full documentation.

The URL rule is prefixed with the blueprint's URL prefix. The endpoint name,
used with :func:`url_for`, is prefixed with the blueprint's name.
r8   z/'endpoint' may not contain a dot '.' character.r@   z5'view_func' name may not contain a dot '.' character.c                 2   > U R                   " TTT4ST0TD6$ )Nr   )r>   )sr3   r   r   r2   r4   s    r.   <lambda>(Blueprint.add_url_rule.<locals>.<lambda>  s,    ann +D	
 r1   N)ro   hasattrr@   r~   )r-   r2   r3   r4   r   r   s    `````r.   r>   Blueprint.add_url_rule  sX     xNOOJ77C9CUCU<UTUU 	
r1   c                 4   ^ ^ S[         S[         4UU 4S jjnU$ )zRegister a template filter, available in any template rendered by the
application. Equivalent to :meth:`.Flask.template_filter`.

:param name: the optional name of the filter, otherwise the
             function name will be used.
fr    c                 (   > TR                  U TS9  U $ N)r$   )add_app_template_filterr   r$   r-   s    r.   	decorator0Blueprint.app_template_filter.<locals>.decorator      (((6Hr1   )r   r-   r$   r   s   `` r.   app_template_filterBlueprint.app_template_filter  s%    	* 	/@ 	 	 r1   r   c                 L   ^^ S[         SS4UU4S jjnU R                  U5        g)a!  Register a template filter, available in any template rendered by the
application. Works like the :meth:`app_template_filter` decorator. Equivalent to
:meth:`.Flask.add_template_filter`.

:param name: the optional name of the filter, otherwise the
             function name will be used.
r   r    Nc                 r   > TU R                   R                  R                  T=(       d    TR                  '   g r   )r   	jinja_envfiltersr@   r   r   r$   s    r.   register_template<Blueprint.add_app_template_filter.<locals>.register_template  &    >?EII''(:

;r1   r   r   r-   r   r$   r   s    `` r.   r   !Blueprint.add_app_template_filter  s1    	@%8 	@T 	@ 	@ 	*+r1   c                 4   ^ ^ S[         S[         4UU 4S jjnU$ )zRegister a template test, available in any template rendered by the
application. Equivalent to :meth:`.Flask.template_test`.

.. versionadded:: 0.10

:param name: the optional name of the test, otherwise the
             function name will be used.
r   r    c                 (   > TR                  U TS9  U $ r   )add_app_template_testr   s    r.   r   .Blueprint.app_template_test.<locals>.decorator&  s    &&qt&4Hr1   )r   r   s   `` r.   app_template_testBlueprint.app_template_test  s#    	 	_ 	 	 r1   c                 L   ^^ S[         SS4UU4S jjnU R                  U5        g)a1  Register a template test, available in any template rendered by the
application. Works like the :meth:`app_template_test` decorator. Equivalent to
:meth:`.Flask.add_template_test`.

.. versionadded:: 0.10

:param name: the optional name of the test, otherwise the
             function name will be used.
r   r    Nc                 r   > TU R                   R                  R                  T=(       d    TR                  '   g r   )r   r   testsr@   r   s    r.   r   :Blueprint.add_app_template_test.<locals>.register_template:  s&    <=EII%%d&8ajj9r1   r   r   s    `` r.   r   Blueprint.add_app_template_test,  s-    	>%8 	>T 	> 	> 	*+r1   c                 4   ^ ^ S[         S[         4UU 4S jjnU$ )zRegister a template global, available in any template rendered by the
application. Equivalent to :meth:`.Flask.template_global`.

.. versionadded:: 0.10

:param name: the optional name of the global, otherwise the
             function name will be used.
r   r    c                 (   > TR                  U TS9  U $ r   )add_app_template_globalr   s    r.   r   0Blueprint.app_template_global.<locals>.decoratorL  r   r1   )r   r   s   `` r.   app_template_globalBlueprint.app_template_global?  s%    	* 	/@ 	 	 r1   c                 L   ^^ S[         SS4UU4S jjnU R                  U5        g)a9  Register a template global, available in any template rendered by the
application. Works like the :meth:`app_template_global` decorator. Equivalent to
:meth:`.Flask.add_template_global`.

.. versionadded:: 0.10

:param name: the optional name of the global, otherwise the
             function name will be used.
r   r    Nc                 r   > TU R                   R                  R                  T=(       d    TR                  '   g r   )r   r   globalsr@   r   s    r.   r   <Blueprint.add_app_template_global.<locals>.register_template`  r   r1   r   r   s    `` r.   r   !Blueprint.add_app_template_globalR  s1    	@%8 	@T 	@ 	@ 	*+r1   c                 2   ^ U R                  U4S j5        T$ )zLike :meth:`before_request`, but before every request, not only those handled
by the blueprint. Equivalent to :meth:`.Flask.before_request`.
c                 n   > U R                   R                  R                  S / 5      R                  T5      $ r   )r   r   r<   r}   r   r   s    r.   r   .Blueprint.before_app_request.<locals>.<lambda>k  s'    aee00;;D"ELLQOr1   r   r-   r   s    `r.   before_app_requestBlueprint.before_app_requeste  s    
 	O	
 r1   c                 d   ^ SSK nUR                  S[        SS9  U R                  U4S j5        T$ )a  Register a function to run before the first request to the application is
handled by the worker. Equivalent to :meth:`.Flask.before_first_request`.

.. deprecated:: 2.2
    Will be removed in Flask 2.3. Run setup code when creating
    the application instead.
r   Nz'before_app_first_request' is deprecated and will be removed in Flask 2.3. Use 'record_once' instead to run setup code when registering the blueprint.rR   rS   c                 N   > U R                   R                  R                  T5      $ r   )r   before_first_request_funcsr}   r   s    r.   r   4Blueprint.before_app_first_request.<locals>.<lambda>  s    155#C#C#J#J1#Mr1   )rV   rW   rX   r   )r-   r   rV   s    ` r.   before_app_first_request"Blueprint.before_app_first_requesto  s<     	:  	 	
 	MNr1   c                 2   ^ U R                  U4S j5        T$ )zLike :meth:`after_request`, but after every request, not only those handled
by the blueprint. Equivalent to :meth:`.Flask.after_request`.
c                 n   > U R                   R                  R                  S / 5      R                  T5      $ r   )r   r   r<   r}   r   s    r.   r   -Blueprint.after_app_request.<locals>.<lambda>  s'    aee//::4DKKANr1   r   r   s    `r.   after_app_requestBlueprint.after_app_request  s    
 	N	
 r1   c                 2   ^ U R                  U4S j5        T$ )zLike :meth:`teardown_request`, but after every request, not only those
handled by the blueprint. Equivalent to :meth:`.Flask.teardown_request`.
c                 n   > U R                   R                  R                  S / 5      R                  T5      $ r   )r   r   r<   r}   r   s    r.   r   0Blueprint.teardown_app_request.<locals>.<lambda>  s'    aee22==dBGNNqQr1   r   r   s    `r.   teardown_app_requestBlueprint.teardown_app_request  s    
 	Q	
 r1   c                 2   ^ U R                  U4S j5        T$ )zLike :meth:`context_processor`, but for templates rendered by every view, not
only by the blueprint. Equivalent to :meth:`.Flask.context_processor`.
c                 n   > U R                   R                  R                  S / 5      R                  T5      $ r   )r   r   r<   r}   r   s    r.   r   1Blueprint.app_context_processor.<locals>.<lambda>  s(    aee77BB4LSSTUVr1   r   r   s    `r.   app_context_processorBlueprint.app_context_processor  s     	V	
 r1   r   c                 4   ^ ^ S[         S[         4UU 4S jjnU$ )zLike :meth:`errorhandler`, but for every request, not only those handled by
the blueprint. Equivalent to :meth:`.Flask.errorhandler`.
r   r    c                 6   >^  TR                  UU 4S j5        T $ )Nc                 F   > U R                   R                  T5      " T5      $ r   )r   errorhandler)r   r   r   s    r.   r   ?Blueprint.app_errorhandler.<locals>.decorator.<locals>.<lambda>  s    quu'9'9$'?'Br1   r   )r   r   r-   s   `r.   r   -Blueprint.app_errorhandler.<locals>.decorator  s    BCHr1   )r   )r-   r   r   s   `` r.   app_errorhandlerBlueprint.app_errorhandler  s#    	 	_ 	 	 r1   c                 2   ^ U R                  U4S j5        T$ )zLike :meth:`url_value_preprocessor`, but for every request, not only those
handled by the blueprint. Equivalent to :meth:`.Flask.url_value_preprocessor`.
c                 n   > U R                   R                  R                  S / 5      R                  T5      $ r   )r   r   r<   r}   r   s    r.   r   6Blueprint.app_url_value_preprocessor.<locals>.<lambda>  s(    aee33>>tRHOOPQRr1   r   r   s    `r.   app_url_value_preprocessor$Blueprint.app_url_value_preprocessor  s     	R	
 r1   c                 2   ^ U R                  U4S j5        T$ )zLike :meth:`url_defaults`, but for every request, not only those handled by
the blueprint. Equivalent to :meth:`.Flask.url_defaults`.
c                 n   > U R                   R                  R                  S / 5      R                  T5      $ r   )r   r   r<   r}   r   s    r.   r   ,Blueprint.app_url_defaults.<locals>.<lambda>  s'    aee11<<T2FMMaPr1   r   r   s    `r.   app_url_defaultsBlueprint.app_url_defaults  s    
 	P	
 r1   )
rq   rw   rO   rN   rl   rp   r$   r"   r#   r+   )F)NNNr   )Hr@   rA   rB   rC   rD   rw   rN   rE   UnionTypejsonJSONEncoder__annotations__rO   JSONDecoderpropertyrZ   setterrd   r   rH   rI   osPathLiker*   r/   ry   r
   rJ   r~   r   rG   r   r   rF   r   r   ftRouteCallabler>   r   r   TemplateFilterCallabler   r   r   TemplateTestCallabler   r   r   TemplateGlobalCallabler   r   r   r   r   r   r  r   r  r   r  	Exceptionintr   r  r   r  r   r  rK   __classcell__)rr   s   @r.   r   r   y   sk   2h !=AM177166$"2"23T9:A=AM177166$"2"23T9:A"	
(()4/	0" "* 	#!''!&&1A1A*BD*H"I 	#d 	# 	# "	
(()4/	0" "* 	#!''!&&1A1A*BD*H"I 	#d 	# 	# @D+/AE&*%))-%)%."B"B "B zz!''#r{{*:";<	"B
 C"B AGGC,<$=>"B JJsO"B ::c?"B jj&"B ::c?"B ::c?"B "BHC D " -1:: -$ - - 3

 3t 3 3 GLKK%)K?CK	K 6K 6AEE 6d 6 6"x0G x0d x0t x0t  %)266:

 **S/
 ::b../	

 $%::d#3
 55
 

 
< &*JJsO	
&')::	;   DH,**,23**S/,	, ,  &*JJsO	
_%6	7 $ BF,((,01

3,	, ,$ &*JJsO	
&')::	; $ DH,**,23**S/,	, ,$ $4 9I   '	 , ?    j Z   	-		%	 	 GGAFF9-s23	
_%6	7  	)		!	 	 . ^  r1   r   )-r#  r)  r   rE   collectionsr   	functoolsr   r&   r+  scaffoldr   r   r	   r
   TYPE_CHECKINGr   r   rJ   DeferredSetupFunctionTypeVarAfterRequestCallabler   BeforeFirstRequestCallabler   BeforeRequestCallabler   ErrorHandlerCallabler   TeardownCallabler    TemplateContextProcessorCallabler   r-  r   r/  r   r.  r   URLDefaultCallabler   URLValuePreprocessorCallabler   r   r   r(   r1   r.   <module>rA     sp    	  # $  .   !??

$9#:AJJ#FG ))-R5L5LMB$A$A  99/r7O7OP ))-R5L5LMYY|2+>+>?
 yy""*M*M   II19R9RS II19R9RS ))-R5L5LM+23H3HI99b&E&E 
R
 R
jO	 O	r1   