+
     Bi                    r   ^ RI HtHt ^ RIt^ RIHt ^ RIt^ RIt^ RIt^ RIt^ RI	t	^ RI
t
^ RI
Ht ^ RIHtHtHtHtHtHtHtHtHtHt . RNRNRNR	NR
NRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR NR!NR"NR#NR$NR%NR&NR'NR(NR)NR*NR+NR,NR-NR.NR/NR0NR1NR2NR3NR4NR5NR6NR7NR8NR9NR:NR;NR<NR=NR>NR?NR@NRANRBNRCNRDNRENRFNRGNRHNRINRJNRKNRLNRMNRNNRONRPNRQNRRNRSNRTNRUNRVNRWNRXNRYNRZNR[NR\NR]NR^NR_NR`NRaNRbNRcNRdNReNRfNRgNRhNRiNRjNRkNRlNRmNRnNt ! Ro Rp4      t]! 4       sER>RqRrRsR/Rt lltER?RqRrRsR/Rv lltRw tRx tRy tRzRu/R{ R| lltR} t R~ t!RRr/R lt"R t#. t$/ t%ER>RRr/R llt&R R lt' ! R R4      t(](! 4       t)])3R]*! 4       RRRsRRRRRr/R llt+ ! R R4      t, ! R R4      t- ! R R],]-RuR7      t. ! R R].RuR7      t/ ! R R]04      t1 ! R R]1R7      t2].R 4       t3].R 4       t4].R 4       t5].R 4       t6].R 4       t7].R 4       t8].R 4       t9]/]&! RuR7      R 4       4       t:].R 4       t;].R 4       t<].R 4       t=].R 4       t>RR/R lt?RsRRRRRRRRRR]*! 4       /R lt@R R ltAR R ltBR tCR tDR tER tF]&R 4       tGR tHR tI ! R R],RuR7      tJ ! R R]JRuR7      tK ! R R]-]JRuR7      tL ! R R]LRuR7      tM ! R R]-]KRuR7      tN ! R R]LRuR7      tO ! R R]LRuR7      tP ! R R]04      tQ ! R R]QR7      tRR tS ! R R]KRuR7      tT ! R R]KRuR7      tU].R 4       tV ! R R]KRuR7      tW ! R R4      tX]*! 0 ER@m4      tY]*! 0 ERAm4      tZ]Y]Z,          R0,          t[R t\R t]ERBR lt^ERCR lt_R. ERDORRR.RRR.RR./t`]P                  R 4       tb]$P                  ]bP                  4       R te]P                  ! ]]e4       R tg]P                  ! ]]g4       AeAg]P                  ti]P                  tkR tl ! R R]4      tm]nR 4       to ! R R]]mR7      tp ! R R]-]KRuR7      tq]/]&! RuR7      R 4       4       trR tsR ttR tuERERR/R lltvR twR txR tyR tzR t{^dt|R R lt}R t~R tR t]! ]EP                  ! ]]4      4      tR tR tR tR t]! R4      t]! ER 4      t]! ER4      t]! ERRuER7      t]! ERRuER7      t]! ERRuER7      t]! ERRuER7      t]! ERRu]0ER	7      t]! RH]]4      t]Lt]! ]P                   EP(                  ^ 4      t]! ]P                   EP*                  ^4      t]! ]P                   EP,                  ^4      t]! ]P                   EP.                  ^4      t]! ]P                   EP0                  ^4      t]! ]P                   EP2                  ^4      t]! ]P                   EP4                  ^4      t]! ]P                   EP6                  ^4      t]! ]P                   EP8                  ^ 4      t]! ]P                   EP:                  ^4      t]! ]P                   EP<                  ^4      t]O! ]P                   EP>                  ^4      tER
]n        ]! ]P                   EPB                  ^RER7      t]! ]P                   EPF                  ^4      t]! ]P                   EPH                  ^4      t]! ]P                   EPJ                  ^4      t]! ]P                   EPL                  ^4      t]! ]P                   EPN                  ^4      t]M! ]P                   EPP                  ^ ERFER7      t]P! ]ERGRrRER7      tER]n        ]! ]^RrR<ER7      t]! ]EPZ                  ^R9ER7      t]! ]^RrR>ER7      t]! ]*^RrR?ER7      t]! ]P                   EPb                  ^4      t]! ]P                   EPd                  ^4      t]! ]P                   EPf                  ^4      t]! ]P                   EPh                  ^4      t]! ]^RrR:ER7      t]! ]P                  ^R;ER7      t]! ]EPn                  ^4      t]! ]EPp                  ^4      t]! ]EPr                  ^4      t]! ]P                   EPt                  ^]
EPv                  ]
EPv                  3ER7      t]! ]P                   EPx                  ^]
EPv                  3ER7      t]! ]0^RrRER7      tER]n        ]s ! ER R5]p4      4       t]s ! ER R3]p4      4       t]s ! ER R2]p4      4       t]s ! ER R1]p4      4       t]s ! ER R4]p4      4       t]sER ! 4       4       t]sER ! 4       4       tERIER ltER t]*! 0 ERJm4      t]*! 0 ERKm4      t ! ER ER]04      t])3ER lt]0EP                  ]R@ERH/ 4      tER t]]n        ER t ! ER ER ]04      t])3ER!Ru/ER" llt]0EP                  ]RAERH/ 4      tER# ]n        ].ER$ 4       t].ER% 4       t].ER& 4       t ! ER' RY4      t]tRrt ! ER( RD]],          4      t ! ER) RC]],          4      t ! ER* RG]],          4      tER+ ! 4       t ! ER, ER-]p4      tER.RuER/RrER0RrER1RrER2ERH/ER3 ER4 lltER5RER6ER7 l35tER8 ! 4       tER9 ER: ltER; ER< ltER= tR# (L      )abstractmethodABCMetaN)defaultdict)GenericAlias)
_idfuncTypeVar	ParamSpecTypeVarTupleParamSpecArgsParamSpecKwargsTypeAliasTypeGenericUnion	NoDefault	AnnotatedAnyCallableClassVarConcatenateFinal
ForwardRefr   LiteralOptionalr	   ProtocolTupleTyper   r
   r   AbstractSet
ByteString	ContainerContextManagerHashable	ItemsViewIterableIteratorKeysViewMappingMappingViewMutableMappingMutableSequence
MutableSetSequenceSized
ValuesView	AwaitableAsyncIteratorAsyncIterable	Coroutine
CollectionAsyncGeneratorAsyncContextManager
ReversibleSupportsAbsSupportsBytesSupportsComplexSupportsFloatSupportsIndexSupportsIntSupportsRoundChainMapCounterDequeDictDefaultDictListOrderedDictSet	FrozenSet
NamedTuple	TypedDict	GeneratorBinaryIOIOMatchPatternTextIOAnyStrassert_typeassert_nevercastclear_overloadsdataclass_transformevaluate_forward_reffinalget_args
get_originget_overloadsget_protocol_membersget_type_hintsis_protocolis_typeddictLiteralStringNeverNewTypeno_type_checkno_type_check_decoratorr   NoReturnNotRequiredoverloadoverrider   r   ReadOnlyRequiredreveal_typeruntime_checkableSelfTextTYPE_CHECKING	TypeAlias	TypeGuardTypeIsr   Unpackc                   &   a  ] tR t^t o R tRtV tR# )_LazyAnnotationLibc                $    ^ RI pVs\        W!4      # )r   N)annotationlib_lazy_annotationlibgetattr)selfattrrt   s   && /usr/lib/python3.14/typing.py__getattr___LazyAnnotationLib.__getattr__   s    +}++     N)__name__
__module____qualname____firstlineno__rz   __static_attributes____classdictcell____classdict__s   @ry   rr   rr      s     , ,r|   rr   allow_special_formsFownerc                j    V f   \        R 4      # \        V \        4      '       d   \        WW#R7      # V # )N)moduleis_classr   )type
isinstancestr_make_forward_ref)argr   r   r   s   &&$$ry   _type_convertr      s1    
{Dz#s >Q__Jr|   Tc                6   \         \        3pV'       g%   V\        3,          pV'       d   V\        3,          p\	        WWER 7      p \        V \        4      '       d    V P                  V9   d   \        V  R24      hV \        \        \        \        \        \        39   d   V # V'       d   V \        \        39   d   V # \        V \        4      '       g   V \         \        39   d   \        RV  R24      h\!        V 4      \"        J d   \        V RV :R R24      hV # ))r   r   r    is not valid as type argumentzPlain z Got z.100.)r   r   r   r   r   r   _GenericAlias
__origin__	TypeErrorr   r]   rb   r^   rj   rm   _SpecialFormr   tuple)r   msgis_argumentr   r   r   invalid_generic_formss   &&&&$$ ry   _type_checkr      s     %h/(,!eX-!
@S
aC3&&NN333%=>??
sM8UD)DD
sx&77
#|$$/B(B&%CDEECyE3%uSL4L233Jr|   c                 Z    V R J ;'       g!    \        V \        \        \        \        34      # ).)r   r   listr	   _ConcatenateGenericAliasr   s   &ry   _is_param_exprr      s2    #: @ @CD)%=>@ @r|   c                     V P                   \        P                  P                  J ;'       d.    \	        V4      ^8H  ;'       d    \        V^ ,          4      '       * #    )r   collectionsabcr   lenr   )typargss   &&ry   _should_unflatten_callable_argsr      sH    & 	+//222 	= 	=Ta;;N47$;<r|   c                     \        V \        4      '       d'   R RP                  R V  4       4      ,           R,           # \        P	                  V 4      # )[, c              3   8   "   T F  p\        V4      x  K  	  R # 5iN)
_type_repr).0ts   & ry   	<genexpr>_type_repr.<locals>.<genexpr>   s     :cz!}}c   ])r   r   joinru   	type_reprobjs   &ry   r   r      sA     #uTYY:c:::S@@((--r|   enforce_default_orderingc                $    V ^8  d   QhR\         /# )r   r   bool)formats   "ry   __annotate__r     s     / / /r|   c                   R pR p. pV  EF8  p\        V\        4      '       d   K  \        V\        4      '       d8   V F/  p\        V.4       F  pWt9  g   K  VP	                  V4       K  	  K1  	  Ki  \        VR4      '       d~   WT9  dv   V'       d[   V'       d"   VP                  4       '       d   \        R4      hVP                  4       '       d   RpMV'       d   \        RV: R24      hVP	                  V4       K  K  \        V4      '       d   Rp\        VRR4       F  pWd9  g   K  VP	                  V4       K  	  EK;  	  \        V4      # )F__typing_subst__z2Type parameter with a default follows TypeVarTupleTzType parameter z8 without a default follows type parameter with a default__parameters__r}   )
r   r   r   _collect_type_parametersappendhasattrhas_defaultr   _is_unpacked_typevartuplerv   )r   r   default_encounteredtype_var_tuple_encountered
parametersr   x	collecteds   &$      ry   r   r     s<     !&Ja5!! !91#!>I 2")))4 "?  Q*++"+1ammoo' )@ A A }}.2+,'/! ?Q )Q R R !!!$ # )++-1*Q 0"5&%%a( 69 > r|   c           
      p   \        V P                  4      pV'       g   \        V  R 24      h\        V4      pW28w  dz   W28  dS   V P                  V,          P                  4       '       d   R# V\	        R V P                   4       4      ,          pRV 2pMTp\        RW28  d   RMR RV  RV R	V 24      hR# )
 is not a generic classNc              3   @   "   T F  qP                  4       x  K  	  R # 5ir   )r   r   ps   & ry   r   0_check_generic_specialization.<locals>.<genexpr>L  s     L9KA9Ks   	at least Too manyfew arguments for 	; actual , expected )r   r   r   r   sum)cls	argumentsexpected_len
actual_len
expect_vals   &&   ry   _check_generic_specializationr   6  s    
 s))*L3%6788YJ!$ !!*-99;;CL9K9KLLLL$\N3J%J$)BvN O  #uIj\ZLR S 	S% "r|   c                      . pV  FM  p\        VR R4      pVe)   V'       d   VR,          RJ g   VP                  V4       K<  VP                  V4       KO  	  V# )__typing_unpacked_tuple_args__N.)rv   extendr   )r   newargsr   subargss   *   ry   _unpack_argsr   U  sR    G#?FGBK34FNN7#NN3  Nr|   unhashable_fallbackc                     \         P                  V 4      #   \         d3    T'       g   h . pT  F  pY29  g   K  TP                  T4       K  	  Tu # i ; ir   )dictfromkeysr   r   )paramsr   new_unhashabler   s   &$  ry   _deduplicater   _  sV    
}}V$$ "A&%%a(  s    AAAAc                     . pV  FG  p\        V\        4      '       d   VP                  VP                  4       K6  VP	                  V4       KI  	  \        V4      # r   )r   _LiteralGenericAliasr   __args__r   r   )r   r   r   s   &  ry   _flatten_literal_paramsr   m  sG    Fa-..MM!**%MM!	 
 =r|   typedc               ,   a V3R  lpV e	   V! V 4      # V# )c                    <a  \         P                  ! SR 7      ! S 4      pV\        S &   \        P	                  VP
                  4       ?\         P                  ! S 4      V 3R l4       pV# )r   c                  ^   <  \         S,          ! V / VB #   \         d     Mi ; iS! T / TB # r   )_cachesr   )r   kwdsfuncs   *,ry   inner+_tp_cache.<locals>.decorator.<locals>.inner  s>    t}d3d33 &&&s    $$)	functools	lru_cacher   	_cleanupsr   cache_clearwraps)r   cacher   r   s   f  ry   	decorator_tp_cache.<locals>.decorator  s\     ##%06**+			' 
	' r|   r}   )r   r   r  s   "d ry   	_tp_cacher  |  s     
