+
    NV-jú  ã                  óR  € R t ^ RIHt ^ RIHtHt ^ RIHtHtH	t	H
t
Ht ^ RIHt ^ RIHtHt ^RIHt ^RIHtHt ^RIHtHt ]'       d2   ^R	IHt ^R
IHt ]! R]]3R7       ! R R]P<                  4      4       tM]P<                  tRt ]! R4      t! ! R R]]	]!,          ]R7      t"R# )z%RootModel class and type definitions.)Úannotations)ÚcopyÚdeepcopy)ÚTYPE_CHECKINGÚAnyÚGenericÚLiteralÚTypeVar)ÚPydanticUndefined)ÚSelfÚdataclass_transform)ÚPydanticUserError)Ú_model_constructionÚ_repr)Ú	BaseModelÚ_object_setattr)ÚField)ÚPrivateAttrF)Úkw_only_defaultÚfield_specifiersc                  ó   € ] tR t^tRtR# )Ú_RootModelMetaclass© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__static_attributes__r   ó    Úd/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/pydantic/root_model.pyr   r      s   † ÛCFr   r   Ú	RootModelÚRootModelRootTypec                  ó&  a € ] tR t^ t$ RtRtRtRtR]R&   V 3R lt	]
3R R lltR]n        ]R(R	 V 3R
 lll4       tR R ltR R ltR R ltR(R R llt]'       d!   RRRRRRRRRRRRRRRRRRRRRRR R/R! R" lltR# V 3R$ lltR% R& ltR'tV ;t# ))r    a›  !!! abstract "Usage Documentation"
    [`RootModel` and Custom Root Types](../concepts/models.md#rootmodel-and-custom-root-types)

A Pydantic `BaseModel` for the root object of the model.

Attributes:
    root: The root object of the model.
    __pydantic_root_model__: Whether the model is a RootModel.
    __pydantic_private__: Private fields in the model.
    __pydantic_extra__: Extra fields in the model.

TNr!   Úrootc                	ó€   <€ V P                   P                  R 4      pVe   \        RRR7      h\        SV `  ! R/ VB  R# )ÚextraNz<`RootModel` does not support setting `model_config['extra']`zroot-model-extra)Úcoder   )Úmodel_configÚgetr   ÚsuperÚ__init_subclass__)ÚclsÚkwargsr%   Ú	__class__s   &, €r   r*   ÚRootModel.__init_subclass__4   sD   ø€ Ø× Ñ ×$Ñ$ WÓ-ˆØÒÜ#ØNÐUgôð ô 	‰Ò!Ñ+ FÔ+r   c               ó    € V ^8„  d   QhRRRR/# )é   r#   r!   ÚreturnÚNoner   )Úformats   "r   Ú__annotate__ÚRootModel.__annotate__<   s    € ÷ Nñ NÐ 1ð NÐRVñ Nr   c               	ó€   € R pV'       d   V\         Jd   \        R4      hTpV P                  P                  WR7       R# )Tz_"RootModel.__init__" accepts either a single positional argument or arbitrary keyword arguments)Úself_instanceN)r
   Ú
ValueErrorÚ__pydantic_validator__Úvalidate_python)Úselfr#   ÚdataÚ__tracebackhide__s   "&, r   Ú__init__ÚRootModel.__init__<   sB   € Ø ÐßØÔ,Ó,Ü Øuóð ð ˆDØ×#Ñ#×3Ñ3°DÐ3ÖMr   c               ó$   € V ^8„  d   QhRRRRRR/# )r0   r#   r!   Ú_fields_setzset[str] | Noner1   r   r   )r3   s   "r   r4   r5   I   s(   € ÷ Kñ KÐ#4ð KÀ?ð KÐ^bñ Kr   c                ó$   <€ \         SV `  WR7      # )a  Create a new model using the provided root object and update fields set.

Args:
    root: The root object of the model.
    _fields_set: The set of fields to be updated.

Returns:
    The new model.

Raises:
    NotImplemented: If the model is not a subclass of `RootModel`.
)r#   rA   )r)   Úmodel_construct)r+   r#   rA   r-   s   &&&€r   rC   ÚRootModel.model_constructH   s   ø€ ô ‰wÑ&¨DÐ&ÓJÐJr   c               ó   € V ^8„  d   QhRR/# )r0   r1   údict[Any, Any]r   )r3   s   "r   r4   r5   X   s   € ÷ 
ñ 
˜nñ 
r   c                	ó6   € R V P                   RV P                  /# ©Ú__dict__Ú__pydantic_fields_set__rH   ©r;   s   &r   Ú__getstate__ÚRootModel.__getstate__X   s    € à˜Ÿ™Ø% t×'CÑ'Cð
ð 	
r   c               ó    € V ^8„  d   QhRRRR/# )r0   ÚstaterF   r1   r2   r   )r3   s   "r   r4   r5   ^   s   € ÷ =ñ = .ð =°Tñ =r   c                	óV   € \        V R VR ,          4       \        V RVR,          4       R# )rJ   rI   N)r   )r;   rO   s   &&r   Ú__setstate__ÚRootModel.__setstate__^   s&   € Ü˜Ð7¸Ð?XÕ9YÔZÜ˜˜j¨%°
Õ*;Ö<r   c               ó   € V ^8„  d   QhRR/# )r0   r1   r   r   )r3   s   "r   r4   r5   b   s   € ÷ ñ ˜$ñ r   c                ó   € \        V 4      pVP                  V4      p\        V P                  4      p\        V P                  R,          4      VR&   \	        VRV4       \	        VR\        V P
                  4      4       V# )z$Returns a shallow copy of the model.r#   rI   rJ   )ÚtypeÚ__new__r   rI   r   rJ   )r;   r+   ÚmÚnew_dicts   &   r   Ú__copy__ÚRootModel.__copy__b   sh   € ä�4‹jˆØ�K‰K˜ÓˆÜ˜Ÿ™Ó&ˆÜ §¡¨fÕ 5Ó6ˆ�ÑÜ˜˜: xÔ0Ü˜Ð4´d¸4×;WÑ;WÓ6XÔYØˆr   c               ó    € V ^8„  d   QhRRRR/# )r0   Úmemozdict[int, Any] | Noner1   r   r   )r3   s   "r   r4   r5   l   s   € ÷ ñ Ð!6ð À$ñ r   c           	     óÂ   € \        V 4      pVP                  V4      p\        VR\        V P                  VR7      4       \        VR\        V P                  4      4       V# )z!Returns a deep copy of the model.rI   )r\   rJ   )rU   rV   r   r   rI   r   rJ   )r;   r\   r+   rW   s   &&  r   Ú__deepcopy__ÚRootModel.__deepcopy__l   sO   € ä�4‹jˆØ�K‰K˜ÓˆÜ˜˜:¤x°·±ÀDÔ'IÔJô 	˜Ð4´d¸4×;WÑ;WÓ6XÔYØˆr   ÚmodeÚpythonÚincludeÚexcludeÚcontextÚby_aliasÚexclude_unsetFÚexclude_defaultsÚexclude_noneÚexclude_computed_fieldsÚ
round_tripÚwarningsÚserialize_as_anyc               óL   € V ^8„  d   QhRRRRRRRRRR	R
RRRRRRRRRRRRRRR/# )r0   r`   zLiteral['json', 'python'] | strrb   r   rc   rd   zdict[str, Any] | Nonere   zbool | Nonerf   Úboolrg   rh   ri   rj   rk   z'bool | Literal['none', 'warn', 'error']rl   r1   r   )r3   s   "r   r4   r5   x   sŽ   € ÷ 	ñ 	ð 2ð	ð ð		ð
 ð	ð +ð	ð "ð	ð  ð	ð #ð	ð ð	ð &*ð	ð ð	ð >ð	ð #ð	ð ñ	r   c               ó   € R# )a§  This method is included just to get a more accurate return type for type checkers.
It is included in this `if TYPE_CHECKING:` block since no override is actually necessary.

See the documentation of `BaseModel.model_dump` for more details about the arguments.

Generally, this method will have a return type of `RootModelRootType`, assuming that `RootModelRootType` is
not a `BaseModel` subclass. If `RootModelRootType` is a `BaseModel` subclass, then the return
type will likely be `dict[str, Any]`, as `model_dump` calls are recursive. The return type could
even be something different, in the case of a custom serializer.
Thus, `Any` is used here to catch all of these cases.
Nr   )r;   r`   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   s   &$$$$$$$$$$$$r   Ú
model_dumpÚRootModel.model_dumpx   s   € ñ6 r   c               ó    € V ^8„  d   QhRRRR/# )r0   Úotherr   r1   rn   r   )r3   s   "r   r4   r5   •   s   € ÷ /ñ /˜Cð / Dñ /r   c                	óà   <€ \        V\        4      '       g   \        # V P                  R ,          P                  VP                  R ,          P                  8H  ;'       d    \
        SV `  V4      # ©r#   )Ú
