+
    ni
  c                   s    ^ RI t ] P                  ^ ,          ^8  t]'       d   R tMR t ^ RIHt R#   ] d+    ^ RIt]P                  ]P                  ,          R3R lt R# i ; i)i    Nc                 s    V # N Zs   &-/usr/lib/python3.14/site-packages/xdg/util.pyur      s        c                 s$    V P                  R 4      # )zutf-8)Zdecoder   r   r   r   r   
   s    xx  r   )whichc                s  a  R p\         P                  P                  S 4      '       d   V! S V4      '       d   S # R# T;'       g/    \         P                  P	                  R\         P
                  4      P                  \         P                  4      p\        P                  R8X  d   \         P                  V9   g!   VP                  ^ \         P                  4       \         P                  P	                  RR4      P                  \         P                  4      p\        ;QJ d    V 3R lV 4       F  '       g   K   RM	  R	M! V 3R lV 4       4      '       d   S .pMV Uu. uF  pS V,           NK  	  ppMS .p\        4       pV Fw  p\         P                  P                  V4      p	W9   d   K*  VP                  V	4       V F6  p
\         P                  P!                  W4      pV! W4      '       g   K2  Vu u # 	  Ky  	  R# u upi )
a  Given a command, mode, and a PATH string, return the path which
conforms to the given mode on the PATH, or None if there is no such
file.

`mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result
of os.environ.get("PATH"), or can be overridden with a custom search
path.

c                 s    \         P                  P                  V 4      ;'       dC    \         P                  ! W4      ;'       d%    \         P                  P	                  V 4      '       * # r    )ospathZexistsZaccessZisdir)Zfnmodes   &&r   _access_checkZwhich.<locals>._access_check    sI    GGNN2& . .299R+> . .GGMM"--/r   NZPATHZwin32ZPATHEXTZ c              3   s~   <"   T F2  pSP                  4       P                  VP                  4       4      x  K4  	  R # 5ir    )ZlowerZendswith)Z.0extcmds   & r   Z	<genexpr>Zwhich.<locals>.<genexpr>9   s+     H399;''		44s   :=TF)r   r	   ZdirnameZenvironZgetZdefpathZsplitZpathsepsysZplatformZcurdirZinsertZanyZsetZnormcaseZaddZjoin)r   r
   r	   r   ZpathextZfilesr   ZseenZdirZnormdirZthefileZnames   f&&         r   r   r      sk   	/ 77??3S$''
::

vrzz:AA"**M<<7"99$Aryy) jjnnY399"**EG
 sHHsssHHHH.56gssg6 EEuCgg&&s+G?!$G77<<5D$T00#  %	   7s   !H)
r   Zversion_infoZPY3r   Zshutilr   ZImportErrorr   ZF_OKZX_OKr   r   r   <module>r      s[    
	qQ!> ;"'') 8;s   3 -A$#A$