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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var rx=function(){};rx.prototype.JG=null;rx.prototype.getOptions=function(){var a;(a=this.JG)||(a={},_.sx(this)&&(a[0]=!0,a[1]=!0),a=this.JG=a);return a};
var ux;ux=function(){};_.B(ux,rx);_.sx=function(a){if(!a.GJ&&"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.GJ=d}catch(e){}}throw Error("ma");}return a.GJ};_.tx=new ux;

_.Ue=_.Ue||{};
(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}_.Ue.createElement=function(b){if(!document.body||document.body.namespaceURI)try{var c=document.createElementNS("http://www.w3.org/1999/xhtml",b)}catch(d){}return c||document.createElement(b)};_.Ue.createIframeElement=function(b){var c=_.Ue.createElement("iframe");try{var d=
["<","iframe"],e=b||{},f;for(f in e)e.hasOwnProperty(f)&&(d.push(" "),d.push(f),d.push('="'),d.push(_.Ue.escapeString(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var g=_.Ue.createElement(d.join(""));g&&(!c||g.tagName==c.tagName&&g.namespaceURI==c.namespaceURI)&&(c=g)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Ue.getBodyElement=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml",
"body");if(b&&1==b.length)return b[0]}catch(c){}return document.documentElement||document};_.Ue.Iaa=function(b){return a(b)}})();

_.wg.getOrigin=function(a){return _.yg(a)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Hh;_.Gh=function(a){this.ub=a||{cookie:""}};_.h=_.Gh.prototype;_.h.isEnabled=function(){return navigator.cookieEnabled};
_.h.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.Uba;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var k=c.BK}if(/[;=\s]/.test(a))throw Error("z`"+a);if(/[;\r\n]/.test(b))throw Error("A`"+b);void 0===k&&(k=-1);c=f?";domain="+f:"";g=g?";path="+g:"";d=d?";secure":"";k=0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,_.Ya)()+1E3*k)).toUTCString();this.ub.cookie=a+"="+b+c+g+k+d+(null!=e?";samesite="+e:"")};
_.h.get=function(a,b){for(var c=a+"=",d=(this.ub.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.xb)(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};_.h.remove=function(a,b,c){var d=this.Ud(a);this.set(a,"",{BK:0,path:b,domain:c});return d};_.h.Be=function(){return Hh(this).keys};_.h.Xc=function(){return Hh(this).values};_.h.isEmpty=function(){return!this.ub.cookie};_.h.Fb=function(){return this.ub.cookie?(this.ub.cookie||"").split(";").length:0};
_.h.Ud=function(a){return void 0!==this.get(a)};_.h.Wj=function(a){for(var b=Hh(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.h.clear=function(){for(var a=Hh(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Hh=function(a){a=(a.ub.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.xb)(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}};
_.Ih=new _.Gh("undefined"==typeof document?null:document);

var Kh,Lh,Nh;
_.Jh=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var t=g,r=0;64>r;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var u=e[1],v=e[2],w=e[3],z=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var C=w^u&(v^w);var A=1518500249}else C=u^v^w,A=1859775393;else 60>r?(C=u&v|w&(u|v),A=2400959708):(C=u^v^w,A=3395469782);C=((p<<5|p>>>27)&4294967295)+
C+z+A+t[r]&4294967295;z=w;w=v;v=(u<<30|u>>>2)&4294967295;u=p;p=C}e[0]=e[0]+p&4294967295;e[1]=e[1]+u&4294967295;e[2]=e[2]+v&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+z&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],u=0,v=p.length;u<v;++u)r.push(p.charCodeAt(u));p=r}t||(t=p.length);r=0;if(0==m)for(;r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64;for(;r<t;)if(f[m++]=p[r++],n++,64==m)for(m=0,b(f);r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64}function d(){var p=[],
t=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var u=24;0<=u;u-=8)p[t++]=e[r]>>u&255;return p}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Qg:function(){for(var p=d(),t="",r=0;r<p.length;r++)t+="0123456789ABCDEF".charAt(Math.floor(p[r]/16))+"0123456789ABCDEF".charAt(p[r]%16);return t}}};Kh=function(a){var b=_.Jh();b.update(a);return b.Qg().toLowerCase()};
Lh=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],(0,_.rb)(d,function(k){e.push(k)}),Kh(e.join(" "));var f=[],g=[];(0,_.rb)(c,function(k){g.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];(0,_.rb)(d,function(k){e.push(k)});a=Kh(e.join(" "));a=[c,a];0==g.length||a.push(g.join(""));return a.join("_")};
_.Mh=function(a){var b={SAPISIDHASH:!0,APISIDHASH:!0};return a&&(a.OriginToken||a.Authorization&&b[String(a.Authorization).split(" ")[0]])?!0:!1};Nh=function(){var a=_.q.__SAPISID||_.q.__APISID||_.q.__OVERRIDE_SID;if(a)return!0;a=new _.Gh(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.Oh=function(a){var b=_.yg(String(_.q.location.href));if(Nh()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?_.q.__SAPISID:_.q.__APISID;c||(c=new _.Gh(document),c=c.get(b?"SAPISID":"APISID")||c.get("__Secure-3PAPISID"));if(c){b=b?"SAPISIDHASH":"APISIDHASH";var d=String(_.q.location.href);return d&&c&&b?[b,Lh(_.yg(d),c,a||null)].join(" "):null}}return null};
_.Ph={uW:_.Mh,yX:Nh,GU:function(){var a=null;Nh()&&(a=window.__PVT,null==a&&(a=(new _.Gh(document)).get("BEAT")));return a},gA:_.Oh};

/*

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

_.di={};_.ei=function(a){return _.di[a||"token"]||null};

var fi;
fi=function(a,b){a=_.Ue.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};
_.gi=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 z=g("root-1p")||w;w=w||"https://content.googleapis.com";z=z||"https://clients6.google.com";var C=g("xd3")||"/static/proxy.html";w=(u||String(t?z:w))+C}w=String(w);r&&(w+=(0<=w.indexOf("?")?"&":"?")+"usegapi=1");(t=_.Ue.getUrlParameters().jsh||_.Ge.h)&&(w+=(0<=w.indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(t));w+="#parent="+encodeURIComponent(null!=v?String(v):_.wg.getOrigin(document.location.href));
return w+("&rpctoken="+p)}function c(p,t,r,u,v){var w=e(r,u,v);l[w]||(r=fi(w,t),_.Rf.register("ready:"+p,function(){_.Rf.unregister("ready:"+p);if(!m[w]){m[w]=!0;var z=n[w];n[w]=[];for(var C=0,A=z.length;C<A;++C){var F=z[C];f(F.rpc,F.SZ,F.callback)}}}),_.Rf.setupReceiver(w,t),l[w]=r)}function d(p,t,r){var u=String(2147483647*_.$h()|0),v=b(u,p,t,r);_.Pf(function(){c(u,v,p,t,r)})}function e(p,t,r){p=b("",p,t,r,"");r=k[p+t];if(!r){r=new _.Th;r.ox(p);r=r.Qg().toLowerCase();var u=_.$h();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(G){if(G){if("undefined"!=typeof u&&"undefined"!=typeof G.root&&u!=G.root)throw"all requests in a batch must have the same root URL";u=G.root||u;v=_.Ph.uW(G.headers)}};if(t)for(var z=0,C=t.length;z<C;++z){var A=t[z];A&&w(A.params)}w=!!g("useGapiForXd3");var F=e(v,w,u);l[F]||d(v,w,u);m[F]?_.Rf.call(F,p,function(G){if(this.f==F&&this.t==_.Rf.getAuthToken(this.f)&&this.origin==
_.Rf.getTargetOrigin(this.f)){var Y=_.If(G);r(Y,G)}},t):(n[F]||(n[F]=[]),n[F].push({rpc:p,SZ:t,callback:r}))}function g(p){return _.N("googleapis.config/"+p)}var k={},l={},m={},n={};return{wR: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=_.ei())&&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&&_.Ph.yX()){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=_.Ph.gA(w)}else r=_.Ph.gA();r&&(t=_.Fh(t),t=p["X-Goog-AuthUser"]||t,_.Se(_.rh(t))&&(!a()||a()&&_.Se(_.rh(g("primaryEmail")))&&_.Se(_.rh(g("appDomain")))&&_.Se(_.rh(g("fogId"))))&&(t="0"),_.Se(_.rh(t))||(p["X-Goog-AuthUser"]=t))}r?p.Authorization=r:!1!==g("auth/useOriginToken")&&(v=_.Ph.GU())&&(p.OriginToken=v)}return p},qj:f}}();

var Ig={AUTHORIZATION:"Authorization",GO:"Content-ID",X2:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",B3:"Date",W6:"OriginToken",p$:"WWW-Authenticate",q$:"X-ClientDetails",r$:"X-Compass-Routing-Destination",s$:"X-Goog-AuthUser",t$:"X-Goog-Encode-Response-If-Executable",u$:"X-Goog-Meeting-Botguardid",v$:"X-Goog-Meeting-ClientVersion",w$:"X-Goog-Meeting-Debugid",x$:"X-Goog-Meeting-RtcClient",y$:"X-Goog-Meeting-Token",z$:"X-Goog-PageId",A$:"X-Goog-Safety-Content-Type",B$:"X-Goog-Safety-Encoding",
C$:"X-HTTP-Method-Override",D$:"X-JavaScript-User-Agent",E$:"X-Origin",F$:"X-Referer",G$:"X-Requested-With",H$:"X-Use-HTTP-Status-Code-Override"},Jg="Accept Accept-Language Authorization Cache-Control cast-device-capabilities Content-Disposition Content-Encoding Content-Language Content-Length Content-MD5 Content-Range Content-Transfer-Encoding Content-Type Date EES-S7E-MODE 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-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-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-request-params 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-Encoding X-Goog-Upload-Header-Content-Length X-Goog-Upload-Header-Content-Type X-Goog-Upload-Header-Transfer-Encoding 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-ClientVersion X-Goog-Meeting-Debugid X-Goog-Meeting-RtcClient X-Goog-Meeting-Token X-Sfdc-Authorization".split(" "),
Kg="Digest Cache-Control Content-Disposition Content-Encoding Content-Language Content-Length Content-MD5 Content-Range Content-Transfer-Encoding Content-Type Date ETag Expires Last-Modified Location Pragma Range Server Transfer-Encoding WWW-Authenticate Vary Unzipped-Content-MD5 X-Correlation-ID X-Debug-Tracking-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-RtcClient X-Goog-Meeting-Debugid X-Goog-Meeting-RtcClient X-Goog-Meeting-Token X-Compass-Routing-Destination".split(" ");
var Lg,Mg,Ng,Og,Qg,Rg,Sg,Tg,Ug,Vg,Wg,Xg;Lg=null;Mg=null;Ng=null;Og=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};
_.Pg=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};Qg={"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};
Rg={"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};
Sg=function(a){if(!_.ib(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();Og(d,e)&&(b[e]=d)}}for(var f in Ig)Object.prototype.hasOwnProperty.call(Ig,f)&&(d=Ig[f],e=d.toLowerCase(),Og(d,e)&&Object.prototype.hasOwnProperty.call(b,e)&&(b[e]=d));return b};Tg=new RegExp("("+/[\t -~\u00A0-\u2027\u202A-\uD7FF\uE000-\uFFFF]/.source+"|"+/[\uD800-\uDBFF][\uDC00-\uDFFF]/.source+"){1,100}","g");Ug=/[ \t]*(\r?\n[ \t]+)+/g;Vg=/^[ \t]+|[ \t]+$/g;
Wg=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=Wg(b[c],!0);e&&(a&&(e=a+", "+e),a=e)}}if("string"===typeof a&&(a=a.replace(Ug," "),a=a.replace(Vg,""),""==a.replace(Tg,"")&&a))return a};Xg=/^[-0-9A-Za-z!#\$%&'\*\+\.\^_`\|~]+$/g;
_.Yg=function(a){if("string"!==typeof a||!a||!a.match(Xg))return null;a=a.toLowerCase();if(null==Ng){var b=[],c=_.N("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.N("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Kg);(c=_.N("googleapis/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.N("client/headers/request"))&&
"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Jg);for(var d in Ig)Object.prototype.hasOwnProperty.call(Ig,d)&&b.push(Ig[d]);Ng=Sg(b)}return null!=Ng&&Ng.hasOwnProperty(a)?Ng[a]:a};
_.Zg=function(a,b){if(!_.Yg(a)||!Wg(b))return null;a=a.toLowerCase();if(a.match(/^x-google|^x-gfe|^proxy-|^sec-/i)||Rg[a])return null;if(null==Lg){b=[];var c=_.N("googleapis/headers/request");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.N("client/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Jg);Lg=Sg(b)}return null!=Lg&&Lg.hasOwnProperty(a)?Lg[a]:null};
_.$g=function(a,b){if(!_.Yg(a)||!Wg(b))return null;a=a.toLowerCase();if(Qg[a])return null;if(null==Mg){b=[];var c=_.N("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.N("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Kg);Mg=Sg(b)}return null!=Mg&&Mg.hasOwnProperty(a)?a:null};
_.ah=function(a,b){if(_.Yg(b)&&null!=a&&"object"===typeof a){var c=void 0,d;for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&Og(d,b)){var e=Wg(a[d]);e&&(void 0!==c&&(e=c+", "+e),c=e)}return c}};_.bh=function(a,b,c,d){var e=_.Yg(b);if(e){c&&(c=Wg(c));b=b.toLowerCase();for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&Og(f,b)&&delete a[f];c&&(d||(b=e),a[b]=c)}};
_.ch=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=_.Yg(k)){for(f=f.substring(g+1);d+1<e&&a[d+1].match(/^[ \t]/);)f+="\r\n"+a[d+1],++d;if(f=Wg(f))if(k=_.$g(k,f)||(b?void 0:k))k=k.toLowerCase(),g=_.ah(c,k),void 0!==g&&(f=g+", "+f),_.bh(c,k,f,!0)}}}return c};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.dh=function(){return _.Db("Safari")&&!(_.Kb()||_.Db("Coast")||_.Hb()||_.Db("Edge")||_.Db("Edg/")||_.Db("OPR")||_.Jb()||_.Db("Silk")||_.Db("Android"))};_.eh=function(){return _.Db("Android")&&!(_.Kb()||_.Jb()||_.Hb()||_.Db("Silk"))};_.fh=_.Jb();_.gh=_.oc()||_.Db("iPod");_.hh=_.Db("iPad");_.ih=_.eh();_.jh=_.Kb();_.kh=_.dh()&&!_.pc();

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var lh;lh={};_.mh=null;_.nh=_.yc||_.zc&&!_.kh||_.uc||!_.kh&&!_.vc&&"function"==typeof _.q.atob;_.ph=function(a,b){void 0===b&&(b=0);_.oh();b=lh[b];for(var c=[],d=0;d<a.length;d+=3){var e=a[d],f=d+1<a.length,g=f?a[d+1]:0,k=d+2<a.length,l=k?a[d+2]:0,m=e>>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;k||(l=64,f||(g=64));c.push(b[m],b[e],b[g]||"",b[l]||"")}return c.join("")};
_.oh=function(){if(!_.mh){_.mh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));lh[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===_.mh[f]&&(_.mh[f]=e)}}}};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Jp;_.Hp=function(a,b){a=a.split(".");b=b||_.q;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};_.Ip=function(a,b){b=(0,_.pb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};Jp=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
_.Kp=function(){this.Mb=this.Mb;this.mm=this.mm};_.Kp.prototype.Mb=!1;_.Kp.prototype.Un=function(){return this.Mb};_.Kp.prototype.Ea=function(){this.Mb||(this.Mb=!0,this.va())};_.Np=function(a,b){_.Lp(a,_.oj(_.Mp,b))};_.Lp=function(a,b){a.Mb?b():(a.mm||(a.mm=[]),a.mm.push(b))};_.Kp.prototype.va=function(){if(this.mm)for(;this.mm.length;)this.mm.shift()()};_.Mp=function(a){a&&"function"==typeof a.Ea&&a.Ea()};
_.Op=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.xm=!1};_.Op.prototype.stopPropagation=function(){this.xm=!0};_.Op.prototype.preventDefault=function(){this.defaultPrevented=!0};
var Qp,Rp;_.Pp=!_.vc||_.Sc(9);Qp=!_.vc||_.Sc(9);Rp=_.vc&&!_.Qc("9");!_.zc||_.Qc("528");_.yc&&_.Qc("1.9b")||_.vc&&_.Qc("8")||_.uc&&_.Qc("9.5")||_.zc&&_.Qc("528");_.yc&&!_.Qc("8")||_.vc&&_.Qc("9");var Sp=function(){if(!_.q.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.q.addEventListener("test",_.eb,b),_.q.removeEventListener("test",_.eb,b)}catch(c){}return a}();
_.Tp=_.zc?"webkitTransitionEnd":_.uc?"otransitionend":"transitionend";
_.Up=function(a,b){_.Op.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.NC=!1;this.pointerId=0;this.pointerType="";this.ye=null;a&&this.init(a,b)};_.B(_.Up,_.Op);var Vp={2:"touch",3:"pen",4:"mouse"};
_.Up.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?_.yc&&(_.rc(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(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.offsetX=_.zc||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.zc||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.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.NC=_.Bc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Vp[a.pointerType]||"";this.state=a.state;this.ye=a;a.defaultPrevented&&this.preventDefault()};_.Up.prototype.stopPropagation=function(){_.Up.H.stopPropagation.call(this);this.ye.stopPropagation?this.ye.stopPropagation():this.ye.cancelBubble=!0};
_.Up.prototype.preventDefault=function(){_.Up.H.preventDefault.call(this);var a=this.ye;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Rp)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};
var Yp;_.Wp="closure_listenable_"+(1E6*Math.random()|0);_.Xp=function(a){return!(!a||!a[_.Wp])};Yp=0;
var Zp=function(a,b,c,d,e){this.listener=a;this.mw=null;this.src=b;this.type=c;this.capture=!!d;this.Ze=e;this.key=++Yp;this.to=this.Bt=!1},$p=function(a){a.to=!0;a.listener=null;a.mw=null;a.src=null;a.Ze=null};
_.aq=function(a){this.src=a;this.yd={};this.Gs=0};_.aq.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.yd[f];a||(a=this.yd[f]=[],this.Gs++);var g=bq(a,b,d,e);-1<g?(b=a[g],c||(b.Bt=!1)):(b=new Zp(b,this.src,f,!!d,e),b.Bt=c,a.push(b));return b};_.aq.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.yd))return!1;var e=this.yd[a];b=bq(e,b,c,d);return-1<b?($p(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.yd[a],this.Gs--),!0):!1};
_.cq=function(a,b){var c=b.type;if(!(c in a.yd))return!1;var d=_.Ip(a.yd[c],b);d&&($p(b),0==a.yd[c].length&&(delete a.yd[c],a.Gs--));return d};_.aq.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.yd)if(!a||c==a){for(var d=this.yd[c],e=0;e<d.length;e++)++b,$p(d[e]);delete this.yd[c];this.Gs--}return b};_.aq.prototype.An=function(a,b,c,d){a=this.yd[a.toString()];var e=-1;a&&(e=bq(a,b,c,d));return-1<e?a[e]:null};
_.aq.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Jp(this.yd,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var bq=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.to&&f.listener==b&&f.capture==!!c&&f.Ze==d)return e}return-1};
var dq,eq,fq,jq,lq,mq,qq,pq,nq,rq;dq="closure_lm_"+(1E6*Math.random()|0);eq={};fq=0;_.hq=function(a,b,c,d,e){if(d&&d.once)return _.gq(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.hq(a,b[f],c,d,e);return null}c=_.iq(c);return _.Xp(a)?a.U(b,c,_.bb(d)?!!d.capture:!!d,e):jq(a,b,c,!1,d,e)};
jq=function(a,b,c,d,e,f){if(!b)throw Error("E");var g=_.bb(e)?!!e.capture:!!e,k=_.kq(a);k||(a[dq]=k=new _.aq(a));c=k.add(b,c,d,g,f);if(c.mw)return c;d=lq();c.mw=d;d.src=a;d.listener=c;if(a.addEventListener)Sp||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(mq(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("F");fq++;return c};
lq=function(){var a=nq,b=Qp?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};_.gq=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.gq(a,b[f],c,d,e);return null}c=_.iq(c);return _.Xp(a)?a.co(b,c,_.bb(d)?!!d.capture:!!d,e):jq(a,b,c,!0,d,e)};
_.oq=function(a){if("number"===typeof a||!a||a.to)return!1;var b=a.src;if(_.Xp(b))return b.BE(a);var c=a.type,d=a.mw;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(mq(c),d):b.addListener&&b.removeListener&&b.removeListener(d);fq--;(c=_.kq(b))?(_.cq(c,a),0==c.Gs&&(c.src=null,b[dq]=null)):$p(a);return!0};mq=function(a){return a in eq?eq[a]:eq[a]="on"+a};
qq=function(a,b,c,d){var e=!0;if(a=_.kq(a))if(b=a.yd[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.to&&(f=pq(f,d),e=e&&!1!==f)}return e};pq=function(a,b){var c=a.listener,d=a.Ze||a.src;a.Bt&&_.oq(a);return c.call(d,b)};
nq=function(a,b){if(a.to)return!0;if(!Qp){var c=b||_.Hp("window.event");b=new _.Up(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(g){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.xm&&0<=e;e--){b.currentTarget=c[e];var f=qq(c[e],a,!0,b);d=d&&f}for(e=0;!b.xm&&e<c.length;e++)b.currentTarget=c[e],f=qq(c[e],a,!1,b),d=d&&f}return d}return pq(a,new _.Up(b,
this))};_.kq=function(a){a=a[dq];return a instanceof _.aq?a:null};rq="__closure_events_fn_"+(1E9*Math.random()>>>0);_.iq=function(a){if(_.kb(a))return a;a[rq]||(a[rq]=function(b){return a.handleEvent(b)});return a[rq]};_.tj(function(a){nq=a(nq)});

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.sq=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.tq=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};_.uq=function(a){for(var b in a)return!1;return!0};_.vq=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.vq(a,b[f],c,d,e);else d=_.bb(d)?!!d.capture:!!d,c=_.iq(c),_.Xp(a)?a.jc(b,c,d,e):a&&(a=_.kq(a))&&(b=a.An(b,c,d,e))&&_.oq(b)};_.wq=function(){_.Kp.call(this);this.Ri=new _.aq(this);this.vR=this;this.IC=null};_.B(_.wq,_.Kp);
_.wq.prototype[_.Wp]=!0;_.h=_.wq.prototype;_.h.Ml=function(){return this.IC};_.h.Nw=_.da(26);_.h.addEventListener=function(a,b,c,d){_.hq(this,a,b,c,d)};_.h.removeEventListener=function(a,b,c,d){_.vq(this,a,b,c,d)};
_.h.dispatchEvent=function(a){var b,c=this.Ml();if(c)for(b=[];c;c=c.Ml())b.push(c);c=this.vR;var d=a.type||a;if("string"===typeof a)a=new _.Op(a,c);else if(a instanceof _.Op)a.target=a.target||c;else{var e=a;a=new _.Op(d,c);_.Gb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.xm&&0<=f;f--){var g=a.currentTarget=b[f];e=g.iq(d,!0,a)&&e}a.xm||(g=a.currentTarget=c,e=g.iq(d,!0,a)&&e,a.xm||(e=g.iq(d,!1,a)&&e));if(b)for(f=0;!a.xm&&f<b.length;f++)g=a.currentTarget=b[f],e=g.iq(d,!1,a)&&e;return e};
_.h.va=function(){_.wq.H.va.call(this);this.ZC();this.IC=null};_.h.U=function(a,b,c,d){return this.Ri.add(String(a),b,!1,c,d)};_.h.co=function(a,b,c,d){return this.Ri.add(String(a),b,!0,c,d)};_.h.jc=function(a,b,c,d){return this.Ri.remove(String(a),b,c,d)};_.h.BE=function(a){return _.cq(this.Ri,a)};_.h.ZC=function(a){this.Ri&&this.Ri.removeAll(a)};
_.h.iq=function(a,b,c){a=this.Ri.yd[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.to&&f.capture==b){var g=f.listener,k=f.Ze||f.src;f.Bt&&this.BE(f);d=!1!==g.call(k,c)&&d}}return d&&!c.defaultPrevented};_.h.An=function(a,b,c,d){return this.Ri.An(String(a),b,c,d)};_.h.hasListener=function(a,b){return this.Ri.hasListener(void 0!==a?String(a):void 0,b)};

/*

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.jt=function(a,b){this.Ha={};this.Pb=[];this.Js=this.Wb=0;var c=arguments.length;if(1<c){if(c%2)throw Error("h");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};_.h=_.jt.prototype;_.h.Fb=function(){return this.Wb};_.h.Xc=function(){kt(this);for(var a=[],b=0;b<this.Pb.length;b++)a.push(this.Ha[this.Pb[b]]);return a};_.h.Be=function(){kt(this);return this.Pb.concat()};_.h.Ud=function(a){return _.lt(this.Ha,a)};_.h.Wj=_.da(9);
_.h.equals=function(a,b){if(this===a)return!0;if(this.Wb!=a.Fb())return!1;b=b||mt;kt(this);for(var c,d=0;c=this.Pb[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var mt=function(a,b){return a===b};_.jt.prototype.isEmpty=function(){return 0==this.Wb};_.jt.prototype.clear=function(){this.Ha={};this.Js=this.Wb=this.Pb.length=0};_.jt.prototype.remove=function(a){return _.lt(this.Ha,a)?(delete this.Ha[a],this.Wb--,this.Js++,this.Pb.length>2*this.Wb&&kt(this),!0):!1};
var kt=function(a){if(a.Wb!=a.Pb.length){for(var b=0,c=0;b<a.Pb.length;){var d=a.Pb[b];_.lt(a.Ha,d)&&(a.Pb[c++]=d);b++}a.Pb.length=c}if(a.Wb!=a.Pb.length){var e={};for(c=b=0;b<a.Pb.length;)d=a.Pb[b],_.lt(e,d)||(a.Pb[c++]=d,e[d]=1),b++;a.Pb.length=c}};_.h=_.jt.prototype;_.h.get=function(a,b){return _.lt(this.Ha,a)?this.Ha[a]:b};_.h.set=function(a,b){_.lt(this.Ha,a)||(this.Wb++,this.Pb.push(a),this.Js++);this.Ha[a]=b};
_.h.addAll=function(a){if(a instanceof _.jt)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 _.jt(this)};_.h.Di=function(a){kt(this);var b=0,c=this.Js,d=this,e=new _.it;e.next=function(){if(c!=d.Js)throw Error("K");if(b>=d.Pb.length)throw _.ht;var f=d.Pb[b++];return a?f:d.Ha[f]};return e};
_.lt=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.nt=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};_.ot=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.pt=function(a){if(a.Xc&&"function"==typeof a.Xc)return a.Xc();if("string"===typeof a)return a.split("");if(_.ib(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return _.nt(a)};
_.qt=function(a){if(a.Be&&"function"==typeof a.Be)return a.Be();if(!a.Xc||"function"!=typeof a.Xc){if(_.ib(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return _.ot(a)}};_.rt=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(_.ib(a)||"string"===typeof a)(0,_.rb)(a,b,c);else for(var d=_.qt(a),e=_.pt(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
*/
_.vx=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c};_.wx=function(a,b){var c=_.ib(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var xx;_.yx=function(a){return(new xx).Dm(a)};xx=function(){};xx.prototype.Dm=function(a){var b=[];zx(this,a,b);return b.join("")};
var zx=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),zx(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),Ax(d,c),c.push(":"),zx(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":Ax(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("oa`"+typeof b);}}},Bx={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Cx=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Ax=function(a,b){b.push('"',a.replace(Cx,function(c){var d=Bx[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),Bx[c]=
d);return d}),'"')};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Dx=function(a,b){if(-1!=a.indexOf("<"))throw Error("j`"+a);var c=a.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(c))throw Error("k`"+a);a:{for(var d={"(":")","[":"]"},e=[],f=0;f<c.length;f++){var g=c[f];if(d[g])e.push(d[g]);else if(_.tq(d,g)&&e.pop()!=g){c=!1;break a}}c=0==e.length}if(!c)throw Error("l`"+a);b instanceof _.Zb||(b=_.Gd(b));a=a+"{"+_.xd(b).replace(/</g,"\\3C ")+"}";return(new _.cc).Ui(a)};
_.Ex=function(a,b,c){if(_.kb(a))c&&(a=(0,_.J)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.J)(a.handleEvent,a);else throw Error("pa");return 2147483647<Number(b)?-1:_.q.setTimeout(a,b||0)};_.Fx=function(a){_.q.clearTimeout(a)};_.Gx=function(a){var b=null;return(new _.Uj(function(c,d){b=_.Ex(function(){c(void 0)},a);-1==b&&d(Error("qa"))})).bx(function(c){_.Fx(b);throw c;})};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Jx,Nx,Ox,Qx,Rx,Ux,Wx;_.Hx=function(a){return(a=_.sx(a))?new ActiveXObject(a):new XMLHttpRequest};_.Ix=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};Jx=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};_.Kx=function(a){var b=0,c;for(c in a)b++;return b};_.Lx=function(a,b){return null!==a&&b in a};
_.Mx=function(a){var b=_.hb(a);if("object"==b||"array"==b){if(_.kb(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=_.Mx(a[c]);return b}return a};Nx=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};
Ox=function(){function a(e){e=_.pj(e,d);return c[e]||""}var b=_.Ab;if(_.Ib())return Nx(b);b=Jx(b);var c={};(0,_.rb)(b,function(e){c[e[0]]=e[1]});var d=_.oj(_.Lx,c);return _.Hb()?a(["Version","Opera"]):_.Db("Edge")?a(["Edge"]):_.Db("Edg/")?a(["Edg"]):_.Kb()?a(["Chrome","CriOS","HeadlessChrome"]):(b=b[2])&&b[1]||""};_.Px=function(a){return 0<=_.zb(Ox(),a)};Qx=function(a){return Array.prototype.join.call(arguments,"")};Rx=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)_.uh(a[b],a[b+1],c);return c.join("&")};
_.Sx=function(a,b){var c=2==arguments.length?Rx(arguments[1],0):Rx(arguments,1);return _.th(a,c)};_.Tx=function(a,b){_.sq(a,"/")&&(a=a.substr(0,a.length-1));_.dd(b,"/")&&(b=b.substr(1));return Qx(a,"/",b)};Ux={};_.Vx=function(a){if(Ux[a])return Ux[a];a=String(a);if(!Ux[a]){var b=/function\s+([^\(]+)/m.exec(a);Ux[a]=b?b[1]:"[Anonymous]"}return Ux[a]};
Wx=function(a,b){var c=[];if(_.wb(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(_.Vx(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=_.Vx(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(Wx(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("")};_.Xx=function(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||_.Xx),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=Wx(a||arguments.callee.caller,[]));return b};_.Yx=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};
_.Zx=function(a,b){_.wq.call(this);this.Dk=a||1;this.As=b||_.q;this.FG=(0,_.J)(this.m1,this);this.qK=(0,_.Ya)()};_.B(_.Zx,_.wq);_.h=_.Zx.prototype;_.h.enabled=!1;_.h.tc=null;_.h.setInterval=function(a){this.Dk=a;this.tc&&this.enabled?(this.stop(),this.start()):this.tc&&this.stop()};
_.h.m1=function(){if(this.enabled){var a=(0,_.Ya)()-this.qK;0<a&&a<.8*this.Dk?this.tc=this.As.setTimeout(this.FG,this.Dk-a):(this.tc&&(this.As.clearTimeout(this.tc),this.tc=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.h.start=function(){this.enabled=!0;this.tc||(this.tc=this.As.setTimeout(this.FG,this.Dk),this.qK=(0,_.Ya)())};_.h.stop=function(){this.enabled=!1;this.tc&&(this.As.clearTimeout(this.tc),this.tc=null)};
_.h.va=function(){_.Zx.H.va.call(this);this.stop();delete this.As};
var ay,by,cy;_.$x=function(a){_.wq.call(this);this.headers=new _.jt;this.wx=a||null;this.tf=!1;this.vx=this.Na=null;this.Bv="";this.Xn=0;this.dm=this.yB=this.ev=this.Hz=!1;this.Km=0;this.kd=null;this.Pk="";this.KE=this.qh=!1};_.B(_.$x,_.wq);ay=/^https?$/i;by=["POST","PUT"];cy=[];_.ey=function(a,b,c,d,e,f){var g=new _.$x;cy.push(g);b&&g.U("complete",b);g.co("ready",g.cS);f&&g.cE(f);g.send(a,c,d,e)};_.$x.prototype.cS=function(){this.Ea();_.Ip(cy,this)};
_.$x.prototype.cE=function(a){this.Km=Math.max(0,a)};
_.$x.prototype.send=function(a,b,c,d){if(this.Na)throw Error("ra`"+this.Bv+"`"+a);b=b?b.toUpperCase():"GET";this.Bv=a;this.Xn=0;this.Hz=!1;this.tf=!0;this.Na=this.wx?_.Hx(this.wx):_.Hx(_.tx);this.vx=this.wx?this.wx.getOptions():_.tx.getOptions();this.Na.onreadystatechange=(0,_.J)(this.fL,this);try{this.yB=!0,this.Na.open(b,String(a),!0),this.yB=!1}catch(f){this.lu(5,f);return}a=c||"";var e=this.headers.clone();d&&_.rt(d,function(f,g){e.set(g,f)});d=_.pj(e.Be(),fy);c=_.q.FormData&&a instanceof _.q.FormData;
!_.wb(by,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.Na.setRequestHeader(g,f)},this);this.Pk&&(this.Na.responseType=this.Pk);"withCredentials"in this.Na&&this.Na.withCredentials!==this.qh&&(this.Na.withCredentials=this.qh);try{gy(this),0<this.Km&&((this.KE=hy(this.Na))?(this.Na.timeout=this.Km,this.Na.ontimeout=(0,_.J)(this.Ag,this)):this.kd=_.Ex(this.Ag,this.Km,this)),this.ev=!0,this.Na.send(a),this.ev=!1}catch(f){this.lu(5,f)}};
var hy=function(a){return _.vc&&_.Qc(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},fy=function(a){return"content-type"==a.toLowerCase()};_.$x.prototype.Ag=function(){"undefined"!=typeof _.Wa&&this.Na&&(this.Xn=8,this.dispatchEvent("timeout"),this.abort(8))};_.$x.prototype.lu=function(a){this.tf=!1;this.Na&&(this.dm=!0,this.Na.abort(),this.dm=!1);this.Xn=a;iy(this);jy(this)};var iy=function(a){a.Hz||(a.Hz=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
_.$x.prototype.abort=function(a){this.Na&&this.tf&&(this.tf=!1,this.dm=!0,this.Na.abort(),this.dm=!1,this.Xn=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),jy(this))};_.$x.prototype.va=function(){this.Na&&(this.tf&&(this.tf=!1,this.dm=!0,this.Na.abort(),this.dm=!1),jy(this,!0));_.$x.H.va.call(this)};_.$x.prototype.fL=function(){this.Mb||(this.yB||this.ev||this.dm?ky(this):this.wC())};_.$x.prototype.wC=function(){ky(this)};
var ky=function(a){if(a.tf&&"undefined"!=typeof _.Wa&&(!a.vx[1]||4!=_.ly(a)||2!=a.getStatus()))if(a.ev&&4==_.ly(a))_.Ex(a.fL,0,a);else if(a.dispatchEvent("readystatechange"),4==_.ly(a)){a.tf=!1;try{_.my(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.Xn=6,a.getStatus(),iy(a))}finally{jy(a)}}},jy=function(a,b){if(a.Na){gy(a);var c=a.Na,d=a.vx[0]?_.eb:null;a.Na=null;a.vx=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},gy=function(a){a.Na&&a.KE&&(a.Na.ontimeout=
null);a.kd&&(_.Fx(a.kd),a.kd=null)};_.$x.prototype.$d=function(){return!!this.Na};_.my=function(a){var b=a.getStatus(),c;if(!(c=_.Yx(b))){if(b=0===b)a=String(a.Bv).match(_.sh)[1]||null,!a&&_.q.self&&_.q.self.location&&(a=_.q.self.location.protocol,a=a.substr(0,a.length-1)),b=!ay.test(a?a.toLowerCase():"");c=b}return c};_.ly=function(a){return a.Na?a.Na.readyState:0};_.$x.prototype.getStatus=function(){try{return 2<_.ly(this)?this.Na.status:-1}catch(a){return-1}};
_.ny=function(a){try{return a.Na?a.Na.responseText:""}catch(b){return""}};_.oy=function(a){try{if(!a.Na)return null;if("response"in a.Na)return a.Na.response;switch(a.Pk){case "":case "text":return a.Na.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Na)return a.Na.mozResponseArrayBuffer}return null}catch(b){return null}};_.$x.prototype.getResponseHeader=function(a){if(this.Na&&4==_.ly(this))return a=this.Na.getResponseHeader(a),null===a?void 0:a};
_.$x.prototype.getAllResponseHeaders=function(){return this.Na&&4==_.ly(this)?this.Na.getAllResponseHeaders()||"":""};_.tj(function(a){_.$x.prototype.wC=a(_.$x.prototype.wC)});

_.py=function(a,b){this.Ad=a;a=b||{};this.YX=Number(a.maxAge)||0;this.Vc=a.domain;this.Ik=a.path;this.x_=!!a.secure};_.py.prototype.read=function(){for(var a=this.Ad+"=",b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(0==d.indexOf(a))return d.substr(a.length)}};
_.py.prototype.write=function(a,b){if(!qy.test(this.Ad))throw"Invalid cookie name";if(!ry.test(a))throw"Invalid cookie value";a=this.Ad+"="+a;this.Vc&&(a+=";domain="+this.Vc);this.Ik&&(a+=";path="+this.Ik);b="number"===typeof b?b:this.YX;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.x_&&(a+=";secure");document.cookie=a;return!0};_.py.prototype.clear=function(){this.write("",0)};var ry=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,qy=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.py.iterate=function(a){for(var b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c].split("="),e=d.shift();a(e,d.join("="))}};
_.sy=function(a){this.Vh=a};_.sy.prototype.read=function(){if(ty.hasOwnProperty(this.Vh))return ty[this.Vh]};_.sy.prototype.write=function(a){ty[this.Vh]=a;return!0};_.sy.prototype.clear=function(){delete ty[this.Vh]};var ty={};_.sy.iterate=function(a){for(var b in ty)ty.hasOwnProperty(b)&&a(b,ty[b])};
var uy=function(){this.le=null;this.key=function(){return null};this.getItem=function(){return this.le};this.setItem=function(a,b){this.le=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.le=null;this.length=0};this.length=0},vy=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}},wy=function(a,b){this.Ad=a;this.Qf=
vy(b)?b||window.sessionStorage:new uy};wy.prototype.read=function(){return this.Qf.getItem(this.Ad)};wy.prototype.write=function(a){try{this.Qf.setItem(this.Ad,a)}catch(b){return!1}return!0};wy.prototype.clear=function(){this.Qf.removeItem(this.Ad)};wy.iterate=function(a){if(vy())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
for(var xy=0;64>xy;++xy);
_.yy="https:"===window.location.protocol;_.zy=_.yy||"http:"===window.location.protocol?_.py:_.sy;_.Ay=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=parseInt(b,10);if(isNaN(c))return null;b=d.split(".");if(b.length<c-1)return null;b.length==c-1&&(d="."+d)}else d="";return{Ge:"S"==a.charAt(0),domain:d,zh:c}};
_.By=function(a){if(0!==a.indexOf("GCSC"))return null;var b={KB:!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=_.Ay(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Ge;return!d&&("U"!==c||e.Ge)||d&&!_.yy?b:{KB:!0,Ge:d,hS:a.substr(1),domain:e.domain,zh:e.zh}};
var Cy,Dy,Gy,Hy,Iy;Cy=_.we();Dy=_.we();_.Ey=_.we();_.Fy=_.we();Gy="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");Hy=function(a){this.xL=a;this.gC=null};Hy.prototype.write=function(a){var b=_.we(),c=_.we();for(d in a)_.xe(a,d)&&(c[d]=a[d],b[d]=a[d]);var d=0;for(var e=Gy.length;d<e;++d)delete c[Gy[d]];a=String(a.authuser||0);d=_.we();d[a]=_.Ue.getUrlParameters("#"+Iy(c));this.xL.write(_.Jf(d));this.gC=b};Hy.prototype.read=function(){return this.gC};
Hy.prototype.clear=function(){this.xL.clear();this.gC=_.we()};_.Jy=function(a){return a?{domain:a.domain,path:"/",secure:a.Ge}:null};Iy=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=[encodeURIComponent(c),"="];if(d instanceof Array){for(var f=[],g=0;g<d.length;g++)f.push(encodeURIComponent(d[g]));e.push(f.join("+"))}else e.push(encodeURIComponent(d));d=e.join("")}else d="";d&&(b&&(b+="&"),b+=d)}return b};
wy.iterate(function(a){var b=_.By(a);b&&b.KB&&(Cy[a]=new Hy(new wy(a)))});_.zy.iterate(function(a){Cy[a]&&(Dy[a]=new _.zy(a,_.Jy(_.By(a))))});

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.$r=function(a,b,c){if(null!==a&&b in a)throw Error("g`"+b);a[b]=c};_.as=function(a){_.Kp.call(this);this.mg=a;this.Pb={}};_.B(_.as,_.Kp);var gs=[];_.as.prototype.U=function(a,b,c,d){return this.nr(a,b,c,d)};_.as.prototype.nr=function(a,b,c,d,e){Array.isArray(b)||(b&&(gs[0]=b.toString()),b=gs);for(var f=0;f<b.length;f++){var g=_.hq(a,b[f],c||this.handleEvent,d||!1,e||this.mg||this);if(!g)break;this.Pb[g.key]=g}return this};_.as.prototype.co=function(a,b,c,d){return hs(this,a,b,c,d)};
var hs=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)hs(a,b,c[g],d,e,f);else{b=_.gq(b,c,d||a.handleEvent,e,f||a.mg||a);if(!b)return a;a.Pb[b.key]=b}return a};_.as.prototype.jc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.jc(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.bb(d)?!!d.capture:!!d,e=e||this.mg||this,c=_.iq(c),d=!!d,b=_.Xp(a)?a.An(b,c,d,e):a?(a=_.kq(a))?a.An(b,c,d,e):null:null,b&&(_.oq(b),delete this.Pb[b.key]);return this};
_.as.prototype.removeAll=function(){_.Eb(this.Pb,function(a,b){this.Pb.hasOwnProperty(b)&&_.oq(a)},this);this.Pb={}};_.as.prototype.va=function(){_.as.H.va.call(this);this.removeAll()};_.as.prototype.handleEvent=function(){throw Error("I");};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/

var qu,ru,su,tu,vu,wu,xu,yu,Au;oauth2={};_.pu=!1;qu=function(a){try{_.pu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};ru=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};su=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};
tu=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.uu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};vu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};wu=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.";};xu={token:1,id_token:1};
yu=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.zu=window.JSON;Au=function(a){this.OE=a||[];this.Yb={}};Au.prototype.addEventListener=function(a,b){if(!(0<=ru(this.OE,a)))throw"Unrecognized event type: "+a;if(!tu(b))throw"The listener for event '"+a+"' is not a function.";this.Yb[a]||(this.Yb[a]=[]);0>ru(this.Yb[a],b)&&this.Yb[a].push(b)};
Au.prototype.removeEventListener=function(a,b){if(!(0<=ru(this.OE,a)))throw"Unrecognized event type: "+a;tu(b)&&this.Yb[a]&&this.Yb[a].length&&(b=ru(this.Yb[a],b),0<=b&&this.Yb[a].splice(b,1))};Au.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=ru(this.OE,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Yb[b]&&this.Yb[b].length)for(var c=0,d=this.Yb[b].length;c<d;c++)this.Yb[b][c](a)};
var Bu,Cu,Du,Hu,Iu,Zu,$u,bv,cv,ev,nv;Bu={};Cu={};Du={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.Eu=function(a,b){if(a=Du[a])return a[b]};_.Fu=function(a,b){if(!a)throw Error("N");if(!b.authServerUrl)throw Error("O");if(!b.idpIFrameUrl)throw Error("P");Du[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.Gu=void 0;
Hu=function(a){a.style.position="absolute";a.style.width="1px";a.style.height="1px";a.style.left="-9999px";a.style.top="-9999px";a.style.right="-9999px";a.style.bottom="-9999px";a.style.display="none";a.setAttribute("aria-hidden","true")};Iu=function(){this.W1=window;this.Tt=this.yl=this.Jr=this.fh=null};
Iu.prototype.open=function(a,b,c,d){Ju(this);this.Jr?(this.yl&&(this.yl(),this.yl=null),Ku(this)):this.Jr="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.fh=this.W1.open(a,this.Jr,b);try{this.fh.focus();if(this.fh.closed||"undefined"==typeof this.fh.closed)throw Error("R");_.Gu=this.fh}catch(e){d&&setTimeout(d,0);this.fh=null;break a}c&&(this.yl=c,Lu(this))}};
var Ju=function(a){try{if(null==a.fh||a.fh.closed)a.fh=null,a.Jr=null,Ku(a),a.yl&&(a.yl(),a.yl=null)}catch(b){a.fh=null,a.Jr=null,Ku(a)}},Lu=function(a){a.Tt=window.setInterval(function(){Ju(a)},300)},Ku=function(a){a.Tt&&(window.clearInterval(a.Tt),a.Tt=null)};Cu=Cu||{};var Mu=function(a,b){this.Qb=a;this.FB=b;this.kd=null;this.Xl=!1};Mu.prototype.start=function(){if(!this.Xl&&!this.kd){var a=this;this.kd=window.setTimeout(function(){a.clear();a.Xl||(a.Qb(),a.Xl=!0)},Cu.QI(this.FB))}};
Mu.prototype.clear=function(){this.kd&&(window.clearTimeout(this.kd),this.kd=null)};var Nu=function(a,b){var c=Cu.rp;this.IW=Cu.fp;this.$N=c;this.Qb=a;this.FB=b;this.kd=null;this.Xl=!1;var d=this;this.aO=function(){document[d.IW]||(d.clear(),d.start())}};Nu.prototype.start=function(){if(!this.Xl&&!this.kd){wu(document,this.$N,this.aO);var a=this;this.kd=window.setTimeout(function(){a.clear();a.Xl||(a.Qb(),a.Xl=!0)},Cu.QI(this.FB))}};
Nu.prototype.clear=function(){var a=this.$N,b=this.aO,c=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.kd&&(window.clearTimeout(this.kd),this.kd=null)};Cu.fp=null;Cu.rp=null;
Cu.eX=function(){var a=document;"undefined"!==typeof a.hidden?(Cu.fp="hidden",Cu.rp="visibilitychange"):"undefined"!==typeof a.msHidden?(Cu.fp="msHidden",Cu.rp="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(Cu.fp="webkitHidden",Cu.rp="webkitvisibilitychange")};Cu.eX();Cu.tS=function(a,b){return Cu.fp&&Cu.rp?new Nu(a,b):new Mu(a,b)};Cu.QI=function(a){return Math.max(1,a-(new Date).getTime())};
var Ou=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},Pu=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var t=g,r=0;64>r;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var u=e[1],v=e[2],w=e[3],z=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var C=w^u&(v^w);var A=1518500249}else C=
u^v^w,A=1859775393;else 60>r?(C=u&v|w&(u|v),A=2400959708):(C=u^v^w,A=3395469782);C=((p<<5|p>>>27)&4294967295)+C+z+A+t[r]&4294967295;z=w;w=v;v=(u<<30|u>>>2)&4294967295;u=p;p=C}e[0]=e[0]+p&4294967295;e[1]=e[1]+u&4294967295;e[2]=e[2]+v&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+z&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],u=0,v=p.length;u<v;++u)r.push(p.charCodeAt(u));p=r}t||(t=p.length);r=0;if(0==m)for(;r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64;for(;r<
t;)if(f[m++]=p[r++],n++,64==m)for(m=0,b(f);r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64}function d(){var p=[],t=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var u=24;0<=u;u-=8)p[t++]=e[r]>>u&255;return p}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Qg:function(){for(var p=d(),t="",r=0;r<p.length;r++)t+="0123456789ABCDEF".charAt(Math.floor(p[r]/16))+"0123456789ABCDEF".charAt(p[r]%16);return t}}},Qu=
window.crypto,Ru=!1,Su=0,Tu=1,Uu=0,Vu="",Wu=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Tu=Tu*b%Uu;if(3==++Su)if(a=window,b=Wu,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("S`mousemove");},Xu=function(a){var b=Pu();b.update(a);return b.Qg()};Ru=!!Qu&&"function"==typeof Qu.getRandomValues;
Ru||(Uu=1E6*(screen.width*screen.width+screen.height),Vu=Xu(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),wu(window,"mousemove",Wu));Bu=Bu||{};Bu.gP="ssIFrame_";
_.Yu=function(a,b){this.Ib=a;if(!this.Ib)throw Error("T");a=_.Eu(a,"idpIFrameUrl");if(!a)throw Error("U");this.FJ=a;if(!b)throw Error("V");this.Qk=b;a=this.FJ;b=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.rB=a.join("");this.l_=[location.protocol,"//",location.host].join("");this.qB=
this.Pn=!1;this.BJ=null;this.Yv=[];this.qo=[];this.Ii={};this.$l=void 0};_.Yu.prototype.show=function(){var a=this.$l;a.style.position="fixed";a.style.width="100%";a.style.height="100%";a.style.left="0px";a.style.top="0px";a.style.right="0px";a.style.bottom="0px";a.style.display="block";a.style.zIndex="9999999";a.style.overflow="hidden";a.setAttribute("aria-hidden","false")};_.Yu.prototype.nc=function(){Hu(this.$l)};
_.Yu.prototype.Ev=function(a){if(this.Pn)a&&a(this);else{if(!this.$l){var b=Bu.gP+this.Ib;var c=this.Ib;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=ru(e.split("|"),c))?Ou(e,d):Ou(e?e+"|"+c:c,d);c=!f;f=this.FJ;var g=this.l_;d=this.Qk;e=document.createElement("iframe");e.setAttribute("id",b);b="allow-scripts allow-same-origin";document.requestStorageAccess&&tu(document.requestStorageAccess)&&(b+=" allow-storage-access-by-user-activation");
e.setAttribute("sandbox",b);Hu(e);e.setAttribute("frame-border","0");b=[f,"#origin=",encodeURIComponent(g)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.pu&&b.push("&debug=1");document.body.appendChild(e);e.setAttribute("src",b.join(""));this.$l=e}a&&this.Yv.push(a)}};_.Yu.prototype.Ll=function(){return this.BJ};Zu=function(a){for(var b=0;b<a.Yv.length;b++)a.Yv[b](a);a.Yv=[]};
_.av=function(a,b,c,d){if(a.Pn){if(a.Pn&&a.qB)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Ll(),qu(a),Error(a);$u(a,{method:b,params:c},d)}else a.qo.push({rpc:{method:b,params:c},callback:d}),a.Ev()};$u=function(a,b,c){if(c){for(var d=b.id;!d||a.Ii[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.Ii[d]=c}b.rpcToken=a.Qk;a.$l.contentWindow.postMessage(_.zu.stringify(b),a.rB)};bv=function(a){if(a&&0<=a.indexOf("::"))throw Error("W");};
_.Yu.prototype.Wh=function(a,b,c,d,e,f,g,k){bv(f);b=_.uu(b);_.av(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:g,skipCache:k,id:f},e)};_.Yu.prototype.Dv=function(a,b,c,d,e){b=_.uu(b);_.av(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};cv=function(a,b,c){bv(b.identifier);_.av(a,"getSessionSelector",b,c)};
_.dv=function(a,b,c,d,e){bv(b.identifier);_.av(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};ev=function(a,b,c){_.av(a,"monitorClient",{clientId:b},c)};_.Yu.prototype.Rr=_.da(33);_.Yu.prototype.Vw=function(a,b){_.av(this,"showDialog",{naa:a},b)};_.Yu.prototype.Jp=_.da(35);Bu.$u={};Bu.wA=function(a){return Bu.$u[a]};
Bu.Ev=function(a,b){var c=Bu.wA(a);if(!c){c=String;if(Ru){var d=new window.Uint32Array(1);Qu.getRandomValues(d);d=Number("0."+d[0])}else d=Tu,d+=parseInt(Vu.substr(0,20),16),Vu=Xu(Vu),d/=Uu+Math.pow(16,20);c=c(2147483647*d);c=new _.Yu(a,c);Bu.$u[a]=c}c.Ev(b)};Bu.TT=function(a){for(var b in Bu.$u){var c=Bu.wA(b);if(c&&c.$l&&c.$l.contentWindow==a.source&&c.rB==a.origin)return c}};Bu.FU=function(a){for(var b in Bu.$u){var c=Bu.wA(b);if(c&&c.rB==a)return c}};Bu=Bu||{};
var gv=function(){var a=[],b;for(b in fv)a.push(fv[b]);Au.call(this,a);this.yk={};qu("EventBus is ready.")};su(gv,Au);var fv={KQ:"sessionSelectorChanged",Tx:"sessionStateChanged",Ax:"authResult",PO:"displayIFrame"},iv=function(a){var b=hv;a&&(b.yk[a]||(b.yk[a]=[]))},jv=function(a,b,c){return b&&a.yk[b]&&0<=ru(a.yk[b],c)};_.h=gv.prototype;
_.h.qZ=function(a){var b,c=!!a.source&&(a.source.opener===window||a.source===_.Gu);if(b=c?Bu.FU(a.origin):Bu.TT(a)){try{var d=_.zu.parse(a.data)}catch(e){qu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Qk){qu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.Ii[c.id])delete b.Ii[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?qu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.EJ[a.type]?(d=this.EJ[a.type],
c&&!d.zR?qu("Bad IDP event. Source window cannot be a popup."):d.To&&!d.To.call(this,b,a)?qu("Bad IDP event."):d.Ze.call(this,b,a)):qu("Bad IDP event.")}else qu("Bad event, no corresponding Idp Stub.")};_.h.M_=function(a,b){return jv(this,a.Ib,b.clientId)};_.h.L_=function(a,b){b=b.clientId;return!b||jv(this,a.Ib,b)};_.h.LR=function(a,b){return jv(this,a.Ib,b.clientId)};_.h.zY=function(a){a.Pn=!0;Zu(a);for(var b=0;b<a.qo.length;b++)$u(a,a.qo[b].rpc,a.qo[b].callback);a.qo=[]};
_.h.yY=function(a,b){b={error:b.error};a.Pn=!0;a.qB=!0;a.BJ=b;a.qo=[];Zu(a)};_.h.sw=function(a,b){b.originIdp=a.Ib;this.dispatchEvent(b)};var hv=new gv,kv=hv,lv={};lv.idpReady={Ze:kv.zY};lv.idpError={Ze:kv.yY};lv.sessionStateChanged={Ze:kv.sw,To:kv.M_};lv.sessionSelectorChanged={Ze:kv.sw,To:kv.L_};lv.authResult={Ze:kv.sw,To:kv.LR,zR:!0};lv.displayIFrame={Ze:kv.sw};hv.EJ=lv||{};wu(window,"message",function(a){hv.qZ.call(hv,a)});
_.mv=function(a,b){this.je=!1;if(!a)throw Error("X");var c=[],d;for(d in a)c.push(a[d]);Au.call(this,c);this.Bd=[location.protocol,"//",location.host].join("");this.Vc=b.crossSubDomains?b.domain||this.Bd:this.Bd;if(!b)throw Error("Y");if(!b.idpId)throw Error("Z");if(!_.Eu(b.idpId,"authServerUrl")||!_.Eu(b.idpId,"idpIFrameUrl"))throw Error("$`"+b.idpId);this.Ib=b.idpId;this.Vb=void 0;this.AS=!!b.disableTokenRefresh;this.sT=!!b.forceTokenRefresh;this.Q0=!!b.skipTokenCache;this.setOptions(b);this.Rp=
[];this.em=this.bK=!1;this.Tn=void 0;this.NL();this.Zc=void 0;var e=this,f=function(){qu("Token Manager is ready.");if(e.Rp.length)for(var g=0;g<e.Rp.length;g++)e.Rp[g].call(e);e.bK=!0;e.Rp=[]};Bu.Ev(this.Ib,function(g){e.Zc=g;g.Pn&&g.qB?(e.em=!0,e.Tn=g.Ll(),e.Uv(e.Tn)):e.Vb?ev(e.Zc,e.Vb,function(k){if(k){k=e.Ib;var l=e.Vb,m=hv;k&&l&&(m.yk[k]||(m.yk[k]=[]),0>ru(m.yk[k],l)&&m.yk[k].push(l));f()}else e.Tn={error:"Not a valid origin for the client: "+e.Bd+" has not been whitelisted for client ID "+e.Vb+
". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},e.em=!0,e.Uv(e.Tn)}):(iv(e.Ib),f())})};su(_.mv,Au);_.mv.prototype.setOptions=function(){};_.mv.prototype.NL=function(){};_.mv.prototype.Uv=function(){};_.mv.prototype.Ll=function(){return this.Tn};nv=function(a,b,c){return function(){b.apply(a,c)}};_.ov=function(a,b,c){if(a.bK)b.apply(a,c);else{if(a.em)throw a.Tn;a.Rp.push(nv(a,b,c))}};_.mv.prototype.QG=_.da(36);_.mv.prototype.Jp=_.da(34);
_.qv=function(a,b){_.mv.call(this,a,b);this.yL=new Iu;this.kj=this.tm=null;pv(this)};su(_.qv,_.mv);_.qv.prototype.setOptions=function(){};
var rv=function(a,b){a.ie={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Vc};b.crossSubDomains&&(a.ie.policy=b.policy)},sv=function(a,b){if(!b.authParameters)throw Error("aa");if(!b.authParameters.scope)throw Error("ba");if(!b.authParameters.response_type)throw Error("ca");a.Ap=b.authParameters;a.Ap.redirect_uri||(a.Ap.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.ji=_.uu(b.rpcAuthParameters||a.Ap);if(!a.ji.scope)throw Error("da");if(!a.ji.response_type)throw Error("ea");
a:{var c=a.ji.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!xu[c[d]]){c=!0;break a}c=!1}if(c)throw Error("fa");b.enableSerialConsent&&(a.ji.enable_serial_consent=!0);b.authResultIdentifier&&(a.MR=b.authResultIdentifier);b.spec_compliant&&(a.ji.spec_compliant=b.spec_compliant)};
_.qv.prototype.NL=function(){var a=this;hv.addEventListener(fv.KQ,function(b){a.je&&a.ie&&b.originIdp==a.Ib&&!b.crossSubDomains==!a.ie.crossSubDomains&&b.domain==a.ie.domain&&b.id==a.ie.id&&a.jL(b)});hv.addEventListener(fv.Tx,function(b){a.je&&b.originIdp==a.Ib&&b.clientId==a.Vb&&a.kL(b)});hv.addEventListener(fv.Ax,function(b){_.Gu=void 0;a.je&&b.originIdp==a.Ib&&b.clientId==a.Vb&&b.id==a.fj&&(a.tm&&(window.clearTimeout(a.tm),a.tm=null),a.fj=void 0,a.zr(b))});hv.addEventListener(fv.PO,function(b){a.je&&
b.originIdp==a.Ib&&(b.nc?a.Zc.nc():a.Zc.show())})};_.qv.prototype.jL=function(){};_.qv.prototype.kL=function(){};_.qv.prototype.zr=function(){};var uv=function(a,b){tv(a);a.AS||(a.kj=Cu.tS(function(){a.Wh(!0)},b-3E5),navigator.onLine&&a.kj.start())},tv=function(a){a.kj&&(a.kj.clear(),a.kj=null)},pv=function(a){var b=window;yu()&&(b=document.body);wu(b,"online",function(){a.kj&&a.kj.start()});wu(b,"offline",function(){a.kj&&a.kj.clear()})};_.h=_.qv.prototype;_.h.Wh=function(){};
_.h.Vw=function(a,b){this.Zc.Vw(a,b)};_.h.TK=_.da(37);_.h.NX=function(a,b){if(!this.Vb)throw Error("ja");this.Zc.Dv(this.Vb,this.ji,this.ie,a,b)};_.h.Dv=function(a,b){_.ov(this,this.NX,[a,b])};_.wv=function(a){this.ee=void 0;this.Rg=!1;this.Fo=void 0;_.qv.call(this,_.vv,a)};su(_.wv,_.qv);_.vv={CF:"noSessionBound",qp:"userLoggedOut",mO:"activeSessionChanged",Tx:"sessionStateChanged",hR:"tokenReady",gR:"tokenFailed",Ax:"authResult",ERROR:"error"};
_.wv.prototype.setOptions=function(a){if(!a.clientId)throw Error("ka");this.Vb=a.clientId;this.Da=a.id;rv(this,a);sv(this,a)};_.wv.prototype.Uv=function(a){this.dispatchEvent({type:_.vv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Ib})};var xv=function(a){tv(a);a.Fo=void 0;a.RB=void 0};_.h=_.wv.prototype;
_.h.jL=function(a){var b=a.newValue||{};if(this.ee!=b.hint||this.Rg!=!!b.disabled){a=this.ee;var c=!this.ee||this.Rg;xv(this);this.ee=b.hint;this.Rg=!!b.disabled;(b=!this.ee||this.Rg)&&!c?this.dispatchEvent({type:_.vv.qp,idpId:this.Ib}):b||(a!=this.ee&&this.dispatchEvent({type:_.vv.mO,idpId:this.Ib}),this.ee&&this.Wh())}};
_.h.kL=function(a){this.Rg||(this.ee?a.user||this.Fo?a.user==this.ee&&(this.Fo?a.sessionState?this.Fo=a.sessionState:(xv(this),this.dispatchEvent({type:_.vv.qp,idpId:this.Ib})):a.sessionState&&(this.Fo=a.sessionState,this.Wh())):this.Wh():this.dispatchEvent({type:_.vv.Tx,idpId:this.Ib}))};_.h.zr=function(a){this.dispatchEvent({type:_.vv.Ax,authResult:a.authResult})};_.h.vq=_.da(39);_.h.nq=function(a){_.ov(this,this.jA,[a])};_.h.jA=function(a){cv(this.Zc,this.ie,a)};
_.h.Ww=function(a,b,c){if(!a)throw Error("la");xv(this);this.ee=a;this.Rg=!1;b&&_.dv(this.Zc,this.ie,!1,this.ee);this.je=!0;this.Wh(c,!0)};_.h.start=function(){_.ov(this,this.V0,[])};
_.h.V0=function(){var a=this.Vb==vu("client_id")?vu("login_hint"):void 0;var b=this.Vb==vu("client_id")?vu("state"):void 0;this.qC=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.Ww(a,!0,!0);else{var c=this;this.nq(function(d){c.je=!0;d&&d.hint?(xv(c),c.ee=d.hint,c.Rg=!!d.disabled,c.Rg?c.dispatchEvent({type:_.vv.qp,idpId:c.Ib}):c.Ww(d.hint)):(xv(c),c.ee=void 0,c.Rg=!(!d||!d.disabled),c.dispatchEvent({type:_.vv.CF,
autoOpenAuthUrl:!c.Rg,idpId:c.Ib}))})}};_.h.dI=_.da(40);_.h.Wh=function(a,b){var c=this;this.Zc.Wh(this.Vb,this.ji,this.ee,this.ie,function(d,e){(e=e||d.error)?"user_logged_out"==e?(xv(c),c.dispatchEvent({type:_.vv.qp,idpId:c.Ib})):(c.RB=null,c.dispatchEvent({type:_.vv.gR,idpId:c.Ib,error:e})):(c.RB=d,c.Fo=d.session_state,uv(c,d.expires_at),d.idpId=c.Ib,b&&c.qC&&(d.state=c.qC,c.qC=void 0),c.dispatchEvent({type:_.vv.hR,idpId:c.Ib,response:d}))},this.Da,a)};_.h.Rr=_.da(32);_.h.aM=_.da(41);
_.yv=function(a){this.rl=null;_.qv.call(this,{},a);this.je=!0};su(_.yv,_.qv);_.h=_.yv.prototype;_.h.setOptions=function(a){if(!a.clientId)throw Error("ka");this.Vb=a.clientId;this.Da=a.id;rv(this,a);sv(this,a)};_.h.Uv=function(a){this.rl&&(this.rl({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.rl=null)};_.h.zr=function(a){if(this.rl){var b=this.rl;this.rl=null;b(a)}};_.h.vq=_.da(38);_.h.nq=function(a){this.em?a(this.Ll()):_.ov(this,this.jA,[a])};
_.h.jA=function(a){cv(this.Zc,this.ie,a)};_.zv=function(a,b,c){a.em?c(a.Ll()):_.ov(a,a.QY,[b,c])};_.yv.prototype.QY=function(a,b){this.Zc.Wh(this.Vb,this.ji,a,this.ie,function(c,d){d?b({error:d}):b(c)},this.Da,this.sT,this.Q0)};_.yv.prototype.uK=_.da(42);

var Bv,Cv,Dv,Ev,Fv,Gv,Hv,Iv,Jv,Kv,Lv,Mv,Pv;_.Av=function(){try{var a=Array.from((window.crypto||window.msCrypto).getRandomValues(new Uint8Array(64)))}catch(c){a=[];for(var b=0;64>b;b++)a[b]=Math.floor(256*Math.random())}return _.ph(a,3).substring(0,64)};Bv=function(a,b,c){if(!a.je)throw Error("ga");b?_.dv(a.Zc,a.ie,!0,void 0,c):_.dv(a.Zc,a.ie,!0,a.ee,c)};Cv=function(a){if(!a.je)throw Error("ga");return a.RB};
_.yv.prototype.uK=_.Vc(42,function(a,b){var c=this.Zc,d=this.Vb,e=this.ie,f=_.uu(this.ji);delete f.response_type;_.av(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.wv.prototype.aM=_.Vc(41,function(a){Cv(this)&&Cv(this).access_token&&(this.Zc.Rr(this.Vb,Cv(this).access_token,a),Bv(this,!0))});_.wv.prototype.dI=_.Vc(40,function(){var a=this;this.nq(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.vv.qp,idpId:a.Ib}):a.Wh(!0):a.dispatchEvent({type:_.vv.CF,idpId:a.Ib})})});
_.wv.prototype.vq=_.Vc(39,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.Ww(b.authResult.login_hint,a.Rg||b.authResult.login_hint!=a.ee,!0)}});
_.yv.prototype.vq=_.Vc(38,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.nq(function(d){_.dv(b.Zc,b.ie,d&&d.disabled,c.authResult.login_hint,function(){_.zv(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"})}});_.qv.prototype.TK=_.Vc(37,function(){this.Vb&&_.av(this.Zc,"startPolling",{clientId:this.Vb,origin:this.Bd,id:this.fj},void 0)});
_.Yu.prototype.Rr=_.Vc(33,function(a,b,c){_.av(this,"revoke",{clientId:a,token:b},c)});_.wv.prototype.Rr=_.Vc(32,function(a){_.ov(this,this.aM,[a])});Dv=function(){var a=navigator.userAgent,b;if(b=!!a&&-1!=a.indexOf("CriOS"))b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=48>b;return b};
Ev=function(){var a=navigator.userAgent.toLowerCase();if(!(-1<a.indexOf("safari/")&&0>a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=/version\/(\d+)\.(\d+)[\.0-9]*/.exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12<a||12==a&&1<=b};
Fv=function(a,b,c,d,e,f,g){var k=_.Eu(a,"authServerUrl");if(!k)throw Error("Q`"+a);a=_.uu(d);a.response_type=g||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];e&&Ev()&&!a.prompt&&(a.prompt="select_account");b=k+(0>k.indexOf("?")?"?":"&");c=[];for(var m in a)if(a.hasOwnProperty(m)){e=a[m];if(null===e||void 0===e)e="";c.push(encodeURIComponent(m)+"="+encodeURIComponent(e))}return b+c.join("&")};
Gv=function(a,b,c,d){if(!a.Vb)throw Error("ha");a.fj=c||a.MR||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Bd.split("//");c=b.extraQueryParams;var f=e[0],g=f.indexOf(":");0<g&&(f=f.substring(0,g));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.fj);c.redirect_uri=e.join("")}return Fv(a.Ib,a.Vc,a.Vb,a.Ap,!0,b,d)};Hv=function(a,b,c){if(!a.Vb)throw Error("ha");return Fv(a.Ib,a.Vc,a.Vb,a.Ap,!1,b,c)};
Iv=function(a,b){a.tm&&window.clearTimeout(a.tm);a.tm=window.setTimeout(function(){a.fj==b&&(_.Gu=void 0,a.tm=null,a.fj=void 0,a.zr({authResult:{error:"popup_closed_by_user"}}))},1E3)};Jv=function(a,b,c){if(!a.Vb)throw Error("ia");c=c||{};c=Gv(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Dv())&&_.ov(a,a.TK,[]);var d=a.fj;a.yL.open(c,b,function(){a.fj==d&&Iv(a,d)},function(){a.fj=void 0;a.zr({authResult:{error:"popup_blocked_by_browser"}})})};
Kv=function(a){_.ov(a,a.dI,[])};Lv=function(a,b,c){a.em?c(a.Ll()):_.ov(a,a.uK,[b,c])};Mv=function(a){return Array.prototype.concat.apply([],arguments)};
_.Nv=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 g=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],g=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63)}return b.join("")};
_.Ov=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=_.mh[m];if(null!=n)return n;if(!_.Se(m))throw Error("w`"+m);}return l}_.oh();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}};Pv=function(a){var b=[];_.Ov(a,function(c){b.push(c)});return b};_.Qv=function(a,b){_.di[b||"token"]=a};_.Rv=function(a){delete _.di[a||"token"]};
_.zu={parse:function(a){a=_.If("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Jf(a)}};
_.yv.prototype.Wz=function(a,b){_.ov(this,this.dT,[a,b])};_.yv.prototype.dT=function(a,b){this.Zc.Wz(this.Vb,a,this.ji,this.ie,b)};
_.Yu.prototype.Wz=function(a,b,c,d,e){c=_.uu(c);_.av(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};
var Sv,Tv=["client_id","cookie_policy","scope"],Uv="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection gsiwebsdk".split(" "),Vv=["authuser","after_redirect","access_type","hl"],Wv=["login_hint","prompt"],Xv={clientid:"client_id",cookiepolicy:"cookie_policy"},Yv=["approval_prompt","authuser","login_hint",
"prompt","hd"],Zv=["login_hint","g-oauth-window","status"],$v=Math.min(_.N("oauth-flow/authWindowWidth",599),screen.width-20),aw=Math.min(_.N("oauth-flow/authWindowHeight",600),screen.height-30);
var bw=function(a){_.Yc.call(this,a)};_.nj(bw,_.Yc);bw.prototype.name="gapi.auth2.ExternallyVisibleError";
var cw=function(){};cw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var dw=function(){};dw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;c<a.sessions.length;c++){var d=a.sessions[c];if(d.login_hint){b(d);return}}b()};var ew=function(a){this.NR=a};
ew.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.NR){d.login_hint?b(d):b();return}}b()};
var fw=function(a){this.Rd=a;this.Ew=[]};fw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Ew[b];f?(b++,c.Rd.Dv(function(g){g?f.select(g,d):d()})):a()}};d()};var gw=function(a){a=new fw(a);a.Ew.push(new cw);return a},hw=function(a){a=new fw(a);a.Ew.push(new dw);return a},iw=function(a,b){void 0===b||null===b?b=gw(a):(a=new fw(a),a.Ew.push(new ew(b)),b=a);return b};
var jw=function(a){this.Ze=a;this.$d=!0};jw.prototype.remove=function(){this.$d=!1};jw.prototype.trigger=function(){};var kw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},lw=function(){this.Yb=[]};lw.prototype.add=function(a){this.Yb.push(a)};lw.prototype.notify=function(a){for(var b=this.Yb,c=[],d=0;d<b.length;d++){var e=b[d];e.$d&&(c.push(e),_.Kj(mw(e.Ze,a)))}this.Yb=c};var mw=function(a,b){return function(){a(b)}};
var ow=function(a){this.le=null;this.O1=new nw(this);this.Yb=new lw;void 0!=a&&this.set(a)};ow.prototype.set=function(a){a!=this.le&&(this.le=a,this.O1.value=a,this.Yb.notify(this.le))};ow.prototype.get=function(){return this.le};ow.prototype.U=function(a){a=new pw(this,a);this.Yb.add(a);return a};var pw=function(a,b){jw.call(this,b);this.QX=a};_.B(pw,jw);pw.prototype.trigger=function(){var a=this.Ze;a(this.QX.get())};var nw=function(a){this.value=null;this.U=function(b){return new kw(a.U(b))}};
var qw={C4:"fetch_basic_profile",N5:"login_hint",I7:"prompt",S7:"redirect_uri",j8:"scope",T9:"ux_mode",q9:"state"},rw=function(a){this.Ba={};if(a&&!_.uq(a))if("function"==typeof a.get)this.Ba=a.get();else for(var b in qw){var c=qw[b];c in a&&(this.Ba[c]=a[c])}};rw.prototype.get=function(){return this.Ba};rw.prototype.VM=function(a){this.Ba.scope=a;return this};rw.prototype.Hq=function(){return this.Ba.scope};
var sw=function(a,b){var c=a.Ba.scope;b=Mv(b.split(" "),c?c.split(" "):[]);_.Re(b);a.Ba.scope=b.join(" ")};_.h=rw.prototype;_.h.s0=function(a){this.Ba.prompt=a;return this};_.h.JU=function(){return this.Ba.prompt};_.h.P_=function(){_.Ze("Property app_package_name no longer supported and was not set");return this};_.h.yT=function(){_.Ze("Property app_package_name no longer supported")};_.h.Oe=function(a){this.Ba.state=a};_.h.getState=function(){return this.Ba.state};
var tw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+$v,"height="+aw,"top="+(screen.height-aw)/2,"left="+(screen.width-$v)/2].join()},uw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.Nv(Pv(a)))},vw=function(){Sv=_.N("auth2/idpValue","google");var a=_.N("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.N("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.Fu(Sv,{authServerUrl:a,idpIFrameUrl:b})},ww=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}_.bb(a[e])||(a[e]={});a=a[e]}},xw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a};
var yw=function(a){var b=a?(b=uw(a))?b.sub:null:null;this.Da=b;this.vc=a?_.zj(a):null};_.h=yw.prototype;_.h.ma=function(){return this.Da};_.h.tA=function(){var a=uw(this.vc);return a?a.hd:null};_.h.Uh=function(){return!!this.vc};_.h.jk=function(a){if(a)return this.vc;a=zw;var b=_.zj(this.vc);!a.lv||a.kB||a.vW||(delete b.access_token,delete b.scope);return b};_.h.YC=function(){return zw.YC()};_.h.zj=function(){this.vc=null};_.h.cU=function(){return this.vc?this.vc.scope:null};
_.h.update=function(a){this.Da=a.Da;this.vc=a.vc;this.vc.id_token?this.rt=new Aw(this.vc):this.rt&&(this.rt=null)};var Bw=function(a){return a.vc&&"object"==typeof a.vc.session_state?_.zj(a.vc.session_state.extraQueryParams||{}):{}};_.h=yw.prototype;_.h.jq=function(){var a=Bw(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.h.yj=function(a){var b=zw,c=new rw(a);b.kB=c.Hq()?!0:!1;zw.lv&&sw(c,"openid profile email");return new _.Uj(function(d,e){var f=Bw(this);f.login_hint=this.ma();f.scope=c.Hq();Cw(b,d,e,f)},this)};_.h.Jq=function(a){return new _.Uj(function(b,c){var d=a||{},e=zw;d.login_hint=this.ma();e.Jq(d).then(b,c)},this)};_.h.dV=function(a){return this.yj(a)};_.h.disconnect=function(){return zw.disconnect()};_.h.BT=function(){return this.rt};
_.h.Xu=function(a){if(!this.Uh())return!1;var b=this.vc&&this.vc.scope?this.vc.scope.split(" "):"";return(0,_.vb)(a?a.split(" "):[],function(c){return _.wb(b,c)})};var Aw=function(a){a=uw(a);this.vT=a.sub;this.Ad=a.name;this.aV=a.given_name;this.bT=a.family_name;this.LJ=a.picture;this.cu=a.email};_.h=Aw.prototype;_.h.ma=function(){return this.vT};_.h.getName=function(){return this.Ad};_.h.aU=function(){return this.aV};_.h.VT=function(){return this.bT};_.h.lU=function(){return this.LJ};_.h.Au=function(){return this.cu};
var Ew=function(a,b,c){this.lm=b;this.lY=a;for(var d in a)a.hasOwnProperty(d)&&Dw(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.lm[c[a]]},Dw=function(a,b){a[b]=function(){return a.lY[b].apply(a.lm,arguments)}};Ew.prototype.then=function(a,b,c){var d=this;return _.Yj().then(function(){return Fw(d.lm,a,b,c)})};_.Dj(Ew);
var Gw;Gw=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.Hw=function(a){if(!a)throw new bw("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 bw("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(!_.sq(b,"."+a)&&!_.sq(b,a))throw new bw("Invalid cookiePolicy domain");return d};
var Jw,Iw,Kw,Lw,Mw,Nw,Pw,Uw,Qw,Ww,Xw,Rw;Jw=function(a){var b=a||{},c=Iw();(0,_.rb)(Uv,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b};Iw=function(){for(var a={},b=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;Xv[d]&&(d=Xv[d]);_.wb(Uv,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a};
Kw=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})};Lw=function(a){(0,_.rb)(Uv,function(b){var c=Kw(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})};Mw=function(a){a=Jw(a);Lw(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Uv+Vv,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a};
Nw=function(a,b){if(!a)throw new bw("Empty initial options.");for(var c=0;c<Tv.length;++c)if(!(b&&"scope"==Tv[c]||a[Tv[c]]))throw new bw("Missing required parameter '"+Tv[c]+"'");_.Hw(a.cookie_policy)};
Pw=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:Gw(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Sv};_.Ow(b,a);(0,_.rb)(Wv,function(c){a[c]&&(b.authParameters[c]=a[c])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);return b};_.Ow=function(){};
Uw=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,g=a.oidc_spec_compliant,k=a.nonce,l=Qw(a),m={authParameters:{response_type:l,scope:d,"openid.realm":e},rpcAuthParameters:{response_type:l,scope:d,"openid.realm":e},clientId:b,crossSubDomains:!0,domain:Gw(c),idpId:Sv};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);g&&(m.rpcAuthParameters.spec_compliant=g,k=k||_.Av());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=
!0);(0,_.rb)(Wv.concat(Vv),function(n){a[n]&&(m.authParameters[n]=a[n])});void 0!==a.authuser&&null!==a.authuser&&(m.authParameters.authuser=a.authuser);"boolean"==typeof a.include_granted_scopes&&(b=new Rw(a.response_type||"token"),Sw(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Tw(b)&&(m.rpcAuthParameters.include_granted_scopes=a.include_granted_scopes,!1===a.include_granted_scopes&&(m.forceTokenRefresh=!0,m.skipTokenCache=!0)));"boolean"==typeof a.enable_serial_consent&&
(m.enableSerialConsent=a.enable_serial_consent);return m};Qw=function(a){a=new Rw(a.response_type||"token");var b=[];Tw(a)&&b.push("token");Vw(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")};Ww=["permission","id_token"];Xw=/(^|[^_])token/;Rw=function(a){this.yo=[];this.BB(a)};
Rw.prototype.BB=function(a){a?((0<=a.indexOf("permission")||a.match(Xw))&&this.yo.push("permission"),0<=a.indexOf("id_token")&&this.yo.push("id_token"),0<=a.indexOf("code")&&this.yo.push("code")):this.yo=Ww};var Sw=function(a){return Vw(a,"code")},Tw=function(a){return Vw(a,"permission")};Rw.prototype.toString=function(){return this.yo.join(" ")};var Vw=function(a,b){var c=!1;(0,_.rb)(a.yo,function(d){d==b&&(c=!0)});return c};
var zw,Yw,$w,bx,cx,Fw;zw=null;_.Zw=function(){return zw?Yw():null};Yw=function(){return new Ew($w.prototype,zw,["currentUser","isSignedIn"])};$w=function(a){delete a.include_granted_scopes;this.Ba=Pw(a);this.pS=a.cookie_policy;this.vW=!!a.scope;(this.lv=!1!==a.fetch_basic_profile)&&(this.Ba.authParameters.scope=ax(this,"openid profile email"));this.Uq=a.hosted_domain;this.L1=a.ux_mode||"popup";this.wZ=a.redirect_uri||null;bx(this)};
bx=function(a){a.currentUser=new ow(new yw(null));a.isSignedIn=new ow(!1);a.Rd=new _.wv(a.Ba);a.Wn=null;a.sv=null;a.EX=new _.Uj(function(b,c){this.Wn=b;this.sv=c},a);a.Xv={};a.ir=!0;cx(a);a.Rd.start()};
cx=function(a){a.Rd.addEventListener("error",function(b){a.ir&&a.Wn&&(a.ir=!1,a.sv({error:b.error,details:b.details}),a.Wn=null,a.sv=null)});a.Rd.addEventListener("authResult",function(b){b&&b.authResult&&a.Ue(b);a.Rd.vq()(b)});a.Rd.addEventListener("tokenReady",function(b){var c=new yw(b.response);if(a.Uq&&a.Uq!=c.tA())a.Ue({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.tA(),expectedDomain:a.Uq});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Yb.notify(d.le);a.isSignedIn.set(!0);c=c.jq();(d=_.Hw(a.pS))&&c&&_.Ih.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.Ge?"S":"H",d.zh].join(""),c,{domain:d.domain,secure:d.isSecure});_.Qv(b.response);a.Ue(b)}});a.Rd.addEventListener("noSessionBound",function(b){a.ir&&b.autoOpenAuthUrl?(a.ir=!1,gw(a.Rd).select(function(c){if(c&&c.login_hint){var d=a.Rd;_.ov(d,d.Ww,[c.login_hint,!0])}else a.currentUser.set(new yw(null)),a.isSignedIn.set(!1),_.Rv(),a.Ue(b)})):(a.currentUser.set(new yw(null)),
a.isSignedIn.set(!1),_.Rv(),a.Ue(b))});a.Rd.addEventListener("tokenFailed",function(b){a.Ue(b)});a.Rd.addEventListener("userLoggedOut",function(b){a.currentUser.get().zj();var c=a.currentUser;c.Yb.notify(c.le);a.isSignedIn.set(!1);_.Rv();a.Ue(b)})};Fw=function(a,b,c,d){return a.EX.then(function(e){if(b)return b(e.bV)},c,d)};$w.prototype.Ue=function(a){if(a){this.ir=!1;var b=a.type||"";if(this.Xv[b])this.Xv[b](a);this.Wn&&(this.Wn({bV:this}),this.sv=this.Wn=null)}};
var dx=function(a,b){_.Eb(b,function(c,d){a.Xv[d]=function(e){a.Xv={};c(e)}})},Cw=function(a,b,c,d){d=_.zj(d);a.Uq&&(d.hd=a.Uq);var e=d.ux_mode||a.L1;delete d.ux_mode;delete d.app_package_name;var f={sessionMeta:{extraQueryParams:d},responseType:"permission id_token"};"redirect"==e?(d.redirect_uri||(d.redirect_uri=a.wZ||xw()+window.location.pathname),ex(a,f)):(delete d.redirect_uri,fx(a,f),dx(a,{authResult:function(g){g.authResult&&g.authResult.error?c(g.authResult):dx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};$w.prototype.yj=function(a){return new _.Uj(function(b,c){var d=new rw(a);this.kB=d.Hq()?!0:!1;this.lv?(d.Ba.fetch_basic_profile=!0,sw(d,"email profile openid")):d.Ba.fetch_basic_profile=!1;var e=ax(this,d.Hq());d.VM(e);Cw(this,b,c,d.get())},this)};
$w.prototype.Jq=function(a){var b=a||{};this.kB=!!b.scope;a=ax(this,b.scope);if(""==a)return _.Zj({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};(0,_.rb)(Yv,function(d){null!=b[d]&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");return"postmessage"==b.redirect_uri||void 0==b.redirect_uri?gx(this,c):hx(this,c,b.redirect_uri)};
var hx=function(a,b,c){b.redirect_uri=c;ex(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.Yj({message:"Redirecting to IDP."})},gx=function(a,b){b.origin=xw();delete b.redirect_uri;fx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Uj(function(c,d){dx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},fx=function(a,b){ww(b,["sessionMeta","extraQueryParams",
"gsiwebsdk"],"2");Jv(a.Rd,tw(),b)},ex=function(a,b){ww(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(Hv(a.Rd,b.sessionMeta,b.responseType))};$w.prototype.zj=function(a){var b=a||!1;return new _.Uj(function(c){Bv(this.Rd,b,function(){c()})},this)};$w.prototype.AI=function(){return this.Ba.authParameters.scope};var ax=function(a,b){a=a.AI();b=Mv(b?b.split(" "):[],a?a.split(" "):[]);_.Re(b);return b.join(" ")};
$w.prototype.YC=function(){var a=this;return new _.Uj(function(b,c){dx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});Kv(a.Rd)})};$w.prototype.JR=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.hq(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.yj(f).then(function(g){c&&c(g)},function(g){d&&d(g)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})};
$w.prototype.disconnect=function(){return new _.Uj(function(a){this.Rd.Rr(function(){a()})},this)};
var ix;_.Uj.prototype["catch"]=_.Uj.prototype.bx;ix=null;_.jx=function(a){a=Mw(a);if(zw){if(_.yj(a,ix||{}))return Yw();throw new bw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Nw(a,!1!==a.fetch_basic_profile);vw();ix=a;zw=new $w(a);_.Ge.ga=1;return Yw()};
var lx,nx,kx,px,ox,qx;_.mx=function(a,b){vw();a=Mw(a);Nw(a);var c=Uw(a),d=new _.yv(c);"none"==a.prompt?kx(d,a,function(e){e.status=e.error?{signed_in:!1,method:null,google_logged_in:!1}:{signed_in:!0,method:"AUTO",google_logged_in:!0};b(e)}):lx(d,a,function(e){if(e.error)e.status={signed_in:!1,method:null,google_logged_in:!1};else{var f=e.access_token||e.id_token;e.status={signed_in:!!f,method:"PROMPT",google_logged_in:!!f}}e["g-oauth-window"]=d.yL.fh;b(e)})};
lx=function(a,b,c){var d=new Rw(b.response_type);c=nx(a,d,c);var e={responseType:d.toString()};ww(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Sw(d)&&ww(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&ww(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&ww(e,["sessionMeta","extraQueryParams","state"],b.state);b=tw();a.em?c({authResult:{error:"idpiframe_initialization_failed",details:a.Ll().error}}):(a.rl=
c,Jv(a,b,e))};nx=function(a,b,c){if(Tw(b)){var d=ox(c);return function(e){e&&e.authResult&&!e.authResult.error?a.vq(function(f){f&&!f.error?(f=_.zj(f),Sw(b)&&(f.code=e.authResult.code),d(f)):d(f?f:{error:"unknown_error"})})(e):d(e&&e.authResult?e.authResult:{error:"unknown_error"})}}return function(e){e&&e.authResult&&!e.authResult.error?c(_.zj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
kx=function(a,b,c){if(Sw(new Rw(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=ox(c);b.login_hint?a.Wz(b.login_hint,function(e){e?px(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?iw(a,b.authuser).select(function(e){e&&e.login_hint?px(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.nq(function(e){e&&e.hint?px(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?hw(a):gw(a)).select(function(f){f&&f.login_hint?px(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};px=function(a,b,c,d){b=new Rw(b.response_type);var e=0,f={},g=function(k){!k||k.error?d(k):(e--,_.Gb(f,k),0==e&&d(f))};(Tw(b)||Vw(b,"id_token"))&&e++;Sw(b)&&e++;(Tw(b)||Vw(b,"id_token"))&&_.zv(a,c,g);Sw(b)&&Lv(a,c,g)};
ox=function(a){return function(b){if(!b||b.error)_.Rv(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.zj(b);qx(c);delete c.id_token;delete c.code;_.Qv(c)}a(b)}}};qx=function(a){(0,_.rb)(Zv,function(b){delete a[b]})};
_.y("gapi.auth2.init",_.jx);_.y("gapi.auth2.authorize",function(a,b){if(null!=zw)throw new bw("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).");_.mx(a,function(c){qx(c);b(c)})});_.y("gapi.auth2._gt",function(){return _.ei()});_.y("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.pu="0"!=a&&!!a});_.y("gapi.auth2.getAuthInstance",_.Zw);
_.y("gapi.auth2.BasicProfile",Aw);_.y("gapi.auth2.BasicProfile.prototype.getId",Aw.prototype.ma);_.y("gapi.auth2.BasicProfile.prototype.getName",Aw.prototype.getName);_.y("gapi.auth2.BasicProfile.prototype.getGivenName",Aw.prototype.aU);_.y("gapi.auth2.BasicProfile.prototype.getFamilyName",Aw.prototype.VT);_.y("gapi.auth2.BasicProfile.prototype.getImageUrl",Aw.prototype.lU);_.y("gapi.auth2.BasicProfile.prototype.getEmail",Aw.prototype.Au);_.y("gapi.auth2.GoogleAuth",$w);
_.y("gapi.auth2.GoogleAuth.prototype.attachClickHandler",$w.prototype.JR);_.y("gapi.auth2.GoogleAuth.prototype.disconnect",$w.prototype.disconnect);_.y("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",$w.prototype.Jq);_.y("gapi.auth2.GoogleAuth.prototype.signIn",$w.prototype.yj);_.y("gapi.auth2.GoogleAuth.prototype.signOut",$w.prototype.zj);_.y("gapi.auth2.GoogleAuth.prototype.getInitialScopes",$w.prototype.AI);_.y("gapi.auth2.GoogleUser",yw);_.y("gapi.auth2.GoogleUser.prototype.grant",yw.prototype.dV);
_.y("gapi.auth2.GoogleUser.prototype.getId",yw.prototype.ma);_.y("gapi.auth2.GoogleUser.prototype.isSignedIn",yw.prototype.Uh);_.y("gapi.auth2.GoogleUser.prototype.getAuthResponse",yw.prototype.jk);_.y("gapi.auth2.GoogleUser.prototype.getBasicProfile",yw.prototype.BT);_.y("gapi.auth2.GoogleUser.prototype.getGrantedScopes",yw.prototype.cU);_.y("gapi.auth2.GoogleUser.prototype.getHostedDomain",yw.prototype.tA);_.y("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",yw.prototype.Jq);
_.y("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",yw.prototype.Xu);_.y("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",yw.prototype.YC);_.y("gapi.auth2.LiveValue",ow);_.y("gapi.auth2.LiveValue.prototype.listen",ow.prototype.U);_.y("gapi.auth2.LiveValue.prototype.get",ow.prototype.get);_.y("gapi.auth2.SigninOptionsBuilder",rw);_.y("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",rw.prototype.yT);_.y("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",rw.prototype.P_);
_.y("gapi.auth2.SigninOptionsBuilder.prototype.getScope",rw.prototype.Hq);_.y("gapi.auth2.SigninOptionsBuilder.prototype.setScope",rw.prototype.VM);_.y("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",rw.prototype.JU);_.y("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",rw.prototype.s0);_.y("gapi.auth2.SigninOptionsBuilder.prototype.get",rw.prototype.get);

_.af.v4=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(e){for(var f=0;b[f];++f)if(e===b[f])return!0;return!1}};_.af.g8=function(a){return function(b){return a.test(b)}};_.af.WO=function(a){return"undefined"!==typeof a};_.af.P6=function(a){return"string"===typeof a&&0<a.length};_.af.I2=function(a){return"boolean"===typeof a};_.af.T5=function(a){return function(b){for(var c in a)if(a.hasOwnProperty(c)&&!(0,a[c])(b[c]))return!1;return!0}};

_.Ue=_.Ue||{};(function(){function a(d){b=d["core.util"]||{}}var b={},c={};_.af&&_.af.register("core.util",null,a);_.Ue.getFeatureParameters=function(d){return"undefined"===typeof b[d]?null:b[d]};_.Ue.hasFeature=function(d){return"undefined"!==typeof b[d]};_.Ue.Paa=function(){return c}})();

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Vq,Xq,Yq,Zq,$q,cr,gr,hr,ir;_.Jq=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Kq=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.h=_.Kq.prototype;_.h.clone=function(){return new _.Kq(this.x,this.y)};_.h.equals=function(a){return a instanceof _.Kq&&_.Jq(this,a)};_.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
_.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.h.translate=function(a,b){a instanceof _.Kq?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};_.h.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};_.Lq=function(a,b){this.width=a;this.height=b};_.h=_.Lq.prototype;_.h.clone=function(){return new _.Lq(this.width,this.height)};_.h.aspectRatio=function(){return this.width/this.height};
_.h.isEmpty=function(){return!(this.width*this.height)};_.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};_.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};_.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};_.h.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};_.Mq=function(a){return"CSS1Compat"==a.compatMode};
_.Nq=function(a){a=a.document;a=_.Mq(a)?a.documentElement:a.body;return new _.Lq(a.clientWidth,a.clientHeight)};_.Oq=function(a){return _.Nq(a||window)};_.Pq=function(a){return a.scrollingElement?a.scrollingElement:!_.zc&&_.Mq(a)?a.documentElement:a.body||a.documentElement};_.Qq=function(a){var b=_.Pq(a);a=a.parentWindow||a.defaultView;return _.vc&&_.Qc("10")&&a.pageYOffset!=b.scrollTop?new _.Kq(b.scrollLeft,b.scrollTop):new _.Kq(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
_.Rq=function(a,b,c,d){return _.Wd(a.ub,b,c,d)};_.Sq=function(a){a.CB=void 0;a.mb=function(){return a.CB?a.CB:a.CB=new a}};_.Tq=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Uq=function(a,b,c,d){return Array.prototype.splice.apply(a,_.Tq(arguments,1))};Vq={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};
_.Wq=function(a){if(a instanceof _.cc&&a.constructor===_.cc&&a.FQ===_.bc)return a.TC;_.hb(a);return"type_error:SafeStyleSheet"};Xq=/^[a-zA-Z0-9-]+$/;Yq={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};Zq={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
$q=function(a){var b=_.Hd(_.jc),c=b.Gh(),d=[],e=function(f){Array.isArray(f)?(0,_.rb)(f,e):(f=_.Hd(f),d.push(_.hc(f).toString()),f=f.Gh(),0==c?c=f:0!=f&&c!=f&&(c=null))};(0,_.rb)(a,e);return _.ic(d.join(_.hc(b).toString()),c)};_.ar=function(a){return $q(Array.prototype.slice.call(arguments))};
_.br=function(a,b,c){var d=String(a);if(!Xq.test(d))throw Error("m");if(d.toUpperCase()in Zq)throw Error("m");a=String(a);d=null;var e="<"+a,f="";if(b)for(l in b)if(Object.prototype.hasOwnProperty.call(b,l)){if(!Xq.test(l))throw Error("m");var g=b[l];if(null!=g){var k=l;if(g instanceof _.Qb)g=_.Rb(g);else if("style"==k.toLowerCase()){if(!_.bb(g))throw Error("m");g instanceof _.Zb||(g=_.Gd(g));g=_.xd(g)}else{if(/^on/i.test(k))throw Error("m");if(k.toLowerCase()in Yq)if(g instanceof _.od)g=_.qd(g);
else if(g instanceof _.Wb)g=_.td(g);else if("string"===typeof g)g=(_.vd(g)||_.Xb).Jd();else throw Error("m");}g.Qh&&(g=g.Jd());k=k+'="'+_.ld(String(g))+'"';f+=" "+k}}var l=e+f;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===Vq[a.toLowerCase()]?l+=">":(c=_.ar(c),l+=">"+_.hc(c).toString()+"</"+a+">",d=c.Gh());(b=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.ic(l,d)};cr=function(a){return a.replace(/(^|[\s]+)([a-z])/g,function(b,c,d){return c+d.toUpperCase()})};
_.dr=function(a,b,c){return _.de(document,arguments)};_.er=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.fr=function(a){var b;if(_.Qd&&!(_.vc&&_.Qc("9")&&!_.Qc("10")&&_.q.SVGElement&&a instanceof _.q.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.ne(b)?b:null};gr={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};hr={IMG:" ",BR:"\n"};
ir=function(a,b,c){if(!(a.nodeName in gr))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in hr)b.push(hr[a.nodeName]);else for(a=a.firstChild;a;)ir(a,b,c),a=a.nextSibling};
_.jr=function(a){if(_.Pd&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];ir(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");_.Pd||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a};_.kr=function(a){var b=[];ir(a,b,!1);return b.join("")};
_.lr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.h=_.lr.prototype;_.h.Oc=function(){return this.right-this.left};_.h.getHeight=function(){return this.bottom-this.top};_.h.clone=function(){return new _.lr(this.top,this.right,this.bottom,this.left)};_.h.contains=function(a){return this&&a?a instanceof _.lr?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};
_.h.expand=function(a,b,c,d){_.bb(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};_.h.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};
_.h.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};_.h.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};
_.h.translate=function(a,b){a instanceof _.Kq?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};_.h.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};
var or,ur,sr,xr,Kr,Lr;_.nr=function(a,b,c){if("string"===typeof b)(b=_.mr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.mr(c,d);f&&(c.style[f]=e)}};or={};_.mr=function(a,b){var c=or[b];if(!c){var d=_.Md(b);c=d;void 0===a.style[d]&&(d=(_.zc?"Webkit":_.yc?"Moz":_.vc?"ms":_.uc?"O":null)+cr(d),void 0!==a.style[d]&&(c=d));or[b]=c}return c};
_.pr=function(a,b){var c=_.Td(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.qr=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.rr=function(a,b){return _.pr(a,b)||_.qr(a,b)||a.style&&a.style[b]};_.tr=function(a,b,c){if(b instanceof _.Kq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=sr(d,!1);a.style.top=sr(b,!1)};
ur=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.yr=function(a,b){b=b||_.Pq(document);var c=b||_.Pq(document);var d=_.vr(a),e=_.vr(c),f=_.wr(c);if(c==_.Pq(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.vc&&!_.Sc(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=xr(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(g,Math.max(g-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new _.Kq(e,k);b.scrollLeft=c.x;b.scrollTop=c.y};
_.vr=function(a){var b=_.Td(a),c=new _.Kq(0,0);var d=b?_.Td(b):document;d=!_.vc||_.Sc(9)||_.Mq(_.Ud(d).ub)?d.documentElement:d.body;if(a==d)return c;a=ur(a);b=_.Qq(_.Ud(b).ub);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Ar=function(a,b){var c=new _.Kq(0,0),d=_.ae(_.Td(a));if(!_.rc(d,"parent"))return c;do{var e=d==b?_.vr(a):_.zr(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.zr=function(a){a=ur(a);return new _.Kq(a.left,a.top)};
_.Br=function(a,b,c){if(b instanceof _.Lq)c=b.height,b=b.width;else if(void 0==c)throw Error("H");a.style.width=sr(b,!0);a.style.height=sr(c,!0)};sr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.Cr=function(a){var b=xr;if("none"!=_.rr(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};
xr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.zc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=ur(a),new _.Lq(a.right-a.left,a.bottom-a.top)):new _.Lq(b,c)};_.Dr=function(a,b){a.style.display=b?"":"none"};_.Fr=function(a){var b=_.Ud(void 0),c=b.wb();if(_.vc&&c.createStyleSheet)return b=c.createStyleSheet(),_.Er(b,a),b;c=_.Rq(b,"HEAD")[0];if(!c){var d=_.Rq(b,"BODY")[0];c=b.ta("HEAD");d.parentNode.insertBefore(c,d)}d=b.ta("STYLE");_.Er(d,a);b.appendChild(c,d);return d};
_.Er=function(a,b){b=_.Wq(b);_.vc&&void 0!==a.cssText?a.cssText=b:_.q.trustedTypes?_.pe(a,b):a.innerHTML=b};_.Gr=function(a){return"rtl"==_.rr(a,"direction")};_.Ir=_.yc?"MozUserSelect":_.zc||_.wc?"WebkitUserSelect":null;_.Jr=function(a,b){if(/^\d+px?$/.test(b))return 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};Kr={thin:2,medium:4,thick:6};
Lr=function(a,b){if("none"==_.qr(a,b+"Style"))return 0;b=_.qr(a,b+"Width");return b in Kr?Kr[b]:_.Jr(a,b)};_.wr=function(a){if(_.vc&&!_.Sc(9)){var b=Lr(a,"borderLeft"),c=Lr(a,"borderRight"),d=Lr(a,"borderTop");a=Lr(a,"borderBottom");return new _.lr(d,c,a,b)}b=_.pr(a,"borderLeftWidth");c=_.pr(a,"borderRightWidth");d=_.pr(a,"borderTopWidth");a=_.pr(a,"borderBottomWidth");return new _.lr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Xy=function(a){this.q1=a};_.Xy.prototype.toString=function(){return this.q1};
_.Yy=function(a){_.Kp.call(this);this.Vh=1;this.hw=[];this.nw=0;this.nf=[];this.yi={};this.IR=!!a};_.B(_.Yy,_.Kp);_.h=_.Yy.prototype;_.h.subscribe=function(a,b,c){var d=this.yi[a];d||(d=this.yi[a]=[]);var e=this.Vh;this.nf[e]=a;this.nf[e+1]=b;this.nf[e+2]=c;this.Vh=e+3;d.push(e);return e};_.h.ws=_.da(44);_.h.unsubscribe=function(a,b,c){if(a=this.yi[a]){var d=this.nf;if(a=_.pj(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.Fj(a)}return!1};
_.h.Fj=function(a){var b=this.nf[a];if(b){var c=this.yi[b];0!=this.nw?(this.hw.push(a),this.nf[a+1]=_.eb):(c&&_.Ip(c,a),delete this.nf[a],delete this.nf[a+1],delete this.nf[a+2])}return!!b};
_.h.oo=function(a,b){var c=this.yi[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.IR)for(e=0;e<c.length;e++){var g=c[e];Zy(this.nf[g+1],this.nf[g+2],d)}else{this.nw++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.nf[g+1].apply(this.nf[g+2],d)}finally{if(this.nw--,0<this.hw.length&&0==this.nw)for(;c=this.hw.pop();)this.Fj(c)}}return 0!=e}return!1};var Zy=function(a,b,c){_.Sj(function(){a.apply(b,c)})};
_.Yy.prototype.clear=function(a){if(a){var b=this.yi[a];b&&((0,_.rb)(b,this.Fj,this),delete this.yi[a])}else this.nf.length=0,this.yi={}};_.Yy.prototype.Fb=function(a){if(a){var b=this.yi[a];return b?b.length:0}a=0;for(b in this.yi)a+=this.Fb(b);return a};_.Yy.prototype.va=function(){_.Yy.H.va.call(this);this.clear();this.hw.length=0};
_.$y=function(a){_.Kp.call(this);this.Nd=new _.Yy(a);_.Np(this,this.Nd)};_.B(_.$y,_.Kp);_.h=_.$y.prototype;_.h.subscribe=function(a,b,c){return this.Nd.subscribe(a.toString(),b,c)};_.h.ws=_.da(43);_.h.unsubscribe=function(a,b,c){return this.Nd.unsubscribe(a.toString(),b,c)};_.h.Fj=function(a){return this.Nd.Fj(a)};_.h.oo=function(a,b){return this.Nd.oo(a.toString(),b)};_.h.clear=function(a){this.Nd.clear(void 0!==a?a.toString():void 0)};
_.h.Fb=function(a){return this.Nd.Fb(void 0!==a?a.toString():void 0)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.az=function(a,b){Array.isArray(b)||(b=[b]);b=(0,_.tb)(b,function(c){return"string"===typeof c?c:c.lw+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.nr(a,"transition",b.join(","))};
_.bz=_.Lb(function(){if(_.vc)return _.Qc("10.0");var a=_.fe("DIV"),b=_.zc?"-webkit":_.yc?"-moz":_.vc?"-ms":_.uc?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.br("div",{style:c});_.Id(a,b);a=a.firstChild;b=a.style[_.Md("transition")];return""!=("undefined"!==typeof b?b:a.style[_.mr(a,"transition")]||"")});

_.dz=!1;_.ez=function(){_.cz="oauth2relay"+String(2147483647*(0,_.Bg)()|0)};_.fz=new _.$y;_.gz=new _.Xy("oauth");_.ez();_.N("oauth-flow/client_id");var hz=String(_.N("oauth-flow/redirectUri"));if(hz)hz.replace(/[#][\s\S]*/,"");else{var iz=_.wg.getOrigin(window.location.href);_.N("oauth-flow/callbackUrl");encodeURIComponent(iz)}_.wg.getOrigin(window.location.href);

var kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,uz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Oz,Pz,Qz,Rz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,Zz,$z,cA,bA,dA,eA,fA,gA,hA,iA,kA,lA,nA;_.jz=function(a,b){if(_.nh&&!b)return _.q.atob(a);var c="";_.Ov(a,function(d){c+=String.fromCharCode(d)});return c};kz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};lz=function(a){return _.N("enableMultilogin")&&a("cookie_policy")&&!kz(a)?!0:!1};
oz=function(){var a,b=null;_.zy.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Ay(c.substring(11)),!a||c.Ge&&!a.Ge||c.Ge==a.Ge&&c.zh>a.zh)&&(a=c,b=d)});return{SR:a,authuser:b}};pz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];qz=function(a){a=a.toUpperCase();for(var b=0,c=pz.length;b<c;++b){var d=a.split(pz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Th,b.ox(a),a=b.Qg().toUpperCase());return a};
rz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};sz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],N_:rz(a[1]),pba:rz(a[2]),yaa:rz(a[3])}};tz=function(a){var b=oz(),c=b.SR;b=b.authuser;var d=a&&qz(a);if(null!==b){var e;_.zy.iterate(function(g,k){(g=_.By(g))&&g.KB&&(d&&g.hS!=d||g.Ge==c.Ge&&g.zh==c.zh&&(e=k))});if(e){var f=sz(e);a=f&&f.N_[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Zba:a,clientId:f}}}return null};
uz=function(a,b){a=_.ei(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};_.vz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Qv(c,d):_.Rv(d)};
wz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.Rf.getOrigin(a));var b=window.location.hostname,c=b,d=_.yy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Xe("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 _.Xe("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Ge:d,zh:b}};
xz=function(a){var b=wz(a);if(!b)return new _.sy("G_USERSTATE_");a=["G_USERSTATE_",_.yy&&b.Ge?"S":"H",b.zh].join("");var c=_.Fy[a];c||(c={BK:63072E3},_.ye(_.Jy(b),c),c=new _.py(a,c),_.Fy[a]=c,b=c.read(),"undefined"!==typeof b&&null!==b&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};yz=function(a){var b=xz(a).read();a=_.we();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
zz=function(a,b,c){var d=yz(b),e=d[a];d[a]="0";var f=[];_.hl(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=xz(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};Az=function(a,b){b=yz(b);return"0"==b[a]||"X"==b[a]};Bz=function(a){a=wz(a.g_user_cookie_policy);if(!a||a.Ge&&!_.yy)a=null;else{var b=["G_AUTHUSER_",_.yy&&a.Ge?"S":"H",a.zh].join(""),c=_.Ey[b];c||(c=new _.zy(b,_.Jy(a)),_.Ey[b]=c);a=c}_.Oe("googleapis.config/sessionIndex",null);a.clear()};Cz=function(a){return kz(function(b){return a[b]})};
Dz=0;Ez=!1;Fz=[];Gz={};Hz={};Iz=null;Jz=function(a){var b=_.cz;return function(c){if(this.f==b&&this.t==_.Rf.getAuthToken(this.f)&&this.origin==_.Rf.getTargetOrigin(this.f))return a.apply(this,arguments)}};Kz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};Lz=function(a){if(_.dz&&a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ta");};
Mz=function(a){var b=_.Ue.getUrlParameters,c=b(a).jsh;if(null!=c)return Lz(c),a;if(b=String(b().jsh||_.Ge.h||""))Lz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Nz=function(){return!!_.N("oauth-flow/usegapi")};Oz=function(a,b){Nz()?Iz.unregister(a):_.Rf.unregister(a+":"+b)};Pz=function(a,b,c){Nz()?Iz.register(a,c,_.Ql):_.Rf.register(a+":"+b,Jz(c))};Qz=function(){mz.parentNode.removeChild(mz)};
Rz=function(a){var b=mz;_.az(b,[{lw:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.az(b,[{lw:"transform",duration:1,timing:"ease",delay:0}]);_.Ex(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Sz=function(){var a=nz+88;Rz(a);nz=a};Tz=function(){var a=nz-88;Rz(a);nz=a};
Uz=function(a){var b=a?Sz:Tz,c=a?Tz:Sz;a=a?"-":"";nz=parseInt(a+88,10);mz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";mz.style.transform="translate3d(0px,"+a+88+"px,0px)";mz.style.display="";mz.style.visibility="visible";b();_.Ex(c,4E3);_.Ex(Qz,5E3)};
Vz=function(a){var b=_.N("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");mz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.nr(c,"visibility","hidden");_.nr(c,b,"-40px");_.nr(c,"height","128px");var d=c;if("desktop"==_.N("deviceType")){d=document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%";d.appendChild(e);
d=e}e="top"==b?"-":"";nz=parseInt(e+88,10);mz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";mz.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){}_.il.Yh({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Uz(!0):Uz(!1)}})};
Wz=function(a){var b=_.Dm(),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==_.ui.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
Xz=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(Math.floor((new Date).getTime()/1E3)));var d=parseInt(b.expires_in,10)||86400;b.error&&(d=_.N("oauth-flow/errorMaxAge")||86400);b.expires_in=String(d);b.expires_at||(b.expires_at=String(Math.floor((new Date).getTime()/1E3)+d));
b._aa||b.error||null!=tz(c)||!Cz(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};Yz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.If(_.jz(a,!0));if(!1===a)throw Error("ua");return a};Zz=function(a){return(a=Yz(a))?a.sub:null};
$z=function(a){a&&Fz.push(a);a=_.cz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(Dz&&6E4>c-Dz)return;var d=_.Rf.getAuthToken(a);d&&(Oz("oauth2relayReady",d),Oz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.ez();a=_.cz}Dz=c;var e=String(2147483647*(0,_.Bg)()|0);b=_.N("oauth-flow/proxyUrl")||_.N("oauth-flow/relayUrl");Nz()?Iz=_.il.Yh({where:_.Ue.getBodyElement(),url:b,id:a,attributes:{style:{width:"1px",
height:"1px",position:"absolute",top:"-100px",display:"none"},"aria-hidden":"true"},dontclear:!0}):(b=[b,"?parent=",encodeURIComponent(_.wg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ue.getBodyElement(),d=_.Ue.createIframeElement({name:a,id:a}),d.src=Mz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Kz(d),c.appendChild(d),_.Rf.setupReceiver(a));Pz("oauth2relayReady",e,function(){Oz("oauth2relayReady",e);
var f=Fz;if(null!==f){Fz=null;for(var g=0,k=f.length;g<k;++g)f[g]()}});Pz("oauth2callback",e,function(f){var g=_.Ue.getUrlParameters;g=g(f);var k=g.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(Hz,f)?Hz[f]:null;g.state=f;if(null!=g.state){f=Gz[k];delete Gz[k];k=f&&f.key||"token";var l=g=Xz(f&&f.params,g);var m=(m=Zz(l))?Az(m,l.cookie_policy):!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.N("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",Ez||(Ez=
!0,Vz(l)));_.vz(k,g);g=uz(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(n){}f.callback&&(f.callback(g),f.callback=null)}}})};_.aA=function(a){null!==Fz?$z(a):a&&a()};cA=function(a,b){var c=bA,d=Zz(a);d&&(Bz(a),zz(d,b,function(){if(c){var e={error:"user_signed_out"};e.client_id=a.client_id;e.g_user_cookie_policy=a.g_user_cookie_policy;e.scope=a.scope;e.response_type=a.response_type;e.session_state=a.session_state;e=Xz(null,e);c(e)}}))};
bA=function(a){a||(a=uz(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||(_.Ge.drw=null);_.vz(a);if(b=a.authuser)_.N("googleapis.config/sessionIndex"),_.Oe("googleapis.config/sessionIndex",b);_.fz.oo(_.gz,a);return a};dA=["client_id","cookie_policy","response_type"];eA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
fA=function(a){var b=_.zj(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=parseInt(a.expires_at/1E3).toString());a.expires_in&&(b.expires_in=a.expires_in.toString());a.first_issued_at&&(b.issued_at=parseInt(a.first_issued_at/1E3).toString(),delete b.first_issued_at);_.Qv(b);return b};
gA=function(a){if(void 0===a.include_granted_scopes){var b=_.N("include_granted_scopes");a.include_granted_scopes=!!b}};hA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
iA=function(a){var b=a||{},c={};(0,_.rb)(eA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.N("googleapis/overrideClientId");null!=a&&(c.client_id=a);gA(c);"string"===typeof b.scope?c.scope=b.scope:Array.isArray(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{_.Hw(c.cookie_policy)}catch(d){c.cookie_policy&&
hA("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}null!=b.hd&&(c.hosted_domain=b.hd);null==c.prompt&&(1==b.immediate||"true"==b.immediate?c.prompt="none":"force"==b.approval_prompt&&(c.prompt="consent"));"none"==c.prompt&&(c.session_selection="first_valid");"none"==c.prompt&&"offline"==c.access_type&&delete c.access_type;"undefined"===typeof c.authuser&&(a=_.Fh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.N("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
_.jA=function(a,b){var c=iA(a),d=new _.Uj(function(e,f){_.mx(c,function(g){var k=g||{};(0,_.rb)(dA,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(g=fA(k),null!=g.authuser&&_.Oe("googleapis.config/sessionIndex",g.authuser),e(g))})});b&&d.then(b,b);return d};kA=_.Ph.gA;lA=null;
_.oA=function(a,b){if("force"!==a.approvalprompt){a=_.mA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)lA?(a.client_id!==lA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(lA=a,b=!1);b||nA(a)}};
_.mA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.xb)((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,_.xb)(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||_.N("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.N("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};nA=function(a){_.tn("waaf0","signin","0");_.jA(a,function(b){_.tn("waaf1","signin","0");bA(b)})};
_.pA=function(a){a=_.mA(a);_.Oe("oauth-flow/authWindowWidth",445);_.Oe("oauth-flow/authWindowHeight",615);nA(a)};_.qA=function(a){_.fz.unsubscribe(_.gz,a);_.fz.subscribe(_.gz,a)};
var xA,AA;_.sA=function(a){return a.cookiepolicy?!0:(_.rA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.rA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.wA=function(a,b){var c=_.Dm();_.ye(a,c);c=Wz(c);if(_.sA(c)){var d=_.tA();_.uA(c);b?_.Fe(b,"click",function(){_.vA(c,d)}):_.vA(c,d)}};
_.tA=function(){var a=new xA;_.qA(function(b){a.fC&&b&&(b.access_token&&_.Oe("isPlusUser",!0),b["g-oauth-window"]&&(a.fC=!1,_.Ze("OTA app install is no longer supported.")))});return a};xA=function(){this.fC=!1};_.uA=function(a){a=_.yA(a);_.zA(a.callback);_.aA(function(){_.oA(a)})};_.yA=function(a){AA(a);a.redirecturi&&delete a.redirecturi;lz(function(b){return a[b]})||(a.authuser=0);return a};AA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.zA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.rA('Callback function named "'+a+'" not found');return}a&&_.qA(a)};_.vA=function(a,b){b.fC=!0;a=_.yA(a);_.pA(a)};
_.y("gapi.auth.authorize",_.jA);_.y("gapi.auth.checkSessionState",function(a,b){var c=_.we();c.client_id=a.client_id;c.session_state=a.session_state;_.aA(function(){Nz()?Iz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Ql):_.Rf.call(_.cz,"check_session_state",Jz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.y("gapi.auth.getAuthHeaderValueForFirstParty",kA);_.y("gapi.auth.getToken",uz);
_.y("gapi.auth.getVersionInfo",function(a,b){_.aA(function(){var c=_.Oh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Nz()?Iz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Ql):_.Rf.call(_.cz,"get_versioninfo",Jz(function(f){a(f)}),d,b):a()})});_.y("gapi.auth.init",_.aA);_.y("gapi.auth.setToken",_.vz);_.y("gapi.auth.signIn",function(a){_.wA(a)});_.y("gapi.auth.signOut",function(){var a=uz();a&&cA(a,a.cookie_policy)});
_.y("gapi.auth.unsafeUnpackIdToken",Yz);_.y("gapi.auth._pimf",_.oA);_.y("gapi.auth._oart",Vz);_.y("gapi.auth._guss",function(a){return xz(a).read()});

_.BA=function(a){return!!(a.clientid&&a.scope&&a.callback)};_.CA=function(){var a=_.Dm();_.BA(a)&&!_.N("disableRealtimeCallback")?_.uA(a):_.aA()};_.Kj(function(){_.CA()});

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var vt,Mt,Gt,Qt,Ht,Jt,It,Nt,Kt,Rt;_.st=function(a){if(!(a instanceof Array)){a=_.Ca(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};_.tt=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,_.Ya)()).toString(36)};_.ut=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):_.Wd(document,"*",a,b)};
vt=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," ")):"")}}};_.wt=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};_.xt=/#|$/;
_.yt=function(a,b){var c=a.search(_.xt),d=_.wt(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 decodeURIComponent(a.substr(d,e-d).replace(/\+/g," "))};
_.zt=function(a,b){this.Vc=this.Sf=this.kf="";this.hj=null;this.cA=this.Ik="";this.ng=this.fK=!1;var c;a instanceof _.zt?(this.ng=void 0!==b?b:a.ng,_.At(this,a.kf),_.Bt(this,a.Sf),_.Ct(this,a.Vc),_.Dt(this,a.hj),this.setPath(a.getPath()),_.Et(this,a.Cd.clone()),this.uj(a.zq())):a&&(c=String(a).match(_.sh))?(this.ng=!!b,_.At(this,c[1]||"",!0),_.Bt(this,c[2]||"",!0),_.Ct(this,c[3]||"",!0),_.Dt(this,c[4]),this.setPath(c[5]||"",!0),_.Et(this,c[6]||"",!0),this.uj(c[7]||"",!0)):(this.ng=!!b,this.Cd=new _.Ft(null,
this.ng))};_.zt.prototype.toString=function(){var a=[],b=this.kf;b&&a.push(Gt(b,Ht,!0),":");var c=this.Vc;if(c||"file"==b)a.push("//"),(b=this.Sf)&&a.push(Gt(b,Ht,!0),"@"),a.push(_.qh(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.hj,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Vc&&"/"!=c.charAt(0)&&a.push("/"),a.push(Gt(c,"/"==c.charAt(0)?It:Jt,!0));(c=this.Cd.toString())&&a.push("?",c);(c=this.zq())&&a.push("#",Gt(c,Kt));return a.join("")};
_.zt.prototype.resolve=function(a){var b=this.clone(),c=!!a.kf;c?_.At(b,a.kf):c=!!a.Sf;c?_.Bt(b,a.Sf):c=!!a.Vc;c?_.Ct(b,a.Vc):c=null!=a.hj;var d=a.getPath();if(c)_.Dt(b,a.hj);else if(c=!!a.Ik){if("/"!=d.charAt(0))if(this.Vc&&!this.Ik)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=_.dd(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.Kn();c?_.Et(b,a.Cd.clone()):c=!!a.cA;c&&b.uj(a.zq());return b};_.zt.prototype.clone=function(){return new _.zt(this)};_.At=function(a,b,c){_.Lt(a);a.kf=c?Mt(b,!0):b;a.kf&&(a.kf=a.kf.replace(/:$/,""));return a};_.Bt=function(a,b,c){_.Lt(a);a.Sf=c?Mt(b):b;return a};_.Ct=function(a,b,c){_.Lt(a);a.Vc=c?Mt(b,!0):b;return a};
_.Dt=function(a,b){_.Lt(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("L`"+b);a.hj=b}else a.hj=null;return a};_.zt.prototype.getPath=function(){return this.Ik};_.zt.prototype.setPath=function(a,b){_.Lt(this);this.Ik=b?Mt(a,!0):a;return this};_.zt.prototype.Kn=function(){return""!==this.Cd.toString()};_.Et=function(a,b,c){_.Lt(a);b instanceof _.Ft?(a.Cd=b,a.Cd.OD(a.ng)):(c||(b=Gt(b,Nt)),a.Cd=new _.Ft(b,a.ng));return a};_.zt.prototype.Ta=function(a,b){return _.Et(this,a,b)};
_.zt.prototype.getQuery=function(){return this.Cd.toString()};_.Ot=function(a,b,c){_.Lt(a);a.Cd.set(b,c);return a};_.zt.prototype.Jh=function(a){return this.Cd.get(a)};_.zt.prototype.zq=function(){return this.cA};_.zt.prototype.uj=function(a,b){_.Lt(this);this.cA=b?Mt(a):a;return this};_.zt.prototype.removeParameter=function(a){_.Lt(this);this.Cd.remove(a);return this};_.Lt=function(a){if(a.fK)throw Error("M");};_.zt.prototype.OD=function(a){this.ng=a;this.Cd&&this.Cd.OD(a)};
_.Pt=function(a){return a instanceof _.zt?a.clone():new _.zt(a,void 0)};Mt=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};Gt=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Qt),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};Qt=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};Ht=/[#\/\?@]/g;Jt=/[#\?:]/g;It=/[#\?]/g;Nt=/[#\?@]/g;Kt=/#/g;
_.Ft=function(a,b){this.Wb=this.yc=null;this.Bf=a||null;this.ng=!!b};Rt=function(a){a.yc||(a.yc=new _.jt,a.Wb=0,a.Bf&&vt(a.Bf,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};_.h=_.Ft.prototype;_.h.Fb=function(){Rt(this);return this.Wb};_.h.add=function(a,b){Rt(this);this.Bf=null;a=St(this,a);var c=this.yc.get(a);c||this.yc.set(a,c=[]);c.push(b);this.Wb+=1;return this};
_.h.remove=function(a){Rt(this);a=St(this,a);return this.yc.Ud(a)?(this.Bf=null,this.Wb-=this.yc.get(a).length,this.yc.remove(a)):!1};_.h.clear=function(){this.yc=this.Bf=null;this.Wb=0};_.h.isEmpty=function(){Rt(this);return 0==this.Wb};_.h.Ud=function(a){Rt(this);a=St(this,a);return this.yc.Ud(a)};_.h.Wj=function(a){var b=this.Xc();return _.wb(b,a)};_.h.forEach=function(a,b){Rt(this);this.yc.forEach(function(c,d){(0,_.rb)(c,function(e){a.call(b,e,d,this)},this)},this)};
_.h.Be=function(){Rt(this);for(var a=this.yc.Xc(),b=this.yc.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.Xc=function(a){Rt(this);var b=[];if("string"===typeof a)this.Ud(a)&&(b=_.bd(b,this.yc.get(St(this,a))));else{a=this.yc.Xc();for(var c=0;c<a.length;c++)b=_.bd(b,a[c])}return b};_.h.set=function(a,b){Rt(this);this.Bf=null;a=St(this,a);this.Ud(a)&&(this.Wb-=this.yc.get(a).length);this.yc.set(a,[b]);this.Wb+=1;return this};
_.h.get=function(a,b){if(!a)return b;a=this.Xc(a);return 0<a.length?String(a[0]):b};_.h.setValues=function(a,b){this.remove(a);0<b.length&&(this.Bf=null,this.yc.set(St(this,a),_.cd(b)),this.Wb+=b.length)};_.h.toString=function(){if(this.Bf)return this.Bf;if(!this.yc)return"";for(var a=[],b=this.yc.Be(),c=0;c<b.length;c++){var d=b[c],e=_.qh(d);d=this.Xc(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+_.qh(d[f]));a.push(g)}}return this.Bf=a.join("&")};
_.h.clone=function(){var a=new _.Ft;a.Bf=this.Bf;this.yc&&(a.yc=this.yc.clone(),a.Wb=this.Wb);return a};var St=function(a,b){b=String(b);a.ng&&(b=b.toLowerCase());return b};_.Ft.prototype.OD=function(a){a&&!this.ng&&(Rt(this),this.Bf=null,this.yc.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.ng=a};_.Ft.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)_.rt(arguments[b],function(c,d){this.add(d,c)},this)};

var DA,FA,GA,HA,IA,JA,KA,LA,MA,NA,OA;DA=function(a){return new _.Uj(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,m){c--;d[k]=l?{tu:!0,value:m}:{tu:!1,reason:m};0==c&&b(d)},f=0,g;f<a.length;f++)g=a[f],_.bk(g,_.oj(e,f,!0),_.oj(e,f,!1));else b(d)})};_.EA={};IA={CG:function(a){FA=a;try{delete IA.CG}catch(b){}},DG:function(a){GA=a;try{delete IA.DG}catch(b){}},EG:function(a){HA=a;try{delete IA.EG}catch(b){}}};JA=function(a){return _.Yx(a.status)};
KA=function(){var a=!0,b=_.Hx(_.tx);b&&void 0!==b.withCredentials||(a=!1);return a};LA=function(a,b){return"undefined"===typeof _.N("client/gbd")?!!_.EA[a]:_.N("client/gbd")===b};MA=function(){return LA("GBD_STAGE2_MOD","stage2")};
NA=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=_.N("client/rewrite");_.bb(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=_.N("client/firstPartyRewrite"),_.bb(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};OA=function(a){_.Yc.call(this,a)};_.nj(OA,_.Yc);OA.prototype.name="gapi.client.Error";var PA=function(a){if(!a||"function"!==typeof a)throw new OA("Must provide a function.");this.Lf=null;this.YS=a};PA.prototype.then=function(a,b,c){this.Lf||(this.Lf=this.YS());return this.Lf.then(a,b,c)};PA.prototype.Pw=function(a){this.Lf||(this.Lf=a)};var QA={};
QA=function(a){var b={},c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=_.ah(a,c);d&&(c=_.$g(c,d))&&_.bh(b,c,d,!0)}return b};
var RA={error:{code:-1,message:"A network error occurred and the request could not be completed."}},SA=function(a,b,c,d){_.$x.call(this);this.ld=a;this.jC=b;this.ud=c;a={};if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b=_.ah(d,e),void 0!==b&&(e=_.Zg(e,b))&&_.bh(a,e,b));d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(d[unescape(encodeURIComponent(e))]=unescape(encodeURIComponent(a[e])));this.Rq=d;this.Lf=null};_.nj(SA,_.$x);
SA.prototype.then=function(a){this.Lf||(this.Lf=(new _.Uj(function(b,c){this.U("error",(0,_.J)(function(){c(TA(this))},this));this.U("success",(0,_.J)(function(){b(TA(this))},this));this.send(this.ld,this.jC,this.ud,this.Rq)},this)).then(function(b){b.headers=QA(b.headers);return b},function(b){return b.status?(b.headers=QA(b.headers),_.Zj(b)):_.Zj({result:RA,body:'{"error":{"code":-1,"message":"A network error occurred and the request could not be completed."}}',headers:null,status:null,statusText:null})}));
return this.Lf.then.apply(this.Lf,arguments)};
var TA=function(a){var b=a.getStatus(),c=_.ny(a);var d=204==b?!1:""==a.Pk?_.If(c):_.oy(a);var e=a.getAllResponseHeaders();e=_.ch(e,!1);try{var f=2<_.ly(a)?a.Na.statusText:""}catch(g){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}},UA=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i,VA=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i,WA=/;\s*charset\s*=/i,XA=/(([\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,YA=
function(a){var b=[];a=a.replace(XA,function(c){b.push(_.jz(c));return""});if(a.length)throw Error("sa");return b.join("")},ZA=function(a){var b=a.headers;if(b&&"base64"===_.ah(b,"X-Goog-Safety-Encoding")){var c=YA(a.body),d=_.ah(b,"X-Goog-Safety-Content-Type");b["Content-Type"]=d;if(d.match(UA)||d.match(VA)&&!d.match(WA)){d=[];for(var e=0,f=0;f<c.length;f++){var g=c.charCodeAt(f);255<g&&(d[e++]=g&255,g>>=8);d[e++]=g}c=_.Nv(d)}_.bh(b,"X-Goog-Safety-Encoding");_.bh(b,"X-Goog-Safety-Content-Type");
a.body=c}},$A=function(a,b,c){c||((c=_.N("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/,"")||"/"),c=String(c||""));c||(c=_.N("googleapis.config/root"),b&&(c=_.N("googleapis.config/root-1p")||c),c=String(c||""));c=String(NA(b,c)||c);return a=_.Tx(c,a)},aB=function(a){var b=_.wx(a,"params","headers");b&&"object"===typeof b||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.ah(b,c);d&&(_.Zg(c,d),_.bh(a,c,d))}c="chrome-extension"==(window.location.href.match(_.sh)[1]||
null);a=_.Mh(a);return!(c&&a)&&KA()},bB=function(a,b){var c=a.params||_.we();c.url=c.path;var d=c.root;d=$A("/",_.Mh(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.gi.qj("makeHttpRequests",[a],function(e,f){e&&e.gapiRequest?(e.gapiRequest.data?ZA(e.gapiRequest.data):ZA(e),b(e,_.Jf(e))):b(e,f)})},cB=function(a){return new _.Uj(function(b,c){var d=function(e){e&&e.gapiRequest?e=e.gapiRequest.data||e:c(e);e={result:204!=e.status&&_.If(e.body),body:e.body,headers:e.headers||
null,status:e.status||null,statusText:e.statusText||null};JA(e)?b(e):c(e)};try{bB(a,d)}catch(e){c(e)}})},dB=function(a){var b=!_.N("client/cors")||!!_.N("client/xd4"),c={};_.hl(a,function(d,e){(d=_.Zg(e,d))||b||(d=_.Yg(e));d&&(e=_.ah(a,d))&&_.bh(c,d,e)});return c},eB=function(a){var b=a.params||_.we();a=_.zj(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=encodeURIComponent("$unique");if(!("POST"===c||0<=_.wt(d,"$unique",d.search(_.xt))||0<=_.wt(d,e,d.search(_.xt)))){var f=[];for(g in a)Object.prototype.hasOwnProperty.call(a,
g)&&f.push(g.toLowerCase());f.sort();f.push(_.yg(location.href));var g=f.join(":");f=_.Jh();f.update(g);g=f.Qg().toLowerCase().substr(0,7);g=String(parseInt(g,16)%1E3+1E3).substr(1);d=_.Sx(d,e,"gc"+g)}e=b.body||null;g=b.responseType||null;b=_.Mh(a)||"1p"==b.authType;f=!!_.N("googleapis.config/auth/useUberProxyAuth");_.bh(a,"X-Referer",void 0);a=dB(a);var k=new SA(d,c,e,a);k.qh=b||f;g&&(k.Pk=g);return new _.Uj(function(l,m){k.then(function(n){ZA(n);l(n)},function(n){m(n)})})},fB=function(a,b){var c=
function(d){d=_.zj(d);delete d.result;d={gapiRequest:{data:d}};b&&b(d,_.Jf(d))};eB(a).then(c,c)},gB=function(a,b){(_.N("client/cors")||_.N("client/xd4"))&&aB(a)?fB(a,b):bB(a,b)},hB=function(a){this.Sc=a;this.tf=!1;this.promise={then:(0,_.J)(function(b,c,d){this.tf||(this.tf=!0);this.Qr&&!this.Or?this.Sc.resolve(this.Qr):this.Or&&!this.Qr&&this.Sc.reject(this.Or);return this.Sc.promise.then(b,c,d)},this)}};hB.prototype.resolve=function(a){this.tf?this.Sc.resolve(a):this.Qr||this.Or||(this.Qr=a)};
hB.prototype.reject=function(a){this.tf?this.Sc.reject(a):this.Qr||this.Or||(this.Or=a)};
var iB=function(a){a=_.Mx(a.error);return{code:a.code,data:a.errors,message:a.message}},jB=function(a){throw Error("va`"+a);};
var kB=function(a){PA.call(this,kB.prototype.wm);if(!a||"object"!=typeof a&&"string"!=typeof a)throw new OA("Missing required parameters");if("string"===typeof a){var b={};b.path=a}else b=a;if(!b.path)throw new OA('Missing required parameter: "path"');this.ih={};this.ih.path=b.path;this.ih.method=b.method||"GET";this.ih.params=b.params||{};this.ih.headers=b.headers||{};this.ih.body=b.body;this.ih.root=b.root;this.ih.responseType=b.responseType;this.ih.apiId=b.apiId;this.tl=b.authType||"auto";this.JX=
!!b.isXd4;this.$J=!1;this.ki(this.tl);this.UL=!1};_.nj(kB,PA);kB.prototype.Ce=function(){return this.ih};kB.prototype.ki=function(a){this.tl=a;this.$J="1p"===this.tl};kB.prototype.Dq=function(){return this.$J};
kB.prototype.ij=function(){if(!this.UL){this.UL=!0;var a=this.ih,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=_.ah(b,e);f&&(e=_.Zg(e,f)||_.Yg(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)_.bh(b,d[c][0],d[c][1]);if(this.JX)d="1p"==this.tl;else{d=b;c=String(_.N("client/version","1.1.0"));g=String(_.N("client/name","google-api-javascript-client"));g=!0===lB[g]?g:"google-api-javascript-client";
e=String(_.N("client/appName",""));f=[];e&&(f.push(e),f.push(" "));f.push(g);c&&(f.push("/"),f.push(c));_.bh(d,"X-JavaScript-User-Agent",f.join(""));_.bh(b,"X-Requested-With","XMLHttpRequest");d=_.ah(b,"Content-Type");a.body&&!d&&_.bh(b,"Content-Type","application/json");_.N("client/allowExecutableResponse")||_.bh(b,"X-Goog-Encode-Response-If-Executable","base64");(d=_.ah(b,"Content-Type"))&&"application/json"==d.toLowerCase()&&!a.params.alt&&(a.params.alt="json");(d=a.body||null)&&_.bb(d)&&(a.body=
_.Jf(d));a.key=a.id;b=_.gi.wR(b,void 0,this.tl);d=_.Mh(b);if((c=b)&&window.navigator){g=[];for(e=0;e<mB.length;e++)(f=window.navigator[mB[e]])&&g.push(encodeURIComponent(mB[e])+"="+encodeURIComponent(f));_.bh(c,"X-ClientDetails",g.join("&"))}(c=_.N("client/apiKey"))&&void 0===a.params.key&&(a.params.key=c);(c=_.N("client/trace"))&&!a.params.trace&&(a.params.trace=c)}"auto"==this.tl&&(d?this.ki("1p"):(b=_.ah(b,"Authorization"))&&String(b).match(/^(Bearer|MAC)[ \t]/i)?this.ki("oauth2"):this.ki("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=_.N("googleapis.config/root"),d&&(b=_.N("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=_.Pg(a.path);g=String(_.N("googleapis.config/xd3")||"");18<=g.length&&"/static/proxy.html"==g.substring(g.length-
18)&&(g=g.substring(0,g.length-18));g||(g="/");e=_.Pg(g);if(g!=e)throw Error("x");"/"!=g.charAt(g.length-1)&&(g+="/");c=_.Tx(g,c);_.sq(c,"/")&&(c=c.substring(0,c.length-1));g=_.we();for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(e=encodeURIComponent(k),g[e]=b[k]);c=_.wh(c,g);a.path=c;a.root=NA(!!d,a.root);a.url=$A(a.path,!!d,a.root)}};
var nB=function(a){a.ij();var b=a.ih;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.tl}}};kB.prototype.execute=function(a){var b=nB(this);gB(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=_.If(c.body)}catch(g){}a&&a(f,d)})};
kB.prototype.wm=function(){var a=nB(this);return(_.N("client/cors")||_.N("client/xd4"))&&aB(a)?eB(a):cB(a)};kB.prototype.Kh=function(){return this.wm()};var mB=["appVersion","platform","userAgent"],lB={"google-api-gwt-client":!0,"google-api-javascript-client":!0};kB.prototype.execute=kB.prototype.execute;kB.prototype.then=kB.prototype.then;kB.prototype.getPromise=kB.prototype.Kh;
var oB=function(a){if(!a||"object"!=typeof a)throw new OA("Missing rpc parameters");if(!a.method)throw new OA("Missing rpc method");this.Bw=a};oB.prototype.Rl=function(){var a=this.Bw.transport;return a?a.root||null:null};oB.prototype.execute=function(a){var b=GA();b.add(this,{id:"gapiRpc",callback:this.rr(a)});b.execute()};
oB.prototype.Hv=function(a){var b=this.Bw.method,c=String,d;(d=this.Bw.apiVersion)||(d=String(b).split(".")[0],d=_.N("googleapis.config/versions/"+b)||_.N("googleapis.config/versions/"+d)||"v1",d=String(d));c=c(d);a={jsonrpc:"2.0",id:a,method:b,apiVersion:c};(b=this.Bw.rpcParams)&&(a.params=b);return a};
oB.prototype.rr=function(a){return function(b,c){if(b)if(b.error){var d=b.error;null==d.error&&(d.error=_.zj(b.error))}else d=b.result||b.data,_.bb(d)&&null==d.result&&(d.result=_.zj(b.result||b.data));else d=!1;a(d,c)}};oB.prototype.execute=oB.prototype.execute;
var qB=function(a,b){this.Df=b||0;2==this.Df?(b=null,null!=a&&_.bb(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 oB(b)):(0==this.Df&&(b=a&&a.callback)&&(a.callback=pB(b)),b=null,null!=a&&(_.bb(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 kB(b))},pB=function(a){return function(b){if(null!=b&&_.bb(b)&&b.error){var c=iB(b);b=_.Jf([{id:"gapiRpc",error:c}]);c.error=_.Mx(c)}else null==b&&(b={}),c=_.Mx(b),c.result=_.Mx(b),b=_.Jf([{id:"gapiRpc",result:b}]);a(c,b)}};_.h=qB.prototype;_.h.getFormat=function(){return this.Df};_.h.execute=function(a){this.nb.execute(a&&1==this.Df?pB(a):a)};_.h.then=function(a,b,c){2==this.Df&&jB('The "then" method is not available on this object.');return this.nb.then(a,b,c)};
_.h.Pw=function(a){this.nb.Pw&&this.nb.Pw(a)};_.h.Ce=function(){if(this.nb.Ce)return this.nb.Ce()};_.h.ij=function(){this.nb.Ce&&this.nb.ij()};_.h.Rl=function(){if(this.nb.Rl)return this.nb.Rl()};_.h.Hv=function(a){if(this.nb.Hv)return this.nb.Hv(a)};_.h.ki=function(a){this.nb.ki&&this.nb.ki(a)};_.h.Dq=function(){return this.nb.Dq()};_.h.Kh=function(){if(this.nb.Kh)return this.nb.Kh()};qB.prototype.execute=qB.prototype.execute;qB.prototype.then=qB.prototype.then;qB.prototype.getPromise=qB.prototype.Kh;
var rB=/<response-(.*)>/,sB=/^application\/http(;.+$|$)/,tB=["clients6.google.com","content.googleapis.com","www.googleapis.com"],uB=function(a,b){a=_.ah(a,b);if(!a)throw new OA("Unable to retrieve header.");return a},vB=function(a){var b=void 0;a=_.Ca(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 _.N("client/batchPath/"+b)||"batch/"+b.split(":").join("/")},wB=function(a){a=a.map(function(b){return b.request});
return vB(a)},xB=function(a,b){var c=[];a=a.Ce();var d=function(f,g){_.hl(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")},AB=function(a,b){a=yB(a,b);var c={};_.Eb(a,function(d,e){c[e]=zB(d,e)});return c},zB=function(a,b){return{result:a.result||a.body,rawResult:_.Jf({id:b,result:a.result||a.body}),
id:b}},yB=function(a,b){a=(0,_.xb)(a);_.sq(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.we();for(var c=0;c<a.length;c++)if(a[c]){var d;if(d=a[c]){_.sq(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=BB(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=BB(d,e);e<d.length&&""!=d[e];)e++;e++;f.body=d.slice(e).join("\r\n");
ZA(f);d=f}else d=null;e=_.we();f=uB(d.outerHeaders,"Content-Type");if(null==sB.exec(f))throw new OA("Unexpected Content-Type <"+f+">");f=uB(d.outerHeaders,"Content-ID");f=rB.exec(f);if(!f)throw new OA("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=_.If(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},BB=
function(a,b){for(var c=[];b<a.length&&a[b];b++)c.push(a[b]);return _.ch(c.join("\r\n"),!1)},CB=function(a,b,c){a=a||b;if(!a||"https"!==_.Pt(a).kf)if(a=c?_.N("googleapis.config/root-1p"):_.N("googleapis.config/root"),!a)return!1;a=NA(c,String(a))||a;return tB.includes(_.Pt(a).Vc)};
var DB=function(a){PA.call(this,DB.prototype.wm);this.Cf={};this.tt={};this.Nk=[];this.Me=a;this.XX=!!a;this.pJ=this.Wu=!1;this.iI=MA();this.hI=MA()||LA("GBD_STAGE1_MOD","stage1")};_.nj(DB,PA);var EB=function(a,b){a=_.Ca(Object.values(a.Cf));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};DB.prototype.fn=function(a){(function(b){setTimeout(function(){throw b;})})(a)};
DB.prototype.add=function(a,b){var c=b||_.we();b=_.we();if(!a)throw new OA("Batch entry "+(_.xe(c,"id")?'"'+c.id+'" ':"")+"is missing a request method");a.ij();b.request=a;var d=_.ek();d=new hB(d);b.xo=d;a.Pw(b.xo.promise);d=a.Ce().headers;_.Mh(d)&&(this.Wu=!0);(d=String((d||{}).Authorization||"")||null)&&d.match(/^Bearer|MAC[ \t]/i)&&(this.pJ=!0);d=a.Ce().root;if(!this.XX){if(d&&this.Me&&d!=this.Me)throw new OA('The "root" provided in this request is not consistent with that of existing requests in the batch.');
this.Me=d||this.Me}if(_.xe(c,"id")){d=c.id;if(EB(this,d))throw new OA('Batch ID "'+d+'" already in use, please use another.');b.id=d}else{do b.id=String(Math.round(2147483647*_.$h()));while(EB(this,b.id))}b.callback=c.callback;c="batch";CB(this.Me,a.Ce().path,this.Wu)&&(this.hI&&(c=wB([b])),this.hI&&!this.iI&&("batch"!==c||this.Cf.batch?this.Cf.batch&&(c="batch"):(a=Array.from(Object.values(this.Cf)).flat(),this.Cf={},this.Cf.batch=a)));this.Cf[c]=this.Cf[c]||[];this.Cf[c].push(b);this.tt[b.id]=b;
return b.id};
var FB=function(a){for(var b=[],c=CB(a.Me,void 0,a.Wu),d=_.Ca(Object.entries(a.Cf)),e=d.next();!e.done;e=d.next()){e=_.Ca(e.value);var f=e.next().value;e=e.next().value;for(var g=!0,k=_.Ca(e),l=k.next();!l.done;l=k.next())l=l.value,l.request.ij(),a.iI&&"batch"===f&&c&&(g=!1,l.AX=!0,l.request.Ce.root=a.Me,b.push(l.request),a.Nk.push([l]));if(g){f=a.Me;g=a.Wu;k=a.pJ;l="batch"+String(Math.round(2147483647*_.$h()))+String(Math.round(2147483647*_.$h()));var m="--"+l;l="multipart/mixed; boundary="+l;for(var n=
{path:wB(e),method:"POST"},p=[],t=0;t<e.length;t++)p.push(xB(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;_.N("client/xd4")&&KA()?(n.isXd4=!0,n.params={$ct:l},n.headers={},_.bh(n.headers,"Content-Type","text/plain; charset=UTF-8"),g?n.authType="1p":k&&(n.authType="oauth2"),f=new kB(n)):(n.headers=
{},_.bh(n.headers,"Content-Type",l),f=HA(n));b.push(f);a.Nk.push(e)}}return b};DB.prototype.execute=function(a){if(!(1>Object.keys(this.Cf).length)){var b=this.rr(a);a=FB(this);var c=[],d=a.map(function(e){return new _.Uj(function(f){try{e.execute(function(g,k){return f({zG:g,tZ:k})})}catch(g){c.push(g),f({zG:{tu:!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.tZ});e=e.map(function(g){return g.zG});b(e,f)})}};
DB.prototype.wm=function(){var a=this;if(1>Object.keys(this.Cf).length)return Promise.resolve({});var b=FB(this).map(function(c){return new _.Uj(function(d,e){return c.Kh().then(d,e)})});return DA(b).then(function(c){c=c.map(function(d){return d.tu?d.value:d});return GB(a,c,!0)})};
var HB=function(a,b,c,d,e){var f={};if(d){f=c?yB:AB;c=uB(b.headers,"Content-Type").split("boundary=")[1];if(!c)throw new OA("Boundary not indicated in response.");f=f(b.body,"--"+c)}else c?(b.result=_.If(b.body),f[e]=b):f[e]=zB(b,e);b={};f=_.Ca(Object.entries(f));for(c=f.next();!c.done;c=f.next())if(d=_.Ca(c.value),c=d.next().value,d=d.next().value,b[c]=d,!a.tt[c])throw new OA("Could not find batch entry for id "+c+".");return b},GB=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.tu){l++;b[m]=n.reason;var p=IB([b[m]]),t=_.Ca(a.Nk[m]);for(n=t.next();!n.done;n=t.next())g[n.value.id]=p}else{if(1>a.Nk[m].length)throw new OA("Error processing batch responses.");try{var r=!(1===a.Nk[m].length&&a.Nk[m][0].AX),u=a.Nk[m][0].id;if(!c){p=n;var v=d[m];t=p;if(v&&(!t||!r)){var w=_.If(v);w&&(t=w.gapiRequest?w.gapiRequest.data:w,!r&&p&&(t.body=p))}if(!t)throw new OA("The batch response is missing.");n=t}p=void 0;if(t=n){var z=t.headers;if(z){var C=_.we();for(p in z)if(Object.prototype.hasOwnProperty.call(z,
p)){var A=_.ah(z,p);_.bh(C,p,A,!0)}t.headers=C}}if(r&&0!=uB(n.headers,"Content-Type").indexOf("multipart/mixed"))throw new OA("The response's Content-Type is not multipart/mixed.");k=k||_.Mx(n);var F=JA(n);F&&!JA(k)&&(k.status=n.status,k.statusText=n.statusText);if(F||c||!r)f=!0,g=Object.assign(g,HB(a,n,c,r,u))}catch(G){for(l++,b[m]=G,p=IB([G]),t=_.Ca(a.Nk[m]),n=t.next();!n.done;n=t.next())g[n.value.id]=p}}}if(l===b.length){d=IB(b);g=_.Jf(d);k=0;a=Array.from(Object.values(a.Cf)).flat();f=_.Ca(a);
for(l=f.next();!l.done;l=f.next())if(l=l.value,c)l.xo.reject(d);else if(l.callback)try{k++,l.callback(d,g)}catch(G){DB.prototype.fn(G)}if(e)try{e(d,g)}catch(G){DB.prototype.fn(G)}else if(k!==a.length)throw 1===b.length?b[0]:d;}else{if(f)for(f=_.Ca(Object.entries(g)),l=f.next();!l.done;l=f.next())if(l=_.Ca(l.value),m=l.next().value,l=l.next().value,c)m=a.tt[m],l&&JA(l)?m.xo.resolve(l):m.xo.reject(l);else if(m=a.tt[m],m.callback){if(l&&l.rawResult)try{delete l.rawResult}catch(G){}try{m.callback(l||
!1,_.Jf(l))}catch(G){DB.prototype.fn(G)}}k.result=g||{};k.body=1===b.length?k.body:"";if(e)try{e(g||null,1===d.length?d[0]:null)}catch(G){DB.prototype.fn(G)}return k}},IB=function(a){var b={error:{code:0,message:"The batch request could not be fulfilled.  "}};a=_.Ca(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:_.Jf(b),headers:null,status:null,statusText:null}};DB.prototype.rr=function(a){var b=this;return function(c,d){b.sy(c,d,a)}};DB.prototype.sy=function(a,b,c){GB(this,a,!1,b,c)};DB.prototype.add=DB.prototype.add;DB.prototype.execute=DB.prototype.execute;DB.prototype.then=DB.prototype.then;
var JB=function(){this.dk=[];this.Me=this.Rc=null};
JB.prototype.add=function(a,b){b=b||{};var c={},d=Object.prototype.hasOwnProperty;if(a)c.rpc=a;else throw new OA("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.dk.length;d++)if(this.dk[d].id==a)throw new OA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(2147483647*_.$h()|0);while(d.call(this.dk,c.id))}c.callback=b.callback;this.dk.push(c);return c.id};
var KB=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)}};
JB.prototype.execute=function(a){this.Rc=[];for(var b,c,d=0;d<this.dk.length;d++)b=this.dk[d],c=b.rpc,this.Rc.push(c.Hv(b.id)),this.Me=c.Rl()||this.Me;c=this.rr(a);a={requests:this.Rc,root:this.Me};b={};d=a.headers||{};for(var e in d){var f=e;if(Object.prototype.hasOwnProperty.call(d,f)){var g=_.ah(d,f);g&&(f=_.Zg(f,g)||_.Yg(f))&&_.bh(b,f,g)}}_.bh(b,"Content-Type","application/json");e=KB(c);HA({method:"POST",root:a.root||void 0,path:"/rpc",params:a.urlParams,headers:b,body:a.requests||[]}).then(e,
e)};JB.prototype.rr=function(a){var b=this;return function(c,d){b.sy(c,d,a)}};JB.prototype.sy=function(a,b,c){a||(a={});for(var d=0;d<this.dk.length;d++){var e=this.dk[d];e.callback&&e.callback(a[e.id]||!1,b)}c&&c(a,b)};IA.DG(function(){return new JB});JB.prototype.add=JB.prototype.add;JB.prototype.execute=JB.prototype.execute;
var LB=function(a,b){this.XY=a;this.Df=b||null;this.Te=null};LB.prototype.BB=function(a){this.Df=a;this.Te=2==this.Df?new JB:new DB(this.XY)};LB.prototype.add=function(a,b){if(!a)throw a=b||_.we(),new OA("Batch entry "+(_.xe(a,"id")?'"'+a.id+'" ':"")+"is missing a request method");null===this.Df&&this.BB(a.getFormat());this.Df!==a.getFormat()&&jB("Unable to add item to batch.");var c=b&&b.callback;1==this.Df&&c&&(b.callback=function(d){d=MB(d);var e=_.Jf([d]);c(d,e)});return this.Te.add(a,b)};
LB.prototype.execute=function(a){var b=a&&1==this.Df?function(c){var d=[];_.hl(c,function(f,g){f=MB(f);c[g]=f;d.push(f)});var e=_.Jf(d);a(c,e)}:a;this.Te&&this.Te.execute(b)};var MB=function(a){var b=a?_.wx(a,"result"):null;_.bb(b)&&null!=b.error&&(b=iB(b),a={id:a.id,error:b});return a};LB.prototype.then=function(a,b,c){2==this.Df&&jB('The "then" method is not available on this object.');return this.Te.then(a,b,c)};LB.prototype.add=LB.prototype.add;LB.prototype.execute=LB.prototype.execute;
LB.prototype.then=LB.prototype.then;
var NB=function(a){PA.call(this,NB.prototype.wm);this.nb=a};_.nj(NB,PA);var OB=function(a){if(!MA())return!1;a.nb.ij();var b=a.nb,c=b.Ce();return!(CB(c.root,c.path,a.nb.Dq())?"batch"!==vB([b]):1)};_.h=NB.prototype;
_.h.execute=function(a){var b=this;if(OB(this))this.nb.execute(a);else{var c=function(d){if("function"===typeof 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=pB(a);var f={}}var g=d?d.result:!1;d&&204==d.status&&(g=f,delete e.gapiRequest.data.body);a(g,_.Jf(e))}};this.Kh().then(c,c)}};
_.h.wm=function(){return OB(this)?this.nb.Kh():new _.Uj(function(a,b){var c=FA(),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="");JA(f)?a(f):b(f);return}b(e)},b)},this)};_.h.Ce=function(){if(this.nb.Ce)return this.nb.Ce()};_.h.ij=function(){this.nb.ij&&this.nb.ij()};_.h.Rl=function(){if(this.nb.Rl)return this.nb.Rl()};
_.h.ki=function(a){this.nb.ki&&this.nb.ki(a)};_.h.Dq=function(){return this.nb.Dq()};_.h.getFormat=function(){return this.nb.getFormat?this.nb.getFormat():0};_.h.Kh=function(){return this.wm()};NB.prototype.execute=NB.prototype.execute;NB.prototype.then=NB.prototype.then;NB.prototype.getPromise=NB.prototype.Kh;
var PB="/rest?fields="+encodeURIComponent("kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id")+"&pp=0",QB=function(a,b){return"/discovery/v1/apis/"+(encodeURIComponent(a)+"/"+encodeURIComponent(b)+PB)},SB=function(a,b,c,d){if(_.bb(a)){var e=a;var f=a.name;a=a.version||"v1"}else f=a,a=b;if(!f||!a)throw new OA("Missing required parameters.");var g=c||function(){},k=_.bb(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 OA("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&&!_.N(l)&&_.Oe(l,m.batchPath));var n=m.servicePath,p=m.parameters,t=function(u){_.hl(u,function(v){if(!(v&&v.id&&v.path&&v.httpMethod))throw new OA("Missing required parameters");
var w=v.id.split("."),z=window.gapi.client,C;for(C=0;C<w.length-1;C++){var A=w[C];z[A]=z[A]||{};z=z[A]}var F,G;k&&(k.hasOwnProperty("root")&&(F=k.root),k.hasOwnProperty("apiId")&&(G=k.apiId));A=window.gapi.client[w[0]];A.aF||(A.aF={servicePath:n||"",parameters:p,apiId:G});w=w[C];z[w]||(z[w]=_.oj(RB,{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.aF))})},r=function(u){_.hl(u,function(v){t(v.methods);r(v.resources)})};r(m.resources);t(m.methods);g.call()}};e?c({result:e}):0<f.indexOf("://")?HA({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):HA({path:QB(f,
a),root:d&&d.root}).then(c,c)},RB=function(a,b,c,d){var e=b.servicePath||"";_.dd(e,"/")||(e="/"+e);var f=TB(a.path,[a.parameters,b.parameters],c||{});c=f.Jk;var g=f.z1;e=_.Tx(e,f.path);f=g.root;delete g.root;var k=a.parameterName;!k&&1==_.Kx(g)&&g.hasOwnProperty("resource")&&(k="resource");if(k){var l=g[k];delete g[k]}null==l&&(l=d);null==l&&a.request&&(_.uq(g)&&(g=void 0),l=g);k={};var m=a.httpMethod;"GET"==m&&void 0!==l&&""!=String(l)&&(_.bh(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 HA({path:e,method:m,params:c,headers:k,body:l,root:f||a.root,apiId:b.apiId},1)},TB=function(a,b,c){c=_.zj(c);var d={};_.gl(b,function(e){_.hl(e,function(f,g){var k=f.required;if("path"==f.location)if(Object.prototype.hasOwnProperty.call(c,g))-1!=a.indexOf("{"+g+"}")?(f=_.qh(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 OA("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,Jk:d,z1:c}};
var UB=function(a,b,c,d){var e=b||"v1",f=_.bb(d)?d:{root:d};if(c)SB(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 _.Uj(function(g,k){var l=function(m){m?k(m):g()};try{SB(a,e,l,f)}catch(m){k(m)}})},VB=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),WB=function(a,b){if(!a)throw new OA("Missing required parameters");
var c="object"===typeof a?a:{path:a};a=c.callback;delete c.callback;b=new qB(c,b);if(c=!!_.N("client/xd4")&&KA()){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(VB)}c&&(b=new NB(b));return a?(b.execute(a),null):b};IA.EG(function(a){return WB.apply(null,arguments)});
var XB=function(a,b){if(!a)throw new OA("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 qB({method:a,apiVersion:g.apiVersion,rpcParams:k,transport:{name:"googleapis",root:l}},2)}}},YB=function(a){return new LB(a)};IA.CG(function(a){return YB.apply(null,arguments)});
var ZB=function(a){if(_.EA.JSONRPC_ERROR_MOD)throw new OA(a+" is discontinued. See https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html");_.Xe(a+" is deprecated. See https://developers.google.com/api-client-library/javascript/reference/referencedocs")};
_.y("gapi.client.init",function(a){a.apiKey&&_.Oe("client/apiKey",a.apiKey);var b=(0,_.tb)(a.discoveryDocs||[],function(d){return UB(d)});if((a.clientId||a.client_id)&&a.scope){var c=new _.Uj(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("wa"))}})});b.push(c)}else(a.clientId||a.client_id||a.scope)&&_.Xe("client_id and scope must both be provided to initialize OAuth.");return _.ck(b).then(function(){})});
_.y("gapi.client.load",UB);_.y("gapi.client.newBatch",YB);_.y("gapi.client.newRpcBatch",function(){ZB("gapi.client.newRpcBatch");return YB()});_.y("gapi.client.newHttpBatch",function(a){ZB("gapi.client.newHttpBatch");return new LB(a,0)});_.y("gapi.client.register",function(a,b){ZB("gapi.client.register");var c;b&&(c={apiVersion:b.apiVersion,root:b.root});XB(a,c)});_.y("gapi.client.request",WB);
_.y("gapi.client.rpcRequest",function(a,b,c){ZB("gapi.client.rpcRequest");if(!a)throw new OA('Missing required parameter "method".');return new qB({method:a,apiVersion:b,rpcParams:c,transport:{name:"googleapis",root:c&&c.root||""}},2)});_.y("gapi.client.setApiKey",function(a){_.Oe("client/apiKey",a);_.Oe("googleapis.config/developerKey",a)});_.y("gapi.client.setApiVersions",function(a){ZB("gapi.client.setApiVersions");_.Oe("googleapis.config/versions",a)});_.y("gapi.client.getToken",function(a){return _.ei(a)});
_.y("gapi.client.setToken",function(a,b){a?_.Qv(a,b):_.Rv(b)});_.y("gapi.client.AuthType",{p2:"auto",NONE:"none",Q6:"oauth2",H4:"1p"});_.y("gapi.client.AuthType.AUTO","auto");_.y("gapi.client.AuthType.NONE","none");_.y("gapi.client.AuthType.OAUTH2","oauth2");_.y("gapi.client.AuthType.FIRST_PARTY","1p");

_.EA.GBD_STAGE1_MOD=!0;

_.EA.GBD_STAGE2_MOD=!0;

});
// Google Inc.
