/* JS */ gapi.loaded_1(function(_){var window=this; var hx=function(){};hx.prototype.bG=null;hx.prototype.getOptions=function(){var a;(a=this.bG)||(a={},_.ix(this)&&(a[0]=!0,a[1]=!0),a=this.bG=a);return a};var kx;kx=function(){};_.B(kx,hx);_.ix=function(a){if(!a.LI&&"undefined"==typeof window.XMLHttpRequest&&"undefined"!=typeof window.ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c");var h=_.K.createElement(d.join(""));h&&(!b||h.tagName==b.tagName&&h.namespaceURI==b.namespaceURI)&&(b=h)}catch(l){}d=b;a=a||{};for(var k in a)a.hasOwnProperty(k)&&(d[k]=a[k]);return b};_.K.rH=function(){if(window.document.body)return window.document.body;try{var a=window.document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml", "body");if(a&&1==a.length)return a[0]}catch(c){}return window.document.documentElement||window.document};_.K.gba=function(b){return a(b)}})(); _.gh={};_.hh=function(a){return _.gh[a||"token"]||null}; var nh,oh;_.mh=function(a,b){this.ud=a;a=b||{};this.VW=Number(a.maxAge)||0;this.nd=a.domain;this.Ji=a.path;this.pZ=!!a.secure};nh=/^[-+/_=.:|%&a-zA-Z0-9@]*$/;oh=/^[A-Z_][A-Z0-9_]{0,63}$/;_.mh.prototype.read=function(){for(var a=this.ud+"=",b=window.document.cookie.split(/;\s*/),c=0;cuh;++uh);_.vh="https:"===window.location.protocol;_.wh=_.vh||"http:"===window.location.protocol?_.mh:_.ph;_.xh=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=(0,window.parseInt)(b,10);if((0,window.isNaN)(c))return null;b=d.split(".");if(b.lengthc?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,_.Oa)()+1E3*c)).toUTCString();this.Va.cookie=a+"="+b+e+d+c+f}; _.g.get=function(a,b){for(var c=a+"=",d=(this.Va.cookie||"").split(";"),e=0,f;ec;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],f=e[2],k=e[3],l=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var n=k^d&(f^k);var p=1518500249}else n=d^f^k,p=1859775393;else 60>c?(n=d&f|k&(d|f),p=2400959708):(n=d^f^k,p=3395469782);n=((a<<5|a>>>27)&4294967295)+ n+l+p+b[c]&4294967295;l=k;k=f;f=(d<<30|d>>>2)&4294967295;d=a;a=n}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=e[2]+f&4294967295;e[3]=e[3]+k&4294967295;e[4]=e[4]+l&4294967295}function c(a,c){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var d=[],e=0,h=a.length;en?c(k,56-n):c(k,64-(n-56));for(var h=63;56<=h;h--)f[h]=d&255,d>>>=8;b(f);for(h=d=0;5>h;h++)for(var l=24;0<=l;l-=8)a[d++]=e[h]>>l&255;return a}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var n,p;a();return{reset:a,update:c,digest:d,Jg:function(){for(var a=d(),b="",c=0;cc&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]}; _.Tg=function(a,b,c){if(_.Ma(b))for(var d=0;d=e&&(e+=32);65<=f&&90>=f&&(f+=32);if(e!=f)return!1}return!0}; _.kg=function(a){a=String(a||"").split("\x00").join("");for(var b=[],c=!0,d=0,e=a.length;d=h&&d+1=l&&(f+=k,h=65536+(h-55296<<10)+(l-56320),++d)}if(!(0<=h&&1114109>=h)||55296<=h&&57343>=h||64976<=h&&65007>=h||65534==(h&65534))h=65533,f=String.fromCharCode(h);k=!(32<=h&&126>=h)||" "==f||c&&":"==f||"\\"==f;!c||"/"!=f&&"?"!=f||(c=!1);"%"==f&&(d+2>=e?k=!0:(l=16*(0,window.parseInt)(a.charAt(d+ 1),16)+(0,window.parseInt)(a.charAt(d+2),16),0<=l&&255>=l?(h=l,f=0==h?"":"%"+(256+l).toString(16).toUpperCase().substr(1),d+=2):k=!0));k&&(f=(0,window.encodeURIComponent)(f),1>=f.length&&(0<=h&&127>=h?f="%"+(256+h).toString(16).toUpperCase().substr(1):(h=65533,f=(0,window.encodeURIComponent)(String.fromCharCode(h)))));b.push(f)}a=b.join("");a=a.split("#")[0];a=a.split("?");b=a[0].split("/");c=[];d=0;for(e=b.length;d=h)){var k=f.substring(0,h);if(k=_.tg(k)){for(f=f.substring(h+1);d+1>2;e=(e&3)<<4|h>>4;h=(h&15)<<2|l>>6;l&=63;k||(l=64,f||(h=64));c.push(b[n],b[e],b[h],b[l])}return c.join("")}; _.Ng=function(){if(!Jg){Jg={};_.Kg={};Lg={};for(var a=0;65>a;a++)Jg[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),_.Kg[Jg[a]]=a,Lg[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(_.Kg["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}}; var up;_.sp=function(a,b){a=a.split(".");b=b||_.m;for(var c=0;c=a.keyCode)a.keyCode=-1}catch(b){}}; var Lp;_.Jp="closure_listenable_"+(1E6*Math.random()|0);_.Kp=function(a){return!(!a||!a[_.Jp])};Lp=0;var Mp=function(a,b,c,d,e){this.listener=a;this.Sv=null;this.src=b;this.type=c;this.capture=!!d;this.Se=e;this.key=++Lp;this.Vn=this.ht=!1},Np=function(a){a.Vn=!0;a.listener=null;a.Sv=null;a.src=null;a.Se=null};_.Op=function(a){this.src=a;this.sd={};this.ts=0};_.Op.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.sd[f];a||(a=this.sd[f]=[],this.ts++);var h=Pp(a,b,d,e);-1c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(h){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.cm&&0<=e;e--){b.currentTarget=c[e];var f=fq(c[e],a,!0,b);d=d&&f}for(e=0;!b.cm&&e>>0);_.Wp=function(a){if(_.Va(a))return a;a[gq]||(a[gq]=function(b){return a.handleEvent(b)});return a[gq]};_.Li(function(a){cq=a(cq)}); _.hq=function(a){a.PA=void 0;a.Na=function(){return a.PA?a.PA:a.PA=new a}};_.iq=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.jq=function(a){for(var b in a)return!1;return!0};_.kq=function(a,b,c,d,e){if(_.Ma(b))for(var f=0;f2*this.Sb&&at(this),!0):!1};var at=function(a){if(a.Sb!=a.Lb.length){for(var b=0,c=0;b=d.Lb.length)throw _.Xs;var e=d.Lb[b++];return a?e:d.U[e]};return e};_.bt=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; _.dt=function(a){var b=0,c;for(c in a)b++;return b};_.et=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};_.ft=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.gt=function(a,b){var c=_.Ua(b),d=c?b:arguments;for(c=c?0:1;ciu(this.Ub[a],b)&&this.Ub[a].push(b)}; ru.prototype.removeEventListener=function(a,b){if(!(0<=iu(this.ZD,a)))throw"Unrecognized event type: "+a;ku(b)&&this.Ub[a]&&this.Ub[a].length&&(b=iu(this.Ub[a],b),0<=b&&this.Ub[a].splice(b,1))};ru.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=iu(this.ZD,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Ub[b]&&this.Ub[b].length)for(var c=0,d=this.Ub[b].length;cc;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],f=e[2],k=e[3],l=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var n=k^d&(f^k);var p=1518500249}else n=d^f^k,p=1859775393;else 60>c?(n=d&f|k&(d|f),p=2400959708):(n=d^f^k,p=3395469782);n=((a<<5|a>>>27)&4294967295)+ n+l+p+b[c]&4294967295;l=k;k=f;f=(d<<30|d>>>2)&4294967295;d=a;a=n}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=e[2]+f&4294967295;e[3]=e[3]+k&4294967295;e[4]=e[4]+l&4294967295}function c(a,c){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var d=[],e=0,h=a.length;en?c(k,56-n):c(k,64-(n-56));for(var h=63;56<=h;h--)f[h]=d&255,d>>>=8;b(f);for(h=d=0;5>h;h++)for(var l=24;0<=l;l-=8)a[d++]=e[h]>>l&255;return a}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var n,p;a();return{reset:a,update:c,digest:d,Jg:function(){for(var a=d(),b="",c=0;cc.indexOf("chrome/")&&0>c.indexOf("crios/")&&0>c.indexOf("android"))||(c=window.navigator.userAgent,c=!!c&&/Edge\/\d+/.test(c));c||(c=window.navigator.userAgent.toLowerCase(),c=0>c.indexOf("edge/")&&(-1iu(c.Xj[a],b)&&c.Xj[a].push(b));f()}else e.Bn={error:"Not a valid origin for the client: "+e.vd+" has not been whitelisted for client ID "+ e.Wb+". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},e.Ml=!0,e.zv(e.Bn)}):(Wu(e.Ib),f())})};ju($u,ru);$u.prototype.setOptions=function(){};$u.prototype.MK=function(){};$u.prototype.zv=function(){};$u.prototype.ul=function(){return this.Bn};av=function(a,b,c){return function(){b.apply(a,c)}};_.bv=function(a,b,c){if(a.gJ)b.apply(a,c);else{if(a.Ml)throw a.Bn;a.Cp.push(av(a,b,c))}}; _.dv=function(a,b){$u.call(this,a,b);this.AK=new wu;this.Oi=this.Xl=null;cv(this)};ju(_.dv,$u);_.dv.prototype.setOptions=function(){}; var ev=function(a,b){a.Yd={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.nd};b.crossSubDomains&&(a.Yd.policy=b.policy)},fv=function(a,b){if(!b.authParameters)throw Error("da");if(!b.authParameters.scope)throw Error("ea");if(!b.authParameters.response_type)throw Error("fa");a.ep=b.authParameters;a.ep.redirect_uri||(a.ep.redirect_uri=[window.location.protocol,"//",window.location.host,window.location.pathname].join(""));a.rk=b.rpcAuthParameters||a.ep;if(!a.rk.scope)throw Error("ga"); if(!a.rk.response_type)throw Error("ha");a:{var c=a.rk.response_type.split(" ");for(var d=0,e=c.length;db;return b}; qv=function(a,b,c,d,e,f){var h=_.vu(a,"authServerUrl");if(!h)throw Error("T`"+a);a=_.lu(d);a.response_type=f||"permission";a.client_id=c;a.ss_domain=b;if(e&&e.extraQueryParams)for(var k in e.extraQueryParams)a[k]=e.extraQueryParams[k];b=h+(0>h.indexOf("?")?"?":"&");c=[];for(var l in a)if(a.hasOwnProperty(l)){e=a[l];if(null===e||void 0===e)e="";c.push((0,window.encodeURIComponent)(l)+"="+(0,window.encodeURIComponent)(e))}return b+c.join("&")}; rv=function(a,b,c,d){if(!a.Wb)throw Error("ka");a.Ki=c||a.EQ||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.vd.split("//");c=b.extraQueryParams;var f=e[0],h=f.indexOf(":");0e)b[d++]=String.fromCharCode(e);else if(191e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239e){f=a[c++];var h=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(h&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],h=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|h&63)}return b.join("")}; _.zv=function(a,b){function c(b){for(;d>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}};Av=function(a){var b=[];_.zv(a,function(a){b.push(a)});return b};_.Bv=function(a,b){_.gh[b||"token"]=a};_.Cv=function(a){delete _.gh[a||"token"]}; Dv=function(){var a=window.crypto||window.msCrypto;a&&a.getRandomValues&&(this.VD=!0,this.Zm=window.Infinity);if(1>this.Zm){var b=this.bk;a=this.Zm;this.bk="";this.Zm=1;a=Math.max(0,a);if(!this.VD){b=this.VB+b;var c=new _.jh;c.update(b);b=String.fromCharCode.apply(String,c.digest());this.Nv+=a;this.Nv>=this.Zm?(c.reset(),c.update("SEED_SALT:"+b+this.bk),this.bk=String.fromCharCode.apply(String,c.digest()),this.VB="",this.Nv=0):this.VB=b}}};_.g=Dv.prototype;_.g.VD=!1;_.g.bk="";_.g.VB="";_.g.Nv=0; _.g.Zm=-1;var Gv=function(a){var b=Ev,c=[];if(b.VD)a=new window.Uint8Array(Math.min(65536,a||1)),(window.crypto||window.msCrypto).getRandomValues(a),c=[].slice.call(a);else{if(0>b.Zm||0==b.bk.length)throw new Fv;var d=new _.jh;d.update("RANDOM_SALT:"+b.bk);var e=d.digest();null!==e&&(d.reset(),d.update("SEED_SALT:"+b.bk),b.bk=String.fromCharCode.apply(String,d.digest()),c=e.slice(0,a||e.length))}return c},Fv=function(){};_.B(Fv,Error);Fv.prototype.name="Insufficient Entropy"; _.qu={parse:function(a){a=_.ef("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.ff(a)}};_.lv.prototype.lz=function(a,b){_.bv(this,this.ZR,[a,b])};_.lv.prototype.ZR=function(a,b){this.ve.lz(this.Wb,a,this.rk,this.Yd,b)};_.Lu.prototype.lz=function(a,b,c,d,e){c=_.lu(c);_.Ou(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var Hv,Iv=["client_id","cookie_policy","scope"],Jv="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint app_package_name ux_mode redirect_uri state prompt oidc_spec_compliant nonce include_granted_scopes response_type session_selection gsiwebsdk".split(" "),Kv=["authuser","after_redirect","access_type","hl"],Lv=["app_package_name","login_hint","prompt"],Mv={clientid:"client_id",cookiepolicy:"cookie_policy"},Nv="approval_prompt app_package_name authuser login_hint prompt hd".split(" "), Ov=["login_hint","g-oauth-window","status"],Pv=Math.min(_.H("oauth-flow/authWindowWidth",599),window.screen.width-20),Qv=Math.min(_.H("oauth-flow/authWindowHeight",600),window.screen.height-30); var Rv=function(a){_.Pi.call(this,a)};_.B(Rv,_.Pi);Rv.prototype.name="gapi.auth2.ExternallyVisibleError";var Tv=function(){};Tv.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Uv=function(){};Uv.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;ca.length&&128>b;)a.push.apply(a,Gv(64-a.length)),b++;if(64>a.length)throw new Fv;var c=a.slice(0,64)}catch(d){for(c=[],a=0;64>a;a++)c[a]=Math.floor(256*Math.random())}return _.Og(c,!0).substring(0,64)}; var Aw=function(a){var b=a||{},c=zw();(0,_.jb)(Jv,function(a){"undefined"===typeof b[a]&&"undefined"!==typeof c[a]&&(b[a]=c[a])});return b},zw=function(){for(var a={},b=window.document.getElementsByTagName("meta"),c=0;cb.indexOf(c)&&delete a[c];return a},Ew=function(a,b){if(!a)throw new Rv("Empty initial options.");for(var c=0;c=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; _.g.expand=function(a,b,c,d){_.Wa(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; _.g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; _.g.translate=function(a,b){a instanceof _.Gq?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,_.Sa(b)&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b=_.Sa(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this}; var gr,mr,kr,pr,Cr,Dr;_.fr=function(a,b,c){if(_.v(b))(b=_.er(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.er(c,d);f&&(c.style[f]=e)}};gr={};_.er=function(a,b){var c=gr[b];if(!c){var d=_.Dc(b);c=d;void 0===a.style[d]&&(d=(_.Wb?"Webkit":_.Vb?"Moz":_.D?"ms":_.Qb?"O":null)+Nq(d),void 0!==a.style[d]&&(c=d));gr[b]=c}return c}; _.hr=function(a,b){var c=_.rd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.ir=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.jr=function(a,b){return _.hr(a,b)||_.ir(a,b)||a.style&&a.style[b]};_.lr=function(a,b,c){if(b instanceof _.Gq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=kr(d,!1);a.style.top=kr(b,!1)}; mr=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}_.D&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}; _.qr=function(a,b){b=b||_.Lq(window.document);var c=b||_.Lq(window.document);var d=_.nr(a),e=_.nr(c),f=_.or(c);if(c==_.Lq(window.document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.D&&!_.nc(10)&&(h+=f.left,d+=f.top)}else h=d.x-e.x-f.left,d=d.y-e.y-f.top;a=pr(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new _.Gq(e,k);b.scrollLeft=c.x;b.scrollTop=c.y}; _.nr=function(a){var b=_.rd(a),c=new _.Gq(0,0);var d=b?_.rd(b):window.document;d=!_.D||_.nc(9)||_.Iq(_.sd(d).Va)?d.documentElement:d.body;if(a==d)return c;a=mr(a);b=_.Mq(_.sd(b).Va);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.sr=function(a,b){var c=new _.Gq(0,0),d=_.xd(_.rd(a));if(!_.Mb(d,"parent"))return c;do{var e=d==b?_.nr(a):_.rr(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.rr=function(a){a=mr(a);return new _.Gq(a.left,a.top)}; _.tr=function(a,b,c){if(b instanceof _.Hq)c=b.height,b=b.width;else if(void 0==c)throw Error("K");a.style.width=kr(b,!0);a.style.height=kr(c,!0)};kr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.ur=function(a){var b=pr;if("none"!=_.jr(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}; pr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Wb&&!b&&!c;return _.r(b)&&!d||!a.getBoundingClientRect?new _.Hq(b,c):(a=mr(a),new _.Hq(a.right-a.left,a.bottom-a.top))};_.vr=function(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};_.wr=function(a,b){a.style.display=b?"":"none"}; _.yr=function(a){var b=_.sd(void 0),c=b.mb();if(_.D&&c.createStyleSheet)return b=c.createStyleSheet(),_.xr(b,a),b;c=_.ud(b.Va,"HEAD",void 0,void 0)[0];if(!c){var d=_.ud(b.Va,"BODY",void 0,void 0)[0];c=b.ma("HEAD");d.parentNode.insertBefore(c,d)}d=b.ma("STYLE");_.xr(d,a);b.appendChild(c,d);return d};_.xr=function(a,b){b=_.Wq(b);_.D&&_.r(a.cssText)?a.cssText=b:a.innerHTML=b};_.zr=function(a){return"rtl"==_.jr(a,"direction")};_.Ar=_.Vb?"MozUserSelect":_.Wb||_.Tb?"WebkitUserSelect":null; _.Br=function(a,b){if(/^\d+px?$/.test(b))return(0,window.parseInt)(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+b};Cr={thin:2,medium:4,thick:6};Dr=function(a,b){if("none"==_.ir(a,b+"Style"))return 0;b=_.ir(a,b+"Width");return b in Cr?Cr[b]:_.Br(a,b)}; _.or=function(a){if(_.D&&!_.nc(9)){var b=Dr(a,"borderLeft"),c=Dr(a,"borderRight"),d=Dr(a,"borderTop");a=Dr(a,"borderBottom");return new _.dr(d,c,a,b)}b=_.hr(a,"borderLeftWidth");c=_.hr(a,"borderRightWidth");d=_.hr(a,"borderTopWidth");a=_.hr(a,"borderBottomWidth");return new _.dr((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))}; _.Px=function(a){this.d0=a};_.Px.prototype.toString=function(){return this.d0};_.Qx=function(a){_.vp.call(this);this.Fh=1;this.Ov=[];this.Tv=0;this.ff=[];this.Sh={};this.AQ=!!a};_.B(_.Qx,_.vp);_.g=_.Qx.prototype;_.g.subscribe=function(a,b,c){var d=this.Sh[a];d||(d=this.Sh[a]=[]);var e=this.Fh;this.ff[e]=a;this.ff[e+1]=b;this.ff[e+2]=c;this.Fh=e+3;d.push(e);return e};_.g.$r=_.da(32);_.g.unsubscribe=function(a,b,c){if(a=this.Sh[a]){var d=this.ff;if(a=_.Hi(a,function(a){return d[a+1]==b&&d[a+2]==c}))return this.fj(a)}return!1}; _.g.fj=function(a){var b=this.ff[a];if(b){var c=this.Sh[b];0!=this.Tv?(this.Ov.push(a),this.ff[a+1]=_.Ta):(c&&_.tp(c,a),delete this.ff[a],delete this.ff[a+1],delete this.ff[a+2])}return!!b}; _.g.Sn=function(a,b){var c=this.Sh[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e":(c=_.Xx(b),h+=">"+_.ld(c)+"",c=c.ql());(a=a&&a.dir)&&(c=/^(ltr|rtl|auto)$/i.test(a)?0:null);return _.md(h,c)};_.Zx=function(a,b){_.Ma(b)||(b=[b]);b=(0,_.mb)(b,function(a){return _.v(a)?a:a.Rv+" "+a.duration+"s "+a.timing+" "+a.delay+"s"});_.fr(a,"transition",b.join(","))}; _.$x=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if(_.D)return _.lc("10.0");var a=_.Cd("DIV"),b=_.Wb?"-webkit":_.Vb?"-moz":_.D?"-ms":_.Qb?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.Yx({style:c});a.innerHTML=_.ld(b);a=a.firstChild;b=a.style[_.Dc("transition")];return""!=("undefined"!==typeof b?b:a.style[_.er(a,"transition")]||"")}); _.by=function(){_.ay="oauth2relay"+String(2147483647*(0,_.Wf)()|0)};_.cy=new _.Sx;_.dy=new _.Px("oauth");_.by();_.H("oauth-flow/client_id");var ey=String(_.H("oauth-flow/redirectUri"));if(ey)ey.replace(/[#][\s\S]*/,"");else{var fy=_.Rf.Qa(window.location.href);_.H("oauth-flow/callbackUrl");(0,window.encodeURIComponent)(fy)}_.Rf.Qa(window.location.href); var hy,iy,jy,ky,ly,my,ny,oy,py,qy,ry,sy,uy,vy,wy,xy,yy,zy,Ay,By,Cy,Dy,Ey,Fy,Gy,Iy,Jy,Ky,Ly,My,Ny,Oy,Py,Qy,Ry,Sy,Ty,Uy,Vy,Wy,Xy,Yy,Zy,$y,az,bz,cz,dz,ez,fz,iz,hz,jz,kz,mz;_.gy=function(a,b){if(_.Mg&&!b)return _.m.atob(a);var c="";_.zv(a,function(a){c+=String.fromCharCode(a)});return c};hy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};iy=function(a){return _.H("enableMultilogin")&&a("cookie_policy")&&!hy(a)?!0:!1}; jy=function(a){a=String(a);if(null!=(_.Xd(a,"authuser")||null)||null!=(_.Xd(a,"hd")||null))return a;var b=_.fh(void 0),c;null==b?iy(function(b){return _.Xd(a,b)||null})||(c=(0,window.encodeURIComponent)("authuser")+"=0"):c=b.match(/^([-a-z0-9]+[.])+[-a-z0-9]+$/)?[(0,window.encodeURIComponent)("authuser")+"=",(0,window.encodeURIComponent)(String(b)),"&"+(0,window.encodeURIComponent)("hd")+"=",(0,window.encodeURIComponent)(b)].join(""):["authuser=",(0,window.encodeURIComponent)(b)].join("");b=a.split("#"); var d=b[0].indexOf("?");if(0>d)b[0]=[b[0],"?",c].join("");else{var e=[b[0]];da.kh)&&(a=c,b=d)});return{KQ:a,authuser:b}};ny=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"]; oy=function(a){a=a.toUpperCase();for(var b=0,c=ny.length;ba.expires_at?null:a};_.ty=function(a,b){if(b){var c=b;var d=a}else _.v(a)?d=a:c=a;c?_.Bv(c,d):_.Cv(d)}; uy=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.N.Qa(a));var b=window.location.hostname,c=b,d=_.vh;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.ve("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.ve("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,we:d,kh:b}}; vy=function(a){var b=uy(a);if(!b)return new _.ph("G_USERSTATE_");a=["G_USERSTATE_",_.vh&&b.we?"S":"H",b.kh].join("");var c=_.Ch[a];c||(c={Wba:63072E3},_.Vd(_.Gh(b),c),c=new _.mh(a,c),_.Ch[a]=c,b=c.read(),"undefined"!==typeof b&&null!==b&&(window.document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};wy=function(a){var b=vy(a).read();a=_.G();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; xy=function(a,b,c){var d=wy(b),e=d[a];d[a]="0";var f=[];_.bl(d,function(a,b){f.push(b+"="+a)});var h=f.join(":");b=vy(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};yy=function(a,b){b=wy(b);return"0"==b[a]||"X"==b[a]};zy=function(a){a=uy(a.g_user_cookie_policy);if(!a||a.we&&!_.vh)a=null;else{var b=["G_AUTHUSER_",_.vh&&a.we?"S":"H",a.kh].join(""),c=_.Bh[b];c||(c=new _.wh(b,_.Gh(a)),_.Bh[b]=c);a=c}_.le("googleapis.config/sessionIndex",null);a.clear()};Ay=function(a){return hy(function(b){return a[b]})}; By=["client_id","cookie_policy","response_type"];Cy="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect app_package_name access_type hl state".split(" "); Dy=function(a){var b=_.Ri(a);b.session_state&&b.session_state.extraQueryParams&&(b.authuser=b.session_state.extraQueryParams.authuser);b.session_state=null;a.expires_at&&(b.expires_at=(0,window.parseInt)(a.expires_at/1E3).toString());a.expires_in&&(b.expires_in=a.expires_in.toString());a.first_issued_at&&(b.issued_at=(0,window.parseInt)(a.first_issued_at/1E3).toString(),delete b.first_issued_at);_.Bv(b);return b}; Ey=function(a){if(!_.r(a.include_granted_scopes)){var b=_.H("include_granted_scopes");a.include_granted_scopes=!!b}};Fy=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))}; Gy=function(a){var b=a||{},c={};(0,_.jb)(Cy,function(a){null!=b[a]&&(c[a]=b[a])});a=_.H("googleapis/overrideClientId");null!=a&&(c.client_id=a);Ey(c);_.v(b.scope)?c.scope=b.scope:_.Ma(b.scope)&&(c.scope=b.scope.join(" "));null!=b["openid.realm"]&&(c.openid_realm=b["openid.realm"]);null!=b.cookie_policy?c.cookie_policy=b.cookie_policy:null!=b.cookiepolicy&&(c.cookie_policy=b.cookiepolicy);null==c.login_hint&&null!=b.user_id&&(c.login_hint=b.user_id);try{_.xw(c.cookie_policy)}catch(d){c.cookie_policy&& Fy("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}null!=b.hd&&(c.hosted_domain=b.hd);null!=c.prompt||(1==b.immediate||"true"==b.immediate?c.prompt="none":"force"==b.approval_prompt&&(c.prompt="consent"));"none"==c.prompt&&(c.session_selection="first_valid");"none"==c.prompt&&"offline"==c.access_type&&delete c.access_type;"undefined"===typeof c.authuser&&(a=_.fh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.H("oauth-flow/redirectUri"); null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c}; _.Hy=function(a,b){var c=Gy(a),d=new _.kj(function(b,d){_.cx(c,function(e){var f=e||{};(0,_.jb)(By,function(a){null!=f[a]||(f[a]=c[a])});!c.include_granted_scopes&&a&&a.scope&&(f.scope=a.scope);a&&null!=a.state&&(f.state=a.state);f.error?("none"==c.prompt&&"user_logged_out"==f.error&&(f.error="immediate_failed_user_logged_out"),d(f)):(e=Dy(f),null!=e.authuser&&_.le("googleapis.config/sessionIndex",e.authuser),b(e))})});b&&d.then(b,b);return d};Iy=0;Jy=!1;Ky=[];Ly={};My={};Ny=null; Oy=function(a){var b=_.ay;return function(c){if(this.f==b&&this.t==_.N.nl(this.f)&&this.origin==_.N.Dl(this.f))return a.apply(this,arguments)}};Py=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};Qy=function(a){var b=_.K.Hc;if(null!=b(a).jsh)return a;if(b=String(b().jsh||_.de.h||"")){var c=(a+"#").indexOf("#");a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+(0,window.encodeURIComponent)(b)+a.substr(c)}return a};Ry=function(){return!!_.H("oauth-flow/usegapi")}; Sy=function(a,b){Ry()?Ny.unregister(a):_.N.unregister(a+":"+b)};Ty=function(a,b,c){Ry()?Ny.register(a,c,_.P):_.N.register(a+":"+b,Oy(c))};Uy=function(a){return!!(a&&0<=(" "+(a.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login "))};Vy=function(){ky.parentNode.removeChild(ky)}; Wy=function(a){var b=ky;_.Zx(b,[{Rv:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Zx(b,[{Rv:"transform",duration:1,timing:"ease",delay:0}]);_.rx(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Xy=function(){var a=ly+88;Wy(a);ly=a};Yy=function(){var a=ly-88;Wy(a);ly=a}; Zy=function(a){var b=a?Xy:Yy,c=a?Yy:Xy;a=a?"-":"";ly=(0,window.parseInt)(a+88,10);ky.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";ky.style.transform="translate3d(0px,"+a+88+"px,0px)";ky.style.display="";ky.style.visibility="visible";b();_.rx(c,4E3);_.rx(Vy,5E3)}; $y=function(a){var b=_.H("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=window.document.createElement("div");ky=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.fr(c,"visibility","hidden");_.fr(c,b,"-40px");_.fr(c,"height","128px");var d=c;if("desktop"==_.H("deviceType")){d=window.document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=window.document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%"; d.appendChild(e);d=e}e="top"==b?"-":"";ly=(0,window.parseInt)(e+88,10);ky.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";ky.style.transform="translate3d(0px,"+e+88+"px,0px)";e=window;try{for(;e.parent!=e&&e.parent.document;)e=e.parent}catch(f){}e=e.document.body;try{e.insertBefore(c,e.firstChild)}catch(f){}_.$k.Sg({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Zy(!0):Zy(!1)}})}; az=function(a){var b=_.vm(),c=b&&b.scope;b=a&&a.scope;b="string"===typeof b?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;dc-Iy)return;var d=_.N.nl(a);d&&(Sy("oauth2relayReady",d),Sy("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(window.navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.by();a=_.ay}Iy=c;var e=String(2147483647*(0,_.Wf)()|0);b=_.H("oauth-flow/proxyUrl")||_.H("oauth-flow/relayUrl");Ry()?Ny=_.$k.Sg({where:_.K.rH(),url:b,id:a,attributes:{style:{width:"1px",height:"1px", position:"absolute",top:"-100px",display:"none"},"aria-hidden":"true"},dontclear:!0}):(b=[b,"?parent=",(0,window.encodeURIComponent)(_.Rf.Qa(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.K.rH(),d=_.K.AG({name:a,id:a}),d.src=Qy(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Py(d),c.appendChild(d),_.N.Pr(a));Ty("oauth2relayReady",e,function(){Sy("oauth2relayReady",e);var a=Ky;if(null!==a){Ky=null;for(var b=0,c=a.length;b< c;++b)a[b]()}});Ty("oauth2callback",e,function(a){var b=_.K.Hc;b=b(a);var c=b.state;a=c.replace(/\|.*$/,"");a={}.hasOwnProperty.call(My,a)?My[a]:null;b.state=a;if(null!=b.state){a=Ly[c];delete Ly[c];c=a&&a.key||"token";var d=b=bz(a&&a.params,b);!ez(d)&&Uy(d)&&_.H("isLoggedIn")&&"1"===(d&&d._aa)&&(d._aa="0",Jy||(Jy=!0,$y(d)));_.ty(c,b);b=sy(c);if(a){c=a.popup;d=a.after_redirect;if(c&&"keep_open"!=d)try{c.close()}catch(n){}a.callback&&(a.callback(b),a.callback=null)}}})}; _.gz=function(a){null===Ky?a&&a():fz(a)};iz=function(a,b){var c=hz,d=dz(a);d&&(zy(a),xy(d,b,function(){if(c){var b={error:"user_signed_out"};b.client_id=a.client_id;b.g_user_cookie_policy=a.g_user_cookie_policy;b.scope=a.scope;b.response_type=a.response_type;b.session_state=a.session_state;b=bz(null,b);c(b)}}))}; hz=function(a){a||(a=sy(void 0,!0));a&&"object"===typeof a||(a={error:"invalid_request",error_description:"no callback data"});var b=a.error_description;b&&window.console&&(window.console.error(a.error),window.console.error(b));a.error||(_.de.drw=null);_.ty(a);if(b=a.authuser)_.H("googleapis.config/sessionIndex"),_.le("googleapis.config/sessionIndex",b);_.cy.Sn(_.dy,a);return a};jz=_.Qh.wz;kz=null; _.nz=function(a,b){if("force"!==a.approvalprompt){a=_.lz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)kz?(a.client_id!==kz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(kz=a,b=!1);b||mz(a)}}; _.lz=function(a){var b=a.redirecturi||"postmessage",c=(0,_.rb)((a.scope||"").replace(/[\s\xa0]+/g," "));b={client_id:a.clientid,redirect_uri:b,response_type:"code token id_token gsession",scope:c};a.approvalprompt&&(b.approval_prompt=a.approvalprompt);a.state&&(b.state=a.state);a.openidrealm&&(b["openid.realm"]=a.openidrealm);c="offline"==a.accesstype?!0:(c=a.redirecturi)&&"postmessage"!=c;c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=(0,_.rb)(a.requestvisibleactions.replace(/[\s\xa0]+/g, " ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&"none"!==a.cookiepolicy&&(b.cookie_policy=a.cookiepolicy);"undefined"!=typeof a.includegrantedscopes&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.H("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.H("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};mz=function(a){_.kn("waaf0","signin","0");_.Hy(a,function(a){_.kn("waaf1","signin","0");hz(a)})}; _.oz=function(a){a=_.lz(a);_.le("oauth-flow/authWindowWidth",445);_.le("oauth-flow/authWindowHeight",615);mz(a)};_.pz=function(a){_.cy.unsubscribe(_.dy,a);_.cy.subscribe(_.dy,a)}; var wz,zz;_.rz=function(a){return a.cookiepolicy?!0:(_.qz("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.qz=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.vz=function(a,b){var c=_.vm();_.Vd(a,c);c=az(c);if(_.rz(c)){var d=_.sz(c);_.tz(c);b?_.ce(b,"click",function(){_.uz(c,d)}):_.uz(c,d)}}; _.sz=function(a){var b=new wz;_.pz(function(c){if(b.oB&&c&&(c.access_token&&_.le("isPlusUser",!0),c["g-oauth-window"]))if(b.oB=!1,c.access_token&&"consent"==c.prompt){var d=c["g-oauth-window"];c=c.id_token;var e=a.apppackagename;if(e&&d){var f=!0;try{f=d.closed}catch(h){}f||(c=_.H("iframes/:socialhost:")+"/_/history/otaappinstall?clientId="+(0,window.encodeURIComponent)(a.clientid)+"&appId="+(0,window.encodeURIComponent)(e)+"&idToken="+(0,window.encodeURIComponent)(c),c=jy(c),_.Rj(d.location,c))}}else if(d= c["g-oauth-window"],a.apppackagename&&d)try{d.close()}catch(h){}});return b};wz=function(){this.oB=!1};_.tz=function(a){a=_.xz(a);_.yz(a.callback);_.gz(function(){_.nz(a)})};_.xz=function(a){zz(a);a.apppackagename&&(a.after_redirect="keep_open");a.redirecturi&&delete a.redirecturi;iy(function(b){return a[b]})||(a.authuser=0);a.apppackagename&&(a.apppackagename=a.apppackagename.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""));return a};zz=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.yz=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.qz('Callback function named "'+a+'" not found');return}a&&_.pz(a)};_.uz=function(a,b){b.oB=!0;a=_.xz(a);_.oz(a)}; _.w("gapi.auth.authorize",_.Hy);_.w("gapi.auth.checkSessionState",function(a,b){var c=_.G();c.client_id=a.client_id;c.session_state=a.session_state;_.gz(function(){Ry()?Ny.send("check_session_state",c,function(a){b.call(null,a[0])},_.P):_.N.call(_.ay,"check_session_state",Oy(function(a){b.call(null,a)}),c.session_state,c.client_id)})});_.w("gapi.auth.getAuthHeaderValueForFirstParty",jz);_.w("gapi.auth.getToken",sy); _.w("gapi.auth.getVersionInfo",function(a,b){_.gz(function(){var c=_.Ph()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Ry()?Ny.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(b){a(b[0])},_.P):_.N.call(_.ay,"get_versioninfo",Oy(function(b){a(b)}),d,b):a()})});_.w("gapi.auth.init",_.gz);_.w("gapi.auth.setToken",_.ty);_.w("gapi.auth.signIn",function(a){_.vz(a)});_.w("gapi.auth.signOut",function(){var a=sy();a&&iz(a,a.cookie_policy)}); _.w("gapi.auth.unsafeUnpackIdToken",cz);_.w("gapi.auth._pimf",_.nz);_.w("gapi.auth._oart",$y);_.w("gapi.auth._guss",function(a){return vy(a).read()}); _.Az=function(a){return!!(a.clientid&&a.scope&&a.callback)};_.Bz=function(){var a=_.vm();_.Az(a)&&!_.H("disableRealtimeCallback")?_.tz(a):_.gz()};_.Zi(function(){_.Bz()}); var Dz,Ez,Fz,Gz,Hz,Iz,Jz;_.Cz=function(a){var b=_.La(a);if("object"==b||"array"==b){if(_.Va(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=_.Cz(a[c]);return b}return a};Gz={VF:function(a){Dz=a;try{delete Gz.VF}catch(b){}},WF:function(a){Ez=a;try{delete Gz.WF}catch(b){}},XF:function(a){Fz=a;try{delete Gz.XF}catch(b){}}};Hz=function(){var a=!0,b=_.sx(_.jx);b&&_.r(b.withCredentials)||(a=!1);return a}; Iz=function(a,b){if(null==b)return b;b=String(b);b.match(/^\/\/.*/)&&(b=("http:"==window.location.protocol?"http:":"https:")+b);b.match(/^\/([^\/].*)?$/)&&window.location.host&&String(window.location.protocol).match(/^https?:$/)&&(b=window.location.protocol+"//"+window.location.host+b);var c=b.match(/^(https?:)(\/\/)?(\/([^\/].*)?)?$/i);c&&window.location.host&&String(window.location.protocol).match(/^https?:$/)&&(b=c[1]+"//"+window.location.host+(c[3]||""));b=b.replace(/^(https?:\/\/[^\/?#@]*)\/$/i, "$1");b=b.replace(/^(http:\/\/[-_a-z0-9.]+):0*80([\/?#].*)?$/i,"$1$2");b=b.replace(/^(https:\/\/[-_a-z0-9.]+):0*443([\/?#].*)?$/i,"$1$2");b.match(/^https?:\/\/[-_a-z0-9.]*[-_a-z][-_a-z0-9.]*$/i)&&(b=b.toLowerCase());c=_.H("client/rewrite");_.Wa(c)&&Object.prototype.hasOwnProperty.call(c,b)?b=String(c[b]||b):(b=b.replace(/^(https?):\/\/www\.googleapis\.com$/,"$1://content.googleapis.com"),b=b.replace(/^(https?):\/\/www-(googleapis-[-_a-z0-9]+\.[-_a-z0-9]+\.google\.com)$/,"$1://content-$2"),b.match(/^https?:\/\/content(-[-_a-z0-9.]+)?\.googleapis\.com$/)|| (b=b.replace(/^(https?):\/\/([-_a-z0-9]+(\.[-_a-z0-9]+)?\.googleapis\.com)$/,"$1://content-$2")));a&&(a=_.H("client/firstPartyRewrite"),_.Wa(a)&&Object.prototype.hasOwnProperty.call(a,b)?b=String(a[b]||b):(b=b.replace(/^(https?):\/\/content\.googleapis\.com$/,"$1://clients6.google.com"),b=b.replace(/^(https?):\/\/content-([-a-z0-9]+)\.([-a-z0-9]+)\.googleapis\.com$/,"$1://$2-googleapis.$3.google.com"),b=b.replace(/^(https?):\/\/content-([-a-z0-9]+)\.googleapis\.com$/,"$1://$2.clients6.google.com"), b=b.replace(/^(https?):\/\/([-a-z0-9]+)-www-googleapis\.([-a-z0-9]+).google.com$/,"$1://content-googleapis-$2.$3.google.com")));return b};Jz=function(a){_.Pi.call(this,a)};_.B(Jz,_.Pi);Jz.prototype.name="gapi.client.Error";var Kz=function(a){if(!a||!_.Va(a))throw new Jz("Must provide a function.");this.Af=null;this.TR=a};Kz.prototype.then=function(a,b,c){this.Af||(this.Af=this.TR());return this.Af.then(a,b,c)};Kz.prototype.xw=function(a){this.Af||(this.Af=a)}; var Lz=function(a){var b={},c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=_.wg(a,c);d&&(c=_.vg(c,d))&&_.xg(b,c,d,!0)}return b},Mz={error:{code:-1,message:"A network error occurred and the request could not be completed."}},Nz=function(a,b,c,d){_.Ax.call(this);this.xd=a;this.rB=b;this.ld=c;a={};if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b=_.wg(d,e),void 0!==b&&(e=_.ug(e,b))&&_.xg(a,e,b));d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(d[(0,window.unescape)((0,window.encodeURIComponent)(e))]= (0,window.unescape)((0,window.encodeURIComponent)(a[e])));this.Bq=d;this.Af=null};_.B(Nz,_.Ax); Nz.prototype.then=function(a){this.Af||(this.Af=(new _.kj(function(a,c){this.W("error",(0,_.C)(function(){c(Oz(this))},this));this.W("success",(0,_.C)(function(){a(Oz(this))},this));this.send(this.xd,this.rB,this.ld,this.Bq)},this)).then(function(a){a.headers=Lz(a.headers);return a},function(a){return a.status?(a.headers=Lz(a.headers),_.pj(a)):_.pj({result:Mz,body:'{"error":{"code":-1,"message":"A network error occurred and the request could not be completed."}}',headers:null,status:null,statusText:null})})); return this.Af.then.apply(this.Af,arguments)}; var Oz=function(a){var b=a.getStatus(),c=_.Nx(a);var d=204==b?!1:""==a.qk?_.ef(c):_.Ox(a);var e=a.getAllResponseHeaders();e=_.yg(e,!1);try{var f=2<_.Lx(a)?a.Oa.statusText:""}catch(h){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}},Pz=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i,Qz=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i,Rz=/;\s*charset\s*=/i,Sz=/(([\r\n]{0,2}[A-Za-z0-9+\/]){4,4}){0,1024}([\r\n]{0,2}[A-Za-z0-9+\/][\r\n]{0,2}[AQgw]([\r\n]{0,2}=){2,2}|([\r\n]{0,2}[A-Za-z0-9+\/]){2,2}[\r\n]{0,2}[AEIMQUYcgkosw048][\r\n]{0,2}=|([\r\n]{0,2}[A-Za-z0-9+\/]){4,4})[\r\n]{0,2}/g,Tz= function(a){var b=[];a=a.replace(Sz,function(a){b.push(_.gy(a));return""});if(a.length)throw Error("va");return b.join("")},Uz=function(a){var b=a.headers;if(b&&"base64"===_.wg(b,_.dg.Dx)){var c=Tz(a.body),d=_.wg(b,_.dg.Cx);b[_.dg.ee]=d;if(d.match(Pz)||d.match(Qz)&&!d.match(Rz)){d=[];for(var e=0,f=0;f>=8);d[e++]=h}c=_.yv(d)}_.xg(b,_.dg.Dx);_.xg(b,_.dg.Cx);a.body=c}},Vz=function(a,b,c){c||((c=_.H("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/, "")||"/"),c=String(c||""));c||(c=_.H("googleapis.config/root"),b&&(c=_.H("googleapis.config/root-1p")||c),c=String(c||""));c=String(Iz(b,c)||c);return a=_.xx(c,a)},Wz=function(a){var b=_.gt(a,"params","headers");b&&"object"===typeof b||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.wg(b,c);d&&(_.ug(c,d),_.xg(a,c,d))}c="chrome-extension"==(window.location.href.match(_.Rg)[1]||null);a=_.Nh(a);return!(c&&a)&&Hz()},Xz=function(a,b){var c=a.params||_.G();c.url=c.path; var d=c.root;d=Vz("/",_.Nh(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.Sh.tk("makeHttpRequests",[a],function(a,c){a&&a.gapiRequest?(a.gapiRequest.data?Uz(a.gapiRequest.data):Uz(a),b(a,_.ff(a))):b(a,c)})},Yz=function(a){return new _.kj(function(b,c){var d=function(a){a&&a.gapiRequest?a=a.gapiRequest.data||a:c(a);a={result:204!=a.status&&_.ef(a.body),body:a.body,headers:a.headers||null,status:a.status||null,statusText:a.statusText||null};_.yx(a.status)? b(a):c(a)};try{Xz(a,d)}catch(e){c(e)}})},Zz=function(a){var b=!_.H("client/cors")||!!_.H("client/xd4"),c={};_.bl(a,function(d,e){(d=_.ug(e,d))||b||(d=_.tg(e));d&&(e=_.wg(a,d))&&_.xg(c,d,e)});return c},$z=function(a){var b=a.params||_.G();a=_.Ri(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=(0,window.encodeURIComponent)("$unique");if(!("POST"===c||0<=_.Wg(d,"$unique",d.search(_.Xg))||0<=_.Wg(d,e,d.search(_.Xg)))){var f=[];for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&f.push(h.toLowerCase()); f.sort();f.push(_.Tf(window.location.href));var h=f.join(":");f=_.Kh();f.update(h);h=f.Jg().toLowerCase().substr(0,7);h=String((0,window.parseInt)(h,16)%1E3+1E3).substr(1);d=_.wx(d,e,"gc"+h)}e=b.body||null;h=b.responseType||null;b=_.Nh(a)||"1p"==b.authType;_.xg(a,_.dg.Ex,void 0);a=Zz(a);var k=new Nz(d,c,e,a);k.eh=b;h&&(k.qk=h);return new _.kj(function(a,b){k.then(function(b){Uz(b);a(b)},function(a){b(a)})})},aA=function(a,b){var c=function(a){a=_.Ri(a);delete a.result;a={gapiRequest:{data:a}};b&& b(a,_.ff(a))};$z(a).then(c,c)},bA=function(a,b){(_.H("client/cors")||_.H("client/xd4"))&&Wz(a)?aA(a,b):Xz(a,b)},cA=function(a){this.Jd=a;this.jf=!1;this.promise={then:(0,_.C)(function(a,c,d){this.jf||(this.jf=!0);this.Ar&&!this.xr?this.Jd.resolve(this.Ar):this.xr&&!this.Ar&&this.Jd.reject(this.xr);return this.Jd.promise.then(a,c,d)},this)}};cA.prototype.resolve=function(a){this.jf?this.Jd.resolve(a):this.Ar||this.xr||(this.Ar=a)}; cA.prototype.reject=function(a){this.jf?this.Jd.reject(a):this.Ar||this.xr||(this.xr=a)}; var dA=function(a){a=_.Cz(a.error);return{code:a.code,data:a.errors,message:a.message}},eA=function(a){throw Error("xa`"+a);};var fA=function(a){Kz.call(this,fA.prototype.bm);if(!a||"object"!=typeof a&&"string"!=typeof a)throw new Jz("Missing required parameters");if(_.v(a)){var b={};b.path=a}else b=a;if(!b.path)throw new Jz('Missing required parameter: "path"');this.Vg={};this.Vg.path=b.path;this.Vg.method=b.method||"GET";this.Vg.params=b.params||{};this.Vg.headers=b.headers||{};this.Vg.body=b.body;this.Vg.root=b.root;this.Vg.responseType=b.responseType;this.Vg.apiId=b.apiId;this.fp=b.authType||"auto";this.FW=!!b.isXd4; this.VK=!1};_.B(fA,Kz);var gA=["appVersion","platform","userAgent"],hA={"google-api-gwt-client":!0,"google-api-javascript-client":!0};fA.prototype.Yf=function(){return this.Vg};fA.prototype.Ti=function(a){this.fp=a}; fA.prototype.Mi=function(){if(!this.VK){this.VK=!0;var a=this.Vg,b=a.headers=a.headers||{},c=[],d=[];for(h in b)if(Object.prototype.hasOwnProperty.call(b,h)){c.push(h);var e=h,f=_.wg(b,e);f&&(e=_.ug(e,f)||_.tg(e))&&d.push([e,f])}var h=0;for(e=c.length;h/,oA=/^application\/http(;.+$|$)/,pA=function(a,b){a=_.wg(a,b);if(!a)throw new Jz("Unable to retrieve header.");return a},rA=function(a,b,c,d){var e="batch"+String(Math.round(2147483647*(0,_.Wf)()))+String(Math.round(2147483647*(0,_.Wf)())),f="--"+e;e="multipart/mixed; boundary="+e;a:{var h=void 0;for(var k=0;k";d(e,c);c.push("");c.push(a.method+" "+a.path);d(a.headers,c);c.push("");a.body&&c.push(a.body);return c.join("\r\n")},tA=function(a,b){a=sA(a,b);var c={};_.Eb(a,function(a,b){c[b]={result:a.result||a.body,rawResult:_.ff({id:b,result:a.result||a.body}),id:b}});return c},sA=function(a, b){a=(0,_.rb)(a);_.iq(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.G();for(var c=0;c");f=pA(d.outerHeaders,_.dg.cx);f=nA.exec(f);if(!f)throw new Jz("Unable to recognize Content-Id.");e.id=(0,window.decodeURIComponent)(f[1].split("@")[0].replace(/^.*[+]/,""));e.response={status:d.status,statusText:d.statusText,headers:d.headers};204!=d.status&&(e.response.body=d.body,e.response.result=_.ef(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},uA=function(a,b){for(var c= [];bthis.Nb.length||(_.al(this.Nb,function(a){a.request.Mi()}),a=this.Vq(a),rA(this.Nb,this.Cf,this.wA,this.xA).execute(a))}; _.g.bm=function(){if(1>this.Nb.length)return new _.kj(function(a){a({})});_.al(this.Nb,function(a){a.request.Mi()});var a=rA(this.Nb,this.Cf,this.wA,this.xA),b=(0,_.C)(function(a){xA(a);if(0!=pA(a.headers,_.dg.ee).indexOf("multipart/mixed"))throw new Jz("The response's Content-Type is not multipart/mixed.");var b=pA(a.headers,_.dg.ee).split("boundary=")[1];if(!b)throw new Jz("Boundary not indicated in response.");b=sA(a.body,"--"+b);a.result=b||{};for(var c=0;c=a.status){var d=pA(a.headers,_.dg.ee).split("boundary=")[1];if(!d)throw new Jz("Boundary not indicated in response.");var e=tA(a.body,"--"+d);for(a=0;a