Ë
    ¡ª÷gý  ã                   ó<   — d Z ddlmZmZmZmZ ddlZddlZdgZd„ Z	y)z]
Helper for formatting exception messages. Exports the following items:

 - pretty_message()
é    )Úunicode_literalsÚdivisionÚabsolute_importÚprint_functionNÚpretty_messagec                 ó´   — t        j                  | «      }|j                  d«      dk7  rt        j                  dd|«      }|r||z  }|j                  «       }|S )a_  
    Takes a multi-line string and does the following:

     - dedents
     - converts newlines with text before and after into a single line
     - strips leading and trailing whitespace

    :param string:
        The string to format

    :param *params:
        Params to interpolate into the string

    :return:
        The formatted string
    Ú
éÿÿÿÿz(?<=\S)
(?=[^ 
	\d\*\-=])Ú )ÚtextwrapÚdedentÚfindÚreÚsubÚstrip)ÚstringÚparamsÚoutputs      úH/var/www/html/Beni/venv/lib/python3.12/site-packages/oscrypto/_errors.pyr   r      sT   € ô$ _‰_˜VÓ$€Fð ‡{{4Ó˜BÒÜ—‘Ð:¸CÀÓHˆáØ˜&‘ˆà\‰\‹^€Fà€Mó    )
Ú__doc__Ú
__future__r   r   r   r   r   r   Ú__all__r   © r   r   Ú<module>r      s*   ðñ÷ SÓ Rã 	Û ð ð€ó
r   