� <��g�Y���UddlmZddlZddlZddlZddlZddlZddlZddlZddl m Z ddl m Z ddl mZddlmZmZmZmZmZmZmZmZddlmZerddlZddlmZdd lmZd Zed ��Z dodpd�Z! dodqd�Z"iZ#de$d<drd�Z%dsd�Z&dtd'�Z' dudvd/�Z(dwd3�Z)dxd6�Z*dyd:�Z+dzd=�Z, d{d|dC�Z-d}dE�Z.d~dG�Z/ddI�Z0d�dK�Z1d�dM�Z2 d�d�dV�Z3d�dY�Z4d�d]�Z5ej6d�d_���Z7 d�d�dg�Z8d�di�Z9ej6d�d�dl���Z:dm�Z;dn�Z<dS)��)� annotationsN)�partial)�md5)�version)�IO� TYPE_CHECKING�Any�Callable�Iterable�Iterator�Sequence�TypeVar)�urlsplit)� TypeGuard)�AbstractFileSystemiP�T�urlpath�str�inherit_storage_options�dict[str, Any] | None�return�dict[str, Any]c�&�tjd|��stjd|���d|d�St|��}|jpd}|jr"d�|j|jg��}n|j}|dkr5tjd|��}|r|���\}}|�d|��}|d vr||d�S||d�}|jr�|j� d d ��d � dd ��d |d<|dvr|d|dz|d<n |d|d<|j r |j |d<|j r |j |d<|j r |j |d<|j r |j |d<|jr |j|d<|rt||��|S)a�Infer storage options from URL path and merge it with existing storage options. Parameters ---------- urlpath: str or unicode Either local absolute file path or URL (hdfs://namenode:8020/file.csv) inherit_storage_options: dict (optional) Its contents will get merged with the inferred information from the given path Returns ------- Storage options dict. Examples -------- >>> infer_storage_options('/mnt/datasets/test.csv') # doctest: +SKIP {"protocol": "file", "path", "/mnt/datasets/test.csv"} >>> infer_storage_options( ... 'hdfs://username:pwd@node:123/mnt/datasets/test.csv?q=1', ... inherit_storage_options={'extra': 'value'}, ... ) # doctest: +SKIP {"protocol": "hdfs", "username": "username", "password": "pwd", "host": "node", "port": 123, "path": "/mnt/datasets/test.csv", "url_query": "q=1", "extra": "value"} z^[a-zA-Z]:[\\/]z^[a-zA-Z0-9]+://N�file)�protocol�path�#z^/([a-zA-Z])[:|]([\\/].*)$�:)�http�https�@������r�host)�s3�s3a�gcs�gsr�port�username�password� url_query� url_fragment)�re�matchr�scheme�fragment�joinr�groups�netloc�rsplitr)r*r+�query�update_storage_options)rr� parsed_pathrr� windows_path�drive�optionss �\/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/fsspec/utils.py�infer_storage_optionsr=&s��@ ��#�W�-�-�5� �8�'�� 1� 1� 9�"�G�4�4�4��7�#�#�K��!�+�V�H��� ��x�x��)�;�+?�@�A�A�������6����x� =�t�D�D� � � %�&�-�-�/�/�K�E�4��$�$�d�$�$�D��$�$�$�$�g�6�6�6�+3�T�B�B�G���7�&�,�3�3�C��;�;�B�?�F�F�s�A�N�N�q�Q���� �1� 1� 1�%�f�o����?�G�F�O�O�%�f�o�G�F�O� � � /�)�.�G�F�O� � � 7�"-�"6�G�J� � � � 7�"-�"6�G�J� ���1�*�0�� ����7�"-�"6�����A��w�(?�@�@�@� �N�r;� inherited�Nonec��|si}t|��t|��z}|rC|D]@}|�|��|�|��krtd|������A|�|��dS)Nz9Collision between inferred and specified storage option: )�set�get�KeyError�update)r;r?� collisions� collisions r<r7r7{s��� ��� ��W����I���.�J���#� � �I��{�{�9�%�%����y�)A�)A�A�A��,� )�,�,����B�  �N�N�9�����r>zdict[str, str]� compressions�filename� str | Nonec���tj�|��d�d�����}|t vr t |SdS)aInfer compression, if available, from filename. Infer a named compression type, if registered and available, from filename extension. This includes builtin (gz, bz2, zip) compressions, as well as optional compressions. See fsspec.compression.register_compression. r#�.N)�osr�splitext�strip�lowerrH)rI� extensions r<�infer_compressionrR�sS���� � ��*�*�2�.�4�4�S�9�9�?�?�A�A�I��L� � ��I�&�&� �4r>�max_int�float�Callable[[int], str]c���|dz }ttjtj|�������d�fd� }|S)a�Returns a function that receives a single integer and returns it as a string padded by enough zero characters to align with maximum possible integer >>> name_f = build_name_function(57) >>> name_f(7) '07' >>> name_f(31) '31' >>> build_name_function(1000)(42) '0042' >>> build_name_function(999)(42) '042' >>> build_name_function(0)(0) '0' g:�0�yE>�i�intrrc�H��t|������S�N)r�zfill)rW� pad_lengths �r<� name_functionz*build_name_function.<locals>.name_function�s����1�v�v�|�|�J�'�'�'r>)rWrXrr)rX�math�ceil�log10)rSr]r\s @r<�build_name_functionra�sU���& �t�O�G��T�Y�t�z�'�2�2�3�3�4�4�J�(�(�(�(�(�(� �r>r� IO[bytes]� delimiter�bytes� blocksizerX�boolc���|���dkrdSd} |�|��}|sdS|r||zn|} ||vra|�|��}|�|���t |��|z z t |��z��dSt |��|krdSn#t t f$rYnwxYw|t |�� d�}��)a�Seek current file to file start, file end, or byte after delimiter seq. Seeks file to next chunk delimiter, where chunks are defined on file start, a delimiting sequence, and file end. Use file.tell() to see location afterwards. Note that file start is a valid split, so must be at offset > 0 to seek for delimiter. Parameters ---------- file: a file delimiter: bytes a delimiter like ``b'\n'`` or message sentinel, matching file .read() type blocksize: int Number of bytes to read from the file at once. Returns ------- Returns True if a delimiter was found, False if at file start or end. rFNT)�tell�read�index�seek�len�OSError� ValueError)rrcre�last�current�fullrWs r<�seek_delimiterrr�s��. �y�y�{�{�a����u��D�'��)�)�I�&�&��� ��5�!%�2�t�g�~�~�7�� ��D� � ��J�J�y�)�)��� � �$�)�)�+�+��T���Q��7�#�i�.�.�H�I�I�I��t��W��� �)�)��u�*����$� � � � �D� �����S��^�^�O�%�%�&��!'s�A#B<�&B<�<C�CF�f�offset�length� int | None� bytes | None� split_beforec���|r�|�|��t||d��}|�|���S|���}|||z z}|�||z��t||d��}|���}|r|r|t |��z}|r|r|t |��z}|}||z }|�|��|�J�|�|��} | S)a�Read a block of bytes from a file Parameters ---------- f: File Open file offset: int Byte offset to start read length: int Number of bytes to read, read through end of file if None delimiter: bytes (optional) Ensure reading starts and stops at delimiter bytestring split_before: bool (optional) Start/stop read *before* delimiter bytestring. If using the ``delimiter=`` keyword argument we ensure that the read starts and stops at delimiter boundaries that follow the locations ``offset`` and ``offset + length``. If ``offset`` is zero then we start at zero, regardless of delimiter. The bytestring returned WILL include the terminating delimiter string. Examples -------- >>> from io import BytesIO # doctest: +SKIP >>> f = BytesIO(b'Alice, 100\nBob, 200\nCharlie, 300') # doctest: +SKIP >>> read_block(f, 0, 13) # doctest: +SKIP b'Alice, 100\nBo' >>> read_block(f, 0, 13, delimiter=b'\n') # doctest: +SKIP b'Alice, 100\nBob, 200\n' >>> read_block(f, 10, 10, delimiter=b'\n') # doctest: +SKIP b'Bob, 200\nCharlie, 300' i)rkrrrirhrl) rsrtrurcrx�found_start_delim�start�found_end_delim�end�bs r<� read_blockr�s��V�� ���v����*�1�i��?�?�� �>��6�6�8�8�O��������%�&�.� �� ���u�v�~����(��I�u�=�=���f�f�h�h�� � $�� $� �S��^�^� #�E� � "�|� "� �3�y�>�>� !�C����u����F�F�6�N�N�N� � � � � ���v���A� �Hr>�argsr �kwargsc��|r||fz } tt|�������}n@#t$r3tt|�����d���}YnwxYw|���S)z�Deterministic token (modified from dask.base) >>> tokenize([1, 2, '3']) '9d71491b50023b06fc76928e6eddb952' >>> tokenize('Hello') == tokenize('Hello') True F)�usedforsecurity)rr�encodern� hexdigest)r�r��hs r<�tokenizer�4s����� �� ���;� ��D� � � � �"�"� #� #���� �;�;�;� ��D� � � � �"�"�E� :� :� :����;���� �;�;�=�=�s�.9�:A6�5A6�filepath�%str | os.PathLike[str] | pathlib.Pathc��t|t��r|St|d��r|���St|d��r|jS|S)a6Attempt to convert a path-like object to a string. Parameters ---------- filepath: object to be converted Returns ------- filepath_str: maybe a string version of the object Notes ----- Objects supporting the fspath protocol are coerced according to its __fspath__ method. For backwards compatibility with older Python version, pathlib.Path objects are specially coerced. Any other object is passed through unchanged, which includes bytes, strings, buffers, or anything else that's not even path-like. � __fspath__r)� isinstancer�hasattrr�r)r�s r<�stringify_pathr�Is^��,�(�C� � ���� ��<� (� (���"�"�$�$�$� ��6� "� "���}���r>�cls�Callable[..., T]� Sequence[Any]c�>�||i|��}|���|SrZ)�_determine_worker)r�r�r��insts r<� make_instancer�is/�� �3�� �� � �D������� �Kr>�paths� Iterable[str]c����d�|D���td��D����}d}t|��D]"�t��fd��D����}|sn�#�|z �d��dd����S)z;For a list of paths, find the shortest prefix common to allc�8�g|]}|�d����S��/)�split��.0�ps r<� <listcomp>z!common_prefix.<locals>.<listcomp>ss"�� )� )� )�a�Q�W�W�S�\�\� )� )� )r>c3�4K�|]}t|��V��dSrZ)rlr�s r<� <genexpr>z common_prefix.<locals>.<genexpr>ts(����%�%�!�s�1�v�v�%�%�%�%�%�%r>rc3�H�K�|]}|��d�kV��dS)rN�)r�r�rW�partss ��r<r�z common_prefix.<locals>.<genexpr>ws4�����5�5�!�!�A�$�%��(�1�+�%�5�5�5�5�5�5r>r�N)�min�range�allr2)r��lmaxr}rWr�s @@r<� common_prefixr�qs����� )� )�5� )� )� )�E� �%�%�u�%�%�%� %� %�D� �C� �4�[�[�����5�5�5�5�5�u�5�5�5�5�5��� � �E� ���H�A� �8�8�E�!�H�R�a�R�L� !� !�!r>� list[str]�path2�str | list[str]�exists�flattenc����t�t��r���d���|r�fd�|D���n�t|���|r��dd��d��s(t d�|D����r�fd�|D���n2��fd�|D���n"t |��t ���ksJ��S)a�In bulk file operations, construct a new file tree from a list of files Parameters ---------- paths: list of str The input file tree path2: str or list of str Root to construct the new list in. If this is already a list of str, we just assert it has the right number of elements. exists: bool (optional) For a str destination, it is already exists (and is a dir), files should end up inside. flatten: bool (optional) Whether to flatten the input directory tree structure so that the output files are in the same directory. Returns ------- list of str r�c�p��g|]2}d��|�d��df����3S)r�r#)r2r��r�r�r�s �r<r�zother_paths.<locals>.<listcomp>�s9���H�H�H�Q�S�X�X�u�a�g�g�c�l�l�2�&6�7�8�8�H�H�Hr>r"rc3�BK�|]}|�d�� V��dS)r�N)� startswith�r��ss r<r�zother_paths.<locals>.<genexpr>�s1����C�C��!�,�,�s�"3�"3�3�C�C�C�C�C�Cr>c�>��g|]}d��|g����Sr�)r2r�s �r<r�zother_paths.<locals>.<listcomp>�s)���=�=�=�!����5�!�*�-�-�=�=�=r>c�>��g|]}|���d����S)r"��replace)r�r��cpr�s ��r<r�zother_paths.<locals>.<listcomp>�s)���@�@�@�Q����2�u�a�0�0�@�@�@r>)r�r�rstripr�r5r�rl)r�r�r�r�r�s ` @r<� other_pathsr�~s�����6�%����(�� � �S�!�!�� � A�H�H�H�H�%�H�H�H�E�E��u�%�%�B�� *��Y�Y�s�A�&�&�q�)��� A�#�C�C�U�C�C�C�C�C� A�=�=�=�=�u�=�=�=���@�@�@�@�@�%�@�@�@����5�z�z�S��Z�Z�'�'�'�'� �Lr>�objc�,�t|t��SrZ)r�� BaseException�r�s r<� is_exceptionr��s�� �c�=� )� )�)r>�TypeGuard[IO[bytes]]c�:��t�fd�dD����S)Nc3�8�K�|]}t�|��V��dSrZ)r�)r��attrrss �r<r�zisfilelike.<locals>.<genexpr>�s-�����F�F�D�w�q�$���F�F�F�F�F�Fr>)ri�closerh)r�)rss`r<� isfileliker��s'��� �F�F�F�F�,E�F�F�F� F� F�Fr>�urlc��t|��}tjd|d���}t|��dkr|dSdS)Nz (\:\:|\://)r")�maxsplitrr)r�r.r�rl)r�r�s r<� get_protocolr��sB�� �� � �C� �H�^�S�1� 5� 5� 5�E� �5�z�z�A�~�~��Q�x�� �6r>rc��ddlm} t|t|����dd��S#tt f$rYdSwxYw)z*Can the given URL be used with open_local?r)�get_filesystem_class� local_fileF)�fsspecr��getattrr�rn� ImportError)rr�s r<� can_be_localr��sf��+�+�+�+�+�+���+�+�L��,>�,>�?�?��u�U�U�U�� � � $�����u�u����s�&/�A�A�namec��|tjvr)tj|}t|d��r|jS t |��S#YnxYw ddl}|�|��}|jS#ttf$rYdSwxYw)aFor given package name, try to find the version without importing it Import and package.__version__ is still the backup here, so an import *might* happen. Returns either the version string, or None if the package or the version was not readily found. � __version__rN) �sys�modulesr�r�r� importlib� import_moduler��AttributeError)r��modr�s r<�"get_package_version_without_importr��s��� �s�{����k�$��� �3� � &� &� #��?� "� ��t�}�}��� � �����������%�%�d�+�+������ �� (�����t�t����s�A�A �A0�0B�B�DEBUGT�logger�logging.Logger | None� logger_name�level�clear�logging.Loggerc�Z�|�|�td���|ptj|��}tj��}tjd��}|�|��|r|j���|�|��|� |��|S)Nz+Provide either logger object or logger namezD%(asctime)s - %(name)s - %(levelname)s - %(funcName)s -- %(message)s) rn�logging� getLogger� StreamHandler� Formatter� setFormatter�handlersr�� addHandler�setLevel)r�r�r�r��handle� formatters r<� setup_loggingr��s��� �~�+�-��F�G�G�G� � 5�w�(��5�5�F� � "� $� $�F��!�N���I� ��� �"�"�"� � �������� ���f���� �O�O�E���� �Mr>�fsrc�,�|�|��SrZ)�unstrip_protocol)r�r�s r<�_unstrip_protocolr��s�� � � �t� $� $�$r>� origin_name�methods�Callable[[type[T]], type[T]]c�&����d �fd� �d ��fd � }|S) zqMirror attributes and methods from the given origin_name attribute of the instance to the decorated class�methodr�selfr rc�D��t|���}t||��SrZ)r�)r�r��originr�s �r<� origin_getterz"mirror_from.<locals>.origin_getters"�����{�+�+���v�v�&�&�&r>r��type[T]c�n���D]0}t�|��}t||t|�����1|SrZ)r�setattr�property)r�r��wrapped_methodr�r�s ��r<�wrapperzmirror_from.<locals>.wrappersC���� ;� ;�F�$�]�F�;�;�N� �C���.�!9�!9� :� :� :� :�� r>)r�rr�r rr )r�r�rr�r�)r�r�rr�s`` @r<� mirror_fromr�sM�����'�'�'�'�'�'�������� �Nr>� Iterator[T]c#�K�|V�dSrZr�r�s r<� nullcontextr s���� �I�I�I�I�Ir>�starts�list[int] | int�ends�max_gap� max_block�sort�&tuple[list[str], list[int], list[int]]c �&�t|t��st�t|t��s|gt|��z}t|t��s|gt|��z}t|��t|��ks t|��t|��krt�t|��dkr|||fSd�|D��}|r3d�t t t |||�����D��\}}}|r�|dd�}|dd�}|dd�}tdt|����D]�} || || dz kr |d�� || || dz ks,|| |dz |ks|�g|| |dz |krR|�|| ��|�|| ��|�|| ����|| |d<��|||fS|||fS)a}Merge adjacent byte-offset ranges when the inter-range gap is <= `max_gap`, and when the merged byte range does not exceed `max_block` (if specified). By default, this function will re-order the input paths and byte ranges to ensure sorted order. If the user can guarantee that the inputs are already sorted, passing `sort=False` will skip the re-ordering. r"c��g|]}|pd��S)rr�r�s r<r�z'merge_offset_ranges.<locals>.<listcomp>/s�� %� %� %��a�f�1� %� %� %r>c3�4K�|]}t|��V��dSrZ)�list)r��vs r<r�z&merge_offset_ranges.<locals>.<genexpr>2s<���� � �� ��G�G� � � � � � r>Nr#) r�r� TypeErrorrlrn�zip�sortedr��append) r�rr r r r � new_paths� new_starts�new_endsrWs r<�merge_offset_rangesrsP�� �e�T� "� "���� �f�d� #� #�'���C��J�J�&�� �d�D� !� !�#��v��E� � �"�� �6�{�{�c�%�j�j� � �C��I�I��U���$;�$;��� �6�{�{�a����f�d�"�"� %� %�f� %� %� %�F� � � � �����v�t�,�,���� � � ���v�t� �/��"�1�"�I� ��B�Q�B�Z� �����8���q�#�e�*�*�%�%� '� '�A��Q�x�5��Q��<�'�'�H�R�L�,@���a��E�!�a�%�L�(�(��A�Y��"��-��8�8��)�t�A�w��B��/G�9�.T�.T�� � ��q��*�*�*��!�!�&��)�,�,�,�����Q��(�(�(�(� $�A�w��� � ��*�h�.�.� �&�$� �r>�filelikec��|���} |�dd��|�|��S#|�|��wxYw)z+Find length of any open read-mode file-liker�)rhrk)r�poss r<� file_sizer XsR�� �-�-�/�/�C���}�}�Q��"�"�� � �c������� � �c�������s �A�A�wb�modec#��K�tjtj�|��tj�|��dz���\}} t ||��5}|V�ddd��n #1swxYwYtj||��dS#t$rGtj t��5tj |��ddd��n #1swxYwY�wxYw)z� A context manager that opens a temporary file next to `path` and, on exit, replaces `path` with the temporary file, thereby updating `path` atomically. �-)�dir�prefixN) �tempfile�mkstemprMr�dirname�basename�openr�r�� contextlib�suppress�FileNotFoundError�unlink)rr"�fd�fn�fps r<� atomic_writer3asg����� � �G�O�O�D� !� !�"�'�*:�*:�4�*@�*@�3�*F����F�B��� �"�d�^�^� �r��H�H�H� � � � � � � � � � � ���� � � � � � �2�t������� ���� � �!2� 3� 3� � � �I�b�M�M�M� � � � � � � � � � � ���� � � � � ����sT�B�*A;�/ B�;A?�?B�A?�B�#C.�C!� C.�!C% �%C.�(C% �)C.c�|�g}|j}dt|��}}||k�r�||}|dz}|dkr|r |d|ur ||���n_|dkr ||���nL|dk�r(|}||kr||dkr|dz}||kr||dkr|dz}||kr#||dkr|dz}||kr ||dk�||kr |d ���n�|||�} d | vr| �d d ��} �n"g} ||dkr|d zn|dz} |�d | |��} | dkrn(| �||| ���| dz}| dz} �F|||�} | r| �| ��n| dxxd z cc<t t| ��dz dd��D]P} | | dz d| | dkr-| | dz dd�| | dd�z| | dz <| | =�Qd �d�| D����} t jdd| ��} |dz}| s |d��nh| dkr |d��nV| ddkrd| dd�z} n| ddvrd | z} |d| �d���n|t j|����||k���||ksJ�|S)Nrr"�*r#�?�[�!�]z\[r$�\�\\rT�c3�jK�|].}|�dd���dd��V��/dS)r:r;r$z\-Nr�r�s r<r�z_translate.<locals>.<genexpr>�sQ����%�%�GH�� � �$��.�.�6�6�s�E�B�B�%�%�%�%�%�%r>z([&~|])z\\\1z(?!)rL�^)r>r7) rrlr��findr�r2r.�sub�escape) �pat�STAR� QUESTION_MARK�res�addrW�n�c�j�stuff�chunks�k�chunks r<� _translaterNvs����C� �*�C� �c�#�h�h�q�A� �a�%�%� ��F�� ��E�� ��8�8�� �C��G�4�/�/���D� � � �� �#�X�X� �C� � � � � � �#�X�X��A��1�u�u��Q��3�����E���1�u�u��Q��3�����E���a�%�%�C��F�c�M�M���E���a�%�%�C��F�c�M�M��A�v�v���E� � � � ��A�a�C����e�#�#�!�M�M�$��6�6�E�E��F�!$�Q��3����A���A��E�A�"��H�H�S�!�Q�/�/���q�5�5�!�� � �c�!�A�#�h�/�/�/���E����E�� "� ��!��H�E��*�� � �e�,�,�,�,��r� � � �c�)� � � �"�3�v�;�;��?�A�r�:�:�*�*��!�!�a�%�=��,�v�a�y��|�;�;�,2�1�q�5�M�#�2�#�,>����1�2�2��,N�F�1�q�5�M� &�q� �� �H�H�%�%�LR�%�%�%���E���z�7�E�:�:����E��� &��C��K�K�K�K��c�\�\��C��H�H�H�H��Q�x�3��� #�e�A�B�B�i�����q��Z�/�/� $�u� ���C� �E� � � �%�%�%�%� �C�� �!� � � � � �A �a�%�%�B ��6�6�6�6� �Jr>c�@�tjjr$tjjtjjz}ntjj}d�t t j|����}t|��dkrd|�d�n|}d|�d�}|�d�}|�|��}d|�d�}d }g} t j ||��} t| ��dz } t| ��D]�\} } | d kr| � | | kr|n|���)| d kr| � | | kr|n|���Md | vrtd ���| r'| � t| |�d �|����| | kr| � |����d�| ��}d |�d�S)zBTranslate a pathname with shell wildcards to a regular expression.�r"r7r9z[^�+z(?:.+z)?z.*r5z**z:Invalid pattern: '**' can only be an entire path componentz(?s:z)\Z)rMr�altsep�sepr2�mapr.rArlr�� enumeraterrn�extendrN)rB�seps� escaped_seps�any_sep�not_sep�one_last_segment� one_segment� any_segments�any_last_segments�resultsr�� last_part_idx�idx�partrEs r<�glob_translaterc�s���  �w�~���w�{�R�W�^�+����w�{���7�7�3�r�y�$�/�/�0�0�L�%(��Y�Y��]�]�!�,�!�!�!�!� �G�"�<�"�"�"�G�!�}�}�}��%�0�w�0�0�K�&�7�&�&�&�L����G� �H�W�c� "� "�E���J�J��N�M��u�%�%�$�$� ��T� �3�;�;� �N�N�#� �*=�*=�;�;�CS� T� T� T� � �4�<�<� �N�N�3��+>�+>�<�<�DU� V� V� V� � �T�\�\��L��� � � E� �N�N�:�d�w�M�M�M�7�C�C� D� D� D� �� � � �N�N�7� #� #� #�� �'�'�'� � �C� �3� � � �r>rZ)rrrrrr)r;rr?rrr@)rIrrrJ)rSrTrrU)rrbrcrdrerXrrf)NF) rsrbrtrXrurvrcrwrxrfrrd)r�r r�r rr)r�r�rr)r�r�r�r�r�rrr)r�r�rr)FF) r�r�r�r�r�rfr�rfrr�)r�r rrf)rsr rr�)r�rrr)rrrrf)r�rrrJ)NNr�T) r�r�r�rJr�rr�rfrr�)r�rr�rrr)r�rr�r�rr�)r�rrr)rNT)r�r�rr r r r rXr rvr rfrr)rrbrrX)r!)rrr"r)=� __future__rr,r�r^rMr.r�r'� functoolsr�hashlibr�importlib.metadatar�typingrrr r r r r r� urllib.parser�pathlib�typing_extensionsr� fsspec.specr�DEFAULT_BLOCK_SIZErr=r7rH�__annotations__rRrarrrr�r�r�r�r�r�r�r�r�r�r�r�r�contextmanagerrrr r3rNrcr�r>r<�<module>rps���"�"�"�"�"�"�"��������� � � � � � � � � � � � � � � � �����������������&�&�&�&�&�&� � � � � � � � � � � � � � � � � � � � �"�!�!�!�!�!��/��N�N�N�+�+�+�+�+�+�.�.�.�.�.�.��� �G�C�L�L��DH�R�R�R�R�R�lAE� � � � � �" "� �!�!�!�!� � � � �����:.'�.'�.'�.'�j#�� G �G �G �G �G �T����*����@���� "� "� "� "� �� *�*�*�*�*�Z*�*�*�*�G�G�G�G�������������6%)�"��� �����*%�%�%�%�����( ��������� �� C�C�C�C�C�L���� ���������(G�G�G�T#�#�#�#�#r>
Memory