+
    IV-j1*  ã                  óú   € ^ RI Ht ^ RIt^ RIt^ RIt]P                  ]]3,          t	]P                  ]	]
]]	3,          ]
]]	]3,          3,          tRR R lltR R ltR R ltR	 R
 ltR R lt ! R R4      tR# )é    )ÚannotationsNc               ó$   € V ^8„  d   QhRRRRRR/# )é   Úfilenameú
str | NoneÚdefaultÚstrÚreturn© )Úformats   "Ú_/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/urllib3/fields.pyÚ__annotate__r      s$   € ÷ ñ ØðØ#&ðàñó    c                ód   € V '       d(   \         P                  ! V 4      ^ ,          ;'       g    T# V# )zÎ
Guess the "Content-Type" of a file.

:param filename:
    The filename to guess the "Content-Type" of using :mod:`mimetypes`.
:param default:
    If no "Content-Type" can be guessed, default to `default`.
)Ú	mimetypesÚ
guess_type)r   r   s   &&r   Úguess_content_typer      s*   € ÷ Ü×#Ò# HÓ-¨aÕ0×;Ð;°GÐ;Ø€Nr   c               ó$   € V ^8„  d   QhRRRRRR/# ©r   Únamer	   ÚvalueÚ_TYPE_FIELD_VALUEr
   r   )r   s   "r   r   r      s"   € ÷ -ñ - cð -Ð2Cð -Èñ -r   c                óÂ  a€ ^ RI pVP                  R\        ^R7       \        S\        4      '       d   SP                  R4      o\        ;QJ d    V3R lR 4       F  '       g   K   RM	  RM! V3R lR 4       4      '       g   V  R	S R
2p VP                  R4       V# \        P                  P                  SR4      oV  RS 2oS#   \        \        3 d     L<i ; i)av  
Helper function to format and quote a single header parameter using the
strategy defined in RFC 2231.

Particularly useful for header parameters which might contain
non-ASCII values, like file names. This follows
`RFC 2388 Section 4.4 <https://tools.ietf.org/html/rfc2388#section-4.4>`_.

:param name:
    The name of the parameter, a string expected to be ASCII only.
