Vc csd gdZddlmZddlmZmZdZdZdZdZ dZ dd Z d efd Z d Z e Ze ZdS)) body_decode body_encodedecode decodestring header_encode header_length) b64encode) b2a_base64 a2b_base64z z ics` tt|d\}}|dz}|r|dz }|S)N)Zdivmodlen)Z bytearrayZ groups_of_3ZleftoverZns )/usr/lib64/python3.11/email/base64mime.pyrr2s>@"3y>>155KaA Q H iso-8859-1cs |sdSt|tr||}t|d}d|d|dS)Nr asciiz=?z?b?z?=) isinstancestrencoderr)Z header_bytesZcharsetZencodeds rrr=sk r,$$4#**733  %%,,W55GG#GGWWW --riLcs~ |sdSg}|dzdz}tdt||D]v}t||||zd}|t r|t kr |dd|z}||wt|S)Nr r r rri) Zranger rrZendswithNLZappend EMPTYSTRINGZjoin)ZsZ maxlinelenZeolZencvecZ max_unencodedZiZencs rrrLs r FNa'M 1c!ffm , ,1Q../0077@@ <<   !r  !crc(S.C c   F # ##rcs |stSt|tr"t|dSt|S)Nzraw-unicode-escape)Zbytesrrr r)Zstrings rrrfsU "ww FC "&--(<==>>>&!!!rN)r)Z__all__Zbase64rZbinasciirr ZCRLFrrZMISC_LENrrrrrr)rrrs ,   ++++++++         . . . .!b$$$$4 " " "   r