+
    ¾¾jC  ã                   óf   € R t ^ RIHtHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
Ht  ! R R]4      tR.tR# )	z BOOLEAN values from :rfc:`5545`.)ÚAnyÚClassVar)ÚCaselessDict)ÚSelf)ÚJCalParsingError)Ú
Parametersc                   ó  a a€ ] tR t^t oRtRt]! RRRR/4      tRR/V3R	 lV 3R
 llltV3R lR lt	]
V3R lR l4       t]V3R lR l4       t]V3R lR l4       t^ RIHt V3R lR lt]V3R lR l4       tV3R ltRtVtV ;t# )ÚvBooleanaA  An iCalendar boolean value.

Converts between iCalendar ``BOOLEAN`` value types and Python boolean values.
Conforming with :rfc:`5545#section-3.3.2`, iCalendar boolean values are
represented as ``TRUE`` or ``FALSE``. Values parsed from iCalendar text are case
insensitive.

Parameters:
    params: iCalendar property parameters associated with the value.

Returns:
    A new :class:`vBoolean` instance with the supplied property parameters.

Examples:
    Parse, create, and use iCalendar boolean values.

    .. code-block:: pycon

        >>> from icalendar import vBoolean
        >>> vBoolean.from_ical("TRUE")
        True
        >>> vBoolean.from_ical("fAlse")
        False
        >>> boolean = vBoolean(True)
        >>> if boolean:
        ...     print("TRUE")
        TRUE
        >>> boolean.to_ical()
        b'TRUE'

ÚBOOLEANÚtrueTÚfalseFÚparamsNc                óV   <€ V ^8„  d   QhRS[ RS[S[S[ 3,          R,          RS[ RS[/# )é   Úargsr   NÚkwargsÚreturn)r   ÚdictÚstrr   )ÚformatÚ__classdict__s   "€ÚU/home/ralf/ical-fahrzeuge/venv/lib/python3.14/site-packages/icalendar/prop/boolean.pyÚ__annotate__ÚvBoolean.__annotate__1   s:   ø€ ÷ ñ ÙðÙ!%¡c©3 h¥°$Õ!6ðÙILðá	ñó    c               óP   <€ \         SV `  ! V .VO5/ VB p\        V4      Vn        V# )N)ÚsuperÚ__new__r   r   )Úclsr   r   r   ÚselfÚ	__class__s   &$*, €r   r   ÚvBoolean.__new__1   s.   ø€ ô ‰wŠ˜sÐ4 TÒ4¨VÑ4ˆÜ  Ó(ˆŒØˆr   c                ó    <€ V ^8„  d   QhRS[ /# ©r   r   )Úbytes)r   r   s   "€r   r   r   8   s   ø€ ÷ -ñ -™ñ -r   c                ó   € V '       d   R# R# )uV  Converts a :class:`~icalendar.prop.boolean.vBoolean` to a BOOLEAN property type.

This class method takes a ``vBoolean``â€”a Python boolean valueâ€”and converts it to an iCalendar BOOLEAN property type, in compliance with :rfc:`5545#section-3.3.2`.

Returns:
    Either "TRUE" or "FALSE" as bytes, depending on the value of the ``vBoolean``.
s   TRUEs   FALSE© ©r   s   &r   Úto_icalÚvBoolean.to_ical8   s   € ÷ ˆwÐ, HÐ,r   c                ó    <€ V ^8„  d   QhRS[ /# r#   ©Úbool)r   r   s   "€r   r   r   C   s   ø€ ÷ ñ ™Dñ r   c                ó   € \        V 4      # )z<BOOLEAN property type according to :rfc:`5545#section-3.3.2`r+   r'   s   &r   Ú
ical_valueÚvBoolean.ical_valueB   s   € ô �D‹zÐr   c                ó&   <€ V ^8„  d   QhRS[ RS[/# )r   Úicalr   )r   r,   )r   r   s   "€r   r   r   H   s   ø€ ÷ Oñ O™Sð O¡Tñ Or   c                ón   €  V P                   V,          #   \         d   p\        R T 24      ThRp?ii ; i)z Expected 'TRUE' or 'FALSE'. Got N)ÚBOOL_MAPÚ	ExceptionÚ
ValueError)r   r1   Úes   && r   Ú	from_icalÚvBoolean.from_icalG   s>   € ð	OØ—<‘< Õ%Ð%øÜô 	OÜÐ?À¸vÐFÓGÈQÐNûð	Oús   ‚ •4 /¯4c                ó0   <€ V ^8„  d   QhRS[ S[,          /# r#   ©Úlistr   )r   r   s   "€r   r   r   O   s   ø€ ÷ 
ñ 
™™d�ñ 
r   c                ó"   € V ! R4      V ! R4      .# )zExamples of vBoolean.TFr&   )r   s   &r   ÚexamplesÚvBoolean.examplesN   s   € ñ �‹IÙ�‹Jð
ð 	
r   )ÚVALUEc                ó&   <€ V ^8„  d   QhRS[ RS[/# )r   Únamer   )r   r;   )r   r   s   "€r   r   r   X   s   ø€ ÷ Mñ M™Cð M¡Dñ Mr   c                ó~   € WP                   P                  4       V P                  P                  4       \	        V 4      .# )zBThe jCal representation of this property according to :rfc:`7265`.)r   Úto_jcalr?   Úlowerr,   )r   rA   s   &&r   rC   ÚvBoolean.to_jcalX   s-   € à—k‘k×)Ñ)Ó+¨T¯Z©Z×-=Ñ-=Ó-?ÄÀdÃÐLÐLr   c                ó&   <€ V ^8„  d   QhRS[ RS[/# )r   Újcal_propertyr   r:   )r   r   s   "€r   r   r   ]   s   ø€ ÷ 
ñ 
¡dð 
©tñ 
r   c                óÀ   € \         P                  ! W4       \         P                  ! V^,          \        V ^4       V ! V^,          \        P
                  ! V4      R7      # )z®Parse jCal from :rfc:`7265` to a vBoolean.

Parameters:
    jcal_property: The jCal property to parse.

Raises:
    ~error.JCalParsingError: If the provided jCal is invalid.
©r   )r   Úvalidate_propertyÚvalidate_value_typer,   r   Úfrom_jcal_property)r   rG   s   &&r   Ú	from_jcalÚvBoolean.from_jcal\   sN   € ô 	×*Ò*¨=Ô>Ü×,Ò,¨]¸1Õ-=¼tÀSÈ!ÔLÙØ˜!ÕÜ×0Ò0°Ó?ô
ð 	
r   c                óB   <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[;R&   # )r   Údefault_valuer   )r   r   r   )r   r   s   "€r   r   r      s'   ø‡ ‚ ñB ™C•=Ñ,ñC ñD ÑòE r   rI   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__rP   r   r3   r   r(   Úpropertyr.   Úclassmethodr7   r=   Úicalendar.paramr?   rC   rM   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r    r   s   @@r   r	   r	      s®   ù‡ € ñð@ $-€Mñ ˜V T¨7°EÐ:Ó;€HðØ9=÷õ ÷-ð -ð ÷ó ðð ÷Oó ðOð ÷
ó ð
õ &÷Mð Mð ÷
ó ð
÷e … r   r	   N)rU   Útypingr   r   Úicalendar.caselessdictr   Úicalendar.compatibilityr   Úicalendar.errorr   Úicalendar.parserr   Úintr	   Ú__all__r&   r   r   Ú<module>rd      s/   ðÙ &ç  å /Ý (Ý ,Ý 'ô`
ˆsô `
ðF ˆ,‚r   