+
    yaÒjDa  ã                   ó<  a € RO tP0 t R tRtRt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	H
t
 ^ RIHtHt ^ RIHt ^ RIHt ^ RIHt ^ R	IHtHtHtHtHt ]P0                  R
,          RP8¼  d   ^ RIHt M^ RIHt ]P0                  RQ8¼  d   ^ RIHt M^ RIHt ^RIHtHtHtH t  ]!]!]"]"]"3,          ]!]"]"]"3,          ]!]"]"]"3,          3,          t#] ^ k ]!]"]"]"]"]"]"3,          t$] ^k ]],          t%]]&,          t']](]%3,          t)R R lt*R R lt+R R lt,RRt-RP]                  ]-4      t/R]/,           R,           t0RSR R llt1R R lt2R R lt3R R lt4RTt5RUR R  llt6RVt7RWR! R" llt8R# R$ lt9R%R/R& R' llt:R(]Pv                  /R) R* llt<R+ R, lt=R- R. lt>R/ R0 lt?R1 R2 lt@RXR3 R4 lltAR5 R6 ltBR7 R8 ltCR9 R: ltDR; R< ltER= R> ltFR? R@ ltGRA RB ltHRYRC RD lltIRE RF ltJ ! RG RH4      tK]
 ! RI RJ4      4       tL]Pš                   ! RK RL4      4       tN]
 ! RM RN4      4       tOR# )Zz"Utility functions for PDF library.zMathieu Fenniakzbiziqe@mathieu.fenniak.netN)Ú	dataclass)ÚdatetimeÚtimezone)ÚDEFAULT_BUFFER_SIZE)ÚSEEK_CUR)ÚPattern)ÚIOÚAnyÚNoReturnÚOptionalÚUnion:Né   N)Ú	TypeAlias©ÚSelf)ÚSTREAM_TRUNCATED_PREMATURELYÚDeprecationErrorÚLimitReachedErrorÚPdfStreamErrorc                ó\   € V ^8„  d   QhR\         \        ,          R\         \        ,          /# )r   ÚtextÚreturn)r   Ústrr   )Úformats   "ÚB/opt/data/home/.local/lib/python3.14/site-packages/pypdf/_utils.pyÚ__annotate__r   P   s#   € ÷ 9ñ 9œX¤c�]ð 9¬x¼Õ/Añ 9ó    c                 óž  € T pV '       g   R # V ^ ,          P                  4       '       d
   RV ,           p V P                  R4      '       d
   V R,          p V P                  RR4      P                  RR4      P                  RR4      p \        V P	                  R4      V P	                  R4      4      pV^ 8”  d!   V\        V 4      ^,
          8w  d
   V R	,          p R FS  p \        P                  ! W4      pV P                  R
4      '       d!   VP                  \        P                  R7      pVu # 	  \        RV 24      h  \         d     Ks  i ; i)NzD:ÚZÚzÚ0000Ú+Ú'Ú Ú-Ú00z+0000)ÚtzinfozCan not convert date: )r   r   )zD:%YzD:%Y%mzD:%Y%m%dz
D:%Y%m%d%HzD:%Y%m%d%H%MúD:%Y%m%d%H%M%SzD:%Y%m%d%H%M%S%z)ÚisdigitÚendswithÚreplaceÚmaxÚfindÚlenr   Ústrptimer   ÚutcÚ
ValueError)r   ÚorgtextÚiÚfÚds   &    r   Úparse_iso8824_dater5   P   s  € Ø€GßÙØˆA…w‡�×ÒØ�d�{ˆØ‡}�}�Z× Ò Ø��ˆØ�<‰<˜˜SÓ!×)Ñ)¨#¨sÓ3×;Ñ;¸CÀÓD€DÜˆD�I‰I�c‹N˜DŸI™I c›NÓ+€AØˆ1„u�”c˜$“i !•mÔ#Ø��ˆóˆð	Ü×!Ò! $Ó*ˆAð �}‰}˜W×%Ò%Ø—I‘I¤X§\¡\�IÓ2�ØŠHñ!ô" Ð-¨g¨YÐ7Ó
8Ð8øô ô 	Úð	ús   ÃD=Ä=EÅEc                ó0   € V ^8„  d   QhR\         R\        /# )r   Údtr   )r   r   )r   s   "r   r   r   p   s   € ÷ ñ œHð ¬ñ r   c                ó  € V P                  R4      pV P                  em   V P                  4       pVf   Q h\        VP	                  4       4      p\        \        V4      R4      w  rEV^<,          pV^ 8¼  d   RMRpW VR RVR R2,          pV# )zò
Convert a datetime object to PDF date string format.

Converts datetime to the PDF date format D:YYYYMMDDHHmmSSOHH'mm
as specified in the PDF Reference.

Args:
    dt: A datetime object to convert.

Returns:
    A date string in PDF format.