isinstancer    ÚNotImplementedÚ__pydantic_fields__Ú
annotationr)   Ú__eq__)r;   rs   r-   s   &&€r   rz   ÚRootModel.__eq__•   s_   ø€ Ü˜%¤×+Ò+Ü!Ð!Ø×'Ñ'¨Õ/×:Ñ:¸e×>WÑ>WØõ?
ç
‰*ñ÷ /ð /ä™™¨Ó.ð	/r   c               ó   € V ^8„  d   QhRR/# )r0   r1   z_repr.ReprArgsr   )r3   s   "r   r4   r5   œ   s   € ÷  ñ  ˜~ñ  r   c              #  	ó.   "  € R V P                   3x € R# 5i)r#   Nru   rK   s   &r   Ú__repr_args__ÚRootModel.__repr_args__œ   s   é € Ø�d—i‘iÐÔùs   ‚r   )N)r   r   r   r   Ú__doc__Ú__pydantic_root_model__Ú__pydantic_private__Ú__pydantic_extra__Ú__annotations__r*   r
   r>   Ú__pydantic_base_init__ÚclassmethodrC   rL   rQ   rY   r^   r   rp   rz   r~   r   Ú__classcell__)r-   s   @r   r    r        s  ø‡ ñð #ÐØÐØÐà
Óõ,ð 5F÷ Nð '+€HÔ#à÷Kñ Kó ðKõ
õ=õ÷÷ ð	ð 5=ð	ð  ð		ð
  ð	ð .2ð	ð %)ð	ð #(ð	ð &+ð	ð "'ð	ð -2ð	ð  %ð	ð AEð	ð &+÷	÷:/ð /÷ ó  r   )Ú	metaclassN)r    )#r€   Ú
__future__r   Ú_annotationsr   r   Útypingr   r   r   r   r	   Úpydantic_corer
   Útyping_extensionsr   r   Ú r   Ú	_internalr   r   Úmainr   r   Úfieldsr   ÚPydanticModelFieldr   ÚPydanticModelPrivateAttrÚModelMetaclassr   Ú__all__r!   r    r   r   r   Ú<module>r–      s�   ðÙ +å 2ç ß @Õ @å +ß 7å ß 1ß ,çÝ3Ý?ñ
 ¨ÐBTÐVnÐAoÔpÜFÐ1×@Ñ@ÓFó qÙFà-×<Ñ<Ðà
€áÐ/Ó0Ð ô} �	˜7Ð#4Õ5ÐAT÷ } r   