
    h                    H   S SK Jr  S SKJrJr  SSKJrJr  SSKJ	r	  S SK
JrJrJrJr  S SKJrJr  SSKJr  \(       a  S S	KJr  S S
KJr  S SKJr  S/r\" S\" S5      \" S5      \" S5      \" SS S9\" S\S S9\" SS S9\" SS S9S.5      r\" \5      r\ " S S\	5      5       rg)    )annotations)TYPE_CHECKINGOptional   )SubclassProcessorDXFNamespace)	DXFEntity)DXFAttrDXFAttributesDefSubclassgroup_code_mapping)DXF2004DXF2000)register_entity)Drawing)AbstractTagWriter)ExtendedTagsDXFClassN      Z   )default[   )
dxfversionr   i  i  namecpp_class_nameapp_nameflagsinstance_countwas_a_proxyis_an_entityc                      \ rS rSrSr\" \5      r\r	\
    S	       S
S jj5       r S     SS jjrSS jr\SS j5       rSrg)r   B   CLASSNc                X    U " 5       nXEl         U=(       d    0 nUR                  U5        U$ )zUNew CLASS constructor - has no handle, no owner and do not need
document reference .
)docupdate_dxf_attribs)clshandleowner
dxfattribsr'   	dxf_classs         I/var/www/html/env/lib/python3.13/site-packages/ezdxf/entities/dxfclass.pynewDXFClass.newH   s.     E	%2
$$Z0    c                    U(       a:  [        U S9U l        [        U5      nUR                  U R                  [        SSS9  gg)z-Called by load constructor. CLASS is special.)entityr   F)logN)r   dxfr   fast_load_dxfattribsclass_def_group_codes)selftagsr   	processors       r.   	load_tagsDXFClass.load_tagsY   sC     #40DH)$/I**/ + 	 r1   c                    UR                   nU[        :  a  gU R                  nUR                  SU R                  5        UR                  U/ SQ5        g)z2Do complete export here, because CLASS is special.Nr   r   )r   r   r5   
write_tag2DXFTYPEexport_dxf_attribs)r8   	tagwriterr   attribss       r.   
export_dxfDXFClass.export_dxfe   sK    ))
((Q-""	
r1   c                Z    U R                   R                  U R                   R                  4$ N)r5   r   r   )r8   s    r.   keyDXFClass.keyy   s    xx}}dhh5555r1   )r5   )NNNN)r*   Optional[str]r+   rI   r'   zOptional[Drawing]returnr   rF   )r9   r   r   rI   rJ   None)rA   r   )rJ   ztuple[str, str])__name__
__module____qualname____firstlineno__r?   r   	class_def
DXFATTRIBSr   MIN_DXF_VERSION_FOR_EXPORTclassmethodr/   r;   rC   propertyrG   __static_attributes__ r1   r.   r   r   B   s    Gy)J!( !%#!% 
  
 " ?C
 
.;
	

( 6 6r1   )
__future__r   typingr   r   dxfnsr   r   	dxfentityr	   ezdxf.lldxf.attributesr
   r   r   r   ezdxf.lldxf.constr   r   factoryr   ezdxf.documentr   ezdxf.lldxf.tagwriterr   ezdxf.lldxf.extendedtagsr   __all__rP   r7   r   rV   r1   r.   <module>rb      s    # * 2    / $&75, 
 "!* AJ$ Q'!"!D sA.  Q/G$'	P +95  86y 86 86r1   