+
    *Qj3                        R t ^ RIHt ^ RIHt ^ RIHtHtHtHtH	t	 ^ RI
Ht ^ RIHt ^ RIHtHtHtHt ^ RIt^ RIt^ RIHtHtHt ^ RIt ^ R	IHt  ^ R
IHt R"t ! R R] 4      t!]!! 4       t"R t#R t$R t%]PL                  ! R4      t'R t(R t)R t*R t+R t,R t-R t.R t/R t0R t1]Pd                  '       d   R t3MR t3R t4R t5R  t6R! t7R#   ] d
    ^ R	IHt  Li ; i  ] d    Rt Li ; i)#zNThis module contains several handy functions primarily meant for internal use.)division)iscoroutinefunction)datedatetimetime	timedeltatzinfo)timegm)partial)	isbuiltinisclass
isfunctionismethodN)timezoneutcFixedOffset)	signature)TIMEOUT_MAXi7A c                   2   a  ] tR t^ t o R tR tR tRtV tR# )
_Undefinedc                    R # F selfs   &i/Users/ahmed/devFolder/Ultron/claude-voice/gateway/.venv/lib/python3.14/site-packages/apscheduler/util.py__nonzero___Undefined.__nonzero__!           c                    R # r   r   r   s   &r   __bool___Undefined.__bool__$   r   r   c                    R # )z<undefined>r   r   s   &r   __repr___Undefined.__repr__'   s    r   r   N)	__name__
__module____qualname____firstlineno__r   r!   r$   __static_attributes____classdictcell__)__classdict__s   @r   r   r       s      r   r   c                $    V e   \        V 4      # R# )zu
Safely converts a string to an integer, returning ``None`` if the string is ``None``.

:type text: str
:rtype: int

Nint)texts   &r   asintr1   .   s     4y r   c                    \        V \        4      '       dC   V P                  4       P                  4       p V R9   d   R# V R9   d   R# \	        RV ,          4      h\        V 4      # )z9
Interprets an object as a boolean value.

:rtype: bool

TFz)Unable to interpret value "%s" as boolean)trueyesonyt1)falsenooffnf0)
isinstancestrstriplower
ValueErrorboolobjs   &r   asboolrG   :   sX     #siik!6677DsJKK9r   c                "   \        V \        P                  4      '       d   \        V 4      # \        V \        4      '       d$   V P                  R4      R8X  d   \        R4      hV # V e'   \        RV P                  P                  ,          4      hR# )z6
Interprets an object as a timezone.

:rtype: tzinfo

Nlocala  Unable to determine the name of the local timezone -- you must explicitly specify the name of the local timezone. Please refrain from using timezones like EST to prevent problems with daylight saving time. Instead, use a locale based timezone name (such as Europe/Helsinki).zExpected tzinfo, got %s instead)
r?   sixstring_typesr   r   tznamerC   	TypeError	__class__r&   rE   s   &r   
astimezonerO   K   s}     #s''((}#v::dw&;< <
 

9CMM<R<RRSS r   z(?P<year>\d{4})-(?P<month>\d{1,2})-(?P<day>\d{1,2})(?:[ T](?P<hour>\d{1,2}):(?P<minute>\d{1,2}):(?P<second>\d{1,2})(?:\.(?P<microsecond>\d{1,6}))?(?P<timezone>Z|[+-]\d\d:\d\d)?)?$c           	        V f   R# \        V \        4      '       d   T pEMr\        V \        4      '       d"   \        P                  ! V \	        4       4      pEM;\        V \
        P                  4      '       d   \        P                  V 4      pV'       g   \        R4      hVP                  4       pVP                  R4      pVR8X  d   \        pMZV'       dS   R VR,          P                  R4       4       w  rxV^ ,          R8X  d   ^MRp	\        W^<,          V,           ,          4      pVP                  4        U
Uu/ uF  w  rT
\!        T;'       g    ^ 4      bK  	  pp
p\        R/ VB pM'\#        R	V: R
V P$                  P&                  : 24      hVP(                  e   V# Vf   \        RV,          4      h\        V\
        P                  4      '       d   \+        V4      p\-        W14      # u upp
i )a>  
Converts the given object to a timezone aware datetime object.

If a timezone aware datetime object is passed, it is returned unmodified.
If a native datetime object is passed, it is given the specified timezone.
If the input is a string, it is parsed as a datetime with the given timezone.

Date strings are accepted in three different forms: date only (Y-m-d), date with time
(Y-m-d H:M:S) or with date+time with microseconds (Y-m-d H:M:S.micro). Additionally you can
override the time zone by giving a specific offset in the format specified by ISO 8601:
Z (UTC), +HH:MM or -HH:MM.

:param str|datetime input: the datetime or string to convert to a timezone aware datetime
:param datetime.tzinfo tz: timezone to interpret ``input`` in
:param str arg_name: the name of the argument (used in an error message)
:rtype: datetime

