Ë
    Q5ýjxó  ã            #       ó¶  — U d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlmZ ddlmZmZ ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddl Z	 ddl!Z!d„ Z%d„ Z&ejN                  jQ                  d«      Z)e)rUddl*Z+ddl,Z,e+jZ                  Z.e+j^                  j`                  jb                  Z2 G d„ d	e.«      Z3 G d
„ de,jh                  «      Z5n
 G d„ d«      Z5e)Z6dejn                  e8z  dejr                  de8dej                  fd„Z:e:Z;eejn                  e8z  ejr                  e8gej                  f   e<d<    G d„ dejz                  j|                  «      Z? G d„ dejz                  j€                  «      ZA G d„ dejz                  j|                  «      ZB G d„ dejz                  j|                  «      ZCejˆ                  jŠ                  ZEd„ ZFd„ ZGd„ ZHd„ ZId„ ZJd „ ZK	 d}d"„ZL	 d~dejn                  e8z  d#ejr                  d$edz  dej                  fd%„ZM	 	 ddejn                  e8z  d#ejr                  d&e!jœ                  d'ejž                  j                   eQz  dz  d$edz  de!j¤                  fd(„ZSd)„ ZT	 	 	 	 d€d,„ZU G d-„ d.ej¬                  «      ZWdd/ddd0d0dd1d!dd!dej°                  eWj²                  fd2ej´                  j¶                  d3eQd4e\dz  d5e8d$eQdz  d6e8d7e]d8e]d9edz  d:eQd;e]d<eQdz  d=e]eQz  ej¼                  z  e!jœ                  z  d*d+d>e8d?eWdej´                  j¶                  f"d@„Z_dAejÀ                  jÂ                  dBebdebfdC„ZcdAejÀ                  jÂ                  dDeQdEebddfdF„Zd	 	 	 	 	 	 	 	 	 d�d2ej´                  j¶                  d3eQdGeQd4e\dz  d5e8d$eQdz  d6e8d7e]d8e]d=e]eQz  ej¼                  z  e!jœ                  z  d;e]dHejÀ                  jÊ                  dz  dej´                  j¶                  fdI„ZfdJ„ ZgdK„ Zh	 d~dLedMej´                  j¶                  ebz  dNedOe\dz  deie8e\f   f
dP„Zj	 	 	 	 	 	 	 	 	 	 d‚dLedNedz  dOe\dz  dQe]d7e]dRekejž                  j                   ejØ                  jÚ                  f   dz  dSebdz  d8e]dTe]dUe]dVej´                  j¶                  dz  defdW„Zn	 	 	 	 	 	 	 	 	 	 dƒd2ej´                  j¶                  d3eQd4e\dz  d5e8d$eQdz  d6e8dQe]d7e]d8e]dTe]dLedz  dUe]dej´                  j¶                  fdY„Zo	 	 	 	 	 	 	 	 	 	 d„d2ej´                  j¶                  d3eQd4e\dz  d5e8d$eQdz  d6e8dQe]d7e]d8e]dZedz  d[edz  dUe]deiej´                  j¶                  e]f   fd\„Zpd]„ Zqd^„ Zr	 d~dLedMej´                  j¶                  ebz  dOe\dz  deie8e\f   fd_„Zs	 	 	 	 	 d…dLedOe\dz  d7e]dRekejž                  j                   ejØ                  jÚ                  f   dz  dSebdz  d8e]deiej´                  j¶                  e\f   fd`„Ztda„ Zu	 	 	 	 	 	 	 d†d2ej´                  j¶                  d3eQd4e\dz  d5e8d$eQdz  d6e8d7e]d8e]dLedz  dej´                  j¶                  fdb„Zvdc„ Zw	 	 	 d‡d=e]eQz  ej¼                  z  dde]deexeQ   dz  de!jœ                  fdf„Zyd'eQdz  d=e]eQz  ej¼                  z  de!jœ                  fdg„Zz	 	 	 	 	 	 	 	 	 	 dˆd2ej´                  j¶                  d3eQd4e\dz  d5e8d$eQdz  d6e8d7e]d8e]dLe!j¤                  dz  d&e!jœ                  dz  d'eQdz  d=e]eQz  ej¼                  z  dej´                  j¶                  fdh„Z{	 	 	 	 	 	 	 	 	 	 d‰d2ej´                  j¶                  d3eQd4e\dz  d5e8d$eQdz  d6e8d7e]d8e]dHejÀ                  jÊ                  dz  d=e]eQz  ej¼                  z  dieQdz  d'eQdz  dej´                  j¶                  fdj„Z` G dk„ dlej¬                  «      Z|dmejú                  jü                  dnej                  e!j¤                  z  dVej´                  j¶                  doe8dz  d4e\dz  dOe\dz  dpe]defdq„Ze�j                   �j                  e�j                  �j                  ddXddd!ddddd0ejØ                  �j                  d!fd3eQdrejž                  j                   eQz  dse�j                   �j
                  eQz  dte�j                  �j                  eQz  d4e\dz  d5e8dRekejž                  j                   ejØ                  jÚ                  f   dz  duejž                  j                   eQz  dz  dve]dwe\dz  d$eQdz  d6e8doe8dxe]dyejž                  j                   eQz  dpe]def"dz„ZDddXdddde|�j                  d!fd3eQdmejú                  jü                  dVej´                  j¶                  dz  d5e8d4e\dz  dwe\dz  d$eQdz  d6e8d{e|dpe]ddfd|„Zˆy# e"$ r
 ddl#m$Z! Y �	Œ\w xY w)ŠzTalk to a DNS server.é    N)ÚCallable)ÚAnyÚcastc                 óx   — | €y | t        j                   «       z
  }|dk  rt        j                  j                  ‚|S )Nç        )ÚtimeÚdnsÚ	exceptionÚTimeout)Ú
expirationÚtimeouts     úC/root/telegram-saas/.venv/lib/python3.12/site-packages/dns/query.pyÚ
_remainingr   7   s7   € ØÐØØœ4Ÿ9™9›;Ñ&€GØ�#‚~Ü�m‰m×#Ñ#Ð#Ø€Nó    c                 óJ   — |€y t        t        j                  «       | z   |«      S ©N)Úminr   )r   r   s     r   Ú_expiration_for_this_attemptr   @   s#   € ØÐØÜŒt�y‰y‹{˜WÑ$ jÓ1Ð1r   Údohc                   ó2   ‡ — e Zd Zˆ fd„Z	 dd„Z	 dd„Zˆ xZS )Ú_NetworkBackendc                 óZ   •— t         ‰| �  «        || _        || _        || _        || _        y r   )ÚsuperÚ__init__Ú_local_portÚ	_resolverÚ_bootstrap_addressÚ_family)ÚselfÚresolverÚ
local_portÚbootstrap_addressÚfamilyÚ	__class__s        €r   r   z_NetworkBackend.__init__O   s,   ø€ Ü‰GÑÔØ)ˆDÔØ%ˆDŒNØ&7ˆDÔ#Ø!ˆD�Lr   c                 ót  — g }t        |«      \  }}t        j                  j                  |«      r|j	                  |«       nŽ| j
                  �|j	                  | j
                  «       nft        |«      }| j                  }	|rt        j                  j                  |«      }	| j                  j                  ||	|¬«      }
|
j                  «       }|D ]Æ  }t        j                  j                  |«      }|€| j                  dk7  r1|€d}t        j                  j                  || j                  f|«      }nd }	 t        |t        j                   |«      }t#        d|«      }t%        |t        j                  j                  ||f|«      |«       t'        |«      c S  t*        j,                  ‚# t(        $ r Y Œäw xY w)N)r#   Úlifetimer   z0.0.0.0g       @)Ú_compute_timesr	   ÚinetÚ
is_addressÚappendr   r   r   Úaf_for_addressr   Úresolve_nameÚ	addressesr   Úlow_level_address_tupleÚmake_socketÚsocketÚSOCK_STREAMr   Ú_connectÚ_CoreSyncStreamÚ	ExceptionÚ	httpcore2ÚConnectError)r   ÚhostÚportr   Úlocal_addressÚsocket_optionsr-   Ú_r   r#   ÚanswersÚaddressÚafÚsourceÚsockÚattempt_expirations                   r   Úconnect_tcpz_NetworkBackend.connect_tcpV   s˜  € ð ˆIÜ*¨7Ó3‰MˆAˆzÜ�x‰x×"Ñ" 4Ô(Ø× Ñ  Õ&Ø×(Ñ(Ð4Ø× Ñ  ×!8Ñ!8Õ9ä$ ZÓ0�ØŸ™�Ù Ü ŸX™X×4Ñ4°]ÓC�FØŸ.™.×5Ñ5Ø °'ð 6ó �ð $×-Ñ-Ó/�	Ø$ò �Ü—X‘X×,Ñ,¨WÓ5�Ø Ð,°×0@Ñ0@ÀAÒ0EØ$Ð,Ø(1˜Ü ŸX™X×=Ñ=Ø&¨×(8Ñ(8Ð9¸2ó‘Fð "�Fð
Ü& r¬6×+=Ñ+=¸vÓF�DÜ)EÀcÈ:Ó)VÐ&ÜØÜŸ™×8Ñ8¸'À4¸È"ÓMØ*ôô
 +¨4Ó0Ò0ð%ô* ×(Ñ(Ð(øô !ò Ùðús   Ä9AF+Æ+	F7Æ6F7c                 ó   — t         ‚r   ©ÚNotImplementedError)r   Úpathr   r:   s       r   Úconnect_unix_socketz#_NetworkBackend.connect_unix_socket   s
   € ô &Ð%r   )NNN©NN)Ú__name__Ú
