Ë
    ul�jÊ  ã                   ó(   — d dl mZ d dlmZ d„ Zd„ Zy)é    N)Úparse_numtextc                 óª   — | j                  ddd¬«       | j                  ddg d¬«       | j                  ddg d	¬«       | j                  d
ddd¬«       y )NÚinputsú+zSequence of PDF files.)ÚnargsÚhelpz--pagesziSequence of page texts, definig the pages to include from each PDF. Use '_' as placeholder for all pages.)r   Údefaultr   z--passwordsz\Passwords to unlock encrypted PDFs. Any placeholder may be used for non-encrypted documents.z--outputz-oTz#Target path for the output document)Úrequiredr   )Úadd_argument)Úparsers    úK/var/www/html/pp/venv/lib/python3.12/site-packages/pypdfium2_cli/arrange.pyÚattachr      s€   € Ø
×ÑØØØ'ð ô ð
 ×ÑØØØØzð	 ô ð ×ÑØØØØmð	 ô ð ×ÑØ�DØØ4ð õ ó    c                 ó  — | j                   D �cg c]  }|dk(  rd n
t        |«      ‘Œ c}| _         t        t        | j                  «      t        | j                   «      z
  «      D ]  }| j                   j                  d «       Œ t        t        | j                  «      t        | j                  «      z
  «      D ]  }| j                  j                  d «       Œ t        j                  j                  «       }t        | j                  | j                   | j                  «      D ]9  \  }}}t        j                  ||¬«      5 }|j                  ||¬«       d d d «       Œ; |j                  | j                  «       y c c}w # 1 sw Y   ŒfxY w)NÚ_)Úpassword)Úpages)r   r   ÚrangeÚlenr   ÚappendÚ	passwordsÚpdfiumÚPdfDocumentÚnewÚzipÚimport_pagesÚsaveÚoutput)ÚargsÚpr   Údest_pdfÚin_pathr   r   Úsrc_pdfs           r   Úmainr$   !   s9  € àBFÇ*Á*ÖM¸Q˜!˜sš(‘$¬°aÓ(8Ñ8ÒM€D„Jä”3�t—{‘{Ó#¤c¨$¯*©*£oÑ5Ó6ò  ˆØ�
‰
×Ñ˜$Õð ä”3�t—{‘{Ó#¤c¨$¯.©.Ó&9Ñ9Ó:ò $ˆØ�‰×Ñ˜dÕ#ð$ô ×!Ñ!×%Ñ%Ó'€Hä$'¨¯©°T·Z±ZÀÇÁÓ$Pò 8Ñ ˆ�˜Ü×Ñ °(Ô;ð 	8¸wØ×!Ñ! '°Ð!Ô7÷	8ð 	8ð8ð ‡M�M�$—+‘+Õùò N÷	8ð 	8ús   �E9Ä?E>Å>F	)Úpypdfium2._helpersÚ_helpersr   Úpypdfium2_cli._parsersr   r   r$   © r   r   ú<module>r)      s   ðõ $Ý 0òó2r   