%PDF- %PDF-
Direktori : /lib/python3/dist-packages/PIL/__pycache__/ |
Current File : //lib/python3/dist-packages/PIL/__pycache__/PdfParser.cpython-312.pyc |
� ��e�� � �\ � d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Z d� Z i dd�dd�dd �d d�dd �dd�dd�dd�dd�dd�dd�dd�dd�dd�d d!�d"d#�d$d%�i d&d'�d(d)�d*d+�d,d-�d.d/�d0d1�d2d3�d4d5�d6d7�d8d9�d:d;�d<d=�d>d?�d@dA�dBdC�dDdE�dFdG��dHdIdJdKdLdMdNdO��ZdP� Z G dQ� dRe � ZdS� Z G dT� dU ej dVdWdXg� � Z G dY� dZe� Z G d[� d\� Z G d]� d^� Z G d_� d`e� Z G da� dbej. � Z G dc� dd� Z G de� df� Zdg� Z G dh� di� Zy)j� )�annotationsNc �F � t j | j d� z S )N� utf_16_be)�codecs�BOM_UTF16_BE�encode)�ss �//usr/lib/python3/dist-packages/PIL/PdfParser.py�encode_textr s � �������+�!6�6�6� � �� u ˘� u ˇ� u ˆ� u ˙� u ˝� u ˛� u ˚� u ˜� u •� u †� u ‡� u …� u —� u –� u ƒ� u ⁄� u ‹� u ›� u −� u ‰� u „� u “� u ”� u ‘� u ’� u ‚� u ™� u fi� u fl� u Ł� u Œ� u Š� u Ÿu Žu ıu łu œu šu žu €)� � � � � � � c �� � | d t t j � t j k( r+| t t j � d j d� S dj d� | D � � S )Nr � c 3 �Z K � | ]# }t j |t |� � �� �% y �w�N)�PDFDocEncoding�get�chr)�.0�bytes r � <genexpr>zdecode_text.<locals>.<genexpr>D s! � �� �I�t�~�)�)�$��D� �:�I�s �)+)�lenr r �decode�join)�bs r �decode_textrE @ s\ � �� #�3�v�"�"�#�$��(;�(;�;���V�(�(�)�+�,�3�3�K�@�@��w�w�I�q�I�I�Ir c � � e Zd ZdZy)�PdfFormatErrorz\An error that probably indicates a syntactic or semantic error in the PDF file structureN)�__name__� __module__�__qualname__�__doc__� r r rG rG G s � �� r rG c � � | st |� �y r: )rG )� condition� error_messages r �check_format_conditionrP N s � ���]�+�+� r c �* � e Zd Zd� Zd� Zd� Zd� Zd� Zy)�IndirectReferencec �: � | j � d| j � d�S )N� z R�� object_id� generation��selfs r �__str__zIndirectReference.__str__V s � ��.�.�!��4�?�?�"3�2�6�6r c �@ � | j � j d� S �N�us-ascii)rZ r rX s r � __bytes__zIndirectReference.__bytes__Y s � ��|�|�~�$�$�Z�0�0r c � � |j | j u xr4 |j | j k( xr |j | j k( S r: )� __class__rV rW �rY �others r �__eq__zIndirectReference.__eq__\ sC � ��O�O�t�~�~�-� 4����4�>�>�1� 4�� � �D�O�O�3� r c � � | |k( S r: rL ra s r �__ne__zIndirectReference.__ne__c s � ��E�M�"�"r c �D � t | j | j f� S r: )�hashrV rW rX s r �__hash__zIndirectReference.__hash__f s � ��T�^�^�T�_�_�5�6�6r N)rH rI rJ rZ r^ rc re rh rL r r rR rR S s � �7�1� �#�7r rR �IndirectReferenceTuplerV rW c � � e Zd Zd� Zy)�IndirectObjectDefc �: � | j � d| j � d�S )NrT z objrU rX s r rZ zIndirectObjectDef.__str__k s � ��.�.�!��4�?�?�"3�4�8�8r N)rH rI rJ rZ rL r r rk rk j s � �9r rk c �<