__module__Ú__qualname__r   rB   rG   Ú__classcell__©r$   s   @r   r   r   N   s   ø„ ô	"ð PTó'	)ðT 6:÷	&r   r   c                   ó>   ‡ — e Zd Zdddej                  dœˆ fd„
Zˆ xZS )Ú_HTTPTransportr   N©r!   r"   r    r#   c                ó¢   •— |€ |€dd l }|j                  j                  «       }t        ‰| �  |i |¤Ž t        ||||«      | j                  _        y ©Nr   )Údns.resolverr    ÚResolverr   r   r   Ú_poolÚ_network_backend)	r   r!   r"   r    r#   ÚargsÚkwargsr	   r$   s	           €r   r   z_HTTPTransport.__init__…   sS   ø€ ð ÐÐ$5Ð$=ã#àŸ<™<×0Ñ0Ó2�Ü‰GÑ˜dÐ- fÒ-Ü*9Ø˜*Ð&7¸ó+ˆD�J‰JÕ'r   )rI   rJ   rK   r0   Ú	AF_UNSPECr   rL   rM   s   @r   rO   rO   „   s!   ø„ ð Ø"ØØ×#Ñ#÷	ò 	r   rO   c                   ó8   — e Zd Zdddej                  dœd„Zd„ Zy)rO   r   NrP   c                 ó   — y r   © )r   r!   r"   r    r#   rW   rX   s          r   r   z_HTTPTransport.__init__›   s   € ð r   c                 ó   — t         ‚r   rD   )r   r7   r8   r   r9   s        r   rB   z_HTTPTransport.connect_tcp¦   ó   € Ü%Ð%r   )rI   rJ   rK   r0   rY   r   rB   r\   r   r   rO   rO   š   s    „ ð Ø"ØØ×#Ñ#ô		ó	&r   r>   ÚkindÚprotoÚreturnc                 ó0   — t        j                   | ||«      S r   )r0   )r>   r_   r`   s      r   Údefault_socket_factoryrc   ­   s   € ô
 �=‰=˜˜T 5Ó)Ð)r   Úsocket_factoryc                   ó   — e Zd ZdZy)ÚUnexpectedSourcez=A DNS query response came from an unexpected address or port.N©rI   rJ   rK   Ú__doc__r\   r   r   rf   rf   ¼   s   „ ÚGr   rf   c                   ó   — e Zd ZdZy)ÚBadResponsez<A DNS query response does not respond to the question asked.Nrg   r\   r   r   rj   rj   À   s   „ ÚFr   rj   c                   ó   — e Zd ZdZy)ÚNoDOHzNDNS over HTTPS (DOH) was requested but the httpx2 module is not
    available.Nrg   r\   r   r   rl   rl   Ä   ó   „ òr   rl   c                   ó   — e Zd ZdZy)ÚNoDOQzNDNS over QUIC (DOQ) was requested but the aioquic module is not
    available.Nrg   r\   r   r   ro   ro   É   rm   r   ro   c                 óD   — t        j                   «       }| €|d fS ||| z   fS r   )r   )r   Únows     r   r'   r'   Ò   s+   € Ü
�)‰)‹+€CØ€Ø�Tˆ{Ðà�S˜7‘]Ð#Ð#r   c                 ó  — |r.t        | t        j                  «      r| j                  «       dkD  ryt	        j
                  «       5 }d}|r|t        j                  z  }|r|t        j                  z  }|r|j                  | |«       |€d }n6|t        j                  «       z
  }|dk  rt        j                  j                  ‚|j                  |«      st        j                  j                  ‚	 d d d «       y # 1 sw Y   y xY w)Nr   Tr   )Ú
isinstanceÚsslÚ	SSLSocketÚpendingÚ	selectorsÚDefaultSelectorÚ
EVENT_READÚEVENT_WRITEÚregisterr   r	   r
   r   Úselect)ÚfdÚreadableÚwritabler;   r   ÚselÚeventsr   s           r   Ú	_wait_forr‚   Ú   sÖ   € ñ ”J˜r¤3§=¡=Ô1°b·j±j³lÀQÒ6FØÜ	×	"Ñ	"Ó	$ð (¨ØˆÙØ”i×*Ñ*Ñ*ˆFÙØ”i×+Ñ+Ñ+ˆFÙØ�L‰L˜˜VÔ$ØÐØ‰Gà ¤4§9¡9£;Ñ.ˆGØ˜#Š~Ü—m‘m×+Ñ+Ð+Ø�z‰z˜'Ô"Ü—-‘-×'Ñ'Ð'ð #÷(÷ (ñ (ús   ÁB'C6Ã6C?c                 ó"   — t        | ddd|«       y )NTF©r‚   ©Úsr   s     r   Ú_wait_for_readabler‡   ö   s   € Üˆa��u˜d JÕ/r   c                 ó"   — t        | ddd|«       y )NFTr„   r…   s     r   Ú_wait_for_writabler‰   ú   s   € Üˆa�˜˜d JÕ/r   c                 óú   — 	 t         j                  j                  | |d   «      }t         j                  j                  | |d   «      }||k(  xr |dd  |dd  k(  S # t         j                  j                  $ r Y yw xY w)Nr   Fé   )r	   r(   Ú	inet_ptonr
   ÚSyntaxError)r>   Úa1Úa2Ún1Ún2s        r   Ú_addresses_equalr’   þ   s{   € ðÜ�X‰X×Ñ  B q¡EÓ*ˆÜ�X‰X×Ñ  B q¡EÓ*ˆð �‰8Ò(˜˜1˜2˜ " Q R &Ñ(Ð(øô �=‰=×$Ñ$ò Ùðús   ‚AA ÁA:Á9A:c                 ó¦   — |syt        | ||«      s-t        j                  j                  |d   «      r|dd  |dd  k(  ry|ryt	        d|› d|› �«      ‚)NTr   r‹   Fzgot a response from z instead of )r’   r	   r(   Úis_multicastrf   )r>   Úfrom_addressÚdestinationÚignore_unexpecteds       r   Ú_matches_destinationr˜   
  sh   € ñ ØÜ˜˜L¨+Ô6Ü�‰×Ñ˜k¨!™nÔ-°,¸q¸rÐ2BÀkÐRSÐRTÀoÒ2UàÙ	ØÜ
Ø
˜|˜n¨L¸[¸MÐJóð r   Tc                 óî  — d }d }	 t         j                  j                  | «      }| }|r3t         j                  j                  |«      }|r||k7  rt	        d«      ‚|}|r"|s 	 t         j                  j                  |«      }|r"t         j                  j                  ||f|«      }|r"t         j                  j                  ||f|«      }|||fS # t        $ r |r‚ Y Œ´w xY w# t        $ r t	        d«      ‚w xY w)Nz5different address families for source and destinationz3source_port specified but address family is unknown)r	   r(   r+   r4   Ú
ValueErrorÚ
any_for_afr.   )Úwherer8   r?   Úsource_portÚwhere_must_be_addressr>   r–   Úsafs           r   Ú_destination_and_sourcer      s
  € ð
 
€BØ€KðÜ�X‰X×$Ñ$ UÓ+ˆØˆñ
 Ü�h‰h×%Ñ% fÓ-ˆÙà�bŠyÜ ØKóð ð ˆBÙ™6ð	TÜ—X‘X×(Ñ(¨Ó,ˆFñ Ü—h‘h×6Ñ6¸ÀTÐ7JÈBÓOˆÙÜ—‘×1Ñ1°6¸;Ð2GÈÓLˆØ�˜VÐ$Ð$øô? ò Ù Øñ !ðûô, ò 	TäÐRÓSÐSð	Tús   †!C Á!C ÃCÃCÃC4Útyper?   c                 ó¦   — t        | |d«      }	 |j                  d«       |�|j                  |«       |S # t        $ r |j	                  «        ‚ w xY w)a	  Make a socket using the module's ``socket_factory``.

    :param af: Address family: ``socket.AF_INET`` or ``socket.AF_INET6``.
    :type af: ``socket.AddressFamily`` or int
    :param type: Socket type, e.g. ``socket.SOCK_DGRAM`` or
        ``socket.SOCK_STREAM``.  The ``proto`` is always 0, so datagram
        sockets are UDP and stream sockets are TCP.
    :type type: ``socket.SocketKind``
    :param source: Source address/port tuple to bind to, or ``None`` (bind
        to wildcard address and random port).
    r   F)rd   ÚsetblockingÚbindr4   Úclose)r>   r¡   r?   r†   s       r   r/   r/   F  sT   € ô  	�r˜4 Ó#€AðØ	�‰�eÔØÐØ�F‰F�6ŒNØˆøÜò Ø	�‰Œ	Øðús	   �%5 µAÚssl_contextÚserver_hostnamec                 ó¬   — t        | ||«      }t        |t        j                  j                  «      r|j                  «       }|j                  |d|¬«      S )a&  Make an SSL socket using the module's ``socket_factory``.

    :param af: Address family: ``socket.AF_INET`` or ``socket.AF_INET6``.
    :type af: ``socket.AddressFamily`` or int
    :param type: Socket type, e.g. ``socket.SOCK_DGRAM`` or
        ``socket.SOCK_STREAM``.
    :type type: ``socket.SocketKind``
    :param ssl_context: The SSL context to use, typically created with
        :py:func:`make_ssl_context`.
    :type ssl_context: ``ssl.SSLContext``
    :param server_hostname: The hostname for server certificate validation,
        or ``None``.  Required when *ssl_context* uses hostname checking.
    :type server_hostname: :py:class:`dns.name.Name` or str or ``None``
    :param source: Source address/port tuple to bind to, or ``None`` (bind
        to wildcard address and random port).
    F)Údo_handshake_on_connectr§   )r/   rs   r	   ÚnameÚNameÚto_textÚwrap_socket)r>   r¡   r¦   r§   r?   r@   s         r   Úmake_ssl_socketr®   a  sS   € ô. �r˜4 Ó(€DÜ�/¤3§8¡8§=¡=Ô1Ø)×1Ñ1Ó3ˆà×"Ñ"ØØ %Ø'ð #ó ð r   c                 ó>   — |�t        | ||||«      S t        | ||«      S r   )r®   r/   )r>   r¡   r?   r¦   r§   s        r   Ú_make_socketr°   „  s,   € ð ÐÜ˜r 4¨°oÀvÓNÐNä˜2˜t VÓ,Ð,r   r    údns.resolver.Resolver | Nonec                 óF   — | €dd l }|j                  j                  «       } | S rR   )rS   r    rT   )r    r	   s     r   Ú_maybe_get_resolverr³   ‘  s$   € ð Ðãà—<‘<×(Ñ(Ó*ˆØ€Or   c                   ó,   — e Zd ZdZdZdZdZdZdZdZ	dZ
y)ÚHTTPVersionz†Which version of HTTP should be used?

    DEFAULT will select the first version from the list [2, 1.1, 3] that
    is available.
    r   r‹   é   é   N)rI   rJ   rK   rh   ÚDEFAULTÚHTTP_1ÚH1ÚHTTP_2ÚH2ÚHTTP_3ÚH3r\   r   r   rµ   rµ   Ÿ  s,   „ ñð €GØ€FØ	
