
    f                       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ddl	m
Z
 ddl	mZ ddl	mZ  G d	 d
e          Z G d dej                  Ze G d d                      Ze G d d                      Z G d de          Z G d dej                  Z G d dej                  Z G d dej                  Z G d dej                  Ze G d d                      Ze G d d                      Ze G d d                       Ze G d! d"                      Ze G d# d$                      Z G d% d&ej                  Ze G d' d(                      Ze G d) d*                      Z G d+ d,ej                  Z  G d- d.e          Z! G d/ d0e          Z" G d1 d2e          Z#e G d3 d4                      Z$e G d5 d6                      Z%e G d7 d8                      Z&e G d9 d:                      Z'e G d; d<                      Z(e G d= d>                      Z) G d? d@ej                  Z*e G dA dB                      Z+e G dC dD                      Z,e G dE dF                      Z- G dG dHej                  Z. G dI dJej                  Z/e G dK dL                      Z0e G dM dN                      Z1e G dO dP                      Z2e G dQ dR                      Z3e G dS dT                      Z4e G dU dV                      Z5 G dW dXej                  Z6 G dY dZej                  Z7e G d[ d\                      Z8ddaZ9ddfZ:ddhZ;	 dddlZ<	 dddoZ=	 dddpZ>ddrZ?	 ddduZ@ddvZAddwZBddxZCddyZDddzZEdd{ZFdd|ZGdd}ZHddZIddZJddZKddZLddZMddZNddZO	 dddZPddZQddZRddZSddZTddZUddZVddZWddZXddZYddZZddZ[ ed          e G d d                                  Z\ ed          e G d d                                  Z] ed          e G d d                                  Z^ ed          e G d d                                  Z_ ed          e G d d                                  Z` ed          e G d d                                  Za ed          e G d d                                  Zb ed          e G d d                                  Zc ed          e G d d                                  Zd ed          e G d d                                  Ze ed¦          e G dÄ dĦ                                  Zf edŦ          e G dƄ dǦ                                  ZgdS )    )annotations   )event_classT_JSON_DICT)	dataclassN)browser)network)pagec                  >     e Zd ZddZedd            Z fdZ xZS )	SerializedStorageKeyreturnstrc                    | S N selfs    q/var/www/ffwdstore.be/apps/py-env/lib/python3.11/site-packages/selenium/webdriver/common/devtools/v128/storage.pyto_jsonzSerializedStorageKey.to_json           jsonc                     | |          S r   r   clsr   s     r   	from_jsonzSerializedStorageKey.from_json       s4yyr   c                j    d                     t                                                                S )NzSerializedStorageKey({})formatsuper__repr__r   	__class__s    r   r"   zSerializedStorageKey.__repr__   s'    )001A1A1C1CDDDr   r   r   )r   r   r   r   __name__
__module____qualname__r   classmethodr   r"   __classcell__r$   s   @r   r   r      su               [E E E E E E E E Er   r   c                  f    e Z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ZdZdZdZd Zed             ZdS )StorageTypez)
    Enum of possible storage types.
    appcachecookiesfile_systems	indexeddblocal_storageshader_cachewebsqlservice_workerscache_storageinterest_groupsshared_storagestorage_bucketsallotherc                    | j         S r   valuer   s    r   r   zStorageType.to_json0   
    zr   c                     | |          S r   r   r   s     r   r   zStorageType.from_json3   r   r   N)r'   r(   r)   __doc__APPCACHECOOKIESFILE_SYSTEMS	INDEXEDDBLOCAL_STORAGESHADER_CACHEWEBSQLSERVICE_WORKERSCACHE_STORAGEINTEREST_GROUPSSHARED_STORAGESTORAGE_BUCKETSALL_OTHERr   r*   r   r   r   r   r.   r.      s          HG!LI#M!LF'O#M'O%N'ODE     [  r   r.   c                  D    e Zd ZU dZded<   ded<   d Zed             ZdS )	UsageForTypez#
    Usage for a storage type.
    r.   storage_typefloatusagec                n    t                      }| j                                        |d<   | j        |d<   |S )NstorageTyperU   )dictrS   r   rU   r   r   s     r   r   zUsageForType.to_jsonC   s4    vv"/7799]
Wr   c                ~     | t                               |d                   t          |d                             S )NrW   rU   )rS   rU   )r.   r   rT   r   s     r   r   zUsageForType.from_jsonI   s@    s$..tM/BCCW&&
 
 
 	
r   Nr'   r(   r)   rB   __annotations__r   r*   r   r   r   r   rR   rR   8   sc            LLL   
 
 [
 
 
r   rR   c                  D    e Zd ZU dZded<   ded<   d Zed             ZdS )	TrustTokenszq
    Pair of issuer origin and number of available (signed, but not used) Trust
    Tokens from that issuer.
    r   issuer_originrT   countc                J    t                      }| j        |d<   | j        |d<   |S )NissuerOriginr`   )rX   r_   r`   rY   s     r   r   zTrustTokens.to_json[   s(    vv#1^
Wr   c                h     | t          |d                   t          |d                             S )Nrb   r`   )r_   r`   )r   rT   r   s     r   r   zTrustTokens.from_jsona   s:    sd>233W&&
 
 
 	
r   Nr[   r   r   r   r^   r^   Q   sa           LLL   
 
 [
 
 
r   r^   c                  B     e Zd ZdZddZed	d            Z fdZ xZS )
InterestGroupAuctionIdz?
    Protected audience interest group auction identifier.
    r   r   c                    | S r   r   r   s    r   r   zInterestGroupAuctionId.to_jsonm   r   r   r   c                     | |          S r   r   r   s     r   r   z InterestGroupAuctionId.from_jsonp   r   r   c                j    d                     t                                                                S )NzInterestGroupAuctionId({})r   r#   s    r   r"   zInterestGroupAuctionId.__repr__t   '    +225773C3C3E3EFFFr   r%   )r   r   r   re   )	r'   r(   r)   rB   r   r*   r   r"   r+   r,   s   @r   re   re   i   s                [G G G G G G G G Gr   re   c                  Z    e Z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Zd Zed             ZdS )InterestGroupAccessTypez.
    Enum of interest group access types.
    joinleaveupdateloadedbidwinadditionalBidadditionalBidWintopLevelBidtopLevelAdditionalBidclearc                    | j         S r   r>   r   s    r   r   zInterestGroupAccessType.to_json   r@   r   c                     | |          S r   r   r   s     r   r   z!InterestGroupAccessType.from_json   r   r   N)r'   r(   r)   rB   JOINLEAVEUPDATELOADEDBIDWINADDITIONAL_BIDADDITIONAL_BID_WINTOP_LEVEL_BIDTOP_LEVEL_ADDITIONAL_BIDCLEARr   r*   r   r   r   r   rk   rk   x   s          DEFF
C
C$N+!M6E     [  r   rk   c                  6    e Zd ZdZdZdZd Zed             ZdS )InterestGroupAuctionEventTypez!
    Enum of auction events.
    startedconfigResolvedc                    | j         S r   r>   r   s    r   r   z%InterestGroupAuctionEventType.to_json   r@   r   c                     | |          S r   r   r   s     r   r   z'InterestGroupAuctionEventType.from_json   r   r   N)	r'   r(   r)   rB   STARTEDCONFIG_RESOLVEDr   r*   r   r   r   r   r   r      sT          G&O     [  r   r   c                  B    e Zd ZdZdZdZdZdZdZd Z	e
d             Zd	S )
InterestGroupAuctionFetchTypez2
    Enum of network fetches auctions can do.
    bidderJs
bidderWasmsellerJsbidderTrustedSignalssellerTrustedSignalsc                    | j         S r   r>   r   s    r   r   z%InterestGroupAuctionFetchType.to_json   r@   r   c                     | |          S r   r   r   s     r   r   z'InterestGroupAuctionFetchType.from_json   r   r   N)r'   r(   r)   rB   	BIDDER_JSBIDDER_WASM	SELLER_JSBIDDER_TRUSTED_SIGNALSSELLER_TRUSTED_SIGNALSr   r*   r   r   r   r   r   r      se          IKI33     [  r   r   c                      e Z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ZdZdZdZdZdZdZdZdZdZdZd Zed             ZdS )SharedStorageAccessTypez.
    Enum of shared storage access types.
    documentAddModuledocumentSelectURLdocumentRundocumentSetdocumentAppenddocumentDeletedocumentCleardocumentGet
workletSetworkletAppendworkletDeleteworkletClear
workletGetworkletKeysworkletEntriesworkletLengthworkletRemainingBudget	headerSetheaderAppendheaderDeleteheaderClearc                    | j         S r   r>   r   s    r   r   zSharedStorageAccessType.to_json   r@   r   c                     | |          S r   r   r   s     r   r   z!SharedStorageAccessType.from_json   r   r   N)r'   r(   r)   rB   DOCUMENT_ADD_MODULEDOCUMENT_SELECT_URLDOCUMENT_RUNDOCUMENT_SETDOCUMENT_APPENDDOCUMENT_DELETEDOCUMENT_CLEARDOCUMENT_GETWORKLET_SETWORKLET_APPENDWORKLET_DELETEWORKLET_CLEARWORKLET_GETWORKLET_KEYSWORKLET_ENTRIESWORKLET_LENGTHWORKLET_REMAINING_BUDGET
HEADER_SETHEADER_APPENDHEADER_DELETEHEADER_CLEARr   r*   r   r   r   r   r   r      s          .- L L&O&O$N LK$N$N"MK L&O$N7J"M"M L     [  r   r   c                  D    e Zd ZU dZded<   ded<   d Zed             ZdS )SharedStorageEntryzK
    Struct for a single key-value pair in an origin's shared storage.
    r   keyr?   c                J    t                      }| j        |d<   | j        |d<   |S Nr   r?   )rX   r   r?   rY   s     r   r   zSharedStorageEntry.to_json   s&    vvhU
Wr   c                h     | t          |d                   t          |d                             S Nr   r?   )r   r?   r   r   s     r   r   zSharedStorageEntry.from_json   s9    sDK  d7m$$
 
 
 	
