+
    BrhN,                        R t  ^ RI5 RR lt;R t<RR lt=R t>R t? ! R R4      t@ ! R R4      tAR tB]C! 4        U u. uF  q P                  R4      '       d   K  T NK  	  up tER#   ] Ed    ^ RItR t]! ]4      t]! R 4      t]! ]P                  4      t	]! ]P                  4      t]! ]P                  4      tR t]! ]! 4       4      tR t]! ]! 4       4      tR t]! 4       t]! ]4      t]P)                  4        R t]! 4       t]! ]4      t ! R	 R
4      t]! ]! 4       P0                  4      t]! ]4      t]! . P8                  4      t]! ]P>                  4      t ]! ]! 4       PB                  4      t"]! ]#PH                  4      t%]! ]&P                  R,          4      t']! ]4      t( ])h  ]) d9   t*]! ]*PV                  4      t,]! ]*PV                  PZ                  4      t. Rt*A*MRt*A*ii ; i]! ]P                  4      t/]! ]P`                  4      t1]! ]2]3,          4      t4]! ]3]#,          4      t5]! ]64      t7]! R4      t8]! ]94      t:AAAAAAA ELEi ; iu up i )zO
Define names for built-in types that aren't directly accessible as a builtin.
)*Nc                      R # N r       "/usr/local/lib/python3.14/types.py_fr      s    dr   c                      R # r   r   r   r   r   <lambda>r
      s    dr   c                  :   a ^oV3R lp V P                   ^ ,          # )   c                     < R # r   r   )as   r   f_cell_factory.<locals>.f   s    r   )__closure__)r   r   s    @r   _cell_factoryr      s    	}}Qr   c               #      "   ^x  R# 5i)r   Nr   r   r   r   _gr      s
     s   	c                     "   R # 5ir   r   r   r   r   _cr   !   s     Ds   c                    "   R 5x  R # 5ir   r   r   r   r   _agr   &   s     s   
c                   &   a  ] tR t^+t o R tRtV tR# )_Cc                    R # r   r   selfs   &r   _m_C._m,   s    dr   r   N)__name__
__module____qualname____firstlineno__r   __static_attributes____classdictcell____classdict__s   @r   r   r   +   s     r   r   fromkeysc                t    \        V4      p\        WV4      w  rVpVe	   V! V4       WAJd   WR&   V! WV3/ VB # )zBCreate a class object dynamically using the appropriate metaclass.__orig_bases__)resolve_basesprepare_class)namebaseskwds	exec_bodyresolved_basesmetanss   &&&&   r   	new_classr4   P   sJ    "5)N"4>NDd""$b1D11r   c                   \        V 4      pRp^ p\        V 4       F  w  rE\        V\        4      '       d   K  \	        VR4      '       g   K1  VP                  V 4      pRp\        V\        4      '       g   \        R4      hWaWC,           WC,           ^,           % V\        V4      ^,
          ,          pK  	  V'       g   V # \        V4      # )z8Resolve MRO entries dynamically as specified by PEP 560.F__mro_entries__Tz#__mro_entries__ must return a tuple)	list	enumerate
isinstancetypehasattrr6   tuple	TypeErrorlen)r.   	new_basesupdatedshiftibasenew_bases   &      r   r+   r+   Z   s    UIGEU#dD!!t.//''.(E**ABB+3agagai(S]Q&&E $ r   c                4   Vf   / pM\        V4      pRV9   d   VP                  R4      pM!V'       d   \        V^ ,          4      pM\        p\        V\        4      '       d   \	        W14      p\        VR4      '       d   VP                  ! W3/ VB pM/ pW4V3# )a^  Call the __prepare__ method of the appropriate metaclass.

Returns (metaclass, namespace, kwds) as a 3-tuple

*metaclass* is the appropriate metaclass
*namespace* is the prepared class namespace
*kwds* is an updated copy of the passed in kwds argument with any
'metaclass' entry removed. If no kwds argument is passed in, this will
be an empty dict.
	metaclass__prepare__)dictpopr:   r9   _calculate_metar;   rG   )r-   r.   r/   r2   r3   s   &&&  r   r,   r,   o   s     |Dzdxx$a>DD$ t+t]##d2T2T>r   c                    T pV F?  p\        V4      p\        W$4      '       d   K!  \        WB4      '       d   TpK6  \        R4      h	  V# )z%Calculate the most derived metaclass.zxmetaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases)r:   