( r|   c                (    V ^8  d   QhR\         RR/# )r   funcnamereturnNr   )r   s   "ry   r   r     s     
K 
KS 
KT 
Kr|   c                 R    ^ RI pRV : RV  R2pVP                  V\        ^R7       R# )r   Nz:Failing to pass a value to the 'type_params' parameter of z@ is deprecated, as it leads to incorrect behaviour when calling zl on a stringified annotation that references a PEP 695 type parameter. It will be disallowed in Python 3.15.category
stacklevel)warningswarnDeprecationWarning)r  r  depr_messages   &  ry   ._deprecation_warning_for_no_type_params_passedr    s=    \  z "0	1  MM,);MJr|   c                   *   a  ] tR tRt o RtR tRtV tR# )	_Sentineli  c                    R # )z
<sentinel>r}   rw   s   &ry   __repr___Sentinel.__repr__  s    r|   r}   N)r~   r   r   r   	__slots__r  r   r   r   s   @ry   r  r    s     I r|   r  recursive_guardr   parent_fwdrefprefer_fwd_modulec          
      8  aaaaaaaa S\         J d   \        R 4       Ro\        V \        P                  4      '       d   S'       d   V P
                  et   Ro\        SRR4      ;p	'       d]   \        \        P                  P                  V P
                  R4      RR4      oSe$   \        S4      oV	 F  p
V
SV
P                  &   K  	  \        V SSSSSSR7      # \        V \        \        \        34      '       Ed   \        V \        4      '       d   \         ;QJ d!    . V3R lV P"                   4       F  NK  	  5M! V3R lV P"                   4       4      pV P$                  p\'        W4      '       d!   V P(                  VRR VR,          3,          p MV P(                  V,          p V'       d   \*        V ,          p \         ;QJ d'    . VVVVVVV3R lV P"                   4       F  NK  	  5M ! VVVVVVV3R lV P"                   4       4      pWP"                  8X  d   V # \        V \        4      '       d   \        V P(                  V4      # \        V \        4      '       d&   \,        P.                  ! \0        P2                  V4      # V P5                  V4      # V # )	ztyping._eval_typeN__type_params____dict__)globalslocalstype_paramsr   _recursive_guardr   c              3   n   <"   T F*  p\        V\        4      '       d   \        VSR 7      MTx  K,  	  R# 5i))r  N)r   r   r   )r   r   r  s   & ry   r   _eval_type.<locals>.<genexpr>  s6      %C HRRUWZG[G[!#]Cadd%s   25c              3   J   <"   T F  p\        VSSSSSSSR 7      x  K  	  R# 5i))r  r   r   r  N)
_eval_type)	r   ar   globalnslocalnsr   r  r  r#  s	   & ry   r   r&    s9      

  	 8Wk?U>O   s    #r}   r   )	_sentinelr  r   ru   r   __forward_module__rv   sysmodulesgetr   r~   rT   r   r   r   r   r   __unpacked__r   r   rp   r   reduceoperatoror_	copy_with)r   r*  r+  r#  r  r   r   r  r  owner_type_params
type_paramr   is_unpackedev_argss   &fffddddd     ry   r(  r(    s    i67JK!(3344
 !5!5!AH %,E3Dd$KK K"KKOOA$8$8$?T '#H~H&7
8B!4!45 '8#Ax0;55DVU 	U !m\59::a&&5 ::55 :: D ..K.q77LL$s)T"X!67LL&1I% 
 

 ZZ
%% 
 

 ZZ
 
 jj Ha&&g66a##HLL'::;;w''Hr|   c                   *   a  ] tR tRt o RtR tRtV tR# )_Finali  c               *    R V9  d   \        R4      hR# )_rootz&Cannot subclass special typing classesNr   )r   r   r   s   "*,ry   __init_subclass___Final.__init_subclass__  s    $DEE r|   r}   N)__weakref__)r~   r   r   r   r  r?  r   r   r   s   @ry   r;  r;    s      !IF Fr|   r;  c                       ] tR tRtRtRtRtR# )_NotIterablei  Nr}   )r~   r   r   r   r  __iter__r   r}   r|   ry   rC  rC    s     IHr|   rC  c                   p   a  ] tR tRt o RtR tR tR tR tR t	R t
R tR	 tR
 tR t]R 4       tRtV tR# )r   i  c                V    Wn         VP                  V n        VP                  V n        R # r   )_getitemr~   _name__doc__)rw   getitems   &&ry   __init___SpecialForm.__init__  s    %%
r|   c                >    VR9   d   V P                   # \        V4      h)r~   >   r~   r   )rH  AttributeError)rw   items   &&ry   rz   _SpecialForm.__getattr__  s     //::T""r|   c                     \        R V : 24      h)Cannot subclass r>  rw   basess   &&ry   __mro_entries___SpecialForm.__mro_entries__  s    *4(344r|   c                (    R V P                   ,           # typing.rH  r  s   &ry   r  _SpecialForm.__repr__      4::%%r|   c                    V P                   # r   rZ  r  s   &ry   
__reduce___SpecialForm.__reduce__"      zzr|   c                     \        R V : 24      h)zCannot instantiate r>  )rw   r   r   s   &*,ry   __call___SpecialForm.__call__%  s    -dX677r|   c                    \         W3,          # r   r   rw   others   &&ry   __or___SpecialForm.__or__(      T[!!r|   c                    \         W3,          # r   re  rf  s   &&ry   __ror___SpecialForm.__ror__+      U[!!r|   c                    \        V  R 24      h)z! cannot be used with isinstance()r>  rw   r   s   &&ry   __instancecheck___SpecialForm.__instancecheck__.      4& ABCCr|   c                    \        V  R 24      h)z! cannot be used with issubclass()r>  rw   r   s   &&ry   __subclasscheck___SpecialForm.__subclasscheck__1  rs  r|   c                $    V P                  W4      # r   )rG  rw   r   s   &&ry   __getitem___SpecialForm.__getitem__4  s    }}T..r|   )rI  rG  rH  N)rH  rI  rG  )r~   r   r   r   r  rK  rz   rU  r  r^  rb  rh  rl  rq  rv  r  rz  r   r   r   s   @ry   r   r     sR     0I'
#5&8""DD / /r|   r   )r=  c                   &   a  ] tR tRt o R tRtV tR# )_TypedCacheSpecialFormi9  c                \    \        V\        4      '       g   V3pV P                  ! V .VO5!  # r   )r   r   rG  ry  s   &&ry   rz  "_TypedCacheSpecialForm.__getitem__:  s*    *e,,$J}}T/J//r|   r}   N)r~   r   r   r   rz  r   r   r   s   @ry   r}  r}  9  s     0 0r|   r}  c                   >   a a ] tR tRt oV 3R ltV 3R ltRtVtV ;t# )_AnyMetai@  c                L   < V \         J d   \        R 4      h\        SV `  V4      # )z+typing.Any cannot be used with isinstance())r   r   superrq  )rw   r   	__class__s   &&ry   rq  _AnyMeta.__instancecheck__A  s&    3;IJJw(--r|   c                8   < V \         J d   R # \        SV `	  4       # )z
typing.Any)r   r  r  )rw   r  s   &ry   r  _AnyMeta.__repr__F  s    3;w!!r|   r}   )	r~   r   r   r   rq  r  r   r   __classcell__r  r   s   @@ry   r  r  @  s     .
" "r|   r  c                   2   a a ] tR tRt oV 3R ltRtVtV ;t# )r   iL  c                L   < V \         J d   \        R 4      h\        SV `  V 4      # )zAny cannot be instantiated)r   r   r  __new__r   r   kwargsr  s   &*,ry   r  Any.__new__X  s%    #:899ws##r|   r}   )r~   r   r   r   r  r   r   r  r  s   @@ry   r   r   L  s     $ $r|   )	metaclassc                     \        V  R 24      hz is not subscriptabler>  ry  s   &&ry   rb   rb   ^  s      tf12
33r|   c                     \        V  R 24      hr  r>  ry  s   &&ry   r^   r^   s  s    , tf12
33r|   c                     \        V  R 24      hr  r>  ry  s   &&ry   rj   rj     s    " tf12
33r|   c                     \        V  R 24      hr  r>  ry  s   &&ry   r]   r]     s    0 tf12
33r|   c                 :    \        W R 2RR7      p\        W34      #  accepts only single type.Tr   r   r   rw   r   rO  s   && ry   r   r     &    & zV+E#F\`aDw''r|   c                 :    \        W R 2RR7      p\        W34      # r  r  r  s   && ry   r   r     r  r|   c                 N    \        W R 24      p\        V\        R4      3,          # )z requires a single type.N)r   r   r   )rw   r   r   s   && ry   r   r     s)     jF*B"C
DCd4j!!r|   r   c           
         \        V4      p \        ;QJ d/    . R  \        \        \	        V4      4      4       4       F  NK  	  5M(! R  \        \        \	        V4      4      4       4       4      p\        W4      #   \
         d     Li ; i)c              3   *   "   T F	  w  rVx  K  	  R # 5ir   r}   )r   r   _s   &  ry   r   Literal.<locals>.<genexpr>	  s     ^)]1)]s   )r   r   r   r   _value_and_type_iterr   r   ry  s   &*ry   r   r     st    2 )4JU^d;OPZ;[6\)]^UU^d;OPZ;[6\)]^^
  11  s   A"A: :BBc                     \        V  R 24      hr  r>  ry  s   &&ry   rm   rm     s     tf12
33r|   c                   a VR8X  d   \        R 4      h\        V\        4      '       g   V3pVR,          RJ g)   \        VR,          \        4      '       g   \        R4      hRo. V3R lVRR  4       OVR,          N5p\	        W4      # )z&Cannot take a Concatenate of no types..zMThe last parameter to Concatenate should be a ParamSpec variable or ellipsis.z/Concatenate[arg, ...]: each arg must be a type.c              3   <   <"   T F  p\        VS4      x  K  	  R # 5ir   r   r   r   r   s   & ry   r   Concatenate.<locals>.<genexpr>7  s     AAK3''   Nr}   r   )r   r   r   r	   r   )rw   r   r   s   &&@ry   r   r   !  s     R@AAj%(( ]
rNc!Z
2	%J%J : ; 	;
;CRACRAR:b>RJ#D55r|   c                 6    \        W R 24      p\        W34      # r  r  r  s   && ry   rn   rn   ;  s$    h zV+E#FGDw''r|   c                 6    \        W R 24      p\        W34      # r  r  r  s   && ry   ro   ro   s  s$    B zV+E#FGDw''r|   c                    Ve;   VP                   e   VP                   VR&   VP                  e   VP                  VR&   \        P                  ! V 3/ VB pVP                   V# )Nr   r   )r-  	__owner__ru   r   __forward_code__)coder  r  forward_refs   &$, ry   r   r     sc     ++7,??F8"".+55F7O%00@@K  r|   r!  r"  r#  r$  c                z   V\         P                  P                  8X  d   V P                  # V P                  V9   d   V # Vf   \         P                  P                  pV P                  W#WAVR7      p\        V\         P                  4      '       d"   V\         P                  P                  8X  d   V# \        V\        4      '       dB   \        YpP                  T;'       g    V P                  V P                  V P                  R7      pVf   V P                  p\        VVVVW`P                  0,          VVV R7      # )N)r!  r"  r#  r   r   )r   r   r   r   )r  r   r   r  )ru   FormatSTRING__forward_arg__VALUEevaluater   r   
FORWARDREFr   r   r-  r  __forward_is_argument____forward_is_class__r(  )r  r   r!  r"  r#  r   r$  values   &$$$$$$ ry   rT   rT     s#   : $++222***""&66~$++11  -8f ! VE 	5-8899-44???%!%0N0N(-(F(F1F1F.9.Q.Q+6+K+KM }%%(,G,G+HH!	 	r|   c                0    V ^8  d   QhR\         R\        /# r   r   r	  r   r   )r   s   "ry   r   r     s     F F F Fr|   c                 V    \        V \        4      '       * ;'       d    \        V R R4      # )#__typing_is_unpacked_typevartuple__F)r   r   rv   r   s   &ry   r   r     s.    At$$ E EA<eDFr|   c                0    V ^8  d   QhR\         R\        /# r  r  )r   s   "ry   r   r     s     O O O Or|   c                 T    \        V \        \        34      ;'       g    \        V 4      # r   )r   r   r	   r   r  s   &ry   _is_typevar_liker    s"    a'9-.NN2KA2NNr|   c                     R p\        WRR7      p\        V\        4      '       d   VP                  \        J g*   \        V\
        4      '       d"   \        VRR4      '       d   \        V R24      hV# )*Parameters to generic types must be types.T)r   r1  Fr   )r   r   r   r   rp   r   rv   r   )rw   r   r   s   && ry   _typevar_substr    s^    
6C
cD
1C	C	'	'CNNf,D	C	&	&73+N+N3%=>??Jr|   c           	         VP                   pVP                  V 4      pW4^,           R  F'  p\        V\        4      '       g   K  \	        RV 24      h	  \        V4      p\        V4      pTpWt,
          ^,
          p	Rp
Rp\        V4       Fo  w  r\        V\        4      '       d   K  \        VRR4      pV'       g   K4  \        V4      ^8X  g   KF  VR	,          RJ g   KU  V
e   \	        R4      hTp
V^ ,          pKq  	  V
e&   \        W4      p\        WV
,
          ^,
          4      p	M(W,           V8  d   \	        RV RV RV^,
           24      hWV	,
          8X  d-   V P                  4       '       d   \        V P                  4      pM
W(Wi,
           p. VRV OV.WH,
          ,          OVNV.Wy,
          V,
          V,
          ^,
          ,          OW&V	,
          R O5# )
   Nz(More than one TypeVarTuple parameter in r   .z6More than one unpacked arbitrary-length tuple argumentToo few arguments for r   z, expected at least r   )r   indexr   r
   r   r   	enumerater   rv   minr   r   __default__)rw   aliasr   r   typevartuple_indexparamalenplenleftrightvar_tuple_indexfillargkr   r   replacements   &&&             ry   _typevartuple_prepare_substr    s   !!Fd+Q./0e\**FugNOO 1 t9Dv;DD%)EOGD/#t$$c#CTJGw3w<1,1C".#$\]]"#!!* " "4)E/1A56		0 8##'&(<T!VHF G 	Ge| 0 0 2 2"4#3#34.	et)'.
