+
    }i4                      a  0 t $ R t^ RIHt ^ RIt^ RIHtHtH	t	H
t
 ^ RIHtHtHtHt ^ RIt^ RIHt ^ RIHt ^ RIHt ^RIHt ]'       d\   ]
]]R,          ]3,          ,          tR	]R
&   ]
]]],          ,          ]]]3,          ,          ]]]]3,          ,          ,          tR	]R&    ! R R]4      t ! R R4      tR R ltR# )z:Tools to provide pretty/human-readable display of objects.)annotationsN)Callable
Collection	GeneratorIterable)TYPE_CHECKINGAny
ForwardRefcast)	TypeAlias)typing_objects)is_union_origin)_typing_extrar   ReprArgsRichReprResultc                  &    ] tR t^tRtR R ltRtR# )	PlainReprzString class where repr doesn't include quotes. Useful with Representation when you want to return a string
representation of something that is valid (or pseudo-valid) python.
c                   V ^8  d   QhRR/#    returnstr )formats   "j/Users/ahmad/.openclaw/workspace/my-crawler/.venv/lib/python3.14/site-packages/pydantic/_internal/_repr.py__annotate__PlainRepr.__annotate__   s      #     c                	    \        V 4      # N)r   selfs   &r   __repr__PlainRepr.__repr__   s    4yr   r   N)__name__
__module____qualname____firstlineno____doc__r"   __static_attributes__r   r   r   r   r      s     r   r   c                  z    ] tR t^tRtR R ltR R ltR R ltR R ltR	 R
 lt	R R lt
R R ltR R ltRtR# )Representationc                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r   Representation.__annotate__'   s     l lx lr   c                B  a  \        \        \        ,          S P                  4      pV'       g-   \	        S R4      '       d   S P
                  P                  4       pV 3R lV 4       pV UUu. uF%  w  r4Vf   K  Y4S Jd   TMS P                  V4      3NK'  	  upp# u uppi )a  Returns the attributes to show in __str__, __repr__, and __pretty__ this is generally overridden.

Can either return:
* name - value pairs, e.g.: `[('foo_name', 'foo'), ('bar_name', ['b', 'a', 'r'])]`
* or, just values, e.g.: `[(None, 'foo'), (None, ['b', 'a', 'r'])]`
__dict__c              3  >   <"   T F  q\        SV4      3x  K  	  R # 5ir   )getattr).0sr!   s   & r   	<genexpr>/Representation.__repr_args__.<locals>.<genexpr>1   s     <1WT1%&s   )r
   r   r   	__slots__hasattrr/   keys__repr_recursion__)r!   attrs_namesattrsavs   f    r   __repr_args__Representation.__repr_args__'   s|     :c?DNN;wtZ88--,,.K<<TYkTYDA]^G$AD,C,CA,FGTYkkks   ,B9Bc                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r-   4   s     ' 's 'r   c                .    V P                   P                  # )z/Name of the instance's class, used in __repr__.)	__class__r$   r    s   &r   __repr_name__Representation.__repr_name__4   s    ~~&&&r   c                    V ^8  d   QhRRRR/# )r   objectr   r   r   r   )r   s   "r   r   r-   8   s     N N N Nr   c                L    R\        V4      P                   R\        V4       R2# )z8Returns the string representation of a recursive object.z<Recursion on z	 with id=>)typer$   id)r!   rF   s   &&r   r9   !Representation.__repr_recursion__8   s(      V 5 56i6