issubclassr=   )r2   r.   winnerrC   	base_metas   &&   r   rJ   rJ      sT    FJ	f((i((F > ? 	?  Mr   c                    V P                   P                  RV P                  4      #   \         d%    \	        R\        T 4      P                  : 24      Rhi ; i)a  Return the class's "original" bases prior to modification by `__mro_entries__`.

Examples::

    from typing import TypeVar, Generic, NamedTuple, TypedDict

    T = TypeVar("T")
    class Foo(Generic[T]): ...
    class Bar(Foo[int], float): ...
    class Baz(list[str]): ...
    Eggs = NamedTuple("Eggs", [("a", int), ("b", str)])
    Spam = TypedDict("Spam", {"a": int, "b": str})

    assert get_original_bases(Bar) == (Foo[int], float)
    assert get_original_bases(Baz) == (list[str],)
    assert get_original_bases(Eggs) == (NamedTuple,)
    assert get_original_bases(Spam) == (TypedDict,)
    assert get_original_bases(int) == (object,)
r*   z"Expected an instance of type, not N)__dict__get	__bases__AttributeErrorr=   r:   r    )clss   "r   get_original_basesrU      sW    (|| 0#--@@ 0c1C1C0FG
	s	   %( /Ac                   V   a  ] tR t^t o RtRR ltRR ltR tR tR t	R t
R	 tR
tV tR# )DynamicClassAttributea  Route attribute access on a class to __getattr__.

This is a descriptor, used to define attributes that act differently when
accessed through an instance and through a class.  Instance access remains
normal, but access to an attribute through a class will be routed to the
class's __getattr__ method; this is done by raising AttributeError.

This allows one to have properties active on an instance, and have virtual
attributes on the class with the same name.  (Enum used this between Python
versions 3.4 - 3.9 .)

Subclass from this to use a different method of accessing virtual attributes
and still be treated properly by the inspect module. (Enum uses this since
Python 3.10 .)

Nc                    Wn         W n        W0n        T;'       g    VP                  V n        VR J V n        \        \        VRR4      4      V n        R # )N__isabstractmethod__F)fgetfsetfdel__doc__overwrite_docboolgetattrrY   )r   rZ   r[   r\   docs   &&&&&r   __init__DynamicClassAttribute.__init__   sG    			**dll D[$(7Mu)U$V!r   c                    Vf   V P                   '       d   V # \        4       hV P                  f   \        R4      hV P                  V4      # )Nzunreadable attribute)rY   rS   rZ   )r   instance
ownerclasss   &&&r   __get__DynamicClassAttribute.__get__   sG    ((( ""YY !788yy""r   c                Z    V P                   f   \        R4      hV P                  W4       R # )Nzcan't set attribute)r[   rS   )r   re   values   &&&r   __set__DynamicClassAttribute.__set__   s$    99 !677		("r   c                Z    V P                   f   \        R4      hV P                  V4       R # )Nzcan't delete attribute)r\   rS   )r   re   s   &&r   
__delete__ DynamicClassAttribute.__delete__   s$    99 !9::		(r   c                    V P                   '       d   VP                  MR p\        V 4      ! YP                  V P                  T;'       g    V P                  4      pV P                   Vn         V# r   )r^   r]   r:   r[   r\   )r   rZ   fdocresults   &&  r   getterDynamicClassAttribute.getter   sQ    #111t||tdD))TYY8L8LM#11r   c                    \        V 4      ! V P                  WP                  V P                  4      pV P                  Vn        V# r   )r:   rZ   r\   r]   r^   )r   r[   rr   s   && r   setterDynamicClassAttribute.setter   s3    dDIItYYE#11r   c                    \        V 4      ! V P                  V P                  WP                  4      pV P                  Vn        V# r   )r:   rZ   r[   r]   r^   )r   r\   rr   s   && r   deleterDynamicClassAttribute.deleter   s3    dDIItyy$E#11r   )r]   rY   r\   rZ   r[   r^   )NNNNr   )r    r!   r"   r#   r]   rb   rg   rk   rn   rs   rv   ry   r$   r%   r&   s   @r   rW   rW      s3      W##


 r   rW   c                      a  ] tR t^t o R tR tR tR t]R 4       t	]R 4       t
]R 4       t]R 4       t]	t]
t]t]tR	 tR
 t]tRtV tR# )_GeneratorWrapperc                    Wn         VP                  \        J V n        \	        VR R4      V n        \	        VRR4      V n        R# )r    Nr"   )_GeneratorWrapper__wrapped	__class__GeneratorType_GeneratorWrapper__isgenr`   r    r"   )r   gens   &&r   rb   _GeneratorWrapper.__init__   s8    }}5Z6#C>r   c                8    V P                   P                  V4      # r   )r~   send)r   vals   &&r   r   _GeneratorWrapper.send  s    ~~""3''r   c                >    V P                   P                  ! V.VO5!  # r   )r~   throw)r   tprests   &&*r   r   _GeneratorWrapper.throw  s    ~~##B...r   c                6    V P                   P                  4       # r   )r~   closer   s   &r   r   _GeneratorWrapper.close  s    ~~##%%r   c                .    V P                   P                  # r   )r~   gi_coder   s   &r   r   _GeneratorWrapper.gi_code	  s    ~~%%%r   c                .    V P                   P                  # r   )r~   gi_framer   s   &r   r   _GeneratorWrapper.gi_frame  s    ~~&&&r   c                .    V P                   P                  # r   )r~   
