+
     i                     n    ^ RI HtHtHtHt ^ RIHt ^ RIHt ^ RI	H
t
  ! R R4      t ! R R]]4      tR	# )
    )BoolStringAliasInteger)Serialisable)Base64Binary)hash_passwordc                   b   a  ] tR t^t o RtRR lt]R 4       t]P                  R 4       tRt	V t
R# )
_ProtectedNc                8    V'       g   \        V4      pWn        R# )zSet a password on this sheet.N)r	   	_password)selfvaluealready_hasheds   &&&c/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/openpyxl/worksheet/protection.pyset_password_Protected.set_password   s    !%(E    c                    V P                   # )z.Return the password value, regardless of hash.r   r   s   &r   password_Protected.password   s     ~~r   c                (    V P                  V4       R# )z-Set a password directly, forcing a hash step.N)r   )r   r   s   &&r   r   r      s     	% r   r    F)__name__
__module____qualname____firstlineno__r   r   propertyr   setter__static_attributes____classdictcell__)__classdict__s   @r   r   r      s;     I   __! !r   r   c                     a a ] tR t^$t oRtRt]! 4       t]! R4      t	]! 4       t
]! 4       t]! 4       t]! 4       t]! 4       t]! 4       t]! 4       t]! 4       t]! 4       t]! 4       t]! 4       t]! 4       t]! 4       t]! 4       t]! 4       t]! RR7      t]! RR7      t]! RR7      t]! RR7      tRt RR lt!RV 3R llt"R t#R	 t$R
 t%Rt&Vt'V ;t(# )SheetProtectionz
Information about protection of various aspects of a sheet. True values
mean that protection for the object or action is active This is the
**default** when protection is active, ie. users cannot do something
sheetProtectionsheetT)
allow_nonec                   Wn         W n        W0n        W@n        W`n        WPn        Wpn        Wn        Wn        Wn	        Wn
        Wn        Wn        Wn        Wn        VV n        Ve   VV n        VV n        VV n        VV n        VV n        R # N)r)   objects	scenariosformatCellsformatColumns
formatRowsinsertColumns
insertRowsinsertHyperlinksdeleteColumns
deleteRowsselectLockedCellsselectUnlockedCellssort
autoFilterpivotTablesr   algorithmName	saltValue	spinCount	hashValue)r   r)   r-   r.   r/   r1   r0   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r   r<   r=   r>   r?   s   &&&&&&&&&&&&&&&&&&&&&&r   __init__SheetProtection.__init__K   s     
"&*$*$ 0*$!2#6 	$&$DM*"""r   c                F   < \         SV `  W4       V P                  4        R # r,   )superr   enable)r   r   r   	__class__s   &&&r   r   SheetProtection.set_passwordi   s    U3r   c                    R V n         R# )TNr)   r   s   &r   rD   SheetProtection.enablen   s	    
r   c                    R V n         R# )FNrH   r   s   &r   disableSheetProtection.disabler   s	    
r   c                    V P                   # r,   rH   r   s   &r   __bool__SheetProtection.__bool__v   s    zzr   )r<   r:   r5   r6   r/   r0   r1   r?   r2   r4   r3   r-   r   r;   r=   r.   r7   r8   r)   r9   r>   )r7   r8   r<   r)   r-   r3   r4   r:   r.   r0   r5   r2   r;   r6   r/   r=   r1   r9   r>   r   r?   )FFFTTTTTTTTFFTTTNNNNNr   ))r   r   r   r    __doc__tagnamer   r)   r   enabledr-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r   r=   r   r>   r   r<   r?   	__attrs__r@   r   rD   rK   rN   r#   r$   __classcell__)rE   r%   s   @@r   r'   r'   $   s       GFEGnGfGI&KFMJFMJvFMJ&6DJ&K-I4(Id+M-I<I#<
 r   r'   N)openpyxl.descriptorsr   r   r   r   !openpyxl.descriptors.serialisabler   openpyxl.descriptors.excelr   openpyxl.utils.protectionr	   r   r'    r   r   <module>rZ      s8     ; 4! !(SlJ Sr   