lf?R ddlZn #e$rdZYnwxYwdZdZdZdZdZgdZdS)Nct|tr|dSt|tr|St dNasciiz1only str (ascii encoding) and bytes are supported) isinstancestrencodebytes TypeErrordatas o/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib64/python3.11/site-packages/pycares/utils.py ascii_bytesrsL$${{7###$ G H HHct|tr|St|tr( |dS#t$r|cYSwxYwt dr)rrr decodeUnicodeDecodeErrorr r s r maybe_strrsu$ $ ;;w'' '!   KKK  G H HHsA AAc<|D]}t|dkrdSdS)NFT)ord)textcs r is_all_asciirs1  q66D==55  4rc"|d}g}|D]a}t|r)||d:|t j|bd|S)N.r.)splitrappendridna2008join)namepartsrparts r parse_name_idna2008r%!s JJsOOE A,,    , HHT[[)) * * * * HHX_T** + + + + 99Q<<rct|trOt|r|dStt |S|dSt|t r|Std)Nridnaz only str and bytes are supported)rrrrrr%r r )r!s r parse_namer(+s$#    (;;w'' '  &t,, ,{{6"""$ 6 7 77r)rrr() r'r ImportErrorrrrr%r(__all__rr r,sHHHIIIIII  8 8 8 5 4 4s