ó
    *pˆj  ã                   óJ   • S r SSKJr  SSKJr  S\S\\S4   S\\S4   4S jrg	)
zÒStage 2a: Byte sequence validity filtering.

Note: ``from __future__ import annotations`` is intentionally omitted because
this module is compiled with mypyc, which does not support PEP 563 string
annotations.
é    )Údecodes_without_error)ÚEncodingInfoÚdataÚ
candidates.Úreturnc                 ó@   ^ • T (       d  U$ [        U 4S jU 5       5      $ )zßFilter candidates to only those where *data* decodes without errors.

:param data: The raw byte data to test.
:param candidates: Encoding candidates to validate.
:returns: The subset of *candidates* that can decode *data*.
c              3   ób   >#   • U  H$  n[        TUR                  5      (       d  M   Uv •  M&     g 7f)N)r   Úname)Ú.0Úencr   s     €ÚU/var/www/html/pdf-tiff/venv/lib/python3.13/site-packages/chardet/pipeline/validity.pyÚ	<genexpr>Ú%filter_by_validity.<locals>.<genexpr>   s!   øé € ÐT¢
˜Ô.CÀDÈ#Ï(É(×.S—‘¢
ùs   ƒ/¦	/)Útuple)r   r   s   ` r   Úfilter_by_validityr      s   ø€ ö ØÐäÔT¡
ÓTÓTÐTó    N)Ú__doc__Úchardet._utilsr   Úchardet.registryr   Úbytesr   r   © r   r   Ú<module>r      sG   ðñõ 1Ý )ðUØ
ðUØ" <°Ð#4Ñ5ðUà
ˆ<˜ÐÑõUr   