+
    Ĝi                         ^ RI H t  ^ RIHt ]! ]4      t^RIHt ^RIHt ^RIH	t	H
t
Ht ^RIHt ^ RIHt ^ RIHtHt ]]3t ! R	 R
]R7      tR# )    )copy)kwlist)
Descriptor)MetaSerialisable)SequenceNestedSequenceMultiSequencePart)
namespaced)safe_string)Element	localnamec                      a  ] tR t^t o RtRtRtRtRt^ t	]
R 4       tRt]R 4       tRR ltR tR tR tR	 tR
 tR tR tRtV tR# )Serialisablez
Objects can serialise to XML their attributes and child objects.
The following class attributes are created by the metaclass at runtime:
__attrs__ = attributes
__nested__ = single-valued child treated as an attribute
__elements__ = child elements
Nc                    \         hN)NotImplementedError)selfs   &j/Users/mibo/.openclaw/workspace/.venv-ak/lib/python3.14/site-packages/openpyxl/descriptors/serialisable.pytagnameSerialisable.tagname(   s    !"    c                   \        VP                  4      pV P                   F  w  r4WB9   g   K  W$,          W#&   W$ K  	  \        V4       Ff  pVP	                  R4      '       d   W# K  V\
        9   d   W#,          VRV,           &   W# K?  RV9   g   KH  VP                  RR4      pW#,          W%&   W# Kh  	  VP                  '       d!   RV P                  9   d   VP                  VR&   V EFk  p\        V4      pV\
        9   d
   RV,           p\        WR4      pVe   \        V\        4      '       d   KK  \        VR4      '       d   VP                  V4      p	MD\        VP                  R4      '       d   VP                  P                  V4      p	MVP                  p	\        V\         4      '       d   WV&   K  \        V\"        4      '       d-   VP%                  V. 4       W',          P'                  V	4       EK  \        V\(        4      '       dA   VP%                  VP*                  . 4       W(P*                  ,          P'                  V	4       EKg  WV&   EKn  	  V ! R/ VB # )z
Create object from XML
{_-	attr_textN	from_tree )dictattrib__namespaced__list
startswithKEYWORDSreplacetext	__attrs__r   getattr
isinstancepropertyhasattrr   expected_typer   r   
setdefaultappendr	   store)
clsnoder    keynsneltagdescobjs
   &&        r   r   Serialisable.from_tree.   s    dkk"))GC|$jJ * <C~~c""K$*KsSy!KKKS)"K	K   9995"&))F;BB-ChCi3T*D|z$99t[))nnR(4--{;;,,66r:C ''C$//!sD(++!!#r*""3'D"344!!$**b1zz"))#.!s9 < }V}r   c                T  aa Vf   V P                   pVP                  R4      '       d
   VR,          p\        WS4      p\        V RS4      o\	        V 4      pV P
                   F  w  rVWT9   g   K  WE,          WF&   WE K  	  \        W4      pRV P                  9   d   \        \        V R4      4      Vn	        V P                   EFa  o\        V P                  SR 4      p\        V S4      p	\        VR4      '       d$   \        V	R4      '       d   VP                  V	n        \        V	\        4      '       d   \        V\         4      '       d    V	'       g   K  VP#                  SV	S4      .p