r'   i  r!   r$   Ú02dr"   )Ústrftimer&   Ú	utcoffsetÚintÚtotal_secondsÚdivmodÚabs)r7   Údate_strÚoffsetr=   ÚhoursÚ	remainderÚminutesÚsigns   &       r   Úformat_iso8824_daterF   p   s”   € ð �{‰{Ð+Ó,€HØ	‡y�yÒØ—‘“ˆØÒ!Ð!Ð!Ü˜F×0Ñ0Ó2Ó3ˆÜ!¤# mÓ"4°dÓ;ÑˆØ˜r•/ˆØ# qÔ(‰s¨cˆØ�f˜U 3˜K q¨°¨°QÐ7Õ7ˆØ€Or   c                ó<   € V ^8„  d   QhR\         R\         R\         /# )r   Úheader1Úheader2r   ©r   )r   s   "r   r   r   ‰   s!   € ÷ -ñ -¬ð -´sð -¼sñ -r   c                 ó  € Rp. pW9   d!   VP                  VP                  V 4      4       W9   d!   VP                  VP                  V4      4       \        V4      ^ 8X  d   \        RV : RV: R24      hV\	        V4      ,          # )ú%PDF-1.3zNeither z nor z are proper headers)rL   z%PDF-1.4z%PDF-1.5z%PDF-1.6z%PDF-1.7z%PDF-2.0)ÚappendÚindexr-   r0   r+   )rH   rI   ÚversionsÚpdf_header_indicess   &&  r   Ú_get_max_pdf_version_headerrQ   ‰   s…   € ð€Hð ÐØÔØ×!Ñ! (§.¡.°Ó"9Ô:ØÔØ×!Ñ! (§.¡.°Ó"9Ô:Ü
ÐÓ !Ô#Ü˜8 G¡;¨e°G±;Ð>QÐRÓSÐSØ”CÐ*Ó+Õ,Ð,r   r   ó   [ó   ]c                ó^   € V ^8„  d   QhR\         R\        \        ,          R\        R\        /# )r   ÚstreamÚ	max_bytesÚstrictr   )Ú
StreamTyper   r<   ÚboolÚbytes)r   s   "r   r   r   ¡   s.   € ÷ ñ ¤*ð ¼Ä#½ð ÔW[ð Ôhmñ r   c                ó4  € \        4       p V P                  ^4      pVP                  4       '       g   V\        9   g	   V'       g   MHVe;   \	        V4      V8¼  d+   V'       d   \        RV R24      h\        R\        VR7       M
W4,          pK„  \        V4      # )að  
Read non-whitespace characters and return them.

Stops upon encountering whitespace or when max_bytes is reached.

Args:
    stream: The data stream from which was read.
    max_bytes: The maximum number of bytes which are considered valid. One more byte
        will always be read from the stream.
    strict: Whether to raise an exception if the token exceeds max_bytes.
        If False, a warning is logged and only the first max_bytes are returned.

Returns:
    The data which was read.

z Token exceeds maximum length of z bytes.z4Token exceeds maximum length of %(max_bytes)d bytes.)ÚsourcerV   )	Ú	bytearrayÚreadÚisspaceÚWHITESPACESr-   r   Úlogger_warningÚ__name__rZ   )rU   rV   rW   ÚtxtÚtoks   &&&  r   Úread_until_whitespacere   ¡   s‚   € ô" ‹+€CØ
Ø�k‰k˜!‹nˆØ�;‰;�=Š=˜C¤;Ô.·cØØÒ ¤S¨£X°Ô%:ßÜ'Ð*JÈ9È+ÐU\Ð(]Ó^Ð^ÜØFÌxÐclõð Ø�
ŠÜ�‹:Ðr   c                ó0   € V ^8„  d   QhR\         R\        /# ©r   rU   r   )ÚBinaryStreamTyperZ   )r   s   "r   r   r   Â   s   € ÷ ñ Ô 0ð ´Uñ r   c                ód   € V P                  ^4      pV\        9   d   V P                  ^4      pK  V# )z§
Find and read the next non-whitespace character (ignores whitespace).

Args:
    stream: The data stream from which was read.

Returns:
    The data which was read.