€BØ€FØ	
€BØ€FØ	
�Br   rµ   é»  Fz
/dns-queryÚqrœ   r   r8   r�   Úone_rr_per_rrsetÚignore_trailingÚsessionrF   Úpostr"   Úverifyr#   Úhttp_versionc                 óŽ  — t         j                  j                  |«      }|�|}t        ||||d«      \  }}}|}|�Zt         j                  j                  |«      r;|t        j                  k(  rd|› d|› |	› �}n|t        j                  k(  r
d|› d|› |	› �}i }|€’t        j                  j                  |«      }|j                  €t        d«      ‚t         j                  j                  |j                  «      r|j                  }|j                  |d<   |j                  �|j                  }|t        j                   k(  s|t        j"                  k(  r±t$        s«|€at'        |«      }j                  €J ‚|j)                  |j                  |«      }t+        j,                  t/        |j1                  «       «      «      }|r/t3        |t         j4                  j6                  «      st        d	«      ‚t9        | ||||||||||
|¬
«      S t$        st:        ‚|r%t3        |t<        j>                  «      st        d«      ‚| jA                  «       }ddi}|t        jB                  t        j"                  fv }|t        jD                  t        j"                  fv }|€d}d}n
|d   }|d   }|rtG        jH                  |«      }n,tK        ||||||||¬«      }t=        j>                  ||||¬«      }|5 }|€J ‚|
r=|jM                  dtO        tQ        |«      «      dœ«       |jS                  |||||¬«      } nLtU        jV                  |«      jY                  d«      }|j[                  «       }!|j]                  |||d|!i|¬«      } ddd«        j^                  dk  s| j^                  dkD  r't        |› d| j^                  › d| j`                  › �«      ‚t         jb                  je                  | j`                  | jf                  | jh                  ||¬«      }"| jj                  jm                  «       |"_7        | jq                  |"«      str        ‚|"S # 1 sw Y   ŒÈxY w)aA	  Return the response obtained after sending a query via DNS-over-HTTPS.

    :param q: The query to send.
    :type q: :py:class:`dns.message.Message`
    :param where: The nameserver IP address or full URL.  If an IP address is
        given, the URL is constructed as
        ``https://<IP-address>:<port>/<path>``.
    :type where: str
    :param timeout: Seconds to wait before timing out.  ``None`` means wait
        forever.
    :type timeout: float or ``None``
    :param port: The port to send the query to.  Default is 443.
    :type port: int
    :param source: Source IPv4 or IPv6 address.  Default is the wildcard
        address.
    :type source: str or ``None``
    :param source_port: The port from which to send the message.  Default is
        0.
    :type source_port: int
    :param one_rr_per_rrset: If ``True``, put each RR into its own RRset.
    :type one_rr_per_rrset: bool
    :param ignore_trailing: If ``True``, ignore trailing junk at end of the
        received message.
    :type ignore_trailing: bool
    :param session: If provided, the client session to use to send the
        queries.
    :type session: ``httpx2.Client`` or ``None``
    :param path: If *where* is an IP address, *path* is used to construct the
        query URL.
    :type path: str
    :param post: If ``True`` (the default), use the POST method.
    :type post: bool
    :param bootstrap_address: The IP address to use to bypass resolution.
    :type bootstrap_address: str or ``None``
    :param verify: If ``True``, verify the TLS certificate using default CA
        roots; if ``False``, disable verification; if a ``str`` or an
        ``os.PathLike``, path to a certificate file or directory.
    :type verify: bool, str, or os.PathLike
    :param resolver: Resolver to use for hostname resolution in URLs.  If
        ``None``, a new resolver with default configuration is used (not the
        default resolver, to avoid a DoH chicken-and-egg problem).  Only
        effective when using httpx2.
    :type resolver: :py:class:`dns.resolver.Resolver` or ``None``
    :param family: Address family.  ``socket.AF_UNSPEC`` (the default)
        retrieves both A and AAAA records.
    :type family: int
    :param http_version: Which HTTP version to use.
    :type http_version: :py:class:`dns.query.HTTPVersion`
    :rtype: :py:class:`dns.message.Message`
    NFzhttps://ú:z	https://[z]:zno hostname in URLÚsni_hostnamez8session parameter must be a dns.quic.SyncQuicConnection.)rÅ   rÄ   Ú
connectionz*session parameter must be an httpx2.ClientÚacceptzapplication/dns-messager   r‹   )r9   Úhttp1Úhttp2rÅ   r!   r"   r    r#   )rÌ   rÍ   rÅ   Ú	transport)zcontent-typezcontent-length)ÚheadersÚcontentr   Ú
extensionsó   =r	   )rÏ   r   ÚparamsrÑ   éÈ   é+  ú responded with status code z
Response body: ©ÚkeyringÚrequest_macrÁ   rÂ   ):r	   Ú
_file_utilÚas_filenamer    r(   r)   r0   ÚAF_INETÚAF_INET6ÚurllibÚparseÚurlparseÚhostnamerš   r8   rµ   r¾   r¸   Úhave_dohr³   r,   ÚrandomÚchoiceÚlistr-   rs   ÚquicÚSyncQuicConnectionÚ_http3rl   Úhttpx2ÚClientÚto_wirerº   r¼   Ú
contextlibÚnullcontextrO   ÚupdateÚstrÚlenrÄ   Úbase64Úurlsafe_b64encodeÚrstripÚdecodeÚgetÚstatus_coderÐ   ÚmessageÚ	from_wirerØ   ÚmacÚelapsedÚtotal_secondsr   Úis_responserj   )#rÀ   rœ   r   r8   r?   r�   rÁ   rÂ   rÃ   rF   rÄ   r"   rÅ   r    r#   rÆ   Úverify_filenamer>   r;   Ú
the_sourceÚurlrÑ   Úparsedr<   ÚwirerÏ   Úh1Úh2r9   r!   ÚcmrÎ   ÚresponseÚtwireÚrs#                                      r   Úhttpsr  ¯  s+  € ôJ —n‘n×0Ñ0°Ó8€OØÐ"Ø ˆÜ/°°t¸VÀ[ÐRWÓXÑ€Bˆˆ:à
€CØ	€~œ#Ÿ(™(×-Ñ-¨eÔ4Ø”—‘ÒØ˜U˜G 1 T F¨4¨&Ð1‰CØ”6—?‘?Ò"Ø˜e˜W B t f¨T¨FÐ3ˆCà€JØÐ ä—‘×&Ñ& sÓ+ˆØ�?‰?Ð"ÜÐ1Ó2Ð2Ü�8‰8×Ñ˜vŸ™Ô/Ø &§¡ÐØ)/¯©ˆJ�~Ñ&Ø�;‰;Ð"Ø—;‘;ˆDà”{—~‘~Ò%Øœ×+Ñ+Ò+µHàÐ$Ü*¨8Ó4ˆHØ—?‘?Ð.Ð.Ð.Ø×+Ñ+¨F¯O©O¸VÓDˆGÜ &§¡¬d°7×3DÑ3DÓ3FÓ.GÓ HÐÙœ: g¬s¯x©x×/JÑ/JÔKÜÐWÓXÐXÜØØØØØØØØØØØØô
ð 	
õ ÜˆÙ”z '¬6¯=©=Ô9ÜÐEÓFÐFà�9‰9‹;€DØÐ2Ð3€Gà	œ+Ÿ.™.¬+×*=Ñ*=Ð>Ð	>€BØ	œ+Ÿ.™.¬+×*=Ñ*=Ð>Ð	>€Bð ÐØˆØ‰
à" 1™ˆØ ‘]ˆ
áÜ0:×0FÑ0FÀwÓ0O‰ä"Ø'ØØØØ!Ø/ØØô	
ˆ	ô �]‰]Ø˜B v¸ô
ˆð 
ð ˆwð Ð"Ð"Ð"ÙØ�N‰Nà$=Ü&)¬#¨d«)£nñôð —|‘|ØØØØØ%ð $ó ‰Hô ×+Ñ+¨DÓ1×8Ñ8¸Ó>ˆDØ—K‘K“MˆEØ—{‘{ØØØØ˜u�~Ø%ð #ó ˆH÷+ð> ×Ñ˜cÒ! X×%9Ñ%9¸CÒ%?ÜØˆgÐ1°(×2FÑ2FÐ1GØ × 0Ñ 0Ð1ð3ó
ð 	
ô 	�‰×ÑØ×ÑØ—	‘	Ø—E‘EØ)Ø'ð 	ó 	€Að ×Ñ×+Ñ+Ó-€A„FØ�=‰=˜ÔÜÐØ€H÷]ð ús   Ë$BP;Ð;QrÏ   rª   c                 óD   — | €t         ‚| D ]  \  }}||k(  sŒ|c S  t         ‚r   )ÚKeyError)rÏ   rª   ÚheaderÚvalues       r   Ú_find_headerr  {  s2   € Ø€ÜˆØ ò ‰ˆ�Ø�T‹>ØŠLðô €Nr   Úpeerr  c                 ó
  — t        | d«      }|€t        d«      ‚t        |«      }|dk  rt        d«      ‚|dk  s|dkD  r6d}t        |«      dkD  r	 d|j	                  «       z   }t        |› d	|› |› �«      ‚y # t
        $ r Y Œw xY w)
Ns   :statuszno :status header in responser   zstatus is negativerÔ   rÕ   Ú z: rÖ   )r  r�   Úintrð   rô   r4   rš   )rÏ   r  r  r  ÚstatusÚerrors         r   Ú_check_statusr  „  s£   € Ü˜ *Ó-€EØ€}ÜÐ9Ó:Ð:Ü�‹Z€FØ�‚zÜÐ.Ó/Ð/Ø�‚|�v ’|ØˆÜˆt‹9�qŠ=ðØ˜tŸ{™{›}Ñ,�ô ˜D˜6Ð!=¸f¸XÀeÀWÐMÓNÐNð $øô
 ò Ùðús   ÁA6 Á6	BÂBrÿ   rÊ   c                 óÞ  — t         j                  j                  st        d«      ‚t        j
                  j                  |«      }|j                  }|€J ‚|j                  �|j                  }| j                  d«       | j                  «       }|rt        j                  d «      }n$t         j                  j                  |	|d¬«      }|}|5  |r|}nj                  ||||«      }t        |«      \  }}|j!                  |«      5 }|j#                  |||
«       |j%                  t'        |«      «      }t)        |j+                  «       ||«       d d d «       t-        j,                  «       }d d d «       t         j.                  j1                  || j2                  | j4                  ||¬«      }t7        z
  d«      |_        | j9                  |«      st:        ‚|S # 1 sw Y   ŒŠxY w# 1 sw Y   ŒzxY w)Nz DNS-over-HTTP3 is not available.r   T)Úverify_modeÚserver_nameÚh3r×   r   )r	   ræ   Ú	have_quicrl   rÞ   rß   rà   rá   r8   Úset_idrë   rì   rí   ÚSyncQuicManagerÚconnectr'   Úmake_streamÚsend_h3Úreceiver   r  rÏ   r   r÷   rø   rØ   rù   Úmaxrü   rj   )rÀ   rœ   rÿ   r   r8   r?   r�   rÁ   rÂ   rÅ   rÄ   rÊ   Ú	url_partsrá   r  ÚmanagerÚthe_managerÚthe_connectionÚstartr   ÚstreamÚfinishr  s                          r   rè   rè   •  s¼  € ô �8‰8×ÒÜÐ6Ó7Ð7ä—‘×%Ñ% cÓ*€IØ×!Ñ!€HØÐÐÐØ‡~�~Ð!Ø�~‰~ˆà‡H�HˆQ„KØ�9‰9‹;€Dñ Ü5?×5KÑ5KÈDÓ5Q‰ä—(‘(×*Ñ*Ø¨H¸ð +ó 
