+
    :i'                     J   ^ RI t^ RIHtHtHtHt ^ RIHt ^ RI	H
t
HtHtHt ^ RIHtHt ]R 4       t]R 4       t]R 4       t]R	 4       t]R
 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       tR# )    N)uint64uint32uint16uint8)register_jitable)
UINT32_MAX
UINT64_MAX
UINT16_MAX	UINT8_MAX)next_uint32next_uint64c                     \        V 4      pW^,	          ,          pW^,	          ,          pW^,	          ,          pW^,	          ,          pW^,	          ,          pW^ ,	          ,          pV#    )r   )maxmasks   & \/var/www/html/photoedit/myenv/lib/python3.14/site-packages/numba/np/random/random_methods.pygen_maskr      sX    #;DAIDAIDAIDAIDBJDBJDK    c                     V^ 8X  d   WV3# V'       g   \        V 4      p^pMV^,          pV^,          pV^,          ^ 8g  W43# )r   )r   )bitgenoffrngbcntbufs   &&&&&r   buffered_bounded_boolr      sJ    q#~&!		1WNT&&r   c                 l    V'       g   \        V 4      p^pMV^,          pV^,          p\        V4      W3# )   )r   r   r   r   r   s   &&&r   buffered_uint8r    (   s5    &!		:t  r   c                 l    V'       g   \        V 4      p^pMV^,          pV^,          p\        V4      W3# r   )r   r   r   s   &&&r   buffered_uint16r"   4   s5    &!
	#;!!r   c                Z   \        V4      \        ^4      ,           pV^8w  g   Q h\        WV4      w  rRp\        WT,          4      pV^,          pWt8  dO   \        \        4      V,
          V,          pWx8  d,   \        WV4      w  rRp\        WT,          4      pV^,          pK1  V^,	          W#3# )a#  
Generates a random unsigned 8 bit integer bounded
within a given interval using Lemire's rejection.

The buffer acts as storage for a 32 bit integer
drawn from the associated BitGenerator so that
multiple integers of smaller bitsize can be generated
from a single draw of the BitGenerator.
)r   r    r   r   	r   r   r   r   rng_exclnmleftover	thresholds	   &&&&     r   buffered_bounded_lemire_uint8r*   B   s     SzE!H$H4KK "&4LASq|A 4xHI&,8	#)&<LASq|$A4xH64r   c                Z   \        V4      \        ^4      ,           pVR8w  g   Q h\        WV4      w  rRp\        WT,          4      pVR,          pWt8  dO   \        \        4      V,
          V,          pWx8  d,   \        WV4      w  rRp\        WT,          4      pVR,          pK1  V^,	          W#3# )a$  
Generates a random unsigned 16 bit integer bounded
within a given interval using Lemire's rejection.

The buffer acts as storage for a 32 bit integer
drawn from the associated BitGenerator so that
multiple integers of smaller bitsize can be generated
from a single draw of the BitGenerator.
  )r   r"   r   r
   r$   s	   &&&&     r   buffered_bounded_lemire_uint16r-   f   s     c{VAY&H6MM #65LASq|A 6zHZ(3.(:	#*6=LASq|$A6zH7Dr   c                T   \        V4      \        ^4      ,           pVR8w  g   Q h\        \        V 4      4      \        V4      ,          pVR,          pWB8  dJ   \        V,
          V,          pWE8  d0   \        \        V 4      4      \        V4      ,          pVR,          pK5  V^ ,	          # )zf
Generates a random unsigned 32 bit integer bounded
within a given interval using Lemire's rejection.
    )r   r   r   r   )r   r   r%   r'   r(   r)   s   &&    r   buffered_bounded_lemire_uint32r0      s     c{VAY&H: 	{6"#fX&66A :~H#%1	#{6*+fX.>>A:~HGr   c                `   \        V4      \        ^4      ,           pVR8w  g   Q h\        V 4      p\        V4      \        V4      ,          pWB8  dC   \        V,
          V,          pWE8  d)   \        V 4      p\        V4      \        V4      ,          pK.  V\        R4      ,          pV^ ,	          pV\        R4      ,          pV^ ,	          p	Wh,          p
