+
    /i`                     P    ^ RI Ht ^ RIt^ RIt^ RItRR ltR tR	R ltR t	R t
R# )
    )IterableNc                    V R8X  d   ^ # V R8X  d   ^# V R9   d   ^# V R8X  d   ^# V R8X  d   ^# V R8X  d   V'       d   ^# V R8X  d   ^# V R8X  d   V'       d   ^# V R8X  d   ^# \        R4      h)	zAConvert an extension mode to the corresponding integer code.
    nearestwrapmirrorconstantz	grid-wrapzgrid-constantzboundary mode not supported)reflectzgrid-mirror)RuntimeError)mode	is_filters   &&W/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/ndimage/_ni_support.py_extend_mode_to_coder   %   sw     y		+	+										 Y		 899    c                    \        V \        4      pV'       gH   \        P                  ! V 4      '       d,   \	        V 4      p\        V4      V8w  d   Rp\        V4      h V# V .V,          pV# )zIf input is a scalar, create a sequence of length equal to the
rank by duplicating the input. If input is a sequence,
check if its length is equal to the length of array.
z6sequence argument must have length equal to input rank)
isinstancestrnpiterablelistlenr
   )inputrankis_str
normalizederrs   &&   r   _normalize_sequencer   >   sf    
 s#Fbkk%((%[
z?d"JCs## #
  Wt^
r   c                    Vf   VP                   pV f   V'       g.   \        P                  ! W!P                  P                  R7      p V # \        P
                  ! VP                  \        P                  4      p\        P                  ! W$R7      p  V # \        V \        \        P                  ,          4      '       d   V'       dc   \        P                  ! V 4      P                  R8w  d>   \        P                  ! R^R7       \        P
                  ! V \        P                  4      p \        P                  ! W R7      p V # \        V \        4      '       d   \        P                  ! V 4      p V'       d   V P                  R8w  d   \        R4      h\        V P                  \        P                  4      '       g   \        R4      h\        P                  ! W R7      p V # \        P                   ! V 4      p V P                   V8w  d   \        R4      hV'       d'   V P                  P                  R8w  d   \        R4      hV # )N)dtypecz+promoting specified output dtype to complex)
stacklevelzoutput must have complex dtypezoutput must have numeric dtypezoutput shape not correct)shaper   zerosr   namepromote_types	complex64r   typekindwarningswarnr   r
   
issubclassnumberasarray)outputr   r!   complex_outputcomplex_types   &&&& r   _get_outputr0   N   s   }~XXe;;+;+;<F0 M- ++EKKFLXXe8F* M) 
FD288O	,	,bhhv.33s:MMGTUV%%fbll;F%. M 
FC	 	 &!fkkS0?@@FKK33?@@%. M F#<<5 9:: 1 1S 8?@@Mr   c                 l  a V f   \        \        S4      4      # \        P                  ! V 4      '       d   \        P
                  ! V 4      3p M\        V \        4      '       d   V  FT  p\         ;QJ d    . R V  4       F  NK  	  5M! R V  4       4      p VS) 8  g   VS^,
          8  g   KG  \        RV R24      h	  \         ;QJ d    . V3R lV  4       F  NK  	  5M! V3R lV  4       4      p MRp\        V4      h\        \        \        V 4      4      4      \        V 4      8w  d   \        R4      hV # )Nc              3   N   "   T F  p\         P                  ! V4      x  K  	  R # 5i)N)operatorindex).0axs   & r   	<genexpr>_check_axes.<locals>.<genexpr>u   s     ;d++ds   #%zspecified axis: z is out of rangec              3   F   <"   T F  q^ 8  d
   VS,          MTx  K  	  R# 5i)r   N )r5   r6   ndims   & r   r7   r8   x   s     @4Rq&R$Yb04s   !z6axes must be an integer, iterable of integers, or Nonezaxes must be unique)tupleranger   isscalarr3   r4   r   r   
ValueErrorr   set)axesr;   r6   messages   &f  r   _check_axesrC   n   s    |U4[!!	T		t$&	D(	#	#B5;d;55;d;;DTEzR$(] #3B47G!HII  u@4@uu@4@@J!!
5TD	).//Kr   c                    \        V \        4      '       d   R# \        V 4      \        J d%   \        V \        P
                  4      '       d   R# T # \        V \        P                  4      '       d   R# T # )zt'array or dtype' polymorphism.

Return None for np.int8, dtype('float32') or 'f' etc
       arg for np.empty(3) etc
N)r   r   r&   r*   r   genericr   )args   &r   _skip_if_dtyperG      sV     #sCyD!#rzz22t;;!#rxx00t9c9r   )F)NF)collections.abcr   r3   r(   numpyr   r   r   r0   rC   rG   r:   r   r   <module>rJ      s-   > %   :2 @$:r   