+
    ¾¾jð+  ã                  óL  € R t ^ RIHt ^ RIt^ RIHt ]'       d   ^ RIHt  ! R R]4      t	 ! R R]	4      t
 ! R	 R
]	4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      tR R lt ! R R]	4      t. ROtR# )zErrors thrown by icalendar.)ÚannotationsN)ÚTYPE_CHECKING)Ú	Generatorc                  ó   € ] tR t^tRtRtR# )ÚInvalidCalendarzeThe calendar given is not valid.

This calendar does not conform with RFC 5545 or breaks other RFCs.
© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r   ó    ÚN/home/ralf/ical-fahrzeuge/venv/lib/python3.14/site-packages/icalendar/error.pyr   r      ó   † õr   r   c                  ó6   a € ] tR t^tRtRR V 3R llltRtV ;t# )ÚICalParsingErrorzCould not parse an iCalendar.c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )é   ÚmessageÚstrÚlinez
str | NoneÚline_numberz
int | NoneÚvalueÚobjectÚreturnÚNoner   )Úformats   "r   Ú__annotate__ÚICalParsingError.__annotate__   s<   € ÷ 'ñ 'àð'ð ð'ð  ð	'ð
 ð'ð 
ñ'r   c                	óø   <€ Wn         W n        W0n        W@n        TpVe   VRV: 2,          pVe   Ve   VRV RV: R2,          pM$Ve   VRV R2,          pMVe   VRV: R2,          p\        SV `  V4       R # )Nú: z (line Ú)z ()r   r   r   r   ÚsuperÚ__init__)Úselfr   r   r   r   Úfull_messageÚ	__class__s   &&&&& €r   r%   ÚICalParsingError.__init__   s—   ø€ ð ŒØŒ	Ø&ÔØŒ
àˆàÒØ˜b ¡	˜NÕ*ˆLàÒ" tÒ'7Ø˜g k ]°"°T±H¸AÐ>Õ>‰LØÒ$Ø˜g k ]°!Ð4Õ4‰LØÒØ˜b ¡¨˜NÕ*ˆLä‰Ñ˜Ö&r   )r   r   r   r   )NNN)r	   r
   r   r   r   r%   r   Ú__classcell__©r(   s   @r   r   r      s   ø† Ù'÷'÷ 'ð 'r   r   c                  ó   € ] tR t^1tRtRtR# )ÚBrokenCalendarPropertya  A property could not be parsed and its value is broken.

This error is raised when accessing attributes on a
:class:`~icalendar.prop.vBroken` property that would normally
be present on the expected type. The original parse error
is chained as ``__cause__``.
r   Nr   r   r   r   r-   r-   1   s   † õr   r-   c                  ó   € ] tR t^;tRtRtR# )ÚIncompleteComponenta*  The component is missing attributes.

The attributes are not required, otherwise this would be
an InvalidCalendar. But in order to perform calculations,
this attribute is required.

This error is not raised in the UPPERCASE properties like .DTSTART,
only in the lowercase computations like .start.
r   Nr   r   r   r   r/   r/   ;   s   † õr   r/   c                  ó   € ] tR t^GtRtRtR# )ÚIncompleteAlarmInformationzCThe alarms cannot be calculated yet because information is missing.r   Nr   r   r   r   r1   r1   G   s   † ÝMr   r1   c                  ó   € ] tR t^KtRtRtR# )ÚLocalTimezoneMissingzZWe are missing the local timezone to compute the value.

Use Alarms.set_local_timezone().
r   Nr   r   r   r   r3   r3   K   r   r   r3   c                  ó   € ] tR t^RtRtRtR# )ÚComponentEndMissingzTWe are missing the end of a component that the alarm is for.

Use Alarms.set_end().
r   Nr   r   r   r   r5   r5   R   r   r   r5   c                  ó   € ] tR t^YtRtRtR# )ÚComponentStartMissingzXWe are missing the start of a component that the alarm is for.

Use Alarms.set_start().
r   Nr   r   r   r   r7   r7   Y   r   r   r7   c                  ó   € ] tR t^`tRtRtR# )Ú#FeatureWillBeRemovedInFutureVersionz1This feature will be removed in a future version.r   Nr   r   r   r   r9   r9   `   s   † Ý;r   r9   c                  ó   € ] tR t^dtRtRtR# )ÚGloballyUniqueTZIDGuesseda  A globally unique TZID was resolved by stripping the vendor prefix.

