Ë
    ¯ŒjŒ	  ã                   ó4   — d Z ddlmZ  G d„ d«      Zd„ Zd„ Zy)z¦Utilities for storing collections of error messages.

.. warning::

    This module is treated as private API.
    Users should not need to use this module directly.
é    )ÚSCHEMAc                   ó   — e Zd Zd„ Zedfd„Zy)Ú
ErrorStorec                 ó   — i | _         y ©N)Úerrors)Úselfs    úa/var/www/html/Fitness-lenito-AI-main/venv/lib/python3.12/site-packages/marshmallow/error_store.pyÚ__init__zErrorStore.__init__   s	   € àˆ�ó    Nc                 ó–   — t        |«      }|t        k7  st        |t        «      s||i}|�||i}t	        | j
                  |«      | _        y r   )Úcopy_containersr   Ú
isinstanceÚdictÚmerge_errorsr   )r	   ÚmessagesÚ
field_nameÚindexs       r
   Ústore_errorzErrorStore.store_error   sK   € ô # 8Ó,ˆØœÒ¤z°(¼DÔ'AØ" HÐ-ˆHØÐØ˜xÐ(ˆHÜ" 4§;¡;°Ó9ˆ�r   )Ú__name__Ú
__module__Ú__qualname__r   r   r   © r   r
   r   r      s   „ òð 06¸Tô 	:r   r   c                 óè   — t        | t        «      r| D �cg c]  }t        |«      ‘Œ c}S t        | t        «      r-| j	                  «       D ��ci c]  \  }}|t        |«      “Œ c}}S | S c c}w c c}}w r   )r   Úlistr   r   Úitems)r   ÚvalÚkeys      r
   r   r      sf   € Ü�&œ$ÔÙ06Ó7±¨” Õ$°Ñ7Ð7Ü�&œ$ÔØ:@¿,¹,¼.ÔI¹.©h¨c°3�”_ SÓ)Ñ)¸.ÒIÐIØ€Mùò 8ùãIs   •A)ÁA.c                 ó¬  — | s|S |s| S t        | t        «      rnt        |t        «      r| j                  |«       | S t        |t        «      r(t	        | |j                  t        «      «      |t        <   |S | j                  |«       | S t        | t        «      rnt        |t        «      r6|j                  «       D ]!  \  }}|| v rt	        | |   |«      | |<   Œ|| |<   Œ# | S t	        | j                  t        «      |«      | t        <   | S t        |t        «      r| g|¢S t        |t        «      r(t	        | |j                  t        «      «      |t        <   |S | |gS )z¬Deeply merge two error messages.

    The format of ``errors1`` and ``errors2`` matches the ``message``
    parameter of :exc:`marshmallow.exceptions.ValidationError`.
    )	r   r   Úextendr   r   Úgetr   Úappendr   )Úerrors1Úerrors2r   r   s       r
   r   r   %   s.  € ñ ØˆÙØˆÜ�'œ4Ô Ü�gœtÔ$Ø�N‰N˜7Ô#ØˆNÜ�gœtÔ$Ü*¨7°G·K±KÄÓ4GÓHˆG”F‰OØˆNØ�‰�wÔØˆÜ�'œ4Ô Ü�gœtÔ$Ø#ŸM™MžO‘��SØ˜'‘>Ü#/°¸±¸cÓ#B�G˜C’Là#&�G˜C’Lð	 ,ð
 ˆNÜ& w§{¡{´6Ó':¸GÓDˆ”‰ØˆÜ�'œ4Ô ØÐ"˜'Ð"Ð"Ü�'œ4Ô Ü& w°·±¼FÓ0CÓDˆ”‰ØˆØ�WÐÐr   N)Ú__doc__Úmarshmallow.exceptionsr   r   r   r   r   r   r
   Ú<module>r'      s#   ðñõ *÷:ñ :ò"ó"r   