+
    WBi4                        ^ 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	 ^ RI
HtHt ^ RIHt ]! ]]4      t/ t ! R R]P$                  4      t ! R R	4      tR
 tR t]t R tR tR/ / ]^3R ltRR ltR tR tR# )    N)PyGIDeprecationWarning)CallableInfopygobject_new_full)	TYPE_NONETYPE_INVALID)extend_pathc                   X   a a ] tR t^t oRtRtV 3R ltR tR tV 3R lt	R t
RtVtV ;t# )OverridesProxyModulez7Wraps a introspection module and contains all overridesc                T   < \         SV `  VP                  4       Wn        / V n        R # N)super__init____name___introspection_module_deprecations)selfintrospection_module	__class__s   &&:/usr/lib/python3.14/site-packages/gi/overrides/__init__.pyr   OverridesProxyModule.__init__   s%    -667%9"    c                    WP                   9   d0   V P                   V,          w  r#\        P                  ! V^R7       V# \        V P                  V4      # )   
stacklevel)r   warningswarngetattrr   )r   namevaluewarnings   &&  r   __getattr__ OverridesProxyModule.__getattr__   sF    %%%!//5NEMM'a0Lt11488r   c                    R pWP                   9   d   V P                   V RpWP                  9   d   V P                  V Rp \        V P                  V4       R#   \         d    T'       g   h  R# i ; i)FTN)__dict__r   delattrr   AttributeError)r   r   founds   && r   __delattr__ OverridesProxyModule.__delattr__&   sp    == d#E%%%""4(E	D..5 	 	s   A A2-A21A2c                   < \        \        SV `	  4       4      pVP                  V P                  P                  4       4       VP                  \        V P                  4      4       \        V4      # r   )	setr   __dir__updater   keysdirr   sorted)r   resultr   s   & r   r-   OverridesProxyModule.__dir__5   sP    UW_&'d((--/0c$4456f~r   c                P    R \        V 4      P                   RV P                  : R2# )< >)typer   r   )r   s   &r   __repr__OverridesProxyModule.__repr__;   s)    4:&&'q)C)C(FaHHr   )r   r   )r   
__module____qualname____firstlineno____doc__	__slots__r   r"   r)   r-   r9   __static_attributes____classdictcell____classcell__)r   __classdict__s   @@r   r
   r
      s-     A:I 
9I Ir   r
   c                   <   a  ] tR t^?t o RtR tR tR tR tRt	V t
R# )_DeprecatedAttributezA deprecation descriptor for OverridesProxyModule subclasses.

Emits a PyGIDeprecationWarning on every access and tries to act as a
normal instance attribute (can be replaced and deleted).
c                P    W n         W0n        \        V R V RV R24      V n        R# ). is deprecated; use  insteadN)_attr_valuer   _warning)r   	namespaceattrr    replacements   &&&&&r   r   _DeprecatedAttribute.__init__F   s/    
.k4& 4[MJ
r   c                    Vf   \        V P                  4      h\        P                  ! V P                  ^R7       V P
                  # )Nr   )r'   rJ   r   r   rL   rK   )r   instanceowners   &&&r   __get___DeprecatedAttribute.__get__M   s3     ,,dmm2{{r   c                `    V P                   p\        \        V4      V4       \        WV4       R # r   )rJ   r&   r8   setattr)r   rR   r    rN   s   &&& r   __set___DeprecatedAttribute.__set__S   s#    zzX%&r   c                D    \        \        V4      V P                  4       R # r   )r&   r8   rJ   )r   rR   s   &&r   
__delete___DeprecatedAttribute.__delete__Y   s    X

+r   )rJ   rK   rL   N)r   r;   r<   r=   r>   r   rT   rX   r[   r@   rA   )rC   s   @r   rE   rE   ?   s#     
', ,r   rE   c           
        V P                   P                  R^4      R,          pRV,           pV\        P                  9   p\        P                  P	                  V4      p\        V 4      pV\        P                  V&   ^RIHp \        VR4      '       g   Q hWVV&    RV,           p\        P                  P                  V4      pVe   VP                  MRp	V	f2   T Wa \        P                  V V'       d   V\        P                  V&   # # \        P                  ! V4      p
Wa \        P                  V V'       d   V\        P                  V&   YUn        . p\        T
R4      '       d   T
P                  pT F  p \        Y4      p\%        Y\T4       K  	  \&        P)                  T. 4       F?  w  r \        Y^4      p\-        Y^4       T\/        T RT R	T R
24      3TP0                  T&   KA  	  T#   Ya \        P                  T T'       d   T\        P                  T&   i i ; i  \         \"        3 d     K  i ; i  \          d    \+        T R24      hi ; i)zLoads overrides for an introspection module.