NzInvalid date stringr   Zc              3   8   "   T F  p\        V4      x  K  	  R # 5iNr.   ).0xs   & r   	<genexpr>&convert_to_datetime.<locals>.<genexpr>   s     D.Cc!ff.Cs   :   NN:+zUnsupported type for z: zEThe "tz" argument must be specified if %s has no timezone informationr   )r?   r   r   combiner   rJ   rK   _DATE_REGEXmatchrC   	groupdictpopr   splitr   itemsr/   rM   rN   r&   r   r   localize)inputtzarg_name	datetime_mvaluesrL   hoursminutessignkvs   &&&         r   convert_to_datetimero   g   s   & }	E8	$	$		E4	 	 $$UDF3		E3++	,	,e$233J'S=BDfRj.>.>s.CDNEq	S(1bDTRZ'%9:;B-3\\^<^TQ!Sa[.^<&v&	5??C[C[\]]#	zSV^^` 	`"c&&''b\I"" =s   <G/G/c                p    V e2   \        V P                  4       4      V P                  R,          ,           # R# )zV
Converts a datetime instance to a timestamp.

:type timeval: datetime
:rtype: float

Ni@B )r	   utctimetuplemicrosecond)timevals   &r   datetime_to_utc_timestamprt      s3     g**,-0C0Cg0MMM r   c                D    V e   \         P                  ! V \        4      # R# )z`
Converts the given timestamp to a datetime instance.

:type timestamp: float
:rtype: datetime

N)r   fromtimestampr   )	timestamps   &r   utc_timestamp_to_datetimerx      s"     %%i55 r   c                    V P                   ^,          ^<,          ^<,          V P                  ,           V P                  R,          ,           # )zQ
Converts the given timedelta to seconds.

:type delta: timedelta
:rtype: float

g    .A)dayssecondsmicroseconds)deltas   &r   timedelta_secondsr~      s:     ::?R"$u}}4Y&' 'r   c                f    V P                   ^ 8  d    V \        ^V P                   ) R7      ,           # V # )zE
Rounds the given datetime object upwards.

:type dateval: datetime

)r{   r|   )rr   r   datevals   &r   datetime_ceilr      s2     Q1G<O<O;OPPPNr   c                 8    V '       d   V P                  R 4      # R# )z%Y-%m-%d %H:%M:%S %ZNone)strftimer   s   &r   datetime_reprr      s    7>723JFJr   c                   \        V 4      '       dF   V P                  p\        V4      '       d   TM
\        V4      pVP                   RV P
                   2# \        V 4      '       g#   \        V 4      '       g   \        V 4      '       d   V P                  # \        V R4      '       d1   \        V P                  4      '       d   \        V 4      P                  # \        RV ,          4      h)zX
Returns the best available display name for the given function/callable.

:rtype: str

.__call__z@Unable to determine a name for %r -- maybe it is not a callable?)r   __self__r   typer(   r&   r   r   hasattrcallabler   rM   )funcr   clss   &  r   get_callable_namer      s     ~~}}dmmdd""#1T]]O44	*T**ioo   	z	"	"x'>'>Dz&&&
VY]]
^^r   c                   \        V \        4      '       d   \        R4      h\        V 4      pRV9   d   \        R4      hRV9   d   \        R4      h\	        V 4      '       d   V P
                  P                  pMV P                  pV: RV: 2# )z
Returns the path to the given callable.

:rtype: str
:raises TypeError: if the given object is not callable
:raises ValueError: if the given object is a :class:`~functools.partial`, lambda or a nested
    function

z(Cannot create a reference to a partial()z<lambda>z%Cannot create a reference to a lambdaz<locals>z.Cannot create a reference to a nested functionrY   )r?   r
   rC   r   r   r   r'   )rF   namemodules   &  r   
obj_to_refr      s{     #wCDDS!DT@AATIJJ}}((d##r   c                   \        V \        P                  4      '       g   \        R4      hRV 9  d   \	        R4      hV P                  R^4      w  r \        W.R7      p TP                  R4       F  p\        Y44      pK  	  T#   \         d    \        RT ,          4      hi ; i  \         d    \        RT ,          4      hi ; i)z<
Returns the object pointed to by ``ref``.

:type ref: str

zReferences must be stringsrY   zInvalid reference)fromlistz5Error resolving reference %s: could not import moduler   z5Error resolving reference %s: error looking up object)r?   rJ   rK   rM   rC   ra   
__import__ImportErrorLookupErrorgetattr	Exception)ref
modulenamerestrF   r   s   &    r   
ref_to_objr     s     c3++,,455
#~,--yya(JYf5YJJsOD#$C $
  YQTWWXXY  YQTWWXXYs   B !$B' B$'Cc                H    \        V \        4      '       g   V # \        V 4      # )z