Wx,          V
^ ,	          ,           pV\        R4      ,          pV^ ,	          pWV	,          ,          pWy,          V,           V^ ,	          ,           pV# )zf
Generates a random unsigned 64 bit integer bounded
within a given interval using Lemire's rejection.
    r/   )r   r   r	   )r   r   r%   xr(   r)   x0x1	rng_excl0	rng_excl1w0tw1w2m1s   &&             r   bounded_lemire_uint64r=      s     c{VAY&H%%&%FAay6(++H#%1	#F#Aay6(#33H	
VJ	B	
bB6*--IBI	B
"(#A	
VJ	B	
bBy.B	"	b	)BIr   c                H   \         P                  ! W4R7      pV^ 8X  d$   \         P                  ! V4       F  pWV&   K	  	  V# VR8:  do   VR8X  d4   \         P                  ! V4       F  pV\        V 4      ,           WV&   K  	  V# \         P                  ! V4       F  pV\	        W4      ,           WV&   K  	   V# VR8X  d4   \         P                  ! V4       F  pV\        V 4      ,           WV&   K  	  V# \         P                  ! V4       F  pV\        W4      ,           WV&   K  	  V# )zS
Returns a new array of given size with 64 bit integers
bounded by given interval.
dtyper/   r2   )npemptyndindexr   r0   r   r=   r   lowr   sizer@   outis   &&&&&  r   random_bounded_uint64_fillrI      s	    ((4
%C
axD!AF "" J 

	:ZZ%{622 & J ZZ%=fJJ & J #
#D!A;v..CF " J D!A0==CF " Jr   c                ^   \         P                  ! W4R7      pV^ 8X  d$   \         P                  ! V4       F  pWV&   K	  	  V# VR8X  d4   \         P                  ! V4       F  pV\        V 4      ,           WV&   K  	  V# \         P                  ! V4       F  pV\	        W4      ,           WV&   K  	  V# )zS
Returns a new array of given size with 32 bit integers
bounded by given interval.
r?   r/   )rA   rB   rC   r   r0   rD   s   &&&&&  r   random_bounded_uint32_fillrK      s     ((4
%C
axD!AF " J 

	D!A;v..CF "
 J D!A9&FFCF "Jr   c                z   ^ p^ p\         P                  ! W4R7      pV^ 8X  d$   \         P                  ! V4       F  pWV&   K	  	  V# VR8X  d9   \         P                  ! V4       F  p\        WV4      w  rpW,           Wx&   K  	  V# \         P                  ! V4       F  p\	        WWe4      w  rpW,           Wx&   K  	  V# )zS
Returns a new array of given size with 16 bit integers
bounded by given interval.
r?   r,   )rA   rB   rC   r"   r-   
r   rE   r   rF   r@   r   r   rG   rH   vals
   &&&&&     r   random_bounded_uint16_fillrO      s     CD
((4
%C
axD!AF " J 
D!A,V3?NCsYCF " J D!A.v/3: Cs YCF	 "
 Jr   c                z   ^ p^ p\         P                  ! W4R7      pV^ 8X  d$   \         P                  ! V4       F  pWV&   K	  	  V# V^8X  d9   \         P                  ! V4       F  p\        WV4      w  rpW,           Wx&   K  	  V# \         P                  ! V4       F  p\	        WWe4      w  rpW,           Wx&   K  	  V# )zR
Returns a new array of given size with 8 bit integers
bounded by given interval.
r?   )rA   rB   rC   r    r*   rM   s
   &&&&&     r   random_bounded_uint8_fillrQ     s     CD
((4
%C
axD!AF " J 
D!A+F#>NCsYCF " J D!A-f.29 Cs YCF	 "
 Jr   c                    ^ p^ p\         P                  ! W4R7      p\         P                  ! V4       F  p\        WW&V4      w  rpW,           Wx&   K  	  V# )z8
Returns a new array of given size with boolean values.
r?   )rA   rB   rC   r   rM   s
   &&&&&     r   random_bounded_bool_fillrS   /  sQ    
 CD
((4
%CZZ.vCsK3  Jr   c                F   W8  d   \        R4      hV^ 8  dg   \        V4      pV'       g   V\        ^4      ,          p\        V4      pV ^ 8  d   \        V 4      p W8  d   \        R4      hW8  d   \        R4      hR# W8  d   \        R4      hW8  d   \        R4      hR# )zG
Check that low and high are within the bounds
for the given datatype.
zlow is out of boundszhigh is out of boundsz*low is greater than high in given intervalN)
ValueErrorr   )rE   highendpointlower_boundupper_bounds   &&&&&r   _randint_arg_checkrZ   =  s     /00
 axd|F1ID[)7+C455:IJJ  455:IJJ r   c                 L   V^ 8X  d   ^ # \        V4      p\        \        V4      4      pVR8:  d@   \        \        V 4      4      V,          pW18  d   \        \        V 4      4      V,          pK#  M,\        V 4      V,          pW18  d   \        V 4      V,          pK  \        V4      # )r   r/   )r   r   r   r   )r   max_valr   values   &&  r   random_intervalr^   \  s    1WoG(7#$D:{6*+d2o;v./$6E  F#d*o'$.E%=r   ) numpyrA   numbar   r   r   r   numba.core.extendingr   numba.np.random._constantsr   r	   r
   r   numba.np.random.generator_corer   r   r   r   r    r"   r*   r-   r0   r=   rI   rK   rO   rQ   rS   rZ   r^    r   r   <module>re      sO    / / 1? ? C   
' 
' ! ! " "    F    F  4  D  6  &  6  4 
 
 K K<  r   