/ 	 )T\D(+==A
B	
 
Ulm	 r|   c                     \        V\        \        34      '       d1   \        ;QJ d    . R  V 4       F  NK  	  5pV# ! R  V 4       4      pV# \        V4      '       g   \	        RV 24      hV# )c              3   :   "   T F  p\        VR 4      x  K  	  R# 5i)zExpected a type.Nr  r   r)  s   & ry   r   #_paramspec_subst.<locals>.<genexpr>?  s     D1K#566   zFExpected a list of types, an ellipsis, ParamSpec, or Concatenate. Got )r   r   r   r   r   rw   r   s   &&ry   _paramspec_substr  =  su    #e}%%eDDe J	 DDD J C   ::=@ A 	AJr|   c                    VP                   pVP                  V 4      pV\        V4      8X  d'   V P                  4       '       d   . VOV P                  NpV\        V4      8  d   \        R V 24      h\        V4      ^8X  d   \        V^ ,          4      '       g   V3pV# \        W$,          \        4      '       d%   . VRV O\        W$,          4      NW$^,           R O5pV# )r  N)
r   r  r   r   r  r   r   r   r   r   )rw   r  r   r   is   &&&  ry   _paramspec_prepare_substr  F  s    !!FTACI~$**,,((t''(CI~0899
6{atAw 7 7w K 
DGT	"	"7bq75>7D1J7Kr|   c                 n   \        V\        4      '       g   V3p\        ;QJ d    . R  V 4       F  NK  	  5M! R  V 4       4      pV \        \        39   pV'       d   V'       g   \	        RV P
                   R24      h\        ;QJ d    R V 4       F  '       d   K   RM	  RM! R V 4       4      '       g   \	        RV P                   R24      h\        \        V4      4      \        V4      8w  d   \	        RV P                   R24      hMV P                   F  p\        VR	R
4      pVf   K  V! W4      pK   	  \        W4       . p\        V P                  V4       F?  w  r6\        V\        4      '       d   VP                  V4       K.  VP!                  V4       KA  	  \        V4      p\#        W4      # )c              3   8   "   T F  p\        V4      x  K  	  R # 5ir   r   r   s   & ry   r   )_generic_class_getitem.<locals>.<genexpr>e  s     04aq!!4r   zParameter list to z[...] cannot be emptyc              3   8   "   T F  p\        V4      x  K  	  R # 5ir   )r  r   s   & ry   r   r  n  s     51#A&&r   FTzParameters to zF[...] must all be type variables or parameter specification variables.z[...] must all be unique__typing_prepare_subst__N)r   r   r   r   r   r   allr~   r   setr   rv   r   zipr
   r   r   r   )r   r   is_generic_or_protocolr  preparenew_argsnew_args   &&     ry   _generic_class_getitemr  W  s    dE""w5040550400D Wh$77$S%5%5$66KL  s55sss5555  /8 9: : s4y>SY& .FGI I '
 ''Ee%?FG"s) ( 	&c0!#"4"4d;NE%..((	 <
 X##r|   c                 $  a
 \         \        V `
  ! V/ VB  . pR V P                  9   d   \        V P                  9   pMD\        V P
                  9   ;'       d*    V P                  R8g  ;'       d    \        V 4      \        8g  pV'       d   \        R4      hR V P                  9   d   \        V P                  4      pRpV P                   FL  p\        V\        4      '       g   K  VP                  \        J g   K1  Ve   \        R4      hVP                  pKN  	  Vee   \        V4      p\        V4      o
VS
8:  gF   RP!                  V
3R lV 4       4      pRP!                  R V 4       4      p	\        RV R	V	 R
24      hTp\#        V4      V n        R# )__orig_bases__r   z!Cannot inherit from plain GenericNz0Cannot inherit from Generic[...] multiple times.r   c              3   J   <"   T F  qS9  g   K  \        V4      x  K  	  R # 5ir   r
  )r   r   gvarsets   & ry   r   )_generic_init_subclass.<locals>.<genexpr>  s     "M5aW<L63q665s   ##c              3   8   "   T F  p\        V4      x  K  	  R # 5ir   r
  )r   gs   & ry   r   r    s     "95a3q665r   zSome type variables (z) are not listed in Generic[r   )r  r   r?  r   r  	__bases__r~   r   _TypedDictMetar   r   r   r   r   r   r  r   r   )r   r   r  tvarserrorgvarsbasetvarsets_varss_argsr  s   &*,       @ry   _generic_init_subclassr    sy   	'3)4:6:E3<<'3---CMM) 0 0LLJ.0 0I/ 	 ;<<3<<'(););< &&D4//OOw.$#JL L++ ' %jG%jGg%"M5"MM"95"99"7x @::@!D E EEuCr|   c                 V    V P                  R 4      ;'       d    V P                  R 4      # )__)
startswithendswith)rx   s   &ry   
_is_dunderr	    s"    ??4 88T]]4%88r|   c                   n   a a ] tR tRt oRRRR/R ltR tR tR	 tV 3R
 ltR t	R t
V 3R ltRtVtV ;t# )_BaseGenericAliasi  instTnameNc               8    W n         W0n        Wn        R V n        R # r   )_instrH  r   r  )rw   originr  r  s   &&$$ry   rK  _BaseGenericAlias.__init__  s    

 r|   c                    V P                   '       g1   \        R V P                   RV P                  P                   R24      hV P                  ! V/ VB p Wn        V#   \         d     T# i ; i)zType z cannot be instantiated; use z
() instead)r  r   rH  r   r~   __orig_class__	Exception)rw   r   r  results   &*, ry   rb  _BaseGenericAlias.__call__  s    zzzeDJJ< 0##'??#;#;"<JH I I$1&1	$(!
   		s   A A-,A-c                Z   . pV P                   V9  d   VP                  V P                   4       VP                  V 4      pW^,           R  F  p\        V\        4      '       d    M\        V\
        4      '       gv   \        VRR4      pV'       d	   V! V4      MRp\        V\        4      '       d?   \        ;QJ d    R V 4       F  '       g   K   RM	  RM! R V 4       4      '       d    M5K  K  \        V\        4      '       g   K   M	  VP                  \        4       \        V4      # )r  NrU  c              3   r   "   T F-  p\        V\        4      ;'       d    \        V\        4      x  K/  	  R # 5ir   )r   r   
issubclassr   )r   b2s   & ry   r   4_BaseGenericAlias.__mro_entries__.<locals>.<genexpr>  s0      "+B #2t,HHB1HH"+s   77TF)r   r   r  r   r  r   rv   r   anyr  r   )rw   rT  resr  bmeth	new_basess   &&     ry   rU  !_BaseGenericAlias.__mro_entries__  s    ??%'JJt' KKstA!.//a&&q"3T:+/DKT	y%00C "+CCC "+  
  1 Aw'' " JJwSzr|   c                    VR9   d+   V P                   ;'       g    V P                  P                  # RV P                  9   d(   \	        V4      '       g   \        V P                  V4      # \        V4      h)r~   r   >   r~   r   )rH  r   r~   r   r	  rv   rN  )rw   rx   s   &&ry   rz   _BaseGenericAlias.__getattr__  s[    //::99!9!99 4==(D1A1A4??D11T""r|   c                   < \        V4      '       g   VR9   d   \        SV `	  W4       R# \        V P                  W4       R# )rH  N>   r  rH  _nparams	_defaults)r	  r  __setattr__setattrr   )rw   rx   valr  s   &&&ry   r'  _BaseGenericAlias.__setattr__  s1    dt'RRG*DOOT/r|   c                6    V P                  \        V4      4      # r   )rv  r   rp  s   &&ry   rq  #_BaseGenericAlias.__instancecheck__  s    %%d3i00r|   c                    \        R 4      h)zBSubscripted generics cannot be used with class and instance checksr>  ru  s   &&ry   rv  #_BaseGenericAlias.__subclasscheck__  s     5 6 	6r|   c                   < \        \        \        SV `  4       \	        V P
                  4       Uu. uF  p\        V4      '       d   K  VNK  	  up,           4      4      # u upi r   )r   r  r  __dir__dirr   r	  rw   rx   r  s   & ry   r0  _BaseGenericAlias.__dir__  sR    C)$'$8Q$8D
4@P44$8QR S T 	TQs   AA)r   r  r  rH  )r~   r   r   r   rK  rb  rU  rz   r'  rq  rv  r0  r   r   r  r  s   @@ry   r  r    sC     t $ @#016T Tr|   r  c                      a a ] tR tRt oRRRR/V 3R lltR tR tR	 tR
 t]	R 4       t
R tR tR tR tR tV 3R ltR tRtVtV ;t# )r   i  r  Tr  Nc               6  < \         SV `  WVR 7       \        V\        4      '       g   V3p\        ;QJ d    . R V 4       F  NK  	  5M! R V 4       4      V n        V\
        \        39   p\        VVR7      V n        V'       g   VP                  V n	        R# R# )r  r  c              3   >   "   T F  pV\         J d   R MTx  K  	  R# 5i).N)_TypingEllipsisr  s   & ry   r   )_GenericAlias.__init__.<locals>.<genexpr>3  s&      /)-A &'/%9c )-s   )r   N)
r  rK  r   r   r   r   r   r   r   r   )rw   r  r   r  r  r   r  s   &&&$$ ry   rK  _GenericAlias.__init__/  s    6$&&7D /)-/ /)-/ /#)gx-@#@ 6%=
 $//DO r|   c                    \        V\        4      '       g   \        # V P                  VP                  8H  ;'       d    V P                  VP                  8H  # r   )r   r   NotImplementedr   r   rf  s   &&ry   __eq___GenericAlias.__eq__=  sF    %//!!5#3#33 4 4MMU^^3	5r|   c                D    \        V P                  V P                  34      # r   )hashr   r   r  s   &ry   __hash___GenericAlias.__hash__C  s    T__dmm455r|   c                    \         W3,          # r   re  rw   r  s   &&ry   rh  _GenericAlias.__or__F  rj  r|   c                    \         W3,          # r   re  rw   r  s   &&ry   rl  _GenericAlias.__ror__I      TZ  r|   c                .   V P                   \        \        39   d   \        R V  24      hV P                  '       g   \        V  R24      h\        V\        4      '       g   V3p\        R V 4       !  pV P                  V4      pV P                  V4      pV# )z%Cannot subscript already-subscripted r   c              3   8   "   T F  p\        V4      x  K  	  R # 5ir   r  r   s   & ry   r   ,_GenericAlias.__getitem__.<locals>.<genexpr>f  s     =1mA..r   )
r   r   r   r   r   r   r   r   _determine_new_argsr5  )rw   r   r  rs   &&  ry   rz  _GenericAlias.__getitem__L  s    " ??w11CD6JKK"""tf$;<== $&&7D==>++D1NN8$r|   c           
     J   V P                   pV F  p\        VR R4      pVf   K  V! W4      pK   	  \        V4      p\        V4      pWV8w  d    \        RWV8  d   RMR RV  RV RV 24      h\	        \        W!4      4      p\        V P                  V P                  V4      4      # )r  Nr   r   r   r   r   r   )	r   rv   r   r   r   r  r   _make_substitutionr   )rw   r   r   r  r  r  r  new_arg_by_params   &&      ry   rM  !_GenericAlias._determine_new_argsk  s     $$Ee%?FG"t*  4y6{<dT[6e"DOTXSY Z''+fKv? @ @F 12T,,T]]<LMNNr|   c           	     F   . pV EF  p\        V\        4      '       d   VP                  V4       K-  \        VR R4      pV'       d   V! W$,          4      pM{\        VRR4      pV'       g   TpMc. pV FI  p	\        V	\        4      '       d   VP                  W),          4       K2  VP                  W),          4       KK  	  V\        V4      ,          pV P                  \        P                  P                  8X  d+   \        V\        4      '       d   VP                  V4       EK  \        V4      '       d   VP                  V4       EKD  \        V\        4      '       d-   VP                  \        V P                  WB4      4      4       EK  VP                  V4       EK  	  V# )r   Nr   r}   )r   r   r   rv   r
   r   r   r   r   r   r   r   rQ  )
