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