/* JS */ gapi.loaded_1(function(_){var window=this;
/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
_.xP=function(a,b){this.jx=[];this.iM=a;this.xI=b||null;this.fr=this.Gn=!1;this.Of=void 0;this.hF=this.lT=this.hz=!1;this.Nx=0;this.$a=null;this.St=0};_.xP.prototype.cancel=function(a){if(this.Gn)this.Of instanceof _.xP&&this.Of.cancel();else{if(this.$a){var b=this.$a;delete this.$a;a?b.cancel(a):(b.St--,0>=b.St&&b.cancel())}this.iM?this.iM.call(this.xI,this):this.hF=!0;this.Gn||this.Gu(new _.yP(this))}};_.xP.prototype.oI=function(a,b){this.hz=!1;zP(this,a,b)};
var zP=function(a,b,c){a.Gn=!0;a.Of=c;a.fr=!b;AP(a)},CP=function(a){if(a.Gn){if(!a.hF)throw new BP(a);a.hF=!1}};_.h=_.xP.prototype;_.h.callback=function(a){CP(this);zP(this,!0,a)};_.h.Gu=function(a){CP(this);zP(this,!1,a)};_.h.Tc=function(a,b){return this.ql(a,null,b)};_.h.ql=function(a,b,c){this.jx.push([a,b,c]);this.Gn&&AP(this);return this};_.h.then=function(a,b,c){var d,e,f=new _.Qj(function(g,k){d=g;e=k});this.ql(d,function(g){g instanceof _.yP?f.cancel():e(g)});return f.then(a,b,c)};_.Oj(_.xP);
_.xP.prototype.LH=_.ia(51);_.xP.prototype.isError=function(a){return a instanceof Error};
var DP=function(a){return(0,_.zb)(a.jx,function(b){return _.mb(b[1])})},AP=function(a){if(a.Nx&&a.Gn&&DP(a)){var b=a.Nx,c=EP[b];c&&(_.q.clearTimeout(c.Ca),delete EP[b]);a.Nx=0}a.$a&&(a.$a.St--,delete a.$a);b=a.Of;for(var d=c=!1;a.jx.length&&!a.hz;){var e=a.jx.shift(),f=e[0],g=e[1];e=e[2];if(f=a.fr?g:f)try{var k=f.call(e||a.xI,b);void 0!==k&&(a.fr=a.fr&&(k==b||a.isError(k)),a.Of=b=k);if(_.Pj(b)||"function"===typeof _.q.Promise&&b instanceof _.q.Promise)d=!0,a.hz=!0}catch(l){b=l,a.fr=!0,DP(a)||(c=!0)}}a.Of=
b;d&&(k=(0,_.J)(a.oI,a,!0),d=(0,_.J)(a.oI,a,!1),b instanceof _.xP?(b.ql(k,d),b.lT=!0):b.then(k,d));c&&(b=new FP(b),EP[b.Ca]=b,a.Nx=b.Ca)},BP=function(){_.qb.call(this)};_.F(BP,_.qb);BP.prototype.message="Deferred has already fired";BP.prototype.name="AlreadyCalledError";_.yP=function(){_.qb.call(this)};_.F(_.yP,_.qb);_.yP.prototype.message="Deferred was canceled";_.yP.prototype.name="CanceledError";var FP=function(a){this.Ca=_.q.setTimeout((0,_.J)(this.Q2,this),0);this.Hu=a};
FP.prototype.Q2=function(){delete EP[this.Ca];throw this.Hu;};var EP={};

var wQ=null,xQ=function(a){if(_.q.execScript)_.q.execScript(a,"JavaScript");else if(_.q.eval){if(null==wQ){try{_.q.eval("var _evalTest_ = 1;")}catch(d){}if("undefined"!=typeof _.q._evalTest_){try{delete _.q._evalTest_}catch(d){}wQ=!0}else wQ=!1}if(wQ)_.q.eval(a);else{var b=_.q.document,c=b.createElement("script");c.type="text/javascript";c.defer=!1;c.appendChild(b.createTextNode(a));b.head.appendChild(c);b.head.removeChild(c)}}else throw Error("f");},yQ=function(a){var b=_.q.onerror,c=!1;_.Pc&&!_.fd("535.3")&&
(c=!c);_.q.onerror=function(d,e,f,g,k){b&&b(d,e,f,g,k);a({message:d,fileName:e,line:f,lineNumber:f,oba:g,error:k});return c}},zQ=function(a){var b=_.cq("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||_.q.$googDebugFname||
b}catch(f){e="Not available",c=!0}return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:(b=a.message,null==b&&(b=a.constructor&&a.constructor instanceof Function?'Unknown Error of type "'+(a.constructor.name?a.constructor.name:_.Jy(a.constructor))+'"':"Unknown Error of unknown type"),{message:b,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:a.stack||"Not available"})},AQ=function(a){_.qb.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)));(a=
a&&a.stack)&&"string"===typeof a&&(this.stack=a)};_.F(AQ,_.qb);var BQ=function(a){_.gq.call(this);this.nU=a};_.F(BQ,_.gq);BQ.prototype.wrap=function(a){return CQ(this,a)};var DQ=function(a,b){return(b?"__wrapper_":"__protected_")+_.ld(a)+"__"},CQ=function(a,b){var c=DQ(a,!0);b[c]||((b[c]=EQ(a,b))[DQ(a,!1)]=b);return b[c]},EQ=function(a,b){var c=function(){if(a.Lb)return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(d){a.sg(d)}finally{}};c[DQ(a,!1)]=b;return c};
BQ.prototype.sg=function(a){if(!(a&&"object"===typeof a&&"string"===typeof a.message&&0==a.message.indexOf("Error in protected function: ")||"string"===typeof a&&0==a.indexOf("Error in protected function: ")))throw this.nU(a),new AQ(a);};
var FQ=function(a,b){var c=_.cq("window"),d=c[b];c[b]=function(e,f){"string"===typeof e&&(e=_.jj(xQ,e));arguments[0]=e=CQ(a,e);if(d.apply)return d.apply(this,arguments);var g=e;if(2<arguments.length){var k=Array.prototype.slice.call(arguments,2);g=function(){e.apply(this,k)}}return d(g,f)};c[b][DQ(a,!1)]=d};BQ.prototype.ua=function(){var a=_.cq("window");var b=a.setTimeout;b=b[DQ(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[DQ(this,!1)]||b;a.setInterval=b;BQ.H.ua.call(this)};
var GQ=function(a,b,c,d){_.Sy(a,null,b,c,d)},HQ=function(a,b){_.kq.call(this,"a");this.error=a;this.context=b};_.F(HQ,_.kq);
var IQ=function(a,b,c){_.Uq.call(this);this.nI=b||null;this.oH={};this.xP=GQ;this.FX=a;if(!c)if(this.Fn=null,_.Lc&&!_.fd("10"))yQ((0,_.J)(this.ov,this));else{this.Fn=new BQ((0,_.J)(this.ov,this));FQ(this.Fn,"setTimeout");FQ(this.Fn,"setInterval");a=this.Fn;b=_.cq("window");c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&FQ(a,e)}a=this.Fn;_.nj=!0;b=(0,_.J)(a.wrap,a);for(c=0;c<_.lj.length;c++)_.lj[c](b);
_.mj.push(a)}};_.F(IQ,_.Uq);var JQ=function(a,b){a.xP=b};
IQ.prototype.ov=function(a,b){a=a.error||a;b=b?_.uj(b):{};a instanceof Error&&_.Lb(b,a.__closure__error__context__984382||{});a=zQ(a);if(this.nI)try{this.nI(a,b)}catch(k){}var c=a.message.substring(0,1900),d=a.stack;try{var e=_.Fy(this.FX,"script",a.fileName,"error",c,"line",a.lineNumber);_.Sq(this.oH)||(e=_.vh(e,this.oH));c={};c.trace=d;if(b)for(var f in b)c["context."+f]=b[f];var g=_.uh(c);this.xP(e,"POST",g,this.Fba)}catch(k){}try{this.dispatchEvent(new HQ(a,b))}catch(k){}};
IQ.prototype.ua=function(){_.iq(this.Fn);IQ.H.ua.call(this)};
var KQ=function(){_.gq.call(this)};_.F(KQ,_.gq);KQ.prototype.Db=null;KQ.prototype.init=function(){this.No=[]};
var NQ=function(a){var b=LQ;b.qE=a;MQ(b)},PQ=function(a,b){var c=LQ;if(c.ada){a="Potentially sensitive message stripped for security reasons.";var d=Error("Wa");d.columnNumber=b.columnNumber;d.lineNumber=b.lineNumber;d.name=b.name;d.fileName=b.fileName;if(_.Pb()&&_.py(28)||_.Ob()&&_.py(14))d.stack=b.stack;b=d}c.Lb||b instanceof _.yP||(c.qE?OQ(c.qE,b,a):c.No&&10>c.No.length&&c.No.push([a,b]))},MQ=function(a){a.No&&((0,_.vb)(a.No,function(b){OQ(this.qE,b[1],b[0])},a),a.No=null)},LQ=new KQ;
var QQ=function(){var a=window;if(!a.location)try{_.$x(a)}catch(c){}var b=a.location&&a.location.ancestorOrigins;if(void 0!==b)return b&&b.length?b[b.length-1]==a.location.origin:!0;try{return void 0!==a.top.location.href}catch(c){return!1}};
var RQ={},SQ=function(){var a={};a.location=document.location.toString();if(QQ())try{a["top.location"]=top.location.toString()}catch(c){a["top.location"]="[external]"}else a["top.location"]="[external]";for(var b in RQ)try{a[b]=RQ[b].call()}catch(c){a[b]="[error] "+c.message}return a};
var TQ=function(a){this.hI=a;this.YK={};this.jr=[]},OQ=function(a,b,c){var d=SQ();c&&(d.message=c);a:{c=_.Ly();d["call-stack"]=c;b=b instanceof Error?b:b||"";for(c=0;c<a.jr.length;c++)if(!1===a.jr[c](b,d))break a;c="";if(b){c=b.message||"unknown";for(var e=0,f=0;f<c.length;++f)e=31*e+c.charCodeAt(f)>>>0;c=e}e="";for(g in d)e=e+g+":"+d[g]+":";var g=c+"::"+e;c=a.YK[g];c||(c={time:0,count:0},a.YK[g]=c);1E4>(0,_.fb)()-c.time?(c.count++,1==c.count&&(d=SQ(),d.message="Throttling: "+g,a.hI.ov(b,d))):(c.count&&
(d["dropped-instances"]=c.count),c.time=(0,_.fb)(),c.count=0,a.hI.ov(b,d))}};
var UQ=function(){var a=_.R("debug/host"),b="withCredentials"in new XMLHttpRequest,c=!!window.XDomainRequest,d=document.location.origin;LQ.init();var e=new IQ("/_/jserror",void 0,!0);JQ(e,function(f,g,k,l){a===d?_.Sy(a+f,null,g,k,l):c?(l=new window.XDomainRequest,l.open(g,a+f),l.send(k)):b&&_.Sy(a+f,null,g,k,l)});NQ(new TQ(e))},VQ=!1;
(window.___jsl=window.___jsl||{}).hefn=function(a,b){VQ||(UQ(),VQ=!0);var c=_.R("debug/reportExceptionRate");("number"===typeof c?c:0)>=Math.random()&&(b?PQ(b,a):PQ(null,a));if(_.R("debug/rethrowException"))throw a;};

});
// Google Inc.