rw   r   rR  r  old_arg	substfuncr  	subparamsr   r   s
   &&&       ry   rQ   _GenericAlias._make_substitution  s?   G'4((();TBI#$4$=>#G-=rB	 %G G&%a66#NN+;+>?#NN+;+>?	 '
 &eGn5G+//":"::z'SX?Y?Y (*733 (GU++ $11'LM (q r r|   c                f    V P                  V P                  WP                  V P                  R 7      # )r  r  )r  r   rH  r  rw   r   s   &&ry   r5  _GenericAlias.copy_with  s#    ~~doot**4::~VVr|   c                $   V P                   '       d   R V P                   ,           pM\        V P                  4      pV P                  '       d6   RP	                  V P                   Uu. uF  p\        V4      NK  	  up4      pMRpV RV R2# u upi )rY  r   z()r   r   )rH  r   r   r   r   )rw   r  r)  r   s   &   ry   r  _GenericAlias.__repr__  su    :::tzz)Ddoo.D===99T]]C]jm]CDD Dqa  	 Ds   'Bc                (   V P                   '       d   \        4       V P                   ,          pMV P                  p\        V P                  4      p\        V4      ^8X  d"   \        V^ ,          \        4      '       g   Vw  p\        P                  W33# r  )	rH  r!  r   r   r   r   r   r3  rJ  )rw   r  r   s   &  ry   r^  _GenericAlias.__reduce__  sg    :::Ytzz*F__FT]]#t9>*T!We"<"<ED&//r|   c                  < \        V P                  \        4      '       d   \        R V : 24      hV P                  '       d   \
        SV `  V4      # V P                  \        J dR   \        V9   d   R# VP                  V 4      pW^,           R  F$  p\        V\        4      '       g   K  W0Jg   K"  Ru # 	  V P                  3# )rR  Nr}   )r   r   r   r   rH  r  rU  r   r   r  r  )rw   rT  r  r  r  s   &&  ry   rU  _GenericAlias.__mro_entries__  s    doo|44.th788:::7*511??g%5 	D!AQ34[a!233I ! !!r|   c              #  ,   "   \         V ,          x  R # 5ir   )rp   r  s   &ry   rD  _GenericAlias.__iter__  s     Tls   )r   r   r   )r~   r   r   r   rK  r=  rA  rh  rl  r  rz  rM  rQ  r5  r  r^  rU  rD  r   r   r  r  s   @@ry   r   r     sk     40T 0 056"!  <O:<|W
!0" r|   r   c                   |   a a ] tR tRt oRRRRRR/V 3R llt]R 4       tR	 tR
 tV 3R lt	R t
R tR tRtVtV ;t# )_SpecialGenericAliasi  r  Tr  Ndefaultsc                  < Vf   VP                   p\        SV `	  WVR7       W n        WPn        VP
                  R8X  d   RVP                   R2V n        R # RVP
                   RVP                   R2V n        R # )Nr6  builtinszA generic version of r   )r~   r  rK  r%  r&  r   r   rI  )rw   r  nparamsr  r  rh  r  s   &&&$$$ry   rK  _SpecialGenericAlias.__init__  sw    <??D6!
*263F3F2GqIDL263D3D2EQvGZGZF[[\]DLr|   c           
     F  a \        V\        4      '       g   V3pR o\        ;QJ d    . V3R lV 4       F  NK  	  5M! V3R lV 4       4      pV P                  '       d}   \        V4      V P                  8  dc   \        V4      \        V P                  4      ,           V P                  8  d/   . VOV P                  \        V4      V P                  ,
          R O5p\        V4      pW P                  8w  d   V P                  '       d+   RV P                  \        V P                  4      ,
           2pM\        V P                  4      pV P                  '       g   \        V  R24      h\        RW P                  8  d   RMR RV  R	V R
V 24      hV P                  V4      # )r  c              3   <   <"   T F  p\        VS4      x  K  	  R # 5ir   r  r  s   & ry   r   3_SpecialGenericAlias.__getitem__.<locals>.<genexpr>       ;Fq{1c**Fr  Nr   r   r   r   r   r   r   r   )r   r   r&  r   r%  r   r   r5  )rw   r   r   expectedr   s   &&  @ry   rz   _SpecialGenericAlias.__getitem__  sN   &%((YF:;F;;F;;NNNFdmm+Fc$..11T]]BMvMs6{T]]/J/K LMF[
&~~~&t}}s4>>7J'J&KLt}}-===4&(? @AAdZ---G6U"SSbcgbh i''1l+hZI J J~~f%%r|   c                \    \        V P                  VV P                  V P                  R 7      # rZ  )r   r   rH  r  rw   r   s   &&ry   r5  _SpecialGenericAlias.copy_with  s$    T__f"&**4::? 	?r|   c                (    R V P                   ,           # rX  rZ  r  s   &ry   r  _SpecialGenericAlias.__repr__  r\  r|   c                   < \        V\        4      '       d!   \        VP                  V P                  4      # \        V\        4      '       g   \        WP                  4      # \
        SV `  V4      # r   )r   rg  r  r   r   r  rv  )rw   r   r  s   &&ry   rv  &_SpecialGenericAlias.__subclasscheck__!  sR    c/00cnndoo>>#}--c??33w(--r|   c                    V P                   # r   rZ  r  s   &ry   r^  _SpecialGenericAlias.__reduce__(  r`  r|   c                    \         W3,          # r   re  rD  s   &&ry   rh  _SpecialGenericAlias.__or__+  rj  r|   c                    \         W3,          # r   re  rG  s   &&ry   rl  _SpecialGenericAlias.__ror__.  rI  r|   )rI  r&  r%  r}   )r~   r   r   r   rK  r  rz  r5  r  rv  r^  rh  rl  r   r   r  r  s   @@ry   rg  rg    sZ     	^ 	^4 	^" 	^ & &.?&."! !r|   rg  c                   J   a a ] tR tRt oRRRR/V 3R lltV 3R ltRtVtV ;t# )	_DeprecatedGenericAliasi2  r  Tr  Nc               6   < \         SV `  WWER 7       W0n        R# )r6  N)r  rK  _removal_version)rw   r  rk  removal_versionr  r  r  s   &&&$$$ry   rK   _DeprecatedGenericAlias.__init__3  s     	t? /r|   c                   < ^ RI pVP                  V P                   RV P                   2V P                  R7       \
        SV `  V4      # )r   Nr   remove)r  _deprecatedr   rH  r  r  rq  )rw   r  r  r  s   && ry   rq  )_DeprecatedGenericAlias.__instancecheck__9  sJ    q-d6K6K 	 	
 w(..r|   )r  )	r~   r   r   r   rK  rq  r   r   r  r  s   @@ry   r  r  2  s$     08<0CG0/ /r|   r  c                   8   a a ] tR tRt oV 3R ltR tRtVtV ;t# )_CallableGenericAliasiA  c           	       < V P                   p\        V4      ^8X  d'   \        V^ ,          4      '       d   \        SV `  4       # RRP                  VRR  Uu. uF  p\        V4      NK  	  up4       R\        VR,          4       R2# u upi )r   ztyping.Callable[[r   Nz], r   r   )r   r   r   r  r  r   r   )rw   r   r)  r  s   &  ry   r  _CallableGenericAlias.__repr__B  s    }}t9>nT!W557#%%YYtCRyAy!
1yABC3d2h'(+ 	,As   B
c                    V P                   p\        V4      ^8X  d   \        V^ ,          4      '       g   \        VRR 4      VR,          3p\        P
                  \        V33# )r   Nr   )r   r   r   r   r3  rJ  r   r[  s   & ry   r^   _CallableGenericAlias.__reduce__K  sR    }}D	Q>$q'#:#:Sb	?DH,D(D!111r|   r}   )	r~   r   r   r   r  r^  r   r   r  r  s   @@ry   r  r  A  s     ,2 2r|   r  c                   <   a  ] tR tRt o R tR t]R 4       tRtV t	R# )_CallableTypeiR  c                \    \        V P                  VV P                  V P                  R 7      # rZ  )r  r   rH  r  rt  s   &&ry   r5  _CallableType.copy_withS  s&    $T__f*.**4::G 	Gr|   c                    \        V\        4      '       d   \        V4      ^8w  d   \        R4      hVw  r#\        V\        4      '       d   \        V4      V3pMW#3pV P                  V4      # )r   z6Callable must be used as Callable[[arg, ...], result].)r   r   r   r   r   __getitem_inner__)rw   r   r   r  s   &&  ry   rz  _CallableType.__getitem__W  sh    &%((CK1,< < = = dD!!Dk6*F^F%%f--r|   c                $   Vw  r#R p\        W44      pV\        J d   V P                  \        V34      # \	        V\
        4      '       g   V3p\
        ;QJ d    . R V 4       F  NK  	  5M! R V 4       4      pW#3,           pV P                  V4      # )z.Callable[args, result]: result must be a type.c              3   8   "   T F  p\        V4      x  K  	  R # 5ir   r  )r   r   s   & ry   r   2_CallableType.__getitem_inner__.<locals>.<genexpr>n  s     84C]3''4r   )r   Ellipsisr5  r8  r   r   )rw   r   r   r  r   s   &&   ry   r  _CallableType.__getitem_inner__e  s    >V)8>>?F";<<$&&7Du848uu8488	!~~f%%r|   r}   N)
r~   r   r   r   r5  rz  r  r  r   r   r   s   @ry   r  r  R  s$     G. 
& 
&r|   r  c                   0   a  ] tR tRt o ]R 4       tRtV tR# )
_TupleTypeis  c                  a \        V\        4      '       g   V3p\        V4      ^8  db   VR,          RJ dU   Ro\        ;QJ d    . V3R lVRR  4       F  NK  	  5M! V3R lVRR  4       4      pV P                  . VO\        N54      # Ro\        ;QJ d    . V3R lV 4       F  NK  	  5M! V3R lV 4       4      pV P                  V4      # )r   .z Tuple[t, ...]: t must be a type.c              3   <   <"   T F  p\        VS4      x  K  	  R # 5ir   r  r  s   & ry   r   )_TupleType.__getitem__.<locals>.<genexpr>z  s     D1;q#..r  Nz*Tuple[t0, t1, ...]: each t must be a type.c              3   <   <"   T F  p\        VS4      x  K  	  R # 5ir   r  r  s   & ry   r   r  }  rp  r  r   )r   r   r   r5  r8  )rw   r   r   s   &&@ry   rz  _TupleType.__getitem__t  s    &%((YFv;!r
c 14CUDsDUUDsDDF>>"<F"<O"<==:;F;;F;;~~f%%r|   r}   N)r~   r   r   r   r  rz  r   r   r   s   @ry   r  r  s  s     	& 	&r|   r  c                   P   a  ] tR tRt o V 3R lR ltV 3R lR ltR tR tRtV t	R	# )
_UnionGenericAliasMetai  c                &   < V ^8  d   QhRS[ RS[/# r   r  r	  )objectr   )r   r   s   "ry   r   #_UnionGenericAliasMeta.__annotate__  s     ' 'f ' 'r|   c                P    ^ RI pVP                  RRR7       \        V\        4      # r   N_UnionGenericAliasr        )r  r  r   r   rw   r  r  s   && ry   rq  (_UnionGenericAliasMeta.__instancecheck__  &    1'B$&&r|   c                &   < V ^8  d   QhRS[ RS[/# r  r   r   )r   r   s   "ry   r   r    s     ' 'd 't 'r|   c                P    ^ RI pVP                  RRR7       \        V\        4      # r  )r  r  r  r   r  s   && ry   rv  (_UnionGenericAliasMeta.__subclasscheck__  r  r|   c                h    ^ RI pVP                  RRR7       V\        J g   V\        J d   R# \        # )r   Nr  r  Tr  )r  r  r  r   r<  )rw   rg  r  s   && ry   r=  _UnionGenericAliasMeta.__eq__  s1    1'B&&%5.r|   c                     \        \        4      # r   )r@  r   r  s   &ry   rA  _UnionGenericAliasMeta.__hash__  s    E{r|   r}   N)
r~   r   r   r   rq  rv  r=  rA  r   r   r   s   @ry   r  r    s(     ' '
' '
 r|   r  c                   .   a  ] tR tRt o RR/R ltRtV tR# )r  i  r  Nc              J    ^ RI pVP                  RRR7       \        V,          # r  )r  r  r   )r   self_clsr   r  r  s   """$ ry   r  _UnionGenericAlias.__new__  s$    1'BZ  r|   r}   r~   r   r   r   r  r   r   r   s   @ry   r  r    s     !d ! !r|   r  c                     R  V  4       # )c              3   :   "   T F  q\        V4      3x  K  	  R # 5ir   )r   r   s   & ry   r   '_value_and_type_iter.<locals>.<genexpr>  s     -*QQL*r  r}   )r   s   &ry   r  r    s    -*--r|   c                   ,   a  ] tR tRt o R tR tRtV tR# )r   i  c                    \        V\        4      '       g   \        # \        \	        V P
                  4      4      \        \	        VP
                  4      4      8H  # r   )r   r   r<  r  r  r   rf  s   &&ry   r=  _LiteralGenericAlias.__eq__  sB    %!566!!'673?STYTbTb?c;dddr|   c                P    \        \        \        V P                  4      4      4      # r   )r@  	frozensetr  r   r  s   &ry   rA  _LiteralGenericAlias.__hash__  s    I24==ABCCr|   r}   N)r~   r   r   r   r=  rA  r   r   r   s   @ry   r   r     s     eD Dr|   r   c                   2   a a ] tR tRt oV 3R ltRtVtV ;t# )r   i  c                   < \        VR,          \        \        34      '       d   . VRR OVR,          O5# \        VR,          \        4      '       d   . VRR OVR,          P                  O5p\
        SV `  V4      # )r  Nr   )r   r   r   r   r   r  r5  )rw   r   r  s   &&ry   r5  "_ConcatenateGenericAlias.copy_with  ss    fRj4-00.VCR[.6":..fRj":;;9vcr{9VBZ%8%89Fw ((r|   r}   )r~   r   r   r   r5  r   r   r  r  s   @@ry   r   r     s     ) )r|   r   c                 8    \        W R 24      p\        W3R7      # )r  )r  r   )r   _UnpackGenericAliasr  s   && ry   rp   rp     s$    ^ zV+E#FGDd99r|   c                   X   a a ] tR tRt oR tV 3R lt]R 4       t]R 4       tRt	Vt
V ;t# )r  i  c                B    R \        V P                  ^ ,          4       R2# )ztyping.Unpack[r   )r   r   r  s   &ry   r  _UnpackGenericAlias.__repr__  s"      
4==+; <=Q??r|   c                J   < V P                   '       d   V# \        SV `	  V4      # r   )r  r  rz  )rw   r   r  s   &&ry   rz  _UnpackGenericAlias.__getitem__  s$    333Kw"4((r|   c                    V P                   w  p\        V\        \        P                  34      '       d,   VP
                  \        Jd   \        R 4      hVP                   # R# )z*Unpack[...] must be used with a tuple typeN)r   r   r   typesr   r   r   r   r  s   & ry   r   2_UnpackGenericAlias.__typing_unpacked_tuple_args__  sL     }}cM5+=+=>??~~U* LMM<<r|   c                D    \        V P                  ^ ,          \        4      # r   )r   r   r
   r  s   &ry   r  7_UnpackGenericAlias.__typing_is_unpacked_typevartuple__  s     $--*L99r|   r}   )r~   r   r   r   r  rz  propertyr   r  r   r   r  r  s   @@ry   r  r    s=     @
)
   : : :r|   r  c                       ] tR tRtRtR# )r8  i  r}   N)r~   r   r   r   r   r}   r|   ry   r8  r8    s    r|   r8  _MutableMapping__markerc                    \        4       pV P                  R R  Fq  pVP                  R9   d   K   VP                  p. VP                  OVO F:  pVP                  R4      '       d   K  V\        9  g   K)  VP                  V4       K<  	  Ks  	  V#   \         d3    \
        P                  T\
        P                  P                  R7      p Li ; i)Nr   _abc_r   >   r   r   )r  __mro__r~   __annotations__r  ru   get_annotationsr  r  r   r  EXCLUDED_ATTRIBUTESadd)r   attrsr   annotationsrx   s   &    ry   _get_protocol_attrsr  $  s     EECR ==33	..K 3dmm2k2D??7++<O0O		$ 3 ! L  	-==077BB > K	s   B:CCc                 b   \        V 4      pVP                  '       d   \        R 4      hVP                  \        Jd   R# VP
                   F5  pVP                  P                  R\        4      pV\        Jg   K/  WSn         M	  \        P                  Vn        VP                  ! V .VO5/ VB  R# )z Protocols cannot be instantiatedNrK  )	r   _is_protocolr   rK  _no_init_or_replace_initr  r   r0  r  )rw   r   r  r   r   inits   &*,   ry   r  r  ;  s    
