PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  Udc @sdZddddddddd d d d d g ZddlZddlZddlZddlZddlZddlZddlZddl Z ddl m Z ddl m Z ddl mZddl mZddl mZddlmZddlmZmZdZdZdZdZdZejdZejdZ dZ!dZ"d Z#d!Z$d"Z%ejd#ej&ej'BZ(de*e*d$Z+dd%Z,d&Zd'Zd(Z-d)Z.d*Z/ddd+Z0ejd,Z1d-Z2d.d/d0Z3dS(1sMiscellaneous utilities.tcollapse_rfc2231_valuet decode_paramstdecode_rfc2231tencode_rfc2231t formataddrt formatdatet getaddressest make_msgidt mktime_tzt parseaddrt parsedatet parsedate_tztunquoteiN(tquote(t AddressList(R(R (R (t decodestring(t_bencodet_qencodes, tus t's[][\\()<>@,:;".]s [][\\()"]cCs|S(N((ts((s#/usr/lib64/python2.7/email/utils.pyt _identity:scCs|s |Stj|S(sDecodes a base64 string. This function is equivalent to base64.decodestring and it's retained only for backward compatibility. It used to remove the last \n of the decoded string, if it had any (see issue 7143). (tbase64R(R((s#/usr/lib64/python2.7/email/utils.pyt_bdecode>scCs.tjdt|}tjdt|}|S(s-Replace all line-ending characters with \r\n.s (?s %s%s%s <%s>(t specialsretsearcht escapesreR(tpairtnametaddresstquotes((s#/usr/lib64/python2.7/email/utils.pyRUs  cCs"tj|}t|}|jS(s7Return a list of (REALNAME, EMAIL) for each fieldvalue.(t COMMASPACEtjoint _AddressListt addresslist(t fieldvaluestallta((s#/usr/lib64/python2.7/email/utils.pyRhs s_ =\? # literal =? (?P[^?]*?) # non-greedy up to the next ? is the charset \? # literal ? (?P[qb]) # either a "q" or a "b", case insensitive \? # literal ? (?P.*?) # non-greedy up to the next ?= is the atom \?= # literal ?= c CsM|d$krtj}n|rtj|}tjrO|drOtj}n tj}tt|d\}}|dkrd}nd}d|||df}n$tj|}|rd}nd }d d d d ddddg|d|dddddddddddddg |d d |d|d!|d"|d#|fS(%sReturns a date string as specified by RFC 2822, e.g.: Fri, 09 Nov 2001 01:08:47 -0000 Optional timeval if given is a floating point time value as accepted by gmtime() and localtime(), otherwise the current time is used. Optional localtime is a flag that when True, interprets timeval, and returns a date relative to the local timezone instead of UTC, properly taking daylight savings time into account. Optional argument usegmt means that the timezone is written out as an ascii string, not numeric one (so "GMT" instead of "+0000"). This is needed for HTTP, and is only used when localtime==False. iiit-t+s %s%02d%02di<tGMTs-0000s"%s, %02d %s %04d %02d:%02d:%02d %stMontTuetWedtThutFritSattSuniitJantFebtMartAprtMaytJuntJultAugtSeptOcttNovtDeciiiiN( tNonettimet localtimetdaylighttaltzonettimezonetdivmodtabstgmtime( ttimevalRCtusegmttnowtoffsetthourstminutestsigntzone((s#/usr/lib64/python2.7/email/utils.pyR|s.       !cCstj}tjdtj|}tj}tjd}|dkrWd}n d|}tj }d|||||f}|S(sReturns a string suitable for RFC 2822 compliant Message-ID, e.g: <20020201195627.33539.96671@nightshade.la.mastaler.com> Optional idstring if given is a string used to strengthen the uniqueness of the message id. s %Y%m%d%H%M%SiRt.s<%s.%s.%s%s@%s>N( RBtstrftimeRItostgetpidtrandomt randrangeRAtsockettgetfqdn(tidstringRJtutcdatetpidtrandinttidhosttmsgid((s#/usr/lib64/python2.7/email/utils.pyRs      cCs|s dSt|S(N(RAt _parsedate(tdata((s#/usr/lib64/python2.7/email/utils.pyR scCs|s dSt|S(N(RAt _parsedate_tz(Ra((s#/usr/lib64/python2.7/email/utils.pyR scCs!t|j}|sdS|dS(NRi(RR(R&R'(taddrtaddrs((s#/usr/lib64/python2.7/email/utils.pyR scCst|dkr|jdrS|jdrS|dd!jddjddS|jdr|jdr|dd!Sn|S( sRemove quotes from a string.iRis\\s\s\"t(tlent startswithtendswithtreplace(tstr((s#/usr/lib64/python2.7/email/utils.pyR s #cCs5|jtd}t|dkr1dd|fS|S(s#Decode string according to RFC 2231iN(tsplittTICKRgRA(Rtparts((s#/usr/lib64/python2.7/email/utils.pyRs cCscddl}|j|dd}|dkr=|dkr=|S|dkrRd}nd|||fS(sEncode string according to RFC 2231. If neither charset nor language is given, then s is returned as-is. If charset is given but not language, the string is encoded using the empty string for language. iNtsafeRs%s'%s'%s(turllibR RA(RtcharsettlanguageRp((s#/usr/lib64/python2.7/email/utils.pyRs   s&^(?P\w+)\*((?P[0-9]+)\*?)?$c Cs|}g}i}|jd\}}|j||fx|r|jd\}}|jdrqt}nt}t|}tj|}|r|jdd\}}|dk rt |}n|j |gj|||fq>|j|dt |fq>W|rx|j D]\}}g}t} |jxB|D]:\}} }|rztj| } t} n|j| qMWt tj|}| rt|\} } }|j|| | d|ffq$|j|d|fq$Wn|S(sDecode parameters list according to RFC 2231. params is a sequence of 2-tuples containing (param name, string value). it*R!tnums"%s"N(tpoptappendRitTruetFalseR trfc2231_continuationtmatchtgroupRAtintt setdefaultR titemstsortRpt EMPTYSTRINGR%R( tparamst new_paramstrfc2231_paramsR!tvaluetencodedtmoRtt continuationstextendedRRqRr((s#/usr/lib64/python2.7/email/utils.pyRsD    %!  #Rjsus-asciicCsut|trgt|d}|dp,d}yt|||SWqqtk rct|||SXn t|SdS(Niisus-ascii(t isinstancettupleR tunicodet LookupError(Rterrorstfallback_charsettrawvalRq((s#/usr/lib64/python2.7/email/utils.pyR9s (4t__doc__t__all__RTRRBRRVRXRptwarningstemail._parseaddrR RR&RR R`R RbtquopriRt_qdecodetemail.encodersRRR$Rt UEMPTYSTRINGRRmtcompileRRRRRRRtVERBOSEt IGNORECASEtecreRARxRRR R RRRyRR(((s#/usr/lib64/python2.7/email/utils.pytsl            5      5