o 0ixm @ s& d Z dZd ZdZdZdZdZdZddlZddl Z ddl Z ddlZdd lT g d Zdd Z zdd lmZmZmZ dd ZW n eyJ dd ZY nw dd Zdd Zdd Zdd Zdd Zejje_dd Zdd Zdd Z d!d" Z!zdd#l"m#Z# W n ey dZ#Y nw d$d% Z$d&d' Z%d(Z&da'da(d)d* Z)d+d, Z*d-d. Z+zdd/l"m,Z, W n ey e+Z-Y nw d0d1 Z-z dd2l"m.Z.m/Z0 W n ey d3d4d5d6Z1Y nw e2fd7d8Z3e2fd9d:Z4d3d4d;d6Z1e5e d<oe 6 d= d>kZ7dDd?d@Z8dAdB Z9z ddCl"m:Z; W dS ey Y dS w )E...\;/z.;C:\binZnul N)*)'normcaseisabsjoin splitdrivesplitsplitextbasenamedirnamecommonprefixgetsizegetmtimegetatimegetctimeislinkexistslexistsisdirisfileismount expanduser expandvarsnormpathabspathcurdirpardirseppathsepdefpathaltsepextsepdevnullrealpathsupports_unicode_filenamesrelpathsamefilesameopenfilesamestat commonpath ALLOW_MISSINGc C s t | trdS dS )N \/\/) isinstancebytespath r5 -/opt/alt/python310/lib64/python3.10/ntpath.py _get_bothseps$ s r7 ) LCMapStringExLOCALE_NAME_INVARIANTLCMAP_LOWERCASEc C sf t | } | s | S t| tr)t }| |ddd} tt t | } | |dS tt t | ddS )Nsurrogateescaper r )osfspathr1 r2 sysgetfilesystemencodingdecodereplace_LCMapStringEx_LOCALE_NAME_INVARIANT_LCMAP_LOWERCASEencode)sencodingr5 r5 r6 r 4 s r c C sB t | } t| trt t | dd S | dd S )Nr r )r<