t*C
:;; ||33 }}  -EF//L	  LL'''r|   c                     \         P                  ! V ^,           4      ;'       g    T#   \         d     Mi ; i \         P                  ! T ^,           4      P                  P                  RT4      #   \        \        3 d     R# i ; i)r  r~   N)r.  _getframemodulenamerN  	_getframe	f_globalsr0  
ValueError)depthdefaults   &&ry   _callerr  X  s{    &&uqy1<<W< }}UQY'1155j'JJJ' s!   #) ) 776A2 2BBc                     \        V 4      R9   # )r   >   Nr   r   )r  )r  s   &ry   _allow_reckless_class_checksr  c  s     5>777r|   zcollections.abc
contextlibAbstractContextManagerAbstractAsyncContextManagerioReaderWriterosPathLikec                      ^ RI Hp  V # )r   getattr_static)inspectr  r  s    ry   _lazy_load_getattr_staticr  x  s     'r|   c                 (    \         V P                  33# r   )r   r   )psargss   &ry   _pickle_psargsr    s    6,,...r|   c                 (    \         V P                  33# r   )r   r   )pskwargss   &ry   _pickle_pskwargsr    s    X00222r|   c                 H    \        V \        4      '       g   \        R 4      hR# )z"issubclass() arg 1 must be a classN)r   r   r   r   s   &ry   _type_check_issubclass_arg_1r	    s"     c4  <== !r|   c                   J   a a ] tR tRt oV 3R ltV 3R ltR tR tRtVt	V ;t
# )_ProtocolMetai  c               p  < VR 8X  d   V\         38X  d   M\        V9   d   V F  pV\        \         09   d   K  VP                  \        P                  VP                  . 4      9   d   KG  \        V\         4      '       d   \        VRR4      '       d   Kr  \        RV: 24      h	  \        SV `,  ! WW#3/ VB # )r   r  Fz5Protocols can only inherit from other protocols, got )r   r   r  r~   _PROTO_ALLOWLISTr0  r   r  rv   r   r  r  )mclsr  rT  	namespacer  r   r  s   """", ry   r  _ProtocolMeta.__new__  s    :%G:"5VW--}}(8(<(<T__b(QQ"411#D.%@@ $#h(   wt5FvFFr|   c                r   < \         SV `  ! V/ VB  \        V R R4      '       d   \        V 4      V n        R# R# )r  FN)r  rK  rv   r  __protocol_attrs__r  s   &*,ry   rK  _ProtocolMeta.__init__  s6    $)&)3..%8%=C" /r|   c                   V \         J d   \        P                  W4      # \        V R R4      '       d   \	        4       '       g   \        V RR4      '       g   \        V4       \        R4      hV P                  '       d_   V P                  P                  R4      \        J d<   \        V4       \        V P                  4      p\        R\        V4      ^R  R24      h\        W4      # )r  F_is_runtime_protocolLInstance and class checks can only be used with @runtime_checkable protocols__subclasshook__zRProtocols with non-method members don't support issubclass(). Non-method members: r   r   )r   r   rv  rv   r  r	  r   __non_callable_proto_members__r   r0  _proto_hooksortedr   _abc_subclasscheck)r   rg  non_method_attrss   && ry   rv  _ProtocolMeta.__subclasscheck__  s    (?))#55C//0223 6>>,U33  222LL$$%78KG,U3#)#*L*L#M ,,/0@,A!B,G+HK  "#--r|   c                   V \         J d   \        P                  W4      # \        V R R4      '       g   \	        W4      # \        V RR4      '       g   \        4       '       g   \        R4      h\	        W4      '       d   R# \        4       pV P                   F%  p V! W4      pTe   K  Y0P                  9  g   K$   R# 	  R#   \         d      R# i ; i)r  Fr  r  T)r   r   rq  rv   _abc_instancecheckr  r   r  r  rN  r  )r   instancer  rx   r)  s   &&   ry   rq  _ProtocolMeta.__instancecheck__  s     (?))#88sNE22%c44 3U;;,.. < = = c,,24**D$X4 {t+M+MM  +  "  s   C  CCr}   )r~   r   r   r   r  rK  rv  rq  r   r   r  r  s   @@ry   r  r    s     G&>
.4 r|   r  c                    V P                   P                  R R4      '       g   \        # V P                   F  pVP                   Fx  pW#P                   9   d#   VP                   V,          f   \        u u #  KD  \        V\        4      '       g   KM  \        VR R4      '       g   Kb   VP                  pW$9   g   Kw   K  	  \        u # 	  R#   \         d3    \        P                  T\        P                  P                  R7      p LUi ; i)r  Fr  T)r   r0  r<  r  r  r  r   rv   r  r  ru   r  r  r  )r   rg  rx   r   annoss   &&   ry   r  r    s    <<NE22&&MMD}}$==&.)) %))ge^U.S.S 00E
 =% "( "!+ ',  ! /??%8%?%?%J%J @ Es   'C:D	D	c                   >   a a ] tR tRt oRtRtRtV 3R ltRtVt	V ;t
# )r   i  TFc                  < \         SV `  ! V/ VB  V P                  P                  R R4      '       gN   \        ;QJ d&    R V P
                   4       F  '       g   K   RM	  RM! R V P
                   4       4      V n        RV P                  9  d   \        V n        V P                  '       d.   V P                  \        P                  J d   \        V n	        R# R# R# )r  Fc              3   0   "   T F  q\         J x  K  	  R # 5ir   r   r   r  s   & ry   r   -Protocol.__init_subclass__.<locals>.<genexpr>G  s     "H-Q=-s   Tr  N)r  r?  r   r0  r  r  r  r  r  rK  r   r  r  s   &*,ry   r?  Protocol.__init_subclass__B  s    !4262 ||66"s"H#--"Hsss"H#--"HHC S\\1#.C  0A0A A3CL !Br|   r}   )r~   r   r   r   r  r  r  r?  r   r   r  r  s   @@ry   r   r     s"     B IL 4 4r|   c                   b   a a ] tR tRt oV 3R ltR tR tR tR tR t	V 3R lt
R	 tR
tVtV ;t# )_AnnotatedAliasiR  c                   < \        V\        4      '       d    VP                  V,           pVP                  p\        SV `  WR R7       W n        R# )r   r  N)r   r,  __metadata__r   r  rK  )rw   r  metadatar  s   &&&ry   rK  _AnnotatedAlias.__init__]  sC    fo..**X5H&&Fk:$r|   c                >    V^ ,          p\        W P                  4      # r  )r,  r/  )rw   r   new_types   && ry   r5  _AnnotatedAlias.copy_withd  s    !9x):):;;r|   c                    R P                  \        V P                  4      RP                  R V P                   4       4      4      # )ztyping.Annotated[{}, {}]r   c              3   8   "   T F  p\        V4      x  K  	  R # 5ir   )reprr  s   & ry   r   +_AnnotatedAlias.__repr__.<locals>.<genexpr>l  s     9'8!d1gg'8r   )r   r   r   r   r/  r  s   &ry   r  _AnnotatedAlias.__repr__i  s9    )00t'II9t'8'899
 	
r|   c                j    \         P                  \        V P                  3V P                  ,           33# r   )r3  rJ  r   r   r/  r  s   &ry   r^  _AnnotatedAlias.__reduce__o  s1    )D,=,=="
 
 	
r|   c                    \        V\        4      '       g   \        # V P                  VP                  8H  ;'       d    V P                  VP                  8H  # r   )r   r,  r<  r   r/  rf  s   &&ry   r=  _AnnotatedAlias.__eq__t  sJ    %11!!5#3#33 < <%%););;	=r|   c                D    \        V P                  V P                  34      # r   )r@  r   r/  r  s   &ry   rA  _AnnotatedAlias.__hash__z  s    T__d&7&7899r|   c                4   < VR9   d   R# \         SV `  V4      # )r~   r   >   r~   r   )r  rz   r2  s   &&ry   rz   _AnnotatedAlias.__getattr__}  s    //w"4((r|   c                    V P                   3# r   )r   rS  s   &&ry   rU  _AnnotatedAlias.__mro_entries__  s    !!r|   )r/  )r~   r   r   r   rK  r5  r  r^  r=  rA  rz   rU  r   r   r  r  s   @@ry   r,  r,  R  s2     %<



=:)
" "r|   r,  c                     \        V4      ^8  d   \        R4      h\        V^ ,          4      '       d   \        R4      hRp\        V^ ,          VRR7      p\	        VR,          4      p\        W44      # )r   zUAnnotated[...] should be used with at least two arguments (a type and an annotation).z?Annotated[...] should not be used with an unpacked TypeVarTuplez$Annotated[t, ...]: t must be a type.Tr  :r  NN)r   r   r   r   r   r,  )rw   r   r   r  r0  s   &*   ry   r   r     su    b 6{Q ' ( 	( !++ 0 1 	1
0CCTBFVBZ H6,,r|   c                    \        V \        4      '       d   \        V R R4      '       g   \        RV ,          4      hRV n        \        4       V n        V P                   F>  p \        \        WR4      4      pV'       g   V P                  P                  V4       K>  K@  	  V #   \         d   p\        RT: R24      ThRp?ii ; i)r  FzB@runtime_checkable can be only applied to protocol classes, got %rTNz,Failed to determine whether protocol member z is a method member)r  r   rv   r   r  r  r  r  callabler  r  )r   rx   is_callablees   &   ry   ri   ri     s    & c7##73+N+N "$'( ) 	)#C
 *-C&&&		="73d#;<K 2266t<  ' J  	>th G% % 	s   "B""C-B>>Cc                     V# r   r}   )r   r)  s   &&ry   rQ   rQ     s	     Jr|   c                    V # r   r}   )r)  r   s   ""ry   rO   rO     s	     Jr|   c                N   \        V R R4      '       d   / # \        P                  pVf   VP                  p\	        V \
        4      '       Ed}   / p\        V P                  4       EF  p\        P                  WtR7      pWEP                  8X  d   VP                  V4       K=  Vf7   \        \        P                  P                  VP                  R4      R/ 4      p	MTp	Vf   \        \!        V4      4      MTp
Vf   Vf   YrVP"                  p\%        WV
R4      w  rVP'                  4        FL  w  r\	        V\(        4      '       d   \+        VRRR7      p\-        WV
RW@RR7      pVf   \        R4      pWV&   KN  	  EK  	  V'       g   WEP                  8X  d   V# VP'                  4        UUu/ uF  w  rV\/        V4      bK  	  upp# \        P                  WR7      pV'       ge   \	        V \0        P2                  4      '       gE   \5        V 4      '       g4   \7        V R4      '       g"   \7        V R	4      '       g   \9        V : R
24      hWEP                  8X  d   V# Vfd   \	        V \0        P2                  4      '       d   V P:                  pM/T p\7        VR4      '       d   VP<                  pK   \        VR/ 4      pVf   TpMVf   Tp\        V RR4      p\%        WVR4      w  rVP'                  4        Fi  w  r\	        V\(        4      '       d,   \+        V\	        V \0        P2                  4      '       * RR7      p\-        WVRW@RR7      pVf   \        R4      pWV&   Kk  	  V'       d   V# VP'                  4        UUu/ uF  w  rV\/        V4      bK  	  upp# u uppi u uppi )__no_type_check__Nr  r   TF)r   r   )r   r   r  r  r   z% is not a module, class, or callable.__wrapped____globals__r  r}   )rv   ru   r  r  r   r   reversedr  r  r  updater.  r/  r0  r   r   varsr  _add_type_params_to_scopeitemsr   r   r(  _strip_annotationsr  
ModuleTyperF  r   r   r   rM  )r   r*  r+  include_extrasr   r  hintsr   annbase_globalsbase_localsr#  r  r  r  r   nsobjs   &&&&$            ry   rZ   rZ   		  s(   @ s'..	 ''F~#tS[[)D%55d5JC&S!&s{{t'Mz[]^'.5o$tDz*7K8#3 -8k..K(A;)>%L"yy{eS))-eQUVE"5R*0tU= JE#d  ++ *: V}}4L9>GA)!,,GG///CE3 0 011.//^,,3'!FGHHc5++,,||HE%//))umR8H?G	#0"5K1+RWXH{{}eS!! & *30@0@ AAE
 5GReij=JEd % #5\ekkm(\mda,>q,A)Am(\\U HT )]s   .N N!c                     V '       g   W3# \        V4      p\        V4      pV  FH  pV'       d   VP                  V9  g   K  WAVP                  &   VP                  VP                  R 4       KJ  	  W3# r   )r   r~   pop)r#  r*  r+  r   r  s   &&&& ry   rR  rR  	  sa      H~H7mG5>>9',U^^$KK-  r|   c                     \        V \        4      '       d   \        V P                  4      # \	        V R 4      '       d=   V P                  \
        \        \        39   d   \        V P                  ^ ,          4      # \        V \        4      '       dd   \        ;QJ d    . R V P                   4       F  NK  	  5M! R V P                   4       4      pWP                  8X  d   V # V P                  V4      # \        V \        4      '       di   \        ;QJ d    . R V P                   4       F  NK  	  5M! R V P                   4       4      pWP                  8X  d   V # \        V P                  V4      # \        V \        4      '       dx   \        ;QJ d    . R V P                   4       F  NK  	  5M! R V P                   4       4      pWP                  8X  d   V # \        P                  ! \         P"                  V4      # V # )r   c              3   8   "   T F  p\        V4      x  K  	  R # 5ir   rT  r  s   & ry   r   %_strip_annotations.<locals>.<genexpr>	       HZ033Zr   c              3   8   "   T F  p\        V4      x  K  	  R # 5ir   r`  r  s   & ry   r   ra  	  rb  r   c              3   8   "   T F  p\        V4      x  K  	  R # 5ir   r`  r  s   & ry   r   ra  	  rb  r   )r   r,  rT  r   r   rg   rc   rf   r   r   r   r5  r   r   r   r2  r3  r4  )r   stripped_argss   & ry   rT  rT  	  sR   !_%%!!,,//q,ALLX{H4U$U!!**Q-00!]##HQZZHHQZZHHJJ&H{{=))!\""HQZZHHQZZHHJJ&HALL-88!UHQZZHHQZZHHJJ&Hm<<Hr|   c                     \        V \        4      '       d   \        # \        V \        \        \
        \        34      '       d   V P                  # V \        J d   \        # \        V \        4      '       d   \        # R # r   )