:param value:
    The value of the parameter, provided as ``bytes`` or `str``.
:returns:
    An RFC-2231-formatted unicode string.

.. deprecated:: 2.0.0
    Will be removed in urllib3 v3.0. This is not valid for
    ``multipart/form-data`` header parameters.
Nz—'format_header_param_rfc2231' is insecure, deprecated and will be removed in urllib3 v3.0. This is not valid for multipart/form-data header parameters.©Ú
stacklevelúutf-8c              3  ó,   <"  € T F	  qS9   x € K  	  R # 5i©Nr   )Ú.0Úchr   s   & €r   Ú	<genexpr>Ú.format_header_param_rfc2231.<locals>.<genexpr>@   s   øé € Ð/¡Y˜r�UŽ{£Yùs   ƒz"\
TFú="Ú"Úasciiz*=)ÚwarningsÚwarnÚFutureWarningÚ
isinstanceÚbytesÚdecodeÚanyÚencodeÚUnicodeEncodeErrorÚUnicodeDecodeErrorÚemailÚutilsÚencode_rfc2231)r   r   r&   Úresults   &f  r   Úformat_header_param_rfc2231r4      sÓ   ø€ ó( à‡M�Mð	1ô 	Øð ô ô �%œ×ÒØ—‘˜WÓ%ˆç‹3Ô/¡YÓ/�3�3Š3Ô/¡YÓ/×/Ò/Ø�6˜˜E˜7 !Ð$ˆð	Ø�M‰M˜'Ô"ð ˆMä�K‰K×&Ñ& u¨gÓ6€EØˆf�B�u�gÐ€Eà€Løô #Ô$6Ð7ô 	Ùð	ús   ÂC
 Ã
CÃCc               ó$   € V ^8„  d   QhRRRRRR/# r   r   )r   s   "r   r   r   O   s"   € ÷ #ñ #¨ð #Ð4Eð #È#ñ #r   c                óŽ   € \        V\        4      '       d   VP                  R4      pVP                  ^
R^R^"R/4      pV  RV R2# )a�  
Format and quote a single multipart header parameter.

This follows the `WHATWG HTML Standard`_ as of 2021/06/10, matching
the behavior of current browser and curl versions. Values are
assumed to be UTF-8. The ``\n``, ``\r``, and ``"`` characters are
percent encoded.

.. _WHATWG HTML Standard:
    https://html.spec.whatwg.org/multipage/
    form-control-infrastructure.html#multipart-form-data

:param name:
    The name of the parameter, an ASCII-only ``str``.
:param value:
    The value of the parameter, a ``str`` or UTF-8 encoded
    ``bytes``.
:returns:
    A string ``name="value"`` with the escaped value.

.. versionchanged:: 2.0.0
    Matches the WHATWG HTML Standard as of 2021/06/10. Control
    characters are no longer percent encoded.

.. versionchanged:: 2.0.0
    Renamed from ``format_header_param_html5`` and
    ``format_header_param``. The old names will be removed in
    urllib3 v3.0.
r   z%0Az%0Dz%22r#   r$   )r)   r*   r+   Ú	translate)r   r   s   &&r   Úformat_multipart_header_paramr8   O   sO   € ô< �%œ×ÒØ—‘˜WÓ%ˆð �O‰O˜R ¨¨E°2°uÐ=Ó>€EØˆV�2�e�W˜AÐÐr   c               ó$   € V ^8„  d   QhRRRRRR/# r   r   )r   s   "r   r   r   u   s"   € ÷ 6ñ 6 Cð 6Ð0Að 6Àcñ 6r   c                óP   € ^ RI pVP                  R\        ^R7       \        W4      # )úr
.. deprecated:: 2.0.0
    Renamed to :func:`format_multipart_header_param`. Will be
    removed in urllib3 v3.0.
Nz~'format_header_param_html5' has been renamed to 'format_multipart_header_param'. The old name will be removed in urllib3 v3.0.r   ©r&   r'   r(   r8   ©r   r   r&   s   && r   Úformat_header_param_html5r>   u   ó2   € ó à‡M�Mð	#ô 	Øð ô ô )¨Ó5Ð5r   c               ó$   € V ^8„  d   QhRRRRRR/# r   r   )r   s   "r   r   r   ‡   s"   € ÷ 6ñ 6˜cð 6Ð*;ð 6Àñ 6r   c                óP   € ^ RI pVP                  R\        ^R7       \        W4      # )r;   Nzx'format_header_param' has been renamed to 'format_multipart_header_param'. The old name will be removed in urllib3 v3.0.r   r<   r=   s   && r   Úformat_header_paramrB   ‡   r?   r   c                  óx   € ] tR t^™tRtRR R llt]RR R ll4       tR R ltR	 R
 lt	R R lt
RR R lltRtR# )ÚRequestFielda¾  
A data container for request body parameters.

:param name:
    The name of this request field. Must be unicode.
:param data:
    The data/value body.
:param filename:
    An optional filename of the request field. Must be unicode.
:param headers:
    An optional dict-like object of headers to initially use for the field.

.. versionchanged:: 2.0.0
    The ``header_formatter`` parameter is deprecated and will
    be removed in urllib3 v3.0.
Nc          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )r   r   r	   Údatar   r   r   Úheadersztyping.Mapping[str, str] | NoneÚheader_formatterú5typing.Callable[[str, _TYPE_FIELD_VALUE], str] | Noner   )r   s   "r   r   ÚRequestField.__annotate__«   sD   € ÷ Bñ BàðBð  ðBð ð	Bð
 1ðBð PñBr   c                	óÎ   € Wn         W0n        W n        / V n        V'       d   \	        V4      V n        Ve%   ^ R IpVP                  R\        ^R7       WPn        R # \        V n        R # )NzSThe 'header_formatter' parameter is deprecated and will be removed in urllib3 v3.0.r   )
Ú_nameÚ	_filenamerF   rG   Údictr&   r'   r(   rH   r8   )Úselfr   rF   r   rG   rH   r&   s   &&&&&& r   Ú__init__ÚRequestField.__init__«   s]   € ð Œ
Ø!ŒØŒ	Ø.0ˆŒßÜ ›=ˆDŒLàÒ'Ûà�M‰Mð3äØð	 ô ð %5Ö!ä$AˆDÖ!r   c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   Ú	fieldnamer	   r   Ú_TYPE_FIELD_VALUE_TUPLErH   rI   r
   rD   r   )r   s   "r   r   rJ   È   s3   € ÷ *ñ *àð*ð 'ð*ð Pð	*ð
 
ñ*r   c                óÂ   € \        V\        4      '       d'   \        V4      ^8X  d   Vw  rEpMVw  rE\        V4      pMRpRpTpV ! WWCR7      pVP	                  VR7       V# )aS  
A :class:`~urllib3.fields.RequestField` factory from old-style tuple parameters.

Supports constructing :class:`~urllib3.fields.RequestField` from
parameter of key/value strings AND key/filetuple. A filetuple is a
(filename, data, MIME type) tuple where the MIME type is optional.
For example::

    'foo': 'bar',
    'fakefile': ('foofile.txt', 'contents of foofile'),
    'realfile': ('barfile.txt', open('realfile').read()),
    'typedfile': ('bazfile.bin', open('bazfile').read(), 'image/jpeg'),
    'nonamefile': 'contents of nonamefile field',

Field names and filenames must be unicode.
N)r   rH   )Úcontent_type)r)   ÚtupleÚlenr   Úmake_multipart)ÚclsrS   r   rH   r   rF   rV   Úrequest_params   &&&&    r   Úfrom_tuplesÚRequestField.from_tuplesÇ   sn   € ô6 �eœU×#Ò#Ü�5‹z˜QŒØ/4Ñ,�¡à!&‘�Ü1°(Ó;‘àˆHØˆLØˆDáØ hô
ˆð 	×$Ñ$°,Ð$Ô?àÐr   c               ó$   € V ^8„  d   QhRRRRRR/# r   r   )r   s   "r   r   rJ   ô   s"   € ÷ 2ñ 2 ð 2Ð->ð 2À3ñ 2r   c                ó$   € V P                  W4      # )a;  
Override this method to change how each multipart header
parameter is formatted. By default, this calls
:func:`format_multipart_header_param`.

:param name:
    The name of the parameter, an ASCII-only ``str``.
:param value:
    The value of the parameter, a ``str`` or UTF-8 encoded
    ``bytes``.

:meta public:
)rH   )rO   r   r   s   &&&r   Ú_render_partÚRequestField._render_partô   s   € ð ×$Ñ$ TÓ1Ð1r   c               ó    € V ^8„  d   QhRRRR/# )r   Úheader_partsz[dict[str, _TYPE_FIELD_VALUE | None] | typing.Sequence[tuple[str, _TYPE_FIELD_VALUE | None]]r
   r	   r   )r   s   "r   r   rJ     s!   € ÷  ñ  ðDð ð 
ñ r   c                óÜ   € . p\        V\        4      '       d   VP                  4       pMTpV F+  w  rEVf   K  VP                  V P	                  WE4      4       K-  	  RP                  V4      # )a  
Helper function to format and quote a single header.

Useful for single headers that are composed of multiple items. E.g.,
'Content-Disposition' fields.

:param header_parts:
    A sequence of (k, v) tuples or a :class:`dict` of (k, v) to format
    as `k1="v1"; k2="v2"; ...`.
ú; )r)   rN   ÚitemsÚappendr`   Újoin)rO   rc   ÚpartsÚiterabler   r   s   &&    r   Ú_render_partsÚRequestField._render_parts  sc   € ð& ˆÜ�l¤D×)Ò)Ø#×)Ñ)Ó+‰Hà#ˆHã#‰KˆDØÔ Ø—‘˜T×.Ñ.¨tÓ;Ö<ñ $ð �y‰y˜ÓÐr   c               ó   € V ^8„  d   QhRR/# )r   r
   r	   r   )r   s   "r   r   rJ   #  s   € ÷ "ñ " ñ "r   c                ó�  € . p. ROpV FN  pV P                   P                  VR4      '       g   K'  VP                  V RV P                   V,           24       KP  	  V P                   P                  4        F-  w  rEWB9  g   K  V'       g   K  VP                  V RV 24       K/  	  VP                  R4       RP	                  V4      # )z-
