/* JS */ gapi.loaded_1(function(_){var window=this;
_.Ef.prototype.Tr=_.M(2,function(a,b,c,d){return _.mf(this.Ua,String(a),b,c,d)});_.Pu=function(a){if(!_.ya(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};_.Qu=function(a){_.Re.call(this);this.ra=a;this.T={}};_.B(_.Qu,_.Re);var Ru=[];_.Qu.prototype.wa=function(a,b,c,d){return _.Su(this,a,b,c,d)};_.Su=function(a,b,c,d,e,f){_.ya(c)||(c&&(Ru[0]=c.toString()),c=Ru);for(var g=0;g<c.length;g++){var k=_.P(b,c[g],d||a.handleEvent,e||!1,f||a.ra||a);if(!k)break;a.T[k.key]=k}return a};
_.Qu.prototype.wb=function(a,b,c,d,e){if(_.ya(b))for(var f=0;f<b.length;f++)this.wb(a,b[f],c,d,e);else c=c||this.handleEvent,e=e||this.ra||this,c=_.qf(c),d=!!d,b=_.df(a)?a.Tr(b,c,d,e):a?(a=_.sf(a))?_.mf(a,b,c,d,e):null:null,b&&(_.yf(b),delete this.T[b.key]);return this};_.Tu=function(a){_.de(a.T,function(a,c){this.T.hasOwnProperty(c)&&_.yf(a)},a);a.T={}};_.Qu.prototype.Fa=function(){_.Qu.qa.Fa.call(this);_.Tu(this)};_.Qu.prototype.handleEvent=function(){throw Error("M");};

var oy;oy=function(a,b){return a>b?1:a<b?-1:0};_.py=function(a,b){a.sort(b||oy)};_.qy=function(a,b){_.ya(b)||(b=[b]);var c=(0,_.Id)(b,function(a){return _.t(a)?a:a.So+" "+a.duration+"s "+a.timing+" "+a.Lh+"s"});_.Q(a,"transition",c.join(","))};
_.ry=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if(_.N)return _.De("10.0");var a=window.document.createElement("DIV"),b=_.ke?"-webkit":_.je?"-moz":_.N?"-ms":_.ge?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");_.jt(a,_.Gt({style:c}));a=a.firstChild;b=a.style[_.Bd("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Mt(a,"transition")]||"")});

