Vc d 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  c` tt|d\}}|dz}|r|dz }|S)N)divmodlen) bytearray groups_of_3leftoverns )/usr/lib64/python3.11/email/base64mime.pyrr2s>@"3y>>155KaA Q H iso-8859-1c |sdSt|tr||}t|d}d|d|dS)Nr asciiz=?z?b?z?=) isinstancestrencoder r) header_bytescharsetencodeds rrr=sk r,$$4#**733  %%,,W55GG#GGWWW --rLc~ |sdSg}|dzdz}tdt||D]v}t||||zd}|t r|t kr |dd|z}||wt|S)Nr rrrr) rangerr rendswithNLappend EMPTYSTRINGjoin)s maxlineleneolencvec max_unencodediencs rrrLs r FNa'M 1c!ffm , ,1Q../0077@@ <<   !r  !crc(S.C c   F # ##rc |stSt|tr"t|dSt|S)Nzraw-unicode-escape)bytesrrr r)strings rrrfsU "ww FC "&--(<==>>>&!!!rN)r)__all__base64r binasciir r CRLFr(r*MISC_LENrrrrrrrrr<s ,   ++++++++         . . . .!b$$$$4 " " "   r