|1MMr   c                    V ^8  d   QhRRRR/# )r   join_strr   r   r   )r   s   "r   r   r-   =   s     f fS fS fr   c                	N    VP                  R  V P                  4        4       4      # )c              3  T   "   T F  w  rVf   \        V4      MV RV: 2x  K   	  R # 5i)N=)repr)r2   r<   r=   s   &  r   r4   .Representation.__repr_str__.<locals>.<genexpr>>   s+     ePd	T!W!AaU|CPds   &()joinr>   )r!   rM   s   &&r   __repr_str__Representation.__repr_str__=   s!    }}ePTPbPbPdeeer   c               $    V ^8  d   QhRRRRRR/# )r   fmtzCallable[[Any], Any]kwargsr   r   zGenerator[Any]r   )r   s   "r   r   r-   @   s"      2 c n r   c              +     "   V P                  4       R,           x  ^x  V P                  4        F&  w  r4Ve   VR,           x  V! V4      x  Rx  ^ x  K(  	  Rx  Rx  R# 5i)zRUsed by devtools (https://python-devtools.helpmanual.io/) to pretty print objects.(NrP   ,))rC   r>   )r!   rW   rX   namevalues   &&,  r   
__pretty__Representation.__pretty__@   sc       "S((--/KDSj e*IG 0 	s   A"A$c                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r   r-   M   s     ' '~ 'r   c              #  ^   "   V P                  4        F  w  rVf   Vx  K  W3x  K  	  R# 5i)zYUsed by Rich (https://rich.readthedocs.io/en/stable/pretty.html) to pretty print objects.N)r>   )r!   r^   
field_reprs   &  r   __rich_repr__Representation.__rich_repr__M   s/      $ 2 2 4D|  &&	 !5s   +-c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r-   U   s     & & &r   c                	$    V P                  R 4      # ) )rT   r    s   &r   __str__Representation.__str__U   s      %%r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r-   X   s     D D# Dr   c                	L    V P                  4        R V P                  R4       R2# )rZ   , r\   )rC   rT   r    s   &r   r"   Representation.__repr__X   s+    $$&'q):):4)@(ACCr   r   N)r$   r%   r&   r'   r6   r>   rC   r9   rT   r`   re   rj   r"   r)   r   r   r   r+   r+      s;     Il'N
f'&D Dr   r+   c                    V ^8  d   QhRRRR/# )r   objr   r   r   r   )r   s   "r   r   r   \   s      R  R  R  Rr   c                *   \        V \        P                  \        P                  34      '       d   V P                  # V RJ d   R# \        V \
        4      '       d   \        V 4      # \        V \        4      '       g   \        P                  ! V 4      '       d   \        V 4      # \        V \        P                  \        P                  \        34      '       g   V P                  p \!        \"        P$                  ! V 4      4      '       d:   RP'                  \)        \*        \"        P,                  ! V 4      4      4      pRV R2# \        V \        P                  4      '       d   \        P.                  ! \"        P$                  ! V 4      4      '       d5   RP'                  \)        \        \"        P,                  ! V 4      4      4      pM3RP'                  \)        \*        \"        P,                  ! V 4      4      4      p V P0                   RV R2# \        V \        4      '       d   V P0                  # \        V 4      P5                  RR4      P5                  R	R4      #   \2         d/    \        T 4      P5                  RR4      P5                  R	R4      u # i ; i)
zPretty representation of a type, should be as close as possible to the original type definition string.

Takes some logic from `typing._type_repr`.
.z...rn   zUnion[][ztyping. ztyping_extensions.)
isinstancetypesFunctionTypeBuiltinFunctionTyper$   r+   rQ   r	   r   is_typealiastyper   r   typing_baseWithArgsTypesrI   rB   r   typing_extensions
get_originrS   mapdisplay_as_typeget_args
is_literalr&   AttributeErrorreplace)rq   argss   & r   r   r   \   s   
 #**E,E,EFGG||		C	(	(Cy	C	$	$(G(G(L(L3xcM55}7R7RTXYZZmm(33C899yy_.?.H.H.MNOvQ	C44	5	5$$%6%A%A#%FGG99S'8'A'A#'FGHD99S2C2L2LS2QRSD	U&&'qa00 
C		Cy  B/778LbQQ  	Us8##Ir2::;OQSTT	Us   :I 6JJ) __conditional_annotations__r(   
__future__r   _annotationsrw   collections.abcr   r   r   r   typingr   r   r	   r
   r}   r   typing_inspectionr   typing_inspection.introspectionr   ru   r   tupler   r   __annotations__r   r   r+   r   )r   s   @r   <module>r      s    @ 2  E E 7 7  ' , ; "5tS#9:Hi: (uSz)9E#s(O)KeTWY\^aTaNb)b cNIc :D :Dz Rr   