ˆð ˆà	ñ ÙØ'‰Nà(×0Ñ0Ø�t˜V [óˆNô +¨7Ó3ÑˆˆzØ×'Ñ'¨Ó0ð 	9°FØ�N‰N˜3  dÔ+Ø—>‘>¤*¨ZÓ"8Ó9ˆDÜ˜&Ÿ.™.Ó*¨E°4Ô8÷	9ô —‘“ˆ÷ô 	�‰×ÑØØ—	‘	Ø—E‘EØ)Ø'ð 	ó 	€Aô �˜%‘ Ó%€A„FØ�=‰=˜ÔÜÐØ€H÷	9ð 	9ú÷ð ús%   Ã9G#ÄA	GÅG#ÇG 	ÇG#Ç#G,c                 ó`   — 	 	 | j                  |«      S # t        $ r t        | |«       Y nw xY wŒ.)z‹Reads a datagram from the socket.
    A Timeout exception will be raised if the operation is not completed
    by the expiration time.
    )ÚrecvfromÚBlockingIOErrorr‡   )r@   Úmax_sizer   s      r   Ú	_udp_recvr,  Ò  s9   € ð
 ð	1Ø—=‘= Ó*Ð*øÜò 	1Ü˜t ZÖ0ð	1úð s   ƒ ”,«,c                 óˆ   — 	 	 |r| j                  ||«      S | j                  |«      S # t        $ r t        | |«       Y nw xY wŒB)z¦Sends the specified datagram to destination over the socket.
    A Timeout exception will be raised if the operation is not completed
    by the expiration time.
    )ÚsendtoÚsendr*  r‰   )r@   Údatar–   r   s       r   Ú	_udp_sendr1  Þ  sL   € ð
 ð	1ÙØ—{‘{ 4¨Ó5Ð5à—y‘y “Ð&øÜò 	1Ü˜t ZÖ0ð	1úð s   ƒ( —( ¨A ¿A r@   Úwhatr–   r   c                 ó¶   — t        |t        j                  j                  «      r|j	                  «       }t        j
                  «       }t        | |||«      }||fS )a"  Send a DNS message to the specified UDP socket.

    :param sock: The socket to use.
    :type sock: socket
    :param what: The message to send.
    :type what: bytes or :py:class:`dns.message.Message`
    :param destination: A destination tuple appropriate for the address family
        of the socket.
    :param expiration: The absolute time at which to raise a timeout
        exception.  ``None`` means no timeout.
    :type expiration: float or ``None``
    :returns: A ``(bytes_sent, sent_time)`` tuple.
    :rtype: tuple[int, float]
    )rs   r	   r÷   ÚMessagerë   r   r1  )r@   r2  r–   r   Ú	sent_timeÚns         r   Úsend_udpr7  í  sH   € ô* �$œŸ™×+Ñ+Ô,Ø�|‰|‹~ˆÜ—	‘	“€IÜ�$˜˜k¨:Ó6€AØˆyˆ>Ðr   r—   rØ   rÙ   Úraise_on_truncationÚignore_errorsÚqueryc                 óÆ  — d}	 t        | d|«      \  }}t        | j                  |||«      sŒ*t        j                  «       }	 t        j
                  j                  ||||||¬«      }|	r|
�|
j                  |«      sŒz|r||fS |||fS # t        j
                  j                  $ r.}|	r&|
�$|
j                  |j                  «       «      sY d}~ŒÊ‚ d}~wt        $ r |	rY ŒÛ‚ w xY w)aì  Read a DNS message from a UDP socket.

    Raises if the message is malformed, if network errors occur, of if
    there is a timeout.

    :param sock: The socket to read from.
    :type sock: socket
    :param destination: Destination tuple indicating where the message is
        expected to arrive from (where the associated query was sent).
        ``None`` means accept from any source.
    :param expiration: The absolute time at which to raise a timeout
        exception.  ``None`` means no timeout.
    :type expiration: float or ``None``
    :param ignore_unexpected: If ``True``, ignore responses from unexpected
        sources.
    :type ignore_unexpected: bool
    :param one_rr_per_rrset: If ``True``, put each RR into its own RRset.
    :type one_rr_per_rrset: bool
    :param keyring: The keyring to use for TSIG.
    :type keyring: dict or ``None``
    :param request_mac: The MAC of the request (for TSIG).
    :type request_mac: bytes or ``None``
    :param ignore_trailing: If ``True``, ignore trailing junk at end of the
        received message.
    :type ignore_trailing: bool
    :param raise_on_truncation: If ``True``, raise an exception if the TC
        bit is set.
    :type raise_on_truncation: bool
    :param ignore_errors: If ``True``, ignore format errors or response
        mismatches and keep listening for a valid response.
    :type ignore_errors: bool
    :param query: If not ``None`` and *ignore_errors* is ``True``, verify
        the received message is a response to this query.
    :type query: :py:class:`dns.message.Message` or ``None``
    :returns: If *destination* is not ``None``, a
        ``(message, received_time)`` tuple; otherwise a
        ``(message, received_time, from_address)`` tuple.
    :rtype: tuple
    r   éÿÿ  )rØ   rÙ   rÁ   rÂ   r8  N)
r,  r˜   r#   r   r	   r÷   rø   Ú	Truncatedrü   r4   )r@   r–   r   r—   rÁ   rØ   rÙ   rÂ   r8  r9  r:  r  r•   Úreceived_timer  Úes                   r   Úreceive_udpr@  	  sý   € ðj €DØ
Ü& t¨U°JÓ?ÑˆˆlÜ#Ø�K‰K˜ {Ð4Eô
ð ÜŸ	™	›ˆð	Ü—‘×%Ñ%ØØØ'Ø!1Ø /Ø$7ð &ó ˆAñ6 ˜UÐ.°u×7HÑ7HÈÔ7KØÙØ�}Ð%Ð%à�} lÐ3Ð3øô1 �{‰{×$Ñ$ò 	ñ ØÐ%Ø×)Ñ)¨!¯)©)«+Ô6äàûÜò 	ÙÙàð		ús$   Á%B ÂC Â%#CÃCÃC ÃC é5   c                 óÆ  — | j                  «       }t        ||||d«      \  }}}t        |«      \  }}|
rt        j                  |
«      }n|€J ‚t        |t        j                  |«      }|5 }t        ||||«       t        |||||| j                  | j                  ||	|| «      \  }}||z
  |_        |s| j                  |«      st        ‚|cddd«       S # 1 sw Y   nxY w	 J ‚)aU  Return the response obtained after sending a query via UDP.

    :param q: The query to send.
    :type q: :py:class:`dns.message.Message`
    :param where: IPv4 or IPv6 address of the nameserver.
    :type where: str
    :param timeout: Seconds to wait before timing out.  ``None`` means wait
        forever.
    :type timeout: float or ``None``
    :param port: The port to send the message to.  Default is 53.
    :type port: int
    :param source: Source IPv4 or IPv6 address.  Default is the wildcard
        address.
    :type source: str or ``None``
    :param source_port: The port from which to send the message.  Default
        is 0.
    :type source_port: int
    :param ignore_unexpected: If ``True``, ignore responses from unexpected
        sources.
    :type ignore_unexpected: bool
    :param one_rr_per_rrset: If ``True``, put each RR into its own RRset.
    :type one_rr_per_rrset: bool
    :param ignore_trailing: If ``True``, ignore trailing junk at end of the
        received message.
    :type ignore_trailing: bool
    :param raise_on_truncation: If ``True``, raise an exception if the TC
        bit is set.
    :type raise_on_truncation: bool
    :param sock: The socket to use.  If ``None`` (the default), a socket is
        created.  If provided, must be a nonblocking datagram socket; *source*
        and *source_port* are ignored.
    :type sock: ``socket.socket`` or ``None``
    :param ignore_errors: If ``True``, ignore format errors or response
        mismatches and keep listening for a valid response.
    :type ignore_errors: bool
    :rtype: :py:class:`dns.message.Message`
    TN)rë   r    r'   rì   rí   r/   r0   Ú
SOCK_DGRAMr7  r@  rØ   rù   r   rü   rj   )rÀ   rœ   r   r8   r?   r�   r—   rÁ   rÂ   r8  r@   r9  r  r>   r–   Ú
begin_timer   r  r†   r  r>  s                        r   ÚudprE  j  s  € ðh �9‰9‹;€DÜ5Øˆt�V˜[¨$óÑ€Bˆ�Vô ,¨GÓ4Ñ€J�
ÙÜ0:×0FÑ0FÀtÓ0L‰àˆ~Ðˆ~Ü˜œV×.Ñ.°Ó7ˆØ	ð ˆqÜ��D˜+ zÔ2Ü&ØØØØØØ�I‰IØ�E‰EØØØØó
Ñˆˆ=ð  Ñ+ˆŒñ  §¡¨qÔ!1ÜÐØ÷)÷ ò úð, 	ðØs   Á+ACÃCÚudp_sockÚtcp_sockc                 ó¬   — 	 t        | ||||||||d|	|«      }|dfS # t        j                  j                  $ r t	        | ||||||||
«	      }|dfcY S w xY w)aÑ  Return the response to the query, trying UDP first and falling back
    to TCP if UDP results in a truncated response.

    :param q: The query to send.
    :type q: :py:class:`dns.message.Message`
    :param where: IPv4 or IPv6 address of the nameserver.
    :type where: str
    :param timeout: Seconds to wait before timing out.  ``None`` means wait
        forever.
    :type timeout: float or ``None``
    :param port: The port to send the message to.  Default is 53.
    :type port: int
    :param source: Source IPv4 or IPv6 address.  Default is the wildcard
        address.
    :type source: str or ``None``
    :param source_port: The port from which to send the message.  Default
        is 0.
    :type source_port: int
    :param ignore_unexpected: If ``True``, ignore responses from unexpected
        sources.
    :type ignore_unexpected: bool
    :param one_rr_per_rrset: If ``True``, put each RR into its own RRset.
    :type one_rr_per_rrset: bool
    :param ignore_trailing: If ``True``, ignore trailing junk at end of the
        received message.
    :type ignore_trailing: bool
    :param udp_sock: The socket to use for the UDP query.  If ``None``
        (the default), a socket is created.  If provided, must be a
        nonblocking datagram socket; *source* and *source_port* are ignored.
    :type udp_sock: ``socket.socket`` or ``None``
    :param tcp_sock: The connected socket to use for the TCP query.  If
        ``None`` (the default), a socket is created.  If provided, must be a
        nonblocking connected stream socket; *where*, *source* and
        *source_port* are ignored.
    :type tcp_sock: ``socket.socket`` or ``None``
    :param ignore_errors: If ``True``, ignore UDP format errors or response
        mismatches and keep listening for a valid response.
    :type ignore_errors: bool
    :returns: A ``(message, used_tcp)`` tuple; *used_tcp* is ``True`` if and
        only if TCP was used.
    :rtype: tuple[:py:class:`dns.message.Message`, bool]
    TF)rE  r	   r÷   r=  Útcp)rÀ   rœ   r   r8   r?   r�   r—   rÁ   rÂ   rF  rG  r9  r  s                r   Úudp_with_fallbackrJ  Â  sŽ   € ðp ÜØØØØØØØØØØØØó
