/* JS */ gapi.loaded_3(function(_){var window=this; _.fz=function(a,b){_.bb(b)||(b=[b]);b=(0,_.yb)(b,function(c){return"string"===typeof c?c:c.Qw+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Mr(a,"transition",b.join(","))}; _.gz=_.Qb(function(){if(_.Lc)return _.fd("10.0");var a=_.de("DIV"),b=_.Pc?"-webkit":_.Oc?"-moz":_.Lc?"-ms":_.Kc?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.Ar("div",{style:c});_.Hd(a,b);a=a.firstChild;b=a.style[_.Kd("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Lr(a,"transition")]||"")}); var vG=function(a,b,c,d,e){this.width=a;this.height=b;this.Xm=c;this.Ym=d;this.opacity=e},wG=function(a,b,c,d){return new vG(void 0==b?a.width:b,void 0==c?a.height:c,a.Xm,a.Ym,void 0==d?a.opacity:d)};vG.prototype.equals=function(a){return this.width==a.width&&this.height==a.height&&this.Xm==a.Xm&&this.Ym==a.Ym&&this.opacity==a.opacity}; vG.prototype.interpolate=function(a,b){var c=1-b;return new vG(Math.round(this.width*c+a.width*b),Math.round(this.height*c+a.height*b),Math.round(this.Xm*c+a.Xm*b),Math.round(this.Ym*c+a.Ym*b),this.opacity*c+a.opacity*b)}; _.xG=function(a){_.Fs.call(this,a);this.va=new _.jt(this)};_.F(_.xG,_.Hs); _.xG.prototype.create=function(){var a=Number(this.sk(200,"widgetWidth","width")),b=Number(this.sk(100,"widgetHeight","height")),c=this.sk("auto","corner"),d=this.sk({},"menuCss"),e=this.sk(!0,"hideOnClick");this.lr=!!this.sk(!0,"hideOnLeave");this.FF=!!this.sk((0,_.gz)(),"useCss3Transition");this.eT=!!this.sk(!0,"allowOffset");var f=document.createElement("div");this.Aa=f;var g=this.Cf();g.parentNode.appendChild(f);var k=document.createElement("div");this.Wm=k;f.appendChild(k);d.position="absolute"; d.width=a+"px";d.height="0";d.border=d.border||"1px solid #aaa";d.background=d.background||"#fff";d.zIndex=_.Ls(this);d.overflow="hidden";d.boxShadow=d.MozBoxShadow=d.webkitBoxShadow=d.boxShadow||"0 2px 2px rgba(0,0,0,0.3)";_.Mr(f,d);_.Mr(k,{left:"-1000px",top:"-1000px",position:"absolute",width:a+"px",height:b+"px"});this.Q3=f.offsetWidth-a;this.S3=f.offsetHeight;d="auto"==c?["top","start"]:c.split("-");g=_.ks(g);this.Rt="bottom"==d[0];this.ex="right"==d[1]||"left"!=d[1]&&g;this.mh=yG(this,a,b,"auto"== c);this.eF=_.q.setTimeout((0,_.J)(this.E2,this),500);this.va.V(f,"mouseover",this.nD);this.va.Fr(f,"mouseout",this.mD,!1,this);e&&_.q.setTimeout((0,_.J)(function(){this.fq||this.va.V(document,"click",this.ZZ)},this),0)}; _.xG.prototype.open=function(){this.create();this.$.jf(this.Aa);this.$.Tc("resize",(0,_.J)(this.resize,this));this.$.we("showMenu",(0,_.J)(this.QO,this));var a=this.$.methods;a.setHideOnLeave=(0,_.J)(this.zs,this);a.displayStateCallback&&(this.XI=a.displayStateCallback,delete a.displayStateCallback);this.$.Lf(this.Wm,{height:"100%"});_.zG(this,this.mh)};_.xG.prototype.open=_.xG.prototype.open; _.xG.prototype.Pc=function(a){this.fq||(a=a||{},this.Wm.style.left="0",this.Wm.style.top="0",this.Ij&&(_.ie(this.Ij),this.Ij=null),this.eF&&(_.q.clearTimeout(this.eF),this.eF=null),AG(this,parseInt(a.width,10)||parseInt(this.$.width,10)||this.mh.width,parseInt(a.height,10)||parseInt(this.$.height,10)||this.mh.height))};_.xG.prototype.onready=_.xG.prototype.Pc;_.xG.prototype.resize=function(a){this.fq||AG(this,isNaN(+a.width)?this.mh.width:+a.width,isNaN(+a.height)?this.mh.height:+a.height)}; _.xG.prototype.close=function(){this.aC?BG(this):(this.yz=!0,CG(this))};_.xG.prototype.close=_.xG.prototype.close;_.xG.prototype.sk=function(a,b){for(var c,d=1,e=arguments.length;d=f.left;a.ex=a.ex?!d||g:!d&&g;g=e.offsetTop;d=g+c=f.top;a.Rt=a.Rt?!d||g:!d&&g}d=a.Tq(a.ex,e.offsetLeft,e.offsetWidth,b,f.left,f.right);a=a.Tq(a.Rt,e.offsetTop,e.offsetHeight,c,f.top,f.bottom);return new vG(b,c,d,a,1)}; _.xG.prototype.Tq=function(a,b,c,d,e,f){return a?(a=b+c,Math.min(f-a,Math.max(e+d-a,0))):Math.max(e-b,Math.min(f-b-d,0))};var AG=function(a,b,c){a.$.Ia().style.width=b+"px";a.$.Ia().style.height=c+"px";a.Wm.style.width=b+"px";a.Wm.style.height=c+"px";b=a.eT?yG(a,b,c,!1):wG(a.QA,b,c);a.mh=b;a.Bk||DG(a,b)};_.h=_.xG.prototype;_.h.zs=function(a){this.lr=!!a};_.h.nD=function(){!this.Bk&&this.fm&&(_.q.clearTimeout(this.fm),this.fm=null)}; _.h.mD=function(a){if(!(this.Bk||this.fm||!this.lr||a.relatedTarget&&_.me(this.Aa,a.relatedTarget))){var b=_.zs(this.Aa);a=a.clientY>b.top&&a.clientY=c?EG(this,b):(EG(this,a.interpolate(b,1-Math.pow(1-Math.min(1-(c-d)/350,1),3))),this.nn=_.q.setTimeout((0,_.J)(this.nM,this,a,b,c),20))}}; _.bm["slide-menu"]=function(a){var b=new _.xG(_.VT(a)),c=new _.Qs(b);b.open=function(){};b.create();a.attributes={height:"100%"};a.where=b.Wm;a.onClose=function(){b.close()};a.onRestyle=function(d){if(d){var e=!1;d.hasOwnProperty("showMenu")&&(b.QO(d.showMenu),e=!0);d.hasOwnProperty("setHideOnLeave")&&(b.zs(d.setHideOnLeave),e=!0);e||b.resize(d)}};a.onCreate=function(d){d.Nc=function(){return this.oB("openerIframe")};c.$=b.$=d;d.jf(b.Aa);d.register("_ready",(0,_.J)(b.Pc,b),_.mm);b.XI=function(e,f){!d.Lb&& d.Jo([e,f])};_.zG(b,b.mh);c.open()}}; }); // Google Inc.