r   Nr[   r   r   r   r   r      s^           HHHJJJ   
 
 [
 
 
r   r   c                  X    e Zd ZU dZded<   ded<   ded<   ded<   d	 Zed
             ZdS )SharedStorageMetadataz1
    Details for an origin's shared storage.
    network.TimeSinceEpochcreation_timeintlengthrT   remaining_budget
bytes_usedc                    t                      }| j                                        |d<   | j        |d<   | j        |d<   | j        |d<   |S )NcreationTimer   remainingBudget	bytesUsed)rX   r   r   r   r   r   rY   s     r   r   zSharedStorageMetadata.to_json   sN    vv#199;;^X"&"7 O[r   c           	          | t           j                            |d                   t          |d                   t	          |d                   t          |d                             S )Nr   r   r   r   )r   r   r   r   )r	   TimeSinceEpochr   r   rT   r   s     r   r   zSharedStorageMetadata.from_json  sd    s!0::4;OPPtH~&&"4(9#:;;4,--	
 
 
 	
r   Nr[   r   r   r   r   r      s|           *))) KKK  OOO   
 
 [
 
 
r   r   c                  D    e Zd ZU dZded<   ded<   d Zed             ZdS )SharedStorageReportingMetadatazU
    Pair of reporting metadata details for a candidate URL for ``selectURL()``.
    r   
event_typereporting_urlc                J    t                      }| j        |d<   | j        |d<   |S )N	eventTypereportingUrl)rX   r   r   rY   s     r   r   z&SharedStorageReportingMetadata.to_json  s)    vv O[#1^r   c                h     | t          |d                   t          |d                             S )Nr   r   )r   r   r   r   s     r   r   z(SharedStorageReportingMetadata.from_json  s;    s4,--d>233
 
 
 	
r   Nr[   r   r   r   r   r     sa           OOO   
 
 [
 
 
r   r   c                  D    e Zd ZU dZded<   ded<   d Zed             ZdS )	SharedStorageUrlWithMetadataz>
    Bundles a candidate URL with its reporting metadata.
    r   urlz+typing.List[SharedStorageReportingMetadata]reporting_metadatac                ^    t                      }| j        |d<   d | j        D             |d<   |S )Nr   c                6    g | ]}|                                 S r   r   .0is     r   
<listcomp>z8SharedStorageUrlWithMetadata.to_json.<locals>.<listcomp>3  s     $R$R$RQQYY[[$R$R$Rr   reportingMetadata)rX   r   r   rY   s     r   r   z$SharedStorageUrlWithMetadata.to_json0  s7    vvhU$R$R$:Q$R$R$R !r   c                b     | t          |d                   d |d         D                       S )Nr   c                B    g | ]}t                               |          S r   )r   r   r   s     r   r   z:SharedStorageUrlWithMetadata.from_json.<locals>.<listcomp>:  s(    oooPQ > H H K Kooor   r   )r   r   r   r   s     r   r   z&SharedStorageUrlWithMetadata.from_json6  sB    sDK  ooUYZmUnooo
 
 
 	
r   Nr[   r   r   r   r   r   %  sd           HHH DCCC   
 
 [
 
 
r   r   c                      e Zd ZU dZdZded<   dZded<   dZded<   dZded<   dZ	ded	<   dZ
ded
<   dZded<   d Zed             ZdS )SharedStorageAccessParamsz
    Bundles the parameters for shared storage access events whose
    presence/absence can vary according to SharedStorageAccessType.
    Ntyping.Optional[str]script_source_urloperation_nameserialized_dataz:typing.Optional[typing.List[SharedStorageUrlWithMetadata]]urls_with_metadatar   r?   typing.Optional[bool]ignore_if_presentc                $   t                      }| j        
| j        |d<   | j        
| j        |d<   | j        
| j        |d<   | j        d | j        D             |d<   | j        
| j        |d<   | j        
| j        |d<   | j        
| j        |d<   |S )	NscriptSourceUrloperationNameserializedDatac                6    g | ]}|                                 S r   r   r   s     r   r   z5SharedStorageAccessParams.to_json.<locals>.<listcomp>{  s     'U'U'U		'U'U'Ur   urlsWithMetadatar   r?   ignoreIfPresent)rX   r   r   r   r   r   r?   r   rY   s     r   r   z!SharedStorageAccessParams.to_jsonr  s    vv!-&*&<D"#*$($7D!+%)%9D!"".'U'UT=T'U'U'UD#$8(DK:! JDM!-&*&<D"#r   c                ~    | d|v rt          |d                   nd d|v rt          |d                   nd d|v rt          |d                   nd d|v rd |d         D             nd d|v rt          |d                   nd d|v rt          |d                   nd d|v rt          |d                   nd 	          S )
Nr   r   r   r  c                B    g | ]}t                               |          S r   )r   r   r   s     r   r   z7SharedStorageAccessParams.from_json.<locals>.<listcomp>  s'    llla < F Fq I Illlr   r   r?   r  )r   r   r   r   r   r?   r   )r   boolr   s     r   r   z#SharedStorageAccessParams.from_json  s   s>OSW>W>Wc$'8"9:::]a9HD9P9P3tO4555VZ;Kt;S;SC%5 6777Y] qC  GK  qK  qKllSWXjSkllll  QU$)TMMDK   t(/4#d7m$$$T?PTX?X?Xd4(9#:;;;^b
 
 
 	