ˆð ˜%Ð Ð øÜ�;‰;× Ñ ò  ÜØØØØØØØØØó

ˆð ˜$ÐÒð ús   ‚ œ4AÁAc                 ó   — d}|dkD  r;	 | j                  |«      }|dk(  rt        d«      ‚|t        |«      z  }||z  }|dkD  rŒ;|S # t        t        j
                  f$ r t        | |«       Y Œ/t        j                  $ r t        | |«       Y ŒOw xY w)zßRead the specified number of bytes from sock.  Keep trying until we
    either get the desired amount, or we hit EOF.
    A Timeout exception will be raised if the operation is not completed
    by the expiration time.
    r   r   ÚEOF)	ÚrecvÚEOFErrorrð   r*  rt   ÚSSLWantReadErrorr‡   ÚSSLWantWriteErrorr‰   )r@   Úcountr   r†   r6  s        r   Ú	_net_readrR    s˜   € ð 	€AØ
�!Š)ð		1Ø—	‘	˜%Ó ˆAØ�CŠxÜ˜u“oÐ%Ø”S˜“V‰OˆEØ�‰FˆAð �!‹)ð €Høô	  ¤×!5Ñ!5Ð6ò 	1Ü˜t ZÖ0Ü×$Ñ$ò 	1Ü˜t ZÖ0ð	1ús   ‰4A Á%BÁ,BÂBc                 óü   — d}t        |«      }||k  r	 || j                  ||d «      z  }||k  rŒyy# t        t        j                  f$ r t        | |«       Y Œ/t        j                  $ r t        | |«       Y ŒOw xY w)z‘Write the specified data to the socket.
    A Timeout exception will be raised if the operation is not completed
    by the expiration time.
    r   N)rð   r/  r*  rt   rP  r‰   rO  r‡   )r@   r0  r   ÚcurrentÚls        r   Ú
_net_writerV  .  s~   € ð
 €GÜˆD‹	€AØ
�AŠ+ð	1Ø�t—y‘y  g h Ó0Ñ0ˆGð �A�+øô  ¤×!6Ñ!6Ð7ò 	1Ü˜t ZÖ0Ü×#Ñ#ò 	1Ü˜t ZÖ0ð	1ús   ”3 ³%A;ÁA;Á:A;c                 ó  — t        |t        j                  j                  «      r|j	                  d¬«      }nt        |«      j                  dd«      |z   }t        j                  «       }t        | ||«       t        |«      |fS )a¼  Send a DNS message to the specified TCP socket.

    :param sock: The socket to use.
    :type sock: socket
    :param what: The message to send.
    :type what: bytes or :py:class:`dns.message.Message`
    :param expiration: The absolute time at which to raise a timeout
        exception.  ``None`` means no timeout.
    :type expiration: float or ``None``
    :returns: A ``(bytes_sent, sent_time)`` tuple.
    :rtype: tuple[int, float]
    T)Úprepend_lengthr¶   Úbig)	rs   r	   r÷   r4  rë   rð   Úto_bytesr   rV  )r@   r2  r   Útcpmsgr5  s        r   Úsend_tcpr\  >  sk   € ô$ �$œŸ™×+Ñ+Ô,Ø—‘¨T�Ó2‰ô
 �T“×#Ñ# A uÓ-°Ñ4ˆÜ—	‘	“€IÜˆt�V˜ZÔ(Ü�‹K˜Ð#Ð#r   c                 óÞ   — t        | d|«      }t        j                  d|«      \  }t        | ||«      }t        j                  «       }	t        j
                  j                  |||||¬«      }
|
|	fS )a   Read a DNS message from a TCP socket.

    :param sock: The socket to read from.
    :type sock: socket
    :param expiration: The absolute time at which to raise a timeout
        exception.  ``None`` means no timeout.
    :type expiration: float or ``None``
    :param one_rr_per_rrset: If ``True``, put each RR into its own RRset.
    :type one_rr_per_rrset: bool
    :param keyring: The keyring to use for TSIG.
    :type keyring: dict or ``None``
    :param request_mac: The MAC of the request (for TSIG).
    :type request_mac: bytes or ``None``
    :param ignore_trailing: If ``True``, ignore trailing junk at end of the
        received message.
    :type ignore_trailing: bool
    :returns: A ``(message, received_time)`` tuple.
    :rtype: tuple[:py:class:`dns.message.Message`, float]
    r¶   ú!Hr×   )rR  ÚstructÚunpackr   r	   r÷   rø   )r@   r   rÁ   rØ   rÙ   rÂ   ÚldatarU  r  r>  r  s              r   Úreceive_tcprb  \  sr   € ô8 �d˜A˜zÓ*€EÜ�=‰=˜˜uÓ%�D€QÜ�T˜1˜jÓ)€DÜ—I‘I“K€MÜ�‰×ÑØØØØ)Ø'ð 	ó 	€Að ˆ}ÐÐr   c                 óP  — | j                  |«      }|dk(  ry |t        j                  t        j                  t        j                  fv r:t        | |«       | j                  t        j                  t        j                  «      }|dk7  rt        |t        j                  |«      «      ‚y rR   )Ú
connect_exÚerrnoÚEINPROGRESSÚEWOULDBLOCKÚEALREADYr‰   Ú
getsockoptr0   Ú
SOL_SOCKETÚSO_ERRORÚOSErrorÚosÚstrerror)r†   r=   r   Úerrs       r   r2   r2   †  s   € Ø
�,‰,�wÓ
€CØ
ˆa‚xØØ
Œu× Ñ ¤%×"3Ñ"3´U·^±^ÐDÑDÜ˜1˜jÔ)Ø�l‰lœ6×,Ñ,¬f¯o©oÓ>ˆØ
ˆa‚xÜ�cœ2Ÿ;™; sÓ+Ó,Ð,ð r   c	           	      óÔ  — | j                  «       }	t        |«      \  }
}|rt        j                  |«      }n2t	        ||||d«      \  }}}|€J ‚t        |t        j                  |«      }|5 }|st        ||«       t        ||	|«       t        |||| j                  | j                  |«      \  }}||
z
  |_        | j                  |«      st        ‚|cddd«       S # 1 sw Y   nxY w	 J ‚)aÝ  Return the response obtained after sending a query via TCP.

    :param q: The query to send.
    :type q: :py:class:`dns.message.Message`
    :param where: IPv4 or IPv6 address of the nameserver.
    :type where: str
    :param timeout: Seconds to wait before timing out.  ``None`` means wait
        forever.
    :type timeout: float or ``None``
    :param port: The port to send the message to.  Default is 53.
    :type port: int
    :param source: Source IPv4 or IPv6 address.  Default is the wildcard
        address.
    :type source: str or ``None``
    :param source_port: The port from which to send the message.  Default
        is 0.
    :type source_port: int
    :param one_rr_per_rrset: If ``True``, put each RR into its own RRset.
    :type one_rr_per_rrset: bool
    :param ignore_trailing: If ``True``, ignore trailing junk at end of the
        received message.
    :type ignore_trailing: bool
    :param sock: The connected socket to use.  If ``None`` (the default), a
        socket is created.  If provided, must be a nonblocking connected
        stream socket; *where*, *port*, *source* and *source_port* are
        ignored.
    :type sock: ``socket.socket`` or ``None``
    :rtype: :py:class:`dns.message.Message`
    TN)rë   r'   rì   rí   r    r/   r0   r1   r2   r\  rb  rØ   rù   r   rü   rj   )rÀ   rœ   r   r8   r?   r�   rÁ   rÂ   r@   r  rD  r   r  r>   r–   r†   r  r>  s                     r   rI  rI  ‘  sø   € ðR �9‰9‹;€DÜ+¨GÓ4Ñ€J�
ÙÜ0:×0FÑ0FÀtÓ0L‰ä"9Ø�4˜ ¨dó#
ÑˆˆK˜ð ˆ~Ðˆ~Ü˜œV×/Ñ/°Ó8ˆØ	ð ˆqÙä�Q˜ ZÔ0Ü��D˜*Ô%Ü&ØˆzÐ+¨Q¯Y©Y¸¿¹¸ó
Ñˆˆ=ð  Ñ+ˆŒØ�}‰}˜QÔÜÐØ÷÷ ò úð 	ðØs   Á+A&CÃC$c                 ó´   — 	 	 | j                  «        y # t        j                  $ r t        | |«       Y n$t        j                  $ r t        | |«       Y nw xY wŒXr   )Údo_handshakert   rO  r‡   rP  r‰   r…   s     r   Ú_tls_handshakers  Õ  sS   € Ø
ð	.Ø�N‰NÔØøÜ×#Ñ#ò 	.Ü˜q *Ö-Ü×$Ñ$ò 	.Ü˜q *Ö-ð	.úð s   ƒ ”AµAÁAÚcheck_hostnameÚalpnsc                 ó  — t         j                  j                  | «      \  }}t        j                  ||¬«      }t        j
                  j                  |_        ||_        | du rt        j                  |_
        |�|j                  |«       |S )al  Make an SSL context

    If *verify* is ``True``, the default, then certificate verification will occur using
    the standard CA roots.  If *verify* is ``False``, then certificate verification will
    be disabled.  If *verify* is a ``str`` or an ``os.PathLike`` which is a valid
    pathname, then if the pathname is a regular file, the CA roots will be taken from
    the file, otherwise if the pathname is a directory roots will be taken from the
    directory.

    If *check_hostname* is ``True``, the default, then the hostname of the server must
    be specified when connecting and the server's certificate must authorize the
    hostname.  If ``False``, then hostname checking is disabled.

    *aplns* is ``None`` or a list of TLS ALPN (Application Layer Protocol Negotiation)
    strings to use in negotiation.  For DNS-over-TLS, the right value is `["dot"]`.
    )ÚcafileÚcapathF)r	   Ú	_tls_utilÚ#convert_verify_to_cafile_and_capathrt   Úcreate_default_contextÚ
