+
    Tj                         R t ^ RIt^ RIt^ RIHt ^ RIHtHtHtH	t	 ^ RI
HtHtHtHt ^ RIHt ^ RIHtHt ^ RIHt ^ RIHt R	 tRR
 lt]! R4      tR tRR ltR# )z
Views and functions for serving static files. These are only to be used
during development, and SHOULD NOT be used in a production setting.
N)Path)FileResponseHttp404HttpResponseHttpResponseNotModified)ContextEngineTemplateDoesNotExistloader)	safe_join)	http_dateparse_http_date)gettext)gettext_lazyc                P    \        \        4      P                  R,          V ,          # )z
Return a path to a builtin template.

Avoid calling this function at the module level or in a class-definition
because __file__ may not exist, e.g. in frozen environments.
	templates)r   __file__parent)names   &H/var/www/idalgo/venv/lib/python3.14/site-packages/django/views/static.pybuiltin_template_pathr      s     >  ;.55    c                   \         P                  ! V4      P                  R4      p\        \	        W!4      4      pVP                  4       '       d(   V'       d   \        W4      # \        \        R4      4      hVP                  4       '       g   \        \        R4      RV/,          4      hVP                  4       p\        V P                  P                  R4      VP                  4      '       g   \        4       # \         P"                  ! \%        V4      4      w  rgT;'       g    Rp\'        VP)                  R4      VR7      p\+        VP                  4      VP,                  R	&   V'       d   WxP,                  R
&   V# )a  
Serve static files below a given point in the directory structure.

To use, put a URL pattern such as::

    from django.views.static import serve

    path('<path:path>', serve, {'document_root': '/path/to/my/files/'})

in your URLconf. You must provide the ``document_root`` param. You may
also set ``show_indexes`` to ``True`` if you'd like to serve a basic index
of the directory. This index view will use the template hardcoded below,
but if you'd like to override it, you can create a template called
``static/directory_index.html``.
/z'Directory indexes are not allowed here.u   “%(path)s” does not existpathHTTP_IF_MODIFIED_SINCEzapplication/octet-streamrb)content_typezLast-ModifiedzContent-Encoding)	posixpathnormpathlstripr   r   is_dirdirectory_indexr   _existsstatwas_modified_sinceMETAgetst_mtimer   	mimetypes
guess_typestrr   openr   headers)	requestr   document_rootshow_indexesfullpathstatobjr   encodingresponses	   &&&&     r   server6      s,     d#**3/DIm23H"422aABCC??a78FH;MMNNmmoG12G4D4D  '((&11#h-@L==#=LHMM$/lKH(1'2B2B(CH_%/7+,Or   zIndex of %(directory)sc                     \         P                  ! R R.4      p/ p. pVP                  4        Fp  pVP                  P                  R	4      '       d   K&  \        VP                  V4      4      pVP                  4       '       d
   VR
,          pVP                  V4       Kr  	  VP!                  RV R
,           RV/4       \#        XP%                  V4      4      #   \         dz    \        R4      P	                  RR7      ;_uu_ 4       p\        RR/R7      P                  TP                  4       4      pRRR4       M  + '       g   i     M; i\        4       p EL?i ; i)zstatic/directory_index.htmlzstatic/directory_indexzdirectory_index.htmlzutf-8)r4   i18nzdjango.templatetags.i18n)	librariesN.r   	directory	file_list)r
   select_templater	   r   r-   r   from_stringreadr   iterdirr   
startswithr,   relative_tor!   appendupdater   render)r   r2   tcfhfilesfurls   &&      r   r"   r"   G   s*   ""-(
 Evv  %%ammH-.Cxxzzs
LL   HH	
 $$+   "#9:???QQUW&*D!EFRR	A RQQQ Is)   C .E,D;2	E;EEEc                     V f   \         h\        V 4      p\        V4      V8  d   \         h R#   \         \        3 d     R# i ; i)z
Was something modified since the user last downloaded it?

header
  This is the value of the If-Modified-Since header. If this is None,
  I'll just return True.

mtime
  This is the modification time of the item we're talking about.
TF)
ValueErrorr   intOverflowError)headermtimeheader_mtimes   && r   r&   r&   g   sQ    >&v.u:$ %  & s   +0 AA)NF)N    )__doc__r*   r   pathlibr   django.httpr   r   r   r   django.templater   r   r	   r
   django.utils._osr   django.utils.httpr   r   django.utils.translationr   r#   r   r   r6   template_translatabler"   r&    r   r   <module>r]      sQ   
    T T I I & 8 1 16$P %%=> %@r   