
    2Bf                         d dl Z d dlZd dlZd dlZej
                  j                  d      xs dej
                  v Zdej                  e	   de
fdZ G d dee      Zd	ade	fd
Zy)    Nlinuxbsdencodingreturnc                 l    | y	 t        j                  |       j                  dk(  S # t        $ r Y yw xY w)zGiven an encoding this figures out if the encoding is actually ASCII (which
    is something we don't actually want in most cases). This is necessary
    because ASCII comes under many names such as ANSI_X3.4-1968.
    Fascii)codecslookupnameLookupError)r   s    S/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/werkzeug/filesystem.py_is_ascii_encodingr      s>    
 }}X&++w66 s   !' 	33c                       e Zd ZdZy)BrokenFilesystemWarningzcThe warning used by Werkzeug to signal a broken filesystem. Will only be
    used once per runtime.N)__name__
__module____qualname____doc__     r   r   r      s    r   r   Fc                      t        j                         } t        r| rt        |       r&t        st        j                  d| t               day| S )a  Returns the filesystem encoding that should be used. Note that this is
    different from the Python understanding of the filesystem encoding which
    might be deeply flawed. Do not use this value against Python's string APIs
    because it might be different. See :ref:`filesystem-encoding` for the exact
    behavior.

    The concept of a filesystem encoding in generally is not something you
    should rely on. As such if you ever need to use this function except for
    writing wrapper code reconsider.
    z[Detected a misconfigured UNIX filesystem: Will use UTF-8 as filesystem encoding instead of Tzutf-8)sysgetfilesystemencoding#has_likely_buggy_unicode_filesystemr   !_warned_about_filesystem_encodingwarningswarnr   )rvs    r   get_filesystem_encodingr   !   sQ     
	"	"	$B*29KB9O0MM<<>6C'
 15-Ir   )r	   r   typingtr   platform
startswithr   Optionalstrboolr   RuntimeWarningUnicodeWarningr   r   r   r   r   r   <module>r)      su     
   LLG$=(= $

C 
T 
nn 
 %* ! r   