%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
a
�_gN � @ s� d dl mZ d dlZd dlZd dlmZ ddlmZ ddl m
Z
ddlmZ ddl
mZ dd l
mZ dd
lmZ ejr�ddlmZ G dd
� d
e�ZdS )� )�annotationsN)� timedelta� )�AppGroup)�current_app)�send_from_directory)� Blueprint)�BlueprintSetupState)� _sentinel)�Responsec
s| e Zd Zdddddddefdddddddddddd�� fdd �
Zdd
d�dd
�Zddd�dd�Zddddd�dd�Z� ZS )r N�strzstr | os.PathLike[str] | Nonez
str | Nonezdict[str, t.Any] | None�None)�name�import_name�
static_folder�static_url_path�template_folder�
url_prefix� subdomain�url_defaults� root_path� cli_group�returnc s4 t � �||||||||| |
�
t� | _| j| j_d S )N)�super�__init__r �clir )�selfr r r r r r r r r r �� __class__� �=/vddos/python/lib/python3.9/site-packages/flask/blueprints.pyr s
�zBlueprint.__init__z
int | None)�filenamer c C s0 t jd }|du rdS t|t�r,t|�� �S |S )an Used by :func:`send_file` to determine the ``max_age`` cache
value for a given file path if it wasn't passed.
By default, this returns :data:`SEND_FILE_MAX_AGE_DEFAULT` from
the configuration of :data:`~flask.current_app`. This defaults
to ``None``, which tells the browser to use conditional requests
instead of a timed cache, which is usually preferable.
Note this is a duplicate of the same method in the Flask
class.
.. versionchanged:: 2.0
The default configuration is ``None`` instead of 12 hours.
.. versionadded:: 0.9
ZSEND_FILE_MAX_AGE_DEFAULTN)r �config�
isinstancer �int�
total_seconds)r r! �valuer r r �get_send_file_max_age7 s
zBlueprint.get_send_file_max_ager c C s0 | j std��| �|�}tt�t| j�||d�S )aA The view function used to serve files from
:attr:`static_folder`. A route is automatically registered for
this view at :attr:`static_url_path` if :attr:`static_folder` is
set.
Note this is a duplicate of the same method in the Flask
class.
.. versionadded:: 0.5
z2'static_folder' must be set to serve static_files.)�max_age)Zhas_static_folder�RuntimeErrorr'