(function(){var k=void 0,m=true,n=null,o=false,p=this; function aa(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array)return"array";else if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(c=="[object Window]")return"object";if(c=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(c=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if(b=="function"&&typeof a.call=="undefined")return"object";return b};function r(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x10-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function ba(){}function ca(a){var b=[];s(new ba,a,b);return b.join("")} function s(a,b,c){switch(typeof b){case "string":da(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(b==n){c.push("null");break}if(aa(b)=="array"){var d=b.length;c.push("[");for(var e="",f=0;f-1)return a[c]}var ia=p.setInterval,E=p.clearInterval,ja=p.setTimeout;function ka(a){ja(a,0)} function la(){var a=A(p.XDomainRequest);return A(p.XMLHttpRequest)&&"withCredentials"in new p.XMLHttpRequest?new p.XMLHttpRequest:a?new p.XDomainRequest:n}function ma(a,b,c){var d=la();d===n?c(n):(na(function(){d.open("GET",a,m)}),d.onload=function(){d.responseText?b(d):c(d)},d.onerror=function(){c(d,"onerror")},d.timeout=1E3,d.ontimeout=function(){c(d,"timeout")},ka(function(){na(function(){d.send(n)})}))}function na(a){try{a()}catch(b){}};function oa(a){var b={};a&&(a.charAt(0)=="?"&&(a=a.substring(1)),a=a.replace(/\+/g," "),D(a.split(/[&;]/g),function(a){a=a.split("=");b[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}));return b}function pa(a,b){return!b?m:a==="http:"&&b==="80"||a==="https:"&&b==="443"};function qa(){var a=F;D(document.getElementsByTagName("script"),function(b){if(typeof b.src==="string"&&b.src.match(/chartbeat.js/))return b=oa(b.src.split("?")[1]),a.uid=a.uid||b.uid,a.domain=a.domain||b.domain,o})};var G={};G.G=function(a){try{G.create("_cb_test","1",1,a);var b=G.b("_cb_test");G.remove("_cb_test",a);return b==="1"}catch(c){return o}};G.b=function(a){a+="=";var b="";D(document.cookie.split(";"),function(c){for(;c.charAt(0)===" ";)c=c.substring(1,c.length);if(c.indexOf(a)===0)return b=c.substring(a.length,c.length),o});return b}; G.create=function(a,b,c,d){var e=p._sf_async_config;if(e&&e.noCookies)return"";e=new Date;e.setTime(C()+c*1E3);a=a+"="+b+("; expires="+e.toGMTString())+("; path="+d);return document.cookie=a};G.remove=function(a,b){return G.b(a)?G.create(a,"",-86400,b):""};var H={};H.a=function(a){var b=p._sf_async_config;if(!a&&b&&b.noCookies)return n;if(H.a.p!==k)return H.a.p;var a=C()+"",c,d;try{if((d=p.localStorage).setItem(a,a),c=d.getItem(a)===a,d.removeItem(a),c)return H.a.p=d}catch(e){}return H.a.p=n};H.b=function(a){var b=H.a();if(!b)return"";var c=b.getItem(a+"_expires");return c&&(c=+c,!isNaN(c)&&C()>c)?(H.remove(a),""):b.getItem(a)||""}; H.create=function(a,b,c){var d=H.a();if(d){var e=new Date;e.setTime(C()+c*1E3);try{d.setItem(a,b),d.setItem(a+"_expires",e.getTime())}catch(f){}}};H.remove=function(a){var b=H.a();b&&(b.removeItem(a),b.removeItem(a+"_expires"))};function I(a,b){this.u=a||"";this.h=b||"/";this.P=H.a()!==n||G.G(this.h);this.N=o;ra(this)}function ra(a){if(!G.b("_cb_ls")){var b=H.a()!==n,c=G.b("_SUPERFLY_lockout");c&&D(["","_v_","_p_"],function(b){a.create(b+"_SUPERFLY_lockout",c,600,m)});var d=G.b("_chartbeat3");d&&(a.create("_v__chartbeat3",d,34128E3,m),G.remove("_chartbeat3",a.h));b&&((b=G.b("_chartbeat2"))&&a.create("_chartbeat2",b,34128E3,m),(b=G.b("_chartbeat5"))&&a.create("_chartbeat5",b,60,m));G.create("_cb_ls","1",34128E3,a.h)}} I.prototype.create=function(a,b,c,d){a=d?a:this.u+a;(H.a()?H:G).create(a,b,c,this.h);H.a()&&G.create(a,b,c,this.h)};I.prototype.b=function(a,b){var a=b?a:this.u+a,c=(H.a()?H:G).b(a);if(!c&&H.a()&&(c=G.b(a))&&G.b("_cb_ls")){this.N=m;var d;switch(a){case "_SUPERFLY_lockout":d=600;break;case "_chartbeat4":d=60;break;case "_cb_cp":d=60;break;case "_chartbeat3":d=34128E3;break;default:d=34128E3}H.create(a,c,d)}return c}; I.prototype.remove=function(a,b){a=b?a:this.u+a;(H.a()?H:G).remove(a,this.h);H.a()&&G.remove(a,this.h)};function sa(a,b,c){a.ownerDocument||(a=a.correspondingUseElement);if(!a||!a.ownerDocument)return n;var d=a.ownerDocument.documentElement,e=0,f=A(c)?c+1:-1;B(b)?(b=b.toLowerCase(),c=function(a){return(a=a.nodeName)&&a.toLowerCase()===b}):c=b;for(;a&&a!==d&&e!==f;){if(c(a))return a;a=a.parentNode;e++}return n}var ta=function(){var a=/[ \r\n\t\f\u200B]+/g;return function(b){return b&&B(b)?b.trim().replace(a," "):""}}(); function ua(a){return a.nodeName&&a.nodeName.toLowerCase()==="a"&&(!a.namespaceURI||a.namespaceURI==="http://www.w3.org/1999/xhtml")};function va(){var a=H.a(m);return!a?o:!!a.getItem("_cb_ip")};var wa="z";function J(){A(p._cb_shared)||(p._cb_shared={});return p._cb_shared};function K(a,b){var c=J(),c=(A(k)&&!A(c.m)?k:c.m)||[];c.push.apply(c,arguments);J().m=c};function xa(){var a=ya();if(a){var b=a.href,a={hostname:"",pathname:"",search:"",protocol:"",port:"",hash:""};if(b){var c=document.createElement("a"),d=p.location;if(!/^https?:/.test(b)&&b.indexOf("javascript:")!==0&&b.indexOf("app:")<0)if(b.indexOf("//")===0)b=d.protocol+b;else if(b.indexOf("/")===0)var e=pa(d.protocol,d.port)?"":d.port,b=d.protocol+"//"+d.hostname+(e?":"+e:"")+b;else{var e=document.baseURI||d.href,f=e.indexOf("?");f===-1&&(f=e.indexOf("#"));if(f===-1)f=e.length;f=e.lastIndexOf("/", f);b=f===-1?"/"+b:e.substr(0,f)+"/"+b}c.href=b;a.hostname=c.hostname;a.pathname=c.pathname;a.search=c.search;a.protocol=c.protocol;a.port=c.port;a.hash=c.hash;if(a.pathname.charAt(0)!=="/")a.pathname="/"+a.pathname;if(a.hostname==="")a.hostname=d.hostname;if(a.protocol==="")a.protocol=d.protocol;if(a.protocol==="javascript:")a.pathname="",a.hostname="",a.port="",a.hash="";if(pa(a.protocol,a.port)||a.port==="0")a.port=""}}return a} function ya(){var a=n;D(document.getElementsByTagName("link"),function(b){if(b.rel=="canonical")return a=b,o});return a}for(var za={},L=0;L<81;L++)za["0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=:@[]".charCodeAt(L)]=m;function Aa(a,b){if(a==="%")return"%25";var c=parseInt(b,16);return za[c]?String.fromCharCode(c):"%"+b.toUpperCase()} function M(a){if(!B(a))return a;a=a.replace(/%([0-9A-Fa-f]{2})?/g,Aa);return a=a.replace(/[^0-9A-Za-z\-._~!$&'()*+,;=:@\/\[\]?#%]+/g,encodeURIComponent)};function Ba(a){var b,c;b=a.domain;c=p.location.hostname&&p.location.hostname.replace(/^www\./,"");return(p.location.protocol==="http:"?"http:":"https:")+"//mab.chartbeat.com/mab_strategy/headline_testing/get_strategy/?host="+encodeURIComponent(b)+"&domain="+encodeURIComponent(c)+"&path="+encodeURIComponent(a.path)} function Ca(a,b,c){var d,e,f;ma(a,function(a){a=Da(a.responseText);a=(a=r(a))&&a.constructor===Object&&B(a.status)&&(a.data&&a.data.constructor===Object||a.data===n)?{I:a.status,i:a.data,Q:a.code,R:a.message}:n;if(a===n)c();else if(a.I==="success"){d={};f=e=0;if(a.i)a.i.experiments&&(d=a.i.experiments),A(a.i.probability_is_lift)&&(e=a.i.probability_is_lift),A(a.i.probability_is_control)&&(f=a.i.probability_is_control);b(d,[e,f])}else c()},c)} function Ea(a,b,c){var d=[],e=b.e;if(e==="l"||e==="c")b=new Fa("lift_exp","","",b,e,"",""),b.k=m,d.push(b);return d=d.concat(Ga(a,c,e))}function Ha(a,b){var c=[new N("l",a[0],""),new N("c",a[1],""),new N("m",1-a[0]-a[1],"")];return Ia(c,b.lift_exp)||c[2]}function Ga(a,b,c){var d=[];D(a,function(a,f){var i=Ja(f,a,c,b[f]);A(i)&&d.push(i)});return d} function Ja(a,b,c,d){var e=b.location,f=b.specific_location,i,h,g=b.metadata;if(B(g)&&g.length>0&&((g=r(g))&&g.version==2&&(i=g.sub_location),g&&g.version==3))i=g.sub_location,h=g.initial_content;i=A(i)?i:"";h=A(h)?h:"";var l=[];D(b.variants,function(a,b){l.push(new N(b,parseFloat(a.probability),a.content))});if(b=Ia(l,d&&d.chosenVariant))return new Fa(a,e,i,b,c,h,f)}function Ia(a,b){var c;A(b)&&(c=ha(a,function(a){return a.e===b}));A(c)||(c=Ka(a));return c} function Ka(a){var b=Math.random();return ha(a,function(a){b-=a.K;return b<0})}function La(a,b,c){var d=p.location.href,e=[encodeURIComponent(a),encodeURIComponent(d),b].join(",");D(c,function(a){e+=","+[a.test.e,a.test.j.e,encodeURIComponent(a.f)].join(",")});return e}function Ma(a,b){if(a===b)return m;for(var c=b.split("."),d=a.split(".");c.length;){if(d.length===0)return o;if(c.pop()!==d.pop())return o}return m} function Na(){var a=p.document.head||p.document.getElementsByTagName("head")[0],b=p.document.createElement("style");b.id="chartbeat-flicker-control-style";b.type="text/css";b.styleSheet?b.styleSheet.cssText="body { visibility: hidden !important; }":b.appendChild(document.createTextNode("body { visibility: hidden !important; }"));a.appendChild(b)}function Oa(){return p.document.getElementById("chartbeat-flicker-control-style")||p.document.getElementById("chartbeat-body-hider")} function Pa(){var a=Oa();a&&a.parentNode.removeChild(a)}function Fa(a,b,c,d,e,f,i){this.e=a;this.l=b;this.f=i;this.F=c;this.j=d;this.t=e;this.k=o;this.anchors=[];this.H=f}function N(a,b,c){this.e=a;this.K=b;this.content=c}function Qa(a){var b={};b.s=a.status;b.c=a.code;b.m=a.message;var c=n;if(a.data!==n)c={},c.s=a.data.M,c.g=a.data.t,c.m=a.data.J;b.d=c;return b}function Ra(a){if(p.document&&p.document.body)a();else var b=ia(function(){p.document&&p.document.body&&(E(b),a())},50)}var Sa=/^[a-zA-Z0-9+/]*={0,2}$/; function Da(a){if(a&&Sa.exec(a))try{return ga(a)}catch(b){}return a} function Ta(a){var b=a;b+=String.fromCharCode(128);for(var a=[1518500249,1859775393,2400959708,3395469782],c=1732584193,d=4023233417,e=2562383102,f=271733878,i=3285377520,h=[],g,l,j,v,x,y=Math.ceil((b.length/4+2)/16),z=[y],t=0,q;t>>31;b=c;g=d;l=e;j=f;v=i;for(q=0;q<80;q++)x=Math.floor(q/20),x=(b<<5|b>>>27)+(x==0?g&l^~g&j:x==1?g^l^j:x==2?g&l^g&j^l&j:g^l^j)+v+a[x]+h[q]&4294967295,v=j,j=l,l=g<<30|g>>>2,g=b,b=x;c=c+b&4294967295;d=d+g&4294967295;e=e+l&4294967295;f=f+j&4294967295;i=i+v&4294967295}a=c;if(a==0)a="A";else{a>>>=0;for(c="";a>0;)d=a%64,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-".charAt(d)+c,a>>>=6; a=c}return a};function Ua(a,b){for(var c=b||document.documentElement,d=[],e=n,f=a,i,h,g,l,j,v;f&&f!==c;){i=f.nodeName.toLowerCase();e=f;h=e.nodeName;if((f=f.parentNode)&&f!==document.documentElement){g=f.children;l=0;for(j=0,v=g.length;j0&&(e=r(d));var f=Ha(c,e);a.o=Ea(b,f,e);var i=a.o,h={domain:"."+a.O,z:6E4,path:"/"};a.q=function(a){var b,a=a||window.event;if(b=!a?n:sa(a.target||a.srcElement,ua,10))if(a=Ya(b,i),a.length){var c;if(b===n||typeof b==="undefined")c="unknown";else if(b.tagName==="A"&&b.href)c=b.href;c=La(c,a[0].test.t,a);a=(a=G.b("_chartbeat6"))?a.split("::"):[];a.length>=10&&a.splice(0,a.length-10+1);a.push(c);c="_chartbeat6="+a.join("::"); a="";h&&h.constructor===Object&&(h.z&&(b=new Date,b.setTime(b.getTime()+h.z),a+="; expires="+b.toGMTString()),h.domain&&(a+="; domain="+h.domain),h.path&&(a+="; path="+h.path));document.cookie=c+a}};a=w(function(){var a=this.q,b=p.document.body;b.addEventListener?b.addEventListener("click",a,m):b.attachEvent&&b.attachEvent("onclick",a);Za(this,i,f.e)},a);Ra(a)}} function Za(a,b,c){var d=C(),e=w(function(){var a=C()-d>=5E3,e=p.document.readyState==="complete",h;a||(h=$a(b,c));if(a||h||e)E(this.v),ab(this)},a);a.v=ia(e,50);e()} function ab(a){Pa();var b={},c=[],d=o,e="m";D(a.o,function(a){if(a.e==="lift_exp")e=a.j.e;if(a.k){d=m;var f=[];D(a.anchors,function(a){f.push(a.f)});b[a.e]={chosenVariant:a.j.e,specificLocation:f}}else c.push(a.e)});if(d)b.lift_exp=e,a.D.create("tests",fa(ca(b)),3600),e==="m"&&delete b.lift_exp;var f={status:bb,data:n,code:k,message:k};a.n!==Q?(f.status=cb,f.code=a.n):(a={M:b,t:e,J:c},f.status=db,f.data=a);K(["t",Qa(f)])} function eb(a){var b=a.r;K(["ev",function(){a.terminate()}]);K(["sv",function(){fb(a,b)}])}P.prototype.L=function(a){if(Object.prototype.toString.call(a)==="[object Array]"&&B(a[0])&&a[0]==="readyForTesting")a[1]?Xa(this):this.B=o};function gb(a){a.n=hb;ab(a)}P.prototype.terminate=function(){this.n=Q;var a=this.q,b=p.document.body;b.removeEventListener?b.removeEventListener("click",a,m):b.detachEvent&&b.detachEvent("onclick",a);this.q=k;E(this.v);this.v=n;this.o=[];this.w=this.C=n;this.A=o}; function fb(a,b){eb(a);if(va())gb(a);else{var c=Ba(b);if(A(c))A(b.flickerControl)||(b.flickerControl=m),b.flickerControl&&(ja(Pa,1E3),Oa()||Na()),Ca(c,function(b,c){a.C=b;a.w=c;a.B=m;for(var f=w(a.L,a),i=p._cbm||[];i.length;)f(i.shift());p._cbm={push:f};a.B&&Xa(a)},function(){})}} function $a(a,b){var c=[];D(a,function(a,e){c.push(o);if(a.k)c[e]=m;else if(!a.f||a.f===a.l){var f=O(a.l);if(f)var i=O(a.F,f);if(f&&i)c[e]=m,b!=="c"&&ib(i,a.j.content),a.anchors=[{element:f,f:Ta(a.l)}],a.k=m}else{a.anchors=[];var h=a.H;(f=Va(a.l))&&f.length>0&&D(f,function(f){if(f)var i=O(a.F,f);i&&(ta(i.textContent)==h||(i=n));if(f&&i)c[e]=m,b!=="c"&&ib(i,a.j.content),a.anchors.push({element:f,f:Ta(Wa(f))}),a.k=m})}});return c.indexOf(o)===-1} function Ya(a,b){var c=[],d=n,e=101,f=o;D(b,function(b){f||D(b.anchors,function(c){if(!f)if(c.element===a)d={test:b,f:c.f},f=m;else if(c.element.href===a.href){var g;var l=c.element.getBoundingClientRect(),j=a.getBoundingClientRect();l.right-l.left>0&&l.bottom-l.top>0&&j.right-j.left>0&&j.bottom-j.top>0?(g=Math.max(l.left,j.left)-Math.min(l.right,j.right),l=Math.max(l.top,j.top)-Math.min(l.bottom,j.bottom),g=g<=0?Math.max(l,0):l<=0?g:Math.sqrt(g*g+l*l)):g=k;g