r   )r'   r(   r)   rB   r   r\   r   r   r   r   r?   r   r   r*   r   r   r   r   r   r   >  s           /32222
 ,0N////
 -1O0000 VZYYYY !%C$$$$ #'E&&&& 043333  $ 	
 	
 [	
 	
 	
r   r   c                  2    e Zd ZdZdZd Zed             ZdS )StorageBucketsDurabilityrelaxedstrictc                    | j         S r   r>   r   s    r   r   z StorageBucketsDurability.to_json  r@   r   c                     | |          S r   r   r   s     r   r   z"StorageBucketsDurability.from_json  r   r   N)r'   r(   r)   RELAXEDSTRICTr   r*   r   r   r   r   r  r    sH        GF     [  r   r  c                  D    e Zd ZU ded<   dZded<   d Zed             ZdS )StorageBucketr   storage_keyNr   namec                |    t                      }| j                                        |d<   | j        
| j        |d<   |S )N
storageKeyr  )rX   r  r   r  rY   s     r   r   zStorageBucket.to_json  s<    vv!-5577\9 9DLr   c                     | t                               |d                   d|v rt          |d                   nd           S )Nr  r  )r  r  )r   r   r   r   s     r   r   zStorageBucket.from_json  sM    s,66tL7IJJ&,nnT&\"""$
 
 
 	
r   )r'   r(   r)   r\   r  r   r*   r   r   r   r   r  r    s_         %%%% "&D%%%%   
 
 [
 
 
r   r  c                  h    e Zd ZU ded<   ded<   ded<   ded<   d	ed
<   ded<   d Zed             ZdS )StorageBucketInfor  bucketr   id_r   
expirationrT   quotar  
persistentr  
durabilityc                   t                      }| j                                        |d<   | j        |d<   | j                                        |d<   | j        |d<   | j        |d<   | j                                        |d<   |S )Nr  idr  r  r  r  )rX   r  r   r  r  r  r  r  rY   s     r   r   zStorageBucketInfo.to_json  sy    vv,,..XXT
!_4466\
W!_\!_4466\r   c                T    | t                               |d                   t          |d                   t          j                            |d                   t          |d                   t          |d                   t                              |d                             S )Nr  r  r  r  r  r  )r  r  r  r  r  r  )r  r   r   r	   r   rT   r  r  r   s     r   r   zStorageBucketInfo.from_json  s    s **4>::DJ-77\8JKKW&&D.///99$|:LMM
 
 
 	
r   Nr'   r(   r)   r\   r   r*   r   r   r   r   r  r    s         HHH&&&& LLL((((   
 
 [
 
 
r   r  c                  2    e Zd ZdZdZd Zed             ZdS )AttributionReportingSourceType
navigationeventc                    | j         S r   r>   r   s    r   r   z&AttributionReportingSourceType.to_json  r@   r   c                     | |          S r   r   r   s     r   r   z(AttributionReportingSourceType.from_json  r   r   N)r'   r(   r)   
NAVIGATIONEVENTr   r*   r   r   r   r   r#  r#    sH        JE     [  r   r#  c                  >     e Zd ZddZedd            Z fdZ xZS )	UnsignedInt64AsBase10r   r   c                    | S r   r   r   s    r   r   zUnsignedInt64AsBase10.to_json  r   r   r   c                     | |          S r   r   r   s     r   r   zUnsignedInt64AsBase10.from_json  r   r   c                j    d                     t                                                                S )NzUnsignedInt64AsBase10({})r   r#   s    r   r"   zUnsignedInt64AsBase10.__repr__  s'    *11%''2B2B2D2DEEEr   r%   )r   r   r   r+  r&   r,   s   @r   r+  r+    su               [F F F F F F F F Fr   r+  c                  >     e Zd ZddZedd            Z fdZ xZS )	UnsignedInt128AsBase16r   r   c                    | S r   r   r   s    r   r   zUnsignedInt128AsBase16.to_json  r   r   r   c                     | |          S r   r   r   s     r   r   z UnsignedInt128AsBase16.from_json  r   r   c                j    d                     t                                                                S )NzUnsignedInt128AsBase16({})r   r#   s    r   r"   zUnsignedInt128AsBase16.__repr__  ri   r   r%   )r   r   r   r0  r&   r,   s   @r   r0  r0    su               [G G G G G G G G Gr   r0  c                  >     e Zd ZddZedd            Z fdZ xZS )	SignedInt64AsBase10r   r   c                    | S r   r   r   s    r   r   zSignedInt64AsBase10.to_json  r   r   r   c                     | |          S r   r   r   s     r   r   zSignedInt64AsBase10.from_json   r   r   c                j    d                     t                                                                S )NzSignedInt64AsBase10({})r   r#   s    r   r"   zSignedInt64AsBase10.__repr__  s'    (//0@0@0B0BCCCr   r%   )r   r   r   r5  r&   r,   s   @r   r5  r5    su               [D D D D D D D D Dr   r5  c                  @    e Zd ZU ded<   ded<   d Zed             ZdS )#AttributionReportingFilterDataEntryr   r   typing.List[str]valuesc                ^    t                      }| j        |d<   d | j        D             |d<   |S )Nr   c                    g | ]}|S r   r   r   s     r   r   z?AttributionReportingFilterDataEntry.to_json.<locals>.<listcomp>  s    111!111r   r<  )rX   r   r<  rY   s     r   r   z+AttributionReportingFilterDataEntry.to_json  s4    vvhU11T[111Xr   c                b     | t          |d                   d |d         D                       S )Nr   c                ,    g | ]}t          |          S r   r   r   s     r   r   zAAttributionReportingFilterDataEntry.from_json.<locals>.<listcomp>  s    333qCFF333r   r<  )r   r<  r   r   s     r   r   z-AttributionReportingFilterDataEntry.from_json  s?    sDK  33DN333
 
 
 	
r   Nr!  r   r   r   r:  r:    sU         HHH   
 
 [
 
 
r   r:  c                  D    e Zd ZU ded<   dZded<   d Zed             ZdS ) AttributionReportingFilterConfig0typing.List[AttributionReportingFilterDataEntry]filter_valuesNztyping.Optional[int]lookback_windowc                l    t                      }d | j        D             |d<   | j        
| j        |d<   |S )Nc                6    g | ]}|                                 S r   r   r   s     r   r   z<AttributionReportingFilterConfig.to_json.<locals>.<listcomp>%       HHH		HHHr   filterValueslookbackWindow)rX   rD  rE  rY   s     r   r   z(AttributionReportingFilterConfig.to_json#  sB    vvHHT5GHHH^+%)%9D!"r   c                n     | d |d         D             d|v rt          |d                   nd           S )Nc                B    g | ]}t                               |          S r   r:  r   r   s     r   r   z>AttributionReportingFilterConfig.from_json.<locals>.<listcomp>-  s(    jjjPQ>HHKKjjjr   rI  rJ  )rD  rE  r   r   s     r   r   z*AttributionReportingFilterConfig.from_json*  sT    sjjUYZhUijjj;Kt;S;SC%5 6777Y]
 
 
 	
r   )r'   r(   r)   r\   rE  r   r*   r   r   r   r   rB  rB    s_         CCCC -1O0000   
 
 [
 
 
r   rB  c                  @    e Zd ZU ded<   ded<   d Zed             ZdS )AttributionReportingFilterPairz-typing.List[AttributionReportingFilterConfig]filtersnot_filtersc                r    t                      }d | j        D             |d<   d | j        D             |d<   |S )Nc                6    g | ]}|                                 S r   r   r   s     r   r   z:AttributionReportingFilterPair.to_json.<locals>.<listcomp>:  s     ===1199;;===r   rQ  c                6    g | ]}|                                 S r   r   r   s     r   r   z:AttributionReportingFilterPair.to_json.<locals>.<listcomp>;       DDDaaiikkDDDr   
notFilters)rX   rQ  rR  rY   s     r   r   z&AttributionReportingFilterPair.to_json8  sD    vv=====YDD43CDDD\r   c                \     | d |d         D             d |d         D                       S )Nc                B    g | ]}t                               |          S r   rB  r   r   s     r   r   z<AttributionReportingFilterPair.from_json.<locals>.<listcomp>A  s'    \\\q5??BB\\\r   rQ  c                B    g | ]}t                               |          S r   rZ  r   s     r   r   z<AttributionReportingFilterPair.from_json.<locals>.<listcomp>B  s'    ccc19CCAFFcccr   rW  )rQ  rR  r   r   s     r   r   z(AttributionReportingFilterPair.from_json>  sI    s\\DQZO\\\ccPTUaPbccc
 
 
 	
r   Nr!  r   r   r   rP  rP  2  sX         ::::>>>>   
 
 [
 
 
r   rP  c                  @    e Zd ZU ded<   ded<   d Zed             ZdS )(AttributionReportingAggregationKeysEntryr   r   r0  r?   c                n    t                      }| j        |d<   | j                                        |d<   |S r   )rX   r   r?   r   rY   s     r   r   z0AttributionReportingAggregationKeysEntry.to_jsonL  s2    vvhU
**,,Wr   c                ~     | t          |d                   t                              |d                             S r   )r   r0  r   r   s     r   r   z2AttributionReportingAggregationKeysEntry.from_jsonR  s?    sDK  (224=AA
 
 
 	
r   Nr!  r   r   r   r]  r]  F  sU         HHH!!!!   
 
 [
 
 
r   r]  c                  @    e Zd ZU ded<   ded<   d Zed             ZdS )&AttributionReportingEventReportWindowsr   startztyping.List[int]endsc                ^    t                      }| j        |d<   d | j        D             |d<   |S )Nrb  c                    g | ]}|S r   r   r   s     r   r   zBAttributionReportingEventReportWindows.to_json.<locals>.<listcomp>e  s    ---a---r   rc  )rX   rb  rc  rY   s     r   r   z.AttributionReportingEventReportWindows.to_jsonb  s4    vv
W--49---Vr   c                b     | t          |d                   d |d         D                       S )Nrb  c                ,    g | ]}t          |          S r   rN  r   s     r   r   zDAttributionReportingEventReportWindows.from_json.<locals>.<listcomp>l  s    ///Q#a&&///r   rc  )rb  rc  rN  r   s     r   r   z0AttributionReportingEventReportWindows.from_jsonh  s?    sd7m$$//$v,///
 
 
 	
r   Nr!  r   r   r   ra  ra  Z  sY          JJJ    
 
 [
 
 
r   ra  c                  @    e Zd ZU ded<   ded<   d Zed             ZdS )AttributionReportingTriggerSpecztyping.List[float]trigger_datara  event_report_windowsc                    t                      }d | j        D             |d<   | j                                        |d<   |S )Nc                    g | ]}|S r   r   r   s     r   r   z;AttributionReportingTriggerSpec.to_json.<locals>.<listcomp>z  s    <<<Qq<<<r   triggerDataeventReportWindows)rX   rj  rk  r   rY   s     r   r   z'AttributionReportingTriggerSpec.to_jsonx  sE    vv<<$*;<<<]%)%>%F%F%H%H!"r   c                x     | d |d         D             t                               |d                             S )Nc                ,    g | ]}t          |          S r   )rT   r   s     r   r   z=AttributionReportingTriggerSpec.from_json.<locals>.<listcomp>  s    @@@q%((@@@r   rn  ro  )rj  rk  )ra  r   r   s     r   r   z)AttributionReportingTriggerSpec.from_json~  sI    s@@D,?@@@!G!Q!QRVWkRl!m!m
 
 
 	
r   Nr!  r   r   r   ri  ri  p  sZ          %$$$@@@@   
 
 [
 
 
r   ri  c                  2    e Zd ZdZdZd Zed             ZdS )'AttributionReportingTriggerDataMatchingexactmodulusc                    | j         S r   r>   r   s    r   r   z/AttributionReportingTriggerDataMatching.to_json  r@   r   c                     | |          S r   r   r   s     r   r   z1AttributionReportingTriggerDataMatching.from_json  r   r   N)r'   r(   r)   EXACTMODULUSr   r*   r   r   r   r   rs  rs    sH        EG     [  r   rs  c                  J    e Zd ZU ded<   ded<   ded<   d Zed             Zd	S )
2AttributionReportingAggregatableDebugReportingDatar0  	key_piecerT   r?   r;  typesc                    t                      }| j                                        |d<   | j        |d<   d | j        D             |d<   |S )NkeyPiecer?   c                    g | ]}|S r   r   r   s     r   r   zNAttributionReportingAggregatableDebugReportingData.to_json.<locals>.<listcomp>  s    ///q///r   r}  )rX   r|  r   r?   r}  rY   s     r   r   z:AttributionReportingAggregatableDebugReportingData.to_json  sL    vv>1133Z
W//DJ///Wr   c                     | t                               |d                   t          |d                   d |d         D                       S )Nr  r?   c                ,    g | ]}t          |          S r   r   r   s     r   r   zPAttributionReportingAggregatableDebugReportingData.from_json.<locals>.<listcomp>  s    111a3q66111r   r}  )r|  r?   r}  )r0  r   rT   r   s     r   r   z<AttributionReportingAggregatableDebugReportingData.from_json  sU    s,66tJ7GHHW&&114=111
 
 
 	
r   Nr!  r   r   r   r{  r{    sc         %%%% LLL   
 
 [
 
 
r   r{  c                  \    e Zd ZU ded<   ded<   dZded<   dZded	<   d
 Zed             ZdS )4AttributionReportingAggregatableDebugReportingConfigr0  r|  z?typing.List[AttributionReportingAggregatableDebugReportingData]
debug_dataNtyping.Optional[float]budgetr   aggregation_coordinator_originc                    t                      }| j                                        |d<   d | j        D             |d<   | j        
| j        |d<   | j        
| j        |d<   |S )Nr  c                6    g | ]}|                                 S r   r   r   s     r   r   zPAttributionReportingAggregatableDebugReportingConfig.to_json.<locals>.<listcomp>  s     BBBQQYY[[BBBr   	debugDatar  aggregationCoordinatorOrigin)rX   r|  r   r  r  r  rY   s     r   r   z<AttributionReportingAggregatableDebugReportingConfig.to_json  sl    vv>1133ZBB$/BBB[;"![DN.:373VD/0r   c           	          | t                               |d                   d |d         D             d|v rt          |d                   nd d|v rt          |d                   nd           S )Nr  c                B    g | ]}t                               |          S r   )r{  r   r   s     r   r   zRAttributionReportingAggregatableDebugReportingConfig.from_json.<locals>.<listcomp>  s)    sss\]JTTUVWWsssr   r  r  r  )r|  r  r  r  )r0  r   rT   r   r   s     r   r   z>AttributionReportingAggregatableDebugReportingConfig.from_json  s    s,66tJ7GHHssaefqarsss,4,<,<5h((($Xvz~X~X~3t4R/S+T+T+T  EI	
 
 
 	
r   )	r'   r(   r)   r\   r  r  r   r*   r   r   r   r   r  r    s}         %%%%OOOO &*F))));?"????   
 
 [
 
 
r   r  c                      e Zd ZU ded<   ded<   ded<   ded<   ded	<   d
ed<   d
ed<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   dZded<   d Zed              ZdS )!&AttributionReportingSourceRegistrationr   timer   expiryz,typing.List[AttributionReportingTriggerSpec]trigger_specsaggregatable_report_windowr#  type_r   source_originreporting_originr;  destination_sitesr+  event_idr5  priorityrC  filter_dataz5typing.List[AttributionReportingAggregationKeysEntry]aggregation_keysrs  trigger_data_matchingdestination_limit_priorityr  #aggregatable_debug_reporting_configN&typing.Optional[UnsignedInt64AsBase10]	debug_keyc                   t                      }| j                                        |d<   | j        |d<   d | j        D             |d<   | j        |d<   | j                                        |d<   | j        |d<   | j        |d<   d	 | j	        D             |d
<   | j
                                        |d<   | j                                        |d<   d | j        D             |d<   d | j        D             |d<   | j                                        |d<   | j                                        |d<   | j                                        |d<   | j        | j                                        |d<   |S )Nr  r  c                6    g | ]}|                                 S r   r   r   s     r   r   zBAttributionReportingSourceRegistration.to_json.<locals>.<listcomp>  rH  r   triggerSpecsaggregatableReportWindowtypesourceOriginreportingOriginc                    g | ]}|S r   r   r   s     r   r   zBAttributionReportingSourceRegistration.to_json.<locals>.<listcomp>  s    #F#F#F!A#F#F#Fr   destinationSiteseventIdr  c                6    g | ]}|                                 S r   r   r   s     r   r   zBAttributionReportingSourceRegistration.to_json.<locals>.<listcomp>  rV  r   
filterDatac                6    g | ]}|                                 S r   r   r   s     r   r   zBAttributionReportingSourceRegistration.to_json.<locals>.<listcomp>  s     "N"N"N1199;;"N"N"Nr   aggregationKeystriggerDataMatchingdestinationLimitPriority aggregatableDebugReportingConfigdebugKey)rX   r  r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  rY   s     r   r   z.AttributionReportingSourceRegistration.to_json  s}   vvy((**VXHHT5GHHH^+/+J'(z))++V#1^"&"7#F#Ft/E#F#F#F -//11Y=0022ZDD43CDDD\"N"N8M"N"N"N&*&@&H&H&J&J"#+/+J+R+R+T+T'(373[3c3c3e3e/0>%#~5577Dr   c           	     |    | d"i dt           j                            |d                   dt          |d                   dd |d         D             dt          |d                   dt                              |d	                   d
t          |d                   dt          |d                   dd |d         D             dt                              |d                   dt                              |d                   dd |d         D             dd |d         D             dt                              |d                   dt                              |d                   dt                              |d                   d d!|v r t                              |d!                   nd S )#Nr  r  r  c                B    g | ]}t                               |          S r   )ri  r   r   s     r   r   zDAttributionReportingSourceRegistration.from_json.<locals>.<listcomp>
  s'    fffA:DDQGGfffr   r  r  r  r  r  r  r  r  r  r  c                ,    g | ]}t          |          S r   r   r   s     r   r   zDAttributionReportingSourceRegistration.from_json.<locals>.<listcomp>  s    HHH!s1vvHHHr   r  r  r  r  r  c                B    g | ]}t                               |          S r   rM  r   s     r   r   zDAttributionReportingSourceRegistration.from_json.<locals>.<listcomp>  s'    fffa<FFqIIfffr   r  r  c                B    g | ]}t                               |          S r   )r]  r   r   s     r   r   zDAttributionReportingSourceRegistration.from_json.<locals>.<listcomp>  s)    uuuXYFPPQRSSuuur   r  r  r  r  r  r  r  r  r  r   )
r	   r   r   r   r#  r   r+  r5  rs  r  r   s     r   r   z0AttributionReportingSourceRegistration.from_json  s5   s 
 
 
'11$v,???
tH~&&&
 gfQUVdQeffff
 (+40J+K'L'L'L	

 1::4<HHH
 d>2333
 !&7!8999
 IHt4F/GHHHH
 +44T)_EEE
 )224
3CDDD
 gfSWXdSeffff
 vu]abs]tuuuu
 #J"S"STXYnTo"p"p"p
 (;'D'DTJdEe'f'f'f
 1e0n0nos  uW  pX  1Y  1Y  1Y
  LVY]K]K]+55d:6FGGGcg!
 	
r   )r'   r(   r)   r\   r  r   r*   r   r   r   r   r  r    s             KKK???? $###))))''''####!!!!AAAAKKKKBBBB3333]]]]8<I<<<<  * 
 
 [
 
 
r   r  c                  b    e Z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ZdZdZd Zed             ZdS ),AttributionReportingSourceRegistrationResultsuccessinternalErrorinsufficientSourceCapacity%insufficientUniqueDestinationCapacityexcessiveReportingOriginsprohibitedByBrowserPolicysuccessNoised destinationReportingLimitReacheddestinationGlobalLimitReacheddestinationBothLimitsReached#reportingOriginsPerSiteLimitReachedexceedsMaxChannelCapacity!exceedsMaxTriggerStateCardinality&destinationPerDayReportingLimitReachedc                    | j         S r   r>   r   s    r   r   z4AttributionReportingSourceRegistrationResult.to_json+  r@   r   c                     | |          S r   r   r   s     r   r   z6AttributionReportingSourceRegistrationResult.from_json.  r   r   N)r'   r(   r)   SUCCESSINTERNAL_ERRORINSUFFICIENT_SOURCE_CAPACITY(INSUFFICIENT_UNIQUE_DESTINATION_CAPACITYEXCESSIVE_REPORTING_ORIGINSPROHIBITED_BY_BROWSER_POLICYSUCCESS_NOISED#DESTINATION_REPORTING_LIMIT_REACHED DESTINATION_GLOBAL_LIMIT_REACHEDDESTINATION_BOTH_LIMITS_REACHED(REPORTING_ORIGINS_PER_SITE_LIMIT_REACHEDEXCEEDS_MAX_CHANNEL_CAPACITY%EXCEEDS_MAX_TRIGGER_STATE_CARDINALITY+DESTINATION_PER_DAY_REPORTING_LIMIT_REACHEDr   r*   r   r   r   r   r  r    s        G$N#? /V,"=#> $N*L''F$&D#/T,#> ,O)2Z/     [  r   r  c                  2    e Zd ZdZdZd Zed             ZdS )0AttributionReportingSourceRegistrationTimeConfigincludeexcludec                    | j         S r   r>   r   s    r   r   z8AttributionReportingSourceRegistrationTimeConfig.to_json7  r@   r   c                     | |          S r   r   r   s     r   r   z:AttributionReportingSourceRegistrationTimeConfig.from_json:  r   r   N)r'   r(   r)   INCLUDEEXCLUDEr   r*   r   r   r   r   r  r  3  sH        GG     [  r   r  c                  J    e Zd ZU ded<   ded<   ded<   d Zed             Zd	S )
.AttributionReportingAggregatableValueDictEntryr   r   rT   r?   r+  filtering_idc                    t                      }| j        |d<   | j        |d<   | j                                        |d<   |S )Nr   r?   filteringId)rX   r   r?   r  r   rY   s     r   r   z6AttributionReportingAggregatableValueDictEntry.to_jsonI  s?    vvhU
W"/7799]r   c                     | t          |d                   t          |d                   t                              |d                             S )Nr   r?   r  )r   r?   r  )r   rT   r+  r   r   s     r   r   z8AttributionReportingAggregatableValueDictEntry.from_jsonP  sO    sDK  W&&.88m9LMM
 
 
 	
r   Nr!  r   r   r   r  r  ?  s`         HHH LLL''''   
 
 [
 
 
r   r  c                  @    e Zd ZU ded<   ded<   d Zed             ZdS )*AttributionReportingAggregatableValueEntryz;typing.List[AttributionReportingAggregatableValueDictEntry]r<  rP  rQ  c                    t                      }d | j        D             |d<   | j                                        |d<   |S )Nc                6    g | ]}|                                 S r   r   r   s     r   r   zFAttributionReportingAggregatableValueEntry.to_json.<locals>.<listcomp>a  s     ;;;!!))++;;;r   r<  rQ  )rX   r<  rQ  r   rY   s     r   r   z2AttributionReportingAggregatableValueEntry.to_json_  s@    vv;;t{;;;X,..00Yr   c                x     | d |d         D             t                               |d                             S )Nc                B    g | ]}t                               |          S r   )r  r   r   s     r   r   zHAttributionReportingAggregatableValueEntry.from_json.<locals>.<listcomp>h  s(    hhhTUBLLQOOhhhr   r<  rQ  )r<  rQ  )rP  r   r   s     r   r   z4AttributionReportingAggregatableValueEntry.from_jsone  sH    shhY]^fYghhh2<<T)_MM
 
 
 	
r   Nr!  r   r   r   r  r  Y  sX         GGGG++++   
 
 [
 
 
r   r  c                  X    e Zd ZU ded<   ded<   ded<   dZded	<   d
 Zed             ZdS )$AttributionReportingEventTriggerDatar+  datar5  r  rP  rQ  Nr  	dedup_keyc                   t                      }| j                                        |d<   | j                                        |d<   | j                                        |d<   | j        | j                                        |d<   |S )Nr  r  rQ  dedupKey)rX   r  r   r  rQ  r  rY   s     r   r   z,AttributionReportingEventTriggerData.to_jsonw  sv    vvy((**V=0022Z,..00Y>%#~5577Dr   c           	         | t                               |d                   t                              |d                   t                              |d                   d|v r t                               |d                   nd           S )Nr  r  rQ  r  )r  r  rQ  r  )r+  r   r5  rP  r   s     r   r   z.AttributionReportingEventTriggerData.from_json  s    s&00f>>(224
3CDD2<<T)_MMKUY]K]K]+55d:6FGGGcg	
 
 
 	
r   r'   r(   r)   r\   r  r   r*   r   r   r   r   r  r  m  su         !!!!++++8<I<<<<   
 
 [
 
 
r   r  c                  J    e Zd ZU ded<   ded<   ded<   d Zed             Zd	S )
+AttributionReportingAggregatableTriggerDatar0  r|  r;  source_keysrP  rQ  c                    t                      }| j                                        |d<   d | j        D             |d<   | j                                        |d<   |S )Nr  c                    g | ]}|S r   r   r   s     r   r   zGAttributionReportingAggregatableTriggerData.to_json.<locals>.<listcomp>  s    :::Aa:::r   
sourceKeysrQ  )rX   r|  r   r  rQ  rY   s     r   r   z3AttributionReportingAggregatableTriggerData.to_json  sZ    vv>1133Z::)9:::\,..00Yr   c                     | t                               |d                   d |d         D             t                              |d                             S )Nr  c                ,    g | ]}t          |          S r   r   r   s     r   r   zIAttributionReportingAggregatableTriggerData.from_json.<locals>.<listcomp>  s    <<<AQ<<<r   r  rQ  )r|  r  rQ  )r0  r   rP  r   s     r   r   z5AttributionReportingAggregatableTriggerData.from_json  s\    s,66tJ7GHH<<l);<<<2<<T)_MM
 
 
 	
r   Nr!  r   r   r   r  r    sd         %%%%!!!!++++   
 
 [
 
 
r   r  c                  D    e Zd ZU ded<   dZded<   d Zed             ZdS )(AttributionReportingAggregatableDedupKeyrP  rQ  Nr  r  c                    t                      }| j                                        |d<   | j        | j                                        |d<   |S )NrQ  r  )rX   rQ  r   r  rY   s     r   r   z0AttributionReportingAggregatableDedupKey.to_json  sG    vv,..00Y>%#~5577Dr   c                     | t                               |d                   d|v r t                              |d                   nd           S )NrQ  r  )rQ  r  )rP  r   r+  r   s     r   r   z2AttributionReportingAggregatableDedupKey.from_json  sX    s2<<T)_MMKUY]K]K]+55d:6FGGGcg
 
 
 	
r   r  r   r   r   r  r    s]         ++++8<I<<<<   
 
 [
 
 
r   r  c                      e Zd ZU ded<   ded<   ded<   ded<   d	ed
<   ded<   ded<   ded<   ded<   dZded<   dZded<   dZded<   d Zed             Z	dS )'AttributionReportingTriggerRegistrationrP  rQ  z5typing.List[AttributionReportingAggregatableDedupKey]aggregatable_dedup_keysz1typing.List[AttributionReportingEventTriggerData]event_trigger_dataz8typing.List[AttributionReportingAggregatableTriggerData]aggregatable_trigger_dataz7typing.List[AttributionReportingAggregatableValueEntry]aggregatable_valuesr   #aggregatable_filtering_id_max_bytesr  debug_reportingr  source_registration_time_configr  r  Nr  r  r   r  trigger_context_idc                   t                      }| j                                        |d<   d | j        D             |d<   d | j        D             |d<   d | j        D             |d<   d | j        D             |d	<   | j        |d
<   | j        |d<   | j	                                        |d<   | j
                                        |d<   | j        | j                                        |d<   | j        
| j        |d<   | j        
| j        |d<   |S )NrQ  c                6    g | ]}|                                 S r   r   r   s     r   r   zCAttributionReportingTriggerRegistration.to_json.<locals>.<listcomp>  s     ([([([([([([r   aggregatableDedupKeysc                6    g | ]}|                                 S r   r   r   s     r   r   zCAttributionReportingTriggerRegistration.to_json.<locals>.<listcomp>  s     #Q#Q#QAAIIKK#Q#Q#Qr   eventTriggerDatac                6    g | ]}|                                 S r   r   r   s     r   r   zCAttributionReportingTriggerRegistration.to_json.<locals>.<listcomp>  s     *_*_*_1199;;*_*_*_r   aggregatableTriggerDatac                6    g | ]}|                                 S r   r   r   s     r   r   zCAttributionReportingTriggerRegistration.to_json.<locals>.<listcomp>  s     %T%T%Taaiikk%T%T%Tr   aggregatableValuesaggregatableFilteringIdMaxBytesdebugReportingsourceRegistrationTimeConfigr  r  r  triggerContextId)rX   rQ  r   r  r  r  r  r  r  r	  r  r  r  r
  rY   s     r   r   z/AttributionReportingTriggerRegistration.to_json  s5   vv,..00Y([([d>Z([([([$%#Q#Q9P#Q#Q#Q *_*_@^*_*_*_&'%T%T4;S%T%T%T!"262Z./!%!5/3/S/[/[/]/]+,373[3c3c3e3e/0>%#~5577D.:373VD/0".'+'>D#$r   c                \    | t                               |d                   d |d         D             d |d         D             d |d         D             d |d	         D             t          |d
                   t          |d                   t                              |d                   t
                              |d                   d|v r t                              |d                   nd d|v rt          |d                   nd d|v rt          |d                   nd           S )NrQ  c                B    g | ]}t                               |          S r   )r  r   r   s     r   r   zEAttributionReportingTriggerRegistration.from_json.<locals>.<listcomp>  s;      %C  %C  %C_`%M%W%WXY%Z%Z  %C  %C  %Cr   r  c                B    g | ]}t                               |          S r   )r  r   r   s     r   r   zEAttributionReportingTriggerRegistration.from_json.<locals>.<listcomp>  s(    tttVW D N Nq Q Qtttr   r  c                B    g | ]}t                               |          S r   )r  r   r   s     r   r   zEAttributionReportingTriggerRegistration.from_json.<locals>.<listcomp>  s;      'J  'J  'Jde'R'\'\]^'_'_  'J  'J  'Jr   r  c                B    g | ]}t                               |          S r   )r  r   r   s     r   r   zEAttributionReportingTriggerRegistration.from_json.<locals>.<listcomp>  s)     } } }]^!K!U!UVW!X!X } } }r   r  r  r  r  r  r  r  r  )rQ  r  r  r  r  r  r  r	  r  r  r  r
  )rP  r   r   r  r  r  r+  r   r   s     r   r   z1AttributionReportingTriggerRegistration.from_json  s   s2<<T)_MM %C  %Cdh  jA  eB  %C  %C  %Ctt[_`r[sttt 'J  'Jim  oH  jI  'J  'J  'J } }bfg{b| } } }03D9Z4[0\0\ &6!788,\,f,fgk  mK  hL  -M  -M0d0n0nos  uW  pX  1Y  1YKUY]K]K]+55d:6FGGGcgXvz~X~X~3t4R/S+T+T+T  EI@RVZ@Z@Zs4(:#;<<<`d
 
 
 	
r   )
r'   r(   r)   r\   r  r  r
  r   r*   r   r   r   r   r  r    s         ++++RRRRIIIIWWWWPPPP,,,,UUUU]]]]8<I<<<<;?"????/33333  & 
 
 [
 
 
r   r  c                  v    e Z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ZdZdZdZdZdZdZdZd Zed             ZdS )$AttributionReportingEventLevelResultr  successDroppedLowerPriorityr  #noCapacityForAttributionDestinationnoMatchingSourcesdeduplicatedexcessiveAttributionspriorityTooLowneverAttributedSourcer  noMatchingSourceFilterDatar  noMatchingConfigurationsexcessiveReportsfalselyAttributedSourcereportWindowPassednotRegisteredreportWindowNotStartednoMatchingTriggerDatac                    | j         S r   r>   r   s    r   r   z,AttributionReportingEventLevelResult.to_json  r@   r   c                     | |          S r   r   r   s     r   r   z.AttributionReportingEventLevelResult.from_json  r   r   N)r'   r(   r)   r  SUCCESS_DROPPED_LOWER_PRIORITYr  'NO_CAPACITY_FOR_ATTRIBUTION_DESTINATIONNO_MATCHING_SOURCESDEDUPLICATEDEXCESSIVE_ATTRIBUTIONSPRIORITY_TOO_LOWNEVER_ATTRIBUTED_SOURCEr  NO_MATCHING_SOURCE_FILTER_DATAr  NO_MATCHING_CONFIGURATIONSEXCESSIVE_REPORTSFALSELY_ATTRIBUTED_SOURCEREPORT_WINDOW_PASSEDNOT_REGISTEREDREPORT_WINDOW_NOT_STARTEDNO_MATCHING_TRIGGER_DATAr   r*   r   r   r   r   r  r    s        G%B"$N.S+-!L4'5"=%A"#> !;* 9/$N 86     [  r   r  c                  b    e Z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ZdZdZd Zed             ZdS )&AttributionReportingAggregatableResultr  r  r   r!  r#  r  noHistogramsinsufficientBudgetr&  r+  r  r"  r*  r(  c                    | j         S r   r>   r   s    r   r   z.AttributionReportingAggregatableResult.to_json#  r@   r   c                     | |          S r   r   r   s     r   r   z0AttributionReportingAggregatableResult.from_json&  r   r   N)r'   r(   r)   r  r  r1  r2  r4  r  NO_HISTOGRAMSINSUFFICIENT_BUDGETr7  r<  r  r3  r;  r9  r   r*   r   r   r   r   r@  r@    s        G$N.S+-4"="M.%A"$N#> !L/*     [  r   r@  c                  N    e Zd ZU dZded<   ded<   ded<   d Zed             ZdS )	RelatedWebsiteSetz.
    A single Related Website Set object.
    r;  primary_sitesassociated_sitesservice_sitesc                    t                      }d | j        D             |d<   d | j        D             |d<   d | j        D             |d<   |S )Nc                    g | ]}|S r   r   r   s     r   r   z-RelatedWebsiteSet.to_json.<locals>.<listcomp>;      >>>a>>>r   primarySitesc                    g | ]}|S r   r   r   s     r   r   z-RelatedWebsiteSet.to_json.<locals>.<listcomp><  s    "D"D"D1"D"D"Dr   associatedSitesc                    g | ]}|S r   r   r   s     r   r   z-RelatedWebsiteSet.to_json.<locals>.<listcomp>=  rN  r   serviceSites)rX   rI  rJ  rK  rY   s     r   r   zRelatedWebsiteSet.to_json9  sb    vv>>4+=>>>^"D"Dd.C"D"D"D>>4+=>>>^r   c                ~     | d |d         D             d |d         D             d |d         D                       S )Nc                ,    g | ]}t          |          S r   r   r   s     r   r   z/RelatedWebsiteSet.from_json.<locals>.<listcomp>C      @@@a3q66@@@r   rO  c                ,    g | ]}t          |          S r   r   r   s     r   r   z/RelatedWebsiteSet.from_json.<locals>.<listcomp>D  s    FFFc!ffFFFr   rQ  c                ,    g | ]}t          |          S r   r   r   s     r   r   z/RelatedWebsiteSet.from_json.<locals>.<listcomp>E  rV  r   rS  )rI  rJ  rK  r   r   s     r   r   zRelatedWebsiteSet.from_json@  s^    s@@4+?@@@FFd3D.EFFF@@4+?@@@
 
 
 	
r   Nr[   r   r   r   rH  rH  +  st           $### '&&& $###   
 
 [
 
 
r   rH  frame_idpage.FrameIdr   @typing.Generator[T_JSON_DICT, T_JSON_DICT, SerializedStorageKey]c              #     K   t                      }|                                 |d<   d|d}|V }t                              |d                   S )zV
    Returns a storage key given a frame id.

    :param frame_id:
    :returns: 
    frameIdzStorage.getStorageKeyForFramemethodparamsr  )rX   r   r   r   )rY  r`  cmd_dictr   s       r   get_storage_key_for_framerb  I  s]       &&F ((**F91 H >>D))$|*<===r   originr   storage_types0typing.Generator[T_JSON_DICT, T_JSON_DICT, None]c              #  L   K   t                      }| |d<   ||d<   d|d}|V }dS )z
    Clears storage for origin.

    :param origin: Security origin.
    :param storage_types: Comma separated list of StorageType to clear.
    rc  storageTypeszStorage.clearDataForOriginr^  NrX   )rc  rd  r`  ra  r   s        r   clear_data_for_originri  \  sF       &&FF8*F>. H >>DDDr   r  c              #  L   K   t                      }| |d<   ||d<   d|d}|V }dS )z
    Clears storage for storage key.

    :param storage_key: Storage key.
    :param storage_types: Comma separated list of StorageType to clear.
    r  rg  zStorage.clearDataForStorageKeyr^  Nrh  )r  rd  r`  ra  r   s        r   clear_data_for_storage_keyrk  p  sF       &&F&F<*F>2 H >>DDDr   browser_context_id)typing.Optional[browser.BrowserContextID]Gtyping.Generator[T_JSON_DICT, T_JSON_DICT, typing.List[network.Cookie]]c              #     K   t                      }| |                                 |d<   d|d}|V }d |d         D             S )z
    Returns all browser cookies.

    :param browser_context_id: *(Optional)* Browser context to use when called on the browser endpoint.
    :returns: Array of cookie objects.
    NbrowserContextIdzStorage.getCookiesr^  c                L    g | ]!}t           j                            |          "S r   )r	   Cookier   r   s     r   r   zget_cookies.<locals>.<listcomp>  s(    AAAAGN$$Q''AAAr   r0   rX   r   rl  r`  ra  r   s       r   get_cookiesru    sc       &&F%%7%?%?%A%A!"& H >>DAAiAAAAr   r0    typing.List[network.CookieParam]c              #     K   t                      }d | D             |d<   ||                                |d<   d|d}|V }dS )z
    Sets given cookies.

    :param cookies: Cookies to be set.
    :param browser_context_id: *(Optional)* Browser context to use when called on the browser endpoint.
    c                6    g | ]}|                                 S r   r   r   s     r   r   zset_cookies.<locals>.<listcomp>  s     666666r   r0   Nrp  zStorage.setCookiesr^  rs  )r0   rl  r`  ra  r   s        r   set_cookiesry    sg       &&F66g666F9%%7%?%?%A%A!"& H >>DDDr   c              #  j   K   t                      }| |                                 |d<   d|d}|V }dS )z
    Clears cookies.

    :param browser_context_id: *(Optional)* Browser context to use when called on the browser endpoint.
    Nrp  zStorage.clearCookiesr^  rs  rt  s       r   clear_cookiesr{    sO       &&F%%7%?%?%A%A!"( H >>DDDr   gtyping.Generator[T_JSON_DICT, T_JSON_DICT, typing.Tuple[float, float, bool, typing.List[UsageForType]]]c              #     K   t                      }| |d<   d|d}|V }t          |d                   t          |d                   t          |d                   d |d         D             fS )	a|  
    Returns usage and quota in bytes.

    :param origin: Security origin.
    :returns: A tuple with the following items:

        0. **usage** - Storage usage (bytes).
        1. **quota** - Storage quota (bytes).
        2. **overrideActive** - Whether or not the origin has an active storage quota override
        3. **usageBreakdown** - Storage usage per type (bytes).
    rc  zStorage.getUsageAndQuotar^  rU   r  overrideActivec                B    g | ]}t                               |          S r   )rR   r   r   s     r   r   z'get_usage_and_quota.<locals>.<listcomp>  s&    CCCq			"	"CCCr   usageBreakdown)rX   rT   r  rc  r`  ra  r   s       r   get_usage_and_quotar    s       &&FF8, H >>Dd7md7mT"#$$CCD1A,BCCC	 r   
quota_sizer  c              #  P   K   t                      }| |d<   |||d<   d|d}|V }dS )aV  
    Override quota for the specified origin

    **EXPERIMENTAL**

    :param origin: Security origin.
    :param quota_size: *(Optional)* The quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).
    rc  N	quotaSizezStorage.overrideQuotaForOriginr^  rh  )rc  r  r`  ra  r   s        r   override_quota_for_originr    sL       &&FF8({2 H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )z
    Registers origin to be notified when an update occurs to its cache storage list.

    :param origin: Security origin.
    rc  z"Storage.trackCacheStorageForOriginr^  Nrh  r  s       r   track_cache_storage_for_originr    s<       &&FF86 H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )z
    Registers storage key to be notified when an update occurs to its cache storage list.

    :param storage_key: Storage key.
    r  z&Storage.trackCacheStorageForStorageKeyr^  Nrh  r  r`  ra  r   s       r   #track_cache_storage_for_storage_keyr    s<       &&F&F<: H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )zv
    Registers origin to be notified when an update occurs to its IndexedDB.

    :param origin: Security origin.
    rc  zStorage.trackIndexedDBForOriginr^  Nrh  r  s       r   track_indexed_db_for_originr    s<       &&FF83 H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )z|
    Registers storage key to be notified when an update occurs to its IndexedDB.

    :param storage_key: Storage key.
    r  z#Storage.trackIndexedDBForStorageKeyr^  Nrh  r  s       r    track_indexed_db_for_storage_keyr  &  s<       &&F&F<7 H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )zq
    Unregisters origin from receiving notifications for cache storage.

    :param origin: Security origin.
    rc  z$Storage.untrackCacheStorageForOriginr^  Nrh  r  s       r    untrack_cache_storage_for_originr  7  s<       &&FF88 H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )zw
    Unregisters storage key from receiving notifications for cache storage.

    :param storage_key: Storage key.
    r  z(Storage.untrackCacheStorageForStorageKeyr^  Nrh  r  s       r   %untrack_cache_storage_for_storage_keyr  H  s<       &&F&F<< H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )zm
    Unregisters origin from receiving notifications for IndexedDB.

    :param origin: Security origin.
    rc  z!Storage.untrackIndexedDBForOriginr^  Nrh  r  s       r   untrack_indexed_db_for_originr  Y  s<       &&FF85 H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )zs
    Unregisters storage key from receiving notifications for IndexedDB.

    :param storage_key: Storage key.
    r  z%Storage.untrackIndexedDBForStorageKeyr^  Nrh  r  s       r   "untrack_indexed_db_for_storage_keyr  j  s<       &&F&F<9 H >>DDDr   Dtyping.Generator[T_JSON_DICT, T_JSON_DICT, typing.List[TrustTokens]]c               #  :   K   ddi} | V }d |d         D             S )z
    Returns the number of stored Trust Tokens per issuer for the
    current browsing context.

    **EXPERIMENTAL**

    :returns: 
    r_  zStorage.getTrustTokensc                B    g | ]}t                               |          S r   )r^   r   r   s     r   r   z$get_trust_tokens.<locals>.<listcomp>  s&    ===K!!!$$===r   tokensr   ra  r   s     r   get_trust_tokensr  {  s8       	*H >>D==d8n====r   r_   0typing.Generator[T_JSON_DICT, T_JSON_DICT, bool]c              #  h   K   t                      }| |d<   d|d}|V }t          |d                   S )a	  
    Removes all Trust Tokens issued by the provided issuerOrigin.
    Leaves other stored data, including the issuer's Redemption Records, intact.

    **EXPERIMENTAL**

    :param issuer_origin:
    :returns: True if any tokens were deleted, false otherwise.
    rb   zStorage.clearTrustTokensr^  didDeleteTokens)rX   r  )r_   r`  ra  r   s       r   clear_trust_tokensr    sL       &&F*F>, H >>D&'(((r   owner_originr  0typing.Generator[T_JSON_DICT, T_JSON_DICT, dict]c              #  r   K   t                      }| |d<   ||d<   d|d}|V }t          |d                   S )a>  
    Gets details for a named interest group.

    **EXPERIMENTAL**

    :param owner_origin:
    :param name:
    :returns: This largely corresponds to: https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup but has absolute expirationTime instead of relative lifetimeMs and also adds joiningOrigin.
    ownerOriginr  zStorage.getInterestGroupDetailsr^  detailsrh  )r  r  r`  ra  r   s        r   get_interest_group_detailsr    sS       &&F(F=F6N3 H >>DY   r   enabler  c              #  B   K   t                      }| |d<   d|d}|V }dS )zm
    Enables/Disables issuing of interestGroupAccessed events.

    **EXPERIMENTAL**

    :param enable:
    r  z Storage.setInterestGroupTrackingr^  Nrh  r  r`  ra  r   s       r   set_interest_group_trackingr    <       &&FF84 H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )z
    Enables/Disables issuing of interestGroupAuctionEventOccurred and
    interestGroupAuctionNetworkRequestCreated.

    **EXPERIMENTAL**

    :param enable:
    r  z'Storage.setInterestGroupAuctionTrackingr^  Nrh  r  s       r   #set_interest_group_auction_trackingr    s<       &&FF8; H >>DDDr   Atyping.Generator[T_JSON_DICT, T_JSON_DICT, SharedStorageMetadata]c              #  ~   K   t                      }| |d<   d|d}|V }t                              |d                   S )zv
    Gets metadata for an origin's shared storage.

    **EXPERIMENTAL**

    :param owner_origin:
    :returns: 
    r  z Storage.getSharedStorageMetadatar^  metadata)rX   r   r   r  r`  ra  r   s       r   get_shared_storage_metadatar    sQ       &&F(F=4 H >>D **4
+;<<<r   Ktyping.Generator[T_JSON_DICT, T_JSON_DICT, typing.List[SharedStorageEntry]]c              #  b   K   t                      }| |d<   d|d}|V }d |d         D             S )z~
    Gets the entries in an given origin's shared storage.

    **EXPERIMENTAL**

    :param owner_origin:
    :returns: 
    r  zStorage.getSharedStorageEntriesr^  c                B    g | ]}t                               |          S r   )r   r   r   s     r   r   z.get_shared_storage_entries.<locals>.<listcomp>  s'    EEE((++EEEr   entriesrh  r  s       r   get_shared_storage_entriesr    sP       &&F(F=3 H >>DEET)_EEEEr   r   r?   r   r   c              #  d   K   t                      }| |d<   ||d<   ||d<   |||d<   d|d}|V }dS )a?  
    Sets entry with ``key`` and ``value`` for a given origin's shared storage.

    **EXPERIMENTAL**

    :param owner_origin:
    :param key:
    :param value:
    :param ignore_if_present: *(Optional)* If ```ignoreIfPresent```` is included and true, then only sets the entry if ````key``` doesn't already exist.
    r  r   r?   Nr  zStorage.setSharedStorageEntryr^  rh  )r  r   r?   r   r`  ra  r   s          r   set_shared_storage_entryr  
  s_        &&F(F=F5MF7O$$5 !1 H >>DDDr   c              #  L   K   t                      }| |d<   ||d<   d|d}|V }dS )z
    Deletes entry for ``key`` (if it exists) for a given origin's shared storage.

    **EXPERIMENTAL**

    :param owner_origin:
    :param key:
    r  r   z Storage.deleteSharedStorageEntryr^  Nrh  )r  r   r`  ra  r   s        r   delete_shared_storage_entryr  '  sE       &&F(F=F5M4 H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )zq
    Clears all entries for a given origin's shared storage.

    **EXPERIMENTAL**

    :param owner_origin:
    r  z!Storage.clearSharedStorageEntriesr^  Nrh  r  s       r   clear_shared_storage_entriesr  =  s<       &&F(F=5 H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )z
    Resets the budget for ``ownerOrigin`` by clearing all budget withdrawals.

    **EXPERIMENTAL**

    :param owner_origin:
    r  z Storage.resetSharedStorageBudgetr^  Nrh  r  s       r   reset_shared_storage_budgetr  P  s<       &&F(F=4 H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )zm
    Enables/disables issuing of sharedStorageAccessed events.

    **EXPERIMENTAL**

    :param enable:
    r  z Storage.setSharedStorageTrackingr^  Nrh  r  s       r   set_shared_storage_trackingr  c  r  r   c              #  L   K   t                      }| |d<   ||d<   d|d}|V }dS )zu
    Set tracking for a storage key's buckets.

    **EXPERIMENTAL**

    :param storage_key:
    :param enable:
    r  r  z Storage.setStorageBucketTrackingr^  Nrh  )r  r  r`  ra  r   s        r   set_storage_bucket_trackingr  v  sF       &&F&F<F84 H >>DDDr   r  c              #  f   K   t                      }|                                 |d<   d|d}|V }dS )zz
    Deletes the Storage Bucket with the given storage key and bucket name.

    **EXPERIMENTAL**

    :param bucket:
    r  zStorage.deleteStorageBucketr^  Nrs  )r  r`  ra  r   s       r   delete_storage_bucketr    sF       &&F~~''F8/ H >>DDDr   <typing.Generator[T_JSON_DICT, T_JSON_DICT, typing.List[str]]c               #  :   K   ddi} | V }d |d         D             S )z}
    Deletes state for sites identified as potential bounce trackers, immediately.

    **EXPERIMENTAL**

    :returns: 
    r_  z$Storage.runBounceTrackingMitigationsc                ,    g | ]}t          |          S r   r   r   s     r   r   z3run_bounce_tracking_mitigations.<locals>.<listcomp>  s    111qCFF111r   deletedSitesr   r  s     r   run_bounce_tracking_mitigationsr    s9       	8H >>D11D01111r   enabledc              #  B   K   t                      }| |d<   d|d}|V }dS )z
    https://wicg.github.io/attribution-reporting-api/

    **EXPERIMENTAL**

    :param enabled: If enabled, noise is suppressed and reports are sent immediately.
    r  z/Storage.setAttributionReportingLocalTestingModer^  Nrh  )r  r`  ra  r   s       r   ,set_attribution_reporting_local_testing_moder    s<       &&FF9C H >>DDDr   c              #  B   K   t                      }| |d<   d|d}|V }dS )zm
    Enables/disables issuing of Attribution Reporting events.

    **EXPERIMENTAL**

    :param enable:
    r  z'Storage.setAttributionReportingTrackingr^  Nrh  r  s       r   "set_attribution_reporting_trackingr    s<       &&FF8; H >>DDDr   /typing.Generator[T_JSON_DICT, T_JSON_DICT, int]c               #  @   K   ddi} | V }t          |d                   S )z
    Sends all pending Attribution Reports immediately, regardless of their
    scheduled report time.

    **EXPERIMENTAL**

    :returns: The number of reports that were sent.
    r_  z%Storage.sendPendingAttributionReportsnumSentrN  r  s     r    send_pending_attribution_reportsr    s2       	9H >>DtIr   Jtyping.Generator[T_JSON_DICT, T_JSON_DICT, typing.List[RelatedWebsiteSet]]c               #  :   K   ddi} | V }d |d         D             S )z
    Returns the effective Related Website Sets in use by this profile for the browser
    session. The effective Related Website Sets will not change during a browser session.

    **EXPERIMENTAL**

    :returns: 
    r_  zStorage.getRelatedWebsiteSetsc                B    g | ]}t                               |          S r   )rH  r   r   s     r   r   z,get_related_website_sets.<locals>.<listcomp>  s'    AAAq''**AAAr   setsr   r  s     r   get_related_website_setsr    s8       	1H >>DAADLAAAAr   z"Storage.cacheStorageContentUpdatedc                  T    e Zd ZU dZded<   ded<   ded<   ded<   edd
            ZdS )CacheStorageContentUpdatedz0
    A cache's contents have been modified.
    r   rc  r  	bucket_id
cache_namer   r   r   c           	          | t          |d                   t          |d                   t          |d                   t          |d                             S )Nrc  r  bucketId	cacheName)rc  r  r  r  r   r   s     r   r   z$CacheStorageContentUpdated.from_json  sZ    stH~&&D.//$z*++4,--	
 
 
 	
r   N)r   r   r   r  r'   r(   r)   rB   r\   r*   r   r   r   r   r  r    sg           KKKNNNOOO
 
 
 [
 
 
r   r  zStorage.cacheStorageListUpdatedc                  J    e Zd ZU dZded<   ded<   ded<   edd	            Zd
S )CacheStorageListUpdatedz)
    A cache has been added/deleted.
    r   rc  r  r  r   r   r   c                     | t          |d                   t          |d                   t          |d                             S Nrc  r  r  )rc  r  r  r   r   s     r   r   z!CacheStorageListUpdated.from_json  J    stH~&&D.//$z*++
 
 
 	
r   N)r   r   r   r  r  r   r   r   r  r    ^           KKKNNN
 
 
 [
 
 
r   r  zStorage.indexedDBContentUpdatedc                  ^    e Zd ZU dZded<   ded<   ded<   ded<   ded<   edd            ZdS )IndexedDBContentUpdatedz@
    The origin's IndexedDB object store has been modified.
    r   rc  r  r  database_nameobject_store_namer   r   r   c           
          | t          |d                   t          |d                   t          |d                   t          |d                   t          |d                             S )Nrc  r  r  databaseNameobjectStoreName)rc  r  r  r  r  r   r   s     r   r   z!IndexedDBContentUpdated.from_json4  sk    stH~&&D.//$z*++d>233!$'8"9::
 
 
 	
r   N)r   r   r   r  r  r   r   r   r  r  #  sv           KKKNNN
 
 
 [
 
 
r   r  zStorage.indexedDBListUpdatedc                  J    e Zd ZU dZded<   ded<   ded<   edd	            Zd
S )IndexedDBListUpdatedzA
    The origin's IndexedDB database list has been modified.
    r   rc  r  r  r   r   r   c                     | t          |d                   t          |d                   t          |d                             S r  r   r   s     r   r   zIndexedDBListUpdated.from_jsonL  r  r   N)r   r   r   r  r  r   r   r   r  r  ?  r  r   r  zStorage.interestGroupAccessedc                  |    e Zd ZU dZded<   ded<   ded<   ded<   d	ed
<   ded<   d	ed<   ded<   edd            ZdS )InterestGroupAccessedz
    One of the interest groups was accessed. Note that these events are global
    to all targets sharing an interest group store.
    r   access_timerk   r  r   r  r  r   component_seller_originr  rp   bid_currency'typing.Optional[InterestGroupAuctionId]unique_auction_idr   r   r   c                    | t           j                            |d                   t                              |d                   t	          |d                   t	          |d                   d|v rt	          |d                   nd d|v rt          |d                   nd d|v rt	          |d                   nd d|v r t                              |d                   nd 	          S )
N
accessTimer  r  r  componentSellerOriginrp   bidCurrencyuniqueAuctionId)r  r  r  r  r  rp   r  r  )r	   r   r   rk   r   rT   re   r   s     r   r   zInterestGroupAccessed.from_jsoni  s    s.88l9KLL)33DLAAT-011T&\""JaeiJiJiC-D(E$F$F$Fos&+tmmd5k"""5Bd5J5JT-0111PT[lpt[t[t4>>tDU?VWWWz~	
 	
 	
 		
r   N)r   r   r   r  r  r   r   r   r  r  U  s           ('''""""III 2111&&&&>>>>

 

 

 [

 

 

r   r  z)Storage.interestGroupAuctionEventOccurredc                  ^    e Zd ZU dZded<   ded<   ded<   ded	<   d
ed<   edd            ZdS )!InterestGroupAuctionEventOccurredze
    An auction involving interest groups is taking place. These events are
    target-specific.
    r   
event_timer   r  re   r  r  parent_auction_idztyping.Optional[dict]auction_configr   r   r   c           
     Z    | t           j                            |d                   t                              |d                   t                              |d                   d|v r t                              |d                   nd d|v rt          |d                   nd           S )N	eventTimer  r  parentAuctionIdauctionConfig)r   r  r  r  r  )r	   r   r   r   re   rX   r   s     r   r   z+InterestGroupAuctionEventOccurred.from_json  s    s-77[8IJJ/99$v,GG4>>tDU?VWW[lpt[t[t4>>tDU?VWWWz~:IT:Q:Q4_ 5666W[
 
 
 	
r   N)r   r   r   r  r  r   r   r   r  r  w  s|           '&&&((((---->>>>))))
 
 
 [
 
 
r   r  z1Storage.interestGroupAuctionNetworkRequestCreatedc                  J    e Zd ZU dZded<   ded<   ded<   edd            ZdS ))InterestGroupAuctionNetworkRequestCreatedz
    Specifies which auctions a particular network fetch may be related to, and
    in what role. Note that it is not ordered with respect to
    Network.requestWillBeSent (but will happen before loadingFinished
    loadingFailed).
    r   r  znetwork.RequestId
request_idz#typing.List[InterestGroupAuctionId]auctionsr   r   r   c                     | t                               |d                   t          j                            |d                   d |d         D                       S )Nr  	requestIdc                B    g | ]}t                               |          S r   )re   r   r   s     r   r   zGInterestGroupAuctionNetworkRequestCreated.from_json.<locals>.<listcomp>  s'    TTTa,66q99TTTr   r
  )r  r	  r
  )r   r   r	   	RequestIdr   s     r   r   z3InterestGroupAuctionNetworkRequestCreated.from_json  s_    s/99$v,GG(2243DEETT4
CSTTT
 
 
 	
r   N)r   r   r   r  r  r   r   r   r  r    sf           )(((!!!! 2111
 
 
 [
 
 
r   r  zStorage.sharedStorageAccessedc                  ^    e Zd ZU dZded<   ded<   ded<   ded	<   d
ed<   edd            ZdS )SharedStorageAccessedzv
    Shared storage was accessed by the associated page.
    The following parameters are included in all events.
    r   r  r   r  rZ  main_frame_idr   r  r   r`  r   r   r   c           
     L    | t           j                            |d                   t                              |d                   t          j                            |d                   t          |d                   t                              |d                             S )Nr  r  mainFrameIdr  r`  )r  r  r  r  r`  )r	   r   r   r   r
   FrameIdr   r   r   s     r   r   zSharedStorageAccessed.from_json  s    s.88l9KLL)33DLAA,00m1DEET-011,66tH~FF
 
 
 	
r   N)r   r   r   r  r  r   r   r   r  r    s~          
 ('''"""" &%%%
 
 
 [
 
 
r   r  z%Storage.storageBucketCreatedOrUpdatedc                  2    e Zd ZU ded<   edd            ZdS )	StorageBucketCreatedOrUpdatedr  bucket_infor   r   r   c                V     | t                               |d                             S )N
bucketInfo)r  )r  r   r   s     r   r   z'StorageBucketCreatedOrUpdated.from_json  s1    s)33D4FGG
 
 
 	
r   N)r   r   r   r  r'   r(   r)   r\   r*   r   r   r   r   r  r    sB          #"""
 
 
 [
 
 
r   r  zStorage.storageBucketDeletedc                  2    e Zd ZU ded<   edd            ZdS )	StorageBucketDeletedr   r  r   r   r   c                @     | t          |d                             S )Nr  )r  r   r   s     r   r   zStorageBucketDeleted.from_json  s+    s$z*++
 
 
 	
r   N)r   r   r   r  r  r   r   r   r  r    s?          NNN
 
 
 [
 
 
r   r  z,Storage.attributionReportingSourceRegisteredc                  @    e Zd ZU dZded<   ded<   edd	            Zd
S )$AttributionReportingSourceRegistered
    **EXPERIMENTAL**


    r  registrationr  resultr   r   r   c                     | t                               |d                   t                              |d                             S )Nr!  r"  )r!  r"  )r  r   r  r   s     r   r   z.AttributionReportingSourceRegistered.from_json  sF    s?II$~J^__?II$x.YY
 
 
 	
