ó
    …Bh÷  ã                   ó   • S r SSKrS rS rg)z5Decorators handling min- and max- widths and heights.é    Nc                 óT   ^ • [         R                  " T 5      U 4S j5       nT Ul        U$ )zADecorate a function setting used width, handling {min,max}-width.c                 óV  >• U R                   U R                  4nT" U /UQ76 nU R                  U R                  :”  a)  U R                  U l        Uu  U l         U l        T" U /UQ76 nU R                  U R                  :  a)  U R                  U l        Uu  U l         U l        T" U /UQ76 nU$ ©N)Úmargin_leftÚmargin_rightÚwidthÚ	max_widthÚ	min_width©ÚboxÚargsÚcomputed_marginsÚresultÚfunctions       €ÚK/var/www/html/env/lib/python3.13/site-packages/weasyprint/layout/min_max.pyÚwrapperÚ%handle_min_max_width.<locals>.wrapper   sž   ø€ àŸ?™?¨C×,<Ñ,<Ð<ÐÙ˜#Ð% Ò%ˆØ9‰9s—}‘}Ó$ØŸ™ˆCŒIØ0@Ñ-ˆCŒO˜SÔ-Ù˜cÐ) DÒ)ˆFØ9‰9s—}‘}Ó$ØŸ™ˆCŒIØ0@Ñ-ˆCŒO˜SÔ-Ù˜cÐ) DÒ)ˆFØˆó    ©Ú	functoolsÚwrapsÚwithout_min_max©r   r   s   ` r   Úhandle_min_max_widthr      ó-   ø€ ä‡_‚_XÓôó ðð '€GÔØ€Nr   c                 óT   ^ • [         R                  " T 5      U 4S j5       nT Ul        U$ )zCDecorate a function setting used height, handling {min,max}-height.c                 óV  >• U R                   U R                  4nT" U /UQ76 nU R                  U R                  :”  a)  U R                  U l        Uu  U l         U l        T" U /UQ76 nU R                  U R                  :  a)  U R                  U l        Uu  U l         U l        T" U /UQ76 nU$ r   )Ú
margin_topÚmargin_bottomÚheightÚ
max_heightÚ
min_heightr   s       €r   r   Ú&handle_min_max_height.<locals>.wrapper   sž   ø€ àŸ>™>¨3×+<Ñ+<Ð<ÐÙ˜#Ð% Ò%ˆØ:‰:˜Ÿ™Ó&ØŸ™ˆCŒJØ0@Ñ-ˆCŒN˜CÔ-Ù˜cÐ) DÒ)ˆFØ:‰:˜Ÿ™Ó&ØŸ™ˆCŒJØ0@Ñ-ˆCŒN˜CÔ-Ù˜cÐ) DÒ)ˆFØˆr   r   r   s   ` r   Úhandle_min_max_heightr$      r   r   )Ú__doc__r   r   r$   © r   r   Ú<module>r'      s   ðÙ ;ã òó&r   