/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var m,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ba=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;bc&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);cb?null:"string"===typeof a?a.charAt(b):a[b]} function Ca(a,b){b=xa(a,b);var c;if(c=0<=b)z(null!=a.length),Array.prototype.splice.call(a,b,1);return c}function Da(a){return Array.prototype.concat.apply([],arguments)}function Ea(a){var b=a.length;if(0")&&(a=a.replace(Wa,">"));-1!=a.indexOf('"')&&(a=a.replace(Xa,"""));-1!=a.indexOf("'")&&(a=a.replace(Ya, "'"));-1!=a.indexOf("\x00")&&(a=a.replace(Za,"�"))}return a},Ua=/&/g,Va=//g,Xa=/"/g,Ya=/'/g,Za=/\x00/g,$a=/[\x00&<>"']/,B=function(a,b){return-1!=a.indexOf(b)},bb=function(a,b){return ab?1:0};var E=function(a,b){this.Ab=b===cb?a:""};m=E.prototype;m.Z=!0;m.R=function(){return this.Ab.toString()};m.rb=!0;m.qa=function(){return 1};m.toString=function(){return"SafeUrl{"+this.Ab+"}"}; var db=function(a){if(a instanceof E&&a.constructor===E)return a.Ab;A("expected object of type SafeUrl, got '"+a+"' of type "+v(a));return"type_error:SafeUrl"},eb=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,fb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,gb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,hb=function(a){if(a instanceof E)return a;a="object"==typeof a&&a.Z?a.R():String(a);if(gb.test(a))a=new E(a,cb);else{a=String(a);a=a.replace(/(%0A|%0D)/g,"");var b=a.match(fb);a=b&&eb.test(b[1])?new E(a,cb):null}return a},cb={},ib=new E("about:invalid#zClosurez",cb);var F=function(a,b){this.zb=b===jb?a:""};F.prototype.Z=!0;F.prototype.R=function(){return this.zb};F.prototype.toString=function(){return"SafeStyle{"+this.zb+"}"}; var jb={},kb=new F("",jb),mb=function(a){if(a instanceof E)return'url("'+db(a).replace(/.");if("A"in Cb)throw Error("Tag name is not allowed for SafeHtml.");var c=null,d="";if(a)for(q in a)if(Object.prototype.hasOwnProperty.call(a,q)){if(!Ab.test(q))throw Error('Invalid attribute name "'+q+'".');var e=a[q];if(null!=e){var f=q;var g=e;if(g instanceof Pa)g=Qa(g);else if("style"==f.toLowerCase()){e=void 0;if(!w(g))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+ typeof g+" given: "+g);if(!(g instanceof F)){var h="";for(e in g)if(Object.prototype.hasOwnProperty.call(g,e)){if(!/^[-_a-zA-Z0-9]+$/.test(e))throw Error("Name allows only [-_a-zA-Z0-9], got: "+e);var l=g[e];null!=l&&(l=Array.isArray(l)?za(l,mb).join(" "):mb(l),h+=e+":"+l+";")}g=h?new F(h,jb):kb}g instanceof F&&g.constructor===F?e=g.zb:(A("expected object of type SafeStyle, got '"+g+"' of type "+v(g)),e="type_error:SafeStyle");g=e}else{if(/^on/i.test(f))throw Error('Attribute "'+f+'" requires goog.string.Const value, "'+ g+'" given.');if(f.toLowerCase()in Bb)if(g instanceof Sa)g instanceof Sa&&g.constructor===Sa?e=g.Bb:(A("expected object of type TrustedResourceUrl, got '"+g+"' of type "+v(g)),e="type_error:TrustedResourceUrl"),g=e.toString();else if(g instanceof E)g=db(g);else if("string"===typeof g)g=(hb(g)||ib).R();else throw Error('Attribute "'+f+'" on tag "A" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+g+'" given.');}g.Z&&(g=g.R());z("string"===typeof g||"number"===typeof g,"String or number value expected, got "+ typeof g+" with value: "+g);f=f+'="'+ab(String(g))+'"';d+=" "+f}}var q=" does not allow content."),q+=">"):(c=Db(b),q+=">"+xb(c).toString()+"",c=c.qa());(a=a&&a.dir)&&(c=/^(ltr|rtl|auto)$/i.test(a)?0:null);return yb(q,c)},Gb=function(a){var b=zb(Fb),c=b.qa(),d=[],e=function(f){Array.isArray(f)?ya(f,e):(f=zb(f),d.push(xb(f).toString()),f=f.qa(),0==c?c=f:0!=f&&c!=f&&(c=null))};ya(a,e);return yb(d.join(xb(b).toString()), c)},Db=function(a){return Gb(Array.prototype.slice.call(arguments))},vb={},yb=function(a,b){if(void 0===Ma){var c=null;var d=u.trustedTypes;if(d&&d.createPolicy)try{c=d.createPolicy("goog#html",{createHTML:oa,createScript:oa,createScriptURL:oa})}catch(e){u.console&&u.console.error(e.message)}Ma=c}a=(c=Ma)?c.createHTML(a):a;return new wb(a,b,vb)},Fb=new wb(u.trustedTypes&&u.trustedTypes.emptyHTML||"",0,vb);var Hb={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Ib=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if("undefined"===typeof document)return!1;var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);if(!a.firstChild)return!1;b=a.firstChild.firstChild;a.innerHTML=xb(Fb);return!b.parentElement}),Jb=function(a,b){if(a.tagName&&Hb[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+ a.tagName+".");if(Ib())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=xb(b)};var Kb=function(a){return a=ab(a,void 0)},Lb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},H=function(a,b){a=String(a);var c=a.indexOf(".");-1==c&&(c=a.length);return Lb("0",Math.max(0,b-c))+a};var Mb=function(a,b,c,d,e){a=new Date(a,b,c);e=e||0;return a.valueOf()+864E5*(((void 0!==d?d:3)-e+7)%7-((a.getDay()+6)%7-e+7)%7)};var Nb=function(){},Pb=function(a){if("number"==typeof a){var b=new Nb;b.Ya=a;var c=a;if(0==c)c="Etc/GMT";else{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",H(c,2));c=d.join("")}b.Gb=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=Ob(a);b.Ib=[c,c];b.la={qd:a,Ob:a};b.cb=[];return b}b=new Nb;b.Gb=a.id;b.Ya=-a.std_offset;b.Ib=a.names;b.la=a.names_ext;b.cb=a.transitions;return b}, Ob=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(H(Math.floor(a/60)%100,2),":",H(a%60,2));return b.join("")},Qb=function(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c=a.cb[c];)c+=2;return 0==c?0:a.cb[c-1]};var Tb=function(a){z(void 0!==a,"Pattern must be defined");z(void 0!==wa,"goog.i18n.DateTimeSymbols or explicit symbols must be defined");this.Xa=[];this.j=wa;"number"==typeof a?Rb(this,a):Sb(this,a)},Ub=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYMkSEahKHcLQdmsvVwzZ]+/],Vb=function(a){return a.getHours?a.getHours():0},Sb=function(a,b){for(Yb&&(b=b.replace(/\u200f/g,""));b;){for(var c=b,d=0;db)var c=a.j.Lb[b];else if(8>b)c=a.j.Pb[b-4];else if(12>b)c=a.j.uc[b-8],c=c.replace("{1}",a.j.Lb[b-8]),c=c.replace("{0}",a.j.Pb[b-8]);else{Rb(a,10);return}Sb(a,c)},I=function(a,b){b=String(b);a=a.j||wa;if(void 0!==a.Mc){for(var c=[],d=0;d=e?String.fromCharCode(a.Mc+e-48):b.charAt(d))}b=c.join("")}return b},Yb=!1,$b=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields."); },Zb=function(a,b,c,d,e,f){var g=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==g&&(c%=100),I(a,H(c,g));case "Y":return c=(new Date(Mb(d.getFullYear(),d.getMonth(),d.getDate(),a.j.Nb,a.j.Mb))).getFullYear(),0>c&&(c=-c),2==g&&(c%=100),I(a,H(c,g));case "M":a:switch(c=d.getMonth(),g){case 5:g=a.j.zc[c];break a;case 4:g=a.j.yc[c];break a;case 3:g=a.j.Bc[c];break a;default:g=I(a,H(c+1,g))}return g;case "k":return $b(e), I(a,H(Vb(e)||24,g));case "S":return I(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,g)).substr(2)+(3g?1:0];case "h":return $b(e),I(a,H(Vb(e)%12||12,g));case "K":return $b(e),I(a,H(Vb(e)%12,g));case "H":return $b(e),I(a,H(Vb(e),g));case "c":a:switch(c=d.getDay(),g){case 5:g=a.j.Gc[c];break a;case 4:g=a.j.Jc[c];break a;case 3:g=a.j.Ic[c];break a;default:g=I(a,H(c,1))}return g;case "L":a:switch(c= d.getMonth(),g){case 5:g=a.j.Fc[c];break a;case 4:g=a.j.Ec[c];break a;case 3:g=a.j.Hc[c];break a;default:g=I(a,H(c+1,g))}return g;case "Q":return c=Math.floor(d.getMonth()/3),4>g?a.j.Cc[c]:a.j.Ac[c];case "d":return I(a,H(d.getDate(),g));case "m":return $b(e),I(a,H(e.getMinutes(),g));case "s":return $b(e),I(a,H(e.getSeconds(),g));case "v":return g=f||Pb(c.getTimezoneOffset()),g.Gb;case "V":return a=f||Pb(c.getTimezoneOffset()),2>=g?a.Gb:0g?a.Ib[0g?(g=-(b.Ya-Qb(b,c)),a=[0>g?"-":"+"],g=Math.abs(g),a.push(H(Math.floor(g/60)%100,2),H(g%60,2)),g=a.join("")):g=I(a,Ob(b.Ya-Qb(b,c))), g;default:return""}};var ac="January February March April May June July August September October November December".split(" "),bc=Pb(0),cc=new Tb("MMM d yyyy, HH:mm"),dc=new Tb("MMMM d"),ec=new Tb("MMM d"),fc=function(a,b){return(b?ec:dc).format(a,bc)},gc=function(a,b){function c(d,e){d=Math.round(d);return d+" "+e+(1!=d?"s":"")}b=!!b;a/=1E3;if(1>a)return b?"< 1 second":"Less than a second";if(60>a)return c(a,"second");a/=60;if(60>a)return c(a,"minute");a/=60;return 24>a?c(a,"hour"):c(a/24,"day")};var hc=function(){this.O=[];this.sources=[];this.start=new Date(0);this.stop=new Date(0);this.K=0;this.va=this.Pc="[unknown]";this.Da=this.Ia="";this.pc="[unknown]"},ic=function(a){var b=new hc;b.start=new Date(1E3*a.start);b.stop=new Date(1E3*a.stop);b.O=0==a.dst_cc.length?[""]:a.dst_cc;b.sources=0==a.src_cc.length?[""]:a.src_cc;b.K=+a.max_bps;b.Pc=a.attack_class;b.va=a.subclass;b.Ia=a.src_ports.join();b.Da=a.dst_ports.join();b.pc=a.victim_type||"[unknown]";return b},jc=function(a,b){this.kb=[]; this.Jb=[];this.za={};var c=this,d={},e={},f=function(g){d[g.K]||e[g.start.getTime()]||(e[g.start.getTime()]=g,d[g.K]=g,this.push(g),g.sources.concat(g.O).forEach(function(h){h&&(c.za[h]=1+(c.za[h]||0))}))};a.forEach(f,this.kb);d={};e={};b.forEach(f,this.Jb)},lc=function(a){var b=J,c=K;this.start=b;this.stop=c;this.length=Math.ceil((c-b+1)/864E5);this.bandwidth=[];this.fc=[];this.date=[];b=Math.floor(b.getTime()/864E5);for(c=0;ce?b[1]:b[0]});c.o(b[0],"Weeks");c.o(b[1],"");c.o(b[3],"Hours");c.o(b[5],"");c.o(b[6],"Minutes");var d=c.ja;c.ja=function(e,f,g,h){d.call(c,e,f,g,Math.min(h,19))};return c},qc=function(){var a="Corporation Government Education News Non-Profit Other".split(" "),b=new L("",function(d){return M[a.indexOf(d.pc)]|| M[a.length-1]});a.forEach(function(d,e){b.o(M[e],d)});var c=b.ja;b.ja=function(d,e,f,g){c.call(b,d,e,f,Math.min(g,18))};return b};var rc=[["Afghanistan","AF",4,67.7099,33.9391],["Aland","AX",248,20.2712,60.3385],["Albania","AL",8,20.1683,41.1533],["Algeria","DZ",12,2.49294,27.2257],["American Samoa","AS",16,-170.69,-14.305],["Andorra","AD",20,1.5218,42.5062],["Angola","AO",24,17.8738,-11.202],["Anguilla","AI",660,-63.068,18.2205],["Antarctica","AQ",10,-135,-82.862],["Antigua and Barbuda","AG",28,-61.796,17.0608],["Argentina","AR",32,-63.616,-38.416],["Armenia","AM",51,45.0381,40.069],["Aruba","AW",533,-69.968,12.5211],["Australia", "AU",36,133.775,-25.274],["Austria","AT",40,14.55,47.5162],["Azerbaijan","AZ",31,47.5769,40.1431],["Bahamas","BS",44,-77.396,25.0342],["Bahrain","BH",48,50.5577,26.0667],["Bangladesh","BD",50,90.3563,23.6849],["Barbados","BB",52,-59.543,13.1938],["Belarus","BY",112,27.9533,53.7098],["Belgium","BE",56,4.46993,50.5038],["Belize","BZ",84,-88.497,17.1898],["Benin","BJ",204,2.31583,9.30769],["Bermuda","BM",60,-64.75,32.3078],["Bhutan","BT",64,90.4336,27.5141],["Bolivia","BO",68,-63.588,-16.29],["Caribbean Netherlands", "BQ",535,-68.238,12.1783],["Bosnia and Herzegovina","BA",70,17.679,43.9158],["Botswana","BW",72,24.6848,-22.328],["Bouvet Island","BV",74,3.34644,-54.42],["Brazil","BR",76,-51.925,-14.235],["British Indian Ocean Territory","IO",86,72.4242,-7.3347],["British Virgin Islands","VG",92,-64.639,18.4206],["Brunei","BN",96,114.727,4.53527],["Bulgaria","BG",100,25.4858,42.7338],["Burkina Faso","BF",854,-1.5615,12.2383],["Burundi","BI",108,29.9188,-3.373],["Cambodia","KH",116,104.99,12.5656],["Cameroon","CM", 120,12.3547,7.36972],["Canada","CA",124,-114,60],["Cape Verde","CV",132,-23.605,15.1217],["Cayman Islands","KY",136,-81.254,19.3133],["Central African Republic","CF",140,20.9394,6.61111],["Chad","TD",148,18.7322,15.4541],["Chile","CL",152,-71.542,-35.675],["China","CN",156,104.195,35.8616],["Christmas Island","CX",162,105.69,-10.447],["Cocos (Keeling) Islands","CC",166,96.8417,-12.17],["Colombia","CO",170,-74.297,4.57086],["Comoros","KM",174,43.3333,-11.645],["Democratic Republic of Congo","CD",180, 21.7586,-4.0383],["Congo","CG",178,15.8276,-.228],["C\u00f4te d'Ivoire","CI",384,-5.2833,6.8167],["Cook Islands","CK",184,-159.77,-21.236],["Costa Rica","CR",188,-83.753,9.74891],["Cuba","CU",192,-77.781,21.5217],["Cura\u00e7ao","CW",531,-68.9333,12.1167],["Cyprus","CY",196,33.4298,35.1264],["Czech Republic","CZ",203,15.4729,49.8174],["Denmark","DK",208,9.50178,56.2639],["Djibouti","DJ",262,42.5902,11.8251],["Dominica","DM",212,-61.37,15.4149],["Dominican Republic","DO",214,-70.162,18.7356],["Ecuador", "EC",218,-78.183,-1.8312],["Egypt","EG",818,30.8024,26.8205],["El Salvador","SV",222,-88.896,13.7941],["Equatorial Guinea","GQ",226,10.2678,1.6508],["Eritrea","ER",232,39.7823,15.1793],["Estonia","EE",233,25.0136,58.5952],["Ethiopia","ET",231,40.4896,9.145],["Faroe Islands","FO",234,-6.9118,61.8926],["Falkland Islands (Islas Malvinas)","FK",238,-59.523,-51.796],["Fiji","FJ",242,178.065,-17.713],["Finland","FI",246,25.7481,61.9241],["France","FR",250,2.21374,46.2276],["French Polynesia","PF",258,-149.4, -17.679],["French Southern and Antarctic Lands","TF",260,69.3485,-49.28],["Gabon","GA",266,11.6094,-.8036],["Gambia","GM",270,-15.31,13.4431],["Georgia","GE",268,43.3569,42.3154],["Germany","DE",276,10.4515,51.1656],["Ghana","GH",288,-1.0231,7.94652],["Gibraltar","GI",292,-5.3535,36.1407],["Greece","GR",300,21.8243,39.0742],["Greenland","GL",304,-42.604,71.7069],["Grenada","GD",308,-61.678,12.1165],["Guadeloupe","GP",312,-61.55,16.265],["Guam","GU",316,144.793,13.4443],["Guatemala","GT",320,-90.23, 15.7834],["Guernsey","GG",831,-2.5852,49.4656],["Guinea","GN",324,-9.6966,9.94558],["Guinea-Bissau","GW",624,-15.18,11.8037],["Guyana","GY",328,-58.93,4.86041],["Haiti","HT",332,-72.285,18.9711],["Heard Island and McDonald Islands","HM",334,73.5041,-53.081],["Vatican City","VA",336,12.4533,41.9029],["Honduras","HN",340,-86.241,15.1999],["Hong Kong","HK",344,114.109,22.3964],["Croatia","HR",191,15.2,45.1],["Hungary","HU",348,19.5033,47.1624],["Iceland","IS",352,-19.02,64.963],["India","IN",356,78.9628, 20.5936],["Indonesia","ID",360,113.921,-.7892],["Iran","IR",364,53.688,32.4279],["Iraq","IQ",368,43.6792,33.2231],["Ireland","IE",372,-8.2438,53.4129],["Isle of Man","IM",833,-4.548,54.2361],["Israel","IL",376,34.8516,31.046],["Italy","IT",380,12.5673,41.8719],["Jamaica","JM",388,-77.297,18.1095],["Japan","JP",392,138.252,36.2048],["Jersey","JE",832,-2.1312,49.2144],["Jordan","JO",400,36.2384,30.5851],["Kazakhstan","KZ",398,66.9236,48.0195],["Kenya","KE",404,37.9061,-.0235],["Kiribati","KI",296,-157.36, 1.87111],["North Korea","KP",408,127.51,40.3398],["South Korea","KR",410,127.766,35.9077],["Kuwait","KW",414,47.4817,29.3116],["Kyrgyzstan","KG",417,74.766,41.2043],["Laos","LA",418,102.495,19.8562],["Latvia","LV",428,24.6031,56.8796],["Lebanon","LB",422,35.8622,33.8547],["Lesotho","LS",426,28.2336,-29.609],["Liberia","LR",430,-9.4294,6.42805],["Libya","LY",434,14.528,27.0567],["Liechtenstein","LI",438,9.55537,47.166],["Lithuania","LT",440,23.8812,55.1694],["Luxembourg","LU",442,6.12958,49.8152], ["Macau","MO",446,113.543,22.1987],["Macedonia (FYROM)","MK",807,21.7452,41.6086],["Madagascar","MG",450,46.8691,-18.766],["Malawi","MW",454,34.3015,-13.254],["Malaysia","MY",458,101.975,4.21048],["Maldives","MV",462,73.5361,1.97724],["Mali","ML",466,-3.9961,17.5706],["Malta","MT",470,14.3754,35.9374],["Marshall Islands","MH",584,171.184,7.13147],["Martinique","MQ",474,-61.024,14.6415],["Mauritania","MR",478,-10.94,21.0078],["Mauritius","MU",480,57.5521,-20.348],["Mayotte","YT",175,45.1662,-12.827], ["Mexico","MX",484,-102.55,23.6345],["Federated States of Micronesia","FM",583,137.938,8.85714],["Moldova","MD",498,28.3698,47.4116],["Monaco","MC",492,7.42461,43.7384],["Mongolia","MN",496,103.846,46.8624],["Montenegro","ME",499,19.3743,42.7086],["Montserrat","MS",500,-62.187,16.7424],["Morocco","MA",504,-7.0926,31.7917],["Mozambique","MZ",508,35.5295,-18.665],["Myanmar (Burma)","MM",104,95.9562,21.9139],["Namibia","NA",516,18.4904,-22.957],["Nauru","NR",520,166.931,-.5227],["Nepal","NP",524,84.124, 28.3948],["Netherlands","NL",528,5.29126,52.1326],["New Caledonia","NC",540,165.618,-20.904],["New Zealand","NZ",554,174.885,-40.9],["Nicaragua","NI",558,-85.207,12.8654],["Niger","NE",562,8.08166,17.6077],["Nigeria","NG",566,8.67527,9.08199],["Niue","NU",570,-169.86,-19.054],["Norfolk Island","NF",574,167.954,-29.04],["Northern Mariana Islands","MP",580,145.673,15.0979],["Norway","NO",578,8.46894,60.472],["Oman","OM",512,55.9232,21.5125],["Pakistan","PK",586,69.3451,30.3753],["Palau","PW",585,134.582, 7.51497],["Palestinian Territory","PS",275,35.3027,31.9465],["Panama","PA",591,-80.782,8.53798],["Papua New Guinea","PG",598,143.955,-6.3149],["Paraguay","PY",600,-58.443,-23.442],["Peru","PE",604,-75.015,-9.1899],["Philippines","PH",608,121.774,12.8797],["Pitcairn Islands","PN",612,-128.32,-24.376],["Poland","PL",616,19.1451,51.9194],["Portugal","PT",620,-8.2244,39.3998],["Puerto Rico","PR",630,-66.59,18.2208],["Qatar","QA",634,51.1838,25.3548],["Reunion","RE",638,55.5363,-21.115],["Romania","RO", 642,24.9667,45.9431],["Russia","RU",643,105.318,61.524],["Rwanda","RW",646,29.8738,-1.9402],["Saint Barthelemy","BL",652,-62.833,17.9],["Saint Helena","SH",654,-5.7115,-15.9655],["Saint Kitts and Nevis","KN",659,-62.782,17.3578],["Saint Lucia","LC",662,-60.978,13.9094],["Saint Martin","MF",663,-63.052,18.0825],["Saint Pierre and Miquelon","PM",666,-56.315,46.8852],["Saint Vincent and the Grenadines","VC",670,-61.196,13.2533],["Samoa","WS",882,-172.1,-13.759],["San Marino","SM",674,12.4577,43.9423], ["Sao Tome and Principe","ST",678,6.61308,.18636],["Saudi Arabia","SA",682,45.0791,23.8859],["Senegal","SN",686,-14.452,14.4974],["Serbia","RS",688,21.0058,44.0165],["Seychelles","SC",690,55.4919,-4.6795],["Sierra Leone","SL",694,-11.779,8.46055],["Singapore","SG",702,103.819,1.35208],["Sint Maarten","SX",534,-63.05,18.0273],["Slovakia","SK",703,19.699,48.669],["Slovenia","SI",705,14.9954,46.1512],["Solomon Islands","SB",90,160.156,-9.6457],["Somalia","SO",706,46.1996,5.15214],["South Africa","ZA", 710,22.9375,-30.559],["South Georgia and the South Sandwich Islands","GS",239,-36.587,-54.429],["Spain","ES",724,-3.7492,40.4636],["Sri Lanka","LK",144,80.7717,7.87305],["Sudan","SD",729,30.2176,12.8628],["Suriname","SR",740,-56.027,3.9193],["Svalbard","SJ",744,23.6702,77.5536],["South Sudan","SS",728,31.3069,6.87699],["Swaziland","SZ",748,31.4658,-26.522],["Sweden","SE",752,18.6435,60.1281],["Switzerland","CH",756,8.22751,46.8181],["Syria","SY",760,38.9968,34.802],["Taiwan","TW",158,120.96,23.6978], ["Tajikistan","TJ",762,71.276,38.861],["Tanzania","TZ",834,34.8888,-6.369],["Thailand","TH",764,100.992,15.87],["Timor-Leste","TL",626,125.634,-8.7114],["Togo","TG",768,.82478,8.61954],["Tokelau","TK",772,-171.84,-9.2001],["Tonga","TO",776,-175.19,-21.178],["Trinidad and Tobago","TT",780,-61.222,10.6918],["Tunisia","TN",788,9.53749,33.8869],["Turkey","TR",792,35.2433,38.9637],["Turkmenistan","TM",795,59.5562,38.9697],["Turks and Caicos","TC",796,-71.797,21.694],["Tuvalu","TV",798,179.472,-10.728], ["Virgin Islands","VI",850,-64.896,18.3357],["Uganda","UG",800,32.2902,1.37333],["Ukraine","UA",804,31.1655,48.3794],["UAE","AE",784,53.8478,23.424],["United Kingdom","GB",826,-3.4359,55.378],["United States Minor Outlying Islands","UM",581,-162.07,5.88062],["United States","US",840,-100,42],["Uruguay","UY",858,-55.765,-32.522],["Uzbekistan","UZ",860,64.5852,41.3774],["Vanuatu","VU",548,166.959,-15.376],["Venezuela","VE",862,-66.589,6.42375],["Vietnam","VN",704,108.277,14.0583],["Wallis and Futuna", "WF",876,-178.11,-14.293],["Western Sahara","EH",732,-12.885,24.2155],["Kosovo","XK",900,20.9029,42.6026],["Yemen","YE",887,48.5163,15.5527],["Zambia","ZM",894,27.8493,-13.133],["Zimbabwe","ZW",716,29.1548,-19.015]],Ha={};ya(rc,function(a){Ha[a[1]]=a[0]});var sc=function(a,b){this.ca=a;this.T=b;this.ga={};this.jb={}};sc.prototype.reset=function(){this.jb={}}; sc.prototype.path=function(a,b,c){if(a&&b)if(a==b){var d=(this.ga[a]||[0,0])[0];b=(this.ga[a]||[0,0])[1];var e=5+c/2+tc(this,a,a);uc(this,.8*c+1,a,a);a="M"+d+" "+(b-e)+"a"+e+" "+e+" 0 1 0,0.01 0 z"}else d=tc(this,a,b),uc(this,c+3,a,b),a=vc(this.ga[a]||[0,0],this.ga[b]||[0,0],d+c/2);else c=a&&(this.ga[a]||[0,0]),d=b&&(this.ga[b]||[0,0]),a=a||b,b=tc(this,a),b=5*(b%2?b:-b),c||(c=[d[0]+b,d[1]-200]),d||(d=[c[0]+b,c[1]-200]),uc(this,1,a),a=vc(c,d,10);return a}; var tc=function(a,b,c){b=c?[b,c].sort().join("\t"):b;return(a=a.jb[b])?a:0},uc=function(a,b,c,d){var e=d?[c,d].sort().join("\t"):c;a.jb[e]=b+tc(a,c,d)},vc=function(a,b,c){var d=a[0];a=a[1];var e=b[0];b=b[1];return"M"+e+" "+b+" Q"+(d+e)/2+" "+((a+b)/2-.4*Math.abs(e-d)-2*c)+" "+d+" "+a};var wc=function(a,b){this.ub=a;this.Db=b;this.Ua=[];this.Ha=[]};wc.prototype.o=function(a,b){this.Ua.push(a);this.Ha.push(b)}; wc.prototype.ja=function(a,b,c){a.select("#size-legend-group").remove();a=a.append("g").attr("id","size-legend-group");a.append("text").text(this.ub).attr("x",b).attr("y",c+5).attr("class","size-legend-title legend-title");c+=25;for(var d=d3.max(this.Ua,this.Db),e=0;ee.id||10==e.id||(b[e.id].outline=e)});this.Pa=c;this.fa={};var d=this;this.Pa.forEach(function(e){d.fa[e.code]=e})},xc=function(a,b,c){this.id=a;this.code=c;this.name=b;this.aa=this.outline=null};var zc=function(a,b,c,d){function e(h){g&&window.clearInterval(g);var l=1,q=f;g=window.setInterval(function(){var C=l/4;f=Math.max(0,Math.min(1,C*h+(1-C)*q));d(f);4<++l&&window.clearInterval(g)},20)}var f=0,g=null;a.append("rect").attr("x",b-4).attr("y",c-10-1).attr("width",8).attr("height",2).attr("fill","#666");a.append("rect").attr("x",b-1).attr("y",c-10-4).attr("width",2).attr("height",8).attr("fill","#666");a.append("rect").attr("x",b-10).attr("y",c-20).attr("width",20).attr("height",20).attr("fill", "rgba(0,0,0,0)").attr("stroke","#aaa").on("click",function(){e(f+.2)});a.append("rect").attr("x",b-4).attr("y",c+0+10-1).attr("width",8).attr("height",2).attr("fill","#666");a.append("rect").attr("x",b-10).attr("y",c+0).attr("width",20).attr("height",20).attr("fill","rgba(0,0,0,0)").attr("stroke","#aaa").on("click",function(){e(f-.2)})};var Ac=function(a){Ac[" "](a);return a};Ac[" "]=ia;var Cc=function(a,b){var c=Bc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Dc=B(G,"Opera"),Ec=B(G,"Trident")||B(G,"MSIE"),Fc=B(G,"Edge"),Gc=B(G,"Gecko")&&!(B(G.toLowerCase(),"webkit")&&!B(G,"Edge"))&&!(B(G,"Trident")||B(G,"MSIE"))&&!B(G,"Edge"),Hc=B(G.toLowerCase(),"webkit")&&!B(G,"Edge"),Ic=function(){var a=u.document;return a?a.documentMode:void 0},Jc; a:{var Kc="",Lc=function(){var a=G;if(Gc)return/rv:([^\);]+)(\)|;)/.exec(a);if(Fc)return/Edge\/([\d\.]+)/.exec(a);if(Ec)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Hc)return/WebKit\/(\S+)/.exec(a);if(Dc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Lc&&(Kc=Lc?Lc[1]:"");if(Ec){var Mc=Ic();if(null!=Mc&&Mc>parseFloat(Kc)){Jc=String(Mc);break a}}Jc=Kc} var Nc=Jc,Bc={},Oc=function(a){return Cc(a,function(){for(var b=0,c=Ta(String(Nc)).split("."),d=Ta(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f");f=f.join("")}f=String(f);"application/xhtml+xml"===e.contentType&&(f=f.toLowerCase());f=e.createElement(f);g&&("string"===typeof g?f.className=g:Array.isArray(g)?f.className=g.join(" "):Vc(f,g));2f.width)?10:14;var g=f.height*(this.D?.33:.3),h=f.height-85;this.D&&(h+=110);var l=.61*f.height-100;this.D&&(l+=65);var q=cd().scale(g).translate([h,l]),C=d3.geoPath().projection(q);this.vb=c;c.Pa.forEach(function(k){k.aa=q(k.aa)});this.wb=this.X.append("g");this.lb=this.wb.selectAll(".country").data(this.vb.Pa).enter().append("path").attr("class",function(k){return k.outline?"country":"country tiny-country"}).attr("d",function(k){return k.outline?C(k.outline): "M"+k.aa[0]+" "+(k.aa[1]-1)+"a1 1 0 1 0,0.01 0 z"}).style("stroke","#eee").style("fill",function(){return"#ccc"}).style("visibility",function(k){return k.outline?"visible":"hidden"});this.lb.on("click",function(k){e.pa(k.code)});a.on("click",function(){e.pa(null)});this.Rb=new L("Color",function(){return"#666"});this.Sb=new wc("",function(){return 5});this.oc=d3.select("#map").append("div").attr("class","ddos-map-tooltip").classed("hidden",!0);this.oa=new sc(f.width,f.height);this.vb.Pa.forEach(function(k){e.oa.ga[k.code]= k.aa});this.D&&(this.oa.td=.7,this.oa.sd=.2);this.xa=this.X.append("g");var D=[f.width/2,f.height/2];c=d3.drag().on("drag",function(){D[0]-=d3.event.dx/e.C;D[1]-=d3.event.dy/e.C;b()});this.X.call(c);this.xa.call(c);new zc(this.X,f.width-(this.D?20:12),530-(this.D?242:0),function(k){e.C=Math.exp(2*k);b();e.wb.selectAll(".tiny-country").style("visibility",2'+h.label+"";e+="";e+="";e+=' '+h.cd(b)+"";e+=""}var d=d3.mouse(a.X.node()),e="",f=a.qb.filter(function(h){return h.tb}),g=a.qb.filter(function(h){return!h.tb});e='';f.map(c);e+="
"; e+='
';e+='';g.map(c);e+="
";f=250=a.keyCode)a.keyCode=-1}catch(b){}};var Cd="closure_listenable_"+(1E6*Math.random()|0),Dd=0;var Ed=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Qa=e;this.key=++Dd;this.sa=this.Ma=!1},Fd=function(a){a.sa=!0;a.listener=null;a.proxy=null;a.src=null;a.Qa=null};var T=function(a){this.src=a;this.B={};this.Ka=0};T.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.B[f];a||(a=this.B[f]=[],this.Ka++);var g=Gd(a,b,d,e);-1d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.ka&&0<=e;e--){b.currentTarget=d[e];var f=Xd(d[e],a,!0,b);c=c&&f}for(e=0;!b.ka&&e>>0),Nd=function(a){z(a,"Listener can not be null.");if("function"===typeof a)return a;z(a.handleEvent,"An object listener must have handleEvent method.");a[Yd]||(a[Yd]=function(b){return a.handleEvent(b)});return a[Yd]};var Zd=function(){ud.call(this);this.H=new T(this);this.Oc=this;this.xb=null};na(Zd,ud);Zd.prototype[Cd]=!0;m=Zd.prototype;m.addEventListener=function(a,b,c,d){Md(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){Ud(this,a,b,c,d)}; m.dispatchEvent=function(a){Od(this);var b=this.xb;if(b){var c=[];for(var d=1;b;b=b.xb)c.push(b),z(1E3>++d,"infinite loop")}b=this.Oc;d=a.type||a;if("string"===typeof a)a=new vd(a,b);else if(a instanceof vd)a.target=a.target||b;else{var e=a;a=new vd(d,b);Ka(a,e)}e=!0;if(c)for(var f=c.length-1;!a.ka&&0<=f;f--){var g=a.currentTarget=c[f];e=$d(g,d,!0,a)&&e}a.ka||(g=a.currentTarget=b,e=$d(g,d,!0,a)&&e,a.ka||(e=$d(g,d,!1,a)&&e));if(c)for(f=0;!a.ka&&f=e.value}if(d){b=b||ce;d=oe(pe(),a.ob());"function"===typeof c&&(c=c());he||(he=new ge);e=he;a=a.ob();if(02*this.u&&ze(this),!0):!1};var ze=function(a){if(a.u!=a.A.length){for(var b=0,c=0;b=d.A.length)throw we;var f=d.A[b++];return a?f:d.J[f]};return e};var Ae=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Be=function(a){if(a.S&&"function"==typeof a.S)return a.S();if("string"===typeof a)return a.split("");if(ja(a)){for(var b=[],c=a.length,d=0;db)throw Error("Bad port number "+b);a.ra=b}else a.ra=null},Ve=function(a,b,c){Y(a);b instanceof Xe?(a.M=b,a.M.Cb(a.I)):(c||(b=Ye(b,cf)),a.M=new Xe(b,a.I));return a};X.prototype.setQuery=function(a,b){return Ve(this,a,b)};X.prototype.getQuery=function(){return this.M.toString()};X.prototype.removeParameter=function(a){Y(this);this.M.remove(a);return this}; var Y=function(a){if(a.Wc)throw Error("Tried to modify a read-only Uri");};X.prototype.Cb=function(a){this.I=a;this.M&&this.M.Cb(a)}; var We=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ye=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,df),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},df=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Ze=/[#\/\?@]/g,af=/[#\?:]/g,$e=/[#\?]/g,cf=/[#\?@]/g,bf=/#/g,Xe=function(a,b){this.u=this.m=null;this.G=a||null;this.I=!!b},ef=function(a){a.m||(a.m=new ye,a.u=0,a.G&&Fe(a.G,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g, " ")),c)}))};m=Xe.prototype;m.add=function(a,b){ef(this);this.G=null;a=ff(this,a);var c=this.m.get(a);c||this.m.set(a,c=[]);c.push(b);this.u=sa(this.u)+1;return this};m.remove=function(a){ef(this);a=ff(this,a);return this.m.ya(a)?(this.G=null,this.u=sa(this.u)-this.m.get(a).length,this.m.remove(a)):!1};m.clear=function(){this.m=this.G=null;this.u=0};m.ya=function(a){ef(this);a=ff(this,a);return this.m.ya(a)}; m.forEach=function(a,b){ef(this);this.m.forEach(function(c,d){ya(c,function(e){a.call(b,e,d,this)},this)},this)};m.V=function(){ef(this);for(var a=this.m.S(),b=this.m.V(),c=[],d=0;dc&&(d=c);c=a.getUTCFullYear();var e=H(a.getUTCMonth()+1,2),f=H(a.getUTCDate(),2);c="/news?date="+c+"-"+e+"-"+f;Ia(b)&&(c+="&country="+Ha[b]);Je(c,function(g){var h=document.getElementById("news-header"),l=document.getElementById("news-stories");try{var q=g.target;if(q.i)b:{var C=q.i.responseText;if(u.JSON)try{var D=u.JSON.parse(C);z("object"==typeof D);var x=D;break b}catch(Df){}x=ae(C)}else x=void 0;var k= x;var p=k.results;Xc(l);p&&(g="Web & News Results (",g+=fc(a,!0),a.getUTCDate()!=d.getUTCDate()&&(g=a.getUTCMonth()==d.getUTCMonth()?g+(" - "+d.getUTCDate()):g+(" - "+fc(d,!0))),h.textContent=g+")");for(h=0;hh;h++){var t=p[h],Wb=t.link;var Ef=Wb instanceof X?Wb.clone():new X(Wb,void 0);var Xb=N("DIV",null,N("SPAN","news-source",Ef.P));t.date&&(Xb.appendChild(N("SPAN",null," - ")),Xb.appendChild(N("SPAN","news-date",t.date)));var Ff=N("DIV",null,N("A",{href:t.link,target:"_blank"},N("DIV", null,t.title)),Xb,N("DIV","snippet",t.snippet));l.appendChild(Ff)}}catch(Df){if(z(null!=l,"goog.dom.setTextContent expects a non-null value for node"),"textContent"in l)l.textContent="No news results found.";else if(3==l.nodeType)l.data="No news results found.";else if(l.firstChild&&3==l.firstChild.nodeType){for(;l.lastChild!=l.firstChild;)l.removeChild(z(l.lastChild));l.firstChild.data="No news results found."}else Xc(l),p=Yc(l),l.appendChild(p.createTextNode("No news results found."))}})};var hf=function(a,b,c){this.name=a;this.format=b;this.gd=c},jf=function(a,b,c){this.Aa=new google.visualization.DataTable;this.Zb=a;this.ca=b;this.T=c;this.Oa=[]};jf.prototype.addColumn=function(a,b,c,d){c=c||b;this.Aa.addColumn(d||"string",a);this.Oa.push(new hf(a,b,c))};jf.prototype.addRow=function(a){for(var b=[],c=0;c ', null);Jb(a,f);this.svg.node().appendChild(a.querySelector("defs"));this.rc=this.svg.append("g");(a=c.xTicks)&&this.svg.selectAll(".x-tick-label").data(a).enter().append("text").attr("class","x-tick-label").text(function(l){return l.label}).attr("x",function(l){return e.fb(l.value)}).attr("y",this.T-15).style("text-anchor","middle").style("font-size",this.Fa).attr("fill","#fff");this.pb=this.svg.append("g");this.Fb=null;var g=this.svg.append("rect").style("fill","rgba(0,0,0,.1)").style("visibility", "hidden").attr("x",0).attr("y",0).attr("width",1).attr("height",this.T),h=!1;this.svg.on("mouseleave",function(){g.style("visibility","hidden")});this.svg.on("mousemove",function(){g.style("visibility",h?"hidden":"visible");g.attr("x",d3.mouse(this)[0])});this.bd&&(this.$a=this.svg.append("g"),this.fd=this.$a.append("rect").attr("y",6).attr("width",this.mc).attr("height",this.T-15).attr("fill",this.ed).attr("transform","translate("+-this.mc/2+", 0)"),this.Yb&&this.fd.style("filter","url(#dropShadow)"), this.$a.append("path").attr("transform","translate(-6,"+(this.T-15)+")").attr("d","M 0 6 L 6 0 L 12 6 V 14 H 0 Z").attr("stroke-width","1px").attr("stroke","#5d636a").attr("fill","#c7d4e3"));this.W=b[0];b=d3.drag().on("drag",d).on("start",d).on("end",function(){h=!1});this.svg.call(b);(b=c.cornerLabel)&&this.svg.append("text").text(b).attr("x",1).attr("y",12).style("fill","#aaa").style("font-size",this.Fa);this.kc&&(this.Va=this.svg.append("g"),this.Sc=this.Va.append("rect").attr("x",0).attr("y", 5).attr("rx",9).attr("ry",9).attr("height",42).attr("width",70).style("fill","#ab3535").style("stroke","#888").style("stroke-width","1px"),this.Yb&&this.Sc.style("filter","url(#dropShadow)"),this.Yc=this.Va.append("text").text("Sep 3").style("font-size","12pt").style("fill","#ffffff").attr("x",5).attr("y",23),this.jd=this.Va.append("text").text("2013").style("font-size","10pt").style("fill","#ffffff").attr("x",5).attr("y",38))}; nf.prototype.setData=function(a){this.ua=a;var b=this;of(this);var c=d3.line().x(function(g){return b.fb(g[0])}).y(function(g){return b.na(g[1])}).curve(d3.curveLinear),d=this.pb.selectAll(".ddos-TimeGraph-graph-fill").data(this.ua);d.enter().append("svg:path").attr("class","ddos-TimeGraph-graph-fill").style("fill",function(g){return g.fill}).style("stroke","none").merge(d).transition().attr("d",function(g){return c([[g.values[0][0],0]].concat(g.values).concat([[g.values[g.values.length-1][0],0]]))}); d.exit().remove();d=this.pb.selectAll(".ddos-TimeGraph-graph-stroke").data(this.ua);d.enter().append("svg:path").attr("class","ddos-TimeGraph-graph-stroke").style("fill","none").style("stroke-width",function(g){return g.width}).style("stroke",function(g){return g.stroke}).merge(d).transition().attr("d",function(g){return c(g.values)});d.exit().remove();a=this.pb.selectAll(".ddos-TimeGraph-circles").data(a);d=this.fb(this.W);a.enter().append("circle").attr("class","ddos-TimeGraph-circles").attr("r", this.lc).attr("fill",this.dd).attr("cx",d).attr("cy",function(g){return b.na(lf(g,b.W)[1])}).merge(a).attr("cx",d).attr("cy",function(g){return b.na(lf(g,b.W)[1])});a.exit().remove();pf(this);if(this.Vc){a=this.na.ticks(this.ec).map(function(g){return new mf(g,g?""+g:"")});a.length>this.ec&&a.pop();var e=function(g){return~~b.na(g.value)};d=this.rc.selectAll(".ddos-TimeGraph-y-line").data(a);d.enter().append("svg:rect").attr("class","ddos-TimeGraph-y-line").attr("x",0).attr("y",e).attr("width",this.ca).attr("height", function(g){return g.value?1:15}).attr("fill",function(g){return g.value?"#ddd":"#6e8199"}).attr("filter",function(g){return g.value?"":"url(#gutter)"});d.transition().attr("y",e);d.exit().remove();70>this.T&&0c&&b=d||void 0===d&&e?1:2;vf("static/world-110m.json",1==d?"//www.gstatic.com/ddos-viz/attacks_v1.json":"//www.gstatic.com/ddos-viz/attacks_v2.json",a,b,c,d)}); var vf=function(a,b,c,d,e,f){var g=document.getElementsByClassName("container");0d.getUTCHours()&&c.setUTCDate(c.getUTCDate()-1);O.setTime(+c);window.updateVisualizationState= function(k){var p=td(k),t=p.getTime();t>J&&tJ?"visible":"hidden"),d3.select(".next").style("visibility",864E5a?"10pt":"11pt",markerWidth:2,dropShadow:!0});Rf(D);d();S(function(x){"country"!=x&&"list"!=x||d()})},Lf=function(){var a=Object.keys(rf.za);a.sort(function(b,c){return rf.za[c]-rf.za[b]});a.forEach(function(b,c){if(!(12<=c)){var d=Qf(function(g){return-1!=g.O.indexOf(b)}, "#8ba8c3","none"),e=Qf(function(g){return-1!=g.sources.indexOf(b)},"#f72","none"),f=new nf("local-graphs",[+J,K],{width:130,height:50,timeCircleRadius:2,labelFontSize:"12pt",cornerLabel:bd.fa[b].name});f.svg.style("margin-right",(3==c%4?0:35)+"px").style("margin-bottom","30px");Rf(f);f.setData([d,e]);f.svg.on("click",function(){sd(O,b);Z("setCountry");Z("setCountry-"+b)})}})},Mf=function(a){Sf();S(function(b){"view"==b&&Sf()});S(function(){if("map"==O.getView()){var b=a[O.N],c=R;c.Rb=b;b.ja(c.X,10, c.D?175:285,c.D?15:22);b=Tf();md(b)}})},Of=function(a){function b(){e&&window.clearInterval(e);tf=!0;R.Hb=0;+O.getTime()+1728E5>sf&&O.setTime(+J);e=window.setInterval(function(){var f=+O.getTime()+1728E4;f>=sf?(O.setTime(sf),c()):O.setTime(f)},100);document.querySelector("#movie-play").classList.add("playing")}function c(){e&&window.clearInterval(e);tf=!1;R.Hb=400;document.querySelector("#movie-play").classList.remove("playing");O.setTime(O.getTime())}S(function(f){if("time"==f){f=new Date(+O.getTime()); var g=fc(f,!1);d3.select("#current").text(g);d3.select("#header-year").text(String(f.getFullYear()))}f="Showing All Countries";"ALL"!=O.F&&(f=bd.fa[O.F].name);document.getElementById("country-highlight-label").innerText=f;d3.select("#country-highlight-label").style("float","ALL"==O.F?"left":"right");d3.select("#clear-country").style("visibility","ALL"==O.F?"hidden":"visible")});window.showMap=function(){O.setView("map");Z("showMap")};window.showTable=function(){O.setView("table");Z("showTable")}; window.previous=function(){O.setTime(Math.max(+J,O.getTime()-864E5));Z("previous")};window.next=function(){O.setTime(Math.min(O.getTime()+864E5,sf));Z("next")};window.clearCountry=function(){sd(O,"ALL");Z("clearCountry")};window.setCountry=function(f){sd(O,f);Z("setCountry");Z("setCountry-"+f)};var d=!1;window.showEmbed=function(){d=!d;d3.select("#embed-area").style("visibility",d?"visible":"hidden");if(d){var f="http://digitalattackmap.com/";f=1==a?f+"embedv1":f+"embedv2";f+="#"+O.toString();var g= document.getElementById("embed-link-text");g.value='';g.select();Z("showEmbed")}};window.hideEmbed=function(){d3.select("#embed-area").style("visibility","hidden");Z("hideEmbed")};window.showAttackTypeHelp=function(){d3.select("#attack-type-help-area").style("visibility","visible")};window.hideAttackTypeHelp=function(){d3.select("#attack-type-help-area").style("visibility","hidden")};var e=null;window.play=function(){tf? (c(),Z("movieStop")):(b(),Z("movieStart"))}},Tf=function(){var a=[];uf.forEach(function(b){var c=b.K*Math.min(1,(b.stop-b.start)/864E5)/(b.sources.length*b.O.length);b.O.forEach(function(d){b.sources.forEach(function(e){a.push({start:e,end:d,weight:c,data:b})})})});return a},Rf=function(a){qf(a,function(b){O.setTime(+b);Z("setTime")});S(function(b){"time"==b&&a.setTime(new Date(O.getTime()))})},Hf=function(a){function b(f){return(f=bd.fa[f])?f.name:'Unknown'}var c= R,d=a?10:7;a=new wc("Size (Bandwidth, in Gbps)",function(f){return 1+d*Math.sqrt(f/25E9)});a.o(25E9,"25");a.o(5E9,"5");a.o(1E9,"1");jd(c,a);var e={"IP Fragment":"Fragmentation","DNS Misuse":"Application","TCP SYN":"TCP Connection","TCP RST":"TCP Connection","TCP ACK":"TCP Connection",Protocol:"TCP Connection","UDP Misuse":"Volumetric",ICMP:"Volumetric",Bandwidth:"Volumetric","Total Traffic":"Volumetric"};Q(c,"Source",function(f){return b(f.start)},!0);Q(c,"Destination",function(f){return b(f.end)}, !0);Q(c,"Max Mbps",function(f){f=String(Math.round(f.data.K/1048576));for(var g="",h=0;h '}c=c||If();var f=d?new jf(document.getElementById("table"),1010,b):new jf(document.getElementById("table"), 490,440);var g=!d;a=g?"Dests.":"Destinations";f.addColumn("Peak bps (M)",function(h){return''+Math.round(h.K/1E6)+""},function(h){return h.K},"number");f.addColumn("Type",function(h){return h.va+e(h,0)},function(h){return h.va},"string");f.addColumn("Sources",function(h){return h.sources.join(", ")},function(h){return h.sources[0]},"string");f.addColumn(a,function(h){return h.O.join(", ")},function(h){return h.O[0]},"string");f.addColumn("Start (GMT)", function(h){return d?cc.format(h.start,bc):fc(h.start,!0)},function(h){return h.start},"datetime");f.addColumn("End (GMT)",function(h){return d?cc.format(h.stop,bc):fc(h.stop,!0)},function(h){return h.stop},"datetime");f.addColumn("Duration",function(h){return gc(h.stop-h.start,g)+e(h,3)},function(h){return h.stop-h.start},"number");f.addColumn("Source Ports",function(h){return h.Ia+e(h,2)},function(h){return parseInt(h.Ia.split(",")[0],10)},"number");f.addColumn("Dest. Ports",function(h){return h.Da+ e(h,1)},function(h){return parseInt(h.Da.split(",")[0],10)},"number");S(function(){if("table"==O.getView()){f.Aa.removeRows(0,f.Aa.getNumberOfRows());var h="ALL"==O.F;uf.filter(function(l){var q;(q=h)||(q=O.F,q=-1!=l.sources.indexOf(q)||-1!=l.O.indexOf(q));return q}).forEach(function(l){f.addRow(l)});f.draw()}})};ma("ddos.Main.initTable",Nf); var Uf=function(){for(var a={},b=uf,c=0;c=a});c.sort(function(d,e){d=e.K-d.K;return 0d?-1:d});return c},wf=function(a){a=Eb({href:2==a?"/v1":"/"},"View "+(2==a?"historical":"current")+" data");Af("version-link",a)},Gf=function(a,b){for(var c=0;c