+
    Tj                         ^ RI HtHtHtHt ^ RIHtHtHt ^ RI	H
t
 . ROt ! R	 R
]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      tR# )    )ExtentFieldGeometryCollectionFieldGeometryFieldLineStringField)	AggregateFuncValue)cached_propertyCollectExtentExtent3DMakeLineUnionc                   d   a a ] tR t^t oRtRt]R 4       tRV 3R lltR t	R	V 3R llt
RtVtV ;t# )
GeoAggregateNFc                n    V P                  V P                  ^ ,          P                  P                  4      # )r   )output_field_classsource_expressionsoutput_fieldsrid)selfs   &\/var/www/idalgo/venv/lib/python3.14/site-packages/django/contrib/gis/db/models/aggregates.pyr   GeoAggregate.output_field   s*    &&t'>'>q'A'N'N'S'STT    c                   < VP                   P                  V 4       \        SV `  ! VV3R T;'       g&    VP                   P	                  V P
                  4      /VB # )function)opscheck_expression_supportsuperas_sqlspatial_aggregate_namename)r   compiler
connectionr   extra_context	__class__s   &&&&,r   r    GeoAggregate.as_sql   s]     	//5w~
 QQ!F!Ftyy!Q
 	
 	
r   c                   V P                   '       g   V P                  P                  R 4      ;'       g    \        V R R4      pV P	                  4       pV P                  4       Ev rgp\        . VO\        V4      N5RRRV P                  / p	WV.p
VP                  V
4       VP                  ! W3/ VB # V P                  ! W3/ VB # )	toleranceg?r   SDOAGGRTYPEr   )	is_extentextragetgetattrcopyget_source_expressionsr   r	   r   set_source_expressionsr    )r   r#   r$   r%   r)   clonesource_exprsfilter_exprorder_by_exprspatial_type_exprr   s   &&&,       r   	as_oracleGeoAggregate.as_oracle    s    ~~~

{3WWwt[RV7WIIIKE8<8S8S8U5\ $ !!i ! '! "..	! #4-!P(();<<<FFF{{8A=AAr   c                   < \         SV `  WW4V4      pVP                  4        F   p\        VR 4      '       d   K  \	        R4      h	  V# )	geom_typez6Geospatial aggregates only allowed on geometry fields.)r   resolve_expressionget_source_fieldshasattr
ValueError)	r   queryallow_joinsreuse	summarizefor_savecfieldr&   s	   &&&&&&  r   r;   GeoAggregate.resolve_expression0   sO     G&u5XV((*E5+.. L  +
 r    N)NTNFF)__name__
__module____qualname____firstlineno__r   r+   r
   r   r    r7   r;   __static_attributes____classdictcell____classcell__r&   __classdict__s   @@r   r   r      s8     HIU U	
B 	 	r   r   c                       ] tR t^<tR t]tRtR# )r   rG   N)rI   rJ   rK   rL   r"   r   r   rM   rG   r   r   r   r   <   s    D0r   c                   @   a a ] tR t^At oR tRtV 3R ltR tRtVt	V ;t
# )r   2Dc                >   < \         SV `  ! V3R \        4       /VB  R# r   Nr   __init__r   r   
expressionr,   r&   s   &&,r   rX   Extent.__init__E       I+-I5Ir   c                8    VP                   P                  V4      # rH   )r   convert_extentr   valuerZ   r$   s   &&&&r   convert_valueExtent.convert_valueH   s    ~~,,U33r   rG   rI   rJ   rK   rL   r"   r+   rX   ra   rM   rN   rO   rP   s   @@r   r   r   A   s     DIJ4 4r   c                   @   a a ] tR t^Lt oR tRtV 3R ltR tRtVt	V ;t
# )r   3Dc                >   < \         SV `  ! V3R \        4       /VB  R# rV   rW   rY   s   &&,r   rX   Extent3D.__init__P   r\   r   c                8    VP                   P                  V4      # rH   )r   convert_extent3dr_   s   &&&&r   ra   Extent3D.convert_valueS   s    ~~..u55r   rG   rc   rP   s   @@r   r   r   L   s     DIJ6 6r   c                       ] tR t^WtR t]tRtR# )r   rG   N)rI   rJ   rK   rL   r"   r   r   rM   rG   r   r   r   r   W   s    D(r   c                       ] tR t^\tR t]tRtR# )r   rG   N)rI   rJ   rK   rL   r"   r   r   rM   rG   r   r   r   r   \   s    D&r   N)r   r   r   r   r   )#django.contrib.gis.db.models.fieldsr   r   r   r   django.db.modelsr   r   r	   django.utils.functionalr
   __all__r   r   r   r   r   r   rG   r   r   <module>rq      sh     4 3 3
@,9 ,^1l 1
4\ 46| 6)| )
'L 'r   