(function(){var d=window,e=document,f="getItem",l="getData",n="localStorage",p="indexOf",q="length",s="prototype",t="substring",v="",w=" ",x=",",y="; expires=",A="=",B="_GPSLSC=",C="img",D="link",E="load",F="on",G="pagespeed_lsc_expiry",H="pagespeed_lsc_hash",I="pagespeed_lsc_url",J="pagespeed_lsc_url:",K="script",L="style",M="stylesheet",N="text/css";d.pagespeed=d.pagespeed||{};var O=d.pagespeed,P=function(){this.a=!0};P[s].b=function(a){a=parseInt(a[t](0,a[p](w)),10);return!isNaN(a)&&a<=Date.now()};
P[s].hasExpired=P[s].b;P[s].getData=function(a){return a[t](a[p](w,a[p](w)+1)+1)};P[s].getData=P[s][l];P[s].c=function(a){var b=e.getElementsByTagName(K),b=b[b[q]-1];b.parentNode.replaceChild(a,b)};P[s].replaceLastScript=P[s].c;P[s].h=function(a){var b=d[n][f](J+a),c=e.createElement(b?L:D);b&&!this.b(b)?(c.type=N,c.appendChild(e.createTextNode(this[l](b)))):(c.rel=M,c.href=a,this.a=!0);this.c(c)};P[s].inlineCss=P[s].h;
P[s].i=function(a){var b=d[n][f](J+a),c=e.createElement(C);b&&!this.b(b)?c.src=this[l](b):(c.src=a,this.a=!0);for(var b=1,g=arguments[q];b<g;++b){var h=arguments[b][p](A);c[arguments[b][t](0,h)]=arguments[b][t](h+1)}this.c(c)};P[s].inlineImg=P[s].i;
P[s].e=function(a,b){for(var c=e.getElementsByTagName(a),g=0,h=c[q];g<h;++g){var k=c[g],u=k.getAttribute(H);if(u){var r=J+k.getAttribute(I),m=k.getAttribute(G),m=m?(new Date(m)).getTime():v;(k=b(k))||(k=this[l](d[n][f](r)));d[n].setItem(r,m+w+u+w+k);this.a=!0}}};P[s].g=function(){this.e(C,function(a){return a.src});this.e(L,function(a){return a.firstChild?a.firstChild.nodeValue:null})};
P[s].f=function(){if(this.a){for(var a=[],b=[],c=0,g=Date.now(),h=0,k=d[n][q];h<k;++h){var u=d[n].key(h);if(!u[p](J)){var r=d[n][f](u),m=r[p](w),z=parseInt(r[t](0,m),10);if(!isNaN(z))if(z<=g){a.push(u);continue}else if(z<c||0==c)c=z;b.push(r[t](m+1,r[p](w,m+1)))}}g=v;c&&(g=y+(new Date(c)).toUTCString());e.cookie=B+b.join(x)+g;h=0;for(k=a[q];h<k;++h)d[n].removeItem(a[h]);this.a=!1}};
O.d=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent(F+b,c);else{var g=a[F+b];a[F+b]=function(){c.call(this);g&&g.call(this)}}};O.j=function(){if(d[n]){var a=new P;O.localStorageCache=a;O.d(d,E,function(){a.g()});O.d(d,E,function(){a.f()})}};O.localStorageCacheInit=O.j;})();
