+
    &*i7                        ^ RI Ht ^ RIHt  . ROt ! R	 R]4      t ! R
 R]4      t]t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      tR R ltRR R lltR# )    )annotations)AnchorScalarStringLiteralScalarStringFoldedScalarStringSingleQuotedScalarStringDoubleQuotedScalarStringPlainScalarStringc                      ] tR t^t]P
                  tR R ltRR R llt]	R R l4       t
RR R lltRR	 R
 lltRtR# )r   c               $    V ^8  d   QhRRRRRR/# )   argsAnykwreturn )formats   "8lib/python3.14/site-packages/ruamel/yaml/scalarstring.py__annotate__ScalarString.__annotate__   s!      C s s     c                	    VP                  R R4      p\        P                  ! V .VO5/ VB pVe   VP                  VRR7       V# )anchorNT)always_dump)popstr__new__yaml_set_anchor)clsr   r   r   ret_vals   &*,  r   r   ScalarString.__new__   sH    $'++c/D/B/##F#=r   c               (    V ^8  d   QhRRRRRRRR/# )r   oldr   new
maxreplaceSupportsIndexr   r   )r   s   "r   r   r   !   s.     E E3 ES Em ES Er   c                	L    \        V 4      ! \        P                  WW#4      4      # N)typer   replace)selfr#   r$   r%   s   &&&&r   r*   ScalarString.replace!   s    Dz3;;t#BDDr   c                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r   r   %   s     , , ,r   c                	    \        V \        P                  4      '       g$   \        V \        P                  \        4       4       \	        V \        P                  4      # r(   )hasattrr   attribsetattrgetattr)r+   s   &r   r   ScalarString.anchor$   s6    tV]]++D&--2tV]]++r   c                    V ^8  d   QhRRRR/# )r   anyboolr   r   r   )r   s   "r   r   r   *   s      t  r   c                	    \        V \        P                  4      '       g   R # V'       g   V P                  P                  '       d   V P                  # R # r(   )r/   r   r0   r   r   )r+   r5   s   &&r   yaml_anchorScalarString.yaml_anchor*   s5    tV]]++$++)));;r   c               $    V ^8  d   QhRRRRRR/# )r   valuer   r   r6   r   Noner   )r   s   "r   r   r   1   s!     . .S .t . .r   c                	F    WP                   n        W P                   n        R # r(   )r   r;   r   )r+   r;   r   s   &&&r   r   ScalarString.yaml_set_anchor1   s    !"-r   r   N))F)__name__
__module____qualname____firstlineno__r   r0   	__slots__r   r*   propertyr   r8   r   __static_attributes__r   r   r   r   r      s9    IE , ,
. .r   c                  .    ] tR t^6tRtRtRR R lltRtR# )r   comment|Nc               $    V ^8  d   QhRRRRRR/# r   r;   Textr   r   r   r   )r   s   "r   r    LiteralScalarString.__annotate__;   !     ? ?D ?# ? ?r   c                	0    \         P                  WVR 7      # )r   r   r   r   r;   r   s   &&&r   r   LiteralScalarString.__new__;       ##Cv#>>r   r   r(   r@   rA   rB   rC   rD   styler   rF   r   r   r   r   r   6   s    IE? ?r   c                  .    ] tR t^BtRtRtRR R lltRtR# )r   >Nc               $    V ^8  d   QhRRRRRR/# rK   r   )r   s   "r   r   FoldedScalarString.__annotate__G   rN   r   c                	0    \         P                  WVR 7      # rP   rQ   rR   s   &&&r   r   FoldedScalarString.__new__G   rT   r   r   )fold_posrH   r(   rU   r   r   r   r   r   B   s    'IE? ?r   c                  .    ] tR t^KtRtRtRR R lltRtR# )r   'Nc               $    V ^8  d   QhRRRRRR/# rK   r   )r   s   "r   r   %SingleQuotedScalarString.__annotate__P   rN   r   c                	0    \         P                  WVR 7      # rP   rQ   rR   s   &&&r   r    SingleQuotedScalarString.__new__P   rT   r   r   r(   rU   r   r   r   r   r   K       IE? ?r   c                  .    ] tR t^TtRtRtRR R lltRtR# )r	   "Nc               $    V ^8  d   QhRRRRRR/# rK   r   )r   s   "r   r   %DoubleQuotedScalarString.__annotate__Y   rN   r   c                	0    \         P                  WVR 7      # rP   rQ   rR   s   &&&r   r    DoubleQuotedScalarString.__new__Y   rT   r   r   r(   rU   r   r   r   r	   r	   T   rd   r   c                  .    ] tR t^]tRtRtRR R lltRtR# )r
    Nc               $    V ^8  d   QhRRRRRR/# rK   r   )r   s   "r   r   PlainScalarString.__annotate__b   rN   r   c                	0    \         P                  WVR 7      # rP   rQ   rR   s   &&&r   r   PlainScalarString.__new__b   rT   r   r   r(   rU   r   r   r   r
   r
   ]   s    IE? ?r   c                    V ^8  d   QhRRRR/# )r   srL   r   r   )r   s   "r   r   r   f   s     L L L Lr   c                X    \        V P                  R R4      P                  RR4      4      # )z

)r   r*   )rr   s   &r   preserve_literalrv   f   s%    qyy6>>tTJKKr   Nc               $    V ^8  d   QhRRRRRR/# )r   baser   mapr   r<   r   )r   s   "r   r   r   j   s!     $) $)C $)c $)T $)r   c                   ^ RI HpHp Vf	   R\        /p\	        W4      '       dZ   V  FQ  pW,          p\	        V\
        4      '       d%   V F  pWe9   g   K  W,          ! V4      W&    KA  	  KE  \        WQR7       KS  	  R# \	        W4      '       d]   \        V 4       FK  w  rx\	        V\
        4      '       d%   V F  pWh9   g   K  W,          ! V4      W&    K;  	  K?  \        WR7       KM  	  R# R# )a  
    the routine here walks over a simple yaml tree (recursing in
    dict values and list items) and converts strings that
    have multiple lines to literal scalars

    You can also provide an explicit (ordered) mapping for multiple transforms
    (first of which is executed):
        map = ruamel.yaml.compat.ordereddict
        map['
'] = preserve_literal
        map[':'] = SingleQuotedScalarString
        walk_tree(data, map=map)
    )MutableMappingMutableSequenceNrt   )ry   )collections.abcr{   r|   rv   
isinstancer   	walk_tree	enumerate)	rx   ry   r{   r|   kvchidxelems	   &&       r   r   r   j   s     @
{%&$''AgA!S!!Bw"%'!* 
 !%  
D	*	*"4IC$$$Bz$'GDM	 
 $( ) 
+r   )r   r   r   r   r	   r
   PreservedScalarStringr(   )
__future__r   ruamel.yaml.anchorr   typingrL   r   DictListruamel.yaml.compatr&   __all__r   r   r   r   r   r   r	   r
   rv   r   r   r   r   <module>r      su    " %
.3 .>?, ? , ? ??| ??| ?? ?L$) $)r   