(function(){var c=!0,f=null,g=!1,aa=encodeURIComponent,h=window,l=Object,m=document,p=navigator;function q(a,b){return a.createElement=b}function r(a,b){return a.addEventListener=b}function s(a,b){return a.attachEvent=b}
var t="push",u="exec",v="indexOf",w="hasAttribute",x="readyState",y="querySelector",z="defineProperty",A="addEventListener",B="setAttribute",C="attachEvent",D="getElementsByTagName",E="documentElement",F="length",G="prototype",H="body",I="removeChild",J="call",K="getAttribute",L="querySelectorAll",M="fireEvent",N="parentNode",O="",ba="\n",ca='");',da="'><\/script>",ea="*",fa=":not([psa_not_processed])",ga="<div>_</div>",ha="<script type='psa_prefetch' src='",ia='=document.getElementById("',ja="Add to queue str: ",
ka="Add to queue url: ",la="AppleWebKit",ma="DOMContentLoaded",na="Evaluated: ",P="Exception while evaluating.",oa="Exception while overriding document.all.",pa="Exception while overriding document.readyState.",qa="Executed: ",ra="Executing a script twice. Orig_Index: ",sa="Firefox",ta="Firing Event: ",ua="HTMLEvents",va="PSA ERROR: ",Q="SCRIPT",wa="Unable to insert nodes, no context element found",xa="[psa_current_node]",ya="[psa_not_processed]",za='[type="text/psajs"]',Aa="all",Ba="application/ecmascript",
Ca="application/javascript",Da="application/x-ecmascript",Ea="application/x-javascript",Fa="class",Ga="complete",Ha="data:text/html,",Ia="data:text/javascript,",Ja="div",Ka="dw: ",R="error",La="handle_dw: ",Ma="id",Na="iframe",Oa="language",S="load",Pa="loaded",Qa="loading",Ra="none",Sa="on",Ta="onDOMContentLoaded",Ua="onafterscripts",Va="onbeforescripts",Wa="onload",Xa="onload: ",Ya="onreadystatechange",Za="orig_index",$a="pagespeed_orig_src",ab="pagespeed_orig_type",bb="psa_current_node",cb="psa_dw_target",
T="psa_not_processed",db="psa_prefetch_container",eb="psanode",fb="readyState",gb="readystatechange",U="script",hb="src",ib="text/",jb="text/ecmascript",kb="text/javascript",lb="text/javascript1.0",mb="text/javascript1.1",nb="text/javascript1.2",ob="text/javascript1.3",pb="text/javascript1.4",qb="text/javascript1.5",rb="text/jscript",sb="text/livescript",tb="text/psajs",ub="text/x-ecmascript",vb="text/x-javascript",wb="true",V="type",xb="var ",W;h.pagespeed=h.pagespeed||{};var X=h.pagespeed;
X.deferJsNs={};var Y=X.deferJsNs,Z=function(){this.j=[];this.h=[];this.l=this.i=0;this.m=[];this.e=O;this.q={};this.I=[Ba,Ca,Da,Ea,jb,kb,lb,mb,nb,ob,pb,qb,rb,sb,ub,vb];this.C=m.getElementById;this.s=m[D];this.Z=m.write;this.$=m.writeln;this.Y=m.open;this.X=m.close;this.D=m[A];this.G=h[A];this.F=m[C];this.H=h[C];this.c=m.createElement;this.u=this.t=this.a=0;this.g=this.r=c;this.n=f;this.o=0;this.p=[];this.d=O},yb=g;W=Z[G];
W.log=function(a,b){this.h&&(this.h[t](O+a),b&&(this.h[t](b),"undefined"!=typeof console&&"undefined"!=typeof console.log&&console.log(va+a+b.message)))};W.O=function(a,b){this.j.splice(b?b:this.j[F],0,a)};W.S=function(a){var b=this.c[J](m,U);b.text=a;b[B](V,kb);a=this.B();a[N].insertBefore(b,a)};
W.ca=function(){for(var a=m[D](ea),b=O,d=0;d<a[F];d++)if(a[d][w](Ma)){var e=a[d][K](Ma);if(e&&-1==e.search(/[-:.]/)&&-1==e.search(/^[0-9]/))try{h[e]&&h[e].tagName&&(b+=xb+e+ia+e+ca)}catch(k){this.log(P,k)}}b&&this.S(b)};W.fa=function(){if(this.d&&this.T()){var a=m.createElement(Na);a[B](Fa,db);a.style.display=Ra;m[H].appendChild(a);this.P()?a.src=Ha+aa(this.d):this.b()&&(a.contentWindow.document.write(this.d),a.contentWindow.document.close());this.d=O}};
W.oa=function(a){this.na()?(new Image).src=a:this.d+=ha+a+da};W.A=function(a,b,d){var e=a[K]($a)||a[K](hb);e?(d&&this.oa(e),this.addUrl(e,a,b)):(d=a.innerHTML||a.textContent||a.data)&&this.W(d,a,b)};W.W=function(a,b,d){if(this.P())this.addUrl(Ia+aa(a),b,d);else{this.h[t](ja+a);var e=this;this.O(function(){e.w(b);e.N()[B](bb,O);try{e.S(a)}catch(d){e.log(P,d)}e.log(na+a);e.z()},d)}};Z[G].addStr=Z[G].W;
Z[G].addUrl=function(a,b,d){this.h[t](ka+a);var e=this;this.O(function(){e.w(b);var d=e.c[J](m,U);d[B](V,kb);var j=function(){e.log(qa+a);e.z()};Y.k(d,j);Y.f(d,R,j);9>e.b()&&Y.f(d,gb,function(){if(d[x]==Ga||d[x]==Pa)d.onreadystatechange=f,j()});d[B](hb,a);var n=b.innerHTML||b.textContent||b.data;n&&d.appendChild(m.createTextNode(n));n=e.N();n[B](bb,O);n[N].insertBefore(d,n)},d)};Z[G].addUrl=Z[G].addUrl;W=Z[G];
W.w=function(a){if(m[L]&&!(8>=this.b()))for(var b=m[L](ya),d=0;d<b[F];d++){var e=b.item(d);if(e==a)break;e[K](V)!=tb&&e.removeAttribute(T)}};W.da=function(){for(var a=this.s[J](m,ea),b=0;b<a[F];b++)a.item(b)[B](T,O)};W.N=function(){var a=f;m[y]&&(a=m[y](za));return a};W.B=function(){var a;m[y]&&(a=m[y](xa));return a||this.s[J](m,eb)[0]};W.ea=function(){var a=this.B();a.nodeName==Q&&a[N][I](a)};
W.v=function(){if(!(5<=this.a))if(this.g&&(this.b()&&m[E].originalDoScroll&&(m[E].doScroll=m[E].originalDoScroll),l[z]&&delete m[x],this.b()&&l[z]&&delete m.all),m.getElementById=this.C,m[L]&&!(8>=this.b())&&(m.getElementsByTagName=this.s),q(m,this.c),m.open=this.Y,m.close=this.X,m.write=this.Z,m.writeln=this.$,this.g){this.a=5;this.aa();var a=this;m[x]!=Ga?Y.k(h,function(){a.L()}):(m.onreadystatechange&&this[u](m.onreadystatechange,m),h.onload&&($(h,Wa,h.onload),h.onload=f),this.L())}else this.a=
1,this.r=g,this.n&&(this[u](this.n),this.n=f)};W.L=function(){this[M](3);for(var a=m[H][D](eb),b=a[F]-1;0<=b;b--)m[H][I](a[b]);a=m[H].getElementsByClassName(db);for(b=a[F]-1;0<=b;b--)a[b][N][I](a[b]);this.a=6;this[M](4)};W.ia=function(a){for(;a=a[N];)if(a==m)return c;return g};W.Q=function(a){for(var b=0,d=a[F],e=0;e<d;++e){var k=a[e],j=k[N],n=k.src,zb=k.textContent;(8<this.b()&&(!j||n==O&&zb==O)||!this.b()&&(!this.ia(k)||n==O))&&b++}return b};
W.J=function(){if(4!=this.a)return g;var a=0;0!=this.l&&(a=this.Q(this.m));return this.l==a?c:g};W.wa=function(){return 6===this.a};Z[G].scriptsAreDone=Z[G].wa;Z[G].z=function(){this.K();this.ea();this.i<this.j[F]?(this.i++,this.j[this.i-1][J](h)):this.g?(this.a=4,this.w(),this[M](2),this.J()&&this.v()):this.v()};Z[G].V=function(a){for(var b=[],d=a[F],e=0;e<d;++e)b[t](a.item(e));return b};
Z[G].ga=function(){if(this.r){var a=m.createElement(eb);a[B](cb,wb);m[H].appendChild(a);this.b()&&this.ca();if(l[z])try{var b={configurable:c,get:function(){return Qa}};l[z](m,fb,b)}catch(d){this.log(pa,d)}if(this.b()&&(m[E].originalDoScroll=m[E].doScroll,m[E].doScroll=function(){throw"psa exception";},l[z]))try{b={configurable:c,get:function(){}},l[z](m,Aa,b)}catch(e){this.log(oa,e)}}this.da();this.ba();var k=this;m.writeln=function(a){k.M(a+ba)};m.write=function(a){k.M(a)};m.open=function(){};m.close=
function(){};m.getElementById=function(a){k.K();a=k.C[J](m,a);return a==f||a[w](T)?f:a};m[L]&&!(8>=k.b())&&(m.getElementsByTagName=function(a){return m[L](a+fa)});q(m,function(a){var b=k.c[J](m,a);a.toLowerCase()==U&&(k.m[t](b),k.l++,a=function(){k.l--;var a=k.m[v](this);-1!=a&&(k.m.splice(a,1),k.J()&&k.v())},Y.k(b,a),Y.f(b,R,a));return b})};Z[G].execute=function(){if(2==this.a){var a=0;0!=this.o&&(a=this.Q(this.p));this.o==a&&(q(m,this.c),this.R())}};Z[G].execute=Z[G].execute;
Z[G].R=function(){2==this.a&&(this.r&&this[M](1),this.a=3,this.ga(),this.z())};Z[G].run=Z[G].R;W=Z[G];W.la=function(a){var b=this.c[J](m,Ja);b.innerHTML=ga+a;b[I](b.firstChild);return b};W.pa=function(a){var b=a[N];b&&b[I](a)};W.ka=function(a,b){for(var d=this.V(a),e=d[F],k=b[N],j=0;j<e;++j){var n=d[j];this.pa(n);k.insertBefore(n,b)}};W.ma=function(a){return a.nodeName!=Q?g:a[w](V)?(a=a[K](V),!a||-1!=this.I[v](a)):a[w](Oa)?(a=a[K](Oa),!a||-1!=this.I[v](ib+a.toLowerCase())):c};
W.U=function(a,b){if(a.childNodes)for(var d=this.V(a.childNodes),e=d[F],k=0;k<e;++k){var j=d[k];j.nodeName==Q?this.ma(j)&&(b[t](j),j[B](ab,j.type),j[B](V,tb),j[B]($a,j.src),j[B](hb,O),j[B](T,O)):this.U(j,b)}};W.ja=function(a,b){for(var d=a[F],e=0;e<d;++e)this.A(a[e],b+e,!!e)};W.ha=function(a,b,d){a=this.la(a);var e=[];this.U(a,e);d?this.ka(a.childNodes,d):this.log(wa);this.ja(e,b)};W.K=function(){if(this.e!=O){this.log(La+this.e);var a=this.e;this.e=O;var b=this.B();this.ha(a,this.i,b)}};
W.M=function(a){this.log(Ka+a);this.e+=a};W.ta=function(a,b){this.log(Xa+b.toString());6==this.a?b[J](a):$(a,Wa,b)};Z[G].addOnloadListeners=Z[G].ta;Z[G].ra=function(a){$(h,Va,a)};Z[G].addBeforeDeferRunFunctions=Z[G].ra;Z[G].qa=function(a){$(h,Ua,a)};Z[G].addAfterDeferRunFunctions=Z[G].qa;Z[G].fireEvent=function(a){this.t=a;this.log(ta+a);a=this.q[a]||[];for(var b=0;b<a[F];++b)this[u](a[b]);a.length=0};Z[G].exec=function(a,b){try{a[J](b||h)}catch(d){this.log(P,d)}};
Z[G].ba=function(){var a=this;h[A]?(r(m,function(b,d,e){$(m,b,d,e,a.D)}),r(h,function(b,d,e){$(h,b,d,e,a.G)})):h[C]&&(s(m,function(b,d){$(m,b,d,void 0,a.F)}),s(h,function(b,d){$(h,b,d,void 0,a.H)}))};Z[G].aa=function(){h[A]?(r(m,this.D),r(h,this.G)):h[C]&&(s(m,this.F),s(h,this.H))};
var $=function(a,b,d,e,k){var j=X.deferJs;if(!(6<=j.a)){if(2>j.t&&(b==ma||b==gb||b==Ta||b==Ya))b=2;else if(3>j.t&&(b==S||b==Wa))b=3;else if(b==Va)b=1;else if(b==Ua)b=4;else{k&&k[J](a,b,d,e);return}var n;3==b&&!(8>=j.b())&&(n=m.createEvent(ua),n.initEvent(S,g,g));j.q[b]||(j.q[b]=[]);j.q[b][t](function(){d[J](a,n)})}};
Z[G].sa=function(a){if(!(2<=this.a)){if(a){if(!yb){a();return}this.g=g;this.n=a}else this.g=c;this.a=2;for(var b=m[D](U),d=b[F],e=0;e<d;++e){var k=this.j[F]==this.i,j=b[e];j[K](V)==tb&&(a?j[K](Za)==this.u&&(this.u++,this.A(j,void 0,!k)):(j[K](Za)<this.u&&this.log(ra+j[K](Za),Error(O)),this.A(j,void 0,!k)))}this.fa()}};Z[G].registerScriptTags=Z[G].sa;Y.k=function(a,b){Y.f(a,S,b)};X.addOnload=Y.k;
Y.f=function(a,b,d){if(a[A])a[A](b,d,g);else if(a[C])a[C](Sa+b,d);else{var e=a[Sa+b];a[Sa+b]=function(){d[J](this);e&&e[J](this)}}};X.addHandler=Y.f;W=Z[G];W.P=function(){return-1!=p.userAgent[v](sa)};W.na=function(){return-1!=p.userAgent[v](la)};W.b=function(){var a=/(?:MSIE.(\d+\.\d+))/[u](p.userAgent);return a&&a[1]?m.documentMode||parseFloat(a[1]):NaN};
W.va=function(){var a=this;q(m,function(b){var d=a.c[J](m,b);b.toLowerCase()==U&&(a.p[t](d),a.o++,b=function(){var b=a.p[v](this);-1!=b&&(a.p.splice(b,1),a.o--,a.execute())},Y.k(d,b),Y.f(d,R,b));return d})};W.T=function(){return yb};Z[G].isExperimentalMode=Z[G].T;Y.ua=function(){if(!X.deferJs){h.localStorage&&(yb=h.localStorage.defer_js_experimental);var a=new Z;a.va();X.deferJs=a}};X.deferInit=Y.ua;})();