TLSVersionÚTLSv1_2Úminimum_versionrt  Ú	CERT_NONEr  Úset_alpn_protocols)rÅ   rt  ru  rw  rx  r¦   s         r   Úmake_ssl_contextr�  à  sw   € ô* —]‘]×FÑFÀvÓN�N€FˆFÜ×,Ñ,°FÀ6ÔJ€Kô #&§.¡.×"8Ñ"8€KÔØ!/€KÔØ��Ü"%§-¡-ˆÔØÐØ×&Ñ& uÔ-ØÐr   c                 ó"   — t        || d udg«      S )NÚdot)r�  )r§   rÅ   s     r   Ú_make_dot_ssl_contextr„    s   € ô ˜F O¸4Ð$?À%ÀÓIÐIr   c                 ó  — |rt        | ||||||||«	      S | j                  «       }t        |«      \  }}t        ||||d«      \  }}}|€J ‚|	€t	        ||
dudg«      }	t        |t        j                  |	|
|¬«      5 }t        |||«       t        ||«       t        |||«       t        |||| j                  | j                  |«      \  }}||z
  |_        | j                  |«      st         ‚|cddd«       S # 1 sw Y   nxY w	 J ‚)a�  Return the response obtained after sending a query via TLS.

    :param q: The query to send.
    :type q: :py:class:`dns.message.Message`
    :param where: IPv4 or IPv6 address of the nameserver.
    :type where: str
    :param timeout: Seconds to wait before timing out.  ``None`` means wait
        forever.
    :type timeout: float or ``None``
    :param port: The port to send the message to.  Default is 853.
    :type port: int
    :param source: Source IPv4 or IPv6 address.  Default is the wildcard
        address.
    :type source: str or ``None``
    :param source_port: The port from which to send the message.  Default
        is 0.
    :type source_port: int
    :param one_rr_per_rrset: If ``True``, put each RR into its own RRset.
    :type one_rr_per_rrset: bool
    :param ignore_trailing: If ``True``, ignore trailing junk at end of the
        received message.
    :type ignore_trailing: bool
    :param sock: The SSL socket to use.  If ``None`` (the default), a socket
        is created.  If provided, must be a nonblocking connected SSL stream
        socket; *where*, *port*, *source*, *source_port*, and *ssl_context*
        are ignored.
    :type sock: ``ssl.SSLSocket`` or ``None``
    :param ssl_context: The SSL context to use when establishing the TLS
        connection.  If ``None`` (the default), one is created with the
        default configuration.
    :type ssl_context: ``ssl.SSLContext`` or ``None``
    :param server_hostname: The server's hostname, or ``None``.  If ``None``
        and an SSL context is created, hostname checking is disabled.
    :type server_hostname: str or ``None``
    :param verify: If ``True``, verify the TLS certificate using default CA
        roots; if ``False``, disable verification; if a ``str`` or an
        ``os.PathLike``, path to a certificate file or directory.
    :type verify: bool, str, or os.PathLike
    :rtype: :py:class:`dns.message.Message`
    TNrƒ  )r¦   r§   r?   )rI  rë   r'   r    r�  r®   r0   r1   r2   rs  r\  rb  rØ   rù   r   rü   rj   )rÀ   rœ   r   r8   r?   r�   rÁ   rÂ   r@   r¦   r§   rÅ   r  rD  r   r>   r–   r†   r  r>  s                       r   Útlsr†  	  s?  € ñn ô ØØØØØØØØØó

ð 
	
ð �9‰9‹;€DÜ+¨GÓ4Ñ€J�
Ü5Øˆt�V˜[¨$óÑ€Bˆ�Vð ˆ>Ðˆ>ØÐÜ& v¨ÀdÐ/JÈUÈGÓTˆä	Ø
Ü×ÑØØ'Øô
ð ð 
Ü��K Ô,Ü�q˜*Ô%Ü��D˜*Ô%Ü&ØˆzÐ+¨Q¯Y©Y¸¿¹¸ó
Ñˆˆ=ð  Ñ+ˆŒØ�}‰}˜QÔÜÐØ÷!÷ ò úð$ 	ðØs   Á;A0C5Ã5C>rá   c                 ó   — t         j                  j                  st        d«      ‚|�|
€|}
| j	                  d«       | j                  «       }|rt        j                  d«      }|}n#t         j                  j                  |	|
¬«      }|}|5  |sj                  ||||«      }t        |«      \  }}j                  |«      5 }|j                  |d«       |j                  t        |«      «      }ddd«       t        j                  «       }ddd«       t         j                   j#                  || j$                  | j&                  ||¬«      }t)        z
  d«      |_        | j+                  |«      st,        ‚|S # 1 sw Y   ŒŠxY w# 1 sw Y   ŒzxY w)a`  Return the response obtained after sending a query via DNS-over-QUIC.

    :param q: The query to send.
    :type q: :py:class:`dns.message.Message`
    :param where: The nameserver IP address.
    :type where: str
    :param timeout: Seconds to wait before timing out.  ``None`` means wait
        forever.
    :type timeout: float or ``None``
    :param port: The port to send the query to.  Default is 853.
    :type port: int
    :param source: Source IPv4 or IPv6 address.  Default is the wildcard
        address.
    :type source: str or ``None``
    :param source_port: The port from which to send the message.  Default
        is 0.
    :type source_port: int
    :param one_rr_per_rrset: If ``True``, put each RR into its own RRset.
    :type one_rr_per_rrset: bool
    :param ignore_trailing: If ``True``, ignore trailing junk at end of the
        received message.
    :type ignore_trailing: bool
    :param connection: If provided, the QUIC connection to use.
    :type connection: :py:class:`dns.quic.SyncQuicConnection` or ``None``
    :param verify: If ``True``, verify the TLS certificate using default CA
        roots; if ``False``, disable verification; if a ``str`` or an
        ``os.PathLike``, path to a certificate file or directory.
    :type verify: bool, str, or os.PathLike
    :param hostname: The server's hostname, or ``None``.  If ``None`` and an
        SSL context is created, hostname checking is disabled.
    :type hostname: str or ``None``
    :param server_hostname: Deprecated alias for *hostname*.
    :type server_hostname: str or ``None``
    :rtype: :py:class:`dns.message.Message`
    zDNS-over-QUIC is not available.Nr   )r  r  Tr×   r   )r	   ræ   r  ro   r  rë   rì   rí   r  r  r'   r  r/  r  r   r   r÷   rø   rØ   rù   r   rü   rj   )rÀ   rœ   r   r8   r?   r�   rÁ   rÂ   rÊ   rÅ   rá   r§   r  r"  r$  r#  r%  r   r&  r'  r  s                        r   ræ   ræ   o  sx  € ôd �8‰8×ÒÜÐ5Ó6Ð6àÐ" xÐ'7Ø"ˆà‡H�HˆQ„KØ�9‰9‹;€Dñ Ü5?×5KÑ5KÈDÓ5QˆØ#‰ä—(‘(×*Ñ*Ø¨Hð +ó 