var wH=function(a,b,c,d,e){this.width=a;this.height=b;this.R=c;this.S=d;this.opacity=e},xH=function(a,b,c,d){return new wH(void 0==b?a.width:b,void 0==c?a.height:c,a.R,a.S,void 0==d?a.opacity:d)};wH.prototype.equals=function(a){return this.width==a.width&&this.height==a.height&&this.R==a.R&&this.S==a.S&&this.opacity==a.opacity}; wH.prototype.interpolate=function(a,b){var c=1-b;return new wH(Math.round(this.width*c+a.width*b),Math.round(this.height*c+a.height*b),Math.round(this.R*c+a.R*b),Math.round(this.S*c+a.S*b),this.opacity*c+a.opacity*b)};
_.yH=function(a){_.Au.call(this,a);this.Ma=new _.Qu(this)};_.B(_.yH,_.Cu);
_.AH=function(a){var b=Number(a.V(200,"widgetWidth","width")),c=Number(a.V(100,"widgetHeight","height")),d=a.V("auto","corner"),e=a.V({},"menuCss"),f=a.V(!0,"hideOnClick");a.Xd=!!a.V(!0,"hideOnLeave");a.Kb=!!a.V((0,_.ry)(),"useCss3Transition");a.Ac=!!a.V(!0,"allowOffset");var g=window.document.createElement("div");a.S=g;var k=_.Fu(a);k.parentNode.appendChild(g);var l=window.document.createElement("div");a.Aa=l;g.appendChild(l);e.position="absolute";e.width=b+"px";e.height="0";e.border=e.border||"1px solid #aaa";
e.background=e.background||"#fff";e.zIndex=_.Hu(a);e.overflow="hidden";e.boxShadow=e.MozBoxShadow=e.webkitBoxShadow=e.boxShadow||"0 2px 2px rgba(0,0,0,0.3)";_.Q(g,e);_.Q(l,{left:"-1000px",top:"-1000px",position:"absolute",width:b+"px",height:c+"px"});a.Df=g.offsetWidth-b;a.Ef=g.offsetHeight;e="auto"==d?["top","start"]:d.split("-");k=_.cu(k);a.vb="bottom"==e[0];a.La="right"==e[1]||"left"!=e[1]&&k;a.T=zH(a,b,c,"auto"==d);a.Jb=_.r.setTimeout((0,_.u)(a.Jd,a),500);a.Ma.wa(g,"mouseover",a.vK);_.Su(a.Ma,
g,"mouseout",a.uK,!1,a);f&&_.r.setTimeout((0,_.u)(function(){this.Ja||this.Ma.wa(window.document,"click",this.yL)},a),0)};_.yH.prototype.open=function(){_.AH(this);this.Ca.Xe(this.S);this.Ca.Jc("resize",(0,_.u)(this.resize,this));this.Ca.Kd("showMenu",(0,_.u)(this.dC,this));var a=this.Ca.methods;a.setHideOnLeave=(0,_.u)(this.jz,this);a.displayStateCallback&&(this.dd=a.displayStateCallback,delete a.displayStateCallback);this.Ca.Ee(this.Aa,{height:"100%"});_.BH(this,this.T)};_.yH.prototype.open=_.yH.prototype.open;
_.yH.prototype.Zc=function(a){this.Ja||(a=a||{},this.Aa.style.left="0",this.Aa.style.top="0",this.U&&(_.Jh(this.U),this.U=null),this.Jb&&(_.r.clearTimeout(this.Jb),this.Jb=null),CH(this,(0,window.parseInt)(a.width,10)||(0,window.parseInt)(this.Ca.width,10)||this.T.width,(0,window.parseInt)(a.height,10)||(0,window.parseInt)(this.Ca.height,10)||this.T.height))};_.yH.prototype.onready=_.yH.prototype.Zc;
_.yH.prototype.resize=function(a){this.Ja||CH(this,(0,window.isNaN)(+a.width)?this.T.width:+a.width,(0,window.isNaN)(+a.height)?this.T.height:+a.height)};_.yH.prototype.close=function(){this.tb?DH(this):(this.Ta=!0,EH(this))};_.yH.prototype.close=_.yH.prototype.close;_.yH.prototype.V=function(a,b){for(var c,d=1,e=arguments.length;d<e&&(c=this.R[arguments[d]],void 0===c);++d);return void 0!==c?c&&"object"==typeof c?(d={},_.Kt(d,c),d):c:a};
var zH=function(a,b,c,d){var e=_.Fu(a),f=_.su(e.offsetParent);f.right-=a.Df;f.bottom-=a.Ef;if(d){var g=e.offsetLeft;d=g+b<f.right;g=g+e.offsetWidth-b>=f.left;a.La=a.La?!d||g:!d&&g;g=e.offsetTop;d=g+c<f.bottom;g=g+e.offsetHeight-c>=f.top;a.vb=a.vb?!d||g:!d&&g}return new wH(b,c,FH(a.La,e.offsetLeft,e.offsetWidth,b,f.left,f.right),FH(a.vb,e.offsetTop,e.offsetHeight,c,f.top,f.bottom),1)},FH=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))},CH=function(a,
b,c){a.Ca.qb().style.width=b+"px";a.Ca.qb().style.height=c+"px";a.Aa.style.width=b+"px";a.Aa.style.height=c+"px";b=a.Ac?zH(a,b,c,!1):xH(a.Wa,b,c);a.T=b;a.$||GH(a,b)};_.h=_.yH.prototype;_.h.jz=function(a){this.Xd=!!a};_.h.vK=function(){!this.$&&this.W&&(_.r.clearTimeout(this.W),this.W=null)};
_.h.uK=function(a){if(!(this.$||this.W||!this.Xd||a.relatedTarget&&_.Oh(this.S,a.relatedTarget))){var b=_.ru(this.S);a=a.clientY>b.top&&a.clientY<b.top+b.height?0:300;this.W=_.r.setTimeout((0,_.u)(this.Bb,this),a)}};_.h.yL=function(a){_.Gu(this.S,a)||this.Bb()};_.h.dC=function(a){this.show(!!a||void 0===a)};_.h.show=function(a){a?!this.Ja&&this.tb&&(this.$=this.tb=!1,_.BH(this,this.T)):this.Bb()};
_.BH=function(a,b){HH(a,xH(b,void 0,0,0));_.r.setTimeout((0,_.u)(function(){this.$||(this.T=b,this.Kb&&_.qy(this.S,"width 350ms cubic-bezier(.23, .50, .32, 1),height 350ms cubic-bezier(.23, .50, .32, 1),left 350ms cubic-bezier(.23, .50, .32, 1),top 350ms cubic-bezier(.23, .50, .32, 1),opacity 350ms cubic-bezier(.23, .50, .32, 1)"),GH(this,b),this.Fb(!0,!1),this.Ba&&(_.r.clearTimeout(this.Ba),this.Ta=!1),this.Ba=_.r.setTimeout((0,_.u)(this.Fb,this,!0,!0),350))},a),0)};
_.yH.prototype.Bb=function(){this.$||EH(this)};
var EH=function(a){a.$||(a.Fb(!1,!1),GH(a,xH(a.Wa,void 0,0,0)),a.$=!0,a.Ba&&_.r.clearTimeout(a.Ba),a.Ba=_.r.setTimeout((0,_.u)(function(){this.tb=!0;this.Ta?(DH(this),this.Ta=!1):(this.Kb&&_.qy(this.S,""),this.S.visibility="hidden",this.S.left="-1000px",this.S.top="-1000px");this.Fb(!1,!0)},a),350))},DH=function(a){a.Ja=!0;_.Te(a.Ma);a.Ma=null;a.W&&(_.r.clearTimeout(a.W),a.W=null);a.ua&&(_.r.clearTimeout(a.ua),a.ua=null);_.Jh(a.S);a.S=null;_.Jh(_.Fu(a));a.Aa=null;a.U=null};
_.yH.prototype.Fb=function(a,b){var c=this.dd;c&&_.r.setTimeout(function(){c(a,b)},0)};_.yH.prototype.Jd=function(){this.U=window.document.createElement("div");this.U.style.width=this.U.style.height="100%";this.U.style.position="absolute";this.U.style.background="url(//ssl.gstatic.com/ui/v1/activityindicator/loading_gs.gif) no-repeat "+(this.T.width-19)/2+"px "+(this.T.height-19)/2+"px";this.S.appendChild(this.U)};
var GH=function(a,b){if(!a.$)if(a.Kb)HH(a,b);else{var c=(0,_.Ga)()-20+350;a.ua&&_.r.clearTimeout(a.ua);a.nc(a.Wa,b,c)}},HH=function(a,b){var c=a.S,d=_.Fu(a);c.style.left=a.La?d.offsetLeft+d.offsetWidth+b.R-b.width+"px":d.offsetLeft+b.R+"px";c.style.width=b.width+"px";c.style.top=a.vb?d.offsetTop+d.offsetHeight+b.S-b.height+"px":d.offsetTop+b.S+"px";c.style.height=b.height+"px";_.ju(c,b.opacity);a.Wa=b}; _.yH.prototype.nc=function(a,b,c){this.ua=null;if(!this.Ja&&!a.equals(b)){var d=(0,_.Ga)();d>=c?HH(this,b):(HH(this,a.interpolate(b,1-Math.pow(1-Math.min(1-(c-d)/350,1),3))),this.ua=_.r.setTimeout((0,_.u)(this.nc,this,a,b,c),20))}};

_.lo["slide-menu"]=function(a){var b=new _.yH(_.VQ(a)),c=new _.Mu(b);b.open=function(){};_.AH(b);a.attributes={height:"100%"};a.where=b.Aa;a.onClose=function(){b.close()};a.onRestyle=function(a){if(a){var c=!1;a.hasOwnProperty("showMenu")&&(b.dC(a.showMenu),c=!0);a.hasOwnProperty("setHideOnLeave")&&(b.jz(a.setHideOnLeave),c=!0);c||b.resize(a)}};a.onCreate=function(a){a.Dc=function(){return this.Tk("openerIframe")};c.Ca=b.Ca=a;a.Xe(b.S);a.register("_ready",(0,_.u)(b.Zc,b),_.Vn);b.dd=function(b,c){!a.Yb()&& a.Dj([b,c])};_.BH(b,b.T);c.open()}};

});
// Google Inc.
