Ë
    `§1h  ã                  óä   — d dl mZ ddlmZmZ d dlmZ d dlZd dlZ G d„ dej                  «      Z
	 	 	 	 dd„Z	 	 	 	 dd	„Z	 d	 	 	 	 	 	 	 dd
„Z	 	 	 	 	 	 	 	 dd„Z	 	 	 	 	 	 dd„Z	 	 	 	 	 	 	 	 dd„Zy)é    )Úannotationsé   )Úevent_classÚT_JSON_DICT)Ú	dataclassNc                  ó6   — e Zd ZdZdZdZdZdZd„ Ze	d„ «       Z
y)	ÚStorageAreaz
    Storage areas.
    ÚsessionÚlocalÚsyncÚmanagedc                ó   — | j                   S ©N)Úvalue)Úselfs    úp/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/selenium/webdriver/common/devtools/v135/extensions.pyÚto_jsonzStorageArea.to_json   s   € Ø�z‰zÐó    c                ó   —  | |«      S r   © )ÚclsÚjsons     r   Ú	from_jsonzStorageArea.from_json   s   € á�4‹yÐr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚSESSIONÚLOCALÚSYNCÚMANAGEDr   Úclassmethodr   r   r   r   r	   r	      s6   „ ñð €GØ€EØ€DØ€Gòð ñó ñr   r	   c              #  óV   K  — t        «       }| |d<   d|dœ}|–—}t        |d   «      S ­w)av  
    Installs an unpacked extension from the filesystem similar to
    --load-extension CLI flags. Returns extension ID once the extension
    has been installed. Available if the client is connected using the
    --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
    flag is set.

    :param path: Absolute file path.
    :returns: Extension id.
    ÚpathzExtensions.loadUnpacked©ÚmethodÚparamsÚid)ÚdictÚstr)r$   r'   Úcmd_dictr   s       r   Úload_unpackedr,      s<   è ø€ ô ›&€FØ€Fˆ6�Nà+Øñ€Hð ‰>€DÜˆt�D‰z‹?Ðùs   ‚')c              #  ó<   K  — t        «       }| |d<   d|dœ}|–—}y­w)zó
    Uninstalls an unpacked extension (others not supported) from the profile.
    Available if the client is connected using the --remote-debugging-pipe flag
    and the --enable-unsafe-extension-debugging.

    :param id_: Extension id.
    r(   zExtensions.uninstallr%   N)r)   )Úid_r'   r+   r   s       r   Ú	uninstallr/   5   s.   è ø€ ô ›&€FØ€Fˆ4�Là(Øñ€Hð ‰>�Dùs   ‚c              #  ó°   K  — t        «       }| |d<   |j                  «       |d<   |�|D �cg c]  }|‘Œ c}|d<   d|dœ}|–—}t        |d   «      S c c}w ­w)a(  
    Gets data from extension storage in the given ``storageArea``. If ``keys`` is
    specified, these are used to filter the result.

    :param id_: ID of extension.
    :param storage_area: StorageArea to retrieve data from.
    :param keys: *(Optional)* Keys to retrieve.
    :returns: 
    r(   ÚstorageAreaÚkeyszExtensions.getStorageItemsr%   Údata©r)   r   ©r.   Ústorage_arear2   r'   Úir+   r   s          r   Úget_storage_itemsr8   H   so   è ø€ ô ›&€FØ€Fˆ4�LØ(×0Ñ0Ó2€Fˆ=ÑØÐØ%)Ö* š!Ò*ˆˆv‰à.Øñ€Hð ‰>€DÜ��V‘ÓÐùò +ùs   ‚)A«	A´"Ac              #  ó’   K  — t        «       }| |d<   |j                  «       |d<   |D �cg c]  }|‘Œ c}|d<   d|dœ}|–—}yc c}w ­w)zÌ
    Removes ``keys`` from extension storage in the given ``storageArea``.

    :param id_: ID of extension.
    :param storage_area: StorageArea to remove data from.
    :param keys: Keys to remove.
    r(   r1   r2   zExtensions.removeStorageItemsr%   Nr4   r5   s          r   Úremove_storage_itemsr:   c   sZ   è ø€ ô ›&€FØ€Fˆ4�LØ(×0Ñ0Ó2€Fˆ=ÑØ!%Ö&˜A’aÒ&€Fˆ6�Nà1Øñ€Hð ‰>�Dùò 'ùs   ‚'A©	A²Ac              #  ób   K  — t        «       }| |d<   |j                  «       |d<   d|dœ}|–—}y­w)zœ
    Clears extension storage in the given ``storageArea``.

    :param id_: ID of extension.
    :param storage_area: StorageArea to remove data from.
    r(   r1   zExtensions.clearStorageItemsr%   Nr4   )r.   r6   r'   r+   r   s        r   Úclear_storage_itemsr<   z   sA   è ø€ ô ›&€FØ€Fˆ4�LØ(×0Ñ0Ó2€Fˆ=Ñà0Øñ€Hð ‰>�Dùs   ‚-/c              #  ól   K  — t        «       }| |d<   |j                  «       |d<   ||d<   d|dœ}|–—}y­w)a  
    Sets ``values`` in extension storage in the given ``storageArea``. The provided ``values``
    will be merged with existing values in the storage area.

    :param id_: ID of extension.
    :param storage_area: StorageArea to set data in.
    :param values: Values to set.
    r(   r1   ÚvalueszExtensions.setStorageItemsr%   Nr4   )r.   r6   r>   r'   r+   r   s         r   Úset_storage_itemsr?   Ž   sK   è ø€ ô ›&€FØ€Fˆ4�LØ(×0Ñ0Ó2€Fˆ=ÑØ€Fˆ8Ñà.Øñ€Hð ‰>�Dùs   ‚24)r$   r*   Úreturnz/typing.Generator[T_JSON_DICT, T_JSON_DICT, str])r.   r*   r@   ú0typing.Generator[T_JSON_DICT, T_JSON_DICT, None]r   )r.   r*   r6   r	   r2   z!typing.Optional[typing.List[str]]r@   z0typing.Generator[T_JSON_DICT, T_JSON_DICT, dict])r.   r*   r6   r	   r2   ztyping.List[str]r@   rA   )r.   r*   r6   r	   r@   rA   )r.   r*   r6   r	   r>   r)   r@   rA   )Ú
__future__r   Úutilr   r   Údataclassesr   ÚenumÚtypingÚEnumr	   r,   r/   r8   r:   r<   r?   r   r   r   ú<module>rH      sï   ðõ #ß *Ý !Û Û ô�$—)‘)ô ð"Øðà	6óð.Øðà	7óð, 37ðØðà!ðð 0ðð 
8ó	ð6Øðà!ðð ðð 
8ó	ð.Øðà!ðð 
8óð(Øðà!ðð ðð 
8ô	r   