+
    ÁFñjù2  ã                   óÄ   € R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
HtHt ^ RIHt ^ RIHt ^ RIHtHtHtHtHt ^ R	IHt ]'       d	   ^ R
IHtHt  ! R R]4      tR# )zSThis module contains an object that represents a Telegram EncryptedPassportElement.)Ú	b64decode)ÚSequence)ÚTYPE_CHECKING)Údecrypt_json)ÚIdDocumentDataÚPersonalDetailsÚResidentialAddress)ÚPassportFile)ÚTelegramObject)Úde_json_decrypted_optionalÚde_json_optionalÚde_list_decrypted_optionalÚde_list_optionalÚparse_sequence_arg©ÚJSONDict)ÚBotÚCredentialsc                   óš   a a€ ] tR t^)t oRtRtRRR/V3R lV 3R llllt]RV3R lV 3R lll4       t]V3R lV 3R	 ll4       t	R
t
VtV ;t# )ÚEncryptedPassportElementaO  
Contains information about documents or other Telegram Passport elements shared with the bot
by the user. The data has been automatically decrypted by python-telegram-bot.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`type`, :attr:`data`, :attr:`phone_number`, :attr:`email`,
:attr:`files`, :attr:`front_side`, :attr:`reverse_side` and :attr:`selfie` are equal.

Note:
    This object is decrypted only when originating from
    :attr:`telegram.PassportData.decrypted_data`.

Args:
    type (:obj:`str`): Element type. One of "personal_details", "passport", "driver_license",
        "identity_card", "internal_passport", "address", "utility_bill", "bank_statement",
        "rental_agreement", "passport_registration", "temporary_registration", "phone_number",
        "email".
    hash (:obj:`str`): Base64-encoded element hash for using in
        :class:`telegram.PassportElementErrorUnspecified`.
    data (:class:`telegram.PersonalDetails` | :class:`telegram.IdDocumentData` |             :class:`telegram.ResidentialAddress` | :obj:`str`, optional):
        Decrypted or encrypted data; available only for "personal_details", "passport",
        "driver_license", "identity_card", "internal_passport" and "address" types.
    phone_number (:obj:`str`, optional): User's verified phone number; available only for
        "phone_number" type.
    email (:obj:`str`, optional): User's verified email address; available only for "email"
        type.
    files (Sequence[:class:`telegram.PassportFile`], optional): Array of encrypted/decrypted
        files with documents provided by the user; available only for "utility_bill",
        "bank_statement", "rental_agreement", "passport_registration" and
        "temporary_registration" types.

        .. versionchanged:: 20.0
            |sequenceclassargs|

    front_side (:class:`telegram.PassportFile`, optional): Encrypted/decrypted file with the
        front side of the document, provided by the user; Available only for "passport",
        "driver_license", "identity_card" and "internal_passport".
    reverse_side (:class:`telegram.PassportFile`, optional): Encrypted/decrypted file with the
        reverse side of the document, provided by the user; Available only for
        "driver_license" and "identity_card".
    selfie (:class:`telegram.PassportFile`, optional): Encrypted/decrypted file with the
        selfie of the user holding a document, provided by the user; available if requested for
        "passport", "driver_license", "identity_card" and "internal_passport".
    translation (Sequence[:class:`telegram.PassportFile`], optional): Array of
        encrypted/decrypted files with translated versions of documents provided by the user;
        available if requested requested for "passport", "driver_license", "identity_card",
        "internal_passport", "utility_bill", "bank_statement", "rental_agreement",
        "passport_registration" and "temporary_registration" types.

        .. versionchanged:: 20.0
            |sequenceclassargs|

Attributes:
    type (:obj:`str`): Element type. One of "personal_details", "passport", "driver_license",
        "identity_card", "internal_passport", "address", "utility_bill", "bank_statement",
        "rental_agreement", "passport_registration", "temporary_registration", "phone_number",
        "email".
    hash (:obj:`str`): Base64-encoded element hash for using in
        :class:`telegram.PassportElementErrorUnspecified`.
    data (:class:`telegram.PersonalDetails` | :class:`telegram.IdDocumentData` |             :class:`telegram.ResidentialAddress` | :obj:`str`):
        Optional. Decrypted or encrypted data; available only for "personal_details",
        "passport", "driver_license", "identity_card", "internal_passport" and "address" types.
    phone_number (:obj:`str`): Optional. User's verified phone number; available only for
        "phone_number" type.
    email (:obj:`str`): Optional. User's verified email address; available only for "email"
        type.
    files (tuple[:class:`telegram.PassportFile`]): Optional. Array of encrypted/decrypted
        files with documents provided by the user; available only for "utility_bill",
        "bank_statement", "rental_agreement", "passport_registration" and
        "temporary_registration" types.

        .. versionchanged:: 20.0

            * |tupleclassattrs|
            * |alwaystuple|

    front_side (:class:`telegram.PassportFile`): Optional. Encrypted/decrypted file with the
        front side of the document, provided by the user; available only for "passport",
        "driver_license", "identity_card" and "internal_passport".
    reverse_side (:class:`telegram.PassportFile`): Optional. Encrypted/decrypted file with the
        reverse side of the document, provided by the user; available only for "driver_license"
        and "identity_card".
    selfie (:class:`telegram.PassportFile`): Optional. Encrypted/decrypted file with the
        selfie of the user holding a document, provided by the user; available if requested for
        "passport", "driver_license", "identity_card" and "internal_passport".
    translation (tuple[:class:`telegram.PassportFile`]): Optional. Array of
        encrypted/decrypted files with translated versions of documents provided by the user;
        available if requested for "passport", "driver_license", "identity_card",
        "internal_passport", "utility_bill", "bank_statement", "rental_agreement",
        "passport_registration" and "temporary_registration" types.

        .. versionchanged:: 20.0

            * |tupleclassattrs|
            * |alwaystuple|

