Ë
    ‘©j0  ã                   óÄ  — d dl Z d dlmZmZmZ d dlmZ d dlmZ d dl	m
Z
 d dl	mZ d dl	mZ d dl	mZ d d	l	mZ d d
l	mZ d dl	mZ d dlmZ  G d„ de«      Z G d„ de«      Z	  ee e j*                  d«      «      Z	  ee e j*                  d«      «      Z eded¬«       G d„ de«      «       Z eded¬«       G d„ de«      «       Zy# e$ r dZY ŒVw xY w# e$ r dZY ŒIw xY w)é    N)ÚAnyÚProtocolÚcast)ÚFastAPIDeprecationWarning)ÚEventSourceResponse)ÚFileResponse)ÚHTMLResponse)ÚJSONResponse)ÚPlainTextResponse)ÚRedirectResponse)ÚResponse)ÚStreamingResponse)Ú
deprecatedc                   ó&   — e Zd Zddœdededefd„Zy)Ú_UjsonModule.©Úensure_asciiÚ_UjsonModule__objr   Úreturnc                 ó   — y ©N© )Úselfr   r   s      úX/var/www/html/streamforge-license/venv/lib/python3.12/site-packages/fastapi/responses.pyÚdumpsz_UjsonModule.dumps   ó   � ó    N)Ú__name__Ú
__module__Ú__qualname__r   ÚboolÚstrr   r   r   r   r   r      s   „ Ø8;ÒH˜3ÐH°ÐHÀÔHr   r   c                   ó<   — e Zd ZU eed<   eed<   ddœdededefd„Zy	)
Ú_OrjsonModuleÚOPT_NON_STR_KEYSÚOPT_SERIALIZE_NUMPY.©ÚoptionÚ_OrjsonModule__objr(   r   c                 ó   — y r   r   )r   r)   r(   s      r   r   z_OrjsonModule.dumps   r   r   N)r   r   r    ÚintÚ__annotations__r   Úbytesr   r   r   r   r$   r$      s#   … ØÓØÓà14ÒC˜3ÐC¨3ÐC¸ÔCr   r$   ÚujsonÚorjsonal  UJSONResponse is deprecated, FastAPI now serializes data directly to JSON bytes via Pydantic when a return type or response model is set, which is faster and doesn't need a custom response class. Read more in the FastAPI docs: https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model and https://fastapi.tiangolo.com/tutorial/response-model/é   )ÚcategoryÚ
stacklevelc                   ó    — e Zd ZdZdedefd„Zy)ÚUJSONResponsea”  JSON response using the ujson library to serialize data to JSON.

    **Deprecated**: `UJSONResponse` is deprecated. FastAPI now serializes data
    directly to JSON bytes via Pydantic when a return type or response model is
    set, which is faster and doesn't need a custom response class.

    Read more in the
    [FastAPI docs for Custom Response](https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model)
    and the
    [FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).

    **Note**: `ujson` is not included with FastAPI and must be installed
    separately, e.g. `pip install ujson`.
    Úcontentr   c                 óh   — t         €J d«       ‚t         j                  |d¬«      j                  d«      S )Nz,ujson must be installed to use UJSONResponseFr   zutf-8)r.   r   Úencode©r   r5   s     r   ÚrenderzUJSONResponse.render@   s2   € ÜÐ ÐPÐ"PÓPÐ Ü�{‰{˜7°ˆ{Ó7×>Ñ>¸wÓGÐGr   N©r   r   r    Ú__doc__r   r-   r9   r   r   r   r4   r4   '   s   „ ñðH˜cð H eô Hr   r4   am  ORJSONResponse is deprecated, FastAPI now serializes data directly to JSON bytes via Pydantic when a return type or response model is set, which is faster and doesn't need a custom response class. Read more in the FastAPI docs: https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model and https://fastapi.tiangolo.com/tutorial/response-model/c                   ó    — e Zd ZdZdedefd„Zy)ÚORJSONResponsea˜  JSON response using the orjson library to serialize data to JSON.

    **Deprecated**: `ORJSONResponse` is deprecated. FastAPI now serializes data
    directly to JSON bytes via Pydantic when a return type or response model is
    set, which is faster and doesn't need a custom response class.

    Read more in the
    [FastAPI docs for Custom Response](https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model)
    and the
    [FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).

    **Note**: `orjson` is not included with FastAPI and must be installed
    separately, e.g. `pip install orjson`.
    r5   r   c                 óˆ   — t         €J d«       ‚t         j                  |t         j                  t         j                  z  ¬«      S )Nz.orjson must be installed to use ORJSONResponser'   )r/   r   r%   r&   r8   s     r   r9   zORJSONResponse.render^   s@   € ÜÐ!ÐSÐ#SÓSÐ!Ü�|‰|ØœF×3Ñ3´f×6PÑ6PÑPð ó 
ð 	
r   Nr:   r   r   r   r=   r=   E   s   „ ñð
˜cð 
 eô 
r   r=   )Ú	importlibÚtypingr   r   r   Úfastapi.exceptionsr   Úfastapi.sser   Ústarlette.responsesr   r	   r
   r   r   r   r   Útyping_extensionsr   r   r$   Úimport_moduler.   ÚModuleNotFoundErrorr/   r4   r=   r   r   r   ú<module>rG      s  ðÛ ß &Ñ &å 8Ý BÝ <Ý <Ý <Ý FÝ DÝ 4Ý FÝ (ôI�8ô IôD�Hô DðÙ�Ð6˜y×6Ñ6°wÓ?Ó@€Eð
Ù�-Ð!8 ×!8Ñ!8¸Ó!BÓC€Fñ
 ð@ð
 'ØôôH�Ló HóðHñ* ð@ð
 'Øôô
�\ó 
óñ
øðc ò Ø‚Eðûð ò Ø‚Fðús$   Á"C Á<C ÃCÃCÃCÃC