Either returns the same module again in case there are no overrides or a
proxy module including overrides. Doesn't cache the result.
rG   gi.repository.)modulesr   zgi.overrides.N__all__z/ was set deprecated but wasn't added to __all__rH   rI   )r   rsplitsysr_   getr
   importerhasattr	importlibutil	find_specloaderimport_module_overrides_moduler`   r   r'   	TypeErrorrW   _deprecated_attrspopAssertionErrorr&   r   r   )r   rM   
module_keyhas_old
old_moduleproxyr_   override_package_namespecoverride_loaderoverride_modoverride_allvaritemrN   rO   r    s   &                r   load_overridesr|   ^   sQ    %--44S!<R@I!I-J CKK'G,J !56E#CKK
 #512222I1 /) ;~~''(=>)-)9$++t "'
 KK
#&0CKK
#  !../DE KK
#&0CKK
# $L|Y''#++	<-D 	D!  /229bA	E(E
 	"+Qtf$8XN%
D! B LS KK
#&0CKK
# " 	* 		  	 &GH 	s0   ?G1 G1 ;H%2H=11H"%H:9H:=Ic                  a \        V \        4      '       dL   T pVP                  P                  R^4      R,          p\        P
                  RV,           ,          oV3R lpV# \        V \        P                  4      '       d   \        RV  24      h \        V R4      pT P                  P                  R4      '       g   \        R	T  R
T P                   R24      hTP                  4       pT\        8w  g   Q hT\         8w  d   Yn        T P                  P                  R^4      R,          p\        P
                  RT,           ,          o\%        ST P                  T 4       T #   \         d    \        RT P                   R24      hi ; i)zDecorator for registering an override.

Other than objects added to __all__, these can get referenced in the same
override module via the gi.repository module (get_parent_for_object() does
for example), so they have to be added to the module immediately.
rG   r^   c                 6   < \        SV P                  V 4       V # r   )rW   r   )funcmodules   &r   wrapperoverride.<locals>.wrapper   s    FDMM40Kr   z func must be a gi function, got __info__zCan not override a type z1, which is not in a gobject introspection typelibzgi.overrideszNYou have tried override outside of the overrides module. This is not allowed (, )ra   )
isinstancer   r;   rb   rc   r_   typesFunctionTyperm   r   r'   r   
startswithKeyError
get_g_typer   r   pytyperW   )type_r   rM   r   infog_typer   s   &     @r   overrider      sq    %&&OO**3226	-	9:	 %++,,:5'BCC
uj) &&~66$$)7"U-=-=,>aA
 	

 __FY  ''Q/3I[[)I56FFENNE*L+  
&u~~&6 7$ $
 	

s   E# #%Fc                J   a a \         P                  ! S 4      V V3R l4       pV# )z8Decorator for marking methods and classes as deprecated.c                  n   < \         P                  ! SP                   R S R2\        ^R7       S! V / VB # )rH   rI   r   )r   r   r   r   )argskwargsfnrO   s   *,r   wrappeddeprecated.<locals>.wrapped   s<    {{m/}HE"	

 4"6""r   	functoolswraps)r   rO   r   s   ff r   
deprecatedr      s'     __R# # Nr   c                R    \         P                  V . 4      P                  W34       R# )a  Marks a module level attribute as deprecated. Accessing it will emit
a PyGIDeprecationWarning warning.

e.g. for ``deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")``
accessing GObject.STATUS_FOO will emit:

    "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead"

:param str namespace:
    The namespace of the override this is called in.
:param str namespace:
    The attribute name (which gets added to __all__).
:param str replacement:
    The replacement text which will be included in the warning.
N)rn   
setdefaultappend)rM   rN   rO   s   &&&r   deprecated_attrr      s"        B/667JKr   c                ,   a aaaaaa VVVVVVV 3R lpV# )a  Wrapper for deprecating GObject based __init__ methods which specify
defaults already available or non-standard defaults.

:param callable super_init_func:
    Initializer to wrap.
:param list arg_names:
    Ordered argument name list.
:param list ignore:
    List of argument names to ignore when calling the wrapped function.
    This is useful for function which take a non-standard keyword that is munged elsewhere.
:param dict deprecated_aliases:
    Dictionary mapping a keyword alias to the actual g_object_newv keyword.
:param dict deprecated_defaults:
    Dictionary of non-standard defaults that will be used when the
    keyword is not explicitly passed.
:param Exception category:
    Exception category of the error.
:param int stacklevel:
    Stack level for the deprecation passed on to warnings.warn
:returns: Wrapped version of ``super_init_func`` which gives a deprecation
    warning when non-keyword args or aliases are used.
:rtype: callable
c                  < V'       dZ   \         P                  ! RP                  RP                  SR\	        V4       4      4      S	SR7       \        \        SV4      4      pM/ pVP                  V4       . pS
P                  4        F1  w  rVWc9   g   K  VP                  V4      W5&   VP                  V4       K3  	  V'       dd   \         P                  ! RP                  RP                  V
3R l\        V4       4       4      RP                  \        V4      4      4      S	SR7       . pS F'  pWS9  g   K  SV,          W5&   VP                  V4       K)  	  V'       dK   \         P                  ! RP                  RP                  V3R l\        V4       4       4      4      S	SR7       S F  pWS9   g   K  VP                  V4       K  	  S! V 3/ VB # )	zvInitializer for a GObject based classes with support for property
sets through the use of explicit keyword arguments.
zUsing positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "{}" or use a class specific constructor. See: https://wiki.gnome.org/Projects/PyGObject/InitializerDeprecationsr   Nr   zThe keyword(s) "{}" have been deprecated in favor of "{}" respectively. See: https://wiki.gnome.org/Projects/PyGObject/InitializerDeprecationsc              3   6   <"   T F  pSV,          x  K  	  R # 5ir    ).0kdeprecated_aliasess   & r   	<genexpr>4deprecated_init.<locals>.new_init.<locals>.<genexpr>E  s     R=Q033=Qs   zInitializer is relying on deprecated non-standard defaults. Please update to explicitly use: {} See: https://wiki.gnome.org/Projects/PyGObject/InitializerDeprecationsc              3   >   <"   T F  q R SV,           2x  K  	  R# 5i)=Nr   )r   r   deprecated_defaultss   & r   r   r   X  s%      AVA#Q21567AVs   )r   r   formatjoinlendictzipr.   itemsro   r   r1   )r   r   r   
new_kwargsaliases_usedkeyaliasdefaults_used	arg_namescategoryr   r   ignorer   super_init_funcs   &*,     r   new_init!deprecated_init.<locals>.new_init&  s   
 MMYY_Y_IIi#d)45Z % c)T23JJ&! ,224JC"",.."7
##C( 5
 MMYY_Y_IIRVL=QRRIIf\23Z % &C$"5c":
$$S) '
 MMYY_Y_II AGAV Z
 %
 C s#  t2z22r   r   )r   r   r   r   r   r   r   r   s   fffffff r   deprecated_initr     s    H?3 ?3B Or   c                R   a aaa \         P                  ! S 4      VVVV 3R l4       pV# )zTranslate method's return value for stripping off success flag.

There are a lot of methods which return a "success" boolean and have
several out arguments. Translate such a method to return the out arguments
on success and None on failure.
c                     < S! V / VB pV^ ,          '       d#   \        V4      ^8X  d
   V^,          # VR,          # S'       d   S! S;'       g    R4      hS# )r   :   NNzcall failed)r   )r   r   retexc_strexc_typefail_retmethods   *, r   r   %strip_boolean_result.<locals>.wrappedr  sS    d%f%q663x1}1vr7N733m44r   r   )r   r   r   r   r   s   ffff r   strip_boolean_resultr   j  s'     __V  Nr   c                    a  V 3R  lpV# )c                 H   < \        V R 4      p \        VR 4      pS! W.VO5!  # Fr   ab	user_datar   s   &&*r   wrap'wrap_list_store_sort_func.<locals>.wrap  +    q%(q%(A%9%%r   r   r   r   s   f r   wrap_list_store_sort_funcr         &
 Kr   c                    a  V 3R  lpV# )c                 H   < \        V R 4      p \        VR 4      pS! W.VO5!  # r   r   r   s   &&*r   r   (wrap_list_store_equal_func.<locals>.wrap  r   r   r   r   s   f r   wrap_list_store_equal_funcr     r   r   r   )NNN)r   r   r   rg   rc   gir   gi._gir   r   gi._constantsr   r   pkgutilr   __path__r   rn   
ModuleTyper
   rE   r|   r   overridefuncr   r   r   r   r   r   r   r   r   <module>r      s        
 % 3 1  x*  'I5++ 'IT, ,>Nb*Z  L, #eP,r   