r   r,  r   r  r   r   r   r   r   r   tps   &ry   rW   rW   	  s`    $ "o&&"(,$o7 8 8}}	W}"er|   c                 V   \        V \        4      '       d   V P                  3V P                  ,           # \        V \        \
        34      '       d7   V P                  p\        W4      '       d   \        VR R 4      VR,          3pV# \        V \        4      '       d   V P                  # R# )Nr   r}   )
r   r,  r   r/  r   r   r   r   r   r   )rh  r  s   & ry   rV   rV   	  s     "o&&"//11"}l344kk*233CR>3r7+C
"e{{Ir|   c                 "    \        V \        4      # r   )r   r  rg  s   &ry   r\   r\   	  s     b.))r|   c                0    V ^8  d   QhR\         R\         /# r   r   r	  )r^   )r   s   "ry   r   r   	  s     O Oe O5 Or|   c                |    \        V 4      p\        V4      \        8  d   VR \         R,           p\        RV 24      h)Nz...z*Expected code to be unreachable, but got: )r7  r   _ASSERT_NEVER_REPR_MAX_LENGTHAssertionError)r   r  s   " ry   rP   rP   	  s@    & IE
5z11445=
EeWM
NNr|   c                 J   \        V \        4      '       d   \        V 4       F  p\        W4      p\	        VR 4      '       dG   VP
                  V P
                   RVP                   28w  g   \        VRR4      V P                  8w  d   Kh  \        V\        P                  4      '       d   RVn
        \        V\        P                  4      '       d   RVP                  n
        \        V\        4      '       g   K  \        V4       K  	   RV n
        V #   \         d     T # i ; i)r   r   r   NT)r   r   r1  rv   r   r   r~   r   r  FunctionTyperL  
MethodType__func__r`   r   )r   keyr   s   &  ry   r`   r`   
  s     #ts8C##CC00###*:*:);1S\\N'KK3d3s~~E
 #u1122(,%#u//0015.#t$$c"% & $ J  Js   
D D"!D"c                 t   a  ^ RI pVP                  RRR7       \        P                  ! S 4      V 3R l4       pV# )r   Nztyping.no_type_check_decoratorr  c                  .   < S! V / VB p\        V4      pV# r   )r`   )r   r   r   r  s   *, ry   wrapped_decorator2no_type_check_decorator.<locals>.wrapped_decorator7
  s!    $'$'T"r|   r     )r  r  r   r  )r  r  rw  s   f  ry   ra   ra   /
  s?     9'J__Y  
 r|   c                      \        R 4      h)zYou should not call an overloaded function. A series of @overload-decorated functions outside a stub module should always be followed by an implementation that is not @overload-ed.)NotImplementedError)r   r   s   *,ry   _overload_dummyr}  @
  s    
	9: :r|   c                     \        V R V 4      p V \        VP                  ,          VP                  ,          VP                  P
                  &   \        #   \         d	     \        # i ; irs  )rv   _overload_registryr   r   __code__co_firstlinenorN  r}  )r   fs   & ry   rd   rd   M
  sa    @ 	j$'AVZ1<<(89R9RS   s   ?A A'&A'c                     \        V R V 4      pVP                  \        9  d   . # \        VP                  ,          pVP                  V9  d   . # \	        W!P                  ,          P                  4       4      # r  )rv   r   r  r   r   values)r   r  mod_dicts   &  ry   rX   rX   v
  s^     	j$'A||--	!!,,/H~~X%	(//122r|   c                  .    \         P                  4        R # r   )r  clearr}   r|   ry   rR   rR   
  s    r|   c                 F     R V n         V #   \        \        3 d     T # i ; iT)	__final__rN  r   )r  s   &ry   rU   rU   
  s5    4 H I&  	H      TKTVTT_co)	covariantV_coVT_coT_contra)contravariantCT_co)r  bounda  Deprecated alias to collections.abc.Callable.

    Callable[[int], str] signifies a function that takes a single
    parameter of type int and returns a str.

    The subscription syntax must always be used with exactly two
    values: the argument list and the return type.
    The argument list must be a list of types, a ParamSpec,
    Concatenate or ellipsis. The return type must be a single type.

    There is no syntax to indicate optional or keyword arguments;
    such function types are rarely used as callback types.
    r.  )r  r6  a]  Deprecated alias to builtins.tuple.

    Tuple[X, Y] is the cross-product type of X and Y.

    Example: Tuple[T1, T2] is a tuple of two elements corresponding
    to type variables T1 and T2.  Tuple[int, float, str] is a tuple
    of an int, a float and a string.

    To specify a variable-length tuple of homogeneous type, use Tuple[T, ...].
    )rh  a  Deprecated alias to builtins.type.

    builtins.type or typing.Type can be used to annotate class objects.
    For example, suppose we have the following classes::

        class User: ...  # Abstract base for User classes
        class BasicUser(User): ...
        class ProUser(User): ...
        class TeamUser(User): ...

    And a function that takes a class argument that's a subclass of
    User and returns an instance of the corresponding class::

        def new_user[U](user_class: Type[U]) -> U:
            user = user_class()
            # (Here we could write the user object to a database)
            return user

        joe = new_user(BasicUser)

    At this point the type checker knows that joe has type BasicUser.
    c                   @   a  ] tR tRt o Rt]V 3R lR l4       tRtV tR# )r;   i  c                    < V ^8  d   QhRS[ /# r   r	  int)r   r   s   "ry   r   SupportsInt.__annotate__"  s       r|   c                    R # r   r}   r  s   &ry   __int__SupportsInt.__int__!      r|   r}   N)	r~   r   r   r   r  r   r  r   r   r   s   @ry   r;   r;           I r|   c                   @   a  ] tR tRt o Rt]V 3R lR l4       tRtV tR# )r9   i&  c                    < V ^8  d   QhRS[ /# r  )float)r   r   s   "ry   r   SupportsFloat.__annotate__-        5 r|   c                    R # r   r}   r  s   &ry   	__float__SupportsFloat.__float__,  r  r|   r}   N)	r~   r   r   r   r  r   r  r   r   r   s   @ry   r9   r9   &  r  r|   c                   @   a  ] tR tRt o Rt]V 3R lR l4       tRtV tR# )r8   i1  c                    < V ^8  d   QhRS[ /# r  )complex)r   r   s   "ry   r   SupportsComplex.__annotate__8  s      W r|   c                    R # r   r}   r  s   &ry   __complex__SupportsComplex.__complex__7  r  r|   r}   N)	r~   r   r   r   r  r   r  r   r   r   s   @ry   r8   r8   1  r  r|   c                   @   a  ] tR tRt o Rt]V 3R lR l4       tRtV tR# )r7   i<  c                    < V ^8  d   QhRS[ /# r  )bytes)r   r   s   "ry   r   SupportsBytes.__annotate__C  r  r|   c                    R # r   r}   r  s   &ry   	__bytes__SupportsBytes.__bytes__B  r  r|   r}   N)	r~   r   r   r   r  r   r  r   r   r   s   @ry   r7   r7   <  r  r|   c                   @   a  ] tR tRt o Rt]V 3R lR l4       tRtV tR# )r:   iG  c                    < V ^8  d   QhRS[ /# r  r  )r   r   s   "ry   r   SupportsIndex.__annotate__N  s      3 r|   c                    R # r   r}   r  s   &ry   	__index__SupportsIndex.__index__M  r  r|   r}   N)	r~   r   r   r   r  r   r  r   r   r   s   @ry   r:   r:   G  r  r|   c                  @   aa R 5;o3o ! VV3R lRS5
p \         V 4      # )r  c                   J   <a  ] tR tRt Zt o Rt]VV 3R lR l4       tRtV t	R# )r6   iR  c                    < V ^8  d   QhRSZ/# r  r}   )r   r  r   s   "ry   r   SupportsAbs.__annotate__Y  s       r|   c                    R # r   r}   r  s   &ry   __abs__SupportsAbs.__abs__X  r  r|   r}   N)
r~   r   r   r   r  r  r   r  r   r   r   .type_paramsr  s   @ry   r6   r6   R  s#      I  r|   r6   r'  .generic_baser  r  s    @@ry   #<generic parameters of SupportsAbs>r  R  s      X r|   c                  @   aa R 5;o3o ! VV3R lRS5
p \         V 4      # )r  c                   N   <a  ] tR tRt Zt o Rt]RVV 3R lR ll4       tRtV t	R# )r<   i]  c                &   < V ^8  d   QhRS[ RSZ/# )r   ndigitsr	  r  )r   r  r   s   "ry   r   SupportsRound.__annotate__d  s       Q r|   c                    R # r   r}   )rw   r  s   &&ry   	__round__SupportsRound.__round__c  r  r|   r}   Nr  )
r~   r   r   r   r  r  r   r  r   r   r  s   @ry   r<   r<   ]  s#      I  r|   r<   r'  r  s    @@ry   %<generic parameters of SupportsRound>r  ]  s      x r|   c                 f    \         P                  ! WWCR 7      pV;Vn        VP                  n        V# )rh  r   )r   
namedtupler   r  )r  fieldsannotate_funcr   rh  nm_tpls   &&&&& ry   _make_nmtupler  h  s1    ##D-5FF8EEF&..5Mr|   c                    a a S P                   ! 4        UUu/ uF  w  rV\        VR V R24      bK  	  uppoVV 3R lpV# u uppi )field  annotation must be a typec                   < T ;;\         P                  P                  8X  d     S# ;\         P                  P                  8X  d     S#  \         P                  P                  8X  d   \         P                  S4      #  \        T 4      hr   )ru   r  r  r  r  annotations_to_stringr|  )r   checked_typesr  s   &ry   annotate&_make_eager_annotate.<locals>.annotater  sv    Y1$++11Y$$ 5Z4G4N4N4Y4YY$$ Z$++22*@@GG)&11r|   )rS  r   )r  rt  r)  r  r  s   f   @ry   _make_eager_annotater  o  sO    %*[[]4%2 +cVC58R+STT%24M2 O4s   A c                   &   a  ] tR tRt o R tRtV tR# )NamedTupleMetai  c                |  a R V9   d   \        R4      hV F$  pV\        Jg   K  V\        Jg   K  \        R4      h	  \        ;QJ d    . R V 4       F  NK  	  5M! R V 4       4      pRV9   d!   VR,          p\	        V4      p\        V4      pM\        P                  V4      ;oee   \        P                  S\        P                  P                  4      p\	        V4      pVP                  ! 4        F  p\        VR4       K  	  V3R lpM. pR p. p	V FY  p
W9   d   V	P                  V
4       K  V	'       g   K&  \        R	T
 R
\        V	4      ^8  d   RMR RRP                  V	4       24      h	  \!        YTV	 Uu. uF  qV,          NK  	  upVR,          R7      pW,n        \        V9   d   \$        p\'        V4      Vn        VP+                  4        Fk  w  rV\,        9   d   \/        RV,           4      hV\0        9  g   K/  WP2                  9  d   \5        WV4        \7        V4      P8                  p V! WV4       Km  	  \        V9   d   VPA                  4        V# u upi   \:         d7   pTP=                  R\7        T4      P>                  : RT: RT: 24       h Rp?ii ; i  \.         d     K  i ; i)r  zQuses of super() and __class__ are unsupported in methods of NamedTuple subclassesz3can only inherit from a NamedTuple type and Genericc              3   D   "   T F  q\         J d   \        MTx  K  	  R # 5ir   )_NamedTupler   )r   r   s   & ry   r   )NamedTupleMeta.__new__.<locals>.<genexpr>  s     O{2e<s    r  Nzfield annotation must be a typec                    < \         P                  SV 4      pV \         P                  P                  8w  d4   VP	                  4        UUu/ uF  w  r#V\        VR V R24      bK  	  upp# V# u uppi )r  r  )ru   call_annotate_functionr  r  rS  r   )r   r#  rt  r)  original_annotates   &   ry   r  (NamedTupleMeta.__new__.<locals>.annotate  su    +BB%v/077>>>,1KKM;,9  SF3%?Y2Z![[,9; ;;s   
A,c                     / # r   r}   r  s   &ry   <lambda>(NamedTupleMeta.__new__.<locals>.<lambda>  s    br|   zNon-default namedtuple field z cannot follow default fields  r   r   r  z&Cannot overwrite NamedTuple attribute zError calling __set_name__ on z
 instance z in )!r   r  r   r   r   r  ru   !get_annotate_from_class_namespacer  r  r  r  r   r   r   r   r  r  r  classmethod__class_getitem__rS  _prohibitedrN  _special_fieldsr(  r   __set_name__BaseExceptionadd_noter~   r?  )r   typenamerT  nsr   r  field_namesr  r   default_names