gi_runningr   s   &r   r   _GeneratorWrapper.gi_running  s    ~~(((r   c                .    V P                   P                  # r   )r~   gi_yieldfromr   s   &r   r   _GeneratorWrapper.gi_yieldfrom  s    ~~***r   c                ,    \        V P                  4      # r   )nextr~   r   s   &r   __next___GeneratorWrapper.__next__  s    DNN##r   c                B    V P                   '       d   V P                  # V # r   )r   r~   r   s   &r   __iter___GeneratorWrapper.__iter__  s    <<<>>!r   )__isgenr    r"   	__wrappedN)r    r!   r"   r#   rb   r   r   r   propertyr   r   r   r   cr_codecr_frame
cr_runningcr_awaitr   r   	__await__r$   r%   r&   s   @r   r|   r|      s     ?
(/&& &' ') )+ +GHJH$ Ir   r|   c                  a a \        S 4      '       g   \        R4      hS P                  \        J d   \	        S RR4      P                  \
        J dm   S P                  P                  pVR,          '       d   S # V^ ,          '       d7   S P                  pVP                  VP                  R,          R7      S n        S # ^ RI	p^ RI
oVP                  S 4      VV 3R l4       pV# )z2Convert regular generator function to a coroutine.z$types.coroutine() expects a callable__code__Ni     )co_flagsc                  8  < S! V / VB pVP                   \        J g8   VP                   \        J d&   VP                  P                  R ,          '       d   V# \        VSP                  4      '       d(   \        VSP                  4      '       g   \        V4      # V# )r   )	r   CoroutineTyper   r   r   r9   	Generator	Coroutiner|   )argskwargscoro_collections_abcfuncs   *, r   wrappedcoroutine.<locals>.wrappedA  s    T$V$NNm+NNm+0E0E0M0MKt-77884!1!;!;<< %T** r   )callabler=   r   FunctionTyper`   CodeTyper   r   replace	functoolsr   wraps)r   r   cor   r   r   s   f    @r   	coroutiner   !  s     D>>>??,&j$'11X===)) eK d??BJJe0CJDDMK __T   Nr   _)r   NN)r   N)Fr]   _typesImportErrorsysr   r:   r   
LambdaTyper   r   rP   MappingProxyTypeimplementationSimpleNamespacer   CellTyper   r   r   r   r   r   AsyncGeneratorTyper   r   
MethodTyper>   BuiltinFunctionTypeappendBuiltinMethodTypeobjectrb   WrapperDescriptorType__str__MethodWrapperTypestrjoinMethodDescriptorTyperH   ClassMethodDescriptorType
ModuleTyper=   exc__traceback__TracebackTypetb_frame	FrameTypeGetSetDescriptorType__globals__MemberDescriptorTyper7   intGenericAlias	UnionTypeEllipsisEllipsisTypeNoneTypeNotImplementedNotImplementedTyper4   r+   r,   rJ   rU   rW   r|   r   globals
startswith__all__)ns   0r   <module>r      sL  B0J2*@$8< <~# #J1f i
9i||C'811i
9Q
  @08Ll#JBKK HDMM*3--.O 
 MO$HJM	BHMHHJ
%Cc bdggJs)RYY 1VX--.> $T]]:%> ?cJ5 5S../**334	5   5 56 8 89S	?LS3YI>LDzHn-
 	RRS-A@0P
 :sB   A$ II$EI&F((G'/.G"I"G''A$II