/* JS */ gapi.loaded_2(function(_){var window=this;
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Tx=function(){};Tx.prototype.FH=null;Tx.prototype.getOptions=function(){var a;(a=this.FH)||(a={},_.Ux(this)&&(a[0]=!0,a[1]=!0),a=this.FH=a);return a};
var Wx;Wx=function(){};_.B(Wx,Tx);_.Ux=function(a){if(!a.LK&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof 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 ActiveXObject(d),a.LK=d}catch(e){}}throw Error("na");}return a.LK};_.Vx=new Wx;

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.vh=function(a){return encodeURIComponent(String(a))};_.wh=function(a){return null==a?"":String(a)};_.xh=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;_.yh=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]};
_.zh=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)_.zh(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+_.vh(b)))};_.Ah=function(a){var b=[],c;for(c in a)_.zh(c,a[c],b);return b.join("&")};_.Bh=function(a,b){b=_.Ah(b);return _.yh(a,b)};

var vi;
vi=function(a,b){a=_.Xe.createIframeElement({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";document.body.appendChild(a);c&&
(a.src=b);return a};
_.wi=function(){function a(){return!!g("auth/useFirstPartyAuthV2")}function b(p,t,r,u,v){var w=g("proxy");if(u||!w){w=g("root");var y=g("root-1p")||w;w=w||"https://content.googleapis.com";y=y||"https://clients6.google.com";var C=g("xd3")||"/static/proxy.html";w=(u||String(t?y:w))+C}w=String(w);r&&(w+=(0<=w.indexOf("?")?"&":"?")+"usegapi=1");(t=_.Xe.getUrlParameters().jsh||_.zg.ez.CJ())&&(w+=(0<=w.indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(t));w+="#parent="+encodeURIComponent(null!=v?String(v):
_.zg.getOrigin(document.location.href));return w+("&rpctoken="+p)}function c(p,t,r,u,v){var w=e(r,u,v);l[w]||(r=vi(w,t),_.Uf.register("ready:"+p,function(){_.Uf.unregister("ready:"+p);if(!m[w]){m[w]=!0;var y=n[w];n[w]=[];for(var C=0,A=y.length;C<A;++C){var F=y[C];f(F.rpc,F.l0,F.callback)}}}),_.Uf.setupReceiver(w,t),l[w]=r)}function d(p,t,r){var u=String(2147483647*(0,_.Eg)()|0),v=b(u,p,t,r);_.Sf(function(){c(u,v,p,t,r)})}function e(p,t,r){p=b("",p,t,r,"");r=k[p+t];if(!r){r=_.Dg();r.update(p);r=r.Wg().toLowerCase();
var u=(0,_.Eg)();r+=u;k[p+t]=r}return"apiproxy"+r}function f(p,t,r){var u=void 0,v=!1;if("makeHttpRequests"!==p)throw'only "makeHttpRequests" RPCs are implemented';var w=function(H){if(H){if("undefined"!=typeof u&&"undefined"!=typeof H.root&&u!=H.root)throw"all requests in a batch must have the same root URL";u=H.root||u;v=_.ui.MX(H.headers)}};if(t)for(var y=0,C=t.length;y<C;++y){var A=t[y];A&&w(A.params)}w=!!g("useGapiForXd3");var F=e(v,w,u);l[F]||d(v,w,u);m[F]?_.Uf.call(F,p,function(H){if(this.f==
F&&this.t==_.Uf.getAuthToken(this.f)&&this.origin==_.Uf.getTargetOrigin(this.f)){var Z=_.Lf(H);r(Z,H)}},t):(n[F]||(n[F]=[]),n[F].push({rpc:p,l0:t,callback:r}))}function g(p){return _.M("googleapis.config/"+p)}var k={},l={},m={},n={};return{MS:function(p,t,r){var u=r||"auto";p=p||{};if("none"==u)return p;t=t||window.location.href;r=p.Authorization;var v=p.OriginToken;if(!r&&!v){(v=_.Mh())&&v.access_token&&("oauth2"==u||"auto"==u)&&(r=String(v.token_type||"Bearer")+" "+v.access_token);if(v=!r)v=(!!g("auth/useFirstPartyAuth")||
"1p"==u)&&"oauth2"!=u;if(v&&_.ui.QY()){if(a()){r=g("primaryEmail");u=g("appDomain");v=g("fogId");var w=[];r&&w.push({key:"e",value:r});u&&w.push({key:"a",value:u});v&&w.push({key:"u",value:v});r=_.ui.TA(w)}else r=_.ui.TA();r&&(t=_.Kh(t),t=p["X-Goog-AuthUser"]||t,_.Ve(_.wh(t))&&(!a()||a()&&_.Ve(_.wh(g("primaryEmail")))&&_.Ve(_.wh(g("appDomain")))&&_.Ve(_.wh(g("fogId"))))&&(t="0"),_.Ve(_.wh(t))||(p["X-Goog-AuthUser"]=t))}r?p.Authorization=r:!1!==g("auth/useOriginToken")&&(v=_.ui.YV())&&(p.OriginToken=
v)}return p},wj:f}}();

var Mg={AUTHORIZATION:"Authorization",VP:"Content-ID",z4:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",d5:"Date",t8:"OriginToken",Laa:"WWW-Authenticate",Maa:"X-ClientDetails",Naa:"X-Goog-AuthUser",Oaa:"X-Goog-Encode-Response-If-Executable",Paa:"X-Goog-Meeting-Botguardid",Qaa:"X-Goog-Meeting-Debugid",Raa:"X-Goog-Meeting-Token",Saa:"X-Goog-PageId",Taa:"X-Goog-Safety-Content-Type",Uaa:"X-Goog-Safety-Encoding",Vaa:"X-HTTP-Method-Override",Waa:"X-JavaScript-User-Agent",Xaa:"X-Origin",Yaa:"X-Referer",
Zaa:"X-Requested-With",$aa:"X-Use-HTTP-Status-Code-Override"},Ng="Accept Accept-Language Authorization Cache-Control Content-Disposition Content-Encoding Content-Language Content-Length Content-MD5 Content-Range Content-Transfer-Encoding Content-Type Date GData-Version google-cloud-resource-prefix Host If-Match If-Modified-Since If-None-Match If-Unmodified-Since MIME-Version Origin OriginToken Pragma Range Slug Transfer-Encoding Want-Digest x-chrome-connected X-Client-Data X-ClientDetails X-Client-Version X-Firebase-Locale X-GData-Client X-GData-Key X-Goog-AuthUser X-Goog-PageId X-Goog-Encode-Response-If-Executable X-GoogApps-Allowed-Domains X-Goog-AdX-Buyer-Impersonation X-Goog-Api-Client X-Goog-Api-Key X-Goog-Correlation-Id X-Goog-Request-Info X-Goog-Request-Reason X-Goog-Experiments x-goog-ext-124712974-jspb x-goog-ext-259736195-jspb x-goog-ext-275505673-bin X-Goog-Firebase-Installations-Auth X-Firebase-Client X-Firebase-Client-Log-Type x-goog-iam-authority-selector x-goog-iam-authorization-token X-Goog-Spatula X-Goog-Travel-Bgr X-Goog-Travel-Settings 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-Header-Content-Length X-Goog-Upload-Offset X-Goog-Upload-Protocol X-Goog-User-Project X-Goog-Visitor-Id X-Goog-FieldMask X-Google-Project-Override X-HTTP-Method-Override X-JavaScript-User-Agent X-Pan-Versionid X-Proxied-User-IP X-Origin X-Referer X-Requested-With X-Stadia-Client-Context X-Upload-Content-Length X-Upload-Content-Type X-Use-HTTP-Status-Code-Override X-Ios-Bundle-Identifier X-Android-Package X-Ariane-Xsrf-Token X-Earth-Engine-App-ID-Token X-Earth-Engine-Computation-Profile X-Earth-Engine-Computation-Profiling X-Play-Console-Experiments-Override X-Play-Console-Session-Id X-YouTube-VVT X-YouTube-Page-CL X-YouTube-Page-Timestamp X-Goog-Meeting-Botguardid X-Goog-Meeting-Debugid X-Goog-Meeting-Token X-Sfdc-Authorization".split(" "),
Og="Digest Cache-Control Content-Disposition Content-Encoding Content-Language Content-Length Content-MD5 Content-Range Content-Transfer-Encoding Content-Type Date EES-S7E-JSON ETag Expires Last-Modified Location Pragma Range Server Transfer-Encoding WWW-Authenticate Vary Unzipped-Content-MD5 x-alkali-account-key x-alkali-application-key x-alkali-auth-apps-namespace x-alkali-auth-entities-namespace x-alkali-auth-entity x-alkali-client-locale X-Correlation-ID X-Goog-Generation X-Goog-Metageneration X-Goog-Safety-Content-Type X-Goog-Safety-Encoding 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 X-Earth-Engine-Computation-Profile X-Goog-Meeting-Botguardid X-Goog-Meeting-Debugid X-Goog-Meeting-Token".split(" ");
var Pg,Qg,Rg,Sg,Ug,Vg,Wg,Xg,Yg,Zg,$g,ah;Pg=null;Qg=null;Rg=null;Sg=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};
_.Tg=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),g=a.charCodeAt(d);if(55296<=g&&56319>=g&&d+1<e){var k=a.charAt(d+1),l=a.charCodeAt(d+1);56320<=l&&57343>=l&&(f+=k,g=65536+(g-55296<<10)+(l-56320),++d)}if(!(0<=g&&1114109>=g)||55296<=g&&57343>=g||64976<=g&&65007>=g||65534==(g&65534))g=65533,f=String.fromCharCode(g);k=!(32<=g&&126>=g)||" "==f||c&&":"==f||"\\"==f;!c||"/"!=f&&"?"!=f||(c=!1);"%"==f&&(d+2>=e?k=!0:(l=16*parseInt(a.charAt(d+
1),16)+parseInt(a.charAt(d+2),16),0<=l&&255>=l?(g=l,f=0==g?"":"%"+(256+l).toString(16).toUpperCase().substr(1),d+=2):k=!0));k&&(f=encodeURIComponent(f),1>=f.length&&(0<=g&&127>=g?f="%"+(256+g).toString(16).toUpperCase().substr(1):(g=65533,f=encodeURIComponent(String.fromCharCode(g)))));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],g=f.split("%2E").join("."),g=g.split(encodeURIComponent("\uff0e")).join("."),"."==g?d+1==e&&c.push(""):
".."==g?(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};Ug={"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};
Vg={"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};
Wg=function(a){if(!_.nb(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();Sg(d,e)&&(b[e]=d)}}for(var f in Mg)Object.prototype.hasOwnProperty.call(Mg,f)&&(d=Mg[f],e=d.toLowerCase(),Sg(d,e)&&Object.prototype.hasOwnProperty.call(b,e)&&(b[e]=d));return b};Xg=new RegExp("("+/[\t -~\u00A0-\u2027\u202A-\uD7FF\uE000-\uFFFF]/.source+"|"+/[\uD800-\uDBFF][\uDC00-\uDFFF]/.source+"){1,100}","g");Yg=/[ \t]*(\r?\n[ \t]+)+/g;Zg=/^[ \t]+|[ \t]+$/g;
$g=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=$g(b[c],!0);e&&(a&&(e=a+", "+e),a=e)}}if("string"===typeof a&&(a=a.replace(Yg," "),a=a.replace(Zg,""),""==a.replace(Xg,"")&&a))return a};ah=/^[-0-9A-Za-z!#\$%&'\*\+\.\^_`\|~]+$/g;
_.bh=function(a){if("string"!==typeof a||!a||!a.match(ah))return null;a=a.toLowerCase();if(null==Rg){var b=[],c=_.M("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.M("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Og);(c=_.M("googleapis/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.M("client/headers/request"))&&
"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Ng);for(var d in Mg)Object.prototype.hasOwnProperty.call(Mg,d)&&b.push(Mg[d]);Rg=Wg(b)}return null!=Rg&&Rg.hasOwnProperty(a)?Rg[a]:a};
_.ch=function(a,b){if(!_.bh(a)||!$g(b))return null;a=a.toLowerCase();if(a.match(/^x-google|^x-gfe|^proxy-|^sec-/i)||Vg[a])return null;if(null==Pg){b=[];var c=_.M("googleapis/headers/request");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.M("client/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Ng);Pg=Wg(b)}return null!=Pg&&Pg.hasOwnProperty(a)?Pg[a]:null};
_.dh=function(a,b){if(!_.bh(a)||!$g(b))return null;a=a.toLowerCase();if(Ug[a])return null;if(null==Qg){b=[];var c=_.M("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.M("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Og);Qg=Wg(b)}return null!=Qg&&Qg.hasOwnProperty(a)?a:null};
_.eh=function(a,b){if(_.bh(b)&&null!=a&&"object"===typeof a){var c=void 0,d;for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&Sg(d,b)){var e=$g(a[d]);e&&(void 0!==c&&(e=c+", "+e),c=e)}return c}};_.fh=function(a,b,c,d){var e=_.bh(b);if(e){c&&(c=$g(c));b=b.toLowerCase();for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&Sg(f,b)&&delete a[f];c&&(d||(b=e),a[b]=c)}};
_.gh=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 g=f.indexOf(":");if(!(0>=g)){var k=f.substring(0,g);if(k=_.bh(k)){for(f=f.substring(g+1);d+1<e&&a[d+1].match(/^[ \t]/);)f+="\r\n"+a[d+1],++d;if(f=$g(f))if(k=_.dh(k,f)||(b?void 0:k))k=k.toLowerCase(),g=_.eh(c,k),void 0!==g&&(f=g+", "+f),_.fh(c,k,f,!0)}}}return c};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Jt="StopIteration"in _.q?_.q.StopIteration:{message:"StopIteration",stack:""};_.Kt=function(){};_.Kt.prototype.next=function(){throw _.Jt;};_.Kt.prototype.Ii=function(){return this};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Lt=function(a,b){this.Ha={};this.Rb=[];this.jt=this.Xb=0;var c=arguments.length;if(1<c){if(c%2)throw Error("i");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};_.h=_.Lt.prototype;_.h.Gb=function(){return this.Xb};_.h.Zc=function(){Mt(this);for(var a=[],b=0;b<this.Rb.length;b++)a.push(this.Ha[this.Rb[b]]);return a};_.h.Be=function(){Mt(this);return this.Rb.concat()};_.h.Td=function(a){return _.Nt(this.Ha,a)};_.h.dk=_.ba(4);
_.h.equals=function(a,b){if(this===a)return!0;if(this.Xb!=a.Gb())return!1;b=b||Ot;Mt(this);for(var c,d=0;c=this.Rb[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Ot=function(a,b){return a===b};_.Lt.prototype.isEmpty=function(){return 0==this.Xb};_.Lt.prototype.clear=function(){this.Ha={};this.jt=this.Xb=this.Rb.length=0};_.Lt.prototype.remove=function(a){return _.Nt(this.Ha,a)?(delete this.Ha[a],this.Xb--,this.jt++,this.Rb.length>2*this.Xb&&Mt(this),!0):!1};
var Mt=function(a){if(a.Xb!=a.Rb.length){for(var b=0,c=0;b<a.Rb.length;){var d=a.Rb[b];_.Nt(a.Ha,d)&&(a.Rb[c++]=d);b++}a.Rb.length=c}if(a.Xb!=a.Rb.length){var e={};for(c=b=0;b<a.Rb.length;)d=a.Rb[b],_.Nt(e,d)||(a.Rb[c++]=d,e[d]=1),b++;a.Rb.length=c}};_.h=_.Lt.prototype;_.h.get=function(a,b){return _.Nt(this.Ha,a)?this.Ha[a]:b};_.h.set=function(a,b){_.Nt(this.Ha,a)||(this.Xb++,this.Rb.push(a),this.jt++);this.Ha[a]=b};
_.h.addAll=function(a){if(a instanceof _.Lt)for(var b=a.Be(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};_.h.forEach=function(a,b){for(var c=this.Be(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};_.h.clone=function(){return new _.Lt(this)};_.h.Ii=function(a){Mt(this);var b=0,c=this.jt,d=this,e=new _.Kt;e.next=function(){if(c!=d.jt)throw Error("L");if(b>=d.Rb.length)throw _.Jt;var f=d.Rb[b++];return a?f:d.Ha[f]};return e};
_.Nt=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Pt=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};_.Qt=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.Rt=function(a){if(a.Zc&&"function"==typeof a.Zc)return a.Zc();if("string"===typeof a)return a.split("");if(_.nb(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return _.Pt(a)};
_.St=function(a){if(a.Be&&"function"==typeof a.Be)return a.Be();if(!a.Zc||"function"!=typeof a.Zc){if(_.nb(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return _.Qt(a)}};_.Tt=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(_.nb(a)||"string"===typeof a)(0,_.xb)(a,b,c);else for(var d=_.St(a),e=_.Rt(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Xx=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Yx;_.Zx=function(a){return(new Yx).Tf(a)};Yx=function(){};Yx.prototype.Tf=function(a){var b=[];$x(this,a,b);return b.join("")};
var $x=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),$x(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),ay(d,c),c.push(":"),$x(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":ay(b,c);break;
case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("pa`"+typeof b);}}},by={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},cy=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,ay=function(a,b){b.push('"',a.replace(cy,function(c){var d=by[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),by[c]=
d);return d}),'"')};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var iy,my,ny,py,qy,uy,wy;_.gy=function(a){return(a=_.Ux(a))?new ActiveXObject(a):new XMLHttpRequest};_.hy=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};iy=function(a){for(var b=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};_.jy=function(a){var b=0,c;for(c in a)b++;return b};_.ky=function(a,b){return null!==a&&b in a};
_.ly=function(a){var b=_.lb(a);if("object"==b||"array"==b){if(_.pb(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=_.ly(a[c]);return b}return a};my=function(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b};
ny=function(){function a(e){e=_.Oj(e,d);return c[e]||""}var b=_.Gb;if(_.Ob())return my(b);b=iy(b);var c={};(0,_.xb)(b,function(e){c[e[0]]=e[1]});var d=_.Nj(_.ky,c);return _.Nb()?a(["Version","Opera"]):_.Jb("Edge")?a(["Edge"]):_.Jb("Edg/")?a(["Edg"]):_.Qb()?a(["Chrome","CriOS","HeadlessChrome"]):(b=b[2])&&b[1]||""};_.oy=function(a){return 0<=_.Fb(ny(),a)};py=function(a){return Array.prototype.join.call(arguments,"")};qy=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)_.zh(a[b],a[b+1],c);return c.join("&")};
_.ry=function(a,b){var c=2==arguments.length?qy(arguments[1],0):qy(arguments,1);return _.yh(a,c)};_.sy=function(a,b,c){c=null!=c?"="+_.vh(c):"";return _.yh(a,b+c)};_.ty=function(a,b){_.Wq(a,"/")&&(a=a.substr(0,a.length-1));_.rd(b,"/")&&(b=b.substr(1));return py(a,"/",b)};uy={};_.vy=function(a){if(uy[a])return uy[a];a=String(a);if(!uy[a]){var b=/function\s+([^\(]+)/m.exec(a);uy[a]=b?b[1]:"[Anonymous]"}return uy[a]};
wy=function(a,b){var c=[];if(_.Cb(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(_.vy(a)+"(");for(var d=a.arguments,e=0;d&&e<d.length;e++){0<e&&c.push(", ");var f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=_.vy(f))?f:"[fn]";break;default:f=typeof f}40<f.length&&(f=f.substr(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");try{c.push(wy(a.caller,
b))}catch(g){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")};_.xy=function(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||_.xy),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=wy(a||arguments.callee.caller,[]));return b};_.yy=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};
_.zy=function(a,b){_.Zq.call(this);this.Kk=a||1;this.Ys=b||_.q;this.AH=(0,_.I)(this.S2,this);this.zL=(0,_.bb)()};_.B(_.zy,_.Zq);_.h=_.zy.prototype;_.h.enabled=!1;_.h.uc=null;_.h.setInterval=function(a){this.Kk=a;this.uc&&this.enabled?(this.stop(),this.start()):this.uc&&this.stop()};
_.h.S2=function(){if(this.enabled){var a=(0,_.bb)()-this.zL;0<a&&a<.8*this.Kk?this.uc=this.Ys.setTimeout(this.AH,this.Kk-a):(this.uc&&(this.Ys.clearTimeout(this.uc),this.uc=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.h.start=function(){this.enabled=!0;this.uc||(this.uc=this.Ys.setTimeout(this.AH,this.Kk),this.zL=(0,_.bb)())};_.h.stop=function(){this.enabled=!1;this.uc&&(this.Ys.clearTimeout(this.uc),this.uc=null)};
_.h.va=function(){_.zy.H.va.call(this);this.stop();delete this.Ys};
var By,Dy,Ey;_.Ay=function(a){_.Zq.call(this);this.headers=new _.Lt;this.iy=a||null;this.vf=!1;this.hy=this.Oa=null;this.gw="";this.oo=0;this.rm=this.mC=this.Jv=this.uA=!1;this.Vm=0;this.od=null;this.Vk="";this.FF=this.uf=!1};_.B(_.Ay,_.Zq);_.Ay.prototype.Hb=null;By=/^https?$/i;Dy=["POST","PUT"];Ey=[];_.Fy=function(a,b,c,d,e,f,g){var k=new _.Ay;Ey.push(k);b&&k.U("complete",b);k.vo("ready",k.uT);f&&k.WE(f);g&&(k.uf=g);k.send(a,c,d,e)};_.Ay.prototype.uT=function(){this.Fa();_.iq(Ey,this)};
_.Ay.prototype.WE=function(a){this.Vm=Math.max(0,a)};
_.Ay.prototype.send=function(a,b,c,d){if(this.Oa)throw Error("sa`"+this.gw+"`"+a);b=b?b.toUpperCase():"GET";this.gw=a;this.oo=0;this.uA=!1;this.vf=!0;this.Oa=this.iy?_.gy(this.iy):_.gy(_.Vx);this.hy=this.iy?this.iy.getOptions():_.Vx.getOptions();this.Oa.onreadystatechange=(0,_.I)(this.pM,this);try{this.mC=!0,this.Oa.open(b,String(a),!0),this.mC=!1}catch(f){this.Lu(5,f);return}a=c||"";var e=this.headers.clone();d&&_.Tt(d,function(f,g){e.set(g,f)});d=_.Oj(e.Be(),Gy);c=_.q.FormData&&a instanceof _.q.FormData;
!_.Cb(Dy,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.Oa.setRequestHeader(g,f)},this);this.Vk&&(this.Oa.responseType=this.Vk);"withCredentials"in this.Oa&&this.Oa.withCredentials!==this.uf&&(this.Oa.withCredentials=this.uf);try{Hy(this),0<this.Vm&&((this.FF=Iy(this.Oa))?(this.Oa.timeout=this.Vm,this.Oa.ontimeout=(0,_.I)(this.Hg,this)):this.od=_.dy(this.Hg,this.Vm,this)),this.Jv=!0,this.Oa.send(a),this.Jv=!1}catch(f){this.Lu(5,f)}};
var Iy=function(a){return _.Lc&&_.gd(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},Gy=function(a){return"content-type"==a.toLowerCase()};_.Ay.prototype.Hg=function(){"undefined"!=typeof _.$a&&this.Oa&&(this.oo=8,this.dispatchEvent("timeout"),this.abort(8))};_.Ay.prototype.Lu=function(a){this.vf=!1;this.Oa&&(this.rm=!0,this.Oa.abort(),this.rm=!1);this.oo=a;Jy(this);Ky(this)};var Jy=function(a){a.uA||(a.uA=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
_.Ay.prototype.abort=function(a){this.Oa&&this.vf&&(this.vf=!1,this.rm=!0,this.Oa.abort(),this.rm=!1,this.oo=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ky(this))};_.Ay.prototype.va=function(){this.Oa&&(this.vf&&(this.vf=!1,this.rm=!0,this.Oa.abort(),this.rm=!1),Ky(this,!0));_.Ay.H.va.call(this)};_.Ay.prototype.pM=function(){this.Pb||(this.mC||this.Jv||this.rm?Ly(this):this.nD())};_.Ay.prototype.nD=function(){Ly(this)};
var Ly=function(a){if(a.vf&&"undefined"!=typeof _.$a&&(!a.hy[1]||4!=_.My(a)||2!=a.getStatus()))if(a.Jv&&4==_.My(a))_.dy(a.pM,0,a);else if(a.dispatchEvent("readystatechange"),4==_.My(a)){a.vf=!1;try{_.Ny(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.oo=6,a.getStatus(),Jy(a))}finally{Ky(a)}}},Ky=function(a,b){if(a.Oa){Hy(a);var c=a.Oa,d=a.hy[0]?_.kb:null;a.Oa=null;a.hy=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},Hy=function(a){a.Oa&&a.FF&&(a.Oa.ontimeout=
null);a.od&&(_.ey(a.od),a.od=null)};_.Ay.prototype.Zd=function(){return!!this.Oa};_.Ny=function(a){var b=a.getStatus(),c;if(!(c=_.yy(b))){if(b=0===b)a=String(a.gw).match(_.xh)[1]||null,!a&&_.q.self&&_.q.self.location&&(a=_.q.self.location.protocol,a=a.substr(0,a.length-1)),b=!By.test(a?a.toLowerCase():"");c=b}return c};_.My=function(a){return a.Oa?a.Oa.readyState:0};_.Ay.prototype.getStatus=function(){try{return 2<_.My(this)?this.Oa.status:-1}catch(a){return-1}};
_.Oy=function(a){try{return a.Oa?a.Oa.responseText:""}catch(b){return""}};_.Py=function(a){try{if(!a.Oa)return null;if("response"in a.Oa)return a.Oa.response;switch(a.Vk){case "":case "text":return a.Oa.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Oa)return a.Oa.mozResponseArrayBuffer}return null}catch(b){return null}};_.Ay.prototype.getResponseHeader=function(a){if(this.Oa&&4==_.My(this))return a=this.Oa.getResponseHeader(a),null===a?void 0:a};
_.Ay.prototype.getAllResponseHeaders=function(){return this.Oa&&4==_.My(this)?this.Oa.getAllResponseHeaders()||"":""};_.Sj(function(a){_.Ay.prototype.nD=a(_.Ay.prototype.nD)});

var Fg=function(a){return{execute:function(b){var c={method:a.httpMethod||"GET",root:a.root,path:a.url,params:a.urlParams,headers:a.headers,body:a.body},d=window.gapi,e=function(){var f=d.config.get("client/apiKey"),g=d.config.get("client/version");try{var k=d.config.get("googleapis.config/developerKey"),l=d.config.get("client/apiKey",k);d.config.update("client/apiKey",l);d.config.update("client/version","1.0.0-alpha");var m=d.client;m.request.call(m,c).then(b,b)}finally{d.config.update("client/apiKey",
f),d.config.update("client/version",g)}};d.client?e():d.load.call(d,"client",e)}}},Gg=function(a,b){return function(c){var d={};c=c.body;var e=_.Lf(c),f={};if(e&&e.length)for(var g=0,k=e.length;g<k;++g){var l=e[g];f[l.id]=l}g=0;for(k=b.length;g<k;++g)l=b[g].id,d[l]=e&&e.length?f[l]:e;a(d,c)}},Hg=function(a){a.transport={name:"googleapis",execute:function(b,c){for(var d=[],e=0,f=b.length;e<f;++e){var g=b[e],k=g.method,l=String(k).split(".")[0];l=_.M("googleapis.config/versions/"+k)||_.M("googleapis.config/versions/"+
l)||"v1";d.push({jsonrpc:"2.0",id:g.id,method:k,apiVersion:String(l),params:g.params})}b=Fg({httpMethod:"POST",root:a.transport.root,url:"/rpc?pp=0",headers:{"Content-Type":"application/json"},body:d});b.execute.call(b,Gg(c,d))},root:void 0}},Ig=function(a){var b=this.method,c=this.transport;c.execute.call(c,[{method:b,id:b,params:this.rpc}],function(d){d=d[b];d.error||(d=d.data||d.result);a(d)})},Kg=function(){for(var a=Jg,b=a.split("."),c=function(k){k=k||{};k.groupId=k.groupId||"@self";k.userId=
k.userId||"@viewer";k={method:a,rpc:k||{}};Hg(k);k.execute=Ig;return k},d=_.q,e=0,f=b.length;e<f;++e){var g=d[b[e]]||{};e+1==f&&(g=c);d=d[b[e]]=g}if(1<b.length&&"googleapis"!=b[0])for(b[0]="googleapis","delete"==b[b.length-1]&&(b[b.length-1]="remove"),d=_.q,e=0,f=b.length;e<f;++e)g=d[b[e]]||{},e+1==f&&(g=c),d=d[b[e]]=g},Jg;for(Jg in _.M("googleapis.config/methods"))Kg();
_.z("googleapis.newHttpRequest",function(a){return Fg(a)});_.z("googleapis.setUrlParameter",function(a,b){if("trace"!==a)throw Error("w");_.Re("client/trace",b)});

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Yt,nu,hu,ru,iu,ku,ju,ou,lu,su;_.Ut=function(a){if(!(a instanceof Array)){a=_.la(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};_.Vt=function(a,b){var c=_.nb(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};_.Wt=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,_.bb)()).toString(36)};
_.Xt=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):_.Zd(document,"*",a,b)};Yt=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?decodeURIComponent(e.replace(/\+/g," ")):"")}}};
_.Zt=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1};_.$t=/#|$/;_.au=function(a,b){var c=a.search(_.$t),d=_.Zt(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.substr(d,e-d).replace(/\+/g," "))};
_.bu=function(a,b){this.Gc=this.Yf=this.fe="";this.nh=null;this.PA=this.mj="";this.xg=this.nL=!1;var c;a instanceof _.bu?(this.xg=void 0!==b?b:a.xg,_.cu(this,a.fe),this.Js(a.Yf),_.du(this,a.Gc),_.eu(this,a.nh),this.setPath(a.getPath()),_.fu(this,a.Dd.clone()),this.Xk(a.Rq())):a&&(c=String(a).match(_.xh))?(this.xg=!!b,_.cu(this,c[1]||"",!0),this.Js(c[2]||"",!0),_.du(this,c[3]||"",!0),_.eu(this,c[4]),this.setPath(c[5]||"",!0),_.fu(this,c[6]||"",!0),this.Xk(c[7]||"",!0)):(this.xg=!!b,this.Dd=new _.gu(null,
this.xg))};_.bu.prototype.toString=function(){var a=[],b=this.fe;b&&a.push(hu(b,iu,!0),":");var c=this.Gc;if(c||"file"==b)a.push("//"),(b=this.Yf)&&a.push(hu(b,iu,!0),"@"),a.push(_.vh(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.nh,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Gc&&"/"!=c.charAt(0)&&a.push("/"),a.push(hu(c,"/"==c.charAt(0)?ju:ku,!0));(c=this.Dd.toString())&&a.push("?",c);(c=this.Rq())&&a.push("#",hu(c,lu));return a.join("")};
_.bu.prototype.resolve=function(a){var b=this.clone(),c=!!a.fe;c?_.cu(b,a.fe):c=a.XX();c?b.Js(a.Yf):c=!!a.Gc;c?_.du(b,a.Gc):c=null!=a.nh;var d=a.getPath();if(c)_.eu(b,a.nh);else if(c=!!a.mj){if("/"!=d.charAt(0))if(this.Gc&&!this.mj)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=_.rd(e,"/");e=e.split("/");for(var f=[],g=0;g<e.length;){var k=e[g++];"."==k?d&&g==e.length&&f.push(""):
".."==k?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&g==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.Wn();c?_.fu(b,a.Dd.clone()):c=!!a.PA;c&&b.Xk(a.Rq());return b};_.bu.prototype.clone=function(){return new _.bu(this)};_.cu=function(a,b,c){_.mu(a);a.fe=c?nu(b,!0):b;a.fe&&(a.fe=a.fe.replace(/:$/,""));return a};_.bu.prototype.Js=function(a,b){_.mu(this);this.Yf=b?nu(a):a;return this};_.bu.prototype.XX=function(){return!!this.Yf};
_.du=function(a,b,c){_.mu(a);a.Gc=c?nu(b,!0):b;return a};_.eu=function(a,b){_.mu(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("M`"+b);a.nh=b}else a.nh=null;return a};_.bu.prototype.getPath=function(){return this.mj};_.bu.prototype.setPath=function(a,b){_.mu(this);this.mj=b?nu(a,!0):a;return this};_.bu.prototype.Wn=function(){return""!==this.Dd.toString()};_.fu=function(a,b,c){_.mu(a);b instanceof _.gu?(a.Dd=b,a.Dd.JE(a.xg)):(c||(b=hu(b,ou)),a.Dd=new _.gu(b,a.xg));return a};
_.bu.prototype.Va=function(a,b){return _.fu(this,a,b)};_.bu.prototype.getQuery=function(){return this.Dd.toString()};_.pu=function(a,b,c){_.mu(a);a.Dd.set(b,c);return a};_.bu.prototype.Ph=function(a){return this.Dd.get(a)};_.bu.prototype.Rq=function(){return this.PA};_.bu.prototype.Xk=function(a,b){_.mu(this);this.PA=b?nu(a):a;return this};_.bu.prototype.removeParameter=function(a){_.mu(this);this.Dd.remove(a);return this};_.mu=function(a){if(a.nL)throw Error("N");};
_.bu.prototype.JE=function(a){this.xg=a;this.Dd&&this.Dd.JE(a)};_.qu=function(a){return a instanceof _.bu?a.clone():new _.bu(a,void 0)};nu=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};hu=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,ru),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};ru=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};iu=/[#\/\?@]/g;ku=/[#\?:]/g;ju=/[#\?]/g;ou=/[#\?@]/g;
lu=/#/g;_.gu=function(a,b){this.Xb=this.Ac=null;this.Df=a||null;this.xg=!!b};su=function(a){a.Ac||(a.Ac=new _.Lt,a.Xb=0,a.Df&&Yt(a.Df,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};_.h=_.gu.prototype;_.h.Gb=function(){su(this);return this.Xb};_.h.add=function(a,b){su(this);this.Df=null;a=tu(this,a);var c=this.Ac.get(a);c||this.Ac.set(a,c=[]);c.push(b);this.Xb+=1;return this};
_.h.remove=function(a){su(this);a=tu(this,a);return this.Ac.Td(a)?(this.Df=null,this.Xb-=this.Ac.get(a).length,this.Ac.remove(a)):!1};_.h.clear=function(){this.Ac=this.Df=null;this.Xb=0};_.h.isEmpty=function(){su(this);return 0==this.Xb};_.h.Td=function(a){su(this);a=tu(this,a);return this.Ac.Td(a)};_.h.dk=function(a){var b=this.Zc();return _.Cb(b,a)};_.h.forEach=function(a,b){su(this);this.Ac.forEach(function(c,d){(0,_.xb)(c,function(e){a.call(b,e,d,this)},this)},this)};
_.h.Be=function(){su(this);for(var a=this.Ac.Zc(),b=this.Ac.Be(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};_.h.Zc=function(a){su(this);var b=[];if("string"===typeof a)this.Td(a)&&(b=_.pd(b,this.Ac.get(tu(this,a))));else{a=this.Ac.Zc();for(var c=0;c<a.length;c++)b=_.pd(b,a[c])}return b};_.h.set=function(a,b){su(this);this.Df=null;a=tu(this,a);this.Td(a)&&(this.Xb-=this.Ac.get(a).length);this.Ac.set(a,[b]);this.Xb+=1;return this};
_.h.get=function(a,b){if(!a)return b;a=this.Zc(a);return 0<a.length?String(a[0]):b};_.h.setValues=function(a,b){this.remove(a);0<b.length&&(this.Df=null,this.Ac.set(tu(this,a),_.qd(b)),this.Xb+=b.length)};_.h.toString=function(){if(this.Df)return this.Df;if(!this.Ac)return"";for(var a=[],b=this.Ac.Be(),c=0;c<b.length;c++){var d=b[c],e=_.vh(d);d=this.Zc(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+_.vh(d[f]));a.push(g)}}return this.Df=a.join("&")};
_.h.clone=function(){var a=new _.gu;a.Df=this.Df;this.Ac&&(a.Ac=this.Ac.clone(),a.Xb=this.Xb);return a};var tu=function(a,b){b=String(b);a.xg&&(b=b.toLowerCase());return b};_.gu.prototype.JE=function(a){a&&!this.xg&&(su(this),this.Df=null,this.Ac.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.xg=a};_.gu.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)_.Tt(arguments[b],function(c,d){this.add(d,c)},this)};

var JA,LA,MA,NA,OA,PA,QA,RA,SA,TA,UA;JA=function(a){return new _.uk(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,m){c--;d[k]=l?{Vu:!0,value:m}:{Vu:!1,reason:m};0==c&&b(d)},f=0,g;f<a.length;f++)g=a[f],_.Bk(g,_.Nj(e,f,!0),_.Nj(e,f,!1));else b(d)})};_.KA={};OA={xH:function(a){LA=a;try{delete OA.xH}catch(b){}},yH:function(a){MA=a;try{delete OA.yH}catch(b){}},zH:function(a){NA=a;try{delete OA.zH}catch(b){}}};PA=function(a){return _.yy(a.status)};
QA=function(){var a=!0,b=_.gy(_.Vx);b&&void 0!==b.withCredentials||(a=!1);return a};RA=function(a,b){return"undefined"===typeof _.M("client/gbd")?!!_.KA[a]:_.M("client/gbd")===b};SA=function(){return RA("GBD_STAGE2_MOD","stage2")};
TA=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=_.M("client/rewrite");_.ob(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=_.M("client/firstPartyRewrite"),_.ob(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};UA=function(a){_.tb.call(this,a)};_.Uq(UA,_.tb);UA.prototype.name="gapi.client.Error";var VA=function(a){if(!a||!_.pb(a))throw new UA("Must provide a function.");this.Rf=null;this.pU=a};VA.prototype.then=function(a,b,c){this.Rf||(this.Rf=this.pU());return this.Rf.then(a,b,c)};VA.prototype.Cx=function(a){this.Rf||(this.Rf=a)};var WA={};
WA=function(a){var b={},c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=_.eh(a,c);d&&(c=_.dh(c,d))&&_.fh(b,c,d,!0)}return b};
var XA={error:{code:-1,message:"A network error occurred and the request could not be completed."}},YA=function(a,b,c,d){_.Ay.call(this);this.qd=a;this.ZC=b;this.vd=c;a={};if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b=_.eh(d,e),void 0!==b&&(e=_.ch(e,b))&&_.fh(a,e,b));d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(d[unescape(encodeURIComponent(e))]=unescape(encodeURIComponent(a[e])));this.nr=d;this.Rf=null};_.Uq(YA,_.Ay);
YA.prototype.then=function(a){this.Rf||(this.Rf=(new _.uk(function(b,c){this.U("error",(0,_.I)(function(){c(ZA(this))},this));this.U("success",(0,_.I)(function(){b(ZA(this))},this));this.send(this.qd,this.ZC,this.vd,this.nr)},this)).then(function(b){b.headers=WA(b.headers);return b},function(b){return b.status?(b.headers=WA(b.headers),_.zk(b)):_.zk({result:XA,body:'{"error":{"code":-1,"message":"A network error occurred and the request could not be completed."}}',headers:null,status:null,statusText:null})}));
return this.Rf.then.apply(this.Rf,arguments)};
var ZA=function(a){var b=a.getStatus(),c=_.Oy(a);var d=204==b?!1:""==a.Vk?_.Lf(c):_.Py(a);var e=a.getAllResponseHeaders();e=_.gh(e,!1);try{var f=2<_.My(a)?a.Oa.statusText:""}catch(g){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}},$A=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i,aB=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i,bB=/;\s*charset\s*=/i,cB=/(([\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,dB=
function(a){var b=[];a=a.replace(cB,function(c){b.push(_.ez(c));return""});if(a.length)throw Error("ta");return b.join("")},eB=function(a){var b=a.headers;if(b&&"base64"===_.eh(b,"X-Goog-Safety-Encoding")){var c=dB(a.body),d=_.eh(b,"X-Goog-Safety-Content-Type");b["Content-Type"]=d;if(d.match($A)||d.match(aB)&&!d.match(bB))c=_.ow(_.ph(c));_.fh(b,"X-Goog-Safety-Encoding");_.fh(b,"X-Goog-Safety-Content-Type");a.body=c}},fB=function(a,b,c){c||((c=_.M("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/,
"")||"/"),c=String(c||""));c||(c=_.M("googleapis.config/root"),b&&(c=_.M("googleapis.config/root-1p")||c),c=String(c||""));c=String(TA(b,c)||c);return a=_.ty(c,a)},gB=function(a){var b=_.Vt(a,"params","headers");b&&"object"===typeof b||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.eh(b,c);d&&(_.ch(c,d),_.fh(a,c,d))}c="chrome-extension"==(window.location.href.match(_.xh)[1]||null);a=_.ti(a);return!(c&&a)&&QA()},hB=function(a,b){var c=a.params||_.ze();c.url=c.path;
var d=c.root;d=fB("/",_.ti(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.wi.wj("makeHttpRequests",[a],function(e,f){e&&e.gapiRequest?(e.gapiRequest.data?eB(e.gapiRequest.data):eB(e),b(e,_.Mf(e))):b(e,f)})},iB=function(a){return new _.uk(function(b,c){var d=function(e){e&&e.gapiRequest?e=e.gapiRequest.data||e:c(e);e={result:204!=e.status&&_.Lf(e.body),body:e.body,headers:e.headers||null,status:e.status||null,statusText:e.statusText||null};PA(e)?b(e):c(e)};
try{hB(a,d)}catch(e){c(e)}})},jB=function(a){var b=!_.M("client/cors")||!!_.M("client/xd4"),c={};_.Il(a,function(d,e){(d=_.ch(e,d))||b||(d=_.bh(e));d&&(e=_.eh(a,d))&&_.fh(c,d,e)});return c},kB=function(a){var b=a.params||_.ze();a=_.Yj(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=encodeURIComponent("$unique");if(!("POST"===c||0<=_.Zt(d,0,"$unique",d.search(_.$t))||0<=_.Zt(d,0,e,d.search(_.$t)))){var f=[];for(g in a)Object.prototype.hasOwnProperty.call(a,g)&&f.push(g.toLowerCase());
f.sort();f.push(_.Bg(location.href));var g=f.join(":");f=_.oi();f.update(g);g=f.Wg().toLowerCase().substr(0,7);g=String(parseInt(g,16)%1E3+1E3).substr(1);d=_.ry(d,e,"gc"+g)}e=b.body||null;g=b.responseType||null;b=_.ti(a)||"1p"==b.authType;f=!!_.M("googleapis.config/auth/useUberProxyAuth");_.fh(a,"X-Referer",void 0);a=jB(a);var k=new YA(d,c,e,a);k.uf=b||f;g&&(k.Vk=g);return new _.uk(function(l,m){k.then(function(n){eB(n);l(n)},function(n){m(n)})})},lB=function(a,b){var c=function(d){d=_.Yj(d);delete d.result;
d={gapiRequest:{data:d}};b&&b(d,_.Mf(d))};kB(a).then(c,c)},mB=function(a,b){(_.M("client/cors")||_.M("client/xd4"))&&gB(a)?lB(a,b):hB(a,b)},nB=function(a){this.Vc=a;this.vf=!1;this.promise={then:(0,_.I)(function(b,c,d){this.vf||(this.vf=!0);this.rs&&!this.ms?this.Vc.resolve(this.rs):this.ms&&!this.rs&&this.Vc.reject(this.ms);return this.Vc.promise.then(b,c,d)},this)}};nB.prototype.resolve=function(a){this.vf?this.Vc.resolve(a):this.rs||this.ms||(this.rs=a)};
nB.prototype.reject=function(a){this.vf?this.Vc.reject(a):this.rs||this.ms||(this.ms=a)};
var oB=function(a){a=_.ly(a.error);return{code:a.code,data:a.errors,message:a.message}},pB=function(a){throw Error("wa`"+a);};
var qB=function(a){VA.call(this,qB.prototype.Hm);if(!a||"object"!=typeof a&&"string"!=typeof a)throw new UA("Missing required parameters");if("string"===typeof a){var b={};b.path=a}else b=a;if(!b.path)throw new UA('Missing required parameter: "path"');this.rh={};this.rh.path=b.path;this.rh.method=b.method||"GET";this.rh.params=b.params||{};this.rh.headers=b.headers||{};this.rh.body=b.body;this.rh.root=b.root;this.rh.responseType=b.responseType;this.rh.apiId=b.apiId;this.zl=b.authType||"auto";this.bZ=
!!b.isXd4;this.hL=!1;this.ui(this.zl);this.dN=!1};_.B(qB,VA);var rB=["appVersion","platform","userAgent"],sB={"google-api-gwt-client":!0,"google-api-javascript-client":!0};qB.prototype.Ce=function(){return this.rh};qB.prototype.ui=function(a){this.zl=a;this.hL="1p"===this.zl};qB.prototype.Vq=function(){return this.hL};
qB.prototype.oj=function(){if(!this.dN){this.dN=!0;var a=this.rh,b=a.headers=a.headers||{},c=[],d=[];for(g in b)if(Object.prototype.hasOwnProperty.call(b,g)){c.push(g);var e=g,f=_.eh(b,e);f&&(e=_.ch(e,f)||_.bh(e))&&d.push([e,f])}var g=0;for(e=c.length;g<e;++g)delete b[c[g]];c=0;for(g=d.length;c<g;++c)_.fh(b,d[c][0],d[c][1]);if(this.bZ)d="1p"==this.zl;else{d=b;c=String(_.M("client/version","1.1.0"));g=String(_.M("client/name","google-api-javascript-client"));g=!0===sB[g]?g:"google-api-javascript-client";
e=String(_.M("client/appName",""));f=[];e&&(f.push(e),f.push(" "));f.push(g);c&&(f.push("/"),f.push(c));_.fh(d,"X-JavaScript-User-Agent",f.join(""));_.fh(b,"X-Requested-With","XMLHttpRequest");d=_.eh(b,"Content-Type");a.body&&!d&&_.fh(b,"Content-Type","application/json");_.M("client/allowExecutableResponse")||_.fh(b,"X-Goog-Encode-Response-If-Executable","base64");(d=_.eh(b,"Content-Type"))&&"application/json"==d.toLowerCase()&&!a.params.alt&&(a.params.alt="json");(d=a.body||null)&&_.ob(d)&&(a.body=
_.Mf(d));a.key=a.id;b=_.wi.MS(b,void 0,this.zl);d=_.ti(b);if((c=b)&&window.navigator){g=[];for(e=0;e<rB.length;e++)(f=window.navigator[rB[e]])&&g.push(encodeURIComponent(rB[e])+"="+encodeURIComponent(f));_.fh(c,"X-ClientDetails",g.join("&"))}(c=_.M("client/apiKey"))&&void 0===a.params.key&&(a.params.key=c);(c=_.M("client/trace"))&&!a.params.trace&&(a.params.trace=c)}"auto"==this.zl&&(d?this.ui("1p"):(b=_.eh(b,"Authorization"))&&String(b).match(/^(Bearer|MAC)[ \t]/i)?this.ui("oauth2"):this.ui("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=_.M("googleapis.config/root"),d&&(b=_.M("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=_.Tg(a.path);g=String(_.M("googleapis.config/xd3")||"");18<=g.length&&"/static/proxy.html"==g.substring(g.length-
18)&&(g=g.substring(0,g.length-18));g||(g="/");e=_.Tg(g);if(g!=e)throw Error("y");"/"!=g.charAt(g.length-1)&&(g+="/");c=_.ty(g,c);_.Wq(c,"/")&&(c=c.substring(0,c.length-1));g=_.ze();for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(e=encodeURIComponent(k),g[e]=b[k]);c=_.Bh(c,g);a.path=c;a.root=TA(!!d,a.root);a.url=fB(a.path,!!d,a.root)}};
var tB=function(a){a.oj();var b=a.rh;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.zl}}};qB.prototype.execute=function(a){var b=tB(this);mB(b,function(c,d){var e=c;c.gapiRequest&&(e=c.gapiRequest);e&&e.data&&(e=e.data);c=e instanceof Array?e[0]:e;if(204!=c.status&&c.body)try{var f=_.Lf(c.body)}catch(g){}a&&a(f,d)})};
qB.prototype.Hm=function(){var a=tB(this);return(_.M("client/cors")||_.M("client/xd4"))&&gB(a)?kB(a):iB(a)};qB.prototype.Qh=function(){return this.Hm()};qB.prototype.execute=qB.prototype.execute;qB.prototype.then=qB.prototype.then;qB.prototype.getPromise=qB.prototype.Qh;
var uB=function(a){if(!a||"object"!=typeof a)throw new UA("Missing rpc parameters");if(!a.method)throw new UA("Missing rpc method");this.ox=a};uB.prototype.Zl=function(){var a=this.ox.transport;return a?a.root||null:null};uB.prototype.execute=function(a){var b=MA();b.add(this,{id:"gapiRpc",callback:this.Lr(a)});b.execute()};
uB.prototype.mw=function(a){var b=this.ox.method,c=String,d;(d=this.ox.apiVersion)||(d=String(b).split(".")[0],d=_.M("googleapis.config/versions/"+b)||_.M("googleapis.config/versions/"+d)||"v1",d=String(d));c=c(d);a={jsonrpc:"2.0",id:a,method:b,apiVersion:c};(b=this.ox.rpcParams)&&(a.params=b);return a};
uB.prototype.Lr=function(a){return function(b,c){if(b)if(b.error){var d=b.error;null==d.error&&(d.error=_.Yj(b.error))}else d=b.result||b.data,_.ob(d)&&null==d.result&&(d.result=_.Yj(b.result||b.data));else d=!1;a(d,c)}};uB.prototype.execute=uB.prototype.execute;
var wB=function(a,b){this.Gf=b||0;2==this.Gf?(b=null,null!=a&&_.ob(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.nb=new uB(b)):(0==this.Gf&&(b=a&&a.callback)&&(a.callback=vB(b)),b=null,null!=a&&(_.ob(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):"string"===typeof a&&(b=a)),
this.nb=new qB(b))},vB=function(a){return function(b){if(null!=b&&_.ob(b)&&b.error){var c=oB(b);b=_.Mf([{id:"gapiRpc",error:c}]);c.error=_.ly(c)}else null==b&&(b={}),c=_.ly(b),c.result=_.ly(b),b=_.Mf([{id:"gapiRpc",result:b}]);a(c,b)}};_.h=wB.prototype;_.h.getFormat=function(){return this.Gf};_.h.execute=function(a){this.nb.execute(a&&1==this.Gf?vB(a):a)};_.h.then=function(a,b,c){2==this.Gf&&pB('The "then" method is not available on this object.');return this.nb.then(a,b,c)};
_.h.Cx=function(a){this.nb.Cx&&this.nb.Cx(a)};_.h.Ce=function(){if(this.nb.Ce)return this.nb.Ce()};_.h.oj=function(){this.nb.Ce&&this.nb.oj()};_.h.Zl=function(){if(this.nb.Zl)return this.nb.Zl()};_.h.mw=function(a){if(this.nb.mw)return this.nb.mw(a)};_.h.ui=function(a){this.nb.ui&&this.nb.ui(a)};_.h.Vq=function(){return this.nb.Vq()};_.h.Qh=function(){if(this.nb.Qh)return this.nb.Qh()};wB.prototype.execute=wB.prototype.execute;wB.prototype.then=wB.prototype.then;wB.prototype.getPromise=wB.prototype.Qh;
var xB=/<response-(.*)>/,yB=/^application\/http(;.+$|$)/,zB=["clients6.google.com","content.googleapis.com","www.googleapis.com"],AB=function(a,b){a=_.eh(a,b);if(!a)throw new UA("Unable to retrieve header.");return a},BB=function(a){var b=void 0;a=_.la(a);for(var c=a.next();!c.done;c=a.next()){c=c.value.Ce().apiId;if("string"!==typeof c)return"batch";if(void 0===b)b=c;else if(b!=c)return"batch"}return _.M("client/batchPath/"+b)||"batch/"+b.split(":").join("/")},CB=function(a){a=a.map(function(b){return b.request});
return BB(a)},DB=function(a,b){var c=[];a=a.Ce();var d=function(f,g){_.Il(f,function(k,l){g.push(l+": "+k)})},e={"Content-Type":"application/http","Content-Transfer-Encoding":"binary"};e["Content-ID"]="<"+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")},GB=function(a,b){a=EB(a,b);var c={};_.Kb(a,function(d,e){c[e]=FB(d,e)});return c},FB=function(a,b){return{result:a.result||a.body,rawResult:_.Mf({id:b,result:a.result||a.body}),
id:b}},EB=function(a,b){a=(0,_.Db)(a);_.Wq(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.ze();for(var c=0;c<a.length;c++)if(a[c]){var d;if(d=a[c]){_.Wq(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=HB(d,e);e<d.length&&""!=d[e];)e++;e++;var g=d[e++].split(" ");f.status=Number(g[1]);f.statusText=g.slice(2).join(" ");for(f.headers=HB(d,e);e<d.length&&""!=d[e];)e++;e++;f.body=d.slice(e).join("\r\n");
eB(f);d=f}else d=null;e=_.ze();f=AB(d.outerHeaders,"Content-Type");if(null==yB.exec(f))throw new UA("Unexpected Content-Type <"+f+">");f=AB(d.outerHeaders,"Content-ID");f=xB.exec(f);if(!f)throw new UA("Unable to recognize Content-Id.");e.id=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=_.Lf(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},HB=
function(a,b){for(var c=[];b<a.length&&a[b];b++)c.push(a[b]);return _.gh(c.join("\r\n"),!1)},IB=function(a,b,c){a=a||b;if(!a||"https"!==_.qu(a).fe)if(a=c?_.M("googleapis.config/root-1p"):_.M("googleapis.config/root"),!a)return!1;a=TA(c,String(a))||a;return zB.includes(_.qu(a).Gc)};
var JB=function(a){VA.call(this,JB.prototype.Hm);this.Ef={};this.Ut={};this.Tk=[];this.Me=a;this.pZ=!!a;this.uK=this.Cv=!1;this.lJ=SA();this.kJ=SA()||RA("GBD_STAGE1_MOD","stage1")};_.B(JB,VA);var KB=function(a,b){a=_.la(Object.values(a.Ef));for(var c=a.next();!c.done;c=a.next())if(c.value.map(function(d){return d.id}).includes(b))return!0;return!1};JB.prototype.vn=function(a){(function(b){setTimeout(function(){throw b;})})(a)};
JB.prototype.add=function(a,b){var c=b||_.ze();b=_.ze();if(!a)throw new UA("Batch entry "+(_.Ae(c,"id")?'"'+c.id+'" ':"")+"is missing a request method");a.oj();b.request=a;var d=_.Ek();d=new nB(d);b.Ko=d;a.Cx(b.Ko.promise);d=a.Ce().headers;_.ti(d)&&(this.Cv=!0);(d=String((d||{}).Authorization||"")||null)&&d.match(/^Bearer|MAC[ \t]/i)&&(this.uK=!0);d=a.Ce().root;if(!this.pZ){if(d&&this.Me&&d!=this.Me)throw new UA('The "root" provided in this request is not consistent with that of existing requests in the batch.');
this.Me=d||this.Me}if(_.Ae(c,"id")){d=c.id;if(KB(this,d))throw new UA('Batch ID "'+d+'" already in use, please use another.');b.id=d}else{do b.id=String(Math.round(2147483647*(0,_.Eg)()));while(KB(this,b.id))}b.callback=c.callback;c="batch";IB(this.Me,a.Ce().path,this.Cv)&&(this.kJ&&(c=CB([b])),this.kJ&&!this.lJ&&("batch"!==c||this.Ef.batch?this.Ef.batch&&(c="batch"):(a=Array.from(Object.values(this.Ef)).flat(),this.Ef={},this.Ef.batch=a)));this.Ef[c]=this.Ef[c]||[];this.Ef[c].push(b);this.Ut[b.id]=
b;return b.id};
var LB=function(a){for(var b=[],c=IB(a.Me,void 0,a.Cv),d=_.la(Object.entries(a.Ef)),e=d.next();!e.done;e=d.next()){e=_.la(e.value);var f=e.next().value;e=e.next().value;for(var g=!0,k=_.la(e),l=k.next();!l.done;l=k.next())l=l.value,l.request.oj(),a.lJ&&"batch"===f&&c&&(g=!1,l.SY=!0,l.request.Ce.root=a.Me,b.push(l.request),a.Tk.push([l]));if(g){f=a.Me;g=a.Cv;k=a.uK;l="batch"+String(Math.round(2147483647*(0,_.Eg)()))+String(Math.round(2147483647*(0,_.Eg)()));var m="--"+l;l="multipart/mixed; boundary="+l;
for(var n={path:CB(e),method:"POST"},p=[],t=0;t<e.length;t++)p.push(DB(e[t].request,[m.substr(m.indexOf("--")+2),"+",encodeURIComponent(e[t].id).split("(").join("%28").split(")").join("%29").split(".").join("%2E"),"@googleapis.com"].join("")));n.body=[m,p.join("\r\n"+m+"\r\n"),m+"--"].join("\r\n")+"\r\n";n.root=f||null;_.M("client/xd4")&&QA()?(n.isXd4=!0,n.params={$ct:l},n.headers={},_.fh(n.headers,"Content-Type","text/plain; charset=UTF-8"),g?n.authType="1p":k&&(n.authType="oauth2"),f=new qB(n)):
(n.headers={},_.fh(n.headers,"Content-Type",l),f=NA(n));b.push(f);a.Tk.push(e)}}return b};JB.prototype.execute=function(a){if(!(1>Object.keys(this.Ef).length)){var b=this.Lr(a);a=LB(this);var c=[],d=a.map(function(e){return new _.uk(function(f){try{e.execute(function(g,k){return f({vH:g,N_:k})})}catch(g){c.push(g),f({vH:{Vu:!1,reason:g}})}})});if(0<c.length&&c.length===a.length)throw c[0];_.Ck(d).then(function(e){var f=e.map(function(g){return g.N_});e=e.map(function(g){return g.vH});b(e,f)})}};
JB.prototype.Hm=function(){var a=this;if(1>Object.keys(this.Ef).length)return Promise.resolve({});var b=LB(this).map(function(c){return new _.uk(function(d,e){return c.Qh().then(d,e)})});return JA(b).then(function(c){c=c.map(function(d){return d.Vu?d.value:d});return MB(a,c,!0)})};
var NB=function(a,b,c,d,e){var f={};if(d){f=c?EB:GB;c=AB(b.headers,"Content-Type").split("boundary=")[1];if(!c)throw new UA("Boundary not indicated in response.");f=f(b.body,"--"+c)}else c?(b.result=_.Lf(b.body),f[e]=b):f[e]=FB(b,e);b={};f=_.la(Object.entries(f));for(c=f.next();!c.done;c=f.next())if(d=_.la(c.value),c=d.next().value,d=d.next().value,b[c]=d,!a.Ut[c])throw new UA("Could not find batch entry for id "+c+".");return b},MB=function(a,b,c,d,e){for(var f=!1,g={},k,l=0,m=0;m<b.length;m++){var n=
b[m];if(!1===n.Vu){l++;b[m]=n.reason;var p=OB([b[m]]),t=_.la(a.Tk[m]);for(n=t.next();!n.done;n=t.next())g[n.value.id]=p}else{if(1>a.Tk[m].length)throw new UA("Error processing batch responses.");try{var r=!(1===a.Tk[m].length&&a.Tk[m][0].SY),u=a.Tk[m][0].id;if(!c){p=n;var v=d[m];t=p;if(v&&(!t||!r)){var w=_.Lf(v);w&&(t=w.gapiRequest?w.gapiRequest.data:w,!r&&p&&(t.body=p))}if(!t)throw new UA("The batch response is missing.");n=t}p=void 0;if(t=n){var y=t.headers;if(y){var C=_.ze();for(p in y)if(Object.prototype.hasOwnProperty.call(y,
p)){var A=_.eh(y,p);_.fh(C,p,A,!0)}t.headers=C}}if(r&&0!=AB(n.headers,"Content-Type").indexOf("multipart/mixed"))throw new UA("The response's Content-Type is not multipart/mixed.");k=k||_.ly(n);var F=PA(n);F&&!PA(k)&&(k.status=n.status,k.statusText=n.statusText);if(F||c||!r)f=!0,g=Object.assign(g,NB(a,n,c,r,u))}catch(H){for(l++,b[m]=H,p=OB([H]),t=_.la(a.Tk[m]),n=t.next();!n.done;n=t.next())g[n.value.id]=p}}}if(l===b.length){d=OB(b);g=_.Mf(d);k=0;a=Array.from(Object.values(a.Ef)).flat();f=_.la(a);
for(l=f.next();!l.done;l=f.next())if(l=l.value,c)l.Ko.reject(d);else if(l.callback)try{k++,l.callback(d,g)}catch(H){JB.prototype.vn(H)}if(e)try{e(d,g)}catch(H){JB.prototype.vn(H)}else if(k!==a.length)throw 1===b.length?b[0]:d;}else{if(f)for(f=_.la(Object.entries(g)),l=f.next();!l.done;l=f.next())if(l=_.la(l.value),m=l.next().value,l=l.next().value,c)m=a.Ut[m],l&&PA(l)?m.Ko.resolve(l):m.Ko.reject(l);else if(m=a.Ut[m],m.callback){if(l&&l.rawResult)try{delete l.rawResult}catch(H){}try{m.callback(l||
!1,_.Mf(l))}catch(H){JB.prototype.vn(H)}}k.result=g||{};k.body=1===b.length?k.body:"";if(e)try{e(g||null,1===d.length?d[0]:null)}catch(H){JB.prototype.vn(H)}return k}},OB=function(a){var b={error:{code:0,message:"The batch request could not be fulfilled.  "}};a=_.la(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.message||c.message?b.error.message+=(c.message||c.message)+"  ":c&&c.error&&c.error.message&&(b.error.message+=c.error.message+"  ",b.error.code=c.error.code||b.error.code||0);b.error.message=
b.error.message.trim();return{result:b,body:_.Mf(b),headers:null,status:null,statusText:null}};JB.prototype.Lr=function(a){var b=this;return function(c,d){b.dz(c,d,a)}};JB.prototype.dz=function(a,b,c){MB(this,a,!1,b,c)};JB.prototype.add=JB.prototype.add;JB.prototype.execute=JB.prototype.execute;JB.prototype.then=JB.prototype.then;
var PB=function(){this.lk=[];this.Me=this.Uc=null};
PB.prototype.add=function(a,b){b=b||{};var c={},d=Object.prototype.hasOwnProperty;if(a)c.rpc=a;else throw new UA("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.lk.length;d++)if(this.lk[d].id==a)throw new UA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(2147483647*(0,_.Eg)()|0);while(d.call(this.lk,c.id))}c.callback=b.callback;this.lk.push(c);return c.id};
var QB=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)}};
PB.prototype.execute=function(a){this.Uc=[];for(var b,c,d=0;d<this.lk.length;d++)b=this.lk[d],c=b.rpc,this.Uc.push(c.mw(b.id)),this.Me=c.Zl()||this.Me;c=this.Lr(a);a={requests:this.Uc,root:this.Me};b={};d=a.headers||{};for(var e in d){var f=e;if(Object.prototype.hasOwnProperty.call(d,f)){var g=_.eh(d,f);g&&(f=_.ch(f,g)||_.bh(f))&&_.fh(b,f,g)}}_.fh(b,"Content-Type","application/json");e=QB(c);NA({method:"POST",root:a.root||void 0,path:"/rpc",params:a.urlParams,headers:b,body:a.requests||[]}).then(e,
e)};PB.prototype.Lr=function(a){var b=this;return function(c,d){b.dz(c,d,a)}};PB.prototype.dz=function(a,b,c){a||(a={});for(var d=0;d<this.lk.length;d++){var e=this.lk[d];e.callback&&e.callback(a[e.id]||!1,b)}c&&c(a,b)};OA.yH(function(){return new PB});PB.prototype.add=PB.prototype.add;PB.prototype.execute=PB.prototype.execute;
var RB=function(a,b){this.q_=a;this.Gf=b||null;this.We=null};RB.prototype.pC=function(a){this.Gf=a;this.We=2==this.Gf?new PB:new JB(this.q_)};RB.prototype.add=function(a,b){if(!a)throw a=b||_.ze(),new UA("Batch entry "+(_.Ae(a,"id")?'"'+a.id+'" ':"")+"is missing a request method");null===this.Gf&&this.pC(a.getFormat());this.Gf!==a.getFormat()&&pB("Unable to add item to batch.");var c=b&&b.callback;1==this.Gf&&c&&(b.callback=function(d){d=SB(d);var e=_.Mf([d]);c(d,e)});return this.We.add(a,b)};
RB.prototype.execute=function(a){var b=a&&1==this.Gf?function(c){var d=[];_.Il(c,function(f,g){f=SB(f);c[g]=f;d.push(f)});var e=_.Mf(d);a(c,e)}:a;this.We&&this.We.execute(b)};var SB=function(a){var b=a?_.Vt(a,"result"):null;_.ob(b)&&null!=b.error&&(b=oB(b),a={id:a.id,error:b});return a};RB.prototype.then=function(a,b,c){2==this.Gf&&pB('The "then" method is not available on this object.');return this.We.then(a,b,c)};RB.prototype.add=RB.prototype.add;RB.prototype.execute=RB.prototype.execute;
RB.prototype.then=RB.prototype.then;
var TB=function(a){VA.call(this,TB.prototype.Hm);this.nb=a};_.B(TB,VA);var UB=function(a){if(!SA())return!1;a.nb.oj();var b=a.nb,c=b.Ce();return!(IB(c.root,c.path,a.nb.Vq())?"batch"!==BB([b]):1)};_.h=TB.prototype;
_.h.execute=function(a){var b=this;if(UB(this))this.nb.execute(a);else{var c=function(d){if(_.pb(a)){var e={gapiRequest:{data:{status:d&&d.status,statusText:d&&d.statusText,headers:d&&d.headers,body:d&&d.body}}};if(1===b.getFormat()){a=vB(a);var f={}}var g=d?d.result:!1;d&&204==d.status&&(g=f,delete e.gapiRequest.data.body);a(g,_.Mf(e))}};this.Qh().then(c,c)}};
_.h.Hm=function(){return UB(this)?this.nb.Qh():new _.uk(function(a,b){var c=LA(),d=c.add(this.nb,{id:"gapiRequest"});return c.then(function(e){var f=e.result;if(f&&(f=f[d])){Object.prototype.hasOwnProperty.call(f,"result")||(f.result=!1);Object.prototype.hasOwnProperty.call(f,"body")||(f.body="");PA(f)?a(f):b(f);return}b(e)},b)},this)};_.h.Ce=function(){if(this.nb.Ce)return this.nb.Ce()};_.h.oj=function(){this.nb.oj&&this.nb.oj()};_.h.Zl=function(){if(this.nb.Zl)return this.nb.Zl()};
_.h.ui=function(a){this.nb.ui&&this.nb.ui(a)};_.h.Vq=function(){return this.nb.Vq()};_.h.getFormat=function(){return this.nb.getFormat?this.nb.getFormat():0};_.h.Qh=function(){return this.Hm()};TB.prototype.execute=TB.prototype.execute;TB.prototype.then=TB.prototype.then;TB.prototype.getPromise=TB.prototype.Qh;
var VB="/rest?fields="+encodeURIComponent("kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id")+"&pp=0",WB=function(a,b){return"/discovery/v1/apis/"+(encodeURIComponent(a)+"/"+encodeURIComponent(b)+VB)},YB=function(a,b,c,d){if(_.ob(a)){var e=a;var f=a.name;a=a.version||"v1"}else f=a,a=b;if(!f||!a)throw new UA("Missing required parameters.");var g=c||function(){},k=_.ob(d)?d:{};c=function(l){var m=l&&l.result;if(!m||m.error||!m.name||!l||l.error||l.message||l.message)g(m&&
m.error?m:l&&(l.error||l.message||l.message)?l:new UA("API discovery response missing required fields."));else{l=k.root;l=null!=m.rootUrl?String(m.rootUrl):l;l="string"===typeof l?l.replace(/([^\/])\/$/,"$1"):void 0;k.root=l;m.name&&m.version&&!m.id&&(m.id=[m.name,m.version].join(":"));m.id&&(k.apiId=m.id,l="client/batchPath/"+m.id,m.batchPath&&!_.M(l)&&_.Re(l,m.batchPath));var n=m.servicePath,p=m.parameters,t=function(u){_.Il(u,function(v){if(!(v&&v.id&&v.path&&v.httpMethod))throw new UA("Missing required parameters");
var w=v.id.split("."),y=window.gapi.client,C;for(C=0;C<w.length-1;C++){var A=w[C];y[A]=y[A]||{};y=y[A]}var F,H;k&&(k.hasOwnProperty("root")&&(F=k.root),k.hasOwnProperty("apiId")&&(H=k.apiId));A=window.gapi.client[w[0]];A.WF||(A.WF={servicePath:n||"",parameters:p,apiId:H});w=w[C];y[w]||(y[w]=_.Nj(XB,{path:"string"===typeof v.path?v.path:null,httpMethod:"string"===typeof v.httpMethod?v.httpMethod:null,parameters:v.parameters,parameterName:(v.request||{}).parameterName||"",request:v.request,root:F},
A.WF))})},r=function(u){_.Il(u,function(v){t(v.methods);r(v.resources)})};r(m.resources);t(m.methods);g.call()}};e?c({result:e}):0<f.indexOf("://")?NA({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):NA({path:WB(f,
a),root:d&&d.root}).then(c,c)},XB=function(a,b,c,d){var e=b.servicePath||"";_.rd(e,"/")||(e="/"+e);var f=ZB(a.path,[a.parameters,b.parameters],c||{});c=f.Pk;var g=f.e3;e=_.ty(e,f.path);f=g.root;delete g.root;var k=a.parameterName;!k&&1==_.jy(g)&&g.hasOwnProperty("resource")&&(k="resource");if(k){var l=g[k];delete g[k]}null==l&&(l=d);null==l&&a.request&&(_.Xq(g)&&(g=void 0),l=g);k={};var m=a.httpMethod;"GET"==m&&void 0!==l&&""!=String(l)&&(_.fh(k,"X-HTTP-Method-Override",m),m="POST");if((null==l||
null!=d)&&g)for(var n in g)"string"===typeof g[n]&&(c[n]=g[n]);return NA({path:e,method:m,params:c,headers:k,body:l,root:f||a.root,apiId:b.apiId},1)},ZB=function(a,b,c){c=_.Yj(c);var d={};_.Hl(b,function(e){_.Il(e,function(f,g){var k=f.required;if("path"==f.location)if(Object.prototype.hasOwnProperty.call(c,g))-1!=a.indexOf("{"+g+"}")?(f=_.vh(c[g]),a=a.replace("{"+g+"}",f)):-1!=a.indexOf("{+"+g+"}")&&(f=encodeURI(String(c[g])),a=a.replace("{+"+g+"}",f)),delete c[g];else{if(k)throw new UA("Required path parameter "+
g+" is missing.");}else"query"==f.location&&Object.prototype.hasOwnProperty.call(c,g)&&(d[g]=c[g],delete c[g])})});if(b=c.trace)d.trace=b,delete c.trace;return{path:a,Pk:d,e3:c}};
var $B=function(a,b,c,d){var e=b||"v1",f=_.ob(d)?d:{root:d};if(c)YB(a,e,function(g){if(g)if(g.error)c(g);else{var k="API discovery was unsuccessful.";if(g.message||g.message)k=g.message||g.message;c({error:k,code:0})}else c()},f);else return new _.uk(function(g,k){var l=function(m){m?k(m):g()};try{YB(a,e,l,f)}catch(m){k(m)}})},aC=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),bC=function(a,b){if(!a)throw new UA("Missing required parameters");
var c="object"===typeof a?a:{path:a};a=c.callback;delete c.callback;b=new wB(c,b);if(c=!!_.M("client/xd4")&&QA()){var d=b.Ce();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(aC)}c&&(b=new TB(b));return a?(b.execute(a),null):b};OA.zH(function(a){return bC.apply(null,arguments)});
var cC=function(a,b){if(!a)throw new UA("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 g=b||{};d[c]=function(k){var l="string"==typeof g?g:g.root;k&&k.root&&(l=k.root);return new wB({method:a,apiVersion:g.apiVersion,rpcParams:k,transport:{name:"googleapis",root:l}},2)}}},dC=function(a){return new RB(a)};OA.xH(function(a){return dC.apply(null,arguments)});var eC=function(a){_.$e(a+" is deprecated. See https://developers.google.com/api-client-library/javascript/reference/referencedocs")};
_.z("gapi.client.init",function(a){a.apiKey&&_.Re("client/apiKey",a.apiKey);var b=(0,_.zb)(a.discoveryDocs||[],function(d){return $B(d)});if((a.clientId||a.client_id)&&a.scope){var c=new _.uk(function(d,e){_.q.gapi.load("auth2",{callback:function(){_.q.gapi.auth2.init.call(_.q.gapi.auth2,a).then(function(){d()},e)},onerror:function(f){e(f||Error("xa"))}})});b.push(c)}else(a.clientId||a.client_id||a.scope)&&_.$e("client_id and scope must both be provided to initialize OAuth.");return _.Ck(b).then(function(){})});
_.z("gapi.client.load",$B);_.z("gapi.client.newBatch",dC);_.z("gapi.client.newRpcBatch",function(){eC("gapi.client.newRpcBatch");return dC()});_.z("gapi.client.newHttpBatch",function(a){eC("gapi.client.newHttpBatch");return new RB(a,0)});_.z("gapi.client.register",function(a,b){eC("gapi.client.register");var c;b&&(c={apiVersion:b.apiVersion,root:b.root});cC(a,c)});_.z("gapi.client.request",bC);
_.z("gapi.client.rpcRequest",function(a,b,c){eC("gapi.client.rpcRequest");if(!a)throw new UA('Missing required parameter "method".');return new wB({method:a,apiVersion:b,rpcParams:c,transport:{name:"googleapis",root:c&&c.root||""}},2)});_.z("gapi.client.setApiKey",function(a){_.Re("client/apiKey",a);_.Re("googleapis.config/developerKey",a)});_.z("gapi.client.setApiVersions",function(a){eC("gapi.client.setApiVersions");_.Re("googleapis.config/versions",a)});_.z("gapi.client.getToken",function(a){return _.Mh(a)});
_.z("gapi.client.setToken",function(a,b){a?_.rw(a,b):_.sw(b)});_.z("gapi.client.AuthType",{U3:"auto",NONE:"none",n8:"oauth2",h6:"1p"});_.z("gapi.client.AuthType.AUTO","auto");_.z("gapi.client.AuthType.NONE","none");_.z("gapi.client.AuthType.OAUTH2","oauth2");_.z("gapi.client.AuthType.FIRST_PARTY","1p");

});
// Google Inc.