NÚ
api_kwargsc                ó  <€ V ^8„  d   QhRS[ RS[ RS[S[,          S[,          R,          RS[ R,          RS[ R,          RS[S[,          R,          RS[R,          R	S[R,          R
S[R,          RS[S[,          R,          RS[R,          /# )é   ÚtypeÚhashÚdataNÚphone_numberÚemailÚfilesÚ
front_sideÚreverse_sideÚselfieÚtranslationr   )Ústrr   r   r   r   r	   r   )ÚformatÚ__classdict__s   "€Úa/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_passport/encryptedpassportelement.pyÚ__annotate__Ú%EncryptedPassportElement.__annotate__›   s¸   ø€ ÷ )ñ )áð)ñ ð)ñ ¡Õ.Ñ1CÕCÀdÕJð	)ñ
 ˜D•jð)ñ �T�zð)ñ ™Õ%¨Õ,ð)ñ ! 4Õ'ð)ñ # TÕ)ð)ñ ˜tÕ#ð)ñ ™lÕ+¨dÕ2ð)ñ ˜t•Oñ)ó    c               ó¦  <€ \         SV `  VR 7       Wn        W0n        W@n        WPn        \        V4      V n        Wpn        W€n	        W�n
        \        V
4      V n        W n        V P                  V P                  V P                  V P
                  V P                  V P                  V P                  V P                  3V n        V P                  4        R# ))r   N)ÚsuperÚ__init__r   r   r   r   r   r   r   r    r!   r"   r   Ú	_id_attrsÚ_freeze)Úselfr   r   r   r   r   r   r   r    r!   r"   r   Ú	__class__s   &&&&&&&&&&&$€r&   r,   Ú!EncryptedPassportElement.__init__›   s¬   ø€ ô 	‰Ñ JÐÔ/ð Œ	àRVŒ	Ø(4ÔØ!&Œ
Ü/AÀ%Ó/HˆŒ
Ø/9ŒØ1=ÔØ+1ŒÜ5GÈÓ5TˆÔØŒ	ð �I‰IØ�I‰IØ×ÑØ�J‰JØ�J‰JØ�O‰OØ×ÑØ�K‰Kð	
ˆŒð 	�‰Žr)   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   r   Úbotú
Bot | NoneÚreturnr   r   )r$   r%   s   "€r&   r'   r(   Ç   s#   ø€ ÷ 
3ñ 
3™8ð 
3¨,ð 
3ÐB\ñ 
3r)   c                óÌ  <€ V P                  V4      p\        VP                  R4      \        V4      ;'       g    RVR&   \	        VP                  R4      \        V4      VR&   \	        VP                  R4      \        V4      VR&   \	        VP                  R4      \        V4      VR&   \        VP                  R4      \        V4      ;'       g    RVR&   \
        SV `  WR7      # )z,See :meth:`telegram.TelegramObject.de_json`.r   Nr   r    r!   r"   ©r   r3   )Ú_parse_datar   Úgetr	   r   r+   Úde_json)Úclsr   r3   r0   s   &&&€r&   r:   Ú EncryptedPassportElement.de_jsonÆ   sÃ   ø€ ð �‰˜tÓ$ˆä(¨¯©°'Ó):¼LÈ#ÓN×VÐVÐRVˆˆW‰Ü-¨d¯h©h°|Ó.DÄlÐTWÓXˆˆ\ÑÜ/°·±¸Ó0HÌ,ÐX[Ó\ˆˆ^ÑÜ)¨$¯(©(°8Ó*<¼lÈCÓPˆˆX‰Ü.¨t¯x©x¸Ó/FÌÐVYÓZ×bÐbÐ^bˆˆ]Ñä‰w‰ DˆÓ2Ð2r)   c                ó,   <€ V ^8„  d   QhRS[ RRRRRR/# )r   r   r3   r4   Úcredentialsr   r5   r   r   )r$   r%   s   "€r&   r'   r(   Ô   s3   ø€ ÷ B3ñ B3ÙðB3Ø".ðB3Ø=JðB3à	#ñB3r)   c                ó–  <€ VR,          R9  Ed+   \        VP                  VR,          4      pVP                  Ee
   \        VR,          \        4      '       g[   \        \        VP                  P                  4      \        VP                  P                  4      \        VR,          4      4      VR&   VR,          R8X  d$   \        P                  ! VR,          VR7      VR&   MaVR,          R9   d$   \        P                  ! VR,          VR7      VR&   M0VR,          R8X  d#   \        P                  ! VR,          VR7      VR&   \        VP                  R4      \        W$P                   4      ;'       g    RVR&   \#        VP                  R4      \        W$P$                  4      VR&   \#        VP                  R	4      \        W$P&                  4      VR	&   \#        VP                  R
4      \        W$P(                  4      VR
&   \        VP                  R4      \        W$P*                  4      ;'       g    RVR&   \,        SV `)  WR7      # )a£  Variant of :meth:`telegram.TelegramObject.de_json` that also takes into account
passport credentials.

Args:
    data (dict[:obj:`str`, ...]): The JSON data.
    bot (:class:`telegram.Bot` | :obj:`None`): The bot associated with these object.
        May be :obj:`None`, in which case shortcut methods will not be available.

        .. versionchanged:: 21.4
           :paramref:`bot` is now optional and defaults to :obj:`None`

        .. deprecated:: 21.4
           This argument will be converted to an optional argument in future versions.
    credentials (:class:`telegram.FileCredentials`): The credentials

Returns:
    :class:`telegram.EncryptedPassportElement`:

r   Nr   Úpersonal_details)r3   Úaddressr   r   r    r!   r"   r7   )r   r   )ÚpassportÚinternal_passportÚdriver_licenseÚidentity_card)ÚgetattrÚsecure_datar   Ú
isinstanceÚdictr   r   Úsecretr   r   r:   r   r   r   r9   r	   r   r   r   r    r!   r"   r+   )r;   r   r3   r>   rG   r0   s   &&&& €r&   Úde_json_decryptedÚ*EncryptedPassportElement.de_json_decryptedÓ   s÷  ø€ ð0 ��<Ð8Õ8Ü! +×"9Ñ"9¸4À½<ÓHˆKà×ÑÓ+ä! $ v¥,´×5Ò5Ü#/Ü! +×"2Ñ"2×"9Ñ"9Ó:Ü! +×"2Ñ"2×"7Ñ"7Ó8Ü! $ v¥,Ó/ó$�D˜‘Lð
 ˜•<Ð#5Ô5Ü#2×#:Ò#:¸4À½<ÈSÔ#Q�D˜’LØ˜&•\ð &ô ô $2×#9Ò#9¸$¸v½,ÈCÔ#P�D˜’LØ˜&•\ YÔ.Ü#5×#=Ò#=¸dÀ6½lÐPSÔ#T�D˜‘Lô +¨4¯8©8°GÓ+<¼lÈC×QbÑQbÓc÷ ð Øð �‰Mô "<Ø—‘˜Ó&¬°c×;QÑ;Qó"ˆD�Ñô $>Ø—‘˜Ó(¬,¸×=UÑ=Uó$ˆD�Ñ ô 8Ø—‘˜Ó"¤L°#×7IÑ7IóˆD�‰Nô +Ø—H‘H˜]Ó+¬\¸3×@WÑ@Wó÷ ð ð ð	 �Ñô ‰w‰ DˆÓ2Ð2r)   )r-   r   r   r   r   r   r   r    r!   r"   r   )
r   r   r   r   r   r   r    r!   r"   r   )NNNNNNNN)N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r,   Úclassmethodr:   rK   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r0   r%   s   @@r&   r   r   )   sc   ù‡ € ñbðH€Iñ)ð '+÷)ö )ðV ÷
3ô 
3ó ð
3ð ÷B3ò B3ó ÷B3ð B3r)   r   N)rQ   Úbase64r   Úcollections.abcr   Útypingr   Útelegram._passport.credentialsr   Útelegram._passport.datar   r   r   Útelegram._passport.passportfiler	   Útelegram._telegramobjectr
   Útelegram._utils.argumentparsingr   r   r   r   r   Útelegram._utils.typesr   Útelegramr   r   r   © r)   r&   Ú<module>rb      sF   ðñ$ Zå Ý $Ý  å 7ß WÑ WÝ 8Ý 3÷õ õ +çß)ôm3˜~ö m3r)   