Renders the headers for this request field.
Fz: z
)úContent-DispositionúContent-TypeúContent-Location)rG   Úgetrg   rf   rh   )rO   ÚlinesÚ	sort_keysÚsort_keyÚheader_nameÚheader_values   &     r   Úrender_headersÚRequestField.render_headers#  s«   € ð ˆâOˆ	Û!ˆHØ�|‰|×Ñ ¨%×0Ô0Ø—‘ ˜z¨¨D¯L©L¸Õ,BÐ+CÐDÖEñ "ð *.¯©×);Ñ);Ö)=Ñ%ˆKØÖ+ß‘<Ø—L‘L K =°°<°.Ð!AÖBñ *>ð
 	�‰�VÔØ�{‰{˜5Ó!Ð!r   c               ó(   € V ^8„  d   QhRRRRRRRR/# )r   Úcontent_dispositionr   rV   Úcontent_locationr
   ÚNoner   )r   s   "r   r   rJ   6  s2   € ÷ <ñ <à'ð<ð !ð<ð %ð	<ð
 
ñ<r   c           	     óô   € T;'       g    RRP                  RV P                  RV P                  3RV P                  334      .4      ,           pWP                  R&   W P                  R&   W0P                  R&   R	# )
a£  
Makes this request field into a multipart request field.

This method overrides "Content-Disposition", "Content-Type" and
"Content-Location" headers to the request parameter.

:param content_disposition:
    The 'Content-Disposition' of the request body. Defaults to 'form-data'
:param content_type:
    The 'Content-Type' of the request body.
:param content_location:
    The 'Content-Location' of the request body.

z	form-datare   Ú r   r   ro   rp   rq   N)rh   rk   rL   rM   rG   )rO   r{   rV   r|   s   &&&&r   rY   ÚRequestField.make_multipart6  s|   € ð(  3×AÐA°kÀTÇYÁYàØ×"Ñ"Ø˜dŸj™jÐ)¨J¸¿¹Ð+GÐHóðóF
õ 
Ðð /B�‰Ð*Ñ+Ø'3�‰�^Ñ$Ø+;�‰Ð'Ó(r   )rM   rL   rF   rH   rG   )NNNr   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__rP   Úclassmethodr\   r`   rk   rx   rY   Ú__static_attributes__r   r   r   rD   rD   ™   s;   † ñ÷"Bð8 ö*ó ð*õX2õ  õ>"÷&<ó <r   rD   )zapplication/octet-stream)Ú
__future__r   Úemail.utilsr0   r   ÚtypingÚUnionr	   r*   r   rW   rT   r   r4   r8   r>   rB   rD   r   r   r   Ú<module>rŒ      s€   ðÝ "ã Û Û à—L‘L  e Õ,Ð Ø Ÿ,™,ØØ	ˆ#Ð Ð
 Õ!Ø	ˆ#Ð  #Ð
%Õ&ð(õÐ ÷õ -õ`#õL6õ$6÷$|<ó |<r   