§
    ß·iè  ã                  óf   — d dl mZ d dlmZ d dlZddlmZ dd	„Z	 G d
„ dee
e
f         ¦  «        ZdS )é    )ÚannotationsNé   )ÚCallbackDictÚkeyÚstrÚreturnút.Anyc                ó@   ‡ — t          ˆ fd„ˆ fd„ˆ fd„d‰ ›�¦  «        S )z”Return a new property object for a content security policy header.
    Useful if you want to add support for a csp extension in a
    subclass.
    c                ó.   •— |                       ‰¦  «        S ©N)Ú
_get_value©Úxr   s    €ú`/home/mmwave/public_html/mmwave/venv/lib/python3.11/site-packages/werkzeug/datastructures/csp.pyú<lambda>zcsp_property.<locals>.<lambda>   ó   ø€ �!—,’,˜sÑ#Ô#€ ó    c                ó0   •— |                       ‰|¦  «        S r   )Ú
_set_value)r   Úvr   s     €r   r   zcsp_property.<locals>.<lambda>   s   ø€ �Q—\’\ # qÑ)Ô)€ r   c                ó.   •— |                       ‰¦  «        S r   )Ú
_del_valuer   s    €r   r   zcsp_property.<locals>.<lambda>   r   r   zaccessor for )Úproperty)r   s   `r   Úcsp_propertyr   	   sF   ø€ õ
 Ø#Ð#Ð#Ð#Ø)Ð)Ð)Ð)Ø#Ð#Ð#Ð#Ø˜ÐÐñ	ô ð r   c                  ó|  ‡ — e Zd ZU dZ ed¦  «        Zded<    ed¦  «        Zded<    ed¦  «        Zded<    ed	¦  «        Z	ded
<    ed¦  «        Z
ded<    ed¦  «        Zded<    ed¦  «        Zded<    ed¦  «        Zded<    ed¦  «        Zded<    ed¦  «        Zded<    ed¦  «        Zded<    ed¦  «        Zded<    ed¦  «        Zded<    ed¦  «        Zded<    ed¦  «        Zded <    ed!¦  «        Zded"<    ed#¦  «        Zded$<    ed%¦  «        Zded%<    ed&¦  «        Zded'<    ed(¦  «        Zded)<    ed*¦  «        Zded+<    ed,¦  «        Zded-<    ed.¦  «        Zded/<    ed0¦  «        Zded1<    ed2¦  «        Zded3<   	 	 dFdGˆ fd<„ZdHd?„Z dIdA„Z!dJdB„Z"dKdC„Z#dKdD„Z$dKdE„Z%ˆ xZ&S )LÚContentSecurityPolicyaV  Subclass of a dict that stores values for a Content Security Policy
    header. It has accessors for all the level 3 policies.

    Because the csp directives in the HTTP header use dashes the
    python descriptors use underscores for that.

    To get a header of the :class:`ContentSecurityPolicy` object again
    you can convert the object into a string or call the
    :meth:`to_header` method.  If you plan to subclass it and add your
    own items have a look at the sourcecode for that class.

    .. versionadded:: 1.0.0
       Support for Content Security Policy headers was added.

    zbase-uriú