Per :rfc:`5545#section-3.2.19`, the trailing component is convention only
and not guaranteed to match a known Olson identifier. Suppress this warning
if the resolved timezone is correct for your data.
r   Nr   r   r   r   r;   r;   d   s   † õr   r;   c               ó    € V ^8„  d   QhRRRR/# )r   Úindexz	str | intr   r   r   )r   s   "r   r   r   m   s   € ÷ ñ �yð  Sñ r   c                óP   € \        V \        4      '       d   RV  R2# \        V 4      # )a  Create a JSON compatible representation for the index.

Parameters:
    index: It is either a dict key (string) or a list position (integer).

Returns:
    The index as a quoted string if it's a string, else the string
    representation if it's an integer.
Ú")Ú
isinstancer   )r=   s   &r   Ú_repr_indexrA   m   s)   € ô �%œ×ÒØ�5�'˜ˆ|ÐÜˆu‹:Ðr   c                  ó  a € ] tR t^|tRt]! 4       tRR]3R V 3R lllt]]	P                  R R l4       4       t]R R	 l4       t]RR
 R ll4       t]R]R]R]R/t]RR R ll4       t]RR R ll4       t]RR R ll4       tRtV ;t# )ÚJCalParsingErrorz#Could not parse a part of the JCal.Ú Nc          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )r   r   r   Úparserú
str | typeÚpathú"list[str | int] | None | str | intr   r   r   r   r   )r   s   "r   r   ÚJCalParsingError.__annotate__�   s<   € ÷ 'ñ 'àð'ð ð'ð 1ð	'ð
 ð'ð 