field_namenr  class_getitemrt  r)  set_namerH  r  s   &&&&              @ry   r  NamedTupleMeta.__new__  s   b ce eD;&4w+>IK K  OOOOO"()Eu+K+E2H#6#X#XY[#\\i'>>!#6#=#=#H#HJEu+K ||~C!BC & K(H%J$$Z0"?
| L>*-m*<q*@3b"I#'99]#;"<!> ? ?	 & xh8E(F1A(F&(&68 !e2M'2='AF$
HCk!$%MPS%STTH$nn,F-#Cy55H c2 #( e$$&; )G( ) 

<T#Y=O=O<R S((+wd8,@  & s0   ?I##J,9	I((J)31J$$J),J;:J;r}   Nr  r   s   @ry   r  r    s     I Ir|   r  c                H   V\         J d+   V'       d   R pRpMdRpRV  RV : R2pRV,           R,           pMGVf1   V'       d   \        R	4      hR
pRV  RV : R2pRV,           R,           pMV'       d   \        R4      hV\         J g   Vf)   ^ RIpVP                  XXRR7       VP	                  4       pV UUu/ uF  w  rxV\        VRV R24      bK  	  p	ppV UU
u. uF  w  rzVNK	  	  ppp
\        W\        V	4      \        4       R7      p\        3Vn
        V# u uppi u up
pi )z3Creating NamedTuple classes using keyword argumentszq{name} is deprecated and will be disallowed in Python {remove}. Use the class-based or functional syntax instead.2Failing to pass a value for the 'fields' parameter`z = NamedTuple(z, [])`z{name} is deprecated and will be disallowed in Python {remove}. To create a NamedTuple class with 0 fields using the functional syntax, pass an empty list, e.g. r   Nz\Cannot pass `None` as the 'fields' parameter and also specify fields using keyword arguments(Passing `None` as the 'fields' parameterzIEither list of fields or keywords can be provided to NamedTuple, not bothmessager  r  r  r   ry  )r,  r   r  r  rS  r   r  r  r  rF   r  )r  r  r  deprecated_thingdeprecation_msgexampler  r  r   r  r  r  nts   "",          ry   rF   rF     st   ( TD 
  T(>(VDG, 
 O 
B 
  J(>(VDG, 
 O 
 C D 	Dfn-wW! As*DEFF 
 !!'(1K(	x.B5.IRYR[	\B#BI!(s   7DDc                     \         3# r   )r  rT  s   &ry   _namedtuple_mro_entriesr    s
    >r|   c              #   @  "    \        V 4      pV\        J d!   \        V 4      pV'       d   V^ ,          p K4  R# V\        J d   \        x  \        V 4      w  p KW  V\        J d   \        x  \        V 4      w  p Kx  V\
        J d   \
        x  \        V 4      w  p K  R# 5iTN)rW   r   rV   rg   rc   rf   )annotation_typeannotation_originannotation_argss   &  ry   _get_typeddict_qualifiersr    s     
&7	)&7O"1!"4(*N!)/!:_+-!)/!:_(*N!)/!:_s   BBc                   8   a  ] tR tRt o RR lt]tR t]tRt	V t
R# )r  i4  c                F  aaaaaa S F-  p\        V4      \        Jg   K  V\        Jg   K$  \        R 4      h	  \        ;QJ d    R S 4       F  '       g   K   RM	  RM! R S 4       4      '       d	   \        3pMRpVP                  RR4      p\         P                  \        V. VO\        N5V4      o\        SR4      '       g   SSn	        Ve   RoVoMN\        P                  V4      ;oe2   \        P                  S\        P                  P                  SR7      oMRo/ oRoSP                  4        UU	u/ uF  w  rV\!        V	SSSP"                  R	7      bK!  	  up	po\%        4       p
\%        4       p\%        4       p\%        4       pS F  pVP&                  P)                  R
\%        4       4      pW,          p
W,          pVP&                  P)                  R\%        4       4      pW,          p
W,          pVP+                  VP&                  P)                  RR4      4       VP+                  VP&                  P)                  RR4      4       K  	  SP                  4        F  w  pp\%        \-        V4      4      p\.        V9   d   RpM\0        V9   d   RpMTpV'       d$   V
P3                  V4       VP5                  V4       M"VP3                  V4       V
P5                  V4       \6        V9   d+   VV9   d   \        RV: R24      hVP3                  V4       K  VP3                  V4       VP5                  V4       K  	  VVVVVV3R lpVSn        \;        V
4      Sn        \;        V4      Sn        \;        V4      Sn         \;        V4      Sn!        VSn"        S# u up	pi )zHcannot inherit from both a TypedDict type and a non-TypedDict base classc              3   B   "   T F  p\        V\        4      x  K  	  R # 5ir   )r  r   r(  s   & ry   r   )_TypedDictMeta.__new__.<locals>.<genexpr>B  s     5u!z!W%%us   TFr  Nr  r   z?TypedDict('Name', {f0: t0, f1: t1, ...}); each t must be a type)r   r   __required_keys____optional_keys____readonly_keys____mutable_keys__zCannot override mutable key z with read-only keyc                   < / pS FI  pV\         J d   K  VP                  pVf   K!  \        P                  W0VR7      pVP	                  V4       KK  	  S
es   \        P                  S
V SR7      pV \        P
                  P                  8w  d;   VP                  4        UUu/ uF  w  rgV\        VS	SP                  R7      bK   	  pppM|V \        P
                  P                  8X  d   \        P                  S4      pMGV \        P
                  P                  \        P
                  P                  39   d   SpM\        V 4      hVP	                  V4       V# u uppi )Nr  r  )r   r   ru   r  rP  r  r  rS  r   r   r  r  r  r|  )r   r#  r   base_annotate
base_annosownr  rh  rT  r   own_annotateown_annotationsown_checked_annotationstp_dicts   &       ry   r   ,_TypedDictMeta.__new__.<locals>.__annotate__  sD   E7? $ 1 1 (0GG! H 7
Z(  ')@@ & A 9077>>> &)YY[%0EA ;r3w7I7IJJ%0   .55<<<)??P/66AACVC]C]CcCcdd-)&11LLLs   !$Er}   )#r   r  r   r   r  r]  r  r   r   r  ru   r  r  r  r  rS  r   r   r  r   r0  rP  r  rg   rc   r  discardrf   r   r  r  r   r!  r"  	__total__)r   r  rT  r  totalr   generic_basens_annotationsr  rh  required_keysoptional_keysreadonly_keysmutable_keysbase_requiredbase_optionalannotation_keyr  
qualifiersis_requiredr   r   r'  r(  r)  r*  s   &&f&&                @@@@@ry   r  _TypedDictMeta.__new__5  sD    DDz/D4G !A B B 
 35u53335u555#:LL 148,,~t5J|5JT5JBOw 011%*G"%L,O1SSTVWWld1HH188CC7 I O  L OO )..0#
0 {2s'':L:LMM0#
 uD MM--.A35IM*M*M MM--.A35IM*M*M  !2!23F!KL 1 12Db IJ  0G/L/L/N+NO6GHJ:%"
*##!!.1%%n5!!.1%%n5:%!\1#6~6H-.  !!.1  0%%n53 0O@	 	8  ,$-m$<!$-m$<!$-m$<!#,\#: !o#
s   :%Nc                    \        R 4      h)z4TypedDict does not support instance and class checksr>  )r   rg  s   &&ry   rv   _TypedDictMeta.__subclasscheck__  s    NOOr|   r}   Nr  )r~   r   r   r   r  r   rb  rv  rq  r   r   r   s   @ry   r  r  4  s!     {z HP *r|   r  r.  c                  V\         J g   VfC   ^ R IpV\         J d   RpMRpRV  RV : R2pRV,           R,           pVP                  WFRR7       / pR	\        V4      /p\	        4       pVe   WR
&   \        V RWrR7      p	\        3V	n        V	# )Nr  r	  r  z = TypedDict(z, {{}})`z{name} is deprecated and will be disallowed in Python {remove}. To create a TypedDict class with 0 fields using the functional syntax, pass an empty dictionary, e.g. r   r
  r  r   )r.  ry  r}   )r,  r  r  r   r  r  rG   r  )
r  r  r.  r  r  r  r  r  r   tds
   ""$       ry   rG   rG     s    n fnYSIhZ}XLE. 
  	-wW
T&\	*BYF!<	"b	6B"BIr|   c                     \         3# r   )
_TypedDictr  s   &ry   r  r    s    :-r|   c                 J    \        WP                   R 24      p\        W34      # z accepts only a single type.r   rH  r   r  s   && ry   rg   rg     s'    ( zjj\1M#NODw''r|   c                 J    \        WP                   R 24      p\        W34      # rB  rC  r  s   && ry   rc   rc   *  s'     zjj\1M#NODw''r|   c                 J    \        WP                   R 24      p\        W34      # rB  rC  r  s   && ry   rf   rf   =  s'      zjj\1M#NODw''r|   c                   H   a  ] tR tRt o ]tR tR tR tR t	R t
R tRtV tR	# )
r_   iQ  c                    Wn         R V9   d   VP                  R 4      R,          pWn        W n        \	        4       pVR8w  d	   W0n        R# R# )r   typingNr   )r   
rpartitionr~   __supertype__r  r   )rw   r  rh  def_mods   &&& ry   rK  NewType.__init__i  sF     $;??3'+D)h%O r|   c                <   a V P                   o ! V3R  lR4      pV3# )c                   .   <a  ] tR tRt o V3R ltRtV tR# )&NewType.__mro_entries__.<locals>.Dummyix  c           	     H   < V P                   p\        R V RV: RS R24      h)zGCannot subclass an instance of NewType. Perhaps you were looking for: `z = NewType(r   z)`)r~   r   )r   subclass_namesuperclass_names   & ry   r?  8NewType.__mro_entries__.<locals>.Dummy.__init_subclass__y  s:     #%k-1B"_DUUWY r|   r}   N)r~   r   r   r   r?  r   r   )r   rR  s   @ry   DummyrO  x  s      r|   rT  )r~   )rw   rT  rT  rR  s   && @ry   rU  NewType.__mro_entries__s  s!     --	 	 xr|   c                8    V P                    R V P                   2# )r   )r   r   r  s   &ry   r  NewType.__repr__  s    //"!D$5$5#677r|   c                    V P                   # r   )r   r  s   &ry   r^  NewType.__reduce__  s       r|   c                    \         W3,          # r   re  rf  s   &&ry   rh  NewType.__or__  rj  r|   c                    \         W3,          # r   re  rf  s   &&ry   rl  NewType.__ror__  rn  r|   )r   r~   r   rJ  N)r~   r   r   r   r   rb  rK  rU  r  r^  rh  rl  r   r   r   s   @ry   r_   r_   Q  s/     , H&8!"" "r|   c                     a  ] tR tRt o R+t]]V 3R lR l4       4       t]]V 3R lR l4       4       t]V 3R lR l4       t	]]V 3R lR	 l4       4       t
]V 3R
 lR l4       t]V 3R lR l4       t]V 3R lR l4       t]R,V 3R lR ll4       t]V 3R lR l4       t]R,V 3R lR ll4       t]R,V 3R lR ll4       t]R-V 3R lR ll4       t]V 3R lR l4       t]V 3R lR l4       t]R.V 3R lR  ll4       t]V 3R! lR" l4       t]V 3R# lR$ l4       t]V 3R% lR& l4       t]V 3R' lR( l4       t]V 3R) lR* l4       tR+tV tR# )/rJ   i  c                    < V ^8  d   QhRS[ /# r  r
  )r   r   s   "ry   r   IO.__annotate__        c r|   c                    R # r   r}   r  s   &ry   modeIO.mode       	r|   c                    < V ^8  d   QhRS[ /# r  r
  )r   r   s   "ry   r   r`    ra  r|   c                    R # r   r}   r  s   &ry   r  IO.name  re  r|   c                   < V ^8  d   QhRR/# r   r	  Nr}   )r   r   s   "ry   r   r`          t r|   c                    R # r   r}   r  s   &ry   closeIO.close  r  r|   c                    < V ^8  d   QhRS[ /# r  r   )r   r   s   "ry   r   r`           r|   c                    R # r   r}   r  s   &ry   closed	IO.closed  re  r|   c                    < V ^8  d   QhRS[ /# r  r  )r   r   s   "ry   r   r`    s       r|   c                    R # r   r}   r  s   &ry   fileno	IO.fileno  r  r|   c                   < V ^8  d   QhRR/# rj  r}   )r   r   s   "ry   r   r`    rk  r|   c                    R # r   r}   r  s   &ry   flushIO.flush  r  r|   c                    < V ^8  d   QhRS[ /# r  r   )r   r   s   "ry   r   r`    rp  r|   c                    R # r   r}   r  s   &ry   isatty	IO.isatty  r  r|   c                &   < V ^8  d   QhRS[ RS[/# )r   r  r	  r  rN   )r   r   s   "ry   r   r`    s      c 6 r|   c                    R # r   r}   )rw   r  s   &&ry   readIO.read  r  r|   c                    < V ^8  d   QhRS[ /# r  r   )r   r   s   "ry   r   r`          $ r|   c                    R # r   r}   r  s   &ry   readableIO.readable  r  r|   c                &   < V ^8  d   QhRS[ RS[/# )r   limitr	  r  )r   r   s   "ry   r   r`    s      c 6 r|   c                    R # r   r}   )rw   r  s   &&ry   readlineIO.readline  r  r|   c                6   < V ^8  d   QhRS[ RS[S[,          /# )r   hintr	  )r  r   rN   )r   r   s   "ry   r   r`    s      c 4< r|   c                    R # r   r}   )rw   r  s   &&ry   	readlinesIO.readlines  r  r|   c                ,   < V ^8  d   QhRS[ RS[ RS[ /# )r   offsetwhencer	  r  )r   r   s   "ry   r   r`    s"      3  C r|   c                    R # r   r}   )rw   r  r  s   &&&ry   seekIO.seek  r  r|   c                    < V ^8  d   QhRS[ /# r  r   )r   r   s   "ry   r   r`    r  r|   c                    R # r   r}   r  s   &ry   seekableIO.seekable  r  r|   c                    < V ^8  d   QhRS[ /# r  r  )r   r   s   "ry   r   r`    ra  r|   c                    R # r   r}   r  s   &ry   tellIO.tell  r  r|   Nc                4   < V ^8  d   QhRS[ R,          RS[ /# )r   sizeNr	  r  )r   r   s   "ry   r   r`    s      S4Z 3 r|   c                    R # r   r}   )rw   r  s   &&ry   truncateIO.truncate  r  r|   c                    < V ^8  d   QhRS[ /# r  r   )r   r   s   "ry   r   r`    r  r|   c                    R # r   r}   r  s   &ry   writableIO.writable  r  r|   c                &   < V ^8  d   QhRS[ RS[/# r   r  r	  )rN   r  )r   r   s   "ry   r   r`    s      v # r|   c                    R # r   r}   rw   r  s   &&ry   writeIO.write  r  r|   c                4   < V ^8  d   QhRS[ S[,          RR/# )r   linesr	  N)r   rN   )r   r   s   "ry   r   r`    s      V  r|   c                    R # r   r}   )rw   r  s   &&ry   