str | NoneÚbase_uriz	child-srcÚ	child_srczconnect-srcÚconnect_srczdefault-srcÚdefault_srczfont-srcÚfont_srczform-actionÚform_actionzframe-ancestorsÚframe_ancestorsz	frame-srcÚ	frame_srczimg-srcÚimg_srczmanifest-srcÚmanifest_srcz	media-srcÚ	media_srcznavigate-toÚnavigate_toz
object-srcÚ
object_srczprefetch-srcÚprefetch_srczplugin-typesÚplugin_typesz	report-toÚ	report_toz
report-uriÚ
report_uriÚsandboxz
script-srcÚ
script_srczscript-src-attrÚscript_src_attrzscript-src-elemÚscript_src_elemz	style-srcÚ	style_srczstyle-src-attrÚstyle_src_attrzstyle-src-elemÚstyle_src_elemz
worker-srcÚ
worker_src© NÚvaluesú>cabc.Mapping[str, str] | cabc.Iterable[tuple[str, str]] | NoneÚ	on_updateú3cabc.Callable[[ContentSecurityPolicy], None] | Noner   ÚNonec                ó^   •— t          ¦   «                              ||¦  «         |d u| _        d S r   )ÚsuperÚ__init__Úprovided)Úselfr8   r:   Ú	__class__s      €r   r?   zContentSecurityPolicy.__init__A   s/   ø€ õ
 	‰Œ×Ò˜ Ñ+Ô+Ð+Ø dÐ*ˆŒˆˆr   r   r   c                ó,   — |                       |¦  «        S )ú+Used internally by the accessor properties.)Úget©rA   r   s     r   r   z ContentSecurityPolicy._get_valueI   s   € à�xŠx˜‰}Œ}Ðr   Úvaluec                óD   — |€|                       |d¦  «         dS || |<   dS ©rD   N)Úpop)rA   r   rG   s      r   r   z ContentSecurityPolicy._set_valueM   s.   € àˆ=Ø�HŠH�S˜$ÑÔÐÐÐàˆD�‰IˆIˆIr   c                ó   — || v r| |= dS dS rI   r7   rF   s     r   r   z ContentSecurityPolicy._del_valueT   s   € à�$ˆ;ˆ;Ø�S�	�	�	ð ˆ;r   c                ó$   — ddl m}  || ¦  «        S )z6Convert the stored values into a cache control header.é   )Údump_csp_header)ÚhttprN   )rA   rN   s     r   Ú	to_headerzContentSecurityPolicy.to_headerY   s$   € à*Ð*Ð*Ð*Ð*Ð*àˆ˜tÑ$Ô$Ð$r   c                ó*   — |                       ¦   «         S r   )rP   )rA   s    r   Ú__str__zContentSecurityPolicy.__str___   s   € Ø�~Š~ÑÔÐr   c                ó´   — d                      d„ t          |                      ¦   «         ¦  «        D ¦   «         ¦  «        }dt          | ¦  «        j        › d|› d�S )Nú c              3  ó*   K  — | ]\  }}|› d |›�V — ŒdS )ú=Nr7   )Ú.0Úkr   s      r   ú	<genexpr>z1ContentSecurityPolicy.__repr__.<locals>.<genexpr>c   s0   è è € ÐHÐH©4¨1¨a˜Q˜,˜, ˜,˜,ÐHÐHÐHÐHÐHÐHr   ú<ú>)ÚjoinÚsortedÚitemsÚtypeÚ__name__)rA   Úkv_strs     r   Ú__repr__zContentSecurityPolicy.__repr__b   sT   € Ø—’ÐHÐHµ6¸$¿*º*¹,¼,Ñ3GÔ3GÐHÑHÔHÑHÔHˆØ2•4˜‘:”:Ô&Ð2Ð2¨Ð2Ð2Ð2Ð2r   )r7   N)r8   r9   r:   r;   r   r<   )r   r   r   r   )r   r   rG   r   r   r<   )r   r   r   r<   )r   r   )'r`   Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__annotations__r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r?   r   r   r   rP   rR   rb   Ú__classcell__)rB   s   @r   r   r      sz  ø€ € € € € € ðð ð  (˜<¨
Ñ3Ô3€HÐ3Ð3Ð3Ñ3Ø(˜L¨Ñ5Ô5€IÐ5Ð5Ð5Ñ5Ø*˜l¨=Ñ9Ô9€KÐ9Ð9Ð9Ñ9Ø*˜l¨=Ñ9Ô9€KÐ9Ð9Ð9Ñ9Ø'˜<¨
Ñ3Ô3€HÐ3Ð3Ð3Ñ3Ø*˜l¨=Ñ9Ô9€KÐ9Ð9Ð9Ñ9Ø". ,Ð/@Ñ"AÔ"A€OÐAÐAÐAÑAØ(˜L¨Ñ5Ô5€IÐ5Ð5Ð5Ñ5Ø&˜, yÑ1Ô1€GÐ1Ð1Ð1Ñ1Ø+˜|¨NÑ;Ô;€LÐ;Ð;Ð;Ñ;Ø(˜L¨Ñ5Ô5€IÐ5Ð5Ð5Ñ5Ø*˜l¨=Ñ9Ô9€KÐ9Ð9Ð9Ñ9Ø)˜\¨,Ñ7Ô7€JÐ7Ð7Ð7Ñ7Ø+˜|¨NÑ;Ô;€LÐ;Ð;Ð;Ñ;Ø+˜|¨NÑ;Ô;€LÐ;Ð;Ð;Ñ;Ø(˜L¨Ñ5Ô5€IÐ5Ð5Ð5Ñ5Ø)˜\¨,Ñ7Ô7€JÐ7Ð7Ð7Ñ7Ø&˜, yÑ1Ô1€GÐ1Ð1Ð1Ñ1Ø)˜\¨,Ñ7Ô7€JÐ7Ð7Ð7Ñ7Ø". ,Ð/@Ñ"AÔ"A€OÐAÐAÐAÑAØ". ,Ð/@Ñ"AÔ"A€OÐAÐAÐAÑAØ(˜L¨Ñ5Ô5€IÐ5Ð5Ð5Ñ5Ø!- Ð.>Ñ!?Ô!?€NÐ?Ð?Ð?Ñ?Ø!- Ð.>Ñ!?Ô!?€NÐ?Ð?Ð?Ñ?Ø)˜\¨,Ñ7Ô7€JÐ7Ð7Ð7Ñ7ð RTØIMð+ð +ð +ð +ð +ð +ð +ðð ð ð ðð ð ð ðð ð ð ð
%ð %ð %ð %ð ð  ð  ð  ð3ð 3ð 3ð 3ð 3ð 3ð 3ð 3r   r   )r   r   r   r	   )Ú
__future__r   Úcollections.abcÚabcÚcabcÚtypingÚtÚ
structuresr   r   r   r   r7   r   r   ú<module>ro      s¢   ðØ "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð Ø Ð Ð Ð à $Ð $Ð $Ð $Ð $Ð $ð
ð 
ð 
ð 
ðN3ð N3ð N3ð N3ð N3˜L¨¨c¨Ô2ñ N3ô N3ð N3ð N3ð N3r   