r   N)r   r   r   r  r  r   r   r   r  r    sX          
 98888888
 
 
 [
 
 
r   r  z-Storage.attributionReportingTriggerRegisteredc                  J    e Zd ZU dZded<   ded<   ded<   edd            ZdS )%AttributionReportingTriggerRegisteredr   r  r!  r  event_levelr@  aggregatabler   r   r   c                     | t                               |d                   t                              |d                   t                              |d                             S )Nr!  
eventLevelr'  )r!  r&  r'  )r  r   r  r@  r   s     r   r   z/AttributionReportingTriggerRegistered.from_json  s^    s@JJ4P^K_``<FFtLGYZZ?II$~J^__
 
 
 	
r   N)r   r   r   r%  r  r   r   r   r%  r%    sd          
 :99955558888
 
 
 [
 
 
r   r%  )rY  rZ  r   r[  )rc  r   rd  r   r   re  )r  r   rd  r   r   re  r   )rl  rm  r   rn  )r0   rv  rl  rm  r   re  )rl  rm  r   re  )rc  r   r   r|  )rc  r   r  r  r   re  )rc  r   r   re  )r  r   r   re  )r   r  )r_   r   r   r  )r  r   r  r   r   r  )r  r  r   re  )r  r   r   r  )r  r   r   r  )
r  r   r   r   r?   r   r   r   r   re  )r  r   r   r   r   re  )r  r   r   re  )r  r   r  r  r   re  )r  r  r   re  )r   r  )r  r  r   re  )r   r  )r   r  )h
__future__r   utilr   r   dataclassesr   enumtyping r   r	   r
   r   r   Enumr.   rR   r^   re   rk   r   r   r   r   r   r   r   r   r  r  r  r#  r+  r0  r5  r:  rB  rP  r]  ra  ri  rs  r{  r  r  r  r  r  r  r  r  r  r  r  r@  rH  rb  ri  rk  ru  ry  r{  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r%  r   r   r   <module>r1     sD   # " " " " " * * * * * * * * ! ! ! ! ! !                    	E 	E 	E 	E 	E3 	E 	E 	E    $)   6 
 
 
 
 
 
 
 