ñ'r   c           	     óÜ  <€ V P                  V4      V n        \        V\        4      '       g   VP                  pW n        Wn        W@n        TpRpV P                  '       dI   RP                  V P                   Uu. uF  pR\        V4       R2NK  	  up4      pV RV 2pVR,          pV'       d   V RV RV 2pW@P                  Jd   VRV: 2,          p\        SV `1  V4       R# u upi )	a6  Create a new JCalParsingError.

Parameters:
    message: A description of the error that occurred while parsing.
    parser: The parser class or its name where the error occurred.
    path: The location in the jCal structure where the error occurred.
    value: The value which caused the error, if available.
rD   Ú[Ú]r"   Ú zin z Got value: N)Ú	_get_pathrH   r@   r   r	   rF   r   r   ÚjoinrA   Ú_default_valuer$   r%   )	r&   r   rF   rH   r   r'   Ú	repr_pathr=   r(   s	   &&&&&   €r   r%   ÚJCalParsingError.__init__�   sà   ø€ ð —N‘N 4Ó(ˆŒ	Ü˜&¤#×&Ò&Ø—_‘_ˆFØŒØŒØŒ
ØˆØˆ	Ø�9�9ˆ9ØŸ™ÈÏ	Ê	Ó RÉ	¸u 1¤[°Ó%7Ð$8¸Ó!:É	Ñ RÓSˆIØ'˜[¨¨<¨.Ð9ˆLØ˜ÕˆIßØ'˜[¨¨F¨8°2°g°YÐ?ˆLØ×+Ñ+Ó+Ø˜l¨5©)Ð4Õ4ˆLÜ‰Ñ˜Ö&ùò !Ss   Á;C)c               ó    € V ^8„  d   QhRRRR/# )r   Úpath_componentsz	int | strr   zGenerator[None, None, None]r   )r   s   "r   r   rJ   ¤   s   € ÷ 5ñ 5à#ð5ð 
%ñ5r   c              '  óú   "  €  Rx € R#   \          dd   pT ! \        T4      TP                  ,           TP                  TP                  TP
                  R7      P                  TP                  4      ThRp?ii ; i5i)z‘Automatically re-raise the exception with path components added.

Raises:
    ~error.JCalParsingError: If there was an exception in the context.
N)rH   rF   r   r   )rC   ÚlistrH   rF   r   r   Úwith_tracebackÚ__traceback__)ÚclsrU   Úes   &* r   Úreraise_with_path_addedÚ(JCalParsingError.reraise_with_path_added¢   sa   é € ð	5ÝøÜô 	5ÙÜ˜/Ó*¨Q¯V©VÕ3Ø—x‘xØŸ	™	Ø—g‘gô	÷
 ‰n˜QŸ_™_Ó-°1ð5ûð	5üs%   ‚A;„
 ˆA;ŠA8•AA3Á3A8Á8A;c               ó    € V ^8„  d   QhRRRR/# )r   rH   rI   r   zlist[str | int]r   )r   s   "r   r   rJ   ¸   s   € ÷ ñ Ð:ð ¸ñ r   c                óH   € V f   . p V # \        V \        4      '       g   V .p V # )zReturn the path as a list.)r@   rW   )rH   s   &r   rO   ÚJCalParsingError._get_path·   s0   € ð Š<ØˆDð ˆô ˜D¤$×'Ò'Ø�6ˆDØˆr   c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r   Újcal_propertyzlist[object]rF   rG   rH   rI   r   r   r   )r   s   "r   r   rJ   Á   s8   € ÷ ,Wñ ,Wà#ð,Wð ð,Wð 1ð	,Wð
 
ñ,Wr   c                ó6  € V P                  V4      p\        V\        4      '       d   \        V4      ^8  d   \	        RVVVR7      h\        V^ ,          \
        4      '       g   \	        RW#^ .,           V^ ,          R7      h\        V^,          \        4      '       g   \	        RVV^.,           V^,          R7      h\        V^,          \
        4      '       g   \	        RVV^.,           V^,          R7      hV P                  V^ ,          RW#^ .,           4       R# )aŽ  Validate a jCal property.

Parameters:
    jcal_property: A list with at least four items (name,
        parameters, value type, and value) which is the jCal property
        to be validated.
    parser: The parser class or its name where the error occurred.
    path: The location in the jCal structure where the error occurred.

Raises:
    ~error.JCalParsingError: if the property is not valid.
z2The property must be a list with at least 4 items.©r   zThe name must be a string.z!The parameters must be a mapping.z%The VALUE parameter must be a string.zproperty nameN)rO   r@   rW   ÚlenrC   r   ÚdictÚvalidate_jcal_token)rZ   rb   rF   rH   s   &&&&r   Úvalidate_propertyÚ"JCalParsingError.validate_propertyÀ   s	  € ð& �}‰}˜TÓ"ˆÜ˜-¬×.Ò.´#°mÓ2DÀqÔ2HÜ"ØDØØØ#ô	ð ô ˜-¨Õ*¬C×0Ò0Ü"Ø,¨f¸a¸SµjÈÐVWÕHXôð ô ˜-¨Õ*¬D×1Ò1Ü"Ø3ØØ˜�s•
Ø# AÕ&ô	ð ô ˜-¨Õ*¬C×0Ò0Ü"Ø7ØØ˜�s•
Ø# AÕ&ô	ð ð 	×Ñ ¨aÕ 0°/À6ÐSTÐRUÍ:ÖVr   za stringz
an integerza floatz	a booleanc          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )r   Újcalr   Úexpected_typezKtype[str | int | float | bool] | tuple[type[str | int | float | bool], ...]rF   rG   rH   rI   r   r   r   )r   s   "r   r   rJ   ÷   s<   € ÷ ñ àðð5ðð
 ðð 1ðð 
ñr   c                óÒ   a € \        W4      '       gU   \        V\        4      '       d   S P                  V,          MRP                  V 3R lV 4       4      pS ! RV R2VVVR7      hR# )z"Validate the type of a jCal value.z or c              3  óJ   <"  € T F  pSP                   V,          x € K  	  R # 5i©N)Ú_type_names)Ú.0ÚtrZ   s   & €r   Ú	<genexpr>Ú7JCalParsingError.validate_value_type.<locals>.<genexpr>  s   øé € Ð K¹]¸ §¡°×!3Ò!3»]ùs   ƒ #zThe value must be Ú.©rF   r   rH   N)r@   Útyperp   rP   )rZ   rk   rl   rF   rH   Ú	type_names   f&&&& r   Úvalidate_value_typeÚ$JCalParsingError.validate_value_typeö   sm   ø€ ô ˜$×.Ò.ô ˜m¬T×2Ò2ð —‘ Ö.à—[‘[Ô K¹]Ó KÓKð ñ
 Ø$ Y K¨qÐ1ØØØô	ð ñ /r   c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )r   rk   r   rl   ztype[str | int | float | bool]rF   rG   rH   rI   r   r   r   )r   s   "r   r   rJ     s<   € ÷ ñ àðð 6ðð ð	ð
 1ðð 
ñr   c                ó
  € V P                  V4      p\        V\        4      '       g   V ! RVVVR7      h\        V4       F@  w  rV\        Wb4      '       d   K  V P                  V,          pV ! RV R2VVWE.,           R7      h	  R# )z.Validate the type of each item in a jCal list.zThe value must be a list.rv   zEach item in the list must be ru   N)rO   r@   rW   Ú	enumeraterp   )rZ   rk   rl   rF   rH   r=   Úitemrx   s   &&&&&   r   Úvalidate_list_typeÚ#JCalParsingError.validate_list_type  s‰   € ð �}‰}˜TÓ"ˆÜ˜$¤×%Ò%ÙØ+ØØØô	ð ô % Tž?‰KˆEÜ˜d×2Ô2ØŸO™O¨MÕ:�	ÙØ4°Y°K¸qÐAØ!ØØ �ô	ð ó +r   c          
     ó,   € V ^8„  d   QhRRRRRRRRRR	/# )
r   Únamer   ÚkindrF   rG   rH   rI   r   r   r   )r   s   "r   r   rJ   )  sC   € ÷ *Rñ *Ràð*Rð ð*Rð ð	*Rð
 1ð*Rð 
ñ*Rr   c                óª   € ^ RI Hp  V! V4       YP                  4       8w  d   T ! RT R2Y4TR7      hR#   \         d    T ! RT R2TTTR7      Rhi ; i)a=  Validate a jCal ``name`` as a lowercase iCalendar token.

jCal keeps a property name, parameter name, or ``RRULE`` part name
verbatim and re-emits it into the content line on serialization, so a
``:``, ``;``, or lone carriage return in the name could inject
parameters or a new content line. A valid name matches the iCalendar
token pattern ``[\w.-]+`` and, per :rfc:`7265`, must be lowercase.

Parameters:
    name: The jCal name to validate.
    kind: Names the token in the error message, for example,
        ``"property name"``.
    parser: The parser or component to which the name belongs.
    path: The jCal path to ``name``, used to locate it in the error.

Raises:
    ~error.JCalParsingError: If ``name`` is not a valid lowercase
        iCalendar token.

See also:
    :meth:`~icalendar.parser.string.validate_token`
)Úvalidate_tokenzThe zT must be a valid iCalendar token, matching the regular expression pattern `[\w.-]+`.rd   Nz must be lowercase.)Úicalendar.parser.stringr…   Ú
ValueErrorÚlower)rZ   r‚   rƒ   rF   rH   r…   s   &&&&& r   rg   Ú$JCalParsingError.validate_jcal_token(  s}   € õ< 	;ð		Ù˜4Ô ð —:‘:“<ÔÙ˜˜T˜FÐ"5Ð6¸ÈDÔQÐQñ  øô ô 	ÙØ˜�vð 9ð :àØØôð ðð	ús	   ˆ5 µA)r   rF   rH   r   ro   )rD   N)r	   r
   r   r   r   r   rQ   r%   ÚclassmethodÚ
contextlibÚcontextmanagerr\   ÚstaticmethodrO   rh   r   ÚintÚfloatÚboolrp   ry   r   rg   r   r*   r+   s   @r   rC   rC   |   sË   ø† Ù-á“X€Nð
  Ø37Ø&÷'ò 'ðB Ø×Ñô5ó ó ð5ð& ôó ðð ö,Wó ð,Wð^ 	ˆZØˆ\ØˆyØˆkð	€Kð öó ðð, öó ðð4 ö*Ró ö*Rr   rC   )
r-   r5   r7   r9   r   r1   r/   r   rC   r3   )r   Ú
__future__r   r‹   Útypingr   Úcollections.abcr   r‡   r   r   r-   r/   r1   r3   r5   r7   ÚDeprecationWarningr9   ÚUserWarningr;   rA   rC   Ú__all__r   r   r   Ú<module>r—      s²   ðÙ !å "ã Ý  çÝ)ô�jô ô'�ô 'ô<˜_ô ô	˜*ô 	ôN ô NôÐ5ô ôÐ4ô ôÐ6ô ô<Ð*<ô <ô ô õôWR�ô WRòt‚r   