©r^   r`   ©rU   rd   s   & r   Úread_non_whitespacerl   Â   s+   € ð �+‰+�a‹.€CØ
”Ô
Ø�k‰k˜!‹nŠØ€Jr   c                ó0   € V ^8„  d   QhR\         R\        /# rg   )rX   rY   )r   s   "r   r   r   Ó   s   € ÷ ñ ¤ð ´ñ r   c                ó€   € V P                  ^4      p^ pV\        9   d   V^,          pV P                  ^4      pK'  V^ 8„  # )zð
Similar to read_non_whitespace, but return a boolean if at least one
whitespace character was read.

Args:
    stream: The data stream from which was read.

Returns:
    True if one or more whitespace was skipped, otherwise return False.

rj   )rU   rd   Úcnts   &  r   Úskip_over_whitespacerp   Ó   s=   € ð �+‰+�a‹.€CØ
€CØ
”Ô
Øˆq�ˆØ�k‰k˜!‹nŠØ�‰7€Nr   c                ó0   € V ^8„  d   QhR\         R\        /# )r   Úvaluer   )rZ   rY   )r   s   "r   r   r   ç   s   € ÷ 9ñ 9¤Eð 9¬dñ 9r   c                ój   € \         ;QJ d    R V  4       F  '       d   K   R# 	  R# ! R V  4       4      # )zÁ
Check if the given value consists of whitespace characters only.

Args:
    value: The bytes to check.

Returns:
    True if the value only has whitespace characters, otherwise return False.

c              3   ó2   "  € T F  q\         9   x € K  	  R # 5i©N)ÚWHITESPACES_AS_BYTES)Ú.0Úbs   & r   Ú	<genexpr>Ú+check_if_whitespace_only.<locals>.<genexpr>ò   s   é € Ð8±%¨QÔ(Ö(³%ùs   ‚FT)Úall)rr   s   &r   Úcheck_if_whitespace_onlyr|   ç   s-   € ÷ ‹3Ñ8±%Ó8�3Œ3Ð8Š3Ð8ˆ3Ñ8±%Ó8Ó8Ð8r   c                ó<   € V ^8„  d   QhR\         R\         R\        /# )r   ÚcharÚcustom_special_charactersr   ©r   rY   )r   s   "r   r   r   ÿ   s&   € ÷ Qñ Qœ#ð Q¼#ð QÄtñ Qr   c                óÈ   a € \         ;QJ d#    V 3R l\         4       F  '       g   K   RM	  RM! V 3R l\         4       4      '       d   R# \        T;'       d    S V9   4      # )z8Check if a character is part of neutral character rangesc              3   óT   <"  € T F  w  rVSu;8*  ;'       d    V8*  Mu x € K  	  R # 5iru   © ©rw   ÚstartÚendr~   s   &  €r   ry   Ú"is_char_neutral.<locals>.<genexpr>  s%   øé € Ð
KÑ2J¡J Eˆ5�D×Ô˜C×ÑÓ2Jùó   ƒ%(TF)ÚanyÚNEUTRAL_CHARACTER_RANGESrY   )r~   r   s   f&r   Úis_char_neutralr‹   ÿ   sC   ø€ ç
ƒsÔ
KÕ2JÓ
K‡s‡s‚sÔ
KÕ2JÓ
K×KÒKÙäÐ)×OÐO¨dÐ6OÑ.OÓPÐPr   c                óH   € V ^8„  d   QhR\         R\         R\         R\        /# )r   r~   Úcustom_rtl_minÚcustom_rtl_maxr   r€   )r   s   "r   r   r     s/   € ÷ bñ b”cð b¬3ð bÄSð bÔRVñ br   c                ó  a € \         ;QJ d#    V 3R l\         4       F  '       g   K   RM	  RM! V 3R l\         4       4      '       d   R# \        T;'       d%    T;'       d    VS u;8*  ;'       d
    V8*  4      # u 4      # )z4Check if a character is part of RTL character rangesc              3   óT   <"  € T F  w  rVSu;8*  ;'       d    V8*  Mu x € K  	  R # 5iru   rƒ   r„   s   &  €r   ry   Úis_char_rtl.<locals>.<genexpr>  s%   øé € Ð
GÑ2F¡J Eˆ5�D×Ô˜C×ÑÓ2Fùrˆ   TF)r‰   ÚRTL_CHARACTER_RANGESrY   )r~   r�   rŽ   s   f&&r   Úis_char_rtlr“     s[   ø€ ç
ƒsÔ
GÕ2FÓ
G‡s‡s‚sÔ
GÕ2FÓ
G×GÒGÙä�×`Ð` >×`Ð`°~È×7_Ô7_ÐQ_Ñ7_ÓaÐaÑ7_ÓaÐar   c                ó(   € V ^8„  d   QhR\         RR/# ©r   rU   r   N©rX   )r   s   "r   r   r     s   € ÷ Añ Aœjð A¨Tñ Ar   c                 ó¶   € V P                  ^4      pV P                  R^4       VR8X  d/   VR9  d&   V P                  ^4      pVR8X  g   K!  \        R4      hR# R# )é   ó   %r   zFile ended unexpectedly.Néÿÿÿÿ)ó   
ó   )r^   Úseekr   rk   s   & r   Úskip_over_commentrž     sV   € Ø
�+‰+�a‹.€CØ
‡K�K��AÔØ
ˆd„{Ø˜Ô'Ø—+‘+˜a“.ˆCØ�cŽzÜ$Ð%?Ó@Ð@ñ (ñ r   Úlimitc                óJ   € V ^8„  d   QhR\         R\        \        ,          RR/# )r   rU   rŸ   r   N)rX   r   r<   )r   s   "r   r   r      s%   € ÷ ñ œzð ´X¼cµ]ð Èdñ r   c               ó
  € V P                  ^4      pV P                  \        V4      ) ^4       ^ pVR8X  dM   Ve   W18¼  d   \        RV R24      h\	        V 4       \        V 4      pV P                  R^4       V^,          pKS  R# )aÄ  
Skip consecutive leading comments and the whitespace following each one.

The stream must be positioned at the first comment, if any. If the next
character is not ``%``, the stream position is unchanged. If only whitespace
follows the last comment before EOF, leave the stream at the last whitespace
byte, preserving the existing read_object behaviour for a missing object.

Args:
    stream: The stream to read from.
    limit: The maximum number of comments to skip, or ``None`` for no limit.

Raises:
    LimitReachedError: If another comment follows after ``limit`` comments;
        the stream remains at its ``%`` without reading its body.
    PdfStreamError: If a comment ends before a line ending.

r™   Nz,Maximum number of leading comments reached: Ú.rš   )r^   r�   r-   r   rž   rl   )rU   rŸ   rd   Úcomment_counts   &$  r   Úskip_over_commentsr¤      sƒ   € ð& �+‰+�a‹.€CØ
‡K�K”�S“�	˜1ÔØ€MØ
�Œ+ØÒ Ô!7Ü#Ð&RÐSXÐRYÐYZÐ$[Ó\Ð\Ü˜&Ô!Ü! &Ó)ˆØ�‰�B˜ÔØ˜ÕŠñ r   Úlengthc                ó^   € V ^8„  d   QhR\         R\        \        ,          R\        R\        /# )r   rU   Úregexr¥   r   )rX   r   rZ   r<   )r   s   "r   r   r   ?  s-   € ÷ ,ñ ,¤
ð ,´7¼5µ>ð ,Ì3ð ,Ôafñ ,r   c                ó  € . p^ pRp^p V P                  V4      pV'       g   RP                  V4      # \        V4      pWH,           ;q’8¼  d   \        RV	 RV R24      hWW,           p
VP	                  V
4      pVP                  V4       Ve\   \        V4      pWL,
          VP                  4       ,           pV P                  WÔ,
          V,
          ^4       RP                  V4      RV # WH,          pVRR pVR8  g   Kõ  V^,          pEK  )a_  
Read until the regular expression pattern matched (ignore the match).
Treats EOF on the underlying stream as the end of the token to be matched.

Args:
    stream: The stream to read from.
    regex: The pattern to search for.
    length: The (approximated) maximum number of bytes to read before raising an exception.

Returns:
    The read bytes.

r   zRead stream length of z# exceeds maximum allowed length of r¢   Ni    iðÿÿÿ)r^   Újoinr-   r   ÚsearchrM   r…   r�   )rU   r§   r¥   ÚpartsÚtotal_lengthÚtailÚ
chunk_sizeÚtokenÚtoken_lengthÚcurrent_lengthÚcurrent_bufferÚsearch_matchÚoverlapÚactual_starts   $$$           r   Úread_until_regexr¶   ?  s  € ð €EØ€LØ€DØ€JØ
Ø—‘˜JÓ'ˆßØ—8‘8˜E“?Ð"Ü˜5“zˆØ*Õ9Ð9ˆNÔDÜ#Ø(¨Ð(8Ð8[Ð\bÐ[cÐcdÐeóð ð �ˆØ—|‘| NÓ3ˆØ�‰�UÔØÒ#Ü˜$“iˆGØ'Õ1°L×4FÑ4FÓ4HÕHˆLØ�K‰K˜Õ3°lÕBÀAÔFØ—8‘8˜E“? = LÐ1Ð1ØÕ$ˆð �S�Tˆ{ˆØ˜ÖØ˜1Õ‹Jr   c                ó<   € V ^8„  d   QhR\         R\        R\        /# )r   rU   Úto_readr   )rh   r<   rZ   )r   s   "r   r   r   n  s"   € ÷ ñ Ô!1ð ¼Cð ÄEñ r   c                óÄ   € V P                  4       V8  d   \        R4      hV P                  V) \        4       V P	                  V4      pV P                  V) \        4       V# )zì
Given a stream at position X, read a block of size to_read ending at position X.

This changes the stream's position to the beginning of where the block was
read.

Args:
    stream:
    to_read:

Returns:
    The data which was read.

z!Could not read malformed PDF file)Útellr   r�   r   r^   )rU   r¸   r^   s   && r   Úread_block_backwardsr»   n  sQ   € ð ‡{�{ƒ}�wÔÜÐ@ÓAÐAà
‡K�K��œ(Ô#Ø�;‰;�wÓ€Dà
‡K�K��œ(Ô#Ø€Kr   c                ó0   € V ^8„  d   QhR\         R\        /# rg   )rX   rZ   )r   s   "r   r   r   ‡  s   € ÷ 7(ñ 7(œzð 7(¬eñ 7(r   c                ód  € . pRpV P                  4       ^ 8X  d   \        \        4      h \        \        V P                  4       4      pV^ 8X  d   MÇ\        W4      p\        V4      ^,
          pV'       g)   V^ 8¼  d   WE,          R9  d   V^,          pK  V^ 8¼  d   RpV'       d;   VP                  WE^,           R 4       V^ 8¼  d   WE,          R9   d   V^,          pK  MVP                  V4       V^ 8¼  g   KÐ  V P                  V^,           \        4        RP                  VRRR1,          4      # )aÕ  
Given a byte stream with current position X, return the previous line.

All characters between the first CR/LF byte found before X
(or, the start of the file, if no such byte is found) and position X
After this call, the stream will be positioned one byte after the
first non-CRLF character found beyond the first CR/LF byte before X,
or, if no such byte is found, at the beginning of the stream.

Args:
    stream: StreamType:

Returns:
    The data which was read.

FTs   
Nr   rš   )rº   r   r   Úminr   r»   r-   rM   r�   r   r©   )rU   Úline_contentÚ
found_crlfr¸   ÚblockÚidxs   &     r   Úread_previous_linerÃ   ‡  s  € ð" €LØ€JØ‡{�{ƒ}˜ÔÜÔ9Ó:Ð:Ø
ÜÔ)¨6¯;©;«=Ó9ˆØ�aŒ<Øô % VÓ5ˆÜ�%‹j˜1�nˆßð ˜”(˜u�z°Ô8Ø�q•’Ø�aŒxØ!�
ßð
 ×Ñ ¨A¥g iÐ 0Ô1à˜”(˜u�z¨WÔ4Ø�q•’øð ×Ñ Ô&Ø�!Ž8ð �K‰K˜˜a�¤Ô*Øà�8‰8�L¡ 2 Õ&Ó'Ð'r   c                ó<   € V ^8„  d   QhR\         R\         R\         /# )r   Úarx   r   )ÚTransformationMatrixType)r   s   "r   r   r   Á  s$   € ÷ ñ ÜðÜ$<ðäñr   c                 óh   a€ \         ;QJ d    . V3R  lV  4       F  NK  	  5# ! V3R  lV  4       4      # )c              3   ó¦   <a"  € T FE  o\         ;QJ d    . V3R  l\        S!   4       F  NK  	  5M! V3R  l\        S!   4       4      x € KG  	  R# 5i)c              3   ó\   <"  € T F!  p\        R  \        SV4       4       4      x € K#  	  R# 5i)c              3   ó\   "  € T F"  w  r\        V4      \        V4      ,          x € K$  	  R # 5iru   )Úfloat)rw   r2   Újs   &  r   ry   Ú6matrix_multiply.<locals>.<genexpr>.<genexpr>.<genexpr>Å  s"   é € Ð@±-©$¨!”%˜“(œU 1›X×%Ò%³-ùs   ‚*,N)ÚsumÚzip)rw   ÚcolÚrows   & €r   ry   Ú,matrix_multiply.<locals>.<genexpr>.<genexpr>Å  s%   øé € ÐTÉGÀSŒcÑ@´#°c¸3´-Ó@×@Ð@ËGùs   ƒ),N)ÚtuplerÏ   )rw   rÑ   rx   s   &@€r   ry   Ú"matrix_multiply.<locals>.<genexpr>Ä  s>   ùé € ð áˆC÷ 	ŒÔTÌCÐQRÊGÓT�‰ÔTÌCÐQRÊGÓT×TÐTÛùs
   „A”=A)rÓ   )rÅ   rx   s   &fr   Úmatrix_multiplyrÕ   Á  s7   ø€ ÷ Œ5ô áó�5ð ˆ5ô áóó ð r   c                ó(   € V ^8„  d   QhR\         RR/# r•   r–   )r   s   "r   r   r   Ê  s   € ÷ 	ñ 	œ*ð 	¨ñ 	r   c                óX  € RpV P                  V) ^4       \        RR4      ;_uu_ 4       pVP                  V P                  V4      4       VP                  R4       VP                  V P                  V4      4       RRR4       V P                  V) ^4       R#   + '       g   i     L%; i)z5Create text file showing current location in context.iˆ  zpypdf_pdfLocation.txtÚwbs   HEREN)r�   ÚopenÚwriter^   )rU   ÚradiusÚ	output_fhs   &  r   Úmark_locationrÝ   Ê  s   € ð €FØ
‡K�K��˜ÔÜ	Ð% t×	,Ô	,°	Ø�‰˜Ÿ™ FÓ+Ô,Ø�‰˜Ô Ø�‰˜Ÿ™ FÓ+Ô,÷ 
-ð ‡K�K��˜Ö÷	 
-×	,ús   ªABÂB)	c                ó4   € V ^8„  d   QhR\         R\        RR/# )r   ÚmsgÚ
stacklevelr   N)r   r<   )r   s   "r   r   r   Ö  s&   € ÷ Bñ B”3ð B¤Cð B°ñ Br   c                 ó@   € \         P                  ! V \        VR 7       R# ))rà   N)ÚwarningsÚwarnÚDeprecationWarning)rß   rà   s   &&r   Ú	deprecaterå   Ö  s   € Ü‡M‚M�#Ô)°j×Ar   c                ó0   € V ^8„  d   QhR\         R\        /# )r   rß   r   ©r   r
   )r   s   "r   r   r   Ú  s   € ÷  ñ  ”Sð  œXñ  r   c                 ó   € \        V 4      hru   )r   )rß   s   &r   Údeprecationré   Ú  s   € Ü
˜3Ó
Ðr   c                ó@   € V ^8„  d   QhR\         R\         R\         RR/# )r   Úold_nameÚnew_nameÚ
removed_inr   NrJ   )r   s   "r   r   r   Þ  s)   € ÷ ñ ¬ð ¼ð Ìð ÐQUñ r   c                ó0   € \        V  RV RV R2^4       R# )zFIssue a warning that a feature will be removed, but has a replacement.ú, is deprecated and will be removed in pypdf ú. Use ú	 instead.N©rå   ©rë   rì   rí   s   &&&r   Údeprecate_with_replacementrô   Þ  s'   € äØˆ*Ð@ÀÀÈFÐS[ÐR\Ð\eÐfØ	ör   c                óH   € V ^8„  d   QhR\         R\         R\         R\        /# )r   rë   rì   rí   r   rç   )r   s   "r   r   r   æ  s)   € ÷ ñ ¬3ð ¼#ð Ì3ð ÔS[ñ r   c                ó.   € \        V  RV RV R24       R# )zMRaise an exception that a feature was already removed, but has a replacement.ú( is deprecated and was removed in pypdf rð   rñ   N©ré   ró   s   &&&r   Údeprecation_with_replacementrù   æ  s"   € äØˆ*Ð<¸Z¸LÈÈxÈjÐXaÐbör   c                ó4   € V ^8„  d   QhR\         R\         RR/# )r   Únamerí   r   NrJ   )r   s   "r   r   r   í  s&   € ÷ Uñ U¤3ð U´Cð U¸Dñ Ur   c                ó*   € \        V  RV R2^4       R# )zCIssue a warning that a feature will be removed without replacement.rï   r¢   Nrò   ©rû   rí   s   &&r   Údeprecate_no_replacementrþ   í  s   € ä��ÐBÀ:À,ÈaÐPÐRSÖTr   c                ó<   € V ^8„  d   QhR\         R\         R\        /# )r   rû   rí   r   rç   )r   s   "r   r   r   ò  s&   € ÷ Pñ P¤Sð P´cð P¼hñ Pr   c                ó(   € \        V  RV R24       R# )zJRaise an exception that a feature was already removed without replacement.r÷   r¢   Nrø   rý   s   &&r   Údeprecation_no_replacementr  ò  s   € ä�4�&Ð@ÀÀÈAÐNÖOr   c                ó@   € V ^8„  d   QhR\         R\         R\        RR/# ©r   Úmessager\   Úvaluesr   N©r   r	   )r   s   "r   r   r   ÷  s(   € ÷ 1ñ 1œ#ð 1¬#ð 1¼ð 1Àñ 1r   c               ó®   € V'       d(   \         P                  ! V4      P                  W4       R# \         P                  ! V4      P                  V 4       R# )zÄ
Use this instead of logger.error directly.

That allows people to overwrite it more easily.

See the docs on when to use which:
https://pypdf.readthedocs.io/en/latest/user/suppress-warnings.html
N)ÚloggingÚ	getLoggerÚerror©r  r\   r  s   &$,r   Úlogger_errorr  ÷  s9   € ÷ Ü×Ò˜&Ó!×'Ñ'¨Ö8ä×Ò˜&Ó!×'Ñ'¨Ö0r   c                ó@   € V ^8„  d   QhR\         R\         R\        RR/# r  r  )r   s   "r   r   r     s(   € ÷ 3ñ 3œCð 3¬Cð 3¼3ð 3À4ñ 3r   c               ó®   € V'       d(   \         P                  ! V4      P                  W4       R# \         P                  ! V4      P                  V 4       R# )aa  
Use this instead of logger.warning directly.

That allows people to overwrite it more easily.

## Exception, warnings.warn, logger_warning
- Exceptions should be used if the user should write code that deals with
  an error case, e.g. the PDF being completely broken.
- warnings.warn should be used if the user needs to fix their code, e.g.
  DeprecationWarnings
- logger_warning should be used if the user needs to know that an issue was
  handled by pypdf, e.g. a non-compliant PDF being read in a way that
  pypdf could apply a robustness fix to still read it. This applies mainly
  to strict=False mode.
N)r  r	  Úwarningr  s   &$,r   ra   ra     s;   € ÷  Ü×Ò˜&Ó!×)Ñ)¨'Ö:ô
 	×Ò˜&Ó!×)Ñ)¨'Ö2r   c          
      ó�   € V ^8„  d   QhR\         R\        \         \        3,          R\        \         \         3,          R\        RR/# )r   Ú	func_nameÚkwargsÚaliasesÚfailr   N)r   Údictr	   rY   )r   s   "r   r   r     sD   € ÷  ñ  Üð Ü ¤¤c �Nð Ü59¼#¼s¸(µ^ð ÜKOð à	ñ r   c                ó&  € VP                  4        F|  w  rEWA9   g   K  V'       d   \        V RV R24      hWQ9   d   \        V  RV RV RV RV R2
4      hVP                  V4      W&   \        P
                  ! V RV R2\        ^R7       K~  	  R	# )
z‰
Helper function to deprecate arguments.

Args:
    func_name: Name of the function to be deprecated
    kwargs:
    aliases:
    fail:

z# is deprecated as an argument. Use z insteadz received both z and z as an argument. z is deprecated. Use rñ   )r  Úcategoryrà   N)Úitemsr   Ú	TypeErrorÚpoprâ   rã   rä   )r  r  r  r  Úold_termÚnew_terms   &&&&  r   Úrename_kwargsr    s¶   € ð &Ÿm™mžoÑˆØÖßÜ&Ø�jÐ CÀHÀ:ÈXÐVóð ð Ô!ÜØ �k °°
¸%À¸zð J$Ø$, :ð .Ø#˜* Ið/óð ð
  &Ÿz™z¨(Ó3ˆFÑÜ�MŠMà�jÐ CÀHÀ:ÈXÐVä+Ø÷ó .r   c                ó0   € V ^8„  d   QhR\         R\        /# )r   rZ   r   )r<   r   )r   s   "r   r   r   B  s   € ÷ %ñ %¤ð %¬ñ %r   c                 ó„   € V R8  d   V  R2# V R8  d   V R,          R R2# V R8  d   V R,          R R2# V R,          R R2# )	é
   z Bytez.1fz kBz MBz GBiè  i@B i Êš;rƒ   )rZ   s   &r   Ú_human_readable_bytesr!  B  s_   € Øˆu„}Ø�˜ˆÐØˆu„}Ø˜%•- Ð$ CÐ(Ð(Øˆu„}Ø˜%•- Ð$ CÐ(Ð(Ø�e�m˜CÐ  Ð$Ð$r   c                   ób   a € ] tR tRt o RtRV 3R lR lltRV 3R lR lltV 3R lR	 ltR
tV t	R# )Úclasspropertyio  z{
Decorator that converts a method with a single cls argument into a property
that can be accessed directly from the class.
Nc                ó   <€ V ^8„  d   QhRR/# )r   r   Nrƒ   )r   Ú__classdict__s   "€r   r   Úclassproperty.__annotate__u  s   ø€ ÷ ñ  tñ r   c                ó   € Wn         R # ru   ©Úfget©ÚselfÚmethods   &&r   Ú__init__Úclassproperty.__init__u  s   € ØŽ	r   c                ó    <€ V ^8„  d   QhRS[ /# ©r   r   )r	   )r   r%  s   "€r   r   r&  x  s   ø€ ÷ ñ ©Sñ r   c                ó$   € V P                  V4      # ru   r(  )r+  ÚinstanceÚclss   &&&r   Ú__get__Úclassproperty.__get__x  s   € Ø�y‰y˜‹~Ðr   c                ó    <€ V ^8„  d   QhRS[ /# r0  r   )r   r%  s   "€r   r   r&  {  s   ø€ ÷ ñ ¡ñ r   c                ó   € Wn         V # ru   r(  r*  s   &&r   ÚgetterÚclassproperty.getter{  s   € ØŒ	Øˆr   r(  ru   )
rb   Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r-  r4  r8  Ú__static_attributes__Ú__classdictcell__©r%  s   @r   r#  r#  o  s(   ø‡ € ñ÷
ò ÷ò ÷ö r   r#  c                   ón   a € ] tR tRt o ^RIHt Rt Rt Rt V 3R lR lt	V 3R lR	 lt
V 3R
 ltRtV tR# )ÚFilei€  )ÚIndirectObjectr#   r   Nc                ó    <€ V ^8„  d   QhRS[ /# r0  rJ   )r   r%  s   "€r   r   ÚFile.__annotate__‘  s   ø€ ÷ mñ m™ñ mr   c           	     óŒ   € V P                   P                   R V P                   R\        \	        V P
                  4      4       R2# )z(name=z, data: Ú))Ú	__class__rb   rû   r!  r-   Údata©r+  s   &r   Ú__str__ÚFile.__str__‘  s?   € Ø—.‘.×)Ñ)Ð*¨&°·±°¸8ÔDYÔZ]Ð^b×^gÑ^gÓZhÓDiÐCjÐjkÐlÐlr   c                ó    <€ V ^8„  d   QhRS[ /# r0  rJ   )r   r%  s   "€r   r   rE  ”  s   ø€ ÷ Cñ C™#ñ Cr   c                ód   € V P                  4       R R R\        V P                  4       R2,           # )Nz, hash: rG  rš   )rK  ÚhashrI  rJ  s   &r   Ú__repr__ÚFile.__repr__”  s,   € Ø�|‰|‹~˜c˜rÐ" x´°T·Y±Y³Ð/@ÀÐ%BÕBÐBr   c                óN   <€ V ^8„  d   Qh/ S[ ;R&   S[;R&   S[S[,          ;R&   # )r   rû   rI  Úindirect_reference)r   rZ   r   rC  )r   r%  s   "€r   r   rE  €  s0   ø‡ ‚ ñ �Nñ	 ñ Ññ ñ !¡Õ0Ñ7ò r   rƒ   )rb   r:  r;  r<  ÚgenericrC  rû   rI  rS  rK  rP  Ú__annotate_func__r>  r?  r@  s   @r   rB  rB  €  sJ   ø‡ € å'à€Dðð €Dðð 48Ðð÷mð m÷Cð C÷) ƒ r   rB  c                   óž   a € ] tR tRt o ]P
                  ! R4      tV 3R lR ltV 3R lR ltV 3R lR lt	V 3R	 lR
 lt
V 3R lR ltRtV tR# )ÚVersioni˜  z^(\d+)(.*)$c                ó$   <€ V ^8„  d   QhRS[ RR/# )r   Úversion_strr   NrJ   )r   r%  s   "€r   r   ÚVersion.__annotate__œ  s   ø€ ÷ ;ñ ;¡Cð ;¨Dñ ;r   c                ó>   € Wn         V P                  V4      V n        R # ru   )rY  Ú_parse_versionÚ
components)r+  rY  s   &&r   r-  ÚVersion.__init__œ  s   € Ø&ÔØ×-Ñ-¨kÓ:ˆŽr   c                óL   <€ V ^8„  d   QhRS[ RS[S[S[S[ 3,          ,          /# )r   rY  r   )r   ÚlistrÓ   r<   )r   r%  s   "€r   r   rZ     s(   ø€ ÷ !ñ !©#ð !±$±u¹SÁ#¸XµÕ2Gñ !r   c                ó>  € VP                  R 4      p. pV Fƒ  p\        P                  P                  V4      pV'       g   VP	                  ^ V34       K?  VP                  ^4      pVP                  ^4      pVf   ^ pVP	                  \        V4      V34       K…  	  V# )r¢   )ÚsplitrW  ÚCOMPONENT_PATTERNÚmatchrM   Úgroupr<   )r+  rY  r]  Úparsed_componentsÚ	componentrd  Úinteger_prefixÚsuffixs   &&      r   r\  ÚVersion._parse_version   s•   € Ø ×&Ñ& sÓ+ˆ
ØÐÛ#ˆIÜ×-Ñ-×3Ñ3°IÓ>ˆEßØ!×(Ñ(¨!¨Y¨Ô8ÙØ"Ÿ[™[¨›^ˆNØ—[‘[ “^ˆFØÒ%Ø!"�Ø×$Ñ$¤c¨.Ó&9¸6Ð%BÖCñ $ð !Ð r   c                ó&   <€ V ^8„  d   QhRS[ RS[/# ©r   Úotherr   )ÚobjectrY   )r   r%  s   "€r   r   rZ  ¯  s   ø€ ÷ 3ñ 3™Fð 3¡tñ 3r   c                ód   € \        V\        4      '       g   R # V P                  VP                  8H  # ©F)Ú
isinstancerW  r]  )r+  rm  s   &&r   Ú__eq__ÚVersion.__eq__¯  s'   € Ü˜%¤×)Ò)ÙØ�‰ %×"2Ñ"2Ñ2Ð2r   c                ó    <€ V ^8„  d   QhRS[ /# r0  )r<   )r   r%  s   "€r   r   rZ  ´  s   ø€ ÷ >ñ >™#ñ >r   c                óV   € \        V P                  \        V P                  4      34      # ru   )rO  rH  rÓ   r]  rJ  s   &r   Ú__hash__ÚVersion.__hash__´  s   € ä�T—^‘^¤U¨4¯?©?Ó%;Ð<Ó=Ð=r   c                ó&   <€ V ^8„  d   QhRS[ RS[/# rl  )r	   rY   )r   r%  s   "€r   r   rZ  ¸  s   ø€ ÷ <ñ <™Cð <¡Dñ <r   c                ó\  € \        V\        4      '       g   \        R \        V4       24      h\	        V P
                  VP
                  4       F1  w  r#Vw  rEVw  rgWF8  d    R# WF8”  d    R# WW8  d    R# WW8”  g   K0   R# 	  \        V P
                  4      \        VP
                  4      8  # )z#Version cannot be compared against TF)rq  rW  r0   ÚtyperÏ   r]  r-   )r+  rm  Úself_componentÚother_componentÚ
self_valueÚself_suffixÚother_valueÚother_suffixs   &&      r   Ú__lt__ÚVersion.__lt__¸  sš   € Ü˜%¤×)Ò)ÜÐBÄ4ÈÃ;À-ÐPÓQÐQä/2°4·?±?ÀE×DTÑDTÖ/UÑ+ˆNØ&4Ñ#ˆJØ(7Ñ%ˆKàÔ'ÚØÔ'ÚàÔ)ÚØÖ)Úñ 0Vô �4—?‘?Ó#¤c¨%×*:Ñ*:Ó&;Ñ;Ð;r   )r]  rY  N)rb   r:  r;  r<  ÚreÚcompilerc  r-  r\  rr  rv  r�  r>  r?  r@  s   @r   rW  rW  ˜  sF   ø‡ € àŸ
š
 >Ó2Ð÷;ð ;÷!ð !÷3ð 3÷
>ð >÷<ö <r   rW  c                   ó8   a € ] tR tRt o Rt^ tRtV 3R ltRtV t	R# )Ú_TraversalStateiÍ  z=Sometimes we need mutable objects which just count something.Fc                ó2   <€ V ^8„  d   Qh/ S[ ;R&   S[;R&   # )r   Úentry_countÚ
has_logged)r<   rY   )r   r%  s   "€r   r   Ú_TraversalState.__annotate__Í  s   ø‡ ‚ ñ Ññ ñ Ñò	 r   rƒ   N)
rb   r:  r;  r<  r=  rˆ  r‰  rU  r>  r?  r@  s   @r   r†  r†  Í  s   ø‡ € áGØ€KØ€J÷	 ƒ r   r†  c                óh   € V ^8„  d   Qh/ ^ \         9   d
   \        ;R&   ^\         9   d
   \        ;R&   # )r   rÆ   ÚCompressedTransformationMatrix)Ú__conditional_annotations__r   )r   s   "r   r   r      s8   € × (Ñ (÷Pò œ)ñ ñQ )÷Vò ¤	ñ òW )r   )é   r   )rŽ  é   )ó    ó   	r›   ó   rœ   ó    )NF))Ú Ú/)Ú:Ú@)u   Ù u   Ù­)u   Û°u   Û¹)u   â€€u   â�¯)u   â‚ u   â‡¿)r#   ))u   Ö�u   à£¿)u   ï¬�u   ï·¿)u   ï¹°u   ï»¿)r#   r#   )rŽ  rp  )Qr�  r=  Ú
__author__Ú__author_email__Ú	functoolsr  rƒ  Úsysrâ   Údataclassesr   r   r   Úior   Úosr   r   Útypingr   r	   r
   r   r   Úversion_infor   Útyping_extensionsr   Úerrorsr   r   r   r   rÓ   rË   rÆ   rŒ  rX   rZ   rh   r   ÚStrByteTyper5   rF   rQ   r`   r©   rv   ÚWHITESPACES_AS_REGEXPre   rl   rp   r|   rŠ   r‹   r’   r“   rž   r¤   Úmaxsizer¶   r»   rÃ   rÕ   rÝ   rå   ré   rô   rù   rþ   r  r  ra   r  r!  r#  rB  Útotal_orderingrW  r†  r   )r�  s   @r   Ú<module>r§     s6  øðö8 )Ø€
Ø/Ð ã Û Û 	Û 
Û Ý !ß 'Ý "Ý Ý ÷õ ð ×Ñ�BÕ˜7Ô"æ å+à×Ñ�wÔÞå&÷ó ð ',Ø	ˆ%�˜Ð
Õ  e¨U°EÐ&9Õ :¸EÀ%ÈÐPUÐBUÕ<VÐVõ'Ð ó ð -2Ø	ˆ5�%˜  uÐ,õ-Ð ó ð ��W€
Ø�e•9Ð Ø�C˜�OÕ$€õ9õ@õ2-ð& :€Ø—x‘x Ó,Ð ØÐ3Õ3°dÕ:Ð ÷õBõ"õ(9ðÐ ÷QðÐ ÷bõAðÀT÷ ð>,ÐQT×Q\ÑQ\÷ ,õ^õ27(õtõ	÷Bõ õõõUõ
Põ
1õ3÷2 õF%÷Zñ ð" ÷Cð Có ðCð. ×Ñ÷1<ð 1<ó ð1<ðh ÷ð ó òr   