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