MH\        V\$        4      '       d&   V P&                  Vn        VP#                  SV	S4      p
MVV3R lV	 4       p
V
 F  pVP)                  V4       K  	  EK  SV P*                  9   d   VP#                  SV	S4      pMV	f   EK8  V	P#                  S4      pVf   EKP  VP)                  V4       EKd  	  V# )Nr      NN	namespacer   c              3   F   <"   T F  qP                  SS4      x  K  	  R # 5ir   )to_tree).0v	child_tagr=   s   & r   	<genexpr>'Serialisable.to_tree.<locals>.<genexpr>   s     JcYYy)<<cs   !)r   r#   r
   r(   r   r!   r   r'   r   r&   __elements__	__class__r+   r=   r)   	seq_typesr   r?   r   idx_baser.   
__nested__)r   r   idxr=   attrsr2   r3   r5   r7   r8   nodesr1   rB   s   &&&f        @r   r?   Serialisable.to_treej   s   ?llG c""bkGTI6D+y9	T
**GC|!J	J +
 W$$..(!'$"<=BG**I4>>9d;D$	*Ct[))gc;.G.G $#y))dN33 !\\)S)DEEh//$(MMDM!\\)S)DEJcJE!DIIdO " /<<	3	BD[;;y1D#IIdO9 +: 	r   c              #  Z  "   V P                    F  p\        W4      pVP                  R 4      '       d   VR,          pMIVR8w  dC   R V9   d<   \        V P                  V4      p\        VRR4      '       d   VP	                  R R4      pVR8w  g   K  Vf   K  V\        V4      3x  K  	  R# 5i)r   r;   r   
hyphenatedFr   N)r'   r(   r#   rF   r%   r   )r   attrvaluer7   s   &   r   __iter__Serialisable.__iter__   s     NNDD'Es##Bx$t~~t44u55<<S1D{"u'8K... #s   B	B+B+B+c                    V P                   VP                   8X  g   R # \        V 4      \        V4      8X  g   R # V P                   F  p\        W4      \        W4      8w  g   K   R # 	  R# )FT)rF   r   rE   r(   )r   otherr5   s   && r   __eq__Serialisable.__eq__   sR    ~~0dtE{*##Bt GE$66 $ r   c                    W8X  * # r   r   )r   rU   s   &&r   __ne__Serialisable.__ne__   s      r   c           	        R P                  V P                  V P                  P                  4      p. pV P                  V P
                  ,            FP  p\        W4      p\        V\        4      '       d   RpVP                  RP                  V\        V4      4      4       KR  	  RP                  V4      pRP                  W.4      # )z<{0}.{1} object>
Parameters:Nz{0}={1}z, 
)format
__module__rF   __name__r'   rE   r(   r)   r   r.   reprjoin)r   sargskrA   s   &    r   __repr__Serialisable.__repr__   s    ,33OONN##
 $"3"333A A!Z((KK
))!T!W56	 4
 zz$zz1)$$r   c                    . pV P                   V P                  ,            F@  p\        W4      p\        V\        4      '       d   \        V4      pVP                  V4       KB  	  \        \        V4      4      # r   )r'   rE   r(   r)   r"   tupler.   hash)r   fieldsrP   vals   &   r   __hash__Serialisable.__hash__   s`    NNT%6%666D$%C#t$$CjMM#	 7 E&M""r   c                ~   \        V 4      \        V4      8w  d   \        R 4      h/ pV P                   F#  p\        W4      ;'       g    \        W4      W#&   K%  	  V P                   FC  p\        W4      p\        W4      pV'       d   V'       d   WV,           W$&   K5  T;'       g    TW$&   KE  	  V P
                  ! R/ VB # )z+Cannot combine instances of different typesr   )type	TypeErrorr'   r(   rE   rF   )r   rU   valsrP   r5   abs   &&     r   __add__Serialisable.__add__   s    :e$IJJNND ,DD0DDJ ###B!A"AQ566 $ ~~%%%r   c                   V P                  R R7      pV P                  P                  V4      pV P                   FF  pW0P                  V P
                  ,           9  g   K&  \        \        W4      4      p\        W#V4       KH  	  V# )dummy)r   )	r?   rF   r   __dict__r'   rE   r   r(   setattr)r   xmlcprd   rA   s   &    r   __copy__Serialisable.__copy__   si    ll7l+^^%%c*A):):::)*q!  	r   r   )NNN)r_   r^   __qualname____firstlineno____doc__r'   rI   rE   r!   rH   r*   r   r=   classmethodr   r?   rR   rV   rY   re   rl   rt   r|   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s      IJLNH# # I8 8v3l
/!% #& 	 	r   r   )	metaclassN)r   keywordr   	frozensetr$    r   r   sequencer   r   r	   r=   r
   openpyxl.compatr   openpyxl.xml.functionsr   r   r"   rh   rG   r   r   r   r   <module>r      sN     V   
 " '
 5M	X- Xr   