writelinesIO.writelines  r  r|   c                0   < V ^8  d   QhRS[ S[,          /# r  )rJ   rN   )r   r   s   "ry   r   r`    s      2f: r|   c                    R # r   r}   r  s   &ry   	__enter__IO.__enter__  r  r|   c                   < V ^8  d   QhRR/# rj  r}   )r   r   s   "ry   r   r`    s      $ r|   c                    R # r   r}   )rw   r   r  	tracebacks   &&&&ry   __exit__IO.__exit__  r  r|   r}   )r   r  r   )r~   r   r   r   r  r  r   rc  r  rm  rr  rv  rz  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r   s   @ry   rJ   rJ     s     I                                               r|   c                   \   a  ] tR tRt o Rt]V 3R lR l4       t]V 3R lR l4       tRtV t	R# )rI   i  c                6   < V ^8  d   QhRS[ S[,          RS[/# r  )r  	bytearrayr  )r   r   s   "ry   r   BinaryIO.__annotate__   s       uy( S r|   c                    R # r   r}   r  s   &&ry   r  BinaryIO.write  r  r|   c                    < V ^8  d   QhRS[ /# r  rI   )r   r   s   "ry   r   r    s      8 r|   c                    R # r   r}   r  s   &ry   r  BinaryIO.__enter__  r  r|   r}   N)
r~   r   r   r   r  r   r  r  r   r   r   s   @ry   rI   rI     s2      I   r|   c                      a  ] tR tRt o Rt]]V 3R lR l4       4       t]]V 3R lR l4       4       t]]V 3R lR l4       4       t	]]V 3R lR	 l4       4       t
]]V 3R
 lR l4       4       t]V 3R lR l4       tRtV tR# )rM   i  c                    < V ^8  d   QhRS[ /# r  r  )r   r   s   "ry   r   TextIO.__annotate__  s       r|   c                    R # r   r}   r  s   &ry   bufferTextIO.buffer  re  r|   c                    < V ^8  d   QhRS[ /# r  r
  )r   r   s   "ry   r   r          # r|   c                    R # r   r}   r  s   &ry   encodingTextIO.encoding  re  r|   c                .   < V ^8  d   QhRS[ R,          /# rj  r
  )r   r   s   "ry   r   r    s      d
 r|   c                    R # r   r}   r  s   &ry   errorsTextIO.errors  re  r|   c                    < V ^8  d   QhRS[ /# r  r   )r   r   s   "ry   r   r    s       r|   c                    R # r   r}   r  s   &ry   line_bufferingTextIO.line_buffering  re  r|   c                    < V ^8  d   QhRS[ /# r  )r   )r   r   s   "ry   r   r  #  r  r|   c                    R # r   r}   r  s   &ry   newlinesTextIO.newlines!  re  r|   c                    < V ^8  d   QhRS[ /# r  )rM   )r   r   s   "ry   r   r  '  s      6 r|   c                    R # r   r}   r  s   &ry   r  TextIO.__enter__&  r  r|   r}   N)r~   r   r   r   r  r  r   r  r  r  r  r  r  r   r   r   s   @ry   rM   rM     s      I                r|   c                  $   a R 5;o3V3R lR lu6# )r  c                "   < V ^8  d   QhRSRS/# )r   r   r	  r}   )r   r  s   "ry   r   r   +  s        r|   c                j    \        R \        V 4      P                  : 2\        P                  R7       V # )zRuntime type is )file)printr   r~   r.  stderrr   s   "ry   rh   rh   +  s*     
T#Y//2
3#**EJr|   r}   )	.defaultsr  s    @ry   #<generic parameters of reveal_type>r  +  s      r|   c                   6   a  ] tR tRt o V 3R l! 4       tRtV tR# )_IdentityCallablei>  c                  (   <a R 5;o3VV3R lR lu6# )r  c                &   < V ^8  d   QhRSZRSZ/# rl  r}   )r   r  r   s   "ry   r   _IdentityCallable.__annotate__?  s      q  r|   c                    R # r   r}   r  s   ""ry   rb  _IdentityCallable.__call__?  s    r|   r}   )r  r  r   s    @ry    <generic parameters of __call__>2_IdentityCallable.<generic parameters of __call__>?  s      r|   r}   N)r~   r   r   r   rb  r   r   r   s   @ry   r  r  >  s       r|   r  
eq_defaultorder_defaultkw_only_defaultfrozen_defaultfield_specifiersc                    V ^8  d   QhR\         R\         R\         R\         R\        \        \        ,          \        R\        3,          ,          R3,          R\        R\
        /# )	r   r  r  r  r  r  .r  r	  )r   r   r   r   r   r  )r   s   "ry   r   r   C  su     Q QQ Q 	Q
 Q DIc(::C?@Q Q Qr|   c                 (   a aaaaa V VVVVV3R  lpV# )c                 .   < R SRSRSRSRSRS/V n         V # )r  r  r  r  r  r  )__dataclass_transform__)	cls_or_fnr  r  r  r  r  r  s   &ry   r  &dataclass_transform.<locals>.decorator  s4    *]n 0f-
	) r|   r}   )r  r  r  r  r  r  r  s   dddddl ry   rS   rS   C  s    N	 	 r|   _Funcr`  c                :    V ^8  d   Qh\         R\        3,          # )r   .)r   r   .formats   "ry   r  r    s      Xc3h r|   c                  ,   a R RR l6;o3V3R lR lu6# )Fr`  c                     V ^8  d   Qh\         # r   )r  r  s   "ry   r  r    s    r|   c                "   < V ^8  d   QhRSRS/# )r   methodr	  r}   )r   r  s   "ry   r   r     s        q    r|   c                F     R V n         V #   \        \        3 d     T # i ; ir  )__override__rN  r   )r  s   "ry   re   re     s6    2" M I&  	Mr  r}   )r  r  s    @ry    <generic parameters of override>r
    s    XX    r|   c                0    V ^8  d   QhR\         R\        /# r   rh  r	  r  )r   s   "ry   r   r     s      D  r|   c                n    \        V \        4      ;'       d    \        V R R4      ;'       d
    V \        8g  # )r  F)r   r   rv   r   rg  s   "ry   r[   r[     s:     	2t 	 	B.	 	(Nr|   c                F    V ^8  d   QhR\         R\        \        ,          /# r  )r   r  r   )r   s   "ry   r   r     s     , ,T ,3 ,r|   c                l    \        V 4      '       g   \        V : R 24      h\        V P                  4      # )z is not a Protocol)r[   r   r  r  rg  s   "ry   rY   rY     s1     r??2& 2344R**++r|   c                    V R 8X  d   \         P                  pMV R	9   d   ^ RIp\        \	        W 4      ^4      pMwV R
9   d.   ^ RIp\        \	        VRV  24      ^V \        R,          3R7      pMCV R8X  d&   ^ RIpRpVP                  V\        ^R7       \        pM\        R\        : RV : 24      hV\        4       V &   V# )r   NAbstract)r  rh  _collect_parameterszThe private _collect_parameters function is deprecated and will be removed in a future version of Python. Any use of private functions is discouraged and may break in the future.r  zmodule z has no attribute >   rK   rL   >   r    r4   )ru   r   re_aliasrv   r  r   r  r  r  r   rN  r~   r!  )rx   r   r  r  r  r  s   &     ry   rz   rz     s     |!,,	%	%WR&*	:	:WZ8D6):;QTUY\`U`Tbc	&	&; 	
 	l-?AN&wxl2DTHMNNGIdOJr|   r   r  >   r  r  r  r   r  r  r  r  >   rI  r  r   rK  r  r   rA  r   __match_args__r  r   r  __annotate_func__r  __abstractmethods____annotations_cache__r   )r  __main__r   )r   r.   r#   r$   r0   r/   r!   r,   r   r2   r5   Buffer)NNFr  r   r}   )r}   >
   _maker  _asdictr  _sourcerK  _replacer  __getnewargs___field_defaults>   r~   r   r   r  r  r  )r   r   r   r   r   collections.abccopyregr   r3  r.  r  r   _typingr   r   r	   r
   r   r   r   r   r   r   __all__rr   ru   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r,  r  r(  r;  rC  r   r}  r   r  r   rb   r^   rj   r]   r   r   r   r   rm   r   rn   ro   r   rT   r   r  r  r  r  r  r  r  r	  r  r   rg  r  r  r  r  r  r  r  r   r   rp   r  r8  _TYPING_INTERNALS_SPECIAL_NAMESr  r  r  r  r  r  r  r  r   r  r  pickler  rq  r  rv  r  r	  r  r  r  r   r,  r   ri   rQ   rO   rZ   rR  rT  rW   rV   r\   rn  rP   r`   ra   r}  partialr   r  rd   rX   rR   rU   r  r  r  r  r  r  r  r  r  r   rN   r  r!   r.   r1   r0   r/   r#   r$   r5   r,   r   r2   r   rI  rD   r   r*   r&   r(   r+   r)   r   r   r   r   rB   dequer?   r  rE   r'   r%   r"   r-   r@   rA   rC   r>   r=   rH   NoneTyper3   r   r;   r9   r8   r7   r:   r6   r<   r  r  r  r  r  rF   r  r  r  rU  r  r  rG   r@  rg   rc   rf   r_   rk   rl   rJ   rI   rM   rh   r  rS   r  re   r[   rY   rz   r}   r|   ry   <module>r+     s  * (  #     
    uu 
u 	u
 u u u u u u u u u u u  !u" #u$ %u* +u, -u. /u0 1u2 3u4 5u6 7u8 9u: ;u< =u> ?u@ AuB CuD EuF GuH IuJ KuL MuN OuP QuR SuT UuV WuX Yu^ _u` aub cud euf guh iuj kul mur sut uuv wux yuz {u| }u~ u@ 
AuB CuD EuF GuH IuN OuP 	QuR SuT UuV Wu\ ]u^ _u` aub cud euf guh iuj kul mun oup qur sut uuv wux yuz {u| }u~ u@ AuB CuD EuF GuH IuJ KuL MuN OuP QuR SuT UuV WuX YuZ [u\ ]u^ _u` aub cud euf guh iun, , )* 5  PU ]a B@
0./t /dS>  	
U >
K  K	 2; <y{ <<"&<6:<NS<~F F ((/6<t (/V0\ 0	"t 	"$H $$ 4 4( 4 40 4 4& 4 44 ( (* ( (* " "
 
2  2B 4 4  6 62 4( 4(n A( A(H	T 	; ; 	;
 ; ; ; [;|F
O&R" -$ -$`#&L9VTd VTHZ%T ZB9!<):$ 9!x/2$ /2L-t 2"&( &B&%T &T ,!#9 !.D= D)}D ) /: /:d:-t ::3 3        (.8<U;VV .(:	8  
 +-JK8X
:,	    
  *66 7/ }n -3  0 1$ .. .. >"TG Tn  :24w- 24j1"lM 1"h 
9-  9-x'T r]!r]n	2<4*$ !$ O2!H": !!2!2;!EF &R	3
!N CLT]T]v&v&4(:T24t4
 
5#	& 
+//**A.;??,,a0	;??,,a0	{44a8{44a8+//**A.+//**A.KOO..2
{$$a(;??,,a0	KOO..2
1115 	  [__((!-@KOO..2

((!
,66:+//**A.88!<$OO7
 	5"5w7	  dAE/{  !'2S!%e,9ae+>	[__00!4+//**A.;??,,a0	KOO..2
dAE/[,,amD[,,a0
$$a
(+&&*;??,,a5>>5>>:Z[	66U^^DUVdAE/ 2 (   H   h   H   H        D E  D EJT JZ !* @D ll><R@ 5
 ,D*T D*N  ) Qd Qf \\.+r2>
7	  ( (. ( ($ ( (&;" ;"~  ` `Fr%y  RW  F & 
QQ  Q "	Q
 !Q DFQ Qh      F*,&r|   