/* JS */ gapi.loaded_1(function(_){var window=this;
var fi=function(){};fi.prototype.IE=null;fi.prototype.getOptions=function(){var a;(a=this.IE)||(a={},_.gi(this)&&(a[0]=!0,a[1]=!0),a=this.IE=a);return a};var ii;ii=function(){};_.z(ii,fi);_.gi=function(a){if(!a.nH&&"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<b.length;c++){var d=b[c];try{return new window.ActiveXObject(d),a.nH=d}catch(e){}}throw Error("D");}return a.nH};_.hi=new ii;

_.L=_.L||{};
(function(){function a(b){var c="";if(3==b.nodeType||4==b.nodeType)c=b.nodeValue;else if(b.innerText)c=b.innerText;else if(b.innerHTML)c=b.innerHTML;else if(b.firstChild){c=[];for(b=b.firstChild;b;b=b.nextSibling)c.push(a(b));c=c.join("")}return c}_.L.createElement=function(a){if(!window.document.body||window.document.body.namespaceURI)try{var b=window.document.createElementNS("http://www.w3.org/1999/xhtml",a)}catch(d){}return b||window.document.createElement(a)};_.L.rx=function(a){var b=_.L.createElement("iframe");
try{var d=["<","iframe"],e=a||{},f;for(f in e)e.hasOwnProperty(f)&&(d.push(" "),d.push(f),d.push('="'),d.push(_.L.Ss(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.L.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};_.L.Xs=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};_.L.b7=function(b){return a(b)}})();

var jl;jl={};_.kl=function(a){return jl[a||"token"]||null};_.ll=function(a,b){jl[b||"token"]=a};_.ml=function(a){delete jl[a||"token"]};
var sl,tl;_.rl=function(a,b){this.Ud=a;a=b||{};this.VU=Number(a.maxAge)||0;this.kd=a.domain;this.Di=a.path;this.oX=!!a.secure};sl=/^[-+/_=.:|%&a-zA-Z0-9@]*$/;tl=/^[A-Z_][A-Z0-9_]{0,63}$/;_.rl.prototype.read=function(){for(var a=this.Ud+"=",b=window.document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(0==d.indexOf(a))return d.substr(a.length)}};
_.rl.prototype.write=function(a,b){if(!tl.test(this.Ud))throw"Invalid cookie name";if(!sl.test(a))throw"Invalid cookie value";a=this.Ud+"="+a;this.kd&&(a+=";domain="+this.kd);this.Di&&(a+=";path="+this.Di);b="number"===typeof b?b:this.VU;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.oX&&(a+=";secure");window.document.cookie=a;return!0};_.rl.prototype.clear=function(){this.write("",0)}; _.rl.iterate=function(a){for(var b=window.document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c].split("="),e=d.shift();a(e,d.join("="))}};
var vl;_.ul=function(a){this.zh=a};vl={};_.ul.prototype.read=function(){if(vl.hasOwnProperty(this.zh))return vl[this.zh]};_.ul.prototype.write=function(a){vl[this.zh]=a;return!0};_.ul.prototype.clear=function(){delete vl[this.zh]};_.ul.iterate=function(a){for(var b in vl)vl.hasOwnProperty(b)&&a(b,vl[b])};
var wl,xl;wl=function(){this.Xd=null;this.key=function(){return null};this.getItem=function(){return this.Xd};this.setItem=function(a,b){this.Xd=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Xd=null;this.length=0};this.length=0};xl=function(a){try{var b=a||window.sessionStorage;if(!b)return!1;b.setItem("gapi.sessionStorageTest","gapi.sessionStorageTest"+b.length);b.removeItem("gapi.sessionStorageTest");return!0}catch(c){return!1}};
_.yl=function(a,b){this.Ud=a;this.xC=xl(b)?b||window.sessionStorage:new wl};_.yl.prototype.read=function(){return this.xC.getItem(this.Ud)};_.yl.prototype.write=function(a){try{this.xC.setItem(this.Ud,a)}catch(b){return!1}return!0};_.yl.prototype.clear=function(){this.xC.removeItem(this.Ud)};_.yl.iterate=function(a){if(xl())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
for(var zl=0;64>zl;++zl);_.Al="https:"===window.location.protocol;_.Bl=_.Al||"http:"===window.location.protocol?_.rl:_.ul;_.Cl=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.length<c-1)return null;b.length==c-1&&(d="."+d)}else d="";return{xc:"S"==a.charAt(0),domain:d,hf:c}};
_.Dl=function(a){if(0!==a.indexOf("GCSC"))return null;var b={jq:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(-1==d)return b;var e=_.Cl(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.xc;return!d&&("U"!==c||e.xc)||d&&!_.Al?b:{jq:!0,xc:d,SE:a.substr(1),domain:e.domain,hf:e.hf}};
var Il;_.El=_.G();_.Fl=_.G();_.Gl=_.G();_.Hl=_.G();Il="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");_.Jl=function(a){this.SA=a;this.jA=null};_.Jl.prototype.write=function(a){var b=_.G(),c=_.G();for(d in a)_.be(a,d)&&(c[d]=a[d],b[d]=a[d]);var d=0;for(var e=Il.length;d<e;++d)delete c[Il[d]];a=String(a.authuser||0);d=_.G();d[a]=_.L.qc("#"+_.Kl(c));this.SA.write(_.lf(d));this.jA=b};_.Jl.prototype.read=function(){return this.jA};
_.Jl.prototype.clear=function(){this.SA.clear();this.jA=_.G()};_.Ll=function(a){return a?{domain:a.domain,path:"/",secure:a.xc}:null};_.Kl=function(a){var b="";if(!a)return b;for(var c in a)if({}.hasOwnProperty.call(a,c)){var d=a[c];if(null!=d){var e=[(0,window.encodeURIComponent)(c),"="];if(d instanceof Array){for(var f=[],h=0;h<d.length;h++)f.push((0,window.encodeURIComponent)(d[h]));e.push(f.join("+"))}else e.push((0,window.encodeURIComponent)(d));d=e.join("")}else d="";d&&(b&&(b+="&"),b+=d)}return b}; _.yl.iterate(function(a){var b=_.Dl(a);b&&b.jq&&(_.El[a]=new _.Jl(new _.yl(a)))});_.Bl.iterate(function(a){_.El[a]&&(_.Fl[a]=new _.Bl(a,_.Ll(_.Dl(a))))});

_.nk=function(){var a=/\s*;\s*/;return{get:function(b,c){b+="=";for(var d=(window.document.cookie||"").split(a),e=0,f;f=d[e];++e)if(0==f.indexOf(b))return f.substr(b.length);return c}}}();
var Nl;_.Ml=function(a){this.Wa=a||{cookie:""}};_.g=_.Ml.prototype;_.g.isEnabled=function(){return window.navigator.cookieEnabled};_.g.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error("O`"+a);if(/[;\r\n]/.test(b))throw Error("P`"+b);_.r(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,_.Na)()+1E3*c)).toUTCString();this.Wa.cookie=a+"="+b+e+d+c+f};
_.g.get=function(a,b){for(var c=a+"=",d=(this.Wa.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.zb)(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};_.g.remove=function(a,b,c){var d=this.eh(a);this.set(a,"",0,b,c);return d};_.g.qf=function(){return Nl(this).keys};_.g.od=function(){return Nl(this).values};_.g.isEmpty=function(){return!this.Wa.cookie};_.g.Eb=function(){return this.Wa.cookie?(this.Wa.cookie||"").split(";").length:0};_.g.eh=function(a){return _.r(this.get(a))};
_.g.Bk=function(a){for(var b=Nl(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.g.clear=function(){for(var a=Nl(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Nl=function(a){a=(a.Wa.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.zb)(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};_.Ol=new _.Ml("undefined"==typeof window.document?null:window.document);_.Ol.f2=3950;

var Ql,Rl,Tl;
_.Pl=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0}function b(a){for(var b=h,c=0;64>c;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;e<h;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==n)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,p+=64;for(;d<c;)if(f[n++]=a[d++],p++,64==n)for(n=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,p+=64}
function d(){var a=[],d=8*p;56>n?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,zg:function(){for(var a=d(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b}}};Ql=function(a){var b=_.Pl();b.update(a);return b.zg().toLowerCase()};
Rl=function(a,b,c){var d=[],e=[];if(1==(_.La(c)?2:1))return e=[b,a],(0,_.mb)(d,function(a){e.push(a)}),Ql(e.join(" "));var f=[],h=[];(0,_.mb)(c,function(a){h.push(a.key);f.push(a.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];(0,_.mb)(d,function(a){e.push(a)});a=Ql(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")};
_.Sl=function(a){var b={SAPISIDHASH:!0,APISIDHASH:!0};return a&&(a.OriginToken||a.Authorization&&b[String(a.Authorization).split(" ")[0]])?!0:!1};Tl=function(){var a=_.m.__OVERRIDE_SID;null==a&&(a=(new _.Ml(window.document)).get("SID"));return!!a};
_.Ul=function(a){var b=_.dk(String(_.m.location.href));if(Tl()){var c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:");b=c?_.m.__SAPISID:_.m.__APISID;null==b&&(b=(new _.Ml(window.document)).get(c?"SAPISID":"APISID"));if(b){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(_.m.location.href);return d&&b&&c?[c,Rl(_.dk(d),b,a||null)].join(" "):null}}return null};_.Vl={tT:_.Sl,tU:Tl,HR:function(){var a=null;Tl()&&(a=window.__PVT,null==a&&(a=_.nk.get("BEAT")));return a},sy:_.Ul};

_.ni=function(a){return(0,window.encodeURIComponent)(String(a))};_.oi=function(a){return null==a?"":String(a)};_.pi=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;_.qi=function(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(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]};
_.ri=function(a,b,c){if(_.La(b))for(var d=0;d<b.length;d++)_.ri(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+_.ni(b)))};_.ti=function(a){var b=[],c;for(c in a)_.ri(c,a[c],b);return b.join("&")};_.ui=function(a,b){b=_.ti(b);return _.qi(a,b)};

var Wl;
Wl=function(a,b){a=_.L.rx({id:a,name:a});a.style.width="1px";a.style.height="1px";a.style.position="absolute";a.style.top="-100px";a.style.display="none";if(window.navigator){var c=window.navigator.userAgent||"";var d=window.navigator.product||"";c=0!=c.indexOf("Opera")&&-1==c.indexOf("WebKit")&&"Gecko"==d&&0<c.indexOf("rv:1.")}else c=!1;a.src=c?"about:blank":b;a.tabIndex=-1;"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true";window.document.body.appendChild(a);c&&
(a.src=b);return a};
_.Xl=function(){function a(){return!!h("auth/useFirstPartyAuthV2")}function b(a,b,c,d,e){var f=h("proxy");if(d||!f){f=h("root");var k=h("root-1p")||f;f=f||"https://content.googleapis.com";k=k||"https://clients6.google.com";var l=h("xd3")||"/static/proxy.html";f=(d||String(b?k:f))+l}f=String(f);c&&(f+=(0<=f.indexOf("?")?"&":"?")+"usegapi=1");(b=_.L.qc().jsh||_.bk.Qw.dG())&&(f+=(0<=f.indexOf("?")?"&":"?")+"jsh="+(0,window.encodeURIComponent)(b));f+="#parent="+(0,window.encodeURIComponent)(null!=e?String(e):
_.bk.Qa(window.document.location.href));return f+("&rpctoken="+a)}function c(a,b,c,d,h){var k=e(c,d,h);l[k]||(c=Wl(k,b),_.M.register("ready:"+a,function(){_.M.unregister("ready:"+a);if(!n[k]){n[k]=!0;var b=p[k];p[k]=[];for(var c=0,d=b.length;c<d;++c){var e=b[c];f(e.Ll,e.MW,e.Ic)}}}),_.M.Vq(k,b),l[k]=c)}function d(a,d,e){var f=String(2147483647*(0,_.gk)()|0),h=b(f,a,d,e);_.pf(function(){c(f,h,a,d,e)})}function e(a,c,d){a=b("",a,c,d,"");d=k[a+c];if(!d){d=_.fk();d.update(a);d=d.zg().toLowerCase();var e=
(0,_.gk)();d+=e;k[a+c]=d}return"apiproxy"+d}function f(a,b,c){var f=void 0,k=!1;if("makeHttpRequests"!==a)throw'only "makeHttpRequests" RPCs are implemented';var q=function(a){if(a){if("undefined"!=typeof f&&"undefined"!=typeof a.root&&f!=a.root)throw"all requests in a batch must have the same root URL";f=a.root||f;k=_.Vl.tT(a.headers)}};if(b)for(var t=0,x=b.length;t<x;++t){var y=b[t];y&&q(y.params)}q=!!h("useGapiForXd3");var J=e(k,q,f);l[J]||d(k,q,f);n[J]?_.M.call(J,a,function(a){if(this.f==J&&this.t==
_.M.Mk(this.f)&&this.origin==_.M.$k(this.f)){var b=_.kf(a);c(b,a)}},b):(p[J]||(p[J]=[]),p[J].push({Ll:a,MW:b,Ic:c}))}function h(a){return _.I("googleapis.config/"+a)}var k={},l={},n={},p={};return{rO:function(b,c,d){var e=d||"auto";b=b||{};if("none"==e)return b;c=c||window.location.href;d=b.Authorization;var f=b.OriginToken;if(!d&&!f){(f=_.kl())&&f.access_token&&("oauth2"==e||"auto"==e)&&(d=String(f.token_type||"Bearer")+" "+f.access_token);if(f=!d)f=(!!h("auth/useFirstPartyAuth")||"1p"==e)&&"oauth2"!=
e;if(f&&_.Vl.tU()){if(a()){d=h("primaryEmail");e=h("appDomain");f=h("fogId");var k=[];d&&k.push({key:"e",value:d});e&&k.push({key:"a",value:e});f&&k.push({key:"u",value:f});d=_.Vl.sy(k)}else d=_.Vl.sy();d&&(c=_.il(c),c=b["X-Goog-AuthUser"]||c,_.yb(_.oi(c))&&(!a()||a()&&_.yb(_.oi(h("primaryEmail")))&&_.yb(_.oi(h("appDomain")))&&_.yb(_.oi(h("fogId"))))&&(c="0"),_.yb(_.oi(c))||(b["X-Goog-AuthUser"]=c))}d?b.Authorization=d:!1!==h("auth/useOriginToken")&&(f=_.Vl.HR())&&(b.OriginToken=f)}return b},EB:f}}();

var ok,pk;
_.P={iD:"Authorization",$v:"Content-ID",kD:"Content-Transfer-Encoding",Yd:"Content-Type",UL:"Date",$M:"OriginToken",hO:"WWW-Authenticate",YD:"X-ClientDetails",kO:"X-Goog-AuthUser",Aw:"X-Goog-Encode-Response-If-Executable",ZD:"X-Goog-Meeting-Botguardid",$D:"X-Goog-Meeting-Debugid",aE:"X-Goog-Meeting-Token",lO:"X-Goog-PageId",Bw:"X-Goog-Safety-Content-Type",Cw:"X-Goog-Safety-Encoding",bE:"X-HTTP-Method-Override",cE:"X-JavaScript-User-Agent",dE:"X-Origin",Dw:"X-Referer",eE:"X-Requested-With",mO:"X-Use-HTTP-Status-Code-Override"};
ok=["Accept","Accept-Language","Api-Ai-Dev-Mode",_.P.iD,"Cache-Control","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-MD5","Content-Range",_.P.Yd,_.P.UL,"GData-Version","google-cloud-resource-prefix","Host","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Origin",_.P.$M,"Pragma","Range","Slug","Transfer-Encoding","Want-Digest","x-chrome-connected","X-Client-Data",_.P.YD,"X-GData-Client","X-GData-Key",_.P.kO,_.P.lO,_.P.Aw,"X-Goog-Api-Client",
"X-Goog-Correlation-Id","X-Goog-Request-Info","X-Goog-Experiments","x-goog-iam-authority-selector","x-goog-iam-authorization-token","X-Goog-Spatula","X-Goog-Upload-Command","X-Goog-Upload-Content-Disposition","X-Goog-Upload-Content-Length","X-Goog-Upload-Content-Type","X-Goog-Upload-File-Name","X-Goog-Upload-Offset","X-Goog-Upload-Protocol","X-Goog-Visitor-Id",_.P.bE,_.P.cE,"X-Pan-Versionid","X-Proxied-User-IP",_.P.dE,_.P.Dw,_.P.eE,"X-Upload-Content-Length","X-Upload-Content-Type",_.P.mO,"X-Ios-Bundle-Identifier",
"X-Android-Package","X-Ariane-Xsrf-Token","X-YouTube-VVT","X-YouTube-Page-CL","X-YouTube-Page-Timestamp",_.P.ZD,_.P.$D,_.P.aE,"X-Sfdc-Authorization"];
pk=["Digest","Cache-Control","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-MD5","Content-Range",_.P.kD,_.P.Yd,"Date","ETag","Expires","Last-Modified","Location","Pragma","Range","Server","Transfer-Encoding",_.P.hO,"Vary","Unzipped-Content-MD5","X-Goog-Generation","X-Goog-Metageneration",_.P.Bw,_.P.Cw,"X-Google-Trace","X-Goog-Upload-Chunk-Granularity","X-Goog-Upload-Control-URL","X-Goog-Upload-Size-Received","X-Goog-Upload-Status","X-Goog-Upload-URL","X-Goog-Diff-Download-Range", "X-Goog-Hash","X-Goog-Updated-Authorization","X-Server-Object-Version","X-Guploader-Customer","X-Guploader-Upload-Result","X-Guploader-Uploadid","X-Google-Gfe-Backend-Request-Cost",_.P.ZD,_.P.$D,_.P.aE];
var qk,rk,sk,tk,vk,wk,xk,yk,zk,Ak,Bk,Ck;qk=null;rk=null;sk=null;tk=function(a,b){var c=a.length;if(c!=b.length)return!1;for(var d=0;d<c;++d){var e=a.charCodeAt(d),f=b.charCodeAt(d);65<=e&&90>=e&&(e+=32);65<=f&&90>=f&&(f+=32);if(e!=f)return!1}return!0};
_.uk=function(a){a=String(a||"").split("\x00").join("");for(var b=[],c=!0,d=0,e=a.length;d<e;++d){var f=a.charAt(d),h=a.charCodeAt(d);if(55296<=h&&56319>=h&&d+1<e){var k=a.charAt(d+1),l=a.charCodeAt(d+1);56320<=l&&57343>=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<e;++d)f=b[d],h=f.split("%2E").join("."),h=h.split((0,window.encodeURIComponent)("\uff0e")).join("."),
"."==h?d+1==e&&c.push(""):".."==h?(0<c.length&&c.pop(),d+1==e&&c.push("")):c.push(f);a[0]=c.join("/");for(a=a.join("?");a&&"/"==a.charAt(0);)a=a.substr(1);return"/"+a};vk={"access-control-allow-origin":!0,"access-control-allow-credentials":!0,"access-control-expose-headers":!0,"access-control-max-age":!0,"access-control-allow-headers":!0,"access-control-allow-methods":!0,p3p:!0,"proxy-authenticate":!0,"set-cookie":!0,"set-cookie2":!0,status:!0,tsv:!0,"":!0};
wk={"accept-charset":!0,"accept-encoding":!0,"access-control-request-headers":!0,"access-control-request-method":!0,"client-ip":!0,clientip:!0,connection:!0,"content-length":!0,cookie:!0,cookie2:!0,date:!0,dnt:!0,expect:!0,forwarded:!0,"forwarded-for":!0,"front-end-https":!0,host:!0,"keep-alive":!0,"max-forwards":!0,method:!0,origin:!0,"raw-post-data":!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,url:!0,"user-agent":!0,version:!0,via:!0,"x-att-deviceid":!0,"x-chrome-connected":!0,
"x-client-data":!0,"x-client-ip":!0,"x-do-not-track":!0,"x-forwarded-by":!0,"x-forwarded-for":!0,"x-forwarded-host":!0,"x-forwarded-proto":!0,"x-geo":!0,"x-googapps-allowed-domains":!0,"x-origin":!0,"x-proxyuser-ip":!0,"x-real-ip":!0,"x-referer":!0,"x-uidh":!0,"x-user-ip":!0,"x-wap-profile":!0,"":!0};
xk=function(a){if(!_.Wa(a))return null;for(var b={},c=0;c<a.length;c++){var d=a[c];if("string"===typeof d&&d){var e=d.toLowerCase();tk(d,e)&&(b[e]=d)}}for(var f in _.P)Object.prototype.hasOwnProperty.call(_.P,f)&&(d=_.P[f],e=d.toLowerCase(),tk(d,e)&&Object.prototype.hasOwnProperty.call(b,e)&&(b[e]=d));return b};yk=new RegExp("("+/[\t -~\u00A0-\u2027\u202A-\uD7FF\uE000-\uFFFF]/.source+"|"+/[\uD800-\uDBFF][\uDC00-\uDFFF]/.source+"){1,100}","g");zk=/[ \t]*(\r?\n[ \t]+)+/g;Ak=/^[ \t]+|[ \t]+$/g;
Bk=function(a,b){if(!b&&"object"===typeof a&&a&&"number"===typeof a.length){b=a;a="";for(var c=0,d=b.length;c<d;++c){var e=Bk(b[c],!0);e&&(a&&(e=a+", "+e),a=e)}}if("string"===typeof a&&(a=a.replace(zk," "),a=a.replace(Ak,""),""==a.replace(yk,"")&&a))return a};Ck=/^[-0-9A-Za-z!#\$%&'\*\+\.\^_`\|~]+$/g;
_.Dk=function(a){if("string"!==typeof a||!a||!a.match(Ck))return null;a=a.toLowerCase();if(null==sk){var b=[],c=_.I("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.I("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(pk);(c=_.I("googleapis/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.I("client/headers/request"))&&
"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(ok);for(var d in _.P)Object.prototype.hasOwnProperty.call(_.P,d)&&b.push(_.P[d]);sk=xk(b)}return null!=sk&&sk.hasOwnProperty(a)?sk[a]:a};
_.Ek=function(a,b){if(!_.Dk(a)||!Bk(b))return null;a=a.toLowerCase();if(a.match(/^x-google|^x-gfe|^proxy-|^sec-/i)||wk[a])return null;if(null==qk){b=[];var c=_.I("googleapis/headers/request");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.I("client/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(ok);qk=xk(b)}return null!=qk&&qk.hasOwnProperty(a)?qk[a]:null};
_.Fk=function(a,b){if(!_.Dk(a)||!Bk(b))return null;a=a.toLowerCase();if(vk[a])return null;if(null==rk){b=[];var c=_.I("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.I("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(pk);rk=xk(b)}return null!=rk&&rk.hasOwnProperty(a)?a:null};
_.Gk=function(a,b){if(_.Dk(b)&&null!=a&&"object"===typeof a){var c=void 0,d;for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&tk(d,b)){var e=Bk(a[d]);e&&(void 0!==c&&(e=c+", "+e),c=e)}return c}};_.Hk=function(a,b,c,d){var e=_.Dk(b);if(e){c&&(c=Bk(c));b=b.toLowerCase();for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&tk(f,b)&&delete a[f];c&&(d||(b=e),a[b]=c)}};
_.Ik=function(a,b){var c={};if(!a)return c;a=a.split("\r\n");for(var d=0,e=a.length;d<e;++d){var f=a[d];if(!f)break;var h=f.indexOf(":");if(!(0>=h)){var k=f.substring(0,h);if(k=_.Dk(k)){for(f=f.substring(h+1);d+1<e&&a[d+1].match(/^[ \t]/);)f+="\r\n"+a[d+1],++d;if(f=Bk(f))if(k=_.Fk(k,f)||(b?void 0:k))k=k.toLowerCase(),h=_.Gk(c,k),void 0!==h&&(f=h+", "+f),_.Hk(c,k,f,!0)}}}return c};

var gg;_.Bd.prototype.S=_.Sa(1,function(a){return _.Vf(this.Wa,a)});_.cg=function(a,b){a=a.split(".");b=b||_.m;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};_.dg=function(a){a.Jz=void 0;a.Na=function(){return a.Jz?a.Jz:a.Jz=new a}};_.eg=function(a,b){b=(0,_.kb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};_.fg=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};gg=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}; _.hg=function(a){for(var b in a)return!1;return!0};
_.ig=function(){this.Db=this.Db;this.zl=this.zl};_.ig.prototype.Db=!1;_.ig.prototype.Wm=function(){return this.Db};_.ig.prototype.ua=function(){this.Db||(this.Db=!0,this.ta())};_.kg=function(a,b){b=_.Wf(_.jg,b);a.Db?_.r(void 0)?b.call(void 0):b():(a.zl||(a.zl=[]),a.zl.push(_.r(void 0)?(0,_.B)(b,void 0):b))};_.ig.prototype.ta=function(){if(this.zl)for(;this.zl.length;)this.zl.shift()()};_.jg=function(a){a&&"function"==typeof a.ua&&a.ua()};
_.lg=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Hl=!1;this.xJ=!0};_.lg.prototype.stopPropagation=function(){this.Hl=!0};_.lg.prototype.preventDefault=function(){this.defaultPrevented=!0;this.xJ=!1};var ng,og;_.mg=!_.C||_.Gc(9);ng=!_.C||_.Gc(9);og=_.C&&!_.Ec("9");!_.nc||_.Ec("528");_.mc&&_.Ec("1.9b")||_.C&&_.Ec("8")||_.jc&&_.Ec("9.5")||_.nc&&_.Ec("528");_.mc&&!_.Ec("8")||_.C&&_.Ec("9");var pg=function(){if(!_.m.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});_.m.addEventListener("test",_.Va,b);_.m.removeEventListener("test",_.Va,b);return a}();
_.qg=_.nc?"webkitTransitionEnd":_.jc?"otransitionend":"transitionend";_.rg=function(a,b){_.lg.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.TA=!1;this.pointerId=0;this.pointerType="";this.Cg=null;a&&this.Yb(a,b)};_.z(_.rg,_.lg);var sg={2:"touch",3:"pen",4:"mouse"};
_.rg.prototype.Yb=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?_.mc&&(_.gc(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;null===d?(this.offsetX=_.nc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=_.nc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?
a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.TA=_.pc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=
_.v(a.pointerType)?a.pointerType:sg[a.pointerType]||"";this.state=a.state;this.Cg=a;a.defaultPrevented&&this.preventDefault()};_.rg.prototype.stopPropagation=function(){_.rg.H.stopPropagation.call(this);this.Cg.stopPropagation?this.Cg.stopPropagation():this.Cg.cancelBubble=!0};_.rg.prototype.preventDefault=function(){_.rg.H.preventDefault.call(this);var a=this.Cg;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,og)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};
var vg;_.tg="closure_listenable_"+(1E6*Math.random()|0);_.ug=function(a){return!(!a||!a[_.tg])};vg=0;var wg=function(a,b,c,d,e){this.listener=a;this.Qu=null;this.src=b;this.type=c;this.capture=!!d;this.Le=e;this.key=++vg;this.xn=this.js=!1},xg=function(a){a.xn=!0;a.listener=null;a.Qu=null;a.src=null;a.Le=null};var yg=function(a){this.src=a;this.qd={};this.wr=0};yg.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.qd[f];a||(a=this.qd[f]=[],this.wr++);var h=zg(a,b,d,e);-1<h?(b=a[h],c||(b.js=!1)):(b=new wg(b,this.src,f,!!d,e),b.js=c,a.push(b));return b};yg.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.qd))return!1;var e=this.qd[a];b=zg(e,b,c,d);return-1<b?(xg(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.qd[a],this.wr--),!0):!1};
var Ag=function(a,b){var c=b.type;if(!(c in a.qd))return!1;var d=_.eg(a.qd[c],b);d&&(xg(b),0==a.qd[c].length&&(delete a.qd[c],a.wr--));return d};yg.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.qd)if(!a||c==a){for(var d=this.qd[c],e=0;e<d.length;e++)++b,xg(d[e]);delete this.qd[c];this.wr--}return b};yg.prototype.Fm=function(a,b,c,d){a=this.qd[a.toString()];var e=-1;a&&(e=zg(a,b,c,d));return-1<e?a[e]:null};
yg.prototype.hasListener=function(a,b){var c=_.r(a),d=c?a.toString():"",e=_.r(b);return gg(this.qd,function(a){for(var f=0;f<a.length;++f)if(!(c&&a[f].type!=d||e&&a[f].capture!=b))return!0;return!1})};var zg=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.xn&&f.listener==b&&f.capture==!!c&&f.Le==d)return e}return-1};
var Bg,Cg,Dg,Hg,Jg,Kg,Pg,Og,Lg,Qg;Bg="closure_lm_"+(1E6*Math.random()|0);Cg={};Dg=0;_.Fg=function(a,b,c,d,e){if(d&&d.once)return _.Eg(a,b,c,d,e);if(_.La(b)){for(var f=0;f<b.length;f++)_.Fg(a,b[f],c,d,e);return null}c=_.Gg(c);return _.ug(a)?a.ha(b,c,_.$a(d)?!!d.capture:!!d,e):Hg(a,b,c,!1,d,e)};
Hg=function(a,b,c,d,e,f){if(!b)throw Error("w");var h=_.$a(e)?!!e.capture:!!e,k=_.Ig(a);k||(a[Bg]=k=new yg(a));c=k.add(b,c,d,h,f);if(c.Qu)return c;d=Jg();c.Qu=d;d.src=a;d.listener=c;if(a.addEventListener)pg||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Kg(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("x");Dg++;return c};
Jg=function(){var a=Lg,b=ng?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b};_.Eg=function(a,b,c,d,e){if(_.La(b)){for(var f=0;f<b.length;f++)_.Eg(a,b[f],c,d,e);return null}c=_.Gg(c);return _.ug(a)?a.fn(b,c,_.$a(d)?!!d.capture:!!d,e):Hg(a,b,c,!0,d,e)};_.Mg=function(a,b,c,d,e){if(_.La(b))for(var f=0;f<b.length;f++)_.Mg(a,b[f],c,d,e);else d=_.$a(d)?!!d.capture:!!d,c=_.Gg(c),_.ug(a)?a.jc(b,c,d,e):a&&(a=_.Ig(a))&&(b=a.Fm(b,c,d,e))&&_.Ng(b)};
_.Ng=function(a){if(_.Ua(a)||!a||a.xn)return!1;var b=a.src;if(_.ug(b))return b.GC(a);var c=a.type,d=a.Qu;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Kg(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Dg--;(c=_.Ig(b))?(Ag(c,a),0==c.wr&&(c.src=null,b[Bg]=null)):xg(a);return!0};Kg=function(a){return a in Cg?Cg[a]:Cg[a]="on"+a};
Pg=function(a,b,c,d){var e=!0;if(a=_.Ig(a))if(b=a.qd[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.xn&&(f=Og(f,d),e=e&&!1!==f)}return e};Og=function(a,b){var c=a.listener,d=a.Le||a.src;a.js&&_.Ng(a);return c.call(d,b)};
Lg=function(a,b){if(a.xn)return!0;if(!ng){var c=b||_.cg("window.event");b=new _.rg(c,this);var d=!0;if(!(0>c.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.Hl&&0<=e;e--){b.currentTarget=c[e];var f=Pg(c[e],a,!0,b);d=d&&f}for(e=0;!b.Hl&&e<c.length;e++)b.currentTarget=c[e],f=Pg(c[e],a,!1,b),d=d&&f}return d}return Og(a,new _.rg(b, this))};_.Ig=function(a){a=a[Bg];return a instanceof yg?a:null};Qg="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Gg=function(a){if(_.Za(a))return a;a[Qg]||(a[Qg]=function(b){return a.handleEvent(b)});return a[Qg]};_.bg(function(a){Lg=a(Lg)});
_.Rg=function(){_.ig.call(this);this.li=new yg(this);this.qO=this;this.NA=null};_.z(_.Rg,_.ig);_.Rg.prototype[_.tg]=!0;_.g=_.Rg.prototype;_.g.Gp=function(){return this.NA};_.g.tv=_.ca(5);_.g.addEventListener=function(a,b,c,d){_.Fg(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.Mg(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.Gp();if(c)for(b=[];c;c=c.Gp())b.push(c);c=this.qO;var d=a.type||a;if(_.v(a))a=new _.lg(a,c);else if(a instanceof _.lg)a.target=a.target||c;else{var e=a;a=new _.lg(d,c);_.ac(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Hl&&0<=f;f--){var h=a.currentTarget=b[f];e=h.fp(d,!0,a)&&e}a.Hl||(h=a.currentTarget=c,e=h.fp(d,!0,a)&&e,a.Hl||(e=h.fp(d,!1,a)&&e));if(b)for(f=0;!a.Hl&&f<b.length;f++)h=a.currentTarget=b[f],e=h.fp(d,!1,a)&&e;return e};
_.g.ta=function(){_.Rg.H.ta.call(this);this.gB();this.NA=null};_.g.ha=function(a,b,c,d){return this.li.add(String(a),b,!1,c,d)};_.g.fn=function(a,b,c,d){return this.li.add(String(a),b,!0,c,d)};_.g.jc=function(a,b,c,d){return this.li.remove(String(a),b,c,d)};_.g.GC=function(a){return Ag(this.li,a)};_.g.gB=function(a){this.li&&this.li.removeAll(a)};
_.g.fp=function(a,b,c){a=this.li.qd[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.xn&&f.capture==b){var h=f.listener,k=f.Le||f.src;f.js&&this.GC(f);d=!1!==h.call(k,c)&&d}}return d&&0!=c.xJ};_.g.Fm=function(a,b,c,d){return this.li.Fm(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.li.hasListener(_.r(a)?String(a):void 0,b)};

var Th;_.Uh=function(a){return(new Th).HB(a)};Th=function(){};Th.prototype.HB=function(a){var b=[];Vh(this,a,b);return b.join("")};
var Vh=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(_.La(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Vh(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),Wh(d,c),c.push(":"),Vh(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":Wh(b,c);break;case "number":c.push((0,window.isFinite)(b)&&
!(0,window.isNaN)(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("z`"+typeof b);}}},Xh={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Yh=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Wh=function(a,b){b.push('"',a.replace(Yh,function(a){var b=Xh[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),Xh[a]=b);return b}),'"')};

_.Zh="StopIteration"in _.m?_.m.StopIteration:{message:"StopIteration",stack:""};_.$h=function(){};_.$h.prototype.next=function(){throw _.Zh;};_.$h.prototype.Th=function(){return this};
_.ai=function(a,b){this.$={};this.Jb=[];this.Ef=this.Pb=0;var c=arguments.length;if(1<c){if(c%2)throw Error("e");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};_.g=_.ai.prototype;_.g.Eb=function(){return this.Pb};_.g.od=function(){bi(this);for(var a=[],b=0;b<this.Jb.length;b++)a.push(this.$[this.Jb[b]]);return a};_.g.qf=function(){bi(this);return this.Jb.concat()};_.g.eh=function(a){return _.ci(this.$,a)};_.g.Bk=_.ca(8);
_.g.equals=function(a,b){if(this===a)return!0;if(this.Pb!=a.Eb())return!1;b=b||di;bi(this);for(var c,d=0;c=this.Jb[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var di=function(a,b){return a===b};_.ai.prototype.isEmpty=function(){return 0==this.Pb};_.ai.prototype.clear=function(){this.$={};this.Ef=this.Pb=this.Jb.length=0};_.ai.prototype.remove=function(a){return _.ci(this.$,a)?(delete this.$[a],this.Pb--,this.Ef++,this.Jb.length>2*this.Pb&&bi(this),!0):!1};
var bi=function(a){if(a.Pb!=a.Jb.length){for(var b=0,c=0;b<a.Jb.length;){var d=a.Jb[b];_.ci(a.$,d)&&(a.Jb[c++]=d);b++}a.Jb.length=c}if(a.Pb!=a.Jb.length){var e={};for(c=b=0;b<a.Jb.length;)d=a.Jb[b],_.ci(e,d)||(a.Jb[c++]=d,e[d]=1),b++;a.Jb.length=c}};_.g=_.ai.prototype;_.g.get=function(a,b){return _.ci(this.$,a)?this.$[a]:b};_.g.set=function(a,b){_.ci(this.$,a)||(this.Pb++,this.Jb.push(a),this.Ef++);this.$[a]=b};
_.g.addAll=function(a){if(a instanceof _.ai){var b=a.qf();a=a.od()}else b=_.Yb(a),a=_.Xb(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};_.g.forEach=function(a,b){for(var c=this.qf(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};_.g.clone=function(){return new _.ai(this)};_.g.Th=function(a){bi(this);var b=0,c=this.Ef,d=this,e=new _.$h;e.next=function(){if(c!=d.Ef)throw Error("B");if(b>=d.Jb.length)throw _.Zh;var e=d.Jb[b++];return a?e:d.$[e]};return e}; _.ci=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};

_.ei=function(a,b,c){if(_.Za(a))c&&(a=(0,_.B)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.B)(a.handleEvent,a);else throw Error("C");return 2147483647<Number(b)?-1:_.m.setTimeout(a,b||0)};
_.ji=function(a){var b=0,c;for(c in a)b++;return b};_.ki=function(a){if(a.od&&"function"==typeof a.od)return a.od();if(_.v(a))return a.split("");if(_.Wa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return _.Xb(a)};_.li=function(a){if(a.qf&&"function"==typeof a.qf)return a.qf();if(!a.od||"function"!=typeof a.od){if(_.Wa(a)||_.v(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return _.Yb(a)}}; _.mi=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(_.Wa(a)||_.v(a))(0,_.mb)(a,b,c);else for(var d=_.li(a),e=_.ki(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)};

var xi,Ai;_.vi=function(a){return(a=_.gi(a))?new window.ActiveXObject(a):new window.XMLHttpRequest};_.wi=function(a){if(!_.La(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};xi=function(a){return Array.prototype.join.call(arguments,"")};_.yi=function(a,b){_.Rg.call(this);this.ql=a||1;this.Tn=b||_.m;this.Tw=(0,_.B)(this.VY,this);this.Yz=(0,_.Na)()};_.z(_.yi,_.Rg);_.g=_.yi.prototype;_.g.enabled=!1;_.g.Gd=null;
_.g.setInterval=function(a){this.ql=a;this.Gd&&this.enabled?(this.stop(),this.start()):this.Gd&&this.stop()};_.g.VY=function(){if(this.enabled){var a=(0,_.Na)()-this.Yz;0<a&&a<.8*this.ql?this.Gd=this.Tn.setTimeout(this.Tw,this.ql-a):(this.Gd&&(this.Tn.clearTimeout(this.Gd),this.Gd=null),this.dispatchEvent("tick"),this.enabled&&(this.Gd=this.Tn.setTimeout(this.Tw,this.ql),this.Yz=(0,_.Na)()))}};_.g.start=function(){this.enabled=!0;this.Gd||(this.Gd=this.Tn.setTimeout(this.Tw,this.ql),this.Yz=(0,_.Na)())};
_.g.stop=function(){this.enabled=!1;this.Gd&&(this.Tn.clearTimeout(this.Gd),this.Gd=null)};_.g.ta=function(){_.yi.H.ta.call(this);this.stop();delete this.Tn};_.zi=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};Ai=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)_.ri(a[b],a[b+1],c);return c.join("&")};_.Bi=function(a,b){var c=2==arguments.length?Ai(arguments[1],0):Ai(arguments,1);return _.qi(a,c)}; _.Ci=function(a,b){_.fg(a,"/")&&(a=a.substr(0,a.length-1));_.xb(b,"/")&&(b=b.substr(1));return xi(a,"/",b)};
var Ei,Fi,Gi;_.Di=function(a){_.Rg.call(this);this.headers=new _.ai;this.Uv=a||null;this.Ze=!1;this.Tv=this.Ma=null;this.gu="";this.Zm=0;this.nl=this.Fz=this.Kt=this.Yx=!1;this.Wl=0;this.Yc=null;this.Tj="";this.PC=this.Wg=!1};_.z(_.Di,_.Rg);Ei=/^https?$/i;Fi=["POST","PUT"];Gi=[];_.Hi=function(a,b,c,d,e,f){var h=new _.Di;Gi.push(h);b&&h.ha("complete",b);h.fn("ready",h.aP);f&&h.kC(f);h.send(a,c,d,e)};_.Di.prototype.aP=function(){this.ua();_.eg(Gi,this)};
_.Di.prototype.kC=function(a){this.Wl=Math.max(0,a)};
_.Di.prototype.send=function(a,b,c,d){if(this.Ma)throw Error("E`"+this.gu+"`"+a);b=b?b.toUpperCase():"GET";this.gu=a;this.Zm=0;this.Yx=!1;this.Ze=!0;this.Ma=this.Uv?_.vi(this.Uv):_.vi(_.hi);this.Tv=this.Uv?this.Uv.getOptions():_.hi.getOptions();this.Ma.onreadystatechange=(0,_.B)(this.FI,this);try{this.Fz=!0,this.Ma.open(b,String(a),!0),this.Fz=!1}catch(f){this.Rs(5,f);return}a=c||"";var e=this.headers.clone();d&&_.mi(d,function(a,b){e.set(b,a)});d=_.Xf(e.qf(),Ii);c=_.m.FormData&&a instanceof _.m.FormData;
!_.tb(Fi,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b){this.Ma.setRequestHeader(b,a)},this);this.Tj&&(this.Ma.responseType=this.Tj);"withCredentials"in this.Ma&&this.Ma.withCredentials!==this.Wg&&(this.Ma.withCredentials=this.Wg);try{Ji(this),0<this.Wl&&((this.PC=Ki(this.Ma))?(this.Ma.timeout=this.Wl,this.Ma.ontimeout=(0,_.B)(this.jg,this)):this.Yc=_.ei(this.jg,this.Wl,this)),this.Kt=!0,"GET"===b?this.Ma.send():this.Ma.send(a),this.Kt=!1}catch(f){this.Rs(5,
f)}};var Ki=function(a){return _.C&&_.Ec(9)&&_.Ua(a.timeout)&&_.r(a.ontimeout)},Ii=function(a){return"content-type"==a.toLowerCase()};_.Di.prototype.jg=function(){"undefined"!=typeof _.Ja&&this.Ma&&(this.Zm=8,this.dispatchEvent("timeout"),this.abort(8))};_.Di.prototype.Rs=function(a){this.Ze=!1;this.Ma&&(this.nl=!0,this.Ma.abort(),this.nl=!1);this.Zm=a;Li(this);Mi(this)};var Li=function(a){a.Yx||(a.Yx=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
_.Di.prototype.abort=function(a){this.Ma&&this.Ze&&(this.Ze=!1,this.nl=!0,this.Ma.abort(),this.nl=!1,this.Zm=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Mi(this))};_.Di.prototype.ta=function(){this.Ma&&(this.Ze&&(this.Ze=!1,this.nl=!0,this.Ma.abort(),this.nl=!1),Mi(this,!0));_.Di.H.ta.call(this)};_.Di.prototype.FI=function(){this.Db||(this.Fz||this.Kt||this.nl?Ni(this):this.AA())};_.Di.prototype.AA=function(){Ni(this)};
var Ni=function(a){if(a.Ze&&"undefined"!=typeof _.Ja&&(!a.Tv[1]||4!=_.Oi(a)||2!=a.getStatus()))if(a.Kt&&4==_.Oi(a))_.ei(a.FI,0,a);else if(a.dispatchEvent("readystatechange"),4==_.Oi(a)){a.Ze=!1;try{_.Pi(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.Zm=6,a.getStatus(),Li(a))}finally{Mi(a)}}},Mi=function(a,b){if(a.Ma){Ji(a);var c=a.Ma,d=a.Tv[0]?_.Va:null;a.Ma=null;a.Tv=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},Ji=function(a){a.Ma&&a.PC&&(a.Ma.ontimeout=
null);a.Yc&&(_.m.clearTimeout(a.Yc),a.Yc=null)};_.Di.prototype.Sd=function(){return!!this.Ma};_.Pi=function(a){var b=a.getStatus(),c;if(!(c=_.zi(b))){if(b=0===b)a=String(a.gu).match(_.pi)[1]||null,!a&&_.m.self&&_.m.self.location&&(a=_.m.self.location.protocol,a=a.substr(0,a.length-1)),b=!Ei.test(a?a.toLowerCase():"");c=b}return c};_.Oi=function(a){return a.Ma?a.Ma.readyState:0};_.Di.prototype.getStatus=function(){try{return 2<_.Oi(this)?this.Ma.status:-1}catch(a){return-1}};
_.Qi=function(a){try{return a.Ma?a.Ma.responseText:""}catch(b){return""}};_.Ri=function(a){try{if(!a.Ma)return null;if("response"in a.Ma)return a.Ma.response;switch(a.Tj){case "":case "text":return a.Ma.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Ma)return a.Ma.mozResponseArrayBuffer}return null}catch(b){return null}};_.Di.prototype.getResponseHeader=function(a){if(this.Ma&&4==_.Oi(this))return a=this.Ma.getResponseHeader(a),null===a?void 0:a}; _.Di.prototype.getAllResponseHeaders=function(){return this.Ma&&4==_.Oi(this)?this.Ma.getAllResponseHeaders():""};_.bg(function(a){_.Di.prototype.AA=a(_.Di.prototype.AA)});

_.Jk=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=_.$a(f)?"o"+_.bb(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c};_.Kk=function(){return _.Vb("Firefox")};_.Lk=function(){return(_.Vb("Chrome")||_.Vb("CriOS"))&&!_.Vb("Edge")};_.Mk=function(){return _.Vb("Safari")&&!(_.Lk()||_.Vb("Coast")||_.bc()||_.Vb("Edge")||_.Vb("Silk")||_.Vb("Android"))};_.Nk=_.Kk();_.Ok=_.dc()||_.Vb("iPod");_.Pk=_.Vb("iPad"); _.Qk=_.Vb("Android")&&!(_.Lk()||_.Kk()||_.bc()||_.Vb("Silk"));_.Rk=_.Lk();_.Sk=_.Mk()&&!_.ec();

_.Tk=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239<e&&365>e){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("")};
var Uk,Vk,Wk,Yk;Uk=null;Vk=null;Wk=null;_.Xk=_.mc||_.nc&&!_.Sk||_.jc||!_.Sk&&!_.C&&"function"==typeof _.m.atob;_.Zk=function(a,b){Yk();b=b?Wk:Uk;for(var c=[],d=0;d<a.length;d+=3){var e=a[d],f=d+1<a.length,h=f?a[d+1]:0,k=d+2<a.length,l=k?a[d+2]:0,n=e>>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("")};
_.$k=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=Vk[c];if(null!=e)return e;if(!_.yb(c))throw Error("L`"+c);}return b}Yk();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}};
Yk=function(){if(!Uk){Uk={};Vk={};Wk={};for(var a=0;65>a;a++)Uk[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Vk[Uk[a]]=a,Wk[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(Vk["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};

_.De.M0=function(a){var b=[];if(1<arguments.length)for(var c=0,d;d=arguments[c];++c)b.push(d);else b=a;return function(a){for(var c=0;b[c];++c)if(a===b[c])return!0;return!1}};_.De.Y3=function(a){return function(b){return a.test(b)}};_.De.cM=function(a){return"undefined"!==typeof a};_.De.J2=function(a){return"string"===typeof a&&0<a.length};_.De.b_=function(a){return"boolean"===typeof a};_.De.Y1=function(a){return function(b){for(var c in a)if(a.hasOwnProperty(c)&&!(0,a[c])(b[c]))return!1;return!0}};

_.L=_.L||{};(function(){function a(a){b=a["core.util"]||{}}var b={},c={};_.De&&_.De.register("core.util",null,a);_.L.a7=function(a){return"undefined"===typeof b[a]?null:b[a]};_.L.hasFeature=function(a){return"undefined"!==typeof b[a]};_.L.i7=function(){return c}})();

var vj,Mj,Gj,Qj,Hj,Jj,Ij,Nj,Kj,Rj;_.uj=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,_.Na)()).toString(36)};vj=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?(0,window.decodeURIComponent)(e.replace(/\+/g," ")):"")}}};
_.wj=function(a,b,c){for(var d=0,e=b.length;0<=(d=a.indexOf(b,d))&&d<c;){var f=a.charCodeAt(d-1);if(38==f||63==f)if(f=a.charCodeAt(d+e),!f||61==f||38==f||35==f)return d;d+=e+1}return-1};_.xj=/#|$/;_.yj=function(a,b){var c=a.search(_.xj),d=_.wj(a,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return(0,window.decodeURIComponent)(a.substr(d,e-d).replace(/\+/g," "))};
_.zj=function(a,b){this.kd=this.Df=this.zf="";this.Eh=null;this.qy=this.Di="";this.Wf=this.Pz=!1;var c;a instanceof _.zj?(this.Wf=_.r(b)?b:a.Wf,_.Aj(this,a.zf),_.Bj(this,a.Df),_.Cj(this,a.kd),_.Dj(this,a.Eh),this.setPath(a.getPath()),_.Ej(this,a.Re.clone()),this.Wj(a.ft())):a&&(c=String(a).match(_.pi))?(this.Wf=!!b,_.Aj(this,c[1]||"",!0),_.Bj(this,c[2]||"",!0),_.Cj(this,c[3]||"",!0),_.Dj(this,c[4]),this.setPath(c[5]||"",!0),_.Ej(this,c[6]||"",!0),this.Wj(c[7]||"",!0)):(this.Wf=!!b,this.Re=new _.Fj(null,
this.Wf))};_.zj.prototype.toString=function(){var a=[],b=this.zf;b&&a.push(Gj(b,Hj,!0),":");var c=this.kd;if(c||"file"==b)a.push("//"),(b=this.Df)&&a.push(Gj(b,Hj,!0),"@"),a.push(_.ni(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Eh,null!=c&&a.push(":",String(c));if(c=this.getPath())this.kd&&"/"!=c.charAt(0)&&a.push("/"),a.push(Gj(c,"/"==c.charAt(0)?Ij:Jj,!0));(c=this.Re.toString())&&a.push("?",c);(c=this.ft())&&a.push("#",Gj(c,Kj));return a.join("")};
_.zj.prototype.resolve=function(a){var b=this.clone(),c=!!a.zf;c?_.Aj(b,a.zf):c=!!a.Df;c?_.Bj(b,a.Df):c=!!a.kd;c?_.Cj(b,a.kd):c=null!=a.Eh;var d=a.getPath();if(c)_.Dj(b,a.Eh);else if(c=!!a.Di){if("/"!=d.charAt(0))if(this.kd&&!this.Di)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=_.xb(e,"/");e=e.split("/");for(var f=[],h=0;h<e.length;){var k=e[h++];"."==k?d&&h==e.length&&f.push(""):
".."==k?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.Om();c?_.Ej(b,a.Re.clone()):c=!!a.qy;c&&b.Wj(a.ft());return b};_.zj.prototype.clone=function(){return new _.zj(this)};_.Aj=function(a,b,c){_.Lj(a);a.zf=c?Mj(b,!0):b;a.zf&&(a.zf=a.zf.replace(/:$/,""));return a};_.Bj=function(a,b,c){_.Lj(a);a.Df=c?Mj(b):b;return a};_.Cj=function(a,b,c){_.Lj(a);a.kd=c?Mj(b,!0):b;return a};
_.Dj=function(a,b){_.Lj(a);if(b){b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("F`"+b);a.Eh=b}else a.Eh=null;return a};_.zj.prototype.getPath=function(){return this.Di};_.zj.prototype.setPath=function(a,b){_.Lj(this);this.Di=b?Mj(a,!0):a;return this};_.zj.prototype.Om=function(){return""!==this.Re.toString()};_.Ej=function(a,b,c){_.Lj(a);b instanceof _.Fj?(a.Re=b,a.Re.XB(a.Wf)):(c||(b=Gj(b,Nj)),a.Re=new _.Fj(b,a.Wf));return a};_.zj.prototype.Sa=function(a,b){return _.Ej(this,a,b)};
_.zj.prototype.Je=function(){return this.Re.toString()};_.Oj=function(a,b,c){_.Lj(a);a.Re.set(b,c);return a};_.zj.prototype.rf=function(a){return this.Re.get(a)};_.zj.prototype.ft=function(){return this.qy};_.zj.prototype.Wj=function(a,b){_.Lj(this);this.qy=b?Mj(a):a;return this};_.zj.prototype.removeParameter=function(a){_.Lj(this);this.Re.remove(a);return this};_.Lj=function(a){if(a.Pz)throw Error("G");};_.zj.prototype.XB=function(a){this.Wf=a;this.Re&&this.Re.XB(a)};
_.Pj=function(a){return a instanceof _.zj?a.clone():new _.zj(a,void 0)};Mj=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""};Gj=function(a,b,c){return _.v(a)?(a=(0,window.encodeURI)(a).replace(b,Qj),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};Qj=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};Hj=/[#\/\?@]/g;Jj=/[#\?:]/g;Ij=/[#\?]/g;Nj=/[#\?@]/g;Kj=/#/g;
_.Fj=function(a,b){this.Pb=this.tc=null;this.jf=a||null;this.Wf=!!b};Rj=function(a){a.tc||(a.tc=new _.ai,a.Pb=0,a.jf&&vj(a.jf,function(b,c){a.add((0,window.decodeURIComponent)(b.replace(/\+/g," ")),c)}))};_.g=_.Fj.prototype;_.g.Eb=function(){Rj(this);return this.Pb};_.g.add=function(a,b){Rj(this);this.jf=null;a=Sj(this,a);var c=this.tc.get(a);c||this.tc.set(a,c=[]);c.push(b);this.Pb+=1;return this};
_.g.remove=function(a){Rj(this);a=Sj(this,a);return this.tc.eh(a)?(this.jf=null,this.Pb-=this.tc.get(a).length,this.tc.remove(a)):!1};_.g.clear=function(){this.tc=this.jf=null;this.Pb=0};_.g.isEmpty=function(){Rj(this);return 0==this.Pb};_.g.eh=function(a){Rj(this);a=Sj(this,a);return this.tc.eh(a)};_.g.Bk=function(a){var b=this.od();return _.tb(b,a)};_.g.forEach=function(a,b){Rj(this);this.tc.forEach(function(c,d){(0,_.mb)(c,function(c){a.call(b,c,d,this)},this)},this)};
_.g.qf=function(){Rj(this);for(var a=this.tc.od(),b=this.tc.qf(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};_.g.od=function(a){Rj(this);var b=[];if(_.v(a))this.eh(a)&&(b=_.ub(b,this.tc.get(Sj(this,a))));else{a=this.tc.od();for(var c=0;c<a.length;c++)b=_.ub(b,a[c])}return b};_.g.set=function(a,b){Rj(this);this.jf=null;a=Sj(this,a);this.eh(a)&&(this.Pb-=this.tc.get(a).length);this.tc.set(a,[b]);this.Pb+=1;return this};
_.g.get=function(a,b){a=a?this.od(a):[];return 0<a.length?String(a[0]):b};_.g.setValues=function(a,b){this.remove(a);0<b.length&&(this.jf=null,this.tc.set(Sj(this,a),_.wb(b)),this.Pb+=b.length)};_.g.toString=function(){if(this.jf)return this.jf;if(!this.tc)return"";for(var a=[],b=this.tc.qf(),c=0;c<b.length;c++){var d=b[c],e=_.ni(d);d=this.od(d);for(var f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+_.ni(d[f]));a.push(h)}}return this.jf=a.join("&")};
_.g.clone=function(){var a=new _.Fj;a.jf=this.jf;this.tc&&(a.tc=this.tc.clone(),a.Pb=this.Pb);return a};var Sj=function(a,b){b=String(b);a.Wf&&(b=b.toLowerCase());return b};_.Fj.prototype.XB=function(a){a&&!this.Wf&&(Rj(this),this.jf=null,this.tc.forEach(function(a,c){var b=c.toLowerCase();c!=b&&(this.remove(c),this.setValues(b,a))},this));this.Wf=a};_.Fj.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)_.mi(arguments[b],function(a,b){this.add(b,a)},this)};

var Us;_.Ks=function(a){if(a instanceof _.vd)return a;var b=null;a.Ez&&(b=a.Ok());return _.xd(_.Kb(a.wh?a.Sf():String(a)),b)};_.Ls=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Ms=function(a,b){this.x=_.r(a)?a:0;this.y=_.r(b)?b:0};_.g=_.Ms.prototype;_.g.clone=function(){return new _.Ms(this.x,this.y)};_.g.equals=function(a){return a instanceof _.Ms&&_.Ls(this,a)};_.g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
_.g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};_.g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.g.translate=function(a,b){a instanceof _.Ms?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),_.Ua(b)&&(this.y+=b));return this};_.g.scale=function(a,b){b=_.Ua(b)?b:a;this.x*=a;this.y*=b;return this};_.Ns=function(a,b){this.width=a;this.height=b};_.g=_.Ns.prototype;_.g.clone=function(){return new _.Ns(this.width,this.height)};
_.g.DO=function(){return this.width*this.height};_.g.aspectRatio=function(){return this.width/this.height};_.g.isEmpty=function(){return!this.DO()};_.g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};_.g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};_.g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
_.g.scale=function(a,b){b=_.Ua(b)?b:a;this.width*=a;this.height*=b;return this};_.Os=function(a){return"CSS1Compat"==a.compatMode};_.Ps=function(a){a=a.document;a=_.Os(a)?a.documentElement:a.body;return new _.Ns(a.clientWidth,a.clientHeight)};_.Qs=function(a){return _.Ps(a||window)};_.Rs=function(a){return a.scrollingElement?a.scrollingElement:!_.nc&&_.Os(a)?a.documentElement:a.body||a.documentElement};
_.Ss=function(a){var b=_.Rs(a);a=a.parentWindow||a.defaultView;return _.C&&_.Ec("10")&&a.pageYOffset!=b.scrollTop?new _.Ms(b.scrollLeft,b.scrollTop):new _.Ms(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.Ts=function(a,b){for(var c in b)a[c]=b[c]};Us=function(a){var b=_.v(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};
_.Vs=function(a,b,c){if(null!==a&&b in a)throw Error("d`"+b);a[b]=c};_.Ws=function(a){if(a instanceof _.qd&&a.constructor===_.qd&&a.JN===_.pd)return a.ZA;_.Ka(a);return"type_error:SafeStyleSheet"};_.Xs=function(a){return a?a.parentWindow||a.defaultView:window};_.Ys=function(a,b,c){return _.Kd(window.document,arguments)};_.Zs=function(a){var b;if(_.Mc&&!(_.C&&_.Ec("9")&&!_.Ec("10")&&_.m.SVGElement&&a instanceof _.m.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.Vd(b)?b:null};
_.$s=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.$s.prototype;_.g.Ad=_.ca(9);_.g.Uc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.$s(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.$s?a.left>=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){_.$a(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 _.Ms?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,_.Ua(b)&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b=_.Ua(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};
var ct,it,gt,wt,xt;_.bt=function(a,b,c){if(_.v(b))(b=_.at(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.at(c,d);f&&(c.style[f]=e)}};ct={};_.at=function(a,b){var c=ct[b];if(!c){var d=_.Rb(b);c=d;void 0===a.style[d]&&(d=(_.nc?"Webkit":_.mc?"Moz":_.C?"ms":_.jc?"O":null)+Us(d),void 0!==a.style[d]&&(c=d));ct[b]=c}return c};_.dt=function(a,b){var c=_.Ed(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};
_.et=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.ft=function(a,b){return _.dt(a,b)||_.et(a,b)||a.style&&a.style[b]};_.ht=function(a,b,c){if(b instanceof _.Ms){var d=b.x;b=b.y}else d=b,b=c;a.style.left=gt(d,!1);a.style.top=gt(b,!1)};
it=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}_.C&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};_.jt=function(a){var b=_.Ed(a),c=new _.Ms(0,0);var d=b?_.Ed(b):window.document;d=!_.C||_.Gc(9)||_.Os(_.Fd(d).Wa)?d.documentElement:d.body;if(a==d)return c;a=it(a);b=_.Ss(_.Fd(b).Wa);c.x=a.left+b.x;c.y=a.top+b.y;return c};
_.lt=function(a,b){var c=new _.Ms(0,0),d=_.Xs(_.Ed(a));if(!_.gc(d,"parent"))return c;do{var e=d==b?_.jt(a):_.kt(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.kt=function(a){a=it(a);return new _.Ms(a.left,a.top)};_.mt=function(a,b,c){if(b instanceof _.Ns)c=b.height,b=b.width;else if(void 0==c)throw Error("U");a.style.width=gt(b,!0);a.style.height=gt(c,!0)};gt=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
_.ot=function(a){var b=_.nt;if("none"!=_.ft(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};_.nt=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.nc&&!b&&!c;return _.r(b)&&!d||!a.getBoundingClientRect?new _.Ns(b,c):(a=it(a),new _.Ns(a.right-a.left,a.bottom-a.top))};
_.pt=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)+")")};_.qt=function(a,b){a.style.display=b?"":"none"};_.st=function(a){var b=_.Fd(void 0),c=b.mb();if(_.C&&c.createStyleSheet)return b=c.createStyleSheet(),_.rt(b,a),b;c=_.Gd(b.Wa,"HEAD",void 0,void 0)[0];if(!c){var d=_.Gd(b.Wa,"BODY",void 0,void 0)[0];c=b.ma("HEAD");d.parentNode.insertBefore(c,d)}d=b.ma("STYLE");_.rt(d,a);b.appendChild(c,d);return d};
_.rt=function(a,b){b=_.Ws(b);_.C&&_.r(a.cssText)?a.cssText=b:a.innerHTML=b};_.tt=function(a){return"rtl"==_.ft(a,"direction")};_.ut=_.mc?"MozUserSelect":_.nc||_.kc?"WebkitUserSelect":null;_.vt=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};wt={thin:2,medium:4,thick:6};
xt=function(a,b){if("none"==_.et(a,b+"Style"))return 0;b=_.et(a,b+"Width");return b in wt?wt[b]:_.vt(a,b)};_.yt=function(a){if(_.C&&!_.Gc(9)){var b=xt(a,"borderLeft"),c=xt(a,"borderRight"),d=xt(a,"borderTop");a=xt(a,"borderBottom");return new _.$s(d,c,a,b)}b=_.dt(a,"borderLeftWidth");c=_.dt(a,"borderRightWidth");d=_.dt(a,"borderTopWidth");a=_.dt(a,"borderBottomWidth");return new _.$s((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};

_.ey=function(a){this.XY=a};_.ey.prototype.toString=function(){return this.XY};_.fy=function(a){_.ig.call(this);this.zh=1;this.Mu=[];this.Ru=0;this.We=[];this.Oh={};this.EO=!!a};_.z(_.fy,_.ig);_.g=_.fy.prototype;_.g.subscribe=function(a,b,c){var d=this.Oh[a];d||(d=this.Oh[a]=[]);var e=this.zh;this.We[e]=a;this.We[e+1]=b;this.We[e+2]=c;this.zh=e+3;d.push(e);return e};_.g.kr=_.ca(35);_.g.unsubscribe=function(a,b,c){if(a=this.Oh[a]){var d=this.We;if(a=_.Xf(a,function(a){return d[a+1]==b&&d[a+2]==c}))return this.Yi(a)}return!1};
_.g.Yi=function(a){var b=this.We[a];if(b){var c=this.Oh[b];0!=this.Ru?(this.Mu.push(a),this.We[a+1]=_.Va):(c&&_.eg(c,a),delete this.We[a],delete this.We[a+1],delete this.We[a+2])}return!!b};
_.g.rn=function(a,b){var c=this.Oh[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.EO)for(e=0;e<c.length;e++){var h=c[e];gy(this.We[h+1],this.We[h+2],d)}else{this.Ru++;try{for(e=0,f=c.length;e<f;e++)h=c[e],this.We[h+1].apply(this.We[h+2],d)}finally{if(this.Ru--,0<this.Mu.length&&0==this.Ru)for(;c=this.Mu.pop();)this.Yi(c)}}return 0!=e}return!1};var gy=function(a,b,c){_.kh(function(){a.apply(b,c)})};
_.fy.prototype.clear=function(a){if(a){var b=this.Oh[a];b&&((0,_.mb)(b,this.Yi,this),delete this.Oh[a])}else this.We.length=0,this.Oh={}};_.fy.prototype.Eb=function(a){if(a){var b=this.Oh[a];return b?b.length:0}a=0;for(b in this.Oh)a+=this.Eb(b);return a};_.fy.prototype.ta=function(){_.fy.H.ta.call(this);this.clear();this.Mu.length=0};
_.hy=function(a){_.ig.call(this);this.Ed=new _.fy(a);_.kg(this,this.Ed)};_.z(_.hy,_.ig);_.g=_.hy.prototype;_.g.subscribe=function(a,b,c){return this.Ed.subscribe(a.toString(),b,c)};_.g.kr=_.ca(34);_.g.unsubscribe=function(a,b,c){return this.Ed.unsubscribe(a.toString(),b,c)};_.g.Yi=function(a){return this.Ed.Yi(a)};_.g.rn=function(a,b){return this.Ed.rn(a.toString(),b)};_.g.clear=function(a){this.Ed.clear(_.r(a)?a.toString():void 0)};_.g.Eb=function(a){return this.Ed.Eb(_.r(a)?a.toString():void 0)};

var jy,ky,ly,my;_.iy=function(a){var b=0,c="",d=function(a){_.La(a)?(0,_.mb)(a,d):(a=_.Ks(a),c+=_.wd(a),a=a.Ok(),0==b?b=a:0!=a&&b!=a&&(b=null))};(0,_.mb)(arguments,d);return _.xd(c,b)};jy={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};ky=/^[a-zA-Z0-9-]+$/;ly={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
my={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
_.ny=function(a,b){if(!ky.test("div"))throw Error("j`div");if("DIV"in my)throw Error("k`div");var c=null,d="";if(a)for(h in a){if(!ky.test(h))throw Error("o`"+h);var e=a[h];if(null!=e){var f=h;if(e instanceof _.Pc)e=_.Qc(e);else if("style"==f.toLowerCase()){if(!_.$a(e))throw Error("n`"+typeof e+"`"+e);e instanceof _.gd||(e=_.kd(e));e=_.hd(e)}else{if(/^on/i.test(f))throw Error("l`"+f+"`"+e);if(f.toLowerCase()in ly)if(e instanceof _.Uc)e=_.Vc(e);else if(e instanceof _.Zc)e=_.$c(e);else if(_.v(e))e=
_.dd(e).Sf();else throw Error("m`"+f+"`div`"+e);}e.wh&&(e=e.Sf());f=f+'="'+_.Kb(String(e))+'"';d+=" "+f}}var h="<div"+d;null!=b?_.La(b)||(b=[b]):b=[];!0===jy.div?h+=">":(c=_.iy(b),h+=">"+_.wd(c)+"</div>",c=c.Ok());(a=a&&a.dir)&&(c=/^(ltr|rtl|auto)$/i.test(a)?0:null);return _.xd(h,c)};_.oy=function(a,b){_.La(b)||(b=[b]);b=(0,_.pb)(b,function(a){return _.v(a)?a:a.Pu+" "+a.duration+"s "+a.timing+" "+a.Dk+"s"});_.bt(a,"transition",b.join(","))};
_.py=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if(_.C)return _.Ec("10.0");var a=_.Md("DIV"),b=_.nc?"-webkit":_.mc?"-moz":_.C?"-ms":_.jc?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.ny({style:c});a.innerHTML=_.wd(b);a=a.firstChild;b=a.style[_.Rb("transition")];return""!=("undefined"!==typeof b?b:a.style[_.at(a,"transition")]||"")});

_.sy=function(){_.qy="oauth2relay"+String(2147483647*(0,_.gk)()|0);_.ry.proxy=_.qy};_.ty=new _.hy;_.uy=new _.ey("oauth");_.ry={};_.sy();var vy=_.I("oauth-flow/client_id");_.ry.client_id=vy;var wy=_.ry,xy;var yy=String(_.I("oauth-flow/redirectUri"));if(yy)xy=yy.replace(/[#][\s\S]*/,"");else{var zy=_.bk.Qa(window.location.href);xy=[_.I("oauth-flow/callbackUrl"),"?x_origin=",(0,window.encodeURIComponent)(zy)].join("")}wy.redirect_uri=xy;_.ry.origin=_.bk.Qa(window.location.href);_.ry.response_type="token"; _.ry.gsiwebsdk="1";

var ov,pv,qv,rv,tv,uv,vv,wv,yv;_.nv=!1;ov=function(a){try{_.nv&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};pv=function(a,b){if(!a)return-1;if(a.indexOf)return a.indexOf(b,void 0);for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1};qv=function(a,b){function c(){}if(!a)throw"Child class cannot be empty.";if(!b)throw"Parent class cannot be empty.";c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};rv=function(a){return"[object Function]"===Object.prototype.toString.call(a)};
_.sv=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};tv=function(a){a=(new RegExp("[&#]"+a+"=([^&]*)")).exec(window.location.hash);return null==a?"":(0,window.decodeURIComponent)(a[1].replace(/\+/g," "))};uv=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw"Add event handler for "+b+" failed.";};vv={token:1,id_token:1};
wv=function(){var a=window.navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==(0,window.parseInt)(a.split("msie")[1],10)};_.xv=window.JSON;yv=function(a){this.SC=a||[];this.Qb={}};yv.prototype.addEventListener=function(a,b){if(!(0<=pv(this.SC,a)))throw"Unrecognized event type: "+a;if(!rv(b))throw"The listener for event '"+a+"' is not a function.";this.Qb[a]||(this.Qb[a]=[]);0>pv(this.Qb[a],b)&&this.Qb[a].push(b)};
yv.prototype.removeEventListener=function(a,b){if(!(0<=pv(this.SC,a)))throw"Unrecognized event type: "+a;rv(b)&&this.Qb[a]&&this.Qb[a].length&&(b=pv(this.Qb[a],b),0<=b&&this.Qb[a].splice(b,1))};yv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=pv(this.SC,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Qb[b]&&this.Qb[b].length)for(var c=0,d=this.Qb[b].length;c<d;c++)this.Qb[b][c](a)};
var zv,Av,Dv,Uv,Vv,Xv,Yv,$v,iw;zv={};Av={};_.Bv={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.Cv=function(a,b){if(a=_.Bv[a])return a[b]};Dv=function(){this.tZ=window;this.Ds=this.zk=this.Cq=this.Dh=null};
Dv.prototype.open=function(a,b,c,d){Ev(this);this.Cq?(this.zk&&(this.zk(),this.zk=null),Fv(this)):this.Cq="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Dh=this.tZ.open(a,this.Cq,b);try{if(this.Dh.focus(),this.Dh.closed||"undefined"==typeof this.Dh.closed)throw Error("$");}catch(e){d&&(0,window.setTimeout)(d,0);this.Dh=null;break a}c&&(this.zk=c,Gv(this))}};
var Ev=function(a){try{if(null==a.Dh||a.Dh.closed)a.Dh=null,a.Cq=null,Fv(a),a.zk&&(a.zk(),a.zk=null)}catch(b){a.Dh=null,a.Cq=null,Fv(a)}},Gv=function(a){a.Ds=window.setInterval(function(){Ev(a)},300)},Fv=function(a){a.Ds&&(window.clearInterval(a.Ds),a.Ds=null)};Av=Av||{};var Hv=function(a,b){this.wc=a;this.Lz=b;this.Yc=null;this.fl=!1};Hv.prototype.start=function(){if(!this.fl&&!this.Yc){var a=this;this.Yc=window.setTimeout(function(){a.clear();a.fl||(a.wc(),a.fl=!0)},Av.wG(this.Lz))}};
Hv.prototype.clear=function(){this.Yc&&(window.clearTimeout(this.Yc),this.Yc=null)};var Iv=function(a,b){var c=Av.wo;this.ET=Av.ko;this.nL=c;this.wc=a;this.Lz=b;this.Yc=null;this.fl=!1;var d=this;this.oL=function(){window.document[d.ET]||(d.clear(),d.start())}};Iv.prototype.start=function(){if(!this.fl&&!this.Yc){uv(window.document,this.nL,this.oL);var a=this;this.Yc=window.setTimeout(function(){a.clear();a.fl||(a.wc(),a.fl=!0)},Av.wG(this.Lz))}};
Iv.prototype.clear=function(){var a=this.nL,b=this.oL,c=window.document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw"Remove event handler for "+a+" failed.";this.Yc&&(window.clearTimeout(this.Yc),this.Yc=null)};Av.ko=null;Av.wo=null;
Av.bU=function(){"undefined"!==typeof window.document.hidden?(Av.ko="hidden",Av.wo="visibilitychange"):"undefined"!==typeof window.document.msHidden?(Av.ko="msHidden",Av.wo="msvisibilitychange"):"undefined"!==typeof window.document.webkitHidden&&(Av.ko="webkitHidden",Av.wo="webkitvisibilitychange")};Av.bU();Av.tP=function(a,b){return Av.ko&&Av.wo?new Iv(a,b):new Hv(a,b)};Av.wG=function(a){return Math.max(1,a-(new Date).getTime())};
var Jv=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0}function b(a){for(var b=h,c=0;64>c;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;e<h;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==n)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,p+=64;for(;d<c;)if(f[n++]=a[d++],p++,64==n)for(n=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,p+=64}
function d(){var a=[],d=8*p;56>n?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,zg:function(){for(var a=d(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b}}},Kv=window.crypto,Lv=!1,Mv=0,Nv=1,Pv=0,Qv="",Rv=function(a){a=a||window.event;var b=
a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Nv=Nv*b%Pv;if(3==++Mv)if(a=window,b=Rv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("aa`mousemove");},Sv=function(a){var b=Jv();b.update(a);return b.zg()};Lv=!!Kv&&"function"==typeof Kv.getRandomValues;
Lv||(Pv=1E6*(window.screen.width*window.screen.width+window.screen.height),Qv=Sv(window.document.cookie+"|"+window.document.location+"|"+(new Date).getTime()+"|"+Math.random()),uv(window,"mousemove",Rv));zv=zv||{};zv.oM="ssIFrame_";
_.Tv=function(a,b){this.Gb=a;if(!this.Gb)throw Error("ba");a=_.Cv(a,"idpIFrameUrl");if(!a)throw Error("ca");this.mH=a;if(!b)throw Error("da");this.Fn=b;a=this.mH;b=window.document.createElement("a");b.setAttribute("href",a);a=[b.protocol,"//",b.hostname];"http:"==b.protocol&&""!=b.port&&"0"!=b.port&&"80"!=b.port?(a.push(":"),a.push(b.port)):"https:"==b.protocol&&""!=b.port&&"0"!=b.port&&"443"!=b.port&&(a.push(":"),a.push(b.port));this.zz=a.join("");this.dX=[window.location.protocol,"//",window.location.host].join("");
this.yz=this.Sm=!1;this.jH=null;this.Du=[];this.un=[];this.Yh={};this.Xp=void 0};
_.Tv.prototype.iu=function(a){if(this.Sm)a&&a(this);else{if(!this.Xp){var b=zv.oM+this.Gb;var c=this.Gb;var d=window.location.hostname;var e,f=window.document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);f=e&&0<=pv(e.split("|"),c);f||(window.document.cookie="G_ENABLED_IDPS="+(e?e+"|"+c:c)+";domain=."+d+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/");c=!f;f=this.mH;var h=this.dX;d=this.Fn;e=window.document.createElement("iframe");e.style.position="absolute";e.style.width=
"1px";e.style.height="1px";e.style.left="-9999px";e.style.display="none";e.setAttribute("aria-hidden","true");e.setAttribute("id",b);e.setAttribute("sandbox","allow-scripts allow-same-origin");b=[f,"#origin=",(0,window.encodeURIComponent)(h)];b.push("&rpcToken=");b.push((0,window.encodeURIComponent)(d));c&&b.push("&clearCache=1");_.nv&&b.push("&debug=1");window.document.body.appendChild(e);e.setAttribute("src",b.join(""));this.Xp=e}a&&this.Du.push(a)}};_.Tv.prototype.Qk=function(){return this.jH};
Uv=function(a){for(var b=0;b<a.Du.length;b++)a.Du[b](a);a.Du=[]};_.Wv=function(a,b,c,d){if(a.Sm){if(a.Sm&&a.yz)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Qk(),ov(a),Error(a);Vv(a,{method:b,params:c},d)}else a.un.push({Ll:{method:b,params:c},Ic:d}),a.iu()};Vv=function(a,b,c){if(c){for(var d=b.id;!d||a.Yh[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.Yh[d]=c}b.rpcToken=a.Fn;a.Xp.contentWindow.postMessage(_.xv.stringify(b),a.zz)};
Xv=function(a){if(a&&0<=a.indexOf("::"))throw Error("ea");};_.Tv.prototype.Ah=function(a,b,c,d,e,f,h,k){Xv(f);b=_.sv(b);_.Wv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f},e)};_.Tv.prototype.hu=function(a,b,c,d,e){b=_.sv(b);_.Wv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Yv=function(a,b,c){Xv(b.identifier);_.Wv(a,"getSessionSelector",b,c)};
_.Zv=function(a,b,c,d,e){Xv(b.identifier);_.Wv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};$v=function(a,b,c){_.Wv(a,"monitorClient",{clientId:b},c)};_.Tv.prototype.Kq=_.ca(27);zv.Ht={};zv.Fy=function(a){return zv.Ht[a]};
zv.iu=function(a,b){var c=zv.Fy(a);if(!c){c=String;if(Lv){var d=new window.Uint32Array(1);Kv.getRandomValues(d);d=Number("0."+d[0])}else d=Nv,d+=(0,window.parseInt)(Qv.substr(0,20),16),Qv=Sv(Qv),d/=Pv+Math.pow(16,20);c=c(2147483647*d);c=new _.Tv(a,c);zv.Ht[a]=c}c.iu(b)};zv.QQ=function(a){for(var b in zv.Ht){var c=zv.Fy(b);if(c&&c.Xp&&c.Xp.contentWindow==a.source&&c.zz==a.origin)return c}};zv.GR=function(a){for(var b in zv.Ht){var c=zv.Fy(b);if(c&&c.zz==a)return c}};zv=zv||{};
var bw=function(){var a=[],b;for(b in aw)a.push(aw[b]);yv.call(this,a);this.Ej={};ov("EventBus is ready.")};qv(bw,yv);var aw={ON:"sessionSelectorChanged",rw:"sessionStateChanged",Yv:"authResult"},dw=function(a){var b=cw;a&&(b.Ej[a]||(b.Ej[a]=[]))},ew=function(a,b,c){return b&&a.Ej[b]&&0<=pv(a.Ej[b],c)};_.g=bw.prototype;
_.g.jW=function(a){var b=!!a.source&&a.source.opener===window;if(b){var c=window.navigator.userAgent.toLowerCase();if(!(-1<c.indexOf("safari/")&&0>c.indexOf("chrome/")&&0>c.indexOf("crios/")&&0>c.indexOf("android"))){ov("Messages from a popup window are not allowed for this browser.");return}c=zv.GR(a.origin)}else c=zv.QQ(a);if(c){try{var d=_.xv.parse(a.data)}catch(e){ov("Bad event, an error happened when parsing data.");return}if(!b){if(!d||!d.rpcToken||d.rpcToken!=c.Fn){ov("Bad event, no RPC token.");
return}if(d.id&&!d.method){b=d;if(a=c.Yh[b.id])delete c.Yh[b.id],a(b.result,b.error);return}}"fireIdpEvent"!=d.method?ov("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.lH[a.type]?(d=this.lH[a.type],b&&!d.wO?ov("Bad IDP event. Source window cannot be a popup."):d.Yn&&!d.Yn.call(this,c,a)?ov("Bad IDP event."):d.Le.call(this,c,a)):ov("Bad IDP event.")}else ov("Bad event, no corresponding Idp Stub.")};_.g.BX=function(a,b){return ew(this,a.Gb,b.clientId)};
_.g.AX=function(a,b){b=b.clientId;return!b||ew(this,a.Gb,b)};_.g.HO=function(a,b){return ew(this,a.Gb,b.clientId)};_.g.sV=function(a){a.Sm=!0;Uv(a);for(var b=0;b<a.un.length;b++)Vv(a,a.un[b].Ll,a.un[b].Ic);a.un=[]};_.g.rV=function(a,b){b={error:b.error};a.Sm=!0;a.yz=!0;a.jH=b;a.un=[];Uv(a)};_.g.eB=function(a,b){b.originIdp=a.Gb;this.dispatchEvent(b)};var cw=new bw,fw=cw,gw={};gw.idpReady={Le:fw.sV};gw.idpError={Le:fw.rV};gw.sessionStateChanged={Le:fw.eB,Yn:fw.BX};
gw.sessionSelectorChanged={Le:fw.eB,Yn:fw.AX};gw.authResult={Le:fw.eB,Yn:fw.HO,wO:!0};cw.lH=gw||{};uv(window,"message",function(a){cw.jW.call(cw,a)});
var hw=function(a,b){this.xe=!1;if(!a)throw Error("fa");var c=[],d;for(d in a)c.push(a[d]);yv.call(this,c);this.sd=[window.location.protocol,"//",window.location.host].join("");this.kd=b.crossSubDomains?b.domain||this.sd:this.sd;if(!b)throw Error("ga");if(!b.idpId)throw Error("ha");if(!_.Cv(b.idpId,"authServerUrl")||!_.Cv(b.idpId,"idpIFrameUrl"))throw Error("ia`"+b.idpId);this.Gb=b.idpId;this.Sb=void 0;this.BP=!!b.disableTokenRefresh;this.oQ=!!b.forceTokenRefresh;this.AY=!!b.skipTokenCache;this.setOptions(b);
this.Vo=[];this.ol=this.HH=!1;this.Um=void 0;this.jJ();this.ke=void 0;var e=this,f=function(){ov("Token Manager is ready.");if(e.Vo.length)for(var a=0;a<e.Vo.length;a++)e.Vo[a].call(e);e.HH=!0;e.Vo=[]};zv.iu(this.Gb,function(a){e.ke=a;a.Sm&&a.yz?(e.ol=!0,e.Um=a.Qk(),e.zu(e.Um)):e.Sb?$v(e.ke,e.Sb,function(a){if(a){a=e.Gb;var b=e.Sb,c=cw;a&&b&&(c.Ej[a]||(c.Ej[a]=[]),0>pv(c.Ej[a],b)&&c.Ej[a].push(b));f()}else e.Um={error:"Not a valid origin for the client: "+e.sd+" has not been whitelisted for client ID "+
e.Sb+". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},e.ol=!0,e.zu(e.Um)}):(dw(e.Gb),f())})};qv(hw,yv);hw.prototype.setOptions=function(){};hw.prototype.jJ=function(){};hw.prototype.zu=function(){};hw.prototype.Qk=function(){return this.Um};iw=function(a,b,c){return function(){b.apply(a,c)}};_.jw=function(a,b,c){if(a.HH)b.apply(a,c);else{if(a.ol)throw a.Um;a.Vo.push(iw(a,b,c))}};
_.lw=function(a,b){hw.call(this,a,b);this.ZI=new Dv;this.Hi=this.Cl=null;kw(this)};qv(_.lw,hw);_.lw.prototype.setOptions=function(){};
var mw=function(a,b){a.Vd={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.kd};b.crossSubDomains&&(a.Vd.policy=b.policy)},nw=function(a,b){if(!b.authParameters)throw Error("ja");if(!b.authParameters.scope)throw Error("ka");if(!b.authParameters.response_type)throw Error("la");a.Co=b.authParameters;a.Co.redirect_uri||(a.Co.redirect_uri=[window.location.protocol,"//",window.location.host,window.location.pathname].join(""));a.Uj=b.rpcAuthParameters||a.Co;if(!a.Uj.scope)throw Error("ma");
if(!a.Uj.response_type)throw Error("na");a:{var c=a.Uj.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!vv[c[d]]){c=!0;break a}c=!1}if(c)throw Error("oa");b.authResultIdentifier&&(a.IO=b.authResultIdentifier)};
_.lw.prototype.jJ=function(){var a=this;cw.addEventListener(aw.ON,function(b){a.xe&&a.Vd&&b.originIdp==a.Gb&&!b.crossSubDomains==!a.Vd.crossSubDomains&&b.domain==a.Vd.domain&&b.id==a.Vd.id&&a.JI(b)});cw.addEventListener(aw.rw,function(b){a.xe&&b.originIdp==a.Gb&&b.clientId==a.Sb&&a.KI(b)});cw.addEventListener(aw.Yv,function(b){a.xe&&b.originIdp==a.Gb&&b.clientId==a.Sb&&b.id==a.Ei&&(a.Cl&&(window.clearTimeout(a.Cl),a.Cl=null),a.Ei=void 0,a.uq(b))})};_.lw.prototype.JI=function(){};
_.lw.prototype.KI=function(){};_.lw.prototype.uq=function(){};var pw=function(a,b){ow(a);a.BP||(a.Hi=Av.tP(function(){a.Ah(!0)},b-3E5),window.navigator.onLine&&a.Hi.start())},ow=function(a){a.Hi&&(a.Hi.clear(),a.Hi=null)},kw=function(a){var b=window;wv()&&(b=window.document.body);uv(b,"online",function(){a.Hi&&a.Hi.start()});uv(b,"offline",function(){a.Hi&&a.Hi.clear()})};_.lw.prototype.Ah=function(){};_.lw.prototype.vI=_.ca(28);
_.lw.prototype.LU=function(a,b){if(!this.Sb)throw Error("sa");this.ke.hu(this.Sb,this.Uj,this.Vd,a,b)};_.lw.prototype.hu=function(a,b){_.jw(this,this.LU,[a,b])};_.rw=function(a){this.Td=void 0;this.Ag=!1;this.Kn=void 0;_.lw.call(this,_.qw,a)};qv(_.rw,_.lw);_.qw={ED:"noSessionBound",vo:"userLoggedOut",AL:"activeSessionChanged",rw:"sessionStateChanged",$N:"tokenReady",ZN:"tokenFailed",Yv:"authResult",ERROR:"error"};
_.rw.prototype.setOptions=function(a){if(!a.clientId)throw Error("ta");this.Sb=a.clientId;this.ya=a.id;mw(this,a);nw(this,a)};_.rw.prototype.zu=function(a){this.dispatchEvent({type:_.qw.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Gb})};var sw=function(a){ow(a);a.Kn=void 0;a.Xz=void 0};_.g=_.rw.prototype;
_.g.JI=function(a){var b=a.newValue||{};if(this.Td!=b.hint||this.Ag!=!!b.disabled){a=this.Td;var c=!this.Td||this.Ag;sw(this);this.Td=b.hint;this.Ag=!!b.disabled;(b=!this.Td||this.Ag)&&!c?this.dispatchEvent({type:_.qw.vo,idpId:this.Gb}):b||(a!=this.Td&&this.dispatchEvent({type:_.qw.AL,idpId:this.Gb}),this.Td&&this.Ah())}};
_.g.KI=function(a){this.Ag||(this.Td?a.user||this.Kn?a.user==this.Td&&(this.Kn?a.sessionState?this.Kn=a.sessionState:(sw(this),this.dispatchEvent({type:_.qw.vo,idpId:this.Gb})):a.sessionState&&(this.Kn=a.sessionState,this.Ah())):this.Ah():this.dispatchEvent({type:_.qw.rw,idpId:this.Gb}))};_.g.uq=function(a){this.dispatchEvent({type:_.qw.Yv,authResult:a.authResult})};_.g.xp=_.ca(30);_.g.lp=function(a){_.jw(this,this.vy,[a])};_.g.vy=function(a){Yv(this.ke,this.Vd,a)};
_.g.Av=function(a,b,c){if(!a)throw Error("ua");sw(this);this.Td=a;this.Ag=!1;b&&_.Zv(this.ke,this.Vd,!1,this.Td);this.xe=!0;this.Ah(c)};_.g.start=function(){_.jw(this,this.FY,[])};
_.g.FY=function(){var a=this.Sb==tv("client_id")?tv("login_hint"):void 0;if(a)window.history.replaceState?window.history.replaceState(null,window.document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.Av(a,!0,!0);else{var b=this;this.lp(function(a){b.xe=!0;a&&a.hint?(sw(b),b.Td=a.hint,b.Ag=!!a.disabled,b.Ag?b.dispatchEvent({type:_.qw.vo,idpId:b.Gb}):b.Av(a.hint)):(sw(b),b.Td=void 0,b.Ag=!(!a||!a.disabled),b.dispatchEvent({type:_.qw.ED,autoOpenAuthUrl:!b.Ag,idpId:b.Gb}))})}};
_.g.OF=_.ca(31);_.g.Ah=function(a){var b=this;this.ke.Ah(this.Sb,this.Uj,this.Td,this.Vd,function(a,d){(d=d||a.error)?"user_logged_out"==d?(sw(b),b.dispatchEvent({type:_.qw.vo,idpId:b.Gb})):(b.Xz=null,b.dispatchEvent({type:_.qw.ZN,idpId:b.Gb,error:d})):(b.Xz=a,b.Kn=a.session_state,pw(b,a.expires_at),a.idpId=b.Gb,b.dispatchEvent({type:_.qw.$N,idpId:b.Gb,response:a}))},this.ya,a)};_.g.Kq=_.ca(26);_.g.yJ=_.ca(32);_.tw=function(a){this.uk=null;_.lw.call(this,{},a);this.xe=!0};qv(_.tw,_.lw);_.g=_.tw.prototype;
_.g.setOptions=function(a){if(!a.clientId)throw Error("ta");this.Sb=a.clientId;this.ya=a.id;mw(this,a);nw(this,a)};_.g.zu=function(a){this.uk&&(this.uk(a),this.uk=null)};_.g.uq=function(a){if(this.uk){var b=this.uk;this.uk=null;b(a)}};_.g.xp=_.ca(29);_.g.lp=function(a){this.ol?a(this.Qk()):_.jw(this,this.vy,[a])};_.g.vy=function(a){Yv(this.ke,this.Vd,a)};_.uw=function(a,b,c){a.ol?c(a.Qk()):_.jw(a,a.IV,[b,c])}; _.tw.prototype.IV=function(a,b){this.ke.Ah(this.Sb,this.Uj,a,this.Vd,function(a,d){d?b({error:d}):b(a)},this.ya,this.oQ,this.AY)};_.tw.prototype.YH=_.ca(33);

var vw=function(a,b,c){if(!a.xe)throw Error("pa");b?_.Zv(a.ke,a.Vd,!0,void 0,c):_.Zv(a.ke,a.Vd,!0,a.Td,c)},ww=function(a){if(!a.xe)throw Error("pa");return a.Xz};_.tw.prototype.YH=_.Sa(33,function(a,b){var c=this.ke,d=this.Sb,e=this.Vd,f=_.sv(this.Uj);delete f.response_type;_.Wv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.rw.prototype.yJ=_.Sa(32,function(a){ww(this)&&ww(this).access_token&&(this.ke.Kq(this.Sb,ww(this).access_token,a),vw(this,!0))});
_.rw.prototype.OF=_.Sa(31,function(){var a=this;this.lp(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.qw.vo,idpId:a.Gb}):a.Ah(!0):a.dispatchEvent({type:_.qw.ED,idpId:a.Gb})})});_.rw.prototype.xp=_.Sa(30,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.Av(b.authResult.login_hint,a.Ag||b.authResult.login_hint!=a.Td,!0)}});
_.tw.prototype.xp=_.Sa(29,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.lp(function(d){_.Zv(b.ke,b.Vd,d&&d.disabled,c.authResult.login_hint,function(){_.uw(b,c.authResult.login_hint,a)})}):a(c&&c.authResult&&c.authResult.error?c.authResult:c&&c.authResult&&!c.authResult.login_hint?{error:"wrong_response_type"}:{error:"unknown_error"})}});_.lw.prototype.vI=_.Sa(28,function(){this.Sb&&_.Wv(this.ke,"startPolling",{clientId:this.Sb,origin:this.sd,id:this.Ei},void 0)});
_.Tv.prototype.Kq=_.Sa(27,function(a,b,c){_.Wv(this,"revoke",{clientId:a,token:b},c)});_.rw.prototype.Kq=_.Sa(26,function(a){_.jw(this,this.yJ,[a])});_.ph.prototype.RK=_.Sa(6,function(a,b){return _.zh(this,null,a,b)});
var xw=function(){var a=window.navigator.userAgent;return!!a&&/Edge\/\d+/.test(a)},yw=function(){var a=window.navigator.userAgent,b;if(b=!!a&&-1!=a.indexOf("CriOS"))b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=(0,window.parseInt)(a[1],10)||-1),b=48>b;return b},zw=function(a,b,c,d,e,f){var h=_.Cv(a,"authServerUrl");if(!h)throw Error("Z`"+a);a=_.sv(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("&")},Aw=function(a,b,c,d){if(!a.Sb)throw Error("qa");a.Ei=c||a.IO||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.sd.split("//");c=b.extraQueryParams;var f=e[0],h=f.indexOf(":");0<h&&(f=f.substring(0,h));e=["storagerelay://",
f,"/",e[1],"?"];e.push("id="+a.Ei);c.redirect_uri=e.join("")}return zw(a.Gb,a.kd,a.Sb,a.Co,b,d)},Bw=function(a,b,c){if(!a.Sb)throw Error("qa");return zw(a.Gb,a.kd,a.Sb,a.Co,b,c)},Cw=function(a,b){a.Cl&&window.clearTimeout(a.Cl);a.Cl=window.setTimeout(function(){a.Ei==b&&(a.Cl=null,a.Ei=void 0,a.uq({authResult:{error:"popup_closed_by_user"}}))},1E3)},Dw=function(a,b,c){if(!a.Sb)throw Error("ra");c=c||{};c=Aw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&
!window.ActiveXObject||xw()||yw())&&_.jw(a,a.vI,[]);var d=a.Ei;a.ZI.open(c,b,function(){a.Ei==d&&Cw(a,d)},function(){a.Ei=void 0;a.uq({authResult:{error:"popup_blocked_by_browser"}})})},Ew=function(a){_.jw(a,a.OF,[])},Fw=function(a,b,c){a.ol?c(a.Qk()):_.jw(a,a.YH,[b,c])},Gw=function(a){return Array.prototype.concat.apply([],arguments)},Hw=function(a){var b=[];_.$k(a,function(a){b.push(a)});return b},Iw=function(){var a=window.crypto||window.msCrypto;a&&a.getRandomValues&&(this.OC=!0,this.Bm=window.Infinity);
if(1>this.Bm){var b=this.Jj;a=this.Bm;this.Jj="";this.Bm=1;a=Math.max(0,a);if(!this.OC){b=this.RA+b;var c=new _.ol;c.update(b);b=String.fromCharCode.apply(String,c.digest());this.Lu+=a;this.Lu>=this.Bm?(c.reset(),c.update("SEED_SALT:"+b+this.Jj),this.Jj=String.fromCharCode.apply(String,c.digest()),this.RA="",this.Lu=0):this.RA=b}}};_.g=Iw.prototype;_.g.OC=!1;_.g.Jj="";_.g.RA="";_.g.Lu=0;_.g.Bm=-1;
var Lw=function(a){var b=Jw,c=[];if(b.OC)a=new window.Uint8Array(Math.min(65536,a||1)),(window.crypto||window.msCrypto).getRandomValues(a),c=[].slice.call(a);else{if(0>b.Bm||0==b.Jj.length)throw new Kw;var d=new _.ol;d.update("RANDOM_SALT:"+b.Jj);var e=d.digest();null!==e&&(d.reset(),d.update("SEED_SALT:"+b.Jj),b.Jj=String.fromCharCode.apply(String,d.digest()),c=e.slice(0,a||e.length))}return c},Kw=function(){};_.z(Kw,Error);Kw.prototype.name="Insufficient Entropy";
_.xv={parse:function(a){a=_.kf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.lf(a)}};_.tw.prototype.jy=function(a,b){_.jw(this,this.bQ,[a,b])};_.tw.prototype.bQ=function(a,b){this.ke.jy(this.Sb,a,this.Uj,this.Vd,b)};_.Tv.prototype.jy=function(a,b,c,d,e){c=_.sv(c);_.Wv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var Mw,Nw=["client_id","cookie_policy","scope"],Ow="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 gsiwebsdk".split(" "),Pw=["authuser","after_redirect","access_type","hl"],Qw=["app_package_name","login_hint","prompt"],Rw={clientid:"client_id",cookiepolicy:"cookie_policy"},Sw="approval_prompt app_package_name authuser login_hint prompt hd".split(" "), Tw=["login_hint","g-oauth-window","status"],Uw=Math.min(_.I("oauth-flow/authWindowWidth",599),window.screen.width-20),Vw=Math.min(_.I("oauth-flow/authWindowHeight",600),window.screen.height-30);
var Ww=function(a){_.Tg.call(this,a)};_.z(Ww,_.Tg);Ww.prototype.name="gapi.auth2.ExternallyVisibleError";var Xw=function(){};Xw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Yw=function(a){this.JO=a};Yw.prototype.select=function(a,b){if(a.sessions)for(var c=0;c<a.sessions.length;c++){var d=a.sessions[c];if(d.session_state&&d.session_state.extraQueryParams&&d.session_state.extraQueryParams.authuser==this.JO){d.login_hint?b(d):b();return}}b()};
var Zw=function(a){this.Hd=a;this.JB=[]};Zw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.JB[b];f?(b++,c.Hd.hu(function(a){a?f.select(a,d):d()})):a()}};d()};var $w=function(a){a=new Zw(a);a.JB.push(new Xw);return a},ax=function(a,b){void 0===b||null===b?b=$w(a):(a=new Zw(a),a.JB.push(new Yw(b)),b=a);return b};
var bx=function(a){this.Le=a;this.Sd=!0};bx.prototype.remove=function(){this.Sd=!1};bx.prototype.trigger=function(){};var cx=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},dx=function(){this.Qb=[]};dx.prototype.add=function(a){this.Qb.push(a)};dx.prototype.notify=function(a){for(var b=this.Qb,c=[],d=0;d<b.length;d++){var e=b[d];e.Sd&&(c.push(e),_.ch(ex(e.Le,a)))}this.Qb=c};var ex=function(a,b){return(0,_.B)(function(){this(b)},a)};
var gx=function(a){this.Xd=null;this.nZ=new fx(this);this.Qb=new dx;void 0!=a&&this.set(a)};gx.prototype.set=function(a){a!=this.Xd&&(this.Xd=a,this.nZ.value=a,this.Qb.notify(this.Xd))};gx.prototype.get=function(){return this.Xd};gx.prototype.ha=function(a){a=new hx(this,a);this.Qb.add(a);return a};var hx=function(a,b){bx.call(this,b);this.OU=a};_.z(hx,bx);hx.prototype.trigger=function(){var a=this.Le;a(this.OU.get())};var fx=function(a){this.value=null;this.ha=function(b){return new cx(a.ha(b))}};
var ix={JZ:"app_package_name",T0:"fetch_basic_profile",W1:"login_hint",y3:"prompt",L3:"redirect_uri",c4:"scope",P5:"ux_mode"},jx=function(a){this.Ha={};if(a&&!_.hg(a))if("function"==typeof a.get)this.Ha=a.get();else for(var b in ix){var c=ix[b];c in a&&(this.Ha[c]=a[c])}};jx.prototype.get=function(){return this.Ha};jx.prototype.kK=function(a){this.Ha.scope=a;return this};jx.prototype.Jp=function(){return this.Ha.scope};
var kx=function(a,b){var c=a.Ha.scope;b=Gw(b.split(" "),c?c.split(" "):[]);_.Jk(b);a.Ha.scope=b.join(" ")};jx.prototype.gY=function(a){this.Ha.prompt=a;return this};jx.prototype.KR=function(){return this.Ha.prompt};jx.prototype.EX=function(a){this.Ha.app_package_name=a;return this};jx.prototype.sQ=function(){return this.Ha.app_package_name};
var lx=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Uw,"height="+Vw,"top="+(window.screen.height-Vw)/2,"left="+(window.screen.width-Uw)/2].join()},mx=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.Tk(Hw(a)))},nx=function(){Mw=_.I("auth2/idpValue","google");var a=_.I("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.I("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");a={authServerUrl:a,idpIFrameUrl:b};b=Mw;if(!b)throw Error("W");if(!a.authServerUrl)throw Error("X");if(!a.idpIFrameUrl)throw Error("Y");_.Bv[b]={authServerUrl:a.authServerUrl,idpIFrameUrl:a.idpIFrameUrl}},ox=function(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];if(d===b.length-1){a[e]=c;break}_.$a(a[e])||(a[e]={});a=a[e]}},px=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host); return a};
var qx=function(a){var b=a?(b=mx(a))?b.sub:null:null;this.ya=b;this.lc=a?_.Vg(a):null};_.g=qx.prototype;_.g.ka=function(){return this.ya};_.g.Dy=function(){var a=mx(this.lc);return a?a.hd:null};_.g.zi=function(){return!!this.lc};_.g.tj=function(a){if(a)return this.lc;a=_.rx;var b=_.Vg(this.lc);!a.Qt||a.rz||a.uT||(delete b.access_token,delete b.scope);return b};_.g.fB=function(){return _.rx.fB()};_.g.Ti=function(){this.lc=null};_.g.$Q=function(){return this.lc?this.lc.scope:null};
_.g.update=function(a){this.ya=a.ya;this.lc=a.lc;this.lc.id_token?this.Zr=new sx(this.lc):this.Zr&&(this.Zr=null)};var tx=function(a){return a.lc&&"object"==typeof a.lc.session_state?_.Vg(a.lc.session_state.extraQueryParams||{}):{}};_.g=qx.prototype;_.g.gp=function(){var a=tx(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.g.Si=function(a){var b=_.rx,c=new jx(a);b.rz=c.Jp()?!0:!1;_.rx.Qt&&kx(c,"openid profile email");return new _.ph(function(a,e){var d=tx(this);d.login_hint=this.ka();d.scope=c.Jp();ux(b,a,e,d)},this)};_.g.Mp=function(a){return new _.ph(function(b,c){var d=a||{},e=_.rx;d.login_hint=this.ka();e.Mp(d).then(b,c)},this)};_.g.hS=function(a){return this.Si(a)};_.g.disconnect=function(){return _.rx.disconnect()};_.g.vQ=function(){return this.Zr};
_.g.Et=function(a){if(!this.zi())return!1;var b=this.lc&&this.lc.scope?this.lc.scope.split(" "):"";return(0,_.sb)(a?a.split(" "):[],function(a){return _.tb(b,a)})};var sx=function(a){a=mx(a);this.qQ=a.sub;this.Ud=a.name;this.eS=a.given_name;this.$P=a.family_name;this.sH=a.picture;this.Ls=a.email};_.g=sx.prototype;_.g.ka=function(){return this.qQ};_.g.getName=function(){return this.Ud};_.g.YQ=function(){return this.eS};_.g.SQ=function(){return this.$P};_.g.hR=function(){return this.sH};_.g.et=function(){return this.Ls};
var vx;vx=function(a){var b=window.location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.wx=function(a){if(!a)throw new Ww("No cookiePolicy");var b=window.location.hostname;"single_host_origin"==a&&(a=window.location.protocol+"//"+b);if("none"==a)return null;var c=/^(https?:\/\/)([0-9.\-_A-Za-z]+)(?::(\d+))?$/.exec(a);if(!c)throw new Ww("Invalid cookiePolicy");a=c[2];c=c[1];var d={};d.dotValue=a.split(".").length;d.isSecure=-1!=c.indexOf("https");d.domain=a;if(!_.fg(b,"."+a)&&!_.fg(b,a))throw new Ww("Invalid cookiePolicy domain");return d};
var Jw=new Iw,xx=function(){try{for(var a=[],b=0;64>a.length&&128>b;)a.push.apply(a,Lw(64-a.length)),b++;if(64>a.length)throw new Kw;var c=a.slice(0,64)}catch(d){for(c=[],a=0;64>a;a++)c[a]=Math.floor(256*Math.random())}return _.Zk(c,!0).substring(0,64)};
var zx=function(a){var b=a||{},c=yx();(0,_.mb)(Ow,function(a){"undefined"===typeof b[a]&&"undefined"!==typeof c[a]&&(b[a]=c[a])});return b},yx=function(){for(var a={},b=window.document.getElementsByTagName("meta"),c=0;c<b.length;++c)if(b[c].name){var d=b[c].name;if(0==d.indexOf("google-signin-")){d=d.substring(14);var e=b[c].content;Rw[d]&&(d=Rw[d]);_.tb(Ow,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},Ax=function(a){return String(a).replace(/_([a-z])/g,function(a,c){return c.toUpperCase()})},
Bx=function(a){(0,_.mb)(Ow,function(b){var c=Ax(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},Cx=function(a){a=zx(a);Bx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Ow+Pw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},Dx=function(a,b){if(!a)throw new Ww("Empty initial options.");for(var c=0;c<Nw.length;++c)if(!(b&&"scope"==Nw[c]||a[Nw[c]]))throw new Ww("Missing required parameter '"+Nw[c]+"'");_.wx(a.cookie_policy)},Ex=function(a){var b=
{authParameters:{redirect_uri:void 0,response_type:"token id_token",scope:a.scope,"openid.realm":a.openid_realm},clientId:a.client_id,crossSubDomains:!0,domain:vx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Mw};(0,_.mb)(Qw,function(c){a[c]&&(b.authParameters[c]=a[c])});return b},Jx=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,h=a.oidc_spec_compliant,k=a.nonce,l=Fx(a),n={authParameters:{response_type:l,scope:d,"openid.realm":e},
rpcAuthParameters:{response_type:l,scope:d,"openid.realm":e},clientId:b,crossSubDomains:!0,domain:vx(c),idpId:Mw};f&&(n.authParameters.hd=f,n.rpcAuthParameters.hd=f);h&&(n.rpcAuthParameters.spec_compliant=h,k=k||xx());k&&(n.authParameters.nonce=k,n.rpcAuthParameters.nonce=k,n.forceTokenRefresh=!0,n.skipTokenCache=!0);(0,_.mb)(Qw.concat(Pw),function(b){a[b]&&(n.authParameters[b]=a[b])});void 0!==a.authuser&&null!==a.authuser&&(n.authParameters.authuser=a.authuser);"boolean"==typeof a.include_granted_scopes&&
(b=new Gx(a.response_type||"token"),Hx(b)&&(n.authParameters.include_granted_scopes=a.include_granted_scopes),Ix(b)&&(n.rpcAuthParameters.include_granted_scopes=a.include_granted_scopes,!1===a.include_granted_scopes&&(n.forceTokenRefresh=!0,n.skipTokenCache=!0)));return n},Fx=function(a){a=new Gx(a.response_type||"token");var b=[];Ix(a)&&b.push("token");Kx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},Lx=["permission","id_token"],Mx=/(^|[^_])token/,Gx=
function(a){this.Bn=[];this.Iz(a)};Gx.prototype.Iz=function(a){a?((0<=a.indexOf("permission")||a.match(Mx))&&this.Bn.push("permission"),0<=a.indexOf("id_token")&&this.Bn.push("id_token"),0<=a.indexOf("code")&&this.Bn.push("code")):this.Bn=Lx};var Hx=function(a){return Kx(a,"code")},Ix=function(a){return Kx(a,"permission")};Gx.prototype.toString=function(){return this.Bn.join(" ")};var Kx=function(a,b){var c=!1;(0,_.mb)(a.Bn,function(a){a==b&&(c=!0)});return c};
var Px,Ox,Qx;_.rx=null;Px=function(a){delete a.include_granted_scopes;this.Ha=Ex(a);this.pP=a.cookie_policy;this.uT=!!a.scope;(this.Qt=!1!==a.fetch_basic_profile)&&(this.Ha.authParameters.scope=Nx(this,"openid profile email"));this.Wp=a.hosted_domain;this.lZ=a.ux_mode||"popup";this.qW=a.redirect_uri||null;Ox(this)};
Ox=function(a){a.currentUser=new gx(new qx(null));a.isSignedIn=new gx(!1);a.Hd=new _.rw(a.Ha);a.Ym=null;a.Xt=null;a.zU=new _.ph(function(a,c){this.Ym=a;this.Xt=c},a);a.Cu={};a.hq=!0;Qx(a);a.Hd.start()};
Qx=function(a){a.Hd.addEventListener("error",function(b){a.hq&&a.Ym&&(a.hq=!1,a.Xt({error:b.error,details:b.details}),a.Ym=null,a.Xt=null)});a.Hd.addEventListener("authResult",function(b){b&&b.authResult&&a.Fe(b);a.Hd.xp()(b)});a.Hd.addEventListener("tokenReady",function(b){var c=new qx(b.response);if(a.Wp&&a.Wp!=c.Dy())a.Fe({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.Dy(),expectedDomain:a.Wp});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Qb.notify(d.Xd);a.isSignedIn.set(!0);c=c.gp();(d=_.wx(a.pP))&&c&&_.Ol.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.xc?"S":"H",d.hf].join(""),c,void 0,void 0,d.domain,d.isSecure);_.ll(b.response);a.Fe(b)}});a.Hd.addEventListener("noSessionBound",function(b){a.hq&&b.autoOpenAuthUrl?(a.hq=!1,$w(a.Hd).select(function(c){if(c&&c.login_hint){var d=a.Hd;_.jw(d,d.Av,[c.login_hint,!0])}else a.currentUser.set(new qx(null)),a.isSignedIn.set(!1),_.ml(),a.Fe(b)})):(a.currentUser.set(new qx(null)),
a.isSignedIn.set(!1),_.ml(),a.Fe(b))});a.Hd.addEventListener("tokenFailed",function(b){a.Fe(b)});a.Hd.addEventListener("userLoggedOut",function(b){a.currentUser.get().Ti();var c=a.currentUser;c.Qb.notify(c.Xd);a.isSignedIn.set(!1);_.ml();a.Fe(b)})};Px.prototype.then=function(a,b,c){return this.zU.then(function(b){if(a)return a(b.fS)},b,c)};_.mh(Px);Px.prototype.Fe=function(a){if(a){this.hq=!1;var b=a.type||"";if(this.Cu[b])this.Cu[b](a);this.Ym&&(this.Ym({fS:this}),this.Xt=this.Ym=null)}};
var Rx=function(a,b){_.Wb(b,function(b,d){a.Cu[d]=function(c){a.Cu={};b(c)}})},ux=function(a,b,c,d){d=_.Vg(d);a.Wp&&(d.hd=a.Wp);var e=d.ux_mode||a.lZ;delete d.ux_mode;var f={sessionMeta:{extraQueryParams:d},responseType:"permission id_token"};"redirect"==e?(d.redirect_uri||(d.redirect_uri=a.qW||px()+window.location.pathname),Sx(a,f)):(delete d.redirect_uri,Tx(a,f),Rx(a,{authResult:function(d){d.authResult&&d.authResult.error?c(d.authResult):Rx(a,{tokenReady:function(){b(a.currentUser.get())},tokenFailed:c})}}))};
Px.prototype.Si=function(a){return new _.ph(function(b,c){var d=new jx(a);this.rz=d.Jp()?!0:!1;this.Qt?(d.Ha.fetch_basic_profile=!0,kx(d,"email profile openid")):d.Ha.fetch_basic_profile=!1;var e=Nx(this,d.Jp());d.kK(e);ux(this,b,c,d.get())},this)};
Px.prototype.Mp=function(a){var b=a||{};this.rz=!!b.scope;a=Nx(this,b.scope);if(""==a)return _.uh({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};(0,_.mb)(Sw,function(a){null!=b[a]&&(c[a]=b[a])});return"postmessage"==b.redirect_uri||void 0==b.redirect_uri?Ux(this,c):Vx(this,c,b.redirect_uri)};
var Vx=function(a,b,c){b.redirect_uri=c;Sx(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.th({message:"Redirecting to IDP."})},Ux=function(a,b){b.origin=px();delete b.redirect_uri;Tx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.ph(function(a,b){Rx(this,{authResult:function(c){(c=c&&c.authResult)&&c.code?a({code:c.code}):b(c&&c.error?c:{error:"unknown_error"})}})},a)},Tx=function(a,b){ox(b,["sessionMeta","extraQueryParams",
"gsiwebsdk"],"2");Dw(a.Hd,lx(),b)},Sx=function(a,b){ox(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(Bw(a.Hd,b.sessionMeta,b.responseType))};Px.prototype.Ti=function(a){var b=a||!1;return new _.ph(function(a){vw(this.Hd,b,function(){a()})},this)};Px.prototype.fG=function(){return this.Ha.authParameters.scope};var Nx=function(a,b){a=a.fG();b=Gw(b?b.split(" "):[],a?a.split(" "):[]);_.Jk(b);return b.join(" ")};
Px.prototype.fB=function(){var a=this;return new _.ph(function(b,c){Rx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(a){b(a.response)}});Ew(a.Hd)})};Px.prototype.FO=function(a,b,c,d){if(a=_.v(a)?window.document.getElementById(a):a){var e=this;_.Fg(a,"click",function(){var a=b;"function"==typeof b&&(a=b());e.Si(a).then(function(a){c&&c(a)},function(a){d&&d(a)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})}; Px.prototype.disconnect=function(){return new _.ph(function(a){this.Hd.Kq(function(){a()})},this)};
var Wx;_.ph.prototype["catch"]=_.ph.prototype.RK;Wx=null;_.Xx=function(a){a=Cx(a);if(_.rx){if(_.Ug(a,Wx||{}))return _.rx;throw new Ww("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Dx(a,!1!==a.fetch_basic_profile);nx();Wx=a;_.rx=new Px(a);_.ne.ga=1;return _.rx};
var Zx,ay,Yx,cy,by,dy;_.$x=function(a,b){nx();a=Cx(a);Dx(a);var c=Jx(a),d=new _.tw(c);"none"==a.prompt?Yx(d,a,function(a){a.status=a.error?{signed_in:!1,method:null,google_logged_in:!1}:{signed_in:!0,method:"AUTO",google_logged_in:!0};b(a)}):Zx(d,a,function(a){if(a.error)a.status={signed_in:!1,method:null,google_logged_in:!1};else{var c=a.access_token||a.id_token;a.status={signed_in:!!c,method:"PROMPT",google_logged_in:!!c}}a["g-oauth-window"]=d.ZI.Dh;b(a)})};
Zx=function(a,b,c){var d=new Gx(b.response_type);c=ay(a,d,c);var e={responseType:d.toString()};ox(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Hx(d)&&ox(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&ox(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&ox(e,["sessionMeta","extraQueryParams","state"],b.state);b=lx();a.ol?c(a.Qk()):(a.uk=c,Dw(a,b,e))};
ay=function(a,b,c){if(Ix(b)){var d=by(c);return function(c){c&&c.authResult&&!c.authResult.error?a.xp(function(a){a&&!a.error?(a=_.Vg(a),Hx(b)&&(a.code=c.authResult.code),d(a)):d(a?a:{error:"unknown_error"})})(c):d(c&&c.authResult?c.authResult:{error:"unknown_error"})}}return function(a){a&&a.authResult&&!a.authResult.error?c(_.Vg(a.authResult)):c(a&&a.authResult?a.authResult:{error:"unknown_error"})}};
Yx=function(a,b,c){if(Hx(new Gx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=by(c);b.login_hint?a.jy(b.login_hint,function(e){e?cy(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?ax(a,b.authuser).select(function(c){c&&c.login_hint?cy(a,b,c.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.lp(function(c){c&&c.hint?cy(a,b,c.hint,d):c&&c.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):$w(a).select(function(c){c&&c.login_hint?cy(a,b,c.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};cy=function(a,b,c,d){b=new Gx(b.response_type);var e=0,f={},h=function(a){!a||a.error?d(a):(e--,_.ac(f,a),0==e&&d(f))};(Ix(b)||Kx(b,"id_token"))&&e++;Hx(b)&&e++;(Ix(b)||Kx(b,"id_token"))&&_.uw(a,c,h);Hx(b)&&Fw(a,c,h)}; by=function(a){return function(b){if(!b||b.error)_.ml(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.Vg(b);dy(c);delete c.id_token;delete c.code;_.ll(c)}a(b)}}};dy=function(a){(0,_.mb)(Tw,function(b){delete a[b]})};
_.w("gapi.auth2.init",_.Xx);_.w("gapi.auth2.authorize",function(a,b){if(null!=_.rx)throw new Ww("gapi.auth2.authorize cannot be called after GoogleAuth has been initialized (i.e. with a call to gapi.auth2.init, or gapi.client.init when given a 'clientId' and a 'scope' parameters).");_.$x(a,function(a){dy(a);b(a)})});_.w("gapi.auth2._gt",function(){return _.kl()});_.w("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.nv="0"!=a&&!!a});_.w("gapi.auth2.getAuthInstance",function(){return _.rx});
_.w("gapi.auth2.BasicProfile",sx);_.w("gapi.auth2.BasicProfile.prototype.getId",sx.prototype.ka);_.w("gapi.auth2.BasicProfile.prototype.getName",sx.prototype.getName);_.w("gapi.auth2.BasicProfile.prototype.getGivenName",sx.prototype.YQ);_.w("gapi.auth2.BasicProfile.prototype.getFamilyName",sx.prototype.SQ);_.w("gapi.auth2.BasicProfile.prototype.getImageUrl",sx.prototype.hR);_.w("gapi.auth2.BasicProfile.prototype.getEmail",sx.prototype.et);_.w("gapi.auth2.GoogleAuth",Px);
_.w("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Px.prototype.FO);_.w("gapi.auth2.GoogleAuth.prototype.disconnect",Px.prototype.disconnect);_.w("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Px.prototype.Mp);_.w("gapi.auth2.GoogleAuth.prototype.signIn",Px.prototype.Si);_.w("gapi.auth2.GoogleAuth.prototype.signOut",Px.prototype.Ti);_.w("gapi.auth2.GoogleAuth.prototype.then",Px.prototype.then);_.w("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Px.prototype.fG);
_.w("gapi.auth2.GoogleUser",qx);_.w("gapi.auth2.GoogleUser.prototype.grant",qx.prototype.hS);_.w("gapi.auth2.GoogleUser.prototype.getId",qx.prototype.ka);_.w("gapi.auth2.GoogleUser.prototype.isSignedIn",qx.prototype.zi);_.w("gapi.auth2.GoogleUser.prototype.getAuthResponse",qx.prototype.tj);_.w("gapi.auth2.GoogleUser.prototype.getBasicProfile",qx.prototype.vQ);_.w("gapi.auth2.GoogleUser.prototype.getGrantedScopes",qx.prototype.$Q);_.w("gapi.auth2.GoogleUser.prototype.getHostedDomain",qx.prototype.Dy);
_.w("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",qx.prototype.Mp);_.w("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",qx.prototype.Et);_.w("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",qx.prototype.fB);_.w("gapi.auth2.LiveValue",gx);_.w("gapi.auth2.LiveValue.prototype.listen",gx.prototype.ha);_.w("gapi.auth2.LiveValue.prototype.get",gx.prototype.get);_.w("gapi.auth2.SigninOptionsBuilder",jx);_.w("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",jx.prototype.sQ);
_.w("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",jx.prototype.EX);_.w("gapi.auth2.SigninOptionsBuilder.prototype.getScope",jx.prototype.Jp);_.w("gapi.auth2.SigninOptionsBuilder.prototype.setScope",jx.prototype.kK);_.w("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",jx.prototype.KR);_.w("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",jx.prototype.gY);_.w("gapi.auth2.SigninOptionsBuilder.prototype.get",jx.prototype.get);

var Cy,Dy,Ey,Fy,Gy,Hy,Iy,Jy,Ky,Ly,My,Ny,Oy,Py,Qy,Ry,Sy,Ty,Uy,Vy,Wy,Xy,Yy,Zy,$y,az,bz,cz,dz,fz,gz,iz,jz,kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Mz,Lz,Pz,Qz,Sz,Tz,Uz,Wz,Xz,Zz;_.Ay=function(a){_.Ae&&(_.Ae.error?_.Ae.error(a):_.Ae.log&&_.Ae.log(a))};_.By=function(a,b){if(_.Xk&&!b)return _.m.atob(a);var c="";_.$k(a,function(a){c+=String.fromCharCode(a)});return c};
Cy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};Dy=function(a){return _.I("enableMultilogin")&&a("cookie_policy")&&!Cy(a)?!0:!1};
Ey=function(a){a=String(a);if(null!=(_.ee(a,"authuser")||null)||null!=(_.ee(a,"hd")||null))return a;var b=_.il(void 0),c;null==b?Dy(function(b){return _.ee(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]];d<b[0].length-1&&e.push("&");e.push(c);b[0]=e.join("")}return b.join("#")};Iy=function(){return Math.floor((new Date).getTime()/1E3)};Jy=function(){var a,b=null;_.Bl.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Cl(c.substring(11)),!a||c.xc&&!a.xc||c.xc==a.xc&&c.hf>a.hf)&&(a=c,b=d)});return{OO:a,om:b}};Ky=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];
Ly=function(a){a=a.toUpperCase();for(var b=0,c=Ky.length;b<c;++b){var d=a.split(Ky[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.ql,b.KC(a),a=b.zg().toUpperCase());return a};My=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Ny=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],CX:My(a[1]),J7:My(a[2]),R6:My(a[3])}};
Oy=function(a){var b=Jy(),c=b.OO;b=b.om;var d=a&&Ly(a);if(null!==b){var e;_.Bl.iterate(function(a,b){(a=_.Dl(a))&&a.jq&&(d&&a.SE!=d||a.xc==c.xc&&a.hf==c.hf&&(e=b))});if(e){var f=Ny(e);a=f&&f.CX[Number(b)];f=f&&f.clientId;if(a)return{om:b,r8:a,clientId:f}}}return null};Py=null;
Qy=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.M.Qa(a));var b=window.location.hostname,c=b,d=_.Al;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Be("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 _.Be("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,xc:d,hf:b}};
Ry=function(a){if(!a)return null;var b=a.client_id;if(!b)return null;b=Ly(b);a=Qy(a.cookie_policy);return a?!_.Al&&a.xc?(_.Be("WARNING: https cookie_policy set for http domain"),null):["GCSC",a.xc?"E":"U","_",b,"_",a.xc?"S":"H",a.hf].join(""):null};Sy=function(a){a=Qy(a);if(!a||a.xc&&!_.Al)return null;var b=["G_AUTHUSER_",_.Al&&a.xc?"S":"H",a.hf].join(""),c=_.Gl[b];c||(c=new _.Bl(b,_.Ll(a)),_.Gl[b]=c);return c};
Ty=function(a){var b=Qy(a);if(!b)return new _.ul("G_USERSTATE_");a=["G_USERSTATE_",_.Al&&b.xc?"S":"H",b.hf].join("");var c=_.Hl[a];c||(c={M7:63072E3},_.ce(_.Ll(b),c),c=new _.rl(a,c),_.Hl[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};Uy=function(a){var b=Ty(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};
Vy=function(a,b,c,d){var e=Uy(c),f=e[a];e[a]=b?"0":"1";var h=[];_.fo(e,function(a,b){h.push(b+"="+a)});b=h.join(":");c=Ty(c);b?c.write(b):c.clear();e[a]!==f&&d&&d()};Wy=function(a,b){a=a.split(" ");b=b.split(" ");for(var c=_.G(),d=0,e=b.length;d<e;++d)b[d]&&(c[b[d]]=1);d=0;for(e=a.length;d<e;++d)if(a[d]&&!c[a[d]])return!1;return!0};Xy=function(a){return Cy(function(b){return a[b]})};
Yy=function(a){if(!a)return null;var b,c,d=Ly(a);_.yl.iterate(function(a){var e=_.Dl(a);e&&e.jq&&e.SE===d&&(!b||e.xc&&!b.xc||e.xc==b.xc&&e.hf>b.hf)&&(b=e,c=a)});return c};Zy=function(a){a=Sy(a.g_user_cookie_policy);_.ve("googleapis.config/sessionIndex",null);a.clear()};
$y=function(a,b){var c=b?_.Fl:_.El,d=b?_.Bl:_.yl,e=a&&Ry(a),f=!!e;a&&!a.g_user_cookie_policy&&(d=_.ul,e="token");if(!e)if(!b&&Py)e=Py;else return null;a=c[e];if(!a){a=_.Dl(e);if(!("token"===e||a&&a.jq))return null;a=new d(e,_.Ll(a));b||(a=new _.Jl(a))}c[e]=a;return{store:a,key:e,rQ:f}};az=function(a){var b=_.El[a];b||(b=new _.Jl(new _.ul(a)),_.El[a]=b);return{store:b,key:a}};
bz=function(a,b,c){a=a&&"token"!==a?az(a):$y();if(!a)return null;if(c){c=a.store;_.G();var d=c.SA.read();c=null;try{c=_.kf(d)}catch(e){}0==c&&(c=null);d=_.il()||"0";d=String(d);c=c&&c[d]}else c=a.store.read();c&&c.expires_at&&Iy()>c.expires_at&&(a.store.clear(),c=null);c&&c.error&&!b&&(c=null);return c};
cz=function(a){a=_.L.qc("#"+_.Kl(a));if(!Xy(a))return null;var b=a.key||Yy(a.client_id);return(b=bz(b,!0,!0))&&b.client_id===a.client_id&&Wy(a.scope,b.scope)&&Wy(a.response_type,b.response_type)?b:null};dz=function(a){this.nW=a;this.ux=0;this.KK=(0,_.Na)()};dz.prototype.execute=function(a){var b=(0,_.Na)();b>this.KK+6E4&&(this.ux=0,this.KK=b);this.ux<this.nW&&a();this.ux++};var ez=function(a,b){this.og=_.Pj(a);this.oW=new dz(b||60)};
ez.prototype.log=function(a){var b=this;this.oW.execute(function(){fz(b,a)})};fz=function(a,b){_.kh(function(){var a=this.og.clone();if(b)for(var d in b)_.Oj(a,d,b[d]);_.Hi(a.toString(),function(a){!_.Pi(a.currentTarget)&&_.m.console&&_.m.console.log&&_.m.console.log("You can safely ignore the HTTP error responses above.")},"HEAD")},a)};gz=void 0;
_.hz=function(a,b,c,d){var e;if("undefined"===typeof gz)if((e=_.I("oauth-flow/loggingUrl"))&&"string"===typeof e){var f=_.I("oauth-flow/loggingRateLimit",60);gz=new ez(e,(0,window.parseInt)(f,10))}else gz=null;e=gz;if(e)try{e.log({client_id:a,type:b,gsiwebsdk:c,details:d||""})}catch(h){_.m.console&&_.m.console.log&&_.m.console.log("Error while sending error log request: "+h.message)}};iz=0;jz=!1;kz=[];lz={};mz={};nz={};oz=null;
pz=function(a){var b=_.qy;return function(c){if(this.f==b&&this.t==_.M.Mk(this.f)&&this.origin==_.M.$k(this.f))return a.apply(this,arguments)}};qz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};rz=function(a){var b=_.L.qc;if(null!=b(a).jsh)return a;if(b=String(b().jsh||_.ne.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};sz=function(){return!!_.I("oauth-flow/usegapi")};
tz=function(a,b){sz()?oz.unregister(a):_.M.unregister(a+":"+b)};uz=function(a,b,c){sz()?oz.register(a,c,_.Q):_.M.register(a+":"+b,pz(c))};vz=function(){Gy.parentNode.removeChild(Gy)};wz=function(a){var b=Gy;_.oy(b,[{Pu:"-webkit-transform",duration:1,timing:"ease",Dk:0}]);_.oy(b,[{Pu:"transform",duration:1,timing:"ease",Dk:0}]);_.ei(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};xz=function(){var a=Hy+88;wz(a);Hy=a};
yz=function(){var a=Hy-88;wz(a);Hy=a};zz=function(a){var b=a?xz:yz,c=a?yz:xz;a=a?"-":"";Hy=(0,window.parseInt)(a+88,10);Gy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Gy.style.transform="translate3d(0px,"+a+88+"px,0px)";Gy.style.display="";Gy.style.visibility="visible";b();_.ei(c,4E3);_.ei(vz,5E3)};
Az=function(a){var b=_.I("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=window.document.createElement("div");Gy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.bt(c,"visibility","hidden");_.bt(c,b,"-40px");_.bt(c,"height","128px");var d=c;if("desktop"==_.I("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?"-":"";Hy=(0,window.parseInt)(e+88,10);Gy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Gy.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){}_.co.Ng({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?zz(!0):zz(!1)}})};
Bz=function(a){if(!_.r(a.include_granted_scopes)){var b=_.I("include_granted_scopes"),c=_.Ap().include_granted_scopes;_.r(b)?a.include_granted_scopes=!!b:_.r(c)&&(a.include_granted_scopes="1"==c||"true"==c)}return a};Cz=function(a){var b=_.Ap(),c=b&&b.scope;b=a&&a.scope;b="string"===typeof b?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d<c.length;++d){var e=c[d];-1==_.Zm.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
Dz=function(a,b){var c=null;a&&b&&(c=b.client_id=b.client_id||a.client_id,b.scope=b.scope||a.scope,b.g_user_cookie_policy=a.cookie_policy,b.cookie_policy=b.cookie_policy||a.cookie_policy,b.response_type=b.response_type||a.response_type);if(b){b.issued_at||(b.issued_at=String(Iy()));var d=(0,window.parseInt)(b.expires_in,10)||86400;b.error&&(d=_.I("oauth-flow/errorMaxAge")||86400);b.expires_in=String(d);b.expires_at||(b.expires_at=String(Iy()+d));a&&Xy(a)||(b["g-oauth-window"]=(Fy||{}).popup);b._aa||
b.error||null!=Oy(c)||!Xy(a)||(b._aa="1");a=b.status={};a.google_logged_in=!!b.session_state;c=a.signed_in=!!b.access_token;a.method=c?b["g-oauth-window"]?"PROMPT":"AUTO":null}return b};Ez=function(a){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;return Dz(null,b)};
Fz=function(a){if(sz()){var b=_.co.Ng({where:_.L.Xs(),url:a.uri,attributes:{style:{width:"1px",height:"1px",position:"absolute",top:"-100px"},"aria-hidden":"true"},dontclear:!0});window.setTimeout(function(){b.close()},3E5)}else{var c=_.L.Xs(),d=_.L.rx();d.src=rz(a.uri);d.style.width="1px";d.style.height="1px";d.style.position="absolute";d.style.top="-100px";qz(d);window.setTimeout(function(){d.parentNode&&d.parentNode.removeChild(d)},3E5);c.appendChild(d)}};
Gz=function(a,b){a=a||{};for(var c in _.ry)_.r(a[c])||(a[c]=_.ry[c]);c=_.I("googleapis/overrideClientId");null!=c&&(a.client_id=c);if(!a.redirect_uri||"postmessage"===a.redirect_uri){c=a;var d=a.state||"";d=String(d);if({}.hasOwnProperty.call(nz,d))var e=nz[d];else{for(var f=2147483647*(0,_.gk)()|0;;){e=String(f);if(!{}.hasOwnProperty.call(mz,e))break;f+=(0,_.gk)()}mz[e]=d;nz[d]=e}c.state=e+"|"+(0,_.gk)();lz[a.state]=b}b=a.authorize_uri||_.I("oauth-flow/authUrl");delete a.authorize_uri;b+=0<b.indexOf("?")?
"&":"?";b+=_.Kl(a);b=Ey(b);a=_.I("iframes/signin/iframeType");"blue"==a?b+="&e=3100070":"red"==a?b+="&e=3100071":"default"==a&&(b+="&e=3100077");return b};Hz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.kf(_.By(a,!0));if(!1===a)throw Error("wa");return a};Iz=function(a){return(a=Hz(a))?a.sub:null};Jz=function(a){var b=Iz(a);b?(a=Uy(a.cookie_policy),b="0"==a[b]||"X"==a[b]):b=!1;return b};
Kz=function(a,b){var c=a,d=b||function(){};if(Fy){b=Fy.popup;var e=Fy.after_redirect;if(b&&"keep_open"!=e&&!Xy(a))try{b.close()}catch(f){}}a=Fy={};"key"in c&&(a.key=c.key,delete c.key);c=Bz(c);a.params=Cz(c);a.callback=function(a){Xy(c)||!a||a.error||Vy(Iz(a),!1,a.cookie_policy);Jz(a)&&Xy(c)&&(a=Ez(a));d(Dz(c,a))};a.uri=Gz(c,a);return a};Mz=function(a,b){var c=Lz,d=Iz(a);d&&(Zy(a),Vy(d,!0,b,function(){c&&c(Ez(a))}))};_.Nz=function(a,b){return bz(a,b)};
_.Oz=function(a,b){"string"!=typeof a&&(b=a,a="token");if(b){var c=$y(b,!0);if(c){var d;if((d=b)&&d.session_state){var e=[],f=[],h=[],k=(0,window.parseInt)(d.authuser,10)||0;e[k]=d.session_state;f[k]=d.issued_at;h[k]=d.expires_at;d=["C="+d.client_id,"S="+e.join("|"),"I="+f.join("|"),"X="+h.join("|")].join(":")}else d=null;d&&c.store.write(d);"token"==a&&(c=Sy(b.g_user_cookie_policy))&&(b.error?Zy(b):b.session_state&&c.write(b.authuser||"0"))}}if(c="token"!==a?az(a):$y(b))if(b){if(c.store.write(b),
!Py||c.rQ&&"token"!==Py)Py=c.key}else c.store.clear(),Py=null;a="token"==a?void 0:a;!b||b.error?_.ml(a):_.ll(b,a);_.Nz()};Lz=function(a){a||(a=_.Nz(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||(_.ne.drw=null);_.Oz(a);if(b=a.authuser)_.I("googleapis.config/sessionIndex"),_.ve("googleapis.config/sessionIndex",b);_.ty.rn(_.uy,a);return a};
Pz=function(a,b){var c=b&&b.key||"token",d=a=Dz(b&&b.params,a);!Jz(d)&&d&&0<=(" "+(d.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.I("isLoggedIn")&&"1"===(d&&d._aa)&&(d._aa="0",jz||(jz=!0,Az(d)));_.Oz(c,a);a=_.Nz(c);if(b){c=b.popup;d=b.after_redirect;if(c&&"keep_open"!=d)try{c.close()}catch(e){}b.callback&&(b.callback(a),b.callback=null)}};
Qz=function(a){a&&kz.push(a);a=_.qy;var b=window.document.getElementById(a),c=(new Date).getTime();if(b){if(iz&&6E4>c-iz)return;var d=_.M.Mk(a);d&&(tz("oauth2relayReady",d),tz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(window.navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.sy();a=_.qy}iz=c;var e=String(2147483647*(0,_.gk)()|0);b=_.I("oauth-flow/proxyUrl")||_.I("oauth-flow/relayUrl");sz()?oz=_.co.Ng({where:_.L.Xs(),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)(_.bk.Qa(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.L.Xs(),d=_.L.rx({name:a,id:a}),d.src=rz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,qz(d),c.appendChild(d),_.M.Vq(a));uz("oauth2relayReady",e,function(){tz("oauth2relayReady",e);var a=kz;if(null!==a){kz=null;for(var b=0,c=a.length;b<
c;++b)a[b]()}});uz("oauth2callback",e,function(a){var b=_.L.qc;a=b(a);b=a.state;var c=b.replace(/\|.*$/,"");c={}.hasOwnProperty.call(mz,c)?mz[c]:null;a.state=c;null!=a.state&&(c=lz[b],delete lz[b],Pz(a,c))})};_.Rz=function(a){null===kz?a&&a():Qz(a)};
Sz=function(a,b){var c=_.G();c.client_id=a.client_id;c.session_state=a.session_state;_.Rz(function(){sz()?oz.send("check_session_state",c,function(a){b.call(null,a[0])},_.Q):_.M.call(_.qy,"check_session_state",pz(function(a){b.call(null,a)}),c.session_state,c.client_id)})};
Tz=function(a,b){var c=_.L.qc();a.hl=c.lang||c.hl||_.I("lang");var d=Kz(a,b);a.after_redirect&&(d.after_redirect=a.after_redirect);if(null!=a.scope&&null!=a.client_id){var e=function(){_.Rz(function(){if(d.popup)d.popup.focus();else if(Xy(a))Fz(d);else{var b=Math.min(_.I("oauth-flow/authWindowWidth",599),window.screen.width-20),c=Math.min(_.I("oauth-flow/authWindowHeight",600),window.screen.height-30),e=(window.screen.width-b)/2,f=(window.screen.height-c)/2;Fy.popup=window.open(rz(d.uri),"_blank",
["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+b,"height="+c,"top="+f,"left="+e].join())}})},f=cz(a);!_.I("oauth-flow/disableOpt")&&f?(b=_.G(),b.client_id=f.client_id,b.session_state=f.session_state,Sz(b,function(a){a?Pz(f,Fy):e()})):e()}else Pz(null,Fy),_.Be("Unable to perform authorization: scope and/or client_id parameters missing.")};
Uz=function(a,b){var c=a||{},d=b||function(){};_.I("oauth-flow/disableOpt")||_.I("isLoggedIn")||!Xy(c)?Tz(c,d):(a=_.G(),a.client_id=c.client_id,a.session_state=null,Sz(a,function(a){a?(a=_.G(),a.error="immediate_failed_user_logged_out",d(Dz(c,a))):(_.ve("isLoggedIn",!0),Tz(c,d))}))};
_.Vz=function(a,b){var c=new _.ph(function(b,c){var d=function(d){null==d||d.error?(_.hz(a&&a.client_id,"oauth_error","1",d&&d.error),c(d)):b(d)};try{Uz(a,d)}catch(h){_.hz(a&&a.client_id,"unknown_error","1",h.message),c(h)}});b&&c.then(b,function(a){b(Lz(a))});return c};Wz=_.Vl.sy;Xz=null;
_.$z=function(a,b){if("force"!==a.approvalprompt){a=_.Yz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)Xz?(a.client_id!==Xz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(Xz=a,b=!1);b||Zz(a)}};
_.Yz=function(a){var b=a.redirecturi||"postmessage",c=(0,_.zb)((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,_.zb)(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||_.I("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.I("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};Zz=function(a){_.qq("waaf0","signin","0");_.Vz(a,function(a){_.qq("waaf1","signin","0");Lz(a)})}; _.aA=function(a){a=_.Yz(a);_.ve("oauth-flow/authWindowWidth",445);_.ve("oauth-flow/authWindowHeight",615);Zz(a)};_.bA=function(a){_.ty.unsubscribe(_.uy,a);_.ty.subscribe(_.uy,a)};
var iA,lA;_.dA=function(a){return a.cookiepolicy?!0:(_.cA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.cA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.hA=function(a,b){var c=_.Ap();_.ce(a,c);c=Cz(c);if(_.dA(c)){var d=_.eA(c);_.fA(c);b?_.me(b,"click",function(){_.gA(c,d)}):_.gA(c,d)}};
_.eA=function(a){var b=new iA;_.bA(function(c){if(b.iA&&c&&(c.access_token&&_.ve("isPlusUser",!0),c["g-oauth-window"]))if(b.iA=!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=_.I("iframes/:socialhost:")+"/_/history/otaappinstall?clientId="+(0,window.encodeURIComponent)(a.clientid)+"&appId="+(0,window.encodeURIComponent)(e)+"&idToken="+(0,window.encodeURIComponent)(c),c=Ey(c),_.Wm(d.location,c))}}else if(d=
c["g-oauth-window"],a.apppackagename&&d)try{d.close()}catch(h){}});return b};iA=function(){this.iA=!1};_.fA=function(a){a=_.jA(a);_.kA(a.callback);_.Rz(function(){_.$z(a)})};_.jA=function(a){lA(a);a.apppackagename&&(a.after_redirect="keep_open");a.redirecturi&&delete a.redirecturi;Dy(function(b){return a[b]})||(a.authuser=0);a.apppackagename&&(a.apppackagename=a.apppackagename.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""));return a};lA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.kA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.cA('Callback function named "'+a+'" not found');return}a&&_.bA(a)};_.gA=function(a,b){b.iA=!0;a=_.jA(a);_.aA(a)};
_.w("gapi.auth.authorize",_.Vz);_.w("gapi.auth.checkSessionState",Sz);_.w("gapi.auth.getAuthHeaderValueForFirstParty",Wz);_.w("gapi.auth.getToken",_.Nz);_.w("gapi.auth.getVersionInfo",function(a,b){_.Rz(function(){var c=_.Ul()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?sz()?oz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(b){a(b[0])},_.Q):_.M.call(_.qy,"get_versioninfo",pz(function(b){a(b)}),d,b):a()})});_.w("gapi.auth.init",_.Rz);_.w("gapi.auth.setToken",_.Oz);
_.w("gapi.auth.signIn",function(a){_.hA(a)});_.w("gapi.auth.signOut",function(){var a=_.Nz();a&&Mz(a,a.cookie_policy)});_.w("gapi.auth.unsafeUnpackIdToken",Hz);_.w("gapi.auth._pimf",_.$z);_.w("gapi.auth._oart",Az);_.w("gapi.auth._guss",function(a){return Ty(a).read()});
var mA=_.Ap();mA.clientid&&mA.scope&&mA.callback&&!_.I("disableRealtimeCallback")?_.fA(mA):_.Rz();
var nA=_.Rz,oA=_.Vz,pA=_.Nz,qA=_.Oz,rA=["client_id","cookie_policy","response_type"],sA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect app_package_name access_type hl state".split(" ");
_.Vz=function(a,b){if(tA())return oA(a,b);var c=uA(a),d=new _.ph(function(b,d){_.$x(c,function(e){var f=e||{};(0,_.mb)(rA,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"),_.hz(c.client_id,"oauth_error","shim",f.error),d(f)):(e=vA(f),null!=e.authuser&&_.ve("googleapis.config/sessionIndex",e.authuser),b(e))})});b&&d.then(b,
b);return d};
var uA=function(a){var b=a||{},c={};(0,_.mb)(sA,function(a){null!=b[a]&&(c[a]=b[a])});wA(c);_.v(b.scope)?c.scope=b.scope:_.La(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{_.wx(c.cookie_policy)}catch(d){c.cookie_policy&&xA("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&&"offline"==c.access_type&&delete c.access_type;"undefined"===typeof c.authuser&&(a=_.il(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.I("oauth-flow/redirectUri");null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c},wA=function(a){if(!_.r(a.include_granted_scopes)){var b=_.I("include_granted_scopes");
a.include_granted_scopes=!!b}},vA=function(a){var b=_.Vg(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);_.ll(b);return b};_.Rz=function(a){tA()?nA(a):a&&a()};
_.Nz=function(a,b){if(tA())return pA(a,b);a=_.kl(a);if(!a||!b&&a.error)return null;b=Math.floor((new Date).getTime()/1E3);return a.expires_at&&b>a.expires_at?null:a};_.Oz=function(a,b){if(tA())qA(a,b);else{if(b){var c=b;var d=a}else _.v(a)?d=a:c=a;c?_.ll(c,d):_.ml(d)}};var tA=function(){return!!_.I("oauth-flow/disableShim")},xA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
_.w("gapi.auth.authorize",_.Vz);_.w("gapi.auth.init",_.Rz);_.w("gapi.auth.getToken",_.Nz);_.w("gapi.auth.setToken",_.Oz);
var yA,AA,BA,CA,DA,EA,FA,GA;yA=function(a,b){var c=_.Wa(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};_.zA=function(a){var b=_.Ka(a);if("object"==b||"array"==b){if(_.Za(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=_.zA(a[c]);return b}return a};DA={CE:function(a){AA=a;try{delete DA.CE}catch(b){}},DE:function(a){BA=a;try{delete DA.DE}catch(b){}},EE:function(a){CA=a;try{delete DA.EE}catch(b){}}};
EA=function(){var a=!0,b=_.vi(_.hi);b&&_.r(b.withCredentials)||(a=!1);return a};
FA=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=_.I("client/rewrite");_.$a(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=_.I("client/firstPartyRewrite"),_.$a(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};GA=function(a){_.Tg.call(this,a)};_.z(GA,_.Tg);GA.prototype.name="gapi.client.Error";var HA=function(a){if(!a||!_.Za(a))throw new GA("Must provide a function.");this.vf=null;this.XP=a};HA.prototype.then=function(a,b,c){this.vf||(this.vf=this.XP());return this.vf.then(a,b,c)};HA.prototype.vv=function(a){this.vf||(this.vf=a)};
var IA=function(a){var b={},c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=_.Gk(a,c);d&&(c=_.Fk(c,d))&&_.Hk(b,c,d,!0)}return b},JA={error:{code:-1,message:"A network error occurred and the request could not be completed."}},KA=function(a,b,c,d){_.Di.call(this);this.ud=a;this.lA=b;this.jd=c;a={};if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b=_.Gk(d,e),void 0!==b&&(e=_.Ek(e,b))&&_.Hk(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.Sp=d;this.vf=null};_.z(KA,_.Di);
KA.prototype.then=function(a){this.vf||(this.vf=(new _.ph(function(a,c){this.ha("error",(0,_.B)(function(){c(LA(this))},this));this.ha("success",(0,_.B)(function(){a(LA(this))},this));this.send(this.ud,this.lA,this.jd,this.Sp)},this)).then(function(a){a.headers=IA(a.headers);return a},function(a){return a.status?(a.headers=IA(a.headers),_.uh(a)):_.uh({result:JA,body:'{"error":{"code":-1,"message":"A network error occurred and the request could not be completed."}}',headers:null,status:null,statusText:null})}));
return this.vf.then.apply(this.vf,arguments)};
var LA=function(a){var b=a.getStatus(),c=_.Qi(a);var d=204==b?!1:""==a.Tj?_.kf(c):_.Ri(a);var e=a.getAllResponseHeaders();e=_.Ik(e,!1);try{var f=2<_.Oi(a)?a.Ma.statusText:""}catch(h){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}},MA=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i,NA=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i,OA=/;\s*charset\s*=/i,PA=/(([\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,QA=
function(a){var b=[];a=a.replace(PA,function(a){b.push(_.By(a));return""});if(a.length)throw Error("va");return b.join("")},RA=function(a){var b=a.headers;if(b&&"base64"===_.Gk(b,_.P.Cw)){var c=QA(a.body),d=_.Gk(b,_.P.Bw);b[_.P.Yd]=d;if(d.match(MA)||d.match(NA)&&!d.match(OA)){d=[];for(var e=0,f=0;f<c.length;f++){var h=c.charCodeAt(f);255<h&&(d[e++]=h&255,h>>=8);d[e++]=h}c=_.Tk(d)}_.Hk(b,_.P.Cw);_.Hk(b,_.P.Bw);a.body=c}},SA=function(a,b,c){c||((c=_.I("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/,
"")||"/"),c=String(c||""));c||(c=_.I("googleapis.config/root"),b&&(c=_.I("googleapis.config/root-1p")||c),c=String(c||""));c=String(FA(b,c)||c);return a=_.Ci(c,a)},TA=function(a){var b=yA(a,"params","headers");b&&"object"===typeof b||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.Gk(b,c);d&&(_.Ek(c,d),_.Hk(a,c,d))}c="chrome-extension"==(window.location.href.match(_.pi)[1]||null);a=_.Sl(a);return!(c&&a)&&EA()},UA=function(a,b){var c=a.params||_.G();c.url=c.path;var d=
c.root;d=SA("/",_.Sl(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.Xl.EB("makeHttpRequests",[a],function(a,c){a&&a.gapiRequest?(a.gapiRequest.data?RA(a.gapiRequest.data):RA(a),b(a,_.lf(a))):b(a,c)})},VA=function(a){return new _.ph(function(b,c){var d=function(a){a&&a.gapiRequest?a=a.gapiRequest.data||a:c(a);a={result:204!=a.status&&_.kf(a.body),body:a.body,headers:a.headers||null,status:a.status||null,statusText:a.statusText||null};_.zi(a.status)?b(a):c(a)};
try{UA(a,d)}catch(e){c(e)}})},WA=function(a){var b=!_.I("client/cors")||!!_.I("client/xd4"),c={};_.fo(a,function(d,e){(d=_.Ek(e,d))||b||(d=_.Dk(e));d&&(e=_.Gk(a,d))&&_.Hk(c,d,e)});return c},XA=function(a){var b=a.params||_.G();a=_.Vg(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=(0,window.encodeURIComponent)("$unique");if(!("POST"===c||0<=_.wj(d,"$unique",d.search(_.xj))||0<=_.wj(d,e,d.search(_.xj)))){var f=[];for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&f.push(h.toLowerCase());
f.sort();f.push(_.dk(window.location.href));var h=f.join(":");f=_.Pl();f.update(h);h=f.zg().toLowerCase().substr(0,7);h=String((0,window.parseInt)(h,16)%1E3+1E3).substr(1);d=_.Bi(d,e,"gc"+h)}e=b.body||null;h=b.responseType||null;b=_.Sl(a)||"1p"==b.authType;_.Hk(a,_.P.Dw,void 0);a=WA(a);var k=new KA(d,c,e,a);k.Wg=b;h&&(k.Tj=h);return new _.ph(function(a,b){k.then(function(b){RA(b);a(b)},function(a){b(a)})})},YA=function(a,b){var c=function(a){a=_.Vg(a);delete a.result;a={gapiRequest:{data:a}};b&&b(a,
_.lf(a))};XA(a).then(c,c)},ZA=function(a,b){(_.I("client/cors")||_.I("client/xd4"))&&TA(a)?YA(a,b):UA(a,b)},$A=function(a){this.Iq=a;this.Ze=!1;this.promise={then:(0,_.B)(function(a,c,d){this.Ze||(this.Ze=!0);this.Hq&&!this.Fq?this.Iq.resolve(this.Hq):this.Fq&&!this.Hq&&this.Iq.reject(this.Fq);return this.Iq.promise.then(a,c,d)},this)}};$A.prototype.resolve=function(a){this.Ze?this.Iq.resolve(a):this.Hq||this.Fq||(this.Hq=a)}; $A.prototype.reject=function(a){this.Ze?this.Iq.reject(a):this.Hq||this.Fq||(this.Fq=a)};
var aB=function(a){a=_.zA(a.error);return{code:a.code,data:a.errors,message:a.message}},bB=function(a){throw Error("xa`"+a);};var cB=function(a){HA.call(this,cB.prototype.Gl);if(!a||"object"!=typeof a&&"string"!=typeof a)throw new GA("Missing required parameters");if(_.v(a)){var b={};b.path=a}else b=a;if(!b.path)throw new GA('Missing required parameter: "path"');this.Qg={};this.Qg.path=b.path;this.Qg.method=b.method||"GET";this.Qg.params=b.params||{};this.Qg.headers=b.headers||{};this.Qg.body=b.body;this.Qg.root=b.root;this.Qg.responseType=b.responseType;this.Qg.apiId=b.apiId;this.Do=b.authType||"auto";this.DU=!!b.isXd4;
this.rJ=!1};_.z(cB,HA);var dB=["appVersion","platform","userAgent"],eB={"google-api-gwt-client":!0,"google-api-javascript-client":!0};cB.prototype.Qf=function(){return this.Qg};cB.prototype.Mi=function(a){this.Do=a};
cB.prototype.Fi=function(){if(!this.rJ){this.rJ=!0;var a=this.Qg,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=_.Gk(b,e);f&&(e=_.Ek(e,f)||_.Dk(e))&&d.push([e,f])}var h=0;for(e=c.length;h<e;++h)delete b[c[h]];c=0;for(h=d.length;c<h;++c)_.Hk(b,d[c][0],d[c][1]);if(this.DU)d="1p"==this.Do;else{d=b;c=_.P.cE;h=String(_.I("client/version","1.1.0"));e=String(_.I("client/name","google-api-javascript-client"));e=!0===eB[e]?e:"google-api-javascript-client";
f=String(_.I("client/appName",""));var k=[];f&&(k.push(f),k.push(" "));k.push(e);h&&(k.push("/"),k.push(h));_.Hk(d,c,k.join(""));_.Hk(b,_.P.eE,"XMLHttpRequest");d=_.Gk(b,_.P.Yd);a.body&&!d&&_.Hk(b,_.P.Yd,"application/json");_.I("client/allowExecutableResponse")||_.Hk(b,_.P.Aw,"base64");(d=_.Gk(b,_.P.Yd))&&"application/json"==d.toLowerCase()&&!a.params.alt&&(a.params.alt="json");(d=a.body||null)&&_.$a(d)&&(a.body=_.lf(d));a.key=a.id;b=_.Xl.rO(b,void 0,this.Do);d=_.Sl(b);if((c=b)&&window.navigator){h=
[];for(e=0;e<dB.length;e++)(f=window.navigator[dB[e]])&&h.push((0,window.encodeURIComponent)(dB[e])+"="+(0,window.encodeURIComponent)(f));_.Hk(c,_.P.YD,h.join("&"))}(c=_.I("client/apiKey"))&&!_.r(a.params.key)&&(a.params.key=c);(c=_.I("client/trace"))&&!a.params.trace&&(a.params.trace=c)}"auto"==this.Do&&(d?this.Mi("1p"):(b=_.Gk(b,_.P.iD))&&String(b).match(/^(Bearer|MAC)[ \t]/i)?this.Mi("oauth2"):this.Mi("none"));(b=String(a.path||"").match(/^(https?:\/\/[^\/?#]+)([\/?#].*)?$/i))&&!a.root&&(a.root=
String(b[1]),a.path=String(b[2]||"/"),a.path.match(/^\/_ah\/api(\/.*)?$/)?(a.root+="/_ah/api",a.path=a.path.substr(8)):(b=_.I("googleapis.config/root"),d&&(b=_.I("googleapis.config/root-1p")||b),b=String(b||""),c=a.root+a.path,b&&c.substr(0,b.length)===b&&(a.path=c.substr(b.length),a.root=b)));b=a.params;c=_.uk(a.path);h=String(_.I("googleapis.config/xd3")||"");18<=h.length&&"/static/proxy.html"==h.substring(h.length-18)&&(h=h.substring(0,h.length-18));h||(h="/");e=_.uk(h);if(h!=e)throw Error("M");
"/"!=h.charAt(h.length-1)&&(h+="/");c=_.Ci(h,c);_.fg(c,"/")&&(c=c.substring(0,c.length-1));h=_.G();for(var l in b)Object.prototype.hasOwnProperty.call(b,l)&&(e=(0,window.encodeURIComponent)(l),h[e]=b[l]);c=_.ui(c,h);a.path=c;a.root=FA(!!d,a.root);a.url=SA(a.path,!!d,a.root)}};var fB=function(a){a.Fi();var b=a.Qg;return{key:"gapiRequest",params:{id:b.id,key:b.key,url:b.url,path:b.path,httpMethod:b.method,body:b.body||"",headers:b.headers||{},urlParams:{},root:b.root,authType:a.Do}}};
cB.prototype.execute=function(a){var b=fB(this);ZA(b,function(b,d){var c=b;b.gapiRequest&&(c=b.gapiRequest);c&&c.data&&(c=c.data);b=c instanceof Array?c[0]:c;if(204!=b.status&&b.body)try{var f=_.kf(b.body)}catch(h){}a&&a(f,d)})};cB.prototype.Gl=function(){var a=fB(this);return(_.I("client/cors")||_.I("client/xd4"))&&TA(a)?XA(a):VA(a)};cB.prototype.yj=function(){return this.Gl()};cB.prototype.execute=cB.prototype.execute;cB.prototype.then=cB.prototype.then;cB.prototype.getPromise=cB.prototype.yj;
var gB=function(a){if(!a||"object"!=typeof a)throw new GA("Missing rpc parameters");if(!a.method)throw new GA("Missing rpc method");this.hv=a};gB.prototype.Vk=function(){var a=this.hv.transport;return a?a.root||null:null};gB.prototype.execute=function(a){var b=BA();b.add(this,{id:"gapiRpc",callback:this.pq(a)});b.execute()};
gB.prototype.mu=function(a){var b=this.hv.method,c=String,d;(d=this.hv.apiVersion)||(d=String(b).split(".")[0],d=_.I("googleapis.config/versions/"+b)||_.I("googleapis.config/versions/"+d)||"v1",d=String(d));c=c(d);a={jsonrpc:"2.0",id:a,method:b,apiVersion:c};(b=this.hv.rpcParams)&&(a.params=b);return a};
gB.prototype.pq=function(a){return function(b,c){if(b)if(b.error){var d=b.error;null==d.error&&(d.error=_.Vg(b.error))}else d=b.result||b.data,_.$a(d)&&null==d.result&&(d.result=_.Vg(b.result||b.data));else d=!1;a(d,c)}};gB.prototype.execute=gB.prototype.execute;
var iB=function(a,b){this.lf=b||0;2==this.lf?(b=null,null!=a&&_.$a(a)&&(b={},b.method=a.method,b.rpcParams=a.rpcParams,b.transport=a.transport,b.root=a.root,b.apiVersion=a.apiVersion,b.authType=a.authType),this.Hb=new gB(b)):(0==this.lf&&(b=a&&a.callback)&&(a.callback=hB(b)),b=null,null!=a&&(_.$a(a)?(b={},b.path=a.path,b.method=a.method,b.params=a.params,b.headers=a.headers,b.body=a.body,b.root=a.root,b.responseType=a.responseType,b.authType=a.authType,b.apiId=a.apiId):_.v(a)&&(b=a)),this.Hb=new cB(b))},
hB=function(a){return function(b){if(null!=b&&_.$a(b)&&b.error){var c=aB(b);b=_.lf([{id:"gapiRpc",error:c}]);c.error=_.zA(c)}else null!=b||(b={}),c=_.zA(b),c.result=_.zA(b),b=_.lf([{id:"gapiRpc",result:b}]);a(c,b)}};_.g=iB.prototype;_.g.getFormat=function(){return this.lf};_.g.execute=function(a){this.Hb.execute(a&&1==this.lf?hB(a):a)};_.g.then=function(a,b,c){2==this.lf&&bB('The "then" method is not available on this object.');return this.Hb.then(a,b,c)};_.g.vv=function(a){this.Hb.vv&&this.Hb.vv(a)};
_.g.Qf=function(){if(this.Hb.Qf)return this.Hb.Qf()};_.g.Fi=function(){this.Hb.Qf&&this.Hb.Fi()};_.g.Vk=function(){if(this.Hb.Vk)return this.Hb.Vk()};_.g.mu=function(a){if(this.Hb.mu)return this.Hb.mu(a)};_.g.Mi=function(a){this.Hb.Mi&&this.Hb.Mi(a)};_.g.yj=function(){if(this.Hb.yj)return this.Hb.yj()};iB.prototype.execute=iB.prototype.execute;iB.prototype.then=iB.prototype.then;iB.prototype.getPromise=iB.prototype.yj;
var jB=function(a){HA.call(this,jB.prototype.Gl);this.Hb=a};_.z(jB,HA);_.g=jB.prototype;_.g.execute=function(a){var b=this.getFormat(),c=function(c){if(_.Za(a)){var d={gapiRequest:{data:{status:c&&c.status,statusText:c&&c.statusText,headers:c&&c.headers,body:c&&c.body}}},f=a,h=void 0;1===b&&(f=hB(f),h={});var k=c?c.result:!1;c&&204==c.status&&(k=h,delete d.gapiRequest.data.body);c=_.lf(d);f(k,c)}};this.yj().then(c,c)};
_.g.Gl=function(){return new _.ph(function(a,b){var c=AA(),d=c.add(this.Hb,{id:"gapiRequest"});return c.then(function(c){var e=c.result;if(e&&(e=e[d])){Object.prototype.hasOwnProperty.call(e,"result")||(e.result=!1);Object.prototype.hasOwnProperty.call(e,"body")||(e.body="");_.zi(e.status)?a(e):b(e);return}b(c)},b)},this)};_.g.Qf=function(){if(this.Hb.Qf)return this.Hb.Qf()};_.g.Fi=function(){this.Hb.Fi&&this.Hb.Fi()};_.g.Vk=function(){if(this.Hb.Vk)return this.Hb.Vk()};
_.g.Mi=function(a){this.Hb.Mi&&this.Hb.Mi(a)};_.g.getFormat=function(){var a=void 0;this.Hb.getFormat&&(a=this.Hb.getFormat());void 0===a&&(a=0);return a};_.g.yj=function(){return this.Gl()};jB.prototype.execute=jB.prototype.execute;jB.prototype.then=jB.prototype.then;jB.prototype.getPromise=jB.prototype.yj;
var kB=/<response-(.*)>/,lB=/^application\/http(;.+$|$)/,mB=function(a,b){a=_.Gk(a,b);if(!a)throw new GA("Unable to retrieve header.");return a},oB=function(a,b,c,d){var e="batch"+String(Math.round(2147483647*(0,_.gk)()))+String(Math.round(2147483647*(0,_.gk)())),f="--"+e;e="multipart/mixed; boundary="+e;a:{var h=void 0;for(var k=0;k<a.length;k++){var l=a[k].request.Qf().apiId;if(!_.v(l)){h="batch";break a}if(!_.r(h))h=l;else if(h!=l){h="batch";break a}}h=_.I("client/batchPath/"+h)||"batch/"+h.split(":").join("/")}h=
{path:h,method:"POST"};k=[];for(l=0;l<a.length;l++)k.push(nB(a[l].request,[f.substr(f.indexOf("--")+2),"+",(0,window.encodeURIComponent)(a[l].id).split("(").join("%28").split(")").join("%29").split(".").join("%2E"),"@googleapis.com"].join("")));h.body=[f,k.join("\r\n"+f+"\r\n"),f+"--"].join("\r\n")+"\r\n";h.root=b||null;if(_.I("client/xd4")&&EA())return h.isXd4=!0,h.params={$ct:e},h.headers={},_.Hk(h.headers,_.P.Yd,"text/plain; charset=UTF-8"),c?h.authType="1p":d&&(h.authType="oauth2"),new cB(h);
h.headers={};_.Hk(h.headers,_.P.Yd,e);return CA(h)},nB=function(a,b){var c=[];a=a.Qf();var d=function(a,b){_.fo(a,function(a,c){b.push(c+": "+a)})},e={};e[_.P.Yd]="application/http";e[_.P.kD]="binary";e[_.P.$v]="<"+b+">";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")},qB=function(a,b){a=pB(a,b);var c={};_.Wb(a,function(a,b){c[b]={result:a.result||a.body,rawResult:_.lf({id:b,result:a.result||a.body}),id:b}});return c},pB=function(a,
b){a=(0,_.zb)(a);_.fg(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.G();for(var c=0;c<a.length;c++)if(a[c]){var d;if(d=a[c]){_.fg(d,"\r\n")&&(d=d.substring(0,d.length-2));if(d){d=d.split("\r\n");for(var e=0,f={headers:{},body:""};e<d.length&&""==d[e];)e++;for(f.outerHeaders=rB(d,e);e<d.length&&""!=d[e];)e++;e++;var h=d[e++].split(" ");f.status=Number(h[1]);f.statusText=h.slice(2).join(" ");for(f.headers=rB(d,e);e<d.length&&""!=d[e];)e++;e++;f.body=d.slice(e).join("\r\n");RA(f);d=f}else d=
null;e=_.G();f=mB(d.outerHeaders,_.P.Yd);if(null==lB.exec(f))throw new GA("Unexpected Content-Type <"+f+">");f=mB(d.outerHeaders,_.P.$v);f=kB.exec(f);if(!f)throw new GA("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=_.kf(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},rB=function(a,b){for(var c= [];b<a.length&&a[b];b++)c.push(a[b]);return _.Ik(c.join("\r\n"),!1)};
var sB=function(a){HA.call(this,sB.prototype.Gl);this.Lb=[];this.yf=a;this.UU=!!a;this.qz=this.pz=!1};_.z(sB,HA);var tB=function(a,b){for(var c=0;c<a.Lb.length;c++)if(a.Lb[c].id==b)return!0;return!1};_.g=sB.prototype;
_.g.add=function(a,b){b=b||_.G();var c=_.G();if(!a)throw new GA("Batch entry "+(_.be(b,"id")?'"'+b.id+'" ':"")+"is missing a request method");a.Fi();c.request=a;var d=_.yh();d=new $A(d);c.cv=d;a.vv(c.cv.promise);d=a.Qf().headers;_.Sl(d)&&(this.pz=!0);(d=String((d||{}).Authorization||"")||null)&&d.match(/^Bearer|MAC[ \t]/i)&&(this.qz=!0);a=a.Qf().root;if(!this.UU){if(a&&this.yf&&a!=this.yf)throw new GA('The "root" provided in this request is not consistent with that of existing requests in the batch.');
this.yf=a||this.yf}if(_.be(b,"id")){a=b.id;if(tB(this,a))throw new GA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(Math.round(2147483647*(0,_.gk)()));while(tB(this,c.id))}c.Ic=b.callback;this.Lb.push(c);return c.id};_.g.execute=function(a){1>this.Lb.length||(_.eo(this.Lb,function(a){a.request.Fi()}),a=this.pq(a),oB(this.Lb,this.yf,this.pz,this.qz).execute(a))};
_.g.Gl=function(){if(1>this.Lb.length)return new _.ph(function(a){a({})});_.eo(this.Lb,function(a){a.request.Fi()});var a=oB(this.Lb,this.yf,this.pz,this.qz),b=(0,_.B)(function(a){uB(a);if(0!=mB(a.headers,_.P.Yd).indexOf("multipart/mixed"))throw new GA("The response's Content-Type is not multipart/mixed.");var b=mB(a.headers,_.P.Yd).split("boundary=")[1];if(!b)throw new GA("Boundary not indicated in response.");b=pB(a.body,"--"+b);a.result=b||{};for(var c=0;c<this.Lb.length;c++){var d=this.Lb[c],
k=b[d.id];k&&_.zi(k.status)?d.cv.resolve(k):d.cv.reject(k)}return a},this),c=(0,_.B)(function(a){for(var b=0;b<this.Lb.length;b++){var c=this.Lb[b],d={error:{code:0,message:"The batch request could not be fulfilled."}};a&&a.message||a.message?d.error.message+=" "+(a.message||a.message):a&&a.error&&a.error.message&&(d.error.message=a.error.message,d.error.code=a.error.code||0);c.cv.reject({result:d,body:_.lf(d),headers:null,status:null,statusText:null})}throw a;},this);return a.then(b,c)};
_.g.pq=function(a){return(0,_.B)(function(b,c){this.Pw(b,c,a)},this)};
_.g.Pw=function(a,b,c){try{a=vB(a,b);if(!a)throw new GA("The batch response is missing.");if(0!=mB(a.headers,_.P.Yd).indexOf("multipart/mixed"))throw new GA("The response's Content-Type is not multipart/mixed.");if(200<=a.status&&299>=a.status){var d=mB(a.headers,_.P.Yd).split("boundary=")[1];if(!d)throw new GA("Boundary not indicated in response.");var e=qB(a.body,"--"+d);for(a=0;a<this.Lb.length;a++){var f=this.Lb[a],h=e[f.id];if(h&&Object.prototype.hasOwnProperty.call(h,"rawResult")){h.rawResult=
void 0;try{delete h.rawResult}catch(l){}}if(f.Ic){var k=_.lf(h);try{f.Ic(h||!1,k)}catch(l){(function(a){(0,window.setTimeout)(function(){throw a;})})(l)}}}}if(c)try{c(e||null,b)}catch(l){(function(a){(0,window.setTimeout)(function(){throw a;})})(l)}}catch(l){b=!0;f={error:{code:0,message:"The batch request could not be fulfilled."}};if(l&&l.message||l.message)f.error.message+=" "+(l.message||l.message);e={result:f,body:_.lf(f),headers:null,status:null,statusText:null};h=_.lf(e);if(this.Lb)for(a=0;a<
this.Lb.length;a++)if(f=this.Lb[a],f.Ic)try{f.Ic(e,h)}catch(n){(function(a){(0,window.setTimeout)(function(){throw a;})})(n)}else b=!1;else b=!1;if(c){try{c(e,h)}catch(n){(function(a){(0,window.setTimeout)(function(){throw a;})})(n)}b=!0}if(!b)throw l;}};
var vB=function(a,b){b&&!a&&(b=_.kf(b))&&(a=b.gapiRequest?b.gapiRequest.data:b);uB(a);return a},uB=function(a){if(a){var b=a.headers;if(b){var c=_.G(),d;for(d in b)if(Object.prototype.hasOwnProperty.call(b,d)){var e=_.Gk(b,d);_.Hk(c,d,e,!0)}a.headers=c}}};sB.prototype.add=sB.prototype.add;sB.prototype.execute=sB.prototype.execute;sB.prototype.then=sB.prototype.then;
var wB=function(){this.Lb=[];this.yf=this.ue=null};wB.prototype.add=function(a,b){b=b||{};var c={},d=Object.prototype.hasOwnProperty;if(a)c.Ll=a;else throw new GA("Batch entry "+(d.call(b,"id")?'"'+b.id+'" ':"")+"is missing a request method");if(d.call(b,"id")){a=b.id;for(d=0;d<this.Lb.length;d++)if(this.Lb[d].id==a)throw new GA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(2147483647*(0,_.gk)()|0);while(d.call(this.Lb,c.id))}c.Ic=b.callback;this.Lb.push(c);return c.id};
var xB=function(a){return function(b){var c=b.body;if(b=b.result){for(var d={},e=0,f=b.length;e<f;++e)d[b[e].id]=b[e];a(d,c)}else a(b,c)}};
wB.prototype.execute=function(a){this.ue=[];for(var b,c,d=0;d<this.Lb.length;d++)b=this.Lb[d],c=b.Ll,this.ue.push(c.mu(b.id)),this.yf=c.Vk()||this.yf;b={requests:this.ue,root:this.yf};c=this.pq(a);a={};d=b.headers||{};for(var e in d){var f=e;if(Object.prototype.hasOwnProperty.call(d,f)){var h=_.Gk(d,f);h&&(f=_.Ek(f,h)||_.Dk(f))&&_.Hk(a,f,h)}}_.Hk(a,_.P.Yd,"application/json");e=xB(c);CA({method:"POST",root:b.root||void 0,path:"/rpc",params:b.urlParams,headers:a,body:b.requests||[]}).then(e,e)};
wB.prototype.pq=function(a){var b=this;return function(c,d){b.Pw(c,d,a)}};wB.prototype.Pw=function(a,b,c){a||(a={});for(var d=0;d<this.Lb.length;d++){var e=this.Lb[d];e.Ic&&e.Ic(a[e.id]||!1,b)}c&&c(a,b)};DA.DE(function(){return new wB});wB.prototype.add=wB.prototype.add;wB.prototype.execute=wB.prototype.execute;
var yB=function(a,b){this.PV=a;this.lf=b||null;this.Go=null};yB.prototype.Iz=function(a){this.lf=a;this.Go=2==this.lf?new wB:new sB(this.PV)};yB.prototype.add=function(a,b){if(!a)throw a=b||_.G(),new GA("Batch entry "+(_.be(a,"id")?'"'+a.id+'" ':"")+"is missing a request method");null===this.lf&&this.Iz(a.getFormat());this.lf!==a.getFormat()&&bB("Unable to add item to batch.");var c=b&&b.callback;1==this.lf&&c&&(b.callback=function(a){a=zB(a);var b=_.lf([a]);c(a,b)});return this.Go.add(a,b)};
yB.prototype.execute=function(a){var b=a&&1==this.lf?function(b){var c=[];_.fo(b,function(a,d){a=zB(a);b[d]=a;c.push(a)});var e=_.lf(c);a(b,e)}:a;this.Go&&this.Go.execute(b)};var zB=function(a){var b=a?yA(a,"result"):null;_.$a(b)&&null!=b.error&&(b=aB(b),a={id:a.id,error:b});return a};yB.prototype.then=function(a,b,c){2==this.lf&&bB('The "then" method is not available on this object.');return this.Go.then(a,b,c)};yB.prototype.add=yB.prototype.add;yB.prototype.execute=yB.prototype.execute; yB.prototype.then=yB.prototype.then;
var AB="/rest?fields="+(0,window.encodeURIComponent)("kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id")+"&pp=0",BB=function(a,b){return"/discovery/v1/apis/"+((0,window.encodeURIComponent)(a)+"/"+(0,window.encodeURIComponent)(b)+AB)},DB=function(a,b,c,d){if(_.$a(a)){var e=a;var f=a.name;a=a.version||"v1"}else f=a,a=b;if(!f||!a)throw new GA("Missing required parameters.");var h=c||function(){},k=_.$a(d)?d:{};c=function(a){var b=a&&a.result;if(!b||b.error||!b.name||!a||
a.error||a.message||a.message)h(b&&b.error?b:a&&(a.error||a.message||a.message)?a:new GA("API discovery response missing required fields."));else{a=k.root;a=null!=b.rootUrl?String(b.rootUrl):a;a=_.v(a)?a.replace(/([^\/])\/$/,"$1"):void 0;k.root=a;b.name&&b.version&&!b.id&&(b.id=[b.name,b.version].join(":"));b.id&&(k.apiId=b.id,a="client/batchPath/"+b.id,b.batchPath&&!_.I(a)&&_.ve(a,b.batchPath));var c=b.servicePath,d=b.parameters,e=function(a){_.fo(a,function(a){if(!(a&&a.id&&a.path&&a.httpMethod))throw new GA("Missing required parameters");
var b=a.id.split("."),e=window.gapi.client,f;for(f=0;f<b.length-1;f++){var h=b[f];e[h]=e[h]||{};e=e[h]}var l,n;k&&(k.hasOwnProperty("root")&&(l=k.root),k.hasOwnProperty("apiId")&&(n=k.apiId));h=window.gapi.client[b[0]];h.eD||(h.eD={servicePath:c||"",parameters:d,apiId:n});b=b[f];e[b]||(e[b]=_.Wf(CB,{path:_.v(a.path)?a.path:null,httpMethod:_.v(a.httpMethod)?a.httpMethod:null,parameters:a.parameters,parameterName:(a.request||{}).parameterName||"",request:a.request,root:l},h.eD))})},f=function(a){_.fo(a,
function(a){e(a.methods);f(a.resources)})};f(b.resources);e(b.methods);h.call()}};e?c({result:e}):0<f.indexOf("://")?CA({path:f,params:{pp:0,fields:0<=("/"+f).indexOf("/discovery/v1/apis/")?"kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id":'fields["kind"],fields["name"],fields["version"],fields["rootUrl"],fields["servicePath"],fields["resources"],fields["parameters"],fields["methods"],fields["batchPath"],fields["id"]'}}).then(c,c):CA({path:BB(f,a),root:d&&d.root}).then(c,
c)},CB=function(a,b,c,d){var e=b.servicePath||"";_.xb(e,"/")||(e="/"+e);var f=EB(a.path,[a.parameters,b.parameters],c||{});c=f.Qj;var h=f.cZ;e=_.Ci(e,f.path);f=h.root;delete h.root;var k=a.parameterName;!k&&1==_.ji(h)&&h.hasOwnProperty("resource")&&(k="resource");if(k){var l=h[k];delete h[k]}null!=l||(l=d);null==l&&a.request&&(_.hg(h)&&(h=void 0),l=h);k={};var n=a.httpMethod;"GET"==n&&_.r(l)&&""!=String(l)&&(_.Hk(k,_.P.bE,n),n="POST");if((null==l||null!=d)&&h)for(var p in h)_.v(h[p])&&(c[p]=h[p]);
return CA({path:e,method:n,params:c,headers:k,body:l,root:f||a.root,apiId:b.apiId},1)},EB=function(a,b,c){c=_.Vg(c);var d={};_.eo(b,function(b){_.fo(b,function(b,e){var f=b.required;if("path"==b.location)if(Object.prototype.hasOwnProperty.call(c,e))-1!=a.indexOf("{"+e+"}")?(b=_.ni(c[e]),a=a.replace("{"+e+"}",b)):-1!=a.indexOf("{+"+e+"}")&&(b=(0,window.encodeURI)(String(c[e])),a=a.replace("{+"+e+"}",b)),delete c[e];else{if(f)throw new GA("Required path parameter "+e+" is missing.");}else"query"==b.location&& Object.prototype.hasOwnProperty.call(c,e)&&(d[e]=c[e],delete c[e])})});if(b=c.trace)d.trace=b,delete c.trace;return{path:a,Qj:d,cZ:c}};
var FB=function(a,b,c,d){var e=b||"v1",f=_.$a(d)?d:{root:d};if(c)DB(a,e,function(a){if(a)if(a.error)c(a);else{var b="API discovery was unsuccessful.";if(a.message||a.message)b=a.message||a.message;c({error:b,code:0})}else c()},f);else return new _.ph(function(b,c){var d=function(a){a?c(a):b()};try{DB(a,e,d,f)}catch(n){c(n)}})},GB=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),HB=function(a,b){if(!a)throw new GA("Missing required parameters");
var c="object"===typeof a?a:{path:a};a=c.callback;delete c.callback;b=new iB(c,b);if(c=!!_.I("client/xd4")&&EA()){var d=b.Qf();c=d.path;(d=d.root)&&"/"!==d.charAt(d.length-1)&&(d+="/");d&&c&&c.substr(0,d.length)===d&&(c=c.substr(d.length));c=!c.match(GB)}c&&(b=new jB(b));return a?(b.execute(a),null):b};DA.EE(function(a){return HB.apply(null,arguments)});
var IB=function(a,b){if(!a)throw new GA("Missing required parameters");for(var c=a.split("."),d=window.gapi.client,e=0;e<c.length-1;e++){var f=c[e];d[f]=d[f]||{};d=d[f]}c=c[c.length-1];if(!d[c]){var h=b||{};d[c]=function(b){var c="string"==typeof h?h:h.root;b&&b.root&&(c=b.root);return new iB({method:a,apiVersion:h.apiVersion,rpcParams:b,transport:{name:"googleapis",root:c}},2)}}},JB=function(a){return new yB(a)};DA.CE(function(a){return JB.apply(null,arguments)});var KB=function(a){_.Be(a+" is deprecated. See https://developers.google.com/api-client-library/javascript/reference/referencedocs")};
_.w("gapi.client.init",function(a){a.apiKey&&_.ve("client/apiKey",a.apiKey);var b=(0,_.pb)(a.discoveryDocs||[],function(a){return FB(a)});if((a.clientId||a.client_id)&&a.scope){var c=new _.ph(function(b,c){_.m.gapi.load("auth2",{callback:function(){_.m.gapi.auth2.init.call(_.m.gapi.auth2,a).then(function(){b()},c)},onerror:function(){c()}})});b.push(c)}else(a.clientId||a.client_id||a.scope)&&_.Be("client_id and scope must both be provided to initialize OAuth.");return _.go(b).then(function(){})});
_.w("gapi.client.load",FB);_.w("gapi.client.newBatch",JB);_.w("gapi.client.newRpcBatch",function(){KB("gapi.client.newRpcBatch");return JB()});_.w("gapi.client.newHttpBatch",function(a){KB("gapi.client.newHttpBatch");return new yB(a,0)});_.w("gapi.client.register",function(a,b){KB("gapi.client.register");var c;b&&(c={apiVersion:b.apiVersion,root:b.root});IB(a,c)});_.w("gapi.client.request",HB);
_.w("gapi.client.rpcRequest",function(a,b,c){KB("gapi.client.rpcRequest");if(!a)throw new GA('Missing required parameter "method".');return new iB({method:a,apiVersion:b,rpcParams:c,transport:{name:"googleapis",root:c&&c.root||""}},2)});_.w("gapi.client.setApiKey",function(a){_.ve("client/apiKey",a);_.ve("googleapis.config/developerKey",a)});_.w("gapi.client.setApiVersions",function(a){KB("gapi.client.setApiVersions");_.ve("googleapis.config/versions",a)});_.w("gapi.client.getToken",function(a){return _.kl(a)});
_.w("gapi.client.setToken",function(a,b){a?_.ll(a,b):_.ml(b)});_.w("gapi.client.AuthType",{MZ:"auto",NONE:"none",K2:"oauth2",X0:"1p"});_.w("gapi.client.AuthType.AUTO","auto");_.w("gapi.client.AuthType.NONE","none");_.w("gapi.client.AuthType.OAUTH2","oauth2");_.w("gapi.client.AuthType.FIRST_PARTY","1p");

});
// Google Inc.
