gapi.loaded_1(function(_){var window=this; _.Fg=(window.gapi||{}).load; _.lo=_.Be(_.Me,"rw",_.Ce()); var mo=function(a,b){(a=_.lo[a])&&a.state=0};Lo=function(a){return _.Be(_.Me,"watt",_.Ce())[a]};Mo=function(a){return function(b,c){return a?_.tm()[c]||a[c]||"":_.tm()[c]||""}};_.No={callback:1,clientid:1,cookiepolicy:1,openidrealm:-1,includegrantedscopes:-1,requestvisibleactions:1,scope:1};_.Oo=!1; _.Po=function(){if(!_.Oo){for(var a=document.getElementsByTagName("meta"),b=0;b0&&(b=_.Ge(a,e,""))&&(_.vo[e]=b)}_.Oo=!0}e=_.Ce();_.Ee(_.vo,e);return e};Qo=function(a){var b;a.match(/^https?%3A/i)&&(b=decodeURIComponent(a));a=b?b:a;return _.$l(document,a)}; Ro=function(a){a=a||"canonical";for(var b=document.getElementsByTagName("link"),c=0,d=b.length;c=0||c&&h.indexOf("data-")!=0||k==="null"||"specified"in f&&!f.specified||(c&&(h=h.substr(5)),b[h.toLowerCase()]=k)}a=a.style;(c=cp(a&&a.height))&&(b.height=String(c));(a=cp(a&&a.width))&&(b.width=String(a));return b}; _.fp=function(a,b,c,d,e,f){if(c.rd)var h=b;else h=document.createElement("div"),b.dataset.gapistub=!0,h.style.cssText="position:absolute;width:450px;left:-10000px;",b.parentNode.insertBefore(h,b);f.siteElement=h;h.id||(h.id=_.ep(a));b=_.Ce();b[">type"]=a;_.Ee(c,b);a=_.xm(d,h,e);f.iframeNode=a;f.id=a.getAttribute("id")};_.ep=function(a){_.Be(ap,a,0);return"___"+a+"_"+ap[a]++};cp=function(a){var b=void 0;typeof a==="number"?b=a:typeof a==="string"&&(b=parseInt(a,10));return b};var Ho=_.gd(["data-"]),jp,kp,lp,mp,np=/(?:^|\s)g-((\S)*)(?:$|\s)/,op={plusone:!0,autocomplete:!0,profile:!0,signin:!0,signin2:!0};jp=_.Be(_.Me,"SW",_.Ce());kp=_.Be(_.Me,"SA",_.Ce());lp=_.Be(_.Me,"SM",_.Ce());mp=_.Be(_.Me,"FW",[]); var pp=function(a,b){return(typeof a==="string"?document.getElementById(a):a)||b},tp=function(a,b){var c;qp.ps0=(new Date).getTime();rp("ps0");a=pp(a,_.ye);var d=_.ye.documentMode;if(a.querySelectorAll&&(!d||d>8)){d=b?[b]:Io(jp).concat(Io(kp)).concat(Io(lp));for(var e=[],f=0;f0&&q>=e&&(f.ic="1");q=/^#|^fr-/;e={};for(var r in f)_.De(f,r)&&q.test(r)&&(e[r.replace(q,"")]=f[r],delete f[r]);r=_.Xe("iframes/"+a+"/params/si")=="q"?f:e;q=_.Po();for(var w in q)!_.De(q,w)||_.De(f,w)||_.De(e,w)||(r[w]=q[w]);w=[].concat($o);r=_.Xe("iframes/"+a+"/methods");_.Nm(r)&&(w=w.concat(r));for(u in c)_.De(c,u)&&/^on/.test(u)&&(a!="plus"||u!="onconnect")&&(w.push(u),delete f[u]);delete f.callback;e._methods=w.join(",");var u=_.Zl(n,f,e);w=h||{};w.allowPost= 1;w.attributes=Zo;w.dontclear=!k;h={};h.userParams=c;h.url=u;h.type=a;_.fp(a,b,c,u,w,h);b=h.id;c=_.Ce();c.id=b;c.userParams=h.userParams;c.url=h.url;c.type=h.type;c.state=1;_.lo[b]=c;b=h}else b=null;b&&((c=b.id)&&d.push(c),up(a,b))}},vp=function(a,b,c){if(a&&a.nodeType===1&&b){if(c)return 1;if(lp[b]){if(Jo[a.nodeName.toLowerCase()])return(a=a.innerHTML)&&a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")?0:1}else{if(kp[b])return 0;if(jp[b])return 1}}return null};_.Be(_.Fe,"platform",{}).go=function(a,b){tp(a,b)};var wp=_.Be(_.Me,"perf",_.Ce()),qp=_.Be(wp,"g",_.Ce()),xp=_.Be(wp,"i",_.Ce()),yp,zp,Ap,rp,Cp,Dp,Ep;_.Be(wp,"r",[]);yp=_.Ce();zp=_.Ce();Ap=function(a,b,c,d){yp[c]=yp[c]||!!d;_.Be(zp,c,[]);zp[c].push([a,b])};rp=function(a,b,c){var d=wp.r;typeof d==="function"?d(a,b,c):d.push([a,b,c])};Cp=function(a,b,c,d){if(b=="_p")throw Error("H");_.Bp(a,b,c,d)};_.Bp=function(a,b,c,d){Dp(b,c)[a]=d||(new Date).getTime();rp(a,b,c)};Dp=function(a,b){a=_.Be(xp,a,_.Ce());return _.Be(a,b,_.Ce())}; Ep=function(a,b,c){var d=null;b&&c&&(d=Dp(b,c)[a]);return d||qp[a]};(function(){function a(h){this.t={};this.tick=function(k,l,m){this.t[k]=[m!=void 0?m:(new Date).getTime(),l];if(m==void 0)try{window.console.timeStamp("CSI/"+k)}catch(n){}};this.getStartTickTime=function(){return this.t.start[0]};this.tick("start",null,h)}var b;if(window.performance)var c=(b=window.performance.timing)&&b.responseStart;var d=c>0?new a(c):new a;window.__gapi_jstiming__={Timer:a,load:d};if(b){var e=b.navigationStart;e>0&&c>=e&&(window.__gapi_jstiming__.srt=c-e)}if(b){var f=window.__gapi_jstiming__.load; e>0&&c>=e&&(f.tick("_wtsrt",void 0,e),f.tick("wtsrt_","_wtsrt",c),f.tick("tbsd_","wtsrt_"))}try{b=null,window.chrome&&window.chrome.csi&&(b=Math.floor(window.chrome.csi().pageT),f&&e>0&&(f.tick("_tbnd",void 0,window.chrome.csi().startE),f.tick("tbnd_","_tbnd",e))),b==null&&window.gtbExternal&&(b=window.gtbExternal.pageT()),b==null&&window.external&&(b=window.external.pageT,f&&e>0&&(f.tick("_tbnd",void 0,window.external.startE),f.tick("tbnd_","_tbnd",e))),b&&(window.__gapi_jstiming__.pt=b)}catch(h){}})();if(window.__gapi_jstiming__){window.__gapi_jstiming__.GP={};window.__gapi_jstiming__.Qea=1;var Fp=function(a,b,c){var d=a.t[b],e=a.t.start;if(d&&(e||c))return d=a.t[b][0],e=c!=void 0?c:e[0],Math.round(d-e)},Gp=function(a,b,c){var d="";window.__gapi_jstiming__.srt&&(d+="&srt="+window.__gapi_jstiming__.srt,delete window.__gapi_jstiming__.srt);window.__gapi_jstiming__.pt&&(d+="&tbsrt="+window.__gapi_jstiming__.pt,delete window.__gapi_jstiming__.pt);try{window.external&&window.external.tran?d+="&tran="+ window.external.tran:window.gtbExternal&&window.gtbExternal.tran?d+="&tran="+window.gtbExternal.tran():window.chrome&&window.chrome.csi&&(d+="&tran="+window.chrome.csi().tran)}catch(p){}var e=window.chrome;if(e&&(e=e.loadTimes)&&typeof e==="function"&&(e=e())){e.wasFetchedViaSpdy&&(d+="&p=s");if(e.wasNpnNegotiated){d+="&npn=1";var f=e.npnNegotiatedProtocol;f&&(d+="&npnv="+(encodeURIComponent||escape)(f))}e.wasAlternateProtocolAvailable&&(d+="&apa=1")}var h=a.t,k=h.start;e=[];f=[];for(var l in h)if(l!= "start"&&l.indexOf("_")!=0){var m=h[l][1];m?h[m]&&f.push(l+"."+Fp(a,l,h[m][0])):k&&e.push(l+"."+Fp(a,l))}delete h.start;if(b)for(var n in b)d+="&"+n+"="+b[n];(b=c)||(b="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.__gapi_jstiming__.sn||"gwidget")+"&action=",a.name,f.length?"&it="+f.join(","):"",d,"&rt=",e.join(",")].join("")},Hp=function(a,b,c){a=Gp(a,b,c);if(!a)return"";b=new Image;var d=window.__gapi_jstiming__.Qea++; window.__gapi_jstiming__.GP[d]=b;b.onload=b.onerror=function(){window.__gapi_jstiming__&&delete window.__gapi_jstiming__.GP[d]};b.src=a;b=null;return a};window.__gapi_jstiming__.report=function(a,b,c){var d=document.visibilityState,e="visibilitychange";d||(d=document.webkitVisibilityState,e="webkitvisibilitychange");if(d=="prerender"){var f=!1,h=function(){if(!f){b?b.prerender="1":b={prerender:"1"};if((document.visibilityState||document.webkitVisibilityState)=="prerender")var k=!1;else Hp(a,b,c), k=!0;k&&(f=!0,document.removeEventListener(e,h,!1))}};document.addEventListener(e,h,!1);return""}return Hp(a,b,c)}};var Ip={g:"gapi_global",m:"gapi_module",w:"gwidget"},Jp=function(a,b){this.type=a?a=="_p"?"m":"w":"g";this.name=a;this.Cs=b};Jp.prototype.key=function(){switch(this.type){case "g":return this.type;case "m":return this.type+"."+this.Cs;case "w":return this.type+"."+this.name+this.Cs}}; var Kp=new Jp,Lp=navigator.userAgent.match(/iPhone|iPad|Android|PalmWebOS|Maemo|Bada/),Mp=_.Be(wp,"_c",_.Ce()),Np=Math.random()<(_.Xe("csi/rate")||0),Pp=function(a,b,c){for(var d=new Jp(b,c),e=_.Be(Mp,d.key(),_.Ce()),f=zp[a]||[],h=0;h=0;--d){var e=a.xy[d],f=b[a.N1[e]||e]||b[e],h=b[e];h&&f!==h&&(f=function(l,m){return function(n){m.apply(this,arguments);l.apply(this,arguments)}}(f,h));f&&(c[e]=f)}for(var k in a.FD)a.FD.hasOwnProperty(k)&&(c[k]=pq(c[k]||function(){},a.FD[k]));c.drefresh=cq;c.erefresh=dq;return c}; pq=function(a,b){return function(c){var d=b(c);if(d){var e=c.href||null;if(Vp){if(window._gat)try{var f=window._gat._getTrackerByName("~0");f&&f._getAccount()!="UA-XXXXX-X"?f._trackSocial("Google",d,e):window._gaq&&window._gaq.push(["_trackSocial","Google",d,e])}catch(k){}if(window.ga&&window.ga.getAll)try{var h=window.ga.getAll();for(f=0;f0;)a(b.shift())}; zq=function(a,b){a.Pp++;Cp("wrs",a.Qe,String(a.Pp));var c=b.userParams,d=wq(a.config,c),e=[],f=b.iframeNode,h=b.siteElement,k=jq(a,d),l=wq(a.parameters,c);_.Ee(_.Po(),l);l=vq(d,l);c=!!c["data-onload"];var m=_.an,n=_.Ce();n.renderData=b;n.height=d.height;n.width=d.width;n.id=b.id;n.url=b.url;n.iframeEl=f;n.where=n.container=h;n.apis=["_open"];n.messageHandlers=k;n.messageHandlersFilter=_.dn;_.so(n);f=l;a.Pm&&(e[2]=n,e[3]=f,e[4]=k,a.Pm("i",e));k=m.attach(n);k.id=b.id;k.iM(k,n);kq(k,d);lq(k,h);mq(a, k,c);nq(a.Qe,a.Pp.toString(),k);e[5]=k;a.Pm&&a.Pm("e",e)};Aq=function(a,b){var c=b.url;a.Bha||_.bj(c)?zq(a,b):_.Ta.open?yq(a,b):(0,_.Fg)("iframes",function(){yq(a,b)})}; _.Bq=function(a){var b=oq(a);xq(b);_.Yf(b.Qe,function(d){Aq(b,d)});jp[b.Qe]=!0;var c={va:function(d,e,f){var h=e||{};h.type=b.Qe;e=h.type;delete h.type;var k=pp(d);if(k){d={};for(var l in h)_.De(h,l)&&(d[l.toLowerCase()]=h[l]);d.rd=1;(l=!!d.ri)&&delete d.ri;sp(e,k,d,[],0,l,f)}else _.Vf.log("gapi."+e+".render: missing element "+typeof d==="string"?d:"")},go:function(d){tp(d,b.Qe)},zsa:function(){var d=_.Be(_.Me,"WI",_.Ce()),e;for(e in d)delete d[e]}};a=function(){Up==="onload"&&c.go()};if(!Ko(b.Qe)){if(!_.Wf())try{a()}catch(d){}_.Xf(a)}_.t("gapi."+ b.Qe+".go",c.go);_.t("gapi."+b.Qe+".render",c.va);return c};var Cq=function(){var a=window;return!!a.performance&&!!a.performance.getEntries},nq=function(a,b,c){if(Cq()){var d=function(){var f=!1;return function(){if(f)return!0;f=!0;return!1}}(),e=function(){d()||window.setTimeout(function(){var f=c.getIframeEl().src;var h=f.indexOf("#");h!=-1&&(f=f.substring(0,h));f=window.performance.getEntriesByName(f);f.length<1?f=null:(f=f[0],f=f.responseStart==0?null:f);if(f){h=Math.round(f.requestStart);var k=Math.round(f.responseStart),l=Math.round(f.responseEnd); Cp("wrt0",a,b,Math.round(f.startTime));Cp("wrt1",a,b,h);Cp("wrt2",a,b,k);Cp("wrt3",a,b,l)}},1E3)};c.register(rq(c),e,tq);c.register(sq(c),e,tq)}};_.t("gapi.widget.make",_.Bq); _.af=_.af||{};_.af.Hv=function(a,b,c){for(var d=[],e=2,f=arguments.length;e0}; _.Ta.Ma.Mi.Hv=function(a,b,c){for(var d=[],e=2,f=arguments.length;e0&&(f=a[0].nonce||a[0].getAttribute("nonce"));if(f&&f===b||!f&&Uq())if(e=Vq(c),d.push(25),typeof e=== "object")return e;return{}}};Xq=function(a,b){var c={___goc:void 0};a.length&&a[a.length-1]&&Object.hasOwnProperty.call(a[a.length-1],"___goc")&&typeof a[a.length-1].___goc==="undefined"&&(c=a.pop());Tq(c,b);a.push(c)}; _.Yq=function(a,b){var c;if(typeof a==="string"){var d=c={};a=a.split("/");for(var e=0,f=a.length;e0&&e[e.length-1].src&&a.push(e[e.length-1]);for(e=0;e< a.length;++e)a[e].getAttribute("gapi_processed")||(a[e].setAttribute("gapi_processed",!0),(f=a[e])?(h=f.nodeType,f=h==3||h==4?f.nodeValue:f.textContent||""):f=void 0,h=a[e].nonce||a[e].getAttribute("nonce"),(f=Wq(f,h))&&d.push(f));c&&Xq(b,c);a=Rq("cd");c=0;for(d=a.length;c255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};var Jh,Kh,Mh;Jh={};Kh=null;_.Lh=_.Bd||_.Cd||!_.Dh&&typeof _.Xa.atob=="function";_.Nh=function(a,b){b===void 0&&(b=0);Mh();b=Jh[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+h+k+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|m>>4]+l+d}return c.join("")}; _.Oh=function(a,b){function c(l){for(;d>4);h!=64&&(b(f<<4&240|h>>2),k!=64&&b(h<<6&192|k))}}; Mh=function(){if(!Kh){Kh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Jh[c]=d;for(var e=0;e=0;b--)this.remove(a[b])};ki=function(a){a=(a.Bc.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f-1?(b=a[h],c||(b.vy=!1)):(b=new vj(b,this.src,f,!!d,e),b.vy=c,a.push(b));return b};_.oj.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.je))return!1;var e=this.je[a];b=xj(e,b,c,d);return b>-1?(wj(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.je[a],this.ox--),!0):!1}; _.yj=function(a,b){var c=b.type;if(!(c in a.je))return!1;var d=_.gj(a.je[c],b);d&&(wj(b),a.je[c].length==0&&(delete a.je[c],a.ox--));return d};_.oj.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.je)if(!a||c==a){for(var d=this.je[c],e=0;e-1?a[e]:null}; _.oj.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return nj(this.je,function(f){for(var h=0;h>>0);_.Ej=function(a){if(typeof a==="function")return a;a[Lj]||(a[Lj]=function(b){return a.handleEvent(b)});return a[Lj]};_.mj(function(a){Jj=a(Jj)}); _.Mj=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c};_.Zd.prototype.O=_.pb(1,function(a){return _.be(this.Bc,a)});_.Nj=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f=0;f--){var h=a.currentTarget=b[f];e=h.iu(d,!0,a)&&e}a.dw||(h=a.currentTarget=c,e=h.iu(d,!0,a)&&e,a.dw||(e=h.iu(d,!1,a)&&e));if(b)for(f=0;!a.dw&&f=0};_.Jr=function(){return _.Sb&&_.Kc?_.Kc.mobile:!_.Ir()&&(_.Mc("iPod")||_.Mc("iPhone")||_.Mc("Android")||_.Mc("IEMobile"))}; _.Ir=function(){return _.Sb&&_.Kc?!_.Kc.mobile&&(_.Mc("iPad")||_.Mc("Android")||_.Mc("Silk")):_.Mc("iPad")||_.Mc("Android")&&!_.Mc("Mobile")||_.Mc("Silk")};_.Kr=function(){return!_.Jr()&&!_.Ir()}; var ct;ct=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.dt=function(a,b,c,d){return Array.prototype.splice.apply(a,ct(arguments,1))};_.et=function(a,b,c){if(a!==null&&b in a)throw Error("h`"+b);a[b]=c};_.ft=function(a,b){var c=b||document;c.getElementsByClassName?a=c.getElementsByClassName(a)[0]:(c=document,a=a?(b||c).querySelector(a?"."+a:""):_.ce(c,"*",a,b)[0]||null);return a||null}; _.gt=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.it=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.jt=function(a){_.dj.call(this);this.ug=a;this.mc={}};_.eb(_.jt,_.dj);var kt=[];_.jt.prototype.na=function(a,b,c,d){return this.Dv(a,b,c,d)}; _.jt.prototype.Dv=function(a,b,c,d,e){Array.isArray(b)||(b&&(kt[0]=b.toString()),b=kt);for(var f=0;f=0))throw Error("R`"+a);if(!av(b))throw Error("S`"+a);this.qc[a]||(this.qc[a]=[]);Zu(this.qc[a],b)<0&&this.qc[a].push(b)};hv.prototype.removeEventListener=function(a,b){if(!(Zu(this.PN,a)>=0))throw Error("R`"+a);av(b)&&this.qc[a]&&this.qc[a].length&&(b=Zu(this.qc[a],b),b>=0&&this.qc[a].splice(b,1))}; hv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&Zu(this.PN,b)>=0))throw Error("T`"+b);if(this.qc[b]&&this.qc[b].length)for(var c=this.qc[b].length,d=0;d>>31)&4294967295;p=e[0];var w=e[1],u=e[2],x=e[3],A=e[4];for(r=0;r<80;r++){if(r<40)if(r<20){var D=x^w&(u^x);var E=1518500249}else D= w^u^x,E=1859775393;else r<60?(D=w&u|x&(w|u),E=2400959708):(D=w^u^x,E=3395469782);D=((p<<5|p>>>27)&4294967295)+D+A+E+q[r]&4294967295;A=x;x=u;u=(w<<30|w>>>2)&4294967295;w=p;p=D}e[0]=e[0]+p&4294967295;e[1]=e[1]+w&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+A&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var r=[],w=0,u=p.length;w=56;r--)f[r]=q&255,q>>>=8;b(f);for(r=q=0;r<5;r++)for(var w=24;w>=0;w-=8)p[q++]=e[r]>>w&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Si:function(){for(var p=d(),q="",r=0;r2&&(e=f[2]);(f=e&&Zu(e.split("|"),c)>=0)?wv(e,d):wv(e?e+"|"+c:c,d);c=!f;var h=this.fV,k=this.pfa;d=this.Um;e=this.Fs;e=e===void 0?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b=f.setAttribute;var l="allow-scripts allow-same-origin";document.requestStorageAccess&&av(document.requestStorageAccess)&& (l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);f.setAttribute("allow","identity-credentials-get");pv(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Wu&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.zo=f}a&&this.EB.push(a)}};_.g.iW=function(){return this.yo&&this.Yw};_.g.Wn=function(){return this.bV}; Hv=function(a){for(var b=0;b=0)throw Error("ba");};_.Gv.prototype.zj=function(a,b,c,d,e,f,h,k,l){l=l===void 0?!1:l;Kv(f);b=_.bv(b);_.Jv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.Gv.prototype.hB=function(a,b,c,d,e){b=_.bv(b);_.Jv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Lv=function(a,b,c){Kv(b.identifier);_.Jv(a,"getSessionSelector",b,c)}; _.Mv=function(a,b,c,d,e){Kv(b.identifier);_.Jv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Nv=function(a,b,c,d,e,f,h){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);b.useFedCm=e;f&&(b.fedCmEnabled=f);_.Jv(a,"monitorClient",b,h)};_.Gv.prototype.revoke=_.jb(8);_.Gv.prototype.wt=_.jb(10);iv.EA={};iv.PG=function(a){return iv.EA[a]}; iv.jB=function(a,b,c){c=c===void 0?!1:c;var d=iv.PG(a);if(!d){d=String;if(zv){var e=new window.Uint32Array(1);yv.getRandomValues(e);e=Number("0."+e[0])}else e=Bv,e+=parseInt(Dv.substr(0,20),16),Dv=Fv(Dv),e/=Cv+1.2089258196146292E24;d=new _.Gv(a,d(2147483647*e),c);iv.EA[a]=d}d.jB(b)};iv.W9=function(a){for(var b in iv.EA){var c=iv.PG(b);if(c&&c.zo&&c.zo.contentWindow==a.source&&c.TH==a.origin)return c}};iv.y$=function(a){for(var b in iv.EA){var c=iv.PG(b);if(c&&c.TH==a)return c}};iv=iv||{}; var Pv=function(){var a=[],b;for(b in _.Ov)a.push(_.Ov[b]);hv.call(this,a);this.um={};Xu("EventBus is ready.")};$u(Pv,hv);_.Ov={Q5:"sessionSelectorChanged",uE:"sessionStateChanged",Rs:"authResult",a3:"displayIFrame"};Rv=function(a,b){var c=Qv;a&&b&&(c.um[a]||(c.um[a]=[]),Zu(c.um[a],b)<0&&c.um[a].push(b))};Sv=function(a){var b=Qv;a&&(b.um[a]||(b.um[a]=[]))};Tv=function(a,b,c){return b&&a.um[b]&&Zu(a.um[b],c)>=0};_.g=Pv.prototype; _.g.vea=function(a){var b,c=!!a.source&&(a.source===_.ov||a.source.opener===window);if(b=c?iv.y$(a.origin):iv.W9(a)){try{var d=_.gv.parse(a.data)}catch(e){Xu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Um){Xu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.fk[c.id])delete b.fk[c.id],a(c.result,c.error);return}}d.method!="fireIdpEvent"?Xu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.eV[a.type]?(d=this.eV[a.type], c&&!d.Z6?Xu("Bad IDP event. Source window cannot be a popup."):d.Ms&&!d.Ms.call(this,b,a)?Xu("Bad IDP event."):d.Jf.call(this,b,a)):Xu("Bad IDP event.")}else Xu("Bad event, no corresponding Idp Stub.")};_.g.Vfa=function(a,b){return Tv(this,a.Bb,b.clientId)};_.g.Ufa=function(a,b){a=a.Bb;b=b.clientId;return!b||Tv(this,a,b)};_.g.l7=function(a,b){return Tv(this,a.Bb,b.clientId)}; _.g.Eda=function(a,b){a.yo=!0;a.Yw=!!b.cookieDisabled;Hv(a);for(b=0;b-1&&a.indexOf("chrome/")<0&&a.indexOf("crios/")<0&&a.indexOf("android")<0))return!1;var b=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||b.length<3)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return a>12||a==12&&b>=1};tw=function(a){return a.length>0&&a.every(function(b){return qw.includes(b)})}; uw=function(a,b,c,d,e,f,h){var k=_.mv(a,"authServerUrl");if(!k)throw Error("X`"+a);a=_.bv(d);a.response_type=h||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];(b=e)&&!(b=sw())&&(b=navigator.userAgent.toLowerCase(),b.indexOf("ipad;")>-1||b.indexOf("iphone;")>-1?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||b.length<2?!1:parseInt(b[1],10)>=14):b=!1);b&&!a.prompt&&(a.prompt= "select_account");return k+(k.indexOf("?")<0?"?":"&")+mw(a)};vw=function(a,b,c,d){if(!a.Ob)throw Error("na");a.Jk=c||a.m7||"auth"+Math.floor(Math.random()*1E6+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Cd.split("//");c=b.extraQueryParams;var f=e[0],h=e[1];e=a.Jk;var k=f.indexOf(":");k>0&&(f=f.substring(0,k));f=["storagerelay://",f,"/",h,"?"];f.push("id="+e);c.redirect_uri=f.join("")}return uw(a.Bb,a.Xd,a.Ob,a.rn,!0,b,d)}; ww=function(a,b,c){if(!a.Ob)throw Error("na");return uw(a.Bb,a.Xd,a.Ob,a.rn,!1,b,c)};xw=function(a,b){a.Uo&&window.clearTimeout(a.Uo);a.Uo=window.setTimeout(function(){a.Jk==b&&(_.ov=void 0,a.Uo=null,a.Jk=void 0,a.Po({authResult:{error:"popup_closed_by_user"}}))},1E3)}; yw=function(a,b,c){if(!a.Ob)throw Error("oa");c=c||{};c=vw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||rw())&&_.Yv(a,a.tX,[]);var d=a.Jk;a.BY.open(c,b,function(){a.Jk==d&&xw(a,d)},function(){a.Jk=void 0;a.Po({authResult:{error:"popup_blocked_by_browser"}})})}; zw=function(a,b){var c=b||{};b=_.bv(a.rn);if(c.sessionMeta&&c.sessionMeta.extraQueryParams)for(var d in c.sessionMeta.extraQueryParams)b[d]=c.sessionMeta.extraQueryParams[d];var e;c.sessionMeta.extraQueryParams.scope&&(e=c.sessionMeta.extraQueryParams.scope.split(" "));!e&&b.scope&&(e=b.scope.split(" "));delete b.redirect_uri;delete b.origin;delete b.client_id;delete b.scope;b.prompt=="select_account"&&delete b.prompt;b.gsiwebsdk="fedcm";b.ss_domain=a.Xd;d=_.mv(a.Bb,"fedcmConfigUrl");c=c.responseType; b.response_type=c;b.scope=e.join(" ");!b.nonce&&c.includes("id_token")&&(b.nonce="notprovided");c=navigator.userActivation.isActive?"active":"passive";e=tw(e)?["name","email","picture"]:[];return{identity:{providers:[{configURL:d,clientId:a.Ob,fields:e,params:b}],mode:c},mediation:"required"}}; Aw=function(a,b,c){if(!a.Ob)throw Error("oa");b=zw(a,b);navigator.credentials.get(b).then(function(d){d=JSON.parse(d.token);var e={client_id:d.client_id,login_hint:d.login_hint,expires_in:3600,scope:d.scope};d.code&&(e.code=d.code);d.id_token&&(e.id_token=d.id_token);a.Po({type:_.Ov.Rs,idpId:a.Bb,authResult:e})},function(d){d.message.indexOf("identity-credentials-get")>=0||d.message.indexOf("Content Security Policy")>=0?c():a.Po({type:_.Ov.Rs,idpId:a.Bb,authResult:{error:d}})})}; Bw=function(a,b,c){a.Fs&&_.kv()?Aw(a,c,function(){return yw(a,b,c)}):yw(a,b,c)};Cw=function(a,b){b=b||{};var c=ww(a,b.sessionMeta,b.responseType);a.Fs&&_.kv()&&a.I1?(a.aC=b.sessionMeta.extraQueryParams.redirect_uri,Aw(a,b,function(){return nw(c,!0)})):nw(c,!0)};Dw=function(a,b,c){a.Ck?c(a.Wn()):_.Yv(a,a.HW,[b,c])};_.Ew=function(a){_.Be(_.Me,"le",[]).push(a)}; _.Fw=function(a){for(var b=[],c=0,d=0;c191&&e<224){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(e>239&&e<365){f=a[c++];var h=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(h&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],h=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|h&63)}return b.join("")}; Gw=function(a){var b=[];_.Oh(a,function(c){b.push(c)});return b};_.Hw=function(a,b){_.ti[b||"token"]=a};_.Iw=function(a){delete _.ti[a||"token"]};Kw=function(){if(typeof MessageChannel!=="undefined"){var a=new MessageChannel,b={},c=b;a.port1.onmessage=function(){if(b.next!==void 0){b=b.next;var d=b.cb;b.cb=null;d()}};return function(d){c.next={cb:d};c=c.next;a.port2.postMessage(0)}}return function(d){_.Xa.setTimeout(d,0)}};_.gv={parse:function(a){a=_.Qf("["+String(a)+"]");if(a===!1||a.length!==1)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Rf(a)}};_.hw.prototype.pG=function(a,b){_.Yv(this,this.e9,[a,b])};_.hw.prototype.e9=function(a,b){this.Od.pG(this.Ob,a,this.Ij,this.Le,b)};_.Gv.prototype.pG=function(a,b,c,d,e){c=_.bv(c);_.Jv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var Lw,Mw=["client_id","cookie_policy","scope"],Nw="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 enable_granular_consent include_granted_scopes response_type session_selection plugin_name ack_extension_date use_fedcm gsiwebsdk".split(" "),Ow=["authuser","after_redirect","access_type","hl"],Pw=["login_hint","prompt"],Qw={clientid:"client_id",cookiepolicy:"cookie_policy"}, Rw=["approval_prompt","authuser","login_hint","prompt","hd"],Sw=["login_hint","g-oauth-window","status"],Tw=Math.min(_.Xe("oauth-flow/authWindowWidth",599),screen.width-20),Uw=Math.min(_.Xe("oauth-flow/authWindowHeight",600),screen.height-30);var Vw=function(a){_.lb.call(this,a)};_.y(Vw,_.lb);Vw.prototype.name="gapi.auth2.ExternallyVisibleError";var Ww=function(){};Ww.prototype.select=function(a,b){if(a.sessions&&a.sessions.length==1&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Xw=function(){};Xw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;c=0||a.match(Xx))&&this.Pr.push("permission"),a.indexOf("id_token")>=0&&this.Pr.push("id_token"),a.indexOf("code")>=0&&this.Pr.push("code")):this.Pr=Wx};var Sx=function(a){return Vx(a,"code")},Tx=function(a){return Vx(a,"permission")};Rx.prototype.toString=function(){return this.Pr.join(" ")}; var Vx=function(a,b){var c=!1;_.Bb(a.Pr,function(d){d==b&&(c=!0)});return c};var Zx=function(a,b,c){this.tJ=b;this.sda=a;for(var d in a)a.hasOwnProperty(d)&&Yx(this,d);if(c&&c.length)for(a=0;a");var h=_.af.createElement(d.join(""));h&&(!c||h.tagName==c.tagName&&h.namespaceURI==c.namespaceURI)&&(c=h)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.af.gT=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml","body");if(b&& b.length==1)return b[0]}catch(c){}return document.documentElement||document};_.af.Vqa=function(b){return a(b)}})(); _.Gg=window.gapi&&window.gapi.util||{}; _.Gg=_.Gg={};_.Gg.getOrigin=function(a){return _.Ig(a)}; _.Ny=function(a){if(a.indexOf("GCSC")!==0)return null;var b={xj:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(d==-1)return b;var e=_.Ly(a.substr(d+1));if(e==null)return b;a=a.substring(0,d);if(a.charAt(0)!=="_")return b;d=c==="E"&&e.ff;return!d&&(c!=="U"||e.ff)||d&&!_.My?b:{xj:!0,ff:d,S7:a.substr(1),domain:e.domain,Ti:e.Ti}};_.Oy=function(a,b){this.dh=a;a=b||{};this.Wca=Number(a.maxAge)||0;this.Xd=a.domain;this.Mm=a.path;this.Efa=!!a.secure};_.Oy.prototype.read=function(){for(var a=this.dh+"=",b=document.cookie.split(/;\s*/),c=0;c=0){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.Efa&&(a+=";secure");document.cookie=a;return!0};_.Oy.prototype.clear=function(){this.write("",0)};var Qy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Py=/^[A-Z_][A-Z0-9_]{0,63}$/; _.Oy.iterate=function(a){for(var b=document.cookie.split(/;\s*/),c=0;c>>31)&4294967295;p=e[0];var w=e[1],u=e[2],x=e[3],A=e[4];for(r=0;r<80;r++){if(r<40)if(r<20){var D=x^w&(u^x);var E=1518500249}else D=w^u^x,E=1859775393;else r<60?(D=w&u|x&(w|u),E=2400959708):(D=w^u^x,E=3395469782);D=((p<<5|p>>>27)&4294967295)+ D+A+E+q[r]&4294967295;A=x;x=u;u=(w<<30|w>>>2)&4294967295;w=p;p=D}e[0]=e[0]+p&4294967295;e[1]=e[1]+w&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+A&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var r=[],w=0,u=p.length;w=56;r--)f[r]=q&255,q>>>=8;b(f);for(r=q=0;r<5;r++)for(var w=24;w>=0;w-=8)p[q++]=e[r]>>w&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Si:function(){for(var p=d(),q="",r=0;r=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; _.g.expand=function(a,b,c,d){_.vb(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; _.g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; _.g.translate=function(a,b){a instanceof _.os?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,typeof b==="number"&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var ys,ws,Cs,Es;_.xs=function(a,b,c){if(typeof b==="string")(b=ws(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=ws(c,d);f&&(c.style[f]=e)}};ys={};ws=function(a,b){var c=ys[b];if(!c){var d=ts(b);c=d;a.style[d]===void 0&&(d=(_.Cd?"Webkit":_.Bd?"Moz":null)+us(d),a.style[d]!==void 0&&(c=d));ys[b]=c}return c};_.zs=function(a,b){var c=a.style[ts(b)];return typeof c!=="undefined"?c:a.style[ws(a,b)]||""}; _.As=function(a,b){var c=_.$d(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Bs=function(a,b){return _.As(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};Cs=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; _.Fs=function(a,b){b=b||_.ps(document);var c=b||_.ps(document);var d=_.Ds(a),e=_.Ds(c),f=_.As(c,"borderLeftWidth");var h=_.As(c,"borderRightWidth");var k=_.As(c,"borderTopWidth"),l=_.As(c,"borderBottomWidth");h=new _.ms(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.ps(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop):(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=Es(a);e=c.clientHeight-a.height;h=c.scrollLeft;k=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d- e,0));c=new _.os(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Ds=function(a){var b=_.$d(a),c=new _.os(0,0);if(a==(b?_.$d(b):document).documentElement)return c;a=Cs(a);b=_.ss(_.ae(b));c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Hs=function(a,b){var c=new _.os(0,0),d=_.ie(_.$d(a));a:{try{_.Wb(d.parent);var e=!0;break a}catch(f){}e=!1}if(!e)return c;do e=d==b?_.Ds(a):_.Gs(a),c.x+=e.x,c.y+=e.y;while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c}; _.Gs=function(a){a=Cs(a);return new _.os(a.left,a.top)};_.Js=function(a,b,c){if(b instanceof _.rd)c=b.height,b=b.width;else if(c==void 0)throw Error("J");a.style.width=_.Is(b,!0);a.style.height=_.Is(c,!0)};_.Is=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a}; _.Ks=function(a){var b=Es;if(_.Bs(a,"display")!="none")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};Es=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Cd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Cs(a),new _.rd(a.right-a.left,a.bottom-a.top)):new _.rd(b,c)};_.Ls=function(a,b){a.style.display=b?"":"none"}; _.Ns=function(a){var b=_.ae(void 0),c=_.rs(b,"HEAD")[0];if(!c){var d=_.rs(b,"BODY")[0];c=b.wa("HEAD");d.parentNode.insertBefore(c,d)}d=b.wa("STYLE");var e;(e=_.Gc("style",document))&&d.setAttribute("nonce",e);_.Ms(d,a);b.appendChild(c,d)};_.Ms=function(a,b){b=_.ls(b);_.Xa.trustedTypes?_.ve(a,b):a.innerHTML=b};_.Os=_.Bd?"MozUserSelect":_.Cd||_.zd?"WebkitUserSelect":null; _.dz=function(a){_.dj.call(this);this.Nf=1;this.UB=[];this.ZB=0;this.Tf=[];this.Rj={};this.h7=!!a};_.eb(_.dz,_.dj);_.g=_.dz.prototype;_.g.subscribe=function(a,b,c){var d=this.Rj[a];d||(d=this.Rj[a]=[]);var e=this.Nf;this.Tf[e]=a;this.Tf[e+1]=b;this.Tf[e+2]=c;this.Nf=e+3;d.push(e);return e};_.g.Sw=_.jb(18);_.g.unsubscribe=function(a,b,c){if(a=this.Rj[a]){var d=this.Tf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.ol(a)}return!1}; _.g.ol=function(a){var b=this.Tf[a];if(b){var c=this.Rj[b];this.ZB!=0?(this.UB.push(a),this.Tf[a+1]=function(){}):(c&&_.gj(c,a),delete this.Tf[a],delete this.Tf[a+1],delete this.Tf[a+2])}return!!b}; _.g.bp=function(a,b){var c=this.Rj[a];if(c){var d=Array(arguments.length-1),e=arguments.length,f;for(f=1;f0&&this.ZB==0)for(;c=this.UB.pop();)this.ol(c)}}return f!=0}return!1};var ez=function(a,b,c){_.vk(function(){a.apply(b,c)})}; _.dz.prototype.clear=function(a){if(a){var b=this.Rj[a];b&&(b.forEach(this.ol,this),delete this.Rj[a])}else this.Tf.length=0,this.Rj={}};_.dz.prototype.Zb=function(a){if(a){var b=this.Rj[a];return b?b.length:0}a=0;for(b in this.Rj)a+=this.Zb(b);return a};_.dz.prototype.ua=function(){_.dz.N.ua.call(this);this.clear();this.UB.length=0}; _.fz=function(a){this.pha=a};_.gz=function(a){_.dj.call(this);this.ke=new _.dz(a);_.fj(this,this.ke)};_.fz.prototype.toString=function(){return this.pha};_.eb(_.gz,_.dj);_.g=_.gz.prototype;_.g.subscribe=function(a,b,c){return this.ke.subscribe(a.toString(),b,c)};_.g.Sw=_.jb(17);_.g.unsubscribe=function(a,b,c){return this.ke.unsubscribe(a.toString(),b,c)};_.g.ol=function(a){return this.ke.ol(a)};_.g.bp=function(a,b){return this.ke.bp(a.toString(),b)};_.g.clear=function(a){this.ke.clear(a!==void 0?a.toString():void 0)};_.g.Zb=function(a){return this.ke.Zb(a!==void 0?a.toString():void 0)}; var hz,iz,lz,jz,mz,nz,kz;hz=function(a){var b=_.tc("");return _.ec(a.map(function(c){return _.fc(_.tc(c))}).join(_.fc(b).toString()))};iz=function(a){return hz(a)};lz=function(a){for(var b="",c=Object.keys(a),d=0;d":(a=iz(b.map(function(d){return d instanceof _.dc?d:_.tc(String(d))})),c+=">"+a.toString()+"");return _.ec(c)};jz=/^[a-z][a-z\d-]*$/i;mz="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" ");nz="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "); kz=["action","formaction","href"];_.pz=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.Zo+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.xs(a,"transition",b.join(","))};_.qz=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=_.me("DIV"),b=_.Cd?"-webkit":_.Bd?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");_.Hc(a,_.oz({style:c}));return _.zs(a.firstChild,"transition")!=""}); _.rz=function(a,b){_.Oj.call(this);this.Cm=a||1;this.gx=b||_.Xa;this.OP=(0,_.z)(this.mha,this);this.xW=_.ld()};_.eb(_.rz,_.Oj);_.g=_.rz.prototype;_.g.enabled=!1;_.g.Hc=null;_.g.setInterval=function(a){this.Cm=a;this.Hc&&this.enabled?(this.stop(),this.start()):this.Hc&&this.stop()}; _.g.mha=function(){if(this.enabled){var a=_.ld()-this.xW;a>0&&a2147483647?-1:_.Xa.setTimeout(a,b||0)};_.tz=function(a){_.Xa.clearTimeout(a)}; _.vz=function(){_.uz="oauth2relay"+String(2147483647*(0,_.Qg)()|0)};_.wz=new _.gz;_.xz=new _.fz("oauth");_.vz();_.Xe("oauth-flow/client_id");var yz=String(_.Xe("oauth-flow/redirectUri"));if(yz)yz.replace(/[#][\s\S]*/,"");else{var zz=_.Gg.getOrigin(window.location.href);_.Xe("oauth-flow/callbackUrl");encodeURIComponent(zz)}_.Gg.getOrigin(window.location.href); var Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Nz,Oz,Pz,Qz,Rz,Sz,Yz,Zz,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,uA,xA,wA,yA,zA,AA,BA,CA,DA,EA;_.Az=function(a,b){if(_.Lh&&!b)return _.Xa.atob(a);var c="";_.Oh(a,function(d){c+=String.fromCharCode(d)});return c};Bz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return b==="true"||a==="none"};Cz=function(a){return _.ei("enableMultilogin")&&a("cookie_policy")&&!Bz(a)?!0:!1}; Fz=function(){var a,b=null;_.Wy.iterate(function(c,d){c.indexOf("G_AUTHUSER_")===0&&(c=c.substring(11),c=_.Ly(c),!a||c.ff&&!a.ff||c.ff==a.ff&&c.Ti>a.Ti)&&(a=c,b=d)});return{t7:a,authuser:b}};Gz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Hz=function(a){a=a.toUpperCase();for(var b=Gz.length,c=0;c40&&(b=new _.Pg,b.ux(a),a=b.Si().toUpperCase());return a}; Iz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Jz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],Wfa:Iz(a[1]),Lra:Iz(a[2]),Eqa:Iz(a[3])}};Kz=function(a){var b=Fz(),c=b.t7;b=b.authuser;var d=a&&Hz(a);if(b!==null){var e;_.Wy.iterate(function(h,k){(h=_.Ny(h))&&h.xj&&(d&&h.S7!=d||h.ff==c.ff&&h.Ti==c.Ti&&(e=k))});if(e){var f=Jz(e);a=f&&f.Wfa[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Jsa:a,clientId:f}}}return null}; Lz=function(a,b){a=_.ui(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};_.Mz=function(a,b){if(b){var c=b;var d=a}else typeof a==="string"?d=a:c=a;c?_.Hw(c,d):_.Iw(d)}; Nz=function(a){if(!a)return null;a!=="single_host_origin"&&(a=_.Ig(a));var b=window.location.hostname,c=b,d=_.My;if(a!=="single_host_origin"){c=a.split("://");if(c.length==2)d=c.shift()==="https";else return _.Vf.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(c.indexOf(":")!==-1)c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Vf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,ff:d,Ti:b}}; Oz=function(a){var b=Nz(a);if(!b)return new _.Ry("G_USERSTATE_");a=["G_USERSTATE_",_.My&&b.ff?"S":"H",b.Ti].join("");var c=_.$y[a];c||(c={YI:63072E3},_.Ee(_.cz(b),c),c=new _.Oy(a,c),_.$y[a]=c,b=c.read(),typeof b!=="undefined"&&b!==null&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};Pz=function(a){var b=Oz(a).read();a=_.Ce();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; Qz=function(a,b,c){var d=Pz(b),e=d[a];d[a]="0";var f=[];_.Qm(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=Oz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};Rz=function(a,b){b=Pz(b);return b[a]=="0"||b[a]=="X"};Sz=function(a){a=Nz(a.g_user_cookie_policy);if(!a||a.ff&&!_.My)a=null;else{var b=["G_AUTHUSER_",_.My&&a.ff?"S":"H",a.Ti].join(""),c=_.Zy[b];c||(c=new _.Wy(b,_.cz(a)),_.Zy[b]=c);a=c}_.Ye("googleapis.config/sessionIndex",null);a.clear()};Yz=function(a){return Bz(function(b){return a[b]})}; Zz=0;$z=!1;aA=[];bA={};cA={};dA=null;eA=function(a){var b=_.uz;return function(c){if(this.f==b&&this.t==_.$f.Pn(this.f)&&this.origin==_.$f.co(this.f))return a.apply(this,arguments)}};fA=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ya");};gA=function(a){var b=_.af.Rg,c=b(a).jsh;if(c!=null)return fA(c),a;if(b=String(b().jsh||_.Me.h||""))fA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(a.substr(0,c).indexOf("?")!==-1?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a}; hA=function(){return!!_.Xe("oauth-flow/usegapi")};iA=function(a,b){hA()?dA.unregister(a):_.$f.unregister(a+":"+b)};jA=function(a,b,c){hA()?dA.register(a,c,_.dn):_.$f.register(a+":"+b,eA(c))};kA=function(){Dz.parentNode.removeChild(Dz)}; lA=function(a){var b=Dz;_.pz(b,[{Zo:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.pz(b,[{Zo:"transform",duration:1,timing:"ease",delay:0}]);_.sz(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};mA=function(){var a=Ez+88;lA(a);Ez=a};nA=function(){var a=Ez-88;lA(a);Ez=a}; oA=function(a){var b=a?mA:nA,c=a?nA:mA;a=a?"-":"";Ez=parseInt(a+88,10);Dz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Dz.style.transform="translate3d(0px,"+a+88+"px,0px)";Dz.style.display="";Dz.style.visibility="visible";b();_.sz(c,4E3);_.sz(kA,5E3)}; pA=function(a){var b=_.Xe("oauth-flow/toast/position");b!=="top"&&(b="bottom");var c=document.createElement("div");Dz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.xs(c,"visibility","hidden");_.xs(c,b,"-40px");_.xs(c,"height","128px");var d=c;if(_.Kr()){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= b=="top"?"-":"";Ez=parseInt(e+88,10);Dz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Dz.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){}_.an.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){b==="top"?oA(!0):oA(!1)}})}; qA=function(a){var b=_.Po(),c=b&&b.scope;b=a&&a.scope;b=typeof b==="string"?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d0&&(a.scope=b.join(" "))}return a}; rA=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=_.Xe("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||Kz(c)!=null||!Yz(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};sA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Qf(_.Az(a,!0));if(a===!1)throw Error("za");return a};tA=function(a){return(a=sA(a))?a.sub:null}; uA=function(a){a&&aA.push(a);a=_.uz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(Zz&&c-Zz<6E4)return;var d=_.$f.Pn(a);d&&(iA("oauth2relayReady",d),iA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.vz();a=_.uz}Zz=c;var e=String(2147483647*(0,_.Qg)()|0);b=_.Xe("oauth-flow/proxyUrl")||_.Xe("oauth-flow/relayUrl");hA()?dA=_.an.openChild({where:_.af.gT(),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(_.Gg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.af.gT(),d=_.af.CQ({name:a,id:a}),d.src=gA(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,d.setAttribute("aria-hidden","true"),c.appendChild(d),_.$f.Iw(a));jA("oauth2relayReady",e,function(){iA("oauth2relayReady",e);var f=aA;if(f!==null){aA= null;for(var h=f.length,k=0;k=0&&_.Xe("isLoggedIn")&&(l&&l._aa)==="1"&&(l._aa="0",$z||($z=!0,pA(l)));_.Mz(k,h);h=Lz(k);if(f){k= f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(n){}f.callback&&(f.callback(h),f.callback=null)}}})};_.vA=function(a){aA!==null?uA(a):a&&a()};xA=function(a,b){var c=wA,d=tA(a);d&&(Sz(a),Qz(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=rA(null,e);c(e)}}))}; wA=function(a){a||(a=Lz(void 0,!0));a&&typeof a==="object"||(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||(_.Me.drw=null);_.Mz(a);if(b=a.authuser)_.Xe("googleapis.config/sessionIndex"),_.Ye("googleapis.config/sessionIndex",b);_.wz.bp(_.xz,a);return a};yA=["client_id","cookie_policy","response_type"];zA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" "); AA=function(a){var b=_.fk(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);_.Hw(b);return b}; BA=function(a){if(a.include_granted_scopes===void 0){var b=_.Xe("include_granted_scopes");a.include_granted_scopes=!!b}};CA=function(a){window.console&&(typeof window.console.warn==="function"?window.console.warn(a):typeof window.console.log==="function"&&window.console.log(a))}; DA=function(a){var b=a||{},c={};_.Bb(zA,function(d){b[d]!=null&&(c[d]=b[d])});a=_.Xe("googleapis/overrideClientId");a!=null&&(c.client_id=a);BA(c);typeof b.scope==="string"?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));b["openid.realm"]!=null&&(c.openid_realm=b["openid.realm"]);b.cookie_policy!=null?c.cookie_policy=b.cookie_policy:b.cookiepolicy!=null&&(c.cookie_policy=b.cookiepolicy);c.login_hint==null&&b.user_id!=null&&(c.login_hint=b.user_id);try{_.Hx(c.cookie_policy)}catch(d){c.cookie_policy&& CA("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}b.hd!=null&&(c.hosted_domain=b.hd);c.prompt==null&&(b.immediate==1||b.immediate=="true"?c.prompt="none":b.approval_prompt=="force"&&(c.prompt="consent"));c.prompt=="none"&&(c.session_selection="first_valid");c.prompt=="none"&&c.access_type=="offline"&&delete c.access_type;typeof c.authuser==="undefined"&&(a=_.ii(),a!=null&&(c.authuser=a));a=b.redirect_uri||_.Xe("oauth-flow/redirectUri"); a!=null&&a!="postmessage"&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c}; EA=function(a,b){var c=DA(a),d=new _.xk(function(e,f){_.ny(c,function(h){var k=h||{};_.Bb(yA,function(l){k[l]==null&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&a.state!=null&&(k.state=a.state);k.error?(c.prompt=="none"&&k.error=="user_logged_out"&&(k.error="immediate_failed_user_logged_out"),f(k)):(h=AA(k),h.authuser!=null&&_.Ye("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};var FA,HA;FA=null;_.IA=function(a,b){if(a.approvalprompt!=="force"){a=_.GA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)FA?(a.client_id!==FA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(FA=a,b=!1);b||HA(a)}}; _.GA=function(a){var b=a.redirecturi||"postmessage",c=_.zc((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=a.accesstype=="offline"?!0:(c=a.redirecturi)&&c!="postmessage";c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=_.zc(a.requestvisibleactions.replace(/[\s\xa0]+/g, " ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&a.cookiepolicy!=="none"&&(b.cookie_policy=a.cookiepolicy);typeof a.includegrantedscopes!="undefined"&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.Xe("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Xe("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};HA=function(a){_.Bp("waaf0","signin","0");EA(a,function(b){_.Bp("waaf1","signin","0");wA(b)})}; _.JA=function(a){a=_.GA(a);_.Ye("oauth-flow/authWindowWidth",445);_.Ye("oauth-flow/authWindowHeight",615);HA(a)};_.KA=function(a){_.wz.unsubscribe(_.xz,a);_.wz.subscribe(_.xz,a)};var RA,UA;_.MA=function(a){return a.cookiepolicy?!0:(_.LA("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.LA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.QA=function(a,b){var c=_.Po();_.Ee(a,c);c=qA(c);if(_.MA(c)){var d=_.NA();_.OA(c);b?_.Le(b,"click",function(){_.PA(c,d)}):_.PA(c,d)}}; _.NA=function(){var a=new RA;_.KA(function(b){a.ZI&&b&&(b.access_token&&_.Ye("isPlusUser",!0),b["g-oauth-window"]&&(a.ZI=!1,_.Vf.warn("OTA app install is no longer supported.")))});return a};RA=function(){this.ZI=!1};_.OA=function(a){a=_.SA(a);_.TA(a.callback);_.vA(function(){_.IA(a)})};_.SA=function(a){UA(a);a.redirecturi&&delete a.redirecturi;Cz(function(b){return a[b]})||(a.authuser=0);return a};UA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.TA=function(a){if(typeof a==="string")if(window[a])a=window[a];else{_.LA('Callback function named "'+a+'" not found');return}a&&_.KA(a)};_.PA=function(a,b){b.ZI=!0;a=_.SA(a);_.JA(a)};_.t("gapi.auth.authorize",EA);_.t("gapi.auth.checkSessionState",function(a,b){var c=_.Ce();c.client_id=a.client_id;c.session_state=a.session_state;_.vA(function(){hA()?dA.send("check_session_state",c,function(d){b.call(null,d[0])},_.dn):_.$f.call(_.uz,"check_session_state",eA(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.t("gapi.auth.getAuthHeaderValueForFirstParty",function(a,b){_.Hi(_.Gi(),51).rb();return _.si(a,b)});_.t("gapi.auth.getToken",Lz); _.t("gapi.auth.getVersionInfo",function(a,b){_.vA(function(){var c=_.si()||"",d=null,e=null;c&&(e=c.split(" "),e.length==2&&(d=e[1]));d?hA()?dA.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.dn):_.$f.call(_.uz,"get_versioninfo",eA(function(f){a(f)}),d,b):a()})});_.t("gapi.auth.init",_.vA);_.t("gapi.auth.setToken",_.Mz);_.t("gapi.auth.signIn",function(a){_.QA(a)});_.t("gapi.auth.signOut",function(){var a=Lz();a&&xA(a,a.cookie_policy)}); _.t("gapi.auth.unsafeUnpackIdToken",sA);_.t("gapi.auth._pimf",_.IA);_.t("gapi.auth._oart",pA);_.t("gapi.auth._guss",function(a){return Oz(a).read()}); var VA=_.Po();VA.clientid&&VA.scope&&VA.callback&&!_.Xe("disableRealtimeCallback")&&_.OA(VA); var sy=function(){};var uy;uy=function(){};_.eb(uy,sy);uy.prototype.Oy=function(){return new XMLHttpRequest};_.ty=new uy; _.Ph=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.Qh=function(a){return a==null?"":String(a)};_.Rh=function(a,b,c,d,e,f,h){var k="";a&&(k+=a+":");c&&(k+="//",b&&(k+=b+"@"),k+=c,d&&(k+=":"+d));e&&(k+=e);f&&(k+="?"+f);h&&(k+="#"+h);return k};_.Sh=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"); _.Th=function(a,b){if(!b)return a;var c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(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;d0}else c=!1;a.src=c?"about:blank":b;a.tabIndex=-1;typeof a.setAttribute==="function"?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true";document.body.appendChild(a); c&&(a.src=b);return a};Ui={HU:_.Ti,lca:_.qi,HT:function(){var a=null;_.qi()&&(a=window.__PVT,a==null&&(a=(new _.ji(document)).get("BEAT")));return a},E9:_.si};var Xi,Wi;Xi=function(){return!!Wi("auth/useFirstPartyAuthV2")};Wi=function(a){return _.Xe("googleapis.config/"+a)}; _.Yi=function(a,b,c){a=a===void 0?{}:a;b=b===void 0?window.location.href:b;c=c===void 0?"auto":c;if(c=="none")return a;var d=a.Authorization,e=a.OriginToken;if(!d&&!e){(e=_.ui())&&e.access_token&&(c=="oauth2"||c=="auto")&&(d=String(e.token_type||"Bearer")+" "+e.access_token);if(e=!d)e=(!!Wi("auth/useFirstPartyAuth")||c=="1p")&&c!="oauth2";if(e&&_.qi()){if(Xi()){d=Wi("primaryEmail");c=Wi("appDomain");e=Wi("fogId");var f=[];d&&f.push({key:"e",value:d});c&&f.push({key:"a",value:c});e&&f.push({key:"u", value:e});d=_.si(f)}else d=_.si();d&&(c=a["X-Goog-AuthUser"],b=_.ii(b),b=c||b,_.xc(_.Qh(b))&&(!Xi()||Xi()&&_.xc(_.Qh(Wi("primaryEmail")))&&_.xc(_.Qh(Wi("appDomain")))&&_.xc(_.Qh(Wi("fogId"))))&&(b="0"),_.xc(_.Qh(b))||(a["X-Goog-AuthUser"]=b))}d?a.Authorization=d:Wi("auth/useOriginToken")!==!1&&(e=Ui.HT())&&(a.OriginToken=e)}return a};_.Zi=function(){function a(n,p,q,r,w){var u=f("proxy");if(r||!u){u=f("root");var x=f("root-1p")||u;u=u||"https://content.googleapis.com";x=x||"https://clients6.google.com";var A=f("xd3")||"/static/proxy.html";u=(r||String(p?x:u))+A}u=String(u);q&&(u+=(u.indexOf("?")>=0?"&":"?")+"usegapi=1");(p=_.af.Rg().jsh||_.Me.h)&&(u+=(u.indexOf("?")>=0?"&":"?")+"jsh="+encodeURIComponent(p));u+="#parent="+encodeURIComponent(w!=null?String(w):_.Gg.getOrigin(document.location.href));return u+("&rpctoken="+n)}function b(n, p,q,r,w){var u=d(q,r,w);k[u]||(q=Vi(u,p),_.$f.register("ready:"+n,function(){_.$f.unregister("ready:"+n);if(!l[u]){l[u]=!0;var x=m[u];m[u]=[];for(var A=0,D=x.length;A=65&&e<=90&&(e+=32);f>=65&&f<=90&&(f+=32);if(e!=f)return!1}return!0}; _.dh=function(a){a=String(a||"").split("\x00").join("");for(var b=[],c=!0,d=a.length,e=0;e=55296&&h<=56319&&e+1=56320&&l<=57343&&(f+=k,h=65536+(h-55296<<10)+(l-56320),++e)}if(!(h>=0&&h<=1114109)||h>=55296&&h<=57343||h>=64976&&h<=65007||(h&65534)==65534)h=65533,f=String.fromCharCode(h);k=!(h>=32&&h<=126)||f==" "||c&&f==":"||f=="\\";!c||f!="/"&&f!="?"||(c=!1);f=="%"&&(e+2>=d?k=!0:(l=16*parseInt(a.charAt(e+ 1),16)+parseInt(a.charAt(e+2),16),l>=0&&l<=255?(h=l,f=h==0?"":"%"+(256+l).toString(16).toUpperCase().substr(1),e+=2):k=!0));k&&(f=encodeURIComponent(f),f.length<=1&&(h>=0&&h<=127?f="%"+(256+h).toString(16).toUpperCase().substr(1):(h=65533,f=encodeURIComponent(String.fromCharCode(h)))));b.push(f)}a=b.join("");a=a.split("#")[0];a=a.split("?");b=a[0].split("/");c=[];d=b.length;for(e=0;e0&&c.pop(),e+1==d&&c.push("")):c.push(f);a[0]=c.join("/");for(a=a.join("?");a&&a.charAt(0)=="/";)a=a.substr(1);return"/"+a};eh={"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}; fh={"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}; gh=function(a){if(!_.kd(a))return null;for(var b={},c=0;c0&&(this.Qc=setTimeout(this.Ii.bind(this),this.Gs)),this.HA=!0,this.Va.send(a),this.HA=!1}catch(h){this.lz(5,h)}}; _.g.Ii=function(){typeof _.Va!="undefined"&&this.Va&&(this.kr=8,this.dispatchEvent("timeout"),this.abort(8))};_.g.lz=function(a){this.Xf=!1;this.Va&&(this.Bo=!0,this.Va.abort(),this.Bo=!1);this.kr=a;Fy(this);Gy(this)};var Fy=function(a){a.ZF||(a.ZF=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};_.Ay.prototype.abort=function(a){this.Va&&this.Xf&&(this.Xf=!1,this.Bo=!0,this.Va.abort(),this.Bo=!1,this.kr=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Gy(this))}; _.Ay.prototype.ua=function(){this.Va&&(this.Xf&&(this.Xf=!1,this.Bo=!0,this.Va.abort(),this.Bo=!1),Gy(this,!0));_.Ay.N.ua.call(this)};_.Ay.prototype.OX=function(){this.isDisposed()||(this.aI||this.HA||this.Bo?Hy(this):this.DJ())};_.Ay.prototype.DJ=function(){Hy(this)}; var Hy=function(a){if(a.Xf&&typeof _.Va!="undefined")if(a.HA&&_.Iy(a)==4)setTimeout(a.OX.bind(a),0);else if(a.dispatchEvent("readystatechange"),_.Iy(a)==4){a.Xf=!1;try{a.jr()?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.kr=6,a.getStatus(),Fy(a))}finally{Gy(a)}}},Gy=function(a,b){if(a.Va){a.Qc&&(clearTimeout(a.Qc),a.Qc=null);var c=a.Va;a.Va=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}};_.Ay.prototype.isActive=function(){return!!this.Va}; _.Ay.prototype.jr=function(){var a=this.getStatus(),b;if(!(b=_.zy(a))){if(a=a===0)a=String(this.gB).match(_.Sh)[1]||null,!a&&_.Xa.self&&_.Xa.self.location&&(a=_.Xa.self.location.protocol.slice(0,-1)),a=!By.test(a?a.toLowerCase():"");b=a}return b};_.Iy=function(a){return a.Va?a.Va.readyState:0};_.Ay.prototype.getStatus=function(){try{return _.Iy(this)>2?this.Va.status:-1}catch(a){return-1}};_.Jy=function(a){try{return a.Va?a.Va.responseText:""}catch(b){return""}}; _.Ky=function(a){try{if(!a.Va)return null;if("response"in a.Va)return a.Va.response;switch(a.Sm){case "":case "text":return a.Va.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Va)return a.Va.mozResponseArrayBuffer}return null}catch(b){return null}};_.Ay.prototype.getResponseHeader=function(a){if(this.Va&&_.Iy(this)==4)return a=this.Va.getResponseHeader(a),a===null?void 0:a}; _.Ay.prototype.getAllResponseHeaders=function(){return this.Va&&_.Iy(this)>=2?this.Va.getAllResponseHeaders()||"":""};_.mj(function(a){_.Ay.prototype.DJ=a(_.Ay.prototype.DJ)}); var vu,Au;_.ru=function(a,b){var c=_.kd(b),d=c?b:arguments;for(c=c?0:1;c=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}}; _.wu=function(a,b,c){for(var d=0,e=b.length;(d=a.indexOf(b,d))>=0&&d 1||f.length==1&&f[0]!="")&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.Uq();c?_.Gu(b,a.Qd.clone()):c=!!a.uG;c&&b.Uk(a.Mz());return b};_.Bu.prototype.clone=function(){return new _.Bu(this)};_.Cu=function(a,b,c){a.Ci=c?Ou(b,!0):b;a.Ci&&(a.Ci=a.Ci.replace(/:$/,""));return a};_.Du=function(a,b,c){a.wh=c?Ou(b):b;return a};_.Bu.prototype.Ng=function(){return this.Xd};_.Eu=function(a,b,c){a.Xd=c?Ou(b,!0):b;return a}; _.Fu=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("L`"+b);a.Bg=b}else a.Bg=null;return a};_.Bu.prototype.getPath=function(){return this.Mm};_.Bu.prototype.setPath=function(a,b){this.Mm=b?Ou(a,!0):a;return this};_.Bu.prototype.Uq=function(){return this.Qd.toString()!==""};_.Gu=function(a,b,c){b instanceof _.Hu?(a.Qd=b,a.Qd.LL(a.Tg)):(c||(b=Iu(b,Pu)),a.Qd=new _.Hu(b,a.Tg));return a};_.Bu.prototype.hb=function(a,b){return _.Gu(this,a,b)};_.Bu.prototype.getQuery=function(){return this.Qd.toString()}; _.Qu=function(a,b,c){a.Qd.set(b,c);return a};_.g=_.Bu.prototype;_.g.Pg=function(a){return this.Qd.get(a)};_.g.Mz=function(){return this.uG};_.g.Uk=function(a,b){this.uG=b?Ou(a):a;return this};_.g.removeParameter=function(a){this.Qd.remove(a);return this};_.g.LL=function(a){this.Tg=a;this.Qd&&this.Qd.LL(a)};_.Ru=function(a,b){return a instanceof _.Bu?a.clone():new _.Bu(a,b)};Ou=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; Iu=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Su),c&&(a=Ku(a)),a):null};Su=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};Ku=function(a){return a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")};Ju=/[#\/\?@]/g;Mu=/[#\?:]/g;Lu=/[#\?]/g;Pu=/[#\?@]/g;Nu=/#/g;_.Hu=function(a,b){this.Ae=this.Lc=null;this.jg=a||null;this.Tg=!!b};Tu=function(a){a.Lc||(a.Lc=new Map,a.Ae=0,a.jg&&vu(a.jg,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}; _.g=_.Hu.prototype;_.g.Zb=function(){Tu(this);return this.Ae};_.g.add=function(a,b){Tu(this);this.jg=null;a=Uu(this,a);var c=this.Lc.get(a);c||this.Lc.set(a,c=[]);c.push(b);this.Ae+=1;return this};_.g.remove=function(a){Tu(this);a=Uu(this,a);return this.Lc.has(a)?(this.jg=null,this.Ae-=this.Lc.get(a).length,this.Lc.delete(a)):!1};_.g.clear=function(){this.Lc=this.jg=null;this.Ae=0};_.g.isEmpty=function(){Tu(this);return this.Ae==0};_.g.Fl=function(a){Tu(this);a=Uu(this,a);return this.Lc.has(a)}; _.g.forEach=function(a,b){Tu(this);this.Lc.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};_.g.lg=function(){Tu(this);for(var a=Array.from(this.Lc.values()),b=Array.from(this.Lc.keys()),c=[],d=0;d0?String(a[0]):b};_.g.setValues=function(a,b){this.remove(a);b.length>0&&(this.jg=null,this.Lc.set(Uu(this,a),_.Yb(b)),this.Ae+=b.length)}; _.g.toString=function(){if(this.jg)return this.jg;if(!this.Lc)return"";for(var a=[],b=Array.from(this.Lc.keys()),c=0;c2?a.Va.statusText:""}catch(h){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}};kB=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i;lB=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i;mB=/;\s*charset\s*=/i;nB=/(([\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; oB=function(a){var b=[];a=a.replace(nB,function(c){b.push(_.Az(c));return""});if(a.length)throw Error("va");return b.join("")};pB=function(a){var b=a.headers;if(b&&_.ph(b,"X-Goog-Safety-Encoding")==="base64"){var c=oB(a.body),d=_.ph(b,"X-Goog-Safety-Content-Type");b["Content-Type"]=d;if(d.match(kB)||d.match(lB)&&!d.match(mB))c=_.Ih(c),c=_.Fw(c);_.qh(b,"X-Goog-Safety-Encoding");_.qh(b,"X-Goog-Safety-Content-Type");a.body=c}}; qB=function(a,b,c){c||((c=_.Xe("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/,"")||"/"),c=String(c||""));c||(c=_.Xe("googleapis.config/root"),b&&(c=_.Xe("googleapis.config/root-1p")||c),c=String(c||""));c=String(fB(b,c)||c);return a=_.yy(c,a)}; rB=function(a,b){var c=a.params||_.Ce();c.url=c.path;var d=c.root;d=qB("/",_.Ti(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.Zi.Xm("makeHttpRequests",[a],function(e,f){e&&e.gapiRequest?(e.gapiRequest.data?pB(e.gapiRequest.data):pB(e),b(e,_.Rf(e))):b(e,f)})}; sB=function(a){var b=_.ru(a,"params","headers");b&&typeof b==="object"||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.ph(b,c);d&&(_.nh(c,d),_.qh(a,c,d))}c=(window.location.href.match(_.Sh)[1]||null)=="chrome-extension";a=_.Ti(a);return!(c&&a)&&eB()}; tB=function(a){return new _.xk(function(b,c){var d=function(e){e&&e.gapiRequest?e=e.gapiRequest.data||e:c(e);e={result:e.status!=204&&_.Qf(e.body),body:e.body,headers:e.headers||null,status:e.status||null,statusText:e.statusText||null};dB(e)?b(e):c(e)};try{rB(a,d)}catch(e){c(e)}})};uB=function(a){var b=!_.Xe("client/cors")||!!_.Xe("client/xd4"),c={};_.Qm(a,function(d,e){(d=_.nh(e,d))||b||(d=_.mh(e));d&&(e=_.ph(a,d))&&_.qh(c,d,e)});return c}; vB=function(a){var b=a.params||_.Ce();a=_.fk(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=encodeURIComponent("$unique");if(!(c==="POST"||_.wu(d,"$unique",d.search(_.xu))>=0||_.wu(d,e,d.search(_.xu))>=0)){var f=[];for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&f.push(h.toLowerCase());f.sort();f.push(_.Ig(location.href));var h=f.join(":");f=_.mi();f.update(h);h=f.Si().toLowerCase().substr(0,7);h=String(parseInt(h,16)%1E3+1E3).substr(1);d=_.xy(d,e,"gc"+h)}e=b.body||null;h=b.responseType|| null;b=_.Ti(a)||b.authType=="1p";f=!!_.Xe("googleapis.config/auth/useUberProxyAuth")||!!_.Xe("client/withCredentials");_.qh(a,"X-Referer");a=uB(a);var k=new iB(d,c,e,a);k.xh=b||f;h&&(k.Sm=h);return new _.xk(function(l,m){k.then(function(n){pB(n);l(n)},function(n){m(n)})})};wB=function(a,b){var c=function(d){d=_.fk(d);delete d.result;d={gapiRequest:{data:d}};b&&b(d,_.Rf(d))};vB(a).then(c,c)}; xB=function(a,b){(_.Xe("client/cors")||_.Xe("client/xd4"))&&sB(a)?(_.Hi(_.Gi(),12).rb(),wB(a,b)):(_.Hi(_.Gi(),11).rb(),rB(a,b))};_.yB={};var zB=function(a){this.kw=a;this.Xf=!1;this.promise={then:(0,_.z)(function(b,c,d){this.Xf||(this.Xf=!0);this.jw&&!this.hw?this.kw.resolve(this.jw):this.hw&&!this.jw&&this.kw.reject(this.hw);return this.kw.promise.then(b,c,d)},this)}};zB.prototype.resolve=function(a){this.Xf?this.kw.resolve(a):this.jw||this.hw||(this.jw=a)};zB.prototype.reject=function(a){this.Xf?this.kw.reject(a):this.jw||this.hw||(this.hw=a)};var AB=function(a){a=_.su(a.error);return{code:a.code,data:a.errors,message:a.message}},BB=function(a){throw Error("Aa`"+a);};var CB=function(a){XA.call(this,CB.prototype.Yo);if(!a||typeof a!="object"&&typeof a!="string")throw new WA("Missing required parameters");if(typeof a==="string"){var b={};b.path=a}else b=a;if(!b.path)throw new WA('Missing required parameter: "path"');this.jh={};this.jh.path=b.path;this.jh.method=b.method||"GET";this.jh.params=b.params||{};this.jh.headers=b.headers||{};this.jh.body=b.body;this.jh.root=b.root;this.jh.responseType=b.responseType;this.jh.apiId=b.apiId;this.un=b.authType||"auto";this.vca= !!b.isXd4;this.RV=!1;this.Jj(this.un);this.uZ=!1};_.y(CB,XA);CB.prototype.Gf=function(){return this.jh};CB.prototype.Jj=function(a){this.un=a;this.RV=this.un==="1p"};CB.prototype.Fq=function(){return this.RV}; CB.prototype.Ej=function(){if(!this.uZ){this.uZ=!0;var a=this.jh,b=a.headers=a.headers||{},c=[],d=[];for(h in b)if(Object.prototype.hasOwnProperty.call(b,h)){c.push(h);var e=h,f=_.ph(b,e);f&&(e=_.nh(e,f)||_.mh(e))&&d.push([e,f])}var h=0;for(e=c.length;h=18&&h.substring(h.length-18)=="/static/proxy.html"&&(h=h.substring(0,h.length-18));h||(h="/");e=_.dh(h);if(h!=e)throw Error("x");h.charAt(h.length-1)!="/"&&(h+="/");c=_.yy(h,c);_.Mj(c,"/")&&(c=c.substring(0,c.length-1));h=_.Ce();for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(e=encodeURIComponent(k),h[e]=b[k]);c=_.Wh(c,h);a.path=c;a.root=fB(!!d,a.root);a.url=qB(a.path,!!d,a.root)}}; var FB=function(a){a.Ej();var b=a.jh;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.un}}};_.g=CB.prototype;_.g.execute=function(a){var b=FB(this);xB(b,function(c,d){var e=c;c.gapiRequest&&(e=c.gapiRequest);e&&e.data&&(e=e.data);c=e;c=c instanceof Array?c[0]:c;if(c.status!=204&&c.body)try{var f=_.Qf(c.body)}catch(h){}a&&a(f,d)})}; _.g.Yo=function(){var a=FB(this);(_.Xe("client/cors")||_.Xe("client/xd4"))&&sB(a)?(_.Hi(_.Gi(),15).rb(),a=vB(a)):(_.Hi(_.Gi(),14).rb(),a=tB(a));return a};_.g.fj=function(){return this.Yo()};_.g.Ce=function(){return this.jh.root};_.g.Iv=function(){console.log("makeJsonRpc is not supported for this request.");return{}};_.g.getFormat=function(){return 0};var EB=["appVersion","platform","userAgent"],DB={"google-api-gwt-client":!0,"google-api-javascript-client":!0};CB.prototype.execute=CB.prototype.execute; CB.prototype.then=CB.prototype.then;CB.prototype.getPromise=CB.prototype.fj;var GB=function(a){if(!a||typeof a!="object")throw new WA("Missing rpc parameters");if(!a.method)throw new WA("Missing rpc method");this.tC=a};_.g=GB.prototype;_.g.Ce=function(){var a=this.tC.transport;return a?a.root||null:null};_.g.execute=function(a){var b=aB();b.add(this,{id:"gapiRpc",callback:this.Gv(a)});b.execute()}; _.g.Iv=function(a){var b=this.tC.method,c=String,d;(d=this.tC.apiVersion)||(d=String(b).split(".")[0],d=_.Xe("googleapis.config/versions/"+b)||_.Xe("googleapis.config/versions/"+d)||"v1",d=String(d));a={jsonrpc:"2.0",id:a,method:b,apiVersion:c(d)};(b=this.tC.rpcParams)&&(a.params=b);return a}; _.g.Gv=function(a){return function(b,c){if(b)if(b.error){var d=b.error;d.error==null&&(d.error=_.fk(b.error))}else d=b.result||b.data,_.vb(d)&&d.result==null&&(d.result=_.fk(b.result||b.data));else d=!1;a(d,c)}};_.g.then=function(){throw BB('The "then" method is not available on this object.');};_.g.cD=function(){};_.g.Gf=function(){};_.g.Ej=function(){};_.g.Jj=function(){};_.g.Fq=function(){};_.g.fj=function(){};GB.prototype.execute=GB.prototype.execute;var IB=function(a,b){this.Xe=b||0;this.Xe==2?(b=null,a!=null&&_.vb(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.Rb=new GB(b)):(this.Xe==0&&(b=a&&a.callback)&&(a.callback=HB(b)),b=null,a!=null&&(_.vb(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):typeof a==="string"&&(b=a)), this.Rb=new CB(b))},HB=function(a){return function(b){if(b!=null&&_.vb(b)&&b.error){var c=AB(b);b=_.Rf([{id:"gapiRpc",error:c}]);c.error=_.su(c)}else b==null&&(b={}),c=_.su(b),c.result=_.su(b),b=_.Rf([{id:"gapiRpc",result:b}]);a(c,b)}};_.g=IB.prototype;_.g.getFormat=function(){return this.Xe};_.g.execute=function(a){this.Rb.execute(a&&this.Xe==1?HB(a):a)};_.g.then=function(a,b,c){return this.Rb.then(a,b,c)};_.g.cD=function(a){this.Rb.cD(a)};_.g.Gf=function(){return this.Rb.Gf()};_.g.Ej=function(){this.Rb.Ej()}; _.g.Ce=function(){return this.Rb.Ce()};_.g.Iv=function(a){if(this.Rb.Iv)return this.Rb.Iv(a)};_.g.Jj=function(a){this.Rb.Jj(a)};_.g.Fq=function(){return!!this.Rb.Fq()};_.g.fj=function(){return this.Rb.fj()};IB.prototype.execute=IB.prototype.execute;IB.prototype.then=IB.prototype.then;IB.prototype.getPromise=IB.prototype.fj;var JB=//,KB=/^application\/http(;.+$|$)/,LB=["clients6.google.com","content.googleapis.com","www.googleapis.com"],MB=function(a,b){a=_.ph(a,b);if(!a)throw new WA("Unable to retrieve header.");return a},NB=function(a){var b=void 0;a=_.Aa(a);for(var c=a.next();!c.done;c=a.next()){c=c.value.Gf().apiId;if(typeof c!=="string")return"batch";if(b===void 0)b=c;else if(b!=c)return"batch"}b=_.Xe("client/batchPath/"+b)||"batch/"+b.split(":").join("/");return String(b)},OB=function(a){a=a.map(function(b){return b.request}); return NB(a)},PB=function(a,b){var c=[];a=a.Gf();var d=function(f,h){_.Qm(f,function(k,l){h.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")},SB=function(a,b){a=QB(a,b);var c={};_.Zb(a,function(d,e){c[e]=RB(d,e)});return c},RB=function(a,b){return{result:a.result||a.body,rawResult:_.Rf({id:b,result:a.result||a.body}), id:b}},QB=function(a,b){a=_.zc(a);_.Mj(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.Ce();for(var c=0;c");f=MB(d.outerHeaders,"Content-ID");f=JB.exec(f);if(!f)throw new WA("Unable to recognize Content-Id.");e.id=decodeURIComponent(f[1].split("@")[0].replace(/^.*[+]/,""));e.response={status:d.status,statusText:d.statusText,headers:d.headers};d.status!=204&&(e.response.body=d.body,e.response.result=_.Qf(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},TB= function(a,b){for(var c=[];b1&&_.Vf.warn("Heterogeneous batch requests are deprecated. See https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html");for(var d=_.Aa(Object.entries(a.qk)),e=d.next();!e.done;e=d.next()){e=_.Aa(e.value);var f=e.next().value;e=e.next().value;for(var h=!0,k=_.Aa(e),l=k.next();!l.done;l=k.next())l=l.value,l.request.Ej(),f==="batch"&&c&&(h=!1,l.mca=!0,l.request.Gf.root=a.Sd,b.push(l.request), a.Qm.push([l]));if(h){var m=e;f=a.Sd;h=a.wA;k=a.JU;l="batch"+String(Math.round(2147483647*_.Pi()))+String(Math.round(2147483647*_.Pi()));var n="--"+l;l="multipart/mixed; boundary="+l;for(var p={path:OB(m),method:"POST"},q=[],r=0;r0&&c.length===a.length)throw c[0];_.Fk(d).then(function(e){var f=e.map(function(h){return h.Bea});e=e.map(function(h){return h.FP});b(e,f)})}}; VB.prototype.Yo=function(){var a=this;if(Object.keys(this.qk).length<1)return _.Bk({});var b=XB(this).map(function(c){return new _.xk(function(d,e){return c.fj().then(d,e)})});return ZA(b).then(function(c){c=c.map(function(d){return d.xz?d.value:d});return YB(a,c,!0)})}; VB.prototype.nY=function(a,b,c,d){var e={};if(c){e=b?QB:SB;b=MB(a.headers,"Content-Type").split("boundary=")[1];if(!b)throw new WA("Boundary not indicated in response.");e=e(a.body,"--"+b)}else b?(a.result=_.Qf(a.body),e[d]=a):e[d]=RB(a,d);a={};e=_.Aa(Object.entries(e));for(b=e.next();!b.done;b=e.next())if(c=_.Aa(b.value),b=c.next().value,c=c.next().value,a[b]=c,!this.my[b])throw new WA("Could not find batch entry for id "+b+".");return a}; var YB=function(a,b,c,d,e){for(var f=!1,h={},k,l=0,m=0;m0?bB({path:f,params:{pp:0,fields:("/"+f).indexOf("/discovery/v1/apis/")>=0?"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):bB({path:gC(f, a),root:d&&d.root}).then(c,c)},hC=function(a,b,c,d,e){e=e===void 0?{}:e;var f=b.servicePath||"";_.wc(f,"/")||(f="/"+f);var h=jC(a.path,[a.parameters,b.parameters],c||{});c=h.Ed;var k=h.xha;f=_.yy(f,h.path);h=k.root;delete k.root;var l=a.parameterName;!l&&_.vy(k)==1&&k.hasOwnProperty("resource")&&(l="resource");if(l){var m=k[l];delete k[l]}m==null&&(m=d);m==null&&a.request&&(_.Gh(k)&&(k=void 0),m=k);e=e||{};l=a.httpMethod;l=="GET"&&m!==void 0&&String(m)!=""&&(_.qh(e,"X-HTTP-Method-Override",l),l="POST"); if((m==null||d!=null)&&k)for(var n in k)typeof k[n]==="string"&&(c[n]=k[n]);return bB({path:f,method:l,params:c,headers:e,body:m,root:h||a.root,apiId:b.apiId},1)},jC=function(a,b,c){c=_.fk(c);var d={};_.Pm(b,function(e){_.Qm(e,function(f,h){var k=f.required;if(f.location=="path")if(Object.prototype.hasOwnProperty.call(c,h))_.yc(a,"{"+h+"}")?(f=encodeURIComponent(String(c[h])),a=a.replace("{"+h+"}",f)):_.yc(a,"{+"+h+"}")&&(f=encodeURI(String(c[h])),a=a.replace("{+"+h+"}",f)),delete c[h];else{if(k)throw new WA("Required path parameter "+ h+" is missing.");}else f.location=="query"&&Object.prototype.hasOwnProperty.call(c,h)&&(d[h]=c[h],delete c[h])})});if(b=c.trace)d.trace=b,delete c.trace;return{path:a,Ed:d,xha:c}};var kC=function(a,b,c,d){var e=b||"v1",f=_.vb(d)?d:{root:d};if(c)iC(a,e,function(h){if(h)if(h.error)c(h);else{var k="API discovery was unsuccessful.";if(h.message||h.message)k=h.message||h.message;c({error:k,code:0})}else c()},f);else return new _.xk(function(h,k){var l=function(m){m?k(m):h()};try{iC(a,e,l,f)}catch(m){k(m)}})},lC=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),mC=function(a,b){if(!a)throw new WA("Missing required parameters"); var c=typeof a==="object"?a:{path:a};a=c.callback;delete c.callback;b=new IB(c,b);if(c=!!_.Xe("client/xd4")&&eB()){var d=b.Gf();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(lC)}c&&(b=new dC(b));return a?(b.execute(a),null):b};cB.LP(function(a){return mC.apply(null,arguments)}); var nC=function(a,b){if(!a)throw new WA("Missing required parameters");for(var c=a.split("."),d=window.gapi.client,e=0;e