ˆð ˆà	ñ 	ÙØ(×0Ñ0Ø�t˜V [óˆNô +¨7Ó3ÑˆˆzØ×'Ñ'¨Ó0ð 	:°FØ�K‰K˜˜dÔ#Ø—>‘>¤*¨ZÓ"8Ó9ˆD÷	:ô —‘“ˆ÷	ô 	�‰×ÑØØ—	‘	Ø—E‘EØ)Ø'ð 	ó 	€Aô �˜%‘ Ó%€A„FØ�=‰=˜ÔÜÐØ€H÷	:ð 	:ú÷	ð 	ús$   Â6FÃ-E8Ã/FÅ8F	Å=FÆFc                   ó   — e Zd ZdZdZdZdZy)ÚUDPModea  How should UDP be used in an IXFR from :py:func:`inbound_xfr()`?

    NEVER means "never use UDP; always use TCP"
    TRY_FIRST means "try to use UDP but fall back to TCP if needed"
    ONLY means "raise ``dns.xfr.UseTCP`` if trying UDP does not succeed"
    r   r‹   r¶   N)rI   rJ   rK   rh   ÚNEVERÚ	TRY_FIRSTÚONLYr\   r   r   r‰  r‰  Ë  s   „ ñð €EØ€IØ�Dr   r‰  Útxn_managerr†   ÚserialÚraise_on_serial_went_backwardsc              #   óÞ  K  — |j                   d   j                  }|t        j                  j                  k(  }| j                  «       }	|j                  «       }
t        |t        j                  «      xr |j                  t        j                  k(  }|rt        ||
d|«       n/t        j                  dt        |
«      «      |
z   }t        |||«       t        j                   j#                  | ||||«      5 }d}d}d}|sÚt%        |«      \  }}|�|�||kD  r|}|rt'        |d|«      \  }}n2t)        |d|«      }t        j*                  d|«      \  }t)        |||«      }t        j,                  j/                  ||j0                  |j2                  d|	|| |¬«      }|j5                  || ¬	«      st6        ‚d}|j9                  |«      }|–— |j:                  }|sŒÚddd«       y# 1 sw Y   yxY w­w)
z'Given a socket, does the zone transfer.r   Nr^  FTr<  r¶   )rØ   rÙ   ÚxfrÚoriginÚtsig_ctxÚmultirÁ   )Úxfr_continuation)ÚquestionÚrdtyper	   Ú	rdatatypeÚIXFRÚfrom_wire_originrë   rs   r0   r¡   rC  r1  r_  Úpackrð   rV  r‘  ÚInboundr'   r,  rR  r`  r÷   rø   rØ   rù   rü   rj   Úprocess_messager“  )r�  r†   r:  rŽ  r   r   r�  r—  Úis_ixfrr’  r  Úis_udpr[  ÚinboundÚdoneÚfirstr“  r;   ÚmexpirationÚrwirera  rU  r  s                          r   Ú_inbound_xfrr¥  Ø  sÑ  è ø€ ð �^‰^˜AÑ×%Ñ%€FØœŸ™×*Ñ*Ñ*€GØ×)Ñ)Ó+€FØ�=‰=‹?€DÜ˜œ6Ÿ=™=Ó)ÒI¨a¯f©f¼×8IÑ8IÑ.I€FÙÜ�!�T˜4 Õ,ä—‘˜T¤3 t£9Ó-°Ñ4ˆÜ�1�f˜jÔ)Ü	�‰�‰Ø�V˜V VÐ-Kó
ð !"à	ØˆØˆØˆÙÜ+¨GÓ4‰NˆAˆ{ØÐ"ØÐ&¨;¸Ò+Cà(�ÙÜ$ Q¨¨{Ó;‘�‘qä! ! Q¨Ó4�Ü—}‘} T¨5Ó1‘�Ü! ! Q¨Ó4�Ü—‘×%Ñ%ØØŸ™Ø!ŸI™IØØØ!Ø!�zØ!(ð &ó 	ˆAð ×$Ñ$ Q¸U¸Ð$ÔCÜ!Ð!ØˆEØ×*Ñ*¨1Ó-ˆDØŠGØ—z‘zˆHò7 ÷!"÷ !"ñ !"üs   ‚C3G-Ã5C"G!Ç	G-Ç!G*Ç&G-Úzoner—  ÚrdclassÚkeynameÚ
relativizer&   Úuse_udpÚkeyalgorithmc           
   #   ó@  K  —  G d„ dt         j                  j                  «      }t        |t        «      rt         j
                  j                  |«      }t         j                  j                  j                  |«      }t         j                  j                  |||«      }|t         j                  j                  k(  r‡|j                  |j                  |t         j                  j                   t         j                  j"                  d¬«      }t         j$                  j                  ddd|› d�«      }|j'                  |d	«       |�|j)                  |||¬«       t+        | ||
|d«      \  }}}
|€J ‚t-        |	«      \  }} |||«      }|r(|t         j                  j                  k7  rt/        d«      ‚|rt0        j2                  nt0        j4                  }t7        |||
«      5 }t9        |||«       t;        |||||||«      E d
{  –—†  d
d
d
«       y
7 Œ# 1 sw Y   y
xY w­w)a‡  Return a generator for the responses to a zone transfer.

    :param where: IPv4 or IPv6 address of the nameserver.
    :type where: str
    :param zone: The name of the zone to transfer.
    :type zone: :py:class:`dns.name.Name` or str
    :param rdtype: The type of zone transfer.  Default is
        ``dns.rdatatype.AXFR``; use ``dns.rdatatype.IXFR`` for incremental.
    :type rdtype: :py:class:`dns.rdatatype.RdataType` or str or int
    :param rdclass: The class of the zone transfer.  Default is
        ``dns.rdataclass.IN``.
    :type rdclass: :py:class:`dns.rdataclass.RdataClass` or str or int
    :param timeout: Seconds to wait for each response message.  ``None``
        means wait forever.
    :type timeout: float or ``None``
    :param port: The port to send the message to.  Default is 53.
    :type port: int
    :param keyring: The keyring to use for TSIG.
    :type keyring: dict or ``None``
    :param keyname: The name of the TSIG key to use.
    :type keyname: :py:class:`dns.name.Name` or str or ``None``
    :param relativize: If ``True``, relativize all names to the zone origin.
        Must match the setting passed to ``dns.zone.from_xfr()``.
    :type relativize: bool
    :param lifetime: Total seconds to spend on the transfer.  ``None`` means
        no limit.
    :type lifetime: float or ``None``
    :param source: Source IPv4 or IPv6 address.  Default is the wildcard
        address.
    :type source: str or ``None``
    :param source_port: The port from which to send the message.  Default
        is 0.
    :type source_port: int
    :param serial: SOA serial number to use as the IXFR base (only
        meaningful when *rdtype* is ``dns.rdatatype.IXFR``).
    :type serial: int
    :param use_udp: If ``True``, use UDP (only meaningful for IXFR).
    :type use_udp: bool
    :param keyalgorithm: The TSIG algorithm to use.
    :type keyalgorithm: :py:class:`dns.name.Name` or str
    :param raise_on_serial_went_backwards: If ``True`` and the IXFR response
        has older SOA serial than queried, raise exception.
    :type raise_on_serial_went_backwards: bool
    :returns: A generator of :py:class:`dns.message.Message` objects.
    c                   óŒ   — e Zd Zd„ Zd„ Zdej                  j                  fd„Zd„ Z	d	de
dej                  j                  fd„Zy)
ú$xfr.<locals>.DummyTransactionManagerc                 ó^   — |||r!t         j                  j                  f| _        y |f| _        y r   )r	   rª   ÚemptyÚinfo)r   r’  r©  s      r   r   z-xfr.<locals>.DummyTransactionManager.__init__Q  s#   € Ø ¹z¬S¯X©X¯^©^ÐVˆD�IÈvÐVˆD�Ir   c                 ó   — | j                   S r   )r±  ©r   s    r   Úorigin_informationz7xfr.<locals>.DummyTransactionManager.origin_informationT  s   € Ø—9‘9Ðr   ra   c                 ó   — t         ‚r   rD   r³  s    r   Ú	get_classz.xfr.<locals>.DummyTransactionManager.get_classW  r^   r   c                 ó   — t         ‚r   rD   r³  s    r   Úreaderz+xfr.<locals>.DummyTransactionManager.readerZ  r^   r   Úreplacementc                 óh   —  G d„ d«      }t        t        j                  j                   |«       «      S )Nc                   ó   — e Zd Zd„ Zd„ Zy)úExfr.<locals>.DummyTransactionManager.writer.<locals>.DummyTransactionc                  ó   — y r   r\   )r   rW   Úkws      r   ÚnopzIxfr.<locals>.DummyTransactionManager.writer.<locals>.DummyTransaction.nop_  s   € Ør   c                 ó   — | j                   S r   )r¿  )r   r;   s     r   Ú__getattr__zQxfr.<locals>.DummyTransactionManager.writer.<locals>.DummyTransaction.__getattr__b  s   € ØŸ8™8�Or   N)rI   rJ   rK   r¿  rÁ  r\   r   r   ÚDummyTransactionr¼  ^  s   „ òó$r   rÂ  )r   r	   ÚtransactionÚTransaction)r   r¹  rÂ  s      r   Úwriterz+xfr.<locals>.DummyTransactionManager.writer]  s)   € ÷$ñ $ô œŸ™×3Ñ3Ñ5EÓ5GÓHÐHr   N)F)rI   rJ   rK   r   r´  r	   Ú
rdataclassÚ
RdataClassr¶  r¸  ÚboolrÃ  rÄ  rÅ  r\   r   r   ÚDummyTransactionManagerr®  P  sH   „ ò	Wò	ð	&˜sŸ~™~×8Ñ8ó 	&ò	&ñ	I dð 	I°s·±×7RÑ7Rô 	Ir   rÉ  T)ÚcreateÚINÚSOAz. . z 0 0 0 0r   N)Ú	algorithmzcannot do a UDP AXFR)r	   rÃ  ÚTransactionManagerrs   rï   rª   Ú	from_textr˜  Ú	RdataTypeÚmaker÷   Ú
make_queryr™  Ú
find_rrsetÚ	authorityrÆ  rË  rÌ  ÚrdataÚaddÚuse_tsigr    r'   rš   r0   rC  r1   r/   r2   r¥  )rœ   r¦  r—  r§  r   r8   rØ   r¨  r©  r&   r?   r�   rŽ  rª  r«  r�  rÉ  rÀ   ÚrrsetÚsoar>   r–   r;   r   ÚtmÚ	sock_typer†   s                              r   r‘  r‘    sÔ  è ø€ ô@I¤#§/¡/×"DÑ"Dô Iô. �$œÔÜ�x‰x×!Ñ! $Ó'ˆÜ�]‰]×$Ñ$×)Ñ)¨&Ó1€FÜ�‰×Ñ˜t V¨WÓ5€AØ”—‘×#Ñ#Ò#Ø—‘Ø�K‰K˜œsŸ~™~×0Ñ0´#·-±-×2CÑ2CÈDð ó 
ˆô �i‰i×!Ñ! $¨°°f°X¸XÐ/FÓGˆØ�	‰	�#�qÔØÐØ	�
‰
�7˜G¨|ˆ
Ô<Ü5Øˆt�V˜[¨$óÑ€Bˆ�Vð ˆ>Ðˆ>Ü" 8Ó,�M€A€zÙ	   zÓ	2€BÙ�6œSŸ]™]×/Ñ/Ò/ÜÐ/Ó0Ð0Ù%,”×!Ò!´&×2DÑ2D€IÜ	�R˜ FÓ	+ð 
¨qÜ��K Ô,ÜØ��1�f˜g zÐ3Qó
÷ 	
ð 	
÷
ð 
ð	
ø÷
ð 
üs0   ‚GHÇ "HÈHÈHÈ	HÈHÈHÈHÚudp_modec
           
      ó:  — |€#t         j                  j                  |«      \  }}
nt         j                  j                  |«      }
t	        | |||d«      \  }}}|€J ‚t        |«      \  }}|j                  d   j                  t         j                  j                  k(  r]|t        j                  k7  rJt        |t        j                  |«      5 }t        |||«       	 t!        ||||
|||	«      D ]  }Œ 	 ddd«       yt        |t        j&                  |«      5 }t        |||«       t!        ||||
|||	«      D ]  }Œ 	 ddd«       y# t         j                  j"                  $ r |t        j$                  k(  r‚ Y nw xY w	 ddd«       ŒŠ# 1 sw Y   Œ“xY w# 1 sw Y   yxY w)aû  Conduct an inbound transfer and apply it via a transaction from the
    txn_manager.

    :param where: IPv4 or IPv6 address of the nameserver.
    :type where: str
    :param txn_manager: The transaction manager for this transfer (typically
        a :py:class:`dns.zone.Zone`).
    :type txn_manager: :py:class:`dns.transaction.TransactionManager`
    :param query: The query to send.  If not supplied, a default query is
        constructed from *txn_manager*.
    :param port: The port to send the message to.  Default is 53.
    :type port: int
    :param timeout: Seconds to wait for each response message.  ``None``
        means wait forever.
    :type timeout: float or ``None``
    :param lifetime: Total seconds to spend on the transfer.  ``None`` means
        no limit.
    :type lifetime: float or ``None``
    :param source: Source IPv4 or IPv6 address.  Default is the wildcard
        address.
    :type source: str or ``None``
    :param source_port: The port from which to send the message.  Default
        is 0.
    :type source_port: int
    :param udp_mode: How to use UDP for IXFRs.  Default is
        ``dns.query.UDPMode.NEVER`` (TCP only).  ``TRY_FIRST`` tries UDP
        with TCP fallback; ``ONLY`` raises :py:exc:`dns.xfr.UseTCP` if UDP
        does not succeed.
    :type udp_mode: :py:class:`dns.query.UDPMode`
    :param raise_on_serial_went_backwards: If ``True`` and the IXFR response
        has older SOA serial than queried, raise exception.
    :type raise_on_serial_went_backwards: bool
    NTr   )r	   r‘  rÒ  Úextract_serial_from_queryr    r'   r–  r—  r˜  r™  r‰  rŠ  r/   r0   rC  r2   r¥  ÚUseTCPrŒ  r1   )rœ   r�  r:  r8   r   r&   r?   r�   rÜ  r�  rŽ  r>   r–   r;   r   r†   s                   r   Úinbound_xfrrà  ƒ  s©  € ðZ €}ÜŸ™×*Ñ*¨;Ó7‰ˆ‰vä—‘×2Ñ2°5Ó9ˆä5Øˆt�V˜[¨$óÑ€Bˆ�Vð ˆ>Ðˆ>Ü" 8Ó,�M€A€zØ‡~�~�aÑ×Ñ¤3§=¡=×#5Ñ#5Ò5¸(ÄgÇmÁmÒ:SÜ˜œV×.Ñ.°Ó7ð 	¸1Ü�Q˜ ZÔ0ðÜ%ØØØØØØØ2óò 	�Að ð	ð ÷	ð 	ô$ 
�Rœ×+Ñ+¨VÓ	4ð ¸Ü��K Ô,ÜØØØØØØØ*ó
ò 		ˆAð ñ		÷ð øô	 —7‘7—>‘>ò ØœwŸ|™|Ò+Øñ ,ðúØ+÷	÷ 	ñ 	ú÷$ð ús6   ÃFÃEÄ$FÅ1E8Å5FÅ7E8Å8FÆFÆF)Tr   rH   )r    r±   ra   zdns.resolver.Resolver)	Nr¿   Nr   FFTTN)
NNFFNr   FFFN)
NrA  Nr   FFFFNF)
NrA  Nr   FFFNNF)NFNr   F)NrA  Nr   FFN)TTN)
NéU  Nr   FFNNNT)
Nrá  Nr   FFNTNN)‰rh   rñ   rì   Úenumre  rm  rã   rw   r0   r_  r   Úurllib.parserÞ   Úcollections.abcr   Útypingr   r   Údns._featuresr	   Údns._file_utilÚdns._tls_utilÚdns.exceptionÚdns.inetÚdns.messageÚdns.nameÚdns.quicÚ	dns.rdataÚdns.rdataclassÚdns.rdatatypeÚdns.transactionÚdns.tsigÚdns.xfrrt   ÚImportErrorÚdns._no_sslÚ_no_sslr   r   Ú	_featuresÚhaveÚ_have_httpx2Úhttpcore2._backends.syncr5   ré   ÚNetworkBackendÚ_CoreNetworkBackendÚ	_backendsÚsyncÚ
SyncStreamr3   r   ÚHTTPTransportrO   râ   ÚAddressFamilyr  Ú
SocketKindrc   rd   Ú__annotations__r
   ÚDNSExceptionrf   Ú	FormErrorrj   rl   ro   r‘  ÚTransferErrorr'   r‚   r‡   r‰   r’   r˜   r    r/   Ú
SSLContextrª   r«   rï   ru   r®   r°   r³   ÚIntEnumrµ   rY   r¸   r÷   r4  ÚfloatrÈ  ÚPathLiker  ræ   ÚHeadersÚbytesr  r  rç   rè   r,  r1  Útupler7  ÚdictÚtsigÚKeyr@  rE  rJ  rR  rV  r\  rb  r2   rI  rs  rå   r�  r„  r†  r‰  rÃ  rÎ  r¥  r˜  ÚAXFRrÆ  rË  Údefault_algorithmrÐ  rÇ  rŠ  rà  r\   r   r   ú<module>r     s  ðò$ ã Û Û Û Û 	Û Û Û Û Û Û Ý $ß ã Û Û Û Û Û Û Û Û Û Û Û Û Û ðÛò
ò2ð �}‰}×!Ñ! %Ó(€ÙÛ#Ûà#×2Ñ2ÐØ×)Ñ)×.Ñ.×9Ñ9€Oô4&Ð-ô 4&ôl˜×-Ñ-õ ÷,&ñ &ð  €ð*Ø×Ñ˜sÑ"ð*à
×
Ñ
ð*ð ð*ð ‡]�]ó	*ð ð �Ø×Ñ˜CÑ ×!2Ñ!2°CÐ8¸&¿-¹-ÐGñó ô
H�s—}‘}×1Ñ1ô HôG�#—-‘-×)Ñ)ô GôˆC�M‰M×&Ñ&ô ô
ˆC�M‰M×&Ñ&ô ð —‘×%Ñ%€ò$ò(ò80ò0ò	)òð" =Aó)%ð^ ñØ×Ñ˜sÑ"ðà
×
Ñ
ðð �$‰Jðð ‡]�]ó	ð> 37ØñØ×Ñ˜sÑ"ðà
×
Ñ
ðð —‘ðð —X‘X—]‘] SÑ(¨4Ñ/ð	ð
 �$‰Jðð 	‡]�]óòF
-ðØ,ðàóô�$—,‘,ô ð& !ØØØØ"Ø!ØØØØ$(Ø8<Ø/3Ø×"Ñ"Ø +× 3Ñ 3ñ!IØ
‡{�{×ÑðIàðIð �T‰\ðIð ð	Ið
 �$‰JðIð ðIð ðIð ðIð �4‰ZðIð ðIð ðIð ˜T‘zðIð �3‰J˜Ÿ™Ñ$ s§~¡~Ñ5ðIð -ðIð ðIð  ð!Ið" 	‡[�[×Ñó#IðX˜#Ÿ(™(×*Ñ*ð °%ð ¸Eó ðO˜3Ÿ8™8×+Ñ+ð O°3ð O¸eð OÈó Oð* !ØØØØ"Ø!Ø8<ØØ59ñ:Ø
‡{�{×Ñð:àð:ð 
ð:ð �T‰\ð	:ð
 ð:ð �$‰Jð:ð ð:ð ð:ð ð:ð �3‰J˜Ÿ™Ñ$ s§~¡~Ñ5ð:ð ð:ð —‘×+Ñ+¨dÑ2ð:ð 	‡[�[×Ñó:òz	1ò1ð&  $ñ	Ø
ðà
�+‰+×
Ñ
 Ñ
%ðð ðð ˜‘ð	ð
 ˆ3�ˆ:Ñóð< #Ø#Ø#Ø"Ø8<Ø #Ø!Ø %ØØ(,ñ^4Ø
ð^4à�t‘ð^4ð ˜‘ð^4ð ð	^4ð
 ð^4ð �#—(‘(—-‘- §¡§¡Ð-Ñ.°Ñ5ð^4ð ˜‘ð^4ð ð^4ð ð^4ð ð^4ð �;‰;×Ñ Ñ%ð^4ð 	ó^4ðH !ØØØØ#Ø"Ø!Ø %ØØñUØ
‡{�{×ÑðUàðUð �T‰\ðUð ð	Uð
 �$‰JðUð ðUð ðUð ðUð ðUð ðUð �‰*ðUð ðUð 	‡[�[×ÑóUðv !ØØØØ#Ø"Ø!ØØØñT Ø
‡{�{×ÑðT àðT ð �T‰\ðT ð ð	T ð
 �$‰JðT ð ðT ð ðT ð ðT ð ðT ð �D‰jðT ð �D‰jðT ð ðT ð ˆ3�;‰;×Ñ Ð$Ñ%óT ònò*1ð&  $ñ$Ø
ð$à
�+‰+×
Ñ
 Ñ
%ð$ð ˜‘ð$ð ˆ3�ˆ:Ñó	$ð@  $Ø"Ø8<Ø #Ø!ñ'Ø
ð'à˜‘ð'ð ð'ð �#—(‘(—-‘- §¡§¡Ð-Ñ.°Ñ5ð	'ð
 ˜‘ð'ð ð'ð ˆ3�;‰;×Ñ Ð%Ñ&ó'òT-ð !ØØØØ"Ø!ØñAØ
‡{�{×ÑðAàðAð �T‰\ðAð ð	Að
 �$‰JðAð ðAð ðAð ðAð �‰*ðAð 	‡[�[×ÑóAòH.ð (,ØØ"ñØ�3‰J˜Ÿ™Ñ$ðàðð �‰9�tÑðð 	‡^�^ó	ðFJØ˜4‘ZðJØ)-°©°b·k±kÑ)AðJà‡^�^óJð !ØØØØ"Ø!Ø!%Ø)-Ø"&Ø'+ñcØ
‡{�{×Ñðcàðcð �T‰\ðcð ð	cð
 �$‰Jðcð ðcð ðcð ðcð �-‰-˜$Ñ
ðcð —‘ $Ñ&ðcð ˜4‘Zðcð �3‰J˜Ÿ™Ñ$ðcð 	‡[�[×ÑócðR !ØØØØ"Ø!Ø59Ø'+ØØ"&ñYØ
‡{�{×ÑðYàðYð �T‰\ðYð ð	Yð
 �$‰JðYð ðYð ðYð ðYð —‘×+Ñ+¨dÑ2ðYð �3‰J˜Ÿ™Ñ$ðYð �D‰jðYð ˜4‘ZðYð 	‡[�[×ÑóYôx
ˆd�l‰lô 
ð5"Ø—‘×3Ñ3ð5"à‡}�}�s—}‘}Ñ$ð5"ð �;‰;×Ñð5"ð �$‰Jð	5"ð
 �T‰\ð5"ð ˜‘ð5"ð %)ð5"ð 	ó5"ðv -0¯MªM×,>Ò,>Ø/2¯~ª~×/@Ò/@Ø ØØ8<Ø*.ØØ!ØØØØØ(+¯©×(BÒ(BØ+/ñ!p
Øðp
à
�(‰(�-‰-˜#Ñ
ðp
ð �MŠM×#Ò# cÑ)ðp
ð �^Š^×&Ò&¨Ñ,ð	p
ð
 �T‰\ðp
ð ðp
ð �#—(‘(—-‘- §¡§¡Ð-Ñ.°Ñ5ðp
ð �X‰X�]‰]˜SÑ  4Ñ'ðp
ð ðp
ð �d‰lðp
ð �$‰Jðp
ð ðp
ð ðp
ð ðp
ð —(‘(—-‘- #Ñ%ðp
ð  %)ð!p
ð" 	ó#p
ðl )-ØØ Ø!ØØØŸšØ+/ñUØðUà—‘×3Ñ3ðUð �;‰;×Ñ Ñ%ðUð ð	Uð
 �T‰\ðUð �d‰lðUð �$‰JðUð ðUð ðUð %)ðUð 
ôUøða2 ò ßÐðús   Á7g	 ç	gçg