0 
 
 
 
 
 
 
 
.G G G G GS G G G    di   0    DI       DI   $    di   D 
 
 
 
 
 
 
 
,  
  
  
  
  
  
  
  
F 
 
 
 
 
 
 
 
, 
 
 
 
 
 
 
 
0 O
 O
 O
 O
 O
 O
 O
 O
d	 	 	 	 	ty 	 	 	 
 
 
 
 
 
 
 
* !
 !
 !
 !
 !
 !
 !
 !
H	 	 	 	 	TY 	 	 		F 	F 	F 	F 	FC 	F 	F 	F	G 	G 	G 	G 	GS 	G 	G 	G	D 	D 	D 	D 	D# 	D 	D 	D 
 
 
 
 
 
 
 
& 
 
 
 
 
 
 
 
* 
 
 
 
 
 
 
 
& 
 
 
 
 
 
 
 
& 
 
 
 
 
 
 
 
* 
 
 
 
 
 
 
 
*	 	 	 	 	di 	 	 	 
 
 
 
 
 
 
 
2 
 
 
 
 
 
 
 
> K
 K
 K
 K
 K
 K
 K
 K
\    49   0	 	 	 	 	ty 	 	 	 
 
 
 
 
 
 
 
2 
 
 
 
 
 
 
 
& 
 
 
 
 
 
 
 
8 
 
 
 
 
 
 
 
. 
 
 
 
 
 
 
 
( ;
 ;
 ;
 ;
 ;
 ;
 ;
 ;
|    49   :    TY   0 
 
 
 
 
 
 
 
:> > > >&   (   * IMB B B B B, IM    , IM    $   > .2    .   "   "   "   "   "   "   "   "> > > > ) ) ) ),! ! ! !0   &   (= = = =*F F F F2 48	    :   ,   &   &   &   ,   &2 2 2 2   &   &        B B B B  122

 
 
 
 
 
 
  32
. .//

 
 
 
 
 
 
  0/
( .//

 
 
 
 
 
 
  0/
4 +,,

 
 
 
 
 
 
  -,
( ,--

 
 
 
 
 
 
  .-
@ 899

 
 
 
 
 
 
  :9
0 @AA

 
 
 
 
 
 
  BA
. ,--

 
 
 
 
 
 
  .-
8 455

 
 
 
 
 
 
  65
 +,,

 
 
 
 
 
 
  -,
 ;<<

 
 
 
 
 
 
  =<
" <==

 
 
 
 
 
 
  >=
 
 
r   