§
    ¥”j
  ã                   ó¦   — d dl mZ ddlmZmZ ddlmZmZ ddgZde	de	d	ed
e
de
de
fd„Z	 dde	de	d	ed
e
de
de
fd„Z	 dde	de	d	ed
e
de
de
de	fd„ZdS )é    )ÚIncrementalPdfFileWriteré   )ÚQRStampÚQRStampStyle)Ú	TextStampÚTextStampStyleÚqr_stamp_fileÚtext_stamp_fileÚ
input_nameÚoutput_nameÚstyleÚ	dest_pageÚxÚyc                 ó8  — t          | d¦  «        5 }t          |d¬¦  «        }	 |d|	|dœ|¤Ž}
|
                     |||¦  «         t          |d¦  «        5 }|	                     |¦  «         d d d ¦  «         n# 1 swxY w Y   d d d ¦  «         d S # 1 swxY w Y   d S )NÚrbF)Ústrict)Úwriterr   Úwb© )Úopenr   ÚapplyÚwrite)r   r   r   Ústamp_classr   r   r   Ústamp_kwargsÚfinÚpdf_outÚstampÚouts               úf/var/www/finuniver-perm.ru/html/portfolio/venv/lib/python3.11/site-packages/pyhanko/stamp/functions.pyÚ_stamp_filer!   	   s-  € õ 
ˆj˜$Ñ	Ô	ð  3Ý*¨3°uÐ=Ñ=Ô=ˆØ�ÐH 7°%ÐHÐH¸<ÐHÐHˆØ�Š�I˜q !Ñ$Ô$Ð$å�+˜tÑ$Ô$ð 	¨Ø�MŠM˜#ÑÔÐð	ð 	ð 	ñ 	ô 	ð 	ð 	ð 	ð 	ð 	ð 	øøøð 	ð 	ð 	ð 	ðð ð ñ ô ð ð ð ð ð ð ð øøøð ð ð ð ð ð s6   ‘ABÁA7Á+BÁ7A;	Á;BÁ>A;	Á?BÂBÂBNc           
      ó>   — t          | ||t          ||||¬¦  «         dS )a5  
    Add a text stamp to a file.

    :param input_name:
        Path to the input file.
    :param output_name:
        Path to the output file.
    :param style:
        Text stamp style to use.
    :param dest_page:
        Index of the page to which the stamp is to be applied (starting at `0`).
    :param x:
        Horizontal position of the stamp's lower left corner on the page.
    :param y:
        Vertical position of the stamp's lower left corner on the page.
    :param text_params:
        Additional parameters for text template interpolation.
    )Útext_paramsN)r!   r   )r   r   r   r   r   r   r#   s          r    r
   r
      s=   € õ6 ØØØÝØØ	Ø	Øð	ñ 	ô 	ð 	ð 	ð 	ó    Úurlc                 ó@   — t          | ||t          |||||¬¦	  «	         dS )aj  
    Add a QR stamp to a file.

    :param input_name:
        Path to the input file.
    :param output_name:
        Path to the output file.
    :param style:
        QR stamp style to use.
    :param dest_page:
        Index of the page to which the stamp is to be applied (starting at `0`).
    :param x:
        Horizontal position of the stamp's lower left corner on the page.
    :param y:
        Vertical position of the stamp's lower left corner on the page.
    :param url:
        URL for the QR code to point to.
    :param text_params:
        Additional parameters for text template interpolation.
    )r%   r#   N)r!   r   )r   r   r   r   r   r   r%   r#   s           r    r	   r	   C   s@   € õ> ØØØÝØØ	Ø	ØØð
ñ 
ô 
ð 
ð 
ð 
r$   )N)Ú$pyhanko.pdf_utils.incremental_writerr   Úqrr   r   Útextr   r   Ú__all__ÚstrÚintr!   r
   r	   r   r$   r    ú<module>r-      s_  ðØ IÐ IÐ IÐ IÐ IÐ Ià %Ð %Ð %Ð %Ð %Ð %Ð %Ð %Ø +Ð +Ð +Ð +Ð +Ð +Ð +Ð +àÐ-Ð
.€ðØðàðð ðð
 ðð ðð ðð ð ð ð4 ð$ð $Øð$àð$ð ð$ð ð	$ð
 ð$ð ð$ð $ð $ð $ð^ ð)ð )Øð)àð)ð ð)ð ð	)ð
 ð)ð ð)ð 
ð)ð )ð )ð )ð )ð )r$   