Returns the object that the given reference points to, if it is indeed a reference.
If it is not a reference, the object is returned as-is.

)r?   r@   r   )r   s   &r   	maybe_refr     s      c3
c?r   c                 j    \        V \        P                  4      '       d   V P                  R R4      # V # )asciibackslashreplace)r?   rJ   	text_typeencodestrings   &r   repr_escaper   '  s*    fcmm,,==*<==r   c                     V # rS   r   r   s   &r   r   r   ,  s    r   c                   . p. p. p. p\        V4      p\        V4      pR;r \        P                  R8  d   \        V RR7      pM\        V 4      p \
        P                  ! VP                  4       EF;  pVP                  VP                  8X  d   VP                  V9   d&   V'       d   VP                  VP                  4       KU  V'       d   V^  Kb  VP                  V9   d   VP                  VP                  4       K  VP                  VP                  J d   VP                  VP                  4       K  K  VP                  VP                  8X  d   V'       d   V^  K  VP                  V9   d:   VP                  VP                  4       VP                  VP                  4       EK;  VP                  VP                  J d   VP                  VP                  4       EKs  EKv  VP                  VP                   8X  dk   VP                  V9   d   VP                  VP                  4       EK  VP                  VP                  J d   VP                  VP                  4       EK  EK  VP                  VP"                  8X  d   Rp	EK  VP                  VP$                  8X  g   EK9  Rp
EK>  	  V'       d"   \	        RRP'                  V4      ,          4      hV'       d"   \	        RRP'                  V4      ,          4      hV'       d"   \	        RRP'                  V4      ,          4      hV'       d"   \	        R	RP'                  V4      ,          4      hV	'       g?   V'       d7   \	        R
\)        V4      \)        V4      ,
          \)        V4      3,          4      hV
'       g,   V'       d"   \	        RRP'                  V4      ,          4      hR# R#   \         d     R# i ; i)zp
Ensures that the given callable can be called with the given arguments.

:type args: tuple
:type kwargs: dict

F)follow_wrappedNTz@The following arguments are supplied in both args and kwargs: %sz, z@The following arguments cannot be given as keyword arguments: %sz2The following arguments have not been supplied: %szIThe following keyword-only arguments have not been supplied in kwargs: %szoThe list of positional arguments is longer than the target callable can handle (allowed: %d, given in args: %d)zGThe target callable does not accept the following keyword arguments: %s)      )listsysversion_infor   rC   rJ   
itervalues
parameterskindPOSITIONAL_OR_KEYWORDr   appendremovedefaultemptyPOSITIONAL_ONLYKEYWORD_ONLYVAR_POSITIONALVAR_KEYWORDjoinlen)r   argskwargspos_kwargs_conflictspositional_only_kwargsunsatisfied_argsunsatisfied_kwargsunmatched_argsunmatched_kwargshas_varargshas_var_kwargssigparams   &&&          r   check_callable_argsr   0  s    $ZNF|#((Kv%D7CD/C
 /::444zz--.$++EJJ7"1%// ''

3%++- ''

3 .ZZ5000"1%// ''

3&--ejj9%++- ''

3 .ZZ5---zz-- ''

3%++-"))%**5 .ZZ5///KZZ5,,,!N5 0: [#789 : 	: [#9:; < 	<
 M#345 6 	6 WII()*+ 	+
 >/25d)c.>Q2QSVW[S\1]^_ 	_
 .UII&'() 	) />{  s   "O O O O c                 `    \        V \        4      '       d   V P                  p K$  \        V 4      # rS   )r?   r
   r   r   )r=   s   &r   iscoroutinefunction_partialr     s%    
Q
 
 FF q!!r   c                 `    \         P                  ! V P                  4       V P                  4      # rS   )r   rv   rw   r   )dts   &r   	normalizer     s    !!",,."))<<r   c                     \        VR 4      '       d   VP                  ! V 4      # \        V P                  VR7      4      # )rc   )r   )r   rc   r   replace)r   r   s   &&r   rc   rc     s4    vz""r""RZZvZ.//r   )r1   rG   rO   ro   rt   rx   r~   r   r   r   r   r   r   r   r   rc   r   )8__doc__
__future__r   asyncior   r   r   r   r   r   calendarr	   	functoolsr
   inspectr   r   r   r   rer   pytzr   r   r   rJ   r   r   funcsigs	threadingr   __all__objectr   	undefinedr1   rG   rO   compiler]   ro   rt   rx   r~   r   r   r   r   r   r   PY2r   r   r   r   rc   r   r   r   <module>r      s   T  ' < <   < < 	 
 + + 
#!%3  L		"T* jj)*4#n	N	6	'	K_($6Y4 777
W)t"=0K  #"#
  Ks$   C C  CC 	C,+C,