§
    #P„j3$  ã                   ó®   — 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fd„Z	 dd„Zd„ Zd„ Zd	„ Zd
„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ ZdS )é    NzApyarrow.{} is deprecated as of {}, please use pyarrow.{} instead.c                  ó   ‡ ‡— ˆ ˆfd„}|S )a¶  
    A decorator that takes docstring templates, concatenates them, and finally
    performs string substitution on them.
    This decorator will add a variable "_docstring_components" to the wrapped
    callable to keep track of the original docstring template for potential future use.
    If the docstring is a template, it will be saved as a string.
    Otherwise, it will be saved as a callable and the docstring will be obtained via
    the __doc__ attribute.
    This decorator cannot be used on Cython classes due to a CPython constraint,
    which enforces the __doc__ attribute to be read-only.
    See https://github.com/python/cpython/issues/91309

    Parameters
    ----------
    *docstrings : None, str, or callable
        The string / docstring / docstring template to be prepended in order
        before the default docstring under the callable.
    **params
        The key/value pairs used to format the docstring template.
    c                 ó¬  •— g }‰D ]a}|€Œt          |d¦  «        r|                     |j        ¦  «         Œ0t          |t          ¦  «        s|j        r|                     |¦  «         Œb| j        r,|                     t          j        | j        ¦  «        ¦  «         ˆfd„|D ¦   «         }d 	                    d„ |D ¦   «         ¦  «        | _        || _        | S )NÚ_docstring_componentsc                 ó~   •— g | ]9}t          |t          ¦  «        r t          ‰¦  «        d k    r |j        di ‰¤Žn|‘Œ:S )r   © )Ú
isinstanceÚstrÚlenÚformat)Ú.0Ú	componentÚparamss     €úQ/root/disk_3tb/conda_envs/Huy-visual/lib/python3.11/site-packages/pyarrow/util.pyú
<listcomp>z*doc.<locals>.decorator.<locals>.<listcomp>L   sg   ø€ ð 
ð 
ð 
ð õ ˜)¥SÑ)Ô)ðÝ.1°&©k¬k¸Aªo¨oð ˆIÔÐ&Ð&˜vÐ&Ð&Ð&àð
ð 
ð 
ó    Ú c                 ór   — g | ]4}t          |t          ¦  «        r|nt          j        |j        pd ¦  «        ‘Œ5S )r   )r   r	   ÚtextwrapÚdedentÚ__doc__)r   r   s     r   r   z*doc.<locals>.decorator.<locals>.<listcomp>T   sR   € ð ð ð ð õ ˜i­Ñ-Ô-ð>�	�	å”_ YÔ%6Ð%<¸"Ñ=Ô=ðð ð r   )
ÚhasattrÚextendr   r   r	   r   Úappendr   r   Újoin)Ú	decoratedÚdocstring_componentsÚ	docstringÚparams_appliedÚ
docstringsr   s       €€r   Ú	decoratorzdoc.<locals>.decorator:   s0  ø€ Ø!Ðð $ð 	7ð 	7ˆIØÐ ØÝ�yÐ"9Ñ:Ô:ð 7Ø$×+Ò+ØÔ3ñô ð ð õ ˜I¥sÑ+Ô+ð 7¨yÔ/@ð 7Ø$×+Ò+¨IÑ6Ô6Ð6øð Ôð 	LØ ×'Ò'­¬¸	Ô8IÑ(JÔ(JÑKÔKÐKð
ð 
ð 
ð 
ð 2ð	
ñ 
ô 
ˆð ŸGšGðð ð "0ð	ñ ô ñ
ô 
ˆ	Ôð !ð 	Ô'ð Ðr   r   )r   r   r    s   `` r   Údocr!   $   s+   øø€ ð,%ð %ð %ð %ð %ð %ðN Ðr   c                 óR   ‡‡‡— t                                | ||¦  «        Šˆˆˆfd„}|S )Nc                  ó>   •— t          j        ‰‰¦  «          ‰| i |¤ŽS ©N)ÚwarningsÚwarn)ÚargsÚkwargsÚapiÚmsgÚtypes     €€€r   Úwrapperz_deprecate_api.<locals>.wrapperg   s*   ø€ ÝŒ�c˜4Ñ Ô Ð Øˆs�DÐ#˜FÐ#Ð#Ð#r   )Ú	_DEPR_MSGr   )Úold_nameÚnew_namer)   Únext_versionr+   r,   r*   s     ` ` @r   Ú_deprecate_apir1   d   sF   øøø€ Ý
×
Ò
˜8 \°8Ñ
<Ô
<€Cð$ð $ð $ð $ð $ð $ð $ð €Nr   Tc                 óR   ‡ ‡‡—  G ˆˆˆ fd„dt           ¦  «        } |‰ ‰fi ¦  «        S )zM
    Raise warning if a deprecated class is used in an isinstance check.
    c                   ó   •— e Zd Zˆ ˆˆfd„ZdS )ú)_deprecate_class.<locals>._DeprecatedMetac                 óš   •— t          j        t                               ‰‰‰j        ¦  «        t
          d¬¦  «         t          |‰¦  «        S )Né   ©Ú
