text: (function(n){n.headers=function(t){var r=n('<div class="col-md-12" />'),c,p,w,v,o,b,y,f,s,d;r.append(n("<br/>"));t.Traces===null||t.Traces.length===0?r.append(n("<br/><br/><p>There is no data in this email<\/p><br/>")):r.append(n("<p>Email Servers:<\/p>"));c=n('<div class="list-group rawHeaders"/>');r.append(c);for(p in t.Traces){var e=t.Traces[p],l=e.Domain,a=e.Ip,i=e.Location,u=n('<div class="list-group-item text-left"/>');if(l===null&&(l="no domain"),a===null&&(a="no ip"),w=n('<h4 class="list-group-item-heading bg-primary">&nbsp;<b>'+l+"<\/b> ("+a+")<\/h4>"),u.append(w),v=n('<div class="list-group-item-text" id="ipInfo"/>'),u.append(v),o=n('<table class="table"/>'),v.append(o),i!==null&&i.CountryCode!==null&&i.CountryCode!==""&&i.Country!==null&&i.Country!==""&&i.Region!==null&&i.Region!==""&&i.City!==null&&i.City!==""&&(b=n("<thead><tr><th>CountryCode<\/th><th>Country<\/th><th>Region<\/th><th>City<\/th><\/tr><\/thead>"),o.append(b),y=n("<tbody/>"),o.append(y),f=n("<tr/>"),y.append(f),f.append(n("<td>"+i.CountryCode+"<\/td>")),f.append(n("<td>"+i.Country+"<\/td>")),f.append(n("<td>"+i.Region+"<\/td>")),f.append(n("<td>"+i.City+"<\/td>"))),s=e.WhoIs,s!==null){var k=s.Info,g=s.Error,h=n('<div style="padding:8px;" id="whoisContainer"/>');u.append(h);h.append(n("<b>Whois:<\/b>"));k===null?h.append(n("<p>"+g+"<\/p>")):(h.append(n('<textarea readonly style="width:100%;">'+k+"<\/textarea>")),u.append(n("<br />")),u.append(n("<br />")))}c.append(u)}r.append(n('<div class="convertbtn"><input type="button" class="btn btn-reset btn-lg" ID="resetButton" value="RESET" /><\/div>'));n(".filedrop").addClass("hidden");n("input#uploadButton").addClass("hidden");n("div#rawHeadersBlock").addClass("hidden");n("div#headers > div").remove();n("div#headers").append(r);d=function(){n("div#headers > div").remove();n(".filedrop").removeClass("hidden");n("input#uploadButton").removeClass("hidden");n("div#rawHeadersBlock").removeClass("hidden");fileDrop.reset();window.scrollTo(0,0)};r.on("click",".btn-reset",d)}})(jQuery);