stacklevel)r%   r&   r-   r   Ú__name__ÚFutureWarningr   )ÚselfÚotherÚ	new_classr0   r.   s     €€€r   Ú__instancecheck__z;_deprecate_class.<locals>._DeprecatedMeta.__instancecheck__s   sL   ø€ ÝŒMÝ× Ò  ¨<¸Ô9KÑLÔLÝØðñ ô ð õ
 ˜e YÑ/Ô/Ð/r   N)r9   Ú
__module__Ú__qualname__r>   )r=   r0   r.   s   €€€r   Ú_DeprecatedMetar4   r   s8   ø€ € € € € ð	0ð 	0ð 	0ð 	0ð 	0ð 	0ð 	0ð 	0ð 	0r   rA   )r+   )r.   r=   r0   ÚinstancecheckrA   s   ```  r   Ú_deprecate_classrC   m   s[   øøø€ ð
0ð 0ð 0ð 0ð 0ð 0ð 0ð 0ð 0�$ñ 0ô 0ð 0ð ˆ?˜8 i \°2Ñ6Ô6Ð6r   c                 óH   — 	 t          | ¦  «         dS # t          $ r Y dS w xY w)NTF)ÚiterÚ	TypeError)Úobjs    r   Ú_is_iterablerH   ~   s9   € ðÝˆS‰	Œ	ˆ	ØˆtøÝð ð ð Øˆuˆuðøøøs   ‚ “
! !c                 óL   — t          | t          ¦  «        pt          | d¦  «        S )NÚ
__fspath__)r   r	   r   ©Úpaths    r   Ú_is_path_likerM   †   s!   € Ý�d�CÑ Ô Ð?¥G¨D°,Ñ$?Ô$?Ð?r   c                 ó  — t          | t          ¦  «        rt          j                             | ¦  «        S 	 t          j                             |                      ¦   «         ¦  «        S # t          $ r Y nw xY wt          d¦  «        ‚)zA
    Convert *path* to a string or unicode path if possible.
    znot a path-like object)r   r	   ÚosrL   Ú
expanduserrJ   ÚAttributeErrorrF   rK   s    r   Ú_stringify_pathrR   Š   s‚   € õ �$�ÑÔð (ÝŒw×!Ò! $Ñ'Ô'Ð'ðÝŒw×!Ò! $§/¢/Ñ"3Ô"3Ñ4Ô4Ð4øÝð ð ð Øˆðøøøõ Ð,Ñ
-Ô
-Ð-s   ¶0A' Á'
A4Á3A4c                 ó0   — t          j        d„ | d¦  «        S )z-
    Return a product of sequence items.
    c                 ó   — | |z  S r$   r   )ÚaÚbs     r   ú<lambda>zproduct.<locals>.<lambda>ž   s
   € ¨¨1©€ r   é   )Ú	functoolsÚreduce)Úseqs    r   Úproductr\   š   s   € õ ÔÐ,Ð,¨c°1Ñ5Ô5Ð5r   c                 ó(  — |sd}|t          | ¦  «        z  }nxd}|}t          | ¦  «        D ]<\  }}|dk    rdx}} n,||         }|dk    r|||dz
  z  z  }Œ+|dk     r|||dz
  z  z  }Œ=||z
  |t          | ¦  «        z  k    rt          d¦  «        ‚||fS )zõ
    Return a contiguous span of N-D array data.

    Parameters
    ----------
    shape : tuple
    strides : tuple
    itemsize : int
      Specify array shape data

    Returns
    -------
    start, end : int
      The span end points.
    r   rX   zarray data is non-contiguous)r\   Ú	enumerateÚ
ValueError)ÚshapeÚstridesÚitemsizeÚstartÚendÚiÚdimÚstrides           r   Úget_contiguous_spanrh   ¡   sÖ   € ð  ð =ØˆØ� ™œÑ'ˆˆàˆØˆÝ Ñ&Ô&ð 	,ð 	,‰FˆAˆsØ�aŠxˆxØ��˜Ø�Ø˜Q”ZˆFØ˜ŠzˆzØ�v  q¡Ñ)Ñ)��Ø˜!’�Ø˜ 3¨¡7Ñ+Ñ+�øØ�‰;˜(¥W¨U¡^¤^Ñ3Ò3Ð3ÝÐ;Ñ<Ô<Ð<Ø�#ˆ:Ðr   c                  ód  — t          j         t           j        t           j        ¦  «        } t          j        | ¦  «        5 } |                      d¦  «         |                      t           j        t           j        d¦  «         |  	                    ¦   «         d         cd d d ¦  «         S # 1 swxY w Y   d S )N)r   r   rX   )
ÚsocketÚAF_INETÚSOCK_STREAMÚ
contextlibÚclosingÚbindÚ
setsockoptÚ
SOL_SOCKETÚSO_REUSEADDRÚgetsockname)Úsocks    r   Úfind_free_portru   Å   sÌ   € ÝŒ=�œ­Ô);Ñ<Ô<€DÝ	Ô	˜DÑ	!Ô	!ð % TØ�	Š	�'ÑÔÐØ�Š�Ô)­6Ô+>ÀÑBÔBÐBØ×ÒÑ!Ô! !Ô$ð%ð %ð %ð %ñ %ô %ð %ð %ð %ð %ð %ð %øøøð %ð %ð %ð %ð %ð %s   ¾AB%Â%B)Â,B)c                  ó,   — ddl m}   | ¦   «         j        S )Nr   ©Úuuid4)Úuuidrx   Úhexrw   s    r   Úguidr{   Í   s"   € ØÐÐÐÐÐØˆ5‰7Œ7Œ;Ðr   c                 ó
  — t          j        d¦  «        }t          j        | ¦  «        }|rR|D ]"} | |urt	          | t
          j        ¦  «        r nŒ#n,d }|                      ¦   «          t          j        | ¦  «        }|°Rd x}x} }d S )Nr   )ÚsysÚ	_getframeÚgcÚget_referrersr   ÚtypesÚ	FrameTypeÚclear)ÚframeÚ
this_frameÚrefss      r   Ú!_break_traceback_cycle_from_framer‡   Ò   s¦   € õ ”˜qÑ!Ô!€JÝÔ˜EÑ"Ô"€DØ
ð 'Øð 	ð 	ˆEØ˜JÐ&Ð&­:°e½U¼_Ñ+MÔ+MÐ&Ø�øð Øˆð 	�Š‰Œˆõ Ô Ñ&Ô&ˆð ð 'ð !%Ð$€DÐ$ˆ5�:�:�:r   c                 ó  — ddl m}m}  || ddi¬¦  «        } ||¦  «        5 }t          |d¦  «        5 }|                     |                     ¦   «         ¦  «         d d d ¦  «         n# 1 swxY w Y   d d d ¦  «         d S # 1 swxY w Y   d S )Nr   )ÚurlopenÚRequestz
User-AgentÚpyarrow)ÚheadersÚwb)Úurllib.requestr‰   rŠ   ÚopenÚwriteÚread)ÚurlÚout_pathr‰   rŠ   ÚreqÚresponseÚfs          r   Ú_download_urllibr—   é   s  € Ø/Ð/Ð/Ð/Ð/Ð/Ð/Ð/Ø
ˆ'�# ¨iÐ8Ð
9Ñ
9Ô
9€CØ	ˆ�‰Œð %˜Ý�(˜DÑ!Ô!ð 	% QØ�GŠG�H—M’M‘O”OÑ$Ô$Ð$ð	%ð 	%ð 	%ñ 	%ô 	%ð 	%ð 	%ð 	%ð 	%ð 	%ð 	%øøøð 	%ð 	%ð 	%ð 	%ð%ð %ð %ñ %ô %ð %ð %ð %ð %ð %ð %ð %øøøð %ð %ð %ð %ð %ð %s4   £B ´(A(ÁB Á(A,	Á,B Á/A,	Á0B Â BÂBc                 óî   — dd l }|                     | ¦  «        5 }t          |d¦  «        5 }|                     |j        ¦  «         d d d ¦  «         n# 1 swxY w Y   d d d ¦  «         d S # 1 swxY w Y   d S )Nr   r�   )ÚrequestsÚgetr�   r�   Úcontent)r’   r“   r™   r•   r–   s        r   Ú_download_requestsrœ   ñ   sõ   € Ø€O€O€OØ	�Š�cÑ	Ô	ð &˜hÝ�(˜DÑ!Ô!ð 	& QØ�GŠG�HÔ$Ñ%Ô%Ð%ð	&ð 	&ð 	&ñ 	&ô 	&ð 	&ð 	&ð 	&ð 	&ð 	&ð 	&øøøð 	&ð 	&ð 	&ð 	&ð&ð &ð &ñ &ô &ð &ð &ð &ð &ð &ð &ð &øøøð &ð &ð &ð &ð &ð &s4   šA*«AÁA*ÁA	ÁA*ÁA	ÁA*Á*A.Á1A.c                  óÜ  — t          j        dt          d¬¦  «         t          j        dk    rt          dt          j        › �¦  «        ‚ddl} d}t          j         	                    d	¦  «        }t          j         
                    |d
¦  «        }d}t          j         
                    |d¦  «        }t          j        |d¬¦  «         	 ddl}t          }n# t          $ r
 t          }Y nw xY w |||¦  «          |||¦  «         t          j                             |¦  «        sJ ‚t          j                             |¦  «        sJ ‚|                      |¦  «                             |¦  «         dS )aB  
    Download and extract latest IANA timezone database into the
    location expected by Arrow which is %USERPROFILE%\Downloads\tzdata.

    .. deprecated:: 24.0.0
       This function is deprecated and will be removed in a future version.
       PyArrow now uses the operating system's timezone database on Windows.
    z½pyarrow.util.download_tzdata_on_windows is deprecated as of 24.0.0 and will be removed in a future version. PyArrow now uses the operating system's timezone database on most Windows builds.r6   r7   Úwin32z)Timezone database is already provided by r   Nz5https://data.iana.org/time-zones/tzdata-latest.tar.gzz%USERPROFILE%\Downloads\tzdataztzdata.tar.gzz^https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xmlzwindowsZones.xmlT)Úexist_ok)r%   r&   r:   r}   ÚplatformrF   ÚtarfilerO   rL   Ú
expandvarsr   Úmakedirsr™   rœ   ÚImportErrorr—   Úexistsr�   Ú
extractall)r¡   Ú
tzdata_urlÚtzdata_pathÚtzdata_compressed_pathÚwindows_zones_urlÚwindows_zones_pathr™   Údownload_fns           r   Údownload_tzdata_on_windowsr­   ú   s~  € õ „Mð	Gõ 	Øðñ ô ð õ „|�wÒÐÝÐRÅCÄLÐRÐRÑSÔSÐSà€N€N€NàH€JÝ”'×$Ò$Ð%FÑGÔG€KÝœWŸ\š\¨+°ÑGÔGÐØxÐÝœŸš kÐ3EÑFÔFÐÝ„K� dÐ+Ñ+Ô+Ð+ð'ØˆˆˆÝ(ˆˆøÝð 'ð 'ð 'Ý&ˆˆˆð'øøøð €K�
Ð2Ñ3Ô3Ð3Ø€KÐ!Ð#5Ñ6Ô6Ð6åŒ7�>Š>Ð0Ñ1Ô1Ð1Ð1Ð1ÝŒ7�>Š>Ð,Ñ-Ô-Ð-Ð-Ð-à‡L‚LÐ'Ñ(Ô(×3Ò3°KÑ@Ô@Ð@Ð@Ð@s   ÃC ÃC'Ã&C')T)rO   rm   rY   r   rj   r}   r   r�   r%   r-   r!   r:   r1   rC   rH   rM   rR   r\   rh   ru   r{   r‡   r—   rœ   r­   r   r   r   ú<module>r®      se  ðð( 
€	€	€	Ø Ð Ð Ð Ø Ð Ð Ð Ø 	€	€	€	Ø €€€Ø 
€
€
€
Ø €€€Ø €€€Ø €€€ð Hð 
ð
=ð =ð =ð@ @Mð ð ð ð ð $(ð7ð 7ð 7ð 7ð"ð ð ð@ð @ð @ð.ð .ð .ð 6ð 6ð 6ð!ð !ð !ðH%ð %ð %ðð ð ð
%ð %ð %ð.%ð %ð %ð&ð &ð &ð+Að +Að +Að +Að +Ar   